/* ============================================================
   MORC — Premium shoe store (PWA-ready)
   • Light / Dark via [data-theme]
   • AR (RTL) / EN (LTR)
   • Mobile = app shell (top bar + bottom tab bar)
   ============================================================ */

:root {
  /* Fixed brand constants (NOT themed) — MORC wine-red premium palette */
  --ink: #0b0b0d; /* Primary Black */
  --ink-2: #171717; /* Secondary Black */
  --ink-3: #2c2c2c; /* Dark Gray */
  --cream: #ffffff; /* light text used on always-dark sections */
  --gold: #a10f47; /* Primary Accent — Wine Red */
  --gold-2: #7a0c36; /* Accent Dark */
  --gold-soft: #d74f82; /* Accent Soft */
  --sale: #d63939; /* Error / sale pop */

  /* Themed tokens — LIGHT (default) */
  --bg: #f4f4f4;
  --surface: #ffffff;
  --surface-2: #ededed;
  --text: #0b0b0d;
  --muted: #5b5b5b;
  --line: #d9d9d9;
  --field: #ffffff;
  --header-bg: rgba(244, 244, 244, 0.85);
  --shadow: 0 18px 50px -24px rgba(11, 11, 13, 0.45);
  --shadow-sm: 0 8px 24px -16px rgba(11, 11, 13, 0.4);

  --radius: 18px;
  --radius-sm: 12px;
  --container: 1200px;
  --header-h: 74px;
  --tabbar-h: 66px;

  --font-sans: "Cairo", system-ui, sans-serif;
  --font-display: "Marcellus", "Cairo", serif;
  --font-latin: "Poppins", system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg: #0b0b0d;
  --surface: #171717;
  --surface-2: #2c2c2c;
  --text: #ffffff;
  --muted: #8e8e8e;
  --line: #2a2a2a;
  --field: #2c2c2c;
  --header-bg: rgba(11, 11, 13, 0.86);
  --shadow: 0 18px 50px -24px rgba(0, 0, 0, 0.7);
  --shadow-sm: 0 8px 24px -16px rgba(0, 0, 0, 0.65);
}

/* EN → use Latin display/sans */
html[lang="en"] {
  --font-sans: "Poppins", system-ui, sans-serif;
}
html[lang="en"] .hero__title,
html[lang="en"] .section__title,
html[lang="en"] .promo__copy h2,
html[lang="en"] .story__copy h2,
html[lang="en"] .newsletter h2,
html[lang="en"] .cat__body h3 {
  font-family: var(--font-display);
}

* {
  box-sizing: border-box;
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background 0.3s, color 0.3s;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 22px;
}
.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gold-2);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow--dark {
  color: var(--gold-soft);
}
.accent {
  color: var(--gold);
  font-family: var(--font-display);
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s, color 0.25s;
  white-space: nowrap;
}
.btn:active {
  transform: scale(0.97);
}
.btn--gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  color: #ffffff;
  box-shadow: 0 12px 30px -12px rgba(161, 15, 71, 0.7);
}
.btn--gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 38px -12px rgba(161, 15, 71, 0.8);
}
.btn--ghost {
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--cream);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--cream);
}
.btn--dark {
  background: var(--cream);
  color: var(--ink);
}
.btn--dark:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
}

/* ── Announcement bar ── */
.announce {
  background: var(--ink);
  color: var(--cream);
  overflow: hidden;
  font-size: 13px;
}
.announce__track {
  display: flex;
  gap: 26px;
  align-items: center;
  white-space: nowrap;
  padding: 9px 0;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.announce .dot {
  color: var(--gold);
}
@keyframes marquee {
  from {
    transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
  }
}

/* ══ Header ══ */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s, background 0.3s;
}
.header--scrolled {
  box-shadow: var(--shadow-sm);
}
.header__inner {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
}
.nav {
  display: flex;
  gap: 24px;
  font-weight: 700;
  font-size: 15px;
  justify-self: start;
}
.nav a {
  position: relative;
  padding: 6px 0;
  transition: color 0.2s;
}
.nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width 0.28s;
}
.nav a:hover {
  color: var(--gold-2);
}
.nav a:hover::after {
  width: 100%;
}
.nav__sale {
  color: var(--sale);
}
.brand {
  justify-self: center;
  display: flex;
  align-items: center;
}
.brand__logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}
[data-theme="dark"] .brand__logo,
[data-theme="dark"] .drawer__logo {
  filter: brightness(0) invert(1);
}
.header__actions {
  display: flex;
  gap: 4px;
  align-items: center;
  justify-self: end;
}
.header__inner .header__burger {
  display: none;
  justify-self: start;
}
.icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text);
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}
.icon-btn:hover {
  background: var(--surface-2);
  color: var(--gold-2);
}
.icon-btn svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.toggle-lang__txt {
  font-family: var(--font-latin);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.5px;
}
.toggle-theme .ic-moon {
  display: none;
}
[data-theme="dark"] .toggle-theme .ic-sun {
  display: none;
}
[data-theme="dark"] .toggle-theme .ic-moon {
  display: block;
}
.cart-count {
  position: absolute;
  top: 3px;
  inset-inline-end: 3px;
  background: var(--gold);
  color: #ffffff;
  font-size: 10px;
  font-weight: 900;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  padding: 0 4px;
}

/* ══ Mobile drawer ══ */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 90;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s, visibility 0.3s;
  background: rgba(0, 0, 0, 0.5);
}
.drawer.is-open {
  visibility: visible;
  opacity: 1;
}
.drawer__panel {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: min(82%, 340px);
  background: var(--surface);
  padding: 20px;
  transform: translateX(-105%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
html[dir="rtl"] .drawer__panel {
  inset-inline-start: auto;
  inset-inline-end: 0;
  transform: translateX(105%);
}
.drawer.is-open .drawer__panel {
  transform: translateX(0);
}
.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.drawer__logo {
  height: 36px;
}
.drawer__nav {
  display: flex;
  flex-direction: column;
  padding-block: 10px;
}
.drawer__nav a {
  padding: 14px 6px;
  font-size: 17px;
  font-weight: 700;
  border-bottom: 1px solid var(--line);
}
.drawer__toggles {
  margin-top: auto;
  display: flex;
  gap: 10px;
}
.chip {
  flex: 1;
  padding: 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--surface-2);
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
}

/* ══ Hero ══ */
.hero {
  position: relative;
  background: radial-gradient(120% 120% at 80% 0%, var(--ink-2), var(--ink) 60%);
  color: var(--cream);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 85% 20%, rgba(161, 15, 71, 0.22), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(161, 15, 71, 0.1), transparent 40%);
  pointer-events: none;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding-block: 68px 82px;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: -0.5px;
  margin-bottom: 22px;
}
.hero__sub {
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  max-width: 460px;
  margin-bottom: 30px;
}
.hero__cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 44px;
}
.hero__stats {
  display: flex;
  gap: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}
