﻿:root {
  --bg: #ffffff;
  --panel: #ffffff;
  --panel-soft: #f5f5f5;
  --line: rgba(5, 21, 51, 0.16);
  --text: #111111;
  --muted: #5c5c5c;
  --accent: #051533;
  --accent-deep: #051533;
  --shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Rajdhani", sans-serif;
  color: var(--text);
  background:
    linear-gradient(180deg, rgba(5, 21, 51, 0.05), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #fbfbfb 100%);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(120deg, transparent 0 16%, rgba(5, 21, 51, 0.04) 16.5%, transparent 17.2%),
    linear-gradient(120deg, transparent 0 75%, rgba(0, 0, 0, 0.03) 75.5%, transparent 76.2%);
}

img {
  max-width: 100%;
  display: block;
}

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

.page-shell {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 24px clamp(16px, 3vw, 40px) 72px;
}


/* ==========================================================================
   SOLUCIÓN DEFINITIVA: BARRA SUPERIOR Y RETORNO DE CONTENIDO
   ========================================================================== */

/* Contenedor principal que se extiende al 100% de la pantalla sin romper el flujo */
header.topbar {
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  width: 100% !important;
  display: flex !important; /* Cambiado de block a flex para el flujo correcto */
  background: rgba(255, 255, 255, 0.95) !important;
  border-bottom: 1px solid var(--line) !important;
  backdrop-filter: blur(16px) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03) !important;
}

/* Restablece el espaciado global para que el contenido inferior respire y suba */
.page-shell {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 0 72px !important; /* Remueve los rellenos superiores que colapsaban el main */
}

/* Alineador interno con ancho controlado estilo AutoZone */
.topbar-container {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 12px 24px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* Bloques internos forzados en línea horizontal */
.topbar-left, 
.topbar-right,
.topbar-actions {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}

.topbar-left { gap: 28px !important; }
.topbar-right { gap: 32px !important; }
.topbar-actions { gap: 16px !important; }

/* Corrección de herencia para el main */
main, .listing-main {
  display: block !important;
  position: relative !important;
  width: 100% !important;
}

/* Estilos de la Marca / Logotipo */
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
}

.brand-copy {
  display: flex;
  flex-direction: column;
}

.brand-copy strong {
  font-family: "Orbitron", sans-serif;
  font-size: 16px;
  line-height: 1.2;
  color: var(--text);
}

.brand-copy small {
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  color: var(--muted);
}

/* Botón Agregar Vehículo (Estilo cápsula sutil) */
.vehicle-button {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  padding: 8px 16px;
  border-radius: 999px;
  cursor: pointer;
  font-family: "Rajdhani", sans-serif;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  transition: background 0.2s ease;
}

.vehicle-button:hover {
  background: rgba(5, 21, 51, 0.05);
}

.vehicle-button-icon {
  height: 14px;
  width: auto;
}

.vehicle-button-arrow {
  color: var(--muted);
  font-size: 16px;
}

/* Enlaces del Menú de Navegación */
.nav {
  display: flex;
  gap: 20px;
  font-weight: 600;
}

.nav a {
  font-size: 15px;
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
}

