:root {
  --paper: #ffffff;
  --ivory: #faf7f2;
  --gold: #c9a96e;
  --ink: #1a1a1a;
  --emerald: #1b4332;
  --emerald-soft: rgba(27, 67, 50, 0.08);
  --line: rgba(201, 169, 110, 0.28);
  --line-strong: rgba(201, 169, 110, 0.48);
  --shadow: 0 18px 42px rgba(26, 26, 26, 0.07);
  --shadow-soft: 0 10px 24px rgba(26, 26, 26, 0.05);
  --radius-xl: 2rem;
  --radius-lg: 1.5rem;
  --radius-md: 1rem;
  --radius-sm: 0.7rem;
  --max-width: 1240px;
  --fs-xl: clamp(2.8rem, 6vw + 1rem, 5.5rem);
  --fs-lg: clamp(1.8rem, 3vw + 1rem, 3rem);
  --fs-md: clamp(1.1rem, 1.5vw + 0.8rem, 1.5rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  min-height: 100dvh;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  position: relative;
}

/* ── Cinematic Video Background ── */
#hero-video-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

#hero-video-bg #bg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
}

#hero-video-bg .video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(10, 8, 6, 0.78) 0%,
    rgba(20, 15, 10, 0.58) 50%,
    rgba(10, 8, 6, 0.88) 100%
  );
}

/* Animated gradient fallback when video fails to load */
#hero-video-bg:not(:has(video[readyState])) {
  background: linear-gradient(135deg, #1a1008 0%, #2d1f0e 30%, #1a1008 60%, #0d0a06 100%);
  animation: gradientShift 8s ease infinite;
  background-size: 400% 400%;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

html[lang="ar"] body {
  direction: rtl;
  font-family: "Noto Sans Arabic", "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body.drawer-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
  touch-action: manipulation;
}

a {
  color: inherit;
  text-decoration: none;
}

::selection {
  background: rgba(27, 67, 50, 0.12);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: white;
  mix-blend-mode: difference;
  transform: translate(-50%, -50%) scale(1);
  pointer-events: none;
  z-index: 99999;
  transition: transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 250ms ease;
}

.cursor-dot.is-hover {
  transform: translate(-50%, -50%) scale(3);
  opacity: 0.8;
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  .cursor-dot {
    display: none;
  }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1rem 0;
  isolation: isolate;
  background: transparent;
  transition: background-color 300ms ease, box-shadow 300ms ease, backdrop-filter 300ms ease, border-color 300ms ease;
}

.site-header.is-scrolled {
  background: rgba(8, 6, 4, 0.6);
  backdrop-filter: blur(28px) saturate(180%);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.25);
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
}

/* Section inner container — constrains content width */
.header-inner,
.footer-inner {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
}

/* Sections stretch full viewport width; inner content is constrained */
.section {
  width: 100%;
  padding-left: max(1rem, calc((100% - var(--max-width)) / 2 + 1rem));
  padding-right: max(1rem, calc((100% - var(--max-width)) / 2 + 1rem));
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
  flex-shrink: 0;
}

.brand-name {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffffff;
}

.brand-subtitle,
.eyebrow,
.section-kicker,
.primary-nav a,
.lang-toggle,
.cart-toggle,
.footer-links a,
.footer-legal a {
  font-size: 0.77rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-subtitle {
  color: rgba(255, 255, 255, 0.55);
}

.primary-nav {
  /* Mobile-first: hidden until desktop breakpoint or JS opens it */
  display: none;
  justify-content: center;
  align-items: center;
  gap: 1.15rem;
  flex-wrap: wrap;
  padding: 0 1rem;
}

/* Show nav on desktop */
@media (min-width: 769px) {
  .primary-nav {
    display: flex;
  }
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 200ms ease;
}

.primary-nav a:hover {
  color: rgba(201, 169, 110, 0.9);
}

/* Mobile hamburger button — hidden on desktop */
.nav-toggle {
  display: none;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 110, 0.42);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 14px rgba(26, 26, 26, 0.06);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4.5px;
  padding: 0;
  transition: border-color 200ms ease, background-color 200ms ease, transform 200ms ease;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-toggle:hover,
.nav-toggle:focus-visible {
  border-color: var(--line-strong);
  transform: translateY(-1px);
}

.nav-toggle-bar {
  display: block;
  width: 14px;
  height: 1px;
  background: var(--gold);
  border-radius: 2px;
  transition: transform 240ms cubic-bezier(0.4, 0, 0.2, 1), opacity 200ms ease, width 200ms ease;
  transform-origin: center;
}

.nav-toggle-bar:nth-child(2) {
  width: 10px;
  align-self: flex-start;
  margin-left: 2px;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
  width: 14px;
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav-toggle.is-open .nav-toggle-bar:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
  width: 14px;
}

/* Overridden by the hero-aware rule below */
.primary-nav a {
  color: rgba(255, 255, 255, 0.85);
  transition: color 200ms ease;
}

.primary-nav a:hover,
.primary-nav a:focus-visible {
  color: rgba(201, 169, 110, 0.9);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
}

.cart-toggle,
.lang-toggle,
.drawer-close,
.newsletter-form button,
.card-add,
.drawer-checkout {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  border-radius: 999px;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, color 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.cart-toggle,
.lang-toggle {
  padding: 0.75rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.cart-toggle:hover,
.cart-toggle:focus-visible,
.lang-toggle:hover,
.lang-toggle:focus-visible,
.newsletter-form button:hover,
.newsletter-form button:focus-visible,
.drawer-checkout:hover,
.drawer-checkout:focus-visible,
.card-add:hover,
.card-add:focus-visible,
.drawer-close:hover,
.drawer-close:focus-visible {
  transform: translateY(-1px);
  border-color: var(--line-strong);
}

.cart-toggle {
  gap: 0.65rem;
}

.cart-icon {
  width: 1rem;
  height: 1rem;
  color: var(--emerald);
}

.cart-count {
  display: inline-grid;
  place-items: center;
  min-width: 1.35rem;
  height: 1.35rem;
  border-radius: 999px;
  background: var(--emerald);
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
  padding: 0 0.35rem;
}

.section {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

/* Sections below the hero get a solid ivory base */
.section:not(.hero) {
  background: #faf7f2;
  position: relative;
  z-index: 1;
}

/* Hero section shows through to the video */
.section.hero {
  background: transparent;
  z-index: 1;
  position: relative;
}

.section + .section {
  border-top: 1px solid rgba(201, 169, 110, 0.18);
}

.hero {
  display: grid;
  gap: 2rem;
  padding-top: 3.75rem;
  padding-bottom: 5rem;
  position: relative;
}

.hero-copy {
  text-align: center;
  max-width: 860px;
  margin: 0 auto;
  /* Prevent grid blowout & text overflow on mobile */
  width: 100%;
  min-width: 0;
  overflow-wrap: break-word;
  word-break: break-word;
}

.eyebrow,
.section-kicker {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  color: rgba(201, 169, 110, 0.9);
  margin: 0 0 1rem;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
  letter-spacing: 0.18em;
}

.hero-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(4rem, 10vw, 8rem);
  letter-spacing: 0.02em;
  line-height: 0.92;
  color: #ffffff;
  text-shadow: 0 4px 40px rgba(0,0,0,0.3);
}

.hero-tagline {
  margin: 1.25rem 0 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  word-break: break-word;
}

.hero-body,
.section-note,
.newsletter-feedback,
.footer-note {
  margin: 0;
  color: rgba(26, 26, 26, 0.72);
  max-width: 58ch;
  overflow-wrap: break-word;
}

.hero-body {
  margin-inline: auto;
  color: rgba(255, 255, 255, 0.7);
}

.featured-panel {
  min-width: 0;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(28px) saturate(140%);
  -webkit-backdrop-filter: blur(28px) saturate(140%);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-xl);
  padding: 2rem 1.5rem;
  margin-top: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.section-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0;
  max-width: 16ch;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 0.98;
}

.section-head.compact h2,
.section-head.compact .section-kicker {
  margin-bottom: 0;
}

.section-head.compact {
  margin-bottom: 1.25rem;
}

.featured-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 290px);
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.featured-strip::-webkit-scrollbar {
  display: none;
}

.filters {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
}

.filter-tab {
  padding: 0.8rem 1rem;
  border: 1px solid rgba(201, 169, 110, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: rgba(26, 26, 26, 0.72);
  transition: border-color 160ms ease, color 160ms ease, background-color 160ms ease, transform 160ms ease;
}

.filter-tab:hover,
.filter-tab:focus-visible {
  border-color: var(--gold);
  color: var(--emerald);
  transform: translateY(-1px);
}

.filter-tab.is-active {
  background: var(--emerald);
  color: #fff;
  border-color: var(--emerald);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(220px, 100%), 1fr));
  gap: 1.1rem;
  align-items: stretch;
}

