@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

/* ==========================================================================
   TOKENS DE DISEÑO (VARIABLES CSS REDISEÑADAS)
   ========================================================================== */
:root {
  /* Tipografía */
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'Outfit', system-ui, -apple-system, sans-serif;
  
  /* Colores del rediseño basados en el logotipo */
  --color-brand-coral: #DF695C;       /* Rosa Coral principal del sello */
  --color-bg-base: #FAF0EE;          /* Fondo principal rosa empolvado claro */
  --color-bg-crema: #FDF7F5;         /* Crema rosada para bloques editoriales */
  --color-bg-vainilla: #FFFDFB;      /* Vainilla suave para campos y contrastes */
  --color-bg-card: #FFFFFF;
  
  --color-brand-pink: #F7E3E0;       /* Rosa de acento suave */
  --color-brand-peach: #FCEADE;
  --color-text-main: #2C1B18;        /* Marrón chocolate profundo para legibilidad */
  --color-text-muted: #6B5551;       /* Marrón medio cálido */
  --color-text-light: #9C837E;
  
  --color-accent-burdeos: #8B2635;   /* Rosa Frambuesa profundo para CTAs */
  --color-accent-hover: #6D1B26;     /* Burdeos hover */
  --color-gold: #C5A059;             /* Dorado champagne */
  --color-gold-light: #F7F3E9;
  --color-white: #FFFFFF;
  --color-border: #EFE6E4;           /* Borde con matiz rosa */
  --color-error: #D04F4F;
  --color-success: #4F8B70;
  
  /* Sombras y Elevación */
  --shadow-sm: 0 2px 10px rgba(44, 27, 24, 0.02);
  --shadow-md: 0 8px 24px rgba(44, 27, 24, 0.04);
  --shadow-lg: 0 16px 40px rgba(44, 27, 24, 0.06);
  --shadow-premium: 0 24px 60px rgba(44, 27, 24, 0.08), 0 4px 20px rgba(223, 105, 92, 0.06);

  /* Bordes y Esquinas */
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 32px;
  --radius-full: 9999px;

  /* Transiciones */
  --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-quick: all 0.25s ease;
  
  /* Layout */
  --header-height: 80px;
}

/* ==========================================================================
   RESET GLOBAL Y ESTILOS BASE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  position: relative;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* Scrollbar Personalizado */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
  background: var(--color-brand-coral);
  border: 2px solid var(--color-bg-base);
  border-radius: var(--radius-full);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent-burdeos);
}

/* ==========================================================================
   ACCESIBILIDAD (A11Y)
   ========================================================================== */
:focus-visible {
  outline: 2px solid var(--color-brand-coral);
  outline-offset: 4px;
}

/* Saltar navegación */
.skip-link {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-accent-burdeos);
  color: var(--color-white);
  padding: 10px 20px;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  z-index: 9999;
  text-decoration: none;
  font-weight: 500;
  transition: top 0.2s ease;
}
.skip-link:focus {
  top: 0;
}

/* Soporte prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-delay: -1ms !important;
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    background-attachment: initial !important;
    scroll-behavior: auto !important;
    transition-duration: 0s !important;
    transition-delay: 0s !important;
  }
}

/* ==========================================================================
   TIPOGRAFÍA Y ENLACES
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  color: var(--color-text-main);
  line-height: 1.25;
  font-weight: 500;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.25rem);
  font-weight: 400;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 400;
  text-align: center;
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
}

p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-quick);
}

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

/* ==========================================================================
   COMPONENTES DE DISEÑO
   ========================================================================== */

/* Botones Premium */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 30px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: -1;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-primary {
  background-color: var(--color-accent-burdeos);
  color: var(--color-white);
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(139, 38, 53, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-text-main);
  border-color: var(--color-border);
}

.btn-secondary:hover {
  border-color: var(--color-brand-coral);
  background-color: var(--color-bg-vainilla);
  transform: translateY(-3px);
}

.btn-accent {
  background-color: var(--color-brand-coral);
  color: var(--color-white);
}
.btn-accent:hover {
  background-color: var(--color-accent-burdeos);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(223, 105, 92, 0.2);
}

/* Contenedores de Sección */
.section {
  padding: clamp(5rem, 9vw, 9rem) 0;
  position: relative;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-title-wrapper {
  max-width: 700px;
  margin: 0 auto clamp(3rem, 5vw, 5rem) auto;
  text-align: center;
}

.section-subtitle {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-brand-coral);
  font-weight: 600;
  margin-bottom: 0.75rem;
  display: block;
}

/* Separadores ondulados SVG */
.wave-divider {
  position: absolute;
  left: 0;
  width: 100%;
  height: 40px;
  z-index: 10;
  pointer-events: none;
}
.wave-divider-top {
  top: -1px;
}
.wave-divider-bottom {
  bottom: -1px;
  transform: rotate(180deg);
}

/* Tarjetas de Producto Editorial */
.product-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  transition: var(--transition-smooth);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-brand-coral);
}

/* Línea discontinua decorativa interior al pasar el cursor */
.product-card::after {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px dashed transparent;
  border-radius: calc(var(--radius-md) - 4px);
  pointer-events: none;
  transition: var(--transition-smooth);
}
.product-card:hover::after {
  border-color: rgba(223, 105, 92, 0.4);
}

.product-card-img-wrapper {
  width: 100%;
  height: 380px;
  overflow: hidden;
  position: relative;
  background-color: var(--color-bg-crema);
}

.product-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.product-card-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(250, 240, 238, 0.95);
  backdrop-filter: blur(8px);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brand-coral);
  border: 1px solid rgba(223, 105, 92, 0.2);
  z-index: 2;
}

.product-card-content {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  z-index: 2;
}

.product-card-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  margin-bottom: 12px;
  color: var(--color-text-main);
  font-weight: 500;
}

.product-card-desc {
  font-size: 0.98rem;
  color: var(--color-text-muted);
  margin-bottom: 24px;
  flex-grow: 1;
}

.product-card-btn {
  margin-top: auto;
  align-self: flex-start;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-accent-burdeos);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1.5px solid transparent;
  padding-bottom: 2px;
  transition: var(--transition-quick);
}

.product-card-btn:hover {
  color: var(--color-brand-coral);
  border-bottom-color: var(--color-brand-coral);
}

/* ==========================================================================
   FORMULARIOS PREMIUM
   ========================================================================== */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-main);
  margin-bottom: 0.6rem;
}

.form-control {
  width: 100%;
  padding: 15px 20px;
  font-family: var(--font-sans);
  font-size: 1rem;
  background-color: var(--color-bg-vainilla);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  color: var(--color-text-main);
  transition: var(--transition-quick);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-brand-coral);
  box-shadow: 0 0 0 4px rgba(223, 105, 92, 0.1);
  background-color: var(--color-white);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 1.5rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.form-checkbox input {
  margin-top: 5px;
  accent-color: var(--color-brand-coral);
}

.form-error-msg {
  color: var(--color-error);
  font-size: 0.8rem;
  margin-top: 0.35rem;
  font-weight: 500;
  display: none;
}

.form-success-wrapper {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
  animation: fadeInUp 0.5s forwards;
}

.form-success-icon {
  width: 72px;
  height: 72px;
  background-color: var(--color-bg-base);
  color: var(--color-brand-coral);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin: 0 auto 1.5rem auto;
  border: 1px dashed var(--color-brand-coral);
}

/* Spinner de carga */
.loader-spinner {
  width: 20px;
  height: 20px;
  border: 2.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 0.8s linear infinite;
  display: none;
  margin-right: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   NAVEGACIÓN (HEADER)
   ========================================================================== */
.site-header {
  height: var(--header-height);
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  background-color: rgba(253, 247, 245, 0.45); /* Rosa crema translúcido muy suave */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(44, 27, 24, 0.06); /* Línea inferior muy fina */
  transition: var(--transition-smooth);
  display: flex;
  align-items: center;
}

.site-header.scrolled {
  height: 65px;
  background-color: rgba(253, 247, 245, 0.95); /* Rosa crema casi opaco */
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgba(44, 27, 24, 0.04); /* Sombra mínima */
  border-bottom: 1px solid rgba(44, 27, 24, 0.08); /* Línea inferior fina */
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 92%;
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  left: 0;
  transform: none;
  height: 52px;
  z-index: 1001;
  transition: var(--transition-smooth);
}

.logo-img {
  height: 100%;
  width: auto;
  object-fit: contain;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.55rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-main);
}

/* Botón Menú Hamburguesa */
.menu-toggle {
  display: none !important; /* Siempre oculto en todas las pantallas */
}

/* Contenedores de Navegación (Logotipo a la izquierda, menú completo a la derecha) */
.header-right-col {
  display: flex;
  align-items: center;
  gap: 48px; /* Separación de lujo entre el menú y el botón */
  margin-left: auto;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 36px;
  z-index: 1001;
  transition: var(--transition-smooth);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 1001;
}