.hero__stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold);
}
.hero__stats span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
}
.hero__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 30px;
  background: linear-gradient(160deg, rgba(161, 15, 71, 0.18), rgba(255, 255, 255, 0.02)), var(--ink-2);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, 0.4);
}
.hero__shoe {
  width: 86%;
  filter: drop-shadow(0 40px 45px rgba(0, 0, 0, 0.55));
  transform: rotate(-8deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.hero__visual:hover .hero__shoe {
  transform: rotate(-4deg) scale(1.04);
}
.hero__badge {
  position: absolute;
  top: 20px;
  inset-inline-start: 20px;
  background: var(--gold);
  color: #ffffff;
  font-weight: 900;
  font-size: 13px;
  padding: 7px 16px;
  border-radius: 999px;
  z-index: 2;
}
.hero__price-tag {
  position: absolute;
  bottom: 20px;
  inset-inline-end: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  color: var(--ink);
  border-radius: 16px;
  padding: 11px 16px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
}
.hero__price-tag-name {
  font-size: 13px;
  font-weight: 700;
}
.hero__price-tag-price {
  font-size: 18px;
  font-weight: 900;
  color: var(--gold-2);
}

/* ── Features ── */
.features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: -38px;
  position: relative;
  z-index: 5;
}
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: center;
  box-shadow: var(--shadow-sm);
}
.feature svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--gold-2);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.feature strong {
  display: block;
  font-size: 15px;
}
.feature span {
  font-size: 13px;
  color: var(--muted);
}

/* ── Sections ── */
.section {
  padding-block: 68px;
}
.section__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 400;
  letter-spacing: -0.4px;
}
.section__link {
  font-weight: 700;
  color: var(--gold-2);
  white-space: nowrap;
}
.section__link:hover {
  color: var(--gold);
}

/* ── Categories ── */
.cats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
}
.cat {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(to top, rgba(11, 11, 13, 0.82) 8%, rgba(11, 11, 13, 0.05) 60%),
    var(--img) center / cover no-repeat, var(--ink-2);
  display: flex;
  align-items: flex-end;
  transition: transform 0.35s;
}
.cat--lg {
  grid-row: span 2;
}
.cat:hover {
  transform: translateY(-4px);
}
.cat__body {
  padding: 22px;
  color: var(--cream);
  width: 100%;
}
.cat__kicker {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--gold-soft);
  text-transform: uppercase;
}
.cat__body h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin: 4px 0 8px;
}
.cat__cta {
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s, transform 0.3s;
}
.cat:hover .cat__cta {
  opacity: 1;
  transform: translateY(0);
}

/* ── Products ── */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
  display: flex;
  flex-direction: column;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--gold-soft);
}
.card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(150deg, var(--surface-2), var(--line));
  overflow: hidden;
}
.card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.card:hover .card__media img {
  transform: scale(1.06);
}
.card__tag {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
}
.card__tag--sale {
  background: var(--sale);
  color: #fff;
}
.card__fav {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.92);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--ink);
  transition: color 0.2s, transform 0.2s;
}
.card__fav svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
}
.card__fav.is-on {
  color: var(--sale);
}
.card__fav.is-on svg {
  fill: currentColor;
}
.card__fav:hover {
  transform: scale(1.12);
}
.card__body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.card__brand {
  font-size: 12px;
  color: var(--muted);
  font-weight: 700;
}
.card__name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
}
.card__rating {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: var(--muted);
}
.card__rating .stars {
  color: var(--gold);
  letter-spacing: 1px;
}
.card__foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 8px;
}
.card__price {
  display: flex;
  align-items: baseline;
  gap: 8px;
}
.card__price .now {
  font-size: 19px;
  font-weight: 900;
  color: var(--text);
}
.card__price .was {
  font-size: 13px;
  color: var(--muted);
  text-decoration: line-through;
}
.card__add {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: none;
  background: var(--ink);
  color: var(--cream);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: background 0.2s, transform 0.2s, color 0.2s;
  flex-shrink: 0;
}
[data-theme="dark"] .card__add {
  background: var(--gold);
  color: #ffffff;
}
.card__add svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.card__add:hover {
  background: var(--gold-2);
  color: #ffffff;
  transform: scale(1.06);
}

/* ── Promo ── */
.promo {
  background: linear-gradient(135deg, var(--ink), var(--ink-3));
  color: var(--cream);
  margin-block: 20px;
}
.promo__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 62px;
  flex-wrap: wrap;
}
.promo__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.5vw, 48px);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 14px;
}
.promo__copy p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 26px;
  max-width: 420px;
}
.promo__timer {
  display: flex;
  gap: 14px;
}
.promo__timer div {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 18px;
  text-align: center;
  min-width: 76px;
}
.promo__timer strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
}
.promo__timer span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.6);
}

/* ── Story ── */
.story {
  background: var(--surface-2);
}
.story__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
  padding-block: 78px;
}
.story__media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: linear-gradient(150deg, var(--ink-2), var(--ink-3));
}
.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.story__media--fallback img {
  display: none;
}
.story__copy h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 400;
  margin-bottom: 16px;
}
.story__copy p {
  color: var(--muted);
  margin-bottom: 22px;
  max-width: 480px;
}
.story__list {
  list-style: none;
  padding: 0;
  margin-bottom: 30px;
  display: grid;
  gap: 12px;
}
.story__list li {
  position: relative;
  padding-inline-start: 30px;
  font-weight: 600;
}
.story__list li::before {
  content: "✓";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 22px;
  height: 22px;
  background: var(--gold);
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 12px;
  font-weight: 900;
}

