/* ==========================================================================
   RESET & VARIABLES GENERALES
   ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-red: #ea3d33;
  --dark-red-bg: #771a17;
  --dark-bg: #141416;
  --text-white: #ffffff;
  --font-main: "Montserrat", sans-serif;
}

body {
  font-family: var(--font-main);
  background-color: var(--dark-bg);
  color: var(--text-white);
  overflow-x: hidden;
}

/* ==========================================================================
   HEADER / NAVEGACIÓN
   ========================================================================== */
.header {
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  padding: 15px 40px;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0));
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-white);
}

.logo-icon {
  width: 100px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  margin-bottom: 3px;
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.bike-svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff;
}

.logo-text {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Menú de Navegación */
.nav-menu ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--text-white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.5px;
  transition: color 0.3s ease;
}

.nav-menu a:hover,
.nav-menu a.active {
  color: var(--primary-red);
}

/* Botón Hamburguesa */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.menu-toggle span {
  width: 100%;
  height: 3px;
  background-color: var(--text-white);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding-top: 80px;
  /* Imagen de fondo en formato WEBP */
  background-image: url("../assets/hero-bike.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay dual con transparencia reducida para dar más presencia a la imagen de la bici */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(18, 18, 20, 0.78) 0%,
    rgba(18, 18, 20, 0.7) 49.5%,
    rgba(150, 20, 20, 0.55) 50%,
    rgba(130, 15, 15, 0.55) 100%
  );
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 50px;
}

.hero-content {
  max-width: 550px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7); /* Sombra para resaltar el texto sobre el fondo */
}

.hero-subtitle {
  display: block;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 1.5px;
  margin-bottom: 25px;
  color: var(--text-white);
}

.hero-title {
  font-size: 52px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.05;
  text-transform: uppercase;
  margin-bottom: 35px;
  color: var(--text-white);
}

.hero-specs {
  margin-bottom: 35px;
}

.hero-specs h3 {
  font-size: 18px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 1px;
  margin-bottom: 18px;
}

.hero-specs ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hero-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
}

.bullet-icon {
  font-size: 14px;
}

/* Botón CTA (COMPRAR YA!) */
.btn-cta {
  display: inline-block;
  background-color: var(--primary-red);
  color: var(--text-white);
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 4px 15px rgba(234, 61, 51, 0.4);
  transition:
    background-color 0.3s ease,
    transform 0.2s ease,
    box-shadow 0.3s ease;
}

.btn-cta:hover {
  background-color: #c92f26;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(234, 61, 51, 0.6);
}

/* ==========================================================================
   BANDEJA BLANCA / ÚLTIMOS LANZAMIENTOS
   ========================================================================== */
.section-banner {
  background-color: #ffffff;
  padding: 60px 20px;
  text-align: center;
  width: 100%;
}

.section-banner h2 {
  color: #141416;
  font-size: 38px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ==========================================================================
   SECCIÓN COLECCIÓN (BACKGROUND FIJO)
   ========================================================================== */
.collection-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 100px 0;
  /* Imagen de la nueva bicicleta en WebP */
  background-image: url("../assets/collection-bike.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; /* Mantiene la imagen fija al hacer scroll */
}

.collection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65); /* Filtro oscuro para resaltar texto */
  z-index: 1;
}

.collection-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 50px;
}

.collection-content {
  max-width: 680px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.collection-subtitle {
  display: block;
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  color: var(--text-white);
  text-transform: uppercase;
}

.collection-title {
  font-size: 48px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: var(--text-white);
}

.collection-description {
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 30px;
  font-weight: 500;
}

/* Grilla de 2 columnas para especificaciones */
.collection-features {
  display: flex;
  gap: 30px;
  margin-bottom: 35px;
}

.features-column {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  flex: 1;
}

.features-column li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-white);
}

/* Botón flotante "Volver arriba" (Red button en la esquina inferior derecha) */
.scroll-top-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background-color: var(--primary-red);
  color: #ffffff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 99;
}

.scroll-top-btn.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top-btn:hover {
  background-color: #c92f26;
}

/* ==========================================================================
   SECCIÓN BICICLETAS URBANAS (BACKGROUND FIJO)
   ========================================================================== */
.urban-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 100px 0;
  /* Imagen de la bicicleta urbana en WebP */
  background-image: url("../assets/urban-bike.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.urban-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.urban-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 50px;
}

.urban-content {
  max-width: 680px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.urban-subtitle {
  display: block;
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  color: var(--text-white);
  text-transform: uppercase;
}

.urban-title {
  font-size: 48px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: var(--text-white);
}

.urban-description {
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 30px;
  font-weight: 500;
}

.urban-features {
  display: flex;
  gap: 30px;
  margin-bottom: 35px;
}
/* ==========================================================================
   SECCIÓN BICICLETAS ESPECIALES (BACKGROUND FIJO)
   ========================================================================== */
.special-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 100px 0;
  /* Imagen de la bicicleta especial en WebP */
  background-image: url("../assets/special-bike.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

.special-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.65);
  z-index: 1;
}

.special-container {
  position: relative;
  z-index: 2;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  padding: 0 50px;
}

.special-content {
  max-width: 680px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.special-subtitle {
  display: block;
  font-size: 18px;
  font-weight: 800;
  font-style: italic;
  letter-spacing: 1.5px;
  margin-bottom: 12px;
  color: var(--text-white);
  text-transform: uppercase;
}

.special-title {
  font-size: 48px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: var(--text-white);
}

.special-description {
  font-size: 16px;
  line-height: 1.6;
  color: #e0e0e0;
  margin-bottom: 30px;
  font-weight: 500;
}

.special-features {
  display: flex;
  gap: 30px;
  margin-bottom: 35px;
}
.special-features {
  flex-direction: column;
  gap: 15px;
}
/* ==========================================================================
   SECCIÓN ¿POR QUÉ ELEGIR ECO BIKE?
   ========================================================================== */
.why-us-section {
  background-color: #ffffff;
  padding: 80px 20px;
  width: 100%;
}

.why-us-container {
  max-width: 1400px;
  margin: 0 auto;
}

.why-us-title {
  color: #141416;
  font-size: 42px;
  font-weight: 900;
  font-style: italic;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 50px;
}

/* Grillas de tarjetas */
.why-us-grid-top {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 25px;
  margin-bottom: 25px;
}

.why-us-grid-bottom {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

/* Estilos base de tarjetas */
.why-card {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.why-card.main-card {
  min-height: 320px;
}

.why-card.sub-card {
  min-height: 220px;
}

.why-card-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95) 0%,
    rgba(0, 0, 0, 0.45) 55%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: 1;
}

.why-card-content {
  position: relative;
  z-index: 2;
  padding: 25px;
  color: var(--text-white);
  width: 100%;
}

.why-card-content h3 {
  font-size: 24px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.why-card-content p {
  font-size: 14px;
  line-height: 1.5;
  color: #e0e0e0;
  font-weight: 500;
}
/* Fondos específicos de tarjetas */
.card-liviana {
  background-image: url("../assets/why-liviana.webp");
}

.card-duradera {
  background-image: url("../assets/why-duradera.webp");
}

.card-servicio {
  background-image: url("../assets/why-servicio.webp");
}

.card-garantia {
  background-image: url("../assets/why-garantia.webp");
}

.card-ergonomico {
  background-image: url("../assets/why-ergonomico.webp");
}
/* ==========================================================================
   SECCIÓN ACCESORIOS ECO BIKE
   ========================================================================== */
.accessories-section {
  background-color: #ffffff;
  padding: 80px 20px;
  width: 100%;
}

.accessories-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.accessories-title {
  color: #141416;
  font-size: 42px;
  font-weight: 900;
  font-style: italic;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 50px;
}

/* Forzar 4 columnas en escritorio */
.accessories-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 20px;
  margin-bottom: 50px;
  width: 100%;
}

.product-card {
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 100%;
}

.product-card:hover {
  transform: translateY(-4px);
}

.product-image-wrapper {
  background-color: #f2f2f2;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px;
  margin-bottom: 15px;
  border-radius: 2px;
  overflow: hidden;
}

.product-image-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image-wrapper img {
  transform: scale(1.05);
}

.product-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.product-category {
  font-size: 13px;
  color: #888888;
  font-weight: 500;
}

.product-title {
  font-size: 15px;
  font-weight: 900;
  font-style: italic;
  color: #141416;
  text-transform: uppercase;
  line-height: 1.2;
}

.product-price {
  font-size: 15px;
  font-weight: 700;
  color: #555555;
}

.accessories-btn-wrapper {
  text-align: center;
}
/* ==========================================================================
   SECCIÓN SUMATE AL PROGRAMA #ECOBIKING
   ========================================================================== */
.ecobiking-section {
  background-color: #ffffff;
  padding: 80px 20px;
  width: 100%;
}

.ecobiking-container {
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

.ecobiking-title {
  color: #141416;
  font-size: 42px;
  font-weight: 900;
  font-style: italic;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 40px;
}

/* Banner de Video */
.ecobiking-media {
  position: relative;
  width: 100%;
  height: 520px;
  background-image: url("../assets/ecobiking-banner.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: 40px;
}

.ecobiking-media-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 1;
}

/* Botón Reproducir Video */
.ecobiking-play-btn {
  position: absolute;
  bottom: 35px;
  left: 35px;
  z-index: 2;
  background: transparent;
  border: none;
  display: flex;
  align-items: center;
  gap: 15px;
  cursor: pointer;
  color: #ffffff;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.ecobiking-play-btn:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

.ecobiking-play-btn .play-icon {
  width: 45px;
  height: 45px;
  fill: #ffffff;
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.5));
}

/* Información Inferior */
.ecobiking-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.ecobiking-text {
  max-width: 650px;
}

.ecobiking-subtitle {
  font-size: 26px;
  font-weight: 900;
  font-style: italic;
  color: #141416;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ecobiking-description {
  font-size: 15px;
  line-height: 1.6;
  color: #555555;
  font-weight: 500;
}

.ecobiking-action {
  flex-shrink: 0;
}
/* ==========================================================================
   SECCIÓN PROMO X26 MTB (EFECTO FIJO CON DEGRADADO A NEGRO)
   ========================================================================== */
.promo-x26-section {
  position: relative;
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 20px;
  /* Imagen de fondo fija */
  background-image: url("../assets/promo-x26.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Overlay con degradado progresivo hacia negro puro en el fondo */
.promo-x26-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.4) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0.95) 85%,
    #000000 100%
  );
  z-index: 1;
}