.header-action-link {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-main);
  transition: var(--transition-quick);
}

.header-action-link:hover {
  color: var(--color-brand-coral);
}

.btn-header-action {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-accent-burdeos);
  border: 1px solid var(--color-accent-burdeos);
  background-color: rgba(139, 38, 53, 0.04);
  padding: 10px 22px;
  border-radius: 4px; /* Esquinas finas/editoriales */
  text-decoration: none;
  transition: var(--transition-smooth);
}

.btn-header-action:hover {
  background-color: var(--color-accent-burdeos);
  color: var(--color-white);
  border-color: var(--color-accent-burdeos);
}

/* Optimización para portátiles y pantallas de escritorio medianas (1024px a 1200px) */
@media (max-width: 1199px) {
  .logo-text {
    font-size: 1.35rem; /* Reducir ligeramente el logotipo */
  }
  .header-right-col {
    gap: 32px; /* Reducir el gap del contenedor */
  }
  .header-nav {
    gap: 24px; /* Reducir separación de enlaces */
  }
}

/* Reglas específicas para pantallas medianas de Tablet/Móvil (< 992px) */
@media (max-width: 991px) {
  .desktop-only-action {
    display: none !important; /* Ocultar WhatsApp en pantallas pequeñas */
  }
}

/* Reglas específicas para móviles (<= 768px) */
@media (max-width: 768px) {
  .atelier-link {
    display: none !important; /* Ocultar El Atelier en móviles para optimizar espacio */
  }
  .logo-text {
    font-size: 1.1rem;
  }
  .logo-wrapper {
    height: 42px;
  }
  .header-right-col {
    gap: 16px; /* Ajustar separación del contenedor */
  }
  .header-nav {
    gap: 16px; /* Ajustar separación de enlaces */
  }
  .header-actions {
    gap: 12px; /* Reducir brecha del botón */
  }
  .header-action-link {
    font-size: 0.75rem; /* Letra un poco más pequeña */
  }
  .btn-header-action {
    padding: 8px 14px;
    font-size: 0.7rem;
  }
}

/* Ocultar el texto del logotipo en pantallas muy pequeñas para garantizar espacio suficiente y evitar colisiones */
@media (max-width: 480px) {
  .logo-text {
    display: none;
  }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--color-text-main); /* Marrón chocolate profundo */
  border-top: 1px solid var(--color-text-main);
  padding: clamp(5rem, 7vw, 7rem) 0 2.5rem 0;
  position: relative;
  color: var(--color-bg-base); /* Rosa empolvado claro para textos */
}

/* Detalle de onda o borde discontinuo superior en footer */
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: repeating-linear-gradient(90deg, var(--color-brand-coral), var(--color-brand-coral) 12px, transparent 12px, transparent 24px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }
}

.footer-brand h4 {
  font-size: 1.7rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--color-white);
}

.footer-brand p {
  font-size: 0.98rem;
  max-width: 320px;
  margin-bottom: 25px;
  color: var(--color-bg-crema);
}

.footer-brand-logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .footer-brand-logo-link {
    justify-content: center;
  }
}

.footer-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.footer-column h5 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-brand-coral);
  margin-bottom: 24px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 14px;
}

.footer-links a {
  font-size: 0.98rem;
  color: var(--color-bg-crema);
}

.footer-links a:hover {
  color: var(--color-white);
  padding-left: 6px;
}

.footer-contact-item {
  font-size: 0.98rem;
  color: var(--color-bg-crema);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .footer-contact-item {
    justify-content: center;
  }
}

.footer-socials {
  display: flex;
  gap: 15px;
}

@media (max-width: 768px) {
  .footer-socials {
    justify-content: center;
    margin-top: 20px;
  }
}

.footer-social-link {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(250, 240, 238, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-bg-base);
  transition: var(--transition-smooth);
  background-color: rgba(255, 255, 255, 0.05);
}

.footer-social-link:hover {
  border-color: var(--color-brand-coral);
  color: var(--color-white);
  background-color: var(--color-brand-coral);
  transform: translateY(-4px);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 240, 238, 0.15);
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  color: var(--color-brand-pink);
}

@media (max-width: 768px) {
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
}

.footer-bottom-links a:hover {
  color: var(--color-white);
}

/* ==========================================================================
   BREADCRUMBS
   ========================================================================== */
.breadcrumbs {
  padding: 110px 0 20px 0;
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 8px;
}

.breadcrumbs-item::after {
  content: '/';
  margin-left: 8px;
}

.breadcrumbs-item:last-child::after {
  display: none;
}

.breadcrumbs-item a:hover {
  color: var(--color-text-main);
}

.breadcrumbs-item.active {
  color: var(--color-brand-coral);
  pointer-events: none;
}

/* ==========================================================================
   WHATSAPP BUTTON (REDiseñado con aro ondulado)
   ========================================================================== */
.whatsapp-float-container {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-float {
  width: 56px;
  height: 56px;
  background-color: #25D366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.3);
  color: var(--color-white);
  font-size: 1.6rem;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 2;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* Aro ondulado decorativo alrededor de whatsapp */
.whatsapp-wave-border {
  position: absolute;
  inset: -6px;
  border: 1.5px dashed var(--color-brand-coral);
  border-radius: 50%;
  animation: rotateClockwise 20s linear infinite;
  pointer-events: none;
  opacity: 0.7;
}

@keyframes rotateClockwise {
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   COOKIE BANNER
   ========================================================================== */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px dashed var(--color-brand-coral);
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  padding: 26px;
  z-index: 1000;
  display: none;
  animation: fadeInUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
    padding: 20px;
  }
}

.cookie-banner-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--color-text-main);
}

.cookie-banner-text {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  margin-bottom: 18px;
  line-height: 1.5;
}

.cookie-banner-buttons {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cookie-banner-btn {
  font-size: 0.8rem;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: var(--transition-quick);
  border: 1px solid transparent;
}

.cookie-banner-accept {
  background-color: var(--color-accent-burdeos);
  color: var(--color-white);
}

.cookie-banner-accept:hover {
  background-color: var(--color-accent-hover);
}

.cookie-banner-decline {
  background-color: transparent;
  border-color: var(--color-border);
  color: var(--color-text-muted);
}

.cookie-banner-decline:hover {
  background-color: var(--color-bg-base);
  color: var(--color-text-main);
}

/* ==========================================================================
   VISOR LIGHTBOX (GALERÍA INTERACTIVA)
   ========================================================================== */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(44, 27, 24, 0.95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.lightbox-modal.open {
  display: flex;
  opacity: 1;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  box-shadow: var(--shadow-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--color-bg-base);
  animation: zoomIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes zoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  display: block;
  object-fit: contain;
}

.lightbox-caption {
  padding: 15px;
  background-color: var(--color-white);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-text-main);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 25px;
  right: 30px;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  transition: var(--transition-quick);
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  color: var(--color-brand-coral);
  transform: rotate(90deg);
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white);
  width: 50px;
  height: 50px;
  cursor: pointer;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  transition: var(--transition-quick);
}

.lightbox-btn:hover {
  background: var(--color-brand-coral);
  border-color: var(--color-brand-coral);
}

.lightbox-prev {
  left: 30px;
}

.lightbox-next {
  right: 30px;
}

