/* ================================
   Willi's Perfume — Light / Mobile First
   ================================ */

:root {
  --ivory: #f7f3ec;
  --ivory-2: #efe8dc;
  --white: #ffffff;
  --ink: #171614;
  --muted: #756f67;
  --line: #e6ded2;
  --gold: #a77a32;
  --gold-dark: #7d5920;
  --gold-soft: #d6b273;
  --shadow: 0 18px 50px rgba(45, 35, 22, .09);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --card: #ffffff;
  --green: #2e7d4f;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 128px; /* sticky promo bar (36px) + header (72–82px) */
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Jost", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.modal-open,
body.menu-open,
body.cart-open { overflow: hidden; }

button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  min-height: 100vh;
  /* clip (not hidden) so position:sticky on the header keeps working */
  overflow: clip;
}

.site-topbar {
  /* Announcement bar + header stick together as one unit on every page.
     position:sticky needs an ancestor without overflow scroll containers —
     .page-shell now uses overflow:clip so this keeps working. */
  position: sticky;
  top: 0;
  z-index: 60;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  padding: 10px 18px;
  background: rgba(247, 243, 236, .92);
  border-bottom: 1px solid rgba(230, 222, 210, .7);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  width: 43px;
  height: 43px;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-copy strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 700;
}

.brand-copy small {
  font-size: 7px;
  letter-spacing: 3px;
  font-weight: 600;
}

.icon-btn {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.menu-btn {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 5px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
}

.hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 680px;
  padding: 34px 20px 18px;
  position: relative;
  background:
    radial-gradient(circle at 90% 15%, rgba(214, 178, 115, .19), transparent 30%),
    linear-gradient(145deg, #f9f6f0 0%, #f1e9dd 100%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 15px;
}

.eyebrow {
  display: inline-block;
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.hero h1 {
  margin: 17px 0 15px;
  max-width: 440px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(52px, 14vw, 82px);
  line-height: .84;
  letter-spacing: -.04em;
  font-weight: 600;
}

.hero h1 em,
.story-card h2 em {
  font-weight: 500;
}

.hero p {
  max-width: 390px;
  margin: 0;
  color: #514c45;
  font-size: 14px;
  line-height: 1.8;
}

.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 50px;
  border-radius: 999px;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.primary-btn {
  margin-top: 24px;
  padding: 0 21px;
  color: #fff;
  background: linear-gradient(135deg, #bd9148, #8c6428);
  box-shadow: 0 12px 28px rgba(125, 89, 32, .22);
  font-size: 12px;
  font-weight: 600;
}

.primary-btn span { font-size: 20px; line-height: 0; }

.primary-btn:active,
.secondary-btn:active { transform: scale(.98); }

.hero-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: 32px;
  min-height: 330px;
  margin-top: -10px;
  display: grid;
  place-items: center;
}

.hero-bottle {
  position: relative;
  z-index: 3;
  width: min(62vw, 285px);
  max-height: 355px;
  object-fit: contain;
  filter: drop-shadow(0 24px 24px rgba(44, 31, 15, .16));
}

.hero-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.96), rgba(218, 195, 161, .08) 67%, transparent 70%);
}

.hero-stone {
  position: absolute;
  bottom: 20px;
  width: min(88vw, 420px);
  height: 55px;
  border-radius: 50%;
  background: linear-gradient(180deg, #d7cbbb, #b7aa97);
  transform: perspective(180px) rotateX(56deg);
  box-shadow: 0 20px 30px rgba(66, 48, 27, .12);
}


/* Living hero motion — slow and subtle to keep the luxury feel */
.hero-visual::before {
  content: "";
  position: absolute;
  inset: 7% 2% 8%;
  z-index: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,.78), rgba(214,178,115,.08) 62%, transparent 72%);
  animation: heroBreath 7s ease-in-out infinite;
}

.hero-bottle {
  animation: bottleFloat 5.8s ease-in-out infinite;
  will-change: transform;
}

.hero-particle {
  position: absolute;
  z-index: 4;
  width: 18px;
  height: 9px;
  border-radius: 100% 0 100% 0;
  background: linear-gradient(135deg, #c79a4f, #e8c98f);
  opacity: 0;
  pointer-events: none;
  box-shadow: 0 4px 9px rgba(91, 65, 24, .10);
}

.hero-particle::after {
  content: "";
  position: absolute;
  left: 2px;
  top: 4px;
  width: 14px;
  height: 1px;
  background: rgba(110, 76, 28, .22);
  transform: rotate(-18deg);
  transform-origin: left center;
}

.hero-particle.p1 { left: 8%; top: 28%; animation: leafDrift1 9s ease-in-out infinite; }
.hero-particle.p2 { left: 75%; top: 16%; width: 13px; height: 7px; animation: leafDrift2 11s ease-in-out 1.2s infinite; }
.hero-particle.p3 { left: 86%; top: 53%; width: 20px; height: 10px; animation: leafDrift3 10s ease-in-out 2s infinite; }
.hero-particle.p4 { left: 18%; top: 65%; width: 12px; height: 7px; animation: leafDrift4 12s ease-in-out 3s infinite; }
.hero-particle.p5 { left: 63%; top: 72%; width: 16px; height: 8px; animation: leafDrift5 13s ease-in-out 4s infinite; }

@keyframes heroBreath {
  0%, 100% { transform: scale(1); opacity: .82; }
  50% { transform: scale(1.06); opacity: 1; }
}

@keyframes bottleFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -8px, 0) rotate(.35deg); }
}

@keyframes leafDrift1 {
  0% { opacity: 0; transform: translate(-20px, 15px) rotate(10deg); }
  12% { opacity: .72; }
  50% { opacity: .9; transform: translate(55px, -30px) rotate(115deg); }
  88% { opacity: .5; }
  100% { opacity: 0; transform: translate(110px, 8px) rotate(210deg); }
}

@keyframes leafDrift2 {
  0% { opacity: 0; transform: translate(10px, 15px) rotate(40deg); }
  14% { opacity: .6; }
  55% { opacity: .82; transform: translate(-55px, 55px) rotate(-80deg); }
  100% { opacity: 0; transform: translate(-100px, 90px) rotate(-170deg); }
}

@keyframes leafDrift3 {
  0% { opacity: 0; transform: translate(20px, -5px) rotate(0deg); }
  10% { opacity: .65; }
  50% { opacity: .9; transform: translate(-70px, -55px) rotate(130deg); }
  100% { opacity: 0; transform: translate(-125px, -5px) rotate(260deg); }
}

@keyframes leafDrift4 {
  0% { opacity: 0; transform: translate(-5px, 0) rotate(-20deg); }
  15% { opacity: .55; }
  55% { opacity: .75; transform: translate(60px, -50px) rotate(90deg); }
  100% { opacity: 0; transform: translate(125px, -25px) rotate(190deg); }
}

@keyframes leafDrift5 {
  0% { opacity: 0; transform: translate(0, 20px) rotate(20deg); }
  15% { opacity: .5; }
  55% { opacity: .75; transform: translate(-45px, -55px) rotate(-110deg); }
  100% { opacity: 0; transform: translate(-85px, -10px) rotate(-220deg); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bottle,
  .hero-visual::before,
  .hero-particle {
    animation: none !important;
  }
  .hero-particle { opacity: .18; }
}

.collection-section {
  padding: 55px 18px 90px;
  background: var(--ivory);
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.section-heading h2 {
  margin: 7px 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 42px;
  line-height: .9;
  font-weight: 600;
}

.count-badge {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
  white-space: nowrap;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
  height: 52px;
  margin-bottom: 14px;
  padding: 0 15px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(50, 38, 20, .045);
}

.search-icon {
  margin-right: 9px;
  font-size: 25px;
  line-height: 1;
  transform: rotate(-20deg);
}

.search-wrap input {
  width: 100%;
  height: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 12px;
}

.search-wrap input::placeholder { color: #a39b90; }

.clear-search {
  display: none;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 20px;
}

.filter-row,
.category-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 2px 1px 11px;
  scrollbar-width: none;
}

.filter-row::-webkit-scrollbar,
.category-row::-webkit-scrollbar { display: none; }

.filter-chip,
.category-chip {
  flex: 0 0 auto;
  min-height: 39px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #3e3933;
  background: rgba(255,255,255,.7);
  cursor: pointer;
  font-size: 11px;
  font-weight: 600;
}

.filter-chip.active {
  color: #fff;
  background: linear-gradient(135deg, #b88a42, #8c6428);
  border-color: transparent;
}

.category-row {
  margin-bottom: 22px;
}

.category-chip {
  min-height: 34px;
  padding: 0 13px;
  font-size: 10px;
  font-weight: 500;
}

.category-chip.active {
  color: var(--gold-dark);
  border-color: var(--gold-soft);
  background: #f4ead8;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.product-card {
  position: relative;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 9px 28px rgba(55, 41, 21, .055);
}

.product-image-wrap {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 185px;
  padding: 14px;
  background:
    radial-gradient(circle at 50% 40%, #fff 0%, #f5efe6 65%, #eee5d8 100%);
}

.product-image {
  width: 78%;
  height: 175px;
  object-fit: contain;
  cursor: pointer;
  filter: drop-shadow(0 15px 14px rgba(35, 25, 12, .13));
}

.product-gender {
  position: absolute;
  top: 9px;
  left: 9px;
  padding: 5px 7px;
  border-radius: 999px;
  color: #665d52;
  background: rgba(255,255,255,.84);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .8px;
  text-transform: uppercase;
}

.product-body {
  padding: 13px 12px 14px;
}

.product-name {
  margin: 0 0 5px;
  font-family: "Marcellus", "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  line-height: 1.05;
  font-weight: 400;
  letter-spacing: .25px;
}

.inspired {
  min-height: 28px;
  margin: 0 0 9px;
  color: #756e66;
  font-size: 8.5px;
  line-height: 1.45;
}

.inspired strong {
  color: #4e4840;
  font-weight: 600;
}

.profile-row {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  min-height: 21px;
}

.profile-chip {
  padding: 4px 6px;
  border-radius: 999px;
  background: #f4f0e9;
  color: #625b53;
  font-size: 7px;
  font-weight: 600;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 12px;
  color: var(--gold-dark);
}

.price-line span {
  color: #9b9389;
  font-size: 8px;
}

.price-line strong {
  font-size: 15px;
}

.view-details {
  width: 100%;
  margin-top: 10px;
  min-height: 37px;
  border: 1px solid #d8c8ad;
  border-radius: 10px;
  color: #6f501f;
  background: #fffaf1;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
}

.empty-state {
  padding: 55px 15px;
  text-align: center;
}

.empty-state > div {
  font-size: 42px;
  transform: rotate(-20deg);
}

.empty-state h3 {
  margin: 12px 0 5px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 30px;
}

.empty-state p {
  margin: 0 auto;
  max-width: 280px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.7;
}

.secondary-btn {
  margin-top: 18px;
  padding: 0 18px;
  color: var(--ink);
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 10px;
  font-weight: 600;
}

.hidden { display: none !important; }

.story-section {
  padding: 0 18px 75px;
  background: var(--ivory);
}

.story-card {
  position: relative;
  overflow: hidden;
  padding: 42px 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at 90% 10%, rgba(201, 168, 112, .22), transparent 35%),
    linear-gradient(145deg, #ece2d3, #f8f3eb);
  box-shadow: var(--shadow);
}

.story-card::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 1px solid rgba(167,122,50,.16);
}

.story-card h2 {
  margin: 15px 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 48px;
  line-height: .83;
  font-weight: 600;
}

.story-card p {
  max-width: 320px;
  margin: 0;
  color: #625a50;
  font-size: 11px;
  line-height: 1.8;
}

.story-line {
  display: block;
  width: 50px;
  height: 1px;
  margin: 22px 0 10px;
  background: var(--gold);
}

.story-card strong {
  color: var(--gold-dark);
  font-size: 8px;
  letter-spacing: 3px;
}

.site-footer {
  padding: 45px 20px 110px;
  text-align: center;
  background: #171614;
  color: #fff;
}

.footer-logo {
  width: 58px;
  height: 58px;
  object-fit: contain;
  margin-bottom: 8px;
}

.site-footer h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
}

.site-footer p {
  margin: 2px 0 22px;
  color: #c7b99f;
  font-size: 8px;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.site-footer small {
  color: #8f8981;
  font-size: 8px;
}

.mobile-nav {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: max(10px, env(safe-area-inset-bottom));
  z-index: 70;
  display: flex;
  justify-content: space-around;
  padding: 8px 6px;
  border: 1px solid rgba(230,222,210,.85);
  border-radius: 20px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 40px rgba(28, 20, 10, .15);
  backdrop-filter: blur(18px);
}

.mobile-nav-item {
  display: grid;
  place-items: center;
  gap: 3px;
  min-width: 74px;
  min-height: 48px;
  border: 0;
  background: transparent;
  color: #81796f;
  cursor: pointer;
}

.mobile-nav-item span {
  font-size: 18px;
  line-height: 1;
}

.mobile-nav-item small {
  font-size: 8px;
  font-weight: 600;
}

.mobile-nav-item.active {
  color: var(--gold-dark);
}

.menu-overlay,
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(18, 15, 11, .38);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

/* Product-detail modal sits above the cart drawer (z 110/120) so it is not
   hidden behind the cart when opened from "often ordered together". */
.modal-backdrop { z-index: 130; }

.menu-overlay.open,
.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 90;
  width: min(88vw, 360px);
  height: 100dvh;
  padding: 25px 24px;
  background: #fbf8f3;
  transform: translateX(105%);
  transition: transform .3s ease;
  box-shadow: -20px 0 50px rgba(0,0,0,.12);
}

.side-menu.open { transform: translateX(0); }

.menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 29px;
}

.close-menu {
  width: 42px;
  height: 42px;
  font-size: 30px;
}

.side-menu nav {
  display: grid;
  gap: 5px;
  margin-top: 35px;
}

.side-menu nav a,
.side-menu nav button {
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}

.side-menu nav a.active {
  color: var(--gold-dark);
  font-weight: 700;
}

.menu-divider {
  height: 1px;
  margin: 28px 0 16px;
  background: var(--line);
}

.menu-caption {
  color: var(--muted);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 23px;
  line-height: 1.05;
}

.menu-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 30px;
}

