/**
 * store-editorial.css — Dirección Artística Editorial para Felipe Bike
 * Inspirado en la calidad visual y jerarquía comercial de Scott Sports y Bike House.
 * Mobile-First, tipografía limpia, paleta oficial: Azul noche #0B1220, Blanco #FFFFFF, Gris plata #C2CAD5, Cobre #B77945, Bronce claro #D6A66B y Bordes #334155.
 */

/* ==========================================================
   1. VARIABLES EDITORIALES Y BASE
   ========================================================== */
:root {
  /* Paleta Canónica Felipe Bike */
  --store-dark-bg: #0B1220;
  --store-dark-surface: #0F172A;
  --store-dark-card: #1E293B;
  --store-dark-border: #334155;

  --store-night: #0B1220;
  --store-white: #FFFFFF;
  --store-silver: #C2CAD5;
  --store-copper: #B77945;
  --store-bronze: #D6A66B;
  --store-border: #334155;

  /* Identidad y Acentos de Marca */
  --store-brand-accent: #B77945;
  --store-brand-accent-hover: #D6A66B;
  --store-brand-accent-soft: rgba(183, 121, 69, 0.15);
  --store-brand-accent-border: rgba(183, 121, 69, 0.4);

  --store-text-heading: #0F172A;
  --store-text-body: #475569;
  --store-text-muted: #64748B;
  --store-text-light: #94A3B8;

  --store-radius-sm: 6px;
  --store-radius-md: 12px;
  --store-radius-lg: 18px;
}

/* ==========================================================
   2. HERO CINEMÁTICO (MTB ANDINO)
   ========================================================== */
.hero-cinematic {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background-color: var(--store-dark-bg);
  background-image: 
    linear-gradient(to right, 
      rgba(11, 18, 32, 0.98) 0%, 
      rgba(11, 18, 32, 0.92) 36%, 
      rgba(11, 18, 32, 0.62) 52%, 
      rgba(11, 18, 32, 0.12) 74%, 
      transparent 100%),
    url('/images/store/hero/hero-mtb-cinematic.webp');
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 5rem 0 4.5rem;
  overflow: hidden;
}

.hero-cinematic .container {
  display: flex;
  align-items: center;
  width: min(100% - 40px, 1320px);
  margin-inline: auto;
}

.hero-cinematic-content {
  max-width: 520px;
  width: 100%;
  position: relative;
  z-index: 10;
  margin-left: 0;
  margin-right: auto;
  text-align: left;
}

/* Compatibilidad retrospectiva si ambas clases estuviesen en el mismo div */
.hero-cinematic > .container.hero-cinematic-content {
  margin-left: max(20px, calc((100% - 1320px) / 2));
  margin-right: auto;
  max-width: 520px;
  text-align: left;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(183, 121, 69, 0.15);
  color: var(--store-bronze);
  border: 1px solid rgba(183, 121, 69, 0.4);
  padding: 5px 14px;
  border-radius: 9999px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  align-self: flex-start;
}

.hero-cinematic h1 {
  font-size: clamp(2.1rem, 4.8vw, 3.15rem);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  text-align: left;
}

.hero-cinematic p {
  font-size: clamp(0.98rem, 1.8vw, 1.1rem);
  line-height: 1.6;
  color: #cbd5e1;
  margin-bottom: 2.25rem;
  max-width: 480px;
  text-align: left;
}

.hero-cinematic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
  justify-content: flex-start;
}

.btn-hero-primary {
  background-color: var(--store-copper);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1rem;
  padding: 0.85rem 1.85rem;
  border-radius: var(--store-radius-md);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 8px 20px -4px rgba(183, 121, 69, 0.45);
}

.btn-hero-primary:hover {
  background-color: var(--store-bronze);
  color: #0B1220;
  transform: translateY(-2px);
  box-shadow: 0 12px 25px -4px rgba(214, 166, 107, 0.5);
}

.btn-hero-secondary {
  background-color: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--store-radius-md);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  backdrop-filter: blur(8px);
  transition: all 0.2s ease;
}

.btn-hero-secondary:hover {
  background-color: rgba(255, 255, 255, 0.18);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-cinematic {
    min-height: 480px;
    background-image: 
      linear-gradient(to top, 
        rgba(11, 18, 32, 0.98) 0%, 
        rgba(11, 18, 32, 0.90) 55%, 
        rgba(11, 18, 32, 0.45) 85%, 
        transparent 100%),
      url('/images/store/hero/hero-mtb-cinematic.webp');
    background-position: 75% center;
    padding: 3rem 0 2.5rem;
  }

  .hero-cinematic-content {
    max-width: 100%;
    padding: 0 0.25rem;
  }

  .hero-cinematic-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    width: 100%;
  }

  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
    min-height: 44px;
  }
}

/* ==========================================================
   3. SECCIÓN CATEGORÍAS COMERCIALES
   ========================================================== */
.store-categories-section {
  padding: 4.5rem 0 3.75rem;
  background-color: #0B1220;
  border-top: 1px solid rgba(51, 65, 85, 0.55);
}

.editorial-header {
  margin-bottom: 2.75rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1rem;
}

.editorial-title-group h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.35rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #F1F5F9;
  margin-bottom: 0.4rem;
}

.editorial-title-group p {
  color: #94A3B8;
  font-size: 1rem;
  max-width: 580px;
  margin: 0;
}

.editorial-header-link {
  font-weight: 700;
  font-size: 0.95rem;
  color: #D6A66B;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  gap: 6px;
  transition: color 0.15s ease;
}

.editorial-header-link:hover {
  color: #FFFFFF;
}

.categories-grid-editorial {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

@media (max-width: 992px) {
  .categories-grid-editorial {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .categories-grid-editorial {
    grid-template-columns: 1fr;
  }
}

.category-card-editorial {
  position: relative;
  display: block;
  border-radius: var(--store-radius-md);
  overflow: hidden;
  background-color: #151F30;
  border: 1px solid #334155;
  text-decoration: none;
  color: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.25s ease;
  aspect-ratio: 4 / 3;
}

.category-card-editorial:hover {
  transform: translateY(-4px);
  border-color: #C18448;
  box-shadow: 0 16px 32px -8px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(193, 132, 72, 0.35);
}

.category-card-img-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.category-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.category-card-editorial:hover .category-card-img {
  transform: scale(1.06);
}

.category-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(9, 13, 22, 0.92) 0%, rgba(9, 13, 22, 0.5) 45%, rgba(9, 13, 22, 0.1) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  z-index: 2;
}

.category-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.25rem;
  color: #ffffff;
}

.category-card-desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.category-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--store-bronze);
  transition: gap 0.2s ease, color 0.2s ease;
}

.category-card-editorial:hover .category-card-cta {
  gap: 9px;
  color: #FFFFFF;
}

/* ==========================================================
   4. SECCIÓN MARCAS OFICIALES
   ========================================================== */
.store-brands-section {
  padding: 3rem 0;
  background-color: #111B2B;
  border-top: 1px solid #334155;
  border-bottom: 1px solid #334155;
}

.store-brands-label {
  text-align: center;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #D6A66B;
  margin-bottom: 1.75rem;
}

.brands-row-editorial {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem 1.35rem;
}

