/* ══════════════════════════════════════════
   LISSNIC BAKERY — Design System
   Paleta: Rosa Mauve · Champagne Gold · Cream
══════════════════════════════════════════ */

:root {
  /* ── Primary: Dusty Rose / Mauve ── */
  --rose-50:  #FEF0F4;
  --rose-100: #FDDCE7;
  --rose-200: #F9B8CE;
  --rose-300: #F28DAF;
  --rose-400: #E86290;
  --rose-500: #D44A78;   /* brand primary */
  --rose-600: #B83463;
  --rose-700: #962550;
  --rose-800: #72183C;
  --rose-900: #4E102A;

  /* ── Accent: Champagne Gold ── */
  --gold-50:  #FDF8ED;
  --gold-100: #FAEDC8;
  --gold-200: #F3D98F;
  --gold-300: #E8BF55;
  --gold-400: #D9A42A;
  --gold-500: #C49020;   /* gold accent */
  --gold-600: #A17218;
  --gold-700: #7E5612;
  --gold-800: #5B3C0C;
  --gold-900: #382507;

  /* ── Neutral: Warm Cream ── */
  --cream-50:  #FBF6F0;  /* page background */
  --cream-100: #F5E8D8;
  --cream-200: #E8CCAA;
  --cream-300: #D4A87A;
  --cream-400: #BA8455;
  --cream-500: #9E6535;
  --cream-600: #7F4E27;
  --cream-700: #5E3A1C;
  --cream-800: #3E2612;
  --cream-900: #20130A;

  /* ── Text ── */
  --text-dark:   #2C1A22;
  --text-body:   #5A3D4A;
  --text-muted:  #8C7080;
  --text-light:  #C4A8B2;

  /* ── Semantic ── */
  --color-primary:       var(--rose-500);
  --color-primary-hover: var(--rose-600);
  --color-accent:        var(--gold-500);
  --color-bg:            var(--cream-50);
  --color-surface:       #FFFFFF;
  --color-border:        #F0E4EA;
  --color-border-strong: #DFC8D4;

  /* ── Typography ── */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Inter', system-ui, sans-serif;

  /* ── Type Scale ── */
  --text-xs:   0.75rem;   /* 12px */
  --text-sm:   0.875rem;  /* 14px */
  --text-base: 1rem;      /* 16px */
  --text-lg:   1.125rem;  /* 18px */
  --text-xl:   1.25rem;   /* 20px */
  --text-2xl:  1.5rem;    /* 24px */
  --text-3xl:  1.875rem;  /* 30px */
  --text-4xl:  2.25rem;   /* 36px */
  --text-5xl:  3rem;      /* 48px */
  --text-6xl:  3.75rem;   /* 60px */
  --text-7xl:  4.5rem;    /* 72px */

  /* ── Spacing ── */
  --sp-1:  0.25rem;
  --sp-2:  0.5rem;
  --sp-3:  0.75rem;
  --sp-4:  1rem;
  --sp-5:  1.25rem;
  --sp-6:  1.5rem;
  --sp-8:  2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;
  --sp-32: 8rem;

  /* ── Border Radius ── */
  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --radius-2xl:  40px;
  --radius-full: 9999px;

  /* ── Shadows ── */
  --shadow-xs: 0 1px 3px rgba(44, 26, 34, 0.07);
  --shadow-sm: 0 2px 8px rgba(44, 26, 34, 0.09), 0 1px 2px rgba(44, 26, 34, 0.05);
  --shadow-md: 0 6px 20px rgba(44, 26, 34, 0.11), 0 2px 6px rgba(44, 26, 34, 0.06);
  --shadow-lg: 0 12px 36px rgba(44, 26, 34, 0.13), 0 4px 10px rgba(44, 26, 34, 0.06);
  --shadow-xl: 0 24px 56px rgba(44, 26, 34, 0.16), 0 8px 18px rgba(44, 26, 34, 0.07);
  --shadow-rose: 0 8px 32px rgba(212, 74, 120, 0.28);

  /* ── Motion ── */
  --dur-fast:   150ms;
  --dur-base:   250ms;
  --dur-slow:   400ms;
  --dur-slower: 600ms;
  --ease-out:   cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-expo:   cubic-bezier(0.16, 1, 0.3, 1);

  /* ── Layout ── */
  --container-max: 1240px;
  --nav-height: 76px;
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --dur-fast: 0ms;
    --dur-base: 0ms;
    --dur-slow: 0ms;
    --dur-slower: 0ms;
  }
}


