/* ==========================================================================
   BTO - Baleros y Tornillos Osuna
   Sistema de Estilos: Tonos Azules, Verdes y Amarillos (Industrial & Agrícola)
   ========================================================================== */

/* 1. VARIABLES GLOBALES Y PALETA CROMÁTICA BTO */
:root {
  /* AZUL PRINCIPAL (Identidad Mecánica, Baleros, Precisión) */
  --blue-darkest: #07192c;
  --blue-dark: #0a2540;
  --blue-primary: #0f3b60;
  --blue-medium: #1d639e;
  --blue-light: #2b82c9;
  --blue-subtle: #edf5fc;

  /* VERDE AGRÍCOLA (Tierra fértil, Implementos de Campo, Stock Positivo) */
  --green-dark: #0f5132;
  --green-primary: #15803d;
  --green-medium: #16a34a;
  --green-light: #22c55e;
  --green-subtle: #dcfce7;
  --green-border: #86efac;

  /* AMARILLO / ORO INDUSTRIAL (Maquinaria Pesada, Seguridad, Acentos Críticos) */
  --yellow-primary: #eab308;
  --yellow-amber: #f59e0b;
  --yellow-bright: #facc15;
  --yellow-dark: #ca8a04;
  --yellow-subtle: #fef9c3;
  --yellow-glow: rgba(245, 158, 11, 0.35);

  /* Identidad WhatsApp */
  --wa-green: #25d366;
  --wa-dark: #128c7e;
  --wa-glow: rgba(37, 211, 102, 0.35);

  /* Escala de Grises y Superficies */
  --bg-body: #f4f7fb;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #ffffff;
  --bg-muted: #e9f0f8;
  --border-subtle: #d1dfed;
  --border-focus: #1d639e;

  /* Tipografía */
  --text-main: #07192c;
  --text-muted: #536b82;
  --text-light: #8298ad;
  --text-inverse: #ffffff;

  /* Estados de Inventario */
  --stock-green: #15803d;
  --stock-green-bg: #dcfce7;
  --stock-amber: #d97706;
  --stock-amber-bg: #fef3c7;
  --stock-blue: #1d639e;
  --stock-blue-bg: #e0f2fe;

  /* Sombras y Elevaciones */
  --shadow-sm: 0 1px 3px 0 rgba(7, 25, 44, 0.06);
  --shadow-md: 0 4px 8px -1px rgba(7, 25, 44, 0.08), 0 2px 4px -2px rgba(7, 25, 44, 0.06);
  --shadow-lg: 0 12px 20px -3px rgba(7, 25, 44, 0.1), 0 4px 6px -4px rgba(7, 25, 44, 0.04);
  --shadow-xl: 0 20px 30px -5px rgba(7, 25, 44, 0.16), 0 8px 12px -6px rgba(7, 25, 44, 0.08);
  --shadow-dropdown: 0 18px 36px rgba(7, 25, 44, 0.22);

  /* Bordes Redondeados */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  /* Transiciones */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-bounce: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.6;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-x: hidden;
  position: relative;
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--blue-dark);
}

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

button, input, select {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* ==========================================================================
   2. BOTONES Y COMPONENTES REUTILIZABLES (AZUL, VERDE, AMARILLO)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

.btn-large {
  padding: 0.9rem 1.6rem;
  font-size: 1.05rem;
}

/* Botón Primario: Azul BTO Intenso con Acento */
.btn-primary {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-medium));
  color: var(--text-inverse);
  box-shadow: 0 4px 14px rgba(15, 59, 96, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--blue-medium), var(--blue-light));
  box-shadow: 0 6px 18px rgba(15, 59, 96, 0.45);
  transform: translateY(-2px);
}

/* Botón Amarillo BTO: Alta Energía / Cotización */
.btn-yellow {
  background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-amber));
  color: var(--blue-darkest);
  font-weight: 700;
  box-shadow: 0 4px 14px var(--yellow-glow);
  border: 1px solid rgba(202, 138, 4, 0.3);
}
.btn-yellow:hover {
  background: linear-gradient(135deg, #fef08a, var(--yellow-bright));
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.5);
  transform: translateY(-2px);
}

/* Botón Verde BTO: Agrícola y Seguro */
.btn-green {
  background: linear-gradient(135deg, var(--green-primary), var(--green-medium));
  color: var(--text-inverse);
  box-shadow: 0 4px 12px rgba(21, 128, 61, 0.35);
}
.btn-green:hover {
  background: linear-gradient(135deg, var(--green-medium), var(--green-light));
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--blue-primary);
  border-color: var(--border-subtle);
  box-shadow: var(--shadow-sm);
}
.btn-secondary:hover {
  background-color: var(--blue-subtle);
  border-color: var(--blue-medium);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--text-inverse);
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-outline:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: var(--yellow-bright);
  color: var(--yellow-bright);
  transform: translateY(-2px);
}

.btn-whatsapp-direct,
.btn-whatsapp-large {
  background: linear-gradient(135deg, var(--wa-green), #1eb956);
  color: var(--text-inverse);
  box-shadow: 0 4px 14px var(--wa-glow);
}
.btn-whatsapp-direct:hover,
.btn-whatsapp-large:hover {
  background: linear-gradient(135deg, #2ae06f, var(--wa-dark));
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  transform: translateY(-2px);
}

.badge-pill {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  background-color: var(--yellow-subtle);
  color: var(--yellow-dark);
  border: 1px solid rgba(234, 179, 8, 0.3);
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.badge-pill-green {
  background-color: var(--green-subtle);
  color: var(--green-dark);
  border-color: var(--green-border);
}

/* ==========================================================================
   3. BARRA DE NAVEGACIÓN (NAVBAR) Y BUSCADOR PREDICTIVO
   ========================================================================== */
.navbar-wrapper {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--blue-subtle);
  box-shadow: var(--shadow-sm);
}

/* Barra superior informativa: Azul Profundo con Detalles Amarillos y Verdes */
.top-banner {
  background-color: var(--blue-darkest);
  color: #cbd5e1;
  font-size: 0.8rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.top-banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.top-banner-content i.text-yellow {
  color: var(--yellow-bright);
  margin-right: 0.35rem;
}
.top-banner-content i.text-green {
  color: var(--green-light);
  margin-right: 0.35rem;
}
.top-banner-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.top-banner-links .divider {
  color: #334e68;
}
.top-banner-links a {
  color: #e2e8f0;
}
.top-banner-links a:hover {
  color: var(--yellow-bright);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 0.85rem;
  padding-bottom: 0.85rem;
}

/* Logotipo BTO Oficial */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-image-container {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #ffffff;
  border: 3px solid var(--yellow-bright);
  box-shadow: 0 4px 14px rgba(7, 25, 44, 0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}
.brand-logo:hover .logo-image-container {
  transform: scale(1.06);
}
.logo-image-bto {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.footer-logo-container {
  background-color: #ffffff;
  border: 3px solid var(--yellow-bright);
}

.logo-text {
  display: flex;
  flex-direction: column;
}
.brand-name {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--blue-dark);
  line-height: 1.15;
}
.brand-name strong {
  color: var(--blue-medium);
}
.brand-acronym {
  color: var(--yellow-amber);
  background: var(--blue-darkest);
  padding: 2px 8px;
  border-radius: 5px;
  font-size: 1rem;
  margin-left: 6px;
  display: inline-block;
  vertical-align: middle;
}
.brand-tagline {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--green-primary);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-top: 2px;
}

/* Buscador Predictivo */
.search-container {
  position: relative;
  flex: 1 1 auto;
  max-width: 780px;
}

.search-input-box {
  position: relative;
  display: flex;
  align-items: center;
  background-color: var(--bg-muted);
  border: 2px solid var(--border-subtle);
  border-radius: var(--radius-full);
  padding: 0.55rem 1rem 0.55rem 1.35rem;
  transition: all var(--transition-base);
}
.search-input-box:focus-within {
  background-color: #ffffff;
  border-color: var(--blue-medium);
  box-shadow: 0 0 0 4px rgba(29, 99, 158, 0.18);
}

.search-icon {
  color: var(--blue-medium);
  font-size: 1.15rem;
  margin-right: 0.75rem;
}

#predictive-search-input {
  width: 100%;
  border: none;
  background: transparent;
  outline: none;
  font-size: 1.05rem;
  color: var(--text-main);
}
#predictive-search-input::placeholder {
  color: var(--text-light);
}

.clear-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0.3rem 0.5rem;
  font-size: 0.85rem;
  display: none;
  border-radius: 50%;
}
.clear-btn:hover {
  color: var(--blue-dark);
  background-color: rgba(7, 25, 44, 0.08);
}