.menu-socials a {
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 9px;
}

.product-modal {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 140;
  width: min(100%, 680px);
  max-height: 92dvh;
  overflow-y: auto;
  border-radius: 28px 28px 0 0;
  background: #fbf8f3;
  transform: translate(-50%, 105%);
  transition: transform .32s ease;
  box-shadow: 0 -20px 70px rgba(0,0,0,.18);
}

.product-modal.open {
  transform: translate(-50%, 0);
}

.modal-close {
  position: absolute;
  top: 13px;
  right: 15px;
  z-index: 5;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.88);
  color: var(--ink);
  cursor: pointer;
  font-size: 27px;
}

.modal-content {
  padding: 18px 18px 28px;
}

.detail-image {
  display: grid;
  place-items: center;
  min-height: 290px;
  margin: -18px -18px 20px;
  background: linear-gradient(145deg, #f3ece1, #fffdf9);
}

.detail-image img {
  width: min(72vw, 320px);
  height: 290px;
  object-fit: contain;
  filter: drop-shadow(0 18px 18px rgba(35, 25, 12, .14));
}

.detail-gender {
  color: var(--gold-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.detail-title {
  margin: 7px 0 4px;
  font-family: "Marcellus", "Cormorant Garamond", Georgia, serif;
  font-size: 44px;
  line-height: .96;
  font-weight: 400;
}

.detail-inspired {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
}

.detail-profile {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 15px 0;
}

.detail-description {
  color: #4f4942;
  font-size: 11px;
  line-height: 1.85;
}

.family-box {
  margin: 20px 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #fff;
}

.family-box span {
  display: block;
  color: var(--muted);
  margin-bottom: 5px;
  font-size: 8px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.family-box strong { font-size: 12px; }

.notes-title,
.size-title {
  margin: 24px 0 10px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 25px;
}

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.note-card {
  min-height: 100px;
  padding: 12px 9px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.note-card span {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-dark);
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
}

.note-card p {
  margin: 0;
  color: #5e574f;
  font-size: 8px;
  line-height: 1.65;
}

.size-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.size-btn {
  min-height: 66px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.size-btn.active {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
  background: #fffaf2;
}

.size-btn span,
.size-btn strong {
  display: block;
}

.size-btn span {
  color: var(--muted);
  font-size: 9px;
}

.size-btn strong {
  margin-top: 5px;
  color: var(--gold-dark);
  font-size: 13px;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  margin-top: 18px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: #1fae62;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(31,174,98,.18);
}

.whatsapp-btn svg, .qs-add svg { flex: none; }

.whatsapp-btn span {
  margin-right: 8px;
  font-size: 20px;
}

/* Tablet / desktop: still starts mobile-first, then expands cleanly. */
@media (min-width: 700px) {
  .site-header {
    height: 82px;
    padding-inline: 32px;
  }

  .hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    min-height: 650px;
    padding: 50px 7vw;
  }

  .hero-copy { padding-top: 0; }
  .hero-visual { min-height: 530px; margin-top: 0; }
  .hero-bottle { width: min(32vw, 380px); max-height: 500px; }
  .hero-glow { width: 400px; height: 400px; }
  .hero-stone { bottom: 50px; }

  .collection-section,
  .story-section { padding-inline: 7vw; }

  .products-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
  }

  .product-image-wrap { min-height: 280px; }
  .product-image { height: 260px; }

  .story-card { padding: 60px; }
}

@media (min-width: 1050px) {
  .hero { padding-inline: 11vw; }
  .collection-section,
  .story-section { padding-inline: 11vw; }

  .products-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .mobile-nav { display: none; }

  .collection-section { padding-bottom: 120px; }
}

/* =========================================
   V5 — Cinematic Editorial Hero
   ========================================= */

.site-header {
  height: 82px;
  padding: 10px clamp(18px, 5vw, 72px);
}

.desktop-nav,
.desktop-actions {
  display: none;
}

.hero {
  position: relative;
  min-height: 690px;
}

.hero-features {
  display: flex;
  gap: 0;
  margin-top: 28px;
  max-width: 430px;
}

.hero-features > div {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  padding: 0 12px;
  border-right: 1px solid rgba(150,115,61,.28);
}

.hero-features > div:first-child { padding-left: 0; }
.hero-features > div:last-child { border-right: 0; }

.hero-features b {
  color: var(--gold-dark);
  font-size: 19px;
  font-weight: 500;
}

.hero-features span {
  color: #514b43;
  font-size: 8px;
  line-height: 1.45;
  font-weight: 600;
}

.hero-visual {
  overflow: visible;
  border-radius: 0;
}

.hero-arch {
  position: absolute;
  z-index: 0;
  top: 4%;
  right: 7%;
  width: 62%;
  height: 88%;
  border: 0;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(145deg, rgba(225,207,179,.55), rgba(181,145,94,.18));
  box-shadow: inset 18px 0 45px rgba(255,255,255,.25);
}

.hero-visual::after {
  content: "";
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 0;
  width: 30%;
  height: 94%;
  background: linear-gradient(90deg, transparent, rgba(219,202,177,.42));
  border-radius: 28px 0 0 0;
  pointer-events: none;
}

.hero-glow {
  z-index: 1;
  width: 370px;
  height: 370px;
}

.hero-bottle {
  z-index: 5;
  width: min(35vw, 355px);
  max-height: 470px;
  filter: drop-shadow(0 30px 24px rgba(43,31,15,.18));
}

.hero-stone {
  z-index: 4;
  left: 50%;
  transform: translateX(-50%) perspective(180px) rotateX(56deg);
}

.hero-stone-back {
  bottom: 58px;
  width: 55%;
  height: 45px;
  opacity: .95;
}

.hero-stone-front {
  bottom: 30px;
  width: 70%;
  height: 58px;
  background: linear-gradient(180deg, #d4c5ae, #b9aa94);
}

.hero-side-copy {
  position: absolute;
  z-index: 6;
  right: 1%;
  top: 29%;
  color: #7d5920;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  line-height: 1.75;
  letter-spacing: 2px;
}

.hero-side-copy i {
  display: block;
  width: 36px;
  height: 1px;
  margin-top: 14px;
  background: var(--gold);
}

.hero-foliage {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
}

.foliage-shadow {
  position: absolute;
  width: 210px;
  height: 150px;
  border-radius: 50%;
  background: repeating-linear-gradient(125deg, transparent 0 12px, rgba(91,75,48,.16) 13px 15px, transparent 16px 29px);
  filter: blur(8px);
  opacity: .45;
}

.fs1 { top: 4%; left: -8%; transform: rotate(-25deg); }
.fs2 { top: 9%; right: 8%; transform: rotate(22deg) scale(1.1); }
.fs3 { bottom: 5%; left: 7%; transform: rotate(10deg) scale(.8); }

.hero-real-leaf {
  position: absolute;
  z-index: 7;
  width: 78px;
  height: auto;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  will-change: transform, opacity;
}

.leaf-a {
  left: 3%;
  top: 30%;
  animation: premiumLeafA 11s ease-in-out infinite;
}

.leaf-b {
  right: 11%;
  top: 15%;
  width: 58px;
  animation: premiumLeafB 13s ease-in-out 2.2s infinite;
}

.leaf-c {
  right: 2%;
  bottom: 19%;
  width: 72px;
  animation: premiumLeafC 12s ease-in-out 4.2s infinite;
}

@keyframes premiumLeafA {
  0%, 100% { opacity: 0; transform: translate(-30px, 25px) rotate(-10deg) scale(.86); }
  14% { opacity: .75; }
  50% { opacity: .9; transform: translate(115px, -48px) rotate(80deg) scale(1); }
  86% { opacity: .35; }
}

@keyframes premiumLeafB {
  0%, 100% { opacity: 0; transform: translate(20px, 15px) rotate(15deg); }
  12% { opacity: .68; }
  52% { opacity: .85; transform: translate(-100px, 65px) rotate(-70deg); }
  88% { opacity: .3; }
}

@keyframes premiumLeafC {
  0%, 100% { opacity: 0; transform: translate(25px, 10px) rotate(10deg) scale(.9); }
  15% { opacity: .7; }
  55% { opacity: .82; transform: translate(-105px, -70px) rotate(-95deg) scale(1.05); }
  90% { opacity: .25; }
}

/* Desktop editorial navigation, like the approved V5 direction.
   The header is no longer absolute — it sits inside .site-topbar (sticky),
   so it stays on screen while scrolled and never covers the promo bar. */
@media (min-width: 1050px) {
  .site-header {
    z-index: 60;
    background: rgba(247,243,236,.88);
    border-bottom: 1px solid rgba(255,255,255,.34);
  }

  .desktop-nav {
    display: flex;
    align-items: center;
    gap: clamp(28px, 3vw, 54px);
    margin-left: auto;
    margin-right: clamp(28px, 4vw, 70px);
  }

  .desktop-nav a {
    position: relative;
    padding: 31px 0 25px;
    color: #25221f;
    font-size: 12px;
    font-weight: 500;
  }

  .desktop-nav a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 18px;
    width: 0;
    height: 1.5px;
    background: var(--gold);
    transition: width .2s ease;
  }

  .desktop-nav a:hover::after,
  .desktop-nav a.active::after { width: 100%; }

  .desktop-nav a.active { color: var(--gold-dark); }

  .desktop-actions {
    display: flex;
    align-items: center;
    gap: 16px;
  }

  .desktop-actions > a {
    display: grid;
    place-items: center;
    width: 27px;
    height: 27px;
    color: #211f1c;
    font-weight: 700;
    font-size: 17px;
  }

  .desktop-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border: 0;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #bd9148, #8c6428);
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(125,89,32,.15);
  }

  .menu-btn { display: none; }

  .hero {
    grid-template-columns: .9fr 1.1fr;
    min-height: 820px;
    padding: 105px 7vw 45px;
    align-items: center;
  }

  .hero-copy { padding-top: 40px; }

  .hero h1 {
    max-width: 610px;
    font-size: clamp(65px, 6.3vw, 100px);
    line-height: .84;
  }

  .hero p { font-size: 14px; max-width: 430px; }

  .hero-visual {
    min-height: 610px;
    margin-top: 0;
  }

  .hero-bottle {
    width: min(28vw, 355px);
    max-height: 485px;
  }

  .hero-side-copy {
    right: -1%;
  }

  .collection-section {
    padding-top: 75px;
  }
}

@media (max-width: 699px) {
  .hero-features {
    margin-top: 20px;
    max-width: 360px;
  }

  .hero-features > div {
    padding: 0 7px;
  }

  .hero-features span {
    font-size: 7px;
  }

  .hero-features b {
    font-size: 16px;
  }

  .hero-side-copy,
  .hero-arch,
  .hero-foliage {
    opacity: .45;
  }

  .hero-real-leaf {
    width: 48px;
  }

  .leaf-b { width: 40px; }
  .leaf-c { width: 45px; }

  .hero-stone-back {
    bottom: 51px;
    width: 63%;
  }

  .hero-stone-front {
    bottom: 24px;
    width: 82%;
  }
}

/* =========================================
   V5.1 Visual QA fixes
   ========================================= */

.desktop-actions .social-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #1e1b18;
  transition: color .2s ease;
}

.desktop-actions .social-icon:hover {
  color: var(--gold-dark);
}

.desktop-actions .social-icon svg {
  width: 20px;
  height: 20px;
  display: block;
}

.desktop-whatsapp svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
}