/* ══════════════════════════════════════════
   BASE RESET
══════════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.65;
  color: var(--text-body);
  background: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.2;
}

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

a { color: inherit; }

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul { list-style: none; }


/* ══════════════════════════════════════════
   LAYOUT
══════════════════════════════════════════ */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.section {
  padding: var(--sp-24) 0;
}

@media (max-width: 768px) {
  .section {
    padding: var(--sp-16) 0;
  }
}


/* ══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur-slower) var(--ease-expo),
              transform var(--dur-slower) var(--ease-expo);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 80ms; }
.reveal:nth-child(3) { transition-delay: 160ms; }
.reveal:nth-child(4) { transition-delay: 240ms; }


/* ══════════════════════════════════════════
   TYPOGRAPHY UTILITIES
══════════════════════════════════════════ */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rose-500);
  margin-bottom: var(--sp-4);
}

.section-title {
  font-size: clamp(var(--text-3xl), 4vw, var(--text-5xl));
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--sp-4);
}

.section-desc {
  font-size: var(--text-lg);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: var(--sp-12);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 500;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: var(--sp-6);
}

.eyebrow-light {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: var(--sp-4);
}


/* ══════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-full);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-spring),
              box-shadow var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out),
              color var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
  cursor: pointer;
  white-space: nowrap;
}

.btn:hover  { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-sm  { padding: 0.5rem 1.25rem; font-size: var(--text-xs); }
.btn-lg  { padding: 1rem 2.25rem;   font-size: var(--text-base); }

.btn-rose {
  background: var(--rose-500);
  color: #fff;
  box-shadow: var(--shadow-rose);
}
.btn-rose:hover {
  background: var(--rose-600);
  box-shadow: 0 12px 40px rgba(212, 74, 120, 0.38);
}

.btn-outline-rose {
  background: transparent;
  color: var(--rose-500);
  border: 2px solid var(--rose-300);
}
.btn-outline-rose:hover {
  background: var(--rose-50);
  border-color: var(--rose-500);
}

.btn-outline-light {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(4px);
}
.btn-outline-light:hover {
  background: rgba(255,255,255,0.22);
  border-color: rgba(255,255,255,0.7);
}

.btn-white {
  background: #fff;
  color: var(--rose-600);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}
.btn-white:hover {
  background: var(--rose-50);
  box-shadow: 0 14px 44px rgba(0,0,0,0.22);
}


/* ══════════════════════════════════════════
   HEADER / NAV
══════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: transparent;
  transition: background var(--dur-slow) var(--ease-out),
              box-shadow var(--dur-slow) var(--ease-out);
}

/* ── Nav sobre hero: texto blanco, logo blanco ── */
.header:not(.scrolled) .logo-name { color: #fff; }
.header:not(.scrolled) .logo-sub  { color: rgba(255,255,255,0.75); }
.header:not(.scrolled) .logo-icon { color: rgba(255,255,255,0.9); }

@media (min-width: 769px) {
  .header:not(.scrolled) .nav-link  { color: rgba(255,255,255,0.88); }
  .header:not(.scrolled) .nav-link:hover { color: #fff; }
  .header:not(.scrolled) .nav-link::after { background: #fff; }
}

.header:not(.scrolled) .nav-cta {
  background: rgba(255,255,255,0.18);
  color: #fff;
  box-shadow: none;
  border: 1.5px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(4px);
}
.header:not(.scrolled) .nav-cta:hover {
  background: rgba(255,255,255,0.30);
}

.header:not(.scrolled) .toggle-line { background: #fff; }

/* ── Nav al scrollear: glassmorphism cream ── */
.header.scrolled {
  background: rgba(251, 246, 240, 0.90);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 20px rgba(44, 26, 34, 0.09);
}

/* ── Nav abierto en móvil: forzar header opaco + iconos oscuros ── */
.header.nav-open {
  background: rgba(251, 246, 240, 0.97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 2px 20px rgba(44, 26, 34, 0.09);
}
.header.nav-open .logo-name { color: var(--text-dark); }
.header.nav-open .logo-sub  { color: var(--rose-500); }
.header.nav-open .logo-icon { color: var(--rose-500); }
.header.nav-open .toggle-line { background: var(--text-dark); }

.nav {
  width: 100%;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  gap: var(--sp-8);
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  text-decoration: none;
  color: var(--rose-500);
  flex-shrink: 0;
}

.logo-icon { color: var(--rose-500); }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--text-dark);
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  color: var(--rose-500);
  margin-top: 2px;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-8);
  flex: 1;
  justify-content: center;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-body);
  text-decoration: none;
  position: relative;
  padding-bottom: 3px;
  transition: color var(--dur-base);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 100%;
  height: 1.5px;
  background: var(--rose-500);
  transition: right var(--dur-base) var(--ease-out);
}

.nav-link:hover { color: var(--rose-500); }
.nav-link:hover::after { right: 0; }

/* Nav actions */
.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-shrink: 0;
}

