/* ========================================================
   ESTILOS BASE - CARTELERA RD (IDENTIDAD MODERNA Y ELEGANTE)
   ======================================================== */
:root {
  /* Marca CarteleraRD */
  --crd-dark: #0F172A;
  --crd-dark-surface: #1E293B;
  --crd-primary: #1D4ED8;
  --crd-accent: #0284C7;
  --crd-accent-light: #38BDF8;
  --crd-accent-hover: #0369A1;
  --crd-gradient-primary: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
  --crd-gradient-hero: linear-gradient(135deg, #0B132B 0%, #1E293B 45%, #075985 100%);
  --crd-green: #25D366;
  --crd-green-hover: #1EBE5D;
  --crd-bg: #F8FAFC;
  --crd-card-bg: #FFFFFF;
  --crd-border: #E2E8F0;
  --crd-text: #0F172A;
  --crd-text-muted: #64748B;

  /* Aliases para compatibilidad */
  --eb-navy: var(--crd-dark);
  --eb-navy-light: var(--crd-dark-surface);
  --eb-amber: var(--crd-accent);
  --eb-amber-hover: var(--crd-accent-hover);
  --eb-blue: var(--crd-primary);
  --eb-green: var(--crd-green);
  --eb-green-hover: var(--crd-green-hover);
  --eb-bg: var(--crd-bg);
  --eb-card-bg: var(--crd-card-bg);
  --eb-border: var(--crd-border);
  --eb-text: var(--crd-text);
  --eb-text-muted: var(--crd-text-muted);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 10px 25px rgba(15, 23, 42, 0.12);
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Saira', sans-serif;
}

@import url('https://fonts.googleapis.com/css2?family=Saira:ital,wght@0,600;0,700;0,800;1,800;1,900&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--crd-bg);
  color: var(--crd-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, select, textarea {
  font-family: inherit;
}

.container-wide {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================================
   1. NAVBAR SUPERIOR CON LOGO CARTELERA RD
   ======================================================== */
.site-nav-header {
  background: #ffffff;
  border-bottom: 1px solid var(--crd-border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.site-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
}

/* Logo CarteleraRD */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-icon {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #38BDF8;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #0284C7;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.brand-logo:hover .brand-logo-icon {
  transform: rotate(-3deg) scale(1.05);
  border-color: #38BDF8;
}

.brand-text-group {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-title {
  font-family: var(--font-display);
  font-weight: 900;
  font-style: italic;
  font-size: 1.55rem;
  letter-spacing: -0.5px;
  color: var(--crd-dark);
  display: flex;
  align-items: center;
  gap: 4px;
}

.brand-badge-rd {
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 900;
  font-style: normal;
  padding: 2px 7px;
  border-radius: 6px;
  letter-spacing: 0.5px;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(2, 132, 199, 0.35);
}

.brand-subtitle {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #0284C7;
  text-transform: uppercase;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.main-menu a {
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--crd-dark);
  letter-spacing: 0.3px;
  transition: color 0.2s ease;
}

.main-menu a:hover {
  color: var(--crd-accent);
}

.store-live-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
}

.status-dot-circle {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.status-dot-circle.is-open {
  background: #10B981;
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

.status-dot-circle.is-closed {
  background: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

/* ========================================================
   2. HERO CYBER / SAPPHIRE MODERNO CON BUSCADOR EN VIVO
   ======================================================== */
.search-hero-banner {
  background: var(--crd-gradient-hero);
  background-image: 
    radial-gradient(rgba(56, 189, 248, 0.15) 1px, transparent 1px),
    linear-gradient(135deg, #0B132B 0%, #1E293B 45%, #075985 100%);
  background-size: 28px 28px, 100% 100%;
  padding: 38px 20px;
  border-bottom: 2px solid rgba(14, 165, 233, 0.3);
  position: relative;
}

.search-box-center {
  max-width: 820px;
  margin: 0 auto;
  position: relative;
}

.search-box-wrap {
  display: flex;
  align-items: center;
  background: #ffffff;
  border-radius: 14px;
  border: 2px solid #38BDF8;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(11, 19, 43, 0.25), 0 0 20px rgba(56, 189, 248, 0.2);
  transition: all 0.2s ease;
}

.search-box-wrap:focus-within {
  border-color: #0284C7;
  box-shadow: 0 12px 35px rgba(2, 132, 199, 0.35), 0 0 0 4px rgba(56, 189, 248, 0.25);
}

.search-input-field {
  flex: 1;
  border: none;
  padding: 16px 22px;
  font-size: 1.05rem;
  color: var(--crd-dark);
  outline: none;
  font-weight: 500;
}

.search-input-field::placeholder {
  color: #94A3B8;
}

.search-btn-action {
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
  color: #ffffff;
  border: none;
  padding: 0 30px;
  height: 56px;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-btn-action:hover {
  background: linear-gradient(135deg, #0369A1 0%, #1D4ED8 100%);
}

/* Dropdown de Autocompletado en Vivo (Captura de Usuario) */
.search-autocomplete-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid var(--crd-border);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.22), 0 4px 12px rgba(0, 0, 0, 0.06);
  max-height: 480px;
  overflow-y: auto;
  z-index: 1000;
}

.search-autocomplete-dropdown.is-open {
  display: block;
}

.search-auto-list {
  display: flex;
  flex-direction: column;
}

.search-auto-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 16px;
  border-bottom: 1px solid #F1F5F9;
  text-decoration: none;
  color: var(--crd-text);
  transition: background 0.15s ease, border-left 0.15s ease;
  border-left: 3px solid transparent;
}

.search-auto-item:last-child {
  border-bottom: none;
}

.search-auto-item:hover,
.search-auto-item.is-active {
  background: #F0F9FF;
  border-left-color: var(--crd-accent);
}

.search-auto-thumb {
  width: 46px;
  height: 46px;
  min-width: 46px;
  object-fit: contain;
  background: #F8FAFC;
  border-radius: 6px;
  border: 1px solid var(--crd-border);
  padding: 2px;
}

.search-auto-info {
  flex: 1;
  min-width: 0;
}

.search-auto-title {
  font-size: 0.92rem;
  font-weight: 500;
  color: #1E293B;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.search-auto-title b {
  font-weight: 900;
  color: #0F172A;
}

.search-auto-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 3px;
  font-size: 0.78rem;
}

.search-auto-cat {
  background: #E0F2FE;
  color: #0369A1;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: 12px;
  font-size: 0.72rem;
}

.search-auto-code {
  color: #64748B;
  font-family: monospace;
}

.search-auto-price {
  margin-left: auto;
  font-weight: 900;
  color: var(--crd-dark);
  font-size: 0.85rem;
}

.search-auto-empty {
  padding: 24px;
  text-align: center;
  color: #64748B;
  font-size: 0.92rem;
}

.search-auto-footer {
  padding: 12px 16px;
  background: #F8FAFC;
  border-top: 1px solid var(--crd-border);
  font-size: 0.84rem;
  color: var(--crd-accent);
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: background 0.15s ease;
}

.search-auto-footer:hover {
  background: #E0F2FE;
}

/* ========================================================
   3. ESTRUCTURA MAESTRA DE 3 COLUMNAS
   ======================================================== */
.layout-3cols {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr) 240px;
  gap: 24px;
  padding: 30px 0 60px;
}

/* Sidebars Izquierda y Derecha */
.sidebar-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-box {
  background: #ffffff;
  border: 1px solid var(--eb-border);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow-sm);
}

.sidebar-tag {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--eb-amber);
  letter-spacing: 0.5px;
  display: block;
}

.sidebar-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.1rem;
  color: var(--eb-navy);
  margin: 2px 0 16px;
  letter-spacing: -0.3px;
}

.sidebar-product-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.sidebar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 14px;
  border-bottom: 1px solid #F1F5F9;
  transition: transform 0.2s ease;
}

.sidebar-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.sidebar-item:hover {
  transform: translateY(-2px);
}

.sidebar-img-wrap {
  width: 100%;
  height: 120px;
  background: #F8FAFC;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #EDF2F7;
}

.sidebar-img-wrap img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.sidebar-cat {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--eb-text-muted);
}

.sidebar-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--eb-navy);
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-item-title:hover {
  color: var(--eb-blue);
}