.nav-whatsapp-icon svg {
  width: 18px;
  height: 18px;
  display: block;
}

/* Real stacked limestone pedestal */
.hero-stone {
  position: absolute;
  left: 50%;
  border-radius: 8px;
  transform: translateX(-50%) perspective(240px) rotateX(18deg) skewX(-1deg);
  background:
    linear-gradient(155deg, #e3d7c4 0%, #c8b79e 48%, #a8957c 100%);
  box-shadow:
    0 15px 18px rgba(57, 43, 27, .12),
    inset 0 2px 0 rgba(255,255,255,.5),
    inset 0 -8px 14px rgba(95,75,49,.13);
}

.hero-stone::before {
  content: "";
  position: absolute;
  inset: 7px 10px;
  border-radius: 5px;
  opacity: .34;
  background:
    radial-gradient(circle at 15% 30%, rgba(90,70,45,.28) 0 2px, transparent 2.8px),
    radial-gradient(circle at 38% 65%, rgba(90,70,45,.18) 0 1.6px, transparent 2.4px),
    radial-gradient(circle at 72% 35%, rgba(255,255,255,.38) 0 2px, transparent 3px),
    linear-gradient(110deg, transparent 20%, rgba(88,70,48,.12) 21% 22%, transparent 23% 48%, rgba(255,255,255,.14) 49% 50%, transparent 51%);
}

.hero-stone-back {
  bottom: 72px;
  width: 48%;
  height: 43px;
  z-index: 3;
  transform: translateX(-53%) perspective(240px) rotateX(18deg) skewX(-2deg);
}

.hero-stone-middle {
  bottom: 46px;
  width: 62%;
  height: 50px;
  z-index: 4;
  transform: translateX(-47%) perspective(240px) rotateX(18deg) skewX(1deg);
}

.hero-stone-front {
  bottom: 20px;
  width: 72%;
  height: 55px;
  z-index: 4;
  transform: translateX(-50%) perspective(240px) rotateX(18deg) skewX(-1deg);
}

.hero-real-leaf {
  z-index: 8;
  filter: drop-shadow(0 7px 5px rgba(75,52,23,.12));
  mix-blend-mode: multiply;
}

.hero-particle {
  display: none;
}

@media (min-width: 1050px) {
  .hero {
    min-height: 760px;
    padding-top: 95px;
    padding-bottom: 35px;
  }

  .hero-copy {
    padding-top: 10px;
  }

  .hero-visual {
    min-height: 580px;
  }

  .hero-bottle {
    width: min(25vw, 330px);
    max-height: 450px;
  }

  .hero-arch {
    top: 3%;
    right: 9%;
    width: 61%;
    height: 91%;
  }

  .hero-side-copy {
    right: 0;
    top: 31%;
  }
}

@media (max-width: 699px) {
  .hero {
    min-height: 700px;
  }

  .hero-visual {
    min-height: 345px;
  }

  .hero-stone-back { bottom: 57px; width: 58%; }
  .hero-stone-middle { bottom: 35px; width: 70%; }
  .hero-stone-front { bottom: 14px; width: 82%; }

  .hero-bottle {
    z-index: 6;
    width: min(61vw, 270px);
    max-height: 335px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-real-leaf {
    animation: none !important;
    opacity: .65 !important;
  }
}

/* ==========================================================
   V5 FINAL — warm editorial / Mediterranean perfume scene
   Reference-matched composition, lightweight CSS motion.
   ========================================================== */

:root {
  --scene-ivory: #f4ecdf;
  --scene-sand: #d7c09e;
  --scene-stone: #b9a284;
  --scene-gold: #a8732e;
  --scene-ink: #191715;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 790px;
  padding: 96px 7vw 42px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  align-items: center;
  background:
    radial-gradient(ellipse at 71% 52%, rgba(255,255,255,.82) 0 18%, transparent 44%),
    radial-gradient(ellipse at 90% 25%, rgba(202,174,131,.55), transparent 35%),
    linear-gradient(110deg, #f6efe5 0%, #f1e7d7 48%, #dfc7a3 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(255,255,255,.78) 0 31%, rgba(255,255,255,.18) 55%, rgba(137,98,52,.06) 100%),
    radial-gradient(ellipse at 16% 18%, rgba(83,72,54,.20), transparent 23%),
    radial-gradient(ellipse at 86% 12%, rgba(81,69,50,.18), transparent 24%);
}

.hero::after {
  content: "";
  position: absolute;
  left: -6%;
  right: -6%;
  bottom: -25px;
  height: 180px;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(246,239,228,0), rgba(239,228,211,.92)),
    repeating-linear-gradient(8deg, transparent 0 15px, rgba(130,106,76,.08) 16px 17px);
  filter: blur(2px);
  transform: perspective(500px) rotateX(52deg);
}

.hero-copy {
  position: relative;
  z-index: 12;
  padding-top: 30px;
}

.hero h1 {
  max-width: 650px;
  margin: 18px 0 20px;
  font-size: clamp(60px, 6.4vw, 100px);
  line-height: .83;
  letter-spacing: -.045em;
  color: #11100f;
}

.hero h1 em {
  color: #171412;
  font-style: italic;
}

.hero p {
  max-width: 435px;
  margin-bottom: 28px;
  color: #4e4943;
  font-size: 15px;
  line-height: 1.55;
}

.primary-btn {
  min-height: 58px;
  padding: 0 34px;
  border-radius: 5px;
  background: linear-gradient(135deg, #bd8a3b, #936122);
  box-shadow: 0 16px 30px rgba(117,79,30,.18);
}

.hero-features {
  max-width: 470px;
  margin-top: 38px;
}

.hero-features > div {
  min-height: 57px;
  padding: 0 22px;
}

.hero-features b {
  color: #966528;
  font-size: 27px;
}

.hero-visual {
  position: relative;
  min-height: 620px;
  overflow: visible;
  border-radius: 0;
  isolation: isolate;
}

.hero-scene {
  position: absolute;
  inset: 2% 0 0 0;
  z-index: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(238,226,208,.1), rgba(255,255,255,.18)),
    radial-gradient(ellipse at 51% 38%, rgba(255,246,226,.86), transparent 31%),
    linear-gradient(115deg, #d8c1a0 0%, #c5a77b 46%, #b28b5a 100%);
  border-radius: 2px;
  box-shadow: inset 0 0 80px rgba(255,255,255,.16);
}

.hero-scene::before {
  content: "";
  position: absolute;
  inset: -10% 38% 10% -15%;
  background:
    radial-gradient(ellipse at 25% 22%, rgba(63,60,48,.22), transparent 8%),
    radial-gradient(ellipse at 35% 34%, rgba(63,60,48,.16), transparent 11%),
    radial-gradient(ellipse at 18% 48%, rgba(63,60,48,.15), transparent 9%),
    radial-gradient(ellipse at 42% 59%, rgba(63,60,48,.16), transparent 12%);
  filter: blur(18px);
  transform: rotate(-8deg);
  opacity: .8;
}

.hero-scene::after {
  content: "";
  position: absolute;
  left: -4%;
  right: -4%;
  bottom: -2%;
  height: 32%;
  background:
    linear-gradient(180deg, rgba(255,255,255,.1), rgba(89,66,41,.10)),
    repeating-linear-gradient(6deg, rgba(112,86,55,.12) 0 1px, transparent 1px 17px);
  transform: perspective(450px) rotateX(53deg);
  transform-origin: bottom;
}

.hero-arch {
  position: absolute;
  z-index: 2;
  top: 7%;
  right: 9%;
  width: 62%;
  height: 82%;
  border-radius: 50% 50% 0 0;
  background:
    linear-gradient(105deg, rgba(224,206,178,.65), rgba(173,133,79,.34)),
    radial-gradient(ellipse at 48% 25%, rgba(255,249,234,.62), transparent 50%);
  box-shadow:
    inset 8px 0 22px rgba(255,255,255,.25),
    0 18px 55px rgba(92,65,33,.08);
}

.hero-light {
  position: absolute;
  z-index: 3;
  top: 10%;
  right: 14%;
  width: 50%;
  height: 62%;
  background: radial-gradient(ellipse, rgba(255,248,230,.82), transparent 66%);
  filter: blur(8px);
  animation: sceneLight 8s ease-in-out infinite;
}

.hero-foliage {
  position: absolute;
  inset: 0;
  z-index: 3;
  overflow: hidden;
  pointer-events: none;
}

.foliage-branch {
  position: absolute;
  display: block;
  width: 250px;
  height: 250px;
  opacity: .28;
  filter: blur(8px);
  background:
    radial-gradient(ellipse at 20% 20%, rgba(53,61,47,.38) 0 4%, transparent 5%),
    radial-gradient(ellipse at 38% 28%, rgba(53,61,47,.30) 0 5%, transparent 6%),
    radial-gradient(ellipse at 58% 22%, rgba(53,61,47,.34) 0 5%, transparent 6%),
    radial-gradient(ellipse at 46% 48%, rgba(53,61,47,.28) 0 6%, transparent 7%),
    radial-gradient(ellipse at 72% 56%, rgba(53,61,47,.30) 0 5%, transparent 6%);
  transform: rotate(-24deg);
}

.branch-left { left: -9%; top: -4%; }
.branch-right { right: -11%; top: 0; transform: rotate(24deg) scale(.9); }
.branch-bottom { left: 4%; bottom: -20%; transform: rotate(-5deg) scale(.75); opacity: .18; }

.hero-bottle {
  position: absolute;
  z-index: 9;
  left: 54%;
  top: 12%;
  width: min(28vw, 345px);
  max-height: 480px;
  object-fit: contain;
  transform: translateX(-50%);
  filter: drop-shadow(0 25px 18px rgba(56,38,18,.20));
  animation: bottleFloatFinal 6.5s ease-in-out infinite;
}

.hero-stone {
  position: absolute;
  left: 55%;
  z-index: 8;
  border-radius: 7px;
  background:
    radial-gradient(circle at 16% 25%, rgba(87,68,44,.32) 0 2px, transparent 3px),
    radial-gradient(circle at 54% 65%, rgba(255,255,255,.32) 0 2px, transparent 3px),
    radial-gradient(circle at 79% 38%, rgba(88,66,39,.24) 0 1.5px, transparent 2.5px),
    linear-gradient(150deg, #ded0b9, #b39c7d 78%);
  box-shadow:
    0 14px 20px rgba(68,50,29,.18),
    inset 0 3px 0 rgba(255,255,255,.46),
    inset 0 -10px 17px rgba(84,63,39,.15);
}

.hero-stone-back {
  bottom: 88px;
  width: 43%;
  height: 40px;
  transform: translateX(-50%) perspective(260px) rotateX(20deg);
}

.hero-stone-middle {
  bottom: 59px;
  width: 57%;
  height: 47px;
  transform: translateX(-50%) perspective(260px) rotateX(19deg);
}

.hero-stone-front {
  bottom: 28px;
  width: 68%;
  height: 55px;
  transform: translateX(-50%) perspective(260px) rotateX(17deg);
}

.hero-side-copy {
  z-index: 11;
  right: -1%;
  top: 25%;
  color: #765122;
  font-size: 13px;
  letter-spacing: 2.4px;
  line-height: 1.8;
}

.hero-dots {
  position: absolute;
  left: 2%;
  bottom: 20px;
  z-index: 12;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero-dots span {
  width: 16px;
  height: 16px;
  border: 1px solid #ad7b33;
  border-radius: 50%;
  background: transparent;
}

.hero-dots span.active {
  background: #bd852f;
}

.hero-dots i {
  display: block;
  width: 1px;
  height: 35px;
  margin: 0 16px 0 30px;
  background: rgba(133,93,37,.35);
}

.hero-dots em {
  color: #624a2f;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  line-height: 1.2;
}

.hero-dots small {
  font-size: 11px;
  font-style: normal;
}

.hero-real-leaf {
  z-index: 13;
  opacity: 0;
  filter: drop-shadow(0 10px 7px rgba(63,42,19,.16));
}

.leaf-a { left: 7%; top: 25%; animation: leafFinalA 12s ease-in-out infinite; }
.leaf-b { right: 7%; top: 17%; animation: leafFinalB 14s ease-in-out 2s infinite; }
.leaf-c { right: 0; bottom: 16%; animation: leafFinalC 13s ease-in-out 4s infinite; }

@keyframes sceneLight {
  0%,100% { transform: translate3d(0,0,0) scale(1); opacity:.72; }
  50% { transform: translate3d(-14px,7px,0) scale(1.05); opacity:.95; }
}

@keyframes bottleFloatFinal {
  0%,100% { transform: translateX(calc(-50% + var(--parallax-x, 0px))) translateY(var(--parallax-y, 0px)) rotate(0); }
  50% { transform: translateX(calc(-50% + var(--parallax-x, 0px))) translateY(calc(-9px + var(--parallax-y, 0px))) rotate(.35deg); }
}

@keyframes leafFinalA {
  0% { opacity:0; transform:translate(-20px,20px) rotate(-18deg) scale(.78); }
  12% { opacity:.82; }
  52% { opacity:.95; transform:translate(150px,-42px) rotate(62deg) scale(1); }
  88% { opacity:.22; }
  100% { opacity:0; transform:translate(225px,8px) rotate(120deg) scale(.86); }
}
@keyframes leafFinalB {
  0% { opacity:0; transform:translate(30px,15px) rotate(25deg) scale(.8); }
  13% { opacity:.72; }
  54% { opacity:.9; transform:translate(-135px,65px) rotate(-65deg) scale(1); }
  88% { opacity:.18; }
  100% { opacity:0; transform:translate(-190px,92px) rotate(-120deg); }
}
@keyframes leafFinalC {
  0% { opacity:0; transform:translate(30px,15px) rotate(5deg) scale(.8); }
  13% { opacity:.72; }
  55% { opacity:.88; transform:translate(-125px,-75px) rotate(-100deg) scale(1.05); }
  90% { opacity:.16; }
  100% { opacity:0; transform:translate(-185px,-18px) rotate(-165deg); }
}

@media (max-width: 1049px) {
  .hero {
    min-height: 760px;
    grid-template-columns: 1fr;
    padding: 105px 20px 28px;
  }

  .hero-copy {
    text-align: center;
    padding-top: 0;
  }

  .hero-copy p,
  .hero-features {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-bottle {
    width: min(55vw, 300px);
    top: 5%;
  }

  .hero-side-copy { display: none; }

  .hero-dots {
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
  }
}

@media (max-width: 699px) {
  .hero {
    min-height: 750px;
    padding-top: 95px;
    background:
      radial-gradient(ellipse at 70% 62%, rgba(255,255,255,.9), transparent 40%),
      linear-gradient(160deg, #f7f0e7, #e7d6bc);
  }

  .hero h1 {
    font-size: clamp(48px, 14vw, 68px);
    line-height: .86;
  }

  .hero p {
    font-size: 13px;
    max-width: 330px;
  }

  .hero-features {
    margin-top: 25px;
    max-width: 360px;
  }

  .hero-visual {
    min-height: 365px;
    margin-top: -2px;
  }

  .hero-scene {
    inset: 0 -12px 0;
    border-radius: 0;
  }

  .hero-arch {
    top: 4%;
    right: 8%;
    width: 67%;
    height: 88%;
  }

  .hero-bottle {
    width: min(62vw, 265px);
    top: 4%;
    left: 52%;
  }

  .hero-stone-back { bottom: 58px; width: 58%; }
  .hero-stone-middle { bottom: 38px; width: 70%; }
  .hero-stone-front { bottom: 17px; width: 82%; }

  .hero-real-leaf {
    width: 54px;
  }

  .leaf-b { width: 43px; }
  .leaf-c { width: 48px; }

  .hero-dots {
    bottom: 0;
    transform: translateX(-50%) scale(.82);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-light,
  .hero-bottle,
  .hero-real-leaf {
    animation: none !important;
  }
  .hero-real-leaf { opacity: .58; }
}

/* ==========================================================
   MOBILE PRODUCT CARD — compact spacing / preserve visuals
   ========================================================== */
@media (max-width: 699px) {
  .collection-section {
    padding: 42px 14px 82px;
  }

  .products-grid {
    gap: 10px;
  }

  .product-image-wrap {
    min-height: 158px;
    padding: 8px 9px;
  }

  .product-image {
    width: 76%;
    height: 148px;
  }

  .product-body {
    padding: 10px 10px 11px;
  }

  .product-name {
    margin-bottom: 3px;
    font-size: 21px;
  }

  .inspired {
    min-height: 25px;
    margin-bottom: 7px;
    font-size: 8px;
  }

  .profile-row {
    gap: 3px;
    min-height: 19px;
  }

  .profile-chip {
    padding: 3px 5px;
    font-size: 6.5px;
  }

  .price-line {
    margin-top: 9px;
  }

  .view-details {
    margin-top: 8px;
    min-height: 34px;
  }
}

/* Keep the gender badge above the product image on mobile */
@media (max-width: 699px) {
  .product-gender {
    z-index: 3;
  }
}

/* ==========================================================
   MOBILE PRODUCT IMAGE — edge-to-edge / larger visual
   ========================================================== */
@media (max-width: 699px) {
  .product-image-wrap {
    min-height: 0;
    height: auto;
    padding: 0;
    aspect-ratio: 1 / 1;
  }

  .product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .product-body {
    padding: 9px 9px 10px;
  }

  .product-gender {
    top: 8px;
    left: 8px;
    z-index: 3;
  }
}

/* ==========================================================
   MOBILE PRODUCT TEXT — balanced separation from image
   ========================================================== */
@media (max-width: 699px) {
  .product-body {
    padding-top: 14px;
  }
}

/* ==========================================================
   SHOPPING CART — header button, drawer, card actions, toast
   ========================================================== */

.cart-icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  background: transparent;
  color: #211f1c;
  cursor: pointer;
}

.cart-icon-btn svg {
  width: 22px;
  height: 22px;
  display: block;
}

.cart-badge {
  position: absolute;
  top: -7px;
  right: -9px;
  display: grid;
  place-items: center;
  min-width: 17px;
  height: 17px;
  padding: 0 4px;
  border-radius: 999px;
  background: linear-gradient(135deg, #bd9148, #8c6428);
  color: #fff;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
  pointer-events: none;
  box-shadow: 0 3px 8px rgba(125, 89, 32, .35);
}

.mobile-cart-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.mobile-cart-wrap svg {
  width: 19px;
  height: 19px;
  display: block;
}

.mobile-cart-wrap .cart-badge {
  top: -9px;
  right: -12px;
}

.cart-overlay {
  position: fixed;
  inset: 0;
  z-index: 110;
  background: rgba(18, 15, 11, .38);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.cart-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 120;
  display: flex;
  flex-direction: column;
  width: min(92vw, 380px);
  height: 100dvh;
  background: #fbf8f3;
  transform: translateX(105%);
  transition: transform .3s ease;
  box-shadow: -20px 0 50px rgba(0,0,0,.12);
}

.cart-drawer.open { transform: translateX(0); }

.cart-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 20px 14px;
  border-bottom: 1px solid var(--line);
}

.cart-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 600;
}

.close-cart {
  width: 42px;
  height: 42px;
  font-size: 30px;
  color: var(--ink);
}

.cart-items-wrap {
  flex: 1;
  overflow-y: auto;
  padding: 10px 16px 16px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cart-item {
  display: flex;
  gap: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.cart-item-img {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
  object-fit: contain;
  padding: 6px;
  border-radius: 12px;
  background: linear-gradient(145deg, #f3ece1, #fffdf9);
}

.cart-item-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.cart-item-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 19px;
  line-height: 1.05;
}

.cart-item-meta {
  margin-top: 3px;
  color: var(--muted);
  font-size: 9px;
}

.cart-item-controls {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
  padding-top: 9px;
}

.cart-qty {
  min-width: 20px;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
}

.cart-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}

.cart-item-remove {
  border: 0;
  background: transparent;
  color: #a49a8d;
  cursor: pointer;
  font-size: 19px;
  line-height: 1;
}

.cart-item-total {
  color: var(--gold-dark);
  font-size: 12px;
  white-space: nowrap;
}

.qty-btn {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f2ea;
  color: var(--ink);
  cursor: pointer;
  font-size: 15px;
  line-height: 1;
}

.cart-empty {
  padding: 55px 15px;
  text-align: center;
}

.cart-empty-icon {
  font-size: 42px;
  color: var(--gold);
}

.cart-empty h3 {
  margin: 12px 0 6px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
}

.cart-empty p {
  margin: 0 auto;
  max-width: 240px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.7;
}

.cart-empty .secondary-btn {
  margin-top: 16px;
}

.cart-footer {
  padding: 14px 16px calc(16px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: #f6f1e9;
}

.cart-total-line {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 12px;
}

.cart-total-line span {
  color: var(--muted);
  font-size: 11px;
}

.cart-total-line strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  color: var(--gold-dark);
}

.checkout-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: #1fae62;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(31, 174, 98, .18);
}

.clear-cart-btn {
  display: block;
  margin: 11px auto 0;
  border: 0;
  background: transparent;
  color: #a49a8d;
  cursor: pointer;
  font-size: 9px;
  text-decoration: underline;
}

/* Add-to-cart on product cards */
.card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
  margin-top: 10px;
  position: relative;
  z-index: 5;
}

.add-to-cart {
  width: 100%;
  min-height: 37px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #bd9148, #8c6428);
  box-shadow: 0 8px 18px rgba(125, 89, 32, .18);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  white-space: normal;
  overflow: visible;
  text-overflow: clip;
  line-height: 1.25;
  padding: 5px 8px;
}

@media (max-width: 699px) {
  .card-actions {
    margin-top: 8px;
    gap: 6px;
  }

  .add-to-cart {
    min-height: 34px;
  }
}

/* Quantity stepper inside the product modal */
.qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 18px;
}

.qty-row > span {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
}

.qty-stepper {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.qty-stepper .qty-btn {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  font-size: 17px;
}

.qty-value {
  min-width: 26px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
}

.add-cart-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 54px;
  margin-top: 16px;
  border: 0;
  border-radius: 14px;
  color: #fff;
  background: linear-gradient(135deg, #bd9148, #8c6428);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  box-shadow: 0 10px 24px rgba(125, 89, 32, .18);
}

.add-cart-btn span {
  font-size: 18px;
  line-height: 0;
}

.product-modal .whatsapp-btn {
  margin-top: 10px;
}

/* Toast notification */
.toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  z-index: 200;
  max-width: min(86vw, 360px);
  padding: 13px 20px;
  border-radius: 999px;
  background: #171614;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, .25);
  transform: translate(-50%, 16px);
  opacity: 0;
  pointer-events: none;
  transition: transform .3s ease, opacity .3s ease;
}

.toast.show {
  transform: translate(-50%, 0);
  opacity: 1;
}

@media (min-width: 1050px) {
  .toast { bottom: 30px; }
}

/* ==========================================================
   IMPROVEMENTS — stock, quick order, language toggle,
   shipping & testimonials sections, RTL support
   ========================================================== */

/* ---------- Stock chip (card & modal image) ---------- */
.stock-chip {
  position: absolute;
  top: 9px;
  right: 9px;
  z-index: 4;
  padding: 5px 8px;
  border-radius: 999px;
  color: #fff;
  background: #c98f2e;
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  pointer-events: none;
}

.stock-chip.out {
  background: #a94442;
}

/* ---------- Quick WhatsApp order button (card image) ---------- */
.quick-order-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1.5px solid #c9a04e;
  cursor: pointer;
  border-radius: 50%;
  color: #fff;
  background: #25d366;
  box-shadow: 0 6px 14px rgba(31, 174, 98, .32);
  transition: transform .2s ease, box-shadow .2s ease;
}

.quick-order-btn svg { width: 22px; height: 22px; }

/* WhatsApp action in the product page share row: official green, white glyph. */
.share-btn#shareWhatsApp {
  background: #25d366;
  border-color: #c9a04e;
  color: #fff;
}
.share-btn#shareWhatsApp:hover { background: #1fbf5f; }
.share-btn#shareWhatsApp svg { width: 19px; height: 19px; }

.quick-order-btn:hover {
  transform: scale(1.09);
  box-shadow: 0 8px 18px rgba(31, 174, 98, .4);
}

/* ---------- Card add-to-cart polish ---------- */
.add-to-cart span {
  font-size: 14px;
  line-height: 1;
}

.add-to-cart:disabled {
  background: #c9bda8;
  box-shadow: none;
  cursor: not-allowed;
}

/* ---------- Language toggle ---------- */
.lang-toggle {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid #d8c8ad;
  border-radius: 999px;
  background: #fffaf1;
  color: #6f501f;
  cursor: pointer;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .5px;
  transition: border-color .2s ease, background .2s ease;
}

.lang-toggle:hover {
  border-color: var(--gold);
  background: #fdf6ea;
}

.menu-lang-toggle {
  margin: 16px 0 4px;
}

/* ---------- Shipping & delivery section ---------- */
.shipping-section {
  padding: 6px 18px 70px;
  background: var(--ivory);
}

.shipping-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.ship-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 26px 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 9px 24px rgba(55, 41, 21, .05);
  transition: transform .25s ease, box-shadow .25s ease;
}

.ship-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(55, 41, 21, .1);
}