.brand-pill {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.05rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #CBD5E1;
  padding: 0.55rem 1.15rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #334155;
  border-radius: var(--store-radius-sm);
  background: #151F30;
  transition: all 0.2s ease;
  user-select: none;
}

.brand-pill:hover {
  color: #FFFFFF;
  background: #1D293B;
  border-color: #C18448;
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.28);
}

/* ==========================================================
   5. SECCIÓN PRODUCTOS DESTACADOS
   ========================================================== */
.store-featured-section {
  padding: 4.5rem 0;
  background-color: #0B1220;
}

.featured-grid-editorial {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1100px) {
  .featured-grid-editorial {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .featured-grid-editorial {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .featured-grid-editorial {
    grid-template-columns: 1fr;
  }
}

.product-card-editorial {
  background: #151F30;
  border: 1px solid #334155;
  border-radius: var(--store-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 0.25s ease;
  position: relative;
}

.product-card-editorial:hover {
  border-color: #C18448;
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -6px rgba(0, 0, 0, 0.35);
}

.product-card-media {
  position: relative;
  background-color: #111B2B;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.product-card-media img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.4s ease;
}

.product-card-editorial:hover .product-card-media img {
  transform: scale(1.05);
}

.badge-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  z-index: 2;
}

.badge-tag.destacado {
  background-color: #0f172a;
  color: #ffffff;
}

.badge-tag.demo {
  background-color: #fef3c7;
  color: #b45309;
}

.product-card-content {
  padding: 1.15rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card-brand {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #94A3B8;
  margin-bottom: 0.25rem;
}

.product-card-title {
  font-size: 0.98rem;
  font-weight: 700;
  color: #F1F5F9;
  line-height: 1.35;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.product-card-price-row {
  margin-top: auto;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.85rem;
}

.product-card-price {
  font-size: 1.2rem;
  font-weight: 900;
  color: #D6A66B;
  letter-spacing: -0.02em;
}

.product-card-stock {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

.product-card-stock.in {
  background: #dcfce7;
  color: #15803d;
}

.product-card-stock.out {
  background: #fee2e2;
  color: #b91c1c;
}

.btn-card-wa {
  width: 100%;
  background-color: #064e3b;
  color: #ffffff;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.6rem;
  border-radius: var(--store-radius-sm);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-card-wa:hover {
  background-color: #065f46;
  color: #ffffff;
}

/* ==========================================================
   6. SECCIÓN TALLER PROFESIONAL
   ========================================================== */
.store-workshop-section {
  padding: 4.25rem 0 2rem;
  background-color: var(--store-dark-bg);
  color: #ffffff;
}

.workshop-service-card {
  background: var(--store-dark-surface);
  border: 1px solid var(--store-dark-border);
  border-radius: var(--store-radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.workshop-service-card:hover {
  transform: translateY(-4px);
  border-color: var(--store-copper);
}

.workshop-service-img-wrap {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  overflow: hidden;
  background: #0B1220;
  border-bottom: 1px solid rgba(183, 121, 69, 0.25);
}

.workshop-service-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 18, 32, 0.04) 45%, rgba(11, 18, 32, 0.55) 100%);
  pointer-events: none;
}

.workshop-service-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.workshop-service-card:hover .workshop-service-img {
  transform: scale(1.05);
}

.workshop-service-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.workshop-service-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 0.5rem;
}

.workshop-service-desc {
  font-size: 0.85rem;
  color: #94a3b8;
  line-height: 1.45;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.workshop-service-btn {
  background: rgba(183, 121, 69, 0.12);
  color: var(--store-bronze);
  border: 1px solid rgba(183, 121, 69, 0.4);
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.6rem;
  border-radius: var(--store-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.workshop-service-btn:hover {
  background: var(--store-copper);
  color: #FFFFFF;
  border-color: var(--store-copper);
}

/* Homologación visual de tarjetas funcionales y tema oscuro unificado (#bookingFlow sin page-booking) */
.booking-dark-section {
  background-color: #0B1220;
  color: #F8FAFC;
  padding: 1.5rem 0 4.5rem;
  border-top: 1px solid rgba(51, 65, 85, 0.45);
}

.booking-dark-section ~ .contact-section {
  margin-top: 0;
  border-top-color: #334155;
}

.booking-dark-section .booking-wrapper {
  margin: 0 auto;
  background-color: transparent;
}

/* Indicador de 4 pasos */
.booking-dark-section .steps-nav::before {
  background-color: #334155;
}

.booking-dark-section .step-indicator {
  background-color: #0B1220;
}

.booking-dark-section .step-bubble {
  background-color: #1D293B;
  border-color: #334155;
  color: #AAB7C8;
}

.booking-dark-section .step-title {
  color: #AAB7C8;
}

.booking-dark-section .step-indicator.active .step-bubble {
  background-color: #C18448;
  border-color: #C18448;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(193, 132, 72, 0.4);
}

.booking-dark-section .step-indicator.active .step-title {
  color: #F8FAFC;
}

.booking-dark-section .step-indicator.completed .step-bubble {
  background-color: rgba(193, 132, 72, 0.16);
  border-color: #C18448;
  color: #D6A66B;
}

.booking-dark-section .step-indicator.completed .step-title {
  color: #D6A66B;
}

/* Encabezados y selector de categorías */
.booking-dark-section .section-title {
  color: #F8FAFC;
}

.booking-dark-section .section-subtitle {
  color: #AAB7C8;
}

.booking-dark-section .availability-callout {
  background: #151F30;
  border: 1px solid #334155;
  border-left: 4px solid #C18448;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.booking-dark-section .availability-callout .callout-content strong {
  color: #F8FAFC;
}

.booking-dark-section .availability-callout .callout-content p {
  color: #AAB7C8;
}

.booking-dark-section .category-tab-btn {
  background-color: #1D293B;
  border-color: #334155;
  color: #AAB7C8;
}

.booking-dark-section .category-tab-btn:hover {
  background-color: #26354C;
  border-color: #C18448;
  color: #F8FAFC;
}

.booking-dark-section .category-tab-btn.active {
  background-color: rgba(193, 132, 72, 0.18);
  border-color: #C18448;
  color: #F8FAFC;
  box-shadow: 0 4px 14px rgba(193, 132, 72, 0.24);
}

/* Tarjetas funcionales de servicio (#151F30 sobre #0B1220) */
body:not(.page-booking) .service-card.workshop-service-card {
  background: #151F30;
  border: 1px solid #334155;
  border-radius: var(--store-radius-md);
  padding: 0;
  min-height: 0;
  box-shadow: none;
}

body:not(.page-booking) .service-card.workshop-service-card:hover {
  transform: translateY(-4px);
  border-color: #C18448;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(193, 132, 72, 0.35);
}

body:not(.page-booking) .service-card.workshop-service-card.selected {
  background: #151F30;
  border-color: #C18448;
  box-shadow: 0 0 0 2px rgba(193, 132, 72, 0.65), 0 12px 26px rgba(193, 132, 72, 0.22);
}

.workshop-service-img-wrap .service-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  margin: 0;
  background: rgba(11, 18, 32, 0.88);
  backdrop-filter: blur(4px);
  color: #D6A66B;
  border: 1px solid rgba(193, 132, 72, 0.45);
  font-weight: 700;
  font-size: 0.72rem;
  padding: 3px 9px;
  border-radius: 6px;
}

.workshop-service-img-wrap .service-selected-pill {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  background: #C18448;
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 6px;
  box-shadow: 0 2px 8px rgba(193, 132, 72, 0.45);
}

body:not(.page-booking) .service-card.workshop-service-card .workshop-service-title {
  color: #F8FAFC;
  font-size: 1.1rem;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 0.5rem;
}

body:not(.page-booking) .service-card.workshop-service-card .workshop-service-desc {
  color: #AAB7C8;
  font-size: 0.85rem;
  line-height: 1.45;
  margin: 0 0 1.15rem;
  flex-grow: 1;
}

body:not(.page-booking) .service-card.workshop-service-card .service-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: auto;
  padding-top: 0.85rem;
  margin-bottom: 1rem;
  border-top: 1px solid #334155;
}

body:not(.page-booking) .service-card.workshop-service-card .service-duration {
  font-size: 0.84rem;
  font-weight: 600;
  color: #AAB7C8;
}

body:not(.page-booking) .service-card.workshop-service-card .service-price {
  font-size: 1.22rem;
  font-weight: 900;
  color: #D6A66B;
  letter-spacing: -0.02em;
}

body:not(.page-booking) .service-card.workshop-service-card:hover .workshop-service-btn,
body:not(.page-booking) .service-card.workshop-service-card.selected .workshop-service-btn {
  background: #C18448;
  color: #FFFFFF;
  border-color: #C18448;
}

/* Separadores y zona de acción / botón «Continuar a Fecha y Hora» */
.booking-dark-section .step-actions {
  border-top: 1px solid #334155;
}

.booking-dark-section .step-actions-step1 .btn {
  background-color: #C18448;
  border-color: #D6A66B;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(193, 132, 72, 0.38);
}

.booking-dark-section .step-actions-step1 .btn:hover:not(:disabled) {
  background-color: #A96E36;
  border-color: #D6A66B;
  color: #FFFFFF;
  box-shadow: 0 8px 22px rgba(193, 132, 72, 0.48);
}

.booking-dark-section .step-actions-step1 .btn:disabled {
  background-color: rgba(193, 132, 72, 0.35);
  border-color: rgba(193, 132, 72, 0.35);
  color: rgba(248, 250, 252, 0.65);
  opacity: 0.65;
  box-shadow: none;
}

.booking-dark-section .btn-secondary,
.booking-dark-section .btn-outline-secondary {
  background-color: #1D293B;
  border: 1px solid #334155;
  color: #F8FAFC;
}

.booking-dark-section .btn-secondary:hover,
.booking-dark-section .btn-outline-secondary:hover {
  background-color: #26354C;
  border-color: #C18448;
  color: #FFFFFF;
}

/* Paso 2, 3 y 4 en tema oscuro unificado (#151F30 / #1D293B / #334155) */
.booking-dark-section .step2-info-bar,
.booking-dark-section .calendar-widget,
.booking-dark-section .slots-box,
.booking-dark-section .form-card,
.booking-dark-section .summary-card {
  background: #151F30;
  border-color: #334155;
  color: #F8FAFC;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
}

.booking-dark-section .step2-service-label,
.booking-dark-section .slots-header-title-row h4,
.booking-dark-section .calendar-title,
.booking-dark-section .form-card h4,
.booking-dark-section .summary-card h4,
.booking-dark-section .form-group label,
.booking-dark-section .summary-row-val,
.booking-dark-section .slots-status-title {
  color: #F8FAFC !important;
}

.booking-dark-section .slots-box-header p,
.booking-dark-section .calendar-day-header,
.booking-dark-section .calendar-legend,
.booking-dark-section .slots-status-legend,
.booking-dark-section .slot-time-end,
.booking-dark-section .summary-row-label,
.booking-dark-section .slots-status-sub,
.booking-dark-section .text-muted,
.booking-dark-section .form-card small {
  color: #AAB7C8 !important;
}

.booking-dark-section #selectedDateLabel {
  color: #D6A66B !important;
}

.booking-dark-section .step2-service-select,
.booking-dark-section .form-control,
.booking-dark-section .calendar-nav-btn,
.booking-dark-section .slots-capacity-tag,
.booking-dark-section .calendar-day-cell,
.booking-dark-section .slot-chip {
  background-color: #1D293B;
  border-color: #334155;
  color: #F8FAFC;
}

.booking-dark-section .form-control::placeholder {
  color: rgba(170, 183, 200, 0.65);
}

.booking-dark-section .step2-service-select:focus,
.booking-dark-section .form-control:focus {
  border-color: #C18448;
  box-shadow: 0 0 0 3px rgba(193, 132, 72, 0.25);
}

.booking-dark-section .calendar-year-badge {
  background-color: rgba(193, 132, 72, 0.16);
  color: #D6A66B;
}

.booking-dark-section .calendar-day-cell:hover:not(.disabled):not(.selected),
.booking-dark-section .slot-chip.available:hover {
  background-color: rgba(193, 132, 72, 0.16);
  border-color: #C18448;
}

.booking-dark-section .calendar-day-cell.today {
  border-color: #D6A66B;
  color: #D6A66B;
}

.booking-dark-section .calendar-day-cell.disabled,
.booking-dark-section .slot-chip.disabled {
  background-color: #0F172A;
  border-color: #1E293B;
  color: #64748B;
}

.booking-dark-section .calendar-day-cell.empty {
  background: transparent;
  border-color: transparent;
}

.booking-dark-section .calendar-legend,
.booking-dark-section .slots-status-legend,
.booking-dark-section .summary-row {
  border-color: #334155;
}

.booking-dark-section .legend-dot.available {
  background-color: #1D293B;
  border-color: #334155;
}

.booking-dark-section .legend-dot.disabled,
.booking-dark-section .s-dot.disabled {
  background-color: #475569;
}

.booking-dark-section .s-dot.selected {
  background-color: #F8FAFC;
}

.booking-dark-section .slot-badge-free {
  background-color: rgba(14, 165, 233, 0.18);
  color: #7DD3FC;
}

.booking-dark-section .slot-badge-busy {
  background-color: #151F30;
  color: #64748B;
}

.booking-dark-section .slots-status-box.slots-closed,
.booking-dark-section .slots-status-box.slots-full,
.booking-dark-section .slots-status-box.slots-loading {
  background-color: #1D293B;
  border-color: #334155;
}

.booking-dark-section .summary-alert-banner {
  background-color: rgba(193, 132, 72, 0.14);
  border-left-color: #C18448;
  color: #F8FAFC;
}

/* ==========================================================
   6B. SECCIÓN DE CONTACTO EDITORIAL (TEMA OSCURO PREMIUM)
   ========================================================== */
#contacto.contact-section {
  background-color: #0B1220;
  border-top: 1px solid #334155;
  border-bottom: none;
  padding: 4.5rem 0 4.75rem;
  color: #F8FAFC;
}

#contacto .section-header-center {
  margin: 0 auto 3rem;
}

#contacto .section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(193, 132, 72, 0.14);
  color: #D6A66B;
  border: 1px solid rgba(193, 132, 72, 0.4);
  padding: 0.38rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 0.9rem;
}

#contacto .section-badge .nav-svg-icon {
  width: 14px;
  height: 14px;
}

