/* ============================================================
   RYVA — Design System ("cream & champagne gold")
   Warm cream, espresso-brown type, a soft champagne-gold accent,
   rounded shapes and arches. Feminine, warm and gift-like,
   while photography still carries the page.
   ============================================================ */

:root {
  --paper: #fdfaf4;
  --surface: #ffffff;
  --soft: #f7f0e3;          /* alternate section background / image wells (cream) */
  --ink: #3a3126;           /* warm espresso instead of black */
  --ink-soft: #7a6e5c;
  --ink-faint: #9b8f7a;
  --line: #eee5d2;
  --line-strong: #e0d2b6;

  --brand: #b8924a;          /* soft champagne gold */
  --brand-dark: #8a6a2c;
  --brand-tint: #f6edd8;
  --brand-grad: linear-gradient(135deg, #e6cd96, #c9a45c);
  --on-brand: #3a2a12;
  --overlay-rgb: 58, 44, 24;      /* dark tint laid over photos so white text stays readable */
  --on-image: #6b5223;            /* text colour on white buttons that sit on photos */
  --eyebrow-on-image: #f7e8c6;
  --header-bg: rgba(253, 250, 244, 0.92);

  --danger: #b5483a;
  --danger-tint: #fbeeea;
  --success: #3d7a55;
  --success-tint: #e9f3ec;

  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-xs: none;
  --shadow-sm: 0 2px 12px rgba(138, 106, 44, 0.10);
  --shadow-md: 0 12px 32px rgba(138, 106, 44, 0.14);
  --shadow-lg: 0 24px 60px rgba(138, 106, 44, 0.20);

  --header-h: 72px;
  --container: 1320px;

  --font: 'IBM Plex Sans Arabic', -apple-system, 'Segoe UI', Tahoma, Arial, sans-serif;
  --font-display: 'Cormorant Garamond', 'El Messiri', Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--paper);
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.005em; }
h1, h2 { font-family: var(--font-display); font-weight: 500; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.ic { flex-shrink: 0; }
::selection { background: var(--brand-tint); }
:focus-visible { outline: 2px solid var(--brand); outline-offset: 2px; }

/* Small uppercase label used above headings */
.eyebrow, .hero-eyebrow {
  font-size: 11.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--brand-dark);
}
[dir="rtl"] .eyebrow, [dir="rtl"] .hero-eyebrow { letter-spacing: .04em; }

/* ---------- Announcement bar ---------- */
.announce-bar {
  background: var(--ink); color: #f2eee8;
  font-size: 12px; text-align: center; padding: 8px 16px; letter-spacing: .06em;
}
.announce-bar a { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center; gap: 16px; height: var(--header-h);
}
.header-left { display: flex; align-items: center; gap: 20px; min-width: 0; overflow: hidden; }
.logo {
  font-family: var(--font-display); font-size: 27px; font-weight: 600;
  letter-spacing: .32em; padding-inline-start: .32em; /* keeps the tracked word optically centered */
  color: var(--ink); flex-shrink: 0; justify-self: center; line-height: 1;
}
/* SVG brand logo (text colour follows currentColor, so dark mode just works) */
.logo:has(.logo-svg) { letter-spacing: 0; padding-inline-start: 0; }
.logo-svg { display: block; width: auto; height: 24px; }
.logo-svg.logo-wordmark { height: 36px; }
.logo-svg.logo-primary { height: 84px; }
.footer-brand .logo.footer-logo { display: inline-block; margin-bottom: 18px; }
.main-nav { display: flex; gap: 28px; font-size: 13px; font-weight: 500; letter-spacing: .04em; }
.main-nav a { position: relative; padding: 8px 0; white-space: nowrap; color: var(--ink); transition: color .2s ease; }
.main-nav a::after {
  content: ''; position: absolute; inset-inline-start: 0; bottom: 2px; height: 1px; width: 0;
  background: currentColor; transition: width .35s var(--ease);
}
.main-nav a:hover, .main-nav a.active { color: var(--ink); }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.header-actions { display: flex; align-items: center; gap: 2px; flex-shrink: 0; justify-self: end; }

/* ---------- Category dropdown (desktop) ---------- */
.header-left { overflow: visible; }
.nav-dropdown { position: relative; display: flex; align-items: center; }
.nav-caret { display: inline-block; font-size: 11px; margin-inline-start: 3px; transform: translateY(-2px); opacity: .7; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 14px); inset-inline-start: -18px; min-width: 210px; z-index: 60;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-md);
  padding: 10px 0; display: flex; flex-direction: column;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.nav-dropdown-menu::before { content: ''; position: absolute; top: -15px; left: 0; right: 0; height: 15px; } /* hover bridge */
.nav-dropdown:hover .nav-dropdown-menu, .nav-dropdown:focus-within .nav-dropdown-menu { opacity: 1; visibility: visible; transform: none; }
.main-nav .nav-dropdown-menu a { padding: 9px 20px; font-size: 13.5px; font-weight: 400; letter-spacing: 0; }
.main-nav .nav-dropdown-menu a::after { display: none; }
.main-nav .nav-dropdown-menu a:hover { background: var(--soft); }
.main-nav .nav-dropdown-menu .nav-dropdown-all { font-weight: 600; border-bottom: 1px solid var(--line); margin-bottom: 6px; padding-bottom: 12px; }

/* ---------- Category sub-menu (mobile ☰) ---------- */
.mobile-subnav { border-bottom: 1px solid var(--line); }
.mobile-subnav summary { list-style: none; cursor: pointer; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }
.mobile-subnav summary::-webkit-details-marker { display: none; }
.mobile-subnav summary::after { content: '+'; font-weight: 300; font-size: 20px; }
.mobile-subnav[open] summary::after { content: '−'; }
.mobile-subnav-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding: 0 12px 12px; }
#mobileNav .mobile-subnav-list a { border-bottom: none; font-size: 14px; padding: 8px 0; color: var(--ink-soft); }
.icon-btn {
  position: relative; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%; cursor: pointer; border: none; background: transparent; color: var(--ink);
  transition: background .2s ease;
}
.icon-btn:hover { background: var(--soft); }
.icon-btn svg { width: 20px; height: 20px; stroke-width: 1.5; }
.badge-count {
  position: absolute; top: 3px; inset-inline-end: 2px;
  background: var(--ink); color: #fff; font-size: 9.5px; font-weight: 600;
  border-radius: 50%; min-width: 16px; height: 16px;
  display: flex; align-items: center; justify-content: center; padding: 0 3px;
}
.lang-switch { display: flex; font-size: 11.5px; font-weight: 600; letter-spacing: .08em; margin-inline-end: 6px; }
.lang-switch a { padding: 6px 7px; color: var(--ink-faint); border-bottom: 1px solid transparent; }
.lang-switch a.active { color: var(--ink); border-bottom-color: var(--ink); }
.header-search-toggle { display: none; }
.mobile-menu-toggle { display: none; }
#mobileNav a { border-bottom: 1px solid var(--line); font-size: 15px; }