.sidebar-item-price {
  font-size: 0.88rem;
  font-weight: 800;
  color: var(--eb-navy);
}

/* ========================================================
   4. CONTENIDO CENTRAL (PORTADA / HOME)
   ======================================================== */
.content-center {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

/* Slider Hero */
.eb-slider-hero {
  background: var(--eb-navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 380px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
  padding: 40px 50px;
  color: #ffffff;
}

.eb-slider-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(46,144,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(46,144,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.slider-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.slider-tag {
  align-self: flex-start;
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

.slider-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 2.8rem;
  line-height: 1.05;
}

.slider-title em {
  font-style: italic;
  color: #38BDF8;
}

.slider-desc {
  font-size: 1.05rem;
  color: #CBD5E1;
  max-width: 440px;
}

.btn-slider-cta {
  align-self: flex-start;
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
  color: #ffffff;
  font-weight: 800;
  padding: 14px 26px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  transition: transform 0.2s ease, background 0.2s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
}

.btn-slider-cta:hover {
  background: linear-gradient(135deg, #0369A1 0%, #1D4ED8 100%);
  transform: translateX(4px);
}

.slider-art {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider-art img {
  max-height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 15px 25px rgba(0,0,0,0.45));
}

/* Tarjetas Promocionales Gemelas */
.promo-cards-twin {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.promo-card {
  border-radius: var(--radius-md);
  padding: 34px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 240px;
}

.promo-card.navy {
  background: var(--crd-dark);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.promo-card.amber {
  background: linear-gradient(135deg, #0284C7 0%, #1D4ED8 100%);
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(2, 132, 199, 0.25);
}

.promo-kicker {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
}

.promo-card.navy .promo-kicker {
  color: #38BDF8;
}

.promo-card.amber .promo-kicker {
  color: #BAE6FD;
}

.promo-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.9rem;
  line-height: 1.1;
}

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

.promo-card.navy .promo-desc {
  color: #CBD5E1;
}

.promo-card.amber .promo-desc {
  color: #F0F9FF;
}

.promo-btn {
  margin-top: auto;
  align-self: flex-start;
  font-weight: 800;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.promo-btn.amber {
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
  color: #ffffff;
}

.promo-btn.amber:hover {
  background: linear-gradient(135deg, #0369A1 0%, #1D4ED8 100%);
  transform: translateY(-2px);
}

.promo-btn.navy {
  background: #0F172A;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.promo-btn.navy:hover {
  background: #1E293B;
  transform: translateY(-2px);
}

/* ========================================================
   5. SECCIÓN CATEGORÍAS (CIRCULARES)
   ======================================================== */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--eb-border);
  padding-bottom: 12px;
}

.section-tag {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--eb-amber);
  letter-spacing: 0.5px;
  display: block;
}

.section-heading-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.85rem;
  color: var(--eb-navy);
  letter-spacing: -0.3px;
}

.section-link-all {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--eb-blue);
}

.categories-circular-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 16px;
  text-align: center;
}

.category-circle-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--eb-navy);
  transition: transform 0.2s ease;
}

.category-circle-item:hover {
  transform: translateY(-4px);
}

.category-circle-img-wrap {
  width: 95px;
  height: 95px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid var(--eb-border);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease;
}

.category-circle-item:hover .category-circle-img-wrap {
  border-color: var(--eb-amber);
}

.category-circle-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-circle-name {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--eb-navy);
}