#contacto .section-title-lg {
  color: #F8FAFC;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 900;
  letter-spacing: -0.02em;
}

#contacto .section-desc {
  color: #AAB7C8;
  font-size: 1rem;
  max-width: 620px;
  margin: 0 auto;
}

#contacto .contact-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 1120px) {
  #contacto .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  #contacto.contact-section {
    padding: 3.25rem 0 3.5rem;
  }
  #contacto .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

#contacto .contact-card {
  background: #151F30;
  border: 1px solid #334155;
  border-radius: var(--store-radius-md);
  padding: 1.65rem 1.45rem;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.24);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

#contacto .contact-card:hover {
  transform: translateY(-4px);
  border-color: #C18448;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(193, 132, 72, 0.25);
}

#contacto .contact-card.contact-card-featured {
  background: linear-gradient(180deg, #162336 0%, #13222A 100%);
  border-color: rgba(37, 211, 102, 0.35);
}

#contacto .contact-card.contact-card-featured:hover {
  border-color: #25D366;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34), 0 0 0 1px rgba(37, 211, 102, 0.28);
}

#contacto .contact-card-header {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1.25rem;
}

#contacto .contact-icon-box {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid #334155;
  background-color: #1D293B;
}

#contacto .contact-icon-box svg {
  width: 20px;
  height: 20px;
  display: block;
}