/* Tuning La Marquesa */
body.tuning-modal-open { overflow: hidden; }
.tuning-promo-modal { position: fixed; inset: 0; z-index: 100000; display: grid; place-items: center; padding: 20px; }
.tuning-promo-modal[hidden] { display: none; }
.tuning-promo-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, .78); backdrop-filter: blur(6px); }
.tuning-promo-card {
  position: relative !important;
  width: min(100%, 820px) !important; /* Aumentado de 620px a 820px para un flyer mucho más imponente */
  overflow: hidden !important;
  border: 1px solid rgba(164, 255, 36, .68) !important;
  background: #080b08 !important;
  box-shadow: 0 28px 90px rgba(0,0,0,.7) !important;
}
.tuning-promo-flyer {
  width: 100% !important;
  max-height: 80vh !important; /* Aumentado de 70vh a 80vh para dar más espacio vertical */
  object-fit: contain !important;
  background: #000 !important;
  display: block !important;
}
.tuning-promo-close { position: absolute; top: 10px; right: 12px; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; background: rgba(0,0,0,.7); color: #fff; font-size: 28px; cursor: pointer; z-index: 1; }
.tuning-promo-action { display: grid; gap: 10px; padding: 20px 24px 24px; text-align: center; color: #fff; }
.tuning-promo-action p { margin: 0; font: 700 14px "Orbitron", sans-serif; letter-spacing: .1em; text-transform: uppercase; }
.tuning-promo-button, .tuning-pay-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; border: 0; background: #a6ff26; color: #061004; padding: 14px 22px; font: 800 15px "Orbitron", sans-serif; letter-spacing: .06em; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease; }
.tuning-promo-button:hover, .tuning-pay-button:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(166,255,38,.28); }

.tuning-page { background: radial-gradient(circle at 50% -10%, #253d14 0, #070a08 46%, #020302 100%); color: #f4f8ef; min-height: 100vh; }
.tuning-page::before { background: linear-gradient(120deg, transparent 0 42%, rgba(166,255,38,.07) 42.2%, transparent 42.5%); }
.tuning-header { width: min(1180px, calc(100% - 36px)); margin: 0 auto; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid rgba(166,255,38,.27); }
.tuning-header .brand-copy strong { color: #fff; }
.tuning-header .brand-copy small, .tuning-back-link { color: #bdc7b3; }
.tuning-back-link { font: 700 13px "Orbitron", sans-serif; letter-spacing: .07em; }
.tuning-registration { width: min(1120px, calc(100% - 36px)); margin: 0 auto; padding: 72px 0 100px; }
.tuning-intro { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.tuning-eyebrow, .tuning-card-label { margin: 0 0 12px; color: #a6ff26; font: 700 13px "Orbitron", sans-serif; letter-spacing: .13em; }
.tuning-intro h1 { margin: 0; font: 800 clamp(34px, 7vw, 66px)/.95 "Orbitron", sans-serif; letter-spacing: -.05em; }
.tuning-intro h1 span { color: #a6ff26; }
.tuning-lead { margin: 20px 0 8px; font-size: clamp(20px, 3vw, 27px); font-weight: 600; }
.tuning-limit { display: inline-block; margin: 8px 0 0; padding: 7px 12px; border: 1px solid rgba(166,255,38,.55); color: #a6ff26; font-weight: 700; letter-spacing: .07em; }
.tuning-registration-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(290px, .75fr); gap: 28px; align-items: start; }
.tuning-form, .tuning-payment-card { border: 1px solid rgba(166,255,38,.32); background: rgba(8, 12, 8, .88); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.tuning-form { padding: clamp(22px, 4vw, 42px); }
.tuning-form-section + .tuning-form-section { margin-top: 34px; padding-top: 30px; border-top: 1px solid rgba(255,255,255,.12); }
.tuning-form-section h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 20px; font: 700 17px "Orbitron", sans-serif; letter-spacing: .04em; }
.tuning-form-section h2 span { color: #a6ff26; font-size: 13px; }
.tuning-form label { display: grid; gap: 7px; margin: 0 0 16px; color: #d9dfd4; font-weight: 700; letter-spacing: .03em; }
.tuning-form input { width: 100%; border: 1px solid rgba(255,255,255,.24); outline: none; background: rgba(255,255,255,.06); color: #fff; padding: 12px 14px; font: 600 17px "Rajdhani", sans-serif; }
.tuning-form input:focus { border-color: #a6ff26; box-shadow: 0 0 0 3px rgba(166,255,38,.12); }
.tuning-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.tuning-check { grid-template-columns: 20px 1fr; align-items: start; cursor: pointer; }
.tuning-check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: #a6ff26; }
.tuning-check small { color: #a8b1a1; font-weight: 500; }
.tuning-pay-button { width: 100%; margin-top: 4px; }
.tuning-form-note { margin: 13px 0 0; text-align: center; color: #adb5a7; font-size: 15px; }
.tuning-payment-hint { margin: -5px 0 20px; color: #c5cec0; font-size: 16px; }
.tuning-card-fields { color: #f4f8ef; }
.tuning-card-fields label { color: #f4f8ef; font-size: 16px; }
.tuning-card-fields label > small { color: #b7c2b0; font-size: 15px; font-weight: 500; letter-spacing: 0; }
/* ==========================================================================
   CORRECCIÓN COMPLETA DE COLOR BLANCO PARA CAMPOS MERCADO PAGO
   ========================================================================== */
.tuning-card-fields input, 
.tuning-mp-field { 
  height: 48px; 
  border: 1px solid rgba(255,255,255,.3); 
  background: rgba(255,255,255,.07); 
  color: #ffffff !important; /* Forzar texto blanco en inputs estándar */
}

.tuning-mp-field { 
  width: 100%; 
  padding: 0 12px; 
}

.tuning-mp-field iframe { 
  width: 100% !important; 
  height: 100% !important; 
  border: 0; 
}


.mp-secure-input {
  color: #ffffff !important;
}

.tuning-card-fields input::placeholder {
  color: rgba(255, 255, 255, 0.4) !important;
}

.tuning-card-brand {
  grid-column: auto !important; /* Libera el bloque de ocupar toda la fila */
  display: inline-flex !important;
  align-items: center !important;
  gap: 12px !important;
  min-height: 48px !important;   /* Cambiado de 54px a 48px para igualar la altura de tus inputs (.tuning-mp-field) */
  margin: 25px 0 0 0 !important; /* El margen superior de 25px lo alinea visualmente con la caja del input, saltándose el texto del label */
  padding: 6px 14px !important;
  border: 1px solid rgba(166,255,38,.32) !important;
  border-radius: 10px !important;
  background: rgba(255,255,255,.08) !important;
  white-space: nowrap !important; /* Evita que los textos cortos se rompan en dos renglones */
}

.tuning-card-brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 62px;
  height: 38px;
  border-radius: 7px;
  background: #fff;
}

.tuning-card-brand-mark img {
  max-width: 54px;
  max-height: 30px;
  object-fit: contain;
}

.tuning-card-brand small,
.tuning-card-brand strong {
  display: block;
}

.tuning-card-brand small {
  color: #b7c2b0;
  font-size: 12px;
}

.tuning-card-brand strong {
  color: #f4f8ef;
  font-size: 16px;
}
.tuning-mp-field { width: 100%; padding: 0 12px; }
.tuning-mp-field iframe { width: 100% !important; height: 100% !important; border: 0; }
.tuning-card-row {
  display: grid !important;
  /* Creamos 4 columnas: el número, la marca detectada (ajustada a su contenido), expiración y CVV */
  grid-template-columns: 1.45fr auto 1fr .78fr !important;
  gap: 14px !important;
  align-items: start !important; /* Alinea los campos en la parte superior */
}
.tuning-payment-hidden { display: none; }
@media (max-width: 620px) { .tuning-card-row { grid-template-columns: 1fr; gap: 0; } }
.tuning-form-status { min-height: 24px; margin: 14px 0 0; color: #a6ff26; text-align: center; font-weight: 700; }
.tuning-pay-button:disabled { cursor: wait; opacity: .65; transform: none; box-shadow: none; }
.tuning-payment-card { overflow: hidden; position: sticky; top: 20px; }
.tuning-success-page { min-height: 100vh; display: grid; place-items: center; padding: 28px; }
.tuning-success-card { width: min(680px, 100%); padding: 48px; text-align: center; border: 1px solid rgba(166,255,38,.32); background: rgba(8, 12, 8, .88); box-shadow: 0 24px 60px rgba(0,0,0,.25); }
.tuning-success-card h1 { margin: 0 0 16px; color: #a6ff26; font-family: "Orbitron", sans-serif; }
.tuning-success-card p:not(.tuning-eyebrow) { color: #f4f8ef; font-size: 20px; line-height: 1.5; }
.tuning-success-card a { display: inline-block; margin-top: 20px; color: #080c08; text-decoration: none; }
.tuning-side-flyer { width: 100%; aspect-ratio: 1 / 1.12; object-fit: cover; object-position: center; }
.tuning-payment-copy { padding: 24px; }
.tuning-payment-copy > strong { display: block; color: #a6ff26; font: 800 38px "Orbitron", sans-serif; }
.tuning-payment-copy > strong small { color: #d5ddd1; font-size: 12px; letter-spacing: .04em; }
.tuning-payment-copy p { color: #d5ddd1; font-size: 17px; }
.tuning-payment-copy ul { padding: 0; list-style: none; color: #edf1e9; }
.tuning-payment-copy li { margin: 8px 0; }
.tuning-payment-copy li::before { content: "✓"; color: #a6ff26; font-weight: 800; margin-right: 10px; }
.tuning-bank-details { margin-top: 20px; padding: 16px; border: 1px solid rgba(166,255,38,.55); background: rgba(166,255,38,.07); }
.tuning-bank-details span { color: #a6ff26; font: 700 11px "Orbitron", sans-serif; letter-spacing: .08em; }
.tuning-bank-details b { display: block; margin-top: 8px; font-size: 20px; }
.tuning-bank-details p { margin: 7px 0 0; font-size: 15px; }

@media (max-width: 620px) {
  /* Banner de registro Tuning dentro del index */
  .tuning-promo-modal {
    align-items: center;
    padding: 10px;
  }

  .tuning-promo-card {
    width: min(100%, 410px) !important;
    max-height: calc(100dvh - 20px);
    display: flex;
    flex-direction: column;
    border-radius: 14px;
  }

  .tuning-promo-flyer {
    width: 100% !important;
    height: auto;
    max-height: calc(100dvh - 132px) !important;
    object-fit: contain !important;
  }

  .tuning-promo-close {
    top: 7px;
    right: 7px;
    width: 34px;
    height: 34px;
    font-size: 24px;
  }

  .tuning-promo-action {
    gap: 8px;
    padding: 12px 14px 14px;
  }

  .tuning-promo-action p {
    font-size: 12px;
  }

  .tuning-promo-button {
    width: 100%;
    padding: 12px 14px;
    font-size: 13px;
  }

  /* Registro Tuning */
  .tuning-header {
    width: calc(100% - 24px);
    padding: 14px 0;
    gap: 12px;
  }

  .tuning-header .brand {
    min-width: 0;
  }

  .tuning-header .brand-logo {
    width: 42px;
    height: 42px;
  }

  .tuning-header .brand-copy strong {
    font-size: 16px;
  }

  .tuning-header .brand-copy small {
    font-size: 11px;
  }

  .tuning-back-link {
    max-width: 116px;
    font-size: 10px;
    line-height: 1.25;
    text-align: right;
  }

  .tuning-registration {
    width: calc(100% - 24px);
    padding: 38px 0 56px;
  }

  .tuning-intro {
    margin-bottom: 28px;
  }

  .tuning-intro h1 {
    font-size: clamp(28px, 9vw, 42px);
    line-height: 1.02;
  }

  .tuning-eyebrow {
    font-size: 10px;
    line-height: 1.45;
  }

  .tuning-lead {
    font-size: 18px;
    line-height: 1.3;
  }

  .tuning-registration-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .tuning-form {
    padding: 18px 15px 22px;
  }

  .tuning-form-section + .tuning-form-section {
    margin-top: 26px;
    padding-top: 22px;
  }

  .tuning-form-section h2 {
    gap: 8px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.3;
  }

  .tuning-form label,
  .tuning-card-fields label {
    font-size: 14px;
  }

  .tuning-form input,
  .tuning-mp-field {
    min-width: 0;
    font-size: 16px;
  }

  .tuning-field-row,
  .tuning-card-row {
    grid-template-columns: 1fr !important;
    gap: 0 !important;
  }

  .tuning-card-brand {
    width: 100%;
    box-sizing: border-box;
    margin: 0 0 16px !important;
    white-space: normal !important;
  }

  .tuning-payment-hint {
    font-size: 14px;
    line-height: 1.4;
  }

  .tuning-check {
    grid-template-columns: 20px minmax(0, 1fr);
    line-height: 1.35;
  }

  .tuning-pay-button {
    min-height: 50px;
    padding: 13px 12px;
    font-size: 12px;
  }

  .tuning-payment-card {
    position: static;
  }

  .tuning-side-flyer {
    max-height: 66vh;
    object-fit: contain;
    background: #000;
  }

  .tuning-payment-copy {
    padding: 18px;
  }

  .tuning-payment-copy > strong {
    font-size: 32px;
  }
}

@media (min-width: 621px) and (max-width: 860px) {
  .tuning-promo-card {
    width: min(100%, 95vw) !important; /* Ocupa casi todo el ancho de la pantalla en celulares */
  }
  .tuning-promo-flyer {
    max-height: 65vh !important; /* Reduce ligeramente la altura en celulares para que no tape el botón */
  }
}


/* 1. Botones principales (Cuenta y Carrito) */
.account-button, 
.cart-button {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: var(--text) !important;
  font-family: "Rajdhani", sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  gap: 4px !important;
  padding: 4px 12px !important;
  min-width: auto !important;
  box-shadow: none !important;
  border-radius: 0 !important;
}

/* 2. Control de tamaño SEGURO para tus imágenes (Evita que se vuelvan 0px) */
.account-button-icon,
.cart-button-icon {
  height: 22px !important; 
  width: 22px !important; /* CAMBIO CLAVE: Forzamos 22px de ancho para que SÍ SE VEA */
  object-fit: contain !important;
}

/* 3. Contenedor del carrito */
.cart-icon-wrapper {
  position: relative !important;
  display: inline-block !important;
}

/* 4. El contador del carrito (Corregido y estilizado) */
#cartCount {
  position: absolute !important;
  top: -6px !important;
  right: -8px !important;
  background-color: #051533 !important; /* Azul/Rojo AutoZone */
  color: #ffffff !important;
  border-radius: 50% !important;
  min-width: 16px !important;
  height: 16px !important;
  display: inline-grid !important;
  place-items: center !important;
  font-size: 10px !important;
  font-weight: bold !important;
  font-family: sans-serif !important;
  padding: 0 4px !important;
  box-sizing: border-box !important;
  z-index: 10 !important; /* Asegura que quede por encima de la imagen */
}

/* 5. Otros botones del sitio */
.btn-primary {
  color: var(--panel);
  background: linear-gradient(135deg, var(--accent), #051533);
  box-shadow: 0 16px 38px rgba(5, 21, 51, 0.28);
}

.btn-secondary,
.slider-nav {
  color: #000000;
  background: #ffffff;
  border: 1px solid rgba(16, 29, 47, 0.14);
}


.hero {
  position: relative;
  display: grid;
  gap: 0;
  align-items: stretch;
  padding: 0;
  margin: 0 -24px 32px;
}

.hero-copy-overlay {
  position: absolute;
  z-index: 3;
  left: clamp(18px, 4vw, 56px);
  top: clamp(24px, 5vw, 64px);
  width: min(560px, calc(100% - 36px));
  max-width: 560px;
  padding: 0;
  color: #ffffff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.hero-copy-overlay .eyebrow,
.hero-copy-overlay .hero-text,
.hero-copy-overlay .hero-metrics span {
  color: rgba(255, 255, 255, 0.92);
}

.hero-copy-overlay .hero-actions .btn-secondary {
  background: rgba(255, 255, 255, 0.94);
  color: #051533;
  border-color: transparent;
}

.hero-copy-overlay .hero-metrics article {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(8px);
}

.hero-visual {
  position: relative;
  width: 100%;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 1.02;
}

.hero-text {
  max-width: 640px;
  font-size: 1.2rem;
  line-height: 1.55;
  margin: 20px 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 30px 0;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.hero-metrics article,
.benefit-card,
.product-card,
.inventory-panel,
.inventory-note,
.cta-panel,
.group-card,
.spare-card {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 1));
  border: 1px solid rgba(16, 29, 47, 0.08);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.hero-metrics article {
  padding: 18px;
}

.hero-metrics strong {
  display: block;
  font-family: "Orbitron", sans-serif;
  font-size: 1.8rem;
  margin-bottom: 6px;
}

.visual-card {
  position: relative;
  overflow: hidden;
  min-height: 640px;
  border-radius: 0;
  background: #ffffff;
  border: 0;
  box-shadow: none;
}

.hero-slider {
  position: relative;
  height: 100%;
  min-height: 640px;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.04) 45%, rgba(16, 29, 47, 0.08) 100%),
    radial-gradient(circle at center, transparent 48%, rgba(16, 29, 47, 0.06) 100%);
  pointer-events: none;
}

.hero-slide .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 48px;
  height: 48px;
  min-width: 0;
  padding: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1.9rem;
  box-shadow: 0 10px 24px rgba(16, 29, 47, 0.18);
}

.hero-nav#heroPrev {
  left: 16px;
}

.hero-nav#heroNext {
  right: 16px;
}

.slider-controls {
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.slider-controls-hero {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(16, 29, 47, 0.08);
  border-radius: 18px;
  padding: 10px 12px;
  backdrop-filter: blur(10px);
}

.slider-controls-hero {
  bottom: 18px;
}

.slider-controls-dots-only {
  justify-content: center;
}

.slider-nav {
  min-width: 104px;
  padding: 11px 14px;
  border-radius: 999px;
  font-weight: 700;
}

.slider-nav:disabled {
  opacity: 0.45;
  cursor: default;
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  border: 0;
  background: rgba(16, 29, 47, 0.16);
  cursor: pointer;
}

.slider-dot.active {
  background: var(--accent);
}

.promo-banners {
  padding: 14px 0 8px;
}

.promo-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.promo-banner-card {
  overflow: hidden;
  min-height: 210px;
  border-radius: 18px;
  background: linear-gradient(180deg, #fefefe 0%, #eef3f7 100%);
  border: 1px solid rgba(16, 29, 47, 0.08);
  box-shadow: var(--shadow);
}

.promo-banner-card img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 210px;
  object-fit: cover;
}

.strip {
  padding: 8px 0 36px;
}

.strip-track {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.strip-track span {
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(5, 21, 51, 0.08);
  border: 1px solid rgba(5, 21, 51, 0.18);
  font-weight: 600;
}

.section-heading {
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0 0 12px;
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.section-heading p {
  max-width: 640px;
  margin: 0;
  font-size: 1.08rem;
}

.groups-section,
.catalog,
.inventory,
.benefits {
  padding: 32px 0 24px;
}

.groups-grid,
.catalog-grid,
.benefits-grid,
.repuestos-grid {
  display: grid;
  gap: 22px;
}

/* Limitar la altura de la tarjeta */
.groups-grid .group-card {
  flex: 0 1 320px !important;
  width: 100% !important;
  max-width: 320px !important;
  height: 420px !important; /* Altura máxima fija */
}

/* Forzar al enlace interno a ocupar toda la altura y distribuir el contenido */
.groups-grid .group-card-link {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  justify-content: space-between !important; /* Empuja el botón al fondo uniformemente */
  text-decoration: none !important;
}

/* Controlar el área de la imagen */
.groups-grid .group-card-media {
  height: 180px !important;
  width: 100% !important;
  overflow: hidden !important;
}

.groups-grid .group-card-media img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* Asegurar que el botón se quede pegado abajo */
.groups-grid .group-card-cta {
  margin-top: auto !important;
  width: 100% !important;
  text-align: center !important;
}



.group-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.group-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 54px rgba(16, 29, 47, 0.16);
}

.group-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
  padding: 18px;
}

.group-card-media {
  display: grid;
  place-items: center;
  min-height: 210px;
  padding: 10px;
  border-radius: 18px;
  background:
    radial-gradient(circle at top, rgba(5, 21, 51, 0.16), transparent 55%),
    linear-gradient(180deg, rgba(5, 21, 51, 0.06), rgba(5, 21, 51, 0.02));
}

.group-card-media img {
  width: min(86%, 260px);
  height: auto;
  object-fit: contain;
}

.group-card-title {
  margin: 20px 0 8px;
  font-size: 1.55rem;
  text-align: center;
}

.group-card-copy {
  margin: 0 0 16px;
  text-align: center;
  line-height: 1.5;
  color: #5d6b79;
}

.group-card-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-top: auto;
  padding: 12px 14px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(5, 21, 51, 0.96), rgba(5, 21, 51, 1));
  color: #ffffff;
  font-weight: 800;
  letter-spacing: 0.02em;
  box-shadow: 0 14px 28px rgba(5, 21, 51, 0.2);
}

.catalog-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  flex: 1;
}

.products-carousel {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.slider-nav-products {
  align-self: center;
}

.products-status {
  margin-top: 14px;
  font-weight: 600;
  text-align: center;
}

.product-card {
  display: flex;
  flex-direction: column;
  padding: 18px;
}

.product-card-link,
.spare-card-link {
  display: block;
}

.product-media {
  position: relative;
  min-height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background:
    radial-gradient(circle at top, rgba(5, 21, 51, 0.14), transparent 50%),
    linear-gradient(180deg, rgba(5, 21, 51, 0.06), rgba(5, 21, 51, 0.02));
  margin-bottom: 16px;
}

.product-media::before {
  content: "";
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(16, 29, 47, 0.07);
  border-radius: 14px;
}

.product-media img {
  position: relative;
  width: min(82%, 250px);
  height: auto;
  filter: drop-shadow(0 16px 20px rgba(16, 29, 47, 0.16));
}

.product-tag {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(16, 29, 47, 0.94);
  border: 1px solid rgba(67, 223, 237, 0.2);
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.product-brand {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(5, 21, 51, 0.892);
  color: #ffffff;
  font-size: 0.92rem;
  font-weight: 700;
}

.product-card h3 {
  margin: 0 0 8px;
  font-size: 1.45rem;
}

.product-card p {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.45;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: auto;
}

.product-price strong {
  display: block;
  font-size: 1.55rem;
  color: var(--accent);
}

.add-to-cart {
  padding: 12px 16px;
  border-radius: 14px;
  font-weight: 700;
  color: var(--panel);
  background: var(--accent);
  box-shadow: 0 12px 24px rgba(5, 21, 51, 0.18);
}

.inventory-panel {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 24px;
  padding: 24px;
}

.inventory-table-wrap {
  overflow: auto;
  border-radius: 18px;
  border: 1px solid rgba(16, 29, 47, 0.08);
}

.inventory-table {
  width: 100%;
  border-collapse: collapse;
  background: #ffffff;
}

.inventory-table th,
.inventory-table td {
  padding: 14px 16px;
  text-align: left;
  border-bottom: 1px solid rgba(16, 29, 47, 0.08);
}

.inventory-table th {
  background: var(--panel);
  color: #ffffff;
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.inventory-table tr:nth-child(even) td {
  background: rgba(67, 223, 237, 0.05);
}

.inventory-note {
  padding: 24px;
}

.inventory-note h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.inventory-note p {
  margin: 0 0 12px;
  line-height: 1.55;
}

.benefits-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.benefit-card {
  padding: 24px;
}

.benefit-card h3 {
  margin: 0 0 12px;
  font-size: 1.2rem;
}

.benefit-card p {
  margin: 0;
  line-height: 1.55;
}


.cart-drawer {
  position: fixed;
  top: 104px;
  right: 18px;
  bottom: 18px;
  width: min(420px, calc(100vw - 24px));
  padding: 24px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(16, 29, 47, 0.08);
  border-radius: 28px;
  box-shadow: var(--shadow);
  transform: translateX(calc(100% + 24px));
  transition: transform 220ms ease;
  z-index: 1015;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.cart-drawer.open {
  transform: translateX(0);
}

.auth-overlay {
  position: fixed;
  inset: 0;
  background: rgba(16, 29, 47, 0.48);
  backdrop-filter: blur(6px);
  z-index: 90;
}

.auth-modal {
  position: fixed;
  inset: 0;
  display: grid;
  
  overflow-y: auto; 
  padding: 20px 0;
  
  place-items: center;
  z-index: 91;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
}


.auth-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.auth-modal-card {
  position: relative;
  
  width: min(460px, calc(100vw - 20px)); 
  
  overflow: visible; 
  

  padding: 24px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(16, 29, 47, 0.08);
  box-shadow: 0 28px 80px rgba(16, 29, 47, 0.18);
}


.auth-modal-card.auth-modal-card-wide {
  width: min(1040px, calc(100vw - 28px));
}

.auth-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: none;
  border-radius: 50%;
  background: rgba(16, 29, 47, 0.06);
  color: #101d2f;
  font-weight: 800;
}

.auth-copy {
  margin: 10px 0 18px;
  color: var(--muted);
  line-height: 1.55;
}

.auth-tabs {
  display: inline-flex;
  gap: 8px;
  padding: 6px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: rgba(16, 29, 47, 0.05);
}

.auth-tab {
  padding: 10px 16px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #5d6b79;
  font-weight: 700;
}

.auth-tab.active {
  background: #101d2f;
  color: #fff;
}


.auth-form {
  display: grid;
  gap: 10px; /* Espacio ideal entre renglones */
}

.auth-form label {
  display: grid;
  gap: 4px; /* Espacio entre el texto superior y la caja */
}

.auth-form input,
.auth-form textarea,
.auth-form select {
  width: 100%;
  padding: 10px 14px; /* Unifica el tamaño más delgado en todos */
  border: 1px solid rgba(16, 29, 47, 0.12);
  border-radius: 12px; /* Unifica las esquinas redondeadas elegantes */
  background: #f8fbfd;
  color: #101d2f;      /* Asegura el color de texto correcto en todos */
}


.auth-account-card {
  display: grid;
  gap: 14px;
  margin: 22px 0;
  padding: 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(67, 223, 237, 0.14), rgba(16, 29, 47, 0.04));
  border: 1px solid rgba(16, 29, 47, 0.08);
}

.auth-account-card strong,
.auth-account-card span {
  display: block;
}

.auth-account-card strong {
  margin-bottom: 4px;
  color: #101d2f;
}

.auth-account-card span {
  color: #5d6b79;
}

.auth-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-span-2 {
  grid-column: span 2;
}

.address-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}

.address-card,
.address-empty {
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  background: #f8fbfd;
}

.address-card.is-active {
  border-color: rgba(67, 223, 237, 0.7);
  background: linear-gradient(180deg, rgba(67, 223, 237, 0.12), #f8fbfd);
}

.address-card strong,
.address-empty strong {
  display: block;
  margin-bottom: 6px;
  color: #101d2f;
}

.address-card p,
.address-empty p {
  margin: 0 0 8px;
  color: #5d6b79;
  line-height: 1.5;
}

.address-card span {
  color: #344555;
  font-size: 0.95rem;
}

.address-form {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 29, 47, 0.08);
}

.auth-feedback {
  margin-top: 16px;
  color: #1e7c43;
  font-weight: 700;
}

.auth-feedback.error {
  color: #051533;
}

@media (max-width: 860px) {
  .auth-modal-card {
    width: min(100vw - 20px, 560px);
    max-height: calc(100vh - 20px);
    padding: 24px;
  }

  .auth-modal-card.auth-modal-card-wide {
    width: min(560px, calc(100vw - 28px));
  }

  .form-grid-2,
  .form-grid-3 {
    grid-template-columns: 1fr;
  }

  .form-span-2 {
    grid-column: auto;
  }

  .addresses-layout {
    grid-template-columns: 1fr;
  }

  .address-card {
    grid-template-columns: 1fr;
  }

  .address-form-card {
    position: static;
  }
}

.cart-header,
.cart-total,
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.close-cart {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  color: var(--panel);
  background: rgba(16, 29, 47, 0.08);
}

.cart-items {
  flex: 1;
  overflow: auto;
  padding: 18px 0;
}

.cart-item {
  padding: 14px 0;
  border-bottom: 1px solid rgba(16, 29, 47, 0.08);
}

.cart-item strong {
  display: block;
  margin-bottom: 4px;
}

.cart-item button {
  padding: 8px 12px;
  border-radius: 12px;
  color: var(--panel);
  background: rgba(16, 29, 47, 0.08);
  border: 0;
}

.cart-footer {
  display: grid;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 29, 47, 0.08);
}

.cart-total strong {
  font-family: "Orbitron", sans-serif;
  color: var(--accent);
}

.cart-checkout {
  width: 100%;
}

.empty-cart {
  color: var(--muted);
}

.backdrop {
  position: fixed;
  inset: 0;
  background: rgba(16, 29, 47, 0.18);
  backdrop-filter: blur(3px);
  z-index: 35;
}

.backdrop[hidden],
.compatibility-modal[hidden] {
  display: none !important;
}

.listing-page {
  background:
    linear-gradient(180deg, rgba(16, 29, 47, 0.04), transparent 18%),
    linear-gradient(180deg, #f3f4f6 0%, #eef2f6 100%);
}

.listing-topbar {
  margin-top: 20px;
}

.checkout-shell {
  display: grid;
  gap: 28px;
}

.checkout-stepper {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 18px 20px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.checkout-stepper-item {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #8290a0;
  text-align: left;
  padding: 10px 8px;
  border-radius: 18px;
}

.checkout-stepper-item span {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  background: #eef3f8;
  color: #5d6b79;
  flex: 0 0 auto;
}

.checkout-stepper-item strong {
  font-size: 1rem;
  font-weight: 800;
}

.checkout-stepper-item.is-active {
  color: #0f4f92;
}

.checkout-stepper-item.is-active span {
  background: #0f4f92;
  color: #fff;
}

.checkout-stepper-item.is-complete {
  color: #0b6b3f;
}

.checkout-stepper-item.is-complete span {
  background: #0b6b3f;
  color: #fff;
}

.checkout-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.checkout-heading h1 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.checkout-layout {
  font-family: "Rajdhani", sans-serif;
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 380px !important; /* Cambiado de 1.5fr a 1fr para mejor flexibilidad */
  gap: 32px !important;
  align-items: start !important;
  width: 100% !important;
  max-width: 1400px !important; /* Expandimos el contenedor para usar el espacio blanco */
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

.checkout-main-content {
  display: grid !important;
  gap: 24px !important;
  width: 100% !important; /* Fuerza a la columna izquierda a expandirse al máximo */
}

.checkout-stage {
  display: grid;
  gap: 22px;
}

.checkout-stage[hidden] {
  display: none !important;
}

.checkout-panel,
.checkout-summary,
.checkout-payment-card {
  border: 1px solid rgba(16, 29, 47, 0.08);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.checkout-panel {
  overflow: hidden;
}

.checkout-panel-header,
.checkout-summary-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px;
  border-bottom: 1px solid rgba(16, 29, 47, 0.08);
}

.checkout-panel-header strong,
.checkout-summary-header strong {
  font-size: 1.5rem;
}

.checkout-product-list {
  display: grid;
}

.checkout-item {
  display: grid;
  grid-template-columns: 120px 1fr auto;
  gap: 20px;
  padding: 24px;
  border-bottom: 1px solid rgba(16, 29, 47, 0.08);
}

.checkout-item:last-child {
  border-bottom: 0;
}

.checkout-item-image {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  object-fit: contain;
  background: #f8fbfd;
  border: 1px solid rgba(16, 29, 47, 0.06);
  padding: 10px;
}

.checkout-item-copy h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.checkout-item-copy p,
.checkout-item-copy strong {
  display: block;
}

.checkout-item-copy p {
  margin: 0 0 6px;
  color: #5d6b79;
}

.checkout-item-meta {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.checkout-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(16, 29, 47, 0.12);
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
}

.checkout-qty button,
.checkout-remove {
  border: none;
  background: transparent;
  cursor: pointer;
  color: #101d2f;
  font-weight: 800;
}

.checkout-qty button {
  width: 44px;
  height: 44px;
}

.checkout-qty span {
  min-width: 48px;
  text-align: center;
  font-weight: 700;
}

.checkout-remove {
  color: #051533;
}

.checkout-item-total {
  text-align: right;
}

.checkout-item-total span {
  display: block;
  color: #5d6b79;
  margin-bottom: 10px;
}

.checkout-item-total strong {
  font-size: 1.8rem;
}

.checkout-panel-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(16, 29, 47, 0.08);
}

.checkout-summary,
.checkout-payment-card {
  padding: 24px;
}


.checkout-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #f8fbfd; /* Color gris de fondo de tu captura */
  padding: 16px;
  border-radius: 24px;
}

.checkout-summary-card {
  display: grid;
  gap: 14px;
  padding: 24px;
  border: 1px solid rgba(16, 29, 47, 0.06);
  border-radius: 20px;
  background: #ffffff !important; /* Tarjeta blanca */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}


.summary-table {
  width: 100%;
  border-collapse: collapse;
}

.summary-table td {
  padding: 8px 0;
  font-size: 15px;
  color: #5d6b79;
}

.summary-table .text-right {
  text-align: right;
  font-weight: 700;
  color: #101d2f;
}

/* 3. Fila del Total destacado en Azul */
.summary-table .total-row td {
  padding-top: 16px;
  border-top: 1px solid rgba(16, 29, 47, 0.08);
  font-weight: 700;
  color: #101d2f;
}

/* Precio final grande en color azul */
.summary-table .total-price {
  color: #0f4f92 !important; /* Tono azul de tu interfaz */
  font-size: 22px !important;
  font-family: 'Rajdhani', sans-serif !important; /* Letra limpia idéntica a los artículos */
  font-weight: 800 !important;
}

/* 4. Estilo del botón "Ir al siguiente paso" de tu captura */
.btn-cyber-orange {
  width: 100%;
  min-height: 40px;
  background-color: #ffffff !important;
  color: #111111 !important;
  border: 1px solid #999999 !important;
  border-radius: 4px !important;
  font-family: 'Rajdhani', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-cyber-orange:hover {
  background-color: #f5f5f5 !important;
}

/* 5. Ajuste visual de la tarjeta inferior de Compras Seguras */
.trust-badges-panel {
  background: #ffffff !important; /* Fondo blanco */
  border: 1px solid rgba(16, 29, 47, 0.06);
  border-radius: 20px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.trust-features h3 {
  font-size: 15px;
  color: #101d2f;
  margin-top: 0;
  margin-bottom: 12px;
  font-weight: 700;
}

.trust-features ul {
  list-style: none;
  padding: 0;
  margin: 0 0 16px 0;
}

.trust-features li {
  font-size: 14px;
  color: #445565;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
}

.trust-features .check-mark {
  color: #117a37; /* Verde suave para las palomitas */
  margin-right: 8px;
  font-weight: bold;
}

.checkout-order-preview {
  padding: 16px 18px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(5, 21, 51, 0.05), rgba(5, 21, 51, 0.02));
  border: 1px solid rgba(5, 21, 51, 0.08);
}

.checkout-order-preview strong {
  display: block;
  margin-bottom: 8px;
}

.checkout-order-preview p {
  margin: 0 0 6px;
  color: #5d6b79;
  line-height: 1.45;
}

.checkout-summary-body {
  display: grid;
  gap: 16px;
}

.checkout-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #445565;
}

.checkout-summary-row strong {
  color: #101d2f;
}

.checkout-summary-total {
  padding-top: 18px;
  border-top: 1px solid rgba(16, 29, 47, 0.08);
}

.checkout-summary-total strong {
  font-size: 2.3rem;
  font-family: "Orbitron", sans-serif;
}

.checkout-actions {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.checkout-actions .btn {
  width: 100%;
}

.checkout-payment-selector {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.payment-choice {
  display: grid;
  gap: 6px;
  text-align: left;
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(16, 29, 47, 0.12);
  background: #fff;
  color: #101d2f;
  cursor: pointer;
}

.payment-choice strong {
  font-size: 1.05rem;
}

.payment-choice span {
  color: #5d6b79;
  line-height: 1.45;
}

.payment-choice.is-active {
  border-color: #0f4f92;
  box-shadow: 0 10px 26px rgba(15, 79, 146, 0.12);
}

.checkout-payment-note {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(15, 79, 146, 0.06);
  color: #27496d;
  display: flex;
  gap: 8px;
  align-items: center;
}

.checkout-confirm-summary {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}

.checkout-confirm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.checkout-confirm-grid article {
  padding: 16px;
  border-radius: 18px;
  background: #f8fbfd;
  border: 1px solid rgba(16, 29, 47, 0.08);
}

.checkout-confirm-grid strong {
  display: block;
  margin-bottom: 8px;
}

.checkout-confirm-grid p {
  margin: 0;
  color: #445565;
  line-height: 1.5;
}

.checkout-confirm-total {
  grid-column: 1 / -1;
  background: rgba(15, 79, 146, 0.06);
}

.checkout-confirm-total p {
  font-size: 1.5rem;
  font-family: "Orbitron", sans-serif;
  color: #0f4f92;
}

.checkout-confirm-items h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.checkout-confirm-items ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.checkout-confirm-item,
.checkout-empty-inline {
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  background: #fff;
}

.checkout-confirm-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.checkout-confirm-item strong {
  display: block;
}

.checkout-confirm-item p {
  margin: 6px 0 0;
  color: #5d6b79;
}

.checkout-confirm-item span {
  font-weight: 800;
  color: #051533;
}

.checkout-note {
  margin-top: 12px;
  color: #5d6b79;
  font-size: 0.97rem;
  line-height: 1.55;
}

.checkout-shipping-summary {
  display: grid;
  gap: 12px;
}

.checkout-payment-card {
  display: grid;
  gap: 14px;
}

.btn-alt-pay.is-active,
.payment-choice.is-active,
.checkout-stepper-item.is-active {
  outline: none;
}

.btn-alt-pay.is-active {
  border-color: #0f4f92;
  box-shadow: 0 10px 24px rgba(15, 79, 146, 0.12);
}

.payment-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.payment-methods span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: #f8fbfd;
  border: 1px solid rgba(16, 29, 47, 0.08);
  color: #344555;
  font-weight: 700;
}

.paypal-checkout-card {
  display: grid;
  gap: 14px;
}

.checkout-shipping-card {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(67, 223, 237, 0.08), rgba(255, 255, 255, 0.92));
  border: 1px solid rgba(16, 29, 47, 0.08);
}

.checkout-shipping-summary {
  display: grid;
  gap: 12px;
}

.checkout-shipping-address strong {
  display: block;
  margin-bottom: 6px;
}

.checkout-shipping-address p,
.checkout-shipping-address span {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.paypal-order-summary {
  padding-top: 10px;
}

.paypal-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.paypal-items li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: #445565;
  padding: 10px 12px;
  border-radius: 16px;
  background: #f8fbfd;
  border: 1px solid rgba(16, 29, 47, 0.08);
}

.paypal-items strong {
  color: #101d2f;
  white-space: nowrap;
}

#paypalButtonContainer {
  margin-top: 8px;
}

.checkout-empty {
  padding: 34px 24px;
  color: #5d6b79;
}

.addresses-shell {
  padding-bottom: 56px;
}

.addresses-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 24px;
  align-items: start;
}

.addresses-list {
  display: grid;
  gap: 14px;
}

.address-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  background: #fff;
}

.address-card.is-active {
  border-color: rgba(67, 223, 237, 0.8);
  background: linear-gradient(180deg, rgba(67, 223, 237, 0.12), #fff);
}

.address-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.address-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.05rem;
}

.address-card p {
  margin: 0 0 6px;
  color: var(--muted);
  line-height: 1.5;
}

.address-card span {
  color: #344555;
}

.address-empty {
  padding: 20px;
  border-radius: 20px;
  border: 1px dashed rgba(16, 29, 47, 0.16);
  background: rgba(16, 29, 47, 0.02);
}

.address-form-card {
  position: sticky;
  top: 24px;
}

.address-page-form {
  margin-top: 18px;
}

.address-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.orders-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.8fr);
  gap: 28px;
  align-items: start;
}

.admin-shell {
  display: grid;
  gap: 28px;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.admin-stat-card,
.admin-panel {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.admin-stat-card strong {
  display: block;
  font-size: 2.1rem;
  font-family: "Orbitron", sans-serif;
  margin-bottom: 8px;
}

.admin-analytics-panel {
  display: grid;
  gap: 22px;
}

.admin-analytics-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.admin-analytics-header h2 {
  margin: 0 0 8px;
  color: #101d2f;
}

.admin-analytics-header p:last-child {
  margin: 0;
  color: #5d6b79;
}

.admin-analytics-cards {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 12px;
}

.admin-analytics-card {
  display: block;
  width: 100%;
  min-width: 0;
  padding: 16px;
  border-radius: 18px;
  background: #f5f8fb;
  border: 1px solid rgba(16, 29, 47, 0.08);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.admin-analytics-card:hover,
.admin-analytics-card[aria-pressed="true"] {
  border-color: #235fff;
  box-shadow: 0 8px 22px rgba(35, 95, 255, 0.13);
  transform: translateY(-2px);
}

.admin-analytics-card:focus-visible {
  outline: 3px solid rgba(35, 95, 255, 0.4);
  outline-offset: 2px;
}

.admin-analytics-card strong,
.admin-analytics-card span,
.admin-analytics-card small {
  display: block;
}

.admin-analytics-card strong {
  margin-bottom: 7px;
  color: #235fff;
  font: 800 1.65rem "Orbitron", sans-serif;
}

.admin-analytics-card span {
  min-height: 38px;
  color: #344555;
  font-weight: 700;
}

.admin-analytics-card small {
  margin-top: 7px;
  color: #718091;
}

.admin-analytics-feedback {
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(209, 52, 56, 0.08);
  color: #8b2024;
}

.admin-analytics-date-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 29, 47, 0.1);
  border-radius: 14px;
  background: #f5f8fb;
  color: #344555;
}

.admin-analytics-date-filter[hidden] { display: none; }
.admin-analytics-date-filter label { font-weight: 700; }
.admin-analytics-date-filter input { padding: 8px 10px; border: 1px solid #cbd5e1; border-radius: 8px; font: inherit; }
.admin-analytics-date-filter span { margin-left: auto; }
.admin-analytics-date-filter strong { color: #235fff; font-size: 1.1rem; }

.admin-analytics-table th:first-child,
.admin-analytics-table td:first-child {
  width: 230px;
}

.ecommerce-analytics-table th:first-child,
.ecommerce-analytics-table td:first-child {
  width: 190px;
}

.ecommerce-analytics-table th:nth-child(2),
.ecommerce-analytics-table td:nth-child(2) {
  width: 160px;
}

.ecommerce-analytics-table th:nth-child(3),
.ecommerce-analytics-table td:nth-child(3) {
  width: 130px;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.25fr);
  gap: 28px;
  align-items: start;
}

.admin-form {
  display: grid;
  gap: 14px;
}

.admin-form label {
  display: grid;
  gap: 7px;
  color: #344555;
  font-weight: 600;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(16, 29, 47, 0.12);
  border-radius: 16px;
  background: #f8fbfd;
  color: #101d2f;
  resize: vertical;
}

.admin-form textarea {
  min-height: 92px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-table-wrap {
  overflow: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.admin-table th,
.admin-table td {
  padding: 14px 12px;
  border-bottom: 1px solid rgba(16, 29, 47, 0.08);
  text-align: left;
  vertical-align: top;
  word-break: break-word;
}

.admin-table th:nth-child(1),
.admin-table td:nth-child(1) {
  width: 92px;
}

.admin-table th:nth-child(2),
.admin-table td:nth-child(2) {
  width: 108px;
}

.admin-table th:nth-child(4),
.admin-table td:nth-child(4) {
  width: 130px;
}

.admin-table th:nth-child(5),
.admin-table td:nth-child(5) {
  width: 84px;
}

.admin-table th:last-child,
.admin-table td:last-child {
  width: 172px;
}

.admin-table th {
  color: #5d6b79;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.admin-table td:last-child {
  vertical-align: middle;
}

.admin-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-row-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.admin-row-button:hover,
.admin-row-button:focus-visible {
  transform: translateY(-1px);
}

.admin-row-button-edit {
  background: rgba(35, 97, 255, 0.08);
  color: #235fff;
  border-color: rgba(35, 97, 255, 0.16);
}

.admin-row-button-delete {
  background: rgba(209, 52, 56, 0.08);
  color: #051533;
  border-color: rgba(209, 52, 56, 0.16);
}

.admin-row-button-view {
  background: rgba(16, 29, 47, 0.08);
  color: #101d2f;
  border-color: rgba(16, 29, 47, 0.12);
}

.admin-table tr:hover td {
  background: rgba(16, 29, 47, 0.02);
}

.orders-list {
  display: grid;
  gap: 18px;
}

.order-card {
  padding: 24px;
  border-radius: 28px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.order-card-header,
.order-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.order-card-header strong,
.order-card-footer strong {
  font-size: 1.25rem;
}

.order-card-status {
  text-align: right;
}

.order-card-status small {
  display: block;
  color: var(--muted);
  margin-top: 6px;
}

.order-status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(5, 21, 51, 0.08);
  color: #8f0000;
  font-weight: 800;
  text-transform: capitalize;
}

.order-card-items {
  display: grid;
  gap: 12px;
  margin: 20px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(16, 29, 47, 0.08);
  border-bottom: 1px solid rgba(16, 29, 47, 0.08);
}

.order-card-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #344555;
}

.listing-tools {
  display: flex;
  align-items: center;
  gap: 16px;
}

.view-switch {
  display: inline-flex;
  border: 1px solid rgba(16, 29, 47, 0.14);
  border-radius: 14px;
  overflow: hidden;
  background: #ffffff;
}

.view-button {
  min-width: 54px;
  height: 42px;
  background: #ffffff;
  color:  #0b0000;
  font-size: 1.2rem;
}

.view-button.active {
  background: #9af5fb;
  color: #ffffff;
}

.listing-main {
  padding: 28px 0 12px;
}

.listing-hero {
  margin-bottom: 24px;
}

.repuestos-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.spare-card {
  overflow: hidden;
}

.spare-card-media {
  position: relative;
  min-height: 240px;
  display: grid;
  place-items: center;
  padding: 18px;
  background: linear-gradient(180deg, #ffffff, #eef1f4);
}

.spare-card-media img {
  max-height: 210px;
  width: auto;
  object-fit: contain;
}

.spare-card-pager {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 0 12px;
  background: rgba(16, 29, 47, 0.12);
}

.spare-card-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #051533;
  border: 0;
  cursor: pointer;
}

.spare-card-dot.active {
  background: #051533;
}

.spare-card-body {
  padding: 18px;
}

.spare-card-footer {
  padding: 0 18px 18px;
}

.spare-card-body h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.spare-card-subtitle {
  margin: 0 0 14px;
  font-weight: 600;
}

.spare-card-price-row {
  display: flex;
  justify-content: center;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 14px;
  color: #6f7c8b;
  font-weight: 700;
}

.spare-card-price-row strong {
  color: #101d2f;
  font-size: 2rem;
  font-weight: 800;
}

.spare-card-meta {
  color: #5f6c79;
  font-weight: 600;
}

.spare-card-meta strong {
  display: block;
  margin-bottom: 6px;
  color: #263644;
}

.spare-card-meta ul {
  margin: 8px 0 10px 18px;
  padding: 0;
  max-height: 150px;
  overflow: hidden;
}

.spare-card-meta li {
  margin-bottom: 4px;
}

.spare-card-meta-more {
  list-style: none;
  margin-top: 8px;
  color: #0b2850;
  font-weight: 800;
}

.spare-card-partno {
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(16, 29, 47, 0.1);
  color: #5f6c79;
  font-weight: 600;
}

.spare-card-delivery {
  margin-bottom: 14px;
  font-weight: 600;
}

.spare-card-action {
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  background: #051533;
  color: #ffffff;
  font-weight: 800;
}

.detail-page {
  background:
    linear-gradient(180deg, rgba(16, 29, 47, 0.04), transparent 18%),
    linear-gradient(180deg, #ffffff 0%, #f5f7fa 100%);
}

.detail-main {
  padding: 26px 0 56px;
}

.detail-back {
  display: inline-flex;
  margin-bottom: 18px;
  color: #0b2850;
  font-weight: 800;
  font-size: 1.2rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
  align-items: start;
}

.detail-gallery,
.detail-panel {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(16, 29, 47, 0.08);
  box-shadow: var(--shadow);
  border-radius: 22px;
}

.detail-gallery {
  display: grid;
  grid-template-columns: 96px 1fr;
  min-height: 680px;
  overflow: hidden;
}

.detail-thumbs {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 14px;
  border-right: 1px solid rgba(16, 29, 47, 0.08);
  background: #fafbfd;
}

.detail-thumb {
  padding: 8px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  border-radius: 12px;
  background: #ffffff;
  cursor: pointer;
}

.detail-thumb.active {
  border-color: #43dfed;
  box-shadow: 0 0 0 2px rgba(67, 223, 237, 0.18);
}

.detail-thumb img {
  width: 100%;
  height: 72px;
  object-fit: contain;
}

.detail-image-stage {
  display: grid;
  place-items: center;
  padding: 28px;
  overflow: hidden;
  cursor: zoom-in;
}

.detail-image-stage img {
  width: min(100%, 620px);
  max-height: 620px;
  object-fit: contain;
  transform: scale(var(--detail-zoom-scale, 1));
  transform-origin: var(--detail-zoom-x, 50%) var(--detail-zoom-y, 50%);
  transition: transform 120ms ease;
  will-change: transform;
}

.detail-image-stage img.is-zooming {
  --detail-zoom-scale: 1.8;
  cursor: zoom-out;
}

.detail-panel {
  padding: 22px;
}

.detail-panel h1 {
  margin: 0 0 10px;
  font-size: clamp(2rem, 4vw, 2.7rem);
}

.detail-technical {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 700;
}

.detail-meta-list {
  display: grid;
  gap: 8px;
  font-size: 1.05rem;
  margin-bottom: 18px;
}

.detail-meta-list strong,
.detail-extra-list strong {
  color: #263644;
}

.detail-accordion {
  display: grid;
  gap: 12px;
  margin-bottom: 18px;
}

.detail-section {
  display: grid;
  gap: 10px;
}

.detail-section-header {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border: 1px solid rgba(16, 29, 47, 0.12);
  border-radius: 14px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f9fc 100%);
  color: #101d2f;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 12px 16px;
}

/* Contenedor del botón */
.boton-compatibilidad-personalizado {
  width: max-content !important;
  margin: 0 auto 12px auto !important;
  min-height: 44px;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 12px;
  padding: 8px 24px;
  border: none !important;
  border-radius: 14px !important;
  background: #051533 !important;
  box-sizing: border-box;
  cursor: pointer;
}

/* CORRECCIÓN: Círculo blanco para que resalte el logotipo oscuro */
.boton-compatibilidad-personalizado .detail-fitment-icon {
  width: 28px !important;               /* Tamaño del círculo */
  height: 28px !important;
  background-color: #ffffff !important; /* Fondo blanco */
  border-radius: 50% !important;        /* Lo hace perfectamente redondo */
  padding: 5px;                         /* Espacio interno para que el carro no toque las orillas */
  object-fit: contain;
  box-sizing: border-box;
  flex: 0 0 auto;
}

/* Estilo de texto */
.boton-compatibilidad-personalizado .detail-fitment-text {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  letter-spacing: 0.05em !important;
  text-transform: uppercase !important;
}

.detail-fitment-actions .detail-section {
  margin-bottom: 12px; /* Añade un espacio sutil entre cada bloque */
}

/* Evita que la última sección tenga un margen extra innecesario abajo */
.detail-fitment-actions .detail-section:last-child {
  margin-bottom: 0;
}


.detail-section-arrow {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(5, 21, 51, 0.10);
  color: #101d2f;
  cursor: pointer;
  flex: 0 0 auto;
}

.detail-section-arrow span {
  display: inline-block;
  transition: transform 180ms ease;
  font-size: 1.4rem;
  line-height: 1;
}

.detail-section-arrow[aria-expanded="true"] span {
  transform: rotate(180deg);
}

.detail-section-arrow[aria-expanded="true"] {
  background: rgba(5, 21, 51, 0.16);
}

.detail-expandable {
  padding: 16px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  border-radius: 14px;
  background: #f8fbfd;
}

.detail-expand-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-expand-grid > div {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(16, 29, 47, 0.08);
}

.detail-expand-grid strong {
  color: #101d2f;
}

.detail-expand-grid span {
  color: #5d6b79;
}

.detail-spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.detail-spec-grid > div {
  display: grid;
  gap: 4px;
  min-height: 62px;
  padding: 14px 16px;
  background: #f2f2f2;
  border-radius: 2px;
}

.detail-spec-grid strong {
  color: #101d2f;
  font-size: 0.96rem;
}

.detail-spec-grid span {
  color: #101d2f;
  font-weight: 500;
}

.detail-description-copy {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
  color: #334155;
  line-height: 1.6;
}

.detail-description-copy p {
  margin: 0;
}

.detail-description-points {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 8px;
  color: #5d6b79;
}

.compatibility-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  z-index: 95;
  padding: 16px;
}

.compatibility-dialog {
  position: relative;
  width: min(100%, 980px);
  max-height: min(84vh, 920px);
  overflow: auto;
  padding: 26px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(16, 29, 47, 0.08);
  box-shadow: 0 22px 60px rgba(16, 29, 47, 0.28);
}

.compatibility-close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #101d2f;
  color: #ffffff;
  font-size: 1.4rem;
  cursor: pointer;
}

.compatibility-eyebrow {
  margin: 0 0 4px;
  font-size: 0.96rem;
  font-weight: 800;
  color: #051533;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.compatibility-dialog h2 {
  margin: 0 0 10px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.compatibility-intro {
  margin: 0 0 22px;
  color: #4b5563;
}

.compatibility-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
}

.compatibility-path {
  color: #101d2f;
  font-weight: 800;
}

.compatibility-back {
  border: 0;
  border-radius: 999px;
  background: rgba(5, 21, 51, 0.08);
  color: #051533;
  font-weight: 800;
  padding: 10px 14px;
  cursor: pointer;
}

.compatibility-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.compatibility-brand-card,
.compatibility-model-card {
  display: grid;
  gap: 4px;
  padding: 18px 16px;
  border-radius: 14px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  background: #f8fbfd;
  color: #101d2f;
  text-align: left;
  cursor: pointer;
}

.compatibility-brand-card strong,
.compatibility-model-card strong {
  font-size: 1.06rem;
}

.compatibility-brand-card span,
.compatibility-model-card span {
  color: #5d6b79;
}

.compatibility-year-group {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  background: #f8fbfd;
}

.compatibility-year-group h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
  color: #101d2f;
}

.compatibility-year-group h3 span {
  color: #5d6b79;
  font-size: 0.92rem;
}

.compatibility-year-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.compatibility-year-group li {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(16, 29, 47, 0.08);
}

.compatibility-year-group li strong {
  color: #101d2f;
}

.compatibility-year-group li span {
  color: #5d6b79;
}

.compatibility-group {
  padding: 16px;
  border-radius: 14px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  background: #f8fbfd;
}

.compatibility-group h3 {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  margin: 0 0 14px;
  color: #101d2f;
}

.compatibility-group h3 span {
  color: #5d6b79;
  font-size: 0.92rem;
}

.compatibility-group ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.compatibility-group li {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 12px;
  background: #ffffff;
  border: 1px solid rgba(16, 29, 47, 0.08);
}

.compatibility-group li strong {
  color: #101d2f;
}

.compatibility-group li span,
.compatibility-group li small {
  color: #5d6b79;
}

.compatibility-empty {
  padding: 18px;
  border-radius: 14px;
  background: #f8fbfd;
  border: 1px dashed rgba(16, 29, 47, 0.16);
  color: #4b5563;
}

body.modal-open {
  overflow: hidden;
}

.detail-price-box {
  margin-bottom: 18px;
}

.detail-price-box span,
.detail-price-box small {
  display: block;
  color: var(--muted);
}

.detail-price-box strong {
  display: block;
  margin: 6px 0;
  color: #101d2f;
  font-size: 2.3rem;
  font-family: "Orbitron", sans-serif;
}

.detail-info-banner {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-left: 4px solid #28a44d;
  background: #eaf8eb;
  color: #245d2f;
  border-radius: 10px;
  font-weight: 700;
}

.detail-actions {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}

.detail-qty {
  display: grid;
  grid-template-columns: 48px 80px 48px;
  align-items: center;
  border: 1px solid rgba(16, 29, 47, 0.12);
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
}

.detail-qty button {
  height: 56px;
  border: 0;
  background: #ffffff;
  cursor: pointer;
  font-size: 1.6rem;
}

.detail-qty span {
  display: grid;
  place-items: center;
  font-weight: 800;
}

.detail-add,
.detail-buy {
  border: 0;
  border-radius: 12px;
  font-weight: 800;
  cursor: pointer;
}

.detail-add {
  background: #051533;
  color: #ffffff;
}

.detail-buy {
  background: #ffffff;
  color: #101d2f;
  border: 1px solid #101d2f;
}

.detail-status {
  margin-bottom: 18px;
  color: #26a34d;
  font-weight: 800;
}

.detail-extra-list {
  display: grid;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(16, 29, 47, 0.08);
  color: #5d6b79;
  font-weight: 600;
}

@media (max-width: 1100px) {
  .hero,
  .cta-panel,
  .inventory-panel,
  .benefits-grid,
  .groups-grid,
  .repuestos-grid,
  .detail-layout {
    grid-template-columns: 1fr !important;
  }

  .visual-card {
    min-height: 420px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}

@media (max-width: 820px) {
  .page-shell {
    width: 100%;
    padding-top: 12px;
    padding-left: 12px;
    padding-right: 12px;
  }

.topbar {
  position: sticky;
  top: 0; /* Cambiado de 16px a 0 para que pegue arriba al 100% */
  z-index: 30;
  width: 100%; /* Fuerza a ocupar todo el ancho de la pantalla */
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(16, 29, 47, 0.08); /* Línea sutil abajo estilo AutoZone */
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}


  .nav {
    order: 3;
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    margin-left: -12px;
    margin-right: -12px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .hero-copy-overlay {
    left: 14px;
    right: 14px;
    top: 14px;
    width: auto;
    max-width: none;
  }

  .products-carousel {
    flex-direction: column;
  }

  .slider-nav-products,
  .listing-tools .btn {
    width: 100%;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .detail-thumbs {
    grid-auto-flow: column;
    grid-auto-columns: 80px;
    overflow: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(16, 29, 47, 0.08);
  }

  .detail-expand-grid,
  .compatibility-grid {
    grid-template-columns: 1fr;
  }

  .compatibility-dialog {
    max-height: 88vh;
    padding: 20px;
  }
}

@media (max-width: 560px) {
  .brand-copy small,
  .nav {
    font-size: 0.92rem;
  }

  .hero h1 {
    line-height: 1.03;
  }

  .visual-card,
  .hero-slider {
    min-height: 320px;
  }

  .hero-nav {
    width: 38px;
    height: 38px;
    font-size: 1.5rem;
  }

  .hero-nav#heroPrev {
    left: 10px;
  }

  .hero-nav#heroNext {
    right: 10px;
  }

  .slider-controls {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-wrap: wrap;
  }

  .slider-nav {
    min-width: 0;
    flex: 1;
  }

  .slider-dots {
    width: 100%;
    justify-content: center;
    order: 3;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .cart-drawer {
    top: 10px;
    right: 10px;
    bottom: 10px;
    padding: 18px;
    border-radius: 22px;
    z-index: 1015;
  }

  .listing-tools {
    width: 100%;
    flex-direction: column;
  }

  .promo-banner-grid {
    grid-template-columns: 1fr;
  }

  .detail-fitment-launch,
  .detail-secondary-toggle {
    letter-spacing: 0.01em;
  }

  .detail-expandable {
    padding: 14px;
  }

  .compatibility-dialog {
    padding: 16px;
  }

  .compatibility-group h3 {
    flex-direction: column;
    align-items: flex-start;
  }


  .orders-grid {
    grid-template-columns: 1fr;
  }

  .admin-stats,
  .admin-grid,
  .admin-analytics-cards {
    grid-template-columns: 1fr;
  }

  .admin-analytics-header {
    flex-direction: column;
  }

  .checkout-item {
    grid-template-columns: 1fr;
  }

  .checkout-item-total {
    text-align: left;
  }

  .checkout-panel-footer {
    flex-direction: column;
  }
}



.admin-stack {
  display: grid;
  gap: 28px;
}

.spare-card-stock,
.home-stock,
.checkout-stock,
.checkout-stock-warning {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.spare-card-stock,
.home-stock {
  margin: 0 0 14px;
}

.spare-card-stock.is-in,
.home-stock.is-in,
.checkout-stock.is-in,
.detail-status {
  color: #117a37;
}

.spare-card-stock.is-out,
.home-stock.is-out,
.checkout-stock.is-out,
.detail-status.is-out,
.checkout-stock-warning {
  color: #051533;
}

.spare-card-action:disabled,
.add-to-cart:disabled,
.detail-add:disabled,
.detail-buy:disabled,
.checkout-qty button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.checkout-item.has-stock-alert {
  border-color: rgba(5, 21, 51, 0.2);
}

@media (max-width: 980px) {
  .admin-stack {
    grid-template-columns: 1fr;
  }

  .checkout-stepper {
    grid-template-columns: 1fr 1fr;
  }

  .checkout-confirm-grid {
    grid-template-columns: 1fr;
  }

  .checkout-confirm-total {
    grid-column: auto;
  }
}

@media (max-width: 760px) {
  .checkout-stepper {
    grid-template-columns: 1fr;
  }

  .checkout-stepper-item {
    padding: 12px 10px;
  }

  .checkout-panel-footer {
    flex-direction: column;
  }

  .checkout-summary-card {
    position: static;
  }
}


.admin-orders-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.9fr);
  gap: 28px;
}

.admin-order-detail {
  align-self: start;
}

.admin-order-empty {
  color: var(--muted);
  line-height: 1.6;
}

.admin-order-meta {
  display: grid;
  gap: 8px;
  margin-bottom: 20px;
}

.admin-order-meta p {
  margin: 0;
}

.admin-order-status {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.admin-order-items {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.admin-order-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  border-radius: 16px;
  background: #fafafa;
}

.admin-order-item p {
  margin: 6px 0 0;
  color: var(--muted);
}

.admin-order-badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: capitalize;
}

.admin-order-badge.status-pendiente {
  background: rgba(5, 21, 51, 0.12);
  color: #051533;
}

.admin-order-badge.status-procesando,
.admin-order-badge.status-procesado {
  background: rgba(0, 0, 0, 0.08);
  color: #111111;
}

.admin-order-badge.status-enviado,
.admin-order-badge.status-entregado {
  background: rgba(17, 122, 55, 0.12);
  color: #117a37;
}

.admin-order-badge.status-cancelado {
  background: rgba(93, 107, 121, 0.16);
  color: #5d6b79;
}

.admin-table tr.is-active td {
  background: rgba(5, 21, 51, 0.05);
}

@media (max-width: 1100px) {
  .admin-orders-grid {
    grid-template-columns: 1fr;
  }
}


.admin-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.admin-overview-card {
  display: grid;
  gap: 18px;
  align-content: space-between;
}

.admin-overview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.admin-overview-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.2rem;
}

.admin-overview-card span {
  color: var(--muted);
  line-height: 1.6;
}

.admin-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(4px);
  z-index: 90;
}

.admin-modal {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  z-index: 100;
}

.admin-modal-dialog {
  width: min(760px, 100%);
  max-height: calc(100vh - 48px);
  overflow: auto;
  padding: 24px;
  border-radius: 28px;
  background: #ffffff;
  border: 1px solid rgba(16, 29, 47, 0.08);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
}

.admin-modal-large {
  width: min(980px, 100%);
}

.admin-modal-medium {
  width: min(860px, 100%);
}

.admin-modal-wide {
  width: min(1180px, 100%);
}

.admin-modal-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.admin-modal-header strong {
  font-size: 1.4rem;
}

@media (max-width: 1180px) {
  .admin-overview-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .admin-modal {
    padding: 14px;
  }

  .admin-modal-dialog {
    padding: 18px;
    border-radius: 20px;
  }
}


.admin-modal[hidden],
.admin-modal-backdrop[hidden] {
  display: none !important;
}

.admin-modal.is-open {
  display: grid;
}


.admin-main-column,
.admin-side-column {
  display: grid;
  gap: 28px;
  align-content: start;
}

.admin-pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 18px;
}

.admin-pagination span {
  color: var(--muted);
  font-weight: 700;
  text-align: center;
  flex: 1;
}


.how-buy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.how-buy-card {
  padding: 28px;
  border-radius: 24px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 251, 253, 1));
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.08);
}

.how-buy-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
}

.how-buy-step {
  color: var(--accent);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
}

.how-buy-card h3 {
  margin: 0;
  font-size: clamp(1.4rem, 2vw, 2rem);
}

.how-buy-card ul {
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.65;
}

.how-buy-card li + li {
  margin-top: 12px;
}

.site-footer {
  font-family: 'Rajdhani', sans-serif;

  margin-top: 60px;       /* Espacio de separación con el contenido de arriba */
  margin-bottom: 0px;     /* Elimina cualquier espacio blanco abajo */
  padding: 42px 36px;
  border-radius: 0px;     /* Esquinas completamente rectas para pegar a los bordes */
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 1.5fr);
  gap: 36px;
  
  /* Colores solicitados */
  background: rgba(7, 18, 44, 0.98); 
  color: #ffffff;                    
  
  /* Control de dimensiones */
  width: 100%;            /* Ocupa el ancho completo de la pantalla */
  box-sizing: border-box; /* Evita que el padding genere barras de scroll */
}

.site-footer-logo-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 20px;
}

.site-footer-logo {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 20px;
  background: #ffffff;
}

.site-footer-brand strong {
  display: block;
  font-size: 1.65rem;
  margin-bottom: 6px;
  color: #ffffff;
}

.site-footer-brand p,
.site-footer-copy,
.site-footer-follow {
  margin: 0;
  color: #ffffff; 
  line-height: 1.6;
}

.site-footer-copy {
  margin-top: 12px;
}

.site-footer-follow {
  margin-top: 18px;
  font-weight: 700;
}

.site-footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
}

.site-footer-socials a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: var(--accent);
  color: #000000;
  font-weight: 800;
  text-decoration: none;
}

.site-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.site-footer-links h3 {
  margin: 0 0 16px;
  font-size: 1.55rem;
  color: #ffffff; /* Asegura subtítulos en blanco */
}

/* CAMBIO: Se cambia el color de los enlaces a blanco para que sean legibles */
.site-footer-links a {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.85); /* Blanco sutil */
  text-decoration: none;
  line-height: 1.5;
}

.site-footer-links a:hover {
  color: #ffffff;                 /* Blanco brillante al pasar el mouse */
  text-decoration: underline;     /* Subrayado interactivo */
}


.hero-search {
  position: relative;
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
  margin: 1.15rem 0 0.35rem;
}

.hero-search-shell,
.listing-search-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.85rem;
  align-items: center;
  padding: 0.45rem;
  border-radius: 999px;
  border: 1px solid rgba(16, 29, 47, 0.09);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 40px rgba(16, 29, 47, 0.08);
  backdrop-filter: blur(10px);
}

.hero-search-input,
.listing-search-input {
  width: 100%;
  min-height: 56px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #111;
  padding: 0 1.2rem;
  font: 600 1rem/1 "Rajdhani", sans-serif;
  box-shadow: none;
}

.hero-search-input:focus,
.listing-search-input:focus {
  outline: none;
  box-shadow: none;
}

.hero-search-button,
.listing-search-button {
  min-width: 132px;
  min-height: 56px;
  border-radius: 999px;
  box-shadow: 0 12px 28px rgba(5, 21, 51, 0.22);
}

.hero-search-status,
.listing-search-status {
  margin: 0;
  padding-left: 0.3rem;
  color: rgba(16, 29, 47, 0.65);
  font: 600 0.92rem/1.45 "Rajdhani", sans-serif;
}

.detail-category-filters,
.bujia-category-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  padding-left: 0.2rem;
}

.detail-category-chip,
.bujia-category-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(16, 29, 47, 0.14);
  background: rgba(255, 255, 255, 0.94);
  color: #051533;
  font: 700 0.92rem/1 "Rajdhani", sans-serif;
  box-shadow: 0 10px 24px rgba(16, 29, 47, 0.06);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.detail-category-chip:hover,
.detail-category-chip:focus-visible,
.bujia-category-chip:hover,
.bujia-category-chip:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(5, 21, 51, 0.24);
  box-shadow: 0 14px 28px rgba(16, 29, 47, 0.12);
}

.detail-category-chip.active,
.bujia-category-chip.active {
  background: linear-gradient(135deg, #051533, #0d2554);
  color: #ffffff;
  border-color: rgba(5, 21, 51, 0.35);
}

.hero-search-results {
  position: absolute;
  z-index: 8;
  top: calc(100% + 0.7rem);
  left: 0;
  right: 0;
  display: grid;
  gap: 0.75rem;
  padding: 0.9rem;
  border: 1px solid rgba(16, 29, 47, 0.09);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 30px 60px rgba(16, 29, 47, 0.16);
}

.search-result-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 16px;
  color: #111;
  text-decoration: none;
  background: linear-gradient(180deg, #fff 0%, #f8f9fb 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.search-result-card:hover {
  transform: translateY(-2px);
  border-color: rgba(5, 21, 51, 0.28);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.1);
}

.search-result-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  padding: 8px;
  border-radius: 14px;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.search-result-card > div:first-of-type {
  min-width: 0;
}

.search-result-card strong {
  display: block;
  font: 700 1.05rem/1.1 "Orbitron", sans-serif;
}

.search-result-card p {
  margin: 0.35rem 0 0;
  color: rgba(0, 0, 0, 0.66);
}

.search-result-meta {
  display: grid;
  justify-items: end;
  gap: 0.3rem;
  text-align: right;
  font: 700 0.92rem/1.2 "Rajdhani", sans-serif;
}

.listing-search {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

@media (max-width: 900px) {
  .hero-search {
    max-width: none;
  }

  .hero-search-shell,
  .listing-search-shell {
    grid-template-columns: 1fr;
    border-radius: 22px;
  }

  .hero-search-button,
  .listing-search-button {
    width: 100%;
    min-width: 0;
  }

  .hero-search-results {
    position: static;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.12);
    margin-top: 0.15rem;
  }

  .search-result-card {
    align-items: flex-start;
    flex-direction: column;
  }

  .search-result-meta {
    justify-items: start;
    text-align: left;
  }
}


.search-section {
  padding: 8px 0 18px;
}

.search-section-heading {
  max-width: 820px;
  margin: 0 auto 18px;
  text-align: center;
}

.search-section .hero-search {
  max-width: 920px;
  margin: 0 auto;
}

.hero-search-standalone .hero-search-results {
  width: 100%;
}

@media (max-width: 900px) {
  .search-section {
    padding-top: 0;
  }
}


.brand-rail {
  padding: 10px 0 28px;
}

.brand-rail-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 18px;
}

.brand-marquee {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86)),
    radial-gradient(circle at left, rgba(5, 21, 51, 0.08), transparent 28%),
    radial-gradient(circle at right, rgba(16, 29, 47, 0.08), transparent 30%);
  box-shadow: 0 22px 48px rgba(16, 29, 47, 0.08);
}

.brand-marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  width: max-content;
  padding: 16px;
  animation: brand-scroll 24s linear infinite;
}