/* ── Newsletter ── */
.newsletter {
  background: radial-gradient(90% 120% at 50% 0%, var(--ink-2), var(--ink));
  color: var(--cream);
  text-align: center;
}
.newsletter__inner {
  padding-block: 72px;
  max-width: 620px;
}
.newsletter h2 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 400;
  margin-bottom: 10px;
}
.newsletter p {
  color: rgba(255, 255, 255, 0.72);
  margin-bottom: 26px;
}
.newsletter__form {
  display: flex;
  gap: 10px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 8px;
  border-radius: 999px;
}
.newsletter__form input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--cream);
  font-family: inherit;
  font-size: 15px;
  padding-inline: 18px;
}
.newsletter__form input::placeholder {
  color: rgba(255, 255, 255, 0.5);
}
.newsletter__note {
  margin-top: 14px;
  min-height: 20px;
  color: var(--gold-soft);
  font-size: 14px;
  font-weight: 700;
}

/* ── Footer ── */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.72);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 34px;
  padding-block: 58px 38px;
}
.footer__logo {
  height: 38px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer__brand p {
  max-width: 320px;
  font-size: 14px;
}
.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}
.socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: grid;
  place-items: center;
  color: var(--cream);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}
.socials svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
}
.socials a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: #ffffff;
  transform: translateY(-2px);
}
.footer__col h4 {
  color: var(--cream);
  font-size: 15px;
  margin-bottom: 16px;
}
.footer__col a {
  display: block;
  font-size: 14px;
  padding: 5px 0;
  transition: color 0.2s;
}
.footer__col a:hover {
  color: var(--gold);
}
.footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 13px;
  flex-wrap: wrap;
}
.pay {
  display: flex;
  gap: 8px;
}
.pay span {
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 3px 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--cream);
  font-family: var(--font-latin);
}

/* ══ Mobile bottom tab bar (hidden on desktop) ══ */
.tabbar {
  display: none;
}

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ════════════════ RESPONSIVE ════════════════ */
@media (max-width: 1000px) {
  .hero__grid {
    grid-template-columns: 1fr;
    padding-block: 44px 56px;
  }
  .hero__visual {
    max-width: 420px;
    order: -1;
  }
  .features {
    grid-template-columns: repeat(2, 1fr);
  }
  .cats {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 210px;
  }
  .cat--lg {
    grid-row: span 1;
  }
  .products {
    grid-template-columns: repeat(3, 1fr);
  }
  .story__inner {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ══ Mobile: turn into an app shell ══ */
@media (max-width: 720px) {
  :root {
    --header-h: 58px;
  }
  .announce {
    display: none;
  }
  .nav {
    display: none;
  }
  .header__hide-sm {
    display: none;
  }
  .header__inner .header__burger {
    display: grid;
  }
  .header__inner {
    grid-template-columns: auto 1fr auto;
    gap: 8px;
  }
  .brand {
    justify-self: center;
  }
  .brand__logo {
    height: 32px;
  }
  .header__actions {
    gap: 0;
  }
  .icon-btn {
    width: 40px;
    height: 40px;
  }

  /* content clears the bottom tab bar */
  main {
    padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
  }

  .hero {
    border-radius: 0 0 26px 26px;
  }
  .hero__title {
    font-size: clamp(34px, 11vw, 52px);
  }
  .hero__stats {
    gap: 20px;
  }
  .hero__stats strong {
    font-size: 22px;
  }
  .features {
    grid-template-columns: 1fr 1fr;
    margin-top: -28px;
    gap: 12px;
  }
  .feature {
    padding: 14px;
  }
  .section {
    padding-block: 44px;
  }
  .products {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
  .promo__inner {
    padding-block: 44px;
    gap: 26px;
  }
  .promo__timer {
    gap: 8px;
  }
  .promo__timer div {
    min-width: 0;
    flex: 1;
    padding: 12px 6px;
  }
  .promo__timer strong {
    font-size: 26px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding-block: 40px 24px;
  }
  .footer__brand {
    grid-column: 1 / -1;
  }
  .newsletter__form {
    flex-direction: column;
    border-radius: 20px;
  }
  .newsletter__form input {
    padding-block: 12px;
    text-align: center;
  }

  /* Bottom tab bar */
  .tabbar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    position: fixed;
    inset-inline: 0;
    bottom: 0;
    z-index: 60;
    height: calc(var(--tabbar-h) + env(safe-area-inset-bottom, 0px));
    padding-bottom: env(safe-area-inset-bottom, 0px);
    background: var(--header-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--line);
  }
  .tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 700;
    color: var(--muted);
    transition: color 0.2s;
  }
  .tab svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
  }
  .tab.is-active {
    color: var(--gold-2);
  }
  .tab.is-active svg {
    stroke-width: 2.1;
  }
  /* Center floating cart button */
  .tab--fab {
    position: relative;
  }
  .tab__fab {
    position: absolute;
    top: -22px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    color: #ffffff;
    display: grid;
    place-items: center;
    box-shadow: 0 10px 24px -8px rgba(161, 15, 71, 0.8);
  }
  .tab__fab svg {
    width: 26px;
    height: 26px;
    stroke: #ffffff;
    stroke-width: 1.9;
  }
  .tab__fab-count {
    position: absolute;
    top: -4px;
    inset-inline-end: -4px;
    background: var(--ink);
    color: var(--cream);
    font-size: 10px;
    font-weight: 900;
    min-width: 18px;
    height: 18px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    padding: 0 4px;
    border: 2px solid var(--gold);
  }
}