.category-circle-count {
  font-size: 0.75rem;
  color: var(--eb-text-muted);
}

/* ========================================================
   6. TABLA DE RECIÉN LLEGADOS CON BOTÓN WHATSAPP
   ======================================================== */
.table-inventory-wrap {
  background: #ffffff;
  border: 1px solid var(--eb-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.inventory-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.inventory-table th {
  background: #F8FAFC;
  padding: 14px 16px;
  text-align: left;
  font-size: 0.78rem;
  text-transform: uppercase;
  color: var(--eb-text-muted);
  border-bottom: 1px solid var(--eb-border);
}

.inventory-table td {
  padding: 12px 16px;
  border-bottom: 1px solid #F1F5F9;
  vertical-align: middle;
}

.inventory-table tr:hover td {
  background: #FBFDFF;
}

.table-prod-info {
  display: flex;
  align-items: center;
  gap: 12px;
}

.table-prod-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #F8FAFC;
  border-radius: 6px;
  border: 1px solid var(--eb-border);
}

.table-prod-name {
  font-weight: 700;
  color: var(--eb-navy);
}

.table-prod-name:hover {
  color: var(--eb-blue);
}

.table-code-badge {
  font-family: monospace;
  font-weight: 600;
  background: #F1F5F9;
  padding: 3px 8px;
  border-radius: 4px;
  color: #475569;
}

.btn-whatsapp-table {
  background: var(--eb-green);
  color: #ffffff;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s ease;
}

.btn-whatsapp-table:hover {
  background: var(--eb-green-hover);
}

/* ========================================================
   7. BLOQUES DE CONFIANZA ("POR QUÉ COMPRARNOS")
   ======================================================== */
.trust-blocks-grid {
  background: var(--eb-navy);
  border-radius: var(--radius-lg);
  padding: 40px;
  color: #ffffff;
}

.trust-blocks-items {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 24px;
}

.trust-item-num {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 2.5rem;
  color: var(--eb-amber);
  line-height: 1;
  margin-bottom: 8px;
}

.trust-item-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.15rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.trust-item-desc {
  font-size: 0.9rem;
  color: #CBD5E1;
  line-height: 1.5;
}

/* ========================================================
   8. VISITA NUESTRA TIENDA & MAPA
   ======================================================== */
.store-visit-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: #ffffff;
  border: 1px solid var(--eb-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.store-map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: none;
}

.store-info-panel {
  background: var(--eb-navy);
  color: #ffffff;
  padding: 36px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.store-info-panel h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.8rem;
}

.store-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
}

