/* ═══════════════════════════════════════════════════════════════
   La Casita del Regalo — Estilos
═══════════════════════════════════════════════════════════════ */

/* ── TOKENS ─────────────────────────────────────────────── */
:root {
  --rose:       #e8a4b0;
  --rose-light: #f5d5dc;
  --rose-pale:  #fdf0f2;
  --rose-deep:  #c97c8e;
  --gold:       #c9a96e;
  --gold-light: #e8d4b0;
  --text-dark:  #4a3540;
  --text-mid:   #7a5a65;
  --text-light: #b08090;
}

/* ── RESET ──────────────────────────────────────────────── */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

/* ── BACKGROUND CANVAS ──────────────────────────────────── */
/* Fixed behind everything via z-index: -1, rendered once via JS */
#pageBg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* ── BODY ───────────────────────────────────────────────── */
body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text-dark);
  overflow-x: hidden;
  background: transparent;
}

/* ── NAV ────────────────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 200;
  height: 120px;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  background: rgba(253, 243, 246, 0.86);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.16);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  margin-top: -28px;
  justify-self: start;
}

.nav-logo-img {
  height: 160px;
  width: auto;
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  line-height: 1.2;
  color: var(--text-dark);
  letter-spacing: 0.04em;
}

.logo-text span {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

.nav-links {
  display: flex;
  gap: 30px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-mid);
  font-size: 13px;
  letter-spacing: 0.08em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--rose-deep);
}

.nav-hamburger {
  display: none;
  justify-self: end;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  padding: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-mid);
  border-radius: 2px;
  transition: all 0.26s ease;
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────── */
.hero {
  margin-top: 120px;
  min-height: 88vh;
  display: flex;
  align-items: center;
  position: relative;
  background-image: url('../img/hero_1920x1080.png');
  background-size: cover;
  background-position: center;
}

/* Overlay: sutil a la izquierda para legibilidad del texto */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to right,
      rgba(253, 243, 246, 0.42) 0%,
      rgba(253, 243, 246, 0.15) 45%,
      rgba(253, 243, 246, 0.00) 100%
    );
  pointer-events: none;
  z-index: 1;
}

@media (max-width: 640px) {
  .hero {
    background-image: url('../img/hero_mobile_768x1024.png');
    background-position: center top;
  }
  .hero::before {
    background: rgba(253, 243, 246, 0.55);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 80px 60px 80px 72px;
  animation: fadeUp 0.9s ease both;
}

.hero-visual {
  position: relative;
  z-index: 2;
  height: 100%;
  min-height: 560px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  animation: fadeUp 0.9s ease 0.15s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(201, 169, 110, 0.32);
  background: rgba(201, 169, 110, 0.14);
  color: var(--gold);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 14px;
}

.hero-title em {
  font-style: italic;
  color: var(--rose-deep);
}

.hero-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--text-mid);
  margin-bottom: 38px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--rose-deep), #b86878);
  color: white;
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  box-shadow: 0 8px 28px rgba(201, 124, 142, 0.38);
  transition: all 0.3s ease;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(201, 124, 142, 0.48);
}

.hero-cta svg {
  width: 16px;
  height: 16px;
}

/* ── HERO ILLUSTRATED SCENE ─────────────────────────────── */
.hero-scene {
  position: relative;
  width: 420px;
  height: 480px;
}

/* Floating sparkle dots */
.sparkle {
  position: absolute;
  pointer-events: none;
}

.sparkle::before {
  content: '✦';
  position: absolute;
  color: var(--gold);
  animation: spk 3s ease-in-out infinite;
}

.s1 { top: 12%; left: 14%; } .s1::before { font-size: 11px; animation-delay: 0s; }
.s2 { top: 22%; right: 18%; } .s2::before { font-size: 7px;  animation-delay: 1.1s; }
.s3 { bottom: 28%; left: 8%; } .s3::before { font-size: 13px; animation-delay: 2.1s; }
.s4 { bottom: 18%; right: 14%; } .s4::before { font-size: 8px;  animation-delay: 0.6s; }
.s5 { top: 55%; left: 20%; } .s5::before { font-size: 6px;  animation-delay: 1.8s; }

@keyframes spk {
  0%, 100% { opacity: 0; transform: scale(0.4) rotate(0deg); }
  50%       { opacity: 1; transform: scale(1)   rotate(20deg); }
}

