/* =========================================================================
   PROZER — Landing page styles
   Layout concept: white retail canvas, 50/50 editorial hero, image-led
   grids, one black promo band, black footer carrying an oversized wordmark.
   ========================================================================= */

:root {
  /* Color */
  --white: #FFFFFF;
  --ink: #111111;
  --ink-hover: #2A2A2A;
  --grey-bg: #F7F7F7;
  --text-2: #6B6B6B;
  --text-3: #767676;          /* #929292 fails WCAG on white; darkened */
  --border: #E5E5E5;
  --divider: #EEEEEE;
  --gold: #C99A45;
  --sale: #C83C32;
  --footer-text: #B5B5B5;
  --hole: #FFFFFF;

  /* Type */
  --f-display: "Cormorant Garamond", "Times New Roman", Georgia, serif;
  --f-ui: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

  /* Spacing (8px system) */
  --s1: 4px; --s2: 8px; --s3: 12px; --s4: 16px; --s5: 24px;
  --s6: 32px; --s7: 48px; --s8: 64px; --s9: 80px; --s10: 96px;

  --radius: 4px;
  --radius-card: 6px;
  --container: 1360px;
  --gutter: 64px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --t: 250ms;
  color-scheme: light;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-ui);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s4); top: -60px; z-index: 200;
  background: var(--ink); color: var(--white); padding: var(--s3) var(--s4);
  border-radius: var(--radius); transition: top var(--t);
}
.skip-link:focus { top: var(--s4); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- Shared UI ---------- */
.eyebrow {
  font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--text-2);
  display: inline-flex; align-items: center; gap: var(--s3);
}
.eyebrow::before { content: ""; width: 24px; height: 1px; background: var(--gold); }
.eyebrow--light { color: var(--footer-text); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--s2);
  min-height: 50px; padding: 0 var(--s6);
  font-size: 14px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  border-radius: var(--radius); border: 1px solid var(--ink);
  transition: background var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t);
}
.btn--primary { background: var(--ink); color: var(--white); }
.btn--primary:hover { background: var(--ink-hover); border-color: var(--ink-hover); }
.btn--secondary { background: var(--white); color: var(--ink); }
.btn--secondary:hover { background: var(--ink); color: var(--white); }
.btn--light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn--light:hover { background: transparent; color: var(--white); }

.link-arrow {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: 14px; font-weight: 600; white-space: nowrap;
}
.link-arrow svg { width: 18px; height: 18px; transition: transform var(--t) var(--ease); }
.link-arrow:hover { text-decoration: underline; text-underline-offset: 4px; }
.link-arrow:hover svg { transform: translateX(3px); }

.icon-btn {
  position: relative; width: 44px; height: 44px;
  display: inline-grid; place-items: center; border-radius: var(--radius);
  transition: background var(--t);
}
.icon-btn svg { width: 22px; height: 22px; }
.icon-btn:hover { background: var(--grey-bg); }
.badge {
  position: absolute; top: 5px; right: 3px;
  min-width: 17px; height: 17px; padding: 0 4px; border-radius: 9px;
  background: var(--ink); color: var(--white);
  font-size: 10px; font-weight: 700; line-height: 17px; text-align: center;
  font-variant-numeric: tabular-nums;
}
.badge.bump { animation: bump 300ms var(--ease); }
@keyframes bump { 50% { transform: scale(1.35); } }

.chip {
  height: 32px; padding: 0 var(--s4); border: 1px solid var(--border); border-radius: 16px;
  font-size: 13px; font-weight: 500; transition: border-color var(--t), background var(--t);
}
.chip:hover { border-color: var(--ink); }