.brand-logo-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 170px;
  height: 88px;
  padding: 14px 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, #fff 0%, #f7f7f7 100%);
  border: 1px solid rgba(16, 29, 47, 0.08);
  box-shadow: 0 10px 22px rgba(16, 29, 47, 0.08);
}

.brand-logo-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.brand-text-badge {
  font-family: "Orbitron", sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
  color: #101d2f;
}

@keyframes brand-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 900px) {
  .brand-logo-card {
    width: 148px;
    height: 80px;
  }

  .brand-marquee-track {
    gap: 14px;
    padding: 12px;
    animation-duration: 18s;
  }
}

.vehicle-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;                  /* Reducido de 10px a 8px para compactar */
  padding: 6px 16px 6px 8px; /* Menos padding arriba/abajo; el icono ya le da altura */
  border-radius: 999px;
  border: 1px solid rgba(5, 21, 51, 0.14);
  background: #ffffff;
  color: #051533;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(16, 29, 47, 0.08);
  white-space: nowrap;
  cursor: pointer;
}

.vehicle-button-icon {
  display: block;
  width: 40px;               
  height: 40px;              
  max-width: 40px;           
  max-height: 40px;          
  border-radius: 50%;
  background: #ffffff;       
  object-fit: contain;       
  padding: 6px;              
  box-sizing: border-box;    
}