/* Dropdown Predictivo */
.predictive-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-dropdown);
  overflow: hidden;
  z-index: 99999;
  animation: dropdownSlideDown 0.2s ease-out;
}
.predictive-results-dropdown[hidden] {
  display: none !important;
}

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

.dropdown-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.7rem 1.15rem;
  background-color: var(--blue-subtle);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-primary);
}
.dropdown-header i {
  color: var(--yellow-amber);
}
.dropdown-count {
  background-color: #ffffff;
  color: var(--blue-primary);
  border: 1px solid var(--border-subtle);
  padding: 2px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
}

.dropdown-list {
  list-style: none;
  max-height: 380px;
  overflow-y: auto;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.15rem;
  border-bottom: 1px solid #f1f5f9;
  cursor: pointer;
  transition: background-color var(--transition-fast);
  gap: 1rem;
}
.dropdown-item:last-child {
  border-bottom: none;
}
.dropdown-item:hover,
.dropdown-item.is-selected {
  background-color: var(--yellow-subtle);
}

.dropdown-item-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}
.dropdown-item-thumb {
  width: 46px;
  height: 46px;
  min-width: 46px;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
  padding: 2px;
}
.dropdown-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 4px;
  display: block;
  transition: transform var(--transition-fast);
}
.dropdown-item:hover .dropdown-thumb-img,
.dropdown-item.is-selected .dropdown-thumb-img {
  transform: scale(1.1);
}
.dropdown-item-icon {
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  background-color: var(--blue-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-primary);
  font-size: 1.15rem;
  flex-shrink: 0;
}
.dropdown-item-info {
  display: flex;
  flex-direction: column;
}
.dropdown-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue-dark);
}
.dropdown-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.dropdown-sku-badge {
  font-family: monospace;
  background-color: var(--blue-dark);
  color: #ffffff;
  padding: 1px 6px;
  border-radius: 4px;
  font-weight: 700;
}
.dropdown-dim-badge {
  color: var(--green-primary);
  font-weight: 600;
}

.dropdown-item-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.25rem;
  flex-shrink: 0;
}
.dropdown-status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: var(--radius-full);
}
.status-disponible {
  background-color: var(--stock-green-bg);
  color: var(--stock-green);
}
.status-pocas {
  background-color: var(--stock-amber-bg);
  color: var(--stock-amber);
}
.status-pedido {
  background-color: var(--stock-blue-bg);
  color: var(--stock-blue);
}

.dropdown-footer {
  padding: 0.5rem 1.15rem;
  background-color: var(--bg-muted);
  border-top: 1px solid var(--border-subtle);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: right;
}
.dropdown-footer kbd {
  background-color: #ffffff;
  border: 1px solid var(--border-subtle);
  padding: 1px 6px;
  border-radius: 3px;
  font-family: monospace;
  color: var(--blue-primary);
  font-weight: 700;
}

mark.search-match {
  background-color: #fef08a;
  color: #854d0e;
  font-weight: 800;
  padding: 0 2px;
  border-radius: 2px;
}

/* Acciones en Navbar */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--blue-dark);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-link:hover {
  color: var(--blue-medium);
}
.nav-link i {
  color: var(--green-primary);
}

/* ==========================================================================
   4. SECCIÓN HERO (PORTADA BTO) - AZUL PROFUNDO CON VERDE Y ORO
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(145deg, #07192c 0%, #0a2e4f 45%, #0d4642 80%, #0d3b2e 100%);
  color: var(--text-inverse);
  padding: 4.5rem 0 5.25rem 0;
  overflow: hidden;
  border-bottom: 4px solid var(--yellow-bright);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(234, 179, 8, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 10% 85%, rgba(34, 197, 94, 0.12) 0%, transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(43, 130, 201, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(250, 204, 21, 0.4);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(6px);
  color: #ffffff;
}
.hero-badge i {
  color: var(--yellow-bright);
}

.hero-title {
  font-size: 2.85rem;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
  color: #ffffff;
}
.highlight-yellow {
  color: var(--yellow-bright);
  text-shadow: 0 0 20px rgba(250, 204, 21, 0.3);
}
.highlight-green {
  color: var(--green-light);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: #e0f2fe;
  margin-bottom: 2rem;
  line-height: 1.65;
  max-width: 630px;
}
.hero-subtitle strong {
  color: #ffffff;
  border-bottom: 2px solid var(--yellow-bright);
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.75rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.stat-card {
  display: flex;
  flex-direction: column;
}
.stat-number {
  font-family: 'Outfit', sans-serif;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--yellow-bright);
}
.stat-label {
  font-size: 0.78rem;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* Tarjeta Rápida Hero BTO */
.hero-card-preview {
  background: rgba(7, 25, 44, 0.65);
  border: 1px solid rgba(250, 204, 21, 0.3);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.45);
}
.preview-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
.preview-card-header .header-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-dark));
  color: var(--blue-darkest);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px var(--yellow-glow);
}
.preview-card-header h4 {
  color: #ffffff;
  font-size: 1.15rem;
}
.preview-card-header p {
  font-size: 0.82rem;
  color: #cbd5e1;
}

.quick-category-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.quick-cat-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #f1f5f9;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}
.quick-cat-btn:hover {
  background: rgba(250, 204, 21, 0.18);
  border-color: var(--yellow-bright);
  color: var(--yellow-bright);
  transform: translateY(-2px);
}
.quick-cat-btn.active {
  background: linear-gradient(135deg, var(--yellow-bright), var(--yellow-amber));
  color: var(--blue-darkest);
  border-color: var(--yellow-bright);
  font-weight: 700;
}
.quick-cat-btn i {
  font-size: 1rem;
}

.preview-card-footer {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8rem;
  color: #cbd5e1;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1rem;
}
.preview-card-footer i {
  color: var(--green-light);
}

/* ==========================================================================
   5. CATÁLOGO INTERACTIVO
   ========================================================================== */
.catalog-section {
  padding: 5rem 0;
  background-color: var(--bg-body);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3rem auto;
}
.section-title {
  font-size: 2.25rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  color: var(--blue-dark);
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

.catalog-controls {
  margin-bottom: 2.5rem;
}

/* Pestañas de categorías con scroll horizontal */
.category-tabs-scroll {
  overflow-x: auto;
  padding-bottom: 0.5rem;
  margin-bottom: 1.5rem;
  -webkit-overflow-scrolling: touch;
}
.category-tabs {
  display: flex;
  gap: 0.6rem;
  min-width: max-content;
}
.cat-tab {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--blue-dark);
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}
.cat-tab:hover {
  background-color: var(--blue-subtle);
  border-color: var(--blue-medium);
}
.cat-tab.active {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
  color: #ffffff;
  border-color: var(--blue-dark);
  box-shadow: 0 4px 12px rgba(10, 37, 64, 0.28);
}