@media (max-width: 768px) {
  .lightbox-btn {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}

/* ==========================================================================
   ANIMACIONES Y EFECTOS
   ========================================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

.js-enabled .fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.js-enabled .fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   PÁGINAS ESPECÍFICAS
   ========================================================================== */

/* 1. Rediseño del Hero 100svh Inmersivo */
.hero-section-new {
  height: 100svh;
  min-height: 650px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  overflow: hidden;
  text-align: left;
  padding: 80px 8%;
}

/* Video de fondo y capa de contraste lateral (Linear Gradient) */
.hero-video-container {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.hero-video-container::after {
  content: '';
  position: absolute;
  inset: 0;
  /* Degradado más suave y transparente para recuperar contraste y texturas reales */
  background: linear-gradient(
    90deg,
    rgba(255, 246, 243, 0.45) 0%,
    rgba(255, 239, 235, 0.28) 26%,
    rgba(255, 232, 228, 0.08) 52%,
    transparent 100%
  );
  z-index: 2;
  pointer-events: none;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: none; /* Eliminado el filtro de brillo para mostrar el vídeo en su esplendor y luminosidad original */
}

/* Caja de contenido alineada a la izquierda */
.hero-left-box {
  max-width: 650px;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-logo-medium {
  width: 110px;
  height: auto;
  margin-bottom: 25px;
  filter: drop-shadow(0 8px 16px rgba(44, 27, 24, 0.05));
  align-self: flex-start;
  animation: logoReveal 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes logoReveal {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.hero-subtitle-new {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent-burdeos); /* Burdeos profundo para destacar sobre el fondo */
  font-weight: 700;
  margin-bottom: 12px;
}

.hero-title-new {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 1.15;
  color: var(--color-text-main);
  margin-bottom: 20px;
  font-weight: 400;
}

.hero-text-new {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  color: var(--color-text-main); /* Marrón chocolate profundo para máxima legibilidad */
  margin-bottom: 35px;
  max-width: 580px;
}

.hero-buttons-new {
  display: flex;
  gap: 15px;
}

.hero-buttons-new .btn-secondary {
  color: var(--color-text-main);
  border-color: var(--color-text-main); /* Contorno más oscuro para destacar sobre la cafetera */
  background-color: rgba(255, 255, 255, 0.15); /* Fondo translúcido sutil para aislar el texto */
}

.hero-buttons-new .btn-secondary:hover {
  border-color: var(--color-brand-coral);
  background-color: var(--color-bg-vainilla);
  color: var(--color-text-main);
}

@media (max-width: 480px) {
  .hero-buttons-new {
    flex-direction: column;
    width: 100%;
    max-width: 280px;
  }
  .hero-buttons-new .btn {
    width: 100%;
  }
}

/* Botón accesible de control de video */
.video-control-btn {
  position: absolute;
  bottom: 30px;
  left: 40px;
  z-index: 10;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: var(--transition-quick);
  box-shadow: var(--shadow-sm);
}

.video-control-btn:hover {
  background: var(--color-brand-coral);
  color: var(--color-white);
  border-color: var(--color-brand-coral);
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .hero-section-new {
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
  }
  
  .hero-video-container::after {
    /* Degradado vertical en móviles adaptado para legibilidad sin oscurecer los productos */
    background: linear-gradient(
      to bottom,
      rgba(255, 246, 243, 0.60) 0%,
      rgba(255, 239, 235, 0.30) 40%,
      rgba(255, 232, 228, 0.08) 75%,
      transparent 100%
    );
  }
  
  .hero-left-box {
    align-items: center;
    max-width: 100%;
  }
  
  .hero-logo-medium {
    align-self: center;
  }
  
  .video-control-btn {
    left: 20px;
    bottom: 20px;
  }
}

/* Indicador de Scroll animado */
.scroll-indicator-new {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--color-brand-coral);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 600;
  pointer-events: none;
}

.scroll-indicator-line {
  width: 1.5px;
  height: 35px;
  background-color: var(--color-brand-coral);
  position: relative;
  overflow: hidden;
}

.scroll-indicator-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background-color: var(--color-accent-burdeos);
  animation: scrollLineAnimation 2s infinite ease-in-out;
}

@keyframes scrollLineAnimation {
  0% { top: -40%; }
  100% { top: 100%; }
}

/* 2. Valores Banner */
.values-banner {
  background-color: var(--color-white);
  border-top: 1.5px dashed var(--color-border);
  border-bottom: 1.5px dashed var(--color-border);
  padding: 30px 0;
  position: relative;
}

.values-grid {
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.value-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-main);
}

.value-icon {
  width: 10px;
  height: 10px;
  background-color: var(--color-brand-coral);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(223, 105, 92, 0.2);
}

@media (max-width: 768px) {
  .values-grid {
    flex-direction: column;
    gap: 18px;
  }
}

/* 3. Colecciones Destacadas (Inicio) */
.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

/* 4. Sección Editorial: Hecho con detalle */
.editorial-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 80px;
}

@media (max-width: 1024px) {
  .editorial-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
}

.editorial-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background-color: var(--color-bg-crema);
  border: 1px dashed var(--color-brand-coral);
}

.editorial-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 15px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
}

.editorial-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.editorial-image-wrapper:hover .editorial-image {
  transform: scale(1.03);
}

.editorial-content {
  padding: 20px 0;
}

.editorial-title {
  margin-bottom: 24px;
  text-align: left;
}

.editorial-text {
  margin-bottom: 20px;
}

.editorial-signature {
  font-family: var(--font-serif);
  font-size: 1.7rem;
  color: var(--color-brand-coral);
  margin-top: 30px;
  font-style: italic;
}

/* 5. Sección Tartas Especiales (Inicio) */
.cakes-teaser-section {
  background-color: var(--color-bg-crema);
}

.cakes-teaser-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 80px;
}

@media (max-width: 1024px) {
  .cakes-teaser-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .cakes-teaser-grid > div:first-child {
    order: 2;
  }
}

.cakes-teaser-content {
  padding: 20px 0;
}

.cakes-teaser-title {
  text-align: left;
  margin-bottom: 24px;
}

.cakes-teaser-text {
  margin-bottom: 24px;
}

.cakes-teaser-list {
  list-style: none;
  margin-bottom: 40px;
}

.cakes-teaser-list li {
  font-size: 1.05rem;
  margin-bottom: 12px;
  color: var(--color-text-muted);
  position: relative;
  padding-left: 24px;
}

.cakes-teaser-list li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--color-brand-coral);
}

.cakes-teaser-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background-color: var(--color-bg-base);
  border: 1px dashed var(--color-brand-coral);
}

.cakes-teaser-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 15px;
  border: 1px dashed rgba(255, 255, 255, 0.4);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
}

.cakes-teaser-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.cakes-teaser-image-wrapper:hover .cakes-teaser-image {
  transform: scale(1.03);
}

/* 6. Galería Visual Editorial */
.editorial-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 350px);
  gap: 20px;
}

@media (max-width: 1024px) {
  .editorial-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 300px);
  }
}

@media (max-width: 768px) {
  .editorial-gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  background-color: var(--color-bg-crema);
  cursor: pointer;
  border: 1px solid var(--color-border);
}

@media (max-width: 768px) {
  .gallery-item {
    aspect-ratio: 4/5;
  }
}

/* Lupa decorativa en hover */
.gallery-item::after {
  content: '🔍';
  position: absolute;
  inset: 0;
  background-color: rgba(223, 105, 92, 0.4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  opacity: 0;
  transition: var(--transition-quick);
  z-index: 2;
}

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

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.06);
}

/* Estilos de cuadrícula asimétrica */
.gallery-item-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
.gallery-item-2 { grid-column: 3 / 4; grid-row: 1 / 2; }
.gallery-item-3 { grid-column: 4 / 5; grid-row: 1 / 3; }
.gallery-item-4 { grid-column: 1 / 2; grid-row: 2 / 3; }
.gallery-item-5 { grid-column: 2 / 4; grid-row: 2 / 3; }

@media (max-width: 1024px) {
  .gallery-item-1 { grid-column: 1 / 3; grid-row: 1 / 2; }
  .gallery-item-2 { grid-column: 1 / 2; grid-row: 2 / 3; }
  .gallery-item-3 { grid-column: 2 / 3; grid-row: 2 / 4; }
  .gallery-item-4 { grid-column: 1 / 2; grid-row: 3 / 4; }
  .gallery-item-5 { grid-column: 1 / 3; grid-row: 4 / 5; }
}

@media (max-width: 768px) {
  .gallery-item-1, .gallery-item-2, .gallery-item-3, .gallery-item-4, .gallery-item-5 {
    grid-column: auto;
    grid-row: auto;
  }
}

/* 7. CTA Banner Final */
.cta-banner-section {
  background-color: var(--color-bg-vainilla);
  border-top: 1.5px dashed var(--color-border);
  border-bottom: 1.5px dashed var(--color-border);
  text-align: center;
}

.cta-banner-content {
  max-width: 750px;
  margin: 0 auto;
}

.cta-banner-title {
  margin-bottom: 16px;
}

.cta-banner-text {
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.cta-banner-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
}