.btn-directions {
  align-self: flex-start;
  background: linear-gradient(135deg, #0284C7 0%, #2563EB 100%);
  color: #ffffff;
  font-weight: 800;
  padding: 12px 24px;
  border-radius: 8px;
  transition: all 0.2s ease;
  margin-top: auto;
}

.btn-directions:hover {
  background: linear-gradient(135deg, #0369A1 0%, #1D4ED8 100%);
}

/* ========================================================
   9. PREGUNTAS FRECUENTES (FAQ)
   ======================================================== */
.faq-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: #ffffff;
  border: 1px solid var(--eb-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.faq-question {
  padding: 16px 20px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 20px 16px;
  font-size: 0.9rem;
  color: #475569;
  line-height: 1.6;
}

/* ========================================================
   10. PÁGINA DE PRODUCTO ÚNICO (PRODUCT.HTML - CAPTURA 5)
   ======================================================== */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr 0.95fr;
  gap: 24px;
  background: #ffffff;
  border: 1px solid var(--eb-border);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  align-items: start;
}

@media (max-width: 1280px) {
  .product-detail-layout {
    grid-template-columns: 1fr 1fr;
  }
  .product-action-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
}

.product-gallery-side {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--eb-border);
  padding: 14px;
  min-height: 400px;
  box-shadow: inset 0 0 15px rgba(0,0,0,0.02);
}

.product-gallery-side img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: contain;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.product-gallery-side:hover img {
  transform: scale(1.03);
}

.btn-gallery-zoom {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--eb-border);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eb-navy);
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.2s ease;
  z-index: 2;
}

.btn-gallery-zoom:hover {
  background: var(--eb-amber);
  color: var(--eb-navy);
  transform: scale(1.1);
}

/* Lightbox Modal para zoom en pantalla completa */
.lightbox-modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(10, 27, 51, 0.92);
  backdrop-filter: blur(6px);
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-modal-container {
  position: relative;
  max-width: 95vw;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.lightbox-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity 0.2s, color 0.2s;
}

.lightbox-close-btn:hover {
  opacity: 1;
  color: var(--eb-amber);
}