.nav-cta { display: flex; }

/* Hamburger toggle */
.nav-mobile-cta-wrap { display: none; }

/* Hamburger toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-3);
  border-radius: var(--radius-sm);
  transition: background var(--dur-fast);
  touch-action: manipulation;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle:hover { background: var(--rose-50); }

.toggle-line {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform var(--dur-base) var(--ease-in-out),
              opacity var(--dur-base) var(--ease-in-out);
}

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


/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.05);
  animation: heroZoom 12s ease-out forwards;
}

@keyframes heroZoom {
  to { transform: scale(1); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(30, 12, 20, 0.72) 0%,      /* top: oscuro para que el nav se vea */
    rgba(30, 12, 20, 0.32) 35%,
    rgba(30, 12, 20, 0.50) 100%
  );
}

.hero-body {
  position: relative;
  z-index: 2;
  padding-top: var(--nav-height);
}

.hero-content {
  max-width: 720px;
  padding: var(--sp-16) 0;
  animation: heroFadeIn 1.1s var(--ease-expo) forwards;
}

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

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(var(--text-4xl), 7vw, var(--text-7xl));
  font-weight: 700;
  color: #fff;
  line-height: 1.08;
  margin: var(--sp-4) 0 var(--sp-6);
}

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

.hero-sub {
  font-size: clamp(var(--text-base), 2vw, var(--text-xl));
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-10);
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: var(--sp-8);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 2px solid rgba(255,255,255,0.45);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 7px;
}

.scroll-dot {
  width: 4px;
  height: 8px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  60%       { transform: translateY(10px); opacity: 0.3; }
}


/* ══════════════════════════════════════════
   FEATURES BAR
══════════════════════════════════════════ */
.features-bar {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  padding: var(--sp-10) 0;
}

.features-grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
}

.feature {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  padding: var(--sp-3) var(--sp-8);
  flex: 1;
  min-width: 200px;
  justify-content: center;
}

.feature-divider {
  width: 1px;
  height: 44px;
  background: var(--color-border-strong);
  flex-shrink: 0;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--rose-50);
  color: var(--rose-500);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background var(--dur-base), transform var(--dur-base) var(--ease-spring);
}

.feature:hover .feature-icon {
  background: var(--rose-100);
  transform: scale(1.1);
}

.feature-text {
  display: flex;
  flex-direction: column;
}

.feature-text strong {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.3;
}

.feature-text span {
  font-size: var(--text-xs);
  color: var(--text-muted);
}


/* ══════════════════════════════════════════
   PRODUCTS SECTION
══════════════════════════════════════════ */
.products-section {
  background: var(--color-bg);
}

/* Tab navigation */
.tab-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: var(--sp-10);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  padding: var(--sp-2);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.tab-btn {
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-full);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  touch-action: manipulation;
  transition: all var(--dur-base) var(--ease-out);
  white-space: nowrap;
}

.tab-btn:hover {
  color: var(--rose-500);
  background: var(--rose-50);
}

.tab-btn.active {
  background: var(--rose-500);
  color: #fff;
  box-shadow: var(--shadow-sm);
}

/* Products grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-6);
  margin-bottom: var(--sp-12);
}

/* Product card */
.product-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--dur-base) var(--ease-spring),
              box-shadow var(--dur-base) var(--ease-out);
  animation: cardReveal var(--dur-slower) var(--ease-expo) both;
  cursor: pointer;
  touch-action: manipulation;
}