/* Barra de filtros secundarios */
.filter-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--bg-surface);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  gap: 1rem;
}
.filter-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.filter-label {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-dark);
}
.filter-label i {
  color: var(--blue-medium);
}
.form-select {
  padding: 0.45rem 1rem;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  background-color: var(--bg-body);
  font-size: 0.88rem;
  color: var(--text-main);
  outline: none;
  cursor: pointer;
}
.form-select:focus {
  border-color: var(--blue-medium);
}

.count-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--green-dark);
  background-color: var(--green-subtle);
  border: 1px solid var(--green-border);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
}

/* Rejilla de Productos */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(315px, 1fr));
  gap: 2rem;
}

/* Tarjeta de Producto BTO */
.product-card {
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all var(--transition-base);
  position: relative;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-medium);
}

.card-image-wrap {
  position: relative;
  height: 220px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  box-sizing: border-box;
  cursor: pointer;
}
.card-img,
.card-image {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  filter: drop-shadow(0 4px 10px rgba(7, 25, 44, 0.08));
  user-select: none;
}
.product-card:hover .card-img,
.product-card:hover .card-image {
  transform: scale(1.08);
}

/* Badges sobre la imagen de la tarjeta */
.card-status-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.22rem 0.65rem;
  border-radius: 50px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  letter-spacing: 0.02em;
}
.card-status-tag.status-disponible {
  background: rgba(220, 252, 231, 0.95);
  color: var(--stock-green);
  border: 1px solid var(--green-border);
}
.card-status-tag.status-pocas {
  background: rgba(254, 243, 199, 0.95);
  color: var(--stock-amber);
  border: 1px solid rgba(245, 158, 11, 0.35);
}
.card-status-tag.status-pedido {
  background: rgba(224, 242, 254, 0.95);
  color: var(--stock-blue);
  border: 1px solid rgba(29, 99, 158, 0.35);
}

.badge-3d-available {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: rgba(7, 25, 44, 0.88);
  color: var(--yellow-primary);
  border: 1px solid rgba(234, 179, 8, 0.4);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.22rem 0.6rem;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Cuerpo de la tarjeta de producto */
.card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.65rem;
}

.card-category-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}
.card-cat-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue-medium);
  letter-spacing: 0.04em;
}
.card-stock-qty {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--blue-darkest);
  line-height: 1.3;
  margin: 0;
  cursor: pointer;
  transition: color 0.2s ease;
  min-height: 2.8rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-title:hover {
  color: var(--blue-light);
}

.card-sku-row {
  display: flex;
  align-items: center;
}
.card-sku-badge {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', Menlo, monospace;
  font-size: 0.78rem;
  font-weight: 700;
  background-color: var(--blue-subtle);
  color: var(--blue-primary);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid rgba(43, 130, 201, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.card-dimensions-box {
  background-color: #f8fafc;
  border-radius: 10px;
  padding: 0.6rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  border: 1px solid var(--border-subtle);
}
.dim-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.dim-label i {
  color: var(--blue-medium);
}
.dim-val {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue-darkest);
  font-family: 'Inter', sans-serif;
}

.card-price-row {
  margin-top: 0.2rem;
  padding: 0.3rem 0;
}
.card-price-container {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}
.card-price-val {
  font-family: 'Outfit', sans-serif;
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1;
}
.card-price-tax {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-muted);
  padding: 2px 6px;
  border-radius: 4px;
}

.card-actions {
  margin-top: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  padding-top: 0.35rem;
}

.btn-detail-trigger {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
  color: #ffffff;
  border: none;
  padding: 0.7rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.22s ease;
  box-shadow: 0 3px 8px rgba(15, 59, 96, 0.2);
}
.btn-detail-trigger:hover {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-light) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(15, 59, 96, 0.3);
  color: #ffffff;
}

.btn-wa-card {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: #ffffff;
  border: none;
  padding: 0.7rem 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  transition: all 0.22s ease;
  box-shadow: 0 3px 8px rgba(37, 211, 102, 0.25);
  text-decoration: none;
}
.btn-wa-card:hover {
  background: linear-gradient(135deg, #22c55e 0%, #15803d 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.4);
  color: #ffffff;
}

/* Estado Vacío */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background-color: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 2px dashed var(--border-subtle);
  margin-top: 2rem;
}
.empty-state i {
  font-size: 3rem;
  color: var(--blue-light);
  margin-bottom: 1rem;
}
.empty-state h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
  color: var(--blue-dark);
}
.empty-state p {
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 1.5rem auto;
}
.empty-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================================================
   6. VENTANA EMERGENTE DE DETALLE / MODAL DE PRODUCTO (SOLO PC / ESCRITORIO)
   ========================================================================== */

dialog:not([open]) {
  display: none !important;
}

.mobile-product-sheet {
  display: none;
}

@media (max-width: 900px) {
  .product-modal,
  .product-modal[open],
  .product-modal:modal {
    display: none !important;
  }

  .mobile-product-sheet.active,
  .mobile-product-sheet.is-active {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    background-color: #f1f5f9 !important;
    z-index: 999999 !important;
    flex-direction: column !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    animation: mobileSheetIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }
}

/* Modal centrado, proporcionado y sin scroll en PC (ampliado a 1125px ancho [+10%] y mayor holgura vertical [+20%]) */
.product-modal,
.product-modal[open],
.product-modal:modal {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid rgba(15, 59, 96, 0.2) !important;
  width: 1125px !important;
  max-width: min(95vw, 1140px) !important;
  height: auto !important;
  max-height: calc(100vh - 30px) !important;
  max-height: calc(100dvh - 30px) !important;
  border-radius: 22px !important;
  background: #ffffff !important;
  box-shadow: 0 25px 80px -10px rgba(7, 25, 44, 0.45), 0 14px 35px -5px rgba(7, 25, 44, 0.22) !important;
  overflow: hidden !important;
  z-index: 10000 !important;
  animation: btoModalIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes btoModalIn {
  from {
    opacity: 0;
    transform: translate(-50%, -47%) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.product-modal::backdrop {
  background: rgba(7, 25, 44, 0.75) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
}

.modal-dialog-content {
  background-color: #ffffff;
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden !important; /* Totalmente sin scroll en PC */
  border-radius: 22px;
}

/* Estructura rígida en dos columnas: izquierda para medios (42%) y derecha para ficha técnica (58%) */
.modal-body-grid {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  width: 100% !important;
  min-height: 0;
}

/* Columna Izquierda: Imagen / Visor 3D con +20% altura */
.modal-3d-wrapper {
  flex: 0 0 42% !important;
  width: 42% !important;
  max-width: 42% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  background: linear-gradient(175deg, #f8fafc 0%, #e2eaf5 100%);
  padding: 1.5rem 1.6rem 1.25rem 1.6rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  border-right: 1px solid #e2e8f0;
}

.viewer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  flex-wrap: nowrap;
  gap: 0.5rem;
}

.modal-media-tabs {
  display: flex;
  gap: 0.35rem;
  background-color: rgba(7, 25, 44, 0.08);
  padding: 4px;
  border-radius: var(--radius-full);
}

.modal-media-tab {
  border: none;
  background: transparent;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue-dark);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.modal-media-tab.active {
  background-color: #ffffff;
  color: var(--blue-primary);
  box-shadow: 0 1px 4px rgba(7, 25, 44, 0.12);
}

.badge-hint {
  font-size: 0.76rem;
  color: var(--blue-primary);
  font-weight: 600;
}

.modal-photo-container,
.model-viewer-container {
  position: relative;
  flex: 1 1 auto;
  height: 330px;
  max-height: 330px;
  min-height: 310px;
  border-radius: 16px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 3px 14px rgba(7, 25, 44, 0.07);
  border: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  box-sizing: border-box;
}

.modal-real-image {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  filter: drop-shadow(0 4px 16px rgba(0, 0, 0, 0.1));
  transition: transform 0.3s ease;
}

.modal-real-image:hover {
  transform: scale(1.03);
}

model-viewer {
  width: 100%;
  height: 100%;
  --poster-color: transparent;
  background-color: transparent;
  outline: none;
}

.viewer-poster-slot {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8fafc;
}
.loading-3d-spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: var(--blue-medium);
  font-size: 0.95rem;
  font-weight: 600;
}
.loading-3d-spinner i {
  font-size: 2.4rem;
  color: var(--yellow-amber);
}

.viewer-controls-overlay {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 0.45rem;
  z-index: 10;
}
.viewer-ctl-btn {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid var(--border-subtle);
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--blue-dark);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}
.viewer-ctl-btn:hover {
  background: var(--yellow-subtle);
  color: var(--yellow-dark);
  border-color: var(--yellow-amber);
  transform: scale(1.05);
}

.model-disclaimer {
  font-size: 0.76rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 0.75rem;
  margin-bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  line-height: 1.35;
}

/* Columna Derecha: Información y Especificaciones Técnicas con mayor amplitud y altura */
.modal-info-wrapper {
  flex: 0 0 58% !important;
  width: 58% !important;
  max-width: 58% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 1.5rem 2rem 1.25rem 2rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden !important;
  background-color: #ffffff;
}

.modal-header-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.modal-category {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--green-primary);
  letter-spacing: 0.05em;
}