/* ---------- 1. Announcement ---------- */
.announce {
  position: relative; background: var(--ink); color: var(--white);
  height: 38px; display: flex; align-items: center; justify-content: center;
  padding-inline: 48px; font-size: 13px; font-weight: 500; letter-spacing: .02em;
}
.announce__track { position: relative; width: 100%; max-width: 640px; height: 100%; }
.announce__msg {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; opacity: 0; transform: translateY(6px);
  transition: opacity 400ms var(--ease), transform 400ms var(--ease);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.announce__msg.is-active { opacity: 1; transform: none; }
.announce__msg a { text-decoration: underline; text-underline-offset: 3px; margin-left: 4px; }
.announce__close { position: absolute; right: 8px; width: 32px; height: 32px; display: grid; place-items: center; opacity: .7; }
.announce__close:hover { opacity: 1; }
.announce__close svg { width: 16px; height: 16px; }

/* ---------- Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: var(--white); border-bottom: 1px solid var(--divider);
  transition: box-shadow var(--t);
}
.header.is-scrolled { box-shadow: 0 2px 8px rgba(0,0,0,.05); }
.header__inner {
  height: var(--header-h);
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--s5);
}
.header__burger { display: none; }

.logo { display: inline-flex; align-items: center; gap: var(--s3); color: var(--ink); }
.logo__mark { height: 46px; width: auto; flex: none; }
.logo__word { height: 24px; width: auto; flex: none; }

.nav { justify-self: center; }
.nav__list { display: flex; gap: var(--s6); }
.nav__link {
  position: relative; display: inline-block; padding-block: var(--s3);
  font-size: 14px; font-weight: 500; letter-spacing: .02em;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 6px; height: 1px; background: var(--ink);
  transform: scaleX(0); transform-origin: right; transition: transform var(--t) var(--ease);
}
.nav__link:hover::after, .nav__link.is-current::after { transform: scaleX(1); transform-origin: left; }

.header__actions { display: flex; align-items: center; gap: var(--s1); }

/* Search panel */
.search { border-top: 1px solid var(--divider); background: var(--white); padding-block: var(--s4) var(--s5); }
.search__form { display: flex; align-items: center; gap: var(--s3); }
.search__icon { width: 22px; height: 22px; flex: none; color: var(--text-2); }
.search__form input {
  flex: 1; min-width: 0; height: 52px; border: 0; border-bottom: 1px solid var(--ink);
  font: 500 20px/1 var(--f-ui); color: var(--ink); background: transparent; outline: none;
}
.search__form input::placeholder { color: var(--text-3); }
.search__hints { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); margin-top: var(--s4); font-size: 13px; color: var(--text-2); }

/* Mobile drawer */
.drawer { position: fixed; inset: 0; z-index: 100; }
.drawer__scrim { position: absolute; inset: 0; background: rgba(17,17,17,.4); animation: fade var(--t); }
.drawer__panel {
  position: absolute; left: 0; top: 0; bottom: 0; width: min(86vw, 360px);
  background: var(--white); padding: calc(var(--s4) + env(safe-area-inset-top, 0px)) var(--s5) var(--s5);
  display: flex; flex-direction: column; animation: slideIn 300ms var(--ease);
}
.drawer__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: var(--s5); }
.drawer__head .logo__word { height: 20px; }
.drawer__panel ul li a {
  display: block; padding-block: var(--s4); border-bottom: 1px solid var(--divider);
  font-size: 18px; font-weight: 500;
}
.drawer__note { margin-top: auto; font-size: 13px; color: var(--text-2); }
@keyframes fade { from { opacity: 0; } }
@keyframes slideIn { from { transform: translateX(-100%); } }

/* ---------- 2. Hero ---------- */
.hero { padding-block: var(--s8) var(--s9); }
.hero__grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s8); align-items: center; }
.hero__copy { display: flex; flex-direction: column; gap: var(--s5); max-width: 560px; min-width: 0; }
.hero__title {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(42px, 5.6vw, 76px); line-height: 1.02; letter-spacing: -.01em;
}
.hero__lede { font-size: 17px; color: var(--text-2); max-width: 46ch; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s2); }
.hero__facts {
  display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6);
  margin-top: var(--s4); padding-top: var(--s5); border-top: 1px solid var(--divider);
  font-size: 13px; color: var(--text-2);
}
.hero__facts strong { color: var(--ink); font-weight: 600; }

.hero__media { position: relative; margin: 0; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius-card); overflow: hidden; background: var(--grey-bg); }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 40% 50%; animation: heroIn 1.2s var(--ease) both; }
@keyframes heroIn { from { transform: scale(1.06); } }
.hero__tag {
  position: absolute; left: var(--s5); bottom: var(--s5);
  background: var(--white); padding: var(--s3) var(--s4); border-radius: var(--radius);
  display: flex; flex-direction: column; gap: 2px;
}
.hero__tag-label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); font-weight: 600; }
.hero__tag-name { font-size: 14px; font-weight: 600; }

/* ---------- Sections ---------- */
.section { padding-block: var(--s10); }
.section--grey { background: var(--grey-bg); }
.section__head {
  display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap;
  gap: var(--s4) var(--s5); margin-bottom: var(--s7);
}
.section__head > div:not(.tabs) { display: flex; flex-direction: column; gap: var(--s3); }
.section__head--center { flex-direction: column; align-items: center; text-align: center; gap: var(--s3); }
.section__title { font-size: clamp(28px, 3.2vw, 42px); font-weight: 600; line-height: 1.15; letter-spacing: -.02em; }
.section__title--serif { font-family: var(--f-display); font-weight: 500; font-size: clamp(34px, 4vw, 52px); letter-spacing: -.005em; }

