/* =====================================================================
   ALIFZEIN — Storefront design system
   Editorial · Minimal · Responsive
   ===================================================================== */

/* ------------------------------- Reset ------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body, h1, h2, h3, h4, h5, p, figure, blockquote, ul, ol, dl, dd, button { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; }
::selection { background: var(--ink); color: var(--paper); }
:focus-visible { outline: 2px solid var(--clay); outline-offset: 3px; }

/* ------------------------------- Tokens ----------------------------- */
:root {
  --paper:     #f5f3ef;
  --paper-2:   #eeebe4;
  --surface:   #ffffff;
  --ink:       #15130f;
  --ink-2:     #3c3831;
  --muted:     #8a8479;
  --line:      #e2ddd4;
  --line-2:    #ece8e0;
  --clay:      #b1502a;
  --clay-deep: #8f3d1d;
  --gold:      #b98a3c;
  --dark:      #14130f;
  --dark-2:    #1e1c16;

  --font-body: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-display: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --font-ar: "Noto Naskh Arabic", serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);

  --pad: clamp(1.15rem, 4.5vw, 5rem);
  --maxw: 1600px;
  --radius: 4px;
}

/* ------------------------------- Base ------------------------------- */
body {
  font-family: var(--font-body);
  background: var(--paper);
  color: var(--ink);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: -0.004em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

h1, h2, h3 { font-weight: 400; letter-spacing: -0.02em; }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.03;
  letter-spacing: -0.025em;
}
.display em { font-style: normal; font-weight: 300; color: var(--clay); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .34em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow::before { content: ""; width: 26px; height: 1px; background: currentColor; opacity: .5; }
.eyebrow--light { color: rgba(245,243,239,.7); }
.eyebrow--center::before { display: none; }

.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;
}

/* ------------------------------ Buttons ----------------------------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  gap: .6rem; padding: 1rem 2.2rem; min-height: 52px;
  border: 1px solid var(--bg); border-radius: 999px;
  background: var(--bg); color: var(--fg);
  font-size: .76rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  overflow: hidden; isolation: isolate;
  transition: color .5s var(--ease), border-color .5s var(--ease), transform .35s var(--ease);
}
.btn > span { position: relative; z-index: 2; }
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: var(--fg); transform: translateY(101%);
  transition: transform .55s var(--ease);
}
.btn:hover { color: var(--bg); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: scale(.985); }
.btn--ghost { --bg: transparent; --fg: var(--ink); border-color: rgba(21,19,15,.35); }
.btn--ghost:hover { color: var(--paper); border-color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--light { --bg: #f5f3ef; --fg: var(--ink); border-color: #f5f3ef; }
.btn--outline-light { --bg: transparent; --fg: #f5f3ef; border-color: rgba(245,243,239,.6); }
.btn--outline-light::before { background: #f5f3ef; }
.btn--outline-light:hover { color: var(--ink); }
.btn--block { width: 100%; }

.link-u {
  position: relative; display: inline-flex; align-items: center; gap: .5rem;
  font-size: .82rem; font-weight: 500; padding-bottom: 3px;
}
.link-u svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.link-u::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: currentColor; transform-origin: right; transition: transform .45s var(--ease);
}
.link-u:hover::after { transform: scaleX(0); transform-origin: left; }
.link-u:hover svg { transform: translateX(3px); }

/* --------------------------- Announcement --------------------------- */
.announce {
  background: var(--ink); color: var(--paper);
  font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
  overflow: hidden;
}
.announce__inner {
  display: flex; align-items: center; justify-content: center; gap: 2.5rem;
  height: 40px; position: relative;
}
.announce__item {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  gap: .6rem; opacity: 0; transform: translateY(6px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.announce__item.is-on { opacity: 1; transform: none; position: relative; }
.announce__item span { opacity: .95; }
.announce__side { position: absolute; right: var(--pad); display: flex; gap: 1.2rem; }
@media (max-width: 860px) { .announce__side { display: none; } }
@media (max-width: 600px) {
  .announce { font-size: .58rem; letter-spacing: .07em; }
  .announce__inner { height: 34px; padding-inline: .8rem; }
  .announce__item { text-align: center; }
}

/* ------------------------------ Header ------------------------------ */
.header {
  position: sticky; top: 0; z-index: 70;
  background: rgba(245,243,239,.86);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease), background .4s var(--ease);
}
.header.is-stuck { border-bottom-color: var(--line); box-shadow: 0 14px 40px -30px rgba(21,19,15,.5); }
.header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  min-height: 78px; gap: 1rem;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand__mark { display: flex; flex-direction: column; line-height: .82; }
.brand__ar { font-family: var(--font-ar); font-size: 1.4rem; line-height: 1; margin-bottom: .22em; }
.brand__en {
  font-family: var(--font-display); font-size: 1.12rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; padding-left: .3em;
}

.nav { display: flex; align-items: center; justify-content: center; gap: clamp(.7rem, 1.7vw, 1.9rem); }
.nav__link { position: relative; font-size: .84rem; padding: .55rem 0; white-space: nowrap; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: .28rem; width: 100%; height: 1px;
  background: currentColor; transform: scaleX(0); transform-origin: left;
  transition: transform .45s var(--ease);
}
.nav__link:hover::after { transform: scaleX(1); }
.nav__link.is-hot { color: var(--clay); }

.header__actions { display: flex; align-items: center; justify-content: flex-end; gap: .15rem; }
.icon-btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%; color: var(--ink);
  transition: background .3s var(--ease);
}
.icon-btn:hover { background: var(--paper-2); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: 5px; right: 5px; min-width: 17px; height: 17px; padding: 0 4px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--clay); color: #fff; font-size: .62rem; font-weight: 700;
  border-radius: 999px; border: 2px solid var(--paper);
}
.burger { display: none; }

@media (max-width: 1120px) {
  .header__inner { min-height: 66px; grid-template-columns: auto 1fr auto; }
  .nav { display: none; }
  .burger { display: inline-flex; margin-left: -10px; }
  .header__actions .icon--user { display: none; }
  .brand__ar { font-size: 1.2rem; } .brand__en { font-size: .98rem; letter-spacing: .26em; }
}

/* ----------------------------- Mega menu ---------------------------- */
.mmenu {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--surface);
  border-top: 1px solid var(--line);
  box-shadow: 0 30px 50px -42px rgba(21,19,15,.42);
  opacity: 0; visibility: hidden; transform: translateY(-6px); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease), visibility .35s var(--ease);
  max-height: calc(100vh - 78px); overflow-y: auto; overscroll-behavior: contain;
}
.mmenu.is-open { opacity: 1; visibility: visible; transform: none; pointer-events: auto; }
.mmenu__inner { display: grid; grid-template-columns: 240px 1fr; gap: clamp(2rem, 4vw, 4rem); padding-block: clamp(1.8rem, 3vw, 2.8rem); }
.mmenu__side { display: flex; flex-direction: column; gap: .1rem; border-right: 1px solid var(--line-2); padding-right: 1.6rem; }
.mmenu__side a { position: relative; width: fit-content; padding: .58rem 0; font-size: .95rem; color: var(--ink-2); transition: color .25s var(--ease); }
.mmenu__side a:hover { color: var(--ink); }
.mmenu__side a.is-active { color: var(--ink); font-weight: 600; }
.mmenu__side a.is-active::after { content: ""; position: absolute; left: 0; bottom: .34rem; width: 100%; height: 1px; background: currentColor; }

