:root{--space-0:0px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:20px;--space-6:24px;--space-8:32px;--space-10:40px;--space-12:48px;--space-16:64px;--space-20:80px;--space-24:96px;--inset-md:16px;--inset-lg:24px;
--h-sm:36px;--h-md:40px;--h-lg:44px;--h-xl:52px;
--r-sm:6px;--r-md:10px;--r-lg:14px;--r-xl:20px;--r-pill:999px;
--f-sans:"Geist Variable", "Pretendard Variable", "Hiragino Sans", "Yu Gothic UI", "Apple SD Gothic Neo", "Malgun Gothic", system-ui, sans-serif;--f-ja:"Geist Variable", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", "Pretendard Variable", system-ui, sans-serif;--f-mono:"Geist Mono Variable", ui-monospace, "SFMono-Regular", Consolas, "Pretendard Variable", monospace;--max:1344px;--gutter:24px}
:root,[data-theme="light"]{--c-bg:#FFFFFF;--c-bg-subtle:#F6F7F9;--c-surface:#FFFFFF;--c-surface-2:#F1F3F6;--c-line:#E3E6EB;--c-line-strong:#C9CFD8;--c-control-border:#80878F;--c-ink:#0E1116;--c-ink-2:#3D4450;--c-muted:#5A6270;--c-faint:#8A919C;--c-accent:#1F4FE0;--c-accent-hover:#1639A8;--c-accent-soft:#EAF0FE;--c-accent-ink:#FFFFFF;--c-accent-text:#1A45C7;--c-ok:#0B7A4B;--c-ok-soft:#E8F4EE;--c-ok-ink:#0B5E3A;--c-warn:#A24D00;--c-warn-soft:#FFF4E5;--c-warn-ink:#7A3A00;--c-danger:#B42318;--c-danger-soft:#FDECEA;--c-danger-ink:#8F1D13;--c-focus:#1F4FE0;--c-code:#0E1116;--c-code-ink:#E8EAED;--c-label-bg:rgba(255,255,255,.9);--c-cost-goods:#0E1116;--c-cost-shipping:#1F4FE0;--c-cost-duty:#D62F68;--c-cost-tax:#D39A1F;--tile-toner:#BFE3FF;--tile-serum:#DCCBFF;--tile-cream:#FFE0EC;--tile-eye_cream:#E2DBFF;--tile-sheet_mask:#BDEBD3;--tile-wash_off:#D2EFC6;--tile-sleeping:#D9D4FF;--tile-foam:#C9F0F2;--tile-oil:#FFE6B8;--tile-sunscreen:#FFE27A;--tile-base:#FFD8BF;--tile-lip:#FFC8D8;--tile-eye:#E9D3F5;--tile-cheek:#FFD0C9;--tile-nail:#FFCFE6;--tile-shampoo:#CDE8FF;--tile-hair_treat:#FFEBA8;--tile-hair_spray:#E0E6F0;--tile-body_lotion:#FFE3CC;--tile-hand:#E4F2C4;--tile-perfume:#CDEBC0;--tile-men_all:#D3DDE8;--tile-device:#D9DEE8;--tile-supplement:#FFEFB0;--tile-default:#E3E8EF;--shadow-sm:0 1px 2px rgba(14,17,22,0.08);--shadow-md:0 1px 0 rgba(14,17,22,0.06), 0 8px 24px -12px rgba(14,17,22,0.28);color-scheme:light;}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){--c-bg:#0D0F12;--c-bg-subtle:#111418;--c-surface:#15181D;--c-surface-2:#1C2027;--c-line:#262B33;--c-line-strong:#3A414B;--c-control-border:#6E7782;--c-ink:#ECEEF1;--c-ink-2:#C9CED6;--c-muted:#A3ACB8;--c-faint:#6B7380;--c-accent:#7C9BFF;--c-accent-hover:#A3B8FF;--c-accent-soft:#1A2448;--c-accent-ink:#0D0F12;--c-accent-text:#A3B8FF;--c-ok:#5FD3A0;--c-ok-soft:#0F2A20;--c-ok-ink:#7FE0B5;--c-warn:#F5B547;--c-warn-soft:#2A1F0C;--c-warn-ink:#F5C56B;--c-danger:#FF8A80;--c-danger-soft:#2C1414;--c-danger-ink:#FFA79F;--c-focus:#A3B8FF;--c-code:#08090B;--c-code-ink:#D3D8DE;--c-label-bg:rgba(13,15,18,.78);--c-cost-goods:#ECEEF1;--c-cost-shipping:#7C9BFF;--c-cost-duty:#FF6B94;--c-cost-tax:#F5B547;--tile-toner:#173347;--tile-serum:#342A46;--tile-cream:#442533;--tile-eye_cream:#322B47;--tile-sheet_mask:#153829;--tile-wash_off:#24361C;--tile-sleeping:#302C48;--tile-foam:#0E3739;--tile-oil:#463111;--tile-sunscreen:#3E3510;--tile-base:#4B2D18;--tile-lip:#452530;--tile-eye:#392842;--tile-cheek:#462622;--tile-nail:#432535;--tile-shampoo:#183348;--tile-hair_treat:#413410;--tile-hair_spray:#2D3037;--tile-body_lotion:#4A2E16;--tile-hand:#2C3416;--tile-perfume:#24361C;--tile-men_all:#2C3136;--tile-device:#2D3037;--tile-supplement:#3D3510;--tile-default:#2C3136;--shadow-sm:0 1px 2px rgba(0,0,0,0.5);--shadow-md:0 8px 24px -12px rgba(0,0,0,0.7);color-scheme:dark;}}
[data-theme="dark"]{--c-bg:#0D0F12;--c-bg-subtle:#111418;--c-surface:#15181D;--c-surface-2:#1C2027;--c-line:#262B33;--c-line-strong:#3A414B;--c-control-border:#6E7782;--c-ink:#ECEEF1;--c-ink-2:#C9CED6;--c-muted:#A3ACB8;--c-faint:#6B7380;--c-accent:#7C9BFF;--c-accent-hover:#A3B8FF;--c-accent-soft:#1A2448;--c-accent-ink:#0D0F12;--c-accent-text:#A3B8FF;--c-ok:#5FD3A0;--c-ok-soft:#0F2A20;--c-ok-ink:#7FE0B5;--c-warn:#F5B547;--c-warn-soft:#2A1F0C;--c-warn-ink:#F5C56B;--c-danger:#FF8A80;--c-danger-soft:#2C1414;--c-danger-ink:#FFA79F;--c-focus:#A3B8FF;--c-code:#08090B;--c-code-ink:#D3D8DE;--c-label-bg:rgba(13,15,18,.78);--c-cost-goods:#ECEEF1;--c-cost-shipping:#7C9BFF;--c-cost-duty:#FF6B94;--c-cost-tax:#F5B547;--tile-toner:#173347;--tile-serum:#342A46;--tile-cream:#442533;--tile-eye_cream:#322B47;--tile-sheet_mask:#153829;--tile-wash_off:#24361C;--tile-sleeping:#302C48;--tile-foam:#0E3739;--tile-oil:#463111;--tile-sunscreen:#3E3510;--tile-base:#4B2D18;--tile-lip:#452530;--tile-eye:#392842;--tile-cheek:#462622;--tile-nail:#432535;--tile-shampoo:#183348;--tile-hair_treat:#413410;--tile-hair_spray:#2D3037;--tile-body_lotion:#4A2E16;--tile-hand:#2C3416;--tile-perfume:#24361C;--tile-men_all:#2C3136;--tile-device:#2D3037;--tile-supplement:#3D3510;--tile-default:#2C3136;--shadow-sm:0 1px 2px rgba(0,0,0,0.5);--shadow-md:0 8px 24px -12px rgba(0,0,0,0.7);color-scheme:dark;}
[data-tile="toner"]{--tile:var(--tile-toner)}[data-tile="serum"]{--tile:var(--tile-serum)}[data-tile="cream"]{--tile:var(--tile-cream)}[data-tile="eye_cream"]{--tile:var(--tile-eye_cream)}[data-tile="sheet_mask"]{--tile:var(--tile-sheet_mask)}[data-tile="wash_off"]{--tile:var(--tile-wash_off)}[data-tile="sleeping"]{--tile:var(--tile-sleeping)}[data-tile="foam"]{--tile:var(--tile-foam)}[data-tile="oil"]{--tile:var(--tile-oil)}[data-tile="sunscreen"]{--tile:var(--tile-sunscreen)}[data-tile="base"]{--tile:var(--tile-base)}[data-tile="lip"]{--tile:var(--tile-lip)}[data-tile="eye"]{--tile:var(--tile-eye)}[data-tile="cheek"]{--tile:var(--tile-cheek)}[data-tile="nail"]{--tile:var(--tile-nail)}[data-tile="shampoo"]{--tile:var(--tile-shampoo)}[data-tile="hair_treat"]{--tile:var(--tile-hair_treat)}[data-tile="hair_spray"]{--tile:var(--tile-hair_spray)}[data-tile="body_lotion"]{--tile:var(--tile-body_lotion)}[data-tile="hand"]{--tile:var(--tile-hand)}[data-tile="perfume"]{--tile:var(--tile-perfume)}[data-tile="men_all"]{--tile:var(--tile-men_all)}[data-tile="device"]{--tile:var(--tile-device)}[data-tile="supplement"]{--tile:var(--tile-supplement)}[data-tile="default"]{--tile:var(--tile-default)}
@media (max-width:640px){:root{--gutter:16px;--inset-lg:16px}}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{margin:0;min-height:100dvh;display:flex;flex-direction:column;background:var(--c-bg);color:var(--c-ink);font-family:var(--f-sans);font-size:16px;line-height:24px;-webkit-font-smoothing:antialiased}
body>main{flex:1 0 auto}
:root:lang(ja),[lang|="ja"]{font-family:var(--f-ja)}
:lang(ko){word-break:keep-all;overflow-wrap:anywhere}
h1,h2,h3,h4,p,ul,ol,dl,dd,figure{margin:0}
ul[class],ol[class]{padding:0;list-style:none}
img,svg{display:block;max-width:100%}
button,input,select,textarea{font:inherit;color:inherit}
a{color:var(--c-accent-text);text-underline-offset:2px}
:focus-visible{outline:2px solid var(--c-focus);outline-offset:2px}
::selection{background:var(--c-accent-soft)}
code,kbd,pre,.t-mono{font-family:var(--f-mono)}
.num{font-family:var(--f-mono);font-variant-numeric:tabular-nums}
.tnum{font-variant-numeric:tabular-nums}
.t-sans{font-family:var(--f-sans)}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:var(--space-4);top:-48px;z-index:10;padding:var(--space-2) var(--space-4);border-radius:var(--r-md);background:var(--c-ink);color:var(--c-bg)}
.skip:focus{top:var(--space-2)}

/* Type */
.t-display{font-size:56px;line-height:60px;letter-spacing:-0.035em;font-weight:600}.t-h1{font-size:40px;line-height:44px;letter-spacing:-0.03em;font-weight:600}.t-h2{font-size:28px;line-height:36px;letter-spacing:-0.02em;font-weight:600}.t-h3{font-size:20px;line-height:28px;letter-spacing:-0.01em;font-weight:600}.t-lead{font-size:18px;line-height:28px;letter-spacing:0em;font-weight:400}.t-body{font-size:16px;line-height:24px;letter-spacing:0em;font-weight:400}.t-ui{font-size:15px;line-height:20px;letter-spacing:0em;font-weight:500}.t-small{font-size:14px;line-height:20px;letter-spacing:0em;font-weight:400}.t-caption{font-size:13px;line-height:20px;letter-spacing:0em;font-weight:400}.t-micro{font-size:12px;line-height:16px;letter-spacing:0.02em;font-weight:500}
.t-display{font-size:clamp(36px,4.2vw + 12px,56px);line-height:1.07}
.t-display,.t-h1,.t-h2,.t-h3{text-wrap:balance}
.t-h1{font-size:clamp(30px,2.4vw + 14px,40px);line-height:1.1}
:is(.t-display,.t-h1,.t-h2):is(:lang(ko),:lang(ja)){letter-spacing:-.01em}
.t-eyebrow{font-size:12px;line-height:16px;font-weight:600;letter-spacing:.04em;text-transform:uppercase;color:var(--c-muted)}
:lang(ja) .t-eyebrow{letter-spacing:0;text-transform:none}
:lang(ja) :is(.t-display,.t-h1){word-break:keep-all;line-break:strict}
.t-muted{color:var(--c-muted)}.t-ink2{color:var(--c-ink-2)}
.t-measure{max-width:60ch}

/* Layout */
.container{width:100%;max-width:var(--max);margin-inline:auto;padding-inline:var(--gutter)}
.section{padding-block:var(--space-12)}
.section--tight{padding-block:var(--space-8)}
.section--band{background:var(--c-bg-subtle);border-block:1px solid var(--c-line)}
.stack{display:flex;flex-direction:column;gap:var(--gap,var(--space-4))}
.cluster{display:flex;flex-wrap:wrap;align-items:center;gap:var(--gap,var(--space-2))}
.cluster--between{justify-content:space-between}
.grid{display:grid;gap:var(--gap,var(--space-4));grid-template-columns:repeat(auto-fill,minmax(min(100%,var(--min,240px)),1fr))}
.grid--fit{grid-template-columns:repeat(auto-fit,minmax(min(100%,var(--min,240px)),1fr))}
.grid--products{--min:232px;--gap:var(--space-6)}
@media (max-width:640px){.grid--products{--min:150px;--gap:var(--space-3)}}
.split{display:flex;flex-wrap:wrap;gap:var(--space-6);align-items:flex-start}
.split__main{flex:999 1 560px;min-width:0}
.split__aside{flex:1 1 360px;max-width:480px;min-width:0}
.gap-1{--gap:var(--space-1)}.gap-2{--gap:var(--space-2)}.gap-3{--gap:var(--space-3)}.gap-4{--gap:var(--space-4)}
.gap-6{--gap:var(--space-6)}.gap-8{--gap:var(--space-8)}.gap-12{--gap:var(--space-12)}

/* Buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:var(--h-lg);padding:0 var(--space-4);
border-radius:var(--r-md);border:1px solid transparent;background:var(--c-surface-2);color:var(--c-ink);font-size:15px;line-height:20px;font-weight:600;
text-decoration:none;cursor:pointer;white-space:nowrap;transition:background-color .15s,border-color .15s,color .15s}
.btn--primary{background:var(--c-accent);color:var(--c-accent-ink)}
.btn--secondary{background:var(--c-surface);border-color:var(--c-control-border)}
.btn--ghost{background:transparent}
.btn--lg{min-height:var(--h-xl);padding:0 var(--space-6);font-size:16px;border-radius:var(--r-lg)}
.btn--sm{min-height:var(--h-sm);padding:0 var(--space-3);font-size:14px}
.btn--block{display:flex;width:100%}
.btn[disabled],.btn[aria-disabled="true"]{opacity:.5;cursor:not-allowed;pointer-events:none}

/* Forms */
.field{display:flex;flex-direction:column;gap:var(--space-2)}
.field__label{font-size:14px;line-height:20px;font-weight:600}
.field__hint{font-size:13px;line-height:20px;color:var(--c-muted)}
.field__error{font-size:13px;line-height:20px;color:var(--c-danger);display:flex;gap:var(--space-1)}
.field__error::before{content:"!";font-weight:700}
.input,.select,.textarea{width:100%;min-height:var(--h-lg);padding:0 var(--space-3);border:1px solid var(--c-control-border);border-radius:var(--r-md);
background:var(--c-surface);color:var(--c-ink);font-size:16px}
.textarea{padding:var(--space-3);min-height:96px;resize:vertical}
.input::placeholder,.textarea::placeholder{color:var(--c-muted)}
fieldset{margin:0;padding:0;border:0;min-width:0}
legend{padding:0;margin-bottom:var(--space-4)}
.form-groups{display:flex;flex-direction:column;gap:var(--space-10)}
.check{display:flex;align-items:flex-start;gap:var(--space-3);min-height:var(--h-sm);font-size:15px;line-height:24px;cursor:pointer}
.check input{width:20px;height:20px;margin:2px 0 0;flex:none;accent-color:var(--c-accent)}
.input:focus-visible,.select:focus-visible,.textarea:focus-visible{outline:0;border-color:var(--c-accent);box-shadow:0 0 0 3px var(--c-accent-soft)}
.input[aria-invalid="true"]{border-color:var(--c-danger);box-shadow:0 0 0 1px var(--c-danger)}
.input:disabled,.select:disabled,.textarea:disabled{background:var(--c-surface-2);opacity:.6;cursor:not-allowed}
.search{display:flex;flex-wrap:wrap;gap:var(--space-1);padding:var(--space-1);border:2px solid var(--c-ink);border-radius:var(--r-lg);background:var(--c-surface)}
.search:focus-within{box-shadow:0 0 0 3px var(--c-accent-soft)}
.search .input{flex:1 1 240px;border:0;min-height:var(--h-lg);background:transparent;box-shadow:none}
.search .input:focus-visible{box-shadow:none}
.search .btn{border-radius:calc(var(--r-lg) - 6px)}

/* Segmented control and tabs */
.seg{display:inline-flex;width:fit-content;max-width:100%;gap:2px;padding:3px;border-radius:var(--r-md);background:var(--c-surface-2)}
.seg__btn{min-height:38px;min-width:var(--h-lg);padding:0 var(--space-3);border:0;border-radius:calc(var(--r-md) - 3px);background:transparent;color:var(--c-ink-2);
font-size:13px;line-height:16px;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center}
.seg__btn:is([aria-pressed="true"],[aria-current]){background:var(--c-surface);color:var(--c-ink);box-shadow:var(--shadow-sm)}
.seg--strong .seg__btn:is([aria-pressed="true"],[aria-current]){background:var(--c-ink);color:var(--c-bg)}
.seg__btn:disabled{opacity:.5;cursor:not-allowed}
.tabs{display:flex;flex-wrap:wrap;gap:var(--space-6);border-bottom:1px solid var(--c-line)}
.tabs__tab{min-height:var(--h-lg);padding:0;display:inline-flex;align-items:center;border:0;border-bottom:2px solid transparent;margin-bottom:-1px;
background:none;color:var(--c-muted);font-size:14px;line-height:20px;font-weight:600;text-decoration:none;cursor:pointer}
.tabs__tab:is([aria-current],[aria-selected="true"]){color:var(--c-ink);border-bottom-color:var(--c-accent)}

/* Chips, tags, badges */
.chip{display:inline-flex;align-items:center;min-height:var(--h-md);padding:0 var(--space-4);border-radius:var(--r-pill);border:1px solid var(--c-control-border);
background:var(--c-surface);color:var(--c-ink);font-size:14px;line-height:20px;text-decoration:none;cursor:pointer}
.chip[data-tile]{background:var(--tile);border-color:transparent}
.chip:is([aria-pressed="true"],[aria-current]){border-color:var(--c-ink);background:var(--c-ink);color:var(--c-bg)}
.chip[data-tile]:is([aria-pressed="true"],[aria-current]){background:var(--tile);color:var(--c-ink);box-shadow:inset 0 0 0 2px var(--c-ink)}
.chip[aria-disabled="true"]{opacity:.5;pointer-events:none}
.tag,.badge{display:inline-flex;align-items:center;gap:var(--space-1);height:24px;padding:0 var(--space-2);border-radius:var(--r-sm);font-size:12px;line-height:16px;white-space:nowrap}
.tag{border:1px solid var(--c-line-strong);color:var(--c-ink-2)}
.badge{font-weight:500;background:var(--c-surface-2);color:var(--c-ink-2)}
.badge--ok{background:var(--c-ok-soft);color:var(--c-ok-ink)}
.badge--warn{background:var(--c-warn-soft);color:var(--c-warn-ink)}
.badge--info{background:var(--c-accent-soft);color:var(--c-accent-text)}
.badge--danger{background:var(--c-danger-soft);color:var(--c-danger-ink)}

/* Category tiles (public pages): full-bleed horizontal scroller on phones */
.cats{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:var(--space-3)}
@media (max-width:1100px){.cats{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media (max-width:640px){.cats{display:flex;flex-wrap:nowrap;overflow-x:auto;padding-bottom:var(--space-2);scroll-snap-type:x proximity;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter);scroll-padding-inline:var(--gutter)}}
.cat{flex:0 0 auto;scroll-snap-align:start;min-width:0;min-height:72px;padding:var(--space-3) var(--space-4);border-radius:var(--r-lg);border:2px solid transparent;
background:var(--tile,var(--c-surface-2));color:var(--c-ink);display:flex;flex-direction:column;justify-content:space-between;gap:var(--space-1);
text-align:left;text-decoration:none;cursor:pointer}
.cat:is([aria-pressed="true"],[aria-current]){border-color:var(--c-ink)}
.cat__name{font-size:14px;line-height:20px;font-weight:600}
.cat__count{font-size:12px;line-height:16px;color:var(--c-ink-2);font-variant-numeric:tabular-nums}
@media (max-width:640px){.cat{min-width:120px}}

/* Cards and panels */
.card{background:var(--c-surface);border:1px solid var(--c-line);border-radius:var(--r-lg)}
.card__body{padding:var(--inset-lg)}
.card__head{padding:var(--space-4) var(--inset-lg);border-bottom:1px solid var(--c-line);display:flex;flex-wrap:wrap;align-items:baseline;
justify-content:space-between;gap:var(--space-2)}
.card--panel{border-radius:var(--r-xl);overflow:hidden}

/* Product art: photo, or SVG of the container shape, on the category tile */
.art{position:relative;overflow:hidden;background:var(--tile,var(--c-surface-2));display:grid;place-items:center}
.art img{width:100%;height:100%;object-fit:cover}
.art__svg{width:auto;height:84%;max-width:84%}
.art__label{position:absolute;top:var(--space-3);left:var(--space-3);height:24px;display:inline-flex;align-items:center;padding:0 var(--space-2);
border-radius:var(--r-pill);background:var(--c-label-bg);color:var(--c-ink);font-size:12px;line-height:16px;font-weight:600}

/* Product card */
.pcard{display:flex;flex-direction:column;background:var(--c-surface);border:1px solid var(--c-line);border-radius:var(--r-lg);overflow:hidden;
color:var(--c-ink);text-decoration:none;text-align:left;padding:0;cursor:pointer;transition:border-color .15s,box-shadow .15s}
.pcard[aria-current]{border-color:var(--c-ink);box-shadow:inset 0 0 0 1px var(--c-ink)}
.pcard__art{aspect-ratio:1/1}
.pcard__body{display:flex;flex-direction:column;gap:var(--space-1);padding:var(--inset-md);flex:1}
.pcard__brand{font-size:12px;line-height:16px;font-weight:600;letter-spacing:.08em;color:var(--c-muted);text-transform:uppercase}
.pcard__name{font-size:15px;line-height:20px;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.pcard__meta{font-size:13px;line-height:20px;color:var(--c-muted)}
.pcard__price{display:flex;flex-direction:column;gap:2px;margin-top:auto;padding-top:var(--space-3)}
.pcard__for{font-size:12px;line-height:16px;color:var(--c-muted)}
.pcard__row{display:flex;align-items:baseline;justify-content:space-between;gap:var(--space-2)}
.pcard__amount{font-size:20px;line-height:28px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:-.01em}
.pcard__amount--off{color:var(--c-muted);font-size:15px;line-height:28px;font-weight:400}
.pcard__days{font-size:12px;line-height:16px;color:var(--c-muted);white-space:nowrap}
.pcard .badge{align-self:flex-start;margin-top:var(--space-2)}

/* Delivered price breakdown */
.cost{border:1px solid var(--c-line);border-radius:var(--r-lg);padding:var(--inset-lg);display:flex;flex-direction:column;gap:var(--space-4)}
.cost__head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:var(--space-2)}
.cost__label{font-size:14px;line-height:20px;font-weight:600}
.cost__total{font-size:32px;line-height:40px;font-weight:600;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.cost__bar{display:flex;gap:2px;height:12px;border-radius:var(--r-pill);overflow:hidden;background:var(--c-surface-2)}
.cost__bar>span{display:block;height:100%;background:var(--sw)}
.cost__rows{display:flex;flex-direction:column;gap:var(--space-2)}
.cost__row{display:flex;justify-content:space-between;gap:var(--space-3);font-size:14px;line-height:20px}
.cost__key{display:flex;align-items:center;gap:var(--space-2);color:var(--c-ink-2)}
.cost__key::before{content:"";width:10px;height:10px;border-radius:3px;background:var(--sw)}
.cost__val{font-variant-numeric:tabular-nums}
.cost__note{font-size:12px;line-height:16px;color:var(--c-muted);padding-top:var(--space-3);border-top:1px solid var(--c-line)}
.sw-goods{--sw:var(--c-cost-goods)}.sw-shipping{--sw:var(--c-cost-shipping)}.sw-duty{--sw:var(--c-cost-duty)}.sw-tax{--sw:var(--c-cost-tax)}

/* Lists, notices, code */
.facts{display:flex;flex-direction:column;gap:var(--space-2);font-size:14px;line-height:20px;color:var(--c-ink-2)}
.facts li{display:flex;gap:var(--space-2)}
.facts li::before{content:"→";flex:none;width:16px;text-align:center;font-weight:700;color:var(--c-accent-text)}
.facts .is-ok::before{content:"✓";color:var(--c-ok)}
.facts .is-warn::before{content:"!";color:var(--c-warn)}
.notice{padding:var(--space-3) var(--inset-md);border-radius:var(--r-md);font-size:14px;line-height:20px;background:var(--c-surface-2);color:var(--c-ink-2)}
.notice--warn{background:var(--c-warn-soft);color:var(--c-warn-ink)}
.notice--info{background:var(--c-accent-soft);color:var(--c-accent-text)}
.notice--ok{background:var(--c-ok-soft);color:var(--c-ok-ink)}
.notice--danger{background:var(--c-danger-soft);color:var(--c-danger-ink)}
.code{margin:0;padding:var(--inset-md);border-radius:var(--r-md);background:var(--c-code);color:var(--c-code-ink);font-family:var(--f-mono);
font-size:13px;line-height:20px;white-space:pre-wrap;overflow-x:auto}
.code-inline{font-family:var(--f-mono);font-size:.9em;padding:2px 6px;border-radius:var(--r-sm);background:var(--c-surface-2)}
.swatches{display:flex;flex-wrap:wrap;gap:var(--space-2)}
.swatch{width:var(--h-lg);height:var(--h-lg);border-radius:50%;border:2px solid var(--c-surface);box-shadow:0 0 0 1px var(--c-control-border);background:var(--shade);cursor:pointer}
.swatch:is([aria-pressed="true"],[aria-current]){box-shadow:0 0 0 2px var(--c-ink)}

/* Data: tables, KPI tiles, bars */
.table-wrap{overflow-x:auto;border:1px solid var(--c-line);border-radius:var(--r-lg);background:var(--c-surface)}
.table{width:100%;min-width:640px;border-collapse:separate;border-spacing:0;font-size:14px;line-height:20px}
.table th{padding:var(--space-3) var(--space-4);background:var(--c-bg-subtle);color:var(--c-muted);font-size:12px;line-height:16px;font-weight:600;text-align:left;white-space:nowrap}
.table td{padding:var(--space-3) var(--space-4);border-top:1px solid var(--c-line);vertical-align:middle;background:var(--c-surface)}
.table--top td{vertical-align:top}
.table :is(th,td):first-child{padding-left:var(--inset-lg);position:sticky;left:0;z-index:1;min-width:200px}
.table :is(th,td):last-child{padding-right:var(--inset-lg)}
.table th.n{text-align:right}
.table td a{color:var(--c-ink);text-decoration:none}
@media (hover:hover){.table td a:hover{text-decoration:underline}}
.table td.n{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.table td.n .t-sans{font-size:13px}
.kpi{background:var(--c-surface);border:1px solid var(--c-line);border-radius:var(--r-lg);padding:var(--inset-md) var(--inset-lg);
display:flex;flex-direction:column;gap:var(--space-1)}
.kpi__label{font-size:13px;line-height:20px;color:var(--c-muted)}
.kpi__value{font-size:28px;line-height:36px;font-weight:600;letter-spacing:-.01em;font-variant-numeric:tabular-nums}
.kpi__hint{font-size:12px;line-height:16px;color:var(--c-muted)}
.bars{display:flex;align-items:flex-end;gap:6px;height:180px;border-bottom:1px solid var(--c-control-border)}
.bars__bar{flex:1;height:var(--h);min-height:2px;background:var(--c-line-strong);border-radius:4px 4px 0 0}
.bars__bar--now{background:var(--c-accent)}
.meter{height:10px;border-radius:var(--r-pill);background:var(--c-surface-2);overflow:hidden;box-shadow:inset 0 0 0 1px var(--c-line)}
.meter>span{display:block;height:100%;width:var(--pct);background:var(--c-accent);border-radius:var(--r-pill)}
.toggle{position:relative;width:48px;height:28px;padding:3px;border:0;border-radius:var(--r-pill);background:var(--c-control-border);cursor:pointer;display:inline-flex;flex:none}
.toggle::before{content:"";position:absolute;inset:-8px}
.toggle::after{content:"";width:22px;height:22px;border-radius:50%;background:#FFFFFF;transition:transform .15s}
.toggle[aria-pressed="true"]{background:var(--c-accent)}
.toggle[aria-pressed="true"]::after{transform:translateX(20px)}
/* Same look on a real checkbox, so forms keep working without JavaScript */
.switch{appearance:none;-webkit-appearance:none;position:relative;width:48px;height:28px;margin:0;border-radius:var(--r-pill);background:var(--c-control-border);cursor:pointer;flex:none;vertical-align:middle}
.switch::after{content:"";position:absolute;top:3px;left:3px;width:22px;height:22px;border-radius:50%;background:#FFFFFF;transition:transform .15s}
.switch:checked{background:var(--c-accent)}
.switch:checked::after{transform:translateX(20px)}
.dropzone{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:var(--space-1);min-height:96px;padding:var(--space-4);
border:2px dashed var(--c-control-border);border-radius:var(--r-lg);background:var(--c-bg-subtle);cursor:pointer;text-align:center}
.dropzone:focus-within{border-color:var(--c-accent);outline:2px solid var(--c-focus);outline-offset:2px}

/* Site chrome */
.site-header{background:var(--c-surface);border-bottom:1px solid var(--c-line)}
.site-header__bar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3) var(--space-8);min-height:64px;padding-block:var(--space-3)}
.brand{display:flex;align-items:baseline;gap:var(--space-3);color:var(--c-ink);text-decoration:none}
.brand__mark{font-size:22px;line-height:28px;font-weight:700;letter-spacing:-.02em}
.brand__tag{font-size:13px;line-height:20px;color:var(--c-muted)}
.site-nav{display:flex;flex-wrap:wrap;gap:var(--space-1);flex:1 1 auto}
.site-nav a{min-height:var(--h-md);display:inline-flex;align-items:center;padding:0 var(--space-3);border-radius:var(--r-md);color:var(--c-ink-2);text-decoration:none;font-size:15px}
.site-nav a[aria-current]{background:var(--c-surface-2);color:var(--c-ink);font-weight:600}
.site-tools{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);font-size:13px;color:var(--c-muted)}
.site-footer{border-top:1px solid var(--c-line);padding-block:var(--space-8) var(--space-12);font-size:13px;line-height:20px;color:var(--c-muted)}
.theme-btn{width:var(--h-md);height:var(--h-md);flex:none;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--c-line-strong);
border-radius:var(--r-md);background:var(--c-surface);color:var(--c-ink-2);cursor:pointer}

.site-tools__label{font-size:13px;line-height:20px;color:var(--c-muted)}
.seg__short{display:none}
/* Phones: one row for the brand and theme, one scrolling row of menu links, one row of selectors */
@media (max-width:640px){.site-tools__label,.brand__tag{display:none}
.site-header__bar{gap:var(--space-2) var(--space-3)}
.site-nav{order:3;flex:1 1 100%;flex-wrap:nowrap;overflow-x:auto;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter);scrollbar-width:none;-webkit-mask-image:linear-gradient(90deg,#000 85%,transparent);mask-image:linear-gradient(90deg,#000 85%,transparent)}
.seg__short{display:inline}.seg__long{display:none}
.site-nav a{flex:none}
.site-tools{flex:1 1 auto;justify-content:flex-end;flex-wrap:nowrap;gap:var(--space-2)}
.site-tools .seg__btn{min-width:0;padding:0 var(--space-2)}}
.footer-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(160px,1fr));gap:var(--space-6)}
.footer-grid a{color:var(--c-ink-2);text-decoration:none}
.site-footer .brand__mark{color:var(--c-ink)}
.footer-h{color:var(--c-ink);font-size:13px;line-height:20px;font-weight:600}
.crumbs-bar{padding-top:var(--space-4)}
.crumbs{display:flex;flex-wrap:wrap;gap:var(--space-1) var(--space-2);font-size:13px;line-height:20px;color:var(--c-muted)}
.crumbs li+li::before{content:"/";margin-right:var(--space-2);color:var(--c-line-strong)}
.crumbs a{color:var(--c-muted);text-decoration:none}
.pager{display:flex;align-items:center;justify-content:space-between;gap:var(--space-4);padding-top:var(--space-4)}
.dl{display:grid;grid-template-columns:minmax(120px,max-content) 1fr;gap:var(--space-2) var(--space-6);font-size:14px;line-height:20px}
.dl dt{color:var(--c-muted)}
.dl dd{margin:0;min-width:0;overflow-wrap:anywhere}
.dl dd .code-inline{display:inline-block;max-width:100%;overflow-x:auto;white-space:nowrap;vertical-align:bottom}
@media (max-width:640px){.dl{grid-template-columns:minmax(0,1fr);gap:var(--space-1)}.dl dd{margin-bottom:var(--space-2)}}

/* Long text (policies, guides) */
.prose{max-width:72ch;display:flex;flex-direction:column;gap:var(--space-4);font-size:16px;line-height:28px;color:var(--c-ink-2)}
.prose h1{font-size:clamp(30px,2.4vw + 14px,40px);line-height:1.1;letter-spacing:-.03em;font-weight:600;color:var(--c-ink);margin-bottom:var(--space-2)}
.prose h2{font-size:20px;line-height:28px;font-weight:600;color:var(--c-ink);margin-top:var(--space-4)}

/* Public page layouts */
.shop-head{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:var(--space-6) var(--space-12);align-items:end}
.pdp{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:var(--space-12);align-items:start}
@media (max-width:900px){.pdp{grid-template-columns:minmax(0,1fr);gap:var(--space-6)}}
.pdp__art{aspect-ratio:1/1;border-radius:var(--r-xl)}
.pdp__more{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:var(--space-12);align-items:start}
@media (max-width:900px){.pdp__more{grid-template-columns:minmax(0,1fr)}}
.agent{border:1px solid var(--c-line);border-radius:var(--r-lg);padding:0 var(--inset-md)}
.agent[open]{padding-bottom:var(--inset-md)}
.agent__summary{min-height:var(--h-lg);display:flex;align-items:center;gap:var(--space-2);cursor:pointer;font-size:14px;line-height:20px;font-weight:600;color:var(--c-ink-2);list-style:none}
.agent__summary::-webkit-details-marker{display:none}
.agent__summary::after{content:"+";margin-left:auto;font-size:18px;color:var(--c-muted)}
.agent[open] .agent__summary::after{content:"−"}
.hero{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,480px),1fr));gap:var(--space-8) var(--space-12);align-items:end}
.steps-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:var(--space-4)}
.step{border-radius:var(--r-xl);background:var(--tile);padding:var(--inset-lg);display:flex;flex-direction:column;gap:var(--space-2);color:var(--c-ink)}
.step__n{font-size:13px;line-height:20px;font-weight:600;font-variant-numeric:tabular-nums}
.panels{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:var(--space-4)}
.panel{border-radius:var(--r-xl);padding:var(--inset-lg);display:flex;flex-direction:column;gap:var(--space-4);background:var(--c-bg-subtle);border:1px solid var(--c-line)}