/* ---------- 3. Categories ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s5); }
.cat { display: flex; flex-direction: column; gap: var(--s2); }
.cat__img { aspect-ratio: 4 / 5; max-width: 100%; overflow: hidden; border-radius: var(--radius-card); background: var(--grey-bg); margin-bottom: var(--s2); }
.cat__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.cat:hover .cat__img img { transform: scale(1.04); }
.cat__name { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.cat__cta { font-size: 13px; color: var(--text-2); transition: color var(--t); }
.cat:hover .cat__cta { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- 4. Products ---------- */
.tabs { display: flex; gap: var(--s1); border: 1px solid var(--border); border-radius: var(--radius); padding: 3px; background: var(--white); }
.tab { height: 38px; padding: 0 var(--s4); border-radius: 3px; font-size: 13px; font-weight: 600; color: var(--text-2); transition: background var(--t), color var(--t); }
.tab:hover { color: var(--ink); }
.tab.is-active { background: var(--ink); color: var(--white); }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s5); }
.product {
  background: var(--white); border: 1px solid var(--divider); border-radius: var(--radius-card);
  overflow: hidden; display: flex; flex-direction: column; transition: border-color var(--t);
}
.product:hover { border-color: #CFCFCF; }
.product__media { position: relative; aspect-ratio: 1; max-width: 100%; overflow: hidden; background: var(--grey-bg); }
.product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.product:hover .product__media img { transform: scale(1.03); }

.tag {
  position: absolute; top: var(--s3); left: var(--s3);
  background: var(--white); color: var(--ink);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 9px; border-radius: 3px;
}
.tag--sale { background: var(--sale); color: var(--white); letter-spacing: .04em; }

.wish {
  position: absolute; top: var(--s2); right: var(--s2); width: 44px; height: 44px;
  display: grid; place-items: center; border-radius: 50%;
  background: rgba(255,255,255,.92); transition: transform var(--t) var(--ease);
}
.wish svg { width: 20px; height: 20px; transition: fill var(--t); fill: transparent; }
.wish:hover { transform: scale(1.06); }
.wish[aria-pressed="true"] svg { fill: var(--ink); }
.wish.pop svg { animation: bump 320ms var(--ease); }

.quick-add {
  position: absolute; left: var(--s3); right: var(--s3); bottom: var(--s3);
  height: 44px; border-radius: var(--radius); background: var(--ink); color: var(--white);
  font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase;
  opacity: 0; transform: translateY(8px); transition: opacity var(--t), transform var(--t) var(--ease), background var(--t);
}
.quick-add:hover { background: var(--ink-hover); }
.product:hover .quick-add, .quick-add:focus-visible { opacity: 1; transform: none; }

.product__body { padding: var(--s4) var(--s4) var(--s5); display: flex; flex-direction: column; gap: var(--s1); }
.product__cat { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.product__name { font-size: 16px; font-weight: 500; line-height: 1.4; }
.product__price { display: flex; align-items: baseline; gap: var(--s2); margin-top: var(--s1); font-variant-numeric: tabular-nums; }
.product__price span { font-size: 18px; font-weight: 700; }
.product__price s { font-size: 14px; color: var(--text-2); }
.empty { text-align: center; color: var(--text-2); padding-block: var(--s7); }

/* ---------- 5. Mood ---------- */
.mood-grid {
  display: grid; gap: var(--s4);
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 300px 300px 260px;
  grid-template-areas:
    "a a a a a b b b c c c c"
    "a a a a a d d d c c c c"
    "e e e e f f f f f f f f";
}
.mood { position: relative; overflow: hidden; border-radius: var(--radius-card); background: var(--grey-bg); min-width: 0; }
.mood img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease); }
.mood::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,17,17,.55) 0%, rgba(17,17,17,0) 45%);
}
.mood:hover img { transform: scale(1.04); }
.mood__label {
  position: absolute; left: var(--s5); right: var(--s5); bottom: var(--s5); z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between; gap: var(--s3); color: var(--white);
}
.mood__name { font-family: var(--f-display); font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; line-height: 1.05; }
.mood__cta { font-size: 13px; font-weight: 600; white-space: nowrap; opacity: .85; }
.mood:hover .mood__cta { opacity: 1; text-decoration: underline; text-underline-offset: 3px; }
.mood--a { grid-area: a; } .mood--b { grid-area: b; } .mood--c { grid-area: c; }
.mood--d { grid-area: d; } .mood--e { grid-area: e; } .mood--f { grid-area: f; }

