/**
 * =============================================================================
 * TEMA: VELADORAS SANTA MARÍA - HOJA DE ESTILOS PRINCIPAL
 * =============================================================================
 * Paleta Oficial:
 *   Amarillo Flama: #fdd400 (Énfasis, Luz, CTA de Conversión)
 *   Azul Mariano:   #011689 (Identidad, Tradición, Encabezados)
 *
 * Basado en la arquitectura visual de tiendas de veladoras y ceras devocionales.
 */

:root {
  /* 1. Colores Primarios y Escalas */
  --color-yellow: #fdd400;
  --color-yellow-hover: #e6c000;
  --color-yellow-active: #bf9f00;
  --color-yellow-tint: #fffde6;
  --color-yellow-border: #fff8b8;

  --color-blue: #011689;
  --color-blue-hover: #011066;
  --color-blue-active: #010a3e;
  --color-blue-dark: #010624;
  --color-blue-light: #eff3ff;
  --color-blue-border: #dbe4fe;

  /* 2. Superficies y Neutros */
  --bg-body: #faf9f6;
  --bg-card: #ffffff;
  --bg-alt: #f4f6fc;
  
  --text-main: #0b1338;
  --text-muted: #526077;
  --text-light: #94a3b8;
  --text-white: #ffffff;

  --border-subtle: #e2e8f0;
  --border-focus: #011689;

  /* 3. Sombras Tonalizadas */
  --shadow-sm: 0 2px 6px -1px rgba(1, 22, 137, 0.05);
  --shadow-md: 0 8px 24px -4px rgba(1, 22, 137, 0.09);
  --shadow-lg: 0 16px 36px -6px rgba(1, 22, 137, 0.15);
  --shadow-glow-yellow: 0 8px 24px -2px rgba(253, 212, 0, 0.50);
  --shadow-glow-blue: 0 8px 24px -2px rgba(1, 22, 137, 0.35);

  /* 4. Tipografías y Espaciados */
  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Playfair Display', Georgia, serif;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* =============================================================================
   RESET Y ESTILOS BASE
   ============================================================================= */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  font-family: inherit;
}

.container-vsm {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}

.mb-6 { margin-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.w-full { width: 100%; }

/* =============================================================================
   BOTONES Y COMPONENTES GLOBALES
   ============================================================================= */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--color-yellow);
  color: var(--color-blue);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow-yellow);
  transition: var(--transition);
  text-transform: none;
}

.btn-primary:hover {
  background-color: var(--color-yellow-hover);
  color: var(--color-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -2px rgba(253, 212, 0, 0.70);
}

.btn-primary:active {
  background-color: var(--color-yellow-active);
  transform: translateY(0);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--color-blue);
  color: var(--text-white);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-glow-blue);
  transition: var(--transition);
}

.btn-secondary:hover {
  background-color: var(--color-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -2px rgba(1, 22, 137, 0.50);
}

.btn-large {
  font-size: 1.1rem;
  padding: 1rem 2.25rem;
}

/* =============================================================================
   TOP ANNOUNCEMENT BAR
   ============================================================================= */
.top-announcement-bar {
  background-color: var(--color-blue-dark);
  color: var(--color-yellow);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  padding: 0.45rem 1rem;
  letter-spacing: 0.03em;
}

/* =============================================================================
   HEADER PRINCIPAL
   ============================================================================= */
.site-header-vsm {
  background-color: var(--bg-card);
  border-bottom: 1px solid var(--border-subtle);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(1, 22, 137, 0.04);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

/* Logotipo Oficial */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  transition: transform 0.25s ease;
  filter: drop-shadow(0 2px 5px rgba(1, 22, 137, 0.18));
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.06);
}

.logo-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-blue);
  font-family: var(--font-heading);
  letter-spacing: -0.01em;
}

.logo-subtitle {
  font-size: 0.8rem;
  font-weight: 700;
  color: #b8860b;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.drawer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.drawer-logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.drawer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

/* Botón Hamburguesa "Menú" */
.btn-menu-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.5rem 0.85rem;
  cursor: pointer;
  font-weight: 700;
  color: var(--color-blue);
  transition: var(--transition);
}

.btn-menu-toggle:hover {
  background-color: var(--color-blue-light);
  border-color: var(--color-blue-border);
}

.hamburger-icon {
  display: flex;
  flex-direction: column;
  gap: 3.5px;
  width: 18px;
}

.hamburger-icon span {
  display: block;
  height: 2.2px;
  background-color: var(--color-blue);
  border-radius: 2px;
}

/* Buscador de Productos */
.header-search-col {
  flex: 1;
  max-width: 480px;
}

.search-form-vsm {
  display: flex;
  position: relative;
  width: 100%;
}

.search-input-vsm {
  width: 100%;
  padding: 0.65rem 3.2rem 0.65rem 1.1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  color: var(--text-main);
  background-color: #ffffff;
  outline: none;
  transition: var(--transition);
}

.search-input-vsm:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(1, 22, 137, 0.12);
}

.search-submit-vsm {
  position: absolute;
  right: 4px;
  top: 4px;
  bottom: 4px;
  width: 38px;
  background-color: var(--color-blue);
  color: var(--text-white);
  border: none;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.search-submit-vsm:hover {
  background-color: var(--color-blue-hover);
}

/* Acciones del Header */
.header-actions-col {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Botón Ofertas estilo insignia */
.btn-ofertas-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: var(--color-yellow);
  color: var(--color-blue);
  font-weight: 800;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(253, 212, 0, 0.4);
  transition: var(--transition);
}

.btn-ofertas-badge:hover {
  background-color: var(--color-yellow-hover);
  transform: translateY(-1px);
}

.header-nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  padding: 0.4rem 0.6rem;
  transition: var(--transition);
}

.header-nav-link:hover,
.header-nav-link.active {
  color: var(--color-blue);
  font-weight: 700;
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-blue);
  padding: 0.4rem;
  position: relative;
  transition: var(--transition);
}

.header-icon-btn:hover {
  color: var(--color-blue-hover);
  transform: scale(1.08);
}

.cart-counter-badge {
  position: absolute;
  top: -2px;
  right: -4px;
  background-color: var(--color-yellow);
  color: var(--color-blue);
  font-size: 0.72rem;
  font-weight: 800;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--bg-card);
}

/* =============================================================================
   DRAWER MENÚ MÓVIL
   ============================================================================= */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(1, 10, 62, 0.6);
  backdrop-filter: blur(3px);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-drawer-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mobile-nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 320px;
  max-width: 85vw;
  background-color: #ffffff;
  z-index: 1060;
  transform: translateX(-100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  box-shadow: 4px 0 25px rgba(0, 0, 0, 0.15);
}

.mobile-nav-drawer.active {
  transform: translateX(0);
}

.drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 1.25rem;
}

.btn-drawer-close {
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--text-muted);
}

.drawer-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.drawer-nav-list a {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-main);
  transition: var(--transition);
}

.drawer-nav-list a:hover,
.drawer-nav-list a.active {
  background-color: var(--color-blue-light);
  color: var(--color-blue);
}

.drawer-nav-list a.highlight-link {
  background-color: var(--color-yellow-tint);
  color: #665400;
  font-weight: 700;
}

