/* ==========================================================================
   AXIS Collection — storefront
   Palette: smoke + white. Type: Archivo (variable width/weight).
   ========================================================================== */

:root {
  --white: #ffffff;
  --mist:  #ecedee;   /* section background, cool smoky white */
  --haze:  #d9dbdd;   /* card fills, borders */
  --fog:   #b4b7ba;   /* disabled, hairlines on dark */
  --smoke: #85898d;   /* secondary text on light */
  --ash:   #4a4d51;   /* body text */
  --soot:  #232528;   /* headings, dark sections */

  --radius-lg: 22px;
  --radius-md: 14px;
  --radius-pill: 999px;

  --gutter: clamp(16px, 3vw, 40px);
  --maxw: 1440px;
  --header-h: 76px;

  --font: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-fa: "Vazirmatn", "Archivo", Tahoma, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Persian: Vazirmatn, no letter-spacing (tracking breaks joined script), a bit more line-height. */
html[lang="fa"] body { font-family: var(--font-fa); line-height: 1.8; }
html[lang="fa"] .h2,
html[lang="fa"] .hero__title,
html[lang="fa"] .hero__kicker,
html[lang="fa"] .side-tab,
html[lang="fa"] .cat__label,
html[lang="fa"] .quote blockquote { letter-spacing: 0; text-transform: none; }
html[lang="fa"] .h2 { line-height: 1.35; font-weight: 500; }
html[lang="fa"] .hero__title { line-height: 1.3; font-weight: 500; font-size: clamp(38px, 5.4vw, 80px); }
html[lang="fa"] .hero__kicker { font-size: 14px; }
html[lang="fa"] .quote blockquote { line-height: 1.75; font-weight: 400; }
html[lang="fa"] .footer__title,
html[lang="fa"] .modal__title,
html[lang="fa"] .look__name,
html[lang="fa"] .drawer__nav a,
html[lang="fa"] .specs dt,
html[lang="fa"] .cat__label { font-weight: 400; }
html[lang="fa"] .side-tab { font-size: 13px; }

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--soot);
  color: var(--ash);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-variation-settings: "wdth" 100;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.is-locked { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure, blockquote, dl, dd { margin: 0; }

:focus-visible { outline: 2px solid var(--soot); outline-offset: 3px; border-radius: 6px; }
.footer :focus-visible, .quotes :focus-visible, .hero :focus-visible { outline-color: var(--white); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--white); color: var(--soot); padding: 10px 16px; border-radius: 8px;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Type ---------- */
.h2 {
  color: var(--soot);
  font-size: clamp(28px, 3.4vw, 46px);
  line-height: 1.05;
  font-weight: 400;
  font-variation-settings: "wdth" 112;
  letter-spacing: -0.015em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 26px;
  border-radius: var(--radius-pill);
  font-size: 15px; font-weight: 500; letter-spacing: .01em;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: scale(.98); }
.btn--dark { background: var(--soot); color: var(--white); }
.btn--dark:hover { background: var(--ash); }
.btn--light { background: var(--white); color: var(--soot); }
.btn--light:hover { background: var(--mist); }
.btn--ghost-light { border: 1px solid rgba(255,255,255,.55); color: var(--white); }
.btn--ghost-light:hover { background: rgba(255,255,255,.12); border-color: var(--white); }
.btn--block { width: 100%; }
.btn--outline { border: 1px solid var(--haze); color: var(--soot); }
.btn--outline:hover { border-color: var(--soot); }
.follow { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.follow--stack { flex-direction: column; }

.icon-btn {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: var(--radius-pill);
  transition: background-color .2s var(--ease);
}
.icon-btn:hover { background: var(--mist); }
.icon-btn svg, .round-btn svg, .cat__go svg, .trust svg, .search__bar > svg {
  width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round;
}

.round-btn {
  display: inline-grid; place-items: center;
  width: 50px; height: 50px; border-radius: var(--radius-pill);
  border: 1px solid var(--haze); background: var(--white); color: var(--soot);
  transition: background-color .2s var(--ease), border-color .2s var(--ease), opacity .2s;
}
.round-btn:hover:not(:disabled) { border-color: var(--soot); }
.round-btn:disabled { opacity: .35; cursor: default; }
.round-btn--light { background: transparent; color: var(--white); border-color: rgba(255,255,255,.4); }
.round-btn--light:hover:not(:disabled) { border-color: var(--white); }

/* ---------- Announcement ---------- */
.announce {
  background: var(--soot); color: var(--fog);
  font-size: 13px; letter-spacing: .02em;
  overflow: hidden; height: 40px; display: flex; align-items: center;
}
.announce__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.announce__list { display: flex; }
.announce__list li { padding: 0 34px; position: relative; white-space: nowrap; }
.announce__list li::after {
  content: ""; position: absolute; inset-inline-end: -2px; top: 50%; width: 4px; height: 4px;
  border-radius: 50%; background: var(--smoke); transform: translateY(-50%);
}
.announce:hover .announce__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes marquee-rtl { to { transform: translateX(50%); } }
[dir="rtl"] .announce__track { animation-name: marquee-rtl; }
@media (prefers-reduced-motion: reduce) { .announce__track { animation: none; } }

/* ---------- Page shell ---------- */
.page {
  background: var(--white);
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  overflow: clip;
}

/* ---------- Header ---------- */
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 40;
  background: rgba(255,255,255,.88);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  transition: box-shadow .3s var(--ease);
}
.header.is-scrolled { box-shadow: 0 1px 0 var(--haze); }
.header__inner {
  max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter);
  height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
}
.logo { display: inline-flex; align-items: center; gap: 12px; justify-self: start; }
.logo__mono { width: auto; height: 34px; }
.logo__word { width: auto; height: 22px; }
.nav { display: flex; gap: 34px; font-size: 15px; color: var(--soot); }
.nav a { position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav a:hover::after { transform: scaleX(1); transform-origin: left; }
.header__actions { display: flex; align-items: center; gap: 4px; justify-self: end; color: var(--soot); }
.lang-btn {
  height: 34px; min-width: 42px; padding: 0 12px; margin-inline-end: 6px;
  border: 1px solid var(--haze); border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; color: var(--soot);
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.lang-btn[lang="fa"] { font-family: var(--font-fa); font-size: 15px; font-weight: 500; }
.lang-btn:hover { border-color: var(--soot); }
.lang-btn--wide { width: 100%; height: 46px; margin: 0 0 18px; font-size: 15px; }
.lang-btn--wide span[lang="fa"] { font-family: var(--font-fa); }
.header__burger { display: none; }
.bag-btn { position: relative; }
.bag-btn__count {
  position: absolute; top: 3px; right: 1px;
  min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
  background: var(--soot); color: var(--white);
  font-size: 11px; font-weight: 600; line-height: 18px; text-align: center;
}
.bag-btn.is-bumped .bag-btn__count { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.35); } }