.promo-x26-container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.promo-x26-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.promo-x26-subtitle {
  display: block;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 2px;
  margin-bottom: 10px;
  color: var(--text-white);
  text-transform: uppercase;
}

.promo-x26-title {
  font-size: 52px;
  font-weight: 900;
  font-style: italic;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 25px;
  color: var(--text-white);
  letter-spacing: 1px;
}

.promo-x26-description {
  font-size: 16px;
  line-height: 1.7;
  color: #e0e0e0;
  margin-bottom: 35px;
  font-weight: 500;
  max-width: 800px;
}
/* ==========================================================================
   FOOTER ECO BIKE
   ========================================================================== */
.site-footer {
  background-color: #141416;
  color: #ffffff;
  padding-top: 80px;
  padding-bottom: 30px;
  width: 100%;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 40px;
}

/* Grilla Principal */
.footer-main {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 80px;
}

/* Columna Marca / Logo */
.footer-brand {
  display: flex;
  align-items: center;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.logo-circle {
  width: 110px;
  height: 110px;
  border: 3px solid #e53935;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.logo-circle svg {
  width: 100%;
  height: 100%;
  stroke: #ffffff;
}

.logo-text {
  font-size: 28px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
}

/* Titulos e Listas */
.footer-heading {
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 25px;
  letter-spacing: 0.5px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(3px);
}

/* Sub-footer (Copyright y Redes) */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: #aaaaaa;
  font-size: 14px;
  font-weight: 500;
}

.footer-social-wrapper {
  display: flex;
  align-items: center;
  gap: 25px;
}

.social-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.social-icons a {
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.social-icons a:hover {
  opacity: 0.75;
  transform: translateY(-2px);
}

.social-icons svg {
  width: 20px;
  height: 20px;
}

/* Botón Volver Arriba */
.back-to-top {
  background-color: #e53935;
  color: #ffffff;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
  margin-left: 15px;
}

.back-to-top:hover {
  background-color: #c62828;
  transform: translateY(-2px);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* ==========================================================================
   SECCIÓN TIENDA (tienda.php)
   ========================================================================== */
.tienda-container {
  padding: 130px 20px 60px 20px;
  max-width: 1400px;
  margin: 0 auto;
}

.tienda-titulo {
  text-align: center;
  font-style: italic;
  font-weight: 900;
  margin-bottom: 40px;
}

/* Filtros y Formulario */
.filtro-form {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  justify-content: center;
  align-items: center;
}

.filtro-input {
  padding: 10px 15px;
  width: 280px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.filtro-select {
  padding: 10px 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.btn-buscar {
  padding: 10px 25px;
}

.btn-limpiar {
  padding: 10px 15px;
  text-decoration: none;
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.btn-limpiar:hover {
  color: var(--primary-red);
}

/* Grilla y Tarjetas de Producto de la Tienda */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  border: 1px solid #eee;
  padding: 20px;
  border-radius: 4px;
  text-align: center;
  background-color: #ffffff;
}

.product-card-img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  margin-bottom: 15px;
}

.product-code {
  display: block;
  font-size: 12px;
  color: #888888;
  text-transform: uppercase;
}

.product-title {
  font-size: 20px;
  margin: 10px 0;
  font-weight: 800;
  color: #141416;
}

.product-price {
  color: var(--primary-red);
  font-size: 22px;
  font-weight: 900;
  margin-bottom: 15px;
}

.btn-detalle {
  display: inline-block;
  width: 100%;
  text-align: center;
}

.no-products {
  grid-column: 1 / -1;
  text-align: center;
  color: #666666;
  font-size: 16px;
  padding: 40px 0;
}

/* Paginación */
.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 50px;
  align-items: center;
}

.pagination-link {
  padding: 8px 14px;
  border: 1px solid #ccc;
  background: #ffffff;
  color: #333333;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: all 0.2s ease;
}

.pagination-link:hover {
  border-color: var(--primary-red);
  color: var(--primary-red);
}

.pagination-link.active {
  border-color: var(--primary-red);
  background: var(--primary-red);
  color: #ffffff;
}

.pagination-nav {
  padding: 8px 16px;
}

/* ==========================================================================
   DETALLE DE PRODUCTO (producto.php)
   ========================================================================== */
.producto-detalle-container {
  padding: 130px 20px 80px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.producto-detalle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 50px;
  align-items: center;
}

.producto-imagen-wrapper {
  text-align: center;
  background: #f9f9f9;
  padding: 40px;
  border-radius: 8px;
}

.producto-imagen {
  max-width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
}

.producto-info {
  display: flex;
  flex-direction: column;
}

.producto-categoria {
  color: var(--primary-red, #e53935);
  font-weight: 900;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
}

.producto-titulo {
  font-size: 38px;
  font-weight: 900;
  font-style: italic;
  margin: 10px 0 15px;
  text-transform: uppercase;
  line-height: 1.1;
}

.producto-meta {
  color: #777777;
  font-size: 14px;
  margin-bottom: 20px;
}

.producto-meta strong {
  color: #333333;
}

.producto-precio {
  font-size: 36px;
  font-weight: 900;
  color: #141416;
  margin-bottom: 25px;
}

.producto-acciones {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background-color: #25d366;
  color: #ffffff;
  text-decoration: none;
  padding: 15px 30px;
  font-weight: bold;
  border-radius: 5px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.btn-whatsapp:hover {
  background-color: #1ebd56;
  transform: translateY(-2px);
}

.btn-volver {
  display: inline-block;
  color: #555555;
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.btn-volver:hover {
  color: var(--primary-red, #e53935);
}

/* ==========================================================================
   ESTILOS GENERALES DEL PANEL DE ADMINISTRACIÓN
   ========================================================================== */
:root {
  --admin-primary: #e53935;
  --admin-primary-hover: #c62828;
  --admin-bg: #f4f5f7;
  --admin-card-bg: #ffffff;
  --admin-text: #141416;
  --admin-border: #e0e0e0;
  --admin-error-bg: #ffebee;
  --admin-error-text: #c62828;
}

body.admin-body {
  font-family:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: var(--admin-bg);
  color: var(--admin-text);
  margin: 0;
  padding: 40px 20px;
}

.admin-container {
  max-width: 650px;
  margin: 0 auto;
  background-color: var(--admin-card-bg);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--admin-border);
}

.admin-header {
  margin-bottom: 25px;
  border-bottom: 2px solid var(--admin-bg);
  padding-bottom: 15px;
}

.admin-title {
  font-size: 24px;
  font-weight: 800;
  margin: 0;
  color: var(--admin-text);
  text-transform: uppercase;
}

/* Alertas */
.alert {
  padding: 12px 16px;
  border-radius: 6px;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 14px;
}

.alert-error {
  background-color: var(--admin-error-bg);
  color: var(--admin-error-text);
  border: 1px solid #ffcdd2;
}

/* Formularios */
.admin-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
  color: #333333;
}

.form-input,
.form-select,
.form-textarea,
.form-file {
  width: 100%;
  padding: 10px 12px;
  font-size: 14px;
  border: 1px solid var(--admin-border);
  border-radius: 4px;
  background-color: #ffffff;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--admin-primary);
  box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 90px;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 10px;
}

/* Botones */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
  border: none;
  transition: background-color 0.2s ease;
  text-align: center;
}

.btn-primary {
  background-color: var(--admin-primary);
  color: #ffffff;
}

.btn-primary:hover {
  background-color: var(--admin-primary-hover);
}

.btn-secondary {
  background-color: transparent;
  color: #666666;
}

.btn-secondary:hover {
  color: #141416;
}
/* ==========================================================================
   NOSOTROS: HERO (SECCIÓN OSCURA SUPERIOR)
   ========================================================================== */
/* ==========================================================================
   NOSOTROS: SECCIÓN PRINCIPAL (FONDO BICICLETA)
   ========================================================================== */
.quienes-somos-section {
  position: relative;
  width: 100%;
  /* 1.  FOTO DE LA BICICLETA */
  background-image: url("../assets/collection-bike.webp");
  background-size: cover;
  background-position: center top;
  background-repeat: no-repeat;

  padding-top: 80px; /* Espacio superior para que respire el título */
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden; /* Evita scroll horizontal indeseado */
}

.quienes-somos-title {
  color: #ffffff;
  font-size: clamp(55px, 6vw, 72px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin: 80px 0 60px 0; /* Espacio entre el título y la foto de ciclistas */
  text-align: center;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  z-index: 2;
}

/* ==========================================================================
   TARJETA DE VIDEO (FONDO CICLISTAS AL 100% + FILTRO SPECTRA)
   ========================================================================== */
.quienes-somos-video-card {
  position: relative;

  /* El truco para forzar el ancho absoluto de borde a borde */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);

  min-height: 550px; /* Altura del bloque de los ciclistas */
  display: flex;
  align-items: flex-end; /* Empuja el botón hacia abajo */
  padding: 50px 8%; /* Ajusta el margen interno del botón */
  box-sizing: border-box;

  /* 2. ACÁ VA LA FOTO DE LOS CICLISTAS (Copiado de tu original) */
  background-image: url("../assets/nosotros-video.webp");
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

/* Filtro Original de Spectra Superpuesto */
.quienes-somos-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    182deg,
    rgba(9, 9, 10, 0.33) 56%,
    rgb(5, 5, 5) 100%
  );
  opacity: 0.9;
  z-index: 1;
  pointer-events: none; /* Permite hacer clic a través del filtro */
}

/* Estilos del Botón "Mira el Video" (idéntico a la foto original) */
.video-play-btn {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 32px); /* Letra grande */
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.video-play-btn:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

.video-play-btn .play-icon {
  width: 50px; /* Ícono de play más grande */
  height: 50px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}

/* ==========================================================================
   NOSOTROS: MOMENTOS (SECCIÓN BLANCA 100% ANCHO DE PANTALLA)
   ========================================================================== */
.momentos-section {
  width: 100%;
  background-color: #ffffff;
  padding: 60px 15px 80px; /* 15px a los lados crea el margen blanco con el borde */
  box-sizing: border-box;
}

.momentos-title {
  text-align: center;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  font-style: italic;
  color: #141416;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 35px 0;
}

.momentos-grid {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.momentos-row {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 15px;
  width: 100%;
  height: 500px;
}

.momentos-row-reverse {
  grid-template-columns: 1.35fr 1fr;
}

.momentos-stack {
  display: flex;
  flex-direction: column;
  gap: 15px;
  height: 100%;
}

.momentos-stack .momento-card {
  flex: 1;
}

.momento-card {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #141416;
  border-radius: 2px;
}

.momento-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.momento-card:hover .momento-img {
  transform: scale(1.04);
}

.momento-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.85) 0%,
    rgba(0, 0, 0, 0.15) 60%,
    transparent 100%
  );
  pointer-events: none;
}