@keyframes cardReveal {
  from { opacity: 0; transform: translateY(20px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.product-card.hidden {
  display: none;
}

.card-img-wrap {
  position: relative;
  height: 230px;
  cursor: pointer;
  overflow: hidden;
  background: var(--cream-100);
}

.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--dur-slow) var(--ease-out);
}

.product-card:hover .card-img-wrap img {
  transform: scale(1.06);
}

.card-img-detail-hint {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(212, 74, 120, 0);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.3s var(--ease-out), background 0.3s var(--ease-out);
  pointer-events: none;
}

.product-card:hover .card-img-detail-hint {
  opacity: 1;
  background: rgba(212, 74, 120, 0.42);
}

.card-badge {
  position: absolute;
  top: var(--sp-3);
  left: var(--sp-3);
  background: var(--rose-500);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
}

.card-body {
  padding: var(--sp-5) var(--sp-6);
}

.card-category {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: var(--sp-2);
}

.card-body h3 {
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: var(--sp-2);
}

.card-body p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: var(--sp-5);
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-3);
}

.card-price {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--rose-500);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--rose-500);
  text-decoration: none;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--rose-200);
  border-radius: var(--radius-full);
  transition: all var(--dur-base);
  white-space: nowrap;
}

.card-cta:hover {
  background: var(--rose-500);
  color: #fff;
  border-color: var(--rose-500);
}

.products-footer {
  text-align: center;
  padding-top: var(--sp-4);
}

.products-footer p {
  font-size: var(--text-base);
  color: var(--text-muted);
  margin-bottom: var(--sp-5);
}


/* ══════════════════════════════════════════
   GALLERY — Mosaico ticker infinito
══════════════════════════════════════════ */
.gallery-section {
  background: var(--text-dark);
  padding: var(--sp-24) 0 0;
  overflow: hidden;
}

.gallery-section .section-label { color: var(--rose-300); }
.gallery-section .section-title { color: #fff; }
.gallery-section .section-desc  { color: rgba(255,255,255,0.6); }

/* ── Pared de imágenes ── */
.gallery-wall {
  margin-top: var(--sp-12);
  display: flex;
  flex-direction: column;
  gap: 5px;
  overflow: hidden;
  width: 100%;
  cursor: pointer;
}

/* Pausa todas las filas al hacer hover en la pared */
.gallery-wall:hover .gallery-row,
.gallery-wall:focus-within .gallery-row {
  animation-play-state: paused;
}

/* ── Fila ── */
.gallery-row {
  display: flex;
  gap: 5px;
  will-change: transform;
}

/* Fila 1: izq → der, 54s (10 imgs) */
.gallery-row-1 {
  animation: ticker-ltr 54s linear infinite;
  height: 210px;
}

/* Fila 2: der → izq (inversa), 68s (10 imgs) */
.gallery-row-2 {
  animation: ticker-rtl 68s linear infinite;
  height: 240px;
}

/* Fila 3: izq → der, 46s (10 imgs) */
.gallery-row-3 {
  animation: ticker-ltr 46s linear infinite;
  height: 210px;
}

@keyframes ticker-ltr {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

@keyframes ticker-rtl {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

/* ── Pista (track = un set de imágenes) ── */
.gallery-track {
  display: flex;
  gap: 5px;
  flex-shrink: 0;
}

/* ── Imagen individual ── */
.gallery-wall-item {
  flex-shrink: 0;
  width: 310px;
  height: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: none;
  padding: 0;
  touch-action: manipulation;
  background: var(--cream-200);
  position: relative;
  cursor: zoom-in;
}

.gallery-row-2 .gallery-wall-item { width: 370px; }
.gallery-row-3 .gallery-wall-item { width: 280px; }

.gallery-wall-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  transition: transform 0.6s var(--ease-out),
              filter 0.4s var(--ease-out);
}

/* Zoom suave en la imagen al hover sobre la pared (mientras pausa) */
.gallery-wall:hover .gallery-wall-item:hover img {
  transform: scale(1.07);
  filter: brightness(0.80);
}

/* Overlay de zoom icon al hover del item */
.gallery-wall-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(44, 26, 34, 0.30);
  opacity: 0;
  transition: opacity 0.3s var(--ease-out);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.gallery-wall:hover .gallery-wall-item:hover::after {
  opacity: 1;
}

.gallery-wall-item:focus-visible {
  outline: 3px solid var(--rose-400);
  outline-offset: 2px;
}

/* Mobile: reducir alturas */
@media (max-width: 768px) {
  .gallery-row-1 { height: 150px; }
  .gallery-row-2 { height: 170px; }
  .gallery-row-3 { height: 150px; }

  .gallery-wall-item           { width: 200px; }
  .gallery-row-2 .gallery-wall-item { width: 240px; }
  .gallery-row-3 .gallery-wall-item { width: 180px; }
}


/* ══════════════════════════════════════════
   ABOUT
══════════════════════════════════════════ */
.about-section {
  background: var(--color-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-16);
  align-items: center;
}

.about-visual { position: relative; }

.about-img-wrap {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4 / 5;
}

.about-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-img-accent {
  position: absolute;
  inset: -12px;
  border: 2px solid var(--rose-200);
  border-radius: var(--radius-xl);
  z-index: -1;
  pointer-events: none;
}

.about-badge {
  position: absolute;
  bottom: var(--sp-6);
  left: 50%;
  transform: translateX(-50%);
  background: rgba(44, 26, 34, 0.85);
  backdrop-filter: blur(8px);
  color: var(--rose-200);
  font-size: var(--text-sm);
  font-weight: 500;
  padding: var(--sp-2) var(--sp-5);
  border-radius: var(--radius-full);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  letter-spacing: 0.03em;
}

.about-content h2 {
  font-size: clamp(var(--text-3xl), 3.5vw, var(--text-5xl));
  margin: var(--sp-4) 0 var(--sp-6);
}

.about-content p {
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: var(--sp-5);
}

.about-stats {
  display: flex;
  gap: var(--sp-8);
  margin: var(--sp-10) 0 var(--sp-10);
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--rose-500);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-heading);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--rose-400);
  line-height: 1;
}