.drawer-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

/* =============================================================================
   1. HERO BANNER PRINCIPAL
   ============================================================================= */
/* =============================================================================
   1. HERO BANNER PRINCIPAL ESTÁTICO (ANCHO COMPLETO)
   ============================================================================= */
.hero-banner-section {
  width: 100%;
  padding: 0;
  margin: 0;
  background-color: #011689;
  overflow: hidden;
}

.hero-banner-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 4128 / 1024;
  max-height: 480px;
  margin: 0 auto;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #011689;
}

.hero-banner-link {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  text-decoration: none;
  line-height: 0;
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  margin: 0 auto;
  transition: transform 0.4s ease;
}

.hero-banner-link:hover .hero-banner-img {
  transform: scale(1.01);
}

@media (max-width: 768px) {
  .hero-banner-container {
    aspect-ratio: auto;
    height: clamp(180px, 45vw, 240px);
  }
}

@media (max-width: 480px) {
  .hero-banner-container {
    aspect-ratio: auto;
    height: clamp(160px, 50vw, 210px);
  }
}

.hero-slider-section {
  width: 100%;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

.hero-slider-container {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  background-color: #0b1338;
}

.hero-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.hero-slide {
  flex: 0 0 100%;
  width: 100%;
  position: relative;
  height: clamp(280px, 32vw, 500px);
  overflow: hidden;
  user-select: none;
}

.hero-slide-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  text-decoration: none;
  overflow: hidden;
}

.hero-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.8s ease;
}

.hero-slide-link:hover .hero-slide-img {
  transform: scale(1.02);
}

/* Flechas de navegación */
.hero-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  padding: 0;
}

.hero-slider-prev {
  left: 1.5rem;
}

.hero-slider-next {
  right: 1.5rem;
}

.hero-slider-arrow:hover {
  background: var(--color-yellow);
  color: var(--color-blue);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 6px 20px rgba(253, 212, 0, 0.5);
}

/* Puntos de paginación */
.hero-slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(1, 10, 62, 0.55);
  backdrop-filter: blur(6px);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-dot.active {
  width: 28px;
  border-radius: 5px;
  background: var(--color-yellow);
  box-shadow: 0 0 8px rgba(253, 212, 0, 0.7);
}

/* Responsivo para el slider */
@media (max-width: 991px) {
  .hero-slide {
    height: clamp(240px, 35vw, 380px);
  }

  .hero-slider-arrow {
    width: 40px;
    height: 40px;
  }

  .hero-slider-prev {
    left: 1rem;
  }

  .hero-slider-next {
    right: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-slide {
    height: clamp(200px, 42vw, 300px);
  }

  .hero-slider-arrow {
    width: 36px;
    height: 36px;
  }

  .hero-slider-prev {
    left: 0.5rem;
  }

  .hero-slider-next {
    right: 0.5rem;
  }

  .hero-slider-dots {
    bottom: 0.75rem;
    padding: 0.3rem 0.6rem;
    gap: 0.4rem;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .hero-dot.active {
    width: 22px;
  }
}

@media (max-width: 480px) {
  .hero-slide {
    height: clamp(170px, 50vw, 240px);
  }
}

/* Atajo a Ubicacion en el Banner */
.hero-slider-location-btn {
  position: absolute;
  bottom: 1.25rem;
  right: 1.5rem;
  z-index: 10;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(1, 10, 62, 0.78);
  backdrop-filter: blur(8px);
  color: #ffffff;
  padding: 0.45rem 1.05rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
  text-decoration: none;
  cursor: pointer;
}

.hero-slider-location-btn svg {
  color: var(--color-yellow);
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.hero-slider-location-btn:hover {
  background: var(--color-yellow);
  color: var(--color-blue);
  border-color: var(--color-yellow);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(253, 212, 0, 0.5);
}

.hero-slider-location-btn:hover svg {
  color: var(--color-blue);
  transform: scale(1.15);
}

@media (max-width: 768px) {
  .hero-slider-location-btn {
    bottom: 0.75rem;
    right: 0.75rem;
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    gap: 0.35rem;
  }
}

/* Desplazamiento suave con margen para cabecera fija */
#ubicacion,
.store-location-section {
  scroll-margin-top: 85px;
}

/* =============================================================================
   2. CINTILLO INSTITUCIONAL DE PROPUESTA DE VALOR
   ============================================================================= */
.brand-value-strip {
  padding: 1.75rem 0;
  text-align: center;
}

.value-statement {
  font-size: clamp(1rem, 1.8vw, 1.28rem);
  font-weight: 700;
  color: #526077;
  max-width: 880px;
  margin: 0 auto;
  line-height: 1.5;
}

/* =============================================================================
   3. SECCIÓN: CONOCE MÁS SOBRE NOSOTROS (Historia & Video)
   ============================================================================= */
.about-split-section {
  padding: 2.5rem 0;
}

.split-card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background-color: #ffffff;
}

.split-text-box {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-text-box.bg-navy {
  background-color: var(--color-blue);
  color: #ffffff;
}

.split-tag {
  color: var(--color-yellow);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.split-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #ffffff;
}

.split-p {
  font-size: 1.05rem;
  color: #dbe4fe;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.link-yellow-underline {
  color: var(--color-yellow);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: 0.95rem;
  transition: var(--transition);
}

.link-yellow-underline:hover {
  color: #ffffff;
}

.split-image-box img,
.split-image-box svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 340px;
}

.section-heading-center {
  text-align: center;
  margin-top: 3.5rem;
  margin-bottom: 2rem;
}

.heading-clean {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: #64748b;
}

/* Video Preview Container */
.video-preview-container {
  position: relative;
  height: 100%;
  min-height: 340px;
  background-color: #0b1338;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-thumbnail-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.88;
}

.video-play-btn {
  position: absolute;
  width: 68px;
  height: 68px;
  background-color: var(--color-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 30px rgba(253, 212, 0, 0.7);
  transition: var(--transition);
}

.video-play-btn:hover {
  transform: scale(1.12);
  background-color: #ffffff;
}

.video-caption-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 600;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.split-quote {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.3;
  color: #ffffff;
  margin-bottom: 1rem;
}

.split-quote-sub {
  color: #dbe4fe;
  font-size: 1rem;
}

/* =============================================================================
   TEASER INSTITUCIONAL EN PORTADA
   ============================================================================= */
.home-nosotros-teaser-section {
  padding: 1.5rem 0 2.5rem;
}

.home-teaser-card {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  border-left: 5px solid var(--color-blue);
  border-radius: var(--radius-md);
  padding: 2.25rem 2.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.teaser-tag {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-blue);
  display: inline-block;
  margin-bottom: 0.35rem;
}

.teaser-title {
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 0.4rem;
}

.teaser-desc {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0;
}

.home-teaser-action {
  flex-shrink: 0;
}

/* =============================================================================
   PÁGINA DEDICADA: NOSOTROS (DISEÑO TRADICIONAL CORPORATIVO)
   ============================================================================= */
.page-nosotros-main {
  background-color: #ffffff;
  padding-bottom: 4rem;
}

/* 1. Banner Superior Grande */
.nosotros-top-banner {
  position: relative;
  width: 100%;
  height: 280px;
  background-color: var(--color-blue-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nosotros-top-banner-bg {
  position: absolute;
  inset: 0;
}

.nosotros-top-banner-bg img,
.nosotros-top-banner-bg svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}

.nosotros-top-banner-overlay {
  position: relative;
  z-index: 2;
  text-align: center;
}

.nosotros-hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
  margin: 0;
}

/* =============================================================================
   2. SECCIÓN OVERVIEW: QUIÉNES SOMOS & COMPROMISO (2 COLUMNAS AMPLIAS)
   ============================================================================= */
.nosotros-overview-section {
  padding: 4.5rem 0 3.5rem;
}

.nosotros-overview-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  gap: 3.5rem;
}

/* Columna Izquierda: Quiénes Somos */
.nosotros-col-about {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}

.nosotros-badge-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.25rem;
}

.nosotros-badge-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(1, 22, 137, 0.2));
}