.product-card,
.promise-card,
.ingredient-card,
.review-card,
.newsletter-card {
  border: 1px solid rgba(201, 169, 110, 0.22);
  border-radius: var(--radius-xl);
  background: #ffffff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;
  min-height: 100%;
  padding: 0.9rem;
  transform: translateY(0);
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--delay, 0ms);
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: var(--shadow);
}

.card-media {
  position: relative;
  border-radius: calc(var(--radius-xl) - 0.45rem);
  background: #faf7f2;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  border: 1px solid rgba(201, 169, 110, 0.16);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.product-card:hover .card-media img,
.product-card:focus-within .card-media img {
  transform: scale(1.03);
}

.card-badge {
  position: absolute;
  top: 0.8rem;
  left: 0.8rem;
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
  padding: 0 0.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: var(--ink);
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  backdrop-filter: blur(10px);
}

.card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.7rem;
  padding: 1rem 0.25rem 0.25rem;
  min-width: 0;
}

.card-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.75rem;
  line-height: 1;
  font-weight: 600;
  overflow-wrap: break-word;
  word-break: break-word;
}

.card-text {
  margin: 0;
  color: rgba(26, 26, 26, 0.7);
  font-size: 0.98rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: auto;
  padding-top: 0.35rem;
}

.card-price {
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.card-add {
  padding: 0.6rem 1rem;
  border: 1px solid rgba(201, 169, 110, 0.5);
  background: transparent;
  color: var(--emerald);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  min-height: 2.4rem;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: background-color 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease, opacity 180ms ease;
}

.card-add:hover,
.card-add:focus-visible {
  background: rgba(201, 169, 110, 0.1);
  border-color: var(--gold);
  color: var(--ink);
}

.product-card:hover .card-add,
.product-card:focus-within .card-add {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.featured-strip .product-card {
  min-width: 0;
}

.featured-strip .card-title {
  font-size: 1.5rem;
}

.featured-strip .card-text {
  font-size: 0.92rem;
}

.featured-strip .card-add {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.promise-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.promise-grid > * {
  flex: 1 1 280px;
  max-width: 380px;
}

.reviews-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.reviews-list > * {
  flex: 1 1 280px;
  max-width: 380px;
}

.promise-card,
.ingredient-card,
.review-card,
.newsletter-card {
  padding: 1.35rem;
}

.promise-card {
  display: grid;
  gap: 0.8rem;
  align-content: start;
  justify-items: center;
  text-align: center;
  min-height: 100%;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--delay, 0ms);
}

.icon-frame {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(201, 169, 110, 0.12);
  border: 1px solid rgba(201, 169, 110, 0.28);
  color: var(--emerald);
}

.promise-card h3,
.ingredient-card h3,
.review-card h3 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
}

.promise-card p,
.ingredient-card p,
.review-card p {
  margin: 0;
  color: rgba(26, 26, 26, 0.72);
}

.transparency-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.25rem;
  align-items: center;
}

/* Cart label hidden on narrow screens via utility class */
.cart-label-text {
  display: inline;
}

.ingredients-list {
  display: grid;
  gap: 0.85rem;
}

.ingredient-card {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.95rem;
  align-items: start;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--delay, 0ms);
}

.ingredient-mark {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 999px;
  display: inline-grid;
  place-items: center;
  background: rgba(27, 67, 50, 0.08);
  border: 1px solid rgba(27, 67, 50, 0.14);
  color: var(--emerald);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.ingredient-card h3 {
  font-size: 1.5rem;
}

.review-card {
  display: grid;
  gap: 1rem;
  align-content: start;
  justify-items: center;
  text-align: center;
  min-height: 100%;
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: var(--delay, 0ms);
}

.quote-mark {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 3rem;
  line-height: 0.8;
  color: var(--gold);
}

.review-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
  padding-top: 0.85rem;
  color: rgba(26, 26, 26, 0.64);
  font-size: 0.9rem;
  width: 100%;
}

.newsletter-card {
  display: grid;
  gap: 1.2rem;
  background: var(--ivory);
}

.newsletter-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.8rem;
}

.newsletter-form input {
  width: 100%;
  min-height: 3.2rem;
  padding: 0.9rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 110, 0.5);
  background: rgba(255, 255, 255, 0.88);
  color: var(--ink);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.newsletter-form input::placeholder {
  color: rgba(26, 26, 26, 0.42);
}

.newsletter-form input:focus {
  border-color: var(--emerald);
  box-shadow: 0 0 0 4px var(--emerald-soft);
}

.newsletter-form button {
  padding: 0.9rem 1.25rem;
  border: 1px solid rgba(27, 67, 50, 0.12);
  background: var(--emerald);
  color: #fff;
}