.stat-label {
  font-size: var(--text-sm);
  color: var(--text-muted);
  margin-top: var(--sp-1);
}


/* ══════════════════════════════════════════
   PROCESS
══════════════════════════════════════════ */
.process-section {
  background: var(--rose-50);
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  top: -60%;
  right: -20%;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--rose-100) 0%, transparent 70%);
  pointer-events: none;
}

.process-track {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}

.process-step {
  flex: 1;
  text-align: center;
  padding: var(--sp-6);
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 600;
  color: var(--rose-200);
  line-height: 1;
  margin-bottom: var(--sp-4);
}

.step-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  background: var(--color-surface);
  color: var(--rose-500);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
  box-shadow: var(--shadow-md);
  transition: transform var(--dur-base) var(--ease-spring),
              box-shadow var(--dur-base);
}

.process-step:hover .step-icon {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.process-step h3 {
  font-size: var(--text-xl);
  margin-bottom: var(--sp-3);
}

.process-step p {
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.65;
}

.step-connector {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, var(--rose-200), var(--rose-300));
  align-self: center;
  margin-top: -60px;
  flex-shrink: 0;
  border-radius: 1px;
}


/* ══════════════════════════════════════════
   TESTIMONIALS
══════════════════════════════════════════ */
.testimonials-section {
  background: var(--color-surface);
}

.testimonials-wrapper {
  position: relative;
  overflow: hidden;
}

.testimonials-track {
  display: flex;
  transition: transform var(--dur-slower) var(--ease-expo);
}

.testimonial-card {
  min-width: 100%;
  padding: var(--sp-10) var(--sp-12);
  background: linear-gradient(135deg, var(--rose-50) 0%, #fff 60%);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  text-align: center;
}

.stars {
  font-size: var(--text-xl);
  color: var(--gold-400);
  letter-spacing: 3px;
  margin-bottom: var(--sp-6);
}

.testimonial-card blockquote {
  font-family: var(--font-display);
  font-size: clamp(var(--text-xl), 2.5vw, var(--text-2xl));
  font-style: italic;
  color: var(--text-dark);
  line-height: 1.55;
  max-width: 680px;
  margin: 0 auto var(--sp-8);
  quotes: "\201C" "\201D";
}

.testimonial-card blockquote::before {
  content: open-quote;
  font-size: 3.5rem;
  color: var(--rose-200);
  line-height: 0;
  vertical-align: -0.5rem;
  margin-right: 4px;
  font-family: var(--font-heading);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  justify-content: center;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--text-xl);
  font-weight: 700;
  font-family: var(--font-heading);
  flex-shrink: 0;
}

