/* =====================================================================
   GREVT shop - one stylesheet for every storefront page.
   Desktop values are measured from the mockups at 1280 px (docs/DESIGN-SPEC.md);
   tablet (768-1024) and mobile (360-767) rules are at the end.
   Class names are BEM-ish: block__element--modifier, state classes is-*.
   ===================================================================== */

/* ---------- 1. Fonts (self-hosted, OFL; see assets/fonts/*-OFL.txt) ---------- */
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400 900; font-display: swap;
  src: url('/fonts/playfair-display-wght-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('/fonts/figtree-wght-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Figtree'; font-style: normal; font-weight: 300 900; font-display: swap;
  src: url('/fonts/figtree-wght-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Seaweed Script'; font-style: normal; font-weight: 400; font-display: swap;
  src: url('/fonts/seaweed-script-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F; }

/* ---------- 2. Tokens ---------- */
:root {
  /* colours sampled from the mockups */
  --c-black: #1b1b1b;        /* buttons, announcement bar, badges */
  --c-ink: #171717;          /* headings */
  --c-text: #1f1f1f;         /* default text */
  --c-body: #333;            /* paragraphs */
  --c-muted: #6f6f6f;        /* secondary text */
  --c-faint: #9a9a9a;        /* rating counts, hints */
  --c-white: #fff;
  --c-page: #f8f8f8;         /* inner page background */
  --c-hero: #f7f6f3;         /* hero wall */
  --c-photo: #f1f1f1;        /* product photo background */
  --c-strip: #f7f7f7;        /* feature strip */
  --c-line: #e6e6e6;         /* separators, borders */
  --c-line-soft: #efefef;    /* card borders */
  --c-green: #1f8a3c;        /* in stock, success badge */
  --c-green-bg: #e9f5ec;     /* promo box, order card */
  --c-gold: #b99766;
  --c-focus: #1b1b1b;
  /* fonts */
  --f-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --f-sans: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --f-script: 'Seaweed Script', 'Segoe Script', cursive;
  /* layout */
  --page-max: 1280px;
  --gutter: 35px;
  /* header geometry: inner pages (02-05 mockups); home overrides below */
  --announce-h: 0px;
  --hdr-h: 59px;
  --logo-x: 68px; --logo-y: 1px; --logo-w: 165px; --logo-h: 57.5px;
  --nav-x: 325px; --nav-gap: 30px; --nav-size: 9.1px; --nav-base: 31.5px;
  --act-right: 52px; --act-gap: 0px; --act-size: 19px;
}
.page--home {
  --announce-h: 23px;
  --logo-x: 88px; --logo-y: 5px; --logo-w: 172px; --logo-h: 60px;
  --nav-x: 372px; --nav-gap: 29.6px; --nav-size: 8.1px; --nav-base: 36.5px; --nav-line: 44px;
  --act-right: 42px; --act-gap: 20px; --act-size: 17px;
}

/* ---------- 3. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; background: var(--c-white); color: var(--c-text); font: 500 10.7px/1.4 var(--f-sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -40px; z-index: 100; padding: 8px 12px; background: var(--c-black); color: #fff; }
.skip-link:focus { top: 8px; }
.icon { width: 1em; height: 1em; flex: none; }
.money__sym { margin-right: .22em; }

/* ---------- 4. Buttons & links ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 31px; padding: 0 24px 0 26px;
  font: 600 8.6px/1 var(--f-sans); letter-spacing: .067em; text-transform: uppercase; border: 1px solid transparent;
  border-radius: 0; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; white-space: nowrap; }
.btn .icon { width: 12px; height: 12px; }
.btn--dark { background: var(--c-black); color: #fff; }
.btn--dark:hover { background: #000; }
.btn--outline { background: #fff; color: var(--c-black); border-color: var(--c-black); }
.btn--outline:hover { background: var(--c-black); color: #fff; }
.btn--block { display: flex; width: 100%; }
.btn--ghost { height: 35px; padding: 0 16px; min-width: 149px; background: #fff; color: var(--c-ink); border: 1px solid #8c8c8c; border-radius: 2px; font: 700 10.4px/1 var(--f-sans); letter-spacing: .02em; gap: 12px; }
.btn--ghost .icon { width: 14px; height: 14px; }
.btn--ghost:hover { background: var(--c-black); color: #fff; }
.link-arrow { display: inline-flex; align-items: center; gap: 5px; font: 600 7.4px/1 var(--f-sans); letter-spacing: 0; text-transform: uppercase; color: var(--c-text); }
.link-arrow .icon { width: 12px; height: 12px; }

/* ---------- 5. Announcement bar + header ---------- */
.announce { height: var(--announce-h); background: var(--c-black); color: #fff; overflow: hidden; }
.announce__list { height: 100%; display: flex; align-items: baseline; justify-content: center; padding: 8px 0 0 111px; white-space: nowrap; }
.announce__item { font: 600 6.5px/1 var(--f-sans); letter-spacing: .03em; color: #d9d9d9; text-transform: uppercase; }
.announce__item--lead { font-size: 9.3px; letter-spacing: .055em; color: #fff; }
.announce__item + .announce__item::before { content: ''; display: inline-block; width: 1px; height: 8px; margin: 0 18.5px; background: #8a8a8a; vertical-align: -1px; }
.site-header { position: relative; z-index: 30; background: #fff; }
.site-header__bar { position: relative; height: var(--hdr-h); max-width: var(--page-max); margin: 0 auto; }
.site-header__logo { position: absolute; left: var(--logo-x); top: var(--logo-y); width: var(--logo-w); height: var(--logo-h); z-index: 2; }
.site-header__logo img { width: 100%; height: 100%; }
.site-header__menu { display: none; }
.main-nav { position: absolute; left: var(--nav-x); top: 0; height: 100%; }
.main-nav__list { display: flex; gap: var(--nav-gap); height: 100%; }
.main-nav__link { position: relative; display: block; padding-top: calc(var(--nav-base) - var(--nav-size) * .95); height: 100%;
  font: 600 var(--nav-size)/1 var(--f-sans); letter-spacing: .03em; text-transform: uppercase; color: var(--c-text); white-space: nowrap; }
.main-nav__link::after { content: ''; position: absolute; left: 0; right: 0; top: var(--nav-line, calc(var(--nav-base) + 10px)); height: 2px; background: var(--c-black);
  transform: scaleX(0); transition: transform .2s; }
.main-nav__link:hover::after, .main-nav__link.is-active::after { transform: scaleX(1); }
.header-actions { position: absolute; right: var(--act-right); top: 0; height: 100%; padding-top: 2px; display: flex; align-items: center; }
.header-action { position: relative; display: grid; place-items: center; width: var(--act-size); height: var(--act-size); color: var(--c-text); }
.header-action .icon { width: 100%; height: 100%; }
.page--home .header-action + .header-action { margin-left: var(--act-gap); }

/* inner pages: icon pitch measured 44.5 / 51 / 56.5 px */
.page:not(.page--home) .header-action:nth-child(2) { margin-left: 25.5px; }
.page:not(.page--home) .header-action:nth-child(3) { margin-left: 32px; }
.page:not(.page--home) .header-action:nth-child(4) { margin-left: 37.5px; }
.header-action__count { position: absolute; left: 53%; top: -1px; min-width: 9.5px; height: 9.5px; padding: 0 2px; border-radius: 5px; background: var(--c-black); color: #fff;
  font: 700 5.6px/9.5px var(--f-sans); text-align: center; }
.page:not(.page--home) .header-action__count { min-width: 12.5px; height: 12.5px; border-radius: 7px; font-size: 7px; line-height: 12.5px; top: -6px; }
.main-nav__account { display: none; }  /* phones: the account link moves from the icon row into the drawer */

/* ---------- 6. Home: hero slider ---------- */
.hero { position: relative; height: 300px; background: var(--c-hero); overflow: hidden; }
.hero__slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hero__content { position: absolute; left: max(87px, calc(50% - 553px)); top: 0; width: 330px; }
.hero__eyebrow { margin-top: 44px; font: 600 11.1px/14px var(--f-sans); letter-spacing: .142em; color: #141414; }
.hero__title { margin-top: 4px; font: 600 48.9px/49px var(--f-serif); letter-spacing: .025em; color: var(--c-ink); }
.hero__text { margin-top: 11px; max-width: 265px; font: 500 10.7px/15px var(--f-sans); letter-spacing: .02em; color: #242424; }
.hero__btn { margin-top: 14px; width: 119px; padding: 0; }
.hero__script { position: absolute; left: calc(50% + 471px); top: 165px; margin: 0; transform: rotate(-12deg); transform-origin: 0 0;
  font: 400 18.5px/23.5px var(--f-script); color: #2a2a2a; white-space: nowrap; }
.hero__script::after { content: ''; position: absolute; left: 22px; top: 82px; width: 80px; height: 6px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 80 6'%3E%3Cpath d='M1 5C25 3 50 1.6 79 1' fill='none' stroke='%232a2a2a' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat; }
.hero__dots { position: absolute; left: max(87px, calc(50% - 553px)); top: 264px; display: flex; z-index: 2; }
.hero__dot { position: relative; width: 33px; height: 18px; padding: 0; text-align: left; font: 500 9.6px/1 var(--f-sans); letter-spacing: .04em; color: #9d9c9a; }
.hero__dot.is-active { color: var(--c-ink); }
.hero__dot.is-active::after { content: ''; position: absolute; left: 0; top: 19px; width: 17px; height: 2px; background: var(--c-ink); }
.hero__arrow { position: absolute; top: 128px; width: 28px; height: 28px; display: grid; place-items: center; color: #222; z-index: 2; }
.hero__arrow .icon { width: 28px; height: 28px; }
.hero__arrow--prev { left: 5px; }
.hero__arrow--next { right: 6px; }

/* ---------- 7. Home: category tiles ---------- */
.cat-tiles { display: grid; grid-template-columns: 188fr 172fr 151fr 139fr 162fr 162fr 168fr; gap: 12px; max-width: var(--page-max); margin: 0 auto; padding: 15px 33px 0; }
.cat-tile { position: relative; display: block; height: 135px; overflow: hidden; background: var(--c-photo); }
.cat-tile__img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.cat-tile:hover .cat-tile__img { transform: scale(1.04); }
.cat-tile__label { position: absolute; left: 0; bottom: 0; display: flex; flex-direction: column; min-width: 96px; height: 47px; padding: 10px 40px 0 14px;
  background: linear-gradient(90deg, rgba(255, 255, 255, .86) 0, rgba(255, 255, 255, .84) calc(100% - 40px), rgba(255, 255, 255, 0) 100%); }
.cat-tile__name { font: 700 11.1px/1 var(--f-sans); letter-spacing: .015em; color: var(--c-ink); white-space: nowrap; }
.cat-tile__cta { display: flex; align-items: center; gap: 6px; margin-top: 6px; font: 700 5.9px/1 var(--f-sans); letter-spacing: .06em; color: var(--c-text); }
.cat-tile__cta .icon { width: 9px; height: 9px; }

/* ---------- 8. Sections, product cards ---------- */
.section { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; }
.section-title { font: 600 19.5px/1 var(--f-serif); letter-spacing: .008em; color: var(--c-ink); text-transform: uppercase; }
.section-sub { margin-top: 6px; font: 500 8.8px/1.2 var(--f-sans); color: #3b3b3b; }
.home-arrivals { padding-top: 22px; }
.home-arrivals .section-head { padding-left: 1px; }
.home-arrivals .link-arrow { margin: 0 1px 4px 0; }
.product-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 15px; margin-top: 13px; }
.product-card { position: relative; display: flex; flex-direction: column; background: #fff; border: 1px solid #f3f3f3; }
.product-card__media { display: block; aspect-ratio: 187 / 129; background: var(--c-photo); overflow: hidden; }
.product-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-card__img { transform: scale(1.04); }
.product-card__tag { position: absolute; left: 5px; top: 6px; padding: 0 3.5px; height: 9px; border-radius: 1.5px; background: var(--c-black); color: #fff;
  font: 700 5.4px/9px var(--f-sans); letter-spacing: .08em; }
.product-card__wish { position: absolute; right: 4px; top: 4px; width: 15px; height: 15px; display: grid; place-items: center; color: #222; }
.product-card__wish .icon { width: 15px; height: 15px; }
.product-card__wish[aria-pressed='true'] { color: #c0392b; }
.product-card__body { padding: 7px 6px 9px 4px; }
.product-card__name { font: 600 8.4px/1.2 var(--f-sans); color: var(--c-text); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.product-card__meta { display: flex; align-items: center; justify-content: space-between; margin-top: 7px; }
.product-card__price { font: 700 10px/1 var(--f-sans); color: var(--c-ink); }
.rating { display: inline-flex; align-items: center; gap: 5px; }
.rating__stars { display: inline-flex; color: #1a1a1a; }
.rating__stars .icon { width: 10px; height: 10px; }
.rating__stars .icon + .icon { margin-left: -1.6px; }
.rating__count { font: 500 6.6px/1 var(--f-sans); color: var(--c-faint); }

/* ---------- 9. Feature strip ---------- */
.features { margin-top: 15px; background: var(--c-strip); }
.features__list { display: grid; grid-template-columns: 300fr 305fr 291fr 314fr; max-width: var(--page-max); margin: 0 auto; padding: 0 35px 6px; height: 62px; align-items: center; }
.features__item { display: flex; align-items: center; gap: 19px; height: 27px; }
.features__item + .features__item { border-left: 1px solid var(--c-line); }
.features__item:nth-child(1) { padding-left: 54px; }
.features__item:nth-child(2) { padding-left: 101px; }
.features__item:nth-child(3) { padding-left: 88px; }
.features__item:nth-child(4) { padding-left: 107px; }
.features__icon { width: 31px; height: 31px; margin-left: -2px; color: #1a1a1a; }
.features__title { font: 600 7.6px/1 var(--f-sans); letter-spacing: .046em; text-transform: uppercase; color: var(--c-text); }
.features__text { margin-top: 6px; font: 500 7.6px/1 var(--f-sans); color: #7a7a7a; }

/* ---------- 10. Footer (no mockup: same type, colours, spacing) ---------- */
.site-footer { background: var(--c-black); color: #cfcfcf; }
.site-footer__inner { max-width: var(--page-max); margin: 0 auto; padding: 44px var(--gutter) 0; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer__brand img { width: 150px; height: auto; }
.site-footer__about { margin-top: 14px; max-width: 250px; font: 500 9.5px/1.6 var(--f-sans); color: #a9a9a9; }
.site-footer__social { display: flex; gap: 14px; margin-top: 16px; }
.site-footer__social a { color: #e8e8e8; }
.site-footer__social .icon { width: 15px; height: 15px; }
.site-footer__title { font: 600 8.6px/1 var(--f-sans); letter-spacing: .14em; color: #fff; text-transform: uppercase; margin-bottom: 16px; }
.site-footer__links li + li { margin-top: 10px; }
.site-footer__links a { font: 500 9.5px/1.2 var(--f-sans); color: #bdbdbd; }
.site-footer__links a:hover { color: #fff; }
.newsletter { display: flex; margin-top: 4px; border-bottom: 1px solid #555; }
.newsletter__input { flex: 1; min-width: 0; height: 32px; padding: 0; background: transparent; border: 0; color: #fff; font: 500 9.5px/1 var(--f-sans); }
.newsletter__input::placeholder { color: #8d8d8d; }
.newsletter__btn { display: inline-flex; align-items: center; gap: 8px; color: #fff; font: 600 8px/1 var(--f-sans); letter-spacing: .12em; }
.newsletter__btn .icon { width: 12px; height: 12px; }
.site-footer__bottom { max-width: var(--page-max); margin: 36px auto 0; padding: 16px var(--gutter) 18px; border-top: 1px solid #333; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  font: 500 8.6px/1.2 var(--f-sans); color: #8d8d8d; }
.pay-marks { display: flex; align-items: center; gap: 8px; }
.pay-marks li { display: grid; place-items: center; height: 20px; padding: 0 6px; background: #fff; border-radius: 2px; }
.pay-marks svg { height: 11px; width: auto; }

/* ---------- 11. Inner pages: frame, breadcrumb, titles, form bits ---------- */
.page-main { background: var(--c-page); }
.container { max-width: var(--page-max); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { padding-right: 26px; padding-left: 36px; }
.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; font: 500 10.8px/1 var(--f-sans); color: #6a6a6a; }
.breadcrumb li { display: flex; align-items: center; }
.breadcrumb li + li::before { content: ''; width: 5px; height: 5px; margin: 0 11px 0 10px; border: solid #8a8a8a; border-width: 1.2px 1.2px 0 0; transform: rotate(45deg); }
.breadcrumb a:hover { color: var(--c-ink); }
.breadcrumb [aria-current] { color: var(--c-ink); font-weight: 700; }
.page-title { font: 600 39.4px/1 var(--f-serif); letter-spacing: .025em; color: var(--c-ink); text-transform: uppercase; }
.page-title__count { margin-left: 6px; font-size: 21px; font-weight: 400; letter-spacing: 0; color: #3a3a3a; text-transform: none; }
.page-sub { margin-top: 6px; font: 400 13.6px/1.2 var(--f-sans); color: #5b5b5b; }
.check { appearance: none; -webkit-appearance: none; flex: none; width: 15px; height: 15px; margin: 0; border: 1.5px solid #1b1b1b; border-radius: 2px; background: #fff; cursor: pointer; display: inline-grid; place-content: center; }
.check:checked { background: #1b1b1b url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.3l3 3 6-6.6' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 11px no-repeat; }
.qty { display: inline-grid; grid-template-columns: 29px 39px 29px; height: 34px; border: 1px solid #e3e3e3; border-radius: 2px; background: #fff; }
.qty__btn { display: grid; place-items: center; color: #222; }
.qty__btn .icon { width: 12px; height: 12px; }
.qty__btn:disabled { color: #c4c4c4; cursor: default; }
.qty__input { width: 100%; height: 100%; padding: 0; border: solid #e3e3e3; border-width: 0 1px; text-align: center; font: 500 11px/1 var(--f-sans); -moz-appearance: textfield; }
.qty__input::-webkit-inner-spin-button, .qty__input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.in-stock { color: var(--c-green); font: 600 9.4px/1 var(--f-sans); }
.price-lg { font: 700 13.4px/1 var(--f-sans); color: var(--c-ink); }

/* ---------- 13. "You may also like" ---------- */
.ymal { background: #fff; padding: 10px 0 40px; }
.ymal .section-head { padding: 0 1px 0 0; }
.ymal .section-title { font-size: 21.2px; }
.ymal .link-arrow { margin-bottom: 1px; font-size: 9.4px; }
.ymal .product-grid { margin-top: 9px; }
.ymal--wide .section { padding-right: 26px; padding-left: 36px; }
.ymal--wide .product-grid { gap: 16px; }

/* ---------- 14. Product page (PDP) ---------- */
.pdp { padding-top: 16px; padding-bottom: 25px; }
.pdp__grid { display: grid; grid-template-columns: 123px 461px 374px 261px; align-items: start; margin-top: 15px; }
.gallery { display: contents; }
.gallery__thumbs { position: relative; width: 104px; height: 473px; }
.gallery__track { display: flex; flex-direction: column; gap: 7px; height: 100%; overflow: hidden; scroll-behavior: smooth; }
.gallery__thumb { position: relative; flex: none; width: 104px; height: 90px; padding: 0; background: var(--c-photo); border: 1px solid transparent; overflow: hidden; }
.gallery__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery__thumb.is-active { border-color: #9b9b9b; }
.gallery__thumb--video::after { content: ''; position: absolute; left: 50%; top: 50%; width: 30px; height: 30px; margin: -15px 0 0 -15px; border: 1.3px solid rgba(255, 255, 255, .85); border-radius: 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath d='M12.5 10.5l7 4.5-7 4.5z' fill='none' stroke='%23fff' stroke-width='1.3' stroke-linejoin='round'/%3E%3C/svg%3E") center / 30px no-repeat; }
.gallery__more { position: absolute; left: 50%; bottom: -21px; width: 20px; height: 14px; margin-left: -10px; display: grid; place-items: center; color: #333; }
.gallery__more .icon { width: 14px; height: 14px; }
.gallery__main { position: relative; width: 431px; height: 473px; background: #e1ddda; overflow: hidden; }
.gallery__img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav { position: absolute; top: 50%; width: 28px; height: 28px; margin-top: -10px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: #222; box-shadow: 0 1px 3px rgba(0, 0, 0, .08); }
.gallery__nav .icon { width: 15px; height: 15px; }
.gallery__nav--prev { left: 9px; }
.gallery__nav--next { right: 10px; }
.gallery__zoom { position: absolute; right: 12px; bottom: 11px; width: 28px; height: 28px; display: grid; place-items: center; background: #fff; color: #222; }
.gallery__zoom .icon { width: 18px; height: 18px; }
.pdp-info { width: 355px; margin-top: -1px; }
.badge { display: inline-block; height: 14px; padding: 0 7px; background: var(--c-black); color: #fff; font: 700 8.4px/14px var(--f-sans); letter-spacing: .08em; }
.pdp-info__title { margin-top: 10px; font: 600 26.8px/1 var(--f-serif); letter-spacing: -.013em; color: var(--c-ink); }
.pdp-info__rating { display: flex; align-items: center; gap: 7px; margin-top: 10px; }
.pdp-info__rating .rating__stars .icon { width: 14.5px; height: 14.5px; }
.pdp-info__rating .rating__stars .icon + .icon { margin-left: -2.4px; }
.pdp-info__rating .rating__count { font-size: 10px; color: #8a8a8a; }
.pdp-price { display: flex; align-items: center; gap: 16px; margin-top: 21px; }
.pdp-price__now { font: 700 24.7px/1 var(--f-sans); letter-spacing: -.02em; color: var(--c-ink); }
.pdp-price__mrp { font: 500 15px/1 var(--f-sans); color: #9a9a9a; text-decoration: line-through; text-decoration-thickness: 1px; }
.pdp-price__off { height: 20px; padding: 0 8px; background: var(--c-black); color: #fff; font: 700 10.4px/20px var(--f-sans); letter-spacing: .02em; }
.pdp-info__desc { margin-top: 10px; max-width: 330px; font: 500 10.8px/1.5 var(--f-sans); color: #4a4a4a; }
.opt { margin-top: 20px; }
.opt--size { margin-top: 15px; }
.opt__label { font: 600 11px/1 var(--f-sans); color: var(--c-ink); }
.opt__label span { font-weight: 500; }
.swatches { display: flex; gap: 15px; margin-top: 16px; }
.swatch { position: relative; width: 36px; height: 36px; border-radius: 50%; padding: 0; display: grid; place-items: center; }
.swatch::before { content: ''; width: 30px; height: 30px; border-radius: 50%; background: var(--sw); border: 1px solid rgba(0, 0, 0, .12); }
.swatch.is-selected { box-shadow: 0 0 0 1.5px var(--c-black); }
.sizes { display: flex; align-items: center; gap: 5px; margin-top: 18px; }
.size { width: 46.5px; height: 32.5px; background: #fff; border: 1px solid #ececec; font: 500 9.6px/1 var(--f-sans); color: #333; }
.size:hover { border-color: #999; }
.size.is-selected { border: 1.5px solid var(--c-black); color: var(--c-ink); font-weight: 600; }
.size:disabled { color: #c5c5c5; text-decoration: line-through; cursor: not-allowed; }
.size-guide { display: inline-flex; align-items: center; gap: 7px; margin-left: 15px; font: 500 10px/1 var(--f-sans); color: var(--c-ink); text-decoration: underline; text-underline-offset: 2px; }
.size-guide .icon { width: 17px; height: 17px; }
.pdp-buy { display: grid; grid-template-columns: 110px 219px; column-gap: 17px; row-gap: 8px; margin-top: 18px; }
.pdp-buy .qty { grid-template-columns: 34px 41px 34px; height: 42px; border-color: #ececec; }
.pdp-buy .qty__input { font-size: 12px; border-color: transparent; }
.pdp-buy__cart { height: 42px; font-size: 12.4px; letter-spacing: 0; gap: 13px; border-radius: 2px; }
.pdp-buy__cart .icon { width: 17px; height: 17px; }
.pdp-buy__now { grid-column: 2; height: 39px; font-size: 12.2px; letter-spacing: 0; gap: 10px; border-color: #3a3a3a; border-radius: 2px; }
.pdp-buy__now .icon { width: 13px; height: 13px; }
.pdp-perks { display: flex; gap: 22px; margin-top: 28px; }
.perk { display: flex; align-items: center; gap: 7px; }
.perk .icon { width: 24px; height: 24px; color: #1b1b1b; }
.perk__title { font: 600 9px/1 var(--f-sans); color: var(--c-ink); }
.perk__text { margin-top: 3px; font: 500 8.2px/1 var(--f-sans); color: #8a8a8a; }
.pdp-panel { align-self: start; background: #fff; padding: 0 15px 0 16px; min-height: 473px; }
.acc { border-bottom: 1px solid #eee; }
.acc:last-of-type { border-bottom: 0; }
.acc__head { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 16px 1px 12px 0; text-align: left;
  font: 700 11px/1 var(--f-sans); letter-spacing: .02em; color: var(--c-ink); text-transform: uppercase; }
.acc__head .icon { width: 13px; height: 13px; transition: transform .2s; }
.acc__head[aria-expanded='false'] .icon { transform: rotate(180deg); }
.acc__body { padding-bottom: 13px; }
.acc__body[hidden] { display: none; }
.dr-list { display: grid; gap: 13px; padding-top: 2px; }
.dr-item { display: grid; grid-template-columns: 54px 1fr; align-items: center; }
.dr-item .icon { width: 27px; height: 27px; color: #1b1b1b; }
.dr-item__title { font: 600 9.4px/1 var(--f-sans); color: var(--c-ink); }
.dr-item__text { margin-top: 5px; font: 500 9.2px/1 var(--f-sans); color: #8d8d8d; }
.specs { display: grid; grid-template-columns: 54px 1fr; row-gap: 10px; font: 500 9.4px/1.15 var(--f-sans); }
.specs dt { color: #a5a5a5; padding-left: 10px; }
.specs dd { color: #2b2b2b; }
.share { display: flex; align-items: center; padding: 17px 0 18px; }
.share__label { width: 54px; font: 500 9.4px/1 var(--f-sans); color: #4a4a4a; }
.share__list { display: flex; gap: 17px; }
.share__list a { display: grid; place-items: center; width: 19px; height: 19px; color: #1b1b1b; }
.share__list .icon { width: 19px; height: 19px; }
.opt { min-width: 0; margin-left: 0; margin-right: 0; padding: 0; border: 0; }
.opt__label { float: left; width: 100%; padding: 0; }
.opt__label + * { clear: both; }

/* ---------- 17-23. Pages without a mockup: listing/search, account, checkout information ---------- */

/* 17. Shared boxes and links */
.input, .select, .input-group, .chip, .pagination__link, .addr-card, .ship-opt { background: #fff; border: 1px solid #e3e3e3; border-radius: 2px; }
.filters, .empty-state, .co-card, .auth__card { background: #fff; border: 1px solid #f1f1f1; border-radius: 2px; }
.text-link { color: var(--c-ink); text-decoration: underline; text-underline-offset: 2px; }

/* 18. Form fields (whole site): label above, 40 px input, red error under */
.field { display: flex; flex-direction: column; min-width: 0; }
.field__label { margin-bottom: 7px; font: 600 11px/1.2 var(--f-sans); color: var(--c-ink); }
.field__req { margin-left: 2px; color: #c0392b; }
.field__opt { margin-left: 4px; font-weight: 500; color: var(--c-faint); }
.input, .select { width: 100%; height: 40px; padding: 0 12px; font: 500 12px/1 var(--f-sans); color: var(--c-text); }
.input::placeholder { color: #a3a3a3; }
.input:focus, .select:focus, .input-group:focus-within { outline: 0; border-color: var(--c-focus); }
.select { appearance: none; -webkit-appearance: none; padding-right: 32px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5L6 8l3.5-3.5' fill='none' stroke='%23333' stroke-width='1.4'/%3E%3C/svg%3E") right 12px center / 10px no-repeat; }
.field__hint, .field__error { margin-top: 6px; font: 500 10.4px/1.3 var(--f-sans); color: var(--c-faint); }
.field__error { display: flex; align-items: center; gap: 5px; color: #c0392b; }
.field__error .icon { width: 12px; height: 12px; }
.field__error[hidden] { display: none; }
.field__error--form { margin: 0; padding: 10px 12px; background: #fdf3f2; font-size: 11px; }
.is-invalid .input, .is-invalid .select, .is-invalid .input-group, .input[aria-invalid='true'], .input-group:has([aria-invalid='true']) { border-color: #c0392b; }
.input-group { display: flex; height: 40px; }
.input-group .input, .is-invalid .input-group .input { flex: 1; min-width: 0; height: 100%; border: 0; }
.input-group__addon { display: grid; place-items: center; padding: 0 12px; background: #fafafa; border-right: 1px solid #e3e3e3; font-weight: 600; font-size: 12px; color: #4a4a4a; }
.input-group__btn { display: grid; place-items: center; width: 40px; color: #8a8a8a; }
.input-group__btn .icon { width: 16px; height: 16px; }
.field--full { grid-column: 1 / -1; }
.check-label { display: inline-flex; align-items: center; gap: 10px; font: 500 11px/1.35 var(--f-sans); color: #2b2b2b; cursor: pointer; }

/* 19. Listing: head, chips, toolbar, grid, pagination */
.listing { padding-top: 13px; padding-bottom: 48px; }
.listing__head .page-title { margin-top: 17px; }
.listing__layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); column-gap: 24px; align-items: start; margin-top: 22px; }
.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 18px; }
.chip { display: inline-flex; align-items: center; gap: 8px; height: 30px; padding: 0 16px; font: 600 9.6px/1 var(--f-sans); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.chip--sm { height: 26px; padding: 0 9px 0 11px; font: 500 10.4px/1 var(--f-sans); letter-spacing: 0; text-transform: none; }
.chip .icon { width: 10px; height: 10px; }
.chip:hover, .pagination__link:hover { border-color: var(--c-black); }
.chip[aria-current], .pagination__link[aria-current] { background: var(--c-black); border-color: var(--c-black); color: #fff; }
.toolbar { display: flex; align-items: center; gap: 12px; min-height: 34px; }
.toolbar + .chips { margin-top: 12px; }
.toolbar__count, .toolbar__sort { font: 500 11px/1 var(--f-sans); color: #6a6a6a; }
.toolbar__count { margin-right: auto; }
.toolbar__count b { color: var(--c-ink); }
.toolbar__filter { display: none; height: 34px; padding: 0 14px; gap: 8px; font-size: 11px; }
.toolbar__filter .icon { width: 14px; height: 14px; }
.toolbar__sort { display: flex; align-items: center; gap: 10px; }
.toolbar__sort .select { width: 190px; height: 34px; font-size: 11px; }
.product-grid--listing { grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 14px; }
.product-grid--listing .product-card__name { font-size: 10px; }
.product-grid--listing .product-card__price { font-size: 11.6px; }
.pagination__list { display: flex; justify-content: center; gap: 6px; margin-top: 32px; }
.pagination__link { display: grid; place-items: center; min-width: 32px; height: 32px; padding: 0 6px; font-weight: 600; font-size: 11px; color: var(--c-ink); }
.pagination__link[aria-disabled='true'] { color: #c4c4c4; pointer-events: none; }
.pagination__link .icon { width: 13px; height: 13px; }

/* 20. Filters: sidebar on desktop, slide-in drawer at <= 1024 px */
.filters__head, .filter { padding: 16px 18px; border-bottom: 1px solid #eee; }
.filters__head { display: flex; align-items: center; gap: 12px; }
.filters__title, .filter__title { font: 700 11px/1 var(--f-sans); letter-spacing: .02em; text-transform: uppercase; color: var(--c-ink); }
.filters__title { flex: 1; }
.filters__clear { font-size: 10.4px; }
.filters__close { display: none; width: 24px; height: 24px; place-items: center; }
.filters__close .icon { width: 16px; height: 16px; }
.filter { margin: 0; }
.filter__title { margin-bottom: 14px; }
.filter__sizes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.filter__swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px 4px; }
.filter__swatches .opt-check { display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: 9.4px; color: #6a6a6a; }
.filter .check-label { display: flex; }
.filter .check-label + .check-label { margin-top: 12px; }
.opt-check { position: relative; display: block; }
.opt-check input { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.opt-check .size { display: grid; place-items: center; width: 100%; }
.opt-check :checked + .size { border: 1.5px solid var(--c-black); color: var(--c-ink); font-weight: 600; }
.opt-check :checked + .swatch { box-shadow: 0 0 0 1.5px var(--c-black); }
.opt-check :focus-visible + * { outline: 2px solid var(--c-focus); outline-offset: 2px; }
.swatch--black { --sw: #0d0d0d; }
.swatch--white { --sw: #f6f5f2; }
.swatch--grey { --sw: #6b6b6b; }
.swatch--olive { --sw: #4a4b35; }
.swatch--beige { --sw: #d8cbb6; }
.swatch--navy { --sw: #1f2940; }
.swatch--brown { --sw: #5a4130; }
.swatch--sand { --sw: #b9a888; }
.price-range { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 7px; font-size: 10.4px; color: var(--c-faint); }
.price-range .input-group__addon, .price-range .input { padding: 0 8px; }
.filters__foot { padding: 16px 18px 18px; background: #fff; }
.filters__foot .btn { height: 38px; font-size: 10px; }

/* 21. Empty state (search or filters with no results) */
.error-page { padding-top: 22px; padding-bottom: 48px; }
.empty-state { display: flex; flex-direction: column; align-items: center; margin-top: 22px; padding: 56px 24px 60px; text-align: center; }
.empty-state__icon { display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid #e3e3e3; border-radius: 50%; }
.empty-state__icon .icon { width: 26px; height: 26px; }
.empty-state__title { margin-top: 20px; font-size: 24px; }
.empty-state__text { max-width: 420px; margin-top: 10px; line-height: 1.5; }
.empty-state__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 22px; }
.empty-state__actions .btn { height: 40px; font-size: 10px; }
.empty-state .chips { justify-content: center; margin-top: 24px; }

/* Tablet (768-1024) */
@media (max-width: 1024px) {
  .listing__layout { grid-template-columns: minmax(0, 1fr); }
  .filters { position: fixed; inset: 0 auto 0 0; z-index: 60; width: min(360px, 88vw); overflow-y: auto; overscroll-behavior: contain; border: 0;
    transform: translateX(-100%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .filters.is-open { transform: none; visibility: visible; box-shadow: 4px 0 24px rgba(0, 0, 0, .12); }
  .filters__form { display: flex; flex-direction: column; min-height: 100%; }
  .filters__close { display: grid; }
  .toolbar__filter { display: inline-flex; }
  .filters__foot { position: sticky; bottom: 0; margin-top: auto; border-top: 1px solid #eee; }
  .drawer-backdrop { position: fixed; inset: 0; z-index: 55; background: rgba(0, 0, 0, .45); }
  .has-drawer { overflow: hidden; }
  .product-grid--listing { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 1024px) and (prefers-reduced-motion: reduce) {
  .filters { transition: none; }
}

/* Mobile (<= 767) */
@media (max-width: 767px) {
  .input, .select, .input-group, .toolbar__filter, .toolbar__sort .select { height: 44px; }
  .input, .select, .toolbar__sort .select { font-size: 16px; }
  .chips--scroll { flex-wrap: nowrap; overflow-x: auto; margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none; }
  .chips--scroll::-webkit-scrollbar { display: none; }
  .toolbar { position: sticky; top: var(--hdr-sticky, 0px); z-index: 20; display: grid; grid-template-columns: 1fr 1fr; gap: 8px;
    margin: 0 calc(-1 * var(--gutter)); padding: 8px var(--gutter); background: var(--c-page); border-bottom: 1px solid #ececec; }
  .toolbar__count, .toolbar__sort-label { display: none; }
  .toolbar__filter, .toolbar__sort .select { width: 100%; }
  .product-grid--listing { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .empty-state { padding: 40px 18px 44px; }
  .empty-state__actions { flex-direction: column; align-self: stretch; }
}
@media (min-width: 1366px) {
  html { zoom: 1.0671875; }
}
@media (min-width: 1440px) {
  html { zoom: 1.125; }
}
@media (min-width: 1536px) {
  html { zoom: 1.2; }
}
@media (min-width: 1600px) {
  html { zoom: 1.25; }
}
@media (min-width: 1680px) {
  html { zoom: 1.3125; }
}
@media (min-width: 1920px) {
  html { zoom: 1.5; }
}
@media (max-width: 1279px) {
  .main-nav { left: calc(var(--logo-x) + var(--logo-w) + 4%); }
  .main-nav__list { gap: clamp(14px, 2.2vw, 30px); }
  .pdp__grid { grid-template-columns: 112px minmax(0, 1fr) minmax(0, .82fr) 250px; column-gap: 18px; }
  .gallery__main, .pdp-info { width: auto; }
}
@media (max-width: 1024px) {
  :root { --gutter: 24px; }
  body { font-size: 13px; }
  /* header: menu button, logo, icons; nav becomes a drawer */
  .announce { height: 30px; }
  .announce__list { padding: 0; align-items: center; }
  .announce__item { display: none; }
  .announce__item--lead { display: block; font-size: 10.5px; }
  .site-header { position: sticky; top: 0; box-shadow: 0 1px 0 #eee; }
  .site-header__bar { display: flex; align-items: center; height: 60px; padding: 0 var(--gutter); }
  .site-header__menu { display: grid; place-items: center; width: 40px; height: 40px; margin-left: -10px; }
  .site-header__menu .icon { width: 22px; height: 22px; }
  .site-header__logo { position: static; width: 138px; height: 48px; margin-left: 6px; }
  .main-nav { position: fixed; inset: 0 auto 0 0; z-index: 80; width: min(330px, 86vw); height: auto; padding: 76px 24px 24px; overflow-y: auto; background: #fff;
    transform: translateX(-100%); visibility: hidden; transition: transform .25s, visibility .25s; }
  .is-menu-open .main-nav { transform: none; visibility: visible; box-shadow: 4px 0 24px rgba(0, 0, 0, .14); }
  .is-menu-open::after { content: ''; position: fixed; inset: 0; z-index: 70; background: rgba(0, 0, 0, .4); }
  .is-menu-open { overflow: hidden; }
  .main-nav__list { flex-direction: column; gap: 0; height: auto; }
  .main-nav__link { height: auto; padding: 17px 0; border-bottom: 1px solid #eee; font-size: 13px; letter-spacing: .1em; }
  .main-nav__link::after { display: none; }
  .main-nav__link.is-active { font-weight: 800; }
  .header-actions { position: static; margin-left: auto; padding: 0; gap: 20px; }
  .header-actions .header-action { width: 22px; height: 22px; margin: 0 !important; }
  .header-action__count, .page:not(.page--home) .header-action__count { top: -6px; left: 60%; min-width: 15px; height: 15px; border-radius: 8px; font-size: 8.5px; line-height: 15px; }
  /* hero */
  .hero { height: 400px; }
  .hero__img { object-position: 85% 50%; }
  .hero__slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(247, 246, 243, .97) 0, rgba(247, 246, 243, .88) 36%, rgba(247, 246, 243, 0) 60%); }
  .hero__content { z-index: 1; }
  .hero__content { left: var(--gutter); }
  .hero__eyebrow { margin-top: 70px; font-size: 12px; }
  .hero__title { font-size: 46px; line-height: 48px; }
  .hero__text { max-width: 300px; font-size: 13.5px; line-height: 20px; }
  .hero__btn { width: auto; height: 44px; padding: 0 26px; font-size: 11px; }
  .hero__dots { left: var(--gutter); top: auto; bottom: 26px; }
  .hero__dot { width: 40px; font-size: 12px; }
  .hero__script { left: auto; right: 6%; top: 230px; font-size: 18px; }
  .hero__arrow { display: none; }
  /* tiles scroll sideways */
  .cat-tiles { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 16px var(--gutter) 4px; scrollbar-width: none; }
  .cat-tiles::-webkit-scrollbar { display: none; }
  .cat-tile { flex: 0 0 168px; height: 210px; scroll-snap-align: start; }
  .cat-tile__label { height: 58px; padding: 13px 34px 0 14px; }
  .cat-tile__name { font-size: 13px; }
  .cat-tile__cta { margin-top: 8px; font-size: 8.5px; }
  /* sections and cards */
  .section { padding: 0 var(--gutter); }
  .section-title, .ymal .section-title { font-size: 26px; }
  .section-sub { font-size: 13px; }
  .link-arrow, .ymal .link-arrow { font-size: 11px; }
  .home-arrivals { padding-top: 36px; }
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .product-card__tag { left: 8px; top: 8px; height: 16px; padding: 0 6px; font-size: 8.5px; line-height: 16px; }
  .product-card__wish { right: 6px; top: 6px; width: 30px; height: 30px; }
  .product-card__wish .icon { width: 18px; height: 18px; }
  .product-card__body { padding: 10px 10px 12px; }
  .product-card__name { font-size: 12.5px; }
  .product-card__meta { flex-wrap: wrap; gap: 6px; margin-top: 8px; }
  .product-card__price { font-size: 14px; }
  .rating__stars .icon { width: 12px; height: 12px; }
  .rating__count { font-size: 10px; }
  .features { margin-top: 36px; }
  .features__list { grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; padding: 8px var(--gutter); }
  .features__item, .features__item:nth-child(n) { height: auto; padding: 16px 0 16px 4px; border: 0; gap: 14px; }
  .features__title { font-size: 11px; }
  .features__text { font-size: 11px; }
  .ymal { padding: 28px 0 40px; }
  .site-footer__inner { grid-template-columns: 1fr 1fr; }
  /* inner pages */
  .breadcrumb { font-size: 12px; }
  .page-title { font-size: 34px; }
  .page-sub { font-size: 14px; }
  /* product page */
  .pdp__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 28px; row-gap: 28px; }
  .gallery { display: flex; flex-direction: column; min-width: 0; }
  .gallery__main { order: 1; width: 100%; height: auto; aspect-ratio: 431 / 473; }
  .gallery__thumbs { order: 2; width: 100%; height: auto; margin-top: 10px; }
  .gallery__track { flex-direction: row; overflow-x: auto; scrollbar-width: none; }
  .gallery__thumb { width: 84px; height: 74px; }
  .gallery__more { display: none; }
  .pdp-panel { grid-column: 1 / -1; min-height: 0; }
  .pdp-info__title { font-size: 30px; }
  .pdp-info__desc, .opt__label, .size, .size-guide, .pdp-info__rating .rating__count { font-size: 13px; }
  .size { width: 52px; height: 44px; }
  .pdp-buy { grid-template-columns: 120px minmax(0, 1fr); }
  .pdp-buy__cart, .pdp-buy__now { height: 48px; font-size: 13px; }
  .pdp-buy .qty { height: 48px; }
  .pdp-perks { flex-wrap: wrap; row-gap: 14px; }
  .perk__title, .acc__head { font-size: 12px; }
  .perk__text, .dr-item__title, .dr-item__text, .specs, .share__label { font-size: 12px; }
  .specs, .dr-item { grid-template-columns: 84px 1fr; }
  .share__label { width: 84px; }
  /* checkout */
  /* thank-you */
}
@media (max-width: 767px) {
  :root { --gutter: 16px; }
  .site-header__bar { height: 56px; }
  .site-header__logo { position: absolute; left: 50%; width: 120px; height: 42px; margin: 0 0 0 -60px; }
  .header-actions { gap: 16px; }
  .header-action--account { display: none !important; }
  .main-nav__account { display: block; }
  .hero { height: 590px; background: var(--c-hero); }
  .hero__img { inset: 0 0 auto 0; height: 300px; object-position: 74% 50%; }
  .hero__slide::after { display: none; }
  .hero__content { right: var(--gutter); top: 300px; width: auto; }
  .hero__eyebrow { margin-top: 24px; font-size: 11px; }
  .hero__title { font-size: 38px; line-height: 40px; }
  .hero__text { max-width: none; font-size: 14px; line-height: 21px; }
  .hero__btn { margin-top: 18px; }
  .hero__dots { left: auto; right: var(--gutter); bottom: 34px; }
  .hero__dot { width: 32px; }
  .hero__dot.is-active::after { top: 17px; }
  .hero__script { display: none; }
  .cat-tile { flex-basis: 142px; height: 182px; }
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .product-card__name { font-size: 12px; }
  .product-card__price { font-size: 13.5px; }
  .section-title, .ymal .section-title { font-size: 23px; }
  .features__list { grid-template-columns: 1fr 1fr; }
  .features__icon { width: 26px; height: 26px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 28px; padding-top: 36px; }
  .site-footer__bottom { flex-direction: column; align-items: flex-start; }
  .site-footer__about, .site-footer__links a, .newsletter__input { font-size: 13px; }
  .site-footer__title { font-size: 11px; }
  /* inner pages */
  .page-title { font-size: 30px; }
  .page-title__count { font-size: 18px; }
  .pdp__grid { grid-template-columns: minmax(0, 1fr); }
  .gallery__main { margin: 0 calc(-1 * var(--gutter)); width: auto; }
  .pdp-info__title { font-size: 27px; }
  .sizes { flex-wrap: wrap; }
  .size-guide { margin: 6px 0 0; flex-basis: 100%; }
  .pdp-buy { display: block; }
  .pdp-buy__cart, .pdp-buy__now { position: fixed; bottom: 0; z-index: 40; width: 50%; height: 56px; padding-bottom: env(safe-area-inset-bottom); border-radius: 0; }
  .pdp-buy__cart { left: 0; }
  .pdp-buy__now { right: 0; border: 0; border-top: 1px solid var(--c-black); }
  .page--product { padding-bottom: 56px; }
  .pdp-perks { margin-top: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