.mmenu__panel { display: none; }
.mmenu__panel.is-active { display: block; animation: mmenuFade .4s var(--ease); }
@keyframes mmenuFade { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.mmenu__panel h3 { font-family: var(--font-display); font-size: clamp(1.4rem, 2vw, 1.9rem); font-weight: 500; padding-bottom: 1rem; border-bottom: 1px solid var(--line); }
.mmenu__body { display: grid; grid-template-columns: 220px 1fr; gap: clamp(2rem, 4vw, 4rem); margin-top: 1.6rem; }
.mmenu__list { display: flex; flex-direction: column; gap: .1rem; }
.mmenu__list a { padding: .5rem 0; font-size: .92rem; color: var(--ink-2); transition: color .25s var(--ease); }
.mmenu__list a:first-child { color: var(--ink); font-weight: 600; }
.mmenu__list a:hover { color: var(--clay); }
.mmenu__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 1.6vw, 1.2rem); }
.mmenu__tile { position: relative; display: flex; align-items: flex-end; aspect-ratio: 1 / 1.08; border-radius: 4px; overflow: hidden; isolation: isolate; }
.mmenu__tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mmenu__tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(15,13,10,.78) 0%, rgba(15,13,10,.05) 56%); }
.mmenu__tile:hover img { transform: scale(1.06); }
.mmenu__tile span { position: relative; padding: 1.1rem; color: #fff; font-size: clamp(.95rem, 1.3vw, 1.28rem); font-weight: 500; line-height: 1.12; text-shadow: 0 2px 16px rgba(0,0,0,.45); }
@media (max-width: 1120px) { .mmenu { display: none; } }

/* ----------------------------- Drawer ------------------------------- */
.drawer { position: fixed; inset: 0; z-index: 140; pointer-events: none; }
.drawer__scrim {
  position: absolute; inset: 0; background: rgba(20,19,15,.5);
  opacity: 0; transition: opacity .5s var(--ease);
}
.drawer__panel {
  position: absolute; top: 0; left: 0; height: 100%; width: min(88vw, 400px);
  background: var(--paper); transform: translateX(-102%); transition: transform .55s var(--ease);
  display: flex; flex-direction: column; padding: 1.3rem 1.6rem 2rem; overflow-y: auto;
}
.drawer.is-open { pointer-events: auto; }
.drawer.is-open .drawer__scrim { opacity: 1; }
.drawer.is-open .drawer__panel { transform: none; }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1.4rem; }
.drawer__nav { display: flex; flex-direction: column; }
.drawer__link {
  width: 100%; padding: 1rem 0; font-size: 1.15rem; font-weight: 500; letter-spacing: -0.01em;
  background: none; color: inherit; font-family: inherit; border-bottom: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; text-align: left; cursor: pointer;
}
.drawer__link svg { width: 16px; height: 16px; opacity: .4; transition: transform .35s var(--ease); }
.drawer__acc { border-bottom: 1px solid var(--line-2); }
.drawer__link--acc { border-bottom: 0; }
.drawer__acc.is-open .drawer__link--acc svg { transform: rotate(180deg); opacity: .85; }
.drawer__sub { overflow: hidden; max-height: 0; transition: max-height .45s var(--ease); }
.drawer__acc.is-open .drawer__sub { max-height: 480px; }
.drawer__sub a {
  display: block; padding: .68rem 0; font-size: .95rem; color: var(--muted);
  transition: color .25s var(--ease);
}
.drawer__sub a:first-child { padding-top: .85rem; }
.drawer__sub a:last-child { padding-bottom: 1.15rem; }
.drawer__sub a:hover { color: var(--ink); }
.drawer__foot { margin-top: auto; padding-top: 1.6rem; display: flex; flex-direction: column; gap: .7rem; font-size: .86rem; color: var(--muted); }