/* Reajusta la flecha para que no rompa el diseño compacto */
.vehicle-button-arrow {
  display: inline-flex;
  align-items: center;
  font-size: 1.3rem;
  line-height: 0;
  transform: translateY(-1px);
  margin-left: 2px;
}



.vehicle-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 70;
  width: min(420px, 100vw);
  height: 100vh;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
  border-left: 1px solid rgba(16, 29, 47, 0.08);
  box-shadow: -24px 0 48px rgba(16, 29, 47, 0.18);
  transform: translateX(100%);
  transition: transform 0.28s ease;
  overflow-y: auto;
}

.vehicle-drawer.is-open {
  transform: translateX(0);
}

.vehicle-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.vehicle-header h2 {
  margin: 4px 0 6px;
  font-family: "Orbitron", sans-serif;
  font-size: 1.45rem;
  color: #101d2f;
}

.vehicle-summary {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

.vehicle-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-bottom: 14px;
}

.vehicle-tab {
  padding: 12px 10px;
  border: 0;
  border-radius: 14px 14px 0 0;
  background: transparent;
  color: #7a7f87;
  font-weight: 800;
  border-bottom: 3px solid transparent;
}

.vehicle-tab.active {
  color: #101d2f;
  border-bottom-color: #051533;
  background: rgba(5, 21, 51, 0.04);
}

.vehicle-search {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  border-radius: 12px;
  background: #f4f5f7;
}

.vehicle-search-icon {
  color: #20242b;
  font-size: 1.5rem;
  line-height: 1;
}

.vehicle-search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font: inherit;
  color: #101d2f;
}

.vehicle-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
  max-height: calc(100vh - 248px);
  overflow: auto;
}

.vehicle-empty {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 600;
}

.vehicle-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 16px;
  border-radius: 16px;
  border: 1px solid rgba(16, 29, 47, 0.08);
  background: #ffffff;
  color: #101d2f;
  text-align: left;
  box-shadow: 0 8px 18px rgba(16, 29, 47, 0.04);
}

.vehicle-item strong {
  display: block;
  font-size: 1.15rem;
}

.vehicle-item small {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-weight: 600;
}

.vehicle-item span {
  color: #6a7583;
  font-size: 1.6rem;
}

.vehicle-footer {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.vehicle-clear,
.vehicle-apply {
  flex: 1;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(16, 29, 47, 0.12);
  background: #ffffff;
  font-weight: 800;
  color: #051533;
}

.vehicle-apply {
  background: #051533;
  color: #ffffff;
  border-color: #051533;
}

.vehicle-clear:disabled,
.vehicle-apply:disabled {
  opacity: 0.55;
  cursor: not-allowed;
}

#vehicleBackdrop.is-visible {
  display: block;
}

@media (max-width: 960px) {
  .vehicle-button span:not(.vehicle-button-icon):not(.vehicle-button-arrow) {
    display: none;
  }

  .vehicle-button {
    padding: 10px 12px;
  }

  .vehicle-drawer {
    width: min(100vw, 390px);
  }
}

.partner-section {
  padding: 28px 0 8px;
}

.partner-card {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: center;
  padding: 28px;
  border-radius: 28px;
  border: 1px solid rgba(130, 150, 180, 0.22);
  background: linear-gradient(135deg, rgba(7, 18, 44, 0.98), rgba(14, 32, 72, 0.95));
  box-shadow: 0 20px 40px rgba(10, 20, 40, 0.18);
}

.partner-copy h2 {
  margin: 0 0 12px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  color: #ffffff;
}

.partner-copy p {
  margin: 0;
  color: rgba(235, 241, 255, 0.9);
  line-height: 1.75;
}

.partner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.partner-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.partner-visual img {
  width: 100%;
  max-width: 420px;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 16px 28px rgba(0, 0, 0, 0.24));
}

@media (max-width: 980px) {
  .partner-card {
    grid-template-columns: 1fr;
  }

  .partner-visual {
    order: -1;
  }
}

/* Contenedor principal de la sección */
.brand-carousel-section {
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: sans-serif;
}

.brand-carousel-section h2 {
  font-size: 24px;
  color: #333;
  margin-bottom: 20px;
}

/* Contenedor del carrusel y botones */
.carousel-container {
  display: flex;
  align-items: center;
  position: relative;
  gap: 15px;
}

/* Botones de navegación (Flechas) */
.carousel-btn {
  background: #ffffff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: all 0.2s ease;
  z-index: 10;
}

.carousel-btn:hover {
  background: #f5f5f5;
  transform: scale(1.05);
}

/* Contenedor interno deslizable */
.carousel-track-container {
  overflow: hidden !important; /* CORRECCIÓN: Cambiado de overflow-hidden a overflow */
  overflow-x: auto !important;        
  width: 100%;
  scroll-behavior: smooth;
  padding: 20px 0;
}

/* Ocultar barra de scroll en navegadores modernos */
.carousel-track-container::-webkit-scrollbar {
  display: none;
}
.carousel-track-container {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Lista de tarjetas */
.carousel-track {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 20px;
}

/* Tarjetas individuales */
.brand-card {
  flex: 0 0 calc(16.66% - 17px); /* Muestra 6 tarjetas por pantalla */
  min-width: 150px;
  background: #ffffff;
  border: 1px solid #eaeaea;
  border-radius: 12px;
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  scroll-snap-align: start;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}

/* Contenedor de la imagen del logo */
.brand-logo-wrapper {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin-bottom: 15px;
}

.brand-logo-wrapper img {
  max-width: 80%;
  max-height: 100%;
  object-fit: contain;
}

/* Nombre de la marca */
.brand-name {
  font-size: 11px;
  font-weight: bold;
  color: #666;
  letter-spacing: 1px;
  text-align: center;
}

/* Efecto destacado para la tarjeta del centro (opcional, como en tu imagen) */
.brand-card.featured-card, .brand-card:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
  border-color: #ddd;
}

/* Barra de progreso inferior */
.carousel-scrollbar {
  width: 30%;
  height: 4px;
  background: #e0e0e0;
  margin: 20px auto 0 auto;
  border-radius: 2px;
  position: relative;
}

.scrollbar-thumb {
  width: 40%;
  height: 100%;
  background: #bcbcbc;
  border-radius: 2px;
}

/* Responsive para pantallas medianas (Tablets) */
@media (max-width: 900px) {
  .brand-card {
    flex: 0 0 calc(33.33% - 14px); /* Muestra 3 tarjetas */
  }
}

/* Responsive para pantallas chicas (Celulares) */
@media (max-width: 500px) {
  .brand-card {
    flex: 0 0 calc(50% - 10px); /* Muestra 2 tarjetas */
  }
  .carousel-btn {
    display: none; /* En celular es mejor usar solo el dedo */
  }
}

.site-footer-copy {
  margin-top: 12px;
  margin-bottom: 0px;             /* Protege que el texto no empuje el fondo */
}

/* ==========================================================================
   SECCIÓN: POR QUÉ ELEGIRNOS (TEXTO IZQUIERDA + TUS IMÁGENES REALES)
   ========================================================================== */
/* 1. Contenedor principal de la sección */
.about-page-content {
  width: 100%;
  max-width: var(--container, 1200px);
  margin: 60px auto;
  padding: 0 24px;
  box-sizing: border-box;
}

/* Contenedor Flex unificado para Texto e Imágenes */
.about-corporate-flex-container {
  display: flex;
  flex-wrap: wrap; /* Permite que baje en móviles */
  align-items: center;
  justify-content: space-between;
  gap: 48px;
  width: 100%;
}

/* 2. Columna del Texto (Izquierda) */
.about-text-column {
  flex: 1 1 450px; /* Base mínima de 450px antes de encogerse */
  max-width: 550px;
}

.about-text-column .eyebrow {
  color: #051533; /* Corregido al naranja de tu HTML */
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  text-transform: uppercase;
}

.about-text-column .about-title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2rem, 3vw, 2.5rem);
  color: var(--accent, #101D2F);
  line-height: 1.2;
  margin-top: 0;
  margin-bottom: 20px;
  font-weight: 800;
}

.about-text-column .corporate-text {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--text, #444);
  margin-bottom: 28px;
}

/* 3. Lista de características (Checks) */
.about-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 36px 0;
}

.about-features-list li {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--accent, #101D2F);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 4. Botón CONTACTÁNOS */
.btn-read-more {
  display: inline-block;
  background: #051533; /* Corregido al naranja de tu HTML */
  color: #fff;
  padding: 14px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-family: "Orbitron", sans-serif;
  font-size: 0.9rem;
  transition: background 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(224, 79, 29, 0.2);
}

.btn-read-more:hover {
  background: #051533;
  transform: translateY(-2px);
}

/* 5. Columna de tus Imágenes (Derecha) */
.te-main-img-inner {
  flex: 1 1 450px; /* Comparte la misma base responsiva que el texto */
  max-width: 550px;
  position: relative;
  display: block;
}

/* Asegura que la imagen principal no se desborde */
.about-img-one img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; /* Opcional: suaviza las esquinas */
}

/* Estilos para tu segunda imagen o silueta de fondo si se superpone */
.about-img-two {
  position: absolute;
  top: 10%;
  right: -10%;
  z-index: -1;
  max-width: 80%;
}

.about-img-two img {
  width: 100%;
  height: auto;
}

/* Fuerza a que la cuadrícula rompa cualquier alineación previa y se posicione abajo */
.about-grid {
  clear: both;
  width: 100%;
  margin-top: 60px; /* Espacio de separación con el bloque superior */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
}

/* Estilo básico responsivo para tus tarjetas */
.about-card {
  background: #f8f9fa;
  padding: 30px;
  border-radius: 6px;
  border-top: 4px solid #051533; /* Línea decorativa naranja */
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.about-card h3 {
  font-family: "Orbitron", sans-serif;
  color: #101D2F;
  margin-top: 0;
  margin-bottom: 12px;
}

.about-card p {
  font-family: "Rajdhani", sans-serif;
  font-size: 1.05rem;
  line-height: 1.5;
  color: #444;
  margin: 0;
}

/* ==========================================================================
   DISEÑO RESPONSIVO (MÓVILES Y TABLETS)
   ========================================================================== */
@media (max-width: 992px) {
  .about-page-content {
    flex-direction: column; /* Apila el texto arriba y las fotos abajo */
    gap: 40px;
    text-align: left;
  }

  .about-text-column {
    max-width: 100%;
  }
  
  .te-main-img-inner {
    width: 100%;
    max-width: 550px; /* Evita que las fotos se estiren demasiado en tablets */
    margin: 0 auto;
  }
}


.detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  gap: 30px;
  align-items: start;
}

.detail-left-column {
  display: flex;
  flex-direction: column;
  gap: 25px; 
}


.related-products-section {
  margin-top: 0px;
  padding-top: 5px;
  border-top: 1px solid #eee;
}

.related-products-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  color: #111;
  margin-top: 0px;       
  margin-bottom: 12px;  
  text-transform: uppercase;
}

.related-products-section .spare-parts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); 
  gap: 12px;
}

/* ==========================================================================
   ESTILOS PERSONALIZADOS: BLOQUE DE DIRECCIÓN DE ENVÍO REPLICADO
   ========================================================================== */

/* Contenedor general de los datos de envío */
.shipping-address-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 14px !important; /* Espaciado simétrico entre cada grupo */
  text-align: left !important;
  font-family: "Rajdhani", sans-serif !important; /* Fuerza la tipografía del sitio */
  
  /* CAMBIO AQUÍ: Mueve todo el bloque completo hacia la derecha */
  margin-left: 24px !important; 
}

/* Bloque individual de dato (Título + Contenido) */
.address-group {
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important; /* Espacio sutil entre la etiqueta gris y el valor oscuro */
}

/* Etiquetas pequeñas (Destinatario, Empresa destino, Dirección, Teléfono) */
.group-label {
  color: #8e9ca7 !important; /* Color gris claro idéntico a tu referencia visual */
  font-size: 12px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  font-weight: 600 !important;
}

/* Valores de texto informativos principales */
.group-value {
  color: #1c2430 !important; /* Tono oscuro corporativo para alta legibilidad */
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
}

/* Tratamiento especial para destacar el Nombre del Destinatario */
.main-name {
  font-weight: 700 !important;
  font-size: 16px !important;
  color: var(--text, #111111) !important;
}

/* Resalte tipográfico para la línea del Teléfono/Celular */
.phone-highlight {
  font-weight: 600 !important;
}

/* ==========================================================================
   INTERFAZ COMPLETA DE SELECCIÓN DE FORMA DE PAGO (IDÉNTICA A LA CAPTURA)
   ========================================================================== */

/* Contenedor principal de la lista de opciones */
.checkout-payment-options-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  padding: 16px 24px !important;
  background-color: #ffffff !important;
}

/* Fila individual de método de pago */
.payment-option-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  padding: 18px 24px !important;
  background: #ffffff !important;
  border: 1px solid rgba(5, 21, 51, 0.08) !important; /* Borde gris sutil por defecto */
  border-radius: 12px !important;
  cursor: pointer !important;
  transition: all 0.2s ease-in-out !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* 🎯 Efecto de método activo (Idéntico al borde azul grueso de la captura) */
.payment-option-row.is-active,
.payment-option-row:has(input[type="radio"]:checked) {
  border: 2px solid #0f4f92 !important; /* Azul cobalto de tu interfaz */
  box-shadow: 0 4px 12px rgba(15, 79, 146, 0.04) !important;
}

/* --- BLOQUE IZQUIERDO: Radio e Identificador --- */
.option-left {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  flex: 1 1 auto !important;
}