@media (max-width: 380px) {
  .cats {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════════
   Floating contact dock (widget) — WhatsApp / Call / Back-to-top
   Premium, palette-driven, RTL-aware, raised above the mobile tabbar.
   ══════════════════════════════════════════════════════════ */
.fab-dock {
  position: fixed;
  inset-inline-end: 20px;
  bottom: 24px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
[dir="rtl"] .fab-dock {
  align-items: flex-start;
}

.fab-dock__menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: inherit;
}

.fab-dock__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px;
  padding-inline-start: 16px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  border-radius: 999px;
  text-decoration: none;
  font: inherit;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  /* Hidden until the dock opens */
  opacity: 0;
  transform: translateY(10px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
}
.fab-dock__label {
  white-space: nowrap;
  letter-spacing: -0.01em;
}
.fab-dock__ic {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--gold);
  flex: none;
}
.fab-dock__ic svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.fab-dock__item--wa .fab-dock__ic {
  background: var(--gold);
  color: #fff;
}
.fab-dock__item:hover {
  border-color: var(--gold);
  transform: translateY(-1px) scale(1.02);
}

/* Toggle button */
.fab-dock__toggle {
  position: relative;
  width: 58px;
  height: 58px;
  border: none;
  border-radius: 50%;
  background: var(--gold);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 34px -12px rgba(161, 15, 71, 0.55);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s;
}
.fab-dock__toggle:hover {
  background: var(--gold-2);
  transform: translateY(-2px);
}
.fab-dock__toggle svg {
  position: absolute;
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: opacity 0.2s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.fab-dock__close {
  opacity: 0;
  transform: rotate(-90deg) scale(0.6);
}

/* Open state */
.fab-dock[data-open="true"] .fab-dock__item {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.fab-dock[data-open="true"] .fab-dock__menu .fab-dock__item:nth-child(1) { transition-delay: 0.04s; }
.fab-dock[data-open="true"] .fab-dock__menu .fab-dock__item:nth-child(2) { transition-delay: 0.09s; }
.fab-dock[data-open="true"] .fab-dock__menu .fab-dock__item:nth-child(3) { transition-delay: 0.14s; }
.fab-dock[data-open="true"] .fab-dock__open {
  opacity: 0;
  transform: rotate(90deg) scale(0.6);
}
.fab-dock[data-open="true"] .fab-dock__close {
  opacity: 1;
  transform: rotate(0) scale(1);
}

/* Reveal-after-scroll */
.fab-dock {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  pointer-events: none;
}
.fab-dock.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Mobile: sit above the app tab bar + honor safe-area */
@media (max-width: 720px) {
  .fab-dock {
    bottom: calc(var(--tabbar-h, 66px) + env(safe-area-inset-bottom, 0px) + 14px);
    inset-inline-end: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fab-dock,
  .fab-dock__item,
  .fab-dock__toggle svg {
    transition: none;
  }
}

/* ══════════════════════════════════════════════════════════
   Overlays — scrim, drawers (cart/wishlist), search, modals, toasts
   ══════════════════════════════════════════════════════════ */
.scrim {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(11, 11, 13, 0.55);
  backdrop-filter: blur(4px);
  opacity: 0;
  animation: scrimIn 0.25s ease forwards;
}
@keyframes scrimIn { to { opacity: 1; } }

/* ── Side drawers ── */
.sheet {
  position: fixed;
  inset-block: 0;
  inset-inline-end: 0;
  z-index: 90;
  width: min(420px, 92vw);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  color: var(--text);
  border-inline-start: 1px solid var(--line);
  box-shadow: var(--shadow);
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  visibility: hidden;
}
[dir="rtl"] .sheet {
  transform: translateX(-100%);
}
.sheet.is-open {
  transform: translateX(0);
  visibility: visible;
}
.sheet__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.sheet__title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 800;
}
.sheet__body {
  flex: 1;
  overflow-y: auto;
  padding: 14px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.sheet__foot {
  border-top: 1px solid var(--line);
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: 12px;
}
.sheet__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 15px;
}
.sheet__row strong {
  font-size: 20px;
  font-weight: 800;
  color: var(--gold);
}
.sheet__cta { width: 100%; text-align: center; }
.sheet__empty {
  margin: auto;
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}
.sheet__empty svg {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  opacity: 0.6;
  margin-bottom: 10px;
}

/* Line item (shared cart + wishlist) */
.li {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
}
.li__img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.li__name {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.3;
}
.li__price {
  color: var(--muted);
  font-size: 13px;
  margin-top: 2px;
}
.li__qty {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
}
.li__qty button {
  width: 24px;
  height: 24px;
  border-radius: 7px;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
  display: grid;
  place-items: center;
}
.li__qty span { min-width: 20px; text-align: center; font-weight: 700; }
.li__del {
  border: none;
  background: none;
  color: var(--muted);
  cursor: pointer;
  padding: 4px;
}
.li__del:hover { color: var(--sale); }
.li__del svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.li__cta {
  border: 1px solid var(--gold);
  background: none;
  color: var(--gold);
  border-radius: 999px;
  font: inherit;
  font-weight: 600;
  font-size: 12px;
  padding: 6px 12px;
  cursor: pointer;
}
.li__cta:hover { background: var(--gold); color: #fff; }

/* ── Search overlay ── */
.search-ov {
  position: fixed;
  inset: 0;
  z-index: 95;
  background: var(--bg);
  transform: translateY(-14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease;
  overflow-y: auto;
}
.search-ov.is-open { opacity: 1; transform: none; visibility: visible; }
.search-ov__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 20px;
  border-bottom: 1px solid var(--line);
}
.search-ov__ic { color: var(--muted); display: grid; place-items: center; }
.search-ov__ic svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.search-ov__bar input {
  flex: 1;
  border: none;
  background: none;
  color: var(--text);
  font: inherit;
  font-size: 20px;
  font-weight: 600;
  outline: none;
}
.search-ov__results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 18px;
  padding-block: 24px;
}
.search-ov__hint { color: var(--muted); padding-block: 40px; text-align: center; }

/* ── Modal (quick view + size guide) ── */
.modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease;
}
.modal.is-open { opacity: 1; visibility: visible; }
.modal__card {
  width: min(760px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transform: translateY(12px) scale(0.98);
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.modal.is-open .modal__card { transform: none; }
.modal__card--guide { width: min(560px, 100%); }

/* Quick-view content */
.qv {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.qv__media {
  position: relative;
  background: var(--surface-2);
  min-height: 320px;
}
.qv__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.qv__close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  background: var(--surface);
  border-radius: 50%;
}
.qv__body { padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.qv__brand { color: var(--gold); font-weight: 700; font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase; }
.qv__name { font-family: var(--font-display); font-size: 24px; font-weight: 800; }
.qv__rating { color: var(--muted); font-size: 14px; }
.qv__rating .stars { color: var(--gold); letter-spacing: 2px; }
.qv__price { display: flex; align-items: baseline; gap: 10px; }
.qv__price .now { font-size: 24px; font-weight: 800; }
.qv__price .was { color: var(--muted); text-decoration: line-through; font-size: 15px; }
.qv__label { font-size: 13px; font-weight: 700; color: var(--muted); }
.qv__sizes { display: flex; flex-wrap: wrap; gap: 8px; }
.qv__size {
  min-width: 42px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.qv__size.is-on { border-color: var(--gold); background: var(--gold); color: #fff; }
.qv__actions { display: flex; gap: 10px; margin-top: 6px; }
.qv__actions .btn { flex: 1; text-align: center; }
.qv__fav {
  width: 48px;
  flex: none;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
  display: grid;
  place-items: center;
}
.qv__fav svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.qv__fav.is-on { color: var(--gold); border-color: var(--gold); }
.qv__fav.is-on svg { fill: var(--gold); }
@media (max-width: 620px) {
  .qv { grid-template-columns: 1fr; }
  .qv__media { min-height: 240px; }
}

/* Size guide table */
.size-guide { padding: 8px 20px 22px; }
.size-guide table { width: 100%; border-collapse: collapse; font-size: 14px; }
.size-guide th, .size-guide td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.size-guide th { color: var(--muted); font-weight: 700; }
.size-guide caption { color: var(--muted); font-size: 13px; padding-bottom: 12px; }

/* ── Toasts ── */
.toasts {
  position: fixed;
  z-index: 100;
  inset-inline: 0;
  bottom: calc(env(safe-area-inset-bottom, 0px) + 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 92vw;
  padding: 12px 18px;
  border-radius: 999px;
  background: var(--ink);
  color: var(--cream);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--shadow);
  animation: toastIn 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}
.toast--ok .toast__dot { background: var(--gold); }
.toast__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); flex: none; }
.toast.out { animation: toastOut 0.25s ease forwards; }
@keyframes toastIn { from { opacity: 0; transform: translateY(12px); } }
@keyframes toastOut { to { opacity: 0; transform: translateY(8px); } }
@media (min-width: 721px) {
  .toasts { align-items: flex-end; inset-inline-end: 24px; inset-inline-start: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .scrim, .sheet, .search-ov, .modal, .modal__card, .toast { transition: none; animation: none; }
}

/* Clickable product media/name (open quick-view) */
.card__media img,
.card__name {
  cursor: pointer;
}

/* ══════════════════════════════════════════════════════════
   Category icon strip
   ══════════════════════════════════════════════════════════ */
.catnav {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 14px;
}
.catnav__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.catnav__ring {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--gold);
  transition: transform 0.25s cubic-bezier(0.22, 1, 0.36, 1), background 0.25s, color 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.catnav__ring svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.catnav__item:hover .catnav__ring {
  background: var(--gold);
  border-color: var(--gold);
  color: #fff;
  transform: translateY(-4px);
  box-shadow: 0 16px 30px -14px rgba(161, 15, 71, 0.5);
}
.catnav__item:hover { color: var(--gold); }

@media (max-width: 900px) {
  .catnav {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: 88px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }
  .catnav__item { scroll-snap-align: start; }
  .catnav__ring { width: 66px; height: 66px; }
  .catnav::-webkit-scrollbar { height: 0; }
}

/* ══════════════════════════════════════════════════════════
   Collections columns — Latest / Best / Discount / Most Rated
   ══════════════════════════════════════════════════════════ */
.cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.col__head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 12px;
  margin-bottom: 6px;
  border-bottom: 2px solid var(--ink);
}
[data-theme="dark"] .col__head { border-color: var(--line); }
.col__head h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.col__head .col__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  flex: none;
}
.col__list { display: flex; flex-direction: column; }
.col__row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  cursor: pointer;
  background: none;
  border-inline: none;
  border-top: none;
  text-align: start;
  font: inherit;
  color: var(--text);
  width: 100%;
}
.col__row:last-child { border-bottom: none; }
.col__thumb {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--surface-2);
  border: 1px solid var(--line);
}
.col__name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.col__price { margin-top: 4px; display: flex; align-items: baseline; gap: 6px; }
.col__price .now { font-weight: 800; font-size: 14px; }
.col__price .was { color: var(--muted); text-decoration: line-through; font-size: 12px; }
.col__row:hover .col__name { color: var(--gold); }
.col__row .col__stars { color: var(--gold); font-size: 12px; letter-spacing: 1px; }

@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr 1fr; gap: 20px 24px; }
}
@media (max-width: 560px) {
  .cols { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   Department showcases — Men / Women
   ══════════════════════════════════════════════════════════ */
.dept { margin-top: 8px; }
.dept + .dept { margin-top: 40px; }
.dept__inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 22px;
  align-items: stretch;
}
.dept__aside {
  border-top: 3px solid var(--gold);
  background: var(--surface);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
}
.dept__name {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 16px;
}
.dept__links { display: flex; flex-direction: column; gap: 4px; }
.dept__links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  transition: color 0.2s, padding-inline-start 0.2s;
}
.dept__links a:hover { color: var(--gold); padding-inline-start: 6px; }
.dept__cta {
  align-self: flex-start;
  margin-top: 18px;
}
.dept__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.dept__grid .card { margin: 0; }