#contacto .contact-icon-box.location,
#contacto .contact-icon-box.schedule {
  background-color: rgba(193, 132, 72, 0.14);
  border-color: rgba(193, 132, 72, 0.35);
  color: #D6A66B;
}

#contacto .contact-icon-box.email {
  background-color: #1D293B;
  border-color: #334155;
  color: #D6A66B;
}

#contacto .contact-icon-box.whatsapp {
  background-color: rgba(37, 211, 102, 0.14);
  border-color: rgba(37, 211, 102, 0.38);
  color: #4ADE80;
}

#contacto .contact-card-header h3 {
  color: #F8FAFC;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

#contacto .contact-card-tag {
  display: inline-block;
  margin-top: 0.3rem;
  padding: 0.16rem 0.52rem;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: #1D293B;
  color: #AAB7C8;
  border: 1px solid #334155;
}

#contacto .contact-card-tag.tag-success {
  background: rgba(37, 211, 102, 0.14);
  color: #4ADE80;
  border-color: rgba(37, 211, 102, 0.35);
}

#contacto .contact-card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 1.4rem;
}

#contacto .contact-address {
  font-style: normal;
  font-size: 0.94rem;
  color: #C2CAD5;
  line-height: 1.55;
}

#contacto .contact-address strong {
  color: #F8FAFC;
  font-weight: 800;
}

#contacto .contact-hint {
  font-size: 0.85rem;
  color: #AAB7C8;
  line-height: 1.5;
  margin: 0;
}

#contacto .contact-phone-display,
#contacto .contact-email-display {
  padding: 0.65rem 0.85rem;
  background: #1D293B;
  border: 1px solid #334155;
  border-radius: 8px;
}

#contacto .phone-link {
  color: #4ADE80;
  font-size: 1.08rem;
  font-weight: 800;
  text-decoration: none;
  letter-spacing: 0.01em;
}

#contacto .phone-link:hover {
  text-decoration: underline;
}

#contacto .email-display-text {
  display: block;
  color: #F8FAFC;
  font-size: 0.9rem;
  font-weight: 700;
  word-break: break-all;
}

#contacto .contact-modal-inline-btn {
  background: none;
  border: none;
  padding: 0.5rem 0.15rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  margin-top: 0.15rem;
  color: #D6A66B;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  align-self: flex-start;
  transition: color 0.15s ease;
}

#contacto .contact-modal-inline-btn:hover {
  color: #F8FAFC;
}

#contacto .schedule-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
}

#contacto .schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 0.5rem;
  font-size: 0.86rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px dashed #334155;
}

#contacto .schedule-day {
  font-weight: 600;
  color: #C2CAD5;
}

#contacto .schedule-hours {
  font-weight: 700;
  color: #D6A66B;
  white-space: nowrap;
}

#contacto .schedule-note {
  font-size: 0.79rem;
  color: #94A3B8;
  margin-top: 0.2rem;
}

#contacto .contact-card-action {
  margin-top: auto;
}

#contacto .contact-card-action .btn {
  min-height: 44px;
  padding: 0.65rem 0.95rem;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  border-radius: 8px;
  gap: 0.45rem;
  white-space: nowrap;
}

#contacto .contact-card-action .nav-svg-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

#contacto .contact-btn-copper {
  background: rgba(193, 132, 72, 0.12);
  color: #D6A66B;
  border: 1px solid rgba(193, 132, 72, 0.48);
}

#contacto .contact-btn-copper:hover {
  background: #C18448;
  color: #FFFFFF;
  border-color: #C18448;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(193, 132, 72, 0.3);
}

#contacto .contact-btn-primary-copper {
  background-color: #C18448;
  color: #FFFFFF;
  border: 1px solid #D6A66B;
  box-shadow: 0 4px 14px rgba(193, 132, 72, 0.32);
}

#contacto .contact-btn-primary-copper:hover {
  background-color: #A96E36;
  border-color: #D6A66B;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(193, 132, 72, 0.42);
}

#contacto .contact-card-featured .btn-whatsapp {
  background-color: #169C4A;
  border: 1px solid #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
}

#contacto .contact-card-featured .btn-whatsapp:hover {
  background-color: #128C7E;
  border-color: #4ADE80;
  color: #FFFFFF;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.35);
}

/* Mapa Interactivo Google Maps (#contacto) */
#contacto .contact-map-card {
  margin-top: 1.75rem;
  background: #151F30;
  border: 1px solid #334155;
  border-radius: var(--store-radius-md);
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

#contacto .contact-map-card:hover {
  border-color: #C18448;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.36), 0 0 0 1px rgba(193, 132, 72, 0.22);
}

#contacto .contact-map-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.25rem 1.45rem;
  background: rgba(17, 27, 43, 0.78);
  border-bottom: 1px solid #334155;
}

#contacto .contact-map-heading {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
}

#contacto .contact-map-heading h3 {
  color: #F8FAFC;
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.25;
  margin: 0;
}

#contacto .contact-map-address {
  margin: 0.25rem 0 0;
  font-size: 0.88rem;
  color: #AAB7C8;
  line-height: 1.45;
}

#contacto .contact-map-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

#contacto .contact-map-actions .btn {
  min-height: 44px;
  padding: 0.6rem 1.05rem;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  white-space: nowrap;
}

#contacto .contact-map-actions .nav-svg-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

#contacto .contact-map-frame-wrap {
  position: relative;
  width: 100%;
  background-color: #0B1220;
}

#contacto .contact-map-iframe {
  display: block;
  width: 100%;
  height: 360px;
  border: 0;
}

@media (max-width: 680px) {
  #contacto .contact-map-header {
    padding: 1.1rem 1rem;
  }
  #contacto .contact-map-actions {
    width: 100%;
  }
  #contacto .contact-map-actions .btn {
    flex: 1 1 100%;
  }
  #contacto .contact-map-iframe {
    height: 290px;
  }
}