/* ---------- Search overlay ---------- */
.search-overlay {
  position: fixed; inset: 0; background: rgba(20,20,20,.35); z-index: 80;
  display: none; align-items: flex-start; justify-content: center; padding-top: 90px;
}
.search-overlay.open { display: flex; }
.search-panel {
  background: var(--surface); width: 100%; max-width: 640px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 22px; max-height: 74vh; display: flex; flex-direction: column; gap: 12px;
}
.search-input-row { display: flex; align-items: center; gap: 12px; border-bottom: 1px solid var(--ink); padding: 8px 2px 12px; }
.search-input-row input { flex: 1; border: none; outline: none; font-size: 18px; background: transparent; color: var(--ink); }
.search-close { cursor: pointer; color: var(--ink-soft); }
.search-results { overflow-y: auto; }
.search-result-row { display: flex; gap: 14px; align-items: center; padding: 10px 6px; border-radius: var(--radius-sm); cursor: pointer; }
.search-result-row:hover { background: var(--soft); }
.search-thumb { width: 48px; height: 60px; background: var(--soft); flex-shrink: 0; overflow: hidden; display: flex; align-items: center; justify-content: center; font-size: 18px; color: var(--ink-faint); }
.search-thumb img { width: 100%; height: 100%; object-fit: cover; }
.search-result-name { font-size: 14px; font-weight: 500; }
.search-result-cat { font-size: 11.5px; color: var(--ink-faint); letter-spacing: .04em; }
.search-empty { padding: 22px 6px; color: var(--ink-soft); font-size: 13px; text-align: center; }
.search-suggest-title { font-size: 11px; text-transform: uppercase; letter-spacing: .14em; color: var(--ink-faint); padding: 8px 6px 2px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 34px; border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
[dir="rtl"] .btn { letter-spacing: .02em; font-size: 13.5px; }
.btn-primary { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-primary:hover { background: #333; border-color: #333; }
.btn-outline { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-light { background: #fff; color: #141414; border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-ghost-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.75); }
.btn-ghost-light:hover { background: #fff; color: #141414; }
.btn-brand { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-brand:hover { background: var(--brand-dark); }
.btn-block { width: 100%; }
.btn-sm { padding: 10px 20px; font-size: 11.5px; }
.btn:disabled { background: var(--line); border-color: var(--line); color: var(--ink-faint); cursor: not-allowed; }
.link-underline { font-size: 12.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 3px; }
[dir="rtl"] .link-underline { letter-spacing: .02em; }

/* ---------- Hero (full-bleed photo) ---------- */
.hero-full {
  position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end;
  background: #2a2724 center/cover no-repeat; color: #fff; overflow: hidden;
}
.hero-full::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.62), rgba(0,0,0,.18) 55%, rgba(0,0,0,.05));
}
.hero-full .container { position: relative; z-index: 1; width: 100%; padding-bottom: 72px; }
.hero-full .hero-eyebrow { color: #e9d7b5; margin-bottom: 16px; }
.hero-full h1 { font-size: clamp(38px, 5.6vw, 76px); line-height: 1.05; max-width: 780px; margin: 0 0 18px; color: #fff; }
.hero-full p { font-size: 16px; color: rgba(255,255,255,.86); max-width: 520px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* Legacy split hero (kept for pages that still use it) */
.hero { display: flex; align-items: center; gap: 48px; padding: 56px 0; }
.hero-copy { flex: 1; min-width: 0; }
.hero h1 { font-size: 44px; line-height: 1.1; margin: 0 0 16px; }
.hero p { font-size: 15.5px; color: var(--ink-soft); max-width: 460px; margin: 0 0 26px; }
.hero-media { flex: 1; aspect-ratio: 4/3; overflow: hidden; background: var(--soft); position: relative; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Value props strip ---------- */
.value-props {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-bottom: 1px solid var(--line);
}
.value-prop {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 22px 12px; font-size: 13px; font-weight: 500; color: var(--ink-soft); text-align: start;
}
.value-prop + .value-prop { border-inline-start: 1px solid var(--line); }
.value-prop .vp-ic { color: var(--brand-dark); display: flex; }

/* ---------- Sections ---------- */
.section { padding: 80px 0; }
.section-soft { background: var(--soft); }
.section-head {
  display: flex; flex-direction: column; align-items: center; text-align: center; gap: 10px; margin-bottom: 44px;
}
.section-head h2 { font-size: clamp(30px, 3.2vw, 42px); line-height: 1.15; }
.section-head .view-all { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px; color: var(--ink); }
[dir="rtl"] .section-head .view-all { letter-spacing: .02em; }
.section-sub { color: var(--ink-soft); font-size: 14.5px; max-width: 560px; margin: 0; }
.section-foot { text-align: center; margin-top: 44px; }

/* ---------- Category cards ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cat-card {
  position: relative; aspect-ratio: 3/4; overflow: hidden; background: var(--soft);
  display: flex; align-items: flex-end; justify-content: center; padding: 30px 20px; text-align: center;
}
.cat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.cat-card:hover img { transform: scale(1.05); }
.cat-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,.5), rgba(0,0,0,0) 45%); }
.cat-card > div { position: relative; z-index: 1; }
.cat-card-label { color: #fff; font-family: var(--font-display); font-size: 30px; font-weight: 500; line-height: 1.2; }
.cat-card-count { color: rgba(255,255,255,.85); font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; margin-top: 6px; }
.cat-card-cta { display: inline-block; color: #fff; font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,.8); padding-bottom: 2px; margin-top: 12px; }
.cat-card.no-image::after { background: none; }
.cat-card.no-image .cat-card-label { color: var(--ink); }
.cat-card.no-image .cat-card-count, .cat-card.no-image .cat-card-cta { color: var(--ink-soft); border-color: var(--ink-soft); }
.cat-card-icon, .cat-card .img-placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: var(--ink-faint); }

/* ---------- Editorial split (story block) ---------- */
.editorial { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: 70px; }
.editorial-media { aspect-ratio: 4/5; overflow: hidden; background: var(--soft); }
.editorial-media img { width: 100%; height: 100%; object-fit: cover; }
.editorial-copy h2 { font-size: clamp(32px, 3.4vw, 48px); line-height: 1.12; margin: 14px 0 18px; }
.editorial-copy p { color: var(--ink-soft); font-size: 15.5px; max-width: 460px; margin: 0 0 30px; }

/* ---------- Gift finder ---------- */
.gift-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.gift-chip {
  background: var(--paper); padding: 34px 16px; text-align: center; font-size: 14px; font-weight: 500;
  display: flex; flex-direction: column; align-items: center; gap: 14px; transition: background .25s ease;
}
.gift-chip:hover { background: var(--soft); }
.gift-chip .gc-ic { color: var(--brand-dark); display: flex; transition: transform .35s var(--ease); }
.gift-chip:hover .gc-ic { transform: translateY(-3px); }

/* ---------- Product grid / card ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px 22px; }
.pcard { display: flex; flex-direction: column; background: transparent; position: relative; }
.pcard-img {
  aspect-ratio: 4/5; position: relative; overflow: hidden; background: var(--soft);
  display: flex; align-items: center; justify-content: center;
}
.pcard-img a { display: block; width: 100%; height: 100%; }
.pcard-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.pcard:hover .pcard-img img { transform: scale(1.045); }
.img-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; color: var(--ink-faint); background: var(--soft); }
.pcard-img .ic-big { font-size: 30px; }
.pcard-badge {
  position: absolute; top: 12px; inset-inline-start: 12px; z-index: 2;
  font-size: 10.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; padding: 4px 9px;
  background: var(--paper); color: var(--ink);
}
.pcard-badge.sale { background: var(--paper); color: var(--danger); }
.pcard-badge.new { background: var(--paper); color: var(--ink); }
.pcard-wish {
  position: absolute; top: 10px; inset-inline-end: 10px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.9);
  display: flex; align-items: center; justify-content: center; cursor: pointer; border: none;
  opacity: 0; transform: translateY(-4px); transition: opacity .3s ease, transform .3s ease;
}
.pcard:hover .pcard-wish, .pcard-wish.active, .pcard-wish:focus-visible { opacity: 1; transform: none; }
.pcard-wish svg { width: 16px; height: 16px; stroke: #141414; stroke-width: 1.5; fill: none; }
.pcard-wish.active svg { fill: var(--danger); stroke: var(--danger); }
.pcard-body { padding: 16px 2px 0; display: flex; flex-direction: column; gap: 4px; flex: 1; text-align: center; align-items: center; }
.pcard-cat { font-size: 10.5px; color: var(--ink-faint); text-transform: uppercase; letter-spacing: .16em; }
[dir="rtl"] .pcard-cat { letter-spacing: .02em; }
.pcard-name { font-size: 14.5px; font-weight: 500; line-height: 1.45; }
.pcard-name a:hover { color: var(--brand-dark); }
.pcard-rating { font-size: 11.5px; color: var(--ink-soft); display: flex; align-items: center; gap: 4px; }
.price-row { display: flex; align-items: baseline; justify-content: center; gap: 10px; margin-top: 2px; }
.price { font-weight: 500; font-size: 14.5px; letter-spacing: .02em; }
.pcard .price-old + .price, .price-row .price-old { font-size: 12.5px; color: var(--ink-faint); text-decoration: line-through; }
.pcard-actions { display: flex; gap: 8px; padding-top: 12px; width: 100%; }
.pcard-btn {
  flex: 1; background: transparent; color: var(--ink); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 10px; font-size: 11.5px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}
[dir="rtl"] .pcard-btn { letter-spacing: 0; font-size: 12.5px; }
.pcard-btn:hover:not(:disabled) { background: var(--ink); color: #fff; border-color: var(--ink); }
.pcard-btn:disabled { color: var(--ink-faint); border-color: var(--line); cursor: not-allowed; }
.price-old { font-size: 12.5px; color: var(--ink-faint); text-decoration: line-through; }

/* ---------- Skeleton loaders ---------- */
.skel { background: linear-gradient(90deg, var(--soft) 25%, #eceae6 37%, var(--soft) 63%); background-size: 400% 100%; animation: skel 1.4s ease infinite; }
@keyframes skel { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }
.pcard-skel .pcard-img { animation: none; }

/* ---------- Listing pages ---------- */
.listing-head { padding: 48px 0 18px; text-align: center; }
.breadcrumb { font-size: 11.5px; color: var(--ink-faint); margin-bottom: 14px; letter-spacing: .06em; }
.breadcrumb a:hover { color: var(--ink); }
.listing-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(34px, 4vw, 52px); line-height: 1.1; margin-bottom: 10px; }
.listing-desc { color: var(--ink-soft); font-size: 14.5px; max-width: 620px; margin: 0 auto; }
.subcat-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.subcat-chips a { padding: 8px 18px; border: 1px solid var(--line-strong); font-size: 13px; color: var(--ink-soft); transition: all .2s ease; }
.subcat-chips a:hover { border-color: var(--ink); color: var(--ink); }
.subcat-chips a.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (max-width: 640px) { .subcat-chips { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 4px; } .subcat-chips a { white-space: nowrap; } }
.listing-layout { display: grid; grid-template-columns: 230px 1fr; gap: 44px; align-items: start; padding: 28px 0 90px; }
.filters { position: sticky; top: calc(var(--header-h) + 20px); padding: 0; }

.account-layout { display: grid; grid-template-columns: 220px 1fr; gap: 44px; align-items: start; padding: 28px 0 90px; }
.account-nav { position: sticky; top: calc(var(--header-h) + 20px); display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.account-nav-link { display: block; padding: 13px 2px; font-size: 13.5px; font-weight: 500; color: var(--ink-soft); text-align: start; background: none; border: none; border-bottom: 1px solid var(--line); cursor: pointer; font-family: inherit; }
.account-nav-link:hover { color: var(--ink); }
.account-nav-link.active { color: var(--ink); font-weight: 600; }
.account-nav-logout { color: var(--danger); }

.filter-group { padding: 18px 0; border-bottom: 1px solid var(--line); }
.filter-group:first-child { border-top: 1px solid var(--line); }
.filter-group h4 { font-size: 11.5px; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 12px; font-weight: 600; }
[dir="rtl"] .filter-group h4 { letter-spacing: .02em; }
.filter-option { display: flex; align-items: center; gap: 10px; font-size: 13.5px; padding: 5px 0; cursor: pointer; color: var(--ink-soft); }
.filter-option input { accent-color: var(--ink); width: 15px; height: 15px; }
.filters .btn { margin-top: 18px; }
.listing-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; gap: 12px; flex-wrap: wrap; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.result-count { font-size: 12.5px; color: var(--ink-soft); letter-spacing: .04em; }
.sort-select { border: none; border-bottom: 1px solid var(--ink); padding: 6px 4px; font-size: 13px; background: transparent; color: var(--ink); cursor: pointer; }
.mobile-filter-btn { display: none; }
.pagination { display: flex; justify-content: center; gap: 4px; margin-top: 56px; }
.pagination a, .pagination span { min-width: 38px; height: 38px; display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 500; }
.pagination a { color: var(--ink-soft); }
.pagination a:hover { color: var(--ink); }
.pagination .current { border-bottom: 1px solid var(--ink); color: var(--ink); }
.empty-state { text-align: center; padding: 80px 20px; color: var(--ink-soft); }
.empty-state .es-ic { display: flex; justify-content: center; color: var(--ink-faint); margin-bottom: 18px; font-size: 38px; }
.empty-state p { margin: 0 0 22px; }

/* ---------- Product detail ---------- */
.pdp { display: grid; grid-template-columns: 1.15fr 1fr; gap: 64px; padding: 36px 0 30px; }
.pdp-gallery { min-width: 0; position: sticky; top: calc(var(--header-h) + 20px); align-self: start; }
.pdp-main-img { aspect-ratio: 4/5; background: var(--soft); overflow: hidden; display: flex; align-items: center; justify-content: center; margin-bottom: 12px; position: relative; color: var(--ink-faint); }
.pdp-main-img img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.pdp-thumb { width: 72px; height: 90px; overflow: hidden; border: 1px solid transparent; cursor: pointer; background: var(--soft); opacity: .6; transition: opacity .2s ease; }
.pdp-thumb.active, .pdp-thumb:hover { opacity: 1; border-color: var(--ink); }
.pdp-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pdp-info { min-width: 0; padding-top: 8px; }
.pdp-info .breadcrumb { margin-bottom: 22px; }
.pdp-info h1 { font-size: clamp(30px, 3vw, 42px); line-height: 1.15; margin-bottom: 12px; }
.pdp-meta-row { display: flex; align-items: center; gap: 16px; font-size: 12.5px; color: var(--ink-soft); margin-bottom: 20px; }
.pdp-sku { color: var(--ink-faint); letter-spacing: .06em; }
.pdp-price-row { display: flex; align-items: baseline; gap: 14px; margin-bottom: 22px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pdp-price-row .price { font-size: 22px; font-weight: 500; }
.pdp-badge-discount { color: var(--danger); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
.pdp-desc { color: var(--ink-soft); font-size: 14.5px; line-height: 1.8; margin-bottom: 26px; }
.pdp-specs { margin-bottom: 18px; font-size: 13px; }
.pdp-specs tr td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.pdp-specs tr td:first-child { color: var(--ink-soft); width: 130px; }
/* ---------- Size picker ---------- */
.size-picker { margin-bottom: 22px; }
.size-picker-head { display: flex; justify-content: space-between; align-items: baseline; font-size: 13.5px; margin-bottom: 10px; color: var(--ink-soft); }
.size-picker-head strong { color: var(--ink); font-weight: 600; }
.size-guide-link { background: none; border: none; padding: 0; font-size: 12.5px; color: var(--ink); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-family: inherit; }
.size-options { display: flex; flex-wrap: wrap; gap: 8px; }
.size-opt { min-width: 52px; height: 44px; padding: 0 14px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--ink); font-size: 14px; font-family: inherit; cursor: pointer; transition: border-color .2s ease, background .2s ease, color .2s ease; }
.size-opt:hover:not(:disabled) { border-color: var(--ink); }
.size-opt.active { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.size-opt.out { color: var(--ink-faint); text-decoration: line-through; cursor: not-allowed; background: var(--soft); }
.size-picker.need-size .size-options { animation: sizeShake .4s ease; }
.size-picker.need-size .size-picker-head strong { color: var(--danger); }
@keyframes sizeShake { 0%, 100% { transform: none; } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.size-guide { margin-top: 12px; padding: 14px 16px; background: var(--soft); font-size: 13px; color: var(--ink-soft); line-height: 1.8; }
.size-guide p { margin: 0 0 6px; }
.cart-row-size { font-size: 12px; color: var(--ink-soft); margin-bottom: 2px; }
.qty-cart-row { display: flex; gap: 10px; margin-bottom: 14px; }
.qty-box { display: flex; align-items: center; gap: 16px; border: 1px solid var(--line-strong); padding: 0 16px; height: 52px; }
.qty-btn { width: 22px; height: 22px; border: none; background: transparent; cursor: pointer; font-size: 16px; color: var(--ink); display: flex; align-items: center; justify-content: center; }
.qty-num { font-size: 14px; min-width: 16px; text-align: center; }
.pdp-add-btn { flex: 1; height: 52px; }
.pdp-wish-btn { width: 52px; height: 52px; border: 1px solid var(--line-strong); background: var(--surface); cursor: pointer; display: flex; align-items: center; justify-content: center; transition: border-color .2s ease; }
.pdp-wish-btn:hover { border-color: var(--ink); }
.pdp-wish-btn svg { width: 19px; height: 19px; stroke: var(--ink); stroke-width: 1.5; fill: none; }
.pdp-wish-btn.active svg { fill: var(--danger); stroke: var(--danger); }
.stock-note { font-size: 12.5px; color: var(--success); margin-bottom: 26px; }
.stock-note.out { color: var(--danger); }
.trust-mini { display: flex; flex-direction: column; gap: 14px; padding: 22px 0; font-size: 13px; color: var(--ink-soft); border-top: 1px solid var(--line); }
.trust-mini-row { display: flex; gap: 12px; align-items: center; }
.trust-mini-row .tm-ic { color: var(--ink); display: flex; }
.pdp-accordion { border-top: 1px solid var(--line); }
.pdp-accordion details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.pdp-accordion summary { cursor: pointer; font-weight: 600; font-size: 12.5px; letter-spacing: .12em; text-transform: uppercase; list-style: none; display: flex; justify-content: space-between; }
[dir="rtl"] .pdp-accordion summary { letter-spacing: 0; font-size: 14px; }
.pdp-accordion summary::-webkit-details-marker { display: none; }
.pdp-accordion summary::after { content: '+'; font-weight: 300; font-size: 18px; line-height: 1; }
.pdp-accordion details[open] summary::after { content: '−'; }
.pdp-accordion p { font-size: 14px; color: var(--ink-soft); margin: 12px 0 0; line-height: 1.8; }
.pdp-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; border: none; cursor: pointer;
  background: rgba(255,255,255,.9); color: #141414; font-size: 20px;
  display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity .25s ease;
}
.pdp-main-img:hover .pdp-nav { opacity: 1; }
.pdp-nav.prev { inset-inline-start: 14px; }
.pdp-nav.next { inset-inline-end: 14px; }

/* ---------- Cart drawer ---------- */
.cart-overlay { display: none; position: fixed; inset: 0; background: rgba(20,20,20,.35); z-index: 90; }
.cart-overlay.open { display: block; }
.cart-drawer {
  position: fixed; top: 0; inset-inline-end: 0; height: 100%; width: 420px; max-width: 92vw;
  background: var(--surface); z-index: 91; transform: translateX(110%); transition: transform .45s var(--ease);
  display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
}
[dir="rtl"] .cart-drawer { transform: translateX(-110%); }
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 22px 26px; border-bottom: 1px solid var(--line); }
.cart-head h2 { font-size: 24px; }
.cart-close { cursor: pointer; width: 34px; height: 34px; border: none; display: flex; align-items: center; justify-content: center; background: none; color: var(--ink); font-size: 16px; }
.cart-items { flex: 1; overflow-y: auto; padding: 6px 26px; }
.cart-empty { text-align: center; color: var(--ink-faint); font-size: 14px; margin-top: 80px; }
.cart-row { display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-thumb { width: 76px; height: 95px; background: var(--soft); display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0; overflow: hidden; }
.cart-thumb img { width: 100%; height: 100%; object-fit: cover; }
.cart-row-info { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cart-row-name { font-size: 14px; font-weight: 500; margin-bottom: 4px; }
.cart-row-price { font-size: 13px; color: var(--ink-soft); margin-bottom: 12px; }
.qty-controls { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.qty-controls .qty-btn { width: 26px; height: 26px; border: 1px solid var(--line-strong); background: var(--surface); }
.remove-link { font-size: 11.5px; color: var(--ink-soft); cursor: pointer; margin-inline-start: auto; text-decoration: underline; text-underline-offset: 3px; background: none; border: none; }
.remove-link:hover { color: var(--danger); }
.cart-foot { padding: 22px 26px; border-top: 1px solid var(--line); }
.subtotal-row { display: flex; justify-content: space-between; font-size: 15px; font-weight: 600; margin-bottom: 8px; }
.cart-note { font-size: 12px; color: var(--ink-faint); margin-bottom: 18px; }

/* ---------- Forms ---------- */
.form-card { max-width: 520px; margin: 0 auto; padding: 40px; border: 1px solid var(--line); background: var(--surface); }
.form-card h2 { font-size: 30px; margin-bottom: 24px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 11.5px; font-weight: 600; margin-bottom: 7px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }
[dir="rtl"] .field label { letter-spacing: 0; font-size: 13px; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 14px; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; background: var(--surface); color: var(--ink); transition: border-color .2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); }
.field input[type="radio"], .field input[type="checkbox"] { width: auto; padding: 0; flex-shrink: 0; }
.field textarea { resize: vertical; min-height: 90px; }
.field-row { display: flex; gap: 14px; }
.field-row .field { flex: 1; min-width: 0; }
.form-msg { font-size: 13px; margin-top: 14px; padding: 12px 14px; }
.form-msg.success { background: var(--success-tint); color: var(--success); }
.form-msg.error { background: var(--danger-tint); color: var(--danger); }

.payment-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.payment-option { display: flex; align-items: flex-start; gap: 12px; border: 1px solid var(--line-strong); padding: 16px 18px; cursor: pointer; transition: border-color .2s ease, background .2s ease; }
.payment-option:has(input:checked) { border-color: var(--ink); background: var(--soft); }
.payment-option input { margin-top: 4px; accent-color: var(--ink); }
.payment-option-title { font-size: 14px; font-weight: 600; display: block; }
.payment-option-sub { font-size: 12.5px; color: var(--ink-soft); }
#vodafoneCashBox { background: var(--soft); padding: 16px 18px; margin-bottom: 14px; }

/* ---------- Checkout summary ---------- */
.checkout-layout { display: grid; grid-template-columns: 1fr 400px; gap: 48px; align-items: start; padding: 32px 0 90px; }
.checkout-layout.cols-equal { grid-template-columns: 1fr 1fr; }
.order-summary { background: var(--soft); padding: 30px; position: sticky; top: calc(var(--header-h) + 20px); }
.order-summary h3 { font-family: var(--font-display); font-size: 24px; font-weight: 500; margin-bottom: 18px; }
.os-row { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; margin-bottom: 10px; }
.os-line { display: flex; justify-content: space-between; font-size: 13px; color: var(--ink-soft); margin-bottom: 8px; }
.os-total { display: flex; justify-content: space-between; font-size: 16px; font-weight: 600; padding-top: 16px; margin-top: 12px; border-top: 1px solid var(--line-strong); }

/* ---------- Tables (account pages) ---------- */
.container table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.container th { text-align: start; font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-faint); padding: 10px 8px; border-bottom: 1px solid var(--line-strong); }
.container td { padding: 14px 8px; border-bottom: 1px solid var(--line); }

/* ---------- Track order banner ---------- */
.track-order-banner { display: flex; align-items: center; gap: 24px; border: 1px solid var(--line); padding: 32px 36px; }
.track-order-banner-icon { flex-shrink: 0; color: var(--brand-dark); display: flex; }
.track-order-banner-copy { flex: 1; min-width: 0; }
.track-order-banner-copy h3 { font-family: var(--font-display); font-size: 26px; font-weight: 500; margin-bottom: 4px; }
.track-order-banner-copy p { font-size: 14px; color: var(--ink-soft); margin: 0; }

/* ---------- Trust section ---------- */
.trust-section { border-top: 1px solid var(--line); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-card { text-align: center; padding: 10px 14px; }
.trust-card .tc-ic { color: var(--brand-dark); display: flex; justify-content: center; margin-bottom: 16px; }
.trust-card h4 { font-size: 12.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 8px; }
[dir="rtl"] .trust-card h4 { letter-spacing: 0; font-size: 14px; }
.trust-card p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--soft); margin-top: 0; }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 44px; padding: 72px 32px 48px; }
.footer-brand .logo { display: inline-block; margin-bottom: 16px; font-size: 26px; }
.footer-brand p { font-size: 13.5px; color: var(--ink-soft); max-width: 300px; }
.footer-social { display: flex; gap: 8px; margin-top: 20px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line-strong); display: flex; align-items: center; justify-content: center; color: var(--ink); transition: background .2s ease, color .2s ease; }
.footer-social a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .16em; margin-bottom: 18px; color: var(--ink); }
[dir="rtl"] .footer-col h4 { letter-spacing: 0; font-size: 13.5px; }
.footer-col ul li { margin-bottom: 11px; font-size: 13.5px; color: var(--ink-soft); }
.footer-col a:hover { color: var(--ink); }
.newsletter-row { display: flex; margin-top: 14px; border-bottom: 1px solid var(--ink); }
.newsletter-row input { flex: 1; padding: 12px 2px; border: none; background: transparent; font-size: 13.5px; color: var(--ink); outline: none; min-width: 0; }
.newsletter-row .btn { background: transparent; color: var(--ink); border: none; padding: 10px 4px; }
.newsletter-row .btn:hover { background: transparent; color: var(--brand-dark); }
.footer-bottom { border-top: 1px solid var(--line-strong); padding: 22px 32px; display: flex; justify-content: space-between; align-items: center; font-size: 12px; color: var(--ink-faint); flex-wrap: wrap; gap: 10px; letter-spacing: .04em; }

/* ---------- WhatsApp floating button ---------- */
/* Brand-styled: black disc, gold ring, cream glyph (inverts to cream disc + black glyph in dark mode) */
.whatsapp-fab {
  position: fixed; bottom: 24px; inset-inline-end: 22px; z-index: 60;
  width: 54px; height: 54px; border-radius: 50%;
  background: #141414; color: #f7f3ec;
  border: 1.5px solid #a8864f; box-shadow: 0 0 0 3px #141414, var(--shadow-md);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s ease, background .25s ease, color .25s ease;
}
.whatsapp-fab svg { width: 24px; height: 24px; }
.whatsapp-fab:hover { transform: translateY(-2px); background: #a8864f; color: #141414; }
[data-theme="dark"] .whatsapp-fab { background: #f7f3ec; color: #141414; box-shadow: 0 0 0 3px #f7f3ec, 0 8px 24px rgba(0,0,0,.6); }
[data-theme="dark"] .whatsapp-fab:hover { background: #a8864f; color: #141414; }

/* ---------- Toast ---------- */
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%) translateY(20px);
  background: var(--ink); color: #fff; padding: 13px 24px; font-size: 13px; letter-spacing: .03em;
  z-index: 99; opacity: 0; transition: all .3s var(--ease); pointer-events: none; display: flex; align-items: center; gap: 8px;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---------- Mobile bottom nav ---------- */
.mobile-tabbar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 55;
  background: var(--surface); border-top: 1px solid var(--line);
  padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
}
.mobile-tabbar-row { display: flex; justify-content: space-around; }
.mobile-tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 10.5px; font-weight: 500; color: var(--ink-soft); position: relative; padding: 4px 8px; }
.mobile-tab.active { color: var(--ink); }
.mobile-tab svg { width: 21px; height: 21px; stroke-width: 1.5; }

/* ---------- Misc ---------- */
.small { font-size: 12px; color: var(--ink-faint); }
.text-center { text-align: center; }
.badge-pill { display: inline-block; font-size: 10.5px; font-weight: 600; letter-spacing: .1em; padding: 4px 10px; text-transform: uppercase; }
.theme-toggle .icon-moon { display: block; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
.mobile-lang-link { display: none !important; }

/* Gentle reveal as sections scroll into view (skipped for reduced motion) */
.js-reveal .reveal { opacity: 0; transform: translateY(18px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js-reveal .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js-reveal .reveal { opacity: 1; transform: none; transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .editorial { gap: 40px; }
}
@media (max-width: 900px) {
  :root { --header-h: 62px; }
  .container { padding: 0 20px; }
  .main-nav { display: none; }
  #mobileNav.main-nav { gap: 0; }
  .mobile-menu-toggle { display: flex; }
  .section { padding: 56px 0; }
  .value-props { grid-template-columns: repeat(2, 1fr); }
  .value-prop:nth-child(3) { border-inline-start: none; }
  .value-prop:nth-child(n+3) { border-top: 1px solid var(--line); }
  .cat-grid { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .cat-card-label { font-size: 22px; }
  .editorial { grid-template-columns: 1fr; }
  .gift-grid { grid-template-columns: repeat(2, 1fr); }
  .listing-layout { grid-template-columns: 1fr; }
  .filters { display: none; }
  .filters.open { display: block; position: fixed; inset: 0; z-index: 95; overflow-y: auto; top: 0; background: var(--paper); padding: 24px; }
  .mobile-filter-btn { display: inline-flex; }
  .account-layout { grid-template-columns: 1fr; gap: 18px; }
  .account-nav { position: static; flex-direction: row; overflow-x: auto; gap: 18px; border-top: none; border-bottom: 1px solid var(--line); }
  .account-nav-link { white-space: nowrap; border-bottom: none; }
  .pdp { grid-template-columns: 1fr; gap: 26px; padding-top: 16px; }
  .pdp-gallery { position: static; }
  .pdp-nav { opacity: 1; }
  .checkout-layout { grid-template-columns: 1fr; }
  .order-summary { position: static; order: -1; }
  .mobile-tabbar { display: block; }
  body { padding-bottom: 62px; }
  .whatsapp-fab { bottom: 78px; }
  #searchOpenBtn, .header-actions > a[href*="/wishlist"], #cartOpenBtn { display: none; }
  .pcard-wish { opacity: 1; transform: none; }
}
@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .pgrid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .cat-grid { grid-template-columns: 1fr 1fr; }
  .cat-grid .cat-card:first-child { grid-column: 1 / -1; aspect-ratio: 16/10; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 12px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; padding: 48px 16px 28px; }
  .footer-bottom { padding: 18px 16px; }
  .section { padding: 44px 0; }
  .section-head { margin-bottom: 28px; }
  .hero-full { min-height: min(72vh, 600px); }
  .hero-full .container { padding-bottom: 44px; }
  .hero-full .btn { flex: 1; padding: 14px 18px; }
  .value-prop { flex-direction: column; text-align: center; gap: 8px; font-size: 12px; padding: 16px 8px; }
  .cart-drawer { width: 100%; }
  .form-card { padding: 26px 20px; }
  .track-order-banner { flex-direction: column; text-align: center; padding: 28px 20px; }
  .track-order-banner .btn { width: 100%; }
  .pcard-btn { font-size: 11px; padding: 9px 4px; }
  .header-actions .lang-switch { display: none; }
  .logo { font-size: 22px; letter-spacing: .24em; padding-inline-start: .24em; }
  .logo-svg { height: 19px; }
  .logo-svg.logo-wordmark { height: 30px; }
  .logo-svg.logo-primary { height: 72px; }
  .mobile-lang-link { display: block !important; }
  .field-row { flex-wrap: wrap; }
  .field-row .field { flex-basis: 140px; }
}

/* ============================================================
   Dark mode — toggled from the header (saved per browser),
   defaults to the device setting. Only colors change here.
   ============================================================ */
[data-theme="dark"] {
  color-scheme: dark;
  --paper: #1c1812;
  --surface: #252016;
  --soft: #2c261b;
  --ink: #f6efe0;
  --ink-soft: #cfc4aa;
  --ink-faint: #978b72;
  --line: #3a3224;
  --line-strong: #4f4430;
  --brand: #d4b06a;
  --brand-dark: #e6c885;
  --brand-tint: #352d1c;
  --brand-grad: linear-gradient(135deg, #ecd29c, #d4b06a);
  --on-brand: #2b2010;
  --overlay-rgb: 10, 8, 4;
  --header-bg: rgba(28, 24, 18, 0.92);
  --danger: #e88a78;
  --danger-tint: #3a211d;
  --success: #74c393;
  --success-tint: #1a2e21;
  --shadow-sm: 0 2px 10px rgba(0,0,0,.4);
  --shadow-md: 0 10px 30px rgba(0,0,0,.5);
  --shadow-lg: 0 24px 60px rgba(0,0,0,.6);
}
/* Things that sit on an --ink background need dark text now that --ink is light */
[data-theme="dark"] .btn-primary,
[data-theme="dark"] .badge-count,
[data-theme="dark"] .toast { color: var(--paper); }
[data-theme="dark"] .btn-primary:hover { background: #fff; border-color: #fff; }
[data-theme="dark"] .btn-outline:hover,
[data-theme="dark"] .pcard-btn:hover:not(:disabled),
[data-theme="dark"] .footer-social a:hover { color: var(--paper); }
[data-theme="dark"] .announce-bar { background: #080808; color: var(--ink-soft); }
[data-theme="dark"] .site-header { background: rgba(18, 17, 16, 0.94); }
[data-theme="dark"] .pcard-badge, [data-theme="dark"] .pcard-badge.new { background: var(--paper); color: var(--ink); }
[data-theme="dark"] .pcard-wish { background: rgba(24,23,22,.9); }
[data-theme="dark"] .pcard-wish svg { stroke: var(--ink); }
[data-theme="dark"] .pdp-nav { background: rgba(24,23,22,.9); color: var(--ink); }
[data-theme="dark"] .search-overlay, [data-theme="dark"] .cart-overlay { background: rgba(0,0,0,.6); }
[data-theme="dark"] .skel { background: linear-gradient(90deg, var(--soft) 25%, #2a2724 37%, var(--soft) 63%); background-size: 400% 100%; }
[data-theme="dark"] .cat-card img, [data-theme="dark"] .pcard-img img, [data-theme="dark"] .hero-full { filter: brightness(.92); }

/* ============================================================
   Soft cream-and-gold layer — rounded shapes, arches, ornaments and
   feminine details. Sits last so it refines everything above
   (dark-mode counterparts are repeated where the rules above
   have higher specificity).
   ============================================================ */
html { scrollbar-color: var(--line-strong) var(--paper); }
::selection { background: var(--brand-tint); color: var(--brand-dark); }

/* ---- Announcement bar + header ---- */
.announce-bar { background: var(--brand-grad); color: var(--on-brand); font-size: 12.5px; letter-spacing: .04em; padding: 9px 16px; }
[data-theme="dark"] .announce-bar { background: var(--brand-grad); color: var(--on-brand); }
.site-header { background: var(--header-bg); }
[data-theme="dark"] .site-header { background: var(--header-bg); }
.main-nav a::after { height: 2px; border-radius: 2px; background: var(--brand); }
.main-nav a:hover, .main-nav a.active { color: var(--brand-dark); }
.icon-btn:hover { background: var(--brand-tint); color: var(--brand-dark); }
.badge-count { background: var(--brand); color: var(--on-brand); }
.lang-switch a.active { color: var(--brand-dark); border-bottom-color: var(--brand); }
.nav-dropdown-menu { border-radius: var(--radius-md); padding: 12px 8px; border-color: var(--line); }
.main-nav .nav-dropdown-menu a { border-radius: 10px; padding: 9px 14px; }
.main-nav .nav-dropdown-menu a:hover { background: var(--brand-tint); color: var(--brand-dark); }
.main-nav .nav-dropdown-menu .nav-dropdown-all { border-radius: 10px 10px 0 0; }
.search-input-row { border-bottom-color: var(--brand); }
.search-thumb { border-radius: 12px; }

/* ---- Buttons: soft pills with a champagne-gold gradient ---- */
.btn {
  border-radius: 999px; text-transform: none; letter-spacing: .03em; font-size: 14px; padding: 14px 32px;
  transition: background .25s ease, color .25s ease, border-color .25s ease, transform .3s var(--ease), box-shadow .3s ease, filter .25s ease;
}
[dir="rtl"] .btn { letter-spacing: 0; font-size: 14.5px; }
.btn:not(:disabled):hover { transform: translateY(-2px); }
.btn:disabled { box-shadow: none; transform: none; }
.btn-primary { background: var(--brand-grad); color: var(--on-brand); border-color: transparent; box-shadow: 0 6px 16px rgba(138, 106, 44, .20); }
.btn-primary:hover { background: var(--brand-grad); border-color: transparent; filter: brightness(1.07); box-shadow: 0 10px 22px rgba(138, 106, 44, .26); }
[data-theme="dark"] .btn-primary, [data-theme="dark"] .btn-primary:hover { background: var(--brand-grad); color: var(--on-brand); border-color: transparent; }
.btn-brand { background: var(--brand-grad); color: var(--on-brand); border-color: transparent; }
.btn-brand:hover { background: var(--brand-grad); filter: brightness(1.07); }
.btn-outline { border-color: var(--brand); color: var(--brand-dark); }
.btn-outline:hover { background: var(--brand-grad); border-color: transparent; color: var(--on-brand); }
.btn-light { background: #fff; color: var(--on-image); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-ghost-light { border-color: rgba(255,255,255,.85); }
.btn-ghost-light:hover { background: #fff; color: var(--on-image); }
.btn-sm { padding: 10px 22px; font-size: 13px; }
.link-underline { color: var(--brand-dark); border-bottom-color: var(--brand); text-transform: none; letter-spacing: .02em; font-size: 14px; }

/* ---- Hero ---- */
.hero-full { border-radius: 0 0 44px 44px; }
.hero-full::after { background: linear-gradient(to top, rgba(var(--overlay-rgb), .74), rgba(var(--overlay-rgb), .40) 48%, rgba(var(--overlay-rgb), .06)); }
.hero-full .hero-eyebrow { color: var(--eyebrow-on-image); }
.hero-full h1 { text-shadow: 0 2px 24px rgba(var(--overlay-rgb), .35); }

/* ---- Eyebrow lines + ornament under section titles ---- */
.eyebrow, .hero-eyebrow { display: inline-flex; align-items: center; gap: 12px; color: var(--brand-dark); }
.eyebrow::before, .eyebrow::after, .hero-eyebrow::before { content: ''; width: 26px; height: 1px; background: currentColor; opacity: .55; }
.hero-eyebrow::after { display: none; }
.section-head::after {
  content: ''; display: block; width: 92px; height: 12px; margin-top: 6px; color: var(--brand); opacity: .85;
  background:
    radial-gradient(circle, currentColor 0 3px, transparent 3.6px) center / 12px 12px no-repeat,
    linear-gradient(currentColor, currentColor) left center / 36px 1px no-repeat,
    linear-gradient(currentColor, currentColor) right center / 36px 1px no-repeat;
}
.section-head .view-all { color: var(--brand-dark); border-bottom-color: var(--brand); }
.section-soft { background: var(--soft); }

/* ---- Value strip: floating blush card ---- */
.value-props {
  margin: 30px auto 0; width: min(calc(100% - 40px), 1260px);
  border: 1px solid var(--line); border-radius: 30px; background: var(--soft); overflow: hidden;
}
.value-prop { color: var(--ink); }
.value-prop .vp-ic {
  width: 42px; height: 42px; border-radius: 50%; background: var(--surface); color: var(--brand);
  align-items: center; justify-content: center; box-shadow: var(--shadow-sm);
}

/* ---- Category cards: arches ---- */
.cat-card {
  border-radius: 50% 50% 28px 28px / 37.5% 37.5% 28px 28px; box-shadow: var(--shadow-sm);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card::after { background: linear-gradient(to top, rgba(var(--overlay-rgb), .72), rgba(var(--overlay-rgb), .22) 55%, rgba(var(--overlay-rgb), 0) 72%); }
.cat-card-count { text-transform: none; letter-spacing: .04em; font-size: 12.5px; }
.cat-card-cta {
  border: 1px solid rgba(255,255,255,.85); border-radius: 999px; padding: 8px 20px;
  text-transform: none; letter-spacing: .03em; font-size: 13px; margin-top: 14px;
}
.cat-card.no-image { background: linear-gradient(180deg, var(--brand-tint), var(--soft)); }
.cat-card.no-image .cat-card-cta { color: var(--brand-dark); border-color: var(--brand); }
@media (max-width: 640px) { .cat-grid .cat-card:first-child { border-radius: 28px; } }

/* ---- Story block: arch photo ---- */
.editorial-media { border-radius: 50% 50% 32px 32px / 40% 40% 32px 32px; box-shadow: var(--shadow-md); }
.editorial-copy h2 { color: var(--ink); }

/* ---- Gift finder: separate rounded tiles ---- */
.gift-grid { gap: 16px; background: none; border: none; }
.gift-chip { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 34px 16px; transition: transform .4s var(--ease), background .25s ease, box-shadow .4s ease, border-color .25s ease; }
.gift-chip:hover { background: var(--brand-tint); border-color: var(--line-strong); transform: translateY(-5px); box-shadow: var(--shadow-sm); }
.gift-chip .gc-ic { width: 60px; height: 60px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); align-items: center; justify-content: center; }
.gift-chip:hover .gc-ic { background: var(--surface); transform: scale(1.06); }

/* ---- Product cards ---- */
.pcard { transition: transform .4s var(--ease); }
.pcard:hover { transform: translateY(-4px); }
.pcard-img { border-radius: 22px; transition: box-shadow .4s ease; }
.pcard:hover .pcard-img { box-shadow: var(--shadow-md); }
.pcard-badge { border-radius: 999px; padding: 5px 13px; font-size: 11px; letter-spacing: .03em; text-transform: none; font-weight: 600; box-shadow: var(--shadow-sm); }
.pcard-badge.sale { background: var(--brand-grad); color: var(--on-brand); }
.pcard-badge.new { background: var(--surface); color: var(--brand-dark); }
[data-theme="dark"] .pcard-badge.sale { background: var(--brand-grad); color: var(--on-brand); }
[data-theme="dark"] .pcard-badge.new { background: var(--brand-tint); color: var(--brand-dark); }
.pcard-wish { width: 38px; height: 38px; background: rgba(255,255,255,.94); box-shadow: var(--shadow-sm); }
.pcard-wish svg { stroke: var(--brand-dark); }
.pcard-wish.active svg { fill: var(--brand); stroke: var(--brand); }
[data-theme="dark"] .pcard-wish { background: rgba(37, 32, 22, .92); }
[data-theme="dark"] .pcard-wish svg { stroke: var(--brand-dark); }
[data-theme="dark"] .pcard-wish.active svg { fill: var(--brand); stroke: var(--brand); }
.pcard-name a:hover { color: var(--brand-dark); }
.price { color: var(--brand-dark); font-weight: 600; }
.pcard-btn { border-radius: 999px; border-color: var(--brand); color: var(--brand-dark); text-transform: none; letter-spacing: .02em; font-size: 13px; padding: 11px; }
.pcard-btn:hover:not(:disabled) { background: var(--brand-grad); border-color: transparent; color: var(--on-brand); }
.pcard-btn:disabled { color: var(--ink-faint); border-color: var(--line); }

/* ---- Listing pages ---- */
.subcat-chips a { border-radius: 999px; padding: 9px 20px; border-color: var(--line-strong); }
.subcat-chips a:hover { border-color: var(--brand); color: var(--brand-dark); }
.subcat-chips a.active { background: var(--brand-grad); color: var(--on-brand); border-color: transparent; }
.filter-option input { accent-color: var(--brand); }
.sort-select { border: 1px solid var(--line-strong); border-radius: 999px; padding: 8px 18px; }
.pagination a, .pagination span { border-radius: 50%; }
.pagination a:hover { background: var(--brand-tint); color: var(--brand-dark); }
.pagination .current { background: var(--brand-grad); color: var(--on-brand); border-bottom: none; }
.account-nav-link.active { color: var(--brand-dark); }

/* ---- Product page ---- */
.pdp-main-img { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.pdp-thumb { border-radius: 14px; }
.pdp-thumb.active, .pdp-thumb:hover { border-color: var(--brand); }
.pdp-price-row .price { color: var(--brand-dark); }
.pdp-badge-discount { background: var(--brand-tint); color: var(--brand-dark); padding: 3px 12px; border-radius: 999px; }
.size-opt { border-radius: 999px; }
.size-opt:hover:not(:disabled) { border-color: var(--brand); }
.size-opt.active { background: var(--brand-grad); color: var(--on-brand); border-color: transparent; }
.size-guide { border-radius: var(--radius-md); }
.qty-box { border-radius: 999px; }
.pdp-wish-btn { border-radius: 50%; }
.pdp-wish-btn:hover { border-color: var(--brand); }
.pdp-wish-btn svg { stroke: var(--brand-dark); }
.pdp-wish-btn.active svg { fill: var(--brand); stroke: var(--brand); }
.trust-mini .tm-ic { color: var(--brand); }
.pdp-accordion summary::after { color: var(--brand); }

/* ---- Cart, search, toast ---- */
.cart-drawer { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
[dir="rtl"] .cart-drawer { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; }
.cart-thumb { border-radius: 14px; }
.qty-controls .qty-btn { border-radius: 50%; }
.toast { border-radius: 999px; background: var(--brand-grad); color: var(--on-brand); }
[data-theme="dark"] .toast { color: var(--on-brand); }

/* ---- Forms / checkout ---- */
.form-card { border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-tint); }
.payment-option { border-radius: var(--radius-md); }
.payment-option:has(input:checked) { border-color: var(--brand); background: var(--brand-tint); }
.payment-option input { accent-color: var(--brand); }
#vodafoneCashBox { border-radius: var(--radius-md); }
.order-summary { border-radius: var(--radius-lg); }
.form-msg { border-radius: var(--radius-sm); }

/* ---- Banners, trust, footer ---- */
.track-order-banner { border-radius: var(--radius-lg); background: var(--soft); border-color: transparent; }
.track-order-banner-icon { color: var(--brand); }
.trust-card .tc-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--brand-tint); color: var(--brand); align-items: center; margin-inline: auto; }
.site-footer { border-radius: 44px 44px 0 0; }
.footer-col h4 { color: var(--brand-dark); }
.footer-social a { border-color: var(--brand); color: var(--brand-dark); }
.footer-social a:hover { background: var(--brand-grad); border-color: transparent; color: var(--on-brand); }
.newsletter-row { border: 1px solid var(--line-strong); border-radius: 999px; padding-block: 4px; padding-inline: 18px 5px; background: var(--surface); }
.newsletter-row .btn { background: var(--brand-grad); color: var(--on-brand); padding: 9px 20px; border-radius: 999px; box-shadow: none; }
.newsletter-row .btn:hover { background: var(--brand-grad); color: var(--on-brand); }

/* ---- WhatsApp button + mobile tab bar ---- */
.whatsapp-fab { background: var(--brand-grad); color: var(--on-brand); border: none; box-shadow: 0 8px 22px rgba(138, 106, 44, .30); }
.whatsapp-fab:hover { background: var(--brand-grad); color: var(--on-brand); filter: brightness(1.08); }
[data-theme="dark"] .whatsapp-fab, [data-theme="dark"] .whatsapp-fab:hover { background: var(--brand-grad); color: var(--on-brand); box-shadow: 0 10px 26px rgba(0, 0, 0, .55); }
.mobile-tabbar { border-top: none; border-radius: 24px 24px 0 0; box-shadow: 0 -8px 30px rgba(138, 106, 44, .16); }
.mobile-tab.active { color: var(--brand-dark); }
@media (max-width: 640px) {
  .hero-full { border-radius: 0 0 30px 30px; }
  .cart-drawer, [dir="rtl"] .cart-drawer { border-radius: 0; }
  .site-footer { border-radius: 30px 30px 0 0; }
}

/* ============================================================
   Layout v2 — boutique storefront
   Search + centred logo header with a nav row, card hero,
   "stories" category circles, promo tiles, tabbed product
   shelves, pill gift finder and a newsletter band footer.
   Colours come only from the tokens above, so any palette works.
   ============================================================ */
:root { --header-row-h: 74px; --header-h: 124px; }
@media (max-width: 900px) { :root { --header-row-h: 62px; --header-h: 62px; } }

/* ---- Header ---- */
.header-row { height: var(--header-row-h); }
.header-left { overflow: visible; gap: 12px; }
.header-search {
  display: flex; align-items: center; gap: 10px; width: min(100%, 330px);
  padding: 11px 18px; border: 1px solid var(--line-strong); border-radius: 999px;
  background: var(--soft); color: var(--ink-faint); font-size: 13.5px; cursor: pointer; text-align: start;
  transition: border-color .2s ease, background .2s ease;
}
.header-search:hover { border-color: var(--brand); background: var(--surface); }
.header-search svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--brand-dark); }
.header-search span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.main-nav-row { justify-content: center; gap: 40px; height: 48px; align-items: center; border-top: 1px solid var(--line); font-size: 14px; font-weight: 500; letter-spacing: 0; }
.main-nav-row > a, .main-nav-row .nav-dropdown > a { padding: 14px 0; }
.main-nav-row .nav-dropdown { height: 100%; }
.nav-dropdown-menu { top: calc(100% - 2px); inset-inline-start: -20px; }

/* ---- Section rhythm / headings ---- */
.section-tight { padding: 26px 0; }
.section-head-split { flex-direction: row; align-items: flex-end; justify-content: space-between; text-align: start; flex-wrap: wrap; gap: 18px 24px; }
.section-head-split::after { display: none; }
.section-head-copy { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.section-head-copy h2 { font-size: clamp(28px, 3vw, 40px); }
.section-head-copy .eyebrow::after, .hero-card-copy .eyebrow::after, .promo-copy .eyebrow::after { display: none; }

/* ---- Hero: split card ---- */
.hero-card-wrap { padding: 28px 0 6px; }
.hero-card { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); min-height: 520px; background: var(--soft); border-radius: 36px; overflow: hidden; }
.hero-card-copy { padding: 56px 56px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero-card-copy h1 { font-size: clamp(34px, 4vw, 58px); line-height: 1.12; margin: 14px 0 16px; color: var(--ink); }
.hero-card-copy p { color: var(--ink-soft); font-size: 15.5px; max-width: 440px; margin: 0 0 30px; }
.hero-card-media { position: relative; background: var(--paper) center / cover no-repeat; min-height: 280px; }
.hero-chip {
  position: absolute; inset-inline-start: 22px; bottom: 22px; display: flex; align-items: center; gap: 10px;
  background: var(--surface); color: var(--ink); border-radius: 18px; padding: 12px 18px; font-size: 13px; font-weight: 500; box-shadow: var(--shadow-md);
}
.hero-chip .ic { color: var(--brand); }

/* ---- Category "stories" ---- */
.stories { display: flex; gap: 28px; justify-content: safe center; overflow-x: auto; padding: 6px 4px 12px; scroll-snap-type: x proximity; scrollbar-width: none; }
.stories::-webkit-scrollbar { display: none; }
.story { flex: 0 0 auto; width: 112px; display: flex; flex-direction: column; align-items: center; gap: 12px; scroll-snap-align: start; }
.story-ring { width: 106px; height: 106px; padding: 3px; border-radius: 50%; background: var(--brand-grad); transition: transform .4s var(--ease); }
.story:hover .story-ring { transform: scale(1.06); }
.story-ring > img, .story-ring > .story-ic { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid var(--paper); background: var(--soft); }
.story-ic { display: flex; align-items: center; justify-content: center; color: var(--brand-dark); }
.story-label { font-size: 13.5px; font-weight: 500; text-align: center; line-height: 1.3; }

/* ---- Promo tiles ---- */
.promo-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.promo {
  position: relative; min-height: 300px; border-radius: 28px; overflow: hidden; color: #fff;
  background: var(--soft) center / cover no-repeat; display: flex; align-items: flex-end; padding: 30px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(var(--overlay-rgb), .74), rgba(var(--overlay-rgb), .14) 62%, rgba(var(--overlay-rgb), 0)); }
.promo:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.promo-copy { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.promo-copy .eyebrow { color: var(--eyebrow-on-image); }
.promo-copy h3 { font-family: var(--font-display); font-size: clamp(26px, 2.6vw, 38px); font-weight: 500; line-height: 1.15; color: #fff; }
.promo .link-underline { color: #fff; border-bottom-color: rgba(255,255,255,.8); }

/* ---- Product shelf tabs ---- */
.tabs { display: flex; gap: 4px; padding: 5px; background: var(--soft); border-radius: 999px; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { flex: 0 0 auto; border: none; background: transparent; padding: 10px 22px; border-radius: 999px; font: inherit; font-weight: 600; font-size: 13.5px; color: var(--ink-soft); cursor: pointer; transition: background .25s ease, color .25s ease; }
.tab:hover { color: var(--ink); }
.tab.active { background: var(--surface); color: var(--brand-dark); box-shadow: var(--shadow-sm); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: tabIn .45s var(--ease); }
@keyframes tabIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---- Product card: quick-add over the photo ---- */
.pgrid { gap: 34px 20px; }
.pcard-img { aspect-ratio: 4/5; border-radius: 20px; }
.pcard-badge.out { background: var(--ink); color: var(--paper); }
.pcard-quick {
  position: absolute; z-index: 2; inset-inline: 12px; bottom: 12px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  border: none; border-radius: 999px; padding: 12px 14px; background: var(--surface); color: var(--ink);
  font: 600 13px/1 inherit; font-family: inherit; cursor: pointer; box-shadow: var(--shadow-md);
  opacity: 0; transform: translateY(12px); transition: opacity .3s ease, transform .35s var(--ease), background .25s ease, color .25s ease;
}
.pcard:hover .pcard-quick, .pcard-quick:focus-visible { opacity: 1; transform: none; }
.pcard-quick:hover:not(:disabled) { background: var(--brand-grad); color: var(--on-brand); }
.pcard-quick:disabled { color: var(--ink-faint); cursor: not-allowed; }
.pcard-body { align-items: flex-start; text-align: start; padding: 14px 4px 0; gap: 4px; }
.price-row { justify-content: flex-start; }
.pcard-rating .star { color: var(--brand); }
@media (max-width: 900px), (hover: none) {
  .pcard-quick { inset-inline-start: auto; inset-inline-end: 10px; bottom: 10px; width: 42px; height: 42px; padding: 0; opacity: 1; transform: none; }
  .pq-label { display: none; }
}

/* ---- Story block ---- */
.editorial-media { border-radius: 28px; box-shadow: 18px 18px 0 var(--line); }
[dir="rtl"] .editorial-media { box-shadow: -18px 18px 0 var(--line); }
.editorial-points { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.editorial-points li { display: flex; align-items: center; gap: 12px; font-size: 14.5px; color: var(--ink-soft); }
.editorial-points .ic { color: var(--brand); }

/* ---- Gift finder: pills ---- */
.gift-pills { display: flex; flex-wrap: wrap; gap: 14px; }
.gift-pill {
  display: inline-flex; align-items: center; gap: 12px; padding: 16px 28px; border-radius: 999px;
  border: 1px solid var(--line-strong); background: var(--surface); font-weight: 500; font-size: 15px;
  transition: background .3s ease, color .3s ease, border-color .3s ease, transform .35s var(--ease), box-shadow .3s ease;
}
.gift-pill .ic { color: var(--brand); transition: color .3s ease; }
.gift-pill:hover { background: var(--brand-grad); color: var(--on-brand); border-color: transparent; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.gift-pill:hover .ic { color: inherit; }

/* ---- Footer: newsletter band + 3 columns ---- */
.site-footer { border-radius: 40px 40px 0 0; overflow: hidden; }
.newsletter-band { background: var(--brand-tint); }
.newsletter-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding-block: 40px; }
.newsletter-band h3 { font-family: var(--font-display); font-size: clamp(24px, 2.4vw, 34px); font-weight: 500; margin-bottom: 4px; }
.newsletter-band p { margin: 0; color: var(--ink-soft); font-size: 14px; }
.newsletter-band .newsletter-row { margin-top: 0; width: min(100%, 440px); }
@media (min-width: 1101px) { .footer-top { grid-template-columns: 1.7fr 1fr 1fr; } }

/* ---- Listing pages ---- */
.listing-head { text-align: start; padding: 40px 0 10px; }
.listing-desc { margin: 0; }
.subcat-chips { justify-content: flex-start; }
.filters { background: var(--surface); border: 1px solid var(--line); border-radius: 24px; padding: 4px 22px 22px; }
.filter-group:first-child { border-top: none; }

/* ---- Product page: thumbnails beside the photo ---- */
@media (min-width: 901px) {
  .pdp-gallery:has(.pdp-thumbs) { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 14px; align-items: start; }
  .pdp-gallery .pdp-thumbs { order: -1; flex-direction: column; flex-wrap: nowrap; }
  .pdp-gallery .pdp-thumb { width: 84px; height: 104px; }
  .pdp-gallery .pdp-main-img { margin-bottom: 0; }
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .filters.open { border-radius: 0; }
  .hero-card-wrap { padding: 16px 0 2px; }
  .hero-card { grid-template-columns: 1fr; min-height: 0; border-radius: 28px; }
  .hero-card-media { order: -1; aspect-ratio: 4 / 3; min-height: 0; }
  .hero-card-copy { padding: 26px 22px 30px; }
  .hero-card-copy p { margin-bottom: 22px; }
  .stories { gap: 18px; justify-content: flex-start; }
  .story { width: 80px; gap: 9px; }
  .story-ring { width: 76px; height: 76px; }
  .story-label { font-size: 12.5px; }
  .promo-grid { grid-template-columns: 1fr; gap: 14px; }
  .promo { min-height: 230px; padding: 22px; border-radius: 24px; }
  .section-head-split { flex-direction: column; align-items: flex-start; }
  .tabs { width: 100%; }
  .gift-pills { gap: 10px; }
  .gift-pill { padding: 12px 18px; font-size: 14px; }
  .newsletter-band-inner { flex-direction: column; align-items: flex-start; padding-block: 30px; }
  .site-footer { border-radius: 28px 28px 0 0; }
  .editorial-media { box-shadow: 12px 12px 0 var(--line); }
  [dir="rtl"] .editorial-media { box-shadow: -12px 12px 0 var(--line); }
}
/* ---- "Install the app" button (footer) ---- */
.install-app-btn { display: inline-flex; align-items: center; gap: 9px; margin-top: 16px; padding: 11px 22px; border: 1px solid var(--brand); border-radius: 999px; background: transparent; color: var(--brand-dark); font: 600 13.5px/1 inherit; font-family: inherit; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.install-app-btn[hidden] { display: none; }
.install-app-btn svg { width: 18px; height: 18px; } .apk-link { text-decoration: none; margin-inline-end: 8px; }
.install-app-btn:hover { background: var(--brand-grad); border-color: transparent; color: var(--on-brand); }
[data-theme="dark"] .install-app-btn { color: var(--brand); }
[data-theme="dark"] .install-app-btn:hover { color: var(--on-brand); }