@media (max-width: 960px) {
  .dept__inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dept__grid { grid-template-columns: 1fr 1fr; }
}

/* ══════════════════════════════════════════════════════════
   Designed image banners (assets/banners/*.png) — text baked in
   ══════════════════════════════════════════════════════════ */
.banner-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 720px) {
  .banner-duo { grid-template-columns: 1fr; }
}
.ibanner {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--surface-2);
}
.ibanner img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.ibanner:hover img { transform: scale(1.04); }

/* Full-width feature banner — cap width + center so the designed
   1376×768 art keeps its ratio without dominating the page. */
.ibanner--wide {
  max-width: 880px;
  margin-inline: auto;
}

/* Two-up duo — keep the designed banner's native ratio so baked-in
   Arabic text is never cropped. Both source images share the same
   dimensions (1376×768), so the columns stay equal height. */
.banner-duo .ibanner img {
  aspect-ratio: 1376 / 768;
  object-fit: contain;
}
@media (prefers-reduced-motion: reduce) {
  .ibanner img { transition: none; }
}

/* ══════════════════════════════════════════════════════════
   Inner pages — shop / categories / product / cart / account
   Shares the same tokens, RTL-safe, light + dark.
   ══════════════════════════════════════════════════════════ */

/* Breadcrumb */
.crumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  padding: 18px 0 2px;
}
.crumb a { color: var(--muted); text-decoration: none; transition: color 0.2s; }
.crumb a:hover { color: var(--gold); }
.crumb__sep { opacity: 0.5; }