.nosotros-badge-tag {
  display: inline-block;
  background-color: rgba(1, 22, 137, 0.08);
  color: var(--color-blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
}

.nosotros-col-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  font-weight: 800;
  color: var(--color-blue);
  line-height: 1.15;
  margin: 0 0 0.85rem;
}

.nosotros-title-divider {
  width: 56px;
  height: 4px;
  background-color: var(--color-yellow);
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.nosotros-lead-text {
  font-size: 1.1rem;
  color: #334155;
  line-height: 1.8;
  margin-bottom: 1.25rem;
}

.nosotros-lead-text strong {
  color: var(--color-blue);
}

.nosotros-body-text {
  font-size: 1.02rem;
  color: #64748b;
  line-height: 1.8;
  margin: 0;
}

/* Columna Derecha: Panel de Compromiso */
.nosotros-col-commitment {
  display: flex;
}

.nosotros-commitment-panel {
  background: radial-gradient(circle at 85% 20%, #0a29bd 0%, #011689 60%, #010a3e 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3rem 2.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(1, 22, 137, 0.22);
  width: 100%;
}

.commitment-panel-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--color-yellow) 0%, #ffea79 100%);
}

.commitment-eyebrow {
  display: inline-block;
  background-color: rgba(253, 212, 0, 0.18);
  color: var(--color-yellow);
  border: 1px solid rgba(253, 212, 0, 0.35);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.commitment-title {
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0 0 1.25rem;
}

.commitment-desc {
  font-size: 1.02rem;
  color: #e2e8f0;
  line-height: 1.75;
  margin: 0 0 1rem;
}

.commitment-trust-badge {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-yellow);
  font-size: 0.92rem;
  font-weight: 600;
}

.commitment-trust-badge svg {
  flex-shrink: 0;
  color: var(--color-yellow);
}

@media (max-width: 991px) {
  .nosotros-overview-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nosotros-commitment-panel {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 600px) {
  .nosotros-overview-section {
    padding: 3rem 0 2rem;
  }

  .nosotros-col-title {
    font-size: 1.85rem;
  }

  .nosotros-commitment-panel {
    padding: 2rem 1.5rem;
  }

  .commitment-title {
    font-size: 1.35rem;
  }

  .commitment-desc {
    font-size: 0.95rem;
  }
}

/* 3. Misión y Visión Editorial Clásica */
.nosotros-mv-classic-section {
  padding-bottom: 3.5rem;
}

.mv-classic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  text-align: left;
}

.mv-classic-col {
  background-color: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 2.25rem 2rem;
}

.mv-classic-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--color-blue);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.mv-classic-divider {
  width: 48px;
  height: 3px;
  background-color: var(--color-yellow);
  margin-bottom: 1.25rem;
}

.mv-classic-p {
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.8;
  margin: 0;
}

/* 4. Imagen Grande de la Empresa */
.nosotros-big-image-section {
  padding-bottom: 3rem;
}

.nosotros-big-image-wrapper {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid #e2e8f0;
}

.nosotros-big-image-wrapper img,
.nosotros-big-image-wrapper svg {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.nosotros-image-caption {
  text-align: center;
  font-size: 0.88rem;
  color: #94a3b8;
  margin-top: 0.85rem;
}

/* 5. Preguntas Frecuentes (FAQ) */
.nosotros-faq-section {
  padding: 4rem 0 5rem;
  background-color: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.nosotros-faq-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.nosotros-faq-tag {
  display: inline-block;
  background-color: rgba(1, 22, 137, 0.08);
  color: var(--color-blue);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.nosotros-faq-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--color-blue);
  margin: 0 0 0.75rem;
}

.nosotros-faq-header .mv-classic-divider {
  margin: 0.5rem auto 0;
}

.nosotros-faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.nosotros-faq-item {
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  transition: all 0.25s ease;
}

.nosotros-faq-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.07);
}

.nosotros-faq-item[open] {
  border-color: var(--color-blue);
  box-shadow: 0 4px 16px rgba(1, 22, 137, 0.08);
}

.nosotros-faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-blue);
  cursor: pointer;
  list-style: none;
  user-select: none;
  transition: background-color 0.2s ease;
}

.nosotros-faq-question::-webkit-details-marker {
  display: none;
}

.nosotros-faq-question:hover {
  background-color: #f8fafc;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--color-blue);
  transition: transform 0.3s ease;
  margin-left: 1rem;
}