.author-info {
  text-align: left;
}

.author-info strong {
  display: block;
  font-size: var(--text-base);
  color: var(--text-dark);
  font-weight: 600;
}

.author-info span {
  font-size: var(--text-sm);
  color: var(--text-muted);
}

/* Carousel controls */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-5);
  margin-top: var(--sp-8);
}

.carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--rose-200);
  color: var(--rose-500);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-surface);
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-spring);
}

.carousel-btn:hover {
  background: var(--rose-500);
  color: #fff;
  border-color: var(--rose-500);
  transform: scale(1.08);
}

.carousel-dots {
  display: flex;
  gap: var(--sp-2);
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--rose-200);
  border: none;
  cursor: pointer;
  transition: all var(--dur-base) var(--ease-out);
  padding: 0;
}

.carousel-dot.active {
  background: var(--rose-500);
  width: 24px;
  border-radius: 4px;
}


/* ══════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════ */
.cta-banner {
  position: relative;
  overflow: hidden;
  padding: var(--sp-32) 0;
  text-align: center;
}

.cta-bg {
  position: absolute;
  inset: 0;
}

.cta-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.7);
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(150, 37, 80, 0.88) 0%,
    rgba(212, 74, 120, 0.82) 50%,
    rgba(196, 144, 32, 0.65) 100%
  );
}

.cta-body {
  position: relative;
  z-index: 2;
  color: #fff;
}

.cta-body h2 {
  font-size: clamp(var(--text-4xl), 5vw, var(--text-6xl));
  color: #fff;
  margin: var(--sp-4) 0 var(--sp-5);
  line-height: 1.12;
}

.cta-body p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.85);
  margin-bottom: var(--sp-10);
  line-height: 1.65;
}


/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  padding: var(--sp-20) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-16);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo .logo-name { color: #fff; }
.footer-logo .logo-sub  { color: var(--rose-300); }

.footer-desc {
  font-size: var(--text-sm);
  line-height: 1.75;
  margin-top: var(--sp-4);
  margin-bottom: var(--sp-6);
  color: rgba(255,255,255,0.6);
}

.social-links {
  display: flex;
  gap: var(--sp-3);
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background var(--dur-base), color var(--dur-base), transform var(--dur-base) var(--ease-spring);
}

.social-link:hover {
  background: var(--rose-500);
  color: #fff;
  transform: translateY(-3px);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-5);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.footer-col a {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color var(--dur-base);
}

.footer-col a:hover { color: var(--rose-300); }

.footer-contact li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.65);
}

.footer-contact svg { color: var(--rose-400); flex-shrink: 0; }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-6) 0;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(255,255,255,0.35);
}

.footer-credit { color: var(--rose-400) !important; opacity: 1 !important; }


/* ══════════════════════════════════════════
   FLOATING WHATSAPP
══════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: var(--sp-8);
  right: var(--sp-8);
  z-index: 800;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-spring),
              box-shadow var(--dur-base);
  animation: waPulse 3s ease-in-out infinite;
}

@keyframes waPulse {
  0%, 100% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50%       { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45), 0 0 0 12px rgba(37, 211, 102, 0); }
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 14px 36px rgba(37, 211, 102, 0.55);
  animation: none;
}

.wa-tooltip {
  position: absolute;
  right: 70px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--text-dark);
  color: #fff;
  font-size: var(--text-xs);
  font-weight: 500;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--dur-base), transform var(--dur-base);
  transform: translateY(-50%) translateX(4px);
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--text-dark);
}

.wa-float:hover .wa-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}


/* ══════════════════════════════════════════
   LIGHTBOX
══════════════════════════════════════════ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--sp-6);
  opacity: 0;
  transition: opacity var(--dur-base) var(--ease-out);
}

.lightbox:not([hidden]) {
  opacity: 1;
}

.lightbox[hidden] {
  display: none;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 10, 15, 0.92);
  backdrop-filter: blur(6px);
  cursor: pointer;
}

.lightbox-dialog {
  position: relative;
  z-index: 1;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-4);
  animation: lightboxIn var(--dur-base) var(--ease-expo);
}

@keyframes lightboxIn {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

.lightbox-img {
  max-width: 100%;
  max-height: 80vh;
  border-radius: var(--radius-lg);
  object-fit: contain;
  box-shadow: var(--shadow-xl);
}

.lightbox-caption {
  color: rgba(255,255,255,0.75);
  font-size: var(--text-sm);
  font-style: italic;
  text-align: center;
}

.lightbox-close {
  position: fixed;
  top: var(--sp-6);
  right: var(--sp-6);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  transition: background var(--dur-base), transform var(--dur-base) var(--ease-spring);
}

.lightbox-close:hover {
  background: rgba(255,255,255,0.2);
  transform: scale(1.1);
}

.lightbox-close:focus-visible {
  outline: 3px solid white;
  outline-offset: 3px;
}


/* ══════════════════════════════════════════
   MOBILE OVERLAY
══════════════════════════════════════════ */
.mobile-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(44, 26, 34, 0.55);
  backdrop-filter: blur(2px);
  z-index: 850;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base);
}