@media (max-width: 480px) {
  .cta-banner-buttons {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .cta-banner-buttons .btn {
    width: 100%;
  }
}

/* ==========================================================================
   PÁGINA: PRODUCTOS Y CATÁLOGO
   ========================================================================== */

/* Filtros rediseñados como pastillas elegantes */
.catalog-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

.filter-btn {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  padding: 11px 22px;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  cursor: pointer;
  color: var(--color-text-muted);
  transition: var(--transition-quick);
  box-shadow: var(--shadow-sm);
}

.filter-btn:hover {
  border-color: var(--color-brand-coral);
  color: var(--color-text-main);
  background-color: var(--color-bg-crema);
}

.filter-btn.active {
  background-color: var(--color-brand-coral);
  color: var(--color-white);
  border-color: var(--color-brand-coral);
  box-shadow: 0 4px 12px rgba(223, 105, 92, 0.2);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  transition: opacity 0.3s ease;
}

.catalog-no-results {
  text-align: center;
  padding: 4rem 0;
  grid-column: 1 / -1;
  display: none;
}

/* ==========================================================================
   PÁGINA: TARTAS PERSONALIZADAS
   ========================================================================== */

/* Pasos Visuales con borde circular y rosa */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

@media (max-width: 768px) {
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

.step-card {
  background-color: var(--color-bg-card);
  border: 1.5px dashed var(--color-border);
  border-radius: var(--radius-md);
  padding: 45px 35px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-smooth);
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: var(--color-brand-coral);
  box-shadow: var(--shadow-md);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  color: var(--color-brand-pink);
  line-height: 1;
  margin-bottom: 15px;
  font-weight: 600;
  transition: var(--transition-quick);
}

.step-card:hover .step-num {
  color: var(--color-brand-coral);
}

.step-title {
  font-size: 1.3rem;
  margin-bottom: 12px;
  font-weight: 600;
}

.step-desc {
  font-size: 0.95rem;
}

/* Preguntas Frecuentes */
.faq-section {
  background-color: var(--color-bg-crema);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  margin-bottom: 15px;
  overflow: hidden;
  transition: var(--transition-quick);
}

.faq-item:hover {
  border-color: var(--color-brand-coral);
}

.faq-question-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 24px;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  text-align: left;
  color: var(--color-text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}

.faq-question-btn::after {
  content: '+';
  font-family: var(--font-sans);
  font-size: 1.5rem;
  color: var(--color-brand-coral);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-question-btn::after {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease-out;
  padding: 0 24px;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding: 0 24px 24px 24px;
  border-top: 1px solid var(--color-border);
  padding-top: 20px;
}

.faq-answer p {
  font-size: 0.98rem;
  color: var(--color-text-muted);
}

/* Contenedor del Formulario */
.form-card {
  background-color: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-brand-coral);
  padding: clamp(2rem, 5vw, 4.5rem);
  box-shadow: var(--shadow-lg);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.form-card::before {
  content: '';
  position: absolute;
  inset: 12px;
  border: 1.5px dashed rgba(223, 105, 92, 0.15);
  border-radius: calc(var(--radius-lg) - 10px);
  pointer-events: none;
}

/* ==========================================================================
   PÁGINA: SOBRE NOSOTROS
   ========================================================================== */
.about-hero-section {
  padding-top: 140px;
  background-color: var(--color-bg-vainilla);
}

.about-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

@media (max-width: 1024px) {
  .about-intro-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-intro-image-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4/5;
  background-color: var(--color-bg-base);
  border: 1.5px dashed var(--color-brand-coral);
}

.about-intro-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-intro-content h1 {
  margin-bottom: 24px;
  text-align: left;
}

.about-blocks-section {
  background-color: var(--color-bg-base);
}

.about-blocks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

@media (max-width: 768px) {
  .about-blocks-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-block-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.about-block-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-brand-coral);
}

.about-block-title {
  font-size: 1.5rem;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-block-title::before {
  content: '';
  width: 6px;
  height: 24px;
  background-color: var(--color-brand-coral);
  border-radius: var(--radius-full);
}

/* ==========================================================================
   PÁGINA: CONTACTO
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

@media (max-width: 1024px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

.contact-info-column h2 {
  text-align: left;
  margin-bottom: 20px;
}

.contact-info-lead {
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.contact-details-list {
  list-style: none;
  margin-bottom: 50px;
}

.contact-details-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-details-icon {
  width: 46px;
  height: 46px;
  background-color: var(--color-brand-pink);
  color: var(--color-text-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.15rem;
  border: 1px dashed var(--color-brand-coral);
}

.contact-details-text h4 {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-brand-coral);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-details-text p {
  font-size: 1.05rem;
  color: var(--color-text-main);
}

/* Mapa */
.map-container {
  width: 100%;
  height: 350px;
  background-color: var(--color-bg-crema);
  border-radius: var(--radius-md);
  border: 1.5px dashed var(--color-border);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
}

.map-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  background: radial-gradient(circle, var(--color-bg-crema) 0%, var(--color-brand-pink) 100%);
}

.map-placeholder-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
}

.map-placeholder-desc {
  font-size: 0.95rem;
  max-width: 320px;
  margin-bottom: 20px;
}

/* ==========================================================================
   PÁGINA: LEGAL
   ========================================================================== */
.legal-container {
  max-width: 900px;
  margin: 0 auto;
  padding-bottom: 80px;
}

.legal-section-block {
  margin-bottom: 50px;
  padding-top: 35px;
  border-top: 1px dashed var(--color-border);
}

.legal-section-block:first-of-type {
  border-top: none;
  padding-top: 0;
}

.legal-section-block h2 {
  text-align: left;
  font-size: 1.95rem;
  margin-bottom: 20px;
}

.legal-section-block h3 {
  font-size: 1.3rem;
  margin: 25px 0 10px 0;
}

.legal-section-block p {
  margin-bottom: 15px;
  font-size: 1.02rem;
}

.legal-section-block ul {
  margin-bottom: 20px;
  padding-left: 20px;
  color: var(--color-text-muted);
}

.legal-section-block li {
  margin-bottom: 10px;
  font-size: 0.98rem;
}

/* ==========================================================================
   NUEVOS ESTILOS DE BOUTIQUE PREMIUM (LE CANELE)
   ===============================/* 1. Cabecera del showcase de productos */
.showcase-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 15px;
  margin-bottom: 40px;
}

.showcase-section-title {
  font-family: var(--font-serif);
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--color-text-main);
  letter-spacing: 0.02em;
}

.showcase-view-all-link {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-main);
  border-bottom: 2px solid var(--color-brand-coral);
  padding-bottom: 6px;
  transition: var(--transition-quick);
}

.showcase-view-all-link:hover {
  color: var(--color-brand-coral);
  border-bottom-color: var(--color-accent-burdeos);
}

/* Grilla de productos */
.products-showcase-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  margin-top: 20px;
}

.product-showcase-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: var(--transition-smooth);
}

.product-showcase-card:hover {
  transform: translateY(-5px);
}

/* Contenedor de la imagen vertical */
.product-showcase-img-wrapper {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background-color: var(--color-bg-vainilla);
  margin-bottom: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(44, 27, 24, 0.05);
}

.product-showcase-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2.5rem;
  transition: var(--transition-smooth);
}

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

/* Badge de Próximamente */
.product-upcoming-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background-color: var(--color-accent-burdeos);
  color: var(--color-white);
  padding: 5px 12px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  pointer-events: none;
  z-index: 2;
}

/* Fila de título y metadato */
.product-showcase-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.product-showcase-card-title {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--color-text-main);
  line-height: 1.3;
}

.product-showcase-spec {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--color-text-light);
  font-weight: 500;
}

/* Fila de precio */
.product-showcase-price-row {
  margin-bottom: 15px;
}

.product-showcase-price {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 600;
}

/* Acciones inferiores (Píldoras contorneadas) */
.product-showcase-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-showcase-action {
  flex: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 8px 12px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: transparent;
  color: var(--color-text-muted);
  transition: var(--transition-quick);
  text-align: center;
}

.btn-showcase-action:hover {
  background-color: var(--color-brand-coral);
  color: var(--color-white);
  border-color: var(--color-brand-coral);
}

/* Responsividad */
@media (max-width: 1024px) {
  .products-showcase-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .products-showcase-grid {
    grid-template-columns: 1fr;
  }
}

/* 2. Sección de Favoritos (Catálogo Showcase) */
.favorites-section {
  background-color: var(--color-bg-vainilla);
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
}

.favorites-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  flex-wrap: wrap;
  gap: 20px;
}

.view-all-link {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-text-main);
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-text-main);
  padding-bottom: 2px;
  transition: var(--transition-quick);
}

.view-all-link:hover {
  color: var(--color-brand-coral);
  border-bottom-color: var(--color-brand-coral);
}

/* ==========================================================================
   NUEVO CATÁLOGO DE PRODUCTOS (BOUTIQUE PREMIUM)
   ========================================================================== */

/* Cabecera Editorial */
.catalog-intro {
  text-align: center;
  max-width: 750px;
  margin: 0 auto clamp(2.5rem, 5vw, 4rem) auto;
}

.catalog-intro h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 400;
  color: var(--color-text-main);
  line-height: 1.2;
  margin-top: 10px;
}

/* Filtros minimalistas tipo pestaña */
.catalog-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1rem, 2vw, 2rem);
  margin-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid rgba(44, 27, 24, 0.08);
  padding-bottom: 15px;
}

.filter-btn {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
  background: transparent;
  border: none;
  padding: 8px 4px;
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: -16px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-brand-coral);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.filter-btn:hover {
  color: var(--color-brand-coral);
}

.filter-btn.active {
  color: var(--color-text-main);
}

.filter-btn.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Conteo en filtros */
.filter-count {
  font-size: 0.65rem;
  font-weight: 500;
  opacity: 0.6;
  margin-left: 4px;
  vertical-align: super;
}

/* Rejilla de productos */
.favorites-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
}