/* Selector circular nativo estilizado */
.option-left input[type="radio"] {
  appearance: none !important;
  -webkit-appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid #0f4f92 !important;
  border-radius: 50% !important;
  outline: none !important;
  background-color: #ffffff !important;
  display: inline-grid !important;
  place-items: center !important;
  cursor: pointer !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

/* Punto central del radio cuando está activo */
.option-left input[type="radio"]:checked::before {
  content: "" !important;
  width: 10px !important;
  height: 10px !important;
  background-color: #0f4f92 !important;
  border-radius: 50% !important;
}

/* Nombre de la pasarela de pago */
.method-name {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #0f4f92 !important; /* Texto azul característico */
  line-height: 1.3 !important;
}

/* --- BLOQUE CENTRAL: Marcas / Logotipos --- */
.option-center {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin: 0 24px !important;
  flex-shrink: 0 !important;
}

/* Forzar proporciones estables de las imágenes de tarjetas/marcas */
.option-center img {
  height: 26px !important;
  width: auto !important;
  object-fit: contain !important;
  border: 1px solid rgba(0, 0, 0, 0.04) !important;
  border-radius: 4px !important;
  padding: 2px !important;
  background: #ffffff !important;
}

/* --- BLOQUE DERECHO: Desplegable de Detalles --- */
.option-right {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
}

.details-toggle {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #0f4f92 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}

/* Pequeña flecha hacia abajo al lado de "Ver detalles" */
.arrow-down {
  display: inline-block !important;
  width: 0 !important;
  height: 0 !important;
  border-left: 5px solid transparent !important;
  border-right: 5px solid transparent !important;
  border-top: 5px solid #0f4f92 !important;
  margin-top: 2px !important;
}

/* ==========================================================================
   BOTONES DE ACCIÓN INFERIORES ADAPTADOS
   ========================================================================== */
.checkout-panel-footer-layout {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 20px 24px 24px !important;
  border-top: 1px solid rgba(16, 29, 47, 0.08) !important;
  background-color: #ffffff !important;
  gap: 16px !important;
}

/* Botón "Regresar" */
.btn-outline {
  background: #ffffff !important;
  color: #0f4f92 !important;
  border: 1px solid #0f4f92 !important;
  padding: 10px 24px !important;
  border-radius: 6px !important;
  font-family: "Rajdhani", sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  cursor: pointer !important;
}

/* Botón "Seleccionar método de pago" */
.btn-submit-payment {
  background: #0f4f92 !important;
  color: #ffffff !important;
  border: none !important;
  padding: 10px 28px !important;
  border-radius: 6px !important;
  font-family: "Rajdhani", sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  box-shadow: 0 4px 12px rgba(15, 79, 146, 0.15) !important;
}

/* Adaptabilidad para teléfonos celulares */
@media (max-width: 600px) {
  .payment-option-row {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }
  .option-center {
    margin: 4px 0 !important;
  }
  .checkout-panel-footer-layout {
    flex-direction: column-reverse !important;
  }
  .checkout-panel-footer-layout .btn {
    width: 100% !important;
  }
}

/* Contenedor de detalles (Oculto por defecto con transición de altura) */
.payment-method-details-box {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out, opacity 0.2s ease-in-out;
  opacity: 0;
  padding: 0 24px;
}

/* Clase que inyectará JavaScript para abrir el panel */
.payment-method-details-box.is-expanded {
  max-height: 250px; /* Altura suficiente para contener las viñetas */
  opacity: 1;
  padding: 16px 24px 8px 36px; /* Espaciados proporcionales */
  border-top: 1px dashed rgba(5, 21, 51, 0.08);
  margin-top: 14px;
}

/* Lista estilizada de viñetas informativas */
.details-text-list {
  list-style-type: disc !important;
  margin: 0 !important;
  padding: 0 0 0 16px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.details-text-list li {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #5c5c5c !important; /* Gris suave idéntico a tus descripciones */
  line-height: 1.45 !important;
  text-align: left !important;
}

/* Rotación del icono de flecha cuando el menú está abierto */
.toggle-paypal-details.is-open .arrow-down {
  transform: rotate(180deg) !important;
  margin-top: -2px !important;
}

/* Fila contenedora principal */
.payment-option-row {
  display: flex !important;
  flex-direction: column !important;
  padding: 18px 24px !important;
  background: #ffffff !important;
  border: 1px solid rgba(16, 29, 47, 0.08) !important;
  border-radius: 12px !important;
  margin-bottom: 12px !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease !important;
}

/* Fila superior horizontal */
.payment-option-top-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
}

/* Agrupador derecho para logos y botón */
.option-right-wrapper {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  margin-left: auto !important; /* Empuja todo el bloque a la derecha */
}

.option-center {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.option-center img {
  height: 24px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* Caja de detalles colapsable */
.payment-method-details-box {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.25s ease-out, opacity 0.2s ease, padding 0.2s ease;
  padding: 0;
}

/* Estado activo cuando se presiona Ver Detalles */
.payment-method-details-box.is-expanded {
  max-height: 500px;
  opacity: 1;
  padding: 16px 0 0 34px; /* Alineación perfecta debajo del texto del título */
}

/* Estilo para los textos internos */
.details-text-list {
  list-style-type: disc !important;
  padding-left: 16px !important;
  margin: 0 0 12px 0 !important;
}

.details-text-list li {
  font-size: 13px !important;
  color: #444444 !important;
  line-height: 1.5 !important;
  margin-bottom: 6px !important;
}

.bank-list-note {
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #222222 !important;
  margin: 12px 0 0 0 !important;
}

/* Estilo interactivo para cambiar el icono al abrir */
.details-toggle .arrow-down {
  display: inline-block;
  transition: transform 0.2s ease;
}
.details-toggle.is-open .arrow-down {
  transform: rotate(180deg);
}

/* ==========================================================================
   DISEÑO HORIZONTAL DE RESUMEN DE ENVÍO (PASO 4)
   ========================================================================== */

.shipping-summary-corporate-box {
  background: #ffffff !important;
  padding: 24px !important;
  border-bottom: 1px solid rgba(16, 29, 47, 0.08) !important; /* Separador sutil */
  font-family: "Rajdhani", sans-serif !important;
}

.shipping-summary-title {
  margin: 0 0 16px 0 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #111111 !important;
}

.shipping-summary-subtitle {
  margin: 0 0 12px 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #111111 !important;
}

/* Fila contenedora principal de tres columnas */
.shipping-summary-row-layout {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  border: 1px solid rgba(16, 29, 47, 0.12) !important;
  border-radius: 8px !important;
  padding: 20px 24px !important;
  background-color: #ffffff !important;
  gap: 20px !important;
}

/* Columna Izquierda: Nombre del Cliente */
.summary-col-name {
  flex: 0 0 180px !important; /* Ancho fijo para mantener la estructura */
  text-align: left !important;
}

.user-main-name {
  color: #0f4f92 !important; /* Azul característico de los enlaces/destacados */
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* Columna Central: Dirección texturizada */
.summary-col-address {
  flex: 1 1 auto !important;
  color: #111111 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  max-width: 600px !important;
}

/* Columna Derecha: Botón Editar */
.summary-col-actions {
  flex: 0 0 auto !important;
}

.btn-summary-edit {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  color: #0f4f92 !important; /* Azul idéntico a tu referencia visual */
  font-size: 15px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: opacity 0.2s ease !important;
}

.btn-summary-edit:hover {
  opacity: 0.8 !important;
}

.pencil-icon {
  display: block !important;
  flex-shrink: 0 !important;
}

/* Responsive para Pantallas Pequeñas (Teléfonos Celulares) */
@media (max-width: 768px) {
  .shipping-summary-row-layout {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 16px !important;
    gap: 14px !important;
  }
  .summary-col-name,
  .summary-col-address {
    max-width: 100% !important;
    flex: auto !important;
  }
  .summary-col-actions {
    width: 100% !important;
    border-top: 1px dashed rgba(16, 29, 47, 0.08) !important;
    padding-top: 10px !important;
    text-align: right !important;
    display: flex !important;
    justify-content: flex-end !important;
  }
}
/* ==========================================================================
   MÓDULOS DE RESUMEN DE COMPRA: ENVÍO Y PAGO (PASO 4)
   ========================================================================== */

/* Contenedores principales de las secciones 1 y 2 */
.shipping-summary-corporate-box,
.payment-summary-corporate-box {
  background: #ffffff !important;
  padding: 24px 24px 12px 24px !important;
  font-family: "Rajdhani", sans-serif !important;
}

/* Espaciado inferior corregido para el bloque de pago */
.payment-summary-corporate-box {
  padding: 12px 24px 24px 24px !important;
  border-bottom: 1px solid rgba(16, 29, 47, 0.08) !important; /* Cierre del bloque */
}

/* Encabezados y títulos de cada sección (1. Envío / 2. Pago) */
.shipping-summary-title,
.payment-summary-title {
  margin: 0 0 16px 0 !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  color: #111111 !important;
}

.shipping-summary-subtitle,
.payment-summary-subtitle {
  margin: 0 0 12px 0 !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  color: #111111 !important;
}

/* ─── FILA CONTENEDORA DE TRES COLUMNAS (COMÚN) ─── */
.shipping-summary-row-layout,
.payment-summary-row-layout {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  border: 1px solid rgba(16, 29, 47, 0.12) !important;
  border-radius: 8px !important;
  padding: 16px 24px !important;
  background-color: #ffffff !important;
  gap: 20px !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* ─── COLUMNA IZQUIERDA: IDENTIFICADORES (TEXTO AZUL) ─── */
.summary-col-name,
.summary-payment-col-name {
  flex: 0 0 180px !important; /* Ancho controlado e idéntico para ambas tarjetas */
  text-align: left !important;
}

.user-main-name,
.payment-main-name {
  color: #0f4f92 !important; /* Azul cobalto de tus capturas */
  font-size: 15px !important;
  font-weight: 700 !important;
}

/* ─── COLUMNA CENTRAL: CONTENIDOS ─── */

/* Dirección desglosada */
.summary-col-address {
  flex: 1 1 auto !important;
  color: #111111 !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.45 !important;
  max-width: 600px !important;
}

/* Contenedor central alineado para las tarjetas de pago */
.summary-payment-col-logos {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  flex: 1 1 auto !important;
  justify-content: center !important; /* Centra los logos exactamente como la captura */
}

.summary-payment-col-logos img {
  height: 22px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* ─── COLUMNA DERECHA: BOTONES DE EDICIÓN CORPORATIVOS ─── */
.summary-col-actions {
  flex: 0 0 auto !important;
}

.btn-summary-corporate-edit {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  background: #ffffff !important;
  color: #0f4f92 !important;
  border: 1px solid #0f4f92 !important; /* Contorno azul nítido estilo cápsula */
  padding: 8px 20px !important;
  border-radius: 8px !important;
  font-family: "Rajdhani", sans-serif !important;
  font-weight: 700 !important;
  font-size: 14px !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  box-sizing: border-box !important;
}

.btn-summary-corporate-edit:hover {
  background: rgba(15, 79, 146, 0.04) !important;
}

.pencil-icon {
  display: block !important;
  flex-shrink: 0 !important;
}

/* ─── RESPONSIVE: ADAPTABILIDAD PARA MÓVILES ─── */
@media (max-width: 768px) {
  .shipping-summary-row-layout,
  .payment-summary-row-layout {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 16px !important;
    gap: 14px !important;
  }
  
  .summary-col-name,
  .summary-payment-col-name,
  .summary-col-address,
  .summary-payment-col-logos {
    max-width: 100% !important;
    flex: auto !important;
    justify-content: flex-start !important;
  }
  
  .summary-col-actions {
    width: 100% !important;
    border-top: 1px dashed rgba(16, 29, 47, 0.08) !important;
    padding-top: 12px !important;
  }
  
  .btn-summary-corporate-edit {
    width: 100% !important;
  }
}
.order-details-corporate-box .checkout-item {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  width: 100% !important;
  gap: 24px !important;
  box-sizing: border-box !important;
  padding: 20px 0 !important;
}

.order-details-corporate-box .checkout-item-image {
  width: 90px !important;
  height: 90px !important;
  flex-shrink: 0 !important;
}

.order-details-corporate-box .checkout-item-copy {
  flex: 1 1 auto !important; /* Estira el texto a lo ancho en todo el centro */
  text-align: left !important;
}

.order-details-corporate-box .checkout-item-total {
  flex-shrink: 0 !important;
  text-align: right !important;
  min-width: 120px !important;
}

.checkout-main-content {
  display: grid !important;
  gap: 24px !important;
  width: 100% !important; /* Fuerza a la columna izquierda a expandirse al máximo */
}

/* Asegura que los bloques de Envío, Pago y Detalles ocupen el 100% del ancho */
.shipping-summary-corporate-box,
.payment-summary-corporate-box,
.order-details-corporate-box {
  width: 100% !important;
  box-sizing: border-box !important;
}
/* ==========================================================================
   FORZAR EXPANSIÓN DE LA COLUMNA CENTRAL EN EL PASO 4
   ========================================================================== */

/* 1. Obliga al contenedor general de la izquierda a ocupar todo el espacio restante */
.checkout-main-content, 
main .checkout-main-content, 
.checkout-stage {
  display: grid !important;
  width: 100% !important;
  max-width: 100% !important;
  flex: 1 1 auto !important;
  box-sizing: border-box !important;
  gap: 24px !important;
}

/* 2. Fuerza a todos los paneles del paso 4 (viejos y nuevos) a estirarse al 100% del ancho */
.checkout-panel,
.checkout-stage article,
.shipping-summary-corporate-box,
.payment-summary-corporate-box,
.order-details-corporate-box {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  box-sizing: border-box !important;
}

/* 3. Asegura que las filas internas de los datos no colapsen en pantallas de escritorio */
.shipping-summary-row-layout,
.payment-summary-row-layout,
.checkout-item {
  width: 100% !important;
  display: flex !important;
  box-sizing: border-box !important;
}

/* ==========================================================================
   OVERRIDES FINALES DEL CHECKOUT
   - Ocupan todo el ancho
   - Mantienen el resumen visible en pasos 2 y 3
   - Dejan el paso 4 en dos columnas limpias
   ========================================================================== */

.checkout-shell {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 24px 40px !important;
  box-sizing: border-box !important;
}

.checkout-layout {
  width: 100% !important;
  max-width: 100% !important;
  grid-template-columns: minmax(0, 1fr) 390px !important;
  align-items: start !important;
}

.checkout-main-content {
  min-width: 0 !important;
}

.checkout-stage {
  width: 100% !important;
}

.checkout-stage[data-step-panel="4"] .checkout-panel {
  display: grid !important;
  gap: 18px !important;
}

.checkout-stage[data-step-panel="4"] .checkout-panel-footer {
  justify-content: space-between !important;
  gap: 12px !important;
}

.checkout-sidebar {
  width: 100% !important;
  min-width: 0 !important;
}

.checkout-summary-card {
  width: 100% !important;
  position: sticky !important;
  top: 24px !important;
}

.checkout-summary-card #checkoutConfirmSummary {
  margin-top: 4px;
}

.checkout-summary-card #checkoutOrderPreview {
  margin-bottom: 8px;
}

@media (max-width: 1180px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 1fr) 340px !important;
  }
}

@media (max-width: 980px) {
  .checkout-layout {
    grid-template-columns: 1fr !important;
  }

  .checkout-summary-card {
    position: static !important;
  }

  .checkout-stage[data-step-panel="4"] .checkout-panel-footer {
    flex-direction: column !important;
  }

  .checkout-stage[data-step-panel="4"] .checkout-panel-footer .btn {
    width: 100% !important;
  }
}

/* ==========================================================================
   SOLUCIÓN: BANNERS CON IMAGEN DE FONDO COMPLETA (FULL BACKGROUND)
   ========================================================================== */
.promo-banners {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  box-sizing: border-box;
}

.promo-banner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.promo-banner-card {
  position: relative; /* Clave para el posicionamiento absoluto interno */
  display: flex !important;
  min-height: 280px;
  border-radius: 16px !important; /* Esquinas redondeadas como tu captura anterior */
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
  border: 1px solid rgba(16, 29, 47, 0.08) !important;
}

/* Contenedor e Imagen de Fondo que ocupan el 100% de la tarjeta */
.banner-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1; /* Al fondo */
}

.banner-bg-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Llena el espacio sin deformarse */
  object-position: right center; /* Prioriza que los objetos se vean del lado derecho */
}

/* Capa de contraste que oscurece el fondo solo del lado del texto */
.banner-gradient-overlay {
  position: absolute;
  inset: 0;
  z-index: 2; /* Sobre la imagen, debajo del texto */
}

/* Degradado oscuro para asegurar legibilidad total de las letras blancas */
.overlay-left-dark {
  background: linear-gradient(90deg, rgba(7, 18, 44, 0.95) 0%, rgba(7, 18, 44, 0.75) 45%, rgba(7, 18, 44, 0) 100%);
}

/* Contenido en Primer Plano */
.banner-content {
  position: relative;
  z-index: 3; /* Por encima de todo */
  flex: 1 1 100%;
  padding: 36px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  color: #ffffff; /* Fuerza texto completamente blanco */
}

.banner-eyebrow {
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  margin: 0 0 8px 0;
  text-transform: uppercase;
}

.banner-title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.6rem, 2.2vw, 2.4rem);
  font-weight: 900;
  margin: 0 0 12px 0;
  line-height: 1.2;
}

/* Color rojo destacado para el precio */
.highlight-price {
  color: #4361EE;
  display: block; /* Salto de línea para alinearse a tus recursos visuales */
  font-size: clamp(1.9rem, 2.5vw, 2.8rem);
  margin-top: 4px;
}

.banner-text {
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 24px 0;
  max-width: 320px;
  text-transform: uppercase;
  opacity: 0.9;
}

/* Botón estilo cápsula roja */
.btn-banner-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #4361EE !important;
  color: #ffffff !important;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 24px;
  border-radius: 6px;
  text-transform: uppercase;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-banner-shop:hover {
  background-color: #051533 !important;
  transform: translateY(-2px);
}

.btn-banner-shop .arrow {
  margin-left: 8px;
  font-weight: bold;
}

/* Responsivo para Tablets y Laptops chicas */
@media (max-width: 900px) {
  .promo-banner-grid {
    grid-template-columns: 1fr; /* Una columna */
    gap: 20px;
  }
}

/* Responsivo para móviles */
@media (max-width: 500px) {
  .banner-content {
    padding: 24px;
  }
  /* En pantallas verticales muy chicas el degradado cubre toda la imagen de fondo */
  .overlay-left-dark {
    background: linear-gradient(180deg, rgba(7, 18, 44, 0.95) 0%, rgba(7, 18, 44, 0.85) 100%);
  }
}

/* --- CONTROL DE FONDOS COMPLETOS DESCUBIERTOS (ESTILO COMPUESTO) --- */
.category-sidebar-banner {
  position: relative; /* Clave para el posicionamiento absoluto */
  padding: 40px 28px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 280px;
  overflow: hidden;
  background-color: #000000 !important; /* Fondo negro de respaldo */
}

/* 1. Imagen de fondo completa sin deformaciones */
.sidebar-bg-image {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Llena el espacio perfectamente */
  object-position: right center !important; /* Prioriza que la acción gráfica se vea a la derecha */
  z-index: 1 !important;
}

/* 2. CAPA CLAVE: Degradado de Negro a Transparente (Igual al de tu imagen) */
.sidebar-overlay-mask {
  position: absolute !important;
  inset: 0 !important;
  /* Va desde negro sólido a la izquierda (texto) hasta 100% invisible a la derecha (imagen libre) */
  background: linear-gradient(90deg, 
    rgba(0, 0, 0, 0.95) 0%, 
    rgba(0, 0, 0, 0.75) 40%, 
    rgba(0, 0, 0, 0) 85%
  ) !important;
  z-index: 2 !important;
}

/* 3. Textos alineados y viñetas */
.sidebar-banner-content {
  position: relative !important;
  z-index: 3 !important; /* Al frente del degradado */
  text-align: left;
  max-width: 190px; /* Evita que el texto invada el lado derecho de la imagen */
}

.category-sidebar-banner h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 20px 0;
  line-height: 1.2;
  color: #ffffff !important;
}