.drawer-checkout {
  position: relative;
  width: 100%;
  padding: 1.1rem 1.5rem;
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--ink);
  color: #fff;
  border: 1px solid transparent;
  overflow: hidden;
  transition: background-color 300ms ease, border-color 300ms ease, color 300ms ease, transform 200ms ease, box-shadow 300ms ease;
}

.drawer-checkout::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.15) 0%, rgba(201, 169, 110, 0) 60%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.drawer-checkout:hover {
  background: #2a2a2a;
  border-color: rgba(201, 169, 110, 0.5);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(201, 169, 110, 0.15);
  transform: translateY(-1px);
}

.drawer-checkout:hover::before {
  opacity: 1;
}

.newsletter-feedback {
  min-height: 1.5rem;
  color: var(--emerald);
}

.site-footer {
  position: relative;
  padding: 4rem 0 0;
  background: rgba(10, 8, 6, 0.65);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-top: 1px solid transparent;
  background-clip: padding-box;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,169,110,0) 0%, rgba(201,169,110,0.6) 50%, rgba(201,169,110,0) 100%);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3rem;
  align-items: start;
  padding-bottom: 4rem;
}

.footer-block {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.footer-brand {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 2.4rem;
  line-height: 1;
  color: var(--gold);
  letter-spacing: 0.05em;
  text-shadow: 0 4px 12px rgba(201, 169, 110, 0.2);
}

.footer-note {
  max-width: 32ch;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  line-height: 1.6;
  margin: 0;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: rgba(255, 255, 255, 0.85);
  transition: all 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.social-icon svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform 300ms ease;
}

.social-icon:hover {
  border-color: var(--gold);
  background: rgba(201, 169, 110, 0.1);
  color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(201, 169, 110, 0.15);
}

.social-icon:hover svg {
  transform: scale(1.1);
}

.footer-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.02em;
}

.footer-link-group {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a,
.footer-legal a {
  position: relative;
  display: inline-flex;
  width: fit-content;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.95rem;
  transition: color 250ms ease;
  padding-bottom: 2px;
}

.footer-links a::after,
.footer-legal a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover,
.footer-legal a:hover {
  color: #ffffff;
}

.footer-links a:hover::after,
.footer-legal a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.5rem 0;
}

.footer-bottom-inner {
  width: min(var(--max-width), calc(100% - 2rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  transition: color 200ms ease;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

.drawer-overlay {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(10, 8, 6, 0.55);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  opacity: 0;
  transition: opacity 280ms ease;
}

.drawer-overlay.is-open {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 80;
  width: min(460px, 95vw);
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.25rem;
  padding: 2rem 1.75rem;
  background: rgba(250, 247, 242, 0.97);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-left: 1px solid rgba(201, 169, 110, 0.25);
  box-shadow: none;
  transform: translateX(102%);
  transition: transform 300ms cubic-bezier(0.4, 0, 0.2, 1), box-shadow 300ms ease;
}

.cart-drawer.is-open {
  transform: translateX(0);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.14), -4px 0 12px rgba(201, 169, 110, 0.08);
}

html[lang="ar"] .section-head h2,
html[lang="ar"] .card-title,
html[lang="ar"] .cart-item h3,
html[lang="ar"] .promise-card h3,
html[lang="ar"] .ingredient-card h3,
html[lang="ar"] .review-card h3,
html[lang="ar"] .drawer-header h2 {
  font-family: "Noto Naskh Arabic", "Noto Sans Arabic", serif;
  letter-spacing: 0;
  text-transform: none;
}

html[lang="ar"] .brand-subtitle,
html[lang="ar"] .eyebrow,
html[lang="ar"] .section-kicker,
html[lang="ar"] .primary-nav a,
html[lang="ar"] .cart-toggle,
html[lang="ar"] .footer-links a,
html[lang="ar"] .footer-legal a,
html[lang="ar"] .hero-tagline,
html[lang="ar"] .card-badge,
html[lang="ar"] .cart-remove {
  letter-spacing: 0;
  text-transform: none;
}

html[lang="ar"] .cart-drawer {
  right: auto;
  left: 0;
  border-left: 0;
  border-right: 1px solid rgba(201, 169, 110, 0.2);
  box-shadow: 18px 0 42px rgba(26, 26, 26, 0.08);
  transform: translateX(-102%);
}

html[lang="ar"] .cart-drawer.is-open {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.25);
}

.drawer-header h2 {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.drawer-close {
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid rgba(201, 169, 110, 0.3);
  background: rgba(255, 255, 255, 0.85);
  font-size: 1.4rem;
  line-height: 1;
  transition: all 250ms ease;
}

.drawer-close:hover {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(201, 169, 110, 0.6);
  transform: scale(1.08) rotate(5deg);
}

.drawer-items {
  overflow: auto;
  display: grid;
  gap: 0.85rem;
  padding-right: 0.15rem;
}

.drawer-empty {
  padding: 1rem 0;
  color: rgba(26, 26, 26, 0.68);
}

.cart-item {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  border-radius: 1.5rem;
  border: none;
  background: #ffffff;
  box-shadow: 0 4px 18px rgba(26, 26, 26, 0.06), 0 1px 4px rgba(201, 169, 110, 0.08);
  transition: box-shadow 200ms ease, transform 200ms ease;
}

.cart-item:hover {
  box-shadow: 0 8px 28px rgba(26, 26, 26, 0.1), 0 2px 8px rgba(201, 169, 110, 0.1);
  transform: translateY(-1px);
}

.cart-thumb {
  width: 80px;
  height: 80px;
  border-radius: 1.2rem;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 110, 0.15);
  background: var(--ivory);
}

.cart-item h3 {
  margin: 0 0 0.25rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  line-height: 0.95;
}

.cart-item p {
  margin: 0;
  color: rgba(26, 26, 26, 0.68);
  font-size: 0.92rem;
}

.cart-item-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
}

.cart-item-qty {
  font-variant-numeric: tabular-nums;
  color: rgba(26, 26, 26, 0.64);
}

.cart-remove {
  color: rgba(26, 26, 26, 0.45);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 200ms ease;
}

.cart-remove:hover {
  color: #c0392b;
}

.drawer-summary {
  display: grid;
  gap: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
}

.summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
  color: rgba(26, 26, 26, 0.7);
}

.summary-row strong {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
}

/* Trust badges under checkout button */
.drawer-trust {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.5);
}

.trust-badge svg {
  flex-shrink: 0;
  color: var(--gold);
}

/* Custom scrollbar for drawer items */
.drawer-items {
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 169, 110, 0.3) transparent;
}

.drawer-items::-webkit-scrollbar {
  width: 4px;
}

.drawer-items::-webkit-scrollbar-track {
  background: transparent;
}

.drawer-items::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 110, 0.35);
  border-radius: 99px;
}