.favorite-card {
  display: flex;
  flex-direction: column;
  background: transparent;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.favorite-card:hover {
  transform: translateY(-4px);
}

/* Proporción 3:4 para imagen */
.favorite-card-img-wrapper {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  position: relative;
  background-color: var(--color-bg-vainilla);
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  border: 1px solid rgba(44, 27, 24, 0.05);
}

.favorite-card-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2.5rem;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* Contenido de la Tarjeta */
.favorite-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 0;
}

.favorite-card-info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 4px;
}

.favorite-card-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-text-main);
  font-weight: 500;
  margin: 0;
}

.favorite-card-spec {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  color: var(--color-text-light);
  font-weight: 500;
}

.favorite-card-price-row {
  margin-bottom: 10px;
}

.favorite-card-price {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-brand-coral);
  font-weight: 600;
}

.favorite-card-desc {
  font-family: var(--font-sans);
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
  
  /* Truncamiento a 3 líneas */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Botones Píldora Boutique */
.favorite-card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-favorite-action {
  flex: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 9px 12px;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-radius: var(--radius-full);
  border: 1px solid var(--color-border);
  background-color: transparent;
  color: var(--color-text-muted);
  transition: all 0.3s ease;
  text-align: center;
}

.btn-favorite-action:hover {
  background-color: var(--color-brand-coral);
  border-color: var(--color-brand-coral);
  color: var(--color-white);
}

/* Botón sólido para derivación de Tartas */
.btn-favorite-action.solid {
  background-color: var(--color-accent-burdeos);
  border-color: var(--color-accent-burdeos);
  color: var(--color-white);
}

.btn-favorite-action.solid:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* Animaciones y responsividad */
@media (max-width: 1024px) {
  .favorites-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (max-width: 576px) {
  .favorites-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* 3. Estilos Adicionales de Acordeón FAQ Dinámico */
.faq-question-btn:focus-visible {
  outline: 2px solid var(--color-brand-coral);
  outline-offset: -2px;
}

/* 4. Transiciones de Carga de Contenido */
.catalog-item-wrapper {
  animation: cardFadeIn 0.5s ease-out forwards;
}

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

/* 5. Franja de Transición Ondulada SVG */
.transition-wave-divider {
  display: block;
  width: 100%;
  height: auto;
  fill: var(--color-bg-crema);
  margin-top: -2px;
  position: relative;
  z-index: 5;
}

/* 6. Bloques de Proceso y Asimetría */
.process-asymmetric-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.process-asymmetric-images {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: center;
}

.process-img-main {
  grid-column: 1 / 10;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px dashed var(--color-brand-coral);
  z-index: 2;
  aspect-ratio: 4/3;
}

.process-img-secondary {
  grid-column: 8 / 13;
  margin-top: -30%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  border: 1.5px dashed var(--color-brand-coral);
  z-index: 3;
  aspect-ratio: 1;
}

@media (max-width: 992px) {
  .process-asymmetric-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-img-secondary {
    margin-top: -15%;
  }
}

@media (max-width: 576px) {
  .process-asymmetric-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }
  .process-img-main, .process-img-secondary {
    grid-column: auto;
    width: 100%;
    margin-top: 0;
    aspect-ratio: auto;
  }
}

/* ==========================================================================
   PASE DE DIRECCIÓN CREATIVA: LOADER, CURSOR, MENÚ FULLSCREEN E INTERACCIONES
   ========================================================================== */

/* 1. Loader Inicial */
.initial-loader {
  position: fixed;
  inset: 0;
  background-color: var(--color-bg-base);
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.6s;
}
.initial-loader.fade-out {
  opacity: 0;
  visibility: hidden;
}
.loader-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}
.loader-logo {
  width: 140px;
  height: auto;
  opacity: 0;
  transform: scale(0.95);
  animation: loaderLogoReveal 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.loader-line-container {
  width: 160px;
  height: 2px;
  background-color: rgba(223, 105, 92, 0.1);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.loader-line-progress {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background-color: var(--color-brand-coral);
  animation: loaderProgress 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes loaderLogoReveal {
  to { opacity: 1; transform: scale(1); }
}
@keyframes loaderProgress {
  to { width: 100%; }
}

/* 2. Cursor Personalizado Desactivado */

/* 3. Menú Móvil Fullscreen Espectacular */
.mobile-nav-fullscreen {
  position: fixed;
  inset: 0;
  background-color: var(--color-brand-coral);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 30px;
  opacity: 0;
  visibility: hidden;
  transform: scale(1.02);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
}
.mobile-nav-fullscreen.open {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}
.mobile-nav-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-logo-img {
  height: 52px;
  width: auto;
  filter: brightness(0) invert(1);
}
.mobile-nav-close {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 2.8rem;
  cursor: pointer;
  line-height: 1;
  padding: 5px 15px;
  transition: transform 0.3s ease;
}
.mobile-nav-close:hover {
  transform: rotate(90deg);
}
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 30px 0;
}
.mobile-nav-link {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: color 0.3s, padding-left 0.3s;
}
.mobile-nav-link:hover, .mobile-nav-link.active {
  color: var(--color-white);
  padding-left: 12px;
}
.mobile-nav-link .nav-num {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  opacity: 0.55;
  color: var(--color-white);
  letter-spacing: 0.1em;
}
.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  gap: 25px;
  align-items: center;
  width: 100%;
}
.btn-mobile-encargo {
  width: 100%;
  max-width: 320px;
  text-align: center;
  background-color: var(--color-white);
  color: var(--color-brand-coral);
  border: 1px solid var(--color-white);
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 15px 25px;
  border-radius: 4px;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.btn-mobile-encargo:hover {
  background-color: transparent;
  color: var(--color-white);
  border-color: var(--color-white);
}
.mobile-nav-socials {
  display: flex;
  gap: 15px;
  font-size: 0.9rem;
}
.social-link-mobile {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.social-link-mobile:hover {
  color: var(--color-white);
}
.social-sep {
  color: rgba(255, 255, 255, 0.3);
}

/* Animaciones secuenciales del menú móvil */
.mobile-nav-fullscreen.open .mobile-nav-link {
  opacity: 0;
  animation: mobileLinkIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.mobile-nav-fullscreen.open .mobile-nav-link:nth-child(1) { animation-delay: 0.1s; }
.mobile-nav-fullscreen.open .mobile-nav-link:nth-child(2) { animation-delay: 0.15s; }
.mobile-nav-fullscreen.open .mobile-nav-link:nth-child(3) { animation-delay: 0.2s; }
.mobile-nav-fullscreen.open .mobile-nav-link:nth-child(4) { animation-delay: 0.25s; }
.mobile-nav-fullscreen.open .mobile-nav-link:nth-child(5) { animation-delay: 0.3s; }

@keyframes mobileLinkIn {
  from { opacity: 0; transform: translateX(-25px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Bloqueo de scroll cuando el menú está abierto */
body.nav-open {
  overflow: hidden !important;
}

/* 4. Cabecera de Escritorio simplificada y unificada */

/* 5. Franja de Valores Nueva */
.values-grid-new {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 12px 0;
}
.value-item-new {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}
.value-sep {
  color: var(--color-brand-coral);
  font-size: 1.2rem;
  font-weight: 700;
  opacity: 0.6;
}

/* 6. Obrador Process Sticky Section */
.process-sticky-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  position: relative;
}
.process-sticky-left {
  position: sticky;
  top: 120px;
  height: auto;
}
.sticky-text-block {
  max-width: 480px;
}
.process-steps-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  margin-top: 40px;
}
.process-step-nav {
  display: flex;
  gap: 20px;
  opacity: 0.35;
  transform: translateX(0);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.process-step-nav.active {
  opacity: 1;
  transform: translateX(12px);
}
.step-num {
  font-family: var(--font-sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-brand-coral);
  line-height: 1.2;
}
.step-content-text {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.step-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-text-main);
  text-align: left;
}
.step-desc {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}
.process-progress-indicator {
  width: 100%;
  height: 3px;
  background-color: var(--color-border);
  margin-top: 45px;
  border-radius: 99px;
  position: relative;
  overflow: hidden;
}
.progress-bar-fill {
  height: 100%;
  width: 0%;
  background-color: var(--color-brand-coral);
  transition: width 0.1s ease-out;
  border-radius: 99px;
}
.process-sticky-right {
  display: flex;
  flex-direction: column;
  gap: 90px;
  padding-bottom: 60px;
}
.process-image-item {
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.process-image-item img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(44, 27, 24, 0.04);
}
.image-caption {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .process-sticky-wrapper {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .process-sticky-left {
    position: static;
  }
  .process-sticky-right {
    gap: 50px;
    padding-bottom: 20px;
  }
  .process-image-item img {
    height: 360px;
  }
  .process-step-nav {
    opacity: 1 !important;
    transform: none !important;
  }
  .process-progress-indicator {
    display: none;
  }
}

/* 7. CTA Watermark & Waves */
.cta-banner-section-new {
  position: relative;
}
.cta-watermark {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 380px;
  height: 380px;
  background-image: url('../../images/brand/logo-le-canele-transparent.png');
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.045;
  pointer-events: none;
  animation: watermarkFloat 18s linear infinite;
}
@keyframes watermarkFloat {
  0% { transform: rotate(0deg) translate(0, 0); }
  50% { transform: rotate(4deg) translate(8px, -8px); }
  100% { transform: rotate(0deg) translate(0, 0); }
}

/* 8. Scroll Reveal & Reveal Masks */
.js-enabled .scroll-reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-enabled .scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-mask {
  position: relative;
  overflow: hidden;
}
.js-enabled .reveal-mask::before {
  content: '';
  position: absolute;
  inset: 0;
  background-color: var(--color-bg-base);
  z-index: 2;
  transform: scaleY(1);
  transform-origin: bottom;
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}
.js-enabled .reveal-mask.active::before {
  transform: scaleY(0);
}

/* Detalle Ondulado en imágenes */
.wave-detail-overlay {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 40' fill='%23FAF0EE'%3E%3Cpath d='M0 40C240 40 240 0 480 0C720 0 720 40 960 40C1200 40 1200 0 1440 0V40H0Z'/%3E%3C/svg%3E");
  background-size: 100% 100%;
  z-index: 3;
  pointer-events: none;
}

/* 9. Form Refinements */
.contact-form .form-group input,
.contact-form .form-group textarea,
.boutique-form-field {
  background-color: var(--color-bg-crema);
  border: 1px solid rgba(44, 27, 24, 0.08);
  border-radius: 4px;
  padding: 16px 20px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--color-text-main);
  transition: var(--transition-smooth);
  width: 100%;
}
.contact-form .form-group input:focus,
.contact-form .form-group textarea:focus,
.boutique-form-field:focus {
  outline: none;
  border-color: var(--color-brand-coral);
  box-shadow: 0 0 0 3px rgba(223, 105, 92, 0.08);
  background-color: var(--color-white);
}

/* 10. Desactivar todo si prefiere reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-delay: 0s !important;
    animation-duration: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
    transform: none !important;
  }
  .scroll-reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .reveal-mask::before {
    display: none !important;
  }
  .cta-watermark {
    animation: none !important;
  }
  .initial-loader {
    display: none !important;
  }
  .custom-cursor, .custom-cursor-ring {
    display: none !important;
  }
}

/* ==========================================================================
   ESTILOS DE CREADOR DE TARTAS & VISTA RÁPIDA GLASSMÓRFICA
   ========================================================================== */

/* 1. Carrusel de Testimonios */
.testimonials-carousel-wrapper {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  padding: 20px 0;
}

.testimonials-slides-container {
  position: relative;
  width: 100%;
  min-height: 220px;
}

.testimonial-slide {
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
}

.testimonial-slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  position: relative;
}

.testimonial-stars {
  font-size: 1.25rem;
  color: #C5A059; /* Oro champagne */
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.testimonial-comment {
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.6;
  color: var(--color-text-main);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-brand-coral);
  font-weight: 700;
  margin-bottom: 2px;
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--color-text-light);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background-color: transparent;
  cursor: pointer;
  padding: 0;
  transition: var(--transition-quick);
}

.testimonial-dot:hover {
  border-color: var(--color-brand-coral);
}

.testimonial-dot.active {
  background-color: var(--color-brand-coral);
  border-color: var(--color-brand-coral);
  transform: scale(1.2);
}


/* 2. Modal Quick View (Glassmorphism) */
.quickview-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
  padding: 20px;
}

.quickview-modal.open {
  opacity: 1;
  visibility: visible;
}

.quickview-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(44, 27, 24, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.quickview-container {
  position: relative;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-premium), 0 30px 70px rgba(44, 27, 24, 0.15);
  border-radius: var(--radius-md);
  max-width: 900px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  z-index: 2;
  transform: scale(0.95) translateY(10px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  border-radius: 4px;
}

.quickview-modal.open .quickview-container {
  transform: scale(1) translateY(0);
}

.quickview-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: var(--color-text-muted);
  transition: var(--transition-quick);
  z-index: 10;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quickview-close:hover {
  color: var(--color-brand-coral);
  transform: rotate(90deg);
}

.quickview-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.3fr;
  min-height: 520px;
}

@media (max-width: 768px) {
  .quickview-grid {
    grid-template-columns: 1fr;
  }
  .quickview-container {
    max-height: 95vh;
  }
}

.quickview-media {
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-vainilla);
  border-right: 1px solid rgba(44, 27, 24, 0.05);
}

.quickview-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 2.5rem;
}

@media (max-width: 768px) {
  .quickview-media {
    height: 250px;
  }
}

.quickview-details {
  padding: clamp(1.5rem, 3.5vw, 3rem);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.quickview-category-label {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--color-brand-coral);
  text-transform: uppercase;
}

.quickview-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--color-text-main);
}