.modal-status-badge {
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  background-color: var(--stock-green-bg);
  color: var(--stock-green);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.modal-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.36rem;
  font-weight: 800;
  margin-top: 0.15rem;
  margin-bottom: 0.75rem;
  color: var(--blue-dark);
  line-height: 1.28;
}

/* Fila SKU y Precio con amplio espacio para números y etiquetas */
.modal-meta-row {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.modal-sku-box {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  background-color: var(--blue-subtle);
  padding: 0.55rem 1rem;
  border-radius: 10px;
  border: 1px solid #d8e5f2;
}

.sku-label {
  font-size: 0.8rem;
  color: var(--blue-primary);
  font-weight: 600;
  white-space: nowrap;
}

.sku-value {
  font-family: monospace;
  font-size: 0.98rem;
  color: var(--blue-dark);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.copy-sku-btn {
  margin-left: auto;
  background-color: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  padding: 0.28rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}
.copy-sku-btn:hover {
  border-color: var(--yellow-amber);
  color: var(--yellow-dark);
  background: #fffbeb;
}

.modal-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  background-color: #f8fafc;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.price-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.price-value {
  font-family: 'Outfit', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--blue-primary);
}

.tax-tag {
  font-size: 0.74rem;
  color: var(--text-light);
  margin-left: auto;
  white-space: nowrap;
}

/* Tabla de Especificaciones Técnicas amplia y legible */
.modal-specs-table {
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 0.75rem;
  background: #ffffff;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.52rem 1rem;
  font-size: 0.86rem;
  border-bottom: 1px solid #f1f5f9;
}
.spec-row:last-child {
  border-bottom: none;
}
.spec-row:nth-child(even) {
  background-color: #f8fafc;
}

.spec-name {
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.86rem;
}
.spec-name i {
  color: var(--blue-medium);
  font-size: 0.88rem;
}

.spec-val {
  text-align: right;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 0.88rem;
}

/* Descripción Técnica */
.modal-description-box {
  margin-bottom: 0.75rem;
}
.modal-description-box h4 {
  font-size: 0.8rem;
  margin-bottom: 0.25rem;
  color: var(--blue-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
.modal-description-box p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Acciones WhatsApp */
.modal-actions {
  margin-top: auto;
}

.btn-whatsapp-large {
  width: 100%;
  padding: 0.85rem 1.5rem;
  font-size: 1.08rem;
  border-radius: 14px;
  font-weight: 800;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: all var(--transition-base);
}
.btn-whatsapp-large:hover {
  color: #ffffff;
  background: linear-gradient(135deg, #2ee06f, #0e7064);
  box-shadow: 0 6px 18px rgba(37, 211, 102, 0.5);
  transform: translateY(-1px);
}

.whatsapp-note {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
  text-align: center;
}

/* Barra Inferior con Botón Centrado Estético de Cierre */
.modal-footer-bar {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 0.8rem 1rem !important;
  background: linear-gradient(180deg, #f8fafc 0%, #edf2f7 100%) !important;
  border-top: 1px solid #e2e8f0 !important;
  border-radius: 0 0 22px 22px !important;
}

.btn-modal-close-aesthetic {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  background-color: #ffffff !important;
  color: var(--blue-dark) !important;
  border: 1px solid #cbd5e1 !important;
  border-radius: var(--radius-full) !important;
  padding: 0.55rem 2.6rem !important;
  font-size: 0.9rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(7, 25, 44, 0.08) !important;
  transition: all var(--transition-fast) !important;
}

.btn-modal-close-aesthetic i {
  font-size: 0.98rem;
  color: #ef4444;
  transition: transform var(--transition-fast);
}

.btn-modal-close-aesthetic:hover {
  background-color: #fee2e2 !important;
  border-color: #fca5a5 !important;
  color: #991b1b !important;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.22) !important;
  transform: translateY(-1px) !important;
}

.btn-modal-close-aesthetic:hover i {
  transform: rotate(90deg);
}

/* ==========================================================================
   7. SECCIÓN DE UBICACIÓN Y GOOGLE MAPS (LOS MOCHIS, SINALOA)
   ========================================================================== */
.location-section {
  padding: 5rem 0;
  background-color: var(--bg-surface);
  border-top: 2px solid var(--border-subtle);
}

.location-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 2.5rem;
  align-items: stretch;
}

.location-info-card {
  background-color: var(--bg-body);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.info-card-header {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.icon-circle {
  width: 54px;
  height: 54px;
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
  color: var(--yellow-bright);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(7, 25, 44, 0.25);
}
.info-card-header h3 {
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
  color: var(--blue-dark);
}
.info-card-header p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.info-items {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 2.25rem;
}
.info-item {
  display: flex;
  gap: 1rem;
}
.item-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background-color: var(--blue-subtle);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}
.item-text strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
  color: var(--blue-dark);
}
.item-text p {
  font-size: 0.86rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.item-text a {
  color: var(--blue-medium);
  font-weight: 600;
}
.item-text a:hover {
  color: var(--yellow-dark);
  text-decoration: underline;
}

.maps-action-box {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.btn-maps-direct {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
  color: #ffffff;
  padding: 0.95rem 1.25rem;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  box-shadow: 0 4px 14px rgba(7, 25, 44, 0.25);
  transition: all var(--transition-base);
  border: 1px solid var(--yellow-bright);
}
.btn-maps-direct i.fa-map-location-dot {
  color: var(--yellow-bright);
}
.btn-maps-direct:hover {
  background: linear-gradient(135deg, var(--blue-primary), var(--blue-medium));
  box-shadow: 0 6px 18px rgba(15, 59, 96, 0.4);
  transform: translateY(-2px);
}
.btn-maps-text {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.btn-maps-sub {
  font-size: 0.82rem;
  font-weight: 500;
  opacity: 0.9;
}
.maps-action-box small {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
}

/* Vista Previa del Mapa */
.map-visual-container {
  min-height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border-subtle);
  position: relative;
}
.map-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
}
.map-wrapper iframe {
  width: 100%;
  height: 100%;
  min-height: 480px;
}
.map-badge-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(7, 25, 44, 0.92);
  color: #ffffff;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(250, 204, 21, 0.4);
}
.map-badge-overlay i {
  color: var(--yellow-bright);
}

/* ==========================================================================
   8. PIE DE PÁGINA (FOOTER BTO) - AZUL OBSCURO Y ACENTOS ORO
   ========================================================================== */
.main-footer {
  background-color: var(--blue-darkest);
  color: #cbd5e1;
  padding-top: 4.5rem;
  border-top: 4px solid var(--yellow-bright);
}

.footer-content {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3.5rem;
}

.footer-logo .brand-name {
  color: #ffffff;
}
.footer-logo .brand-tagline {
  color: var(--green-light);
}
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  margin-top: 1rem;
  color: #94a3b8;
}

.footer-col h4 {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  display: inline-block;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 28px;
  height: 3px;
  background-color: var(--yellow-bright);
  border-radius: var(--radius-full);
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.5rem;
}
.footer-col ul li a {
  font-size: 0.88rem;
  color: #cbd5e1;
  transition: all var(--transition-fast);
}
.footer-col ul li a:hover {
  color: var(--yellow-bright);
  padding-left: 5px;
}

.brands-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.5rem;
}
.brand-pill {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  color: #e2e8f0;
}

.footer-col p {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
}

.footer-bottom {
  background-color: #040e1a;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  color: #64748b;
}
.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-bottom strong {
  color: #94a3b8;
}

/* Indicadores y Badges de Versión BTO */
.bto-version-tag {
  display: inline-block;
  background: rgba(250, 204, 21, 0.25);
  color: var(--yellow-bright);
  font-weight: 800;
  font-size: 0.76rem;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(250, 204, 21, 0.45);
  margin-left: 0.4rem;
  letter-spacing: 0.03em;
  vertical-align: middle;
}

.mobile-sheet-title-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.bto-version-badge-mini {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--yellow-bright);
  background: rgba(255, 255, 255, 0.15);
  padding: 1px 6px;
  border-radius: var(--radius-full);
  letter-spacing: 0.04em;
  line-height: 1.2;
}