.main-end{padding-bottom:var(--space-16)}
.search-call summary{cursor:pointer;font-size:13px;line-height:20px;color:var(--c-muted)}
.search-call .code{margin-top:var(--space-2);white-space:pre;overflow-x:auto}

/* App shell (seller console, admin): calm, no category colours */
.app{display:flex;flex-wrap:wrap;min-height:100vh}
.app__side{flex:1 1 220px;max-width:248px;background:var(--c-surface);border-right:1px solid var(--c-line);padding:var(--space-5) var(--space-4);
display:flex;flex-direction:column;gap:var(--space-5)}
.app__nav{display:flex;flex-direction:column;gap:2px}
.app__nav a{min-height:var(--h-md);display:flex;align-items:center;justify-content:space-between;gap:var(--space-2);padding:0 var(--space-3);border-radius:var(--r-md);
color:var(--c-ink-2);text-decoration:none;font-size:14px}
.app__nav a[aria-current]{background:var(--c-surface-2);color:var(--c-ink);font-weight:600}
.app__main{flex:999 1 640px;min-width:0;padding:var(--space-8) var(--space-8) var(--space-12)}
@media (max-width:760px){.app__side{max-width:none;border-right:0;border-bottom:1px solid var(--c-line);flex-direction:row;flex-wrap:wrap;align-items:center;gap:var(--space-2) var(--space-4);padding:var(--space-3) var(--gutter)}
.app__nav{order:3;flex:1 1 100%;flex-direction:row;overflow-x:auto;scrollbar-width:none;margin-inline:calc(-1 * var(--gutter));padding-inline:var(--gutter)}.app__nav a{flex:none}
.app__main{padding:var(--space-6) var(--gutter)}}