/* ==========================================================
   7. FOOTER EDITORIAL MULTI-COLUMNA
   ========================================================== */
.store-footer-editorial {
  background-color: var(--store-dark-bg);
  color: #94a3b8;
  border-top: 1px solid var(--store-dark-border);
  padding: 4.5rem 0 2rem;
  font-size: 0.9rem;
}

.footer-grid-editorial {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.5fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 992px) {
  .footer-grid-editorial {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
}

@media (max-width: 580px) {
  .footer-grid-editorial {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

.footer-brand-title {
  font-size: 1.4rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.footer-brand-p {
  color: #94a3b8;
  line-height: 1.6;
  margin-bottom: 1.25rem;
  max-width: 380px;
}

.footer-badges-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.footer-location-badge,
.footer-pill-tag {
  font-size: 0.76rem;
  font-weight: 600;
  min-height: 44px;
  padding: 0.45rem 0.8rem;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  line-height: 1.25;
}

.footer-location-badge {
  background: #1E293B;
  color: #CBD5E1;
  border: 1px solid #334155;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background-color 0.15s ease;
}

.footer-location-badge:hover,
.footer-location-badge:focus-visible {
  border-color: #C18448;
  color: #FFFFFF;
  background: rgba(193, 132, 72, 0.16);
}

.footer-pill-tag {
  background: rgba(183, 121, 69, 0.15);
  color: #D6A66B;
  border: 1px solid rgba(183, 121, 69, 0.4);
}

.footer-sede-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-btn-maps {
  background: rgba(193, 132, 72, 0.14);
  color: #D6A66B;
  border: 1px solid rgba(193, 132, 72, 0.5);
  justify-content: center;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.footer-btn-maps:hover,
.footer-btn-maps:focus-visible {
  background: #C18448;
  color: #FFFFFF;
  border-color: #D6A66B;
}

.vitrina-maps-link {
  color: #D6A66B;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.vitrina-maps-link:hover,
.vitrina-maps-link:focus-visible {
  color: #F8FAFC;
}

.booking-hero-trust-bar a.trust-map-link {
  color: #D6A66B;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 600;
  border-bottom: 1px dashed rgba(214, 166, 107, 0.55);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.booking-hero-trust-bar a.trust-map-link:hover,
.booking-hero-trust-bar a.trust-map-link:focus-visible {
  color: #F8FAFC;
  border-bottom-color: #F8FAFC;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 1.15rem;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links-list a {
  color: #94a3b8;
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-links-list a:hover {
  color: #ffffff;
}

.footer-bottom-editorial {
  border-top: 1px solid #1e293b;
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8rem;
  color: #64748b;
}

.footer-bottom-editorial a {
  color: #64748b;
  text-decoration: none;
}

.footer-bottom-editorial a:hover {
  color: #94a3b8;
}

/* ==========================================================
   8. HEADER EDITORIAL PREMIUM (ESTILO SCOTT / BIKE HOUSE)
   ========================================================== */
.header-editorial {
  background-color: #0B1220;
  border-bottom: 1px solid #1E293B;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.header-editorial .header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.25rem;
}

.header-editorial .brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.header-editorial .brand-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.header-editorial .brand-name {
  color: #FFFFFF;
  font-size: 1.22rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  white-space: nowrap;
}

.header-editorial .brand-tagline {
  color: #C2CAD5;
  font-size: 0.69rem;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.2;
  white-space: nowrap;
  margin-top: 2px;
}

.header-editorial .brand-icon {
  width: 2.65rem;
  height: 2.65rem;
  background: #0B1220;
  border: 1.5px solid rgba(194, 202, 213, 0.28);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.header-editorial .brand:hover .brand-icon {
  border-color: var(--store-copper);
  box-shadow: 0 4px 16px rgba(183, 121, 69, 0.4);
  transform: scale(1.04);
}

.header-editorial .brand-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.header-editorial .nav-links {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: nowrap;
}

.header-editorial .nav-link {
  color: #CBD5E1;
  font-size: 0.86rem;
  font-weight: 600;
  padding: 0.38rem 0.65rem;
  border-radius: var(--store-radius-sm);
  transition: all 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

.header-editorial .nav-link:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
}

.header-editorial .nav-link.active {
  color: var(--store-bronze);
  background-color: rgba(183, 121, 69, 0.18);
  border: 1px solid rgba(183, 121, 69, 0.4);
  font-weight: 700;
}

.header-editorial .header-wa-btn {
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.84rem;
  padding: 0.42rem 0.85rem;
  border-radius: var(--store-radius-sm);
  white-space: nowrap;
  margin-left: 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.header-editorial .header-wa-btn:hover {
  background-color: #128C7E;
  color: #FFFFFF;
}

.header-editorial .nav-link-admin {
  background: rgba(255, 255, 255, 0.06);
  color: #94a3b8;
  border: 1px solid #334155;
}

.header-editorial .nav-link-admin:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.header-editorial .mobile-menu-toggle {
  background-color: #1D293B;
  border: 1px solid #334155;
  color: #F1F5F9;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: var(--store-radius-sm);
}

.header-editorial .mobile-menu-toggle:hover {
  background-color: #26354C;
  border-color: #C18448;
}

.header-editorial .mobile-menu-toggle .hamburger-bar {
  background-color: #ffffff;
}

.header-editorial .mobile-wa-shortcut {
  min-width: 44px;
  min-height: 44px;
  padding: 0.45rem 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.header-editorial .mobile-drawer {
  background-color: #0b111e;
  border-bottom: 1px solid #1e293b;
}

.header-editorial .mobile-nav-link {
  color: #cbd5e1;
  border-bottom: 1px solid #1e293b;
}

.header-editorial .mobile-nav-link:hover,
.header-editorial .mobile-nav-link.active {
  color: var(--store-bronze);
  background-color: rgba(183, 121, 69, 0.15);
}

.header-editorial .mobile-nav-admin {
  color: #94a3b8;
}

@media (max-width: 900px) {
  .header-editorial .nav-links {
    display: none !important;
  }
  .header-editorial .header-mobile-actions {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    flex-shrink: 0;
  }
  .header-editorial .mobile-drawer {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out;
    background-color: #0b111e;
    border-bottom: 2px solid #B77945;
  }
  .header-editorial .mobile-drawer.active,
  .header-editorial .mobile-drawer.open {
    max-height: 1400px !important;
    overflow-y: auto !important;
  }
}

/* ==========================================================
   9. MEGA MENÚ COMERCIAL PREMIUM (ESTILO SCOTT SPORTS)
   ========================================================== */
.nav-item-megamenu {
  position: static;
  display: inline-flex;
  align-items: center;
}

.megamenu-caret {
  font-size: 0.75rem;
  margin-left: 4px;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  line-height: 1;
  color: #D6A66B;
}

.nav-link.megamenu-active .megamenu-caret {
  transform: rotate(180deg);
  color: #FFFFFF;
}

.megamenu-panel {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  width: 100%;
  background: #0B1220 !important;
  border-top: 1px solid #1E293B;
  border-bottom: 2px solid #B77945;
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.95), 0 6px 16px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.25s;
  z-index: 1000;
}

.megamenu-panel.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.megamenu-container {
  max-width: 1360px;
  margin: 0 auto;
  padding: 2.25rem 1.5rem 1.75rem;
  box-sizing: border-box;
}

.megamenu-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.megamenu-col {
  display: flex;
  flex-direction: column;
  padding: 0.65rem;
  border-radius: 8px;
  transition: background-color 0.2s ease, outline 0.2s ease;
}

.megamenu-col.highlighted {
  background-color: rgba(183, 121, 69, 0.12);
  outline: 1px solid rgba(214, 166, 107, 0.4);
}

.megamenu-col-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid #1E293B;
  margin-bottom: 0.85rem;
}

.megamenu-col-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.megamenu-col-title {
  font-size: 0.82rem;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0;
}

.megamenu-subcat-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.42rem;
  flex-grow: 1;
}

.megamenu-link {
  font-size: 0.86rem;
  color: #C2CAD5;
  text-decoration: none;
  padding: 0.2rem 0;
  display: inline-flex;
  align-items: center;
  transition: all 0.15s ease;
  line-height: 1.35;
}

.megamenu-link:hover,
.megamenu-link:focus {
  color: #FFFFFF;
  transform: translateX(4px);
  text-shadow: 0 0 10px rgba(214, 166, 107, 0.4);
}

.megamenu-view-all {
  font-size: 0.82rem;
  font-weight: 700;
  color: #D6A66B;
  text-decoration: none;
  margin-top: 1rem;
  padding-top: 0.6rem;
  border-top: 1px dashed rgba(226, 232, 240, 0.15);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.15s ease;
}

.megamenu-view-all:hover {
  color: #FFFFFF;
  transform: translateX(3px);
  text-decoration: underline;
}

/* Franja Promocional Inferior */
.megamenu-promo-strip {
  border-top: 1px solid #1E293B;
  padding-top: 1.5rem;
}

.megamenu-promo-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.megamenu-promo-tag {
  font-size: 0.72rem;
  font-weight: 800;
  color: #D6A66B;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.megamenu-promo-subtitle {
  font-size: 0.78rem;
  color: #94A3B8;
}

.megamenu-promo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.megamenu-promo-card {
  position: relative;
  height: 115px;
  border-radius: 8px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid #334155;
  display: flex;
  align-items: flex-end;
  transition: all 0.25s ease;
  background: #0F172A;
}

.megamenu-promo-card:hover {
  border-color: #B77945;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(183, 121, 69, 0.35);
}

.megamenu-promo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  opacity: 0.85;
}

.megamenu-promo-card:hover .megamenu-promo-img {
  transform: scale(1.05);
  opacity: 0.95;
}

.megamenu-promo-overlay {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0.85rem 1rem;
  background: linear-gradient(to top, rgba(11, 18, 32, 0.96) 0%, rgba(11, 18, 32, 0.65) 65%, transparent 100%);
  display: flex;
  flex-direction: column;
}

.megamenu-promo-badge {
  font-size: 0.65rem;
  font-weight: 800;
  color: #D6A66B;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.megamenu-promo-title {
  font-size: 0.94rem;
  font-weight: 800;
  color: #FFFFFF;
  margin: 0;
  line-height: 1.2;
}

.megamenu-promo-action {
  font-size: 0.74rem;
  font-weight: 700;
  color: #C2CAD5;
  margin-top: 3px;
  transition: color 0.15s ease;
}

.megamenu-promo-card:hover .megamenu-promo-action {
  color: #D6A66B;
}

/* Acordeón Móvil en Drawer */
.mobile-mega-accordion {
  display: flex;
  flex-direction: column;
  border-top: 1px solid #1E293B;
  margin-top: 0.5rem;
  padding-top: 0.5rem;
}

.mobile-mega-header {
  padding: 0.75rem 1rem 0.35rem;
  font-size: 0.7rem;
  font-weight: 800;
  color: #D6A66B;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mobile-accordion-item {
  border-bottom: 1px solid #1E293B;
}

.mobile-accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.85rem 1rem;
  background: transparent;
  border: none;
  color: #CBD5E1;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  min-height: 48px;
  transition: all 0.15s ease;
}

.mobile-accordion-trigger:hover,
.mobile-accordion-item.expanded .mobile-accordion-trigger {
  color: #FFFFFF;
  background: rgba(183, 121, 69, 0.12);
}

.mobile-accordion-icon {
  font-size: 1.15rem;
  font-weight: 700;
  color: #D6A66B;
  transition: transform 0.25s ease;
  line-height: 1;
}

.mobile-accordion-item.expanded .mobile-accordion-icon {
  transform: rotate(45deg);
}

.mobile-accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
  background: rgba(7, 12, 22, 0.6);
  display: flex;
  flex-direction: column;
}

.mobile-accordion-item.expanded .mobile-accordion-panel {
  max-height: 600px;
  transition: max-height 0.4s ease-in-out;
}

.mobile-subcat-link {
  padding: 0.65rem 1.25rem 0.65rem 2.25rem;
  color: #94A3B8;
  font-size: 0.85rem;
  text-decoration: none;
  border-bottom: 1px solid rgba(30, 41, 59, 0.6);
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: all 0.15s ease;
}

.mobile-subcat-link:hover,
.mobile-subcat-link:active {
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.05);
}

.mobile-subcat-all {
  color: #D6A66B !important;
  font-weight: 700;
  background: rgba(183, 121, 69, 0.08);
}

@media (max-width: 1200px) {
  .megamenu-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
  }
  .megamenu-container {
    padding: 1.75rem 1.25rem 1.5rem;
  }
}

@media (max-width: 768px) {
  .megamenu-panel {
    display: none !important;
  }
}


/* ==========================================================================
   10. ICONOGRAFÍA VECTORIAL CORPORATIVA (ESTILO LINEAL UNIFORME)
   ========================================================================== */

.nav-svg-icon {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 1.8;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
  transition: transform 0.2s ease, stroke 0.2s ease, color 0.2s ease;
}

/* Enlaces del panel superior */
.nav-link .nav-svg-icon,
.nav-link-admin .nav-svg-icon {
  width: 15px;
  height: 15px;
  margin-right: 6px;
  color: #C2CAD5;
}

.nav-link:hover .nav-svg-icon,
.nav-link-admin:hover .nav-svg-icon {
  color: #FFFFFF;
}

/* Botones WhatsApp en header y mobile */
.header-wa-btn .nav-svg-icon,
.mobile-wa-shortcut .nav-svg-icon,
.btn-whatsapp .nav-svg-icon {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  margin-right: 6px;
  color: #FFFFFF;
}

/* Cabeceras de columnas del Mega Menú */
.megamenu-col-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(214, 166, 107, 0.08);
  border: 1px solid rgba(214, 166, 107, 0.2);
  margin-right: 8px;
  flex-shrink: 0;
  transition: all 0.25s ease;
}

.megamenu-col-icon .nav-svg-icon {
  width: 18px;
  height: 18px;
  color: #D6A66B;
}

.megamenu-col:hover .megamenu-col-icon {
  background: rgba(183, 121, 69, 0.2);
  border-color: #B77945;
  box-shadow: 0 0 10px rgba(183, 121, 69, 0.3);
}

.megamenu-col:hover .megamenu-col-icon .nav-svg-icon {
  color: #FFFFFF;
  transform: scale(1.08);
}

/* Mobile Drawer */
.mobile-nav-link {
  display: flex;
  align-items: center;
}

.mobile-nav-link .nav-svg-icon {
  width: 17px;
  height: 17px;
  color: #C2CAD5;
  margin-right: 10px;
  flex-shrink: 0;
}

.mobile-nav-link:hover .nav-svg-icon,
.mobile-nav-link.active .nav-svg-icon {
  color: #B77945;
}

.mobile-accordion-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.mobile-accordion-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mobile-accordion-title .nav-svg-icon {
  width: 18px;
  height: 18px;
  color: #D6A66B;
  flex-shrink: 0;
}

.mobile-accordion-item:hover .mobile-accordion-title .nav-svg-icon,
.mobile-accordion-item.expanded .mobile-accordion-title .nav-svg-icon,
.mobile-accordion-trigger[aria-expanded="true"] .mobile-accordion-title .nav-svg-icon {
  color: #B77945;
}

/* Chips de categorías de repuestos */
.repuesto-chip .chip-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 6px;
}

.repuesto-chip .chip-svg {
  width: 15px;
  height: 15px;
  stroke-width: 2;
  color: #C2CAD5;
  transition: color 0.15s ease, transform 0.15s ease;
}

.repuesto-chip:hover .chip-svg {
  color: #FFFFFF;
  transform: scale(1.06);
}

.repuesto-chip.active .chip-svg {
  color: #FFFFFF;
}

/* Badges y Callouts con SVGs */
.hero-eyebrow .nav-svg-icon,
.category-store-title .nav-svg-icon,
.store-empty-badge .nav-svg-icon {
  width: 16px;
  height: 16px;
  vertical-align: -2px;
  margin-right: 6px;
  color: #D6A66B;
}

/* Refinamiento visual para enlaces utilitarios del cajón móvil en modo editorial */
.header-editorial .mobile-drawer .mobile-nav-link {
  background: rgba(255, 255, 255, 0.04) !important;
  color: #C2CAD5 !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  transition: all 0.2s ease;
}

.header-editorial .mobile-drawer .mobile-nav-link:hover,
.header-editorial .mobile-drawer .mobile-nav-link.active {
  background: rgba(183, 121, 69, 0.18) !important;
  border-color: rgba(183, 121, 69, 0.45) !important;
  color: #FFFFFF !important;
}

.header-editorial .mobile-drawer .mobile-nav-link .nav-svg-icon {
  color: #C2CAD5;
}

.header-editorial .mobile-drawer .mobile-nav-link:hover .nav-svg-icon,
.header-editorial .mobile-drawer .mobile-nav-link.active .nav-svg-icon {
  color: #D6A66B;
}

.header-editorial .mobile-drawer .mobile-nav-admin {
  background: rgba(183, 121, 69, 0.08) !important;
  border-color: rgba(183, 121, 69, 0.25) !important;
}



/* ==========================================================================
   11. NAVEGACIÓN SUPERIOR REESTRUCTURADA (12 ELEMENTOS COMERCIALES DIRECTOS)
   ========================================================================== */

.header.header-editorial .container,
.header-editorial .header-content {
  max-width: 1560px !important;
  width: calc(100% - 32px) !important;
  margin: 0 auto;
  padding: 0 0.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
}

.header-editorial .brand {
  gap: 0.6rem;
  flex-shrink: 0;
}

.header-editorial .brand-name {
  font-size: 1.18rem;
}

.header-editorial .brand-tagline {
  font-size: 0.65rem;
  color: #94A3B8;
}

.header-editorial .nav-links {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-editorial .nav-link {
  color: #CBD5E1;
  font-size: 0.79rem;
  font-weight: 600;
  padding: 0.32rem 0.46rem;
  border-radius: var(--store-radius-sm);
  transition: all 0.15s ease;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1.2;
}

.header-editorial .nav-link:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
}

.header-editorial .nav-link.active {
  color: #D6A66B;
  background-color: rgba(183, 121, 69, 0.18);
  border: 1px solid rgba(183, 121, 69, 0.4);
  font-weight: 700;
}

.header-editorial .nav-link-admin {
  background: rgba(255, 255, 255, 0.06);
  color: #94A3B8;
  border: 1px solid #334155;
  padding: 0.3rem 0.48rem;
}

.header-editorial .nav-link-admin:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
}