.nosotros-faq-item[open] .faq-icon {
  transform: rotate(180deg);
  color: var(--color-yellow-dark, #b89300);
}

.nosotros-faq-answer {
  padding: 0 1.5rem 1.35rem 1.5rem;
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

.nosotros-faq-answer p {
  font-size: 1rem;
  color: #475569;
  line-height: 1.7;
  margin: 0;
}

.nosotros-faq-cta {
  text-align: center;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.nosotros-faq-cta p {
  font-size: 1.05rem;
  font-weight: 600;
  color: #334155;
  margin: 0;
}

@media (max-width: 768px) {
  .nosotros-commitment-card {
    padding: 1.75rem 1.25rem;
  }

  .nosotros-faq-question {
    font-size: 1rem;
    padding: 1rem 1.2rem;
  }

  .nosotros-faq-answer {
    padding: 0.85rem 1.2rem 1.2rem;
  }
}

/* =============================================================================
   4. BANNERS COMERCIALES: DISTRIBUIDOR (B2B) & TIENDA ONLINE
   ============================================================================= */
.commercial-banners-section {
  padding: 2.5rem 0;
}

/* Banner 1: Distribuidor */
.distributor-cta-banner {
  background: linear-gradient(90deg, #1b7cf6 0%, #0d5ec7 100%);
  border-radius: var(--radius-md);
  color: #ffffff;
  padding: 1.5rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: var(--shadow-md);
}

.distributor-left {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.distributor-box-img {
  width: 140px;
  flex-shrink: 0;
}

.distributor-text h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.distributor-text p {
  font-size: 0.95rem;
  color: #e0edff;
}

.btn-distribuidor {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-yellow);
  color: var(--color-blue);
  font-weight: 800;
  font-size: 1rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow-yellow);
  white-space: nowrap;
  transition: var(--transition);
}

.btn-distribuidor:hover {
  background-color: var(--color-yellow-hover);
  transform: translateY(-2px);
}

/* Banner 2: Tienda Online Mockup */
.online-store-banner {
  background: linear-gradient(135deg, #00b4d8 0%, #0077b6 50%, #023e8a 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  align-items: center;
  gap: 3rem;
  box-shadow: var(--shadow-md);
}

.tag-badge-yellow {
  display: inline-block;
  background-color: var(--color-yellow);
  color: var(--color-blue);
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  letter-spacing: 0.05em;
}

.online-store-content h2 {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.online-store-content p {
  font-size: 1.05rem;
  color: #e0f2fe;
  margin-bottom: 1.75rem;
}

/* =============================================================================
   5. NUESTRAS LÍNEAS DE PRODUCTOS (Barra Azul & Grid de 8 Categorías)
   ============================================================================= */
.product-lines-section {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

/* Barra Azul Marina Sólida con Título (Igual a la imagen San Jorge) */
.section-title-navy-bar {
  background-color: var(--color-blue);
  text-align: center;
  padding: 1.25rem 1rem;
  box-shadow: 0 4px 15px rgba(1, 22, 137, 0.15);
}

.title-navy-text {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Grid de Categorías (6 Líneas de Productos) */
.categories-grid-vsm {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.15rem;
}

.category-card-vsm {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 0.95rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.category-card-vsm:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-blue-border);
}

.category-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  flex-grow: 1;
  text-decoration: none;
  color: inherit;
}

.category-img-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.15rem;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background-color: #f8fafc;
}

.cat-img-element {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 0.35rem;
  transition: transform 0.3s ease;
}

.category-card-vsm:hover .cat-img-element {
  transform: scale(1.08);
}

.category-card-name {
  font-size: 1.18rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 0.5rem;
  transition: var(--transition);
}

.category-card-vsm:hover .category-card-name {
  color: var(--color-blue);
}

.category-card-sub {
  font-size: 0.83rem;
  color: var(--text-muted);
  display: block;
  line-height: 1.5;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.category-card-btn-action {
  margin-top: auto;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-blue);
  opacity: 0.85;
  transition: var(--transition);
  display: inline-block;
}

.category-card-vsm:hover .category-card-btn-action {
  opacity: 1;
  color: var(--color-blue-hover);
  transform: translateX(4px);
}

.category-card-vsm:hover .category-card-btn-action {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================================================
   6. BANNER DESTACADO: VELÓN DE CITRONELA SANTA MARÍA
   ============================================================================= */
.featured-promo-section {
  padding: 2.5rem 0 3.5rem;
}

.citronela-promo-card {
  background: linear-gradient(100deg, #011689 0%, #010a3e 100%);
  border-radius: var(--radius-lg);
  color: #ffffff;
  padding: 2rem 3rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(253, 212, 0, 0.25);
  position: relative;
  overflow: hidden;
}

.citronela-visual-col {
  width: 220px;
  flex-shrink: 0;
}

.citronela-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  display: block;
}

.citronela-tag {
  display: inline-block;
  background-color: rgba(253, 212, 0, 0.2);
  color: var(--color-yellow);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.citronela-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.citronela-subtitle {
  font-size: 1.05rem;
  color: #dbe4fe;
  margin-bottom: 1rem;
}

.citronela-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.badge-item {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-yellow);
  background-color: rgba(0, 0, 0, 0.25);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-sm);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* =============================================================================
   BOTONES FLOTANTES (WhatsApp & Chat)
   ============================================================================= */
.vsm-floating-whatsapp {
  position: fixed;
  bottom: 25px;
  left: 25px;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 999;
  transition: var(--transition);
}

.vsm-floating-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.65);
}

.vsm-whatsapp-tooltip {
  position: absolute;
  left: 70px;
  background-color: #0b1338;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  transform: translateX(-6px);
}

.vsm-floating-whatsapp:hover .vsm-whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

.vsm-floating-chat {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 54px;
  height: 54px;
  background-color: var(--color-blue);
  color: var(--color-yellow);
  border: 2px solid var(--color-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 999;
  transition: var(--transition);
}

.vsm-floating-chat:hover {
  transform: scale(1.12);
  background-color: var(--color-blue-hover);
}

/* =============================================================================
   FOOTER INSTITUCIONAL
   ============================================================================= */
.site-footer-vsm {
  background-color: var(--color-blue-dark);
  color: #ffffff;
  padding-top: 4.5rem;
  padding-bottom: 2.5rem;
  border-top: 3px solid var(--color-yellow);
}

.footer-grid-vsm {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.25fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-brand-header {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
}

.footer-logo-full {
  width: 85px;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.35));
}

.footer-brand-info {
  display: flex;
  flex-direction: column;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--color-yellow);
  line-height: 1.15;
}

.footer-brand-sub {
  font-size: 0.78rem;
  font-weight: 700;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.25rem;
}

.footer-brand-desc {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.65;
  margin-bottom: 1.5rem;
}

.footer-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.trust-badge {
  font-size: 0.85rem;
  font-weight: 600;
  color: #cbd5e1;
}

.footer-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2px;
  background-color: var(--color-yellow);
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  font-size: 0.9rem;
  color: #94a3b8;
  transition: var(--transition);
}

.footer-links-list a:hover {
  color: var(--color-yellow);
  padding-left: 4px;
}

.footer-contact-item {
  font-size: 0.9rem;
  color: #94a3b8;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.footer-contact-item strong {
  color: #ffffff;
}

.footer-phone-link {
  color: var(--color-yellow);
  font-weight: 700;
  font-size: 1rem;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: #64748b;
}

.footer-bottom-bar strong {
  color: #ffffff;
}

.footer-legal-links a {
  color: #94a3b8;
  transition: var(--transition);
}

.footer-legal-links a:hover {
  color: var(--color-yellow);
}

/* =============================================================================
   RESPONSIVE DESIGN (TABLET Y MÓVIL)
   ============================================================================= */
@media (max-width: 1180px) {
  .categories-grid-vsm {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1024px) {
  .online-store-banner {
    grid-template-columns: 1fr;
  }

  .footer-grid-vsm {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  .citronela-promo-card {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .citronela-visual-col {
    margin: 0 auto;
  }

  .citronela-badges {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .header-search-col {
    display: none; /* Se oculta de la barra superior y se accede por el Menú Móvil */
  }

  .header-actions-col .header-nav-link {
    display: none;
  }

  .split-card-row {
    grid-template-columns: 1fr;
  }

  .split-card-row.reverse-mobile {
    display: flex;
    flex-direction: column-reverse;
  }

  .home-teaser-card {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem 1.25rem;
  }

  .mv-classic-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .distributor-cta-banner {
    flex-direction: column;
    text-align: center;
  }

  .distributor-left {
    flex-direction: column;
  }

  .categories-grid-vsm {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .footer-grid-vsm {
    grid-template-columns: 1fr;
  }

  .footer-bottom-bar {
    flex-direction: column;
    gap: 0.75rem;
    text-align: center;
  }
}

@media (max-width: 520px) {
  .categories-grid-vsm {
    grid-template-columns: 1fr;
    max-width: 380px;
    margin: 0 auto;
  }
}


/* =============================================================================
   7. CATÁLOGO DE PRODUCTOS MINIMALISTA (Estilo San Jorge)
   ============================================================================= */
.catalog-main-page {
  background-color: #ffffff;
  padding: 3rem 0 5rem;
}

.catalog-page-header {
  text-align: center;
  margin-bottom: 2.25rem;
}

.catalog-main-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.catalog-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.5;
}

/* Filtros por Categoría */
.catalog-filters-nav {
  margin-bottom: 3rem;
  display: flex;
  justify-content: center;
}

.catalog-filters-scroll {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: center;
}

.catalog-filter-btn {
  display: inline-flex;
  align-items: center;
  background-color: #f8fafc;
  color: #475569;
  border: 1px solid #e2e8f0;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.catalog-filter-btn:hover {
  background-color: #f1f5f9;
  color: var(--color-blue);
  border-color: #cbd5e1;
}

.catalog-filter-btn.active {
  background-color: var(--color-blue);
  color: #ffffff;
  border-color: var(--color-blue);
  box-shadow: 0 4px 14px rgba(1, 22, 137, 0.25);
}

/* ==========================================================================
   Barra de Herramientas del Catálogo (Contador y Selector de Ordenación)
   ========================================================================== */
.catalog-toolbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  margin-bottom: 2rem;
  background-color: #ffffff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: 0 2px 10px rgba(1, 22, 137, 0.04);
}

.catalog-toolbar-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.catalog-results-badge {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-muted);
}

.catalog-results-badge strong,
.catalog-results-badge span#catalogToolbarCount {
  font-weight: 700;
  color: var(--color-blue);
}

.catalog-sort-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.catalog-sort-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-blue);
  cursor: pointer;
  white-space: nowrap;
}