.quickview-meta-row {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-top: -5px;
}

.quickview-price {
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-accent-burdeos);
}

.quickview-spec {
  font-size: 0.88rem;
  color: var(--color-text-light);
}

.quickview-description {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.quickview-divider {
  height: 1px;
  background: rgba(44, 27, 24, 0.08);
  margin: 5px 0;
}

.quickview-section {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.quickview-section-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-main);
}

.quickview-text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.quickview-text.italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 0.98rem;
}

.quickview-allergens {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.allergen-pill {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  background-color: var(--color-bg-base);
  border: 1px solid rgba(44, 27, 24, 0.06);
  border-radius: 4px;
  color: var(--color-text-muted);
}

.allergen-pill.clean {
  background-color: #eaf6ee;
  color: #278f44;
  border-color: #d1ebd8;
}

.quickview-actions {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

@media (max-width: 480px) {
  .quickview-actions {
    flex-direction: column;
  }
  .quickview-actions .btn {
    width: 100%;
  }
}

body.modal-open {
  overflow: hidden !important;
}


/* 3. Creador de Tartas Interactivo (Visual Cake Builder) */
.cake-builder-wrapper {
  width: 100%;
}

.builder-steps-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  position: relative;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.builder-step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  position: relative;
  cursor: pointer;
}

.step-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: var(--color-white);
  border: 2px solid var(--color-border);
  color: var(--color-text-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition-smooth);
}

.step-text {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-text-light);
  transition: var(--transition-smooth);
}

.builder-step-line {
  flex-grow: 1;
  height: 2px;
  background-color: var(--color-border);
  margin-top: -24px;
  z-index: 1;
  transition: var(--transition-smooth);
}

.builder-step-indicator.active .step-circle {
  border-color: var(--color-brand-coral);
  background-color: var(--color-brand-coral);
  color: var(--color-white);
  box-shadow: 0 0 0 4px rgba(223, 105, 92, 0.15);
}

.builder-step-indicator.active .step-text {
  color: var(--color-brand-coral);
}

.builder-step-indicator.completed .step-circle {
  border-color: var(--color-accent-burdeos);
  background-color: var(--color-accent-burdeos);
  color: var(--color-white);
}

.builder-step-indicator.completed .step-text {
  color: var(--color-accent-burdeos);
}

.builder-step-pane {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.builder-step-pane.active {
  display: block;
}

.builder-pane-title {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  font-weight: 400;
  color: var(--color-text-main);
  margin-bottom: 8px;
  text-align: center;
}

.builder-pane-subtitle {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  text-align: center;
  margin-bottom: 30px;
}

.builder-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

@media (max-width: 650px) {
  .builder-cards-grid {
    grid-template-columns: 1fr;
  }
}

.builder-card {
  display: block;
  cursor: pointer;
  position: relative;
  background: var(--color-white);
  border: 1.5px solid var(--color-border);
  border-radius: 4px;
  padding: clamp(1.2rem, 3vw, 1.8rem);
  transition: var(--transition-smooth);
  height: 100%;
}

.builder-card input[type="radio"] {
  display: none;
}

.builder-card:hover {
  border-color: var(--color-brand-coral);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.builder-card:has(input[type="radio"]:checked) {
  border-color: var(--color-accent-burdeos);
  background-color: var(--color-bg-vainilla);
  box-shadow: var(--shadow-md), 0 8px 20px rgba(139, 38, 53, 0.04);
}

.builder-card:has(input[type="radio"]:checked)::after {
  content: '✓';
  position: absolute;
  top: 15px;
  right: 15px;
  width: 22px;
  height: 22px;
  background-color: var(--color-accent-burdeos);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: 0 2px 5px rgba(139, 38, 53, 0.2);
}

.builder-card-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.builder-card-icon {
  font-size: 1.5rem;
  margin-bottom: 4px;
}

.builder-card-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--color-text-main);
}

.builder-card-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.builder-card-price {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-accent-burdeos);
  margin-top: 6px;
}

.builder-summary-card {
  margin-top: 25px;
}

