/* =========================================
   CSS Reset & Variables — Morita's Boutique
   ========================================= */
:root {
  /* ── Color Palette ── */
  --color-purple-deep:  #2D0845;
  --color-purple-mid:   #4A1070;
  --color-purple-light: #7B3FA0;
  --color-gold:         #C9A84C;
  --color-gold-light:   #E6C96A;
  --color-gold-dark:    #9A7A30;

  /* ── Marble / Light Tones ── */
  --color-marble:       #F6F3F9;   /* base mármol */
  --color-marble-warm:  #F7F2EC;   /* sección alternada */
  --color-cream:        #FAF7F2;   /* fondo tarjetas */
  --color-beige-warm:   #EDE0CE;   /* imagen placeholder */

  /* ── Text ── */
  --color-text-dark:    #1C0A2E;
  --color-text-body:    #3D2857;
  --color-text-muted:   #7D6A94;
  --color-white:        #FFFFFF;

  /* ── WhatsApp ── */
  --color-wa:       #25D366;
  --color-wa-hover: #1EBE5D;

  /* ── Typography ── */
  --font-heading: 'Playfair Display', serif;
  --font-body:    'Outfit', sans-serif;
  --font-cursive: 'Great Vibes', cursive;
  --font-roboto: 'Roboto', sans-serif;

  /* ── Radii ── */
  --radius-sm:   8px;
  --radius-md:   16px;
  --radius-lg:   24px;
  --radius-pill: 50px;

  /* ── Transitions ── */
  --transition-fast: all 0.2s ease;
  --transition:      all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);

  /* ── Shadows ── */
  --shadow-sm:     0 2px 10px rgba(45,8,69,0.07);
  --shadow-md:     0 8px 28px rgba(45,8,69,0.12);
  --shadow-lg:     0 20px 50px rgba(45,8,69,0.2);
  --shadow-gold:   0 4px 20px rgba(201,168,76,0.32);
  --shadow-purple: 0 4px 20px rgba(74,16,112,0.38);

  /* ── Marble texture path ── */
  --marble-url: url('../img/agata-bg.webp');
}

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

html { scroll-behavior: smooth; font-size: 16px; }

/* ── FONDO GLOBAL (Mobile First) ──
   Páginas de catálogo. La landing sobreescribe con su propio hero.
   cover + no-repeat + fixed: nunca se repite como mosaico, incluso
   en pantallas anchas y al hacer scroll por muchos productos.
*/
body {
  font-family: var(--font-body);
  color: var(--color-text-body);
  background-color: var(--color-marble);
  /* Móvil: ágata/geoda */
  background-image: 8E4585;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Desktop/Tablet (≥768px): imagen horizontal */
@media (min-width: 768px) {
  body {
    background-image: url('../img/laptop-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

/* Landing has its own full dark hero — override marble */
body.landing-body {
  background-color: var(--color-purple-deep);
  background-image: none;
}

/* Marble-hero variant: landing con su propio .hero-bg — body sin fondo propio */
body.landing-body.marble-hero {
  background-color: var(--color-marble);
  background-image: none;
}

img { max-width: 100%; height: auto; display: block; }
a   { text-decoration: none; color: inherit; }
ul  { list-style: none; }

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

/* =========================================
   Layout
   ========================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

/* =========================================
   Animations
   ========================================= */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
@keyframes pulse-wa {
  0%   { box-shadow: 0 0 0 0    rgba(37,211,102,0.55); }
  70%  { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0    rgba(37,211,102,0); }
}
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-6px); }
}

.fade-in-up { animation: fadeInUp 0.9s ease-out both; }
.fade-in    { animation: fadeIn  0.7s ease-out both; }
.delay-1    { animation-delay: 0.15s; }
.delay-2    { animation-delay: 0.30s; }
.delay-3    { animation-delay: 0.45s; }

/* =========================================
   Buttons
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Asegurar que los textos largos en botones no se recorten en pantallas móviles */
.btn, [class*="btn-"] {
  white-space: normal;
  text-align: center;
  line-height: 1.25;
  padding-left: 14px;
  padding-right: 14px;
  font-size: clamp(0.85rem, 3.2vw, 1rem);
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
  background-size: 200% 100%;
  opacity: 0;
  transition: opacity 0.3s;
}
.btn:hover::before { opacity: 1; animation: shimmer 0.7s linear; }

.btn-primary {
  background: linear-gradient(135deg, var(--color-purple-mid), var(--color-purple-deep));
  color: var(--color-white);
  box-shadow: var(--shadow-purple);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(74,16,112,0.55);
  background: linear-gradient(135deg, var(--color-purple-light), var(--color-purple-mid));
}

.btn-gold {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-purple-deep);
  box-shadow: var(--shadow-gold);
}
.btn-gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(201,168,76,0.6);
  background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.15);
  border-color: var(--color-white);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-wa);
  color: var(--color-white);
  box-shadow: 0 4px 15px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover {
  background-color: var(--color-wa-hover);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(37,211,102,0.5);
}