.drawer-items::-webkit-scrollbar-thumb:hover {
  background: rgba(201, 169, 110, 0.6);
}
/* ── Cart Quantity Stepper ── */
.cart-stepper {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(201, 169, 110, 0.25);
  border-radius: 99px;
  padding: 0.25rem;
  background: rgba(250, 247, 242, 0.5);
  margin-top: 0.25rem;
}

.cart-stepper-btn {
  display: grid;
  place-items: center;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: all 200ms ease;
}

.cart-stepper-btn:hover {
  background: var(--gold);
  color: #fff;
}

.cart-stepper-val {
  font-variant-numeric: tabular-nums;
  font-size: 0.85rem;
  font-weight: 500;
  min-width: 1rem;
  text-align: center;
  color: var(--ink);
}

/* ── Cart Empty State ── */
.drawer-empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  height: 100%;
}

.drawer-empty-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.5rem;
  color: rgba(201, 169, 110, 0.6);
}

.drawer-empty-title {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 0.5rem;
}

.drawer-empty-desc {
  font-size: 0.95rem;
  color: rgba(26, 26, 26, 0.6);
  margin: 0 0 2rem;
  max-width: 24ch;
  line-height: 1.5;
}

.drawer-empty-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 99px;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: all 250ms ease;
}

.drawer-empty-btn:hover {
  background: var(--gold);
  color: #fff;
}

/* ── Cross-sell Strip ── */
.drawer-cross-sell {
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px dashed rgba(201, 169, 110, 0.3);
}

.cross-sell-title {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.5);
  margin: 0 0 1rem;
}

.cross-sell-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: 1rem;
  background: rgba(250, 247, 242, 0.4);
  transition: background 200ms ease;
}

.cross-sell-item:hover {
  background: rgba(250, 247, 242, 0.8);
}

.cross-sell-thumb {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  object-fit: cover;
  border: 1px solid rgba(201, 169, 110, 0.15);
}

.cross-sell-info {
  flex: 1;
  min-width: 0;
}

.cross-sell-name {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--ink);
  margin-bottom: 0.15rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cross-sell-price {
  font-size: 0.8rem;
  color: rgba(26, 26, 26, 0.6);
}

.cross-sell-add {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(201, 169, 110, 0.4);
  color: var(--gold);
  transition: all 200ms ease;
  cursor: pointer;
}

.cross-sell-add:hover {
  background: var(--gold);
  color: #fff;
  border-color: var(--gold);
}

/* ── Cart Animations ── */
.cart-item {
  animation: slideInUp 0.4s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--delay, 0s);
}

.cart-item.is-removing {
  animation: slideOutRight 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes slideInUp {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes slideOutRight {
  from { opacity: 1; transform: translateX(0); }
  to { opacity: 0; transform: translateX(100%); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  /* CSS fallback: always animate in after 300ms even if JS doesn't fire */
  animation: revealUp 0.9s 0.3s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

body.is-ready .reveal {
  /* JS-triggered: animate immediately */
  animation: revealUp 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

body.is-ready .hero-copy {
  animation-delay: 60ms;
}

body.is-ready .featured-panel {
  animation-delay: 180ms;
}

/* Hero reveal elements must ALWAYS be visible — never hidden */
.hero-copy,
.featured-panel {
  opacity: 1 !important;
  transform: none !important;
  animation: none !important;
}

body.is-ready .product-card {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

body.is-ready .promise-card,
body.is-ready .ingredient-card,
body.is-ready .review-card {
  animation: rise 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

:focus-visible {
  outline: 2px solid var(--emerald);
  outline-offset: 3px;
}

@keyframes revealUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .transparency-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* ── Header: hamburger layout ── */
  .site-header {
    padding: 0.7rem 0;
  }

  .header-inner {
    width: min(var(--max-width), calc(100% - 1rem));
    gap: 0.5rem;
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .brand {
    min-width: 0;
  }

  .header-actions {
    justify-self: end;
    gap: 0.4rem;
  }

  /* Show hamburger */
  .nav-toggle {
    display: inline-flex;
  }

  /* Collapse nav into dropdown */
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 60;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
    box-shadow: 0 12px 30px rgba(26, 26, 26, 0.07);
    animation: navSlideDown 180ms ease both;
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid rgba(201, 169, 110, 0.12);
    font-size: 0.82rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(26, 26, 26, 0.72);
  }

  .primary-nav a:last-child {
    border-bottom: none;
  }

  /* Cart: hide text label, show only icon + count */
  .cart-label-text {
    display: none;
  }

  .cart-toggle {
    padding: 0.6rem 0.75rem;
    gap: 0.4rem;
  }

  /* ── Sections ── */
  .section {
    padding: 3rem 0;
  }

  .hero-title {
    font-size: clamp(2.8rem, 12vw, 4.2rem);
    text-align: center;
  }

  .hero {
    gap: 1rem;
    padding-top: 0.75rem;
    padding-bottom: 0 !important;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding: 0;
  }

  /* Constrain eyebrow letter-spacing on mobile to prevent overflow */
  .hero-copy .eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.1em;
    max-width: 100%;
    text-align: center;
    white-space: normal;
  }

  .hero-tagline {
    font-size: clamp(0.78rem, 2vw, 0.95rem);
    letter-spacing: 0.08em;
    margin: 0.75rem 0 0.5rem;
  }

  .hero-body,
  .section-note,
  .newsletter-feedback,
  .footer-note {
    max-width: 100%;
  }

  .hero-body {
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .section-head h2 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 3rem);
    text-align: center;
  }

  .section-head {
    align-items: center;
    text-align: center;
  }

  .section-note,
  .section-kicker,
  .eyebrow {
    text-align: center;
  }

  .featured-strip {
    grid-auto-columns: clamp(200px, 80vw, 280px);
    gap: 0.85rem;
  }

  /* Filters: horizontal scroll strip */
  .filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 0.35rem;
    margin-inline: -0.5rem;
    padding-inline: 0.5rem;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .filters::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    flex: 0 0 auto;
    white-space: nowrap;
  }

  /* Product grid: 2 col on tablet */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }

  .product-card,
  .promise-card,
  .ingredient-card,
  .review-card,
  .newsletter-card {
    border-radius: 1.25rem;
  }

  .product-card {
    padding: 0.8rem;
  }

  .card-body {
    gap: 0.5rem;
    padding: 0.8rem 0.1rem 0.15rem;
  }

  .card-title {
    font-size: 1.45rem;
  }

  .card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }

  .card-price {
    font-size: 1rem;
  }

  /* Always show add-to-cart on touch */
  .card-add {
    opacity: 1;
    transform: none;
    pointer-events: auto;
    width: 100%;
  }

  /* Newsletter */
  .newsletter-form {
    grid-template-columns: 1fr;
  }

  .newsletter-form button {
    width: 100%;
  }

  /* Cart drawer */
  .cart-drawer {
    width: 100vw;
    max-width: 100vw;
    padding: 1rem;
  }

  .drawer-items {
    gap: 0.75rem;
  }

  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 0.75rem;
    padding: 0.75rem;
  }

  .cart-thumb {
    width: 64px;
    height: 64px;
  }

  .cart-item-actions {
    grid-column: 1 / -1;
    width: 100%;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
  }

  .cart-remove {
    min-height: 2.5rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.08em;
  }

  .drawer-summary {
    gap: 0.85rem;
  }

  .drawer-checkout {
    width: 100%;
  }

  .summary-row strong {
    font-size: 1.1rem;
  }

  /* Footer */
  .site-footer {
    padding: 3rem 0 0;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
  }

  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }

  .footer-bottom-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  /* Product grid: horizontal scroll, 1.2 cards visible as scroll hint */
  .product-grid:not(.full-catalog) {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 82vw;
    grid-template-columns: unset;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
    gap: 0.75rem;
    padding-bottom: 0.5rem;
  }

  /* Full catalog on mobile: 2-column vertical grid */
  .product-grid.full-catalog {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .product-grid::-webkit-scrollbar {
    display: none;
  }

  .product-grid .product-card {
    scroll-snap-align: start;
    min-height: 0;
  }

  .reviews-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 1.75rem 0;
  }

  .site-header {
    padding: 0.45rem 0;
  }

  .header-inner {
    width: min(var(--max-width), calc(100% - 0.75rem));
    gap: 0.35rem;
  }

  .brand-name {
    font-size: 1.05rem;
  }

  .brand-subtitle {
    display: none;
  }

  .hero {
    padding-top: 0.5rem;
    gap: 0.65rem;
  }

  .hero-title {
    font-size: clamp(2.6rem, 15vw, 3.6rem);
  }

  .hero-copy .eyebrow {
    font-size: 0.62rem;
    letter-spacing: 0.08em;
  }

  .hero-tagline {
    margin: 0.55rem 0 0.4rem;
    font-size: 0.75rem;
    letter-spacing: 0.07em;
  }

  .hero-body {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  .section-head h2 {
    font-size: clamp(1.65rem, 7.5vw, 2.3rem);
    text-align: center;
  }

  .section-head {
    align-items: center;
    text-align: center;
  }

  .featured-strip {
    grid-auto-columns: clamp(180px, 80vw, 240px);
    gap: 0.6rem;
  }

  .filters {
    margin-bottom: 1rem;
  }

  .product-card,
  .promise-card,
  .ingredient-card,
  .review-card,
  .newsletter-card {
    border-radius: 1rem;
  }

  .product-card {
    padding: 0.7rem;
  }

  .card-title {
    font-size: 1.3rem;
  }

  .card-text,
  .review-card p,
  .ingredient-card p,
  .promise-card p {
    font-size: 0.91rem;
  }

  .newsletter-card {
    padding: 1rem;
  }

  .cart-drawer {
    padding: 0.85rem;
  }

  .cart-item {
    grid-template-columns: 52px minmax(0, 1fr);
  }

  .cart-thumb {
    width: 52px;
    height: 52px;
  }

  .drawer-header h2 {
    font-size: clamp(1.5rem, 6.5vw, 2rem);
  }

  /* Lang toggle: tighten */
  .lang-toggle {
    padding: 0.6rem 0.7rem;
    font-size: 0.72rem;
  }
}