.builder-summary-title {
  border-bottom: 1px dashed var(--color-border);
  padding-bottom: 10px;
}

.builder-summary-list li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid rgba(44, 27, 24, 0.03);
  padding: 4px 0;
}

.builder-summary-list li:last-child {
  border-bottom: none;
}

.builder-summary-note {
  border-top: 1px solid rgba(44, 27, 24, 0.05);
  padding-top: 12px;
}

.price-highlight {
  font-weight: 700;
  color: var(--color-accent-burdeos);
}

/* Efectos de Hover Magnéticos de Vista Rápida en las cartas generales */
.favorite-card, .product-showcase-card {
  cursor: pointer;
  position: relative;
}

.favorite-card::before, .product-showcase-card::before {
  content: 'VISTA RÁPIDA';
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: var(--radius-full);
  padding: 4px 12px;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-main);
  opacity: 0;
  transform: translateY(-5px);
  transition: var(--transition-smooth);
  z-index: 10;
  pointer-events: none;
}

.favorite-card:hover::before, .product-showcase-card:hover::before {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   ELEVACIÓN DE LUJO Y MICROMOVIMIENTOS (ESTILOS ADICIONALES)
   ========================================================================== */

/* 1. Barra de progreso de lectura superior */
.page-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  background: linear-gradient(90deg, var(--color-gold) 0%, var(--color-brand-coral) 100%);
  width: 0%;
  z-index: 10000;
  transition: width 0.1s ease-out;
}

/* 2. Efecto Shimmer de Oro Champagne en Botones */
@keyframes gold-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--color-accent-burdeos) 0%, var(--color-accent-burdeos) 40%, #a23847 50%, var(--color-accent-burdeos) 60%, var(--color-accent-burdeos) 100%) !important;
  background-size: 200% 100% !important;
  animation: gold-shimmer 4.5s infinite linear;
  box-shadow: 0 4px 15px rgba(139, 38, 53, 0.15);
  transition: var(--transition-quick);
}

.btn-primary:hover {
  animation-duration: 1.5s;
  box-shadow: 0 6px 20px rgba(139, 38, 53, 0.3), 0 0 10px rgba(197, 160, 89, 0.3);
  transform: translateY(-2px);
}

/* 3. Glow en hover de Tarjetas del Catálogo */
.favorite-card, .product-showcase-card, .builder-card {
  transition: var(--transition-smooth) !important;
}

.favorite-card:hover, .product-showcase-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold) !important;
  box-shadow: 0 12px 30px rgba(44, 27, 24, 0.05), 0 0 20px rgba(197, 160, 89, 0.15) !important;
}

/* 4. Banner de Escasez / Exclusividad del Builder */
.builder-scarcity-banner {
  background-color: var(--color-gold-light);
  border: 1px solid rgba(197, 160, 89, 0.3);
  border-radius: var(--radius-sm);
  padding: 12px 18px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  animation: fade-in-up 0.6s ease forwards;
}

.scarcity-icon {
  font-size: 1.25rem;
}

.scarcity-text {
  font-size: 0.85rem;
  color: var(--color-text-main);
  line-height: 1.4;
  text-align: left;
}

/* 5. Badges Gourmet para opciones premium */
.premium-badge {
  background-color: var(--color-gold);
  color: var(--color-white);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: var(--radius-full);
  margin-left: 6px;
  vertical-align: middle;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: inline-block;
}

/* 6. Tooltip de Bienvenida de WhatsApp */
.wa-welcome-tooltip {
  position: absolute;
  bottom: 80px;
  right: 10px;
  width: 280px;
  background-color: var(--color-bg-vainilla);
  border: 1.5px solid var(--color-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 30px rgba(44, 27, 24, 0.15);
  padding: 14px;
  text-align: left;
  opacity: 0;
  transform: translateY(15px) scale(0.95);
  visibility: hidden;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}

.wa-welcome-tooltip.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  visibility: visible;
}

.wa-welcome-tooltip::after {
  content: '';
  position: absolute;
  bottom: -9px;
  right: 22px;
  width: 14px;
  height: 14px;
  background-color: var(--color-bg-vainilla);
  border-right: 1.5px solid var(--color-gold);
  border-bottom: 1.5px solid var(--color-gold);
  transform: rotate(45deg);
}

.wa-tooltip-header {
  display: flex;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.85rem;
  border-bottom: 1px solid var(--color-border);
  padding-bottom: 6px;
}

.wa-tooltip-dot {
  width: 8px;
  height: 8px;
  background-color: var(--color-success);
  border-radius: 50%;
  margin-right: 8px;
  display: inline-block;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(79, 139, 112, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 5px rgba(79, 139, 112, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(79, 139, 112, 0);
  }
}

.wa-tooltip-close {
  background: none;
  border: none;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-text-light);
  cursor: pointer;
  margin-left: auto;
  line-height: 1;
  padding: 0 2px;
  transition: var(--transition-quick);
}

.wa-tooltip-close:hover {
  color: var(--color-brand-coral);
}

.wa-tooltip-body p {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin: 0;
}

/* ==========================================================================
   HERO EDITORIAL SPLIT-SCREEN (NUEVA ESTRUCTURA)
   ========================================================================== */
.hero-section-editorial {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  background-color: var(--color-bg-base);
  padding: 100px 0 60px 0;
  overflow: hidden;
}

.hero-section-editorial .container {
  max-width: 1400px;
  width: 92%;
}

.hero-grid-new {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 60px;
  align-items: center;
  width: 100%;
}

.hero-content-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  z-index: 10;
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-video-col {
  position: relative;
  z-index: 10;
  display: flex;
  justify-content: center;
  width: 100%;
  animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.hero-video-frame {
  position: relative;
  width: 100%;
  max-width: 820px;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--color-gold);
  box-shadow: var(--shadow-premium), 0 0 30px rgba(197, 160, 89, 0.1);
  overflow: hidden;
  background-color: var(--color-text-main);
  transition: var(--transition-smooth);
}

.hero-video-frame:hover {
  transform: translateY(-5px) scale(1.01);
  box-shadow: 0 20px 45px rgba(44, 27, 24, 0.12), 0 0 25px rgba(197, 160, 89, 0.2);
  border-color: var(--color-brand-coral);
}

.hero-video-element {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-control-btn-inner {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 246, 243, 0.85);
  backdrop-filter: blur(5px);
  border: 1px solid var(--color-border);
  color: var(--color-text-main);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-quick);
  box-shadow: var(--shadow-sm);
}

.video-control-btn-inner:hover {
  background: var(--color-white);
  transform: scale(1.08);
  border-color: var(--color-gold);
}

/* Responsividad para la cabecera editorial */
@media (max-width: 991px) {
  .hero-grid-new {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .hero-section-editorial {
    padding-top: 120px;
  }

  .hero-video-frame {
    max-width: 450px;
    aspect-ratio: 16 / 10;
  }
}

/* Ocultación/Visualización responsiva general */
.d-block-mobile {
  display: none !important;
}

@media (max-width: 768px) {
  .hero-section-editorial {
    padding-top: 100px;
    min-height: auto;
  }
  
  .hero-content-col {
    align-items: center;
    text-align: center;
  }
  
  .hero-buttons-new {
    flex-direction: column;
    width: 100%;
    align-items: center;
    gap: 12px;
  }
  
  .hero-buttons-new .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
  
  .hero-video-frame {
    aspect-ratio: 9 / 16;
    width: 85%;
    max-width: 340px;
    margin: 0 auto;
    box-shadow: 0 15px 35px rgba(44, 27, 24, 0.1), 0 0 25px rgba(197, 160, 89, 0.15);
  }
  
  .video-control-btn-inner {
    width: 38px;
    height: 38px;
    bottom: 12px;
    right: 12px;
    font-size: 0.85rem;
  }
  
  .hero-title-new {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  /* Clases de Ocultación/Visualización Móvil */
  .d-none-mobile {
    display: none !important;
  }
  .d-block-mobile {
    display: block !important;
  }
  
  /* Contenedor del Carusel */
  .hero-carousel-frame {
    position: relative;
    width: 85%;
    max-width: 340px;
    aspect-ratio: 4 / 5; /* Proporción 1290x1498 de las imágenes */
    margin: 0 auto;
    border-radius: var(--radius-md);
    border: 1.5px solid var(--color-gold);
    box-shadow: 0 15px 35px rgba(44, 27, 24, 0.1), 0 0 25px rgba(197, 160, 89, 0.15);
    overflow: hidden;
    background-color: var(--color-bg-vainilla);
  }

  .hero-carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
  }

  .hero-carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .hero-carousel-slide.active {
    opacity: 1;
    z-index: 2;
  }

  .hero-carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* Botones de control del Carusel */
  .carousel-control-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 246, 243, 0.85);
    backdrop-filter: blur(4px);
    border: 1px solid var(--color-border);
    color: var(--color-text-main);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    cursor: pointer;
    z-index: 5;
    transition: var(--transition-quick);
    box-shadow: var(--shadow-sm);
  }

  .carousel-control-btn:active,
  .carousel-control-btn:hover {
    background: var(--color-white);
    color: var(--color-brand-coral);
    border-color: var(--color-gold);
  }

  .carousel-control-btn.prev {
    left: 10px;
  }

  .carousel-control-btn.next {
    right: 10px;
  }

  /* Puntos / Dots */
  .carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 5;
    background: rgba(44, 27, 24, 0.35);
    padding: 5px 10px;
    border-radius: 12px;
    backdrop-filter: blur(2px);
    max-width: 90%;
    overflow-x: auto;
    scrollbar-width: none;
  }
  
  .carousel-dots::-webkit-scrollbar {
    display: none;
  }

  .carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.45);
    cursor: pointer;
    transition: var(--transition-quick);
    flex-shrink: 0;
  }

  .carousel-dot.active {
    background: var(--color-white);
    transform: scale(1.3);
  }
}