.ship-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  border-radius: 15px;
  background: linear-gradient(145deg, #f6edd9, #eee0c3);
  color: var(--gold-dark);
}

.ship-icon svg {
  display: block;
}

.ship-card h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 21px;
  line-height: 1.05;
  font-weight: 700;
}

.ship-card p {
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.8;
}

/* ---------- Testimonials section ---------- */
.testimonials-section {
  padding: 10px 18px 85px;
  background: var(--ivory);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin: 0;
  padding: 30px 26px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--white);
  box-shadow: 0 9px 24px rgba(55, 41, 21, .05);
}

.testimonial-card::before {
  content: "“";
  color: var(--gold-soft);
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 46px;
  line-height: .7;
}

.stars {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #c9993f;
}

.stars svg {
  display: block;
}

.testimonial-card blockquote {
  flex: 1;
  margin: 0;
  color: #4f4942;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 18px;
  line-height: 1.55;
}

.testimonial-card figcaption {
  color: var(--gold-dark);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ---------- FAQ section ---------- */
.faq-section {
  padding: 10px 18px 85px;
  background: var(--ivory);
}

.faq-list {
  display: grid;
  gap: 10px;
}

/* Keep Shipping, Testimonials & FAQ aligned with Collection & Story sections
   (same inline gutters at every breakpoint). */
@media (min-width: 700px) {
  .shipping-section,
  .testimonials-section,
  .faq-section { padding-inline: 7vw; }

  .faq-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: start;
  }
}