.header-editorial .header-wa-btn {
  background-color: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 0.79rem;
  min-height: 44px;
  padding: 0.42rem 0.85rem;
  border-radius: var(--store-radius-sm);
  white-space: nowrap;
  margin-left: 0.2rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  text-decoration: none;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.header-editorial .header-wa-btn:hover {
  background-color: #128C7E;
  color: #FFFFFF;
}

/* Pantallas medianas entre 1380px y 1180px */
@media (max-width: 1380px) and (min-width: 901px) {
  .header-editorial .nav-links {
    gap: 2px;
  }
  .header-editorial .nav-link {
    font-size: 0.74rem;
    padding: 0.28rem 0.38rem;
  }
  .header-editorial .header-wa-btn {
    font-size: 0.75rem;
    padding: 0.28rem 0.55rem;
  }
  .header-editorial .brand-name {
    font-size: 1.1rem;
  }
  .header-editorial .brand-tagline {
    font-size: 0.62rem;
  }
}

/* Pantallas compactas entre 1180px y 901px */
@media (max-width: 1180px) and (min-width: 901px) {
  .header-editorial .nav-links {
    gap: 1px;
  }
  .header-editorial .nav-link {
    font-size: 0.70rem;
    padding: 0.25rem 0.30rem;
  }
  .header-editorial .brand-tagline {
    display: none;
  }
  .header-editorial .header-wa-btn {
    font-size: 0.72rem;
    padding: 0.35rem 0.6rem;
  }
}

/* ==========================================================================
   12. HOMOLOGACIÓN TÁCTIL >= 44px Y MODALES OSCUROS PÚBLICOS (AISLADOS)
   ========================================================================== */
.store-workshop-section .btn-secondary,
.store-workshop-section .btn-hero-primary,
.store-footer-editorial .btn-whatsapp,
.store-footer-editorial .footer-btn-maps,
#bookingFlow .calendar-nav-btn {
  min-height: 44px;
}