.btn-full { width: 100%; }
.btn-lg   { padding: 18px 44px; font-size: 1.1rem; }

/* =========================================
   INDEX — Landing Hero (Ágata & Oro)
   ========================================= */
/* 1. Contenedor base con Flexbox para mantener todo centrado */
.hero-landing {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 40px 20px;
  background-color: #d3cadb00; /* Base lila casi imperceptible */
}

/* 2. Fondo base — Mobile First: textura Ágata/Geoda */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../img/agata-bg.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
}

/* 2b. Desktop/Tablet (≥768px): sustituye por imagen horizontal */
@media (min-width: 768px) {
  .hero-bg {
    background-image: url('../img/laptop-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

/* 3. Filtro radial: foco de luz suave solo en el centro */
.hero-overlay {
  display: block;
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.75) 20%, rgba(255, 255, 255, 0.25) 85%);
  z-index: 1;
  pointer-events: none;
}

/* 4. Contenedor central (crítico para alinear los elementos internos) */
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  margin-inline: auto;
}

/* 4b. Glassmorphism panel OScURO — La nueva "Cápsula de Lujo" */
.hero-text-panel {
  background: #531F7C; /* Fondo morado oscuro */
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 24px;
  border: 4px solid var(--color-gold); /* Borde dorado */
  padding: 36px 28px 32px;
  margin-bottom: 28px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5); /* Sombra profunda */
}

@media (min-width: 768px) {
  .hero-text-panel {
    padding: 44px 52px 40px;
  }
}

/* Asegurar que el contenedor permita el crecimiento */
.hero-logo-wrap,
.brand-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px auto 20px;
  width: 100%; /* El contenedor ocupa el ancho disponible */
}

/* Forzar el tamaño del logo */
.hero-logo-wrap img,
.brand-logo img {
  width: 250px !important; /* Forzamos un tamaño mayor para móvil */
  height: auto !important;
  max-width: 90vw !important; /* Evita que desborde pantallas muy pequeñas */
  border-radius: 50%;
  display: block;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

/* Aumentar en PC si es necesario */
@media (min-width: 768px) {
  .hero-logo-wrap img,
  .brand-logo img {
    width: 200px !important; 
  }
}

/* 1. Título principal: Relleno morado y borde dorado */
.brand-name {
  display: flex;
  flex-direction: column; 
  align-items: center;
  gap: 5px;
  /* El secreto está aquí: color transparente */
  color: transparent; 
  -webkit-text-stroke: 1.5px var(--color-gold, #C9A84C);
  text-shadow: 2px 2px 10px rgba(0,0,0,0.15); /* Sombra más sutil */
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 9vw, 5.5rem); /* Conservado del original para responsividad */
}

/* 2. "Morita's": Cursiva y elegante */
.brand-name .brand-moritas {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 700;
  font-size: 1.2em; /* Ligeramente más grande para compensar la cursiva */
}

/* 3. "Boutique": Letra de molde (sin serifas, recta y en mayúsculas) */
.brand-name .brand-boutique {
  font-family: 'Inter', sans-serif;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase; /* Fuerza la letra de molde */
  /* letter-spacing: 0.15em; /* Separación elegante entre letras */
  font-size: 1em;
}

.brand-tagline {
  font-family: var(--font-cursive);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.85); /* Blanco para leerse en oscuro */
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
  text-shadow: none;
}