.catalog-sort-label svg {
  color: #c29b38;
  flex-shrink: 0;
}

.catalog-select-container {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.catalog-sort-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 0.55rem 2.4rem 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 500;
  font-family: inherit;
  color: var(--color-text);
  background-color: #f8fafc;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  outline: none;
}

.catalog-sort-select:hover {
  border-color: var(--color-blue);
  background-color: #ffffff;
}

.catalog-sort-select:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(1, 22, 137, 0.12);
  background-color: #ffffff;
}

.catalog-select-container .select-chevron-icon {
  position: absolute;
  right: 0.85rem;
  pointer-events: none;
  color: var(--color-blue);
  transition: transform 0.2s ease;
}

.catalog-select-container:focus-within .select-chevron-icon {
  transform: rotate(180deg);
}

@media (max-width: 640px) {
  .catalog-toolbar-row {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    margin-bottom: 1.5rem;
  }
  .catalog-toolbar-info {
    justify-content: space-between;
  }
  .catalog-sort-wrapper {
    justify-content: space-between;
    width: 100%;
  }
  .catalog-select-container {
    flex: 1;
  }
  .catalog-sort-select {
    width: 100%;
  }
}

/* Cuadrícula de 4 Columnas Minimalista */
.catalog-products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3rem 2rem;
}

.product-card-minimal {
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 0.75rem;
  border-radius: var(--radius-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card-minimal:hover {
  transform: translateY(-4px);
}

.product-img-box {
  width: 100%;
  aspect-ratio: 1 / 1;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  overflow: hidden;
}

.product-img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 0.55rem;
  text-decoration: none;
}

.product-thumb-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
}

.product-card-minimal:hover .product-thumb-img {
  transform: scale(1.06);
}

.product-badge-pill {
  position: absolute;
  top: 6px;
  left: 6px;
  background-color: var(--color-yellow);
  color: var(--color-blue);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

/* Capa Hover Ver Detalles sobre la imagen */
.product-img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 19, 56, 0.42);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 4;
}

.product-card-minimal:hover .product-img-overlay {
  opacity: 1;
  pointer-events: auto;
}

.btn-ver-detalles {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background-color: var(--color-yellow);
  color: var(--color-blue);
  font-size: 0.82rem;
  font-weight: 800;
  padding: 0.55rem 1.1rem;
  border-radius: var(--radius-full);
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.28);
  transform: translateY(8px);
  transition: transform 0.25s ease, background-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.product-card-minimal:hover .btn-ver-detalles {
  transform: translateY(0);
}

.btn-ver-detalles:hover {
  background-color: #ffffff;
  color: var(--color-blue);
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.btn-ver-detalles svg {
  flex-shrink: 0;
}

.product-card-body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  text-align: center;
}

.product-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.4rem;
  display: block;
}

.product-card-title {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1e293b;
  margin-bottom: 0.75rem;
  min-height: 2.6rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-title a {
  color: inherit;
  transition: color 0.2s ease;
}

.product-card-title a:hover {
  color: var(--color-blue);
}

.product-card-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.65rem;
  border-top: 1px solid #f1f5f9;
}

.product-card-price {
  font-size: 1.15rem;
  font-weight: 800;
  color: #0b1338;
  letter-spacing: -0.01em;
}

.btn-product-order {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background-color: var(--color-blue);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.btn-product-order:hover {
  background-color: var(--color-blue-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(1, 22, 137, 0.25);
}

.catalog-empty-notice {
  text-align: center;
  padding: 4rem 1rem;
  color: #64748b;
  font-size: 1.05rem;
}

.catalog-empty-notice button {
  margin-top: 1.25rem;
}

/* =========================================================================
   Controles de Carga Progresiva del Catálogo (Paginación Dinámica)
   ========================================================================= */
.catalog-load-more-wrapper {
  margin-top: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.85rem;
}

.catalog-counter-text {
  font-size: 0.95rem;
  color: #64748b;
  font-weight: 600;
  margin: 0;
}

.catalog-counter-text strong {
  color: var(--color-blue);
  font-weight: 800;
}

.catalog-progress-bar-container {
  width: 220px;
  height: 6px;
  background-color: #e2e8f0;
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 0.25rem;
}

.catalog-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--color-blue) 0%, var(--color-yellow) 100%);
  border-radius: var(--radius-full);
  width: 66%;
  transition: width 0.4s ease;
}

.btn-load-more {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background-color: #ffffff;
  color: var(--color-blue);
  border: 2px solid var(--color-blue);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.75rem 2.2rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(1, 22, 137, 0.08);
}

.btn-load-more:hover {
  background-color: var(--color-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(1, 22, 137, 0.22);
}

.btn-load-more:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

/* Responsividad para Catálogo */
@media (max-width: 1024px) {
  .catalog-products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1rem;
  }

  .catalog-filter-btn {
    padding: 0.4rem 0.9rem;
    font-size: 0.82rem;
  }

  .product-card-title {
    font-size: 0.88rem;
  }

  .product-card-price {
    font-size: 1.02rem;
  }
}

@media (max-width: 480px) {
  .catalog-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem 0.75rem;
  }

  .product-card-minimal {
    padding: 0.35rem;
  }

  .product-card-price-row {
    flex-direction: column;
    gap: 0.4rem;
    align-items: center;
  }
}


/* =============================================================================
   SECCION DE UBICACION Y MAPA DE GOOGLE (Horizontal 2 Columnas)
   ============================================================================= */
.store-location-section {
  padding: 4.5rem 0;
  background-color: var(--bg-body);
}

.location-card-wrapper {
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  transition: var(--transition);
}