@keyframes fl1 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-12px, 14px); }
}

@keyframes fl2 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(14px, -12px); }
}

@keyframes fl3 {
  0%, 100% { transform: translate(0, 0); }
  50%       { transform: translate(-8px, -10px); }
}

@keyframes flicker {
  0%   { transform: translateX(-50%) scaleY(1); }
  100% { transform: translateX(-50%) scaleY(0.82) scaleX(1.12); }
}

/* Illustrated product — thermo */
.p-thermo {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -54%);
  width: 86px;
  height: 196px;
  border-radius: 43px 43px 38px 38px;
  background: linear-gradient(160deg, #fce4ea 0%, #ebb8c5 40%, #d4899b 100%);
  box-shadow:
    inset -7px -4px 18px rgba(180, 80, 100, 0.2),
    inset 4px 4px 10px rgba(255, 255, 255, 0.38),
    0 20px 55px rgba(180, 80, 100, 0.22);
  animation: fl1 5s ease-in-out infinite;
}

.p-thermo::before {
  content: '';
  position: absolute;
  top: -7px;
  left: 50%;
  transform: translateX(-50%);
  width: 66px;
  height: 18px;
  border-radius: 18px 18px 0 0;
  background: linear-gradient(to bottom, #f2ccd4, #dcaab5);
}

.p-thermo::after {
  content: 'Mica';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 18px;
  letter-spacing: 2px;
  color: rgba(255, 255, 255, 0.82);
  text-shadow: 0 1px 4px rgba(180, 80, 100, 0.28);
}

/* Illustrated product — candle */
.p-candle {
  position: absolute;
  right: 44px;
  top: 38px;
  width: 62px;
  height: 72px;
  border-radius: 7px;
  background: linear-gradient(160deg, #fef0d2 0%, #f5d88a 60%, #e8c060 100%);
  box-shadow: 0 8px 22px rgba(200, 160, 50, 0.2);
  animation: fl2 6s ease-in-out infinite;
}

.p-candle::before {
  content: '';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 13px;
  border-radius: 2px;
  background: #8b6550;
}

.p-candle::after {
  content: '';
  position: absolute;
  top: -21px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 13px;
  border-radius: 50% 50% 30% 30%;
  background: radial-gradient(ellipse at 50% 70%, #ffcc44 0%, #ff8800 60%, transparent 100%);
  animation: flicker 1.4s ease-in-out infinite alternate;
}

/* Illustrated product — pen set */
.p-pens {
  position: absolute;
  right: 18px;
  bottom: 82px;
  display: flex;
  gap: 5px;
  transform: rotate(-14deg);
  animation: fl2 7s ease-in-out infinite;
}

.pen-c {
  width: 10px;
  height: 88px;
  border-radius: 5px 5px 2px 2px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.pen-c::before {
  content: '';
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 15px;
  border-radius: 50%;
  background: inherit;
  filter: brightness(1.35);
}

.pc1 { background: linear-gradient(to bottom, #f9d0e0, #e8a0b8); }
.pc2 { background: linear-gradient(to bottom, #d0e8f9, #a0b8e8); }
.pc3 { background: linear-gradient(to bottom, #d8f0d8, #a0d8b0); }
.pc4 { background: linear-gradient(to bottom, #f0e0d0, #e0c0a0); }

/* Illustrated product — mug */
.p-cup {
  position: absolute;
  left: 28px;
  top: 52px;
  width: 58px;
  height: 52px;
  border-radius: 6px 6px 12px 12px;
  background: linear-gradient(160deg, #fce4ea 0%, #e8b0c0 100%);
  box-shadow: 0 8px 18px rgba(200, 120, 140, 0.18);
  animation: fl1 7s ease-in-out infinite;
}

.p-cup::before {
  content: '';
  position: absolute;
  right: -13px;
  top: 8px;
  width: 15px;
  height: 20px;
  border: 4px solid #e8b0c0;
  border-radius: 0 12px 12px 0;
  border-left: none;
}

/* Illustrated product — keychain */
.p-key {
  position: absolute;
  left: 58px;
  bottom: 58px;
  width: 50px;
  height: 62px;
  animation: fl3 8s ease-in-out infinite;
}

.k-heart {
  width: 36px;
  height: 34px;
  margin: 0 auto 5px;
  background: linear-gradient(135deg, #e8c878, #c9a050);
  clip-path: path('M18 30 C18 30 2 20 2 10 C2 4 7 0 12 0 C14.5 0 16.5 1 18 3 C19.5 1 21.5 0 24 0 C29 0 34 4 34 10 C34 20 18 30 18 30Z');
  box-shadow: 0 4px 10px rgba(180, 140, 40, 0.28);
}

.k-tag {
  width: 30px;
  height: 30px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8c878, #c9a050);
  font-family: 'Playfair Display', serif;
  font-size: 7px;
  color: white;
  box-shadow: 0 3px 8px rgba(180, 140, 40, 0.22);
}

/* ── TRUST BAR ──────────────────────────────────────────── */
.trust-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 56px;
  padding: 22px 80px;
  background: transparent;
  border-top: 1px solid rgba(201, 124, 142, 0.2);
  border-bottom: 1px solid rgba(201, 124, 142, 0.2);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dark);
  font-size: 13px;
  font-weight: 500;
}

.trust-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  font-size: 16px;
}

.trust-div {
  width: 1px;
  height: 28px;
  background: rgba(201, 124, 142, 0.3);
}

/* ── SECTION TITLE (shared) ─────────────────────────────── */
.section-title {
  text-align: center;
  margin-bottom: 46px;
}

.section-title .eyebrow {
  display: block;
  margin-bottom: 10px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: #a07840;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.5);
}

.section-title h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  color: #3a2530;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.4);
}

.section-title .deco {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.section-title .deco::before,
.section-title .deco::after {
  content: '';
  display: block;
  height: 1px;
  width: 38px;
}

.section-title .deco::before { background: linear-gradient(to right, transparent, var(--rose)); }
.section-title .deco::after  { background: linear-gradient(to left,  transparent, var(--rose)); }

.section-title .deco span {
  color: var(--rose-deep);
  font-size: 14px;
}

/* ── SECTION LAYOUT ─────────────────────────────────────── */
/* All sections are transparent so the page background shows through */
.products-section,
.categories-section,
.tagline-section,
.how-section {
  background: transparent;
}

.products-section   { padding: 80px; }
.categories-section { padding: 80px; }
.tagline-section    { padding: 100px 80px; text-align: center; }
.how-section        { padding: 80px; }

/* ── PRODUCTS ───────────────────────────────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(8px);
  border-radius: 20px;
  border: 1px solid rgba(245, 213, 220, 0.55);
  overflow: hidden;
  cursor: pointer;
  box-shadow:
    0 4px 24px rgba(180, 80, 100, 0.09),
    0 1px 4px  rgba(180, 80, 100, 0.05);
  transition: all 0.32s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px rgba(180, 80, 100, 0.18);
}

.product-img {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Colour-coded image backgrounds per product type */
.img-thermo   { background: radial-gradient(ellipse at 50% 60%, rgba(252,232,238,0.9) 0%, rgba(245,200,213,0.85) 60%, rgba(238,176,192,0.8) 100%); }
.img-pens     { background: radial-gradient(ellipse at 50% 60%, rgba(238,238,255,0.9) 0%, rgba(221,224,248,0.85) 60%, rgba(200,206,240,0.8) 100%); }
.img-keychain { background: radial-gradient(ellipse at 50% 60%, rgba(254,248,224,0.9) 0%, rgba(253,232,192,0.85) 60%, rgba(245,216,152,0.8) 100%); }
.img-necklace { background: radial-gradient(ellipse at 50% 60%, rgba(255,248,238,0.9) 0%, rgba(248,232,204,0.85) 60%, rgba(240,212,160,0.8) 100%); }

/* Subtle light-sparkle overlay on every product image */
.product-img::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle 3px at 15% 20%, rgba(255,255,255,0.7) 0%, transparent 100%),
    radial-gradient(circle 2px at 80% 15%, rgba(201,169,110,0.5) 0%, transparent 100%),
    radial-gradient(circle 4px at 70% 75%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(circle 2px at 30% 80%, rgba(201,169,110,0.4) 0%, transparent 100%),
    radial-gradient(circle 3px at 90% 50%, rgba(255,255,255,0.6) 0%, transparent 100%);
}

/* Illustrated product thumbnails */
.ill-thermo {
  width: 58px;
  height: 138px;
  border-radius: 29px 29px 24px 24px;
  background: linear-gradient(160deg, #fce8ee 0%, #e2949f 100%);
  box-shadow:
    inset -5px -3px 12px rgba(180, 80, 100, 0.2),
    inset 3px 3px 8px rgba(255, 255, 255, 0.4),
    0 12px 28px rgba(180, 80, 100, 0.18);
  position: relative;
}

.ill-thermo::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 44px;
  height: 11px;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(to bottom, #f5d0d8, #dcaab5);
}

.ill-thermo::after {
  content: 'Flor';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.82);
}

.ill-pens {
  display: flex;
  gap: 5px;
  transform: rotate(-10deg);
}

.pm {
  width: 9px;
  height: 78px;
  border-radius: 5px 5px 2px 2px;
  position: relative;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.07);
}

.pm::before {
  content: '';
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  width: 12px;
  height: 13px;
  border-radius: 50%;
  background: inherit;
  filter: brightness(1.35);
}

.pm1 { background: linear-gradient(to bottom, #f9d0e0, #e8a0b8); }
.pm2 { background: linear-gradient(to bottom, #d0e8f9, #a0b8e8); }
.pm3 { background: linear-gradient(to bottom, #d8f0d8, #a0d8b0); }
.pm4 { background: linear-gradient(to bottom, #f0e0d0, #e0c0a0); }

.ill-key {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.ik-ring {
  width: 32px;
  height: 32px;
  border: 4px solid #c9a050;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(180, 140, 40, 0.2);
}

.ik-heart {
  width: 38px;
  height: 36px;
}

.ik-heart svg {
  width: 100%;
  height: 100%;
}

.ik-tag {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #e8c878, #c9a050);
  font-family: 'Playfair Display', serif;
  font-size: 8px;
  color: white;
  box-shadow: 0 3px 8px rgba(180, 140, 40, 0.22);
}

.ik-pom {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #f9dfe5, #e0a0b0);
  box-shadow: 0 2px 7px rgba(200, 120, 140, 0.18);
}

.ill-neck {
  position: relative;
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.in-chain {
  position: absolute;
  width: 88px;
  height: 44px;
  border: 2px solid var(--gold);
  border-bottom: none;
  border-radius: 88px 88px 0 0;
  opacity: 0.45;
}

.in-pend {
  position: absolute;
  bottom: 0;
  width: 34px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e8d070, #c9a050);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  box-shadow: 0 4px 12px rgba(180, 140, 40, 0.28);
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: white;
}

.product-info {
  padding: 18px 20px;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  color: #3a2530;
  margin-bottom: 3px;
}

.product-desc {
  font-size: 11px;
  line-height: 1.4;
  color: #9a7080;
  margin-bottom: 11px;
}

.product-price {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 500;
  color: var(--rose-deep);
  margin-bottom: 13px;
}

.btn-cart {
  width: 100%;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(232, 164, 176, 0.4);
  background: rgba(253, 240, 242, 0.85);
  color: var(--rose-deep);
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.24s ease;
}

.btn-cart:hover {
  background: var(--rose-deep);
  color: white;
  border-color: var(--rose-deep);
  box-shadow: 0 4px 14px rgba(201, 124, 142, 0.28);
}

/* ── CATEGORIES ─────────────────────────────────────────── */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.category-card {
  position: relative;
  height: 200px;
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(180, 80, 100, 0.1);
  transition: transform 0.3s ease;
}

.category-card:hover {
  transform: scale(1.025);
}

.cat-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cat-bg-1 { background: linear-gradient(135deg, rgba(245,200,213,0.85) 0%, rgba(232,164,176,0.9) 100%); }
.cat-bg-2 { background: linear-gradient(135deg, rgba(253,232,192,0.85) 0%, rgba(232,200,120,0.9) 100%); }
.cat-bg-3 { background: linear-gradient(135deg, rgba(220,232,248,0.85) 0%, rgba(176,208,238,0.9) 100%); }

/* Large decorative emoji behind each category */
.cat-emoji {
  opacity: 0.18;
  font-size: 90px;
}

.cat-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(74, 53, 64, 0.55) 0%, transparent 56%);
}

.cat-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 22px;
  color: white;
}

.cat-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 3px;
}

.cat-content p {
  font-size: 12px;
  opacity: 0.85;
}

/* ── TAGLINE ────────────────────────────────────────────── */
.hearts {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
}

.hearts span {
  color: var(--rose);
  font-size: 14px;
  animation: hb 2s ease-in-out infinite;
}

.hearts span:nth-child(2) {
  color: var(--rose-deep);
  font-size: 20px;
  animation-delay: 0.3s;
}

.hearts span:nth-child(3) {
  animation-delay: 0.6s;
}

@keyframes hb {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.16); }
}

.quote {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 5vw, 50px);
  font-style: italic;
  line-height: 1.25;
  color: #3a2530;
  max-width: 680px;
  margin: 0 auto 18px;
  text-shadow: 0 1px 4px rgba(255, 255, 255, 0.35);
}

.quote em {
  color: var(--rose-deep);
}

.quote-sub {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  font-weight: 300;
  color: #6a4a55;
}

/* ── HOW IT WORKS ───────────────────────────────────────── */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 38px;
  position: relative;
}

/* Horizontal connector line between steps */
.steps-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: calc(16.66% + 18px);
  right: calc(16.66% + 18px);
  height: 1px;
  background: linear-gradient(to right, var(--rose-light), var(--rose), var(--rose-light));
}

.step {
  text-align: center;
}

.step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid rgba(232, 164, 176, 0.6);
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  color: var(--rose-deep);
  box-shadow: 0 4px 14px rgba(232, 164, 176, 0.2);
  position: relative;
  z-index: 1;
}

.step h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  color: #3a2530;
  margin-bottom: 8px;
  text-shadow: 0 1px 3px rgba(255, 255, 255, 0.4);
}

.step p {
  font-size: 13px;
  line-height: 1.6;
  color: #6a4a55;
  max-width: 200px;
  margin: 0 auto;
}

/* ── FOOTER ─────────────────────────────────────────────── */
footer {
  padding: 58px 80px 38px;
  background: rgba(74, 53, 64, 0.96);
  backdrop-filter: blur(12px);
  color: rgba(253, 248, 245, 0.7);
}

.footer-top {
  display: flex;
  justify-content: center;
  margin-bottom: 38px;
}

.footer-brand {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo-img {
  height: 160px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  margin-bottom: 14px;
}

@media (max-width: 640px) {
  .footer-logo-img { height: 90px; }
}

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

.footer-brand p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 15px;
  font-style: italic;
  line-height: 1.6;
  opacity: 0.55;
  max-width: 270px;
  margin-top: 12px;
  text-align: center;
}

.footer-logo-text {
  color: white;
}

.footer-logo-text span {
  color: rgba(201, 169, 110, 0.65);
}

.footer-col h4 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 13px;
  opacity: 0.55;
  cursor: pointer;
  transition: opacity 0.2s;
}

.footer-col ul li:hover {
  opacity: 1;
}

.footer-col ul li a {
  color: inherit;
  text-decoration: none;
  display: block;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid rgba(253, 248, 245, 0.1);
  font-size: 12px;
  opacity: 0.38;
}

/* ── WHATSAPP BUTTON ────────────────────────────────────── */
.wa-btn {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 300;
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #25D366;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
}

.wa-btn:hover {
  transform: scale(1.09);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.5);
}

/* ── CARRUSEL CATEGORÍAS ────────────────────────────────── */
.home-cat-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-cat-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  gap: 16px;
  flex: 1;
  padding-bottom: 4px;
}
.home-cat-track::-webkit-scrollbar { display: none; }
.home-cat-track .category-card {
  flex: 0 0 200px;
  scroll-snap-align: start;
}

/* ── CARRUSEL PRODUCTOS ─────────────────────────────────── */
.home-prod-carousel {
  display: flex;
  align-items: center;
  gap: 10px;
}
.home-prod-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  gap: 20px;
  flex: 1;
  padding-bottom: 4px;
}
.home-prod-track::-webkit-scrollbar { display: none; }
.home-prod-track .product-card {
  flex: 0 0 240px;
  scroll-snap-align: start;
}

/* ── BOTONES CARRUSEL ───────────────────────────────────── */
.car-btn {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(201,169,110,.35);
  background: rgba(255,255,255,.72);
  color: var(--text-mid);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .18s;
  backdrop-filter: blur(8px);
}
.car-btn:hover { background: rgba(232,164,176,.2); }

/* ── BOTÓN WHATSAPP (tarjeta) ───────────────────────────── */
.btn-wpp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  padding: 9px 12px;
  background: linear-gradient(135deg, #25d366, #20b954);
  color: white;
  border: none;
  border-radius: 10px;
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all .22s;
  text-decoration: none;
}
.btn-wpp:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(37,211,102,.38);
}
.btn-wpp svg { flex-shrink: 0; }

/* Cards destacados: altura uniforme con botón siempre al fondo */
#homeProductsGridFlat .product-card,
#homeProductsGrid .product-card {
  display: flex;
  flex-direction: column;
}
#homeProductsGridFlat .product-info,
#homeProductsGrid .product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}
#homeProductsGridFlat .product-desc,
#homeProductsGrid .product-desc {
  flex: 1;
}

/* ── MODAL PRODUCTO ─────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(74,53,64,.55);
  backdrop-filter: blur(6px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: rgba(253,245,248,.97);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  max-width: 780px;
  width: 100%;
  max-height: 88vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(74,53,64,.22);
  transform: translateY(16px);
  transition: transform .28s ease;
  border: 1px solid rgba(232,164,176,.2);
  position: relative;
}
.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.modal-gallery {
  position: relative;
  background: linear-gradient(135deg,#fdf0f2,#f5d5dc);
  border-radius: 24px 0 0 24px;
  overflow: hidden;
  min-height: 340px;
}
.modal-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
}
.modal-thumbs {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.modal-thumb {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.6);
  cursor: pointer;
  transition: border-color .15s;
}
.modal-thumb.active { border-color: var(--rose-deep); }
.modal-thumb img { width: 100%; height: 100%; object-fit: cover; }

.modal-body {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  border: none;
  cursor: pointer;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-mid);
  transition: background .15s;
  z-index: 10;
}
.modal-close:hover { background: rgba(255,255,255,1); }

.modal-cat  { font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.modal-name { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--text-dark); line-height: 1.2; }
.modal-desc { font-size: 14px; color: var(--text-mid); line-height: 1.6; flex: 1; }

.modal-wpp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px;
  background: linear-gradient(135deg,#25d366,#20b954);
  color: white;
  border: none;
  border-radius: 14px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: all .22s;
  margin-top: auto;
}
.modal-wpp:hover { box-shadow: 0 8px 24px rgba(37,211,102,.38); transform: translateY(-2px); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  nav,
  .trust-bar,
  .products-section,
  .categories-section,
  .how-section,
  .tagline-section,
  footer {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero                  { grid-template-columns: 1fr; }
  .hero-visual           { display: none; }
  .hero-content          { padding: 60px 40px; }
  .products-grid         { grid-template-columns: repeat(2, 1fr); }
  .categories-grid       { grid-template-columns: 1fr 1fr; }
  .steps-grid            { grid-template-columns: 1fr; }
  .steps-grid::before    { display: none; }
  .footer-top            { flex-direction: column; align-items: center; }
  .trust-bar             { gap: 24px; flex-wrap: wrap; }
}

@keyframes navSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 640px) {
  nav { grid-template-columns: 1fr auto; padding: 0 20px; height: 64px; }
  .hero { margin-top: 64px; min-height: 60vh; }
  .nav-logo { margin-top: 0; }
  .nav-logo-img { height: 52px; }
  .nav-hamburger { display: flex; }
  .nav-links {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: center;
    gap: 0;
    background: rgba(253, 243, 246, 0.97);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(201, 169, 110, 0.2);
    padding: 12px 0 22px;
    z-index: 199;
  }
  .nav-links.open {
    display: flex;
    animation: navSlideDown 0.22s ease;
  }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a   { display: block; padding: 14px 24px; font-size: 15px; }
  .hero-content    { padding: 48px 24px; }
  .trust-div       { display: none; }
  .trust-bar       { flex-direction: column; align-items: center; gap: 14px; padding: 18px 24px; }
  .products-grid   { grid-template-columns: repeat(2, 1fr); }
  .categories-grid { grid-template-columns: 1fr; }
  .footer-bottom   { flex-direction: column; text-align: center; gap: 6px; }
  .car-btn { display: none; }
  .home-prod-track .product-card,
  .home-cat-track .category-card { flex: 0 0 75vw; }
  .modal-inner { grid-template-columns: 1fr; }
  .modal-gallery { border-radius: 24px 24px 0 0; min-height: 240px; }
  .modal-main-img { min-height: 240px; }
}