.footer-copy-box {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.bto-version-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.08);
  color: var(--yellow-bright);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(250, 204, 21, 0.3);
  letter-spacing: 0.02em;
}
.bto-version-pill i {
  font-size: 0.7rem;
  color: var(--yellow-bright);
}

/* ==========================================================================
   9. NOTIFICACIÓN TOAST
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background-color: var(--blue-dark);
  color: #ffffff;
  border: 1px solid var(--yellow-bright);
  padding: 0.85rem 1.35rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  z-index: 2000;
  transform: translateY(100px);
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}
.toast-notification i {
  color: var(--yellow-bright);
}

/* ==========================================================================
   10. BOTÓN FLOTANTE DE WHATSAPP (MÓVIL Y ESCRITORIO)
   ========================================================================== */
.btn-floating-whatsapp {
  display: none !important;
}

@keyframes pulseWaButton {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   11. RESPONSIVIDAD Y MEDIA QUERIES (OPTIMIZACIÓN MÓVIL COMPLETA)
   ========================================================================== */

/* Tablets / Pantallas medianas (hasta 1024px) */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-title {
    font-size: 2.35rem;
  }
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Teléfonos y Tablets Verticales (hasta 768px) */
@media (max-width: 768px) {
  /* Contenedores generales */
  .container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  /* Barra superior informativa oculta para ahorrar espacio */
  .top-banner,
  .hide-mobile {
    display: none !important;
  }

  /* Navbar móvil optimizado: Logo a la izquierda y botón de acción directo a la derecha */
  .navbar-wrapper {
    box-shadow: 0 2px 10px rgba(7, 25, 44, 0.08);
    width: 100%;
    max-width: 100%;
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
  }
  .navbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
    padding-top: 0.45rem;
    padding-bottom: 0.45rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .brand-logo {
    order: 1;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }
  body.page-catalogo .brand-logo {
    max-width: calc(100% - 110px);
  }
  .logo-image-container {
    width: 52px;
    height: 52px;
    min-width: 52px;
    flex-shrink: 0;
  }
  .logo-text {
    min-width: 0;
    overflow: hidden;
  }
  .brand-name {
    font-size: 1.15rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .brand-acronym {
    font-size: 0.78rem;
    padding: 2px 5px;
  }
  .brand-tagline {
    font-size: 0.74rem;
    letter-spacing: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* Acciones de cabecera en móvil: botón de retorno en catálogo */
  .nav-actions {
    order: 1;
    display: flex !important;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
  }
  .nav-actions .nav-link {
    display: none !important;
  }
  .btn-back-home {
    display: inline-flex !important;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.8rem !important;
    font-size: 0.78rem !important;
    font-weight: 700 !important;
    border-radius: 50px !important;
    background: rgba(15, 59, 96, 0.08) !important;
    border-color: var(--blue-medium) !important;
    color: var(--blue-dark) !important;
    white-space: nowrap;
  }

  /* Buscador predictivo ocupa el 100% de la segunda fila en catálogo */
  .search-container {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin-top: 0.25rem;
  }
  .search-input-box {
    padding: 0.52rem 0.85rem 0.52rem 1.15rem;
  }
  #predictive-search-input {
    font-size: 0.92rem;
  }

  /* Menú desplegable predictivo en pantalla completa móvil */
  .predictive-results-dropdown {
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    width: 100%;
    max-height: 65vh;
    overflow-y: auto;
    border-radius: var(--radius-md);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    z-index: 999999;
  }
  .dropdown-item {
    padding: 0.65rem 0.85rem;
    gap: 0.65rem;
    flex-wrap: wrap;
    align-items: flex-start;
  }
  .dropdown-item-left {
    flex: 1;
    min-width: 0;
    gap: 0.65rem;
  }
  .dropdown-item-thumb {
    width: 42px;
    height: 42px;
    min-width: 42px;
  }
  .dropdown-item-title {
    font-size: 0.84rem;
    line-height: 1.25;
    word-break: break-word;
  }
  .dropdown-item-meta {
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-top: 2px;
  }
  .dropdown-sku-badge, 
  .dropdown-dim-badge {
    font-size: 0.7rem;
    padding: 1px 6px;
  }
  .dropdown-item-right {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding-left: calc(42px + 0.65rem);
    margin-top: -0.2rem;
  }
  .dropdown-status-pill {
    font-size: 0.68rem;
    padding: 2px 7px;
  }

  /* Portada Hero en móvil: Minimalista, elegante y directa */
  .hero-section {
    padding: 2.25rem 0 1.85rem 0;
    text-align: center;
  }
  .hero-container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-content {
    max-width: 100%;
  }
  .hero-subtitle {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 0;
  }

  /* Ocultar estadísticas y tarjeta duplicada en móvil como solicitó el usuario */
  .hero-stats {
    display: none !important;
  }
  .hero-card-preview {
    display: none !important;
  }

  /* Sección de Categorías / Fichas BTO en móvil */
  .category-section {
    padding: 2.25rem 0 3rem 0;
  }
  .category-section .section-header {
    margin-bottom: 1.35rem;
    text-align: center;
  }
  .category-section .section-title {
    font-size: 1.45rem;
    line-height: 1.25;
  }
  .category-section .section-subtitle {
    font-size: 0.86rem;
    line-height: 1.5;
  }
  .categories-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
    margin-top: 1.25rem !important;
    width: 100% !important;
  }
  .category-card {
    border-radius: 16px;
    box-shadow: 0 4px 16px rgba(7, 25, 44, 0.08);
  }
  .cat-card-media {
    height: 195px;
  }
  .cat-card-content {
    padding: 1.1rem 1rem !important;
  }
  .cat-card-title {
    font-size: 1.15rem !important;
    margin-bottom: 0.5rem !important;
  }
  .cat-card-desc {
    font-size: 0.85rem !important;
    line-height: 1.5 !important;
    margin-bottom: 0.85rem !important;
  }
  .cat-card-brands-box {
    padding: 0.55rem 0.75rem !important;
    margin-bottom: 1rem !important;
    border-radius: 8px !important;
  }
  .cat-card-brands-label {
    font-size: 0.68rem !important;
    margin-bottom: 0.15rem !important;
  }
  .cat-card-brands-text {
    font-size: 0.78rem !important;
  }
  .cat-card-actions {
    gap: 0.55rem !important;
  }
  .btn-cat-view {
    padding: 0.75rem 1rem !important;
    font-size: 0.88rem !important;
    border-radius: 10px !important;
    min-height: 44px;
  }
  .btn-cat-prices {
    padding: 0.68rem 1rem !important;
    font-size: 0.84rem !important;
    border-radius: 10px !important;
    min-height: 44px;
  }

  /* Ocultar flechas de avance de derecha e izquierda en visor móvil (usa deslizamiento táctil) */
  #mob-gallery-viewport .gallery-nav-btn {
    display: none !important;
  }

  /* Catálogo de Productos en Móvil (productos.html) */
  .catalog-page-hero {
    padding: 2.2rem 0 1.8rem 0;
  }
  .catalog-hero-title {
    font-size: 1.55rem !important;
  }
  .catalog-hero-desc {
    font-size: 0.88rem !important;
  }
  .catalog-section {
    padding: 2rem 0 3rem 0;
  }
  .category-tabs-scroll {
    margin-bottom: 0.85rem;
  }
  .cat-tab {
    padding: 0.45rem 0.85rem;
    font-size: 0.8rem;
  }
  .filter-toolbar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
    padding: 0.75rem 0.85rem;
  }
  .filter-group {
    width: 100%;
    justify-content: space-between;
  }
  .form-select {
    font-size: 0.84rem;
    padding: 0.42rem 0.65rem;
  }
  #product-count-badge {
    text-align: center;
    font-size: 0.78rem;
  }

  /* Grid de productos a 1 columna para celulares (sin desbordes horizontales) */
  .product-grid {
    grid-template-columns: 1fr !important;
    gap: 1.2rem !important;
    width: 100% !important;
  }
  .product-card {
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(7, 25, 44, 0.07);
  }
  .card-image-wrap {
    height: 180px !important;
    padding: 0.85rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .card-img,
  .card-image {
    max-height: 160px !important;
    object-fit: contain !important;
  }
  .card-body {
    padding: 1rem !important;
    gap: 0.55rem !important;
  }
  .card-title {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
    min-height: auto !important;
    margin-bottom: 0.2rem !important;
  }
  .card-sku-badge {
    font-size: 0.74rem !important;
    padding: 0.2rem 0.55rem !important;
  }
  .card-dimensions-box {
    padding: 0.5rem 0.75rem !important;
    border-radius: 8px !important;
    gap: 0.15rem !important;
  }
  .dim-label {
    font-size: 0.68rem !important;
  }
  .dim-val {
    font-size: 0.82rem !important;
  }
  .card-price-row {
    padding: 0.15rem 0 !important;
  }
  .card-price-val {
    font-size: 1.28rem !important;
  }
  .card-actions {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
    padding-top: 0.35rem !important;
  }
  .btn-detail-trigger, 
  .btn-wa-card {
    padding: 0.75rem 0.45rem !important;
    font-size: 0.82rem !important;
    border-radius: 10px !important;
    font-weight: 700 !important;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* En celular, ocultar totalmente la ventana emergente tipo modal de escritorio */
  .product-modal,
  .product-modal[open],
  .product-modal:modal,
  #product-detail-modal,
  #category-gallery-modal {
    display: none !important;
  }

  /* ==========================================================================
     VISTA DEDICADA DE PRODUCTO PARA CELULARES (#mobile-product-view)
     ========================================================================== */
  .mobile-product-sheet {
    display: none;
  }

  .mobile-product-sheet.active,
  .mobile-product-sheet.is-active {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    background-color: #f1f5f9 !important;
    z-index: 999999 !important;
    flex-direction: column !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    animation: mobileSheetIn 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

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

  .mobile-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.85rem;
    background: linear-gradient(135deg, var(--blue-darkest), var(--blue-dark));
    color: #ffffff;
    flex-shrink: 0;
    box-shadow: 0 2px 8px rgba(7, 25, 44, 0.25);
    border-bottom: 2px solid var(--yellow-bright);
    z-index: 10;
  }

  .btn-sheet-back {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    padding: 0.4rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.82rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    cursor: pointer;
  }
  .btn-sheet-back i {
    color: var(--yellow-bright);
  }

  .mobile-sheet-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.98rem;
    color: #ffffff;
    letter-spacing: 0.02em;
  }

  .btn-sheet-close {
    background: rgba(255, 255, 255, 0.12);
    border: none;
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    cursor: pointer;
  }

  .mobile-sheet-content {
    flex: 1;
    overflow-y: auto !important;
    overflow-x: hidden !important;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 0.85rem;
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
  }

  .mob-media-box {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 0.85rem;
    box-shadow: 0 2px 10px rgba(7, 25, 44, 0.06);
    border: 1px solid var(--border-subtle);
  }

  .mob-media-tabs {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 0.65rem;
    background: var(--bg-muted);
    padding: 3px;
    border-radius: var(--radius-full);
  }
  .mob-media-tab {
    flex: 1;
    border: none;
    background: transparent;
    padding: 6px 10px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--blue-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    cursor: pointer;
  }
  .mob-media-tab.active {
    background-color: #ffffff;
    color: var(--blue-primary);
    box-shadow: var(--shadow-sm);
  }

  .mob-photo-container {
    min-height: 220px;
    max-height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem;
  }
  .mob-real-img {
    max-width: 100%;
    max-height: 240px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  .mob-viewer-container {
    height: 260px;
    width: 100%;
  }
  .mob-viewer-container model-viewer {
    width: 100%;
    height: 100%;
  }

  .mob-info-card {
    background-color: #ffffff;
    border-radius: 14px;
    padding: 1.15rem;
    box-shadow: 0 2px 10px rgba(7, 25, 44, 0.06);
    border: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }

  .mob-badge-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
  .mob-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--green-primary);
  }
  .mob-status {
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    background: var(--stock-green-bg);
    color: var(--stock-green);
  }

  .mob-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.25rem;
    color: var(--blue-dark);
    line-height: 1.25;
    margin: 0;
  }

  .mob-sku-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.85rem;
    background-color: var(--blue-subtle);
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
  }
  .mob-sku-group {
    display: flex;
    flex-direction: column;
  }
  .mob-sku-label {
    font-size: 0.72rem;
    color: var(--blue-primary);
    font-weight: 600;
  }
  .mob-sku-code {
    font-family: monospace;
    font-size: 0.95rem;
    color: var(--blue-dark);
    font-weight: 800;
  }
  .mob-copy-btn {
    background: #ffffff;
    border: 1px solid var(--border-subtle);
    padding: 0.3rem 0.65rem;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--blue-primary);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    cursor: pointer;
  }

  .mob-price-bar {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
  }
  .mob-price-label {
    font-size: 0.82rem;
    color: var(--text-muted);
  }
  .mob-price-val {
    font-family: 'Outfit', sans-serif;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--blue-primary);
  }

  .mob-section-title {
    font-size: 0.92rem;
    color: var(--blue-dark);
    margin-bottom: 0.4rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }

  .mob-specs-list {
    display: flex;
    flex-direction: column;
    border-top: 1px solid var(--border-subtle);
    padding-top: 0.65rem;
  }
  .mob-spec-item {
    display: flex;
    justify-content: space-between;
    padding: 0.45rem 0;
    font-size: 0.82rem;
    border-bottom: 1px solid #f1f5f9;
  }
  .mob-spec-lbl {
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.4rem;
  }
  .mob-spec-txt {
    color: var(--blue-dark);
    font-weight: 600;
    text-align: right;
  }

  .mob-description-box {
    border-top: 1px solid var(--border-subtle);
    padding-top: 0.65rem;
  }
  .mob-description-box p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.55;
    margin: 0;
  }

  .mobile-sheet-footer {
    padding: 0.65rem 0.85rem;
    background-color: #ffffff;
    border-top: 1px solid var(--border-subtle);
    box-shadow: 0 -3px 12px rgba(7, 25, 44, 0.08);
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    flex-shrink: 0;
  }

  .btn-whatsapp-mobile-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: #ffffff;
    border-radius: 12px;
    font-size: 1.05rem;
    font-weight: 800;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    cursor: pointer;
  }
  .btn-whatsapp-mobile-action:hover {
    color: #ffffff;
  }
  .btn-whatsapp-mobile-action i {
    font-size: 1.3rem;
  }

  .mob-quote-hint {
    text-align: center;
    font-size: 0.72rem;
    color: var(--text-muted);
  }

  /* Sección de Sucursal y Mapa en Móvil */
  .location-section {
    padding: 2.25rem 0 2.75rem 0;
  }
  .location-grid {
    grid-template-columns: 1fr !important;
    gap: 1.35rem !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  .location-info-card {
    background-color: #ffffff !important;
    border-radius: 16px !important;
    border: 1px solid var(--border-subtle) !important;
    padding: 1.25rem 1rem !important;
    box-shadow: 0 4px 18px rgba(7, 25, 44, 0.07) !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
  .info-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-subtle);
  }
  .info-card-header .icon-circle {
    width: 42px;
    height: 42px;
    min-width: 42px;
    font-size: 1.15rem;
  }
  .info-card-header h3 {
    font-size: 1.05rem;
    line-height: 1.25;
    margin-bottom: 0.15rem;
  }
  .info-card-header p {
    font-size: 0.76rem;
    color: var(--text-muted);
  }
  .info-items {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    margin-bottom: 0;
  }
  .info-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    background-color: #f8fafc;
    border: 1px solid #edf2f7;
    border-radius: 12px;
    padding: 0.75rem 0.85rem;
    box-sizing: border-box;
    width: 100%;
  }
  .item-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: var(--blue-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-top: 1px;
  }
  .item-text {
    flex: 1;
    min-width: 0;
    word-break: break-word;
    overflow-wrap: break-word;
  }
  .item-text strong {
    font-size: 0.82rem;
    color: var(--blue-dark);
    margin-bottom: 0.15rem;
    display: block;
  }
  .item-text p {
    font-size: 0.82rem;
    color: var(--text-muted);
    line-height: 1.45;
    margin: 0;
  }
  .contact-links-stack {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.2rem;
  }
  .contact-links-stack p {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
  }
  .contact-links-stack a {
    color: var(--blue-primary);
    font-weight: 700;
  }
  .maps-action-box {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
    margin-top: 0.2rem;
  }
  .btn-maps-direct {
    width: 100% !important;
    box-sizing: border-box !important;
    padding: 0.85rem 1rem !important;
    font-size: 0.9rem !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 0.6rem !important;
    box-shadow: 0 4px 14px rgba(7, 25, 44, 0.2) !important;
  }
  .btn-maps-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    font-weight: 800;
  }
  .btn-maps-sub {
    font-size: 0.72rem;
    font-weight: 500;
    opacity: 0.9;
  }
  .maps-action-box small {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.35;
  }
  .map-visual-container {
    min-height: 290px;
    height: 290px;
    width: 100%;
    border-radius: 16px;
    border: 1px solid var(--border-subtle);
    box-shadow: 0 4px 18px rgba(7, 25, 44, 0.07);
    overflow: hidden;
    position: relative;
    box-sizing: border-box;
    background: #f1f5f9;
  }
  .map-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .map-wrapper iframe {
    min-height: 290px;
    height: 290px;
    width: 100%;
    display: block;
    border: 0;
  }
  .map-badge-overlay {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(7, 25, 44, 0.88);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 0.7rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    z-index: 2;
    pointer-events: none;
    max-width: calc(100% - 20px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .map-badge-overlay i {
    color: var(--yellow-bright);
  }

  /* Pie de Página */
  .main-footer {
    padding-top: 2.75rem;
  }
  .footer-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding-bottom: 2rem;
  }
  .footer-desc {
    font-size: 0.85rem;
  }
  .footer-col h4 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }
  .footer-bottom {
    padding: 1.25rem 0;
  }
  .footer-bottom-container {
    flex-direction: column;
    text-align: center;
    gap: 0.5rem;
    font-size: 0.78rem;
  }
}