.location-card-wrapper:hover {
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

/* Columna Izquierda: Mapa */
.location-map-col {
  position: relative;
  width: 100%;
  min-height: 460px;
  background-color: #e2e8f0;
}

.location-iframe-map {
  width: 100%;
  height: 100%;
  min-height: 460px;
  border: 0;
  display: block;
}

/* Columna Derecha: Informacion */
.location-info-col {
  padding: 2.75rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-tag-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: var(--color-blue-light);
  color: var(--color-blue);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.25rem;
  width: fit-content;
  border: 1px solid var(--color-blue-border);
}

.location-title {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--color-blue);
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.location-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 2rem;
}

.location-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.location-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.location-item-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--color-yellow-tint);
  border: 1px solid var(--color-yellow-border);
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-item-text {
  display: flex;
  flex-direction: column;
}

.location-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.15rem;
}

.location-val {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.4;
}

.location-val strong,
strong.location-val {
  font-weight: 700;
  color: var(--color-blue);
}

.location-actions-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.location-maps-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-weight: 700;
  font-size: 0.9rem;
}

.btn-outline-navy {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--color-blue);
  color: var(--color-blue);
  background-color: transparent;
  border-radius: var(--radius-full);
  transition: var(--transition);
}

.btn-outline-navy:hover {
  background-color: var(--color-blue);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(1, 22, 137, 0.2);
}

/* Responsividad Seccion Ubicacion */
@media (max-width: 991px) {
  .location-card-wrapper {
    grid-template-columns: 1fr;
  }

  .location-map-col,
  .location-iframe-map {
    min-height: 340px;
    height: 340px;
  }

  .location-info-col {
    padding: 2.25rem 1.75rem;
  }

  .location-title {
    font-size: 1.6rem;
  }
}

@media (max-width: 576px) {
  .store-location-section {
    padding: 3rem 0;
  }

  .location-map-col,
  .location-iframe-map {
    min-height: 280px;
    height: 280px;
  }

  .location-info-col {
    padding: 1.75rem 1.25rem;
  }

  .location-title {
    font-size: 1.4rem;
  }

  .location-actions-group {
    flex-direction: column;
    align-items: stretch;
  }

  .location-actions-group a {
    justify-content: center;
    text-align: center;
  }
}


/* Estilos de Horario Detallado */
.location-item-hours {
  align-items: flex-start;
  margin-bottom: 2rem;
}

.location-item-hours .location-item-text {
  width: 100%;
}

.location-schedule-box {
  margin-top: 0.4rem;
  background-color: #f8fafc;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 0.6rem 0.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.schedule-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.82rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid #f1f5f9;
}

.schedule-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.schedule-days {
  font-weight: 700;
  color: var(--color-blue);
  white-space: nowrap;
}

.schedule-hours {
  color: var(--text-main);
  text-align: right;
  font-weight: 600;
  white-space: nowrap;
}

.schedule-closed .schedule-hours {
  color: #b91c1c;
  font-weight: 700;
}

@media (max-width: 576px) {
  .schedule-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
  }
  .schedule-hours {
    text-align: left;
    font-size: 0.82rem;
    white-space: normal;
  }
}


/* =============================================================================
   BUSCADOR EXCLUSIVO DEL CATALOGO Y LUPA EN HEADER
   ============================================================================= */

/* Boton Lupa en el Header */
.header-search-trigger {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--color-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.header-search-trigger:hover {
  background-color: var(--color-blue-light);
  color: var(--color-blue-hover);
  transform: scale(1.08);
}

/* Desplegable de busqueda rapida en Header para paginas externas al catalogo */
.header-search-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-bottom: 2px solid var(--color-yellow);
  box-shadow: 0 10px 25px -5px rgba(1, 22, 137, 0.15);
  padding: 0.85rem 0;
  z-index: 999;
  animation: slideDownSearch 0.22s ease-out;
}

@keyframes slideDownSearch {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.header-dropdown-search-form {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: 650px;
  margin: 0 auto;
  padding: 0 1rem;
}

.dropdown-search-icon {
  color: var(--color-blue);
  flex-shrink: 0;
}

.header-dropdown-input {
  flex: 1;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  outline: none;
  transition: var(--transition);
}

.header-dropdown-input:focus {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 3px rgba(1, 22, 137, 0.1);
}

.header-dropdown-btn {
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.header-dropdown-close {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem;
  border-radius: 50%;
  transition: var(--transition);
}

.header-dropdown-close:hover {
  background-color: #f1f5f9;
  color: var(--color-blue);
}

/* Buscador Exclusivo en la Pagina del Catalogo */
.catalog-search-wrapper {
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.catalog-search-box {
  display: flex;
  align-items: center;
  position: relative;
  background-color: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  padding: 0.35rem 0.75rem 0.35rem 1.25rem;
  transition: var(--transition);
}

.catalog-search-box:focus-within {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 4px rgba(1, 22, 137, 0.12);
  transform: translateY(-1px);
}

.catalog-search-icon {
  color: var(--color-blue);
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.catalog-search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.96rem;
  font-family: inherit;
  color: var(--text-main);
  background: transparent;
  padding: 0.5rem 0;
}

.catalog-search-input::placeholder {
  color: #94a3b8;
}

.catalog-search-clear-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: #94a3b8;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.4rem;
  border-radius: 50%;
  transition: var(--transition);
}

.catalog-search-clear-btn:hover {
  color: var(--color-blue);
  background-color: #f1f5f9;
}


/* Alineacion del menu del header a la izquierda */
.header-left-col {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-main-nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
}

@media (max-width: 768px) {
  .header-main-nav {
    display: none;
  }
  .header-left-col {
    gap: 0.65rem;
  }
}


/* Pestañas de selector de Sede sobre el Mapa */
.location-map-tabs {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  z-index: 10;
  display: flex;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(6px);
  padding: 0.35rem;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(1, 22, 137, 0.12);
}

.map-tab-btn {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
}

.map-tab-btn:hover {
  color: var(--color-blue);
  background-color: #f1f5f9;
}

.map-tab-btn.active {
  background-color: var(--color-blue);
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(1, 22, 137, 0.3);
}

.location-branch-card {
  padding-bottom: 0.25rem;
}


/* Estilos de lineas telefonicas en fichas de sede */
.location-phone-line {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
  display: block;
}

.location-phone-link {
  color: var(--color-blue);
  font-weight: 700;
  transition: var(--transition);
}

.location-phone-link:hover {
  color: var(--color-blue-hover);
  text-decoration: underline;
}


/* Ajustes de expansion horizontal de la tarjeta de ubicacion en escritorio */
@media (min-width: 992px) {
  .store-location-section .container-vsm {
    max-width: 1440px;
    width: 95%;
  }

  .location-card-wrapper {
    grid-template-columns: 1fr 1.2fr;
  }

  .location-info-col {
    padding: 2.75rem 2.75rem;
  }

  .location-branches-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    background-color: #f8fafc;
    padding: 1.15rem 1.25rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
  }

  .location-branches-grid .location-item {
    margin-bottom: 0;
  }
}

/* Responsividad total de la tarjeta de ubicacion en tablets y moviles (< 992px) */
@media (max-width: 991px) {
  .store-location-section {
    padding: 2.75rem 0 3.25rem;
  }

  .store-location-section .container-vsm {
    width: 100%;
    padding: 0 1rem;
  }

  .location-card-wrapper {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    border-radius: var(--radius-md);
    overflow: hidden;
  }

  .location-map-col {
    width: 100% !important;
    min-height: 280px !important;
    height: 280px !important;
    order: 1;
  }

  .location-iframe-map {
    width: 100% !important;
    height: 100% !important;
    min-height: 280px !important;
    display: block;
    border-radius: 0;
  }

  .location-info-col {
    width: 100% !important;
    padding: 1.85rem 1.25rem !important;
    order: 2;
  }

  .location-title {
    font-size: 1.45rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.65rem !important;
  }

  .location-desc {
    font-size: 0.92rem !important;
    line-height: 1.55 !important;
    margin-bottom: 1.25rem !important;
  }

  .location-branches-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
    background-color: #f8fafc !important;
    padding: 1rem !important;
    border-radius: var(--radius-sm) !important;
    border: 1px solid var(--border-subtle) !important;
    margin-bottom: 1.25rem !important;
  }

  .location-branch-card {
    display: flex !important;
    align-items: flex-start !important;
    gap: 0.75rem !important;
    margin-bottom: 0 !important;
  }

  .location-branch-card .location-item-icon {
    width: 38px !important;
    height: 38px !important;
    flex-shrink: 0 !important;
  }

  .location-branch-card .location-item-text {
    flex: 1 !important;
  }

  .location-item-hours {
    margin-bottom: 1.75rem !important;
  }

  .location-actions-group {
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
    width: 100% !important;
    margin-top: 0.25rem !important;
  }

  .location-actions-group .btn-primary,
  .location-actions-group .btn-outline-navy {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 0.75rem 1rem !important;
  }

  .schedule-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.15rem !important;
    padding: 0.4rem 0 !important;
  }

  .schedule-hours {
    text-align: left !important;
    white-space: normal !important;
    font-size: 0.82rem !important;
  }
}