@media (min-width: 1050px) {
  .shipping-section,
  .testimonials-section,
  .faq-section { padding-inline: 11vw; }
}

@media (max-width: 699px) {
  .shipping-section,
  .testimonials-section,
  .faq-section { padding-inline: 14px; }
}

/* ---------- Announcement bar ---------- */
.announcement-bar {
  position: relative;
  z-index: 52;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 7px 16px;
  background: linear-gradient(135deg, #8c6428, #b0813a);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .5px;
  text-align: center;
}

@media (min-width: 700px) {
  .announcement-bar { white-space: nowrap; }
}

/* The header + promo bar stick together via .site-topbar (top: 0). */

/* ---------- FAQ items ---------- */
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  cursor: pointer;
  list-style: none;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  margin-inline-start: auto;
  font-size: 24px;
  line-height: 1;
  color: var(--gold-dark);
  transition: transform .25s ease;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  margin: 0;
  padding: 0 18px 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.9;
}

/* ---------- Related products ---------- */
.related-section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.related-section .notes-title { margin-bottom: 12px; }

.related-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.related-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 7px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.related-card:hover {
  transform: translateY(-2px);
  border-color: var(--gold-soft);
  box-shadow: 0 10px 24px rgba(55, 41, 21, .1);
}

.related-card img {
  width: 100%;
  height: 88px;
  object-fit: contain;
  background: linear-gradient(145deg, #f3ece1, #fffdf9);
  border-radius: 10px;
}

.related-card strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 16px;
  line-height: 1;
}