@media (hover: none) {
  .product-card:hover,
  .product-card:focus-within {
    transform: none;
  }
}

/* ── Product Page Layout ── */

.breadcrumb-container {
  padding-top: 1.5rem;
  padding-bottom: 0;
}

.breadcrumb {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  color: var(--admin-text-light);
}

.breadcrumb li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumb li:not(:last-child)::after {
  content: "/";
  color: var(--line-strong);
}

.breadcrumb a {
  color: var(--admin-text-light);
  text-decoration: none;
  transition: color 0.2s;
}

.breadcrumb a:hover {
  color: var(--gold);
}

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 500;
}

.product-details-section {
  padding-top: 2rem;
}

.product-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 768px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
  }
}

.sticky-media {
  position: sticky;
  top: calc(5rem + 2rem); /* Header height + spacing */
  border-radius: var(--radius-xl);
  background: radial-gradient(circle at center, #ffffff 0%, var(--ivory) 100%);
  border: 1px solid rgba(201, 169, 110, 0.16);
  overflow: hidden;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-large-img {
  width: 90%;
  height: 90%;
  object-fit: contain;
}

.product-info-col {
  padding: 2rem 0;
}

.product-h1 {
  margin: 0 0 1.5rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95;
}

.product-desc-wrapper {
  position: relative;
  margin-bottom: 2rem;
}

.product-desc {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(26, 26, 26, 0.75);
  margin: 0;
  max-width: 52ch;
  /* Collapsed: show 3 lines max */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: -webkit-line-clamp 0.3s ease;
}

/* When expanded, show all text */
.product-desc.is-expanded {
  display: block;
  overflow: visible;
  -webkit-line-clamp: unset;
}

/* Fade at the bottom of the clamped text */
.product-desc-fade {
  position: absolute;
  bottom: 2.2rem;
  left: 0;
  right: 0;
  height: 2.5rem;
  background: linear-gradient(to bottom, rgba(250, 247, 242, 0) 0%, rgba(250, 247, 242, 0.95) 100%);
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.product-desc-wrapper.is-expanded .product-desc-fade {
  opacity: 0;
}

/* Read more / Read less toggle */
.product-desc-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.6rem;
  padding: 0.2rem 0;
  font-size: 0.77rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--emerald);
  font-weight: 500;
  border: none;
  background: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.product-desc-toggle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-desc-toggle:hover {
  color: var(--gold);
}

.product-desc-toggle:hover::after {
  width: 100%;
}

.product-desc-toggle-arrow {
  display: inline-block;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.product-desc-wrapper.is-expanded .product-desc-toggle-arrow {
  transform: rotate(180deg);
}

.product-price-row {
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--line);
}

.product-price-large {
  font-size: 2rem;
  font-weight: 500;
  color: var(--ink);
}

.product-add-btn {
  width: 100%;
  max-width: 400px;
  padding: 1.1rem 2rem;
  font-size: 0.95rem;
}

.product-badge {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: 0 1rem;
  border-radius: 999px;
  background: var(--ivory);
  border: 1px solid rgba(201, 169, 110, 0.3);
  color: var(--ink);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

/* Stretched Link for Cards */
.stretched-link::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  content: "";
}

.card-title a {
  color: inherit;
  text-decoration: none;
}

.product-card {
  position: relative; /* Ensure card is positioned for the stretched link */
}

/* Ensure Add to Cart button stays clickable above the stretched link */
.product-card .card-add {
  position: relative;
  z-index: 2;
}

/* ── Mobile: disable reveal animation, always show content ── */
@media (max-width: 768px) {
  .reveal,
  body.is-ready .reveal {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal,
  body.is-ready .reveal,
  .product-card,
  .promise-card,
  .ingredient-card,
  .review-card {
    opacity: 1;
    transform: none;
  }
}

@keyframes navSlideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════
   WORLD-CLASS CHECKOUT PAGE
══════════════════════════════════════ */

.checkout-page {
  background: transparent;
}

/* ── Checkout Header ── */
.chk-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 1.25rem 0;
  background: rgba(10, 8, 6, 0.55);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  border-bottom: 1px solid rgba(201, 169, 110, 0.18);
}

.chk-header-inner {
  width: min(var(--max-width), calc(100% - 3rem));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.chk-steps {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.chk-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chk-step--active { color: var(--gold); }
.chk-step--done { color: rgba(201, 169, 110, 0.6); }

.chk-step-num {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 1px solid currentColor;
  font-size: 0.75rem;
  font-weight: 600;
}

.chk-step--active .chk-step-num {
  background: var(--gold);
  color: #0a0806;
  border-color: var(--gold);
}

.chk-step-divider {
  width: 2rem;
  height: 1px;
  background: rgba(201, 169, 110, 0.25);
}

.chk-back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
  transition: color 200ms ease;
}

.chk-back-link:hover { color: var(--gold); }

/* ── Main Layout ── */
.chk-main {
  min-height: 100dvh;
  padding: 3rem max(1.5rem, calc((100% - var(--max-width)) / 2 + 1.5rem));
}

.chk-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: var(--max-width);
  margin: 0 auto;
}

@media (max-width: 900px) {
  .chk-layout { grid-template-columns: 1fr; gap: 2rem; }
  .chk-summary-col { order: -1; }
}

/* ── Card Base ── */
.chk-card,
.chk-summary-card {
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(201, 169, 110, 0.2);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.14), 0 2px 8px rgba(201, 169, 110, 0.06);
  overflow: hidden;
}

.chk-card-header {
  padding: 2rem 2rem 0;
}

.chk-title {
  margin: 0.25rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.chk-form {
  padding: 1.75rem 2rem 2rem;
  display: grid;
  gap: 1.5rem;
}

/* ── Floating Label Inputs ── */
.chk-field { position: relative; }

.chk-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.chk-input {
  width: 100%;
  height: 3.5rem;
  padding: 1.25rem 1rem 0.5rem;
  border: none;
  border-bottom: 1.5px solid rgba(201, 169, 110, 0.35);
  border-radius: 0;
  background: rgba(250, 247, 242, 0.7);
  color: var(--ink);
  font-family: inherit;
  font-size: 1rem;
  outline: none;
  transition: border-color 250ms ease, background-color 250ms ease;
  box-sizing: border-box;
}

.chk-input:focus {
  border-bottom-color: var(--emerald);
  background: rgba(250, 247, 242, 1);
}

.chk-label {
  position: absolute;
  top: 50%;
  left: 1rem;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: rgba(26, 26, 26, 0.5);
  pointer-events: none;
  transition: top 200ms ease, font-size 200ms ease, color 200ms ease, transform 200ms ease;
  transform-origin: left top;
}

.chk-input:focus ~ .chk-label,
.chk-input:not(:placeholder-shown) ~ .chk-label {
  top: 0.45rem;
  font-size: 0.72rem;
  color: var(--emerald);
  transform: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.chk-field-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--emerald);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

.chk-input:focus ~ .chk-field-bar { transform: scaleX(1); }

/* Phone field */
.chk-phone-wrap {
  position: relative;
  display: flex;
  align-items: stretch;
}

.chk-country-code {
  flex-shrink: 0;
  height: 3.5rem;
  padding: 0 0.75rem;
  border: none;
  border-bottom: 1.5px solid rgba(201, 169, 110, 0.35);
  border-right: 1px solid rgba(201, 169, 110, 0.2);
  background: rgba(250, 247, 242, 0.7);
  color: var(--ink);
  font-family: inherit;
  font-size: 0.9rem;
  cursor: pointer;
  outline: none;
  transition: border-color 250ms ease;
}

.chk-country-code:focus { border-bottom-color: var(--emerald); }
.chk-input--phone { flex: 1; border-radius: 0; }
.chk-label--phone { left: calc(5.5rem + 1rem); }

.chk-input--phone:focus ~ .chk-label--phone,
.chk-input--phone:not(:placeholder-shown) ~ .chk-label--phone {
  top: 0.45rem;
  font-size: 0.72rem;
  color: var(--emerald);
  transform: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  left: calc(5.5rem + 1rem);
}

/* ── Payment Block ── */
.chk-payment-block { display: grid; gap: 0.75rem; }

.chk-payment-title {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.55);
}

.chk-payment-option {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1.5px solid rgba(201, 169, 110, 0.25);
  background: rgba(250, 247, 242, 0.7);
}

.chk-payment-option--selected {
  border-color: var(--emerald);
  background: rgba(27, 67, 50, 0.04);
}

.chk-payment-radio {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  border: 1.5px solid var(--emerald);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.chk-radio-dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--emerald);
}