/* Redes Sociales en el Footer */
.footer-social-wrap {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-social-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-yellow);
  margin-bottom: 0.75rem;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}

.footer-social-btn:hover {
  background-color: var(--color-yellow);
  color: var(--color-blue);
  border-color: var(--color-yellow);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(253, 212, 0, 0.35);
}

.footer-social-btn svg {
  flex-shrink: 0;
}

.footer-social-mini {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-social-mini a {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #94a3b8;
  padding: 0.35rem;
  border-radius: 50%;
  transition: var(--transition);
}

.footer-social-mini a:hover {
  color: var(--color-yellow);
  transform: scale(1.15);
}

/* =============================================================================
   12. CARRUSEL HORIZONTAL DE REELS DE INSTAGRAM (Video Showcase)
   ============================================================================= */
.reels-showcase-section {
  padding: 4.5rem 0 5rem;
  background: linear-gradient(180deg, #ffffff 0%, #f3f6fa 45%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}

.reels-section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.5rem;
}

.reels-section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.85rem, 3.2vw, 2.45rem);
  font-weight: 700;
  color: var(--color-blue);
  margin-bottom: 0.65rem;
  letter-spacing: -0.015em;
  line-height: 1.2;
}

.reels-section-subtitle {
  font-size: 1.05rem;
  color: #64748b;
  margin: 0 auto;
  line-height: 1.5;
}

/* Contenedor del Carrusel */
.reels-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  user-select: none;
}

/* Visor con corte lateral y suavizado suave */
/* Visor con corte lateral y suavizado suave */
.reels-viewport {
  position: relative;
  width: 100%;
  height: 550px;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
}

.reels-track {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Tarjeta individual de Reel (9:16) con posicionamiento circular continuo */
.reel-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 270px;
  height: 480px;
  margin-top: -240px;
  margin-left: -135px;
  border-radius: 22px;
  background-color: #0b1329;
  cursor: pointer;
  transition: transform 0.45s cubic-bezier(0.25, 1, 0.5, 1), 
              opacity 0.45s ease, 
              filter 0.45s ease, 
              box-shadow 0.45s ease;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  will-change: transform, opacity;
}

.reel-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: #000000;
}

.reel-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

/* Barra de progreso superior estilo Reel */
.reel-progress-bar {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  height: 3px;
  background-color: rgba(255, 255, 255, 0.35);
  border-radius: 3px;
  z-index: 15;
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.reel-progress-fill {
  height: 100%;
  width: 0%;
  background-color: var(--color-yellow);
  transition: width 0.1s linear;
}

/* Botón flotante de audio */
.reel-sound-toggle {
  position: absolute;
  top: 20px;
  right: 14px;
  z-index: 20;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}

.reel-sound-toggle:hover {
  background: var(--color-blue);
  color: var(--color-yellow);
  transform: scale(1.12);
}

/* Indicador central de reproducción/pausa */
.reel-center-play-indicator {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  z-index: 16;
  background: rgba(1, 22, 137, 0.75);
  color: var(--color-yellow);
  border-radius: 50%;
  width: 58px;
  height: 58px;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.reel-center-play-indicator.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Información superpuesta al pie del Reel */
.reel-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 3rem 1.25rem 1.25rem;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
  z-index: 14;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  pointer-events: none;
}

.reel-caption-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.reel-caption-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-yellow);
  text-decoration: none;
  pointer-events: auto;
  transition: var(--transition);
}

.reel-caption-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* =============================================================================
   ESTADOS DE COVERFLOW (CENTRAL, LATERALES Y EXTREMOS)
   ============================================================================= */

/* 1. Tarjeta Activa (Centro) */
.reel-card.is-active {
  transform: translate3d(0, 0, 0) scale(1.08);
  opacity: 1;
  filter: brightness(1);
  z-index: 10;
  cursor: default;
  box-shadow: 0 20px 45px rgba(1, 22, 137, 0.3), 
              0 0 0 3px var(--color-yellow);
}

.reel-card.is-active .reel-progress-bar {
  opacity: 1;
}

.reel-card.is-active .reel-sound-toggle {
  opacity: 1;
  pointer-events: auto;
}

/* 2. Tarjetas Adyacentes (Inmediatas a la izquierda y derecha) */
.reel-card.is-next {
  transform: translate3d(295px, 0, 0) scale(0.88);
  opacity: 0.55;
  filter: brightness(0.85);
  z-index: 5;
  cursor: pointer;
}

.reel-card.is-prev {
  transform: translate3d(-295px, 0, 0) scale(0.88);
  opacity: 0.55;
  filter: brightness(0.85);
  z-index: 5;
  cursor: pointer;
}

.reel-card.is-prev:hover,
.reel-card.is-next:hover {
  opacity: 0.75;
  filter: brightness(0.95);
}

/* 3. Tarjetas de los Extremos (Cortadas / Asomadas) */
.reel-card.is-far-next {
  transform: translate3d(545px, 0, 0) scale(0.76);
  opacity: 0.22;
  filter: brightness(0.65);
  z-index: 2;
  cursor: pointer;
}

.reel-card.is-far-prev {
  transform: translate3d(-545px, 0, 0) scale(0.76);
  opacity: 0.22;
  filter: brightness(0.65);
  z-index: 2;
  cursor: pointer;
}

.reel-card.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 0;
  transform: translate3d(0, 0, 0) scale(0.5);
}

