/* LOFT EYES · homepage (Version 3: square corners)
   Mobile first. Desktop layout from 900px. */

:root {
  /* LOFT EYES brand colours (Pigeons Design, Graphic Element guideline, Jan 2026, p. 8; docs/brand/). */
  --le-beige: #D8D6CA; --clay: #F0F0EA; --crimson: #3A0412; --le-black: #000000;
  /* Site colours, all from the palette and its tints (guide p. 8). See README "Colour system". */
  --ink: var(--le-black);      /* primary text */
  --dark: var(--le-black);     /* dark surfaces, photo placeholders */
  --ink-2: #333333;            /* Black 80%: body copy */
  --grey: #666666;             /* Black 60%: secondary text */
  --grey-2: #999999;           /* Black 40%: quiet text, disabled */
  --line: #E8E6DF;             /* Beige 60%: dividers */
  --line-strong: var(--le-beige); /* field borders */
  --line-dark: #CCCCCC;        /* Black 20%: stronger borders */
  --surface: var(--clay);      /* product tiles and photo backgrounds */
  --sale: #9B2C1F;             /* Sale text and links (client choice, outside the palette) */
  /* Functional exceptions, outside the brand palette: form messages only. */
  --error: #B3261E;
  --success: #2F6B3B;

  --g: 20px;      /* page gutter */
  --sec: 56px;    /* section spacing */
  --gap: 8px;     /* grid gap */
  --h2: 22px;
  --link: 14px;
  --btn: 52px;
  --radius: 0;    /* Version 3 uses square corners; pills and circles stay round */
  --ease: cubic-bezier(.2, .7, .2, 1);
}
@media (min-width: 900px) {
  :root { --g: 48px; --sec: 96px; --gap: 12px; --h2: 30px; --link: 15px; --btn: 56px; }
}
/* Content sits in a 1440px column; section backgrounds (announcement, header, LINE EYES, closer, footer, menus)
   run edge to edge, as on Farfetch and wonderful.ai. --edge is the page gutter plus whatever is left either side
   of the column on wide screens. --sbw (scrollbar width) is set by app.js so the column stays centred. */
:root {
  --max: 1440px;
  --edge: max(var(--g), calc((100vw - var(--sbw, 0px) - var(--max)) / 2 + var(--g)));
}
/* Version 2 (/version2): the same design with rounded boxes. */
[data-design="v2"], [data-design="0.0.3"] { --radius: 12px; }
@media (min-width: 900px) { [data-design="v2"], [data-design="0.0.3"] { --radius: 16px; } }
/* Version 2: Thai text in the system's own Thai font (Thonburi on Apple, Leelawadee on Windows) instead of Noto Sans Thai. */
body[data-design="v2"] { font-family: 'Geist', system-ui, -apple-system, 'Thonburi', 'Leelawadee UI', 'PingFang SC', 'Hiragino Sans', 'Apple SD Gothic Neo', 'Microsoft YaHei', 'Meiryo', 'Malgun Gothic', sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: #FFFFFF; color: var(--ink);
  font: 14px/1.45 'Geist', 'Noto Sans Thai', system-ui, -apple-system, 'PingFang SC', 'Hiragino Sans', 'Apple SD Gothic Neo', 'Microsoft YaHei', 'Meiryo', 'Malgun Gothic', sans-serif;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: none; }