/* ----------------------------- Search ------------------------------- */
.search { position: fixed; inset: 0; z-index: 150; pointer-events: none; display: flex; justify-content: center; }
.search__scrim {
  position: absolute; inset: 0; background: rgba(245,243,239,.97);
  backdrop-filter: blur(8px); opacity: 0; transition: opacity .45s var(--ease);
}
.search__box {
  position: relative; width: min(760px, 90vw); margin-top: min(20vh, 180px);
  transform: translateY(16px); opacity: 0; visibility: hidden;
  transition: transform .55s var(--ease), opacity .55s var(--ease), visibility .55s var(--ease);
}
.search__close { visibility: hidden; transition: visibility .45s var(--ease), background .3s var(--ease); }
.search.is-open { pointer-events: auto; }
.search.is-open .search__scrim { opacity: 1; }
.search.is-open .search__box { transform: none; opacity: 1; visibility: visible; }
.search.is-open .search__close { visibility: visible; }
.search__form { display: flex; align-items: center; gap: 1rem; border-bottom: 2px solid var(--ink); padding-bottom: .9rem; }
.search__form input {
  flex: 1; border: 0; background: none; outline: none;
  font-size: clamp(1.3rem, 3vw, 2rem); letter-spacing: -.02em;
}
.search__form input::placeholder { color: #c2bcb1; }
.search__hints { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.5rem; }
.search__hints button {
  font-size: .78rem; padding: .45rem 1rem; border: 1px solid var(--line); border-radius: 999px;
  color: var(--ink-2); transition: background .3s var(--ease), color .3s var(--ease);
}
.search__hints button:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.search__close { position: fixed; top: 1.3rem; right: 1.3rem; z-index: 2; }

/* ------------------------------- Hero ------------------------------- */
.hero { padding-top: clamp(.8rem, 2vw, 1.6rem); }
.hero__stage {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 2060 / 763; background: #0b1220; isolation: isolate;
}
.hero__slide {
  position: absolute; inset: 0; opacity: 0; z-index: 0;
  transition: opacity .9s var(--ease);
}
.hero__slide.is-active { opacity: 1; z-index: 1; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__dots {
  position: absolute; left: 50%; bottom: clamp(.7rem, 2vw, 1.4rem); transform: translateX(-50%);
  z-index: 3; display: flex; gap: .5rem;
}
.hero__dot {
  width: 24px; height: 3px; padding: 0; border: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255,255,255,.45);
  transition: background .3s var(--ease), width .3s var(--ease);
}
.hero__dot.is-active { background: #fff; width: 38px; }
@media (max-width: 760px) {
  .hero__stage { aspect-ratio: 16 / 9; }
  .hero__dot { width: 18px; }
}

/* ------------------------------ Section ----------------------------- */
.section { padding-block: clamp(2.6rem, 6vw, 5.5rem); }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 1.2rem;
  flex-wrap: wrap; margin-bottom: clamp(1.4rem, 3vw, 2.6rem);
}
.sec-head__title { font-size: clamp(1.9rem, 4.4vw, 3.4rem); font-weight: 500; }
.sec-head__sub { color: var(--muted); font-size: .9rem; margin-top: .6rem; max-width: 46ch; }

/* ---------------------------- Carousels ----------------------------- */
.carousel { position: relative; }
.carousel__rail {
  display: flex; gap: clamp(.9rem, 1.8vw, 1.6rem);
  overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain;
  padding-bottom: 1rem;
  scroll-snap-type: x proximity; scroll-behavior: smooth; scrollbar-width: none;
}
.carousel__rail::-webkit-scrollbar { display: none; }
.carousel__btn {
  position: absolute; top: 38%; transform: translateY(-50%); z-index: 6;
  width: 50px; height: 50px; border-radius: 50%; border: 1px solid var(--line);
  background: rgba(255,255,255,.9); backdrop-filter: blur(6px);
  display: grid; place-items: center; transition: background .35s var(--ease), color .35s var(--ease), opacity .35s var(--ease), border-color .35s var(--ease);
}
.carousel__btn:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.carousel__btn svg { width: 18px; height: 18px; }
.carousel__btn--prev { left: -24px; } .carousel__btn--next { right: -24px; }
.carousel__btn[disabled] { opacity: 0; pointer-events: none; }
@media (max-width: 1240px) { .carousel__btn { display: none; } }

/* --------------------------- Product card --------------------------- */
.pcard { flex: 0 0 auto; width: clamp(248px, 22vw, 340px); scroll-snap-align: start; }
@media (max-width: 820px) { .pcard { width: 74vw; } }

.pcard__media {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 3 / 4; background: var(--paper-2);
}
.pcard__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.1s var(--ease);
}
.pcard:hover .pcard__media img { transform: scale(1.05); }
.pcard__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.16) 0%, transparent 22%, transparent 70%, rgba(0,0,0,.22) 100%);
  opacity: 0; transition: opacity .5s var(--ease);
}
.pcard:hover .pcard__media::after { opacity: 1; }
.pcard__tag {
  position: absolute; top: .85rem; left: .85rem; z-index: 3;
  font-size: .58rem; letter-spacing: .22em; text-transform: uppercase;
  background: rgba(245,243,239,.94); color: var(--ink); padding: .38rem .6rem; border-radius: 2px;
}
.pcard__wish {
  position: absolute; top: .7rem; right: .7rem; z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(245,243,239,.92); color: var(--ink);
  transform: translateY(-6px); opacity: 0; transition: opacity .4s var(--ease), transform .4s var(--ease), background .3s var(--ease);
}
.pcard__wish svg { width: 17px; height: 17px; }
.pcard__wish:hover, .pcard__wish.is-on { background: var(--clay); color: #fff; }
.pcard:hover .pcard__wish { opacity: 1; transform: none; }
.pcard__quick {
  position: absolute; left: .7rem; right: .7rem; bottom: .7rem; z-index: 3;
  display: flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem; border-radius: 999px; background: rgba(245,243,239,.96); color: var(--ink);
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  transform: translateY(120%); transition: transform .5s var(--ease);
}
.pcard:hover .pcard__quick { transform: translateY(0); }
.pcard__info { padding: .95rem .15rem 0; display: flex; justify-content: space-between; gap: 1rem; }
.pcard__name { font-size: .98rem; font-weight: 500; }
.pcard__cat { font-size: .74rem; color: var(--muted); letter-spacing: .04em; margin-top: .15rem; }
.pcard__price { font-size: .95rem; white-space: nowrap; text-align: right; }
.pcard__price s { color: var(--muted); font-size: .82rem; display: block; }

/* --------------------------- Category card -------------------------- */
.ccard { flex: 0 0 auto; width: clamp(248px, 22vw, 340px); scroll-snap-align: start; }
@media (max-width: 820px) { .ccard { width: 74vw; } }
.ccard__link {
  position: relative; display: block; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 4 / 5; background: var(--paper-2); border: 1px solid var(--line-2);
  transition: border-color .4s var(--ease), box-shadow .5s var(--ease);
}
.ccard__link img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.ccard__link::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 42%, rgba(0,0,0,.16) 68%, rgba(0,0,0,.58) 100%);
}
.ccard:hover .ccard__link img { transform: scale(1.05); }
.ccard:hover .ccard__link { border-color: var(--line); box-shadow: 0 20px 45px -34px rgba(21,19,15,.45); }
.ccard__label {
  position: absolute; left: clamp(1rem, 1.6vw, 1.4rem); bottom: clamp(.95rem, 1.6vw, 1.3rem); z-index: 3;
  color: #fff; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.01em;
  font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.06; max-width: 82%;
  text-shadow: 0 1px 18px rgba(0,0,0,.28);
}
.ccard__tag {
  position: absolute; top: .85rem; left: .85rem; z-index: 3;
  font-size: .56rem; letter-spacing: .18em; text-transform: uppercase;
  background: rgba(20,19,15,.8); color: #fff; padding: .34rem .58rem; border-radius: 2px;
  -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.ccard__tag--her { background: rgba(177,80,42,.92); }

/* ------------------------------ Promo ------------------------------- */
.promo {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(.8rem, 1.8vw, 1.5rem);
}
.promo__tile {
  position: relative; overflow: hidden; border-radius: var(--radius);
  min-height: clamp(340px, 44vw, 620px); display: flex; align-items: flex-end;
  padding: clamp(1.5rem, 3.4vw, 3rem); color: #f5f3ef; isolation: isolate;
}
.promo__tile img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.promo__tile:hover img { transform: scale(1.05); }
.promo__tile::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(15,13,10,.8) 0%, rgba(15,13,10,.1) 60%);
}
.promo__tile h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.08; }
.promo__tile p { font-size: .9rem; opacity: .82; margin-top: .7rem; max-width: 34ch; }
.promo__tile .link-u { color: #f5f3ef; margin-top: 1.3rem; }
@media (max-width: 780px) { .promo { grid-template-columns: 1fr; } }

/* ------------------------------ Band -------------------------------- */
.band {
  position: relative; margin: clamp(2.6rem, 6vw, 5.5rem) 0; overflow: hidden;
  isolation: isolate; min-height: clamp(560px, 82vh, 820px);
  display: grid; place-items: center; background: #0f0e0a;
}
.band__img { position: absolute; inset: 0; z-index: -2; }
.band__img img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 38%;
  transform: scale(1.06); animation: bandZoom 22s ease-in-out infinite alternate;
}
@keyframes bandZoom { from { transform: scale(1.06); } to { transform: scale(1.16); } }
.band::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(55% 55% at 50% 44%, rgba(201,154,60,.20), transparent 72%),
    linear-gradient(0deg, rgba(12,11,8,.9) 0%, rgba(12,11,8,.42) 46%, rgba(12,11,8,.72) 100%);
}
.band__glow {
  position: absolute; z-index: 0; top: 16%; left: 50%; width: min(780px, 84%); height: 62%;
  transform: translateX(-50%); pointer-events: none; filter: blur(12px);
  background: radial-gradient(50% 50% at 50% 50%, rgba(201,154,60,.22), transparent 72%);
}
.band__frame {
  position: absolute; z-index: 3; inset: clamp(1rem, 3vw, 2.2rem);
  border: 1px solid rgba(201,154,60,.42); pointer-events: none;
}
.band__inner { position: relative; z-index: 2; text-align: center; color: #f5f3ef; padding-block: clamp(4rem, 10vw, 7rem) clamp(5rem, 11vw, 7.5rem); }
.band__title { font-size: clamp(2.2rem, 6vw, 4.8rem); font-weight: 300; line-height: 1.03; margin: 1rem 0 0; }
.band__title em { font-style: normal; font-weight: 600; color: #e2bd63; }
.band__lede { margin: 1.5rem auto 0; max-width: 56ch; color: rgba(245,243,239,.86); font-size: clamp(.95rem, 1.3vw, 1.08rem); }
.band__cta { margin-top: clamp(1.9rem, 3.4vw, 2.8rem); display: flex; justify-content: center; flex-wrap: wrap; gap: .8rem; }
.band__marquee {
  position: absolute; z-index: 3; left: 0; right: 0; bottom: 0;
  border-top: 1px solid rgba(245,243,239,.14); overflow: hidden;
  background: rgba(10,9,6,.35); backdrop-filter: blur(3px);
}
.band__track { display: flex; align-items: center; width: max-content; animation: bandScroll 32s linear infinite; }
.band__marquee:hover .band__track { animation-play-state: paused; }
.band__track span { padding: 1rem 1.9rem; font-size: .72rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(245,243,239,.74); white-space: nowrap; }
.band__track i { flex: 0 0 auto; width: 5px; height: 5px; border-radius: 50%; background: #c99a3c; }
@keyframes bandScroll { to { transform: translateX(-50%); } }
@media (max-width: 640px) { .band__frame { inset: .7rem; } .band__track span { letter-spacing: .22em; } }

/* ----------------------------- Craft -------------------------------- */
.craft { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 5vw, 5rem); align-items: center; }
.craft__media { position: relative; }
.craft__media--main { aspect-ratio: 4/5; border-radius: var(--radius); overflow: hidden; }
.craft__media--main img, .craft__media--small img { width: 100%; height: 100%; object-fit: cover; }
.craft__media--small {
  position: absolute; right: -6%; bottom: -8%; width: 46%; aspect-ratio: 4/5;
  border-radius: var(--radius); overflow: hidden; border: 8px solid var(--paper);
  box-shadow: 0 30px 60px -40px rgba(0,0,0,.6);
}
.craft__body h2 { font-size: clamp(1.8rem, 4vw, 3rem); font-weight: 500; margin: 1rem 0 0; }
.craft__body p { color: var(--ink-2); margin-top: 1.1rem; }
.craft__list { margin-top: 1.8rem; display: grid; gap: 1rem; }
.craft__list li { display: flex; gap: .9rem; align-items: flex-start; font-size: .92rem; }
.craft__list svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--clay); margin-top: 2px; }
.craft__stats { display: flex; gap: clamp(1.5rem, 4vw, 3rem); margin-top: 2.2rem; }
.craft__stats b { display: block; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.6rem); font-weight: 400; }
.craft__stats span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 900px) { .craft { grid-template-columns: 1fr; } .craft__media--small { right: 2%; bottom: -6%; width: 40%; } }

