/* =========================================================================
   DISTRIBUIDORA LA PASTORA, C.A. - SISTEMA DE DISEÑO EXCLUSIVO
   Identidad visual basada en los colores oficiales del Logotipo:
   - Azul Marino Institucional: #07192b / #0a2239 / #0d3257
   - Dorado / Ámbar Obelisco: #f59e0b / #fbbf24 / #ea580c
   - Verde Frescura Avícola: #10b981 / #059669 / #ecfdf5
   - Fondo Limpio y Luminoso: #f8fafc / #ffffff
   ========================================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
  /* Paleta Azul Marino */
  --navy-900: #061726;
  --navy-800: #07192b;
  --navy-700: #0a2239;
  --navy-600: #0d3257;
  --navy-500: #123e6b;

  /* Paleta Dorado / Naranja Obelisco */
  --gold-300: #fde047;
  --gold-400: #fbbf24;
  --gold-500: #f59e0b;
  --gold-600: #d97706;
  --orange-500: #ea580c;
  --orange-50: #fff7ed;
  --orange-100: #ffedd5;

  /* Paleta Verde Frescura */
  --green-400: #34d399;
  --green-500: #10b981;
  --green-600: #059669;
  --green-700: #047857;
  --green-50: #ecfdf5;
  --green-100: #d1fae5;

  /* Colores de Interfaz */
  --bg-page: #f8fafc;
  --card-bg: #ffffff;
  --text-main: #0a2239;
  --text-muted: #64748b;
  --border-subtle: #e2e8f0;
  --border-focus: #0a2239;

  /* Radio y Sombras */
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;

  --shadow-sm: 0 2px 6px rgba(10, 34, 57, 0.05);
  --shadow-md: 0 6px 20px rgba(10, 34, 57, 0.08);
  --shadow-lg: 0 14px 34px rgba(10, 34, 57, 0.12);
  --shadow-card: 0 4px 16px rgba(7, 25, 43, 0.06);
}

/* RESET GENERAL */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-tap-highlight-color: transparent;
}

body {
  background-color: var(--bg-page);
  color: var(--text-main);
  min-height: 100vh;
  padding-bottom: 96px;
  overflow-x: hidden;
}

/* =========================================================================
   BARRA SUPERIOR (TOP ANNOUNCEMENT BAR)
   ========================================================================= */
.top-announcement-bar {
  background: var(--navy-900);
  color: #e2e8f0;
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 12px;
  border-bottom: 1px solid rgba(245, 158, 11, 0.35);
}

.top-bar-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  text-align: center;
}

.bar-divider {
  color: var(--gold-500);
  opacity: 0.8;
}

.top-bar-link {
  color: #34d399;
  text-decoration: none;
  font-weight: 800;
  transition: color 0.15s ease;
}

.top-bar-link:hover {
  color: #ffffff;
}

/* =========================================================================
   HERO HEADER CON LOGO GRANDE Y PROMINENTE (COLORES DEL LOGO)
   ========================================================================= */
.brand-hero {
  background: radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.22) 0%, transparent 65%),
              linear-gradient(165deg, var(--navy-900) 0%, var(--navy-700) 55%, var(--navy-600) 100%);
  color: #ffffff;
  padding: 28px 16px 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 8px 28px rgba(7, 25, 43, 0.3);
  border-bottom: 4px solid var(--gold-500);
}

/* Destello verde sutil en esquina */
.brand-hero::after {
  content: "";
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.brand-hero-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 2;
}

/* CONTENEDOR DEL LOGO GRANDE Y ELEVADO */
.grand-logo-wrapper {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.grand-logo-card {
  background: #ffffff;
  border-radius: var(--radius-xl);
  padding: 16px 28px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35), 0 0 0 2px rgba(245, 158, 11, 0.45);
  max-width: 440px;
  width: 92%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.grand-logo-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.45), 0 0 0 2px var(--gold-500);
}

/* LOGO GRANDE Y PROMINENTE */
.grand-logo-img {
  width: 100%;
  max-height: 145px; /* LOGO MUCHO MÁS GRANDE */
  height: auto;
  object-fit: contain;
  display: block;
}

.brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 4px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.brand-tagline {
  font-size: 0.88rem;
  color: #fde68a;
  font-weight: 600;
  margin-bottom: 14px;
}

/* Badges de atributos */
.brand-badges-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.brand-badge {
  padding: 5px 12px;
  border-radius: 30px;
  font-size: 0.74rem;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.badge-green {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.badge-gold {
  background: rgba(245, 158, 11, 0.2);
  color: #fde047;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.badge-navy {
  background: rgba(255, 255, 255, 0.14);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

/* Botones de acción en cabecera */
.hero-actions-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-hero-wa {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  font-size: 0.86rem;
  padding: 10px 18px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.38);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-hero-wa:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.btn-hero-cart {
  background: linear-gradient(135deg, var(--gold-400) 0%, var(--gold-500) 100%);
  color: var(--navy-900);
  border: none;
  font-weight: 900;
  font-size: 0.86rem;
  padding: 10px 18px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.4);
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-hero-cart:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.hero-cart-badge {
  background: var(--navy-900);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 900;
  padding: 2px 7px;
  border-radius: 12px;
}

/* =========================================================================
   CONTROLES DE CATÁLOGO (BÚSQUEDA Y CATEGORÍAS)
   ========================================================================= */
.catalog-controls-section {
  max-width: 1000px;
  margin: -18px auto 16px;
  padding: 0 16px;
  position: relative;
  z-index: 10;
}

.controls-card {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  padding: 14px 16px;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-subtle);
}

.search-input-group {
  position: relative;
  margin-bottom: 12px;
}

.search-glass-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.1rem;
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 12px 16px 12px 42px;
  font-size: 0.92rem;
  font-weight: 600;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  background: #f8fafc;
  color: var(--navy-700);
  outline: none;
  transition: all 0.2s ease;
}

.search-input:focus {
  background: #ffffff;
  border-color: var(--navy-700);
  box-shadow: 0 0 0 3px rgba(10, 34, 57, 0.12);
}

.btn-clear-input {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.1rem;
  cursor: pointer;
  display: none;
}

.category-tabs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.cat-tab {
  background: #f1f5f9;
  border: 1.5px solid #e2e8f0;
  color: var(--navy-700);
  padding: 8px 16px;
  border-radius: 30px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
}

.cat-tab:hover {
  background: #e2e8f0;
}

.cat-tab.active {
  background: var(--navy-700);
  color: #ffffff;
  border-color: var(--gold-500);
  box-shadow: 0 4px 12px rgba(10, 34, 57, 0.25);
}

.cat-tab.active .tab-emoji {
  transform: scale(1.15);
}

/* =========================================================================
   ÁREA PRINCIPAL DE PRODUCTOS
   ========================================================================= */
.catalog-main-area {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.catalog-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 4px;
}

.catalog-status-title h2 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-700);
}

.catalog-subtitle {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

.catalog-contact-shortcut {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
}

.order-ready-label {
  color: var(--text-muted);
}

.link-fast-chat {
  color: var(--green-600);
  font-weight: 800;
  text-decoration: none;
}

/* =========================================================================
   GRILLA Y TARJETAS DE PRODUCTO (DISEÑO FRESCO CON COLORES DE LA PASTORA)
   ========================================================================= */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}

.product-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Acento de color superior según categoría */
.product-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold-500);
  z-index: 2;
}

.product-card[data-cat="Subproductos Avícolas"]::before {
  background: var(--green-500);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--navy-600);
}

.product-card.in-cart {
  border-color: var(--green-500);
  box-shadow: 0 6px 20px rgba(16, 185, 129, 0.22);
}

.product-card.in-cart::after {
  content: "✓ En tu Pedido";
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--green-500);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 10;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

/* FOTO DEL PRODUCTO */
.card-media-box {
  width: 100%;
  padding-top: 82%;
  position: relative;
  background: #f8fafc;
  cursor: pointer;
  overflow: hidden;
}

.card-media-box img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  padding: 6px;
  transition: transform 0.35s ease;
}

.product-card:hover .card-media-box img {
  transform: scale(1.04);
}