/* Estilo de los puntos (viñetas amarillas/naranjas de tu referencia) */
.sidebar-links-list {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-links-list li {
  position: relative;
  padding-left: 14px; /* Espacio para el punto */
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

/* Inyección del punto de color interactivo al inicio de cada enlace */
.sidebar-links-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: -1px;
  color: #4361EE; /* Puedes cambiar este color por tu tono de resalte (ej: naranja #ff9900) */
  font-size: 16px;
}

.sidebar-links-list li a {
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.sidebar-links-list li a:hover {
  color: #ffffff !important;
}

/* Enlace inferior VER TODO */
.view-all-sidebar {
  font-family: "Orbitron", sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: #4361EE !important; /* Tono a juego con los puntos */
  text-transform: uppercase;
  letter-spacing: 1px;
  text-decoration: none;
}

.view-all-sidebar:hover {
  text-decoration: underline;
}

/* --- CUADRÍCULA DE PRODUCTOS DERECHA --- */
.category-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1px; /* Crea una línea divisoria limpia entre tarjetas usando el fondo */
  background: rgba(16, 29, 47, 0.08); 
}

.category-product-item-card {
  background: #ffffff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.category-product-item-card:hover {
  z-index: 5;
  box-shadow: 0 10px 30px rgba(5, 21, 51, 0.06);
}

.item-card-media-wrap {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.item-card-media-wrap img {
  max-width: 85%;
  max-height: 100%;
  object-fit: contain;
}

.item-card-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  height: 100%;
}

.item-brand-tag {
  font-family: "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #0f4f92;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.item-card-details h4 {
  font-family: "Orbitron", sans-serif;
  font-size: 16px;
  color: #111111;
  margin: 0 0 8px 0;
  font-weight: 700;
}

.item-compatibility-text {
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
  color: #5c5c5c;
  line-height: 1.4;
  margin: 0 0 20px 0;
  flex-grow: 1; /* Empuja el botón siempre al fondo */
}

/* Botón de acción integrado */
.btn-item-action {
  width: 100%;
  background-color: #051533;
  color: #ffffff;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 6px;
  text-transform: uppercase;
  text-align: center;
  transition: background-color 0.2s ease;
}

.btn-item-action:hover {
  background-color: #0f4f92;
}

/* --- ADAPTABILIDAD INTERFAZ MÓVIL --- */
@media (max-width: 992px) {
  .category-row-block {
    grid-template-columns: 1fr; /* El banner se coloca arriba y las tarjetas abajo */
  }
  .category-sidebar-banner {
    padding: 30px 24px;
  }
  .sidebar-links-list {
    margin-bottom: 20px;
  }

}

/* --- ESTILADO DEL BANNER LATERAL --- */
.category-sidebar-banner.banner-active-lines {
  position: relative;
  padding: 40px 24px;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  /* Fondo corporativo premium oscuro */
  background: linear-gradient(180deg, rgba(7, 18, 44, 0.94) 0%, rgba(5, 21, 51, 0.98) 100%), 
              url('https://unsplash.com');
  background-size: cover;
  background-position: center;
}

.sidebar-banner-content {
  text-align: left;
}

.category-sidebar-banner h3 {
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  font-weight: 800;
  margin: 0 0 24px 0;
  letter-spacing: 0.5px;
}

.sidebar-links-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sidebar-links-list li a {
  font-family: "Rajdhani", sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: block;
}

.sidebar-links-list li a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.view-all-sidebar {
  font-family: "Orbitron", sans-serif;
  font-size: 12px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 4px;
  display: inline-block;
}

/* --- OVERRIDES DE TU CUADRÍCULA DE ARTÍCULOS REALES --- */
.category-products-grid {
  display: grid !important;
  /* Fuerza una distribución simétrica de 2 artículos en computadoras */
  grid-template-columns: repeat(2, 1fr) !important; 
  gap: 1px !important;
  background: rgba(16, 29, 47, 0.08) !important; /* Genera las líneas de división gris sutil */
}

/* Forzar reset de flexbox anterior que rompía las proporciones */
.category-products-grid .spare-card {
  background: #ffffff !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 32px !important;
  margin: 0 !important;
  max-width: none !important;
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  transition: box-shadow 0.2s ease;
}

.category-products-grid .spare-card:hover {
  z-index: 5;
  box-shadow: 0 10px 30px rgba(5, 21, 51, 0.06) !important;
}

.category-products-grid .spare-card-media {
  height: 180px !important;
  min-height: 180px !important;
  background: transparent !important;
  margin-bottom: 16px !important;
}

.category-products-grid .spare-card-image {
  max-height: 100% !important;
  object-fit: contain !important;
  margin: 0 auto !important;
}

.category-products-grid .spare-card-body h3 {
  font-family: "Orbitron", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  margin: 0 0 8px 0 !important;
  text-align: left !important;
  color: #111111 !important;
}

.category-products-grid .spare-card-subtitle {
  text-align: left !important;
  margin: 0 0 12px 0 !important;
  font-size: 13px !important;
}

.category-products-grid .spare-card-price-row {
  justify-content: space-between !important;
  align-items: center !important;
  width: 100% !important;
  margin-bottom: 14px !important;
}

.category-products-grid .spare-card-price-row span {
  font-size: 13px !important;
  color: #8290a0 !important;
}

.category-products-grid .spare-card-price-row strong {
  font-size: 20px !important;
  color: var(--accent) !important;
}

.category-products-grid .spare-card-stock {
  text-align: left !important;
  font-size: 13px !important;
  margin-bottom: 16px !important;
}

/* Ocultar metadatos técnicos redundantes si buscas la estética de la imagen limpia */
.category-products-grid .spare-card-meta,
.category-products-grid .spare-card-partno,
.category-products-grid .spare-card-delivery {
  display: none !important;
}

/* Botón inferior de añadir al carrito adaptado a caja */
.category-products-grid .spare-card-footer {
  margin-top: auto !important;
  padding: 0 !important;
}

.category-products-grid .spare-card-action {
  width: 100% !important;
  border-radius: 6px !important;
  padding: 12px 16px !important;
  font-size: 14px !important;
  text-transform: uppercase !important;
}

/* --- AJUSTES DE DISEÑO RESPONSIVO --- */
@media (max-width: 992px) {
  .category-row-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .category-products-grid {
    grid-template-columns: 1fr !important; /* En móviles verticales pasa a una sola columna */
  }
}

.category-block-container {
  width: 100% !important;
  max-width: var(--container, 1180px) !important; /* Fuerza el ancho de los banners superiores */
  margin: 0 auto !important; /* Centra el catálogo perfectamente en la pantalla */
  padding: 0 !important; /* Elimina márgenes extra para alinearse al ras */
  box-sizing: border-box !important;
}

.category-row-block {
  display: grid !important;
  
  grid-template-columns: 310px 1fr !important; 
  background: #ffffff !important;
  border: 1px solid rgba(16, 29, 47, 0.08) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  margin-bottom: 24px !important;
  width: 100% !important;
}


.carousel-slider-wrapper {
  position: relative !important;
  width: 100% !important;
  display: flex !important;
  align-items: center !important;
  overflow: hidden !important; 
}


.nav-carousel-btn {
  position: absolute !important;
  top: 50% !important; 
  transform: translateY(-50%) !important;
  width: 38px !important;
  height: 38px !important;
  border-radius: 50% !important;
  background-color: #3b5cd6 !important; 
  color: #ffffff !important;
  border: none !important;
  cursor: pointer !important;
  z-index: 999 !important; 
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-family: "Orbitron", sans-serif !important;
  font-size: 15px !important;
  font-weight: 900 !important;
  transition: background-color 0.2s, transform 0.2s !important;
}

.nav-carousel-btn:hover {
  background-color: #2544b8 !important;
  transform: translateY(-50%) scale(1.1) !important;
}


.btn-prev { 
  left: 6px !important; 
  right: auto !important;
}
.btn-next { 
  right: 6px !important; 
  left: auto !important;
}


.products-carousel-track {
  width: 100% !important;
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important; 
  overflow-x: auto !important; 
  overflow-y: hidden !important;
  scroll-behavior: smooth !important;
  background: #ffffff !important;
  gap: 12px !important; 
  padding: 16px 20px !important; 
  box-sizing: border-box !important;
}

.products-carousel-track::-webkit-scrollbar { display: none !important; }
.products-carousel-track { -ms-overflow-style: none !important; scrollbar-width: none !important; }


.products-carousel-track .spare-card {
  flex: 0 0 calc(25% - 9px) !important; 
  width: calc(25% - 9px) !important;
  min-width: calc(25% - 9px) !important;
  max-width: calc(25% - 9px) !important; 
  background: linear-gradient(180deg, #ffffff, #eef1f4) !important; 
  border: 1px solid rgba(16, 29, 47, 0.08) !important;
  border-radius: var(--radius-lg, 22px) !important; 
  box-shadow: var(--shadow) !important; 
  padding: 14px !important; 
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  box-sizing: border-box !important;
}

.products-carousel-track .spare-card-media {
  position: relative !important;
  min-height: 140px !important; 
  height: 140px !important;
  display: grid !important;
  place-items: center !important;
  background: transparent !important;
  margin-bottom: 12px !important;
}

.products-carousel-track .spare-card-image {
  max-width: 90% !important;
  max-height: 120px !important;
  width: auto !important;
  object-fit: contain !important;
  display: block !important;
}


.products-carousel-track .spare-card-body h3.truncated-title {
  display: -webkit-box !important;
  -webkit-line-clamp: 3 !important; 
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  height: 54px !important; 
  font-family: "Rajdhani", sans-serif !important;
  font-size: 1.05rem !important; 
  line-height: 1.25 !important;
  margin: 0 0 8px 0 !important;
  color: #111111 !important;
  text-align: left !important;
}


.products-carousel-track .spare-card-price-row {
  display: flex !important;
  justify-content: flex-end !important; 
  align-items: baseline !important;
  width: 100% !important;
  margin: 6px 0 12px 0 !important;
}

.products-carousel-track .spare-card-price-row strong.only-amount {
  font-size: 1.55rem !important; 
  font-weight: 800 !important;
  color: #101d2f !important;
  font-family: "Rajdhani", sans-serif !important;
}


.products-carousel-track .spare-card-action {
  width: 100% !important;
  padding: 10px 14px !important; 
  border-radius: 10px !important; 
  background: #051533 !important;
  color: #ffffff !important;
  font-weight: 800 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
}


.products-carousel-track .spare-card-stock,
.products-carousel-track .spare-card-price-row span,
.products-carousel-track .spare-card-subtitle,
.products-carousel-track .spare-card-meta,
.products-carousel-track .spare-card-partno,
.products-carousel-track .spare-card-delivery,
.products-carousel-track .spare-card-pager {
  display: none !important;
}

@media (max-width: 1200px) {
  .products-carousel-track .spare-card {
    flex: 0 0 calc(33.33% - 10px) !important;
    width: calc(33.33% - 10px) !important;
    min-width: calc(33.33% - 10px) !important;
    max-width: calc(33.33% - 10px) !important;
  }
}

@media (max-width: 990px) {
  .products-carousel-track .spare-card {
    flex: 0 0 calc(50% - 10px) !important;
    width: calc(50% - 10px) !important;
    min-width: calc(50% - 10px) !important;
    max-width: calc(50% - 10px) !important;
  }
}

@media (max-width: 900px) {
  .category-row-block { grid-template-columns: 1fr !important; }
  .nav-carousel-btn { display: none !important; } 
  .products-carousel-track { padding: 16px !important; }
  .products-carousel-track .spare-card {
    flex: 0 0 240px !important;
    width: 240px !important;
    min-width: 240px !important;
    max-width: 240px !important;
  }
}



.benefits {
  width: 100% !important;
  max-width: 1400px !important;
  margin: 40px auto !important;
  padding: 32px 24px !important;
  box-sizing: border-box !important;
  background: #ffffff !important; 
}


.benefits-row-layout {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 40px !important;
  width: 100% !important;
}


.benefits-main-heading {
  flex: 0 0 280px !important; 
  text-align: left !important;
}

.benefits-main-heading h2 {
  font-family: "Orbitron", sans-serif !important;
  font-size: 28px !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  color: #111111 !important;
  margin: 0 0 16px 0 !important;
}

.benefits-main-heading p {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  color: #5c5c5c !important;
  margin: 0 !important;
}

.benefits-items-grid {
  flex: 1 1 auto !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important; 
  gap: 24px !important;
}


.benefit-item-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  text-align: left !important;
}

.benefit-icon-wrap {
  width: 44px !important;
  height: 44px !important;
  margin-bottom: 16px !important;
  color: #111111 !important; 
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.benefit-icon-wrap svg {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}


.benefit-item-card h3 {
  font-family: "Orbitron", sans-serif !important;
  font-size: 15px !important;
  font-weight: 800 !important;
  color: #111111 !important;
  margin: 0 0 10px 0 !important;
  line-height: 1.2 !important;
}


.benefit-item-card p {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.4 !important;
  color: #5c5c5c !important;
  margin: 0 !important;
}


@media (max-width: 1100px) {
  .benefits-items-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; 
    gap: 32px !important;
  }
}

@media (max-width: 768px) {
  .benefits-row-layout {
    flex-direction: column !important; 
    gap: 36px !important;
  }
  
  .benefits-main-heading {
    flex: auto !important;
    width: 100% !important;
  }

  .benefits-items-grid {
    grid-template-columns: 1fr !important; 
    gap: 28px !important;
  }
}


.partner-section {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto 48px auto;
  padding: 0 24px;
  box-sizing: border-box;
  font-family: "Rajdhani", sans-serif;
}


.partner-header {
  position: relative; 
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important; 
  gap: 32px !important;
  padding: 40px 48px !important; 
  border-radius: 12px !important; 
  overflow: hidden !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  box-sizing: border-box !important;
  width: 100% !important;
  color: #ffffff !important;
  z-index: 1;


  background-image: url('/productos\ vortex.png') !important;
  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
}

.partner-header::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;
  

  background: linear-gradient(
    90deg, 
    rgba(7, 18, 44, 0.85) 0%, 
    rgba(7, 18, 44, 0.55) 30%, 
    rgba(14, 27, 59, 0.15) 75%,
    rgba(14, 27, 59, 0.15) 100%
  ) !important;
  
  z-index: -1 !important;
}


.partner-header .eyebrow {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  color: #ffffff  !important; 
  margin: 0 0 6px 0 !important;
  text-transform: uppercase !important;
}

.partner-header h2 {
  font-family: "Orbitron", sans-serif !important;
  font-size: clamp(1.2rem, 2.2vw, 1.8rem) !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin: 0 !important;
  text-transform: uppercase !important;
  color: #bfff00 !important;
  max-width: 75% !important; 
  text-align: left !important;
}

.btn-see-all {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important; 
  background-color: #bfff00 !important; 
  color: #000000 !important;
  font-family: "Rajdhani", sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: 0.5px !important;
  padding: 12px 28px !important;
  border-radius: 6px !important; 
  text-transform: uppercase !important;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(229, 45, 45, 0.35) !important;
  transition: background-color 0.2s ease, transform 0.2s ease !important;
}

.btn-see-all:hover {
  background-color: #c92222 !important;
  transform: translateY(-2px) !important;
}

.partner-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  margin-top: 24px !important;
}
.partner-card {
  position: relative; 
  border-radius: 12px !important;
  padding: 32px 28px !important; 
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-start !important;
  min-height: 440px !important; 
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.12) !important;
  box-sizing: border-box !important;
  color: #bfff00 !important;
  overflow: hidden !important;
  z-index: 1;

  background-size: cover !important;
  background-position: center !important;
  background-repeat: no-repeat !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.partner-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.2) !important;
}

.partner-card::before {
  content: "" !important;
  position: absolute !important;
  inset: 0 !important;

  background: linear-gradient(180deg, rgba(7, 18, 44, 0.85) 0%, rgba(7, 18, 44, 0.6) 45%, rgba(0, 0, 0, 0.15) 100%) !important;
  z-index: -1 !important;
  transition: opacity 0.2s ease !important;
}

.partner-card:hover::before {
  background: linear-gradient(180deg, rgba(7, 18, 44, 0.92) 0%, rgba(7, 18, 44, 0.7) 50%, rgba(0, 0, 0, 0.25) 100%) !important;
}

.card-orange { background-image: url('/pastilla.webp') !important; }
.card-purple { background-image: url('/discofreno.webp') !important; }
.card-green  { background-image: url('/vortex.png') !important; }
.card-red    { background-image: url('/Scanner Sección.png') !important; }

.card-content {
  position: relative !important;
  z-index: 2 !important;
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  width: 100% !important;
  text-align: left !important;
}

.card-eyebrow {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 1.5px !important;
  color: #ffffff !important; 
  margin: 0 0 6px 0 !important;
  text-transform: uppercase !important;
}

.card-title {
  font-family: "Orbitron", sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.25 !important;
  margin: 0 0 12px 0 !important;
  text-transform: uppercase !important;
}

.card-text {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #bfff00 !important;
  margin: 0 !important;
}

.card-link {
  font-family: "Rajdhani", sans-serif !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  margin-top: auto !important; 
  padding-top: 16px !important;
  display: inline-block !important;
}

.card-link:hover {
  text-decoration: underline !important;
}



.card-product-image {
  width: 100% !important;
  height: 160px !important;
  margin: auto 0 !important; 
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 3 !important;
}

.card-product-image img {
  max-width: 85% !important;
  max-height: 100% !important;
  object-fit: contain !important;

  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.35)) !important; 
}

.partner-card .card-image {
  display: none !important;
}

@media (max-width: 1100px) {
  .partner-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 600px) {
  .partner-grid { grid-template-columns: 1fr !important; }
  .partner-card { min-height: 400px !important; }
}


@media (max-width: 992px) {
  .partner-header {
    flex-direction: column !important; 
    align-items: flex-start !important;
    padding: 32px 24px !important;
    gap: 20px !important;
  }

  .partner-header h2 {
    max-width: 100% !important;
  }

  .btn-see-all {
    width: 100% !important; 
    text-align: center !important;
  }

  .partner-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; 
  }
}

@media (max-width: 600px) {
  .partner-grid {
    grid-template-columns: 1fr !important; 
  }
}


.popular-brands-section {
  width: 100%;
  max-width: 1400px;
  margin: 0px auto 40px auto; 
  padding: 0 24px;
  box-sizing: border-box;
}

#socio, .partner-section {
  margin-bottom: 24px !important;
}


.brands-container {
  display: grid !important;
  grid-template-columns: 240px 1fr !important;
  background: #ffffff !important;
  border: 1px solid rgba(16, 29, 47, 0.08) !important;
  border-radius: 8px !important;
  padding: 30px 40px !important;
  align-items: center !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02) !important;
  overflow: hidden !important;
}

.brands-sidebar-heading {
  text-align: left !important;
  border-right: 1px solid rgba(16, 29, 47, 0.08) !important;
  padding-right: 24px !important;
  box-sizing: border-box !important;
}

.brands-sidebar-heading h3 {
  font-family: "Orbitron", sans-serif !important;
  font-size: 20px !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: #111111 !important;
  margin: 0 0 10px 0 !important;
}

.btn-brands-view-all {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #5c5c5c !important;
  text-decoration: none !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  transition: color 0.2s ease !important;
}

.btn-brands-view-all:hover {
  color: #0f4f92 !important;
}

.brands-carousel-viewport {
  width: 100% !important;
  overflow: hidden !important;
  position: relative !important;
}

/* Riel automático unificado */
.brands-marquee-infinite {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  width: min-content !important; 
  animation: rielMarcasInfinito 22s linear infinite !important; 
}

.brand-logo-item {
  flex: 0 0 220px !important; 
  width: 220px !important;
  height: 100px !important;
  margin-right: 50px !important; 
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box !important;
  transition: transform 0.25s ease !important;
}

.brand-logo-item img {
  width: auto !important;
  height: auto !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  transition: filter 0.25s ease, opacity 0.25s ease, transform 0.25s ease !important;
}

.brand-logo-item img[src*="vortex"] {
  max-height: 85% !important; 
}

.brand-logo-item img[src*="banqiu"] {
  max-height: 100% !important;
  transform: scale(1.35) !important;
  transform-origin: center !important;
}

.brand-logo-item img[src*="gardam"] {
  max-height: 100% !important;
  transform: scale(1.85) !important;
  transform-origin: center !important;
}


.brands-marquee-infinite .brand-logo-item:hover img[src*="banqiu"] {
  transform: scale(1.42) !important; 
}

.brands-marquee-infinite .brand-logo-item:hover img[src*="gardam"] {
  transform: scale(1.92) !important; 
}

.brands-marquee-infinite:hover .brand-logo-item img {
  filter: grayscale(100%) opacity(0.35) !important;
}

.brands-marquee-infinite .brand-logo-item:hover img {
  filter: grayscale(0%) opacity(1) !important;
}

.brands-marquee-infinite .brand-logo-item:hover {
  transform: scale(1.05) !important;
}

.brands-carousel-viewport:hover .brands-marquee-infinite {
  animation-play-state: paused !important;
}


@keyframes rielMarcasInfinito {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-1620px); 
  }
}

@media (max-width: 900px) {
  .brands-container {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding: 24px !important;
  }
  .brands-sidebar-heading {
    border-right: none !important;
    border-bottom: 1px solid rgba(16, 29, 47, 0.08) !important;
    padding-right: 0 !important;
    padding-bottom: 16px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
  }
  .brands-sidebar-heading h3 { font-size: 18px !important; margin: 0 !important; }
  
  .brands-marquee-infinite {
    width: max-content !important;
    animation: none !important;
  }
  .brand-logo-item {
    width: 160px !important;
    height: 70px !important;
    margin-right: 25px !important;
  }
}

.automotive-professional-section {
  width: 100%;
  max-width: 1400px;
  margin: 40px auto;
  padding: 0 24px;
  box-sizing: border-box;
  font-family: "Rajdhani", sans-serif;
}

.professional-container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* Dos columnas proporcionales a la captura */
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
}

/* --- BLOQUE IZQUIERDO: VISUAL --- */
.professional-left-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 180px; /* Imagen del mecánico + Caja Amarilla */
  background: #0f1d3a; /* Fondo oscuro de respaldo */
}

.mechanic-bg-image {
  width: 100%;
  height: 100%;
  min-height: 420px;
}

.mechanic-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Caja de Entrega Mundial (Color Amarillo Corporativo) */
.world-delivery-badge {
  background-color: #051533; /* Amarillo idéntico a la imagen */
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 24px;
  text-align: center;
}

.badge-icon {
  margin-bottom: 16px;
  color: #111111;
}

.badge-text {
  font-family: "Orbitron", sans-serif;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.5px;
  margin: 0 0 20px 0;
  text-transform: uppercase;
}

.badge-dots {
  display: flex;
  gap: 6px;
}

.badge-dots .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.2);
}

.badge-dots .dot.active {
  background: #ffffff;
}

/* --- BLOQUE DERECHO: TEXTOS --- */
.professional-right-content {
  padding: 40px 0 40px 48px; /* Espaciado interno limpio */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.professional-title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.8rem, 2.5vw, 2.6rem);
  font-weight: 800;
  color: #111111;
  margin: 0 0 20px 0;
  line-height: 1.15;
}

.professional-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: #111111;
  margin: 0 0 16px 0;
  line-height: 1.4;
}

.professional-description {
  font-size: 14px;
  font-weight: 500;
  color: #5c5c5c;
  margin: 0 0 24px 0;
  line-height: 1.5;
}

/* Lista de Beneficios */
.professional-benefits-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.professional-benefits-list li {
  font-size: 14px;
  font-weight: 600;
  color: #111111;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Iconos de Palomita (Azul Cobalto) */
.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background-color: #3b5cd6; /* Azul de tus botones e interfaz */
  color: #ffffff;
  border-radius: 50%;
  font-size: 11px;
  font-weight: bold;
  flex-shrink: 0;
}