/* 1. Estilos para el versículo bíblico debajo del logo */
.hero-verse {
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-cursive);
  font-style: italic;
  font-size: 1.3rem;
  line-height: 1.5;
  margin: 0 auto 24px;
  max-width: 85%;
  text-align: center;
}
.hero-verse strong {
  display: block;
  color: #f5c452;
  font-weight: 700;
  font-style: normal;
  margin-bottom: 4px;
  font-size: 1.4rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-intro {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.85); /* Blanco para leerse en oscuro */
  max-width: 520px;
  margin-inline: auto;
  margin-bottom: 36px;
  line-height: 1.7;
  font-weight: 500;
  text-shadow: none;
}

.gold-divider {
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  margin: 0 auto 40px;
  margin-top: 22px;
  margin-bottom: 0;
}

/* =========================================
   NUEVAS TARJETAS PREMIUM DE CATÁLOGO (INDEX)
   ========================================= */
.region-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 8px;
  width: 100%;
}

.premium-region-card {
  background: #FFFDF9;
  border: 4px solid var(--color-gold);
  border-radius: 20px;
  padding: 26px 20px 20px;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(45, 8, 69, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.premium-region-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(45, 8, 69, 0.25);
}

/* Etiqueta Superior */
.pr-badge-wrap { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 10px; 
  margin-bottom: 18px; 
}
.pr-line { 
  height: 1.5px; 
  background: var(--color-gold); 
  width: 25px; 
}
.pr-badge {
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-purple-deep);
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 6px;
}

/* Bloque Héroe (Bandera, Título e Imagen lateral) */
.pr-hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  position: relative;
  gap: 10px; /* Asegura separación entre texto e imagen */
}
.pr-hero-text { 
  flex: 1; 
  text-align: left; 
}
.pr-flag { 
  font-size: 2.3rem; 
  display: block; 
  margin-bottom: 4px; 
}
.pr-title {
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 7vw, 2.5rem); /* Ajuste dinámico del título para que no choque */
  color: var(--color-purple-deep);
  line-height: 1.1;
  margin-bottom: 8px;
}
.pr-swoosh {
  width: 60px; 
  height: 3px;
  background: var(--color-gold);
  border-radius: 5px;
  transform: rotate(-2deg);
}

.pr-hero-img {
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 0 0 45%; /* Le da a la imagen un ancho base del 45% del espacio */
  max-width: 160px; 
}
.pr-hero-img img { 
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1; /* Fuerza un formato cuadrado perfecto */
  object-fit: cover !important; /* Rellena el cuadro sin deformar/aplastar los productos */
  border-radius: 16px; /* Bordes redondeados para un look de catálogo premium */
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

/* Fila de Iconos de Categoría */
.pr-categories {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 18px;
}
.pr-cat { 
  display: flex; 
  flex-direction: column; 
  align-items: center; 
  gap: 6px;
  flex: 1; 
}
.pr-icon {
  width: 42px; 
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-purple-deep);
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 1.15rem;
  background: rgba(255, 255, 255, 0.6);
}
.pr-cat span { 
  font-size: 0.68rem; 
  color: var(--color-purple-deep); 
  font-weight: 600; 
  text-align: center; 
  line-height: 1.2; 
}
.pr-dot { 
  width: 4px; 
  height: 4px; 
  background: var(--color-gold); 
  border-radius: 50%; 
  align-self: center; 
  margin-top: -14px;
}

/* Descripción y Divisor */
.pr-desc {
  font-style: italic;
  font-size: 1rem;
  color: var(--color-purple-deep);
  text-align: center;
  font-weight: 500;
  margin-bottom: 30px !important; /* Aumentado para dar respiro antes del botón */
  margin-top: auto;
}
.pr-divider { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 10px; 
  margin-bottom: 20px; 
  color: var(--color-gold); 
}
.pr-div-line { 
  height: 1px; 
  background: var(--color-gold); 
  width: 50px; 
}
.pr-heart { 
  font-size: 1.1rem; 
  line-height: 1; 
}