/* Page header */
.page-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-block: 24px 4px;
}
/* The content section right after a page header shouldn't double the gap. */
.page-head + .section { padding-top: 20px; }
.page-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  color: var(--text);
  line-height: 1.1;
}
.page-sub { color: var(--muted); margin-top: 6px; }
.empty-note {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

/* Shop toolbar + layout */
.shop-toolbar { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.shop-count { font-weight: 700; color: var(--muted); font-size: 14px; }
.shop-sort { display: flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.shop-sort select {
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 8px 12px;
  font: inherit;
  cursor: pointer;
}
.shop-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 28px;
  align-items: start;
}
.shop-filters {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.fgroup h4 {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}
.fchips { display: flex; flex-wrap: wrap; gap: 8px; }
.fchip {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
  border-radius: 999px;
  padding: 7px 14px;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.18s;
}
.fchip:hover { border-color: var(--gold); color: var(--gold); }
.fchip.is-on { background: var(--gold); border-color: var(--gold); color: #fff; }
.fswitch {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text);
}
.fswitch input { position: absolute; opacity: 0; }
.fswitch span {
  width: 40px;
  height: 22px;
  border-radius: 999px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  position: relative;
  transition: background 0.2s;
  flex: none;
}
.fswitch span::after {
  content: "";
  position: absolute;
  inset-inline-start: 3px;
  top: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: inset-inline-start 0.2s;
}
.fswitch input:checked + span { background: var(--gold); border-color: var(--gold); }
.fswitch input:checked + span::after { inset-inline-start: 20px; }
.shop-grid { margin: 0; }

@media (max-width: 860px) {
  .shop-layout { grid-template-columns: 1fr; }
  .shop-filters {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 16px 28px;
  }
}

/* Categories grid */
.catsgrid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.catcard {
  position: relative;
  min-height: 230px;
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  text-decoration: none;
  color: #fff;
  isolation: isolate;
}
.catcard::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: var(--img) center / cover no-repeat;
  transform: scale(1.02);
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}
.catcard::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to top, rgba(11, 11, 13, 0.85) 8%, rgba(11, 11, 13, 0.15) 70%);
}
.catcard:hover::before { transform: scale(1.08); }
.catcard__body { display: flex; flex-direction: column; gap: 4px; }
.catcard__body h3 { font-family: var(--font-display); font-size: 20px; font-weight: 800; }
.catcard__cta { font-size: 13px; font-weight: 700; color: var(--gold-soft); }

@media (max-width: 900px) { .catsgrid { grid-template-columns: repeat(2, 1fr); } }