/* ==========================================================================
   GESTOR DE CESTA GOURMET (CART DRAWER)
   ========================================================================== */
.btn-cart-toggle {
  background: none;
  border: none;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  color: var(--color-text-main);
  transition: var(--transition-quick);
  margin-right: -10px; /* Alineado fino */
}

.btn-cart-toggle:hover {
  color: var(--color-brand-coral);
  transform: scale(1.05);
}

.cart-icon {
  font-size: 1.35rem;
}

.cart-count-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  background-color: var(--color-accent-burdeos);
  color: var(--color-white);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 6px rgba(139, 38, 53, 0.3);
  transition: var(--transition-quick);
}

.cart-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(44, 27, 24, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background-color: rgba(253, 247, 245, 0.96); /* Crema rosada traslúcida */
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-left: 1px solid var(--color-border);
  box-shadow: -10px 0 40px rgba(44, 27, 24, 0.08);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.cart-header {
  padding: 24px 30px;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-title {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--color-text-main);
  letter-spacing: 0.02em;
}

.cart-close-btn {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--color-text-light);
  line-height: 1;
  transition: var(--transition-quick);
}

.cart-close-btn:hover {
  color: var(--color-brand-coral);
  transform: rotate(90deg);
}

.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 30px;
}

.cart-empty-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 60%;
  text-align: center;
  color: var(--color-text-muted);
}

.cart-empty-icon {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.3;
}

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

.cart-item {
  display: flex;
  gap: 16px;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(44, 27, 24, 0.05);
  animation: fadeIn 0.4s ease forwards;
}

.cart-item-img {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-name {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--color-text-main);
  margin-bottom: 4px;
}

.cart-item-price {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-brand-coral);
}

.cart-item-qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--color-border);
  border-radius: 4px;
  overflow: hidden;
  background-color: var(--color-white);
  height: 28px;
  margin-top: 8px;
  width: fit-content;
}

.cart-qty-btn {
  background: none;
  border: none;
  width: 28px;
  height: 100%;
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: var(--transition-quick);
}

.cart-qty-btn:hover {
  background-color: var(--color-bg-base);
  color: var(--color-brand-coral);
}

.cart-qty-val {
  width: 32px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-text-main);
}

.cart-item-remove {
  background: none;
  border: none;
  color: var(--color-text-light);
  cursor: pointer;
  font-size: 1.1rem;
  padding: 8px;
  transition: var(--transition-quick);
}

.cart-item-remove:hover {
  color: var(--color-error);
  transform: scale(1.1);
}

.cart-footer {
  padding: 24px 30px 30px 30px;
  border-top: 1px solid var(--color-border);
  background-color: var(--color-bg-crema);
}

.cart-delivery-selector {
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(44, 27, 24, 0.05);
  padding-bottom: 15px;
}

.selector-title {
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  display: block;
  margin-bottom: 10px;
}

.delivery-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.delivery-option {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--color-text-main);
  position: relative;
}

.delivery-option input[type="radio"] {
  display: none;
}

.option-custom-radio {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background-color: var(--color-white);
  display: inline-block;
  position: relative;
  transition: var(--transition-quick);
}

.delivery-option input[type="radio"]:checked + .option-custom-radio {
  border-color: var(--color-brand-coral);
  box-shadow: 0 0 0 3px rgba(223, 105, 92, 0.15);
}

.delivery-option input[type="radio"]:checked + .option-custom-radio::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background-color: var(--color-brand-coral);
}

.cart-summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.cart-summary-row.total-row {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-text-main);
  border-top: 1px solid var(--color-border);
  padding-top: 12px;
  margin-top: 12px;
  margin-bottom: 20px;
}

.btn-cart-checkout {
  width: 100%;
  background-color: var(--color-accent-burdeos);
  color: var(--color-white);
  border-color: var(--color-accent-burdeos);
  padding: 14px 20px;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-cart-checkout:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
}

/* Shimmer effect for catalog card addition */
.btn-add-to-cart {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-burdeos);
  border: 1px solid var(--color-accent-burdeos);
  background-color: rgba(139, 38, 53, 0.03);
  padding: 10px 15px;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-add-to-cart:hover {
  background-color: var(--color-accent-burdeos);
  color: var(--color-white);
}

@media (max-width: 480px) {
  .cart-drawer {
    max-width: 100%;
  }
}

/* Estilo sólido para botón de Cesta en Showcase Home */
.btn-showcase-action.solid {
  background-color: var(--color-accent-burdeos);
  border-color: var(--color-accent-burdeos);
  color: var(--color-white);
  cursor: pointer;
}

.btn-showcase-action.solid:hover {
  background-color: var(--color-accent-hover);
  border-color: var(--color-accent-hover);
  color: var(--color-white);
}

/* ==========================================================================
   DISEÑO EN 2 COLUMNAS Y SIMULADOR DE TARTAS 2D (CAKE CUSTOMIZER)
   ========================================================================== */
.cake-builder-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: start;
  margin-top: 30px;
}

.builder-form-side {
  width: 100%;
}

.cake-preview-sidebar {
  position: sticky;
  top: 100px;
  background-color: var(--color-bg-base);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow-premium);
  transition: var(--transition-smooth);
}

.cake-preview-sticky {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.cake-visual-canvas {
  width: 100%;
  aspect-ratio: 1 / 1.15;
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--color-border);
  padding: 15px;
  box-shadow: inset 0 2px 10px rgba(44, 27, 24, 0.04);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: transform 0.3s ease;
}

#cake-svg {
  width: 100%;
  height: 100%;
  max-height: 290px;
}

/* Animación de Latido al Actualizar */
.cake-pulse {
  animation: cakeBeat 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@keyframes cakeBeat {
  0% { transform: scale(1); }
  50% { transform: scale(1.04); box-shadow: inset 0 2px 12px rgba(197, 160, 89, 0.15), 0 5px 15px rgba(44, 27, 24, 0.05); }
  100% { transform: scale(1); }
}

/* Transiciones de opacidad para elementos SVG */
#cake-tier-top, #tier-bottom-rustico, #tier-top-rustico, #deco-gold, #deco-flowers, #deco-fruta, #flowers-cima-top, #frutas-top {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@media (max-width: 850px) {
  .cake-builder-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .cake-preview-sidebar {
    position: static;
    order: -1; /* Posiciona el lienzo interactivo arriba del formulario */
    padding: 20px;
    margin-bottom: 10px;
  }
  
  .cake-visual-canvas {
    aspect-ratio: 16 / 10;
  }
  
  #cake-svg {
    max-height: 220px;
  }
}

/* Formulario Próximamente con Tachado */
.form-card-upcoming-wrapper {
  position: relative;
}

.form-card-upcoming-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(255, 255, 255, 0.45);
  backdrop-filter: grayscale(50%) blur(1px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}

/* Línea diagonal de tachado */
.form-card-upcoming-overlay::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 49.5%, var(--color-brand-coral) 49.5%, var(--color-brand-coral) 50.5%, transparent 50.5%);
  pointer-events: none;
  opacity: 0.75;
}

.form-card-upcoming-badge {
  background-color: var(--color-accent-burdeos);
  color: var(--color-white);
  padding: 14px 35px;
  font-family: var(--font-sans);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  pointer-events: none;
  z-index: 12;
  transform: rotate(-5deg);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Ajustes de diseño móvil premium (max-width: 576px) */
@media (max-width: 576px) {
  .product-showcase-img-wrapper,
  .favorite-card-img-wrapper {
    aspect-ratio: 16 / 10 !important;
  }
  
  .product-showcase-img,
  .favorite-card-img {
    padding: 1.5rem !important;
  }

  .product-upcoming-badge {
    top: 10px !important;
    right: 10px !important;
    font-size: 0.6rem !important;
    padding: 4px 10px !important;
  }
}