/* Botón Amarillo APPLY NOW */
.btn-apply-now {
  align-self: flex-start;
  background-color: #051533 !important;
  color: #FFFFFF !important;
  font-family: "Orbitron", sans-serif;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: 0.5px;
  padding: 12px 28px;
  border-radius: 2px;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 2px 8px rgba(255, 183, 3, 0.2);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.btn-apply-now:hover {
  background-color: #4361EE !important;
  transform: translateY(-1px);
}

/* --- ADAPTABILIDAD (RESPONSIVE) --- */
@media (max-width: 1100px) {
  .professional-container {
    grid-template-columns: 1fr; /* Se apila la imagen arriba y el contenido abajo */
  }
  
  .professional-right-content {
    padding: 32px 0 16px 0; /* Ajusta márgenes para pantallas pequeñas */
  }
}

@media (max-width: 600px) {
  .professional-left-visual {
    grid-template-columns: 1fr; /* El cuadro amarillo baja en móviles verticales */
  }
  
  .mechanic-bg-image {
    min-height: 260px;
  }
  
  .world-delivery-badge {
    padding: 32px 20px;
  }
}


.categories-carousel-section {
  width: 100%;
  max-width: 1400px;
  margin: 40px auto;
  padding: 20px 24px;
  box-sizing: border-box;
  font-family: "Rajdhani", sans-serif;
  background-color: #ffffff;
}

.categories-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

/* --- RIELES Y CONTENEDOR DESLIZABLE --- */
.categories-track-viewport {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 10px 0;
}

/* Ocultar barra de scroll en navegadores modernos */
.categories-track-viewport::-webkit-scrollbar {
  display: none;
}
.categories-track-viewport {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.categories-track {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 48px;              /* Espaciado elegante y amplio entre tus 3 categorías */
  justify-content: center; /* 🎯 CLAVE: Centra las tarjetas perfectamente en pantallas grandes */
}

/* --- TARJETAS INDIVIDUALES --- */
.category-item-card {
  flex: 0 1 180px;        /* 🎯 CORRECCIÓN: Tamaño base idéntico a tu referencia sin estirarse */
  min-width: 150px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  background: #ffffff;
  transition: transform 0.2s ease;
  box-sizing: border-box;
}

.category-item-card:hover {
  transform: translateY(-3px);
}

/* Contenedor de la Imagen */
.category-image-wrap {
  width: 100%;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

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

/* Textos de Información */
.category-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.category-name {
  font-size: 15px;        /* Un punto más grande para mayor legibilidad */
  font-weight: 700;
  color: #111111;
  line-height: 1.2;
}

.category-count {
  font-size: 12px;
  color: #8290a0; 
  font-weight: 500;
}

/* --- BOTONES DE NAVEGACIÓN (FLECHAS) --- */
.cat-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(16, 29, 47, 0.1);
  display: none;          /* 🎯 CLAVE: Se ocultan en escritorio ya que caben perfectamente las 3 */
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: background-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

/* Flecha izquierda (Estilo Azul) */
.cat-btn-prev {
  left: -12px;
  background-color: #3b5cd6; 
  color: #ffffff;
}

.cat-btn-prev:hover {
  background-color: #2544b8;
  box-shadow: 0 4px 10px rgba(59, 92, 214, 0.3);
}

/* Flecha derecha (Estilo Blanco con borde) */
.cat-btn-next {
  right: -12px;
  background-color: #ffffff;
  color: #111111;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.cat-btn-next:hover {
  background-color: #f5f5f5;
}

.cat-nav-btn span {
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
  margin-top: -2px; 
}

/* --- DISEÑO RESPONSIVO COMPLETO (MÓVILES Y TABLETS) --- */
@media (max-width: 768px) {
  .categories-track {
    justify-content: flex-start; /* Permite arrastrar libremente con el dedo en móviles */
    gap: 24px;                  /* Reduce el espacio para que quepan en pantallas chicas */
    padding: 0 10px;
  }

  .category-item-card {
    flex: 0 0 calc(33.33% - 16px); /* Muestra las 3 distribuidas uniformemente en tablets */
    min-width: 130px;
  }
}

@media (max-width: 520px) {
  .category-item-card {
    flex: 0 0 140px; /* En celulares se activa el carrusel de manera natural */
  }
}

.hero-premium-section {
  width: 100% !important;
  display: flex !important;
  flex-direction: column !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* --- BARRA DE VEHÍCULO HORIZONTAL --- */
.vehicle-horizontal-bar {
  width: 100% !important;
  background-color: #1a1a1a !important; /* Fondo gris oscuro/negro al ras */
  padding: 12px 24px !important;
  box-sizing: border-box !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

.vehicle-bar-container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
  width: 100% !important;
}

.vehicle-bar-label {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  color: #ffffff !important;
  flex-shrink: 0 !important;
}

.vehicle-bar-icon {
  font-size: 20px !important;
}

.vehicle-label-text {
  display: flex !important;
  flex-direction: column !important;
  font-family: "Rajdhani", sans-serif !important;
  line-height: 1.1 !important;
}

.vehicle-label-text strong {
  font-size: 15px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px;
}

.vehicle-label-text span {
  font-size: 13px !important;
  color: #cccccc !important;
}

/* Contenedor de formularios en línea horizontal */
.vehicle-bar-form {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
  flex-grow: 1 !important;
  justify-content: flex-end !important;
}

.select-group {
  position: relative !important;
  background-color: #ffffff !important;
  border-radius: 4px !important;
  height: 40px !important;
  flex: 1 1 200px !important;
  max-width: 240px !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 12px 0 32px !important;
  box-sizing: border-box !important;
}

.select-number {
  position: absolute !important;
  left: 8px !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 18px !important;
  height: 18px !important;
  background-color: #e0e0e0 !important;
  color: #666666 !important;
  font-family: sans-serif !important;
  font-size: 11px !important;
  font-weight: bold !important;
  border-radius: 50% !important;
  display: grid !important;
  place-items: center !important;
}

.select-group select {
  width: 100% !important;
  height: 100% !important;
  border: none !important;
  background: transparent !important;
  font-family: "Rajdhani", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #333333 !important;
  outline: none !important;
  cursor: pointer !important;
}

/* Botón GO Azul Cobalto */
.btn-vehicle-go {
  height: 40px !important;
  padding: 0 24px !important;
  background-color: #3b5cd6 !important; /* Azul idéntico a tu referencia */
  color: #ffffff !important;
  border: none !important;
  border-radius: 4px !important;
  font-family: "Orbitron", sans-serif !important;
  font-size: 13px !important;
  font-weight: 900 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  flex-shrink: 0 !important;
}

.btn-vehicle-go:hover {
  background-color: #2544b8 !important;
}

/* --- CONTENEDOR VISUAL CON RELACIÓN DE ASPECTO ESTABLE --- */
.hero-visual-viewport {
  position: relative !important;
  width: 100% !important;
  /* 🎯 AJUSTE AL TAMAÑO DEL VIDEO: Mantiene la proporción horizontal idéntica a tus capturas (1430x500) */
  aspect-ratio: 1430 / 500 !important; 
  min-height: 420px !important;
  overflow: hidden !important;
  background-color: #0b111e !important;
}

.hero-slider {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-height: auto !important; /* Anula los 640px del CSS anterior */
}

.hero-gradient-overlay-mask {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(90deg, rgba(7, 18, 44, 0.7) 0%, rgba(7, 18, 44, 0.4) 50%, transparent 100%) !important;
  z-index: 2 !important;
  pointer-events: none !important;
}

.hero-viewport-content {
  position: absolute !important;
  inset: 0 !important;
  z-index: 3 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: flex-start !important;
  padding: 0 8% !important;
  color: #ffffff !important;
}

.viewport-eyebrow {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 2px !important;
  color: #4361EE !important;
  margin-bottom: 8px !important;
}

.viewport-main-title {
  font-family: "Orbitron", sans-serif !important;
  font-size: clamp(1.8rem, 4vw, 3.2rem) !important;
  font-weight: 900 !important;
  line-height: 1.15 !important;
  margin: 0 0 12px 0 !important;
}

.viewport-subtitle {
  font-family: "Rajdhani", sans-serif !important;
  font-size: clamp(14px, 1.5vw, 18px) !important;
  font-weight: 500;
  color: #4361EE !important;
  margin: 0 0 24px 0 !important;
}

.btn-viewport-learn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: rgba(255, 255, 255, 0.15) !important;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  font-family: "Rajdhani", sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  padding: 10px 24px !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
}

.btn-viewport-learn:hover {
  background-color: #ffffff !important;
  color: #051533 !important;
}

/* --- ADAPTABILIDAD RESPONSIVA --- */
@media (max-width: 992px) {
  .vehicle-bar-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
  .vehicle-bar-form {
    width: 100% !important;
    flex-wrap: wrap !important;
    justify-content: flex-start !important;
  }
  .select-group {
    flex: 1 1 calc(50% - 12px) !important;
    max-width: none !important;
  }
  .btn-vehicle-go {
    width: 100% !important;
  }
}

@media (max-width: 600px) {
  .hero-visual-viewport {
    aspect-ratio: auto !important;
    height: 380px !important; /* Estabilidad en pantallas muy pequeñas */
  }
  .select-group {
    flex: 1 1 100% !important;
  }
}

.hero-fade-up {
  opacity: 0 !important;
  transform: translateY(30px) !important; /* Inicia 30px abajo */
  transition: opacity 0.8s cubic-bezier(0.215, 0.61, 0.355, 1), 
              transform 0.8s cubic-bezier(0.215, 0.61, 0.355, 1) !important;
}

/* Estado activo inyectado por JavaScript */
.hero-fade-up.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important; /* Sube a su posición original */
}

/* Retraso escalonado (Stagger effect) para una transición premium */
.viewport-eyebrow.hero-fade-up {
  transition-delay: 0.1s !important;
}
.viewport-main-title.hero-fade-up {
  transition-delay: 0.25s !important;
}
.viewport-subtitle.hero-fade-up {
  transition-delay: 0.4s !important;
}
.btn-viewport-learn.hero-fade-up {
  transition-delay: 0.55s !important;
}

.footer-newsletter-corporate-bar {
  width: 100% !important;
  background-color: #111111 !important; /* Respaldo oscuro si la imagen tarda en cargar */
  padding: 60px 0 !important; /* Ampliamos el relleno para que luzca el fondo */
  margin: 60px 0 0 0 !important; /* Separación simétrica */
  position: relative !important;
  overflow: hidden !important;
}

.newsletter-full-bg {
  position: absolute !important;
  inset: 0 !important; /* Estira la caja al 100% del alto y ancho */
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important; /* Se envía al fondo */
  pointer-events: none !important;
}

.newsletter-bg-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; 
  object-position: center !important;
}

.newsletter-bg-overlay {
  position: absolute !important;
  inset: 0 !important;
  /* Capa oscura que garantiza legibilidad total de tus textos blancos */
  background: linear-gradient(90deg, rgba(17, 17, 17, 0.95) 0%, rgba(17, 17, 17, 0.85) 55%, rgba(17, 17, 17, 0.65) 100%) !important;
}

.newsletter-bar-container {
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: 100% !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 5 !important; 
}

/* --- BLOQUE 1: HEADLINES --- */
.newsletter-left-headlines {
  flex: 0 0 auto !important;
  max-width: 320px !important;
  text-align: left !important;
}

.newsletter-left-headlines h2 {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 20px !important;
  font-weight: 700 !important;
  line-height: 1.25 !important;
  color: #ffffff !important;
  margin: 0 !important;
}

/* --- BLOQUE 2: FORMULARIO Y ACUERDOS --- */
.newsletter-center-form-wrap {
  flex: 1 1 auto !important;
  max-width: 480px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.input-inline-group {
  display: flex !important;
  flex-direction: row !important;
  width: 100% !important;
  height: 44px !important;
  border-radius: 6px !important;
  overflow: hidden !important;
}

.input-corporate-email {
  flex: 1 1 auto !important;
  height: 100% !important;
  border: none !important;
  background-color: #ffffff !important;
  padding: 0 16px !important;
  font-family: "Rajdhani", sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #111111 !important;
  outline: none !important;
}

.btn-corporate-subscribe {
  height: 100% !important;
  padding: 0 24px !important;
  background-color: #4361EE !important; /* Rojo oscuro de tu captura AutoZone */
  color: #ffffff !important;
  border: none !important;
  font-family: "Rajdhani", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
}

.btn-corporate-subscribe:hover {
  background-color: #4361EE !important;
}

/* Checkbox inferior de políticas */
.newsletter-agreement-checkbox {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 8px !important;
  cursor: pointer !important;
  user-select: none !important;
  text-align: left !important;
}

.newsletter-agreement-checkbox input[type="checkbox"] {
  margin-top: 3px !important;
  flex-shrink: 0 !important;
}

.newsletter-agreement-checkbox span {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 12px !important;
  font-weight: 500 !important;
  color: #aaaaaa !important;
  line-height: 1.3 !important;
}

/* --- BLOQUE 3: CANALES DE ATENCIÓN --- */
.newsletter-right-channels {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 32px !important;
  flex-shrink: 0 !important;
}

.channel-item-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 12px !important;
}

/* Círculos rojos de la captura */
.channel-circle-icon {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background-color: #4361EE !important; /* Rojo brillante emblemático */
  flex-shrink: 0 !important;
}

.channel-meta-text {
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  line-height: 1.2 !important;
}

.channel-meta-text .label-muted {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  color: #888888 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.channel-meta-text .value-highlight {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  text-decoration: none !important;
}

.channel-meta-text .value-highlight:hover {
  color: #e53935 !important;
}

/* --- BLOQUE 4: DECORACIÓN DE LLANTAS --- */
.newsletter-wheels-graphic-decor {
  position: absolute !important;
  right: 0 !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 280px !important;
  height: 100% !important;
  z-index: 1 !important;
  pointer-events: none !important;
  opacity: 0.25; /* Opacidad sutil para no tapar los textos en laptops */
}

/* Si no colocas imágenes, este bloque simula el acomodo en fila de tu captura */
.wheels-overlap-inner {
  width: 100% !important;
  height: 100% !important;
  background-image: url('') !important; /* Puedes reutilizar tus rines/discos cargados */
  background-repeat: no-repeat !important;
  background-size: contain !important;
  background-position: right center !important;
}

/* --- COMPORTAMIENTO RESPONSIVO (MÓVILES) --- */
@media (max-width: 1200px) {
  .newsletter-bar-container {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 24px !important;
  }
  .newsletter-center-form-wrap,
  .newsletter-left-headlines {
    max-width: 100% !important;
    width: 100% !important;
  }
  .newsletter-wheels-graphic-decor {
    display: none !important; /* Se remueve en tablet/móvil para evitar encimados */
  }
}

@media (max-width: 650px) {
  .newsletter-right-channels {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 16px !important;
  }
}

/* ==========================================================================
   SECCIÓN: REPLICA DE BANNER PREMIUM PANORÁMICO (PERSISTENTE ABAJO)
   ========================================================================== */

.promo-conversion-banner-section {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  z-index: 9999 !important;
  box-sizing: border-box !important;
}

.conversion-banner-card {
  position: relative !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important; /* Separa los textos a la izquierda y las acciones a la derecha */
  min-height: 120px !important;
  max-height: 140px !important;
  border-radius: 0px !important;
  overflow: hidden !important;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, 0.25) !important;
  background-color: #070b08 !important;
  width: 100% !important;
  padding: 0 48px !important; /* Espaciado interno elegante */
  box-sizing: border-box !important;
}

/* 1. Imagen del Flyer de fondo */
.conversion-bg-wrapper {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 1 !important;
}

.conversion-bg-wrapper img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: right center !important; 
}

/* 2. Capa de sombra para lecturas correctas */
.conversion-gradient-overlay {
  position: absolute !important;
  inset: 0 !important;
  background: linear-gradient(90deg, 
    rgba(0, 0, 0, 0.95) 0%, 
    rgba(0, 0, 0, 0.85) 55%, 
    rgba(0, 0, 0, 0.15) 100%
  ) !important;
  z-index: 2 !important;
}

/* 3. Textos alineados a la izquierda */
.conversion-content {
  position: relative !important;
  z-index: 3 !important;
  text-align: left !important;
  color: #ffffff !important;
  max-width: 45% !important; /* Deja espacio suficiente para que la zona derecha no se encime */
}

.conversion-eyebrow {
  display: block !important;
  font-family: "Orbitron", sans-serif !important;
  font-size: 11px !important;
  font-weight: 800 !important;
  color: #bfff00 !important;
  letter-spacing: 1.5px !important;
  margin-bottom: 4px !important;
  text-transform: uppercase !important;
}

.conversion-title {
  font-family: "Orbitron", sans-serif !important;
  font-size: clamp(1.1rem, 1.8vw, 1.5rem) !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  margin: 0 0 4px 0 !important;
  line-height: 1.2 !important;
}

.conversion-text {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: rgba(255, 255, 255, 0.85) !important;
  margin: 0 !important;
}

/* 🎯 4. CONTENEDOR DE ACCIÓN DERECHO (Une botón y logotipo horizontalmente) */
.conversion-right-action-zone {
  position: relative !important;
  z-index: 3 !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 28px !important; /* Espacio de separación entre el botón y el logo */
  flex-shrink: 0 !important;
}

/* 🎯 NUEVO: ESTILO DEL BOTÓN RECTANGULAR CORPORATIVO */
.conversion-rect-button {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  background-color: #a6ff26 !important; /* Verde fosforescente de tu paleta tuning */
  color: #061004 !important; /* Texto oscuro para contraste premium */
  font-family: "Orbitron", sans-serif !important;
  font-weight: 800 !important;
  font-size: 12px !important;
  letter-spacing: 0.06em !important;
  padding: 12px 24px !important;
  border-radius: 4px !important; /* Bordes rectangulares limpios con leve suavizado corporativo */
  text-decoration: none !important;
  text-transform: uppercase !important;
  white-space: nowrap !important;
  transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease !important;
  box-shadow: 0 4px 12px rgba(166, 255, 38, 0.2) !important;
  cursor: pointer !important;
}

.conversion-rect-button:hover {
  transform: translateY(-2px) !important;
  background-color: #bfff00 !important; /* Brillo interactivo leve al pasar el mouse */
  box-shadow: 0 8px 20px rgba(166, 255, 38, 0.35) !important;
}

/* 5. Contenedor del Logotipo Partner */
.conversion-right-logo-area {
  display: flex !important;
  align-items: center !important;
}

.conversion-partner-logo {
  height: auto !important;
  max-height: 65px !important; /* Proporción limpia para la altura de la barra */
  width: auto !important;
  max-width: 160px !important;
  object-fit: contain !important;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3)) !important;
}

/* ==========================================================================
   DISEÑO RESPONSIVO (ADAPTABILIDAD MÓVIL)
   ========================================================================== */
@media (max-width: 992px) {
  .conversion-banner-card {
    padding: 0 24px !important;
  }
  .conversion-right-action-zone {
    gap: 16px !important;
  }
  .conversion-rect-button {
    padding: 10px 18px !important;
    font-size: 11px !important;
  }
  .conversion-partner-logo {
    max-height: 50px !important;
    max-width: 120px !important;
  }
}

@media (max-width: 768px) {
  .conversion-banner-card {
    min-height: 100px !important;
    padding: 14px 20px !important;
  }
  .conversion-text {
    display: none !important; /* Esconde la línea secundaria para liberar espacio vertical */
  }
  .conversion-content {
    max-width: 50% !important;
  }
  .conversion-right-action-zone {
    gap: 12px !important;
  }
  .conversion-rect-button {
    padding: 8px 14px !important;
    font-size: 10px !important;
    letter-spacing: 0.02em !important;
  }
  .conversion-partner-logo {
    max-height: 42px !important;
    max-width: 90px !important;
  }
}

@media (max-width: 480px) {
  /* En pantallas extremadamente pequeñas, el logo se oculta para dar prioridad total al botón de registro */
  .conversion-right-logo-area {
    display: none !important;
  }
  .conversion-content {
    max-width: 55% !important;
  }
}

/* Estilos para el bloque de éxito ampliado */
.tuning-success-lead {
  margin-bottom: 24px !important;
}

/* Alerta de Horario */
.tuning-success-alert {
  background: rgba(166, 255, 36, 0.08) !important;
  border: 1px solid rgba(166, 255, 36, 0.4) !important;
  color: #f4f8ef !important;
  padding: 16px 20px !important;
  border-radius: 8px !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  text-align: left !important;
  line-height: 1.45 !important;
  margin-bottom: 32px !important;
}

.tuning-success-alert strong {
  color: #a6ff26 !important;
  font-family: "Orbitron", sans-serif !important;
  font-size: 13px !important;
  letter-spacing: 0.05em !important;
}

/* Contenedor del Reglamento */
.tuning-rules-container {
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border-radius: 12px !important;
  padding: 24px !important;
  margin-bottom: 32px !important;
  text-align: left !important;
}

.tuning-rules-container h2 {
  font: 700 20px "Orbitron", sans-serif !important;
  color: #fff !important;
  margin: 0 0 4px 0 !important;
  letter-spacing: 0.02em !important;
  text-transform: uppercase !important;
}

.tuning-rules-container h2 span {
  color: #a6ff26 !important;
  font-size: 14px !important;
}

.tuning-rules-subtitle {
  font-size: 14px !important;
  color: #bdc7b3 !important;
  margin: 0 0 20px 0 !important;
  font-weight: 600 !important;
}

/* Scrollbox del Reglamento */
.tuning-rules-scroll {
  max-height: 280px !important;
  overflow-y: auto !important;
  padding-right: 14px !important;
  margin-bottom: 24px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Personalización de la barra de scroll */
.tuning-rules-scroll::-webkit-scrollbar {
  width: 6px !important;
}
.tuning-rules-scroll::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05) !important;
  border-radius: 99px !important;
}
.tuning-rules-scroll::-webkit-scrollbar-thumb {
  background: rgba(166, 255, 38, 0.3) !important;
  border-radius: 99px !important;
}
.tuning-rules-scroll::-webkit-scrollbar-thumb:hover {
  background: #a6ff26 !important;
}

.tuning-rules-scroll h3 {
  font: 700 14px "Orbitron", sans-serif !important;
  color: #a6ff26 !important;
  margin: 20px 0 10px 0 !important;
  letter-spacing: 0.04em !important;
}

.tuning-rules-scroll h3:first-of-type {
  margin-top: 0 !important;
}

.tuning-rules-scroll p, 
.tuning-rules-scroll li {
  font-size: 14.5px !important;
  color: #d9dfd4 !important;
  line-height: 1.5 !important;
  margin-bottom: 8px !important;
}

.tuning-rules-scroll ul {
  padding-left: 20px !important;
  margin: 0 0 14px 0 !important;
  list-style-type: square !important;
}

/* Sección de Aceptación Firmada */
.tuning-rules-acceptance {
  padding-top: 12px !important;
}

.tuning-rules-acceptance h3 {
  font: 700 14px "Orbitron", sans-serif !important;
  color: #fff !important;
  margin: 0 0 12px 0 !important;
  letter-spacing: 0.04em !important;
}

.tuning-rules-acceptance p {
  font-size: 14px !important;
  color: #a8b1a1 !important;
  margin-0: 0 0 12px 0 !important;
}

.tuning-acceptance-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
  display: grid !important;
  gap: 8px !important;
}

.tuning-acceptance-list li {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: #f4f8ef !important;
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  line-height: 1.4 !important;
}

.tuning-check-icon {
  color: #a6ff26 !important;
  font-weight: 900 !important;
  font-size: 14px !important;
}

/* Despedida inferior */
.tuning-success-footer-eyebrow {
  font: 800 16px "Orbitron", sans-serif !important;
  color: #fff !important;
  letter-spacing: 0.05em !important;
  margin: 0 0 28px 0 !important;
  line-height: 1.3 !important;
}

.tuning-success-footer-eyebrow span {
  font-size: 12px !important;
  color: #a6ff26 !important;
  font-weight: 700 !important;
}

/* ==========================================================================
   SOLUCIÓN AJUSTES DE FUENTE ORBITRON EXCLUSIVOS
   ========================================================================== */

/* Utility class para forzar Orbitron de manera limpia y semántica */
.tuning-font-orbitron {
  font-family: "Orbitron", sans-serif !important;
}

/* Modificadores aplicados al título principal de inscripción */
.tuning-success-title {
  margin: 0 0 16px !important;
  font-size: clamp(28px, 4.5vw, 42px) !important; /* Escalabilidad proporcional premium */
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: -0.02em !important;
  text-transform: uppercase !important;
}

/* Párrafo de bajada / Lead informativo */
.tuning-success-lead {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 19px !important;
  font-weight: 600 !important;
  color: #f4f8ef !important;
  line-height: 1.45 !important;
  margin-bottom: 28px !important;
}

/* Ajustes de estilo para el bloque de cierre inferior */
.tuning-success-footer-eyebrow {
  font-size: clamp(14px, 2vw, 18px) !important;
  font-weight: 900 !important;
  color: #ffffff !important;
  letter-spacing: 0.06em !important;
  margin: 36px 0 28px 0 !important;
  text-transform: uppercase !important;
  line-height: 1.3 !important;
}

.tuning-success-footer-eyebrow span {
  font-size: clamp(11px, 1.5vw, 13px) !important;
  color: #a6ff26 !important;
  font-weight: 700 !important;
}

/* Forzar que el botón de Mercado Pago herede Orbitron */
.tuning-pay-button {
  text-transform: uppercase !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em !important;
}

/* ==========================================================================
   MÓDULO DE DIRECCIÓN - VORTEX TUNING SHOW
   ========================================================================== */
.tuning-font-orbitron {
  font-family: "Orbitron", sans-serif !important;
}

.tuning-location-container.location-centered {
  border: 1px dashed rgba(166, 255, 38, 0.25) !important;
  background: rgba(166, 255, 38, 0.02) !important;
  padding: 24px !important;
  border-radius: 6px;
  margin-bottom: 28px;
  
  /* 🎯 Claves para centrar el bloque por completo */
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  text-align: center !important;
}

.tuning-location-container.location-centered h3 {
  font-size: 16px !important;
  font-weight: 800 !important;
  color: #a6ff26 !important;
  margin: 0 0 12px 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em;
}

.tuning-location-text {
  font-family: "Rajdhani", sans-serif;
  font-size: 16px !important;
  font-weight: 600;
  line-height: 1.5 !important;
  color: #f4f8ef !important;
  margin: 0 0 20px 0 !important;
}