/* Teléfonos Pequeños (hasta 420px, ej. iPhone SE, Galaxy A) */
@media (max-width: 420px) {
  .container {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
  .brand-logo {
    max-width: 100%;
    gap: 0.6rem;
  }
  body.page-catalogo .brand-logo {
    max-width: calc(100% - 95px);
  }
  .logo-image-container {
    width: 46px;
    height: 46px;
    min-width: 46px;
  }
  .brand-tagline {
    display: none; /* Oculta tagline secundario en pantallas súper compactas */
  }
  .brand-name {
    font-size: 1.02rem;
  }
  .brand-acronym {
    font-size: 0.72rem;
  }
  .btn-back-home {
    padding: 0.38rem 0.65rem !important;
    font-size: 0.75rem !important;
  }
  .hero-title {
    font-size: 1.55rem;
  }
  .hero-subtitle {
    font-size: 0.86rem;
  }
  .card-actions {
    grid-template-columns: 1fr 1fr;
    gap: 0.4rem;
  }
  .btn-detail-trigger,
  .btn-wa-card {
    padding: 0.7rem 0.35rem !important;
    font-size: 0.78rem !important;
  }
  .btn-floating-whatsapp {
    display: none !important;
  }
  .mob-photo-container {
    min-height: 190px;
    max-height: 220px;
  }
  .mob-real-img {
    max-height: 200px;
  }
  .mob-viewer-container {
    height: 220px;
  }
  .mob-info-card {
    padding: 0.85rem;
  }
  .location-info-card {
    padding: 1rem 0.75rem;
  }
  .info-item {
    padding: 0.65rem 0.75rem;
  }
  .map-visual-container {
    min-height: 270px;
    height: 270px;
  }
  .map-wrapper iframe {
    min-height: 270px;
    height: 270px;
  }
}

/* ==========================================================================
   10. ESTILOS DE CATEGORÍAS (FICHAS DE LÍNEAS BTO EN INDEX.HTML)
   ========================================================================== */

.category-section {
  padding: 4.5rem 0 5rem 0;
  background: linear-gradient(180deg, #f4f7fb 0%, #edf3f9 100%);
  position: relative;
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}

.category-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15, 59, 96, 0.12);
  box-shadow: 0 8px 24px -6px rgba(7, 25, 44, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease;
  position: relative;
}

.category-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 42px -8px rgba(7, 25, 44, 0.16);
  border-color: var(--blue-light);
}