.lightbox-modal-container img {
  max-width: 90vw;
  max-height: 84vh;
  object-fit: contain;
  background: #ffffff;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  padding: 12px;
}

.lightbox-hint {
  color: #CBD5E1;
  font-size: 0.85rem;
  margin-top: 12px;
  text-align: center;
}

.product-info-side {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-cat-pill {
  align-self: flex-start;
  background: #E0F2FE;
  color: #0369A1;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 20px;
}

.product-detail-title {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.85rem;
  line-height: 1.2;
  color: var(--eb-navy);
}

.product-short-desc {
  font-size: 0.95rem;
  color: var(--eb-text-muted);
}

/* Tabla de Especificaciones de Producto */
.product-specs-box {
  border: 1px solid var(--eb-border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 10px 0;
}

.specs-title-row {
  background: #F8FAFC;
  padding: 10px 16px;
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--eb-navy);
  border-bottom: 1px solid var(--eb-border);
}

.specs-grid-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.specs-grid-table th {
  padding: 10px 16px;
  text-align: left;
  color: var(--eb-text-muted);
  font-weight: 500;
  width: 40%;
  border-bottom: 1px solid #F1F5F9;
}

.specs-grid-table td {
  padding: 10px 16px;
  font-weight: 700;
  color: var(--eb-navy);
  border-bottom: 1px solid #F1F5F9;
}

/* Caja de Acción y Pedido por WhatsApp */
.product-action-card {
  background: #F8FAFC;
  border: 1px solid var(--eb-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stock-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #DCFCE7;
  color: #15803D;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 10px;
  border-radius: 20px;
  align-self: flex-start;
}

.btn-buy-whatsapp-large {
  background: var(--eb-green);
  color: #ffffff;
  padding: 16px 24px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, background 0.2s ease;
}

.btn-buy-whatsapp-large:hover {
  background: var(--eb-green-hover);
  transform: translateY(-2px);
}

/* Tarjeta Retírala en Tienda */
.store-pickup-box {
  background: #ffffff;
  border: 1px solid var(--eb-border);
  border-radius: var(--radius-sm);
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.85rem;
}

.store-pickup-box b {
  color: var(--eb-navy);
}

.mini-map-embed {
  height: 100px;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--eb-border);
}

.mini-map-embed iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Pestaña Descripción SEO Inferior */
.product-seo-description-card {
  margin-top: 30px;
  background: #ffffff;
  border: 1px solid var(--eb-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-sm);
}

.product-seo-description-card h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--eb-navy);
  margin-bottom: 16px;
}

.product-seo-description-card h3 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--eb-navy);
  margin: 24px 0 10px;
}

.product-seo-description-card p {
  color: #475569;
  line-height: 1.7;
  margin-bottom: 14px;
}

.product-seo-description-card ul {
  padding-left: 20px;
  color: #475569;
  line-height: 1.7;
}

/* ========================================================
   11. FOOTER Y BOTÓN FLOTANTE
   ======================================================== */
.site-footer-bar {
  background: var(--eb-navy);
  color: #ffffff;
  padding: 30px 0;
  margin-top: 40px;
  border-top: 4px solid var(--eb-amber);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.95rem;
}

.footer-phone-text {
  font-weight: 800;
  color: var(--eb-amber);
  font-size: 1.2rem;
}

.floating-whatsapp-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--eb-green);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  z-index: 99;
  transition: transform 0.2s ease;
}

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

/* ========================================================
   12. RESPONSIVE
   ======================================================== */
@media (max-width: 1100px) {
  .layout-3cols {
    grid-template-columns: 1fr;
  }
  .sidebar-col {
    display: none; /* En tablet/móvil se ocultan los sidebars laterales para dar prioridad al contenido */
  }
  .eb-slider-hero {
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .slider-art {
    display: none;
  }
  .promo-cards-twin {
    grid-template-columns: 1fr;
  }
  .trust-blocks-items {
    grid-template-columns: 1fr;
  }
  .store-visit-card {
    grid-template-columns: 1fr;
  }
  .product-detail-layout {
    grid-template-columns: 1fr;
  }
}
