/* ==========================================================================
   Skinside — base stylesheet
   1. Tokens & reset      5. Product cards
   2. Layout helpers      6. Content pages (legal, faq, contact)
   3. Header & nav        7. Commerce (shop, cart, checkout, account)
   4. Hero & sections     8. Footer, promo, utilities
   Media queries live in responsive.css
   ========================================================================== */

/* 1. Tokens & reset ------------------------------------------------------- */
:root {
  --ink: #111112;
  --ink-70: #3d424c;
  --ink-50: #6a6f78;
  --bg: #fbfbfa;
  --bg-alt: #f1f1ef;
  --lilac: #d6daee;
  --lilac-dark: #c6cbe6;
  --line: rgba(17, 17, 18, 0.12);
  --line-strong: rgba(17, 17, 18, 0.35);
  --sand: #a98d6b;
  --err: #8a3b2f;
  --font: 'Outfit', Helvetica, Arial, sans-serif;
  --gutter: 44px;
  --ease: cubic-bezier(0.16, 0.84, 0.24, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--ink); text-decoration: none; }
a:hover { color: #55686c; }

h1, h2, h3, h4, p { margin: 0; text-wrap: pretty; }

button { font-family: inherit; }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* 2. Layout helpers ------------------------------------------------------- */
.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }
.section { padding: 74px 0 96px; overflow: hidden; position: relative; }
.section--tight { padding: 20px 0 110px; }
.section-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 var(--gutter) 40px;
  position: relative;
}
.section-head h2 {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.rail-nav {
  position: absolute;
  right: var(--gutter);
  top: 4px;
  display: flex;
  align-items: center;
  gap: 34px;
}
.rail-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px; min-height: 48px;
  border: 0; background: none; padding: 6px;
  color: var(--ink);
  cursor: pointer;
  line-height: 0;
  transition: transform 0.4s var(--ease), opacity 0.35s ease;
}
.rail-btn:disabled { color: rgba(17, 17, 18, 0.3); cursor: default; }
.rail-btn--prev:hover { transform: translateX(-4px); }
.rail-btn--next:hover { transform: translateX(4px); }

/* buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 48px;
  padding: 22px 38px;
  border: 0;
  background: var(--ink);
  color: var(--bg);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
}
.btn:hover { background: var(--lilac); color: var(--ink); }
.btn.is-pressed { background: var(--lilac); color: var(--ink); }
.btn--block { width: 100%; }
.btn--ghost {
  background: none;
  color: var(--ink);
  border: 1px solid var(--line-strong);
  padding: 18px 30px;
}
.btn--ghost:hover { background: var(--lilac); border-color: var(--lilac); }
.btn--sm { padding: 14px 22px; font-size: 12px; gap: 10px; }

/* form fields ------------------------------------------------------------ */
.field { display: flex; flex-direction: column; gap: 8px; }
.field > label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-50);
}
.input, .textarea, .select {
  width: 100%;
  min-height: 56px;
  padding: 0 14px;
  border: 1px solid rgba(17, 17, 18, 0.2);
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  outline: none;
}
.textarea { padding: 14px; min-height: 140px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--ink); }
.form-error { min-height: 20px; font-size: 14px; color: var(--err); }
.form-note { font-size: 14px; color: var(--ink-50); }

/* 3. Header & nav --------------------------------------------------------- */
.ticker {
  background: var(--lilac);
  color: var(--ink);
  overflow: hidden;
  padding: 11px 0;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: sk-marquee 34s linear infinite;
}
.ticker__item {
  display: flex;
  align-items: center;
  gap: 34px;
  padding-right: 34px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  white-space: nowrap;
}
.ticker__item span + span { display: none; }

.site-header { position: relative; z-index: 30; background: var(--bg); }
.site-header--transparent { background: transparent; }

.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 24px var(--gutter) 10px;
}
.header-bar__side { flex: 1 1 0; min-width: 0; }
.header-bar__side--right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.logo {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 0.1em;
  line-height: 1;
  color: var(--ink);
}
.logo img { display: block; height: 43px; width: auto; margin: 0 4px; transform: translateY(-1px); }
.logo--sm { font-size: 26px; }
.logo--sm img { height: 37px; }

.icon-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px; min-height: 48px;
  border: 0; background: none; padding: 0;
  cursor: pointer;
  line-height: 0;
  color: var(--ink);
  transition: transform 0.25s ease, opacity 0.35s ease;
}
.icon-btn:hover { transform: scale(1.12); }
.icon-btn:active { transform: scale(0.88); opacity: 0.55; }