.mobile-overlay.visible {
  opacity: 1;
  pointer-events: auto;
}


/* ══════════════════════════════════════════
   RESPONSIVE — Tablet (max 1024px)
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-12);
  }

  .about-img-wrap {
    aspect-ratio: 3 / 2;
    max-width: 560px;
    margin: 0 auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
  }

  .footer-brand {
    grid-column: span 2;
  }

  .process-track {
    flex-direction: column;
    gap: var(--sp-2);
  }

  .step-connector {
    width: 2px;
    height: 40px;
    margin: 0 auto;
    margin-top: 0;
    background: linear-gradient(180deg, var(--rose-200), var(--rose-300));
  }

  /* Gallery ticker tablet */
  .gallery-row-1 { height: 185px; }
  .gallery-row-2 { height: 210px; }
  .gallery-row-3 { height: 185px; }
}


/* ══════════════════════════════════════════
   RESPONSIVE — Mobile (max 768px)
══════════════════════════════════════════ */
@media (max-width: 768px) {
  :root { --nav-height: 68px; }

  /* Nav */
  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(300px, 100vw);
    background: var(--color-surface);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    justify-content: flex-start;
    gap: 0;
    padding: calc(var(--nav-height) + var(--sp-4)) var(--sp-6) var(--sp-8);
    transform: translateX(100%);
    transition: transform var(--dur-slow) var(--ease-expo),
                visibility 0s var(--dur-slow);
    visibility: hidden;
    z-index: 860;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav-links.open {
    transform: translateX(0);
    visibility: visible;
    transition: transform var(--dur-slow) var(--ease-expo),
                visibility 0s 0s;
  }

  .nav-links li { width: 100%; }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 52px;
    padding: var(--sp-3) 0;
    font-size: var(--text-lg);
    border-bottom: 1px solid var(--color-border);
    touch-action: manipulation;
  }

  .nav-link::after { display: none; }

  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .mobile-overlay { display: block; }

  /* CTA dentro del menú móvil */
  .nav-mobile-cta-wrap {
    display: block;
    margin-top: var(--sp-6);
    border-bottom: none !important;
  }

  .nav-mobile-cta {
    width: 100%;
    justify-content: center;
    gap: var(--sp-2);
    touch-action: manipulation;
  }

  /* Hero */
  .hero-ctas { flex-direction: column; }
  .hero-ctas .btn { width: 100%; justify-content: center; }

  /* Features */
  .features-grid { flex-direction: column; }
  .feature-divider { width: 80%; height: 1px; }
  .feature { padding: var(--sp-4) var(--sp-6); }

  /* Products */
  .tab-nav {
    width: 100%;
    overflow-x: auto;
    justify-content: flex-start;
    flex-wrap: nowrap;
    scrollbar-width: none;
    border-radius: var(--radius-xl);
  }

  .tab-nav::-webkit-scrollbar { display: none; }

  .products-grid {
    grid-template-columns: 1fr;
  }

  /* About stats */
  .about-stats { flex-direction: column; gap: var(--sp-5); }

  /* Testimonials */
  .testimonial-card { padding: var(--sp-8) var(--sp-6); }

  /* Process */
  .process-step { padding: var(--sp-4); }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
  }

  .footer-brand { grid-column: span 1; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* CTA */
  .cta-banner { padding: var(--sp-24) 0; }

  /* WA float */
  .wa-float { bottom: var(--sp-5); right: var(--sp-5); }
  .wa-tooltip { display: none; }
}