/* Botón y Destellos */
.pr-action-wrap {
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 12px; 
  margin-bottom: 14px;
}
.pr-btn {
  display: inline-block;
  text-decoration: none; /* Evita que el texto del enlace se subraye */
  background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
  color: var(--color-white);
  padding: 13px 26px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
  text-align: center;
}
.pr-sparks { 
  display: flex; 
  flex-direction: column; 
  gap: 6px; 
}
.pr-sparks span { 
  display: block; 
  height: 2px; 
  width: 12px; 
  background: var(--color-gold); 
  border-radius: 2px; 
}
.pr-sparks.left span:nth-child(1) { transform: rotate(-30deg); width: 14px; }
.pr-sparks.left span:nth-child(2) { width: 9px; margin-left: -4px; }
.pr-sparks.left span:nth-child(3) { transform: rotate(30deg); width: 14px; }
.pr-sparks.right span:nth-child(1) { transform: rotate(30deg); width: 14px; }
.pr-sparks.right span:nth-child(2) { width: 9px; margin-left: 4px; }
.pr-sparks.right span:nth-child(3) { transform: rotate(-30deg); width: 14px; }

/* Hint Final */
.pr-hint { 
  display: flex; 
  align-items: center; 
  justify-content: center; 
  gap: 8px; 
  color: var(--color-purple-deep); 
  font-size: 0.75rem; 
  font-weight: 600; 
  opacity: 0.85; 
}

/* landing footer - Margen unificado con la separación de los bloques */
.landing-footer {
  position: relative;
  z-index: 2;
  margin-top: 24px; /* Reducido de 60px a 24px para que coincida con el gap */
  text-align: center;
}

.landing-footer p {
  display: inline-block;
  background: #1A0228; /* Fondo de píldora oscuro */
  color: #FFFFFF;
  border: 1.5px solid var(--color-gold);
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  text-transform: uppercase;
  margin: 0;
}

/* =========================================
   CATALOG — Sticky Header
   ========================================= */

/* The header sits on a glass surface synced with the page background */
.catalog-header {
  position: sticky;
  top: 0;
  z-index: 200;
  background-color: rgba(253, 251, 248, 0.88);
  background-image: none; /* No heredamos el fondo tileado, solo el color base */
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(201, 168, 76, 0.22);
  padding: 14px 0;
  box-shadow: 0 2px 12px rgba(45, 8, 69, 0.06);
  transition: box-shadow 0.3s;
}
.catalog-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.header-logo-link { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.header-logo-img  { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(201,168,76,0.5); }
.header-brand-name { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--color-purple-deep); white-space: nowrap; }
.header-brand-name span { color: var(--color-gold-dark); }

.header-region-pill {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  flex-shrink: 0;
}
.pill-leon    { background: linear-gradient(135deg, var(--color-purple-mid), var(--color-purple-deep)); color: var(--color-white); }
.pill-hayward { background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark)); color: var(--color-purple-deep); }

.search-container {
  position: relative;
  flex: 1;
  min-width: 180px;
  max-width: 480px;
  margin-left: auto;
}
.search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--color-text-muted);
  pointer-events: none;
}
.search-input {
  width: 100%;
  padding: 11px 16px 11px 46px;
  border: 1.5px solid rgba(201,168,76,0.3);
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.95rem;
  /* glass over marble */
  background: rgba(253,251,248,0.75);
  color: var(--color-text-dark);
  transition: var(--transition);
}
.search-input::placeholder { color: var(--color-text-muted); font-style: italic; }
.search-input:focus {
  outline: none;
  border-color: var(--color-purple-mid);
  background: rgba(255,255,255,0.95);
  box-shadow: 0 0 0 3px rgba(74,16,112,0.1);
}

.header-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--color-purple-mid);
  border: 1.5px solid rgba(74,16,112,0.25);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  transition: var(--transition);
  flex-shrink: 0;
  background: rgba(255,255,255,0.6);
}
.header-home-btn:hover {
  background: var(--color-purple-mid);
  color: var(--color-white);
  border-color: var(--color-purple-mid);
}

/* ── Hero Band (catalog pages) ──
   Dark band contrasts with the light marble page.
*/
.catalog-hero-band {
  background: linear-gradient(135deg, var(--color-purple-deep) 0%, var(--color-purple-mid) 100%);
  padding: 52px 0 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.catalog-hero-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../img/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.1;
}
.catalog-hero-band::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.catalog-hero-inner { position: relative; z-index: 1; }
.catalog-eyebrow   { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 10px; }
.catalog-title     { font-size: clamp(2rem, 5vw, 3rem); color: var(--color-white); margin-bottom: 10px; }
.catalog-title em  { color: var(--color-gold-light); font-style: normal; }
.catalog-subtitle  { color: rgba(255,255,255,0.62); font-size: 0.98rem; max-width: 480px; margin-inline: auto; }