.search {
  display: flex;
  align-items: center;
  gap: 0;
  width: 44px;
  justify-content: center;
  max-width: 100%;
  padding-bottom: 0;
  border-bottom: 1px solid rgba(17, 17, 18, 0);
  overflow: hidden;
  transition: width 0.4s cubic-bezier(0.2, 0.7, 0.2, 1), border-color 0.3s ease;
}
.search.is-open { width: 300px; gap: 10px; padding-bottom: 5px; justify-content: flex-start; border-bottom-color: var(--line-strong); }
.search__btn { flex: 0 0 auto; border: 0; background: none; padding: 0; cursor: pointer; line-height: 0; }
.search__input {
  flex: 0 0 auto;
  width: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease 0.12s;
  min-width: 0;
  border: 0; outline: none; background: none;
  font-family: inherit;
  font-size: 15px;
  color: var(--ink);
}

.search.is-open .search__input { flex: 1 1 auto; width: auto; opacity: 1; visibility: visible; }

.badge {
  position: absolute;
  top: -5px; right: -8px;
  min-width: 17px; height: 17px;
  border-radius: 9px;
  background: var(--ink);
  color: var(--bg);
  font-size: 10px;
  font-weight: 600;
  line-height: 17px;
  text-align: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.2s ease, transform 0.2s ease;
}
.badge.is-on { opacity: 1; transform: scale(1); }

.acct { position: relative; }
.acct__menu {
  position: absolute;
  right: -8px; top: 30px;
  min-width: 190px;
  background: var(--bg);
  box-shadow: 0 18px 44px rgba(17, 17, 18, 0.14);
  padding: 8px 0;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}