.related-card span {
  color: var(--gold-dark);
  font-size: 9px;
  font-weight: 700;
}

/* ---------- Share row + notify button ---------- */
.share-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
}

.share-row > span {
  margin-inline-end: auto;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.share-btn {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid #c9a04e;
  border-radius: 50%;
  background: rgba(22, 18, 12, .9);
  color: #e7c877;
  box-shadow: 0 4px 12px rgba(20, 14, 6, .35);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.share-btn:hover {
  background: rgba(42, 34, 22, .95);
  transform: translateY(-2px);
}

.share-btn svg { width: 17px; height: 17px; }

.notify-btn {
  width: 100%;
  min-height: 50px;
  margin-top: 12px;
  border: 1px dashed var(--gold-soft);
  border-radius: 999px;
  background: #fdf6ea;
  color: var(--gold-dark);
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  font-family: inherit;
  transition: background .2s ease;
}

.notify-btn:hover { background: #f6edd9; }

/* Responsive tweaks for the new sections */
@media (max-width: 559px) {
  .related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Not-found (standalone product pages) ---------- */
.not-found {
  padding: 70px 18px;
  text-align: center;
}

.not-found h2 {
  font-size: 64px;
  margin: 0;
  color: var(--gold);
}

.not-found p {
  margin: 10px 0 20px;
  color: var(--muted);
}

.not-found .view-details {
  display: inline-block;
  width: auto;
  padding: 0 26px;
}

/* ---------- Responsive: new sections ---------- */
@media (max-width: 1024px) {
  .shipping-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 899px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testimonial-card {
    max-width: 480px;
    margin-inline: auto;
    width: 100%;
    padding: 28px 24px 22px;
  }
}

@media (max-width: 559px) {
  .shipping-grid {
    grid-template-columns: 1fr;
  }

  .ship-card {
    flex-direction: row;
    align-items: center;
    gap: 16px;
    padding: 18px 16px;
  }

  .ship-icon {
    flex: 0 0 auto;
    margin-bottom: 0;
    width: 44px;
    height: 44px;
    border-radius: 13px;
  }

  .ship-card h3 {
    font-size: 19px;
  }

  .ship-card p {
    font-size: 10.5px;
  }
}

/* ---------- RTL (Arabic) support ---------- */
[dir="rtl"] body {
  font-family: "Cairo", "Jost", system-ui, sans-serif;
}

[dir="rtl"] .Cormorant,
[dir="rtl"] .brand-copy strong,
[dir="rtl"] .product-name,
[dir="rtl"] .cart-title,
[dir="rtl"] .cart-item-name,
[dir="rtl"] .cart-total-line strong,
[dir="rtl"] .detail-title,
[dir="rtl"] .qty-row > span,
[dir="rtl"] .family-box strong,
[dir="rtl"] .note-card span,
[dir="rtl"] .size-btn strong,
[dir="rtl"] .ship-card h3,
[dir="rtl"] .testimonial-card figcaption,
[dir="rtl"] .faq-item summary,
[dir="rtl"] .related-card strong,
[dir="rtl"] .story-card h2,
[dir="rtl"] .section-heading h2 {
  font-family: "Cairo", "Jost", sans-serif;
}

[dir="rtl"] .search-icon {
  margin-right: 0;
  margin-left: 9px;
  transform: rotate(20deg);
}

[dir="rtl"] .cart-badge {
  right: auto;
  left: -9px;
}

[dir="rtl"] .mobile-cart-wrap .cart-badge {
  right: auto;
  left: -12px;
}

[dir="rtl"] .stock-chip,
[dir="rtl"] .quick-order-btn {
  right: auto;
  left: 9px;
}

[dir="rtl"] .quick-order-btn {
  left: 10px;
}

[dir="rtl"] .cart-drawer {
  right: auto;
  left: 0;
  transform: translateX(-105%);
  box-shadow: 20px 0 50px rgba(0, 0, 0, .12);
}

[dir="rtl"] .cart-drawer.open {
  transform: translateX(0);
}

[dir="rtl"] .detail-image .stock-chip {
  right: auto;
  left: 12px;
}

[dir="rtl"] .hero-side-copy {
  left: auto;
  right: 14px;
  text-align: right;
}

[dir="rtl"] .primary-btn {
  flex-direction: row-reverse;
}

@media (max-width: 699px) {
  [dir="rtl"] .product-gender {
    left: auto;
    right: 8px;
  }

  [dir="rtl"] .stock-chip,
  [dir="rtl"] .quick-order-btn {
    right: auto;
    left: 8px;
  }
}

/* ==========================================================
   STANDALONE PRODUCT PAGES  (products/<id>.html)
   ========================================================== */

.product-main {
  background: var(--ivory);
  min-height: 60vh;
}

@media (min-width: 1050px) {
  /* The site header is absolutely positioned above the hero on the home page;
     product pages have no hero, so give the content room. */
  .product-main { padding-top: 82px; }
}

.breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 7px;
  max-width: 680px;
  margin: 0 auto;
  padding: 30px 18px 14px;
  color: #9b8b70;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: .3px;
}

.breadcrumbs a {
  color: var(--gold-dark);
  text-decoration: none;
  padding: 3px 1px;
  transition: color .2s ease;
}

.breadcrumbs a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.breadcrumbs .sep {
  color: #c9bc9f;
  font-size: 12px;
  line-height: 1;
}

[dir="rtl"] .breadcrumbs .sep {
  display: inline-block;
  transform: scaleX(-1);
}

.breadcrumbs .current {
  color: #4f4942;
  font-family: "Marcellus", "Cormorant Garamond", serif;
  font-size: 12.5px;
  letter-spacing: .2px;
}

.product-page {
  max-width: 680px;
  margin: 0 auto;
  padding: 18px 18px 34px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fbf8f3;
  box-shadow: 0 24px 70px rgba(35, 25, 12, .1);
}

.product-page .detail-image {
  border-radius: 14px;
}

.product-page .gallery-btn {
  top: 14px;
  left: auto;
  right: 14px;
}

.product-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  max-width: 680px;
  margin: 18px auto 0;
  padding: 0 18px 70px;
}

.product-pager a {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.product-pager a:hover { text-decoration: underline; }

.product-pager a:nth-child(2) { color: var(--muted); }

/* More photos button (detail image) */
.gallery-btn {
  position: absolute;
  bottom: 14px;
  right: 14px;
  z-index: 4;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .9);
  color: #6f501f;
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(35, 25, 12, .14);
}

[dir="rtl"] .gallery-btn {
  right: auto;
  left: 14px;
}

/* ---------- More RTL refinements ---------- */
[dir="rtl"] .side-menu {
  left: 0;
  right: auto;
  transform: translateX(-105%);
  box-shadow: 20px 0 50px rgba(0, 0, 0, .12);
}

[dir="rtl"] .side-menu.open { transform: translateX(0); }

[dir="rtl"] .side-menu nav a,
[dir="rtl"] .side-menu nav button { text-align: right; }

[dir="rtl"] .modal-close {
  right: auto;
  left: 15px;
}

[dir="rtl"] .whatsapp-btn span {
  margin-right: 0;
  margin-left: 8px;
}

[dir="rtl"] .ship-card {
  align-items: flex-end;
}

[dir="rtl"] .testimonial-card::before {
  content: "«";
}

[dir="rtl"] .related-card {
  text-align: right;
}

[dir="rtl"] .faq-item summary {
  text-align: right;
}

[dir="rtl"] .testimonial-card blockquote {
  font-family: "Cairo", "Cormorant Garamond", serif;
}

[dir="rtl"] .desktop-nav {
  margin-left: clamp(28px, 3vw, 54px);
  margin-right: auto;
}

/* ============================================================
   Most requested (featured) grid on the homepage
   ============================================================ */
.featured-section {
  padding: 55px 18px 10px;
  background: var(--ivory);
}

.featured-section .section-heading { margin-bottom: 18px; }

.featured-section .products-grid { padding-bottom: 12px; }

.featured-view-all {
  flex: 0 0 auto;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  letter-spacing: .4px;
  line-height: 1;
}

.featured-view-all:hover { color: var(--gold); }

@media (min-width: 700px) {
  .featured-section { padding-inline: 7vw; }
}

@media (min-width: 1050px) {
  .featured-section { padding-inline: 11vw; }
}

/* ---------- "View all products" link under the homepage grid ---------- */
.view-all-wrap {
  display: flex;
  justify-content: center;
  padding: 22px 0 6px;
}

.view-all-wrap.hidden { display: none; }

.view-all-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border: 1px solid var(--gold-dark);
  border-radius: 999px;
  color: var(--gold-dark);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .5px;
  transition: background .2s ease, color .2s ease;
}

.view-all-btn:hover {
  background: var(--gold-dark);
  color: #fff;
}

/* ============================================================
   List pages: collection.html & featured.html
   ============================================================ */
.list-page {
  padding: 40px 18px 90px;
  background: var(--ivory);
}

.list-page-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
  margin-bottom: 30px;
}

.list-page-head h1 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 46px;
  line-height: .92;
  font-weight: 600;
}

.list-page-head .count-badge { margin-top: 8px; }

.list-page .search-wrap,
.list-page .filter-row,
.list-page .category-row { max-width: 560px; margin-left: auto; margin-right: auto; }

@media (min-width: 700px) {
  .list-page { padding-inline: 7vw; }
}

@media (min-width: 1050px) {
  .list-page { padding-inline: 11vw; }
}

/* Gender shortcuts in the side menu are homepage filters — hide on curated pages. */
body[data-page-mode="featured"] .side-menu nav [data-gender] { display: none; }