/* ---------- Promo ---------- */
.promo { background: var(--white); color: var(--ink); border-top: 1px solid var(--divider); }
.promo__grid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: var(--s8); padding-block: var(--s9); }
.promo__copy { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s5); min-width: 0; }
.promo__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; }
.promo__text { color: var(--text-2); font-size: 17px; max-width: 40ch; }
.promo__media { aspect-ratio: 16 / 11; max-width: 100%; overflow: hidden; border-radius: var(--radius-card); }
.promo__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }

/* ---------- 6. Benefits ---------- */
.benefits { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--border); }
.benefit { padding: var(--s6) var(--s5); display: flex; flex-direction: column; gap: var(--s2); border-right: 1px solid var(--border); }
.benefit:last-child { border-right: 0; }
.benefit__icon { width: 36px; height: 36px; margin-bottom: var(--s3); color: var(--ink); }
.benefit h3 { font-size: 17px; font-weight: 600; }
.benefit p { font-size: 15px; color: var(--text-2); }

/* ---------- 7. Instagram ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: var(--s3); }
.ig { position: relative; aspect-ratio: 1; max-width: 100%; overflow: hidden; border-radius: var(--radius); background: var(--grey-bg); }
.ig img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease); }
.ig svg {
  position: absolute; top: 50%; left: 50%; width: 30px; height: 30px; color: var(--white);
  transform: translate(-50%, -50%) scale(.8); opacity: 0; transition: opacity var(--t), transform var(--t) var(--ease);
}
.ig::after { content: ""; position: absolute; inset: 0; background: rgba(17,17,17,.35); opacity: 0; transition: opacity var(--t); }
.ig svg { z-index: 1; }
.ig:hover::after, .ig:focus-visible::after { opacity: 1; }
.ig:hover svg, .ig:focus-visible svg { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.ig:hover img { transform: scale(1.05); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--white); padding-block: var(--s9) var(--s5); --hole: var(--ink); }
.footer__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--s8); padding-bottom: var(--s8); border-bottom: 1px solid #2A2A2A; }
.footer__news { display: flex; flex-direction: column; gap: var(--s5); min-width: 0; }
.footer__news-title { font-family: var(--f-display); font-weight: 500; font-size: clamp(28px, 3vw, 40px); line-height: 1.1; max-width: 18ch; }
.news { display: flex; gap: var(--s2); max-width: 480px; }
.news input {
  flex: 1; min-width: 0; height: 50px; padding: 0 var(--s4);
  background: transparent; border: 1px solid #3A3A3A; border-radius: var(--radius);
  color: var(--white); font: 400 15px var(--f-ui); transition: border-color var(--t);
}
.news input::placeholder { color: #8A8A8A; }
.news input:focus { outline: none; border-color: var(--white); }
.news input.is-invalid { border-color: #E0766D; }
.news__msg { font-size: 14px; color: var(--footer-text); min-height: 1.5em; }
.news__msg.is-error { color: #F09A92; }

.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s5); }
.footer__h { font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: var(--s4); }
.footer__cols ul { display: flex; flex-direction: column; gap: var(--s2); }
.footer__cols a { color: var(--footer-text); font-size: 15px; transition: color var(--t); }
.footer__cols a:hover { color: var(--white); }

.footer__brand { display: flex; flex-direction: column; align-items: center; text-align: center; padding-block: var(--s8) var(--s7); }
.footer__logo { width: min(100%, 460px); height: auto; }

.footer__bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--s4); padding-top: var(--s5); border-top: 1px solid #2A2A2A; font-size: 13px; color: var(--footer-text); }
.social { display: flex; gap: var(--s1); }
.social a { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; color: var(--white); transition: background var(--t); }
.social a:hover { background: #2A2A2A; }
.social svg { width: 20px; height: 20px; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--s5) + env(safe-area-inset-bottom, 0px)); z-index: 120;
  transform: translateX(-50%); background: var(--ink); color: var(--white);
  padding: var(--s3) var(--s5); border-radius: var(--radius); font-size: 14px; font-weight: 500;
  box-shadow: 0 2px 8px rgba(0,0,0,.12); animation: toastIn 300ms var(--ease);
  max-width: calc(100vw - 32px);
}
@keyframes toastIn { from { opacity: 0; transform: translate(-50%, 10px); } }

/* ---------- Reveal (visible at rest; JS adds the motion) ---------- */
.js .reveal.is-pending { opacity: 0; transform: translateY(16px); }
.js .reveal { transition: opacity 600ms var(--ease), transform 600ms var(--ease); }


