/* ============================================================
   SPANISH PREMIUM LANDING PAGE — DESIGN SYSTEM
   Warm minimalist editorial · Terracotta & Cream
   ============================================================ */

/* ---------- CSS Custom Properties ---------- */
:root {
  /* Palette */
  --color-cream:        #F5F0E8;
  --color-cream-light:  #FAF7F2;
  --color-beige:        #EDE6D8;
  --color-beige-dark:   #D9CEBC;
  --color-terracotta:   #C2703E;
  --color-terracotta-dark: #A85A2A;
  --color-terracotta-light: #D4915F;
  --color-sienna:       #8B4513;
  --color-charcoal:     #2C2420;
  --color-warm-gray:    #6B5E54;
  --color-warm-gray-light: #9B8E82;
  --color-white:        #FFFFFF;
  --color-gold:         #C9A96E;
  --color-gold-light:   #E0CFA3;
  --color-success:      #6B8F5E;
  --color-error:        #C25050;

  /* Typography */
  --font-serif:   'Playfair Display', 'Georgia', 'Times New Roman', serif;
  --font-sans:    'Inter', 'Helvetica Neue', Arial, sans-serif;
  --font-accent:  'Cormorant Garamond', 'Georgia', serif;

  /* Spacing */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;

  /* Borders & Radius */
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --radius-xl:    32px;
  --radius-arch:  50% 50% 0 0;
  --radius-pill:  100px;
  --radius-full:  50%;

  /* Shadows */
  --shadow-sm:    0 2px 8px rgba(44,36,32,0.06);
  --shadow-md:    0 4px 20px rgba(44,36,32,0.08);
  --shadow-lg:    0 8px 40px rgba(44,36,32,0.10);
  --shadow-xl:    0 16px 60px rgba(44,36,32,0.12);
  --shadow-glow:  0 0 40px rgba(194,112,62,0.20);
  --shadow-glow-strong: 0 0 80px rgba(194,112,62,0.30);

  /* Transitions */
  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:  cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast:   0.2s;
  --duration-normal: 0.4s;
  --duration-slow:   0.7s;
  --duration-slower: 1.2s;

  /* Layout */
  --container-max:  1200px;
  --container-narrow: 800px;
  --header-height:  72px;
}

/* ---------- Reset & Base ---------- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-cream);
  color: var(--color-charcoal);
  line-height: 1.7;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-terracotta);
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

a:hover {
  color: var(--color-terracotta-dark);
}

ul, ol { list-style: none; }

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
  background: none;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-charcoal);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.3rem); }

.font-accent {
  font-family: var(--font-accent);
  font-weight: 400;
  font-style: italic;
}

.text-terracotta { color: var(--color-terracotta); }
.text-warm-gray  { color: var(--color-warm-gray); }
.text-gold       { color: var(--color-gold); }
.text-sm         { font-size: 0.875rem; }
.text-xs         { font-size: 0.75rem; }
.text-lg         { font-size: 1.125rem; }
.text-center     { text-align: center; }
.text-uppercase  { text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.75rem; }

/* ---------- Layout Utilities ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-5xl) 0;
  position: relative;
}

.section--cream { background: var(--color-cream-light); }
.section--beige { background: var(--color-beige); }
.section--white { background: var(--color-white); }
.section--dark  { background: var(--color-charcoal); color: var(--color-cream); }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-sm { gap: var(--space-sm); }
.gap-md { gap: var(--space-md); }
.gap-lg { gap: var(--space-lg); }
.gap-xl { gap: var(--space-xl); }
.gap-2xl { gap: var(--space-2xl); }

.grid {
  display: grid;
  gap: var(--space-xl);
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 1rem 2.5rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn:hover::after { opacity: 1; }

.btn--primary {
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-terracotta-dark));
  color: var(--color-white);
  box-shadow: 0 4px 20px rgba(194,112,62,0.3);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(194,112,62,0.4);
  color: var(--color-white);
}

.btn--secondary {
  background: transparent;
  color: var(--color-terracotta);
  border: 2px solid var(--color-terracotta);
}

.btn--secondary:hover {
  background: var(--color-terracotta);
  color: var(--color-white);
  transform: translateY(-2px);
}

.btn--dark {
  background: var(--color-charcoal);
  color: var(--color-cream);
}

.btn--dark:hover {
  background: #3D332D;
  transform: translateY(-2px);
}

.btn--sm {
  padding: 0.6rem 1.5rem;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 1.2rem 3rem;
  font-size: 1rem;
}

/* ---------- Cards ---------- */
.card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.card--arch {
  border-radius: var(--radius-arch);
  padding-top: var(--space-3xl);
}