.momento-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
}

.momento-info h3 {
  color: #ffffff;
  font-size: clamp(15px, 1.8vw, 22px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  margin: 0 0 4px 0;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.momento-year {
  color: #e53935;
  font-size: clamp(14px, 1.5vw, 18px);
  font-weight: 900;
  font-style: italic;
  display: block;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

/* ==========================================================================
   SECCIÓN CÓMO TRABAJAMOS
   ========================================================================== */
.como-trabajamos-section {
  width: 100%;
  background-color: #ffffff;
  padding: 80px 20px 100px;
  box-sizing: border-box;
}

.como-trabajamos-container {
  max-width: 1200px;
  margin: 0 auto;
}

.como-trabajamos-title {
  text-align: center;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  font-style: italic;
  color: #141416;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 60px 0;
}

.como-trabajamos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.paso-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.paso-number {
  color: #e53935;
  font-size: 20px;
  font-weight: 900;
  font-style: italic;
  margin-bottom: 12px;
  display: block;
}

.paso-title {
  color: #141416;
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  margin: 0 0 14px 0;
}

.paso-desc {
  color: #4a4a4e;
  font-size: 15px;
  line-height: 1.55;
  margin: 0;
  font-weight: 400;
}
/* ==========================================================================
   SECCIÓN BANNER GOECOBIKING
   ========================================================================== */
.goecobiking-section {
  position: relative;
  z-index: 2; /* Mantiene la sección por encima del parallax que viene abajo */
  width: 100%;
  background-color: #ffffff;
  padding: 80px 20px;
  box-sizing: border-box;
}

.goecobiking-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.goecobiking-content {
  max-width: 700px;
}

.goecobiking-title {
  color: #141416;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 14px 0;
  line-height: 1.1;
}

.goecobiking-text {
  color: #4a4a4e;
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.55;
  margin: 0;
  font-weight: 400;
}

.goecobiking-action {
  flex-shrink: 0;
}

.goecobiking-btn {
  display: inline-block;
  background-color: #e53935;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  text-decoration: none;
  padding: 18px 36px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.goecobiking-btn:hover {
  background-color: #d32f2f;
  transform: translateY(-2px);
}
/* ==========================================================================
   SECCIÓN JOIN #GOECOBIKING PROGRAMME (CICLISTA VERDE)
   ========================================================================== */
.join-programme-section {
  position: relative; /* Obligatorio para posicionar la capa transparente */
  width: 100%;

  /* 1. Ponemos la imagen del ciclista de fondo de la sección */
  background-image: url("../assets/cielo-celeste.webp"); /* Reemplaza con la ruta de tu imagen */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  padding-top: 100px; /* Ajustado al padding que se veía en tu primer inspector */
  padding-bottom: 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow-x: hidden;
}
.join-programme-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff75; /* El color con transparencia que querías */
  z-index: 1; /* Se coloca encima del fondo pero debajo del texto */
}
.join-programme-section > * {
  position: relative;
  z-index: 2;
}
.join-programme-header {
  padding: 0 20px 40px;
  text-align: center;
}

.join-programme-title {
  color: #141416;
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
  line-height: 1.1;
}

/* Tarjeta con la foto del ciclista de verde de borde a borde */
.join-programme-video-card {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: 550px;
  display: flex;
  align-items: flex-end;
  padding: 50px 8%;
  box-sizing: border-box;

  /* IMAGEN DEL CICLISTA VERDE SOLO */
  background-image: url("../assets/ciclista-verde-solo.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.9;
}

/* Filtro gradiente Spectra superpuesto */
.join-programme-video-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    182deg,
    rgba(9, 9, 10, 0.33) 56%,
    rgb(5, 5, 5) 100%
  );
  opacity: 0.9;
  z-index: 1;
  pointer-events: none;
}

/* Botón de reproducción */
.join-programme-video-card .video-play-btn {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 900;
  font-style: italic;
  font-size: clamp(18px, 2.5vw, 32px);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.9);
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.join-programme-video-card .video-play-btn:hover {
  transform: scale(1.03);
  opacity: 0.95;
}

.join-programme-video-card .play-icon {
  width: 50px;
  height: 50px;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.8));
}
/* ==========================================================================
   BANNER PEDALEÁ CON #GOECOBIKING
   ========================================================================== */
.goecobiking-banner {
  position: relative;
  z-index: 2; /* Asegura quedar por arriba del fondo parallax que viene abajo */
  width: 100%;
  background-color: #ffffff;
  padding: 60px 20px;
  box-sizing: border-box;
}

.goecobiking-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.goecobiking-banner-text {
  max-width: 680px;
}