.chk-payment-info { flex: 1; display: flex; flex-direction: column; gap: 0.15rem; }
.chk-payment-name { font-weight: 500; font-size: 0.95rem; color: var(--ink); }
.chk-payment-desc { font-size: 0.82rem; color: rgba(26, 26, 26, 0.55); }
.chk-payment-badge { color: var(--emerald); }

/* ── Submit Button ── */
.chk-submit-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  width: 100%;
  padding: 1.15rem 2rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
  font-size: 0.88rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-weight: 500;
  border: 1px solid transparent;
  cursor: pointer;
  overflow: hidden;
  transition: background-color 300ms ease, border-color 300ms ease, transform 200ms ease, box-shadow 300ms ease;
}

.chk-submit-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.18) 0%, rgba(201, 169, 110, 0) 60%);
  opacity: 0;
  transition: opacity 300ms ease;
}

.chk-submit-btn:hover {
  background: #222;
  border-color: rgba(201, 169, 110, 0.45);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(201, 169, 110, 0.12);
  transform: translateY(-2px);
}

.chk-submit-btn:hover::before { opacity: 1; }

.chk-btn-arrow { transition: transform 250ms ease; }
.chk-submit-btn:hover .chk-btn-arrow { transform: translateX(4px); }

.chk-form-trust {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 0.25rem;
}

/* ── Summary Card ── */
.chk-summary-col {
  position: sticky;
  top: calc(4.5rem + 2rem);
}