/* Botones de Navegación Lateral (Prev / Next) */
.reel-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 25;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--color-blue);
  border: 2px solid rgba(1, 22, 137, 0.12);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.reel-prev-btn {
  left: -12px;
}

.reel-next-btn {
  right: -12px;
}

.reel-nav-btn:hover {
  background: var(--color-blue);
  color: var(--color-yellow);
  border-color: var(--color-blue);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(1, 22, 137, 0.35);
}

/* Indicadores de Paginación (Dots) */
.reels-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-top: 1.75rem;
}

.reel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  padding: 0;
}

.reel-dot.is-active {
  width: 28px;
  border-radius: var(--radius-full);
  background-color: var(--color-blue);
}

/* =============================================================================
   RESPONSIVE: DISPOSITIVOS MÓVILES Y PANTALLAS PEQUEÑAS
   ============================================================================= */
@media (max-width: 768px) {
  .reels-showcase-section {
    padding: 3rem 0 3.5rem;
  }

  .reels-section-header {
    text-align: center;
    margin-bottom: 1.75rem;
  }

  .reels-viewport {
    height: 520px;
    padding: 0;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .reel-card {
    width: 270px;
    height: 480px;
    margin-top: -240px;
    margin-left: -135px;
    border-radius: 18px;
  }

  .reel-card.is-active {
    transform: translate3d(0, 0, 0) scale(1);
    box-shadow: 0 14px 35px rgba(1, 22, 137, 0.28), 
                0 0 0 2.5px var(--color-yellow);
  }

  .reel-card.is-next {
    transform: translate3d(280px, 0, 0) scale(0.92);
    opacity: 0.35;
  }

  .reel-card.is-prev {
    transform: translate3d(-280px, 0, 0) scale(0.92);
    opacity: 0.35;
  }

  .reel-card.is-far-next {
    transform: translate3d(560px, 0, 0) scale(0.84);
    opacity: 0;
    pointer-events: none;
  }

  .reel-card.is-far-prev {
    transform: translate3d(-560px, 0, 0) scale(0.84);
    opacity: 0;
    pointer-events: none;
  }

  .reel-nav-btn {
    width: 40px;
    height: 40px;
  }

  .reel-prev-btn {
    left: 4px;
  }

  .reel-next-btn {
    right: 4px;
  }
}

/* =========================================================================
   Página de Detalle de Producto (Single Product Detail Page)
   ========================================================================= */
.product-detail-page {
  padding: 2.5rem 0 5rem;
  background-color: #f8fafc;
}

/* Migas de Pan (Breadcrumbs) */
.breadcrumb-nav {
  margin-bottom: 2rem;
}

.breadcrumb-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.88rem;
  color: #64748b;
}

.breadcrumb-list li a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.breadcrumb-list li a:hover {
  color: var(--color-blue);
  text-decoration: underline;
}

.breadcrumb-separator {
  color: #cbd5e1;
  font-size: 0.8rem;
}

.breadcrumb-current {
  color: #0f172a;
  font-weight: 700;
}

/* Disposición Principal (2 Columnas en Escritorio) */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
  margin-bottom: 4.5rem;
}

/* Columna Izquierda: Galería e Imagen */
.product-detail-visual {
  background-color: #ffffff;
  border-radius: var(--radius-md);
  padding: 2rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: sticky;
  top: 100px;
}

.product-detail-img-container {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 1.5rem;
  padding: 1.25rem;
}

.product-detail-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: var(--color-yellow);
  color: var(--color-blue);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.product-detail-main-img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  transition: opacity 0.25s ease, transform 0.4s ease;
}

.product-detail-img-container:hover .product-detail-main-img {
  transform: scale(1.05);
}

/* Tira de Miniaturas Secundarias (Galería de Producto) */
.product-detail-gallery-strip {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.4rem;
  margin-top: 0.85rem;
  margin-bottom: 1.25rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(1, 22, 137, 0.25) transparent;
}

.product-detail-gallery-strip::-webkit-scrollbar {
  height: 5px;
}

.product-detail-gallery-strip::-webkit-scrollbar-thumb {
  background: rgba(1, 22, 137, 0.25);
  border-radius: 4px;
}

.gallery-thumb-btn {
  flex: 0 0 74px;
  width: 74px;
  height: 74px;
  aspect-ratio: 1 / 1;
  padding: 0.35rem;
  border-radius: 8px;
  border: 2px solid #e2e8f0;
  background-color: #ffffff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
  overflow: hidden;
}

.gallery-thumb-btn img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
}

.gallery-thumb-btn:hover {
  border-color: var(--color-blue);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(1, 22, 137, 0.08);
}

.gallery-thumb-btn.is-active {
  border-color: var(--color-blue);
  box-shadow: 0 0 0 2px rgba(1, 22, 137, 0.2);
  outline: none;
}

/* Columna Derecha: Información y Compra */
.product-detail-info {
  display: flex;
  flex-direction: column;
}

.product-detail-meta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.product-detail-cat-tag {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--color-blue);
  background-color: rgba(1, 22, 137, 0.08);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.product-detail-sku-tag {
  font-size: 0.8rem;
  color: #94a3b8;
  font-weight: 600;
}

.product-detail-heading {
  font-size: 2.1rem;
  font-weight: 800;
  color: #0b1338;
  line-height: 1.25;
  margin-bottom: 1.25rem;
}

.product-detail-price-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  margin-bottom: 1.5rem;
}

.product-detail-price-val {
  font-size: 2.2rem;
  font-weight: 900;
  color: #0b1338;
  letter-spacing: -0.02em;
}

.product-detail-price-curr {
  font-size: 1rem;
  font-weight: 700;
  color: #64748b;
}

.product-unit-price-label {
  margin-left: auto;
  font-size: 0.84rem;
  font-weight: 700;
  color: #475569;
  background-color: #f1f5f9;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  border: 1px solid #e2e8f0;
}

.product-detail-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 2rem;
}


/* Grupo de Botones CTA */
.product-detail-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.btn-detail-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  background-color: #25D366;
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 1.1rem 2rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: all 0.25s ease;
}

.btn-detail-whatsapp:hover {
  background-color: #1ebe5d;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.45);
}

/* Barra de confianza */
.product-trust-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  background-color: #f1f5f9;
  border-radius: var(--radius-sm);
  gap: 1rem;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #334155;
}

.trust-item svg {
  color: var(--color-blue);
  flex-shrink: 0;
}

/* Sección de Productos Relacionados */
.related-products-section {
  padding-top: 3.5rem;
  border-top: 1px solid #e2e8f0;
}

.related-products-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.related-products-title {
  font-size: 1.8rem;
  font-weight: 800;
  color: #0b1338;
  margin-bottom: 0.5rem;
}

.related-products-subtitle {
  font-size: 1rem;
  color: #64748b;
  margin: 0;
}

/* Adaptación responsiva de detalle de producto */
@media (max-width: 991px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .product-detail-visual {
    position: static;
  }

  .product-detail-heading {
    font-size: 1.7rem;
  }

  .product-detail-price-box {
    flex-wrap: wrap;
  }

  .product-unit-price-label {
    margin-left: 0;
    width: 100%;
    text-align: center;
  }

  .product-trust-strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