/* Badge de zoom */
.zoom-hint-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(10, 34, 57, 0.85);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 14px;
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  gap: 4px;
  z-index: 4;
}

.card-category-tag {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(10, 34, 57, 0.9);
  color: #ffffff;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
  z-index: 4;
}

/* CUERPO DE LA TARJETA */
.card-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

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

.card-code-text {
  font-size: 0.7rem;
  font-weight: 800;
  color: var(--gold-600);
  text-transform: uppercase;
}

.card-brand-text {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--green-600);
  background: var(--green-50);
  padding: 2px 6px;
  border-radius: 4px;
}

.card-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy-700);
  line-height: 1.25;
  margin-bottom: 6px;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-bottom: 10px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.card-meta-pill {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--orange-500);
  background: var(--orange-50);
  border: 1px solid var(--orange-100);
  padding: 4px 10px;
  border-radius: 6px;
  align-self: flex-start;
  margin-bottom: 12px;
}

/* PANEL DE PRECIO */
.card-price-box {
  background: #f8fafc;
  border: 1.5px dashed #cbd5e1;
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.price-unit-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
}

.price-amount {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--green-600);
}

.price-amount.quote-mode {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--orange-500);
}

/* ACCIONES DE COMPRA Y STEPPER */
.card-actions-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}

.stepper-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.btn-qty {
  background: #f8fafc;
  border: none;
  width: 32px;
  height: 32px;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy-700);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s ease;
}

.btn-qty:hover {
  background: #e2e8f0;
}

.input-qty {
  width: 36px;
  border: none;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--navy-700);
  outline: none;
}

.btn-add-item {
  flex: 1;
  background: linear-gradient(135deg, var(--navy-700) 0%, var(--navy-600) 100%);
  color: #ffffff;
  border: none;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(10, 34, 57, 0.2);
  transition: all 0.2s ease;
}

.btn-add-item:hover {
  filter: brightness(1.1);
  transform: translateY(-1px);
}

.btn-add-item.active-added {
  background: linear-gradient(135deg, var(--green-600) 0%, var(--green-500) 100%);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.35);
}

/* =========================================================================
   BARRA FLOTANTE DE PEDIDO
   ========================================================================= */
.floating-order-dock {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 3px solid var(--gold-500);
  box-shadow: 0 -8px 26px rgba(7, 25, 43, 0.16);
  padding: 12px 16px;
  z-index: 100;
}

.dock-container {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dock-summary {
  display: flex;
  flex-direction: column;
}

.dock-label {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--text-muted);
}

.dock-metrics {
  display: flex;
  align-items: center;
  gap: 6px;
}

.dock-qty {
  font-size: 0.95rem;
  font-weight: 900;
  color: var(--navy-700);
}

.dock-dot {
  color: var(--gold-500);
  font-weight: 900;
}

.dock-pricing {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  color: var(--green-600);
}

.btn-dock-confirm {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: #ffffff;
  border: none;
  padding: 12px 22px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease;
}

.btn-dock-confirm:hover {
  transform: scale(1.03);
}

/* =========================================================================
   MODAL DE PEDIDO Y ZOOM
   ========================================================================= */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(7, 25, 43, 0.75);
  backdrop-filter: blur(6px);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 2px solid var(--gold-500);
}

.modal-header {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-700) 100%);
  color: #ffffff;
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header-info h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
}

.modal-header-info p {
  font-size: 0.78rem;
  color: #fde68a;
  font-weight: 600;
}

.btn-modal-close {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.6rem;
  cursor: pointer;
  line-height: 1;
}

.modal-body-scroll {
  padding: 18px;
  overflow-y: auto;
  flex: 1;
}

.cart-items-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.cart-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}

.cart-row-title {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--navy-700);
}

.cart-row-sub {
  font-size: 0.76rem;
  color: var(--text-muted);
}

.btn-delete-cart-item {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 1.15rem;
  cursor: pointer;
  padding: 4px;
}

.order-client-form {
  border-top: 1.5px solid var(--border-subtle);
  padding-top: 16px;
}

.form-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--navy-700);
  margin-bottom: 12px;
}

.form-field {
  margin-bottom: 12px;
}