/* ============================================================
   Contact page (contact.html)
   ============================================================ */
.contact-page {
  padding: 40px 18px 90px;
  background: var(--ivory);
}

.contact-page .contact-intro {
  max-width: 520px;
  margin: 14px auto 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.contact-grid {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  color: inherit;
  text-decoration: none;
  transition: box-shadow .2s ease, transform .2s ease;
}

a.contact-card:hover {
  box-shadow: 0 14px 30px rgba(125, 89, 32, .14);
  transform: translateY(-3px);
}

.contact-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 0 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(189, 145, 72, .16), rgba(140, 100, 40, .16));
  color: var(--gold-dark);
}

.contact-ico svg {
  width: 24px;
  height: 24px;
}

.contact-card h3 {
  margin: 0 0 8px;
  font-family: "Marcellus", serif;
  font-size: 19px;
  font-weight: 400;
}

.contact-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.contact-value {
  display: inline-block;
  margin-top: 12px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 600;
}

.contact-socials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 14px;
}

.contact-socials a {
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
  transition: background .2s ease, color .2s ease;
}

.contact-socials a:hover {
  background: var(--gold-dark);
  color: #fff;
}

.contact-form {
  max-width: 560px;
  margin: 46px auto 0;
  padding: 28px 26px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.contact-form h3 {
  margin: 0 0 18px;
  font-family: "Marcellus", serif;
  font-size: 21px;
  font-weight: 400;
  text-align: center;
}

.contact-form label {
  display: block;
  margin-bottom: 14px;
}

.contact-form label span {
  display: block;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 600;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--ivory);
  color: inherit;
  font: inherit;
  font-size: 13px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(189, 145, 72, .18);
}

.contact-submit {
  display: block;
  width: 100%;
  margin-top: 6px;
  padding: 14px 22px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #bd9148, #8c6428);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: filter .2s ease;
}

.contact-submit:hover { filter: brightness(1.06); }

@media (min-width: 700px) {
  .contact-page { padding-inline: 7vw; }
}

@media (min-width: 760px) {
  .contact-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1050px) {
  .contact-page { padding-inline: 11vw; }
}

/* ======================================================================
   Mobile product-card layout (merged from style-mobile-fix.css)
   Keeps the existing desktop design untouched. Goal: clean 2-column cards
   with a hard visual boundary between the product image and all product
   information.
   ====================================================================== */
@media (max-width: 699px) {
  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .product-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
  }

  .product-image-wrap {
    position: relative;
    flex: 0 0 auto;
    overflow: hidden;
  }

  .product-image {
    display: block;
    position: relative;
    z-index: 1;
    max-width: 100%;
  }

  .product-body {
    position: relative;
    z-index: 4;
    flex: 1 1 auto;
    min-width: 0;
    padding: 14px 9px 11px;
    background: var(--white);
  }

  .product-name {
    position: relative;
    z-index: 5;
    margin: 0 0 5px;
    font-size: clamp(19px, 5.2vw, 22px);
    line-height: 1.05;
    overflow-wrap: anywhere;
  }

  .inspired {
    position: relative;
    z-index: 5;
    min-height: 30px;
    margin-bottom: 8px;
    line-height: 1.45;
  }

  .profile-row,
  .price-line,
  .view-details {
    position: relative;
    z-index: 5;
  }
}/* ============================================================
   New UI features: hero WhatsApp CTA, sort, quiz banner,
   free-shipping progress, cart suggestions, recently viewed, quiz
   ============================================================ */

/* ---------- Hero secondary CTA (Order on WhatsApp) ---------- */
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.hero-ctas .primary-btn { margin-top: 22px; }

.hero-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid rgba(138, 103, 55, .4);
  border-radius: 999px;
  color: var(--gold-dark);
  background: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.hero-wa-btn:hover {
  background: #fff;
  box-shadow: 0 12px 24px rgba(125, 89, 32, .16);
}

.hero-wa-btn:active { transform: scale(.98); }

/* ---------- Collection sort ---------- */
.sort-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin: -8px 0 14px;
}

.sort-wrap label {
  color: var(--muted);
  font-size: 10px;
  font-weight: 600;
}

.sort-wrap select {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 7px 12px;
  background: rgba(255, 255, 255, .85);
  color: var(--ink);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

/* ---------- Quiz banner (collection / featured) ---------- */
.quiz-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0 0 18px;
  padding: 16px 18px;
  border: 1px solid rgba(138, 103, 55, .28);
  border-radius: 18px;
  background:
    radial-gradient(circle at 92% 20%, rgba(214, 178, 115, .25), transparent 38%),
    linear-gradient(135deg, #fbf7ef, #f3e8d6);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease;
}

.quiz-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(90, 64, 22, .13);
}

.quiz-banner-text {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.quiz-banner-text strong { font-size: 14px; color: var(--ink); }

.quiz-banner-text > span {
  color: #6c6253;
  font-size: 11px;
  line-height: 1.6;
}

.quiz-banner-btn {
  flex: 0 0 auto;
  padding: 11px 18px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #bd9148, #8c6428);
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
}

/* ---------- Cart free-shipping progress ---------- */
.ship-progress { margin-bottom: 12px; }

.ship-progress-track {
  height: 8px;
  border-radius: 999px;
  background: #e7dcc7;
  overflow: hidden;
}

.ship-progress-fill {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #b88a42, #8c6428);
  transition: width .4s ease;
}

.ship-progress p {
  margin: 7px 0 0;
  color: #6c6253;
  font-size: 10px;
  line-height: 1.55;
}

.ship-progress.unlocked p {
  color: var(--green);
  font-weight: 600;
}

/* ---------- Cart "often ordered together" ---------- */
.cart-suggest {
  padding: 14px 16px 6px;
  border-top: 1px solid var(--line);
}

.cart-suggest h4 {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .6px;
}

.cart-suggest-grid {
  display: grid;
  gap: 8px;
}

.cart-suggest-card {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  cursor: pointer;
  text-align: start;
  transition: border-color .2s ease, background .2s ease;
}

.cart-suggest-card:hover {
  border-color: var(--gold-soft);
  background: #faf6ec;
}

.cart-suggest-card img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 8px;
  background: #f1ead9;
}

.cart-suggest-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.cart-suggest-info strong {
  font-family: "Marcellus", "Cormorant Garamond", Georgia, serif;
  font-size: 15px;
  font-weight: 400;
}

.cart-suggest-info small { color: var(--muted); font-size: 10px; }

.cart-suggest-add {
  flex: 0 0 auto;
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: var(--gold);
  font-size: 15px;
  font-weight: 700;
}

/* ---------- Recently viewed (modal + product page) ---------- */
.recent-section { margin-top: 26px; }

.recent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 10px;
}

.recent-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  padding: 10px 8px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  cursor: pointer;
  text-align: center;
  transition: border-color .2s ease, transform .2s ease;
}

.recent-card:hover {
  border-color: var(--gold-soft);
  transform: translateY(-2px);
}

.recent-card img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.recent-card strong {
  font-family: "Marcellus", "Cormorant Garamond", Georgia, serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.1;
}

.recent-card span {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 600;
}

[dir="rtl"] .recent-card strong,
[dir="rtl"] .cart-suggest-info strong,
[dir="rtl"] .quiz-result-info strong {
  font-family: "Cairo", "Jost", sans-serif;
}

/* ---------- Scent quiz ---------- */
.quiz-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(18, 15, 11, .38);
}

.quiz-modal {
  position: relative;
  width: 100%;
  max-width: 520px;
  max-height: min(88vh, 720px);
  overflow: auto;
  border-radius: 22px;
  background: var(--card);
  box-shadow: 0 30px 80px rgba(36, 26, 14, .35);
  padding: 26px 22px 20px;
}