/* ---------- Hero ---------- */
.hero { padding: 6px var(--gutter) 0; max-width: calc(var(--maxw) + 0px); margin: 0 auto; }
.hero__frame {
  position: relative; overflow: hidden;
  border-radius: var(--radius-lg);
  height: min(86vh, 820px); min-height: 560px;
  background: var(--ash);
  isolation: isolate;
}
.hero__img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 35%;
  filter: brightness(.9) saturate(.9);
  /* Mirror the photo when its people would land under the headline (set per photo via data-subject). */
  --flip: 1;
  transform: scaleX(var(--flip)) scale(1.06);
  animation: hero-settle 2.4s var(--ease) forwards;
}
[dir="ltr"] .hero__img[data-subject="left"],
[dir="rtl"] .hero__img[data-subject="right"] { --flip: -1; }
@keyframes hero-settle { to { transform: scaleX(var(--flip)) scale(1); } }
.hero__smoke { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }
.hero__shade {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(35,37,40,.15) 0%, rgba(35,37,40,0) 30%, rgba(35,37,40,.55) 100%),
    linear-gradient(90deg, rgba(35,37,40,.55) 0%, rgba(35,37,40,0) 55%);
}
[dir="rtl"] .hero__shade {
  background:
    linear-gradient(180deg, rgba(35,37,40,.15) 0%, rgba(35,37,40,0) 30%, rgba(35,37,40,.55) 100%),
    linear-gradient(270deg, rgba(35,37,40,.55) 0%, rgba(35,37,40,0) 55%);
}
/* Side layout: a portrait photo in a tall panel on the far side of the frame. Its top and
   inner edge dissolve into the smoke background through a mask, so it never shows a hard seam. */
.hero__frame[data-layout="side"] {
  background:
    radial-gradient(90% 80% at 18% 30%, #5d6064 0%, rgba(93,96,100,0) 60%),
    linear-gradient(160deg, var(--ash) 0%, var(--soot) 100%);
}
.hero__frame[data-layout="side"] .hero__img {
  inset-inline-start: auto; inset-inline-end: 0;
  width: 48%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 3%, #000 24%), linear-gradient(to left, #000 70%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 3%, #000 24%), linear-gradient(to left, #000 70%, transparent 100%);
  mask-composite: intersect;
}
[dir="rtl"] .hero__frame[data-layout="side"] .hero__img {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 3%, #000 24%), linear-gradient(to right, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, transparent 3%, #000 24%), linear-gradient(to right, #000 70%, transparent 100%);
}
.hero__frame[data-layout="side"] .hero__shade,
[dir="rtl"] .hero__frame[data-layout="side"] .hero__shade {
  background: linear-gradient(180deg, rgba(35,37,40,0) 62%, rgba(35,37,40,.5) 100%);
}

/* Bright photos (concrete, windows) need a deeper smoke behind the white headline. */
.hero__frame[data-tone="light"] .hero__shade {
  background:
    linear-gradient(180deg, rgba(35,37,40,.2) 0%, rgba(35,37,40,.05) 35%, rgba(35,37,40,.55) 100%),
    linear-gradient(90deg, rgba(35,37,40,.78) 0%, rgba(35,37,40,.45) 38%, rgba(35,37,40,0) 62%);
}
[dir="rtl"] .hero__frame[data-tone="light"] .hero__shade {
  background:
    linear-gradient(180deg, rgba(35,37,40,.2) 0%, rgba(35,37,40,.05) 35%, rgba(35,37,40,.55) 100%),
    linear-gradient(270deg, rgba(35,37,40,.78) 0%, rgba(35,37,40,.45) 38%, rgba(35,37,40,0) 62%);
}
.hero__content {
  position: absolute; z-index: 3;
  inset-inline-start: clamp(22px, 5vw, 72px); top: clamp(40px, 9vh, 110px);
  max-width: 520px; color: var(--white);
}
.hero__kicker {
  font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.75);
  margin-bottom: 22px;
}
.hero__title {
  font-size: clamp(44px, 6.6vw, 96px);
  line-height: .98; font-weight: 300; letter-spacing: -0.02em;
  font-variation-settings: "wdth" 118;
}
.hero__lede { margin-top: 22px; max-width: 38ch; font-size: 17px; color: rgba(255,255,255,.82); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* The one loud moment: the brand word, set like the logo — thin and wide-tracked. */
.hero__word {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: -0.16em;
  display: flex; justify-content: space-between;
  padding: 0 clamp(14px, 3vw, 44px);
  color: rgba(255,255,255,.9);
  font-size: clamp(110px, 24vw, 360px);
  line-height: 1; font-weight: 200;
  font-variation-settings: "wdth" 125;
  pointer-events: none; user-select: none;
  mix-blend-mode: soft-light;
}
.hero__word span { display: inline-block; opacity: 0; transform: translateY(40%); animation: rise 1.4s var(--ease) forwards; }
.hero__word span:nth-child(2) { animation-delay: .12s; }
.hero__word span:nth-child(3) { animation-delay: .24s; }
.hero__word span:nth-child(4) { animation-delay: .36s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__img { animation: none; transform: scaleX(var(--flip)); }
  .hero__word span { animation: none; opacity: 1; transform: none; }
}

/* ---------- Bands / section heads ---------- */
.band { padding: clamp(64px, 8vw, 112px) 0; }
.band--mist { background: var(--mist); }
.band--white { background: var(--white); }
.band__head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}
.band__head--center { flex-direction: column; align-items: center; text-align: center; }
.band__sub { margin-top: 12px; color: var(--smoke); max-width: 52ch; }
.carousel-nav { display: flex; gap: 10px; flex-shrink: 0; }