.acct:hover .acct__menu, .acct.is-open .acct__menu {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.acct__menu a { display: block; padding: 10px 20px; font-size: 15px; }
.acct__menu a:hover { background: rgba(17, 17, 18, 0.05); }

.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 46px;
  padding: 22px var(--gutter) 24px;
  border-bottom: 1px solid rgba(17, 17, 18, 0.1);
}
.main-nav a {
  font-size: 20px;
  font-weight: 400;
  white-space: nowrap;
  padding: 7px 14px;
  margin: -7px -14px;
  background-image: linear-gradient(var(--lilac), var(--lilac));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 100% 0%;
  transition: background-size 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.main-nav a:hover, .main-nav a[aria-current="page"] { background-size: 100% 100%; color: var(--ink); }

/* mobile header ---------------------------------------------------------- */
.header-bar--mobile {
  display: none;
  grid-template-columns: repeat(5, 1fr);
  align-items: center;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}
.header-bar--mobile .logo-mark { display: flex; align-items: center; justify-content: center; min-height: 48px; }
.header-bar--mobile .logo-mark img { display: block; height: 30px; width: auto; }
.header-bar--mobile .search.is-open .search__input { flex: 1 1 auto; width: auto; opacity: 1; visibility: visible; }

.badge { top: 6px; right: 6px; }

.msearch {
  display: none;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  transition: max-height 0.45s var(--ease), opacity 0.35s ease;
}
.msearch.is-open { max-height: 80px; opacity: 1; }
.msearch form { display: flex; align-items: center; gap: 12px; padding: 12px 16px 14px; }
.msearch input {
  flex: 1 1 auto;
  min-width: 0; height: 40px;
  border: 0;
  border-bottom: 1px solid rgba(17, 17, 18, 0.25);
  outline: none; background: none;
  font-family: inherit; font-size: 16px; color: var(--ink);
}

.scrim {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(17, 17, 18, 0.38);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.42s var(--ease);
}
.scrim.is-open { opacity: 1; pointer-events: auto; }

.drawer {
  position: fixed;
  top: 0; left: 0; bottom: 0;
  z-index: 51;
  width: min(88vw, 420px);
  display: flex;
  flex-direction: column;
  background: var(--bg);
  box-shadow: 20px 0 60px rgba(17, 17, 18, 0.16);
  transform: translateX(-102%);
  transition: transform 0.46s var(--ease);
}
.drawer.is-open { transform: translateX(0); }
.drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 12px 12px 8px;
  border-bottom: 1px solid var(--line);
}
.drawer__top img { display: block; height: 28px; width: auto; }
.drawer__body { flex: 1 1 auto; overflow-y: auto; padding: 22px 20px 30px; }
.drawer__links { display: flex; flex-direction: column; }
.drawer__links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  font-size: 26px;
  letter-spacing: -0.02em;
  background-image: linear-gradient(var(--lilac), var(--lilac));
  background-repeat: no-repeat;
  background-position: 0 calc(100% - 10px);
  background-size: 0% 6px;
  transition: background-size 0.55s var(--ease);
}
.drawer__links a:active { background-size: 100% 6px; }
.drawer__sub {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.drawer__sub a { font-size: 16px; color: var(--ink-70); transition: transform 0.5s var(--ease), color 0.45s ease; }
.drawer__sub a:active { transform: translateX(8px); color: var(--ink); }
.drawer__foot { border-top: 1px solid var(--line); }
.drawer__foot--alt { background: #f2f2f0; }
.drawer__toggle {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 20px;
  border: 0; background: none;
  cursor: pointer;
  font-size: 17px;
  font-weight: 500;
  text-align: left;
  color: var(--ink);
  transition: background 0.45s ease;
}
.drawer__toggle:active { background: rgba(17, 17, 18, 0.07); }
.drawer__toggle svg { transition: transform 0.45s var(--ease); }
.drawer__toggle[aria-expanded="true"] svg { transform: rotate(90deg); }
.drawer__panel { display: none; flex-direction: column; gap: 4px; padding: 0 20px 18px; }
.drawer__panel.is-open { display: flex; animation: sk-fade-up 0.34s var(--ease) both; }
.drawer__panel a { display: block; padding: 10px 0; font-size: 16px; color: var(--ink-70); }

/* 4. Hero & sections ------------------------------------------------------ */
.hero {
  position: relative;
  height: 720px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; transition: background 0.6s ease; }
.hero__skew {
  position: absolute;
  left: 0; bottom: 0;
  width: 62%; height: 300px;
  background: linear-gradient(180deg, #f2f2ef 0%, #e6e6e2 100%);
  transform: skewY(-2.4deg);
  transform-origin: left bottom;
}
.hero__media { position: absolute; left: 7%; top: 66px; width: 470px; height: 560px; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__copy {
  position: absolute;
  left: 54%; top: 50%;
  transform: translateY(-50%);
  max-width: 480px;
}
.eyebrow {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(17, 17, 18, 0.55);
}
.hero__copy h1 {
  margin-top: 18px;
  font-size: 92px;
  line-height: 0.98;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.hero__copy p.lede {
  margin-top: 22px;
  font-size: 24px;
  line-height: 1.35;
  font-weight: 300;
  color: #23282a;
  max-width: 390px;
}
.hero__copy .btn { margin-top: 44px; }
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0; background: none; padding: 12px;
  cursor: pointer; line-height: 0; color: var(--ink);
}
.hero__arrow:hover { opacity: 0.45; }
.hero__arrow--prev { left: 30px; }
.hero__arrow--next { right: 30px; }
.dots {
  position: absolute;
  left: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 14px;
}
.dots button {
  width: 9px; height: 9px;
  padding: 0; border: 0; border-radius: 50%;
  background: rgba(17, 17, 18, 0.25);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.35s ease;
}
.dots button[aria-selected="true"] { background: var(--ink); transform: scale(1.35); }

.hero--mobile { display: none; min-height: 580px; }
.hero--mobile .hero__media { position: absolute; inset: 0; left: 0; top: 0; width: 100%; height: 100%; }
.hero--mobile .hero__veil {
  position: absolute;
  inset: 0;
  display: none;
  pointer-events: none;
}
.hero--mobile .hero__copy {
  position: relative;
  left: auto; top: auto;
  transform: none;
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  max-width: 640px;
  padding: 32px 24px 40px;
}
.hero--mobile .hero__copy h1 { font-size: 46px; font-weight: 600; letter-spacing: -0.035em; }
.hero--mobile .hero__copy p.lede { font-size: 19px; font-weight: 400; }
.hero--mobile .dots { position: static; transform: none; }
.hero--mobile .dots button { width: 12px; height: 12px; }

/* rails ------------------------------------------------------------------ */
.rail { overflow: hidden; }
.rail__track {
  display: flex;
  align-items: flex-start;
  gap: 40px;
  padding-left: var(--gutter);
  transition: transform 0.55s cubic-bezier(0.22, 0.72, 0.16, 1);
}
.rail--products .rail__track { gap: 28px; padding: 0; }
.rail--products { padding: 0 var(--gutter); }

.cat-card {
  flex: 0 0 auto;
  width: min(1010px, 88vw);
  opacity: 0.32;
  transition: opacity 0.45s ease, transform 0.5s var(--ease);
}
.cat-card.is-active { opacity: 1; }
.cat-card__media { position: relative; height: 420px; background: var(--bg-alt); }
.cat-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-card__label {
  position: absolute;
  left: 24px; right: 24px; bottom: -30px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  pointer-events: none;
}
.cat-card__label h3 { font-size: 68px; line-height: 1; font-weight: 500; letter-spacing: -0.035em; }
.cat-card__label p { margin-bottom: 8px; font-size: 18px; font-weight: 500; }
.cat-card__blurb { margin: 58px 24px 0; font-size: 18px; font-weight: 300; color: #3a4042; }

/* 5. Product cards -------------------------------------------------------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
  padding: 0 var(--gutter);
}
.product-card {
  display: flex;
  flex-direction: column;
  position: relative;
}
.rail--products .product-card { flex: 0 0 auto; width: min(274px, 70vw); }
.product-card__media {
  position: relative;
  width: 100%;
  aspect-ratio: 274 / 348;
  background: var(--bg-alt);
  overflow: hidden;
}
.product-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.product-card__flags {
  position: absolute;
  left: 0; top: 0;
  display: flex;
  align-items: stretch;
  pointer-events: none;
}
.flag-bolt {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px; height: 30px;
  background: #ff5a1f;
}
.flag {
  display: flex;
  align-items: center;
  height: 30px;
  padding: 0 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink);
}
.flag--hit { background: #f5ea00; }
.flag--gift { background: #d6f532; }
.wish-btn {
  position: absolute;
  right: 10px; top: 10px;
  border: 0; background: none; padding: 4px;
  cursor: pointer; line-height: 0;
  transition: transform 0.2s ease;
}
.wish-btn:hover { transform: scale(1.15); }
.wish-btn svg { transition: fill 0.25s ease; }
.wish-btn.is-on svg { fill: var(--ink); }
.add-btn {
  position: absolute;
  right: 16px; bottom: 16px;
  width: 56px; height: 56px;
  border: 0; border-radius: 50%;
  background: var(--ink);
  color: var(--bg);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(10px) scale(0.86);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.2, 0.7, 0.2, 1), background 0.25s ease;
}
.product-card:hover .add-btn, .add-btn:focus-visible { opacity: 1; transform: none; pointer-events: auto; }
.add-btn:hover { background: var(--lilac); color: var(--ink); }
.product-card__kind {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.product-card__name { margin-top: 12px; font-size: 20px; line-height: 1.25; font-weight: 500; }
.product-card__sale {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: auto;
  padding-top: 12px;
  min-height: 20px;
}
.product-card__off { font-size: 15px; color: var(--sand); }
.product-card__was { font-size: 15px; color: #8b8f91; text-decoration: line-through; }
.product-card__price { margin-top: 10px; font-size: 22px; font-weight: 500; }

/* 6. Content pages -------------------------------------------------------- */
.page-head {
  padding: 56px var(--gutter) 34px;
  border-bottom: 1px solid var(--line);
}
.page-head h1 { font-size: 54px; font-weight: 400; letter-spacing: -0.03em; }
.page-head p { margin-top: 14px; max-width: 620px; font-size: 18px; font-weight: 300; color: var(--ink-70); }

.doc {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 60px;
  padding: 48px var(--gutter) 96px;
  align-items: start;
}
.doc__nav { position: sticky; top: 28px; display: flex; flex-direction: column; gap: 12px; }
.doc__nav a { font-size: 16px; color: var(--ink-70); transition: transform 0.3s var(--ease), color 0.3s ease; }
.doc__nav a:hover { transform: translateX(6px); color: var(--ink); }
.doc__nav a.is-active { color: var(--ink); font-weight: 500; }
.doc__body { max-width: 760px; }
.doc__body section + section { margin-top: 48px; }
.doc__body h2 { font-size: 28px; font-weight: 500; letter-spacing: -0.02em; }
.doc__body h3 { margin-top: 26px; font-size: 19px; font-weight: 500; }
.doc__body p, .doc__body li {
  margin-top: 14px;
  font-size: 17px;
  line-height: 1.6;
  font-weight: 300;
  color: #2c3033;
}
.doc__body ul { margin: 0; padding-left: 20px; }
.doc__meta { margin-top: 10px; font-size: 14px; color: var(--ink-50); }

.accordion { border-top: 1px solid var(--line); }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__btn {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 22px 0;
  border: 0; background: none;
  cursor: pointer;
  font-size: 19px;
  font-weight: 400;
  text-align: left;
  color: var(--ink);
}
.accordion__btn svg { flex: 0 0 auto; transition: transform 0.4s var(--ease); }
.accordion__btn[aria-expanded="true"] svg { transform: rotate(45deg); }
.accordion__panel { display: none; padding: 0 0 22px; max-width: 700px; }
.accordion__panel.is-open { display: block; animation: sk-fade-up 0.3s var(--ease) both; }

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 48px;
  padding: 48px var(--gutter) 96px;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  padding: 30px;
}
.card h3 { font-size: 22px; font-weight: 500; }
.card p { margin-top: 10px; font-size: 16px; line-height: 1.55; font-weight: 300; color: var(--ink-70); }
.stack { display: flex; flex-direction: column; gap: 18px; }
.stack--sm { gap: 10px; }

/* 7. Commerce ------------------------------------------------------------- */
.shop-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px var(--gutter);
  background: var(--lilac);
  font-size: 15px;
  font-weight: 500;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding: 26px var(--gutter) 30px;
}
.chip {
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  background: none;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }

.pdp {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: 56px;
  padding: 34px var(--gutter) 90px;
  align-items: start;
}
.pdp__gallery { display: grid; gap: 14px; }
.pdp__main { position: relative; aspect-ratio: 4 / 5; background: var(--bg-alt); overflow: hidden; }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.pdp__thumb { aspect-ratio: 1; background: var(--bg-alt); border: 1px solid transparent; padding: 0; cursor: pointer; overflow: hidden; }
.pdp__thumb.is-on { border-color: var(--ink); }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pdp__info h1 { font-size: 42px; font-weight: 400; letter-spacing: -0.03em; }
.pdp__price { display: flex; align-items: baseline; gap: 14px; margin-top: 18px; }
.pdp__price strong { font-size: 30px; font-weight: 500; }
.pdp__desc { margin-top: 20px; font-size: 17px; line-height: 1.6; font-weight: 300; color: #2c3033; }
.pdp__buy { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.qty { display: flex; align-items: center; border: 1px solid var(--line-strong); }
.qty button {
  width: 48px; height: 56px;
  border: 0; background: none;
  font-size: 20px; cursor: pointer;
}
.qty output { min-width: 40px; text-align: center; font-size: 17px; }

.cart {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
  gap: 48px;
  padding: 40px var(--gutter) 96px;
  align-items: start;
}
.cart-line {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr) auto;
  gap: 20px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-line__media { aspect-ratio: 1; background: var(--bg-alt); overflow: hidden; }
.cart-line__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cart-line__name { font-size: 18px; font-weight: 500; }
.cart-line__kind { margin-top: 6px; font-size: 14px; color: var(--ink-50); }
.cart-line__remove {
  margin-top: 10px;
  border: 0; background: none; padding: 0;
  font-size: 14px; color: var(--ink-50);
  text-decoration: underline;
  cursor: pointer;
}
.summary { background: #fff; border: 1px solid var(--line); padding: 28px; position: sticky; top: 28px; }
.summary h2 { font-size: 22px; font-weight: 500; }
.summary__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-top: 14px;
  font-size: 16px;
  color: var(--ink-70);
}
.summary__row--total {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}
.summary .btn { margin-top: 22px; }
.empty { padding: 90px var(--gutter); text-align: center; }
.empty h2 { font-size: 30px; font-weight: 400; }
.empty p { margin-top: 12px; color: var(--ink-70); }
.empty .btn { margin-top: 26px; }

.auth { max-width: 420px; margin: 0 auto; padding: 64px 24px 96px; text-align: center; }
.auth h1 { font-size: 38px; font-weight: 400; letter-spacing: -0.03em; }
.auth p { margin-top: 12px; color: var(--ink-70); }
.auth form { margin-top: 30px; text-align: left; }
.tabs { display: flex; gap: 8px; border-bottom: 1px solid var(--line); padding: 0 var(--gutter); }
.tabs button {
  padding: 16px 4px;
  margin-right: 24px;
  border: 0; background: none;
  font-size: 16px; color: var(--ink-50);
  cursor: pointer;
  border-bottom: 2px solid transparent;
}
.tabs button.is-on { color: var(--ink); border-bottom-color: var(--ink); }
.tab-panel { display: none; padding: 34px var(--gutter) 90px; }
.tab-panel.is-on { display: block; }
.order-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.status { font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-50); }

.checkout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 48px;
  padding: 40px var(--gutter) 96px;
  align-items: start;
}
.fieldset { border: 0; margin: 0; padding: 0; }
.fieldset + .fieldset { margin-top: 36px; }
.fieldset legend { font-size: 20px; font-weight: 500; padding: 0 0 16px; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; }
.radio-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  cursor: pointer;
  font-size: 16px;
}
.radio-row + .radio-row { margin-top: 10px; }
.radio-row:has(input:checked) { border-color: var(--ink); background: #fff; }

.thanks { max-width: 620px; margin: 0 auto; padding: 84px 24px 110px; text-align: center; }
.thanks h1 { font-size: 46px; font-weight: 400; letter-spacing: -0.03em; }
.thanks p { margin-top: 16px; font-size: 18px; font-weight: 300; color: var(--ink-70); }
.thanks .btn { margin-top: 30px; }

/* 8. Footer, promo, utilities --------------------------------------------- */
.site-footer {
  background: linear-gradient(160deg, #e6e8f4 0%, var(--lilac) 40%, #f1f2f8 100%);
  color: var(--ink);
}
.site-footer__top { padding: 64px var(--gutter) 52px; }
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 48px;
  margin-top: 58px;
}
.site-footer__cols p.title { font-size: 20px; font-weight: 500; }
.site-footer__cols .blurb { margin-top: 10px; font-size: 15px; line-height: 1.45; color: #4a4f59; max-width: 300px; }
.site-footer__cols .links { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; margin-top: 26px; }
.site-footer__cols .links a { font-size: 16px; color: var(--ink-70); transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1); }
.site-footer__cols .links a:hover { transform: translateX(8px); }
.site-footer__bar {
  border-top: 1px solid var(--line);
  padding: 26px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.socials { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; }
.socials a {
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: var(--ink-70);
  transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
}
.socials a:hover { transform: translateX(8px); }
.payments { display: flex; align-items: center; gap: 14px; }
.payments > span { display: flex; align-items: center; justify-content: center; width: 78px; height: 44px; }
.payments .cod {
  font-size: 9px; font-weight: 700; font-style: italic;
  line-height: 1.15; letter-spacing: 0.06em;
  text-align: center; color: var(--ink-70);
}
.payments img { display: block; width: 52px; height: auto; }
.site-footer__note {
  background: var(--ink);
  color: #f1f2f8;
  text-align: center;
  padding: 16px var(--gutter);
  font-size: 15px;
  font-weight: 500;
}

.promo-tab {
  position: fixed;
  right: 0; top: 50%;
  z-index: 60;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
}
.promo-tab button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 28px 15px;
  border: 0;
  background: var(--lilac);
  color: var(--ink);
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  box-shadow: -8px 0 28px rgba(17, 17, 18, 0.14);
  transition: background 0.25s ease;
}
.promo-tab button:hover { background: var(--lilac-dark); }
.promo-tab .promo-tab__x { writing-mode: horizontal-tb; font-size: 15px; }

.modal {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(17, 17, 18, 0.42);
}
.modal.is-open { display: flex; }
.modal__box {
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  width: min(100%, 720px);
  background: var(--bg);
  box-shadow: 0 30px 80px rgba(17, 17, 18, 0.26);
}
.modal__close {
  position: absolute;
  right: 10px; top: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border: 0;
  background: rgba(251, 251, 250, 0.85);
  cursor: pointer;
  line-height: 0;
}
.modal__media { position: relative; min-height: 320px; background: var(--bg-alt); }
.modal__media img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.modal__body { padding: 44px 40px; }
.modal__body h2 {
  margin-top: 12px;
  font-size: 40px;
  line-height: 1.04;
  font-weight: 400;
  letter-spacing: -0.03em;
}
.modal__body p.lede { margin-top: 14px; font-size: 17px; line-height: 1.5; font-weight: 300; color: #3a4042; }
.modal__body form { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.modal__body .btn { padding: 0; height: 56px; font-size: 12px; font-weight: 600; }

/* cart drawer (mobile) ---------------------------------------------------- */
.cart-drawer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 51;
  height: 50vh;
  height: 50svh;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  box-shadow: 0 -18px 50px rgba(17, 17, 18, 0.18);
  transform: translateY(102%);
  transition: transform 0.46s var(--ease);
}
.cart-drawer.is-open { transform: translateY(0); }
.cart-drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
  font-size: 18px;
  font-weight: 500;
}
.cart-drawer__body {
  flex: 1 1 auto;
  min-height: 140px;
  overflow-y: auto;
  padding: 8px 20px 20px;
}
.cart-drawer__foot { padding: 14px 20px 18px; border-top: 1px solid var(--line); }
.cart-drawer__foot .btn { padding: 0; height: 54px; }
.cart-drawer__link {
  display: block;
  margin-top: 12px;
  text-align: center;
  font-size: 15px;
  color: var(--ink-50);
  text-decoration: underline;
}
.cart-drawer .cart-line { grid-template-columns: 72px minmax(0, 1fr); padding: 14px 0; }
.cart-drawer .cart-line__remove { margin-top: 6px; }
.cart-drawer .cart-line__price { grid-column: 2; margin-top: 6px; font-weight: 500; }

/* keyframes -------------------------------------------------------------- */
@keyframes sk-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes sk-fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}


/* PDP reviews marquee ------------------------------------------------------ */
.reviews { padding: 64px 0 10px; border-top: 1px solid var(--line); }
.reviews__head {
  display: flex; align-items: baseline; gap: 18px; flex-wrap: wrap;
  padding: 0 var(--gutter) 30px;
}
.reviews__head h2 { font-size: 32px; font-weight: 400; letter-spacing: -0.02em; }
.reviews__score { display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-50); }
.reviews__stars { display: flex; gap: 3px; color: var(--ink); line-height: 0; }
.reviews__marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.reviews__track {
  display: flex; width: max-content; gap: 20px; padding: 6px 10px 26px;
  animation: sk-marquee 58s linear infinite;
}
.reviews__marquee:hover .reviews__track { animation-play-state: paused; }
.review {
  flex: 0 0 auto; width: 340px;
  display: flex; flex-direction: column; gap: 14px;
  background: #fff; border: 1px solid var(--line);
  padding: 26px 26px 24px;
}
.review__stars { display: flex; gap: 3px; color: var(--ink); line-height: 0; }
.review__text { font-size: 16px; line-height: 1.6; font-weight: 300; color: #2c3033; text-wrap: pretty; }
.review__by { margin-top: auto; display: flex; align-items: center; gap: 8px; font-size: 13px; letter-spacing: 0.04em; color: var(--ink-50); }
.review__by strong { font-weight: 500; color: var(--ink); letter-spacing: 0; font-size: 14px; }
.review__verified { display: inline-flex; align-items: center; gap: 4px; }
@media (prefers-reduced-motion: reduce) {
  .reviews__track { animation: none; }
  .reviews__marquee { overflow-x: auto; }
}


/* PDP sticky buy bar ------------------------------------------------------- */
.buybar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 16px var(--gutter);
  background: rgba(251, 251, 250, 0.92);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-top: 1px solid var(--line);
  box-shadow: 0 -14px 40px rgba(17, 17, 18, 0.08);
  transform: translateY(105%);
  transition: transform 0.45s var(--ease);
}
.buybar.is-on { transform: none; }
.buybar__left { display: flex; align-items: center; gap: 20px; min-width: 0; }
.buybar__name {
  font-size: 15px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.buybar__sizes { display: flex; align-items: center; gap: 8px; }
.buybar__size {
  border: 1px solid var(--line-strong); background: none;
  padding: 7px 14px; font-family: inherit; font-size: 13px; color: var(--ink-70);
  border-radius: 0; cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.buybar__size:hover { border-color: var(--ink); color: var(--ink); }
.buybar__size.is-on { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.buybar .btn {
  flex: 0 0 auto;
  padding: 16px 30px; border-radius: 0;
  letter-spacing: 0.06em;
}
.buybar .btn span { font-weight: 600; }


/* PDP general promise banner ---------------------------------------------- */
.promise {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr);
  gap: 48px 60px;
  align-items: start;
  padding: 72px var(--gutter);
  background: var(--lilac);
}
.promise__intro h2 { font-size: 34px; font-weight: 400; letter-spacing: -0.02em; line-height: 1.15; }
.promise__intro p { margin-top: 16px; font-size: 16px; line-height: 1.65; font-weight: 300; color: #2c3033; text-wrap: pretty; }
.promise__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.promise__item { display: flex; flex-direction: column; gap: 10px; }
.promise__item svg { color: var(--ink); }
.promise__item h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.promise__item p { font-size: 15px; line-height: 1.6; font-weight: 300; color: #2c3033; text-wrap: pretty; }
.promise__foot {
  grid-column: 1 / -1;
  display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px;
  padding-top: 26px;
  border-top: 1px solid rgba(17, 17, 18, 0.16);
  font-size: 14px; color: #2c3033;
}
.promise__foot a { text-decoration: underline; text-underline-offset: 3px; }


/* PDP routine strip -------------------------------------------------------- */
.routine { padding: 72px var(--gutter); border-top: 1px solid var(--line); }
.routine__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.routine__head h2 { font-size: 34px; font-weight: 400; letter-spacing: -0.02em; }
.routine__head p { max-width: 480px; font-size: 16px; line-height: 1.6; font-weight: 300; color: var(--ink-70); text-wrap: pretty; }
.routine__grid { margin-top: 38px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.routine__step { display: flex; flex-direction: column; gap: 14px; }
.routine__media { position: relative; aspect-ratio: 4 / 5; background: var(--bg-alt); overflow: hidden; }
.routine__media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s var(--ease); }
.routine__step:hover .routine__media img { transform: scale(1.04); }
.routine__num {
  position: absolute; left: 14px; top: 14px;
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg); color: var(--ink);
  font-size: 13px; font-weight: 600;
}
.routine__step h3 { font-size: 13px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.routine__step p { font-size: 15px; line-height: 1.6; font-weight: 300; color: #2c3033; text-wrap: pretty; }


/* Account — write a review ------------------------------------------------- */
.rv-pending { display: grid; gap: 14px; }
.rv-item {
  display: grid; grid-template-columns: 74px minmax(0, 1fr) auto;
  gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); padding: 16px;
}
.rv-item__media { aspect-ratio: 1; background: var(--bg-alt); overflow: hidden; }
.rv-item__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.rv-item__name { font-size: 17px; font-weight: 500; }
.rv-item__meta { margin-top: 5px; font-size: 14px; color: var(--ink-50); }
.rv-form { margin-top: 34px; max-width: 620px; }
.rv-form h3 { font-size: 22px; font-weight: 500; }
.rv-form > p { margin-top: 8px; font-size: 15px; font-weight: 300; color: var(--ink-70); }
.rv-stars { display: flex; gap: 4px; }
.rv-stars button {
  border: 0; background: none; padding: 2px; cursor: pointer; line-height: 0;
  color: rgba(17, 17, 18, 0.22);
  transition: color 0.2s ease, transform 0.2s ease;
}
.rv-stars button:hover { transform: scale(1.12); }
.rv-stars button.is-on { color: var(--ink); }
.rv-done { display: none; font-size: 15px; color: var(--ink-70); }
.rv-done.is-on { display: block; }

/* hero slide crossfade */
[data-slider-view] { transition: background 1s ease; }
[data-slider-view] .hero__media { overflow: hidden; }
[data-slider-view] .hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 1s ease; }
[data-slider-view] .hero__copy > *:not(.dots) { transition: opacity 0.38s ease, transform 0.6s cubic-bezier(0.22, 0.72, 0.16, 1); will-change: opacity, transform; }
[data-slider-view].is-swapping .hero__copy > *:not(.dots) { opacity: 0; transform: translateY(8px); }

/* shop head — centred */
.page-head--center { text-align: center; padding: 40px var(--gutter) 6px; border-bottom: 0; }
.page-head--center p { margin-left: auto; margin-right: auto; }
.page-head--center + .filters { justify-content: center; padding-top: 22px; }
.grid-empty { padding: 40px var(--gutter) 80px; text-align: center; font-size: 16px; color: var(--ink-70); }

/* cart drawer — desktop: half-width side panel */
@media (min-width: 1280px) {
  .cart-drawer {
    left: auto; top: 0; right: 0; bottom: 0;
    width: 50vw; max-width: 720px; height: auto; min-height: 0;
    box-shadow: -18px 0 50px rgba(17, 17, 18, 0.14);
    transform: translateX(102%);
  }
  .cart-drawer.is-open { transform: translateX(0); }
  .cart-drawer__top { padding: 22px 32px; }
  .cart-drawer__body { padding: 8px 32px 24px; }
  .cart-drawer__foot { padding: 18px 32px 26px; }
}

.site-footer__note a { color: #fff; text-decoration: none; font-weight: 500; }
.site-footer__note a:hover { opacity: 0.7; }

@media (min-width: 1000px) { .product-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 641px) and (max-width: 999px) { .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