.cat-card-media {
  position: relative;
  height: 220px;
  background: linear-gradient(135deg, #0a2540 0%, #0f3b60 100%);
  overflow: hidden;
  cursor: pointer;
}

.cat-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.category-card:hover .cat-card-img {
  transform: scale(1.08);
}

.cat-card-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 25, 44, 0.1) 0%, rgba(7, 25, 44, 0.7) 100%);
  pointer-events: none;
}

/* Badge con contador de fotos */
.cat-photo-count-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(7, 25, 44, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.32rem 0.75rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 2;
  letter-spacing: 0.02em;
}

.cat-photo-count-badge i {
  color: var(--yellow-primary);
}

/* Icono flotante de la categoría */
.cat-icon-chip {
  position: absolute;
  bottom: 14px;
  left: 14px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--yellow-primary);
  color: var(--blue-darkest);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  z-index: 2;
  transition: transform 0.3s ease;
}

.category-card:hover .cat-icon-chip {
  transform: scale(1.1) rotate(5deg);
}

.cat-card-content {
  padding: 1.5rem 1.6rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cat-card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.28rem;
  font-weight: 800;
  color: var(--blue-darkest);
  margin: 0 0 0.65rem 0;
  line-height: 1.25;
  cursor: pointer;
  transition: color 0.2s ease;
}