.goecobiking-banner-title {
  color: #111111;
  font-size: clamp(28px, 3.5vw, 42px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px 0;
  line-height: 1.1;
}

.goecobiking-banner-desc {
  color: #444444;
  font-size: clamp(15px, 1.4vw, 17px);
  line-height: 1.5;
  margin: 0;
  font-weight: 400;
}

.goecobiking-banner-action {
  flex-shrink: 0;
}

.goecobiking-banner-btn {
  display: inline-block;
  background-color: #e53935;
  color: #ffffff;
  font-size: 15px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 32px;
  letter-spacing: 0.5px;
  white-space: nowrap;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.goecobiking-banner-btn:hover {
  background-color: #d32f2f;
  transform: translateY(-2px);
}
/* ==========================================================================
   SECCIÓN PARALLAX PROMO (ECO BIKE X26 MTB)
   ========================================================================== */
.parallax-promo-section {
  position: relative;
  width: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 100px 20px;
  box-sizing: border-box;

  /* EFECTO PARALLAX */
  background-image: url("../assets/hero-bike.webp");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Oscurecido de fondo para resaltar el texto blanco */
.parallax-promo-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.parallax-promo-container {
  position: relative;
  z-index: 2;
  max-width: 850px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.parallax-subtitle {
  color: #ffffff;
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 15px;
  display: block;
}

.parallax-title {
  color: #ffffff;
  font-size: clamp(34px, 4vw, 64px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1px;
  line-height: 1.1;
  margin: 0 0 25px 0;
}

.parallax-desc {
  color: #e0e0e0;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.6;
  max-width: 750px;
  margin: 0 0 35px 0;
  font-weight: 400;
}

.parallax-btn {
  display: inline-block;
  background-color: #e53935;
  color: #ffffff;
  font-size: 16px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  text-decoration: none;
  padding: 16px 44px;
  letter-spacing: 1px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.parallax-btn:hover {
  background-color: #d32f2f;
  transform: translateY(-2px);
}

/* ==========================================================================
   PÁGINA CONTACTO (contacto.php)
   ========================================================================== */

/* --- HERO CON EFECTO PARALLAX --- */
.contact-hero-section {
  position: relative;
  width: 100%;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 20px 80px;
  box-sizing: border-box;

  /* PARALLAX FIXING */
  background-image: url("../assets/mujeres-ciclistas.webp");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Oscurecido de fondo para resaltar la tipografía */
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.contact-hero-container {
  position: relative;
  z-index: 2;
}

.contact-hero-title {
  color: #ffffff;
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 120px;
  line-height: 1;
}

/* --- SECCIÓN GOOGLE MAPS --- */
.contact-map-section {
  width: 100%;
  line-height: 0; /* Elimina espacio blanco sobrante bajo el iframe */
}

.contact-map-section iframe {
  width: 100%;
  height: 480px;
  border: none;
  display: block;
}
/* ==========================================================================
   SECCIÓN DE INFORMACIÓN Y FORMULARIO DE CONTACTO
   ========================================================================== */

.contact-info-section {
  width: 100%;
}

/* --- 1. BARRA SUPERIOR DE ATENCIÓN --- */
.contact-top-bar {
  background-color: #f8f9fa; /* Fondo gris muy claro */
  padding: 55px 20px;
}

.contact-top-bar-container {
  max-width: 1140px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}

.contact-top-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-top-icon {
  margin-bottom: 14px;
}

.contact-top-phone {
  color: #111111;
  font-size: 22px;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.contact-top-label {
  color: #111111;
  font-size: 14px;
  font-weight: 400;
}

/* --- 2. BLOQUE DIVIDIDO (FORMULARIO Y DETALLES) --- */
.contact-main-block {
  width: 100%;
}

.contact-main-container {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

/* Columna Izquierda: Formulario (Fondo Blanco Puro) */
.contact-form-wrapper {
  background-color: #ffffff;
  padding: 70px 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-block-title {
  color: #111111;
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  margin: 0 0 32px 0;
  letter-spacing: 0.5px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.contact-form-group {
  margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  background-color: #f8f9fa;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  padding: 14px 18px;
  font-size: 14px;
  color: #333333;
  box-sizing: border-box;
  font-family: inherit;
  outline: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #d9383a;
  background-color: #ffffff;
}

.contact-form textarea {
  resize: vertical;
}

.contact-submit-btn {
  display: inline-block;
  background-color: #d9383a;
  color: #ffffff;
  border: none;
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 800;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  border-radius: 3px;
  margin-top: 8px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.contact-submit-btn:hover {
  background-color: #c22d2f;
  transform: translateY(-2px);
}

/* Columna Derecha: Detalles (Fondo Gris Neutro Contrastante) */
.contact-details-wrapper {
  background-color: #f1f1f1;
  padding: 70px 80px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-detail-group {
  margin-bottom: 28px;
}

.contact-detail-group:last-child {
  margin-bottom: 0;
}

.contact-detail-subtitle {
  color: #111111;
  font-size: 18px;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
}

.contact-detail-group p {
  color: #111111;
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 4px 0;
}
/* ==========================================================================
   UTILIDADES PARA FALLBACKS Y MENSAJES DINÁMICOS
   ========================================================================== */
.logo-fallback {
  display: none;
}

.logo-fallback.show {
  display: flex;
}

/* Reemplazo del style="..." en el contenedor de respuesta de contacto */
.contact-response-message {
  display: none;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 4px;
  font-weight: 500;
}

.contact-response-message.show {
  display: block;
}

.contact-response-success {
  background-color: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}

.contact-response-error {
  background-color: #ffebee;
  color: #c62828;
  border: 1px solid #ffcdd2;
}
/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */
.btn-whatsapp-flotante {
  position: fixed;
  bottom: 80px; /* Queda ubicado arriba del botón rojo 'Volver arriba' */
  right: 20px;
  width: 58px;
  height: 58px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
  z-index: 998;
  text-decoration: none;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.2s ease;
  animation: pulsoWhatsapp 2.5s infinite;
}

.btn-whatsapp-flotante:hover {
  background-color: #20ba5a;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
  color: #ffffff;
}

.whatsapp-icon {
  width: 34px;
  height: 34px;
}

/* Tooltip emergente al pasar el mouse */
.whatsapp-tooltip {
  position: absolute;
  right: 68px;
  background-color: #141416;
  color: #ffffff;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease,
    visibility 0.2s ease;
  pointer-events: none;
}

.whatsapp-tooltip::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #141416;
}

.btn-whatsapp-flotante:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* Efecto suave de pulso para llamar la atención del cliente */
@keyframes pulsoWhatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   ESTILOS PARA GRILLA Y TARJETAS DE PRODUCTOS (Tienda y Relacionados)
   ========================================================================== */
.productos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
  justify-content: center;
  margin-top: 20px;
}

.producto-card {
  background-color: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  text-align: center;
}

.producto-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.producto-card-img-link {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 240px;
  padding: 20px;
  background-color: #ffffff;
  text-decoration: none;
}

.producto-card-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.producto-card:hover .producto-card-img {
  transform: scale(1.05);
}

.producto-card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.producto-card-codigo {
  font-size: 12px;
  color: #888888;
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.producto-card-titulo {
  font-size: 18px;
  font-weight: 900;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.producto-card-titulo a {
  color: #141416;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Montserrat", sans-serif;
  transition: color 0.2s ease;
}

.producto-card-titulo a:hover {
  color: #e52d27;
}

.producto-card-precio {
  font-family: "Montserrat", sans-serif;
  font-size: 22px;
  font-weight: 900;
  color: #e52d27;
  margin-bottom: 20px;
  margin-top: auto;
}

.btn-card-detalle {
  display: block;
  background-color: #e52d27;
  color: #ffffff !important;
  font-family: "Montserrat", sans-serif;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  text-decoration: none;
  padding: 12px 16px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition:
    background-color 0.2s ease,
    transform 0.2s ease;
}

.btn-card-detalle:hover {
  background-color: #c41e19;
  transform: translateY(-2px);
}
.relacionados-contenedor {
  max-width: 1200px;
  margin: 60px auto 30px auto;
  padding: 0 20px;
}

/* ==========================================================================
   BARRA DE FILTROS EN LÍNEA HORIZONTAL (tienda.php)
   ========================================================================== */
.tienda-filtros-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 30px auto 40px auto;
  max-width: 1100px;
}

.filtro-campo {
  display: flex;
  align-items: center;
}

.filtro-input,
.filtro-select {
  background-color: #ffffff;
  color: #141416;
  border: 1px solid #cccccc;
  border-radius: 4px;
  padding: 10px 14px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  outline: none;
  height: 44px;
  box-sizing: border-box;
}

.filtro-input {
  min-width: 240px;
}

.filtro-select {
  cursor: pointer;
}

.btn-filtrar {
  background-color: #e52d27;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 0 24px;
  height: 44px;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition: background-color 0.2s ease;
}

.btn-filtrar:hover {
  background-color: #ffffff;
  color: #c41e19;
}

.btn-catalogo {
  display: inline-flex; /* O 'flex' si ocupa todo el ancho */
  justify-content: center; /* Centra el texto de forma horizontal */
  align-items: center; /* Centra el texto de forma vertical */
  text-align: center;
}

.btn-limpiar-filtros {
  margin-top: 20px;
  background-color: #e52d27;
  padding: 0 10px;
  color: #ffffff;
  font-size: 14px;
  text-decoration: underline;
  margin-left: 8px;
  transition: color 0.2s ease;
}

.btn-limpiar-filtros:hover {
  color: #333;
  background-color: #fff;
}

/* ==========================================================================
   ESTILOS DE LA PAGINACIÓN (tienda.php)
   ========================================================================== */
.paginacion {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 50px 0 30px 0;
  flex-wrap: wrap;
}

.paginacion-wrapper {
  margin-top: 20px;
}

.pag-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  background-color: #1a1a1e;
  color: #ffffff !important;
  font-family: "Montserrat", sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.pag-btn:hover {
  background-color: #26262b;
  border-color: #e52d27;
  transform: translateY(-2px);
  color: #ffffff !important;
}

/* Botón de la página en la que estás actualmente */
.pag-btn.pag-activa {
  background-color: #e52d27;
  border-color: #e52d27;
  color: #ffffff !important;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(229, 45, 39, 0.4);
  cursor: default;
  pointer-events: none; /* No recarga si le das clic a la página donde ya estás */
}

/* Botones 'Anterior' y 'Siguiente' */
.pag-nav {
  padding: 0 18px;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.5px;
}
/* ==========================================================================
   DESTACADOS EN HOME (index.php)
   ========================================================================== */
.home-destacados-section {
  background-color: #141416;
  padding: 60px 20px 80px 20px;
  width: 100%;
}

.home-destacados-container {
  max-width: 1400px;
  margin: 0 auto;
}

.home-ver-todo-wrapper {
  text-align: center;
  margin-top: 50px;
}

/* ======================================================
   DETALLE DEL PRODUCTO (producto.php)
====================================================== */
.producto-page-main {
  margin-top: 100px;
  background-color: #0f1012;
  color: #f1f1f1;
  min-height: 80vh;
  padding: 40px 20px 80px 20px;
}

.producto-container {
  max-width: 1300px;
  margin: 0 auto;
}

/* Breadcrumb */
.producto-breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 35px;
}

.producto-breadcrumb a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.2s ease;
}

.producto-breadcrumb a:hover {
  color: #fff;
}

.producto-breadcrumb .separador {
  color: #555;
}

.producto-breadcrumb .actual {
  color: #e50914; /* o el color acento que tengas */
  font-weight: 600;
}

/* Grid Principal */
.producto-detalle-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  background-color: #17181c;
  border-radius: 12px;
  padding: 40px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  margin-bottom: 60px;
}

/* Imagen y badges */
.producto-media-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.producto-imagen-box {
  background-color: #1f2026;
  border-radius: 10px;
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 380px;
}

.producto-imagen-box img {
  max-width: 100%;
  max-height: 420px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.producto-imagen-box img:hover {
  transform: scale(1.04);
}
/* Nuevo contenedor para empujar un botón a cada extremo */
.producto-badges-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Tu CSS actual (se mantiene intacto) */
.producto-badge-top {
  align-self: flex-start;
  background-color: rgb(16, 185, 129);
  color: rgb(255, 255, 255);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 4px;
}

/* Opcional: si quieres que el botón "Tienda" tenga otro color de fondo */
.producto-badge-top.badge-tienda {
  background-color: #3b82f6;
  text-decoration: none; /* Azul o el color que prefieras */
}

.producto-garantia-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
  background-color: #121316;
  padding: 16px 20px;
  border-radius: 8px;
  border-left: 3px solid #e50914;
}

.garantia-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.88rem;
  color: #bbb;
}

.garantia-item i {
  color: #e50914;
  font-size: 1rem;
}

/* Info columna derecha */
.producto-info-wrapper {
  display: flex;
  flex-direction: column;
}

.producto-categoria-tag {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #888;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.producto-titulo {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 20px;
}

.producto-precio-box {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid #282a32;
}

.precio-simbolo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #10b981;
}

.precio-monto {
  font-size: 2.5rem;
  font-weight: 900;
  color: #10b981;
}

.precio-cuotas {
  font-size: 0.9rem;
  color: #aaa;
  margin-left: 10px;
}

.producto-descripcion-box {
  color: #ccc;
  line-height: 1.7;
  font-size: 0.98rem;
  margin-bottom: 30px;
}

/* Selector de cantidad */
.producto-selector-cantidad {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.producto-selector-cantidad label {
  font-size: 0.9rem;
  color: #aaa;
}

.cantidad-control {
  display: inline-flex;
  align-items: center;
  background-color: #23252c;
  border-radius: 6px;
  overflow: hidden;
  user-select: none;
  position: relative;
  z-index: 2;
}

.btn-cant {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  font-weight: bold;
  width: 42px;
  height: 42px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto;
  user-select: none;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.btn-cant:hover {
  background-color: #31343e;
  color: #e50914;
}

.cantidad-control input {
  width: 50px;
  height: 42px;
  background: transparent;
  border: none;
  color: #fff;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 700;
  outline: none;
  cursor: text;
  pointer-events: auto;
}

/* Ocultar flechitas nativas en cualquier navegador */
.cantidad-control input::-webkit-outer-spin-button,
.cantidad-control input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cantidad-control input {
  appearance: textfield;
}

.stock-disponible {
  font-size: 0.85rem;
  color: #888;
}

/* Botones de acción */
.producto-botones-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 35px;
}

.btn-agregar-carrito {
  background: #e50914;
  color: #fff;
  border: none;
  padding: 16px 24px;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition:
    transform 0.2s,
    background 0.2s;
}

.btn-agregar-carrito:hover {
  background: #ff1c28;
  transform: translateY(-2px);
}

.btn-wsp-consulta {
  background: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: background 0.2s;
}

.btn-wsp-consulta:hover {
  background: #20bd5a;
}

/* Ficha rápida */
.producto-specs-mini {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background-color: #121316;
  padding: 18px;
  border-radius: 8px;
}

.spec-mini-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.spec-label {
  font-size: 0.75rem;
  color: #777;
  text-transform: uppercase;
}

.spec-val {
  font-size: 0.9rem;
  font-weight: 600;
  color: #ddd;
}

/* Relacionados */
.relacionados-seccion {
  margin-top: 50px;
}

.relacionados-titulo {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 25px;
  text-align: center;
  color: #fff;
}

.relacionados-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 25px;
}

.rel-card {
  background-color: #17181c;
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}

.rel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.rel-card-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.rel-img-box {
  background-color: #202228;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
}

.rel-img-box img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.rel-info {
  padding: 15px;
}

.rel-nombre {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.rel-precio {
  font-size: 1.1rem;
  font-weight: 800;
  color: #10b981;
}
/* ======================================================
   CARRITO DE COMPRAS (carrito.php)
====================================================== */
.carrito-page-main {
  background-color: #0f1012;
  color: #fff;
  min-height: 80vh;
  padding: 50px 20px 80px 20px;
}

.carrito-container {
  max-width: 1300px;
  margin: 0 auto;
}

.carrito-titulo {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-top: 80px;
  margin-bottom: 35px;
  border-left: 4px solid #e50914;
  padding-left: 15px;
}

/* Estado Vacío */
.carrito-vacio-box {
  background-color: #17181c;
  border-radius: 12px;
  padding: 60px 20px;
  text-align: center;
  margin: 40px auto;
  max-width: 600px;
}

.icono-vacio {
  font-size: 4rem;
  color: #555;
  margin-bottom: 20px;
}

.carrito-vacio-box h2 {
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.carrito-vacio-box p {
  color: #888;
  margin-bottom: 30px;
}

.btn-volver-tienda {
  display: inline-block;
  background-color: #e50914;
  color: #fff;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s;
}

.btn-volver-tienda:hover {
  background-color: #ff1c28;
}

/* Layout con productos */
.carrito-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  align-items: start;
}

.carrito-lista-wrapper {
  background-color: #17181c;
  border-radius: 12px;
  padding: 25px 30px;
}

.carrito-tabla-header {
  display: grid;
  grid-template-columns: 3fr 1.2fr 1.5fr 1.2fr 40px;
  padding-bottom: 15px;
  border-bottom: 1px solid #282a32;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: #777;
  font-weight: 700;
}

.carrito-item-row {
  display: grid;
  grid-template-columns: 3fr 1.2fr 1.5fr 1.2fr 40px;
  align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid #23252c;
}

.item-prod-info {
  display: flex;
  align-items: center;
  gap: 15px;
}

.item-prod-info img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  background-color: #202228;
  border-radius: 6px;
  padding: 5px;
}

.item-nombre {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
}

.item-nombre:hover {
  color: #e50914;
}

.item-precio,
.item-subtotal {
  font-weight: 700;
  color: #ddd;
}

.item-subtotal {
  color: #10b981;
}

.form-cantidad-inline {
  display: inline-flex;
  align-items: center;
  background-color: #23252c;
  border-radius: 6px;
  overflow: hidden;
  user-select: none;
}

.btn-cant-mini {
  background: transparent;
  border: none;
  color: #fff;
  width: 32px;
  height: 34px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.btn-cant-mini:hover {
  background-color: #31343e;
  color: #e50914;
}

.cant-num {
  padding: 0 10px;
  font-size: 0.9rem;
  font-weight: bold;
}

.cant-num-input {
  width: 44px;
  height: 34px;
  background: transparent;
  border: none;
  color: #fff;
  text-align: center;
  font-size: 0.95rem;
  font-weight: 700;
  outline: none;
  cursor: text;
}

/* Ocultar flechitas nativas del navegador */
.cant-num-input::-webkit-outer-spin-button,
.cant-num-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.cant-num-input {
  -appearance: textfield;
}

.btn-eliminar-item {
  color: #888;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.2s;
}

.btn-eliminar-item:hover {
  color: #e50914;
}

.carrito-acciones-inferiores {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
}

.btn-seguir-comprando {
  background-color: #111184;
  color: #fff;
  text-decoration: none;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-seguir-comprando:hover {
  background-color: #fff;
  color: #111184;
}

.btn-vaciar-carrito {
  background-color: #e50914;
  color: #fff;
  font-size: 0.85rem;
  text-decoration: underline;
}

.btn-vaciar-carrito:hover {
  background-color: #fff;
  color: #e50914;
}

/* Resumen */
.resumen-card {
  background-color: #17181c;
  border-radius: 12px;
  padding: 30px;
}

.resumen-titulo {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 20px;
  border-bottom: 1px solid #282a32;
  padding-bottom: 12px;
}

.resumen-fila {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  color: #bbb;
  font-size: 0.95rem;
}

.envio-gratis {
  color: #10b981;
  font-weight: 600;
}

.resumen-total-fila {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0;
  padding-top: 15px;
  border-top: 1px solid #282a32;
  font-size: 1.2rem;
  font-weight: 800;
}

.monto-total {
  color: #10b981;
  font-size: 1.6rem;
}

.btn-checkout-wsp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: #25d366;
  color: #fff;
  text-decoration: none;
  padding: 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
  transition:
    background 0.2s,
    transform 0.2s;
}

.btn-checkout-wsp:hover {
  background-color: #fff;
  color: #25d366;
  transform: translateY(-2px);
}

.resumen-beneficios {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.82rem;
  color: #888;
}

/* Ocultar el botón flotante de WhatsApp únicamente en la página del carrito */
body:has(.carrito-page-main) .btn-whatsapp-flotante,
.carrito-page-main ~ .btn-whatsapp-flotante,
.carrito-page-main ~ * .btn-whatsapp-flotante {
  display: none !important;
}

/* ======================================================
   MODAL DE CONFIRMACIÓN AMIGABLE (Estilo Admin)
====================================================== */
.custom-modal-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  padding: 20px;
}

.custom-modal-backdrop.modal-activo {
  opacity: 1;
  visibility: visible;
}

.custom-modal-card {
  background-color: #ffffff;
  color: #141416;
  width: 100%;
  max-width: 440px;
  border-radius: 14px;
  padding: 35px 30px;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(20px) scale(0.96);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-modal-backdrop.modal-activo .custom-modal-card {
  transform: translateY(0) scale(1);
}

.custom-modal-icon-wrapper {
  width: 65px;
  height: 65px;
  background-color: #fee2e2;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
}

.custom-modal-icon-svg {
  width: 36px;
  height: 36px;
}

.custom-modal-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 12px;
}

.custom-modal-msg {
  font-size: 0.95rem;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 8px;
}

.modal-nombre-destacado {
  color: #dc2626;
  font-weight: 700;
}

.custom-modal-subdesc {
  font-size: 0.82rem;
  color: #6b7280;
  line-height: 1.4;
  margin-bottom: 25px;
}

.custom-modal-actions {
  display: flex;
  justify-content: center;
  gap: 15px;
}

.btn-modal-cancelar {
  background-color: #4b5563;
  color: #ffffff;
  border: none;
  padding: 12px 26px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.2s;
}

.btn-modal-cancelar:hover {
  background-color: #374151;
}

.btn-modal-confirmar {
  background-color: #dc2626;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition:
    background-color 0.2s,
    transform 0.15s;
}

.btn-modal-confirmar:hover {
  background-color: #b91c1c;
  transform: translateY(-1px);
}

/* ======================================================
   BOTÓN DEL CARRITO EN EL HEADER CON BADGE CONTADOR
====================================================== */
.nav-carrito-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  padding: 4px;
  transition:
    color 0.2s ease,
    transform 0.2s ease;
}

.nav-carrito-btn:hover,
.nav-carrito-btn.active {
  color: var(--primary-red, #ea3d33);
  transform: scale(1.08);
}

.nav-carrito-badge {
  position: absolute;
  top: -6px;
  right: -9px;
  background-color: var(--primary-red, #ea3d33);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 800;
  min-width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.6);
  border: 2px solid #141416;
}

/* ======================================================
   MEJORAS VISUALES EN TIENDA (tienda.php)
====================================================== */
.tienda-main {
  background-color: #141416;
  min-height: 85vh;
  padding-bottom: 60px;
}

.tienda-header {
  text-align: center;
  margin-bottom: 30px;
}

.tienda-title {
  color: #ffffff;
  font-size: clamp(34px, 4vw, 52px);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.tienda-subtitle {
  color: #a0a0a5;
  font-size: 1rem;
}

.tienda-info-resultados {
  text-align: center;
  margin-bottom: 25px;
  color: #888890;
  font-size: 0.9rem;
}

.tienda-info-resultados strong {
  color: #ffffff;
}

/* Doble botón de acción en tarjeta */
.producto-card-acciones {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 15px;
}

.form-agregar-rapido {
  width: 100%;
}

.btn-card-agregar {
  width: 100%;
  height: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: #23252c;
  color: #ffffff;
  border: 1px solid #32353e;
  font-family: var(--font-main);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 10px 8px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.5px;
  transition:
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease;
}

.btn-card-agregar:hover {
  background-color: #10b981;
  border-color: #10b981;
  color: #ffffff;
  transform: translateY(-2px);
}

.alerta-sin-resultados {
  text-align: center;
  padding: 50px 20px;
  background-color: #1a1a1e;
  border-radius: 8px;
  margin: 30px auto;
  max-width: 600px;
}

.alerta-sin-resultados p {
  color: #e0e0e0;
  font-size: 1.1rem;
  margin-bottom: 15px;
}

/* ======================================================
   CHECKOUT EN EL RESUMEN DEL CARRITO
====================================================== */
.checkout-form-box {
  background-color: #121316;
  border: 1px solid #282a32;
  border-radius: 8px;
  padding: 18px;
  margin: 20px 0 25px 0;
}

.checkout-subtitulo {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ea3d33;
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.checkout-campo {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 12px;
}

.checkout-campo:last-child {
  margin-bottom: 0;
}

.checkout-campo label {
  font-size: 0.78rem;
  color: #a0a0a5;
  font-weight: 600;
}

.checkout-input,
.checkout-select {
  width: 100%;
  background-color: #1f2026;
  border: 1px solid #333640;
  color: #ffffff;
  padding: 10px 12px;
  border-radius: 6px;
  font-family: inherit;
  font-size: 0.88rem;
  box-sizing: border-box;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
  outline: none;
}

.checkout-input:focus,
.checkout-select:focus {
  border-color: #ea3d33;
  box-shadow: 0 0 0 2px rgba(234, 61, 51, 0.2);
}

.checkout-error-msg {
  background-color: #fee2e2;
  color: #991b1b;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 10px;
}

/* ======================================================
   NOTIFICACIÓN TOAST FLOTANTE AL AGREGAR AL CARRITO
====================================================== */
.badge-oculto {
  display: none !important;
}

/* Animación de rebote en el badge del Header */
.badge-bounce {
  animation: badgeBounce 0.5s ease-out;
}

@keyframes badgeBounce {
  0% {
    transform: scale(1);
  }
  40% {
    transform: scale(1.4);
  }
  70% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

/* Contenedor flotante */
.toast-cart-container {
  position: fixed;
  top: 90px;
  right: 25px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

/* Tarjeta del Toast */
.toast-cart-card {
  background-color: #17181c;
  color: #ffffff;
  border: 1px solid #2e303a;
  border-radius: 10px;
  padding: 16px 18px;
  width: 320px;
  max-width: 90vw;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6);
  pointer-events: auto;
  opacity: 0;
  transform: translateX(50px);
  transition:
    opacity 0.3s ease,
    transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
}

.toast-cart-card.toast-visible {
  opacity: 1;
  transform: translateX(0);
}

.toast-cart-content {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.toast-cart-icon {
  background-color: rgba(16, 185, 129, 0.15);
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.toast-cart-text {
  flex-grow: 1;
}

.toast-cart-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 2px 0;
  letter-spacing: 0.3px;
}

.toast-cart-desc {
  font-size: 0.82rem;
  color: #a0a0a8;
  margin: 0;
  line-height: 1.3;
  word-break: break-word;
}

.toast-cart-close {
  background: transparent;
  border: none;
  color: #888890;
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
  transition: color 0.2s;
}

.toast-cart-close:hover {
  color: #ffffff;
}

/* Botones de acción del Toast */
.toast-cart-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.btn-toast-ver {
  background-color: var(--primary-red, #ea3d33);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
  padding: 8px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  transition: background-color 0.2s;
}

.btn-toast-ver:hover {
  background-color: #c92f26;
}

.btn-toast-seguir {
  background-color: #262832;
  color: #d0d0d5;
  border: none;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.4px;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.btn-toast-seguir:hover {
  background-color: #323542;
  color: #ffffff;
}

/* Barra de progreso de auto-cierre */
.toast-cart-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  background-color: #10b981;
  width: 100%;
  animation: toastProgress 4.5s linear forwards;
}

@keyframes toastProgress {
  from {
    width: 100%;
  }
  to {
    width: 0%;
  }
}

/* ======================================================
   FICHA TÉCNICA DINÁMICA (ESPECIFICACIONES JSON)
====================================================== */
.specs-box {
  margin-top: 30px;
  background-color: #17181c;
  border: 1px solid #282a32;
  border-radius: 8px;
  padding: 20px 24px;
}

.specs-titulo {
  font-size: 0.95rem;
  font-weight: 800;
  color: #ea3d33;
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.specs-tabla {
  width: 100%;
  border-collapse: collapse;
}

.specs-tabla tr {
  border-bottom: 1px solid #22242b;
}

.specs-tabla tr:last-child {
  border-bottom: none;
}

.specs-tabla td {
  padding: 10px 6px;
  font-size: 0.88rem;
}

.spec-label {
  color: #8f9099;
  font-weight: 600;
  width: 40%;
}

.spec-value {
  color: #ffffff;
  font-weight: 700;
}

.specs-section {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid #333640;
}

.specs-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.specs-section-title {
  margin: 0;
  font-size: 0.95rem;
  color: #ea3d33;
  font-weight: bold;
}

.specs-btn-add {
  padding: 6px 12px;
  font-size: 0.8rem;
  cursor: pointer;
}

.specs-description-hint {
  font-size: 0.78rem;
  color: #888890;
  margin-bottom: 14px;
}

.specs-items-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.spec-item-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 10px;
  align-items: center;
}

.btn-spec-remove {
  background: #ea3d33;
  color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 9px 14px;
  font-size: 1.1rem;
  cursor: pointer;
  font-weight: bold;
  line-height: 1;
  transition: background 0.2s;
}

.btn-spec-remove:hover {
  background: #c92f26;
}

.admin-form-actions-margin {
  margin-top: 30px;
}

/* Quitar imagen actual sin inline styles */
.label-quitar-imagen {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  cursor: pointer;
  color: #ea3d33;
  font-weight: 600;
  font-size: 0.85rem;
}

.label-quitar-imagen input[type="checkbox"] {
  accent-color: #ea3d33;
}

/* ======================================================
   GALERÍA DE PRODUCTO ESTILO AMAZON
====================================================== */
.galeria-amazon-layout {
  display: flex;
  flex-direction: row;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 15px;
}

/* Columna vertical de miniaturas a la izquierda */
.amazon-thumbs-sidebar {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
  width: 62px;
  max-height: 480px;
  overflow-y: auto;
  padding-right: 4px;
}

/* Scrollbar fina para la tira de miniaturas */
.amazon-thumbs-sidebar::-webkit-scrollbar {
  width: 4px;
}
.amazon-thumbs-sidebar::-webkit-scrollbar-thumb {
  background: #333640;
  border-radius: 4px;
}

/* Cada botón miniatura individual */
.amazon-thumb-btn {
  width: 60px !important;
  height: 60px !important;
  min-width: 60px !important;
  min-height: 60px !important;
  max-width: 60px !important;
  max-height: 60px !important;
  padding: 2px !important;
  margin: 0 !important;
  background: #17181c !important;
  border: 2px solid #282a32 !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition:
    border-color 0.2s,
    box-shadow 0.2s !important;
}

.amazon-thumb-btn:hover {
  border-color: #ea3d33 !important;
}

.amazon-thumb-btn.thumb-activo {
  border-color: #ea3d33 !important;
  box-shadow: 0 0 10px rgba(234, 61, 51, 0.45) !important;
}

/* Imagen dentro de la miniatura: exactamente cuadrada y centrada */
.amazon-thumb-btn img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  border-radius: 4px !important;
  display: block !important;
  pointer-events: none !important;
}

/* Escenario de la foto principal grande a la derecha */
.amazon-main-photo-stage {
  flex: 1;
  min-width: 0;
  background: #121316;
  border: 1px solid #282a32;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 12px;
  min-height: 380px;
}

.amazon-main-photo-stage img {
  width: 100% !important;
  height: auto !important;
  max-height: 460px !important;
  object-fit: contain !important;
  border-radius: 6px !important;
  display: block !important;
  transition: opacity 0.15s ease-in-out;
}

/* ======================================================
   BARRA SUPERIOR DE FOTO: DISPONIBLE + BOTÓN VOLVER
====================================================== */
.producto-header-media-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  margin-bottom: 14px;
}

/* Si tu .producto-badge-top tenía márgenes o posicionamiento absoluto, lo normalizamos */
.producto-header-media-bar .producto-badge-top {
  margin: 0;
}

/* Botón Volver a la Tienda */
.btn-volver-tienda {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ea3d33;
  color: #ffffff;
  border: 1px solid #282a32;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-volver-tienda i {
  font-size: 0.82rem;
  transition: transform 0.2s ease;
}

.btn-volver-tienda:hover {
  background: #ffffff;
  color: #202228;
  border-color: #ea3d33;
  box-shadow: 0 0 10px rgba(234, 61, 51, 0.25);
}

.btn-volver-tienda:hover i {
  transform: translateX(-3px); /* Pequeño efecto visual de flecha deslizante */
}

.checkout-error-msg {
  display: none;
  background-color: #fee2e2;
  color: #991b1b;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 4px;
  margin-top: 10px;
}

.checkout-error-msg.visible,
.checkout-error-msg:not(:empty) {
  display: block;
}

.d-none {
  display: none !important;
}

/* ======================================================
   NUEVO: ESTILOS DE MEDIOS DE PAGO Y TRANSFERENCIA (PUNTO 3)
====================================================== */
.box-metodo-pago {
  background-color: #1a1c22;
  border: 1px solid #2e313c;
  border-radius: 8px;
  padding: 16px;
  margin-top: 14px;
  margin-bottom: 14px;
  animation: fadeInDown 0.25s ease-out;
}

.box-transferencia {
  border-left: 3px solid #10b981;
}

.box-efectivo {
  border-left: 3px solid #f59e0b;
}

.box-tarjeta {
  border-left: 3px solid #3b82f6;
}

.banco-header {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #10b981;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.banco-datos-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.banco-dato-fila {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding: 4px 0;
}

.banco-dato-destacado {
  background-color: #121316;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px dashed #3a3e4c;
}

.banco-label {
  color: #9ca3af;
  font-weight: 600;
  font-size: 0.8rem;
}

.banco-valor {
  color: #ffffff;
  font-weight: 600;
}

.banco-copiar-group {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.btn-copiar-dato {
  background-color: #272a34;
  color: #e5e7eb;
  border: 1px solid #3f4454;
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-copiar-dato:hover {
  background-color: #10b981;
  color: #ffffff;
  border-color: #10b981;
}

.btn-copiar-dato.copiado-exito {
  background-color: #10b981 !important;
  color: #ffffff !important;
  border-color: #10b981 !important;
}

.banco-aviso {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.78rem;
  color: #9ca3af;
  line-height: 1.4;
  display: flex;
  align-items: flex-start;
  gap: 6px;
}

.banco-aviso i {
  color: #10b981;
  margin-top: 2px;
}

.metodo-info-alerta {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  color: #d1d5db;
  line-height: 1.45;
}

.metodo-info-alerta i {
  font-size: 1.1rem;
  color: #f59e0b;
  margin-top: 2px;
}

.box-tarjeta .metodo-info-alerta i {
  color: #3b82f6;
}

.mt-2 {
  margin-top: 8px !important;
}

/* ======================================================
   MEJORA DE DISEÑO: ITEMS DEL CARRITO ESPACIOSOS Y LIMPIOS
====================================================== */
.carrito-items-header {
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid #282a32;
}

.header-items-title {
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #ea3d33;
  display: flex;
  align-items: center;
  gap: 8px;
}

.carrito-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Tarjeta individual por producto (espaciosa, sin amontonamiento) */
.carrito-item-row {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start !important;
  gap: 18px !important;
  background-color: #121316 !important;
  border: 1px solid #282a32 !important;
  border-radius: 10px !important;
  padding: 18px 20px !important;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.carrito-item-row:hover {
  border-color: #3b3f4f !important;
}

/* Miniatura del producto */
.item-prod-thumb {
  width: 82px !important;
  height: 82px !important;
  min-width: 82px !important;
  min-height: 82px !important;
  background-color: #1a1c22 !important;
  border: 1px solid #282a32 !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 6px !important;
  flex-shrink: 0 !important;
}

.item-prod-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
  display: block !important;
}

/* Cuerpo de información del producto */
.item-prod-body {
  flex: 1 !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 14px !important;
  min-width: 0 !important;
}

/* Fila superior: Título completo y precio unitario */
.item-prod-top {
  display: flex !important;
  flex-direction: column !important;
  gap: 4px !important;
}

.item-nombre {
  color: #ffffff !important;
  font-size: 1.05rem !important;
  font-weight: 700 !important;
  line-height: 1.35 !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}

.item-nombre:hover {
  color: #ea3d33 !important;
}

.item-precio-unit {
  font-size: 0.82rem !important;
  color: #9ca3af !important;
}

.item-precio-unit strong {
  white-space: nowrap !important;
}

/* Fila inferior: Controles de cantidad, subtotal y papelera */
.item-prod-bottom {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  padding-top: 10px !important;
  border-top: 1px dashed #242732 !important;
}

.label-inline-info {
  font-size: 0.78rem !important;
  color: #888892 !important;
  font-weight: 600 !important;
  text-transform: uppercase !important;
  margin-right: 6px !important;
}

.item-cantidad-wrapper,
.item-subtotal-wrapper,
.item-eliminar-wrapper {
  display: inline-flex !important;
  align-items: center !important;
}

.item-subtotal {
  font-size: 1.2rem !important;
  color: #10b981 !important;
  white-space: nowrap !important;
  font-weight: 900 !important;
}

.btn-eliminar-item {
  color: #9ca3af !important;
  font-size: 1.15rem !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 6px !important;
  transition: all 0.2s ease !important;
  cursor: pointer !important;
}

.btn-eliminar-item:hover {
  color: #ef4444 !important;
  background-color: rgba(239, 68, 68, 0.12) !important;
}

/* Responsive para pantallas móviles */
@media (max-width: 580px) {
  .carrito-item-row {
    flex-direction: column !important;
  }
  .item-prod-thumb {
    width: 70px !important;
    height: 70px !important;
    min-width: 70px !important;
    min-height: 70px !important;
  }
  .item-prod-bottom {
    width: 100% !important;
    justify-content: space-between !important;
  }
}

/* ======================================================
   CORRECCIÓN: FOCO AZUL ELEGANTE Y ERROR ROJO EXCLUSIVO
====================================================== */
.checkout-input:focus,
.checkout-select:focus {
  border-color: #3b82f6 !important;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.25) !important;
}

.checkout-input.input-error,
.checkout-select.input-error {
  border-color: #ef4444 !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.25) !important;
}

/* ======================================================
   BUSCADOR INSTANTÁNEO FLOTANTE (LIVE SEARCH) Y FILTROS
====================================================== */
.search-container-relative {
  position: relative !important;
}

.live-search-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  width: 100%;
  min-width: 320px;
  max-width: 520px;
  max-height: 420px;
  overflow-y: auto;
  background: #1e1e24;
  border: 1px solid #33333d;
  border-radius: 12px;
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.55),
    0 2px 6px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  scrollbar-width: thin;
  scrollbar-color: #ea3d33 #1e1e24;
  animation: fadeInDownSearch 0.15s ease-out;
}

@keyframes fadeInDownSearch {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.search-results-list {
  display: flex;
  flex-direction: column;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  text-decoration: none;
  border-bottom: 1px solid #282832;
  transition:
    background-color 0.15s ease,
    border-color 0.15s ease;
}

.search-result-item:hover,
.search-result-item.selected {
  background-color: #272733;
}

.search-result-item:last-of-type {
  border-bottom: none;
}

.search-thumb {
  width: 52px;
  height: 52px;
  min-width: 52px;
  object-fit: cover;
  border-radius: 8px;
  background-color: #111;
  border: 1px solid #3a3a46;
}

.search-info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.search-cat {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #94a3b8;
  font-weight: 600;
}

.search-title {
  font-size: 13px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-highlight {
  background: rgba(234, 61, 51, 0.25);
  color: #ff6b61;
  font-weight: 800;
  padding: 0 2px;
  border-radius: 2px;
}

.search-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}

.search-price {
  font-size: 14px;
  font-weight: 800;
  color: #4ade80;
  white-space: nowrap;
}

.badge-search-stock {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-search-stock.stock-cero {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
}

.badge-search-stock.stock-bajo {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
}

.search-loading,
.search-no-results {
  padding: 24px 16px;
  text-align: center;
  color: #94a3b8;
  font-size: 13px;
}

.search-no-icon {
  font-size: 28px;
  color: #64748b;
  margin-bottom: 8px;
  display: block;
}

.search-hint {
  display: block;
  font-size: 11px;
  color: #64748b;
  margin-top: 4px;
}

.search-footer {
  padding: 8px 14px;
  background-color: #17171c;
  border-top: 1px solid #2e2e38;
  text-align: center;
}

.search-view-all {
  color: #ea3d33;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
  display: inline-block;
  transition: color 0.15s ease;
}

.search-view-all:hover {
  color: #ff5e54;
  text-decoration: underline;
}

/* ==========================================================================
   MEJORA OPCIÓN 4: BOTÓN FLOTANTE INTELIGENTE DE WHATSAPP (ECO BIKE)
   ========================================================================== */
.btn-whatsapp-flotante {
  position: fixed;
  bottom: 85px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 6px 20px rgba(37, 211, 102, 0.4),
    0 2px 8px rgba(0, 0, 0, 0.2);
  z-index: 998;
  text-decoration: none;
  transition:
    transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.25s ease,
    background-color 0.2s ease;
  animation: pulsoWhatsapp 2.8s infinite;
}

.btn-whatsapp-flotante:hover {
  background-color: #20ba5a;
  transform: scale(1.1) translateY(-2px);
  box-shadow:
    0 10px 25px rgba(37, 211, 102, 0.55),
    0 4px 12px rgba(0, 0, 0, 0.25);
  color: #ffffff;
}

.btn-whatsapp-flotante .whatsapp-icon {
  width: 34px;
  height: 34px;
  fill: #ffffff;
  transition: transform 0.2s ease;
}

.btn-whatsapp-flotante:hover .whatsapp-icon {
  transform: scale(1.05);
}

/* Indicador de estado online / notificación activa */
.wsp-online-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.wsp-online-dot::after {
  content: "";
  width: 8px;
  height: 8px;
  background-color: #22c55e;
  border-radius: 50%;
  animation: pulseDotWsp 2s infinite;
}

@keyframes pulseDotWsp {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.7;
  }
}

/* Tooltip inteligente contextual con tarjeta informativa */
.whatsapp-tooltip-card {
  position: absolute;
  right: 74px;
  background: #141416;
  border: 1px solid #2e2e38;
  color: #ffffff;
  padding: 8px 14px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.whatsapp-tooltip-card::after {
  content: "";
  position: absolute;
  top: 50%;
  right: -6px;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #141416;
}

.wsp-tooltip-title {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #22c55e;
}

.wsp-tooltip-text {
  font-size: 13px;
  font-weight: 600;
  color: #f1f5f9;
  font-family: "Montserrat", system-ui, sans-serif;
}

.btn-whatsapp-flotante:hover .whatsapp-tooltip-card {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* ==============================================================================
   GUÍA DE TALLES & FAQ EN FICHA DE PRODUCTO (producto.php)
   ============================================================================== */

/* 1. Botón Trigger para abrir Guía de Talles */
.talle-trigger-box {
  margin: 18px 0;
}

.btn-abrir-guia-talles {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #17181c;
  border: 1px dashed #333642;
  border-radius: 8px;
  padding: 12px 16px;
  color: #f1f5f9;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.btn-abrir-guia-talles:hover {
  background-color: #1f2128;
  border-color: #10b981;
  transform: translateY(-1px);
}

.btn-abrir-guia-talles .icon-arrow {
  color: #94a3b8;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.btn-abrir-guia-talles:hover .icon-arrow {
  transform: translateX(3px);
  color: #10b981;
}

/* 2. Modal Pop-up de Guía de Talles */
.modal-talles-dialog {
  background-color: #141518;
  border: 1px solid #282a32;
  border-radius: 14px;
  width: 90%;
  max-width: 680px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7);
  animation: modalScaleIn 0.25s ease-out;
  box-sizing: border-box;
}

@keyframes modalScaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.modal-talles-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #24262f;
  background-color: #18191e;
  border-radius: 14px 14px 0 0;
}

.modal-talles-title-box {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-talles-title-box i {
  font-size: 1.5rem;
}

.modal-talles-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #ffffff;
  margin: 0;
  letter-spacing: 0.5px;
}

.modal-talles-sub {
  display: block;
  font-size: 0.78rem;
  color: #94a3b8;
  margin-top: 2px;
}

.btn-cerrar-modal-talles {
  background: none;
  border: none;
  color: #94a3b8;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 6px;
  border-radius: 6px;
  transition: all 0.2s ease;
  line-height: 1;
}

.btn-cerrar-modal-talles:hover {
  color: #ffffff;
  background-color: #27272a;
}

.modal-talles-body {
  padding: 24px;
}

/* Tabla de Talles */
.tabla-talles-guia {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 22px;
}

.tabla-talles-guia th {
  background-color: #1a1c22;
  color: #94a3b8;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 10px 14px;
  border-bottom: 2px solid #282a32;
  text-align: left;
}

.tabla-talles-guia td {
  padding: 12px 14px;
  border-bottom: 1px solid #24262f;
  color: #e2e8f0;
  font-size: 13px;
}

.tabla-talles-guia tbody tr:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.talle-tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 6px;
  font-weight: 800;
  font-size: 12px;
}

.talle-s {
  background-color: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid #0284c7;
}
.talle-m {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid #059669;
}
.talle-l {
  background-color: rgba(250, 204, 21, 0.15);
  color: #facc15;
  border: 1px solid #ca8a04;
}
.talle-xl {
  background-color: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid #dc2626;
}

/* Tips de Talles */
.talles-tips-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

@media (max-width: 640px) {
  .talles-tips-grid {
    grid-template-columns: 1fr;
  }
}

.tip-card {
  display: flex;
  gap: 12px;
  background-color: #17181c;
  border: 1px solid #282a32;
  border-radius: 10px;
  padding: 14px;
}

.tip-card i {
  font-size: 1.25rem;
  margin-top: 2px;
}

.tip-card strong {
  display: block;
  font-size: 13px;
  color: #ffffff;
  margin-bottom: 4px;
}

.tip-card p {
  font-size: 12px;
  color: #94a3b8;
  line-height: 1.45;
  margin: 0;
}

.modal-talles-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid #24262f;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: #94a3b8;
}

.btn-consultar-talle-wsp {
  background-color: #25d366;
  color: #ffffff;
  text-decoration: none;
  font-weight: 700;
  font-size: 12px;
  padding: 9px 16px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-consultar-talle-wsp:hover {
  background-color: #1eb857;
  transform: translateY(-1px);
}

/* 3. Sección de Preguntas Frecuentes (FAQ Acordeón) */
.producto-faq-seccion {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid #282a32;
}

.faq-header-box {
  text-align: center;
  margin-bottom: 30px;
}

.faq-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  color: #10b981;
  background-color: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 5px 12px;
  border-radius: 20px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.faq-titulo {
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.faq-subtitulo {
  font-size: 0.9rem;
  color: #94a3b8;
  margin: 0;
}

.faq-accordion-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background-color: #17181c;
  border: 1px solid #282a32;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.25s ease;
}

.faq-item:hover {
  border-color: #3b3f4d;
}

.faq-item.faq-open {
  border-color: #10b981;
  background-color: #191b20;
}

.faq-question-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  text-align: left;
  gap: 16px;
  transition: color 0.2s ease;
}

.faq-question-btn:hover {
  color: #10b981;
}

.faq-question-text {
  display: flex;
  align-items: center;
  gap: 12px;
}

.faq-question-text i {
  font-size: 1.1rem;
}

.faq-arrow-icon {
  font-size: 0.85rem;
  color: #94a3b8;
  transition:
    transform 0.3s ease,
    color 0.2s ease;
  flex-shrink: 0;
}

.faq-item.faq-open .faq-arrow-icon {
  transform: rotate(180deg);
  color: #10b981;
}

.faq-answer-collapse {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.faq-open .faq-answer-collapse {
  max-height: 400px;
}

.faq-answer-content {
  padding: 0 20px 20px 52px;
  font-size: 0.9rem;
  color: #cbd5e1;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .faq-answer-content {
    padding-left: 20px;
  }
}

@media (max-width: 640px) {
  .btn-whatsapp-flotante {
    bottom: 75px;
    right: 16px;
    width: 54px;
    height: 54px;
  }
  .btn-whatsapp-flotante .whatsapp-icon {
    width: 30px;
    height: 30px;
  }
  .whatsapp-tooltip-card {
    display: none;
  }
}
/* ==========================================================================
   MEDIA QUERIES (RESPONSIVE)
   ========================================================================== */

/* Tablet (Hasta 1024px) */
@media (max-width: 1024px) {
  .header {
    padding: 15px 25px;
  }
  .logo-icon {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 3px;
    overflow: hidden;
  }
  .hero-container {
    padding: 0 30px;
  }

  .hero-title {
    font-size: 42px;
  }
  .accessories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 992px) {
  .collection-features {
    flex-direction: column;
    gap: 15px;
  }
  .urban-features {
    flex-direction: column;
    gap: 15px;
  }
  .why-us-grid-bottom {
    grid-template-columns: repeat(2, 1fr);
  }
  .ecobiking-media {
    height: 380px;
  }

  .ecobiking-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 25px;
  }

  .ecobiking-text {
    max-width: 100%;
  }
  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px 30px;
  }

  .footer-brand {
    justify-content: flex-start;
  }
  .como-trabajamos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }
  .contact-top-bar-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact-main-container {
    grid-template-columns: 1fr;
  }

  .contact-form-wrapper,
  .contact-details-wrapper {
    padding: 50px 30px;
  }

  .relacionados-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .producto-detalle-grid {
    grid-template-columns: 1fr;
    padding: 25px;
    gap: 30px;
  }

  .carrito-layout-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .momentos-row,
  .momentos-row-reverse {
    grid-template-columns: 1fr;
    height: auto;
  }

  .momento-card {
    min-height: 250px;
  }

  .producto-detalle-card {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 25px;
  }
  .producto-detalle-titulo {
    font-size: 24px;
  }
  .producto-detalle-precio {
    font-size: 26px;
  }
}

/* Móvil y Tablets pequeñas (Hasta 768px) */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    height: 100vh;
    background-color: rgba(18, 18, 20, 0.98);
    padding: 100px 40px;
    transition: right 0.4s ease;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.5);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 25px;
  }

  .nav-menu a {
    font-size: 18px;
  }

  /* Degradado móvil con buena visibilidad de fondo */
  .hero-bg-overlay {
    background: linear-gradient(
      to bottom,
      rgba(18, 18, 20, 0.75) 0%,
      rgba(18, 18, 20, 0.65) 60%,
      rgba(130, 15, 15, 0.6) 100%
    );
  }

  .hero-subtitle {
    font-size: 18px;
  }

  .hero-title {
    font-size: 34px;
  }

  .hero-specs li {
    font-size: 14px;
  }
  .urban-container {
    padding: 0 25px;
  }

  .urban-title {
    font-size: 34px;
  }

  .urban-section {
    background-attachment: scroll;
    padding: 60px 0;
  }
  .special-container {
    padding: 0 25px;
  }

  .special-title {
    font-size: 34px;
  }

  .special-section {
    background-attachment: scroll;
    padding: 60px 0;
  }
  .why-us-section {
    padding: 50px 15px;
  }

  .why-us-title {
    font-size: 30px;
    margin-bottom: 30px;
  }

  .why-us-grid-top,
  .why-us-grid-bottom {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .why-card.main-card {
    min-height: 280px;
  }

  .why-card.sub-card {
    min-height: 180px;
  }

  .why-card-content h3 {
    font-size: 20px;
  }
  .accessories-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .accessories-title {
    font-size: 30px;
    margin-bottom: 30px;
  }
  .promo-x26-section {
    background-attachment: scroll;
    padding: 80px 20px;
  }

  .promo-x26-title {
    font-size: 34px;
  }

  .promo-x26-subtitle {
    font-size: 18px;
  }

  .promo-x26-description {
    font-size: 14px;
  }
  .goecobiking-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .goecobiking-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .join-programme-section {
    padding-top: 40px;
  }
  .join-programme-header {
    padding-bottom: 25px;
  }
  .join-programme-video-card {
    min-height: 380px;
    padding: 30px 20px;
  }
  .goecobiking-banner {
    padding: 40px 20px;
  }

  .goecobiking-banner-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .goecobiking-banner-btn {
    width: 100%;
    text-align: center;
    box-sizing: border-box;
  }
  .parallax-promo-section {
    min-height: 65vh;
    padding: 70px 20px;
    background-attachment: scroll; /* Desactiva parallax en móviles para evitar tirones */
  }

  .parallax-subtitle {
    margin-bottom: 10px;
  }

  .parallax-title {
    margin-bottom: 20px;
  }

  .parallax-desc {
    margin-bottom: 28px;
  }

  .parallax-btn {
    width: 100%;
    max-width: 280px;
    box-sizing: border-box;
  }
  .contact-hero-section {
    min-height: 45vh;
    padding: 90px 20px 60px;
    background-attachment: scroll; /* Desactiva parallax en móviles para fluidez */
  }

  .contact-map-section iframe {
    height: 380px;
  }
  /* En dispositivos móviles se oculta el tooltip para no tapar pantalla */
  .btn-whatsapp-flotante {
    bottom: 75px;
    right: 15px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-icon {
    width: 30px;
    height: 30px;
  }
  .whatsapp-tooltip {
    display: none;
  }
  .tienda-filtros-bar {
    flex-direction: column;
    align-items: stretch;
  }
  .filtro-input,
  .filtro-select,
  .btn-filtrar {
    width: 100%;
  }
  .galeria-amazon-layout {
    flex-direction: column-reverse;
  }

  .amazon-thumbs-sidebar {
    flex-direction: row;
    width: 100%;
    max-height: none;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 6px;
  }
}

@media (max-width: 600px) {
  .accessories-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px;
  }

  .accessories-title {
    font-size: 28px;
    margin-bottom: 30px;
  }
  .ecobiking-section {
    padding: 50px 15px;
  }

  .ecobiking-title {
    font-size: 28px;
    margin-bottom: 25px;
  }

  .ecobiking-media {
    height: 280px;
  }

  .ecobiking-play-btn {
    bottom: 20px;
    left: 20px;
    font-size: 16px;
    gap: 10px;
  }

  .ecobiking-play-btn .play-icon {
    width: 32px;
    height: 32px;
  }

  .ecobiking-subtitle {
    font-size: 22px;
  }
  .site-footer {
    padding-top: 50px;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 35px;
    padding-bottom: 50px;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    gap: 25px;
    align-items: center;
    text-align: center;
  }

  .relacionados-grid {
    grid-template-columns: 1fr;
  }
  .relacionado-img-link {
    height: 200px;
  }

  .productos-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .accessories-grid {
    grid-template-columns: 1fr;
  }

  .accessories-title {
    font-size: 30px;
    margin-bottom: 30px;
  }
  .como-trabajamos-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .contact-form-row {
    grid-template-columns: 1fr;
  }
}

/* Dispositivos muy pequeños (Hasta 480px) */
@media (max-width: 480px) {
  .hero-title {
    font-size: 28px;
  }

  .btn-cta {
    width: 100%;
    text-align: center;
  }
  .section-banner h2 {
    font-size: 28px;
  }

  .collection-container {
    padding: 0 25px;
  }

  .collection-title {
    font-size: 34px;
  }

  .collection-section {
    /* En dispositivos móviles se desactiva fixed si causa problemas de rendimiento en iOS */
    background-attachment: scroll;
    padding: 60px 0;
  }
  .accessories-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .accessories-grid {
    grid-template-columns: 1fr !important;
  }
}