/* Product detail (PDP) */
.pdp {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.pdp__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface-2);
  aspect-ratio: 4 / 5;
}
.pdp__media img { width: 100%; height: 100%; object-fit: cover; }
.pdp__media .card__tag {
  position: absolute;
  inset-block-start: 16px;
  inset-inline-start: 16px;
  z-index: 2;
}
.pdp__brand { font-size: 13px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 0.06em; }
.pdp__name { font-family: var(--font-display); font-size: clamp(24px, 3.4vw, 36px); font-weight: 800; color: var(--text); margin: 6px 0 10px; }
.pdp__rating { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; margin-bottom: 12px; }
.pdp__rating .stars { color: #f5a623; }
.pdp__price { display: flex; align-items: baseline; gap: 12px; margin-bottom: 12px; }
.pdp__price .now { font-size: 26px; font-weight: 800; color: var(--text); }
.pdp__price .was { color: var(--muted); text-decoration: line-through; font-size: 16px; }
.pdp__instock { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; margin-bottom: 20px; }
.dotok { width: 8px; height: 8px; border-radius: 50%; background: #1fa971; flex: none; }
.pdp__label { display: block; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.pdp__buyrow { display: flex; align-items: center; gap: 12px; margin: 18px 0 12px; flex-wrap: wrap; }
.qtybox {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  overflow: hidden;
}
.qtybox button {
  width: 40px;
  height: 44px;
  background: var(--surface);
  border: none;
  color: var(--text);
  font-size: 18px;
  cursor: pointer;
}
.qtybox button:hover { background: var(--surface-2); }
.qtybox span { min-width: 40px; text-align: center; font-weight: 700; color: var(--text); }
.pdp__add { flex: 1; min-width: 160px; }
.pdp__buy { width: 100%; margin-bottom: 24px; }
.pdp__acc details {
  border-top: 1px solid var(--line);
  padding: 14px 0;
}
.pdp__acc summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--text);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.pdp__acc summary::after { content: "+"; color: var(--gold); font-size: 20px; }
.pdp__acc details[open] summary::after { content: "−"; }
.pdp__acc p { color: var(--muted); margin-top: 10px; line-height: 1.8; }
.pdp__bullets { margin-top: 10px; padding-inline-start: 18px; color: var(--muted); line-height: 2; }
.pdp__bullets li { list-style: disc; }

@media (max-width: 800px) { .pdp { grid-template-columns: 1fr; gap: 24px; } }

/* Cart page */
.cartp { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.cartp__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 60px 20px;
  color: var(--muted);
}
.cartp__empty svg { width: 64px; height: 64px; stroke: var(--muted); fill: none; stroke-width: 1.5; margin-bottom: 16px; }
.cartp__empty p { margin-bottom: 20px; }
.cartp__list { display: flex; flex-direction: column; gap: 14px; }
.cartp__row {
  display: grid;
  grid-template-columns: 90px 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.cartp__row img { width: 90px; height: 90px; object-fit: cover; border-radius: var(--radius-sm); }
.cartp__name { font-weight: 700; color: var(--text); }
.cartp__brand { font-size: 13px; color: var(--muted); margin: 2px 0 8px; }
.cartp__rm { background: none; border: none; color: var(--sale); font: inherit; font-size: 13px; cursor: pointer; padding: 0; }
.cartp__price, .cartp__line { font-weight: 700; color: var(--text); white-space: nowrap; }
.cartp__line { color: var(--gold); }
.cartp__summary {
  position: sticky;
  top: calc(var(--header-h) + 12px);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.cartp__summary h3 { font-family: var(--font-display); font-weight: 800; margin-bottom: 16px; color: var(--text); }
.cartp__coupon { display: flex; gap: 8px; margin-bottom: 18px; }
.cartp__coupon input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  font: inherit;
}
.cartp__sumrow { display: flex; justify-content: space-between; padding: 8px 0; color: var(--muted); }
.cartp__sumrow strong { color: var(--text); }
.cartp__sumrow strong.ok { color: #1fa971; }
.cartp__sumrow--total {
  border-top: 1px solid var(--line);
  margin-top: 8px;
  padding-top: 14px;
  font-size: 18px;
}
.cartp__sumrow--total strong { color: var(--gold); font-size: 20px; }
.cartp__checkout { width: 100%; margin-top: 16px; }
.cartp__cont { display: block; text-align: center; margin-top: 12px; color: var(--muted); font-size: 14px; text-decoration: none; }
.cartp__cont:hover { color: var(--gold); }

@media (max-width: 800px) { .cartp { grid-template-columns: 1fr; }
  .cartp__row { grid-template-columns: 70px 1fr auto; }
  .cartp__row img { width: 70px; height: 70px; }
  .cartp__price { display: none; }
}

/* Sheet "view full cart" link */
.sheet__viewcart {
  display: block;
  text-align: center;
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
  margin-bottom: 6px;
}
.sheet__viewcart:hover { color: var(--gold); }

/* Account — premium */
.account { display: block; }
.acc__hero {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 26px 28px;
  border-radius: var(--radius);
  overflow: hidden;
  color: #fff;
  background: linear-gradient(120deg, var(--ink) 0%, var(--gold-2) 60%, var(--gold) 130%);
  isolation: isolate;
}
.acc__hero-glow {
  position: absolute;
  inset-inline-end: -60px;
  inset-block-start: -80px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.18), transparent 65%);
  z-index: -1;
}
.acc__avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(4px);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 28px;
  flex: none;
}
.acc__hero-info { flex: 1; min-width: 0; }
.acc__hero-info h2 { font-family: var(--font-display); font-size: clamp(20px, 3vw, 28px); font-weight: 700; }
.acc__hero-info p { font-size: 13px; opacity: 0.85; margin-top: 4px; }
.acc__hero-out {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 999px;
  padding: 9px 16px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s;
}
.acc__hero-out:hover { background: rgba(255, 255, 255, 0.26); }
.acc__hero-out svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* Stat cards */
.acc__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 16px;
}
.acc__stat {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.acc__stat-ic {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: rgba(161, 15, 71, 0.1);
  flex: none;
}
.acc__stat-ic svg { width: 22px; height: 22px; fill: none; stroke: var(--gold); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.acc__stat--pts .acc__stat-ic svg { fill: var(--gold); stroke: var(--gold); }
.acc__stat strong { display: block; font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--text); line-height: 1; }
.acc__stat span { font-size: 13px; color: var(--muted); }

/* Body split */
.acc__body {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 24px;
  align-items: start;
  margin-top: 22px;
}
.acc__side {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px;
  position: sticky;
  top: calc(var(--header-h) + 12px);
}
.acc__nav { display: flex; flex-direction: column; gap: 4px; }
.acc__navbtn {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: start;
  background: none;
  border: none;
  font: inherit;
  font-weight: 600;
  color: var(--text);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.18s;
}
.acc__navic { width: 20px; height: 20px; flex: none; display: grid; place-items: center; }
.acc__navic svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.acc__navbtn:hover { background: var(--surface-2); }
.acc__navbtn.is-on { background: var(--gold); color: #fff; box-shadow: var(--shadow-sm); }

.acc__panel { display: none; }
.acc__panel.is-on { display: block; }
.acc__card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
}
.acc__card h3 { font-family: var(--font-display); font-weight: 700; font-size: 20px; margin-bottom: 18px; color: var(--text); }

.acc__form { display: flex; flex-direction: column; gap: 18px; }
.acc__form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.acc__form label { display: flex; flex-direction: column; gap: 7px; font-size: 13px; font-weight: 600; color: var(--muted); }
.acc__form input {
  border: 1px solid var(--line);
  background: var(--field);
  color: var(--text);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font: inherit;
  transition: border-color 0.18s;
}
.acc__form input:focus { outline: none; border-color: var(--gold); }
.acc__form .btn { align-self: flex-start; }

.acc__orders { display: flex; flex-direction: column; gap: 12px; }
.acc__order {
  display: grid;
  grid-template-columns: auto 1fr auto auto auto;
  gap: 16px;
  align-items: center;
  padding: 16px;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color 0.18s, transform 0.18s;
}
.acc__order:hover { border-color: var(--gold); transform: translateY(-1px); }
.acc__order-ic {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--surface-2);
  display: grid;
  place-items: center;
  flex: none;
}
.acc__order-ic svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 1.6; }
.acc__ordno { font-weight: 700; color: var(--text); }
.acc__orddate { font-size: 13px; color: var(--muted); margin-top: 2px; }
.acc__ordtotal { font-weight: 800; color: var(--gold); white-space: nowrap; }
.acc__ordview { color: var(--gold); text-decoration: none; font-size: 14px; font-weight: 600; white-space: nowrap; }
.acc__ordview:hover { text-decoration: underline; }
.acc__badge {
  font-size: 12px;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
  white-space: nowrap;
}
.acc__badge--delivered { background: rgba(31, 169, 113, 0.14); color: #1fa971; }
.acc__badge--shipping { background: rgba(232, 163, 23, 0.16); color: #e8a317; }
.acc__badge--processing { background: rgba(161, 15, 71, 0.12); color: var(--gold); }

.acc__blank { text-align: center; padding: 40px 20px; color: var(--muted); }
.acc__blank span { display: inline-grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--surface-2); margin-bottom: 14px; }
.acc__blank span svg { width: 28px; height: 28px; fill: none; stroke: var(--muted); stroke-width: 1.5; }
.acc__blank p { margin-bottom: 16px; }

.acc__addr { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.acc__addrcard {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.acc__addrcard .acc__badge { align-self: flex-start; margin-bottom: 4px; }
.acc__addrcard strong { color: var(--text); font-size: 15px; }
.acc__addrcard p { color: var(--muted); font-size: 14px; }
.acc__addracts { display: flex; gap: 14px; margin-top: 10px; }
.acc__addracts a { color: var(--gold); font-size: 13px; text-decoration: none; font-weight: 600; }
.acc__addracts a:hover { text-decoration: underline; }
.acc__addnew {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1.5px dashed var(--line);
  background: transparent;
  border-radius: var(--radius-sm);
  color: var(--muted);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  min-height: 140px;
  transition: all 0.18s;
}
.acc__addnew span { font-size: 26px; line-height: 1; }
.acc__addnew:hover { border-color: var(--gold); color: var(--gold); background: rgba(161, 15, 71, 0.04); }

@media (max-width: 800px) {
  .acc__stats { grid-template-columns: 1fr; }
  .acc__hero { flex-wrap: wrap; }
  .acc__hero-out { position: absolute; inset-block-start: 20px; inset-inline-end: 20px; padding: 8px; }
  .acc__hero-out span { display: none; }
  .acc__body { grid-template-columns: 1fr; }
  .acc__side { position: static; }
  .acc__nav { flex-direction: row; flex-wrap: wrap; }
  .acc__navbtn { flex: 1 1 auto; justify-content: center; }
  .acc__form-grid { grid-template-columns: 1fr; }
  .acc__order { grid-template-columns: auto 1fr auto; }
  .acc__order-ic { display: none; }
  .acc__badge { grid-column: 2; grid-row: 2; justify-self: start; }
  .acc__ordview { grid-column: 3; }
}

/* Quick-view "full details" link */
.qv__details {
  display: block;
  text-align: center;
  margin-top: 14px;
  color: var(--gold);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
}
.qv__details:hover { text-decoration: underline; }


/* ══ MORC brand hero slider ══
   The logo color is the single source of truth. Slide templates are selected
   from HERO_SLIDES: spotlight, gallery, or offer. */
:root {
  --brand: #800B3A;
  --gold: var(--brand);
  --gold-2: #5d082b;
  --gold-soft: #d75a85;
}

.hero {
  background: var(--brand);
  color: var(--cream);
  isolation: isolate;
}
.hero__bg {
  z-index: -1;
  background-image:
    radial-gradient(circle at 8% 8%, rgba(255, 255, 255, 0.13), transparent 28%),
    linear-gradient(115deg, transparent 0 52%, rgba(32, 0, 13, 0.18) 52% 100%);
}
.hero__carousel {
  position: relative;
  padding-block: clamp(22px, 4vw, 52px) 30px;
}
.hero__stage {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 7;
  background: #3c031b;
  box-shadow: 0 28px 60px -34px rgba(30, 0, 12, 0.9);
  animation: hero-slide-enter 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hero__stage--spotlight {
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 30px 30px 6px 30px;
}
.hero__stage--gallery {
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 8px 30px 30px 30px;
  background: rgba(255, 255, 255, 0.1);
}
.hero__stage--gallery .hero__slide {
  border-radius: inherit;
}
.hero__stage--offer {
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px 6px 30px 30px;
}
.hero__stage--offer::after {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: inherit;
  pointer-events: none;
}
.hero__slide,
.hero__slide img {
  display: block;
  width: 100%;
  height: 100%;
}
.hero__slide {
  position: relative;
  color: inherit;
}
.hero__slide:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -6px;
}
.hero__slide img {
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__slide:hover img { transform: scale(1.018); }
.hero__controls {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  margin-top: 18px;
}
.hero__arrow,
.hero__pause,
.hero__dot {
  border: 0;
  font: inherit;
  cursor: pointer;
}
.hero__arrow,
.hero__pause {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.38);
  transition: background 0.2s, transform 0.2s;
}
.hero__arrow:hover,
.hero__pause:hover {
  background: #fff;
  color: var(--brand);
  transform: translateY(-2px);
}
.hero__arrow svg,
.hero__pause svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
html[dir="rtl"] .hero__arrow svg { transform: scaleX(-1); }
.hero__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.hero__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.4);
  transition: width 0.25s, background 0.25s;
}
.hero__dot[aria-selected="true"] {
  width: 32px;
  background: #fff;
}
.hero__arrow:focus-visible,
.hero__pause:focus-visible,
.hero__dot:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}
.hero__sr-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@keyframes hero-slide-enter {
  from { opacity: 0; transform: scale(0.985); }
  to { opacity: 1; transform: none; }
}
@media (max-width: 720px) {
  .hero__carousel { padding-inline: 0; }
  .hero__stage { aspect-ratio: 4 / 5; }
  .hero__stage--spotlight,
  .hero__stage--gallery,
  .hero__stage--offer { border-radius: 22px; }
  .hero__controls { margin-top: 14px; gap: 10px; }
  .hero__arrow,
  .hero__pause { min-width: 40px; min-height: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__stage,
  .hero__slide img,
  .hero__arrow,
  .hero__pause,
  .hero__dot { animation: none; transition: none; }
}


/* Signature template: the default hero is deliberately a solid logo-color field. */
.hero__stage--signature {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  min-height: 510px;
  aspect-ratio: auto;
  padding: 58px clamp(24px, 5vw, 68px);
  border: 0;
  border-radius: 30px;
  background: #800B3A;
  box-shadow: none;
}
.hero__signature-copy .eyebrow {
  color: rgba(255, 255, 255, 0.75);
}
.hero__signature-copy .hero__title {
  color: #fff;
}
.hero__signature-copy .accent {
  color: #ffe1ec;
}
.hero__signature-copy .hero__sub {
  color: rgba(255, 255, 255, 0.84);
}
.hero__signature-copy .hero__stats strong {
  color: #fff;
}
.hero__signature-copy .hero__stats span {
  color: rgba(255, 255, 255, 0.75);
}
.hero__signature-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 26px 46px -32px rgba(39, 0, 17, 0.9);
}
.hero__signature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), transparent 48%);
}
.hero__signature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05) rotate(-5deg);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}
.hero__signature-visual:hover img {
  transform: scale(1.11) rotate(-2deg);
}
.hero__signature-visual .hero__badge,
.hero__signature-visual .hero__price-tag {
  z-index: 2;
}
.hero__stage--signature .btn--dark {
  color: #800B3A;
}
@media (max-width: 1000px) {
  .hero__stage--signature {
    grid-template-columns: 1fr;
    min-height: 0;
    padding: 28px;
  }
  .hero__signature-visual {
    order: -1;
    max-width: 420px;
  }
}
@media (max-width: 720px) {
  .hero__stage--signature {
    padding: 20px;
    gap: 26px;
  }
  .hero__signature-copy .hero__cta,
  .hero__signature-copy .hero__stats {
    margin-bottom: 0;
  }
  .hero__signature-copy .hero__stats {
    gap: 16px;
  }
}