/* ══════════════════════════════════════════
   PRODUCT DETAIL DRAWER
══════════════════════════════════════════ */
.product-drawer {
  position: fixed;
  inset: 0;
  z-index: 1100;
  pointer-events: none;
}

.product-drawer.open { pointer-events: auto; }

.product-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(44, 26, 34, 0.60);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity 0.38s var(--ease-out);
}

.product-drawer.open .product-drawer__backdrop { opacity: 1; }

.product-drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 500px;
  max-width: 100vw;
  background: var(--cream-50);
  transform: translateX(110%);
  transition: transform 0.55s var(--ease-expo, cubic-bezier(0.16, 1, 0.3, 1));
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  box-shadow: -28px 0 80px rgba(212, 74, 120, 0.12), -4px 0 24px rgba(44, 26, 34, 0.20);
  border-left: 1px solid rgba(212, 74, 120, 0.14);
}

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

.product-drawer__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 42px;
  height: 42px;
  background: rgba(251, 246, 240, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(212, 74, 120, 0.28);
  border-radius: 50%;
  color: var(--rose-500);
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.22s, border-color 0.22s, color 0.22s, transform 0.3s var(--ease-spring, cubic-bezier(0.34,1.56,0.64,1));
}

.product-drawer__close:hover {
  background: var(--rose-500);
  border-color: var(--rose-500);
  color: #fff;
  transform: rotate(90deg);
}

.product-drawer__image {
  width: 100%;
  height: 430px;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--cream-100);
}

.product-drawer__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.9s var(--ease-out);
  transform: scale(1.08);
}

.product-drawer.open .product-drawer__image img { transform: scale(1); }

.product-drawer__image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(to bottom, transparent, var(--cream-50));
  pointer-events: none;
}

.product-drawer__body {
  padding: 24px 36px 44px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-drawer__meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.product-drawer__category {
  font-family: var(--font-body);
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--rose-500);
}

.product-drawer__badge {
  font-family: var(--font-body);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--rose-500) 0%, #C44070 100%);
  color: #fff;
  padding: 3px 12px;
  border-radius: 999px;
}

.product-drawer__name {
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.18;
  letter-spacing: 0.01em;
  margin-bottom: 14px;
}

.product-drawer__desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.78;
  color: var(--text-body);
  flex: 1;
  margin-bottom: 28px;
}

.product-drawer__divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.product-drawer__divider::before,
.product-drawer__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(196, 144, 32, 0.38), transparent);
}

.product-drawer__divider-icon {
  font-size: 0.72rem;
  color: var(--gold-500);
  line-height: 1;
}

.product-drawer__footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-drawer__price-wrap {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.product-drawer__price-label {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.product-drawer__price {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-600);
  line-height: 1;
  letter-spacing: 0.02em;
}

.btn-drawer-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 28px;
  background: linear-gradient(135deg, var(--rose-500) 0%, #C44070 100%);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  border-radius: 14px;
  transition: transform 0.22s var(--ease-out), box-shadow 0.22s;
  box-shadow: 0 6px 28px rgba(212, 74, 120, 0.38);
}

.btn-drawer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(212, 74, 120, 0.48);
}

.btn-drawer-cta:active { transform: translateY(0); }

@media (max-width: 600px) {
  .product-drawer__panel {
    top: auto;
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    border-left: none;
    border-top: 1px solid rgba(212, 74, 120, 0.16);
    border-radius: 24px 24px 0 0;
    max-height: 92vh;
    transform: translateY(110%);
    box-shadow: 0 -16px 60px rgba(212, 74, 120, 0.18), 0 -4px 20px rgba(44, 26, 34, 0.14);
  }
  .product-drawer.open .product-drawer__panel { transform: translateY(0); }
  .product-drawer__image { height: 220px; }
  .product-drawer__image::after { height: 42%; }
  .product-drawer__body { padding: 20px 24px 36px; }
  .product-drawer__name { font-size: 1.65rem; }
  .product-drawer__price { font-size: 1.6rem; }
}


/* ══════════════════════════════════════════
   FOCUS STYLES (Accessibility)
══════════════════════════════════════════ */
:focus-visible {
  outline: 3px solid var(--rose-500);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

.btn:focus-visible {
  outline-offset: 4px;
}