/* ---------- Shop the Collection ---------- */
.cat-grid.cat-grid--7 { grid-template-columns: repeat(7, 1fr); gap: var(--s4); }
.cat-grid.cat-grid--7 .cat__img { aspect-ratio: 1; }

.shop { padding-top: var(--s10); }
.shop__intro { display: flex; flex-direction: column; gap: var(--s3); margin-bottom: var(--s6); }
.shop-nav {
  position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 40;
  background: var(--white); border-bottom: 1px solid var(--divider); border-top: 1px solid var(--divider);
}
.shop-nav__inner { display: flex; gap: var(--s1); overflow-x: auto; scrollbar-width: none; }
.shop-nav__inner::-webkit-scrollbar { display: none; }
.shop-nav__link {
  position: relative; flex: none; display: inline-flex; align-items: center; gap: 6px;
  min-height: 52px; padding: 0 var(--s4); font-size: 14px; font-weight: 600; color: var(--text-2);
  white-space: nowrap; transition: color var(--t);
}
.shop-nav__link span { font-size: 11px; font-weight: 600; color: var(--text-3); font-variant-numeric: tabular-nums; }
.shop-nav__link::after { content: ""; position: absolute; left: var(--s4); right: var(--s4); bottom: -1px; height: 2px; background: var(--ink); transform: scaleX(0); transition: transform var(--t) var(--ease); }
.shop-nav__link:hover, .shop-nav__link.is-active { color: var(--ink); }
.shop-nav__link.is-active::after { transform: scaleX(1); }

.shop-cat { padding-block: var(--s9); scroll-margin-top: calc(var(--header-h) + 52px); }
.shop-cat--grey { background: var(--grey-bg); }
.shop-cat__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: var(--s3) var(--s5); margin-bottom: var(--s5); }
.shop-cat__head > div { display: flex; flex-direction: column; gap: var(--s2); min-width: 0; }
.shop-cat__title { font-family: var(--f-display); font-weight: 500; font-size: clamp(32px, 3.6vw, 48px); line-height: 1.05; }
.shop-cat__desc { color: var(--text-2); font-size: 15px; max-width: 52ch; }
.shop-cat__count { font-size: 13px; color: var(--text-2); }
.shop-cat__count strong { color: var(--ink); }