/* Hover only where a pointer can hover: on touch screens hover styles stick after a tap */
@media (hover:hover){
a:hover{color:var(--c-accent-hover)}
.btn:not([disabled]):hover{background:var(--c-line);color:var(--c-ink)}
.btn--primary:not([disabled]):hover{background:var(--c-accent-hover);color:var(--c-accent-ink)}
.btn--secondary:not([disabled]):hover{background:var(--c-bg-subtle)}
.btn--ghost:not([disabled]):hover{background:var(--c-surface-2)}
.input:hover,.select:hover{border-color:var(--c-ink-2)}
.seg__btn:hover{color:var(--c-ink)}
.tabs__tab:hover{color:var(--c-ink)}
.chip:hover{border-color:var(--c-ink);color:var(--c-ink)}
.cat:hover{border-color:var(--c-control-border);color:var(--c-ink)}
.pcard:hover{border-color:var(--c-control-border);box-shadow:var(--shadow-md);color:var(--c-ink)}
.table tbody tr:hover td{background:var(--c-bg-subtle)}
.dropzone:hover{border-color:var(--c-accent)}
.brand:hover{color:var(--c-ink)}
.site-nav a:hover,.app__nav a:hover{background:var(--c-surface-2);color:var(--c-ink)}
.theme-btn:hover{color:var(--c-ink);border-color:var(--c-control-border)}
}
@media (prefers-reduced-motion:reduce){*,*::before,*::after{transition:none!important;animation:none!important}}
@media print{.site-header,.site-footer,.app__side,.theme-btn{display:none}}