.form-field label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--navy-700);
  margin-bottom: 5px;
}

.form-input {
  width: 100%;
  padding: 10px 12px;
  font-size: 0.88rem;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.15s ease;
}

.form-input:focus {
  border-color: var(--navy-700);
}

.modal-footer {
  padding: 14px 18px;
  background: #f8fafc;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.btn-submit-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: #ffffff;
  border: none;
  padding: 14px;
  border-radius: var(--radius-sm);
  font-size: 0.98rem;
  font-weight: 900;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
}

.btn-submit-whatsapp:hover {
  filter: brightness(1.05);
}

.btn-submit-email {
  background: var(--navy-700);
  color: #ffffff;
  border: none;
  padding: 11px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

/* MODAL DE ZOOM */
.zoom-box-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 16px;
  max-width: 90%;
  max-height: 88vh;
  text-align: center;
  border: 2px solid var(--gold-500);
  box-shadow: var(--shadow-lg);
}

.zoom-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.zoom-header h3 {
  font-size: 1rem;
  font-weight: 900;
  color: var(--navy-700);
}

.btn-zoom-close {
  background: none;
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.zoom-image-container img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

.zoom-footer {
  margin-top: 12px;
}

.btn-zoom-action {
  background: var(--navy-700);
  color: #ffffff;
  border: none;
  padding: 8px 24px;
  border-radius: 20px;
  font-weight: 800;
  cursor: pointer;
}

/* =========================================================================
   FOOTER INSTITUCIONAL
   ========================================================================= */
.brand-footer {
  background: var(--navy-900);
  color: #94a3b8;
  padding: 32px 16px 40px;
  text-align: center;
  margin-top: 40px;
  border-top: 4px solid var(--gold-500);
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-logo-box {
  background: #ffffff;
  display: inline-flex;
  padding: 8px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 14px;
}

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

.footer-copy {
  color: #ffffff;
  font-weight: 800;
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.footer-location {
  font-size: 0.8rem;
  margin-bottom: 4px;
}

.footer-mail {
  font-size: 0.78rem;
  color: var(--gold-400);
  font-weight: 700;
}

/* =========================================================================
   ADAPTACIÓN RESPONSIVA CELULARES (2 COLUMNAS COMPACTO Y ELEGANTE)
   ========================================================================= */
@media (max-width: 640px) {
  body {
    padding-bottom: 86px;
  }

  .brand-hero {
    padding: 20px 12px 18px;
  }

  .grand-logo-card {
    padding: 12px 18px;
    max-width: 95%;
  }

  .grand-logo-img {
    max-height: 110px; /* EN MÓVIL SIGUE SIENDO MUY VISIBLE Y PROMINENTE */
  }

  .brand-title {
    font-size: 1.05rem;
  }

  .brand-tagline {
    font-size: 0.78rem;
    margin-bottom: 10px;
  }

  .brand-badges-row {
    gap: 6px;
    margin-bottom: 12px;
  }

  .brand-badge {
    font-size: 0.68rem;
    padding: 4px 8px;
  }

  .btn-hero-wa,
  .btn-hero-cart {
    font-size: 0.8rem;
    padding: 8px 14px;
  }

  /* 2 COLUMNAS EN CELULARES */
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  .card-media-box {
    padding-top: 85%;
  }

  .card-body {
    padding: 10px 8px;
  }

  .card-title {
    font-size: 0.84rem;
    line-height: 1.2;
    min-height: 2.4em;
  }

  .card-desc {
    display: none; /* Oculto en 2 columnas para no desbordar */
  }

  .card-meta-pill {
    font-size: 0.68rem;
    padding: 2px 6px;
    margin-bottom: 8px;
  }

  .card-price-box {
    padding: 6px;
    margin-bottom: 8px;
  }

  .price-amount {
    font-size: 0.95rem;
  }

  .card-actions-row {
    flex-direction: column;
    gap: 6px;
  }

  .stepper-box {
    width: 100%;
    justify-content: space-between;
  }

  .btn-add-item {
    width: 100%;
    padding: 8px 4px;
    font-size: 0.78rem;
  }
}