.quiz-close {
  position: absolute;
  top: 12px;
  inset-inline-end: 12px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.quiz-head { padding-inline-end: 34px; }

.quiz-head h2 {
  margin: 6px 0 4px;
  font-family: "Marcellus", "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  font-weight: 500;
}

.quiz-head p { margin: 0; color: var(--muted); font-size: 12px; }

.quiz-body { margin-top: 20px; }

.quiz-progress {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.quiz-progress span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.quiz-progress i {
  display: block;
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, #b88a42, #8c6428);
  transition: width .3s ease;
}

.quiz-body h3 { margin: 0 0 14px; font-size: 17px; }

.quiz-options { display: grid; gap: 10px; }

.quiz-option {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-align: start;
  transition: border-color .15s ease, background .15s ease, transform .15s ease;
}

.quiz-option:hover {
  border-color: var(--gold-soft);
  background: #faf6ec;
}

.quiz-option.selected {
  border-color: var(--gold);
  background: #f4ead8;
  color: var(--gold-dark);
}

.quiz-option:active { transform: scale(.99); }

.quiz-foot { margin-top: 18px; }

.quiz-foot-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-ghost {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.btn-ghost:hover {
  border-color: var(--gold-soft);
  color: var(--gold-dark);
}

.quiz-wa-help {
  padding: 11px 18px;
  border-radius: 999px;
  color: #fff;
  background: #1fae62;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.quiz-summary { margin-bottom: 14px; }

.quiz-summary h3 { margin: 0 0 5px; font-size: 18px; }

.quiz-summary p { margin: 0; color: var(--muted); font-size: 12px; }

.quiz-results-grid { display: grid; gap: 10px; }

.quiz-result-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--card);
}

.quiz-result-card img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  border-radius: 10px;
  background: #f1ead9;
}

.quiz-result-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.quiz-result-info strong {
  font-family: "Marcellus", "Cormorant Garamond", Georgia, serif;
  font-size: 17px;
  font-weight: 400;
}

.quiz-result-info small { color: var(--muted); font-size: 10px; }

.quiz-result-price {
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
}

.quiz-detail-btn {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #bd9148, #8c6428);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  cursor: pointer;
}

.quiz-empty { color: var(--muted); font-size: 12px; }

@media (max-width: 560px) {
  .hero-ctas { flex-direction: column; align-items: stretch; }
  .hero-ctas .primary-btn,
  .hero-wa-btn { width: 100%; }
  .quiz-banner { flex-direction: column; align-items: stretch; }
  .quiz-banner-btn { text-align: center; }
  .quiz-result-card { flex-wrap: wrap; }
  .quiz-detail-btn { width: 100%; }
  [dir="rtl"] .sort-wrap,
  .sort-wrap { justify-content: space-between; }
}

@media (prefers-reduced-motion: reduce) {
  .quiz-banner,
  .quiz-option,
  .hero-wa-btn,
  .recent-card,
  .cart-suggest-card { transition: none; }
}
/* ==========================================================
   WISHLIST, CARD SHARE, REORDER — convenience features
   ========================================================== */

/* ---------- Wishlist heart (product cards) ---------- */
.wishlist-btn {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid #c9a04e;
  border-radius: 50%;
  color: #e7c877;
  background: rgba(22, 18, 12, .9);
  box-shadow: 0 4px 12px rgba(20, 14, 6, .35);
  cursor: pointer;
  transition: color .2s ease, background .2s ease, transform .2s ease;
}
.wishlist-btn:hover { transform: scale(1.08); }
.wishlist-btn svg, .card-share-btn svg { width: 17px; height: 17px; }
.wishlist-btn.active {
  color: #ffd98a;
  background: rgba(22, 18, 12, .9);
  border-color: #c9a04e;
}

/* ---------- Share button (product cards) ---------- */
.card-share-btn {
  position: absolute;
  bottom: 54px;
  left: 10px;
  z-index: 6;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1.5px solid #c9a04e;
  border-radius: 50%;
  color: #e7c877;
  background: rgba(22, 18, 12, .9);
  box-shadow: 0 4px 12px rgba(20, 14, 6, .35);
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.card-share-btn:hover {
  transform: scale(1.08);
  background: rgba(42, 34, 22, .95);
}

/* ---------- Wishlist heart (product modal / share row) ---------- */
.share-btn.wish-heart.active {
  background: rgba(22, 18, 12, .9);
  border-color: #c9a04e;
  color: #ffd98a;
}

/* ---------- Wishlist filter chip ---------- */
.wishlist-chip.active {
  color: #fff;
  background: linear-gradient(135deg, #b88a42, #8c6428);
  border-color: transparent;
}

/* ---------- Reorder last order (cart drawer, empty state) ---------- */
.reorder-box {
  margin-top: 20px;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, .65);
  text-align: center;
}
.reorder-box span {
  display: block;
  color: var(--muted);
  font-size: 9px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.reorder-box p {
  margin: 6px 0 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
}
.reorder-box .secondary-btn { margin-top: 12px; }

/* ---------- RTL mirroring ---------- */
[dir="rtl"] .wishlist-btn,
[dir="rtl"] .card-share-btn {
  left: auto;
  right: 10px;
}

@media (max-width: 699px) {
  [dir="rtl"] .wishlist-btn,
  [dir="rtl"] .card-share-btn {
    left: auto;
    right: 8px;
  }
}

/* ===== Install banner ===== */
.install-banner {
  position: fixed;
  z-index: 1200;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  width: min(94vw, 520px);
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  padding-inline-end: 40px;
  border-radius: 16px;
  border: 1px solid var(--gold-soft);
  background: var(--card);
  box-shadow: 0 12px 30px rgba(23, 22, 20, .16);
  color: var(--ink);
}
.install-banner > img {
  flex-shrink: 0;
  border-radius: 10px;
}
.install-banner-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
  min-width: 0;
}
.install-banner-copy strong {
  font-size: 14px;
  color: var(--gold-dark);
}
.install-banner-copy span {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}
.install-banner-btn {
  flex-shrink: 0;
  padding: 10px 18px;
  border: none;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #b88a42, #8c6428);
  cursor: pointer;
}
.install-banner-close {
  position: absolute;
  inset-inline-end: 8px;
  top: 8px;
  width: 22px;
  height: 22px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}
.install-banner-close:hover { color: var(--ink); }
@media (max-width: 420px) {
  .install-banner { flex-wrap: wrap; }
  .install-banner-btn { width: 100%; }
}
/* iOS instructions dialog */
.install-ios {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(23, 22, 20, .45);
}
.install-ios-card {
  width: min(92vw, 400px);
  border-radius: 20px;
  background: var(--card);
  padding: 24px 22px;
  color: var(--ink);
  box-shadow: 0 20px 50px rgba(23, 22, 20, .28);
}
.install-ios-card h3 {
  margin: 0 0 12px;
  color: var(--gold-dark);
  font-size: 17px;
}
.install-ios-card ol {
  margin: 0 0 18px;
  padding-inline-start: 20px;
  font-size: 14px;
  line-height: 1.9;
  color: #4e4840;
}
.install-ios-done {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, #b88a42, #8c6428);
  cursor: pointer;
}

/* Samsung install note + ghost button */
.install-ios-note {
  margin: 0 0 14px;
  font-size: 13px;
  line-height: 1.7;
  color: #4e4840;
}
.install-ios-ghost {
  margin-top: 8px;
  background: transparent;
  color: var(--gold-dark);
  border: 1px solid var(--gold-soft);
}

/* ============================================================
   Occasion hero — "Choose your occasion" opening
   (replaces the old split hero on the homepage)
   ============================================================ */
.occasion-hero {
  display: block;
  min-height: 0;
  padding: 26px 18px 34px;
}

.occasion-intro {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.occasion-features {
  justify-content: center;
  margin: 0 auto 20px;
}

.occasion-intro h1 {
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(40px, 9vw, 64px);
}

.occasion-intro p {
  margin: 0 auto;
}

.occasion-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 880px;
  margin: 26px auto 0;
}

.occasion-card {
  display: flex;
  flex-direction: column;
  background: #fffdf9;
  border: 1px solid rgba(167, 122, 50, .22);
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 10px 28px rgba(60, 45, 20, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.occasion-card:hover,
.occasion-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(60, 45, 20, .14);
}

.occasion-media {
  position: relative;
  aspect-ratio: 5 / 5.6;
  overflow: hidden;
}

.occasion-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.occasion-bottle {
  position: absolute;
  left: 50%;
  bottom: 6%;
  width: 37%;
  transform: translateX(-50%);
  animation: occasionFloat 6s ease-in-out infinite;
  will-change: transform;
}

.occasion-card[data-occasion="evening"] .occasion-bottle {
  animation-delay: -3s;
}

.occasion-shadow {
  position: absolute;
  left: 50%;
  bottom: 4%;
  width: 38%;
  height: 16px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(30, 22, 12, .38), transparent 68%);
  border-radius: 50%;
  animation: occasionShadow 6s ease-in-out infinite;
}

.occasion-card[data-occasion="evening"] .occasion-shadow {
  animation-delay: -3s;
}

@keyframes occasionFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(-9px); }
}

@keyframes occasionShadow {
  0%, 100% { transform: translateX(-50%) scaleX(1); opacity: .55; }
  50%      { transform: translateX(-50%) scaleX(.82); opacity: .34; }
}

.occasion-info {
  padding: 14px 12px 16px;
  text-align: center;
  background: linear-gradient(180deg, #fdfaf4, #f7f1e6);
  border-top: 1px solid rgba(167, 122, 50, .14);
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.occasion-info h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: #26221c;
}

.occasion-info p {
  margin: 4px 0 8px;
  padding-inline: 10px;
  font-size: 12.5px;
  line-height: 1.55;
  color: #6a6257;
}

.occasion-cta {
  margin-top: auto;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Active occasion chip inside the collection section */
.occasion-active {
  margin: 0 0 12px;
}

.occasion-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #b88a42, #8c6428);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.occasion-chip button {
  border: 0;
  background: rgba(255, 255, 255, .22);
  color: #fff;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  font-size: 13px;
  line-height: 1;
  cursor: pointer;
}

@media (max-width: 300px) {
  .occasion-grid { grid-template-columns: 1fr; }
  .occasion-media { aspect-ratio: 5 / 4.4; }
}

@media (prefers-reduced-motion: reduce) {
  .occasion-bottle,
  .occasion-shadow {
    animation: none !important;
  }
   }


/* ================================
   Card CTA: two-line add-to-cart
   ================================ */

.add-to-cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1px;
  padding: 6px 8px;
}

.add-to-cart .atc-title {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: .01em;
}

.add-to-cart .atc-price {
  font-size: 10px;
  font-weight: 600;
  opacity: .88;
  letter-spacing: .02em;
}

/* ================================
   Quick size sheet (card CTA popup)
   ================================ */

.quick-size-backdrop {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: rgba(18, 15, 11, .5);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s ease;
}

.quick-size-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.quick-size-sheet {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 160;
  width: min(100%, 460px);
  border-radius: 26px 26px 0 0;
  border-top: 2px solid var(--gold-soft);
  background: linear-gradient(180deg, #fffdf9 0%, #f8f2e8 100%);
  transform: translate(-50%, 105%);
  transition: transform .32s ease;
  box-shadow: 0 -22px 70px rgba(0, 0, 0, .24);
}

.quick-size-sheet.open {
  transform: translate(-50%, 0);
}

.quick-size-content {
  padding: 26px 20px calc(24px + env(safe-area-inset-bottom, 0px));
}

.qs-head {
  text-align: center;
}

.qs-kicker {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--gold-dark);
  padding: 4px 12px;
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  background: rgba(214, 178, 115, .14);
}

.qs-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 27px;
  font-weight: 700;
  margin: 10px 0 2px;
  color: var(--ink);
}

.qs-inspired {
  font-size: 12px;
  color: var(--muted);
  margin: 0;
}

.qs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 18px 0 2px;
}

.qs-size {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 14px 6px 12px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  cursor: pointer;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.qs-size:hover {
  border-color: var(--gold-soft);
}

.qs-size.active {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fffaf1, #fdf3e0);
  box-shadow: 0 8px 20px rgba(125, 89, 32, .18);
  transform: translateY(-2px);
}

.qs-size-ml {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
}

.qs-size-ml small {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  margin-inline-start: 3px;
  color: var(--muted);
}

.qs-size-price {
  font-size: 12px;
  font-weight: 800;
  color: var(--gold-dark);
}

.qs-check {
  position: absolute;
  top: -8px;
  inset-inline-end: -6px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #bd9148, #8c6428);
  color: #fff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(125, 89, 32, .3);
}

/* Sheet close button: explicit reset so it always renders a clean circle. */
.quick-size-sheet .modal-close {
  -webkit-appearance: none;
  appearance: none;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  font-size: 20px;
  line-height: 1;
  border: 1px solid rgba(35, 25, 12, .14);
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
}

.qs-add {
  margin-top: 16px;
}

/* Quick size sheet in WhatsApp-order mode: green CTA matches the card icon. */
.add-cart-btn.qs-order {
  background: linear-gradient(135deg, #22c06e, #1fae62);
  box-shadow: 0 6px 14px rgba(31, 174, 98, .32);
}

@media (min-width: 700px) {
  .quick-size-sheet {
    top: 50%;
    bottom: auto;
    border-radius: 26px;
    border: 1px solid var(--gold-soft);
    transform: translate(-50%, calc(-50% + 40px));
  }

  .quick-size-sheet.open {
    transform: translate(-50%, -50%);
  }
}