.cat-card-title:hover {
  color: var(--blue-light);
}

.cat-card-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.1rem;
  flex-grow: 1;
}

.cat-card-brands-box {
  background: var(--blue-subtle);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(43, 130, 201, 0.15);
}

.cat-card-brands-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue-medium);
  display: block;
  margin-bottom: 0.25rem;
  letter-spacing: 0.04em;
}

.cat-card-brands-text {
  font-size: 0.82rem;
  color: var(--blue-dark);
  font-weight: 600;
}

.cat-card-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.65rem;
  margin-top: auto;
}

.btn-cat-view {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(15, 59, 96, 0.2);
}

.btn-cat-view:hover {
  background: linear-gradient(135deg, var(--blue-primary) 0%, var(--blue-light) 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(15, 59, 96, 0.3);
  color: #ffffff;
}

.btn-cat-prices {
  background: #ffffff;
  color: var(--blue-primary);
  border: 1.5px solid var(--border-subtle);
  padding: 0.65rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.84rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-cat-prices:hover {
  border-color: var(--yellow-primary);
  background: var(--yellow-subtle);
  color: var(--blue-darkest);
}

/* ==========================================================================
   11. VISOR DE GALERÍA EN MODAL DE CATEGORÍA
   ========================================================================== */

.category-gallery-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.gallery-main-viewport {
  position: relative;
  width: 100%;
  height: 310px;
  background: #07192c;
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.4);
  touch-action: pan-y;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.gallery-main-viewport:active {
  cursor: grabbing;
}

.gallery-main-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.28s ease, transform 0.28s ease;
  user-select: none;
  -webkit-user-select: none;
  -webkit-user-drag: none;
  pointer-events: none;
}

.gallery-main-img.fade-out {
  opacity: 0;
  transform: scale(0.97);
}

.gallery-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(7, 25, 44, 0.65);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.gallery-nav-btn:hover {
  background: var(--yellow-primary);
  color: var(--blue-darkest);
  transform: translateY(-50%) scale(1.1);
  border-color: var(--yellow-primary);
}

.gallery-nav-btn.prev {
  left: 12px;
}

.gallery-nav-btn.next {
  right: 12px;
}

.gallery-counter-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(7, 25, 44, 0.8);
  backdrop-filter: blur(6px);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.25rem 0.65rem;
  border-radius: 30px;
  font-size: 0.76rem;
  font-weight: 700;
  z-index: 10;
  letter-spacing: 0.03em;
}

.gallery-counter-badge i {
  color: var(--yellow-primary);
}

.gallery-caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(7, 25, 44, 0.92) 100%);
  padding: 1.5rem 1rem 0.65rem 1rem;
  color: #ffffff;
  pointer-events: none;
}

.gallery-caption-title {
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.gallery-caption-sub {
  font-size: 0.74rem;
  color: rgba(255, 255, 255, 0.8);
  margin: 0.15rem 0 0 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Tira de miniaturas debajo de la foto principal */
.gallery-thumbnail-strip {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.85rem;
  overflow-x: auto;
  padding: 0.35rem 0.15rem;
  scrollbar-width: thin;
}

.gallery-thumbnail-strip::-webkit-scrollbar {
  height: 5px;
}

.gallery-thumbnail-strip::-webkit-scrollbar-thumb {
  background: rgba(15, 59, 96, 0.3);
  border-radius: 4px;
}

.gallery-thumb {
  flex: 0 0 68px;
  width: 68px;
  height: 52px;
  border-radius: 8px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  background: #0a2540;
  opacity: 0.65;
  transition: all 0.22s ease;
  position: relative;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover {
  opacity: 0.95;
  transform: translateY(-2px);
}

.gallery-thumb.active {
  border-color: var(--yellow-primary);
  opacity: 1;
  transform: scale(1.04);
  box-shadow: 0 0 12px var(--yellow-glow);
}

/* ==========================================================================
   12. ANIMACIONES AL DESPLAZARSE (SCROLL REVEAL & TRANSICIONES MODERNAS)
   ========================================================================== */

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Delays escalonados para efecto cascada en rejillas */
.delay-1 { transition-delay: 0.08s; }
.delay-2 { transition-delay: 0.16s; }
.delay-3 { transition-delay: 0.24s; }
.delay-4 { transition-delay: 0.32s; }
.delay-5 { transition-delay: 0.40s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   13. ESTILOS AUXILIARES: ENLACES DESTACADOS Y HERO DE CATÁLOGO
   ========================================================================== */

.nav-link-highlight {
  background: linear-gradient(135deg, var(--yellow-amber) 0%, var(--yellow-primary) 100%);
  color: var(--blue-darkest) !important;
  font-weight: 700 !important;
  padding: 0.5rem 1rem !important;
  border-radius: 50px !important;
  box-shadow: 0 4px 12px var(--yellow-glow);
  transition: all 0.25s ease !important;
}

.nav-link-highlight:hover {
  background: linear-gradient(135deg, var(--yellow-primary) 0%, var(--yellow-bright) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(245, 158, 11, 0.45);
  color: var(--blue-darkest) !important;
}

.catalog-page-hero {
  background: linear-gradient(135deg, var(--blue-darkest) 0%, var(--blue-primary) 100%);
  color: #ffffff;
  padding: 3.5rem 0 3rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.catalog-hero-inner {
  max-width: 780px;
  margin: 0 auto;
}

.catalog-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(234, 179, 8, 0.18);
  color: var(--yellow-primary);
  border: 1px solid rgba(234, 179, 8, 0.35);
  padding: 0.35rem 0.95rem;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.catalog-hero-title {
  font-family: 'Outfit', sans-serif;
  font-size: 2.3rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.85rem;
  line-height: 1.2;
}

.catalog-hero-desc {
  font-size: 1.05rem;
  color: #c9dbe9;
  line-height: 1.6;
}

.btn-back-home {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-inverse);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-back-home:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff;
}

/* Adaptación responsive para la galería en móviles */
@media (max-width: 900px) {
  .categories-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .gallery-main-viewport {
    height: 240px;
  }
  .catalog-hero-title {
    font-size: 1.7rem;
  }
}