@media (hover: hover) { a:hover { color: var(--grey); } }
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
html.pointer :focus-visible, html.pointer :focus-visible + span { outline: none; }
.icon:focus-visible { border-radius: 50%; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #FFF; padding: 8px 14px; z-index: 50; }
.skip:focus { left: 8px; color: #FFF; }
[hidden] { display: none !important; }

.d-only { display: none !important; }
@media (min-width: 900px) { .d-only { display: flex !important; } .m-only { display: none !important; } }

.scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.scroll::-webkit-scrollbar { display: none; }

/* Underline-on-hover link */
.ul {
  background-image: linear-gradient(currentColor, currentColor); background-size: 0 1px;
  background-repeat: no-repeat; background-position: 0 100%; transition: background-size .35s ease;
}
@media (hover: hover) { .ul:hover { background-size: 100% 1px; } }

/* Black pill button (wonderful.ai) */
.btn {
  display: inline-flex; align-items: center; justify-content: center; height: var(--btn); padding: 0 36px;
  background: #000; color: #FFF; border: 0; border-radius: 999px; font-size: 16px; transition: background-color .3s ease; white-space: nowrap;
}
@media (hover: hover) { .btn:hover { background: var(--ink-2); color: #FFF; } }
.btn.inv { background: var(--surface); color: var(--dark); }
@media (hover: hover) { .btn.inv:hover { background: #FFF; color: var(--dark); } }
@media (min-width: 900px) { .btn { font-size: 17px; } }

/* ---------- Announcement + header ---------- */
.announce { background: var(--ink); color: var(--surface); font-size: 12px; padding: 9px var(--edge); text-align: center; }

.header {
  position: sticky; top: 0; z-index: 20; background: #FFF;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 8px 12px 8px var(--edge);
}
.logo { display: flex; align-items: center; height: 44px; }
.logo svg { height: 15px; width: auto; }
.tools { display: flex; align-items: center; gap: 2px; }
.icon {
  position: relative; width: 34px; height: 44px; display: flex; align-items: center; justify-content: center;
  background: none; border: 0; padding: 0; color: var(--ink);
}
.badge {
  position: absolute; top: 9px; right: 1px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--ink); color: #FFF; font-size: 10px; display: flex; align-items: center; justify-content: center;
}
.lang { position: relative; }
.lang-btn {
  display: flex; align-items: center; gap: 6px; height: 44px; padding: 0 4px;
  background: none; border: 0; font-size: 14px; font-weight: 500;
}
.search {
  align-items: center; gap: 8px; height: 42px; width: 280px; margin: 0 6px; padding: 0 16px;
  border: 1px solid var(--line-strong); border-radius: 999px; color: var(--grey);
}
.search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 13px; color: var(--ink); }

@media (min-width: 900px) {
  .header { padding: 12px var(--edge); }
  .logo svg { height: 20px; }
  .tools { gap: 4px; }
  .icon { width: 40px; }
  .lang-btn { padding: 0 10px; }
}

.tabs {
  display: flex; gap: 22px; padding: 4px var(--edge) 0; border-bottom: 1px solid var(--line);
  font-size: 14px; white-space: nowrap; scroll-snap-type: none;
}
.tabs a { padding: 10px 0; color: var(--grey); }
.tabs a.on { color: var(--ink); font-weight: 500; border-bottom: 1.5px solid var(--ink); }
.tabs a.ul { background-position: 0 calc(100% - 8px); }
.tabs a.sale { color: var(--sale); }
/* Sale in the footer matches the header tabs (#9B2C1F); on the dark footers it's Clay, underlined. */
.footer a.sale { color: var(--sale); }
body[data-footer="crimson-clay"] .footer a.sale, body[data-footer="black-white"] .footer a.sale { color: var(--clay); text-decoration: underline; text-underline-offset: 3px; }
@media (min-width: 900px) { .tabs { gap: 32px; padding-top: 0; font-size: 15px; } .tabs a { padding: 12px 0; } }

/* ---------- Section scaffolding ---------- */
.sec { padding: var(--sec) var(--edge) 0; }
/* The last section before the footer keeps its breathing room (You may also like, More from the Journal…). */
main > section.sec:last-of-type { padding-bottom: var(--sec); }
.sec.bleed { padding-left: 0; padding-right: 0; }
.sec.bleed .pad { padding: 0 var(--edge); }
.head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 16px; }
.head h2 { margin: 0; font-size: var(--h2); font-weight: 400; letter-spacing: -.025em; line-height: 1.1; }
.head a { font-size: var(--link); font-weight: 500; white-space: nowrap; }
@media (min-width: 900px) { .head { margin-bottom: 24px; } }

.grid { display: grid; gap: var(--gap); }
.trend { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.nine, .htt { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.labels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.products { row-gap: 16px; }
@media (min-width: 900px) {
  .trend { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .nine, .htt { grid-template-columns: repeat(9, minmax(0, 1fr)); }
  .four, .labels { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .products { row-gap: 20px; }
}

/* ---------- Overlay cards (hero, trending, brands) ---------- */
.card {
  position: relative; display: block; overflow: hidden; aspect-ratio: 6 / 7;
  border-radius: var(--radius); background: var(--bg, var(--dark)); color: #FFF;
}
.card.light { color: var(--ink); }
/* Hover keeps the card's own text colour and fades the title, arrow and pill to 80%. */
@media (hover: hover) { .card:hover { color: #FFF; } }
@media (hover: hover) { .card.light:hover { color: var(--ink); } }
.card-in { transition: opacity .3s ease; }
@media (hover: hover) { .card:hover .card-in, .card:focus-visible .card-in { opacity: .8; } }
/* <picture> (small copies for small screens) lays out as if the img were the card's own child. */
.card > picture { display: contents; }
.card > img, .card > picture > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card > img.contain { object-fit: contain; padding: 14%; }
/* Trending packshots sit below the title */
.card > img.pack { object-fit: contain; padding: 22% 10% 6%; }
.scrim { position: absolute; inset: 0; pointer-events: none; }
.scrim.dark { background: linear-gradient(180deg, rgba(0, 0, 0, .42) 0%, rgba(0, 0, 0, 0) 38%); }
.scrim.light { background: linear-gradient(180deg, rgba(255, 255, 255, .7) 0%, rgba(255, 255, 255, 0) 36%); }
.card-in { position: absolute; inset: 0; padding: 14px; display: flex; flex-direction: column; justify-content: space-between; }
.card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.card-title { font-size: 15px; line-height: 1.18; letter-spacing: -.015em; }
.arw { flex: 0 0 auto; }
@media (min-width: 900px) { .card-in { padding: 18px; } .card-title { font-size: 17px; } }
/* .still = no hover motion (hero, trending, new arrivals, brands of the moment) */

/* Hero */
.hero { padding: 40px var(--edge) 24px; }
.hero h1 { margin: 0; font-size: 36px; line-height: 1.06; font-weight: 300; letter-spacing: -.035em; color: var(--ink-2); max-width: 900px; }
.hero-sub { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 16px; font-size: 13px; }
.hero-sub span { color: var(--grey); }
.arrow-link { display: inline-flex; align-items: center; gap: 4px; font-weight: 500; }
.arrow-link .arw { width: 14px; height: 14px; }
.rail { display: flex; gap: var(--gap); padding: 0 var(--edge); scroll-padding-left: var(--edge); }
.rail > * { flex: 0 0 auto; scroll-snap-align: start; }
.hero-card { width: 300px; }
.hero-card.light { --bg: var(--line); }
.hero-card.light > img.pack { mix-blend-mode: multiply; }
.hero-card .card-in { padding: 22px; }
.hero-card .card-title { font-size: 22px; }
.pill {
  align-self: flex-end; border: 1.5px solid #FFF; border-radius: 999px; padding: 6px 14px;
  font-size: 13px; font-weight: 500; background: rgba(0, 0, 0, .12);
}
.progress { margin: 20px var(--edge) 0; height: 2px; background: var(--line); border-radius: 2px; }
.progress span { display: block; width: 22%; height: 2px; background: var(--ink); border-radius: 2px; will-change: transform; }
@media (min-width: 900px) {
  .hero { padding: 72px var(--edge) 40px; }
  .hero h1 { font-size: 68px; line-height: 1.04; letter-spacing: -.04em; }
  .hero-sub { margin-top: 24px; font-size: 15px; }
  .hero-card { width: 420px; }
  .hero-card .card-in { padding: 30px; }
  .hero-card .card-title { font-size: 30px; }
  .pill { font-size: 15px; }
}

/* Brands of the moment */
.moment-card { width: 260px; aspect-ratio: 3 / 4; }
.moment-card .card-in { padding: 20px; }
.moment-card .card-title { font-size: 24px; }
@media (min-width: 900px) {
  .moment-card { width: 320px; }
  .moment-card .card-in { padding: 24px; }
  .moment-card .card-title { font-size: 30px; }
}

/* ---------- Product cards ---------- */
.pc { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: var(--ink); }
@media (hover: hover) { .pc:hover { color: var(--ink); } }
.tile {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; margin-bottom: 8px;
  background: var(--surface); border-radius: var(--radius);
}
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile img.contain { object-fit: contain; padding: 12%; }
/* Packshots on white: multiply turns the white into the tile's grey, so every product shares one backdrop. */
.tile img.pack, .pdp-slide img.pack, .card > img.pack { mix-blend-mode: multiply; }
.pc-brand, .pc-name, .pc-price, .pc-label { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pc-brand, .pc-label { font-weight: 500; }
.pc-name, .pc-price { color: var(--grey); }
@media (min-width: 900px) { .pc-brand, .pc-name, .pc-price, .pc-label { font-size: 14px; } }

.quick {
  position: absolute; right: 8px; bottom: 8px; width: 36px; height: 36px; border-radius: 50%; border: 0;
  background: #FFF; color: var(--ink); display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08); opacity: 0; transform: translateY(4px); transition: opacity .3s ease, transform .3s ease;
}
@media (hover: hover) { .pc:hover .quick, .quick:focus-visible { opacity: 1; transform: none; } }
/* Touch screens have no hover, so quick add stays off there: tap the card to choose size and add. */
@media (hover: none) { .quick { display: none; } }

/* Product cards built by core.js: the link holds tile and text; heart and quick add sit over the tile. */
.pc { position: relative; }
.pc-a { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: inherit; }
@media (hover: hover) { .pc-a:hover { color: inherit; } }
.pc-over { position: absolute; top: 0; left: 0; right: 0; aspect-ratio: 4 / 5; pointer-events: none; }
.pc-over > * { pointer-events: auto; }
.heart {
  position: absolute; top: 6px; right: 6px; width: 36px; height: 36px; border: 0; border-radius: 50%; padding: 0;
  background: none; color: var(--ink); display: flex; align-items: center; justify-content: center;
}
@media (hover: hover) { .heart:hover { background: rgba(255, 255, 255, .7); } }
.heart[aria-pressed="true"] svg { fill: currentColor; }
.lineeyes .heart { color: var(--ink); background: rgba(255, 255, 255, .75); }

/* Head to toe: cut-outs on grey, 30° turn + 30% zoom on hover */
.htt .tile img { object-fit: contain; padding: 14%; }
.pc.turn .zoom { transition: transform .8s var(--ease); }
@media (hover: hover) { .pc.turn:hover .zoom { transform: rotate(30deg) scale(1.3); } }

/* LINE EYES edit: swap to back view on hover */
.pc .alt2 { opacity: 0; transition: opacity .45s ease; }
@media (hover: hover) { .pc:hover .alt2 { opacity: 1; } }

/* Skeletons while products load */
.skel .tile { background: linear-gradient(90deg, var(--surface) 0%, #F8F7F4 50%, var(--surface) 100%); background-size: 200% 100%; animation: shimmer 1.4s infinite; }
.skel .pc-brand { height: 12px; width: 60%; background: var(--surface); }
@keyframes shimmer { to { background-position: -200% 0; } }

/* ---------- Thai labels to know ---------- */
.lbl {
  height: 72px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 0 10px;
  background: var(--surface); border-radius: var(--radius);
  font-size: 12px; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; transition: background-color .3s ease;
}
@media (hover: hover) { .lbl:hover { background: var(--line); color: var(--ink); } }
/* Brand logos (from each brand's site, recoloured to ink). --s evens out wide wordmarks and stacked logos. */
.lbl img { height: calc(var(--s, 1) * 18px); width: auto; max-width: 72%; object-fit: contain; }
@media (min-width: 900px) { .lbl { height: 96px; font-size: 14px; } .lbl img { height: calc(var(--s, 1) * 26px); } }

/* ---------- LINE EYES ---------- */
.lineeyes { margin-top: var(--sec); background: var(--dark); color: var(--surface); padding: 64px var(--edge); }
.lineeyes a { color: var(--surface); }
.eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--line-dark); }
.le-name { margin: 16px 0 0; line-height: 0; color: var(--surface); }
.le-logo { width: 220px; max-width: 100%; height: auto; }
.le-text p { margin: 14px 0 0; font-size: 15px; color: var(--line-strong); max-width: 380px; }
.le-photo { aspect-ratio: 4 / 3; margin-top: 24px; overflow: hidden; background: var(--dark); border-radius: var(--radius); }
.le-photo img { width: 100%; height: 100%; object-fit: cover; }
.le-edit { margin-top: 32px; }
.lineeyes .pc { color: var(--surface); }
.lineeyes .tile { background: var(--dark); }
.lineeyes .pc-name, .lineeyes .pc-price { color: var(--line-dark); }
.le-btn { width: 100%; margin-top: 28px; }
@media (min-width: 900px) {
  .lineeyes { padding: 88px var(--edge); }
  .le-top { display: flex; flex-wrap: wrap; gap: 48px; align-items: stretch; }
  .le-text { flex: 1 1 360px; }
  .le-logo { width: 400px; }
  .le-text p { font-size: 17px; }
  .le-photo { flex: 1.5 1 560px; aspect-ratio: 16 / 9; margin-top: 0; }
  .le-edit { margin-top: 56px; }
  .le-btn { width: max-content; margin-top: 40px; }
}

/* ---------- Services ---------- */
.services {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px;
  padding: 44px var(--edge); border-bottom: 1px solid var(--line);
}
.services div { display: flex; flex-direction: column; gap: 6px; }
.services strong { font-weight: 500; font-size: 14px; }
.services span { font-size: 13px; color: var(--grey); }
@media (min-width: 900px) { .services { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px 24px; padding: 56px var(--edge); } }

/* ---------- Closer (story + careers) ---------- */
.closer {
  position: relative; overflow: hidden; color: #FAFAFA;
  background: var(--dark) url(/assets/img/store-interior.jpg) center / cover no-repeat;
  padding: 64px var(--edge) var(--edge);
}
.closer::before { content: ''; position: absolute; inset: 0; background: rgba(28, 27, 25, .58); }
.closer-in { position: relative; }
.closer h2 { margin: 0; font-size: 34px; line-height: 1.08; font-weight: 300; letter-spacing: -.035em; }
.closer p { margin: 16px 0 0; font-size: 15px; line-height: 1.55; color: var(--line); }
.closer-photo { aspect-ratio: 4 / 3; margin-top: 32px; overflow: hidden; background: var(--dark); border-radius: var(--radius); }
.closer-photo img { width: 100%; height: 100%; object-fit: cover; }
.cc-row { display: flex; flex-direction: column; gap: var(--gap); margin-top: 8px; }
.cc {
  flex: 1 1 0; min-width: 0; min-height: 138px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 18px 18px 22px; border-radius: var(--radius); color: #FFF;
  background: rgba(245, 245, 245, .2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  transition: flex-grow .7s var(--ease), background-color .45s ease, color .45s ease;
}
@media (hover: hover) { .cc:hover { background: #F5F5F5; color: var(--ink-2); } }
.cc-title { display: block; font-size: 28px; font-weight: 300; letter-spacing: -.03em; line-height: 1.05; }
.cc-sub { display: block; font-size: 13px; margin-top: 6px; opacity: .85; }
.ccb {
  width: 40px; height: 40px; flex: 0 0 auto; border-radius: 50%; background: #FFF; color: var(--ink);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transform: scale(.7) rotate(-45deg); transition: opacity .45s ease, transform .55s var(--ease), background-color .45s ease, color .45s ease;
}
/* White circle, bold black arrow. On hover the card turns light, so the circle flips to black to stay visible. */
@media (hover: hover) { .cc:hover .ccb { opacity: 1; transform: none; background: var(--ink); color: #FFF; } }
/* On phones (no hover) the arrow is always there, so the cards read as links. */
@media (hover: none), (max-width: 899px) { .ccb { opacity: 1; transform: none; } }
@media (min-width: 900px) {
  .closer { padding: 112px var(--edge) var(--edge); }
  .closer-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 32px; }
  .closer h2 { font-size: 56px; line-height: 1.06; letter-spacing: -.04em; }
  .closer p { margin-top: 8px; max-width: 420px; font-size: 17px; }
  .closer-photo { aspect-ratio: auto; height: 440px; margin-top: 72px; }
  .cc-row { flex-direction: row; gap: 24px; height: 250px; margin-top: 24px; }
  .cc { height: auto; align-items: flex-end; padding: 28px 28px 28px 32px; }
  .ccb { width: 44px; height: 44px; }
  @media (hover: hover) { .cc:hover { flex-grow: 1.55; } }
  .cc-title { font-size: 44px; }
}

/* Headline rises word by word when scrolled into view */
.rise span { display: inline-block; opacity: 0; transform: translateY(18px); }
.rise.in span { animation: rise .9s var(--ease) forwards; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- Footer ---------- */
/* Brand guide pairing (p. 4): LOFT EYES Beige background, black text. */
.footer { background: var(--f-bg, var(--le-beige)); color: var(--f-text, var(--le-black)); padding: 48px var(--edge) 20px; font-size: 14px; }
.footer a, .footer .socials a { color: var(--f-text, var(--le-black)); }
.f-intro p { margin: 8px 0 0; max-width: 520px; font-size: 15px; line-height: 1.5; color: var(--f-text, var(--le-black)); opacity: .7; }
.f-top h2 { margin: 0; max-width: 520px; font-size: 26px; font-weight: 300; letter-spacing: -.035em; line-height: 1.1; color: var(--f-text, var(--le-black)); }
.signup { display: flex; gap: 8px; margin-top: 18px; }
.signup input {
  flex: 1; min-width: 0; height: var(--btn); padding: 0 20px; font-size: 14px;
  background: #FFF; border: 1px solid rgba(0, 0, 0, .12); border-radius: 999px; outline: 0;
}
.signup input:focus { border-color: var(--ink); }
.signup .btn { padding: 0 26px; font-size: 15px; }
.f-cols {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 16px;
  margin-top: 40px; padding-top: 32px; border-top: 1px solid rgba(0, 0, 0, .14);
}
.f-cols div { display: flex; flex-direction: column; gap: 10px; }
.f-cols strong { font-weight: 500; font-size: 13px; color: rgba(0, 0, 0, .55); }
.store { scroll-margin-top: 96px; }
.hiring { display: flex; align-items: center; gap: 8px; }
.hiring span { font-size: 11px; font-weight: 500; background: var(--ink); color: #FFF; padding: 3px 9px; border-radius: 999px; }
.f-meta { margin-top: 32px; }
.socials { display: flex; gap: 4px; margin-left: -10px; }
.socials a { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; color: var(--le-black); border-radius: 50%; transition: background-color .2s ease; }
@media (hover: hover) { .socials a:hover { background: rgba(0, 0, 0, .06); color: var(--le-black); } }
.selector {
  display: flex; align-items: center; gap: 8px; width: 100%; height: 44px; margin-top: 20px; padding: 0 18px;
  background: #FFF; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px;
}
.f-logo { margin-top: 40px; color: var(--f-logo, var(--f-text, var(--le-black))); }
.f-logo svg { width: 100%; height: auto; }
.f-tail { display: flex; justify-content: space-between; gap: 12px; margin-top: 14px; font-size: 12px; color: rgba(0, 0, 0, .55); }
.f-tail > span:last-child { text-align: right; }
@media (min-width: 900px) {
  .footer { padding: 72px var(--edge) 28px; font-size: 15px; }
  .f-top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
  .f-top h2 { font-size: 34px; }
  .signup { flex: 0 1 460px; margin-top: 0; }
  .f-cols { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px 24px; margin-top: 56px; padding-top: 40px; }
  .f-meta { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; margin-top: 48px; }
  .socials { gap: 8px; }
  .selector { width: auto; margin-top: 0; }
  .f-logo { margin-top: 64px; }
  .f-tail { margin-top: 20px; font-size: 13px; }
}

/* Toast for bag feedback */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 40; max-width: calc(100% - 32px);
  background: var(--ink); color: #FFF; padding: 12px 20px; border-radius: 999px; font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .rise span { opacity: 1; transform: none; }
}

/* =====================================================================
   Shop pages: collection, product, bag drawer, not found.
   Structure from D05 (/COLLECTION, /PRODUCT, Your Bag), styled in Version 3.
   ===================================================================== */

html.locked { overflow: hidden; }

/* Button variants */
.btn.line { background: #FFF; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
@media (hover: hover) { .btn.line:hover { background: var(--surface); color: var(--ink); } }
.btn.small { height: 40px; padding: 0 18px; font-size: 14px; }
.btn.block { display: flex; width: 100%; }
.btn:disabled, .btn:disabled:hover { background: var(--line-strong); color: var(--grey); box-shadow: none; cursor: not-allowed; }
.btn.line:disabled { background: #FFF; color: var(--grey-2); box-shadow: inset 0 0 0 1px var(--line-strong); }

/* Quantity stepper (product page and bag) */
.stepper { display: inline-flex; align-items: center; height: 44px; border: 1px solid var(--line-strong); border-radius: 999px; }
.stepper button { width: 44px; height: 100%; background: none; border: 0; font-size: 18px; color: var(--ink); }
.stepper button:disabled { color: var(--line-dark); cursor: not-allowed; }
.stepper input, .stepper span { width: 40px; text-align: center; border: 0; background: none; outline: 0; font-size: 15px; -moz-appearance: textfield; }
.stepper input::-webkit-inner-spin-button, .stepper input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.stepper.small { height: 34px; }
.stepper.small button { width: 34px; font-size: 16px; }
.stepper.small span { width: 24px; font-size: 13px; }

.pc:focus-visible { outline-offset: 4px; }

/* ---------- Collection (toolbar after Cettire) ---------- */
.plp { padding: 32px var(--edge) 0; }
.plp-head h1 { margin: 0; font-size: 36px; font-weight: 300; letter-spacing: -.035em; line-height: 1.05; }
.plp-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 12px; font-size: 14px; color: var(--grey); }
.plp-crumbs a { color: var(--grey); }
.plp-crumbs [aria-current] { color: var(--ink); }
.plp-crumbs .sep { color: var(--line-dark); }
.plp-desc { margin: 10px 0 0; max-width: 560px; color: var(--grey); font-size: 14px; }
.plp-bar {
  background: #FFF; display: flex; flex-direction: column; gap: 12px; margin: 20px calc(var(--edge) * -1) 16px; padding: 10px var(--edge) 12px;
  border-bottom: 1px solid var(--line);
}
.plp-tools { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.filter-btn {
  display: inline-flex; align-items: center; gap: 10px; height: 40px; padding: 0; background: none; border: 0;
  font-size: 15px; font-weight: 500; color: var(--ink);
}
.filter-n {
  min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; background: var(--ink); color: #FFF;
  font-size: 11px; display: inline-flex; align-items: center; justify-content: center;
}
.sort-btn {
  display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0; background: none; border: 0;
  font-size: 15px; font-weight: 500; color: var(--ink);
}
.sort-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.sort-btn svg { transition: transform .2s ease; }
/* Sort: bottom sheet on mobile */
.sort-sheet {
  position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; margin: 0; padding: 8px var(--g) 28px;
  border: 0; border-radius: 16px 16px 0 0; background: #FFF; color: var(--ink);
}
.sort-sheet::backdrop { background: rgba(28, 27, 25, .4); }
.sort-sheet[open] { animation: sheet-in .3s var(--ease); }
.sort-head { display: flex; justify-content: space-between; align-items: center; margin-right: -10px; }
.sort-head h2 { margin: 0; font-size: 16px; font-weight: 400; color: var(--ink-2); }
.sort-options { display: flex; flex-direction: column; padding-top: 8px; }
.sort-options .check { min-height: 52px; gap: 16px; font-size: 17px; }
.check.radio input { width: 22px; height: 22px; }
@media (min-width: 900px) {
  /* Desktop: a dropdown under the button */
  .sort-sheet {
    inset: auto; left: auto; width: 280px; padding: 8px 20px 12px; border-radius: 12px;
    box-shadow: 0 16px 40px rgba(26, 26, 26, .12); z-index: 30;
  }
  .sort-sheet[open] { animation: fade-in .15s ease; }
  .sort-head { display: none; }
  .sort-options .check { min-height: 44px; font-size: 15px; }
}
.chips-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.chips { display: flex; gap: 8px; scroll-snap-type: none; flex: 1 1 auto; min-width: 0; }
.chip {
  flex: 0 0 auto; display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px 0 14px;
  background: var(--surface); border-radius: 999px; font-size: 14px; color: var(--ink-2); transition: background-color .25s ease, color .25s ease;
}
.chip .ci { flex: 0 0 auto; color: var(--ink); }
@media (hover: hover) { .chip:hover { background: var(--line); color: var(--ink); } }
.chip.on { background: var(--ink); color: #FFF; }
.chip.on .ci { color: #FFF; }
.chips-next {
  flex: 0 0 auto; width: 32px; height: 38px; padding: 0; border: 0; background: none; color: var(--ink);
  display: none; align-items: center; justify-content: center;
}
.af-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.af {
  display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 10px 0 14px;
  border: 1px solid var(--ink); border-radius: 999px; font-size: 13px;
}
@media (hover: hover) { .af:hover { background: var(--surface); color: var(--ink); } }
.af-clear { font-size: 13px; color: var(--grey); margin-left: 4px; }
.plp-grid { row-gap: 24px; }
.plp-more { display: flex; justify-content: center; margin-top: 40px; }
.plp-empty { padding: 48px 0 16px; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.plp-empty p { margin: 0; color: var(--grey); font-size: 15px; }

/* Filter panel: a sheet from the bottom on mobile, a panel from the right on desktop */
.filters {
  position: fixed; inset: auto 0 0 0; width: 100%; max-width: none; height: 88vh; max-height: none; margin: 0; padding: 0;
  border: 0; border-radius: 16px 16px 0 0; background: #FFF; color: var(--ink);
}
.filters::backdrop { background: rgba(28, 27, 25, .4); }
.filters[open] { animation: sheet-in .35s var(--ease); }
@keyframes sheet-in { from { transform: translateY(100%); } }
.filters-form { display: flex; flex-direction: column; height: 100%; }
.filters-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px var(--g); border-bottom: 1px solid var(--line); }
.filters-head h2 { margin: 0; font-size: 18px; font-weight: 500; }
.filters-body { flex: 1; overflow-y: auto; padding: 0 var(--g); overscroll-behavior: contain; }
.facet { border-bottom: 1px solid var(--line); }
.facet summary { display: flex; justify-content: space-between; align-items: center; padding: 18px 0; cursor: pointer; list-style: none; font-size: 16px; }
.facet summary::-webkit-details-marker { display: none; }
.facet summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--grey); margin-left: auto; }
.facet[open] summary::after { content: '−'; }
.facet-n { color: var(--grey); margin-left: 6px; }
.facet-values { display: flex; flex-direction: column; gap: 2px; padding-bottom: 16px; }
.check { display: flex; align-items: center; gap: 12px; min-height: 40px; font-size: 15px; cursor: pointer; }
.check input { width: 18px; height: 18px; margin: 0; accent-color: var(--ink); }
.check small { margin-left: auto; color: var(--grey); font-size: 13px; }
.facet-values.sizes { flex-direction: row; flex-wrap: wrap; gap: 8px; }
.sizes .check { min-height: 0; position: relative; }
.sizes .check input { position: absolute; opacity: 0; }
.sizes .check span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 40px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 14px; }
.sizes .check small { display: none; }
.sizes .check input:checked + span { background: var(--ink); border-color: var(--ink); color: #FFF; }
.sizes .check input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.filters-foot { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 16px var(--g) 20px; border-top: 1px solid var(--line); }
.filters-foot .btn { padding: 0 16px; }

@media (min-width: 900px) {
  .plp { padding-top: 56px; }
  .plp-head h1 { font-size: 56px; letter-spacing: -.04em; }
  .plp-crumbs { font-size: 15px; }
  .plp-desc { font-size: 15px; }
  .plp-bar { margin-top: 32px; margin-bottom: 24px; }
  .chips-next:not([hidden]) { display: inline-flex; }
  .plp-grid { row-gap: 32px; }
  .plp-more { margin-top: 56px; }
  .filters { inset: 0 0 0 auto; width: 420px; height: 100%; border-radius: 0; }
  .filters[open] { animation: drawer-in .35s var(--ease); }
}

/* ---------- Product ---------- */
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; padding: 16px var(--edge) 0; font-size: 12px; color: var(--grey); }
.crumbs a { color: var(--grey); }
.crumbs [aria-current] { color: var(--ink); }
.pdp { display: grid; gap: 24px; padding-top: 16px; }
.pdp-gallery { min-width: 0; }
.pdp-slides { display: flex; scroll-behavior: smooth; }
.pdp-slides:focus-visible { outline-offset: -2px; }
.pdp-slide { flex: 0 0 100%; margin: 0; aspect-ratio: 4 / 5; background: var(--surface); scroll-snap-align: start; position: relative; }
.pdp-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pdp-slide img.contain { object-fit: contain; padding: 12%; }
.pdp-thumbs { display: flex; gap: 6px; padding: 8px var(--edge) 0; overflow-x: auto; scrollbar-width: none; }
.thumb { flex: 0 0 auto; width: 56px; aspect-ratio: 4 / 5; padding: 0; border: 0; background: var(--surface); opacity: .55; transition: opacity .25s ease; position: relative; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
@media (hover: hover) { .thumb:hover, .thumb[aria-current] { opacity: 1; } }
.thumb[aria-current]::after { content: ''; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--ink); }
.pdp-info { padding: 0 var(--edge); min-width: 0; }
.pdp-vendor { margin: 0; font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; }
.pdp-title { margin: 6px 0 0; font-size: 28px; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; }
.pdp-price { margin: 10px 0 0; font-size: 17px; }
.pdp-price s { color: var(--grey); margin-left: 6px; font-size: 15px; }
.pdp-form { margin-top: 24px; display: flex; flex-direction: column; gap: 20px; }
.opt { margin: 0; padding: 0; border: 0; min-width: 0; }
.opt legend { padding: 0; margin-bottom: 10px; font-size: 13px; color: var(--grey); }
.opt legend span { color: var(--ink); margin-left: 4px; }
.opt-values { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { position: relative; cursor: pointer; }
.sw input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.sw > span:first-of-type {
  display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px;
  border: 1px solid var(--line-strong); border-radius: 999px; font-size: 13px; transition: border-color .2s ease, background-color .2s ease;
}
@media (hover: hover) { .sw:hover > span:first-of-type { border-color: var(--ink); } }
.sw input:checked + span { background: var(--ink); border-color: var(--ink); color: #FFF; }
.sw input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 2px; }
.sw.out > span:first-of-type { color: var(--grey-2); text-decoration: line-through; }
.sw.out input:checked + span { background: var(--grey-2); border-color: var(--grey-2); color: #FFF; }
/* Colour-like options read as words (D05) */
.opt.text .opt-values { gap: 4px 16px; }
.opt.text .sw > span:first-of-type { min-width: 0; height: 32px; padding: 0; border: 0; border-radius: 0; color: var(--grey-2); }
@media (hover: hover) { .opt.text .sw:hover > span:first-of-type { color: var(--ink); } }
.opt.text .sw input:checked + span { background: none; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.qty { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 13px; color: var(--grey); }
.pdp-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.pdp-actions .btn { padding: 0 16px; }
.wish {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0;
  background: none; border: 0; font-size: 14px; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-dark);
}
.wish::before { content: '♡'; font-size: 18px; text-decoration: none; }
.wish[aria-pressed="true"]::before { content: '♥'; }
.pdp-desc { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.pdp-desc > :first-child { margin-top: 0; }
.pdp-desc img { height: auto; }
.prompt.guide { width: min(720px, calc(100vw - 32px)); max-width: none; max-height: calc(100dvh - 32px); overflow-y: auto; }
.guide .guide-for { margin: 4px 0 0; color: var(--grey); }
/* Size chart as a table: sizes down the side, measurements across; scrolls sideways on a phone if it must. */
.unit-switch { display: inline-flex; margin-top: 20px; padding: 3px; border-radius: 999px; background: var(--surface); }
.unit-switch button { height: 30px; min-width: 44px; padding: 0 14px; border: 0; border-radius: 999px; background: none; font-size: 13px; color: var(--grey); }
.unit-switch button[aria-pressed="true"] { background: #FFF; color: var(--ink); box-shadow: 0 1px 2px rgba(26, 26, 26, .08); }
.size-table { margin-top: 16px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.size-table table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.size-table th, .size-table td { padding: 12px 14px 12px 0; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
.size-table thead th { font-size: 12px; font-weight: 500; letter-spacing: .04em; color: var(--grey); border-bottom-color: var(--ink); }
.size-table tbody .sz { font-weight: 500; }
.size-table .sz { position: sticky; left: 0; background: #FFF; padding-right: 20px; }
.guide-note { margin: 14px 0 0; font-size: 13px; color: var(--grey); }
/* Care guide: material first, then each instruction on its own line. */
.care-material { margin: 20px 0 0; padding: 14px 16px; background: var(--surface); font-size: 14px; }
.care-material span { display: block; font-size: 12px; letter-spacing: .04em; color: var(--grey); margin-bottom: 2px; }
.care-list { list-style: none; margin: 16px 0 0; padding: 0; }
.care-list li { position: relative; padding: 12px 0 12px 22px; border-bottom: 1px solid var(--line); font-size: 14px; line-height: 1.5; }
.care-list li::before { content: ""; position: absolute; left: 2px; top: 20px; width: 6px; height: 6px; border-radius: 50%; background: var(--ink); }
.opt-guide .arrow-link, .pdp-help .arrow-link { background-color: transparent; border: 0; padding: 0; font: inherit; cursor: pointer; }
.opt-guide { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 14px; font-size: 14px; }
.pdp-help { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); font-size: 14px; }
@media (min-width: 900px) {
  .crumbs { padding-top: 24px; font-size: 13px; }
  .pdp { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 56px; padding: 24px var(--edge) 0; align-items: start; }
  .pdp-thumbs { padding: 12px 0 0; gap: 8px; }
  .thumb { width: 72px; }
  .pdp-info { position: sticky; top: 92px; padding: 0; max-width: 480px; }
  .pdp-title { font-size: 40px; letter-spacing: -.035em; }
  .pdp-price { font-size: 19px; }
}

/* ---------- Bag drawer ---------- */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: 100%; max-width: 440px; height: 100%; max-height: none;
  margin: 0 0 0 auto; padding: 0; border: 0; background: #FFF; color: var(--ink);
}
.drawer::backdrop { background: rgba(28, 27, 25, .4); }
.drawer[open] { animation: drawer-in .35s var(--ease); }
.drawer[open]::backdrop { animation: fade-in .35s ease; }
@keyframes drawer-in { from { transform: translateX(100%); } }
@keyframes fade-in { from { opacity: 0; } }
.drawer-panel { display: flex; flex-direction: column; height: 100%; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 12px 12px 12px var(--g); border-bottom: 1px solid var(--line); }
.drawer-head h2 { margin: 0; font-size: 18px; font-weight: 500; letter-spacing: -.01em; }
.drawer-count { color: var(--grey); font-weight: 400; }
.drawer-body { flex: 1; overflow-y: auto; padding: 0 var(--g); overscroll-behavior: contain; }
.drawer-empty { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 32px var(--g); }
.drawer-empty p { margin: 0; color: var(--grey); font-size: 15px; }
.bag-line { display: grid; grid-template-columns: 76px minmax(0, 1fr) auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); transition: opacity .2s ease; }
.bag-line.busy { opacity: .5; pointer-events: none; }
.line-img { display: block; aspect-ratio: 4 / 5; background: var(--surface); overflow: hidden; }
.line-img img { width: 100%; height: 100%; object-fit: cover; }
.line-info { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.line-title { font-size: 14px; line-height: 1.3; }
.line-brand { display: block; font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 2px; }
.line-meta { font-size: 13px; color: var(--grey); }
.line-row { display: flex; align-items: center; gap: 16px; margin-top: auto; padding-top: 8px; }
.line-remove { background: none; border: 0; padding: 0; font-size: 12px; color: var(--grey); }
.line-total { font-size: 14px; white-space: nowrap; }
.drawer-foot { padding: 16px var(--g) 20px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 14px; }
.discount summary { cursor: pointer; font-size: 14px; list-style: none; display: flex; justify-content: space-between; }
.discount summary::-webkit-details-marker { display: none; }
.discount summary::after { content: '+'; font-size: 18px; line-height: 1; }
.discount[open] summary::after { content: '−'; }
.discount-form { display: flex; gap: 8px; margin-top: 12px; }
.discount-form input { flex: 1; min-width: 0; height: 40px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; outline: 0; font-size: 14px; text-transform: uppercase; }
.discount-form input:focus { border-color: var(--ink); }
.discount-msg { margin: 8px 0 0; font-size: 13px; color: var(--grey); }
.discount-msg:empty { display: none; }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; }
.drawer-total strong { font-size: 17px; font-weight: 500; }
.fine { margin: -6px 0 0; font-size: 12px; color: var(--grey); }

/* ---------- Not found / error ---------- */
.nf { padding: 72px var(--g) 24px var(--edge); max-width: calc(760px + var(--edge)); }
.nf h1 { margin: 0; font-size: 36px; font-weight: 300; letter-spacing: -.035em; line-height: 1.08; }
.nf p { margin: 16px 0 0; font-size: 15px; color: var(--grey); max-width: 480px; }
.nf-links { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; margin-top: 32px; }
@media (min-width: 900px) { .nf { padding-top: 120px; } .nf h1 { font-size: 56px; letter-spacing: -.04em; } }

/* ---------- Content pages (/pages/*) ---------- */
.doc { padding: 24px var(--g) var(--sec) var(--edge); max-width: calc(1100px + var(--edge)); }
.doc-head { max-width: 720px; }
.doc-eyebrow { margin: 0 0 10px; font-size: 12px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.doc-head h1 { margin: 0; font-size: 36px; font-weight: 300; letter-spacing: -.035em; line-height: 1.05; }
.doc-lead { margin: 14px 0 0; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.facts { display: grid; gap: var(--gap); margin-top: 32px; }
.facts div { display: flex; flex-direction: column; gap: 6px; padding: 22px; background: var(--surface); border-radius: var(--radius); }
.facts strong { font-weight: 500; font-size: 16px; }
.facts span { font-size: 14px; color: var(--grey); line-height: 1.5; }
.doc-sec { margin-top: 48px; max-width: 720px; }
.doc-sec h2 { margin: 0 0 16px; font-size: var(--h2); font-weight: 400; letter-spacing: -.025em; }
.doc-sec p { font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.about-body .doc-sec h2 { margin-bottom: 14px; }
.about-body .doc-sec p { margin: 0 0 1em; font-size: 16px; }
.steps { margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding: 16px 0 16px 48px; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.55; color: var(--ink-2); }
.steps li:last-child { border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(step); position: absolute; left: 0; top: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #FFF; font-size: 13px; display: flex; align-items: center; justify-content: center; }
.steps strong { display: block; font-weight: 500; color: var(--ink); }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-size: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 20px; line-height: 1; color: var(--grey); }
.faq details[open] summary::after { content: '−'; }
.faq details p { margin: 0 0 18px; }
.doc-help { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 48px; padding: 24px; background: var(--surface); border-radius: var(--radius); max-width: 720px; }
.doc-help p { margin: 0; font-size: 16px; }
@media (min-width: 900px) {
  .doc { padding-top: 40px; }
  .doc-head h1 { font-size: 56px; letter-spacing: -.04em; }
  .doc-lead { font-size: 19px; }
  .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: 48px; }
  .facts div { padding: 28px; }
  .doc-sec { margin-top: 72px; }
}

/* ---------- Account and wishlist ---------- */
.wish-total { color: var(--grey); font-size: .55em; letter-spacing: 0; vertical-align: middle; }
.wish-page { padding-bottom: 0; }
.wish-page .plp-head { margin-bottom: 24px; }
.wish-signin {
  display: flex; flex-direction: column; align-items: flex-start; gap: 20px; margin-bottom: 32px;
  padding: 28px 24px; background: var(--surface); border-radius: var(--radius);
}
.wish-signin h2 { margin: 0; font-size: 24px; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; }
.wish-signin p { margin: 10px 0 0; max-width: 560px; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
@media (min-width: 900px) {
  .wish-signin { flex-direction: row; justify-content: space-between; align-items: center; gap: 32px; padding: 40px; margin-bottom: 40px; }
  .wish-signin h2 { font-size: 32px; }
  .wish-signin .btn { flex: 0 0 auto; }
}
@media (min-width: 900px) { .wish-page .plp-head { margin-bottom: 32px; } }
.acct { padding: 40px var(--g) var(--sec) var(--edge); max-width: calc(1100px + var(--edge)); }
.acct h1 { margin: 0; font-size: 36px; font-weight: 300; letter-spacing: -.035em; line-height: 1.05; }
.acct-lead { margin: 14px 0 0; max-width: 560px; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.acct-note { margin: 16px 0 0; padding: 12px 16px; background: var(--surface); border-radius: var(--radius); font-size: 14px; max-width: 560px; }
.acct-actions { margin-top: 28px; }
.acct-perks { margin: 40px 0 0; padding: 0; list-style: none; max-width: 560px; }
.acct-perks li { padding: 16px 0; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.5; color: var(--grey); }
.acct-perks strong { display: block; color: var(--ink); font-weight: 500; }
.acct-grid { display: grid; gap: var(--gap); margin-top: 32px; }
.acct-card { padding: 24px; background: var(--surface); border-radius: var(--radius); display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.acct-card h2 { margin: 0; font-size: 20px; font-weight: 400; letter-spacing: -.02em; }
.acct-card p, .acct-empty { margin: 0; font-size: 15px; color: var(--grey); }
.orders { list-style: none; margin: 0; padding: 0; width: 100%; }
.orders li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0; border-top: 1px solid var(--line); font-size: 14px; }
.o-name { font-weight: 500; }
.o-date { color: var(--grey); }
.o-total { text-align: right; }
.orders .arrow-link { justify-self: end; grid-column: 2; grid-row: 1; }
.acct-out { display: inline-block; margin-top: 32px; font-size: 14px; color: var(--grey); }
@media (min-width: 900px) {
  .acct { padding-top: 64px; }
  .acct h1 { font-size: 56px; letter-spacing: -.04em; }
  .acct-grid { grid-template-columns: 2fr 1fr; align-items: start; }
  .acct-card { padding: 32px; }
}

/* Sign-in prompt (wishlist hearts when signed out) */
.prompt {
  width: calc(100% - 32px); max-width: 440px; padding: 32px 24px 24px; border: 0; border-radius: 16px;
  background: #FFF; color: var(--ink);
}
.prompt::backdrop { background: rgba(28, 27, 25, .4); }
.prompt[open] { animation: fade-in .25s ease; }
.prompt h2 { margin: 0; font-size: 26px; font-weight: 300; letter-spacing: -.03em; line-height: 1.1; padding-right: 32px; }
.prompt p { margin: 12px 0 0; font-size: 15px; line-height: 1.5; color: var(--ink-2); }
.prompt .btn { margin-top: 24px; }
.prompt-close { position: absolute; top: 10px; right: 10px; }

/* ---------- Mobile menu (Bottega Veneta style: full screen, drill down) ---------- */
.menu {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0;
  border: 0; background: #FFF; color: var(--ink);
}
.menu[open] { display: flex; flex-direction: column; animation: fade-in .2s ease; }
.menu::backdrop { background: #FFF; }
.menu-bar { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 8px var(--g); flex: 0 0 auto; }
.menu-body { flex: 1; overflow-y: auto; padding: 8px var(--g) 40px; overscroll-behavior: contain; }
.m-panel[hidden] { display: none; }
.m-panel:not([hidden]) { animation: m-in .28s var(--ease); }
@keyframes m-in { from { opacity: 0; transform: translateX(16px); } }
.m-back { display: inline-flex; align-items: center; gap: 8px; height: 44px; margin: 0 0 4px -2px; padding: 0; background: none; border: 0; font-size: 15px; }
.m-title { margin: 8px 0 16px; font-size: 17px; font-weight: 500; }
.m-list { list-style: none; margin: 0; padding: 0; }
.m-row {
  display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 52px; padding: 0;
  background: none; border: 0; font-size: 18px; text-align: left; color: var(--ink);
}
.m-row.sale { color: var(--sale); }
.m-service { list-style: none; margin: 28px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); }
.m-service a { display: flex; align-items: center; min-height: 44px; font-size: 15px; color: var(--grey); }
.m-sub { margin: 36px 0 14px; font-size: 17px; font-weight: 500; }
.m-hls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.m-hl { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.m-hl-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); border-radius: var(--radius); }
.m-hl-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Desktop mega menu ---------- */
.nav-wrap { position: relative; }
.mega {
  display: none; position: absolute; left: 0; right: 0; top: 100%; z-index: 15;
  background: #FFF; border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px rgba(26, 26, 26, .06);
}
.mega.open { display: block; animation: fade-in .2s ease; }
.mega-in { display: flex; gap: 28px; padding: 32px var(--edge) 40px; }
.mega-col { flex: 1 1 0; min-width: 0; max-width: 190px; }
.mega-head { margin: 0 0 14px; font-size: 13px; color: var(--grey); }
.mega-col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.mega-col a { font-size: 14px; }
.mega-hls { margin-left: auto; display: flex; gap: var(--gap); }
.mega-hls { flex: 0 0 auto; }
.mega-hl { display: flex; flex-direction: column; gap: 8px; width: 160px; font-size: 14px; }
/* Narrower screens keep one highlight so every category column fits */
@media (max-width: 1499px) { .mega-hl + .mega-hl { display: none; } }
.mega-hl-img { display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); border-radius: var(--radius); }
.mega-hl-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) { .mega-hl:hover img { transform: scale(1.03); } }
@media (max-width: 899px) { .mega { display: none !important; } }

/* ---------- Designers A–Z ---------- */
.designers { padding: 32px var(--edge) 0; }
.dz-featured { margin-top: 24px; }
.dz-bar {
  position: sticky; top: 60px; z-index: 10; background: #FFF; display: flex; flex-direction: column; gap: 12px;
  margin: 32px calc(var(--edge) * -1) 8px; padding: 12px var(--edge); border-bottom: 1px solid var(--line);
}
.dz-search { display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--grey); }
.dz-search:focus-within { border-color: var(--ink); }
.dz-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 15px; color: var(--ink); }
.dz-az { display: flex; gap: 2px; }
.dz-az a, .dz-az span { flex: 0 0 auto; display: flex; align-items: center; justify-content: center; width: 30px; height: 32px; font-size: 14px; }
.dz-az a { font-weight: 500; }
@media (hover: hover) { .dz-az a:hover { background: var(--surface); border-radius: 6px; } }
.dz-az span { color: var(--line-dark); }
.dz-group { scroll-margin-top: 180px; padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 12px; }
.dz-group h2 { margin: 0; font-size: 22px; font-weight: 300; }
.dz-group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; }
.dz-group a { font-size: 15px; }
.dz-none { margin: 24px 0 0; font-size: 15px; color: var(--grey); }
@media (min-width: 900px) {
  .designers { padding-top: 56px; }
  .dz-bar { top: 68px; flex-direction: row; align-items: center; gap: 24px; }
  .dz-search { flex: 0 0 300px; }
  .dz-az { justify-content: space-between; flex: 1; }
  .dz-group { grid-template-columns: 120px 1fr; padding: 32px 0; }
  .dz-group h2 { font-size: 30px; }
  .dz-group ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

.plp-logo { display: block; height: 40px; width: auto; max-width: 70vw; }
@media (min-width: 900px) { .plp-logo { height: 56px; } }

/* Back to top (after Cettire), under long lists */
.to-top-wrap { display: flex; justify-content: center; margin-top: 48px; padding-bottom: 56px; }
.to-top {
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px; padding: 8px 16px;
  background: none; border: 0; font-size: 15px; color: var(--ink);
}
.to-top svg { color: var(--grey); transition: transform .25s ease; }
@media (hover: hover) { .to-top:hover svg { transform: translateY(-3px); } }
main h1:focus { outline: none; }
@media (min-width: 900px) { .to-top-wrap { margin-top: 64px; padding-bottom: 80px; } }

/* Header after wonderful.ai: solid at the top of the page, frosted glass once you scroll, so the page
   blurs softly underneath. Same tint and blur as theirs. */
.header, .dz-bar { transition: background-color .35s ease, -webkit-backdrop-filter .35s ease, backdrop-filter .35s ease, transform .2s ease-in-out; }
/* Listing pages: header slides away while scrolling down, back on scroll up (see app.js). */
.header-hidden .header { transform: translateY(-100%); }
.scrolled .header, .scrolled .dz-bar {
  background: rgba(250, 250, 250, .2);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
/* Without blur support the glass would be see-through, so stay solid. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .scrolled .header, .scrolled .dz-bar { background: #FFF; }
}

/* Over a dark section (data-header-dark) the header's logo and icons turn light, as on wonderful.ai. */
.header .logo, .header .icon, .header .lang-btn, .header .search, .header .v7-bar { transition: color .3s ease, border-color .3s ease; }
.header-dark .header .logo, .header-dark .header .icon, .header-dark .header .lang-btn, .header-dark .header .v7-bar { color: #FAFAFA; }
.header-dark .header .search { color: rgba(250, 250, 250, .75); border-color: rgba(250, 250, 250, .45); }
.header-dark .header .search input { color: #FAFAFA; }
.header-dark .header .search input::placeholder { color: rgba(250, 250, 250, .75); }
.header-dark .header .badge { background: #FAFAFA; color: var(--ink); }
/* Over a photo, a soft dark shade behind the header keeps the white logo and icons readable on light areas. */
.header-dark .header { background: linear-gradient(rgba(0, 0, 0, .38), rgba(0, 0, 0, .12)); }

/* ---------- Journal (D05) ---------- */
.journal-grid { display: grid; grid-template-columns: 1fr; gap: 32px var(--gap); }
.jc { display: flex; flex-direction: column; gap: 6px; color: var(--ink); }
@media (hover: hover) { .jc:hover { color: var(--ink); } }
.jc-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); border-radius: var(--radius); margin-bottom: 8px; }
.jc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
@media (hover: hover) { .jc:hover .jc-img img { transform: scale(1.03); } }
.jc-meta { font-size: 12px; color: var(--grey); letter-spacing: .02em; }
.jc-title { font-size: 20px; line-height: 1.2; letter-spacing: -.02em; }
.jc-excerpt { font-size: 14px; line-height: 1.5; color: var(--grey); }
.journal { padding-bottom: 0; }
@media (min-width: 640px) { .journal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .journal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px var(--gap); } .jc-title { font-size: 22px; } }

/* Story page */
.story { padding: 24px var(--edge) 0; }
.story-head { max-width: 760px; margin: 0 auto; text-align: center; }
.story-topic { display: inline-block; }
.story-head h1 { margin: 0; font-size: 30px; font-weight: 300; letter-spacing: -.035em; line-height: 1.06; }
.story-date { margin: 12px 0 0; font-size: 14px; color: var(--grey); }
.story-cover { margin: 28px calc(var(--edge) * -1) 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); }
.story-cover picture { display: contents; }
.story-cover img { width: 100%; height: 100%; object-fit: cover; }
.story-body { max-width: 640px; margin: 32px auto 0; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.story-body p { margin: 0 0 1.1em; }
.story-body h2 { margin: 2em 0 .6em; font-size: 20px; font-weight: 500; line-height: 1.3; letter-spacing: -.01em; color: var(--ink); }
.story-body .story-visit { margin-top: 2.4em; padding: 18px 20px; background: var(--surface); border-radius: var(--radius); line-height: 1.6; }
.story-body .story-visit strong { font-weight: 500; }
.story-body a { text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-dark); }
.story-body img { max-width: 100%; height: auto; }
/* Products placed in the story: a row of cards between paragraphs. One product sits at half width. */
.story-body .story-inline { grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 1.6em 0 2em; font-size: 14px; line-height: 1.4; }
.story-body .story-inline a { text-decoration: none; }
.story-body .story-inline img { height: 100%; }
@media (min-width: 900px) { .story-body .story-inline:not(.one) { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.story-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); margin-top: 32px; }
.story-gallery.one { grid-template-columns: 1fr; max-width: 900px; margin-left: auto; margin-right: auto; }
.story-gallery figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface); border-radius: var(--radius); }
.story-gallery.one figure { aspect-ratio: 3 / 2; }
.story-gallery img { width: 100%; height: 100%; object-fit: cover; }
.story-gallery figure.wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.story-more { padding-bottom: var(--sec); }
@media (min-width: 900px) {
  .story { padding-top: 48px; }
  .story-head h1 { font-size: 48px; letter-spacing: -.04em; }
  .story-cover { margin: 48px 0 0; aspect-ratio: 16 / 9; border-radius: var(--radius); }
  .story-body { margin-top: 56px; font-size: 16px; }
  .story-gallery { margin-top: 56px; }
}

/* ---------- Company and help pages ---------- */
.doc-cover { margin: 32px calc(var(--edge) * -1) 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); }
.doc-cover img { width: 100%; height: 100%; object-fit: cover; }
.doc-cols { display: grid; gap: 32px; margin-top: 40px; max-width: 1000px; }
.doc-cols h2 { margin: 0 0 12px; font-size: var(--h2); font-weight: 400; letter-spacing: -.025em; }
.doc-cols p { margin: 0 0 1em; font-size: 16px; line-height: 1.6; color: var(--ink-2); }
.facts .arrow-link, .facts a.ul { margin-top: 6px; font-size: 14px; font-weight: 500; align-self: flex-start; }
.doc-links { display: flex; flex-direction: column; margin-top: 40px; border-top: 1px solid var(--line); max-width: 720px; }
.doc-sec .doc-links { margin-top: 0; }
.doc-link { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.doc-link svg { flex: 0 0 auto; transition: transform .3s var(--ease); }
@media (hover: hover) { .doc-link:hover svg { transform: translate(2px, -2px); } }

/* Stores */
.stores { display: grid; gap: 40px; margin-top: 32px; }
.store figure { margin: 0; aspect-ratio: 4 / 3; overflow: hidden; background: var(--surface); border-radius: var(--radius); }
.store figure img { width: 100%; height: 100%; object-fit: cover; }
.store-in { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding-top: 20px; }
.store h2 { margin: 0; font-size: 26px; font-weight: 300; letter-spacing: -.03em; }
.store address { font-style: normal; font-size: 16px; line-height: 1.5; color: var(--ink-2); }
.store-facts { margin: 0; display: grid; gap: 8px; font-size: 15px; }
.store-facts div { display: flex; gap: 12px; }
.store-facts dt { width: 84px; flex: 0 0 auto; color: var(--grey); }
.store-facts dd { margin: 0; }

/* Forms */
.form { display: grid; gap: 18px; max-width: 560px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; color: var(--ink-2); }
.field label small { color: var(--grey); margin-left: 6px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 12px 16px; border: 1px solid var(--line-strong); border-radius: 12px; background: #FFF;
  font: inherit; font-size: 16px; color: var(--ink); outline: 0;
}
.field textarea { resize: vertical; min-height: 120px; }
/* Our own chevron, inset like the text, instead of the browser's arrow hugging the edge. */
.field select {
  -webkit-appearance: none; appearance: none; padding-right: 48px; cursor: pointer;
  background: #FFF url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%231A1A1A' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 18px center / 18px 18px;
}
.field input[type="file"] { padding: 10px 12px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--ink); }
.field [aria-invalid="true"] { border-color: var(--error); }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-size: 14px; }
.form-status:empty { display: none; }
.form-status.ok { color: var(--success); }
.form-status.error { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Careers */
.roles summary span { display: flex; flex-direction: column; gap: 2px; }
.roles summary small { font-size: 13px; color: var(--grey); }
.role { padding-bottom: 20px; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
.role h3 { margin: 8px 0; font-size: 14px; font-weight: 500; color: var(--ink); }
.role ul, .role ol { margin: 0 0 16px; padding-left: 20px; display: grid; gap: 8px; }
.role p { margin: 0 0 16px; }

/* Press */
.logos { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--gap); }
.logo-dl { display: flex; flex-direction: column; gap: 8px; font-size: 14px; }
.logo-dl-img { display: flex; align-items: center; justify-content: center; height: 120px; padding: 24px; background: var(--surface); border-radius: var(--radius); }
.logo-dl.dark .logo-dl-img { background: var(--dark); }
/* Same height for every logo (the white LOFT EYES file has its own 100px size set inside it). */
.logo-dl img { height: 28px; width: auto; max-width: 100%; }

/* Size guide */
.table-wrap { overflow-x: auto; }
.sizes-table { width: 100%; min-width: 480px; border-collapse: collapse; font-size: 15px; }
.sizes-table th, .sizes-table td { padding: 12px 10px; text-align: left; border-bottom: 1px solid var(--line); }
.sizes-table thead th { font-size: 13px; font-weight: 500; color: var(--grey); }
.sizes-table tbody th { font-weight: 500; }
.table-note { font-size: 14px; color: var(--grey); }

/* Legal */
.legal-body { max-width: 720px; margin-top: 32px; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.legal-body h2 { margin: 32px 0 10px; font-size: 20px; font-weight: 500; color: var(--ink); }
.legal-body ul { padding-left: 20px; display: grid; gap: 8px; }

@media (min-width: 900px) {
  .doc-cover { margin: 48px 0 0; aspect-ratio: 21 / 9; border-radius: var(--radius); }
  .doc-cols { grid-template-columns: 1fr 1fr; gap: 56px; margin-top: 64px; }
  .stores { grid-template-columns: 1fr 1fr; gap: var(--gap); margin-top: 48px; }
}

/* ---------- Search ---------- */
.search-big { display: flex; align-items: center; gap: 10px; height: 56px; padding: 0 6px 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; color: var(--grey); max-width: 720px; }
.search-big:focus-within { border-color: var(--ink); }
.search-big input { flex: 1; min-width: 0; border: 0; outline: 0; background: none; font-size: 17px; color: var(--ink); }
.sr-count { margin: 16px 0 0; font-size: 14px; color: var(--grey); }
.sr-sec { margin-top: 40px; }
.sr-sec h2 { margin: 0 0 16px; font-size: var(--h2); font-weight: 400; letter-spacing: -.025em; }
.sr-sec h2 span { color: var(--grey); font-size: .7em; }
.sr-designers { display: flex; flex-wrap: wrap; gap: 8px; }
.search-page { padding-bottom: var(--sec); }

/* Cookie settings */
.link-btn { padding: 0; background: none; border: 0; font: inherit; color: var(--ink); text-align: left; cursor: pointer; }
@media (hover: hover) { .link-btn:hover { color: var(--grey); } }
.selector { cursor: pointer; }
.cookie-list { list-style: none; margin: 20px 0; padding: 0; border-top: 1px solid var(--line); }
.cookie-list li { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.cookie-list span { color: var(--grey); }

/* Keep a phrase together on one line. */
.nw { white-space: nowrap; }

/* Story photo viewer: full screen, swipe or arrow through every photo in the story. */
.lb-zoomable { cursor: zoom-in; }
html.lb-open { overflow: hidden; }
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: #F4F3EF; }
.lightbox::backdrop { background: rgb(17 17 16 / .72); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.lightbox[open] { display: block; }
.lb-track { display: flex; width: 100%; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior: contain; scrollbar-width: none; }
.lb-track::-webkit-scrollbar { display: none; }
.lb-slide { flex: 0 0 100%; height: 100%; margin: 0; display: grid; place-items: center; padding: 64px 16px 56px; scroll-snap-align: center; scroll-snap-stop: always; }
.lb-slide img { max-width: 100%; max-height: calc(100vh - 120px); max-height: calc(100dvh - 120px); width: auto; height: auto; object-fit: contain; }
.lightbox .icon { position: absolute; color: inherit; background: rgb(17 17 16 / .55); border-radius: 50%; width: 44px; height: 44px; display: grid; place-items: center; }
.lb-close { top: calc(12px + env(safe-area-inset-top, 0px)); right: 12px; }
.lb-nav { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-nav:disabled { opacity: 0; pointer-events: none; }
.lb-count { position: absolute; left: 0; right: 0; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); margin: 0; text-align: center; font-size: 13px; letter-spacing: .04em; font-variant-numeric: tabular-nums; color: var(--line); text-shadow: 0 1px 2px rgb(0 0 0 / .4); }
@media (hover: none) { .lb-nav { display: none; } }
@media (min-width: 900px) { .lb-slide { padding: 72px 96px; } .lb-slide img { max-height: calc(100vh - 144px); max-height: calc(100dvh - 144px); } }

/* ===================== Homepage (October 2026 review) ===================== */
/* No department tabs: the menu button shows on every screen size instead. */
[data-notabs="true"] [data-menu-open] { display: flex !important; }
/* The header sits over the first photo, clear until you scroll (as on Incu). */
[data-page="home"][data-notabs="true"] .header { background: transparent; }
/* Once you scroll it turns frosted like every other page (this rule outranks the plain .scrolled one). */
.scrolled [data-page="home"][data-notabs="true"] .header { background: rgba(250, 250, 250, .2); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .scrolled [data-page="home"][data-notabs="true"] .header { background: #FFF; }
}
[data-page="home"][data-notabs="true"] .tell { margin-top: -60px; }
@media (min-width: 900px) { [data-page="home"][data-notabs="true"] .tell { margin-top: -68px; } }

/* 1. Storytelling: Men, then Women, each a full-width photo with words over the bottom left. */
.tell-panel { position: relative; display: block; overflow: hidden; color: #FFF; aspect-ratio: 4 / 5; background: var(--surface); }
.tell-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* A soft shade under the header, so its white logo and icons read on light photos too. */
.tell-panel::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 180px; z-index: 1; pointer-events: none; background: linear-gradient(rgba(0, 0, 0, .32), rgba(0, 0, 0, 0)); }
.tell-scrim { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.55) 0%, rgba(0,0,0,.15) 38%, rgba(0,0,0,0) 60%); }
.tell-in { position: absolute; left: var(--edge); right: var(--edge); bottom: 28px; display: grid; gap: 10px; max-width: 620px; }
.tell-title { font-size: 34px; font-weight: 300; letter-spacing: -.035em; line-height: 1.04; }
.tell-text { font-size: 17px; line-height: 1.5; font-weight: 300; }
.tell-cta { justify-self: start; margin-top: 2px; font-size: 15px; }
a.tell-panel:hover { color: #FFF; }
@media (min-width: 900px) {
  .tell { display: grid; grid-template-columns: 1fr 1fr; }
  .tell-panel { aspect-ratio: auto; height: min(100vh, 1100px); }
  .tell-in { left: 40px; bottom: 48px; }
  .tell-title { font-size: 52px; letter-spacing: -.04em; }
}

/* 2. New arrivals: designer name only. */
.brand-only .pc-name, .brand-only .pc-price { display: none; }

/* 3. LINE EYES, after MR PORTER's Mr P.: film with a full-width button, the logo, five looks. */
.ln { margin-top: var(--sec); }
.ln-film { position: relative; display: block; overflow: hidden; aspect-ratio: 3 / 4; color: #FFF; background: var(--dark); }
.ln-film img, .ln-film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ln-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 45%); }
.ln-in { position: absolute; left: var(--edge); right: var(--edge); bottom: 24px; display: grid; gap: 8px; }
.ln-eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .75); }
.ln-text { max-width: 460px; font-size: 15px; line-height: 1.45; color: rgba(255, 255, 255, .85); }
.ln-line { font-size: 30px; font-weight: 300; letter-spacing: -.035em; line-height: 1.06; }
.ln-btn { margin-top: 14px; width: 100%; }
a.ln-film:hover { color: #FFF; }
@media (hover: hover) { a.ln-film:hover .ln-btn { background: #FFF; color: var(--dark); } }
.ln-mark { display: flex; justify-content: center; padding: 36px var(--edge) 28px; color: var(--ink); }
.ln-logo { height: 22px; width: auto; }
.ln-looks { display: flex; gap: var(--gap); padding: 0 var(--edge); scroll-padding-left: var(--edge); }
.ln-look { flex: 0 0 auto; width: 62%; scroll-snap-align: start; display: grid; gap: 14px; text-align: center; }
.ln-pic { display: block; aspect-ratio: 3 / 4; overflow: hidden; background: var(--surface); }
.ln-pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ln-label { font-size: 17px; }
@media (hover: hover) { .ln-look:hover .ln-pic img { transform: scale(1.03); } }
@media (min-width: 900px) {
  .ln-film { aspect-ratio: 16 / 9; max-height: 88vh; width: 100%; }
  .ln-in { left: 50%; right: auto; transform: translateX(-50%); width: min(560px, 80%); bottom: 48px; text-align: center; justify-items: center; }
  .ln-line { font-size: 48px; letter-spacing: -.04em; }
  .ln-btn { width: max-content; }
  .ln-mark { padding: 56px var(--edge) 40px; }
  .ln-logo { height: 30px; }
  .ln-look { width: calc((100% - 4 * var(--gap)) / 5); }
  .ln-looks { overflow: visible; }
}

/* 4. Exclusive collections, after Kith's collaborations: a photo slider, then that collection's pieces. */
.ex { position: relative; margin-top: var(--sec); }
.ex-slides { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.ex-slides::-webkit-scrollbar { display: none; }
.ex-slide { position: relative; flex: 0 0 100%; scroll-snap-align: start; aspect-ratio: 3 / 5; overflow: hidden; color: #FFF; background: var(--dark); }
.ex-slide > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ex-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.6) 0%, rgba(0,0,0,.1) 50%, rgba(0,0,0,0) 70%); }
.ex-in { position: absolute; left: var(--edge); right: var(--edge); bottom: 56px; display: grid; gap: 12px; justify-items: center; text-align: center; }
.ex-in h2 { margin: 0; font-size: 28px; font-weight: 300; letter-spacing: -.02em; line-height: 1.1; }
.ex-in p { margin: 0; max-width: 520px; font-size: 15px; line-height: 1.5; }
.ex-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 10px; }
.ex-btns .btn { padding: 0 28px; }
/* Frosted pill on photos, as the closer's cards. */
.btn.glass { background: rgba(245, 245, 245, .2); color: #FFF; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
@media (hover: hover) { .btn.glass:hover { background: #F5F5F5; color: var(--dark); } }
.ex-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; display: grid; place-items: center; background: none; border: 0; color: #FFF; }
.ex-prev { left: 8px; }
.ex-next { right: 8px; }
.ex-nav[hidden] { display: none; }
.ex-dots { position: absolute; left: 0; right: 0; bottom: 22px; display: flex; justify-content: center; gap: 8px; }
.ex-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 999px; background: rgba(255,255,255,.55); transition: width .3s var(--ease), background-color .3s; }
.ex-dots button[aria-current="true"] { width: 40px; background: #FFF; }
.ex-shop { padding-top: 24px; }
.ex-products .pc { width: 66%; }
.ex-all { display: flex; justify-content: center; padding: 28px var(--edge) 0; }
@media (min-width: 900px) {
  .ex-slide { aspect-ratio: 16 / 9; max-height: 88vh; }
  .ex-in { bottom: 72px; }
  .ex-in h2 { font-size: 44px; }
  .ex-in p { font-size: 17px; }
  .ex-nav { width: 56px; height: 56px; }
  .ex-prev { left: 24px; }
  .ex-next { right: 24px; }
  .ex-products .pc { width: calc((100% - 4 * var(--gap)) / 5); }
}

/* 5. Our stores: photos you can swipe, then the details; Siam Square first, Thonglor below. */
.hs-store { display: grid; gap: 20px; }
.hs-store + .hs-store { margin-top: 48px; }
.hs-photos { display: flex; gap: var(--gap); margin: 0 calc(-1 * var(--edge)); padding: 0 var(--edge); scroll-padding-left: var(--edge); }
.hs-photos figure { flex: 0 0 86%; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; background: var(--surface); scroll-snap-align: start; }
.hs-photos img { width: 100%; height: 100%; object-fit: cover; }
.hs-info { display: grid; gap: 12px; justify-items: start; }
.hs-info h3 { margin: 0; font-size: 22px; font-weight: 400; letter-spacing: -.02em; }
.hs-info address { font-style: normal; color: var(--ink-2); line-height: 1.6; }
.hs-facts { margin: 0; display: grid; gap: 4px; }
.hs-facts div { display: flex; gap: 12px; }
.hs-facts dt { width: 64px; color: var(--grey); }
.hs-facts dd { margin: 0; }
.hs-info .btn { margin-top: 8px; }
@media (min-width: 900px) {
  .hs-store { grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 40px; align-items: end; }
  .hs-photos { margin: 0; padding: 0; scroll-padding-left: 0; }
  .hs-photos figure { flex: 0 0 calc((100% - var(--gap)) / 2); }
  .hs-info h3 { font-size: 28px; }
  .hs-store + .hs-store { margin-top: 72px; }
}

/* Sold out: a quiet label on the tile, and "Notify me" in place of the buy buttons on the product page. */
.pdp-soldout { margin: 10px 0 0; font-size: 13px; color: var(--grey); }
.pdp-actions .notify-btn { grid-column: 1 / -1; }
.prompt.notify { width: min(460px, calc(100vw - 32px)); }
.notify-form { display: flex; gap: 8px; margin-top: 20px; }
.notify-form input[type="email"] { flex: 1; min-width: 0; height: 48px; padding: 0 18px; border: 1px solid var(--line-strong); border-radius: 999px; font-size: 15px; }
.notify-form .btn { height: 48px; padding: 0 22px; font-size: 15px; }
.notify-done { margin: 20px 0 0; font-size: 15px; }
.pc .tile .sold { position: absolute; left: 10px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(255, 255, 255, .9); font-size: 11px; letter-spacing: .04em; color: var(--ink); }

/* Desktop: keep the page's side margins on the photo sections too (as MR PORTER and Cettire do);
   only phones run them edge to edge. The header sits above them, solid. */
@media (min-width: 900px) {
  /* Homepage 0.0.2 also keeps the margins on New for Men / New for Women; the current homepage runs them full width. */
  [data-design="0.0.2"][data-page="home"][data-notabs="true"] .tell { margin-top: 0; }
  [data-design="0.0.2"][data-page="home"][data-notabs="true"] .header { background: #FFF; }
  [data-design="0.0.2"] .tell { gap: var(--gap); padding: 8px var(--edge) 0; }
  [data-design="0.0.2"] .tell-panel { height: min(86vh, 900px); }
  .ln-film { width: auto; margin: 0 var(--edge); aspect-ratio: 16 / 8; }
  .ex { margin-left: var(--edge); margin-right: var(--edge); }
  .ex-slide { aspect-ratio: 16 / 8; }
}

/* /versions (test sites only) */
.versions { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.versions li { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.versions a { justify-self: start; font-size: 20px; font-weight: 300; letter-spacing: -.02em; }
.versions span { color: var(--grey); font-size: 14px; }

/* Homepage boxes follow --radius (0 on the live design; rounded on /versions/0.0.3 and version2).
   Photos that run edge to edge (Men / Women, and the LINE EYES film and slider on a phone) stay square. */
.ln-pic, .hs-photos figure { border-radius: var(--radius); }
@media (min-width: 900px) {
  .ln-film, .ex { border-radius: var(--radius); overflow: hidden; }
}

/* Cookie consent (only when analytics / Tag Manager is switched on: html[data-tracking]). */
.ck-on { display: none; }
[data-tracking] .ck-on { display: revert; }
[data-tracking] .ck-off { display: none; }
.ck-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; cursor: pointer; }
.ck-row > span { display: flex; flex-direction: column; gap: 2px; }
.ck-switch { appearance: none; flex: none; width: 42px; height: 24px; border-radius: 999px; background: var(--line-strong); position: relative; cursor: pointer; transition: background-color .2s; }
.ck-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #FFF; transition: transform .2s var(--ease); }
.ck-switch:checked { background: var(--ink); }
.ck-switch:checked::after { transform: translateX(18px); }
.consent-bar { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); display: grid; gap: 14px; padding: 18px 20px; background: #FFF; box-shadow: 0 12px 40px rgba(26, 26, 26, .16); border-radius: 16px; font-size: 14px; }
.consent-bar p { margin: 0; line-height: 1.5; }
.consent-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.consent-btns .btn { height: 44px; padding: 0 16px; font-size: 14px; }
@media (min-width: 900px) {
  .consent-bar { left: auto; right: 24px; bottom: 24px; width: 420px; }
}

/* ===================== 3rd review prototypes (/versions/0.1.x) ===================== */
/* Brand colours are defined at the top (:root): LOFT EYES Beige Pantone 9082C, Clay 9100C, Deep Crimson 490 C, Black. */

.r3 { display: flex; flex-direction: column; }
[data-page="home"][data-notabs="true"] .r3 { margin-top: -60px; }
.r3 .r3-wide { display: none; }
/* Flow 1: the mixed 9. Flow 2: each photo followed by its row. Flow 3: both photos, then her row, then his. */
.r3[data-flow="1"] .r3-gender, .r3:not([data-flow="1"]) .r3-nine { display: none; }
.r3[data-flow="3"] .r3-gender { order: 1; }
.r3-gender { scroll-margin-top: 72px; }
/* Flow 2: breathing room between her row and the Men photo that follows it. */
.r3[data-flow="2"] #r3-women { padding-bottom: var(--sec); }
/* Layout 2: landscape everywhere, the same photo. */
.r3[data-layout="2"] .r3-panel { aspect-ratio: 4 / 3; }
/* Layout 3: a full-height portrait on a phone; its own landscape photo on a computer. */
.r3[data-layout="3"] .r3-panel { aspect-ratio: auto; height: 100vh; height: 100svh; max-height: 920px; }
@media (min-width: 900px) {
  [data-page="home"][data-notabs="true"] .r3 { margin-top: -68px; }
  /* Layout 1: Women left, Men right, then everything else full width. */
  .r3[data-layout="1"] { display: grid; grid-template-columns: 1fr 1fr; }
  .r3[data-layout="1"] > * { grid-column: 1 / -1; }
  .r3[data-layout="1"] > .r3-panel { grid-row: 1; height: min(100vh, 1100px); }
  .r3[data-layout="1"] > .r3-women { grid-column: 1; }
  .r3[data-layout="1"] > .r3-men { grid-column: 2; }
  /* Flow 2 puts a row between the photos, so with layout 1 they stack, each full width. */
  .r3[data-layout="1"][data-flow="2"] { display: flex; }
  .r3[data-layout="2"] .r3-panel, .r3[data-layout="3"] .r3-panel { aspect-ratio: 16 / 9; height: auto; max-height: 100vh; width: 100%; }
  .r3[data-layout="3"] .r3-main { display: none; }
  .r3[data-layout="3"] .r3-wide { display: block; }
  .r3[data-layout="2"] .tell-in, .r3[data-layout="3"] .tell-in { left: var(--edge); bottom: 56px; }
}

/* Footer colours: the logo-on-background pairings from the logo guideline (LOGO ON BG artworks 1 to 5, and the
   exceptional white and black, p. 8). The pairing sets the background and the big LOFT EYES logo; the small text
   stays black on light backgrounds and Clay or white on dark ones so it stays readable. Beige with black is the
   default; on the test sites the swatches in the footer switch it (footer-colours.js). */
body[data-footer="beige-black"]  { --f-bg: var(--le-beige); --f-text: #000; --f-logo: #000; }
body[data-footer="clay-black"]   { --f-bg: var(--clay); --f-text: #000; --f-logo: #000; }
body[data-footer="crimson-clay"] { --f-bg: var(--crimson); --f-text: var(--clay); --f-logo: var(--clay); }
body[data-footer="beige-clay"]   { --f-bg: var(--le-beige); --f-text: #000; --f-logo: var(--clay); }
body[data-footer="clay-beige"]   { --f-bg: var(--clay); --f-text: #000; --f-logo: var(--le-beige); }
body[data-footer="white-black"]  { --f-bg: #FFF; --f-text: #000; --f-logo: #000; }
body[data-footer="black-white"]  { --f-bg: #000; --f-text: #FFF; --f-logo: #FFF; }
body[data-footer="white-black"] .footer { border-top: 1px solid var(--line); }
/* Dark footers: muted text, outlined fields and a light button. */
body[data-footer="crimson-clay"] .footer, body[data-footer="black-white"] .footer { --f-line: rgba(255, 255, 255, .2); }
body[data-footer="crimson-clay"] .f-cols, body[data-footer="black-white"] .f-cols { border-top-color: var(--f-line); }
body[data-footer="crimson-clay"] .f-cols strong, body[data-footer="crimson-clay"] .f-tail,
body[data-footer="black-white"] .f-cols strong, body[data-footer="black-white"] .f-tail { color: var(--f-text); opacity: .65; }
body[data-footer="crimson-clay"] .signup input, body[data-footer="crimson-clay"] .selector,
body[data-footer="black-white"] .signup input, body[data-footer="black-white"] .selector { background: transparent; border-color: rgba(255, 255, 255, .35); color: var(--f-text); }
body[data-footer="crimson-clay"] .signup input::placeholder, body[data-footer="black-white"] .signup input::placeholder { color: var(--f-text); opacity: .6; }
body[data-footer="crimson-clay"] .footer .btn, body[data-footer="black-white"] .footer .btn,
body[data-footer="crimson-clay"] .hiring span, body[data-footer="black-white"] .hiring span { background: var(--f-text); color: var(--f-bg); }
@media (hover: hover) { body[data-footer="crimson-clay"] .socials a:hover, body[data-footer="black-white"] .socials a:hover { background: rgba(255, 255, 255, .12); } }

/* The swatches in the Versions and prototype panels (test sites only): background on top, logo colour below. */
.r3-row > .fc { flex: 1 1 auto; display: inline-flex; flex-wrap: wrap; gap: 6px; color: inherit; font-size: inherit; }
.fc button { width: 28px; height: 28px; padding: 0; border-radius: 50%; border: 1px solid var(--line); cursor: pointer; position: relative; overflow: hidden; }
.fc button span { position: absolute; inset: 50% 0 0; }
.fc button[aria-pressed="true"] { outline: 2px solid var(--ink); outline-offset: 2px; }

/* Larger text, to compare with the current size. */
body[data-r3-text="large"] { font-size: 15px; --h2: 24px; --link: 15px; }
body[data-r3-text="large"] .pc-brand, body[data-r3-text="large"] .pc-name, body[data-r3-text="large"] .pc-price, body[data-r3-text="large"] .pc-label { font-size: 13px; }
@media (min-width: 900px) {
  body[data-r3-text="large"] { font-size: 16px; --h2: 34px; --link: 16px; }
  body[data-r3-text="large"] .pc-brand, body[data-r3-text="large"] .pc-name, body[data-r3-text="large"] .pc-price, body[data-r3-text="large"] .pc-label { font-size: 15px; }
}

/* Hero text: "Women" with a "Shop women →" action (default), or the earlier "New for Women". */
.r3-shop { justify-self: start; margin-top: 4px; font-size: 16px; font-weight: 700; padding-bottom: 2px; }
/* The hero shows only the "Shop women →" link: no Women / Men title above it. */
.r3-hero-new { display: none; }
@media (min-width: 900px) { .r3-shop { font-size: 18px; } }
body[data-design="0.1"]:not([data-r3-hero="old"]) .r3-hero-old, body[data-r3-hero="old"] .r3-hero-new, body[data-r3-hero="old"] .r3-shop { display: none; }
/* Row headings: "New arrivals" right under its photo (flow 2); "Women's new arrivals" when both rows follow both photos (flow 3). */
.r3:not([data-flow="3"]) .r3-h3, .r3[data-flow="3"] .r3-h2 { display: none; }
/* Product row titles: New arrivals, or LOFT EYES’ picks when chosen in the prototype bar. */
body:not([data-r3-title="picks"]) .r3-t-picks, body[data-r3-title="picks"] .r3-t-new { display: none; }
/* Product rows: big enough to see. Phones: two columns, six pieces. Computers: four columns at most, eight
   pieces (two full rows), so visitors still reach Men and the rest of the page soon. */
@media (max-width: 899px) {
  .r3 .grid.nine { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .r3 .grid.nine > :nth-child(n+7) { display: none; }
}
@media (min-width: 900px) {
  .r3 .grid.nine { grid-template-columns: repeat(4, minmax(0, 1fr)); row-gap: 40px; }
  .r3 .grid.nine > :nth-child(n+9) { display: none; }
}
/* "Shop by category" replaces the LINE EYES wordmark under the feature. */
.ln-cats { margin: 0; padding: 32px var(--edge) 20px; font-size: var(--h2); font-weight: 400; letter-spacing: -.02em; text-align: center; }
@media (min-width: 900px) { .ln-cats { padding: 48px var(--edge) 28px; } }

/* Exclusive: titled, and hidden on day 1. */
/* Exclusive shows on the homepage (.r3-ex-on); in the prototypes each section has its own on/off switch. */
body[data-design="0.1"]:not([data-r3-ex="on"]) .r3-ex:not(.r3-ex-on), body[data-r3-ex="off"] .r3-ex { display: none; }
body[data-design="0.1"]:not([data-r3-botm="on"]) .r3-botm { display: none; }
body[data-design="0.1"]:not([data-r3-labels="on"]) .r3-labels { display: none; }
.r3-row .r3-toggle[aria-pressed="true"]::before { content: '✓ '; }
.ex-eyebrow { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .8); }

/* The comparison bar (test sites only). */
.r3-bar {
  position: fixed; right: 12px; bottom: 12px; z-index: 45; width: min(440px, calc(100% - 24px));
  background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-radius: 16px; box-shadow: 0 12px 40px rgba(26, 26, 26, .18); font-size: 13px; color: var(--ink);
}
.r3-bar { display: grid; grid-template-columns: auto 1fr; }
.r3-bar > .r3-bar-body { grid-column: 1 / -1; }
.r3-all { display: inline-flex; align-items: center; gap: 4px; padding: 12px 4px 12px 14px; font-size: 13px; color: var(--grey); white-space: nowrap; border-right: 1px solid var(--line); margin: 8px 0; padding-top: 4px; padding-bottom: 4px; padding-right: 12px; }
@media (hover: hover) { .r3-all:hover { color: var(--ink); } }
.r3-bar-toggle { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 12px 16px; background: none; border: 0; font: inherit; color: inherit; cursor: pointer; }
.vw.r3-bar { display: block; }
.r3-bar-toggle b { font-weight: 600; }
.r3-bar.closed .r3-bar-toggle svg { transform: rotate(180deg); }
.r3-bar.closed .r3-bar-body { display: none; }
.r3-bar-body { display: grid; gap: 8px; padding: 0 16px 14px; }
.r3-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.r3-row > span { flex: 0 0 74px; color: var(--grey); font-size: 12px; }
.r3-row button { height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: #FFF; font: inherit; font-size: 12px; color: var(--ink); cursor: pointer; }
.r3-row button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #FFF; }
.r3-note { margin: 2px 0 0; font-size: 12px; color: var(--grey); }
/* The Versions panel on every other test-site page: links in the same pills, the current version filled. */
.vw { width: min(400px, calc(100% - 24px)); }
.vw.closed { width: auto; }
.vw .r3-bar-toggle { gap: 14px; }
.r3-row a { display: inline-flex; align-items: center; height: 30px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 12px; color: var(--ink); }
.r3-row a[aria-current="page"] { background: var(--ink); border-color: var(--ink); color: #FFF; }
@media (hover: hover) { .r3-row a:hover { border-color: var(--ink); } }
.vw-back { justify-self: start; margin-bottom: 4px; }

/* /versions: grouped by client review. */
.review { margin-top: 48px; }
.review h2 { margin: 0; font-size: var(--h2); font-weight: 400; letter-spacing: -.02em; display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 14px; }
.review h2 span { font-size: 15px; color: var(--grey); letter-spacing: 0; }
.review > p { margin: 10px 0 0; color: var(--grey); max-width: 760px; }
.review .versions { margin-top: 20px; }

/* ===================== Language, region and currency panel (after Zara) ===================== */
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
/* Flat flags filling a circle, with a hairline so white flags (Japan) keep their edge. */
.loc-flag { flex: none; width: 26px; height: 26px; border-radius: 50%; object-fit: cover; background: var(--line); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .08); outline: 1px solid rgba(0, 0, 0, .08); outline-offset: -1px; }
/* A phone: the whole screen. */
.loc {
  position: fixed; inset: 0; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0;
  background: #FFF; color: var(--ink); flex-direction: column;
}
.loc[open] { display: flex; animation: fade-in .2s ease; }
.loc::backdrop { background: rgba(28, 27, 25, .35); }
.loc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; padding: 12px var(--g) 0; }
.loc-tabs { display: flex; gap: 22px; flex: 1; border-bottom: 1px solid var(--line); }
.loc-tabs button {
  padding: 14px 0 10px; margin-bottom: -1px; background: none; border: 0; border-bottom: 2px solid transparent;
  font: inherit; font-size: 15px; letter-spacing: .04em; text-transform: uppercase; color: var(--grey); cursor: pointer;
}
.loc-tabs [aria-selected="true"] { color: var(--ink); border-bottom-color: var(--ink); }
.loc-tabs button:focus:not(:focus-visible) { outline: none; }
.loc-close { align-self: center; }
.loc-pane { flex: 1; min-height: 0; overflow-y: auto; padding: 0 var(--g) 24px; overscroll-behavior: contain; }
.loc-intro { margin: 20px 0 8px; font-size: 15px; line-height: 1.5; color: var(--ink); }
.loc-search { display: flex; align-items: center; gap: 12px; height: 52px; margin: 8px 0 4px; border-bottom: 1px solid var(--ink); color: var(--grey); }
.loc-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: none; font: inherit; font-size: 15px; color: var(--ink); }
.loc-list { list-style: none; margin: 0; padding: 0; }
.loc-list > li:not(.loc-group):not(.loc-wait) { border-bottom: 1px solid var(--line); }
.loc-list button {
  display: flex; align-items: center; gap: 14px; width: 100%; min-height: 60px; padding: 12px 0;
  background: none; border: 0; font: inherit; font-size: 16px; color: var(--ink); text-align: left; cursor: pointer;
}
.loc-txt { flex: 1; display: grid; gap: 2px; min-width: 0; }
.loc-txt small { font-size: 14px; color: var(--grey); }
.loc-check { flex: none; }
@media (hover: hover) { .loc-list button:hover .loc-txt > span { text-decoration: underline; text-underline-offset: 3px; } }
.loc-group { padding: 22px 0 6px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); }
.loc-wait { padding: 20px 0; color: var(--grey); }
/* A computer: from the header it drops down under the button; from the footer it opens in the middle. */
@media (min-width: 900px) {
  .loc { inset: auto; width: 440px; height: auto; max-height: min(720px, calc(100vh - 120px)); box-shadow: 0 18px 50px rgba(26, 26, 26, .16); }
  .loc[data-from="header"] { top: 76px; right: var(--edge); left: auto; }
  .loc[data-from="header"]::backdrop { background: transparent; }
  .loc[data-from="footer"] { top: 50%; left: 50%; transform: translate(-50%, -50%); }
  .loc-head { padding: 16px 28px 0; }
  .loc-pane { padding: 0 28px 24px; }
}

/* Keyword list (/keywords), after RAGTAG's keyword page */
.keywords { padding: 32px var(--edge) 48px; }
@media (min-width: 900px) { .keywords { padding-top: 56px; } }
.kw-index { display: flex; gap: 8px; padding: 4px 0 8px; }
.kw-group { scroll-margin-top: 140px; padding: 24px 0; border-bottom: 1px solid var(--line); display: grid; gap: 14px; }
.kw-group h2 { margin: 0; font-size: 20px; font-weight: 400; }
.kw-group ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 16px; }
.kw-group a { display: flex; align-items: center; gap: 6px; font-size: 14px; color: var(--ink); }
.kw-group a svg { flex: none; color: var(--grey-2); }
@media (hover: hover) { .kw-group a:hover span { text-decoration: underline; text-underline-offset: 3px; } }
.kw-tabs { display: flex; gap: 8px; margin: 4px 0 16px; }
.kw-tabs .chip[aria-current="page"] { background: var(--ink); color: #FFF; border-color: var(--ink); }
.kw-more { margin-top: 40px; }
.kw-all { margin-top: 24px; }
@media (min-width: 900px) {
  .kw-group { grid-template-columns: 220px 1fr; padding: 32px 0; }
  .kw-group h2 { font-size: 24px; }
  .kw-group ul { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* 0.1.x: the LINE EYES and Exclusive titles match the hero's "Shop women →" (16/18px, bold). */
body[data-design="0.1"] :is(.ln-line, .ex-in h2) { font-size: 16px; font-weight: 700; letter-spacing: 0; line-height: 1.3; }
@media (min-width: 900px) { body[data-design="0.1"] :is(.ln-line, .ex-in h2) { font-size: 18px; } }
/* Exclusive: one heading above the slider, like the other sections. */
.ex-head { padding: 0 var(--edge); margin-top: var(--sec); }
.ex-head + .ex { margin-top: 0; }
/* Footer selector: "Thailand (฿ THB) | English", the divider a hairline rather than a typed character. */
[data-selector] { display: inline-flex; align-items: center; }
.sel-lang { display: inline-flex; align-items: center; }
.sel-lang::before { content: ''; width: 1px; height: 1em; margin: 0 12px; background: currentColor; opacity: .35; }

/* Language list: machine-translated languages are marked "By AI" (copywriting deck). */
.loc-ai { margin-left: auto; padding-left: 12px; font-size: 10px; opacity: .6; white-space: nowrap; }