.card--bordered {
  border: 1px solid var(--color-beige-dark);
  box-shadow: none;
}

.card--terracotta {
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-sienna));
  color: var(--color-cream);
}

/* ---------- Badges & Labels ---------- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.badge--terracotta {
  background: var(--color-terracotta);
  color: var(--color-white);
}

.badge--gold {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-light));
  color: var(--color-charcoal);
}

.badge--outline {
  background: transparent;
  border: 1px solid var(--color-terracotta);
  color: var(--color-terracotta);
}

.badge--cream {
  background: var(--color-cream);
  color: var(--color-charcoal);
}

.badge--ad {
  background: rgba(44,36,32,0.08);
  color: var(--color-warm-gray);
  font-size: 0.65rem;
  padding: 0.25rem 0.75rem;
}

/* ---------- Ribbon ---------- */
.ribbon {
  position: absolute;
  top: 20px;
  right: -35px;
  background: var(--color-terracotta);
  color: var(--color-white);
  padding: 0.4rem 3rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transform: rotate(45deg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  z-index: 2;
}

/* ---------- Discount Badge ---------- */
.discount-badge {
  width: 90px;
  height: 90px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-terracotta), #D4603A);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  box-shadow: 0 4px 20px rgba(194,112,62,0.35);
  position: absolute;
  z-index: 5;
  animation: pulse-badge 2.5s ease-in-out infinite;
}

.discount-badge__percent {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}

.discount-badge__label {
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: var(--font-sans);
  font-weight: 600;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

/* ---------- Floating Chips ---------- */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.5rem 1.2rem;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--color-charcoal);
  white-space: nowrap;
}

.chip__icon {
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
}

/* ---------- Decorative Elements ---------- */
.arch-frame {
  border-radius: var(--radius-arch);
  overflow: hidden;
}

.divider {
  width: 60px;
  height: 2px;
  background: var(--color-terracotta);
  margin: var(--space-lg) 0;
}

.divider--center {
  margin-left: auto;
  margin-right: auto;
}

.divider--gold {
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  width: 120px;
}

.ornament {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.ornament::before,
.ornament::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-beige-dark), transparent);
}

.ornament__symbol {
  color: var(--color-terracotta);
  font-size: 1.2rem;
}

.circle-deco {
  width: 300px;
  height: 300px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-beige-dark);
  position: absolute;
  pointer-events: none;
  opacity: 0.5;
}

.arch-deco {
  width: 200px;
  height: 300px;
  border-radius: var(--radius-arch);
  border: 1px solid var(--color-beige-dark);
  position: absolute;
  pointer-events: none;
  opacity: 0.4;
}

/* ---------- Product Glow Effect ---------- */
.product-glow {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-glow::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(194,112,62,0.20) 0%, transparent 70%);
  animation: glow-pulse 3s ease-in-out infinite;
  z-index: 0;
}

.product-glow::after {
  content: '';
  position: absolute;
  bottom: -10%;
  width: 70%;
  height: 30%;
  background: radial-gradient(ellipse, rgba(194,112,62,0.15) 0%, transparent 70%);
  filter: blur(20px);
  animation: glow-pulse 3s ease-in-out infinite 0.5s;
  z-index: 0;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.05); }
}