/* ── Product Grid ── */
.catalog-main { padding: 52px 0 80px; }

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 28px;
}

/* Cards float over the marble — white glass effect */
.product-card {
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.18);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201,168,76,0.48);
  background: rgba(255,255,255,0.96);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #FFFFFF; /* Cambiado a blanco para fusionarse con la pared de la foto */
}
.product-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

/* Botellas/fragancias/jabones capturadas en horizontal: enderezadas sin zoom excesivo */
.rotate-img {
  object-fit: contain !important; /* Muestra el envase entero */
  transform: rotate(90deg) scale(1.45); /* Bajamos de 1.35 a 0.85 para quitar el zoom */
  transform-origin: center center;
}
.product-card:hover .product-img:not(.rotate-img) { transform: scale(1.07); }
.product-card:hover .rotate-img { transform: rotate(90deg) scale(1.3); } /* Hover sutil */

.product-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(45,8,69,0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.35s;
}
.product-card:hover .product-img-overlay { opacity: 1; }

.product-overlay-text {
  color: var(--color-white);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1.5px solid rgba(255,255,255,0.7);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
}

.product-info {
  padding: 18px 20px 22px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.product-category { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-gold-dark); }
.product-title    { font-family: var(--font-body); font-size: 0.98rem; font-weight: 600; color: var(--color-text-dark); line-height: 1.3; }
.product-price    { font-size: 1.15rem; font-weight: 700; color: var(--color-purple-mid); margin-top: 4px; }

.no-results { text-align: center; padding: 60px 20px; color: var(--color-text-muted); font-size: 1.05rem; grid-column: 1/-1; }
.no-results.hidden { display: none; }

/* =========================================
   Modal <dialog>
   ========================================= */
.product-modal {
  margin: auto;
  border: none;
  border-radius: var(--radius-lg);
  padding: 0;
  max-width: 720px;
  width: 90%;
  /* Modal itself also shows marble */
  background-color: var(--color-marble);
  background-image: var(--marble-url);
  background-size: 600px 600px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  transform: scale(0.94) translateY(24px);
  transition: opacity 0.35s ease, transform 0.35s ease;
  overflow: hidden;
}
.product-modal[open] { opacity: 1; transform: scale(1) translateY(0); }

.product-modal::backdrop {
  background: rgba(26,4,42,0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.35s ease;
}
.product-modal[open]::backdrop { opacity: 1; }

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 20;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.92);
  color: var(--color-text-dark);
  font-size: 1.25rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.modal-close:hover {
  background: var(--color-purple-mid);
  color: var(--color-white);
  transform: rotate(90deg);
}

.modal-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 480px; /* Aumenta el alto general para dar espacio vertical */
}

/* 1. Fondo blanco puro para que la pared de la foto se fusione sin bordes */
.modal-img-col {
  background: #FFFFFF; 
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

/* Imagen estándar (Carteras, Biblias, Ropa) */
.modal-img-col img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  display: block; 
}

/* 2. Escalamos la imagen agresivamente para que toque los bordes superior e inferior */
.modal-img-col img.rotate-img {
  transform: rotate(90deg) scale(1.45); /* Aumentamos de 0.68 a 1.45 */
  object-fit: contain;
  max-height: none;
}

/* Info column: solid white so text stays crisp over marble bg */
.modal-info-col {
  padding: clamp(28px, 5vw, 48px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  background: rgba(255,255,255,0.88);
}

.modal-eyebrow { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-gold-dark); }
.modal-title   { font-size: clamp(1.4rem, 3vw, 2rem); color: var(--color-text-dark); line-height: 1.15; }
.modal-price   { font-size: 1.55rem; font-weight: 700; color: var(--color-purple-mid); }
.modal-divider { width: 50px; height: 2px; background: linear-gradient(90deg, var(--color-gold), transparent); }
.modal-desc    { font-size: 0.93rem; color: var(--color-text-muted); line-height: 1.75; }
.modal-wa-btn  { margin-top: 6px; }