.tuning-location-text strong {
  color: #ffffff;
}

.tuning-maps-link {
  display: inline-block !important;
  color: #061004 !important;
  background: #ffffff !important;
  padding: 10px 24px !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.05em;
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.tuning-maps-link:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

@media (max-width: 620px) {
  .index-page {
    overflow-x: hidden;
  }

  .index-page .topbar-container {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 10px;
    padding: 9px 12px !important;
  }

  .index-page .topbar-left {
    min-width: 0;
  }

  .index-page .topbar-right {
    display: contents !important;
  }

  .index-page .topbar-actions {
    grid-column: 2;
    grid-row: 1;
    gap: 4px !important;
    min-width: 0;
  }

  .index-page .account-button,
  .index-page .cart-button {
    padding: 3px 5px !important;
    font-size: 10px !important;
  }

  .index-page .account-button-icon,
  .index-page .cart-button-icon {
    width: 21px !important;
    height: 21px !important;
  }

  .index-page .nav {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
    width: 100% !important;
    min-width: 0;
    display: flex !important;
    justify-content: flex-start !important;
    gap: 17px !important;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 2px 0 5px;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .index-page .nav::-webkit-scrollbar {
    display: none;
  }

  .index-page .nav a {
    flex: 0 0 auto;
    font-size: 14px;
  }

  .index-page .site-footer {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 30px 20px;
  }

  .index-page .site-footer-links {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .index-page .site-footer-links h3 {
    font-size: 1.3rem;
  }

  .index-page .footer-newsletter-corporate-bar {
    padding: 36px 0 !important;
  }

  .index-page .newsletter-bar-container {
    width: 100% !important;
    padding: 0 20px !important;
    gap: 22px !important;
    box-sizing: border-box;
  }

  .index-page .newsletter-left-headlines,
  .index-page .newsletter-center-form-wrap {
    width: 100% !important;
    max-width: none !important;
  }

  .index-page .newsletter-left-headlines h2 {
    font-size: 21px !important;
  }

  .index-page .input-inline-group {
    height: auto !important;
    flex-direction: column !important;
    gap: 8px;
    overflow: visible !important;
  }

  .index-page .input-corporate-email,
  .index-page .btn-corporate-subscribe {
    width: 100% !important;
    min-height: 48px;
    box-sizing: border-box;
    border-radius: 6px !important;
  }

  .index-page .newsletter-right-channels {
    width: 100% !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 18px !important;
  }

  .index-page .channel-meta-text .value-highlight {
    overflow-wrap: anywhere;
  }
}

/* ==========================================================================
   INTERFAZ DE NOTICIAS DE MTM AUTOMOTRIZ (PROPORCIONES PRECISAS)
   ========================================================================== */
.news-articles-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 20px !important;
  width: 100% !important;
}

.news-item-card {
  background: #ffffff !important;
  border: 1px solid rgba(16, 29, 47, 0.08) !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.news-item-card:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 10px 24px rgba(5, 21, 51, 0.06) !important;
}

.news-media-wrap {
  width: 100% !important;
  height: 180px !important; /* Altura controlada idéntica a tus productos en riel */
  overflow: hidden !important;
  background-color: #000000 !important; /* Respaldo para flyers oscuros */
}

.news-media-wrap img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important; /* Mantiene la proporción del flyer intacta */
}

.news-card-body {
  padding: 20px !important;
  display: flex !important;
  flex-direction: column !important;
  text-align: left !important;
  flex-grow: 1 !important;
}

/* Metadatos superiores horizontales */
.news-meta-row {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  font-family: "Rajdhani", sans-serif !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  color: #8290a0 !important;
  margin-bottom: 4px !important;
  text-transform: uppercase !important;
}

.meta-tag {
  font-weight: 700 !important;
}
.tag-event { color: #e53935 !important; } /* Naranja/Rojo sutil */
.tag-auto-parts { color: #8290a0 !important; } /* Gris corporativo */

.meta-author {
  display: block !important;
  font-family: "Rajdhani", sans-serif !important;
  font-size: 11px !important;
  font-weight: 600;
  color: #bdc7b3 !important;
  margin-bottom: 14px !important;
}

/* Títulos y extractos corporativos */
.news-card-body h3 {
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  line-height: 1.25 !important;
  margin: 0 0 10px 0 !important;
  min-height: 40px !important; /* Mantiene simétrica la alineación de las tarjetas */
  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.news-card-body .corporate-text {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  line-height: 1.45 !important;
  color: #5c5c5c !important;
  margin: 0 0 20px 0 !important;
  flex-grow: 1 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important; /* Limita equilibradamente el texto largo */
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

/* Enlaces inferiores de acción */
.news-action-link {
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 1px !important;
  text-decoration: none !important;
  margin-top: auto !important;
  display: inline-block !important;
}

.link-register { color: #0f4f92 !important; } /* Azul destacado para registros */
.link-read { color: #111111 !important; }    /* Negro estándar para lectura regular */

.news-action-link:hover {
  text-decoration: underline !important;
}

/* Ajustes Responsivos */
@media (max-width: 1100px) {
  .news-articles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 650px) {
  .news-articles-grid {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   ESTILOS: CUADRÍCULA DE BANNERS ASIMÉTRICOS (MÓDULO NUEVO)
   ========================================================================== */
.promo-mosaic-section {
  width: 100%;
  max-width: 1400px;
  margin: 32px auto;
  padding: 0 24px;
  box-sizing: border-box;
}

.promo-mosaic-container {
  display: grid;
  grid-template-columns: 1.15fr 1.15fr 1.3fr;
  gap: 16px;
  width: 100%;
}

/* Base Común de las Tarjetas */
.mosaic-card {
  position: relative;
  min-height: 340px;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  overflow: hidden;
  display: flex;
  align-items: center;
}

/* Columna de tarjetas apiladas derechas */
.mosaic-right-stack {
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.mosaic-right-stack .mosaic-card {
  min-height: 162px;
}

/* --- CAPAS DE COLOR Y DEGRADADOS DE CONTRASTE --- */
.mosaic-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.overlay-dark-fade {
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0) 100%);
}

/* --- TEXTOS INTERNOS --- */
.mosaic-content {
  position: relative;
  z-index: 2;
  padding: 32px;
  width: 100%;
  color: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

/* MODIFICADO: Textos limpios sin trazo para el primer banner */
.content-dark-text .mosaic-eyebrow {
  color: #ffffff; 
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  font-weight: 700;
}

.content-dark-text .mosaic-title {
  color: #0140ff !important; /* Azul solicitado */
  -webkit-text-stroke: 0px transparent !important; /* Quita el trazo por completo */
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4); /* Sombra sutil de legibilidad */
}

.content-dark-text .mosaic-text {
  color: #ffffff; 
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
  font-weight: 700;
}

/* --- CLASES DE COLOR DE UTILIDAD --- */
.text-highlight-tuning {
  color: #a6ff26 !important;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.text-pure-white {
  color: #ffffff !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);
}

/* --- TEXTOS ALINEADOS A LA DERECHA Y COMPORTAMIENTO GENERAL --- */
.content-right-aligned {
  align-items: flex-end;
  text-align: right;
  padding-right: 40px;
}

/* Tipografías coordinadas con Rajdhani y Orbitron */
.mosaic-eyebrow {
  font-family: "Rajdhani", sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.text-muted-gray {
  color: #aaaaaa;
}

.mosaic-eyebrow-inline {
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
  font-weight: 700;
  color: #fecc1b; 
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.mosaic-title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.8rem, 2.2vw, 2.5rem);
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 10px 0;
  text-transform: uppercase;
  letter-spacing: -0.5px;
}

.mosaic-title-small {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.3rem, 1.6vw, 1.8rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 6px 0;
  text-transform: uppercase;
}

.mosaic-text {
  font-family: "Rajdhani", sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 24px 0;
}

.certification-registration-page {
  min-height: 100vh;
  margin: 0;
  color: #17253e;
  background: radial-gradient(circle at 15% 5%, rgba(50, 119, 255, .28), transparent 38%), #eef3fb;
  font-family: "Rajdhani", sans-serif;
}

.certification-main { width: min(1320px, calc(100% - 36px)); }
.certification-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr); align-items: stretch; gap: 24px; }
.certification-form-column { min-width: 0; }
.certification-form-column .certification-intro { border-radius: 22px 22px 0 0; }
.certification-form-column .certification-form-card { border-radius: 0 0 22px 22px; }
.certification-information { display: grid; grid-template-rows: auto auto minmax(0, 1fr); gap: 18px; min-width: 0; }
.certification-info-panel { padding: clamp(20px, 2.6vw, 32px); border: 1px solid rgba(125, 176, 255, .48); border-radius: 18px; color: #f4f7ff; background: linear-gradient(135deg, rgba(13, 36, 91, .97), rgba(6, 17, 47, .98)); box-shadow: 0 16px 38px rgba(11, 32, 69, .18); }
.certification-info-panel h2 { margin: 0 0 14px; color: #fff; font: 700 1.12rem "Orbitron", sans-serif; text-transform: uppercase; }
.certification-info-panel ul { display: grid; gap: 12px; margin: 0; padding-left: 20px; }
.certification-info-panel li { padding-left: 2px; color: #edf3ff; font-size: 1.08rem; line-height: 1.25; }
.certification-includes-panel ul { gap: 16px; padding-left: 0; list-style: none; }
.certification-includes-panel li { position: relative; padding-left: 30px; }
.certification-includes-panel li::before { position: absolute; top: 1px; left: 0; display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; color: #fff; background: #1260ed; content: "✓"; font: 700 13px Arial, sans-serif; }
.certification-includes-panel li strong,
.certification-includes-panel li span { display: block; }
.certification-includes-panel li strong { color: #fff; font-weight: 700; }
.certification-includes-panel li span { color: #d3dced; }
.certification-course-panel { display: flex; flex-direction: column; justify-content: center; min-height: 210px; }
.certification-course-panel p { margin: 8px 0 0; color: #e5edfb; font-size: 1.08rem; line-height: 1.3; }
.certification-course-panel .certification-course-date { color: #9bc9ff; font-weight: 700; text-transform: uppercase; }
.certification-course-panel .certification-course-location { font-weight: 700; }
.certification-course-panel .certification-course-instructors { margin-top: 18px; color: #fff; text-transform: uppercase; }

.certification-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px clamp(18px, 6vw, 88px);
  background: #fff;
  box-shadow: 0 4px 20px rgba(15, 39, 80, .08);
}

.certification-header img {
  display: block;
  width: auto;
  height: 54px;
  object-fit: contain;
}

.certification-back-link {
  color: #154dbb;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
}

.certification-main {
  width: min(1320px, calc(100% - 36px));
  margin: 42px auto 72px;
}

.certification-intro {
  padding: clamp(25px, 5vw, 52px);
  border-radius: 24px 24px 0 0;
  color: #fff;
  background: linear-gradient(115deg, rgba(8, 30, 78, .95), rgba(20, 78, 187, .89)), url("/frenado5.jpeg") center 42% / cover;
}

.certification-eyebrow {
  margin: 0 0 12px;
  color: #91d7ff;
  font-size: .95rem;
  font-weight: 700;
  letter-spacing: .18em;
}

.certification-intro h1 {
  margin: 0;
  font: 800 clamp(1.6rem, 4vw, 2.7rem)/1.18 "Orbitron", sans-serif;
  text-transform: uppercase;
}

.certification-intro h1 span { color: #9bc9ff; }
.certification-intro > p:last-child { max-width: 700px; margin: 18px 0 0; font-size: 1.25rem; }

.certification-form-card {
  padding: clamp(22px, 5vw, 48px);
  border: 1px solid #dce5f1;
  border-top: 0;
  border-radius: 0 0 24px 24px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(20, 46, 84, .12);
}

.certification-form-card > h2,
.certification-success h2 {
  margin: 0;
  color: #173c80;
  font: 700 1.45rem "Orbitron", sans-serif;
}

.certification-required-note { margin: 8px 0 24px; color: #64748b; }
.certification-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.certification-fields > label { display: grid; align-content: start; gap: 7px; color: #263b5a; font-size: 1.05rem; font-weight: 700; }
.certification-fields > label span { color: #718096; font-weight: 500; }
.certification-fields > label[hidden] { display: none; }
.certification-fields input,
.certification-fields select {
  width: 100%;
  min-height: 50px;
  padding: 10px 13px;
  border: 1px solid #cbd6e5;
  border-radius: 10px;
  color: #17253e;
  background: #fbfdff;
  font: 500 1rem "Rajdhani", sans-serif;
}
.certification-fields input:focus,
.certification-fields select:focus { border-color: #2866d8; outline: 3px solid rgba(40, 102, 216, .14); }
.certification-field-wide { grid-column: 1 / -1; }
.certification-fields fieldset { display: flex; flex-wrap: wrap; gap: 16px 30px; margin: 0; padding: 0; border: 0; }
.certification-fields legend { margin-bottom: 12px; color: #263b5a; font-size: 1.05rem; font-weight: 700; }
.certification-radio { display: inline-flex; align-items: center; gap: 8px; font-size: 1.05rem; }
.certification-radio input { width: 18px; min-height: auto; height: 18px; accent-color: #1659c7; }
.certification-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.certification-form-error { padding: 12px 14px; border-radius: 10px; color: #8d1d28; background: #fff0f1; }
.certification-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: 100%;
  min-height: 58px;
  margin-top: 26px;
  border: 0;
  border-radius: 10px;
  color: #fff;
  background: #1555c4;
  font: 800 1rem "Orbitron", sans-serif;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.certification-submit:hover { background: #0d419e; transform: translateY(-1px); }
.certification-submit:disabled { opacity: .65; cursor: wait; transform: none; }
.certification-success { padding: 24px 0 8px; text-align: center; }
.certification-success[hidden] { display: none; }
.certification-success-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%; color: #fff; background: #21834f; font-size: 2rem; font-weight: 700; }
.certification-success p { max-width: 650px; margin: 14px auto 22px; color: #475569; font-size: 1.2rem; }
.certification-success a { color: #1555c4; font-weight: 700; }

@media (max-width: 640px) {
  .certification-header { padding: 10px 16px; }
  .certification-header img { height: 43px; max-width: 170px; }
  .certification-back-link { font-size: 1rem; }
  .certification-main { width: min(100% - 24px, 600px); margin: 22px auto 40px; }
  .certification-intro { border-radius: 18px 18px 0 0; }
  .certification-form-card { border-radius: 0 0 18px 18px; }
  .certification-fields { grid-template-columns: 1fr; gap: 16px; }
  .certification-field-wide { grid-column: auto; }
  .certification-fields fieldset { grid-column: auto; }
  .certification-layout { grid-template-columns: minmax(0, 1fr); align-items: start; gap: 20px; }
  .certification-information { grid-template-rows: auto auto auto; }
  .certification-course-panel { min-height: 0; }
}

@media (min-width: 641px) and (max-width: 920px) {
  .certification-layout { grid-template-columns: minmax(0, 1fr) minmax(260px, .75fr); gap: 16px; }
  .certification-form-card { padding: 24px; }
  .certification-fields { grid-template-columns: minmax(0, 1fr); }
  .certification-field-wide { grid-column: auto; }
}

.certification-registrations-table th,
.certification-registrations-table td { min-width: 120px; }

/* --- BOTONES DE LLAMADO A LA ACCIÓN --- */
.btn-mosaic-shop {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: #111111;
  color: #ffffff;
  font-family: "Rajdhani", sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 10px 24px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* MODIFICADO: Botón Inscríbete Ahora en color azul */
.btn-mosaic-shop.btn-frenos-blue {
  background-color: #0140ff !important;
  color: #ffffff !important;
  font-weight: 700;
}

.btn-mosaic-shop.btn-tuning-green {
  background-color: #a6ff26 !important;
  color: #061004 !important; 
  font-weight: 800;
}

.btn-mosaic-shop.shop-white {
  background-color: #ffffff;
  color: #111111;
}

.btn-mosaic-shop .arrow {
  margin-left: 8px;
  font-size: 10px;
}

/* --- DISEÑO RESPONSIVO AUTOMÁTICO --- */
@media (max-width: 992px) {
  .promo-mosaic-container {
    grid-template-columns: repeat(2, 1fr); 
  }
  .mosaic-right-stack {
    grid-column: span 2; 
    grid-template-columns: repeat(2, 1fr); 
    grid-template-rows: none;
  }
  .mosaic-right-stack .mosaic-card {
    min-height: 220px;
  }
}

@media (max-width: 600px) {
  .promo-mosaic-container {
    grid-template-columns: 1fr; 
  }
  .mosaic-card {
    min-height: 280px !important;
  }
  .mosaic-right-stack {
    grid-column: auto;
    grid-template-columns: 1fr;
  }
  .content-right-aligned {
    align-items: flex-start;
    text-align: left;
  }
  .overlay-dark-fade { 
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.75) 100%); 
  }
}

/* Ampliar el modal para albergar cómodamente ambos flyers uno al lado del otro */
.tuning-promo-card.promo-modal-wide {
  width: min(100%, 1120px) !important; 
  background: #040604 !important;
}

/* Contenedor Grid / Flexbox de dos columnas */
.promo-split-container {
  display: flex;
  flex-direction: row;
  width: 100%;
  align-items: stretch;
}

/* Cada columna ocupa el 50% exacto y se distribuye verticalmente */
.promo-split-column {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #080b08;
}

/* Separador visual sutil entre los dos eventos */
.promo-split-column.tuning-theme {
  border-right: 1px solid rgba(164, 255, 36, 0.15);
}

.promo-column-media {
  width: 100%;
  aspect-ratio: 16 / 13; /* Forzar proporción exacta para que ambos flyers se alineen perfectamente */
  overflow: hidden;
  background: #000;
}

.promo-column-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Adaptabilidad para Smartphones (Stacking vertical) */
@media (max-width: 860px) {
  .tuning-promo-card.promo-modal-wide {
    max-height: 90vh;
    overflow-y: auto;
  }
  
  .promo-split-container {
    flex-direction: column; /* Se apila un evento arriba del otro en celulares */
  }
  
  .promo-split-column.tuning-theme {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* ==========================================================================
   BOTÓN NAV DE SOPORTE INTERACTIVO (ESTRUCTURA DE CAPTURA + PERSISTENTE)
   ========================================================================== */

.support-dropdown-container {
  position: relative;
  display: inline-block;
}

/* Estilo base del botón en la navbar */
.support-nav-button {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: var(--text, #111111) !important;
  font-family: "Rajdhani", sans-serif !important;
  font-weight: 600 !important;
  font-size: 13px !important;
  gap: 4px !important;
  padding: 4px 12px !important;
}

.support-nav-icon {
  height: 22px !important;
  width: 22px !important;
  object-fit: contain !important;
}

.support-nav-label-wrapper {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  width: 100% !important;
}

.support-nav-arrow {
  font-size: 8px;
  color: var(--muted, #5c5c5c);
  display: inline-block;
}

/* ─── VENTANITA DESPLEGABLE (MANTENER HOVER ACTIVO) ─── */
.support-tooltip-window {
  position: absolute;
  /* 🎯 CLAVE PERSISTENCIA: 'top: 100%' elimina la brecha vacía para que el cursor no rompa el hover */
  top: 100%; 
  left: 50%;
  transform: translateX(-50%);
  width: 290px; /* Ancho idéntico y optimizado para albergar el formato de la captura */
  background: #ffffff;
  border: 1px solid rgba(16, 29, 47, 0.08);
  border-radius: 6px; /* Esquinas ligeramente suavizadas estilo AutoZone */
  padding: 24px;
  box-shadow: 0 12px 38px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  margin-top: 8px; /* Pequeño margen empujado de forma interna segura */
  
  /* Oculto por defecto */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease-in-out, visibility 0.2s ease-in-out;
}

/* Área invisible de seguridad para suavizar el puente del mouse hacia abajo */
.support-tooltip-window::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 0;
  width: 100%;
  height: 12px;
  background: transparent;
}

/* Flecha superior del tooltip */
.support-tooltip-arrow {
  position: absolute;
  top: -5px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: #ffffff;
  border-left: 1px solid rgba(16, 29, 47, 0.08);
  border-top: 1px solid rgba(16, 29, 47, 0.08);
}

/* ─── DISEÑO DE CONTENIDOS INTERNOS ─── */

/* Fila de Perfil Experto */
.support-expert-profile {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 14px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid rgba(16, 29, 47, 0.08) !important;
  text-align: left !important;
}

.support-avatar-wrap {
  width: 52px !important;
  height: 52px !important;
  border-radius: 50% !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  background: #f0f0f0 !important;
}

.support-avatar-img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

.support-expert-info {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.2 !important;
}

.support-expert-title {
  margin: 0 0 2px 0 !important;
  font-family: "Rajdhani", sans-serif !important;
  font-size: 18px !important;
  font-weight: 700 !important;
  color: #111111 !important;
}

.support-expert-subtitle {
  margin: 0 0 6px 0 !important;
  font-family: "Rajdhani", sans-serif !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  color: #858585 !important;
}

.support-expert-phone {
  font-family: "Rajdhani", sans-serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #111111 !important;
  text-decoration: none !important;
}

/* Botón Interactivo de WhatsApp (Chat With Us) */
.support-whatsapp-btn {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  width: 100% !important;
  height: 44px !important;
  margin: 16px 0 !important;
  border: 1px solid rgba(15, 79, 146, 0.2) !important;
  border-radius: 4px !important;
  background-color: #ffffff !important;
  color: #0f4f92 !important; /* Azul cobalto idéntico a tu pasarela de checkout */
  font-family: "Rajdhani", sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background-color 0.15s ease, border-color 0.15s ease !important;
  box-sizing: border-box !important;
}

.support-whatsapp-btn:hover {
  background-color: rgba(15, 79, 146, 0.04) !important;
  border-color: #0f4f92 !important;
}

.support-whatsapp-icon {
  width: 18px !important;
  height: 18px !important;
  object-fit: contain !important;
}

/* Meta de horarios inferior */
.support-hours-meta {
  text-align: left !important;
  line-height: 1.3 !important;
}

.support-hours-days {
  margin: 0 0 2px 0 !important;
  font-family: "Rajdhani", sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  color: #858585 !important;
}

.support-hours-time {
  margin: 0 !important;
  font-family: "Rajdhani", sans-serif !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  color: #111111 !important;
}

/* ─── DETONADOR DE ACCIÓN (HOVER PERSISTENTE) ─── */
.support-dropdown-container:hover .support-tooltip-window {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Ajustes de adaptabilidad móvil */
@media (max-width: 620px) {
  .support-nav-button {
    padding: 3px 5px !important;
    font-size: 10px !important;
  }
  .support-nav-icon {
    width: 21px !important;
    height: 21px !important;
  }
  .support-tooltip-window {
    position: fixed;
    top: 90px;
    left: 16px;
    right: 16px;
    width: auto;
    transform: none;
    padding: 18px;
  }
  .support-tooltip-arrow {
    display: none;
  }
}