.product-glow img,
.product-glow .product-placeholder {
  position: relative;
  z-index: 1;
}

/* ---------- Product Floating Animation ---------- */
.float-anim {
  animation: float-y 4s ease-in-out infinite;
}

@keyframes float-y {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ---------- Parallax Rings ---------- */
.parallax-ring {
  position: absolute;
  border-radius: var(--radius-full);
  border: 1px solid rgba(194,112,62,0.12);
  pointer-events: none;
}

.parallax-ring--1 {
  width: 350px; height: 350px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-rotate 20s linear infinite;
}

.parallax-ring--2 {
  width: 500px; height: 500px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: ring-rotate 30s linear infinite reverse;
}

.parallax-ring--3 {
  width: 650px; height: 650px;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  border-style: dashed;
  animation: ring-rotate 40s linear infinite;
}

@keyframes ring-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ---------- Scroll Reveal Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ---------- Header ---------- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(245,240,232,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
  transition: box-shadow var(--duration-normal) var(--ease-out);
  border-bottom: 1px solid rgba(217,206,188,0.5);
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.header__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-xl);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-charcoal);
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.header__logo-icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-terracotta), var(--color-sienna));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 0.9rem;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.header__nav a {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-warm-gray);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color var(--duration-fast);
  position: relative;
}

.header__nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--color-terracotta);
  transition: width var(--duration-normal) var(--ease-out);
}

.header__nav a:hover {
  color: var(--color-terracotta);
}

.header__nav a:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header__mobile-toggle {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  z-index: 110;
}

.header__mobile-toggle span {
  width: 22px;
  height: 2px;
  background: var(--color-charcoal);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
}

.header__mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.header__mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.header__mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---------- Footer ---------- */
.footer {
  background: var(--color-charcoal);
  color: var(--color-beige);
  padding: var(--space-4xl) 0 var(--space-xl);
}

.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-3xl);
}

.footer__brand {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-cream);
  margin-bottom: var(--space-md);
}

.footer__desc {
  color: var(--color-warm-gray-light);
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 320px;
}

.footer__title {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-cream);
  margin-bottom: var(--space-lg);
}

.footer__links a {
  display: block;
  color: var(--color-warm-gray-light);
  font-size: 0.9rem;
  padding: 0.3rem 0;
  transition: color var(--duration-fast), padding-left var(--duration-fast);
}

.footer__links a:hover {
  color: var(--color-terracotta-light);
  padding-left: 6px;
}

.footer__bottom {
  border-top: 1px solid rgba(155,142,130,0.2);
  padding-top: var(--space-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--color-warm-gray-light);
}

.footer__disclaimer {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  padding: var(--space-lg) var(--space-xl);
  margin-top: var(--space-2xl);
  border-left: 3px solid var(--color-terracotta);
}

.footer__disclaimer p {
  font-size: 0.78rem;
  color: var(--color-warm-gray-light);
  line-height: 1.7;
}

/* ---------- Trust Bar ---------- */
.trust-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-sm);
  padding: var(--space-xl);
}

.trust-item__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--color-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-sm);
  border: 1px solid var(--color-beige-dark);
}

.trust-item__title {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 0.95rem;
}

.trust-item__desc {
  font-size: 0.8rem;
  color: var(--color-warm-gray);
}

/* ---------- FAQ ---------- */
.faq-item {
  border-bottom: 1px solid var(--color-beige-dark);
  overflow: hidden;
}

.faq-item__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) 0;
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-charcoal);
  text-align: left;
  transition: color var(--duration-fast);
}

.faq-item__question:hover {
  color: var(--color-terracotta);
}

.faq-item__icon {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-beige-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  transition: all var(--duration-normal) var(--ease-out);
  color: var(--color-terracotta);
}

.faq-item.active .faq-item__icon {
  background: var(--color-terracotta);
  color: var(--color-white);
  border-color: var(--color-terracotta);
  transform: rotate(45deg);
}