.subchips { display: flex; flex-wrap: wrap; gap: var(--s2); margin-bottom: var(--s6); }
.subchip {
  min-height: 36px; padding: 0 var(--s4); border: 1px solid var(--border); border-radius: 18px; background: var(--white);
  font-size: 13px; font-weight: 500; display: inline-flex; align-items: center; gap: 6px;
  transition: border-color var(--t), background var(--t), color var(--t);
}
.subchip span { font-size: 11px; color: var(--text-3); }
.subchip:hover { border-color: var(--ink); }
.subchip.is-active { background: var(--ink); border-color: var(--ink); color: var(--white); }
.subchip.is-active span { color: #BDBDBD; }

.pc-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--s4); }
.pc {
  background: var(--white); border: 1px solid var(--divider); border-radius: var(--radius-card);
  overflow: hidden; display: flex; flex-direction: column; min-width: 0; transition: border-color var(--t);
}
.pc:hover { border-color: #CFCFCF; }
.pc__media { position: relative; aspect-ratio: 1; max-width: 100%; overflow: hidden; background: var(--grey-bg); }
.pc__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms var(--ease); }
.pc:hover .pc__media img { transform: scale(1.03); }
.pc__set {
  position: absolute; left: var(--s2); top: var(--s2);
  background: var(--white); color: var(--ink); font-size: 11px; font-weight: 700; letter-spacing: .04em;
  padding: 4px 8px; border-radius: 3px;
}
.pc .wish { width: 38px; height: 38px; }
.pc .wish svg { width: 18px; height: 18px; }
.pc__body { padding: var(--s3) var(--s4) var(--s4); display: flex; flex-direction: column; gap: 2px; flex: 1; }
.pc__sub { font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); }
.pc__name { font-size: 15px; font-weight: 500; line-height: 1.35; margin: 0; }
.pc__meta { font-size: 13px; color: var(--text-2); }
.pc__price { margin-top: auto; padding-top: var(--s2); font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pc__price small { font-size: 12px; font-weight: 500; color: var(--text-2); margin-left: 4px; }
.pc__code { font-size: 11px; color: var(--text-3); }

@media (max-width: 1180px) {
  .cat-grid.cat-grid--7 { grid-template-columns: repeat(4, 1fr); }
  .pc-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 960px) {
  .pc-grid { grid-template-columns: repeat(3, 1fr); }
  .shop-cat { padding-block: var(--s8); }
}
@media (max-width: 640px) {
  .cat-grid.cat-grid--7 { grid-template-columns: none; grid-auto-columns: 44%; }
  .shop { padding-top: var(--s8); }
  .shop-cat { padding-block: var(--s7); }
  .subchips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; margin-bottom: var(--s5); }
  .subchips::-webkit-scrollbar { display: none; }
  .subchip { flex: none; }
  .pc-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
  .pc__body { padding: var(--s2) var(--s3) var(--s3); }
  .pc__name { font-size: 13.5px; }
  .pc__price { font-size: 16px; }
  .pc__set { font-size: 10px; padding: 3px 6px; }
}

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 1180px) {
  :root { --gutter: 32px; }
  .nav__list { gap: var(--s5); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .ig-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
  :root { --header-h: 64px; }
  .header__inner { grid-template-columns: 1fr auto 1fr; gap: var(--s2); }
  .header__burger { display: inline-grid; justify-self: start; }
  .nav { display: none; }
  .logo { justify-self: center; }
  .header__actions { justify-self: end; }
  .logo__word { height: 20px; }

  .hero { padding-block: var(--s6) var(--s8); }
  .hero__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .hero__media { aspect-ratio: 5 / 4; order: -1; }
  .hero__copy { max-width: none; }

  .section { padding-block: var(--s9); }
  .product-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s4); }

  .mood-grid {
    grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, 240px);
    grid-template-areas: "a a" "b c" "d e" "f f";
  }
  .promo__grid { grid-template-columns: 1fr; gap: var(--s6); padding-block: var(--s8); }
  .promo__media { order: -1; }
  .benefits { grid-template-columns: repeat(2, 1fr); }
  .benefit:nth-child(2) { border-right: 0; }
  .benefit:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .footer__top { grid-template-columns: 1fr; gap: var(--s7); }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; }
  .logo__mark { height: 32px; }
  .logo__word { height: 16px; }
  .logo { gap: var(--s2); }
  .header__actions .header__wish { display: none; }
  .announce { font-size: 12px; padding-inline: 40px; }

  .hero__ctas .btn { flex: 1 1 100%; }
  .hero__tag { left: var(--s3); bottom: var(--s3); }
  .section { padding-block: var(--s8); }
  .section__head { margin-bottom: var(--s6); }

  /* horizontal category slider */
  .cat-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 62%;
    overflow-x: auto; scroll-snap-type: x mandatory; gap: var(--s3);
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter); scrollbar-width: none;
  }
  .cat-grid::-webkit-scrollbar { display: none; }
  .cat { scroll-snap-align: start; }

  .tabs { width: 100%; overflow-x: auto; }
  .tab { flex: 1; padding: 0 var(--s3); }
  .product-grid { gap: var(--s3); }
  .product__body { padding: var(--s3) var(--s3) var(--s4); }
  .product__name { font-size: 14px; }
  .product__price span { font-size: 16px; }
  .quick-add { opacity: 1; transform: none; height: 34px; font-size: 10.5px; left: var(--s2); right: var(--s2); bottom: var(--s2); }
  .tag { font-size: 10px; padding: 4px 7px; }
  .wish { width: 38px; height: 38px; }

  .mood-grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 220px; grid-template-areas: none; gap: var(--s3); }
  .mood { grid-area: auto !important; }
  .mood__label { left: var(--s4); right: var(--s4); bottom: var(--s4); }

  .benefits { grid-template-columns: 1fr 1fr; }
  .benefit { padding: var(--s5) var(--s3); }
  .benefit h3 { font-size: 15px; }
  .benefit p { font-size: 14px; }

  .ig-grid { grid-template-columns: repeat(2, 1fr); gap: var(--s2); }
  .news { flex-direction: column; }
  .news .btn { width: 100%; }
  .footer__cols { grid-template-columns: 1fr 1fr; row-gap: var(--s6); }
  .footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal.is-pending { opacity: 1; transform: none; }
}