.chk-summary-header {
  padding: 2rem 2rem 1.5rem;
  background: linear-gradient(135deg, rgba(201, 169, 110, 0.1) 0%, rgba(201, 169, 110, 0) 70%);
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.chk-summary-title {
  margin: 0.25rem 0 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 600;
  line-height: 1;
  color: var(--ink);
}

.chk-items-list {
  padding: 1.5rem 2rem;
  display: grid;
  gap: 1rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.checkout-item { display: flex; gap: 1rem; align-items: center; }

.checkout-item img {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--ivory);
  border: 1px solid rgba(201, 169, 110, 0.18);
  flex-shrink: 0;
}

.checkout-item-details { flex: 1; min-width: 0; }

.checkout-item-title {
  font-weight: 500;
  font-size: 0.95rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.checkout-item-qty { font-size: 0.82rem; color: rgba(26, 26, 26, 0.55); margin-top: 0.15rem; }
.checkout-item-price { font-weight: 500; font-size: 0.95rem; flex-shrink: 0; }

.chk-summary-totals {
  padding: 1.5rem 2rem;
  display: grid;
  gap: 0.85rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.15);
}

.chk-total-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: rgba(26, 26, 26, 0.7);
}

.chk-free-tag {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
}

.chk-total-row--grand {
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  padding-top: 0.5rem;
}

.chk-total-row--grand span:last-child {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.6rem;
  letter-spacing: 0.02em;
}

.chk-summary-guarantee {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1.25rem 2rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.5);
}

.chk-summary-guarantee svg { color: var(--gold); flex-shrink: 0; }

/* ══ CINEMATIC SUCCESS SCREEN ══ */
.chk-success-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(10, 8, 6, 0.82);
  backdrop-filter: blur(28px) saturate(120%);
  -webkit-backdrop-filter: blur(28px) saturate(120%);
  animation: fadeIn 0.4s ease both;
}

.chk-success-overlay[hidden] { display: none; }

.chk-success-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 520px;
  animation: riseUp 0.6s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.chk-success-icon { width: 80px; height: 80px; margin-bottom: 2rem; color: var(--gold); }

.chk-checkmark { width: 80px; height: 80px; }

.chk-checkmark-circle {
  stroke-dasharray: 160;
  stroke-dashoffset: 160;
  animation: strokeDraw 0.6s 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.chk-checkmark-check {
  stroke-dasharray: 50;
  stroke-dashoffset: 50;
  animation: strokeDraw 0.4s 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes strokeDraw { to { stroke-dashoffset: 0; } }

.chk-success-kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.chk-success-title {
  margin: 0 0 0.75rem;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 600;
  color: #ffffff;
  line-height: 1;
}

.chk-success-order-id {
  margin: 0 0 1rem;
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.chk-success-body {
  margin: 0 0 2.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 38ch;
}

.chk-success-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2.5rem;
  border-radius: 999px;
  background: var(--gold);
  color: #0a0806;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.chk-success-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(201, 169, 110, 0.35);
}

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes riseUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* ── Checkout Mobile ── */
@media (max-width: 600px) {
  .chk-main { padding: 1.5rem 1rem 3rem; }
  .chk-card-header, .chk-form { padding-left: 1.25rem; padding-right: 1.25rem; }
  .chk-field-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .chk-summary-header, .chk-items-list, .chk-summary-totals, .chk-summary-guarantee { padding-left: 1.25rem; padding-right: 1.25rem; }
  .chk-steps { display: none; }
  .chk-summary-col { position: static; }
}

/* ══════════════════════════════════════
   PRODUCT DETAILS PAGE & 3D MODEL
══════════════════════════════════════ */
.product-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  align-items: start;
}

.product-media-col {
  position: relative;
  height: 100%;
}

.sticky-media {
  position: sticky;
  top: 6rem;
  height: calc(100vh - 8rem);
  min-height: 500px;
  max-height: 800px;
  background: var(--ivory);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid rgba(201, 169, 110, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}

model-viewer {
  width: 100%;
  height: 100%;
  background-color: transparent;
  --poster-color: transparent;
}

/* ── Product Page: Tablet ── */
@media (max-width: 900px) {
  .product-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sticky-media {
    position: relative;
    top: 0;
    height: 55vw;
    min-height: 320px;
    max-height: 520px;
  }
}

/* ── Product Page: Mobile (world-class) ── */
@media (max-width: 600px) {

  /* Give the entire product section generous, safe padding */
  .product-details-section {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
    padding-top: 2rem !important;
    padding-bottom: 3rem !important;
  }

  /* Tighter gap on mobile */
  .product-layout {
    gap: 1.5rem;
  }

  /* Image: square-ish on mobile, never touches edges */
  .sticky-media {
    height: auto;
    aspect-ratio: 1 / 1;
    min-height: unset;
    max-height: unset;
    border-radius: var(--radius-lg);
  }

  /* Product image fills the frame cleanly */
  .product-large-img {
    border-radius: var(--radius-lg) !important;
  }

  /* Info column: comfortable reading width */
  .product-info-col {
    padding: 0;
  }

  /* Tighter heading on small screens */
  .product-h1 {
    font-size: clamp(2rem, 8vw, 3rem) !important;
    line-height: 1 !important;
    margin-bottom: 0.75rem;
  }

  /* Badge sits inline at top */
  .product-badge {
    font-size: 0.68rem;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.75rem !important;
  }

  /* Description text comfortable on phone */
  .product-desc {
    font-size: 0.96rem;
    line-height: 1.65;
  }

  /* Price row: larger, bolder on mobile */
  .product-price-row {
    margin: 1.25rem 0 1rem;
  }

  .product-price-large {
    font-size: clamp(1.6rem, 6vw, 2rem) !important;
  }

  /* CTA button: full-width, easy to tap */
  .btn-primary.product-add-btn,
  .product-add-btn {
    width: 100% !important;
    padding: 1.1rem 1.5rem !important;
    font-size: 0.82rem !important;
    letter-spacing: 0.16em !important;
    min-height: 3.25rem;
    border-radius: 999px !important;
  }

  /* Stock line */
  .product-details-accordion p {
    font-size: 0.8rem !important;
    margin-top: 1.25rem !important;
  }

  /* Breadcrumb: tighter on mobile */
  .breadcrumb-container {
    padding-top: 1rem !important;
    padding-bottom: 0 !important;
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  .breadcrumb {
    font-size: 0.75rem;
  }

  /* Related products strip: show nicely */
  #related-section {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* Composition card: no overflow */
  .composition-card {
    padding: 1.1rem 1.25rem 1.35rem;
  }

  .ingredient-chips-grid {
    gap: 0.4rem;
  }

  .ingredient-chip {
    font-size: 0.67rem;
    padding: 0.3rem 0.65rem;
  }
}

/* ══════════════════════════════════════
   WORLD-CLASS COMPOSITION SECTION
══════════════════════════════════════ */
.product-composition-wrapper {
  margin: 2.25rem 0 1rem;
  border-top: 1px solid rgba(201, 169, 110, 0.15);
  padding-top: 1.75rem;
}

/* ── Toggle Button ── */
.composition-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0;
  color: var(--emerald);
  font-size: 0.77rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-weight: 500;
  cursor: pointer;
  border: none;
  background: none;
  transition: color 0.35s ease;
}

/* Animated underline — grows left to right */
.composition-toggle::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.composition-toggle:hover {
  color: var(--gold);
}

.composition-toggle:hover::after {
  width: 100%;
}

/* Icon rotates on active */
.composition-icon {
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), color 0.35s ease;
  flex-shrink: 0;
  color: var(--emerald);
}

.composition-toggle:hover .composition-icon {
  color: var(--gold);
}

.composition-toggle.is-active {
  color: var(--ink);
}

.composition-toggle.is-active .composition-icon {
  transform: rotate(135deg);
  color: var(--ink);
}

.composition-toggle.is-active::after {
  width: 0%;
}

/* ── Composition Card ── */
.composition-card {
  overflow: hidden;
  margin-top: 1.25rem;
  background: rgba(250, 247, 242, 0.65);
  border: 1px solid rgba(201, 169, 110, 0.2);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.75rem 1.75rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

.composition-card-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.18);
}