/* --------------------------- Testimonials --------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 3vw, 2.4rem); }
.quote { border-top: 1px solid var(--line); padding-top: 1.4rem; }
.quote__stars { color: var(--gold); letter-spacing: .2em; font-size: .8rem; }
.quote p { margin-top: .9rem; font-size: 1rem; line-height: 1.7; color: var(--ink-2); }
.quote cite { display: block; margin-top: 1.1rem; font-style: normal; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 820px) { .quotes { grid-template-columns: 1fr; } }

/* --------------------------- Newsletter ----------------------------- */
.newsletter { padding-block: clamp(2.6rem, 6vw, 5.5rem); }
.newsletter__panel {
  display: grid; grid-template-columns: .85fr 1.15fr; overflow: hidden; border-radius: 6px;
  background: #14130f; color: #f5f3ef;
}
.newsletter__media { position: relative; min-height: 340px; }
.newsletter__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.newsletter__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(12,11,8,0) 35%, rgba(20,19,15,.9) 100%);
}
.newsletter__body { padding: clamp(2rem, 5vw, 4.4rem); }
.newsletter__body h2 { font-size: clamp(1.7rem, 3.6vw, 2.9rem); font-weight: 500; margin: 1rem 0 0; }
.newsletter__body h2 em { font-style: normal; font-weight: 300; color: #e2bd63; }
.newsletter__lede { margin-top: 1rem; color: rgba(245,243,239,.72); max-width: 46ch; }
.newsletter__form { position: relative; max-width: 540px; margin-top: 1.9rem; }
.newsletter__form input {
  width: 100%; padding: 1.05rem 10rem 1.05rem 1.5rem; border: 1px solid rgba(245,243,239,.28);
  border-radius: 999px; background: rgba(255,255,255,.06); color: #f5f3ef; font-size: .95rem; outline: none;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
.newsletter__form input::placeholder { color: rgba(245,243,239,.5); }
.newsletter__form input:focus { border-color: #e2bd63; background: rgba(255,255,255,.1); }
.newsletter__form .btn { position: absolute; top: 50%; right: 6px; transform: translateY(-50%); padding: .8rem 1.8rem; min-height: 44px; }
.newsletter__note { font-size: .76rem; color: rgba(245,243,239,.5); margin-top: 1rem; }
.newsletter__perks { display: flex; flex-wrap: wrap; gap: 1.4rem; margin-top: 1.5rem; }
.newsletter__perks li { position: relative; padding-left: 1.5rem; font-size: .8rem; color: rgba(245,243,239,.78); }
.newsletter__perks li::before { content: ""; position: absolute; left: 0; top: 50%; width: 16px; height: 1px; background: #c99a3c; transform: translateY(-50%); }
@media (max-width: 820px) {
  .newsletter__panel { grid-template-columns: 1fr; }
  .newsletter__media { min-height: 200px; }
  .newsletter__media::after { background: linear-gradient(180deg, rgba(12,11,8,0) 30%, rgba(20,19,15,.95) 100%); }
  .newsletter__form input { padding-right: 1.5rem; }
  .newsletter__form .btn { position: static; transform: none; width: 100%; margin-top: .8rem; }
}

/* ------------------------------ Footer ------------------------------ */
.footer { background: var(--surface); padding-top: clamp(3rem, 7vw, 5.5rem); }
.footer__grid { display: grid; grid-template-columns: 1.4fr repeat(4, 1fr); gap: clamp(1.6rem, 4vw, 3rem); }
.footer__brand p { font-size: .86rem; color: var(--muted); max-width: 32ch; margin-top: 1.1rem; }
.footer__news { margin-top: 1.6rem; display: flex; gap: .5rem; max-width: 320px; }
.footer__news input { flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1.1rem; background: var(--paper); outline: none; font-size: .85rem; }
.footer__news button { border-radius: 999px; background: var(--ink); color: var(--paper); width: 46px; display: grid; place-items: center; }
.footer__news svg { width: 17px; height: 17px; }
.footer__col h4 { font-size: .72rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--muted); margin-bottom: 1.15rem; }
.footer__col ul { display: flex; flex-direction: column; gap: .7rem; }
.footer__col a { font-size: .9rem; color: var(--ink-2); transition: color .3s var(--ease); }
.footer__col a:hover { color: var(--ink); }
.footer__pay { display: grid; grid-template-columns: repeat(2, 1fr); gap: .55rem; max-width: 240px; margin-top: 1.15rem; }
.pay { height: 38px; border: 1px solid var(--line); border-radius: 6px; display: grid; place-items: center; background: #fff; font-size: .7rem; font-weight: 700; color: var(--ink-2); letter-spacing: .02em; }
.footer__bottom {
  margin-top: clamp(2.2rem, 5vw, 3.6rem); padding: 1.5rem 0 2rem; border-top: 1px solid var(--line-2);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  font-size: .8rem; color: var(--muted);
}
.footer__socials { display: flex; gap: 1.3rem; }
.footer__socials a { display: inline-flex; align-items: center; gap: .45rem; }
.footer__socials svg { width: 16px; height: 16px; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } .footer__brand { grid-column: 1 / -1; } }

/* ---------------------------- Mega footer --------------------------- */
.mega { background: var(--dark-2); color: #e9e6de; padding: clamp(2.6rem, 6vw, 4.5rem) 0; }
.mega h2 { font-size: clamp(1.7rem, 4.2vw, 3rem); margin-bottom: clamp(1.3rem, 3vw, 2.2rem); }
.mega__panel { background: rgba(255,255,255,.045); border-radius: 12px; padding: clamp(1.4rem, 3.4vw, 2.6rem); }
.mega__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.4rem 2rem; }
.mega__col h4 { font-size: .9rem; font-weight: 700; color: #fff; margin-bottom: .85rem; }
.mega__col ul { display: flex; flex-direction: column; gap: .55rem; }
.mega__col a { font-size: .85rem; color: rgba(233,230,222,.6); transition: color .3s var(--ease); }
.mega__col a:hover { color: #fff; }
@media (max-width: 1000px) { .mega__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px) { .mega__grid { grid-template-columns: repeat(2, 1fr); } }

/* ---------------------------- Floating ------------------------------ */
.to-top, .chat {
  position: fixed; right: 1.3rem; z-index: 100; width: 50px; height: 50px; border-radius: 50%;
  display: grid; place-items: center; box-shadow: 0 16px 34px -18px rgba(21,19,15,.65);
  transition: transform .4s var(--ease), opacity .4s var(--ease), background .3s var(--ease), color .3s var(--ease);
}
.to-top { bottom: 5.4rem; background: rgba(255,255,255,.94); border: 1px solid var(--line); color: var(--ink); opacity: 0; transform: translateY(12px); pointer-events: none; }
.to-top.is-show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); color: var(--paper); }
.chat { bottom: 1.3rem; background: var(--ink); color: var(--paper); }
.chat:hover { transform: translateY(-3px); }
.to-top svg { width: 18px; height: 18px; } .chat svg { width: 22px; height: 22px; }

/* ------------------------------ Reveal ------------------------------ */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* =====================================================================
   Polish pass
   ===================================================================== */

/* Typography refinement */
h1, h2, h3, .display { font-optical-sizing: auto; }
.pcard__price, .hero__meta b { font-variant-numeric: tabular-nums; }

/* Film-grain texture for depth */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  opacity: .022; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 2px; width: 0; z-index: 130;
  background: linear-gradient(90deg, var(--clay), var(--gold));
  box-shadow: 0 0 14px rgba(201,154,60,.55);
  transition: width .12s linear;
}

/* Hero scroll cue */
.hero__cue {
  position: absolute; left: 50%; bottom: clamp(1.6rem, 3.4vw, 2.8rem); transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: .7rem;
  color: rgba(245,243,239,.78); font-size: .6rem; letter-spacing: .32em; text-transform: uppercase;
}
.hero__cue i { position: relative; width: 1px; height: 46px; background: rgba(245,243,239,.28); overflow: hidden; }
.hero__cue i::after {
  content: ""; position: absolute; top: -60%; left: 0; width: 100%; height: 60%;
  background: #f5f3ef; animation: heroCue 2.6s var(--ease) infinite;
}
@keyframes heroCue { 0% { transform: translateY(0); } 100% { transform: translateY(280%); } }
@media (max-width: 760px) { .hero__cue { display: none; } }

/* Product card polish */
.pcard__media { border: 1px solid var(--line-2); transition: border-color .4s var(--ease), box-shadow .5s var(--ease); }
.pcard:hover .pcard__media { border-color: var(--line); box-shadow: 0 18px 42px -32px rgba(21,19,15,.4); }
.pcard__quick svg { width: 15px; height: 15px; }
.pcard__price { font-weight: 500; }

/* Image fade-in on load */
html.js .pcard__media img,
html.js .promo__tile img,
html.js .band__img img,
html.js .newsletter__media img,
html.js .mmenu__tile img,
html.js .craft__media--main img,
html.js .craft__media--small img { opacity: 0; }
html.js img.img-in { animation: imgFade .9s var(--ease) both; }
@keyframes imgFade { from { opacity: 0; } to { opacity: 1; } }

/* Assurance strip */
.assurance { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.assurance__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 3vw, 3rem); padding-block: clamp(2.2rem, 4vw, 3.4rem); }
.assurance__item { display: flex; align-items: flex-start; gap: 1rem; }
.assurance__item svg { flex: 0 0 auto; width: 28px; height: 28px; color: var(--clay); margin-top: 2px; }
.assurance__item h4 { font-size: .84rem; font-weight: 600; letter-spacing: .04em; }
.assurance__item p { font-size: .82rem; color: var(--muted); margin-top: .32rem; line-height: 1.55; }
@media (max-width: 1000px) { .assurance__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .assurance__grid { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Footer watermark wordmark */
.footer__mark {
  font-family: var(--font-display); font-weight: 600; text-align: center; user-select: none;
  font-size: clamp(2.8rem, 13vw, 10rem); line-height: .85; letter-spacing: -0.03em;
  color: var(--line-2); padding: clamp(1.4rem, 4vw, 3rem) var(--pad) clamp(.4rem, 1vw, 1rem);
  overflow: hidden; white-space: nowrap;
}

/* --------------------------- Category (PLP) -------------------------- */
.plp { padding-top: clamp(1.4rem, 3vw, 2.4rem); }
.plp__crumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .82rem; color: var(--muted); }
.plp__crumb a { color: var(--muted); transition: color .25s var(--ease); }
.plp__crumb a:hover { color: var(--ink); }
.plp__crumb .is-current { color: var(--ink); }

.plp__tiers { display: flex; flex-wrap: wrap; gap: .55rem; margin: 1.1rem 0 1.4rem; }
.plp__tier {
  padding: .5rem 1.15rem; border-radius: 999px; border: 1px solid var(--line);
  background: transparent; color: var(--ink); font-size: .84rem; font-weight: 500;
  font-family: inherit; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.plp__tier:hover { border-color: var(--ink); }
.plp__tier.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.plp__bar { display: flex; align-items: center; justify-content: flex-end; margin-bottom: 1.1rem; }
.plp__filters { display: flex; flex-wrap: wrap; gap: .6rem; }
.plp__select {
  position: relative; display: inline-flex; align-items: center;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; padding: 0 .9rem 0 1rem; min-width: 118px;
}
.plp__select select {
  appearance: none; -webkit-appearance: none; border: 0; background: transparent;
  font-family: inherit; font-size: .86rem; font-weight: 500; color: var(--ink);
  padding: .72rem 1.3rem .72rem 0; width: 100%; cursor: pointer;
}
.plp__select svg { position: absolute; right: .7rem; width: 15px; height: 15px; color: var(--muted); pointer-events: none; }

.plp__promo {
  background: var(--ink); color: var(--paper); text-align: center;
  padding: 1rem; border-radius: var(--radius); font-size: clamp(.86rem, 1.4vw, 1.05rem);
  font-weight: 500; letter-spacing: .01em; margin-bottom: 1.6rem;
}

.plp__count { font-size: .84rem; color: var(--muted); margin-bottom: 1.1rem; }

.plp__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1rem, 1.8vw, 1.7rem) clamp(.9rem, 1.6vw, 1.5rem); }
@media (max-width: 1080px) { .plp__grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .plp__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .plp__grid { grid-template-columns: 1fr; } }

.plp-card { display: flex; flex-direction: column; }
.plp-card__media {
  position: relative; overflow: hidden; border-radius: var(--radius); aspect-ratio: 3 / 4;
  background: var(--paper-2); border: 1px solid var(--line-2);
}
.plp-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.plp-card:hover .plp-card__media img { transform: scale(1.05); }
.plp-card__add {
  position: absolute; left: .75rem; bottom: .75rem; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; border: 0;
  background: rgba(255,255,255,.94); color: var(--ink);
  display: grid; place-items: center; cursor: pointer;
  transition: background .3s var(--ease), color .3s var(--ease), transform .3s var(--ease);
}
.plp-card__add svg { width: 20px; height: 20px; }
.plp-card__add:hover { background: var(--ink); color: var(--paper); transform: translateY(-2px); }
.plp-card__row { display: flex; align-items: baseline; justify-content: space-between; gap: .8rem; margin-top: .8rem; }
.plp-card__name { font-size: .92rem; font-weight: 500; }
.plp-card__code { font-size: .78rem; color: var(--muted); white-space: nowrap; }
.plp-card__meta { display: inline-flex; align-items: center; gap: .25rem; font-size: .78rem; color: var(--muted); margin-top: .3rem; }
.plp-card__meta svg { width: 13px; height: 13px; }
.plp-card__price { font-size: .95rem; font-weight: 600; margin-top: .5rem; }
.plp__empty { text-align: center; color: var(--muted); padding: 3rem 0; }

/* ------------------------------ Buttons ----------------------------- */
.btn--dark { background: var(--ink); color: var(--paper); border: 1px solid var(--ink); }
.btn--dark:hover { background: var(--clay); border-color: var(--clay); }

/* --------------------------- Generic pages -------------------------- */
.page { padding-top: clamp(1.4rem, 3vw, 2.4rem); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page__title { font-size: clamp(1.9rem, 4.4vw, 3.2rem); font-weight: 500; margin: 1rem 0 1.6rem; }
.page__none { color: var(--muted); padding: 1.5rem 0; }
.page__search {
  display: flex; align-items: center; gap: .75rem; max-width: 640px;
  border: 1px solid var(--line); border-radius: 999px; padding: .4rem .4rem .4rem 1.1rem; background: #fff;
}
.page__search svg { color: var(--muted); flex: none; }
.page__search input { flex: 1; border: 0; background: transparent; font-family: inherit; font-size: .95rem; padding: .6rem 0; outline: none; }
.page__search button {
  border: 0; border-radius: 999px; background: var(--ink); color: var(--paper);
  padding: .7rem 1.4rem; font-family: inherit; font-weight: 600; font-size: .82rem; letter-spacing: .06em; text-transform: uppercase; cursor: pointer;
}
.page__search button:hover { background: var(--clay); }

/* ------------------------- Product (PDP) ---------------------------- */
.pdp { padding-top: clamp(1.4rem, 3vw, 2.4rem); padding-bottom: clamp(2rem, 5vw, 4rem); }
.pdp__crumb { margin-bottom: 1.4rem; }
.pdp__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(1.6rem, 4vw, 4rem); align-items: start; }
.pdp__gallery { display: grid; grid-template-columns: 84px 1fr; gap: .9rem; }
.pdp__thumbs { display: flex; flex-direction: column; gap: .6rem; }
.pdp__thumb { border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; aspect-ratio: 3 / 4; background: var(--paper-2); cursor: pointer; padding: 0; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb.is-on { border-color: var(--ink); }
.pdp__main { position: relative; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); aspect-ratio: 4 / 5; background: var(--paper-2); }
.pdp__main img { width: 100%; height: 100%; object-fit: cover; }
.pdp__badge {
  position: absolute; top: .9rem; left: .9rem; z-index: 2;
  font-size: .58rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600;
  background: rgba(20,19,15,.85); color: #fff; padding: .4rem .65rem; border-radius: 2px;
}
.pdp__info { max-width: 560px; }
.pdp__title { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 500; margin: .7rem 0 .3rem; }
.pdp__code { font-size: .82rem; color: var(--muted); }
.pdp__price { display: flex; align-items: baseline; gap: .7rem; margin: 1.1rem 0 .2rem; flex-wrap: wrap; }
.pdp__now { font-size: 1.5rem; font-weight: 600; }
.pdp__was { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.pdp__off { font-size: .72rem; font-weight: 600; letter-spacing: .05em; color: #fff; background: var(--clay); padding: .28rem .55rem; border-radius: 2px; }
.pdp__tax { font-size: .8rem; color: var(--muted); margin-bottom: 1.4rem; }
.pdp__opt { margin-bottom: 1.2rem; }
.pdp__opt-label { display: block; font-size: .82rem; margin-bottom: .6rem; }
.pdp__opt-label b { font-weight: 600; }
.pdp__colors { display: flex; gap: .55rem; }
.pdp__color { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--sw); padding: 0; cursor: pointer; position: relative; }
.pdp__color.is-on::after { content: ""; position: absolute; inset: -4px; border: 1px solid var(--ink); border-radius: 50%; }
.pdp__sizes { display: flex; flex-wrap: wrap; gap: .5rem; }
.pdp__size {
  min-width: 48px; padding: .6rem .8rem; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; font-family: inherit; font-size: .86rem; cursor: pointer; transition: all .25s var(--ease);
}
.pdp__size:hover { border-color: var(--ink); }
.pdp__size.is-on { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.pdp__buy { display: flex; gap: .6rem; margin: 1.5rem 0 1.2rem; }
.pdp__qty { display: flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; }
.pdp__qty button { width: 44px; height: 52px; border: 0; background: transparent; font-size: 1.1rem; cursor: pointer; color: var(--ink); }
.pdp__qty span { min-width: 34px; text-align: center; font-weight: 600; font-size: .95rem; }
.pdp__add { flex: 1; }
.pdp__wish { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; cursor: pointer; display: grid; place-items: center; transition: all .25s var(--ease); }
.pdp__wish svg { width: 20px; height: 20px; }
.pdp__wish:hover, .pdp__wish.is-on { background: var(--clay); color: #fff; border-color: var(--clay); }
.pdp__perks { list-style: none; display: grid; gap: .55rem; margin: 1.2rem 0 1.6rem; }
.pdp__perks li { display: flex; align-items: center; gap: .6rem; font-size: .84rem; color: var(--muted); }
.pdp__perks svg { width: 16px; height: 16px; color: var(--clay); flex: none; }
.pdp__acc { border-top: 1px solid var(--line-2); }
.pdp__acc-head { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 1rem 0; background: none; border: 0; font-family: inherit; font-size: .92rem; font-weight: 500; cursor: pointer; color: var(--ink); }
.pdp__acc-head svg { width: 16px; height: 16px; opacity: .5; transition: transform .3s var(--ease); }
.pdp__acc-head.is-on svg { transform: rotate(180deg); }
.pdp__acc-body { overflow: hidden; max-height: 0; transition: max-height .4s var(--ease); color: var(--muted); font-size: .88rem; }
.pdp__acc-body.is-on { max-height: 300px; }
.pdp__acc-body p { padding-bottom: 1rem; }
.pdp__related { padding-top: clamp(2rem, 5vw, 4rem); }

/* --------------------------- Cart drawer ---------------------------- */
.cartd { position: fixed; inset: 0; z-index: 150; pointer-events: none; }
.cartd__scrim { position: absolute; inset: 0; background: rgba(20,19,15,.5); opacity: 0; transition: opacity .5s var(--ease); }
.cartd__panel {
  position: absolute; top: 0; right: 0; height: 100%; width: min(92vw, 430px);
  background: var(--paper); transform: translateX(102%); transition: transform .55s var(--ease);
  display: flex; flex-direction: column;
}
.cartd.is-open { pointer-events: auto; }
.cartd.is-open .cartd__scrim { opacity: 1; }
.cartd.is-open .cartd__panel { transform: none; }
.cartd__top { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.4rem; border-bottom: 1px solid var(--line-2); }
.cartd__top h3 { font-size: 1.05rem; font-weight: 600; }
.cartd__n { color: var(--muted); font-weight: 400; }
.cartd__body { flex: 1; overflow-y: auto; padding: 1rem 1.4rem; }
.cartd__foot { border-top: 1px solid var(--line-2); padding: 1.2rem 1.4rem; }
.cartd__sub { display: flex; justify-content: space-between; font-size: 1rem; margin-bottom: .3rem; }
.cartd__sub b { font-weight: 600; }
.cartd__note { font-size: .76rem; color: var(--muted); margin-bottom: 1rem; }
.cartd__checkout { width: 100%; justify-content: center; }
.cartd__view { display: block; text-align: center; margin-top: .8rem; font-size: .84rem; color: var(--muted); }
.cartd__view:hover { color: var(--ink); }

/* ------------------------ Cart line item ---------------------------- */
.cline { display: flex; gap: .9rem; padding: .9rem 0; border-bottom: 1px solid var(--line-2); }
.cline__img { width: 76px; height: 95px; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); flex: none; }
.cline__img img { width: 100%; height: 100%; object-fit: cover; }
.cline__info { flex: 1; min-width: 0; }
.cline__name { font-size: .9rem; font-weight: 500; display: block; }
.cline__meta { font-size: .76rem; color: var(--muted); margin-top: .2rem; display: block; }
.cline__qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: var(--radius); margin-top: .55rem; }
.cline__qty button { width: 30px; height: 30px; border: 0; background: transparent; cursor: pointer; font-size: .95rem; }
.cline__qty span { min-width: 26px; text-align: center; font-size: .84rem; }
.cline__end { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; }
.cline__price { font-size: .9rem; font-weight: 600; white-space: nowrap; }
.cline__rm { border: 0; background: none; color: var(--muted); cursor: pointer; font-size: 1.1rem; line-height: 1; }
.cline__rm:hover { color: var(--clay); }

/* ---------------------------- Cart page ----------------------------- */
.cart2 { display: grid; grid-template-columns: 1fr 340px; gap: clamp(1.4rem, 4vw, 3rem); align-items: start; }
.cart2__list { min-height: 60px; }
.cart2__sum { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 90px; }
.cart2__sum h2 { font-size: 1.05rem; font-weight: 600; margin-bottom: 1rem; }
.cart2__row { display: flex; justify-content: space-between; font-size: .9rem; padding: .5rem 0; color: var(--muted); }
.cart2__row b { color: var(--ink); font-weight: 500; }
.cart2__row--total { border-top: 1px solid var(--line-2); margin-top: .4rem; padding-top: .9rem; font-size: 1rem; }
.cart2__row--total span, .cart2__row--total b { color: var(--ink); font-weight: 600; }
.cart2__note { font-size: .76rem; color: var(--muted); margin: .6rem 0 1rem; }
.cart2__btn { width: 100%; justify-content: center; }
.cart2__continue { display: block; text-align: center; margin-top: .9rem; font-size: .84rem; color: var(--muted); }
.cart2__continue:hover { color: var(--ink); }
.cart2__empty { color: var(--muted); padding: 2rem 0; }
.cart2__empty a { color: var(--clay); }

/* ---------------------------- Checkout ------------------------------ */
.co { display: grid; grid-template-columns: 1fr 360px; gap: clamp(1.4rem, 4vw, 3rem); align-items: start; }
.co__block { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.3rem; margin-bottom: 1.1rem; background: #fff; }
.co__block legend { font-size: .82rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); padding: 0 .4rem; }
.co__grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.co__field { display: flex; flex-direction: column; gap: .35rem; }
.co__field--full { grid-column: 1 / -1; }
.co__field span { font-size: .8rem; color: var(--muted); }
.co__field input { border: 1px solid var(--line); border-radius: var(--radius); padding: .75rem .9rem; font-family: inherit; font-size: .9rem; background: var(--paper); }
.co__field input:focus { outline: 2px solid rgba(177,80,42,.25); border-color: var(--clay); }
.co__radio { display: flex; align-items: center; gap: .7rem; border: 1px solid var(--line); border-radius: var(--radius); padding: .85rem 1rem; margin-bottom: .6rem; cursor: pointer; font-size: .9rem; }
.co__radio span { flex: 1; }
.co__radio b { color: var(--clay); font-weight: 600; }
.co__radio input { accent-color: var(--ink); width: 18px; height: 18px; }
.co__paynote { font-size: .78rem; color: var(--muted); margin-top: .4rem; }
.co__sum { background: #fff; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.4rem; position: sticky; top: 90px; }
.co__sum h2 { font-size: 1.05rem; font-weight: 600; margin-bottom: 1rem; }
.co__items { margin-bottom: .6rem; }
.co__items .cline__img { width: 56px; height: 70px; }
.co__place { width: 100%; justify-content: center; margin-top: 1rem; }
.co__secure { text-align: center; font-size: .76rem; color: var(--muted); margin-top: .7rem; }
.co__done { text-align: center; max-width: 520px; margin: 1rem auto; padding: clamp(2rem,6vw,4rem) 1rem; }
.co__tick { width: 64px; height: 64px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; margin: 0 auto 1.2rem; }
.co__tick svg { width: 30px; height: 30px; }
.co__done h2 { font-size: 1.8rem; font-weight: 500; margin-bottom: .6rem; }
.co__done p { color: var(--muted); margin-bottom: 1.4rem; }
.co__done b { color: var(--ink); }

/* ----------------------------- Account ------------------------------ */
.acct { display: grid; grid-template-columns: 280px 1fr; gap: clamp(1.4rem, 4vw, 3rem); align-items: start; }
.acct__side { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.3rem; background: #fff; }
.acct__user { display: flex; align-items: center; gap: .8rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line-2); margin-bottom: 1rem; }
.acct__avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 600; font-size: .9rem; }
.acct__user b { display: block; font-size: .92rem; }
.acct__user span { font-size: .78rem; color: var(--muted); }
.acct__tabs { display: flex; flex-direction: column; }
.acct__tab { text-align: left; border: 0; background: none; font-family: inherit; font-size: .9rem; padding: .7rem .6rem; border-radius: var(--radius); cursor: pointer; color: var(--muted); }
.acct__tab:hover { background: var(--paper); color: var(--ink); }
.acct__tab.is-on { background: var(--ink); color: var(--paper); }
.acct__tab--link { display: block; }
.acct__logout { width: 100%; margin-top: 1rem; border: 1px solid var(--line); background: none; border-radius: var(--radius); padding: .7rem; font-family: inherit; font-size: .85rem; cursor: pointer; }
.acct__logout:hover { border-color: var(--clay); color: var(--clay); }
.acct__panel { display: none; }
.acct__panel.is-on { display: block; }
.acct__panel h2 { font-size: 1.3rem; font-weight: 600; margin-bottom: 1.2rem; }
.acct__list { display: grid; gap: 0; border: 1px solid var(--line-2); border-radius: var(--radius); overflow: hidden; background: #fff; }
.acct__list > div { display: flex; justify-content: space-between; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line-2); font-size: .9rem; }
.acct__list > div:last-child { border-bottom: 0; }
.acct__list dt { color: var(--muted); }
.acct__order { display: flex; align-items: center; justify-content: space-between; gap: 1rem; border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1rem 1.1rem; margin-bottom: .7rem; background: #fff; flex-wrap: wrap; }
.acct__order div { display: flex; flex-direction: column; }
.acct__order b { font-size: .9rem; }
.acct__order span { font-size: .78rem; color: var(--muted); }
.acct__badge { font-size: .7rem; font-weight: 600; letter-spacing: .04em; background: #e7f0e6; color: #3a6b39; padding: .3rem .6rem; border-radius: 999px; }
.acct__badge--ship { background: #fbf0dd; color: #9a6a1e; }
.acct__addr { border: 1px solid var(--line-2); border-radius: var(--radius); padding: 1.1rem; margin-bottom: .7rem; background: #fff; }
.acct__addr b { font-size: .9rem; }
.acct__addr p { color: var(--muted); font-size: .88rem; margin: .35rem 0; }
.acct__addr span { font-size: .8rem; color: var(--muted); }
.acct__muted { color: var(--muted); }

/* ----------------------- Search overlay results --------------------- */
.search__results { margin-top: 1rem; max-height: 56vh; overflow-y: auto; }
.search__empty { margin-top: 1rem; color: var(--muted); font-size: .9rem; }
.sres { display: flex; gap: .9rem; align-items: center; padding: .7rem .6rem; border-radius: var(--radius); }
.sres:hover { background: var(--paper-2); }
.sres img { width: 54px; height: 68px; object-fit: cover; border-radius: var(--radius); background: var(--paper-2); flex: none; }
.sres__info { flex: 1; min-width: 0; }
.sres__name { display: block; font-size: .9rem; font-weight: 500; }
.sres__meta { display: block; font-size: .76rem; color: var(--muted); }
.sres__price { font-size: .88rem; font-weight: 600; white-space: nowrap; }

/* ----------------------- Responsive (mobile) ------------------------ */
@media (max-width: 1000px) {
  .cart2, .co, .acct { grid-template-columns: 1fr; }
  .cart2__sum, .co__sum { position: static; }
}
@media (max-width: 860px) {
  .pdp__grid { grid-template-columns: 1fr; gap: 1.6rem; }
  .pdp__gallery { grid-template-columns: 1fr; }
  .pdp__thumbs { flex-direction: row; order: 2; }
  .pdp__thumb { width: 72px; aspect-ratio: 3 / 4; }
  .pdp__main { order: 1; }
  .pdp__info { max-width: none; }
}
@media (max-width: 560px) {
  .co__grid { grid-template-columns: 1fr; }
  .pdp__buy { flex-wrap: wrap; }
  .pdp__add { flex-basis: 100%; order: -1; margin-bottom: .5rem; }
}