#bookingFlow .calendar-nav-btn {
  min-width: 44px;
}

@media (max-width: 390px) {
  .header-editorial .mobile-menu-toggle {
    width: 44px;
    height: 44px;
    min-width: 44px;
    min-height: 44px;
  }
  .header-editorial .mobile-wa-shortcut {
    min-width: 44px;
    min-height: 44px;
    padding: 0.35rem 0.65rem;
  }
}

/* Modales públicos y controles select en tema oscuro (excluye admin-body) */
body:not(.admin-body) select.form-control option,
body:not(.admin-body) select.step2-service-select option {
  background-color: #151F30;
  color: #F1F5F9;
}

body:not(.admin-body) .modal-overlay {
  background-color: rgba(6, 10, 18, 0.8);
}

body:not(.admin-body) .modal-card {
  background: #151F30;
  border: 1px solid #334155;
  color: #F1F5F9;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.68);
}

body:not(.admin-body) .modal-header {
  background: #111B2B;
  border-bottom: 1px solid #334155;
  color: #F1F5F9;
}

body:not(.admin-body) .modal-header h3 {
  color: #F1F5F9;
}

body:not(.admin-body) .modal-close {
  color: #94A3B8;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.15s ease, color 0.15s ease;
}

body:not(.admin-body) .modal-close:hover {
  color: #FFFFFF;
  background-color: rgba(255, 255, 255, 0.08);
}