.composition-card-title {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.02em;
  line-height: 1;
}

.composition-count {
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.4);
}

/* ── Ingredient Chips Grid ── */
.ingredient-chips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.ingredient-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 110, 0.3);
  background: rgba(255, 255, 255, 0.7);
  font-size: 0.71rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 26, 26, 0.72);
  transition: background-color 200ms ease, border-color 200ms ease, color 200ms ease, transform 150ms ease;
  cursor: default;
}

.ingredient-chip:hover {
  background: rgba(27, 67, 50, 0.06);
  border-color: rgba(27, 67, 50, 0.3);
  color: var(--emerald);
  transform: translateY(-1px);
}

/* ── INCI Disclaimer ── */
.composition-inci {
  margin: 0;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  color: rgba(26, 26, 26, 0.35);
  font-style: italic;
  line-height: 1.5;
}


/* ════════════════════════════════════════════
   FAVORITES SYSTEM
   ════════════════════════════════════════════ */

/* ── Heart button on product cards ── */
.card-fav-btn {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  z-index: 3;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(201, 169, 110, 0.22);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(26, 26, 26, 0.5);
  cursor: pointer;
  transition: background-color 180ms ease, border-color 180ms ease,
              color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
  /* Hidden until hover, visible when active */
  opacity: 0;
  transform: translateY(4px);
}

.product-card:hover .card-fav-btn,
.product-card:focus-within .card-fav-btn,
.card-fav-btn.is-active {
  opacity: 1;
  transform: translateY(0);
}

.card-fav-btn:hover,
.card-fav-btn:focus-visible {
  background: rgba(255, 255, 255, 1);
  border-color: rgba(201, 169, 110, 0.6);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  color: var(--gold);
}

.card-fav-btn.is-active {
  background: rgba(255, 255, 255, 0.97);
  border-color: rgba(220, 38, 38, 0.4);
  color: #dc2626;
}

.card-fav-btn.is-active .card-fav-icon path {
  fill: currentColor;
}

/* Always show on featured strip (no hover needed) */
.featured-strip .card-fav-btn {
  opacity: 1;
  transform: none;
}

/* ── Fav count badge on nav button ── */
.fav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  color: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  position: relative;
  transition: border-color 180ms ease, background-color 180ms ease,
              transform 180ms ease, color 180ms ease;
  flex-shrink: 0;
}

.fav-toggle:hover,
.fav-toggle:focus-visible {
  border-color: rgba(201, 169, 110, 0.6);
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
}

.fav-toggle .fav-icon {
  color: rgba(255, 255, 255, 0.9);
}

.fav-count {
  position: absolute;
  top: -3px;
  right: -3px;
  background: #dc2626;
  color: #fff;
  font-size: 0.6rem;
  min-width: 1.1rem;
  height: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
  padding: 0 0.25rem;
  line-height: 1;
  pointer-events: none;
}

/* ── Fav Drawer ── */
.fav-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(440px, 100vw);
  background: var(--ivory, #faf7f2);
  z-index: 200;
  display: flex;
  flex-direction: column;
  transform: translateX(102%);
  transition: transform 380ms cubic-bezier(0.4, 0, 0.2, 1),
              box-shadow 380ms ease;
  box-shadow: none;
  overflow: hidden;
}

.fav-drawer.is-open {
  transform: translateX(0);
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.18);
}

.fav-drawer .drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1.5rem 1rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.2);
  background: #fff;
}

.fav-drawer .drawer-items {
  flex: 1;
  overflow-y: auto;
  padding: 0.75rem 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(201, 169, 110, 0.3) transparent;
}

.fav-drawer .drawer-items::-webkit-scrollbar {
  width: 4px;
}

.fav-drawer .drawer-items::-webkit-scrollbar-thumb {
  background: rgba(201, 169, 110, 0.3);
  border-radius: 2px;
}

.fav-drawer .drawer-summary {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid rgba(201, 169, 110, 0.2);
  background: #fff;
}

/* ── Fav items in drawer ── */
.fav-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.85rem 1.5rem;
  border-bottom: 1px solid rgba(201, 169, 110, 0.12);
  animation: riseIn 0.35s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: var(--delay, 0ms);
  transition: opacity 280ms ease, transform 280ms ease;
}

.fav-item.is-removing {
  opacity: 0;
  transform: translateX(20px);
}

.fav-item .cart-item-actions {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  align-items: flex-end;
}

.fav-move-btn {
  font-size: 0.7rem;
  padding: 0.45rem 0.8rem;
  min-height: unset;
  letter-spacing: 0.12em;
  border-radius: 999px;
  border: 1px solid rgba(201, 169, 110, 0.5);
  color: var(--emerald);
  background: transparent;
  cursor: pointer;
  transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

.fav-move-btn:hover,
.fav-move-btn:focus-visible {
  background: rgba(201, 169, 110, 0.1);
  border-color: var(--gold);
  color: var(--ink);
}

/* Add-all button */
[data-fav-add-all] {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--emerald);
  color: #fff;
  border: none;
  border-radius: 999px;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 200ms ease, transform 200ms ease, opacity 200ms ease;
}

[data-fav-add-all]:hover,
[data-fav-add-all]:focus-visible {
  background: #1b4332dd;
  transform: translateY(-1px);
}

/* ── Rise-in animation for fav drawer items ── */
@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* RTL support */
html[dir="rtl"] .card-fav-btn {
  right: auto;
  left: 0.7rem;
}

html[dir="rtl"] .fav-drawer {
  right: auto;
  left: 0;
  transform: translateX(-102%);
}

html[dir="rtl"] .fav-drawer.is-open {
  transform: translateX(0);
}

html[dir="rtl"] .fav-count {
  right: auto;
  left: -3px;
}