/* ---------- Product card ---------- */
.card { position: relative; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.card__media {
  position: relative; overflow: hidden;
  aspect-ratio: 4 / 5; border-radius: var(--radius-md);
  background: var(--haze);
}
.band--mist .card__media { background: var(--white); }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s var(--ease);
}
.card:hover .card__media img { transform: scale(1.04); }
.card__badges { position: absolute; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; pointer-events: none; }
.chip {
  display: inline-flex; align-items: center; gap: 5px;
  height: 26px; padding: 0 10px; border-radius: var(--radius-pill);
  background: rgba(255,255,255,.92); color: var(--soot);
  font-size: 12px; font-weight: 500;
}
.chip--dark { background: var(--soot); color: var(--white); }
.chip svg { width: 12px; height: 12px; fill: currentColor; }

.quick {
  position: absolute; left: 12px; right: 12px; bottom: 12px;
  padding: 12px; border-radius: 12px;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transform: translateY(calc(100% + 16px));
  transition: transform .45s var(--ease);
}
.card:hover .quick, .card:focus-within .quick { transform: none; }
.quick__label { font-size: 12px; color: var(--smoke); margin-bottom: 8px; }
.quick__sizes { display: flex; flex-wrap: wrap; gap: 6px; }
.size {
  min-width: 40px; height: 34px; padding: 0 10px; border-radius: 8px;
  border: 1px solid var(--haze); background: var(--white); color: var(--soot);
  font-size: 13px; font-weight: 500;
  transition: background-color .2s, color .2s, border-color .2s;
}
.size:hover { background: var(--soot); color: var(--white); border-color: var(--soot); }
.size--out, .size--out:hover { background: var(--white); color: var(--fog); border-color: var(--mist); text-decoration: line-through; cursor: not-allowed; }

.card__info { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.card__name { color: var(--soot); font-size: 15px; font-weight: 500; line-height: 1.3; }
.card__colour { display: block; color: var(--smoke); font-size: 13px; font-weight: 400; margin-top: 2px; }
.price { font-size: 15px; color: var(--soot); white-space: nowrap; text-align: end; }
.price s { display: block; color: var(--smoke); font-size: 13px; }
/* Toman amounts are long: put the price on its own line under the name. */
html[lang="fa"] .card__info { flex-direction: column; gap: 4px; }
html[lang="fa"] .card__info .price { text-align: start; }
html[lang="fa"] .price s { display: inline; margin-inline-start: 8px; }
html[lang="fa"] .look__meta { flex-direction: column; gap: 6px; }
html[lang="fa"] .look__meta .price { text-align: start; }

/* Touch devices: no hover, so show a compact add button instead of the sliding panel. */
@media (hover: none) {
  .quick { transform: none; position: static; margin-top: 0; padding: 0; background: none; backdrop-filter: none; }
  .quick__label { display: none; }
  .card__media { aspect-ratio: 4 / 5; }
  .card .quick { order: 3; }
}

/* ---------- Carousel ---------- */
.carousel {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: calc((100% - 3 * 20px) / 4);
  gap: 20px;
  overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
  padding-bottom: 4px;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
.carousel:focus-visible { outline-offset: 6px; }

/* ---------- Grid ---------- */
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 20px; }
.grid[hidden] { display: none; }
.grid.is-entering > * { animation: fade-in .5s var(--ease) both; }
.grid.is-entering > *:nth-child(n+5) { animation-delay: .06s; }
@keyframes fade-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .grid.is-entering > * { animation: none; } }

/* ---------- Tabs ---------- */
.tabs {
  display: inline-flex; gap: 4px; margin-top: 22px; padding: 4px;
  border-radius: var(--radius-pill); background: var(--mist);
}
.tab {
  height: 42px; padding: 0 22px; border-radius: var(--radius-pill);
  font-size: 15px; color: var(--smoke);
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.tab[aria-selected="true"] { background: var(--white); color: var(--soot); box-shadow: 0 1px 2px rgba(35,37,40,.08); }
.tab:hover { color: var(--soot); }

/* ---------- Categories ---------- */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cat {
  position: relative; overflow: hidden; isolation: isolate;
  aspect-ratio: 4 / 5; border-radius: var(--radius-md); background: var(--ash);
  color: var(--white);
}
.cat img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2;
  filter: brightness(.88);
  transition: transform 1s var(--ease), filter .6s var(--ease);
}
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 50%, rgba(35,37,40,.65)); }
.cat:hover img { transform: scale(1.05); filter: brightness(.78); }
.cat__label {
  position: absolute; inset-inline-start: 24px; bottom: 22px;
  font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; font-variation-settings: "wdth" 115; letter-spacing: .02em;
}
.cat__label sup { font-size: 12px; font-weight: 400; vertical-align: super; color: rgba(255,255,255,.7); margin-left: 2px; }
[dir="rtl"] .cat__go svg,
[dir="rtl"] .round-btn svg { transform: scaleX(-1); }
.cat__go {
  position: absolute; inset-inline-end: 20px; bottom: 20px;
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  transition: background-color .3s var(--ease), color .3s var(--ease);
}
.cat:hover .cat__go { background: var(--white); color: var(--soot); }