body:not(.admin-body) .modal-body {
  color: #CBD5E1;
}

body:not(.admin-body) .modal-body p {
  color: #CBD5E1 !important;
}

body:not(.admin-body) .modal-body label,
body:not(.admin-body) .modal-body .form-label {
  color: #F1F5F9;
}

body:not(.admin-body) .modal-body .form-control {
  background-color: #1D293B !important;
  border-color: #334155 !important;
  color: #F1F5F9 !important;
  min-height: 44px;
}

body:not(.admin-body) .modal-body .form-control::placeholder {
  color: #94A3B8;
}

body:not(.admin-body) .modal-body .form-control:focus {
  border-color: #C18448 !important;
  box-shadow: 0 0 0 3px rgba(193, 132, 72, 0.25) !important;
}

body:not(.admin-body) .modal-footer {
  background: #111B2B;
  border-top: 1px solid #334155;
}

body:not(.admin-body) .modal-footer .btn {
  min-height: 44px;
}

body:not(.admin-body) .modal-card .btn-secondary,
body:not(.admin-body) .modal-card .btn-outline-secondary {
  background-color: #1D293B;
  border-color: #334155;
  color: #F1F5F9;
  min-height: 44px;
}

body:not(.admin-body) .modal-card .btn-secondary:hover,
body:not(.admin-body) .modal-card .btn-outline-secondary:hover {
  background-color: #26354C;
  border-color: #C18448;
  color: #FFFFFF;
}

body:not(.admin-body) .modal-card .summary-row {
  border-bottom-color: #334155;
}

body:not(.admin-body) .modal-card .summary-row-label {
  color: #94A3B8;
}

body:not(.admin-body) .modal-card .summary-row-val {
  color: #F1F5F9;
}

/* ==========================================================
   20. AVISO DE PRIVACIDAD, CONSENTIMIENTO LEY 1581 Y /privacidad
   ========================================================== */
.privacy-consent-box {
  margin-top: 1.2rem;
  margin-bottom: 1.15rem;
  padding: 1rem 1.15rem;
  background-color: #111B2B;
  border: 1px solid #334155;
  border-left: 3px solid #C18448;
  border-radius: 10px;
  color: #CBD5E1;
  overflow-wrap: anywhere;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.privacy-consent-box.has-error {
  border-color: #EF4444;
  border-left-color: #EF4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}

.privacy-notice-summary {
  font-size: 0.82rem;
  line-height: 1.5;
  color: #CBD5E1;
  margin: 0 0 0.7rem 0;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #243247;
}

.privacy-notice-summary strong {
  color: #F1F5F9;
}

.privacy-notice-link {
  color: #D6A66B;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-notice-link:hover,
.privacy-notice-link:focus-visible {
  color: #F3D19E;
}

.privacy-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  min-height: 44px;
  padding: 0.35rem 0.2rem;
  margin: 0;
  cursor: pointer;
  font-size: 0.86rem;
  line-height: 1.48;
  font-weight: 500;
  color: #F1F5F9;
  user-select: none;
}

.privacy-consent-checkbox {
  width: 20px;
  height: 20px;
  min-width: 20px;
  margin: 0.15rem 0 0 0;
  accent-color: #C18448;
  cursor: pointer;
  flex-shrink: 0;
}

.privacy-consent-checkbox:focus-visible {
  outline: 2px solid #D6A66B;
  outline-offset: 2px;
}

.privacy-required-mark {
  color: #FCA5A5;
  font-weight: 700;
}

.privacy-consent-error {
  display: none;
  margin: 0.5rem 0 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
  font-weight: 600;
  color: #FCA5A5;
}

.privacy-consent-box.has-error .privacy-consent-error {
  display: block;
}

.modal-body .privacy-consent-box {
  margin-top: 0.4rem;
  margin-bottom: 1rem;
  padding: 0.85rem 0.95rem;
}

.modal-body .privacy-notice-summary {
  color: #CBD5E1 !important;
  font-size: 0.79rem;
}

.modal-body .privacy-consent-label {
  color: #F1F5F9 !important;
  font-size: 0.83rem;
}

/* Página Legal /privacidad */
body.page-legal {
  background-color: #0B1220;
  color: #F1F5F9;
}

.legal-page-main {
  background-color: #0B1220;
  padding: 2.75rem 0 4rem;
}

.legal-article-card {
  max-width: 900px;
  margin: 0 auto;
  background-color: #151F30;
  border: 1px solid #334155;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
  overflow-wrap: anywhere;
}

.legal-eyebrow {
  display: inline-block;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #D6A66B;
  background-color: rgba(193, 132, 72, 0.14);
  border: 1px solid rgba(193, 132, 72, 0.38);
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
}

.legal-page-title {
  margin: 0 0 0.75rem 0;
  font-size: clamp(1.45rem, 3vw, 2.05rem);
  line-height: 1.22;
  color: #F8FAFC;
  font-weight: 800;
}

.legal-page-subtitle {
  margin: 0 0 1.75rem 0;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #CBD5E1;
}

.legal-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin-bottom: 2rem;
}

.legal-meta-item {
  background-color: #111B2B;
  border: 1px solid #334155;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.legal-meta-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #94A3B8;
  font-weight: 700;
}

.legal-meta-value {
  font-size: 0.95rem;
  color: #F1F5F9;
}

.legal-meta-link {
  font-size: 0.93rem;
  color: #D6A66B;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.legal-meta-link:hover {
  color: #F3D19E;
}

.legal-section {
  padding-top: 1.25rem;
  margin-top: 1.25rem;
  border-top: 1px solid #243247;
}

.legal-section h2 {
  margin: 0 0 0.65rem 0;
  font-size: 1.12rem;
  font-weight: 700;
  color: #D6A66B;
}

.legal-section p,
.legal-section li {
  color: #CBD5E1;
  font-size: 0.93rem;
  line-height: 1.62;
}

.legal-section p {
  margin: 0 0 0.7rem 0;
}

.legal-section ul {
  margin: 0.35rem 0 0.75rem 1.25rem;
  padding: 0;
}

.legal-section li {
  margin-bottom: 0.4rem;
}

.legal-section strong {
  color: #F1F5F9;
}

.legal-section a {
  color: #D6A66B;
  font-weight: 600;
  text-decoration: underline;
}

.legal-inline-code {
  background-color: #1D293B;
  color: #D6A66B;
  border: 1px solid #334155;
  border-radius: 5px;
  padding: 0.1rem 0.4rem;
  font-size: 0.85em;
}

.legal-actions-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
}

.legal-actions-bar .btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 768px) {
  .legal-page-main {
    padding: 1.75rem 0 3rem;
  }

  .legal-article-card {
    padding: 1.5rem 1.25rem;
    border-radius: 12px;
  }

  .legal-meta-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .privacy-consent-box {
    padding: 0.85rem 0.9rem;
  }

  .legal-article-card {
    padding: 1.2rem 1rem;
  }

  .legal-actions-bar .btn {
    width: 100%;
  }
}