.faq-item__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out),
              padding var(--duration-normal) var(--ease-out);
}

.faq-item.active .faq-item__answer {
  max-height: 500px;
  padding-bottom: var(--space-lg);
}

.faq-item__answer p {
  color: var(--color-warm-gray);
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ---------- Reviews ---------- */
.review-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.review-card__stars {
  color: var(--color-gold);
  font-size: 0.9rem;
  margin-bottom: var(--space-md);
  letter-spacing: 2px;
}

.review-card__text {
  font-style: italic;
  color: var(--color-warm-gray);
  line-height: 1.8;
  margin-bottom: var(--space-lg);
  font-size: 0.95rem;
}

.review-card__author {
  font-weight: 600;
  font-size: 0.9rem;
}

.review-card__meta {
  font-size: 0.8rem;
  color: var(--color-warm-gray-light);
}

.review-card__quote {
  position: absolute;
  top: var(--space-lg);
  right: var(--space-xl);
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--color-beige);
  line-height: 1;
}

/* ---------- Product Placeholder ---------- */
.product-placeholder {
  width: 280px;
  height: 380px;
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, var(--color-beige), var(--color-cream-light));
  border: 2px dashed var(--color-beige-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  position: relative;
}

.product-placeholder__icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: var(--shadow-sm);
}

.product-placeholder__text {
  font-size: 0.8rem;
  color: var(--color-warm-gray-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ---------- Real Product Image ---------- */
.product-img {
  max-height: 420px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(44,36,32,0.15));
  position: relative;
  z-index: 1;
}

.product-img--sm {
  max-height: 300px;
}

.product-img--xs {
  max-height: 200px;
}

.product-img--hero {
  max-height: 480px;
}

/* ---------- Ingredient Photo ---------- */
.ingredient-photo {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-lg);
  border: 1px solid var(--color-beige-dark);
}

/* ---------- Brand Section Photo ---------- */
.brand-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Section Background Image ---------- */
.section-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* ---------- Form Elements ---------- */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-charcoal);
  margin-bottom: var(--space-sm);
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1.5px solid var(--color-beige-dark);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-charcoal);
  font-size: 0.95rem;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.form-input:focus {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(194,112,62,0.1);
}

.form-input::placeholder {
  color: var(--color-warm-gray-light);
}

.form-select {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border: 1.5px solid var(--color-beige-dark);
  border-radius: var(--radius-md);
  background: var(--color-white);
  color: var(--color-charcoal);
  font-size: 0.95rem;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M6 8L1 3h10z' fill='%236B5E54'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  transition: border-color var(--duration-fast), box-shadow var(--duration-fast);
}

.form-select:focus {
  border-color: var(--color-terracotta);
  box-shadow: 0 0 0 3px rgba(194,112,62,0.1);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-md);
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--color-beige-dark);
  border-radius: 4px;
  appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  margin-top: 2px;
  transition: all var(--duration-fast);
  background: var(--color-white);
}

.form-checkbox input[type="checkbox"]:checked {
  background: var(--color-terracotta);
  border-color: var(--color-terracotta);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath d='M10 3L5 8 2 5' stroke='white' stroke-width='2' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.form-checkbox span {
  font-size: 0.85rem;
  color: var(--color-warm-gray);
  line-height: 1.5;
}

/* ---------- Radio Buttons ---------- */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.radio-option {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  padding: var(--space-md) var(--space-lg);
  border: 1.5px solid var(--color-beige-dark);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--duration-fast);
}

.radio-option:hover {
  border-color: var(--color-terracotta-light);
}

.radio-option.selected {
  border-color: var(--color-terracotta);
  background: rgba(194,112,62,0.04);
}

.radio-option input[type="radio"] {
  width: 18px;
  height: 18px;
  border: 2px solid var(--color-beige-dark);
  border-radius: var(--radius-full);
  appearance: none;
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--duration-fast);
  background: var(--color-white);
}