/* ---------- Story ---------- */
.story { background: var(--soot); color: var(--fog); padding: clamp(64px, 9vw, 128px) 0; }
.story__inner {
  display: grid; grid-template-columns: 5fr 6fr; grid-template-rows: auto auto;
  gap: clamp(24px, 4vw, 64px) clamp(24px, 5vw, 80px); align-items: center;
}
.story .h2 { color: var(--white); }
.story__media { overflow: hidden; border-radius: var(--radius-md); background: var(--ash); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__media--tall { grid-row: 1 / span 2; aspect-ratio: 4 / 5.6; }
.story__media--wide { aspect-ratio: 16 / 10; }
.story__text p { margin-top: 22px; max-width: 46ch; }
.specs {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px;
  margin: 34px 0 36px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.14);
}
.specs dt { color: var(--white); font-size: clamp(22px, 2.2vw, 30px); font-weight: 300; font-variation-settings: "wdth" 118; }
.specs dd { margin-top: 6px; font-size: 13px; line-height: 1.45; color: var(--fog); }
.story .btn--dark { background: var(--white); color: var(--soot); }
.story .btn--dark:hover { background: var(--mist); }

.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* ---------- Shop the look ---------- */
.look { display: grid; grid-template-columns: 7fr 4fr; gap: 20px; align-items: stretch; }
.look__media {
  position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--mist);
  aspect-ratio: 4 / 4.2;
}
.look__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hotspot {
  position: absolute; left: var(--x); top: var(--y);
  width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  background: rgba(255,255,255,.35); border: 1px solid rgba(255,255,255,.8);
  backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px);
}
.hotspot::before {
  content: ""; position: absolute; inset: 10px; border-radius: 50%; background: var(--white);
  transition: transform .3s var(--ease);
}
.hotspot::after {
  content: ""; position: absolute; inset: -1px; border-radius: 50%; border: 1px solid var(--white);
  animation: ping 2.4s var(--ease) infinite;
}
.hotspot[aria-pressed="true"]::before { background: var(--soot); transform: scale(1.2); }
@keyframes ping { 0% { transform: scale(1); opacity: .9; } 80%, 100% { transform: scale(1.9); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hotspot::after { animation: none; } }

.look__card {
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: clamp(20px, 2.4vw, 32px); border-radius: var(--radius-lg); background: var(--mist);
}
.look__card .card__media { background: var(--white); aspect-ratio: 1 / 1; }
.look__meta { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.look__name { color: var(--soot); font-size: 20px; font-weight: 400; font-variation-settings: "wdth" 110; }
.look__colour { color: var(--smoke); font-size: 14px; margin-top: 2px; }
.look__sizes { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.look__sizes .size[aria-pressed="true"] { background: var(--soot); color: var(--white); border-color: var(--soot); }
.look__hint { font-size: 13px; color: var(--smoke); margin-top: 10px; min-height: 1.4em; }

/* ---------- Quotes ---------- */
.quotes { background: var(--ash); color: var(--white); padding: clamp(64px, 8vw, 110px) 0; text-align: center; }
.quotes__stage { display: grid; max-width: 920px; margin: 0 auto; }
.quote { grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .6s var(--ease), visibility .6s; }
.quote.is-active { opacity: 1; visibility: visible; }
.quote blockquote {
  font-size: clamp(22px, 2.6vw, 34px); line-height: 1.35; font-weight: 300;
  font-variation-settings: "wdth" 108; letter-spacing: -0.005em; color: var(--white);
}
.quote figcaption { margin-top: 24px; font-size: 14px; color: var(--fog); }
.quotes__nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 36px; }
.quotes__count { font-size: 14px; color: var(--fog); min-width: 44px; font-variant-numeric: tabular-nums; }

/* ---------- Trust strip ---------- */
.trust { background: var(--mist); padding: 40px 0; }
.trust__inner { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.trust__item { display: flex; gap: 14px; align-items: flex-start; }
.trust__item + .trust__item { border-inline-start: 1px solid var(--haze); padding-inline-start: 24px; }
.trust svg { flex-shrink: 0; color: var(--soot); margin-top: 1px; }
.trust h3 { font-size: 15px; font-weight: 500; color: var(--soot); }
.trust p { font-size: 13px; color: var(--smoke); margin-top: 4px; line-height: 1.45; }

/* ---------- Footer ---------- */
.footer { background: var(--soot); color: var(--fog); padding: clamp(56px, 7vw, 96px) 0 28px; }
.footer__top { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; }
.footer__title { color: var(--white); font-size: clamp(26px, 2.6vw, 34px); font-weight: 300; font-variation-settings: "wdth" 115; }
.footer__join > p { margin-top: 12px; max-width: 40ch; }
.subscribe { position: relative; display: flex; gap: 8px; margin-top: 24px; max-width: 460px; flex-wrap: wrap; }
.subscribe input {
  flex: 1 1 220px; min-width: 0; height: 50px; padding: 0 20px;
  border-radius: var(--radius-pill); border: 1px solid rgba(255,255,255,.2);
  background: rgba(255,255,255,.06); color: var(--white);
}
.subscribe input::placeholder { color: var(--smoke); }
.subscribe input:focus { outline: none; border-color: var(--white); }
.subscribe input[aria-invalid="true"] { border-color: #e7b4b4; }
.subscribe__msg { flex-basis: 100%; font-size: 13px; min-height: 1.4em; color: var(--fog); }
.subscribe__msg.is-error { color: #f0c6c6; }
.subscribe--stack { flex-direction: column; }
.subscribe--stack input { flex: none; background: var(--white); border-color: var(--haze); color: var(--soot); }
.subscribe--stack input:focus { border-color: var(--soot); }
.subscribe--stack input[aria-invalid="true"] { border-color: #a94442; }
.subscribe--stack .subscribe__msg { color: var(--ash); }
.subscribe--stack .subscribe__msg.is-error { color: #a94442; }

.footer__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 480px; justify-self: end; width: 100%; }
.footer__cols h3 { color: var(--white); font-size: 14px; font-weight: 500; margin-bottom: 16px; }
.footer__cols li + li { margin-top: 10px; }
.footer__cols a { font-size: 14px; transition: color .2s; }
.footer__cols a:hover { color: var(--white); }
.text-link { color: var(--soot); text-decoration: underline; text-decoration-color: var(--fog); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.text-link:hover { text-decoration-color: var(--soot); }

.footer__brand {
  display: flex; flex-direction: column; align-items: center; gap: 36px;
  margin: clamp(56px, 7vw, 96px) 0 clamp(40px, 5vw, 64px);
  padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid rgba(255,255,255,.1);
}
.footer__brand > img { width: clamp(180px, 22vw, 300px); height: auto; }

/* Social row: Instagram + Telegram icon buttons with the phone number beside them. */
.social { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.social__title { font-size: 13px; color: var(--smoke); }
.social__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px; }
.social__btn {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22); color: var(--white);
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.social__btn:hover { background: var(--white); color: var(--soot); border-color: var(--white); transform: translateY(-2px); }
.social__btn svg, .social__phone svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.social__btn svg .fill { fill: currentColor; stroke: none; }
.social__phone {
  display: inline-flex; align-items: center; gap: 10px;
  height: 52px; padding: 0 22px; border-radius: var(--radius-pill);
  border: 1px solid rgba(255,255,255,.22); color: var(--white);
  font-size: 15px; font-variant-numeric: tabular-nums; letter-spacing: .02em;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.social__phone svg { width: 18px; height: 18px; }
.social__phone:hover { background: var(--white); color: var(--soot); border-color: var(--white); }
.social__btn--light, .social__phone--light { border-color: var(--haze); color: var(--soot); width: 46px; height: 46px; }
.social__phone--light { width: auto; height: 46px; padding: 0 18px; font-size: 14px; }
.social__btn--light:hover, .social__phone--light:hover { background: var(--soot); color: var(--white); border-color: var(--soot); }
.drawer__contact { padding: 20px 24px 28px; margin-top: auto; }
.drawer__contact .social__row { justify-content: flex-start; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; font-size: 13px; color: var(--smoke); }
.footer__bottom a + a { margin-inline-start: 18px; }
.footer__bottom a:hover { color: var(--white); }

/* ---------- Side tab ---------- */
.side-tab {
  position: fixed; left: 0; top: 50%; z-index: 30;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  padding: 18px 11px; border-radius: 0 12px 12px 0;
  background: var(--soot); color: var(--white);
  font-size: 12px; letter-spacing: .14em; text-transform: uppercase;
  border-radius: 12px 0 0 12px;
  transition: padding .25s var(--ease), background-color .25s;
}
.side-tab:hover { background: var(--ash); }
.side-tab.is-tucked { transform: translate(-110%, -50%) rotate(180deg); }
.side-tab { transition: background-color .25s, transform .4s var(--ease); }
[dir="rtl"] .side-tab { left: auto; right: 0; transform: translateY(-50%); }
[dir="rtl"] .side-tab.is-tucked { transform: translate(110%, -50%); }

/* ---------- Overlays ---------- */
.scrim {
  position: fixed; inset: 0; z-index: 60; background: rgba(35,37,40,.45);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .35s var(--ease);
}
.scrim.is-visible { opacity: 1; }

.drawer {
  position: fixed; top: 0; bottom: 0; z-index: 70;
  width: min(440px, 100vw); background: var(--white);
  display: flex; flex-direction: column;
  transition: transform .45s var(--ease), visibility .45s;
  visibility: hidden;
}
.drawer--end { inset-inline-end: 0; transform: translateX(100%); }
.drawer--start { inset-inline-start: 0; transform: translateX(-100%); width: min(360px, 88vw); }
[dir="rtl"] .drawer--end { transform: translateX(-100%); }
[dir="rtl"] .drawer--start { transform: translateX(100%); }
.drawer.is-open { transform: none; visibility: visible; }
.drawer__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 20px 18px 24px; border-bottom: 1px solid var(--mist);
}
.drawer__logo { height: 22px; width: auto; }
.drawer__title { color: var(--soot); font-size: 20px; font-weight: 400; font-variation-settings: "wdth" 110; }
.drawer__title span { color: var(--smoke); font-size: 15px; }
.drawer__nav { display: flex; flex-direction: column; padding: 16px 24px; }
.drawer__nav a {
  padding: 14px 0; border-bottom: 1px solid var(--mist);
  color: var(--soot); font-size: 22px; font-weight: 300; font-variation-settings: "wdth" 112;
}
.drawer__foot { margin-top: auto; padding: 20px 24px 24px; border-top: 1px solid var(--mist); }

.ship-meter { padding: 16px 24px; background: var(--mist); font-size: 13px; color: var(--ash); }
.ship-meter__bar { height: 4px; border-radius: 2px; background: var(--haze); margin-top: 10px; overflow: hidden; }
.ship-meter__bar span { display: block; height: 100%; width: 0; background: var(--soot); border-radius: 2px; transition: width .6s var(--ease); }

.cart-list { flex: 1; overflow-y: auto; padding: 8px 24px; }
.cart-item { display: grid; grid-template-columns: 84px 1fr auto; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--mist); }
.cart-item img { width: 84px; height: 105px; object-fit: cover; border-radius: 10px; background: var(--mist); }
.cart-item__name { color: var(--soot); font-size: 15px; font-weight: 500; }
.cart-item__meta { color: var(--smoke); font-size: 13px; margin-top: 2px; }
.cart-item__price { color: var(--soot); font-size: 15px; text-align: end; white-space: nowrap; }
.qty { display: inline-flex; align-items: center; margin-top: 12px; border: 1px solid var(--haze); border-radius: var(--radius-pill); }
.qty button { width: 34px; height: 34px; display: grid; place-items: center; color: var(--soot); border-radius: 50%; }
.qty button:hover { background: var(--mist); }
.qty span { min-width: 22px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums; }
.cart-item__remove { display: block; margin-top: 10px; font-size: 13px; color: var(--smoke); text-decoration: underline; text-underline-offset: 3px; }
.cart-item__remove:hover { color: var(--soot); }
.cart-empty { padding: 48px 24px; text-align: center; color: var(--smoke); }
.cart-empty .btn { margin-top: 18px; }
.cart-empty[hidden], .drawer__foot[hidden], .ship-meter[hidden] { display: none; }
.cart-total { display: flex; justify-content: space-between; color: var(--soot); font-size: 17px; }
.cart-total strong { font-weight: 500; }
.cart-note { font-size: 13px; color: var(--smoke); margin: 6px 0 16px; }

.search {
  position: fixed; inset: 0 0 auto 0; z-index: 70;
  background: var(--white); max-height: 86vh; overflow-y: auto;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  transform: translateY(-100%); visibility: hidden;
  transition: transform .45s var(--ease), visibility .45s;
}
.search.is-open { transform: none; visibility: visible; }
.search__bar { display: flex; align-items: center; gap: 14px; height: 84px; border-bottom: 1px solid var(--mist); color: var(--soot); }
.search__bar input {
  flex: 1; min-width: 0; height: 52px; border: 0; background: none; color: var(--soot);
  font-size: clamp(20px, 2.4vw, 28px); font-weight: 300; font-variation-settings: "wdth" 110;
}
.search__bar input:focus { outline: none; }
.search__bar input::-webkit-search-cancel-button { display: none; }
.search__results { padding-top: 28px; padding-bottom: 36px; }
.search__results .grid { gap: 28px 16px; grid-template-columns: repeat(5, minmax(0, 1fr)); }
.search__empty { color: var(--smoke); }
.search__label { font-size: 13px; color: var(--smoke); margin-bottom: 16px; }

.modal {
  position: fixed; z-index: 80; left: 50%; top: 50%;
  width: min(860px, calc(100vw - 32px)); max-height: calc(100vh - 32px); overflow: auto;
  display: grid; grid-template-columns: 1fr 1fr;
  background: var(--white); border-radius: var(--radius-lg);
  transform: translate(-50%, -46%); opacity: 0; visibility: hidden;
  transition: transform .45s var(--ease), opacity .35s var(--ease), visibility .45s;
}
.modal.is-open { transform: translate(-50%, -50%); opacity: 1; visibility: visible; }
.modal__media { background: var(--soot); min-height: 100%; }
.modal__media img { width: 100%; height: 100%; object-fit: cover; }
.modal__body { position: relative; padding: clamp(28px, 4vw, 48px); display: flex; flex-direction: column; justify-content: center; }
.modal__close { position: absolute; top: 12px; inset-inline-end: 12px; }
.modal__title { color: var(--soot); font-size: clamp(26px, 3vw, 36px); line-height: 1.1; font-weight: 300; font-variation-settings: "wdth" 115; padding-inline-end: 32px; }
html[lang="fa"] .modal__title { line-height: 1.45; }
.modal__body > p { margin-top: 14px; color: var(--ash); }

.toast {
  position: fixed; z-index: 90; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom, 0px));
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  padding: 14px 22px; border-radius: var(--radius-pill);
  background: var(--soot); color: var(--white); font-size: 14px;
  transition: transform .35s var(--ease), opacity .35s var(--ease);
}
.toast.is-visible { transform: translate(-50%, 0); opacity: 1; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { gap: 22px; font-size: 14px; }
  .carousel { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .grid, .grid--4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .search__results .grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .trust__inner { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .trust__item:nth-child(3) { border-inline-start: 0; padding-inline-start: 0; }
}

@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .header__inner { grid-template-columns: auto 1fr auto; gap: 8px; }
  .header__burger { display: inline-grid; }
  .nav { display: none; }
  .logo { justify-self: center; }
  .logo__mono { height: 28px; }
  .logo__word { display: none; }
  .icon-btn--hide-sm { display: none; }

  .hero__frame { height: 78vh; min-height: 520px; }
  .hero__content { inset-inline-end: 22px; }
  /* On phones the portrait photo fills the frame and the copy moves to the bottom, below the face. */
  .hero__frame[data-layout="side"] .hero__img,
  [dir="rtl"] .hero__frame[data-layout="side"] .hero__img {
    width: 100%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 6%, #000 24%, #000 46%, rgba(0,0,0,.25) 78%);
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 6%, #000 24%, #000 46%, rgba(0,0,0,.25) 78%);
  }
  .hero__frame[data-layout="side"] { height: 88vh; min-height: 600px; }
  .hero__frame[data-layout="side"] .hero__content { top: auto; bottom: 64px; }
  .hero__frame[data-layout="side"] .hero__kicker { margin-bottom: 10px; }
  .hero__frame[data-layout="side"] .hero__lede { margin-top: 12px; font-size: 15px; }
  .hero__frame[data-layout="side"] .hero__cta { flex-wrap: nowrap; margin-top: 20px; gap: 8px; }
  .hero__frame[data-layout="side"] .hero__cta .btn { min-height: 44px; padding: 0 16px; font-size: 14px; }
  .hero__shade {
    background: linear-gradient(180deg, rgba(35,37,40,.55) 0%, rgba(35,37,40,.15) 45%, rgba(35,37,40,.6) 100%);
  }

  .carousel { grid-auto-columns: 46%; gap: 14px; }
  .grid, .grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .cat__label { inset-inline-start: 14px; inset-inline-end: 14px; bottom: 14px; font-size: 18px; }
  .cat__go { display: none; }
  .tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; height: 38px; padding: 0 12px; font-size: 14px; }
  /* Toman prices are long: always put the price on its own line under the name on small screens. */
  .card__info { flex-direction: column; gap: 4px; }
  .card__info .price { text-align: start; }
  .price s { display: inline; margin-inline-start: 8px; }

  .story__inner { grid-template-columns: 1fr; }
  .story__media--tall { grid-row: auto; aspect-ratio: 4 / 4.4; }
  .specs { grid-template-columns: 1fr 1fr 1fr; gap: 14px; }

  .look { grid-template-columns: 1fr; }
  .look__card .card__media { aspect-ratio: 16 / 11; }

  .footer__top { grid-template-columns: 1fr; }
  .side-tab { display: none; }
  .modal { grid-template-columns: 1fr; }
  .modal__media { display: none; }
  .search__results .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 560px) {
  .band__head { flex-direction: column; align-items: flex-start; }
  .band__head--center { align-items: center; }
  .carousel-nav { display: none; }
  .carousel { grid-auto-columns: 72%; }
  .trust__inner { grid-template-columns: 1fr; }
  .trust__item + .trust__item { border-inline-start: 0; padding-inline-start: 0; }
  .specs { grid-template-columns: 1fr; }
  .footer__cols { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; }
  .hero__title { font-size: 46px; }
  .side-tab { display: none; }
}

/* ==========================================================================
   Product page (?p=<id>)
   ========================================================================== */
.card__link { display: block; width: 100%; height: 100%; }
.card__name a { color: inherit; }
.card__name a:hover { text-decoration: underline; text-underline-offset: 3px; }
.card .quick, .card__badges { z-index: 1; }

.pdp { background: var(--white); padding: 24px 0 clamp(56px, 7vw, 96px); }
.pdp__crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--smoke); margin-bottom: 20px; }
.pdp__crumbs a:hover { color: var(--soot); }
.pdp__crumbs [aria-current] { color: var(--soot); }

.pdp__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); align-items: start; }