@media (max-width: 660px) {
  .modal-inner { 
    grid-template-columns: 1fr; 
    min-height: auto; 
  }
  .modal-img-col { 
    min-height: 320px; 
    max-height: 360px; 
  }
  .modal-img-col img { 
    max-height: 360px; 
  }
  .modal-img-col img.rotate-img {
    transform: rotate(90deg) scale(1.3);
  }
  .modal-info-col { 
    background: rgba(255,255,255,0.95); 
  }
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
  background: linear-gradient(135deg, var(--color-purple-deep), #1A0228);
  padding: 56px 0 24px;
  color: rgba(255,255,255,0.85); /* Subido de 0.65 para mejor lectura base */
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 40px;
  margin-bottom: 44px;
}

.footer-logo-wrap { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-logo-img  { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; border: 1.5px solid rgba(201,168,76,0.4); }
.footer-brand-name { font-family: var(--font-heading); font-size: 1.4rem; color: var(--color-white); }
.footer-brand-name span { color: var(--color-gold-light); }
.footer-tagline { font-size: 0.87rem; color: rgba(255,255,255,0.72); line-height: 1.6; } /* Subido de 0.42 */

.footer-col-title { font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-gold); margin-bottom: 18px; }

.footer-links li { margin-bottom: 10px; }
.footer-links a  { color: rgba(255,255,255,0.75); font-size: 0.88rem; transition: var(--transition-fast); } /* Subido de 0.5 */
.footer-links a:hover { color: var(--color-gold-light); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.87rem;
  color: rgba(255,255,255,0.78); /* Subido de 0.5 */
  margin-bottom: 10px;
  line-height: 1.5;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(201,168,76,0.22); /* Cambio a dorado sutil en vez de blanco opaco */
  font-size: 0.8rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72); /* Subido radicalmente de 0.28 a 0.72 */
  letter-spacing: 0.08em;
}

/* Alternativa: Cápsula flotante legible */
footer p,
.landing-footer p {
  display: inline-block;
  background: #1A0228 !important;
  color: #FFFFFF !important;
  border: 1.5px solid var(--color-gold) !important;
  padding: 10px 24px;
  border-radius: 50px;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.1em;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

/* =========================================
   Floating WhatsApp
   ========================================= */
.floating-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-wa);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
  animation: pulse-wa 2.5s infinite;
}
.floating-wa:hover { background-color: var(--color-wa-hover); transform: scale(1.12); animation: none; }

/* =========================================
   Scroll-reveal
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* =========================================
   Responsive
   ========================================= */
@media (max-width: 768px) {
  .header-inner { flex-wrap: wrap; gap: 10px; }
  .search-container { order: 3; max-width: 100%; width: 100%; }
  .header-home-btn .btn-label { display: none; }
  .region-cards { grid-template-columns: 1fr; max-width: 360px; margin-inline: auto; }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
}

@media (max-width: 480px) {
  .btn-lg { padding: 15px 28px; font-size: 0.98rem; }
  .catalog-hero-band { padding: 36px 0 28px; }
}

/* =========================================
   NUEVA ESTRUCTURA: BANNER SUPERIOR
   ========================================= */
.pr-banner-img {
  width: 100%;
  margin-bottom: 20px;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,0.12);
}

.pr-banner-img img {
  width: 100%;
  height: auto; /* Mantiene la proporción original de la foto sin recortes ni zoom */
  display: block;
  transition: transform 0.4s ease;
}

.premium-region-card:hover .pr-banner-img img {
  transform: scale(1.05); /* Ligero zoom al pasar el mouse */
}

/* Contenedor del título centrado */
.pr-header-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 24px;
}

.pr-header-text .pr-flag {
  font-size: 2rem;
  margin-bottom: 4px;
}

.pr-header-text .pr-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 8vw, 2.8rem);
  color: var(--color-purple-deep);
  line-height: 1.1;
  margin-bottom: 10px;
}

.pr-header-text .pr-swoosh {
  width: 60px;
  height: 3px;
  background: var(--color-gold);
  border-radius: 5px;
  transform: rotate(-2deg);
  margin: 0 auto; /* Centrar el subrayado */
}