.radio-option input[type="radio"]:checked {
  border-color: var(--color-terracotta);
  background: var(--color-terracotta);
  box-shadow: inset 0 0 0 3px var(--color-white);
}

.radio-option__label {
  font-weight: 600;
  font-size: 0.9rem;
}

.radio-option__desc {
  font-size: 0.8rem;
  color: var(--color-warm-gray);
}

.radio-option__price {
  margin-left: auto;
  font-weight: 700;
  color: var(--color-terracotta);
}

/* ---------- Quantity Selector ---------- */
.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1.5px solid var(--color-beige-dark);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.qty-selector__btn {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  color: var(--color-charcoal);
  transition: background var(--duration-fast);
}

.qty-selector__btn:hover {
  background: var(--color-cream);
}

.qty-selector__value {
  width: 50px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  border-left: 1.5px solid var(--color-beige-dark);
  border-right: 1.5px solid var(--color-beige-dark);
}

/* ---------- Cookie Banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--color-white);
  box-shadow: 0 -4px 30px rgba(44,36,32,0.12);
  z-index: 1000;
  padding: var(--space-xl) var(--space-2xl);
  transform: translateY(100%);
  transition: transform var(--duration-normal) var(--ease-out);
  border-top: 2px solid var(--color-beige);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner__inner {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.cookie-banner__text {
  flex: 1;
  font-size: 0.88rem;
  color: var(--color-warm-gray);
  line-height: 1.6;
}

.cookie-banner__text a {
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}

/* ---------- Legal Pages ---------- */
.legal-page {
  padding-top: calc(var(--header-height) + var(--space-4xl));
  padding-bottom: var(--space-4xl);
  min-height: 100vh;
}

.legal-page h1 {
  margin-bottom: var(--space-lg);
}

.legal-page h2 {
  margin-top: var(--space-2xl);
  margin-bottom: var(--space-md);
  font-size: 1.4rem;
}

.legal-page h3 {
  margin-top: var(--space-xl);
  margin-bottom: var(--space-sm);
  font-size: 1.15rem;
}

.legal-page p {
  margin-bottom: var(--space-md);
  color: var(--color-warm-gray);
  line-height: 1.8;
}

.legal-page ul {
  margin-bottom: var(--space-md);
  padding-left: var(--space-xl);
}

.legal-page ul li {
  list-style: disc;
  color: var(--color-warm-gray);
  line-height: 1.8;
  margin-bottom: var(--space-xs);
}

.legal-page .last-updated {
  font-size: 0.85rem;
  color: var(--color-warm-gray-light);
  margin-bottom: var(--space-2xl);
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: var(--color-terracotta);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--duration-normal) var(--ease-out);
  z-index: 90;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-terracotta-dark);
  transform: translateY(-3px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .trust-bar { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-2xl); }
}

@media (max-width: 768px) {
  :root {
    --space-5xl: 4rem;
    --space-4xl: 3rem;
  }

  .container { padding: 0 var(--space-md); }

  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .trust-bar { grid-template-columns: repeat(2, 1fr); gap: var(--space-md); }

  .form-row { grid-template-columns: 1fr; }

  .header__nav { display: none; }
  .header__mobile-toggle { display: flex; }

  .header__nav.mobile-open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--color-cream);
    padding: var(--space-2xl);
    gap: var(--space-lg);
    z-index: 99;
    animation: fadeIn 0.3s ease;
  }

  .footer__grid { grid-template-columns: 1fr; gap: var(--space-xl); }
  .footer__bottom { flex-direction: column; text-align: center; }

  .cookie-banner__inner {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner__actions {
    width: 100%;
    flex-direction: column;
  }

  .cookie-banner__actions .btn {
    width: 100%;
  }

  .parallax-ring { display: none; }
}

@media (max-width: 480px) {
  .trust-bar { grid-template-columns: 1fr; }
  .discount-badge { width: 72px; height: 72px; }
  .discount-badge__percent { font-size: 1.4rem; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