.pdp__gallery { display: grid; gap: 12px; min-width: 0; }
.pdp__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 100%;
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  border-radius: var(--radius-lg); background: var(--mist);
}
.pdp__track::-webkit-scrollbar { display: none; }
.pdp__slide { margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 5; }
.pdp__slide img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumbs { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.pdp__thumb { flex: 0 0 72px; aspect-ratio: 4 / 5; border-radius: 10px; overflow: hidden; border: 2px solid transparent; background: var(--mist); padding: 0; }
.pdp__thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp__thumb[aria-current="true"] { border-color: var(--soot); }

.pdp__info { position: sticky; top: calc(var(--header-h) + 20px); display: grid; gap: 14px; min-width: 0; }
.pdp__badge:empty { display: none; }
.pdp__badge .chip span:empty { display: none; }
.pdp__name { color: var(--soot); font-size: clamp(26px, 2.8vw, 38px); line-height: 1.15; font-weight: 400; font-variation-settings: "wdth" 112; }
html[lang="fa"] .pdp__name { line-height: 1.5; font-weight: 500; }
.pdp__colour { color: var(--smoke); }
.pdp__price .price { font-size: 20px; text-align: start; }
.pdp__price .price s { display: inline; margin-inline-start: 10px; font-size: 15px; }
.pdp__sizes-head { display: flex; justify-content: space-between; align-items: baseline; margin-top: 6px; color: var(--soot); font-weight: 500; }
.link-btn { color: var(--smoke); font-size: 14px; text-decoration: underline; text-underline-offset: 3px; }
.link-btn:hover { color: var(--soot); }
.pdp__sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp__sizes .size { min-width: 56px; height: 46px; font-size: 15px; }
.pdp__sizes .size[aria-checked="true"] { background: var(--soot); color: var(--white); border-color: var(--soot); }
.pdp__hint { min-height: 1.5em; font-size: 14px; color: var(--ash); }
.pdp__info .btn[disabled] { background: var(--haze); color: var(--smoke); cursor: not-allowed; }

.pdp__acc { border-top: 1px solid var(--mist); margin-top: 8px; }
.pdp__acc details { border-bottom: 1px solid var(--mist); }
.pdp__acc summary {
  list-style: none; cursor: pointer; padding: 16px 0; color: var(--soot); font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
}
.pdp__acc summary::-webkit-details-marker { display: none; }
.pdp__acc summary::after { content: "+"; font-size: 20px; font-weight: 300; color: var(--smoke); transition: transform .25s var(--ease); }
.pdp__acc details[open] summary::after { transform: rotate(45deg); }
.pdp__acc details > :not(summary) { margin: 0 0 16px; color: var(--ash); }
.pdp__acc ul { padding-inline-start: 18px; display: grid; gap: 6px; }
.pdp__acc ul li { list-style: disc; }
.pdp__table { width: 100%; border-collapse: collapse; font-size: 14px; font-variant-numeric: tabular-nums; }
.pdp__table th, .pdp__table td { padding: 8px 6px; text-align: start; border-bottom: 1px solid var(--mist); }
.pdp__table th { color: var(--smoke); font-weight: 500; }
.pdp__note { font-size: 13px; color: var(--smoke); }

.pdp__ask { display: grid; gap: 10px; margin-top: 6px; padding: 16px; border-radius: var(--radius-md); background: var(--mist); }
.pdp__ask p { color: var(--soot); font-weight: 500; }
.pdp__ask-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp__ask .btn { min-height: 42px; padding: 0 18px; font-size: 14px; background: var(--white); }

.pdp__related { margin-top: clamp(56px, 7vw, 96px); display: grid; gap: 28px; }
.pdp__missing { display: grid; gap: 20px; justify-items: start; padding-block: 80px; font-size: 18px; color: var(--soot); }

@media (max-width: 860px) {
  .pdp { padding-top: 16px; }
  .pdp__grid { grid-template-columns: 1fr; }
  .pdp__info { position: static; }
  .pdp__track { border-radius: var(--radius-md); }
  .pdp__related .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ==========================================================================
   Checkout inside the cart drawer: bag -> delivery details -> order placed
   ========================================================================== */
.cart-step { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.cart-step[hidden] { display: none; }

.checkout__body { flex: 1; min-height: 0; overflow-y: auto; padding: 16px 24px 8px; display: grid; gap: 14px; align-content: start; }
.checkout__back { justify-self: start; }
.checkout__title { color: var(--soot); font-size: 18px; font-weight: 500; }
.cfield { display: grid; gap: 6px; font-size: 14px; color: var(--ash); }
.cfield input, .cfield select, .cfield textarea {
  width: 100%; min-height: 46px; padding: 10px 14px;
  border: 1px solid var(--haze); border-radius: 12px; background: var(--white);
  font: inherit; font-size: 15px; color: var(--soot);
}
.cfield textarea { min-height: 72px; resize: vertical; line-height: 1.7; }
.cfield input:focus, .cfield select:focus, .cfield textarea:focus { outline: none; border-color: var(--soot); }
.cfield [aria-invalid="true"] { border-color: #a94442; }
.cfield small { font-size: 12px; color: var(--smoke); }
.cfield-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.checkout__summary { background: var(--mist); border-radius: var(--radius-md); padding: 14px 16px; display: grid; gap: 8px; font-size: 14px; }
.checkout__summary h4 { margin: 0; color: var(--soot); font-size: 14px; font-weight: 500; }
.checkout__summary ul { display: grid; gap: 8px; padding-bottom: 8px; border-bottom: 1px solid var(--haze); }
.checkout__summary li, .checkout__row { display: flex; justify-content: space-between; gap: 12px; color: var(--ash); }
.checkout__summary li small { display: block; color: var(--smoke); font-size: 12px; }
.checkout__summary li > span:last-child, .checkout__row > :last-child { white-space: nowrap; font-variant-numeric: tabular-nums; }
.checkout__row--total { color: var(--soot); font-size: 15px; padding-top: 4px; }
.checkout__row--total strong { font-weight: 600; }
.checkout__pay { font-size: 13px; color: var(--ash); }
.checkout__privacy { font-size: 12px; color: var(--smoke); }
.checkout__error { min-height: 1.4em; margin: 0 0 10px; font-size: 13px; color: #a94442; }
.cart-step .btn[disabled] { opacity: .6; cursor: progress; }

.checkout-done__body { flex: 1; display: grid; gap: 12px; justify-items: center; align-content: center; text-align: center; padding: 32px 28px; color: var(--ash); }
.checkout-done__body h3 { color: var(--soot); font-size: 22px; font-weight: 500; }
.checkout-done__mark { width: 64px; height: 64px; fill: none; stroke: var(--soot); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.checkout-done__number { color: var(--soot); font-size: 17px; font-weight: 500; }

@media (max-width: 400px) {
  .cfield-row { grid-template-columns: 1fr; }
}

/* Persian headline is wider than the English one: give it room so it stays on two lines */
html[lang="fa"] .hero__content { max-width: 680px; }

/* ---------------------------------------------------------------- About / privacy pages */
.doc { background: var(--white); padding: 24px 0 clamp(56px, 7vw, 96px); }
.doc__wrap { max-width: 780px; }
.doc__head { padding: clamp(12px, 3vw, 32px) 0 clamp(20px, 3vw, 32px); border-bottom: 1px solid var(--haze); margin-bottom: 8px; }
.doc__title { font-size: clamp(34px, 5vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -.02em; color: var(--soot); }
.doc__updated { font-size: 13px; color: var(--smoke); margin-top: 12px; }
.doc__lead { font-size: clamp(17px, 1.6vw, 20px); color: var(--ash); margin-top: 18px; max-width: 60ch; line-height: 1.6; }
.doc__section { padding: 26px 0; border-bottom: 1px solid var(--mist); }
.doc__section h2,
.doc__contact h2 { font-size: 19px; font-weight: 650; color: var(--soot); margin-bottom: 10px; }
.doc__section p { color: var(--ash); line-height: 1.7; max-width: 66ch; }
.doc__section p + p { margin-top: 10px; }
.doc__section ul { margin: 4px 0 10px; padding-inline-start: 0; list-style: none; }
.doc__section li { position: relative; padding-inline-start: 20px; color: var(--ash); line-height: 1.7; }
.doc__section li + li { margin-top: 6px; }
.doc__section li::before { content: ""; position: absolute; inset-inline-start: 4px; top: .75em; width: 6px; height: 6px; border-radius: 50%; background: var(--fog); }
.doc__contact { margin-top: 32px; padding: 26px; background: var(--mist); border-radius: var(--radius-lg); }
.doc__links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
html[lang="fa"] .doc__title { letter-spacing: 0; line-height: 1.3; }
html[lang="fa"] .doc__section p,
html[lang="fa"] .doc__section li { line-height: 2; }
html[lang="fa"] .doc__section li::before { top: 1em; }
@media (max-width: 600px) {
  .doc { padding-top: 16px; }
  .doc__contact { padding: 20px; }
  .doc__links .btn { flex: 1 1 100%; justify-content: center; }
}
.checkout__privacy a { color: var(--ash); text-decoration: underline; text-underline-offset: 3px; }
