/*    PALETA
    */
:root {
  --brand-red-500-light: #d25445;
  --brand-amber-400-light: #ffc422;

  --accent-red: #e10600;
  --accent-red-hover: #b30000;
  --accent-yellow: var(--brand-amber-400-light);
  --accent-yellow-hover: #e6b800;

  /* Amarillo de acento (RRSS & estrellas) */
  --accent-amber: var(--brand-amber-400-light);

  /* Neutros */
  --ink-750: #1a1a1a;
  --ink-700: #1c1c1c;
  --ink-500: #2a2a2a;

  /* ===== MODO CLARO: 3 COLORES DE FONDO ===== */
  --bg-navfooter-light: #000000;
  --bg-hero-light: #111111;
  --bg-content-light: #e9e9df;
  /* ===== MODO OSCURO: 3 COLORES DE FONDO ===== */
  --bg-navfooter-dark: #111111;
  --bg-hero-dark: #0f0f0f;
  --bg-content-dark: #141414;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
    "Noto Sans", "Liberation Sans", Arial, sans-serif, "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}
/* --- INICIO: Animaciones --- */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* --- FIN: Animaciones  --- */

/*    NAVBAR */
.navbar-custom {
  background-color: var(--bg-navfooter-light);
  border-bottom: 2px solid var(--accent-red-hover);
  animation: fadeInDown 0.8s ease-out;
}
.navbar-brand img {
  height: 40px;
}
.navbar-nav .nav-link {
  color: #fff;
  font-weight: 500;
  transition: color 0.2s ease, font-weight 0.2s ease;
}
.navbar-nav .nav-link:hover {
  color: var(--accent-red-hover);
}

.navbar-nav .nav-link.active {
  color: var(--accent-red);
  font-weight: 700;
}

[data-bs-theme="dark"] .navbar-nav .nav-link.active {
  color: var(--accent-red);
}

/* Iconos blancos en CLARO para que no se pierdan */
.nav-icon {
  color: #fff;
  font-size: 1.4rem;
  transition: color 0.2s ease;
}
.nav-icon:hover {
  color: var(--accent-red);
}

[data-bs-theme="light"] .nav-icon {
  color: #fff !important;
}
[data-bs-theme="light"] .nav-icon:hover {
  color: var(--accent-red) !important;
}

/* Hamburguesa blanca (custom) */
.custom-toggler {
  border: 2px solid #fff !important;
  filter: invert(0) !important;
}

.custom-toggler .navbar-toggler-icon {
  background-image: none !important;
  position: relative;
  width: 1.5rem;
  height: 1.5rem;
}
.custom-toggler .navbar-toggler-icon::before,
.custom-toggler .navbar-toggler-icon::after,
.custom-toggler .navbar-toggler-icon span {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}
.custom-toggler .navbar-toggler-icon::before {
  top: 0;
}
.custom-toggler .navbar-toggler-icon span {
  top: 50%;
  transform: translateY(-50%);
}
.custom-toggler .navbar-toggler-icon::after {
  bottom: 0;
}

/* === INICIO: Animación de Hamburguesa a "X" === */

/* Transición suave para las 3 líneas */
.custom-toggler .navbar-toggler-icon::before,
.custom-toggler .navbar-toggler-icon span,
.custom-toggler .navbar-toggler-icon::after {
  transition: all 0.3s ease;
}

/* Cuando el menú está ABIERTO */
.custom-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
  /* Gira la línea superior 45 grados y la centra */
  transform: translateY(7px) rotate(45deg);
}

.custom-toggler[aria-expanded="true"] .navbar-toggler-icon span {
  /* Oculta la línea del medio */
  opacity: 0;
}

.custom-toggler[aria-expanded="true"] .navbar-toggler-icon::after {
  /* Gira la línea inferior -45 grados y la centra */
  transform: translateY(-15px) rotate(-45deg);
}
/* === FIN: Animación de Hamburguesa a "X" === */

.cart-badge {
  background-color: var(--accent-yellow-hover) !important;
  color: #000 !important;
  font-size: 0.65rem;
  padding: 0.3em 0.55em;
  display: none;
}
.cart-badge.show {
  display: block;
}

/*    HERO */
.hero {
  margin-top: 65px;
  background: var(--bg-hero-light);
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
}
.hero-content {
  position: relative;
  max-width: 400px;
  background: rgba(0, 0, 0, 0.6);
  padding: 20px;
}
.hero-logo {
  width: 180px;
  margin-bottom: 10px;
  animation: fadeInUp 0.6s ease-out 0.2s; /* 0.2s de retraso */
  animation-fill-mode: backwards; /*  animación  antes de empezar */
}
.hero-text {
  color: #fff;
  font-size: 0.9rem;
  letter-spacing: 1px;
  margin-bottom: 15px;
  animation: fadeInUp 0.6s ease-out 0.4s;
  animation-fill-mode: backwards;
}
/*    HERO - FONDOS RESPONSIVOS*/

.hero-video-bg,
.hero-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-image-bg img,
.hero-image-bg source {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-bg {
  display: none;
}
.hero-image-bg {
  display: block;
}

@media (min-width: 768px) {
  .hero-video-bg {
    display: block;
  }
  .hero-image-bg {
    display: none;
  }
}

.btn-buy {
  background: var(--accent-red);
  color: #fff;
  font-weight: bold;
  padding: 10px 25px;
  border: none;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  box-shadow: 3px 3px 0 #000;
  transition: all 0.3s ease;
  animation: fadeInUp 0.6s ease-out 0.6s;
  animation-fill-mode: backwards;
}
.btn-buy:hover {
  background: var(--accent-red-hover);
  box-shadow: 5px 5px 0 #000;
}

/*    PRODUCTOS
    */
#productos,
#colecciones,
#nosotros,
#reviews {
  scroll-margin-top: 75px;
}
.productos {
  background: var(--bg-content-light);
  border-top: 3px solid var(--accent-red-hover);
  padding-top: 70px;
}
.productos-title {
  letter-spacing: 2px;
  font-weight: 600;
}

.product-card {
  background: #fff;
  border: 3px solid #000;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.product-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
.product-body {
  padding: 18px 22px 24px;
  background: #f3f3f3;
}
.product-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin: 6px 0 8px;
}
.old-price {
  color: #9a9a9a;
  margin-bottom: 18px;
}
.btn-card {
  background: var(--accent-red);
  color: #fff;
  font-weight: 700;
  padding: 12px 0;
  width: 100%;
  border: none;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 #000;
  transition: transform 0.2s ease, box-shadow 0.2s ease,
    background-color 0.2s ease;
}
.btn-card:hover {
  background: var(--accent-red-hover);
  transform: translate(-1px, -1px);
  box-shadow: 5px 5px 0 #000;
}

@media (min-width: 1400px) {
  .product-img {
    height: 300px;
  }
}

/* --- INICIO: Imagen Hover en Productos --- */

.product-media-wrapper {
  position: relative; /* Clave para apilar los hijos */
  width: 100%;
  height: 260px;
  overflow: hidden;
  background-color: #111;
}

.product-media-wrapper .product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease-in-out;
}

.product-media-wrapper .product-img-hover {
  opacity: 0;
  pointer-events: none;
}

.product-card:hover .product-media-wrapper .product-img-hover {
  opacity: 1;
}

.product-card:hover .product-media-wrapper .product-img-main {
  opacity: 0;
}

@media (min-width: 1400px) {
  .product-media-wrapper {
    height: 300px;
  }
}

/*    COLECCIONES
    */

.colecciones {
  background: var(--bg-content-light);
  border-top: 3px solid var(--accent-red-hover);
  color: #111;
}
.colecciones-title {
  font-weight: 600;
  letter-spacing: 1px;
}

.colec-card {
  position: relative;
  display: block;
  overflow: hidden;
  border: 4px solid transparent;
  aspect-ratio: 4/3;
  text-decoration: none;
  background: #1a1a1a;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.colec-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(0.9) saturate(0.9);
  transition: transform 0.35s ease, filter 0.35s ease;
}
.colec-label {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  font-size: clamp(1.1rem, 3vw, 2rem);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  padding: 0 12px;
}
.border-red {
  border-color: #d33;
}
.border-gray {
  border-color: #5a5050;
}

/* === Hover heredado de WHY-US  */
.colec-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
  border-color: #444;
}
.colec-card:hover img {
  transform: scale(1.04);
  filter: brightness(1) saturate(1);
}

@media (min-width: 1400px) {
  .colec-card {
    aspect-ratio: 16/11;
  }
}

/*    MODA MUNDIAL AUTÉNTICA */

.moda-mundial {
  background: var(--bg-content-light);
  border-top: 3px solid var(--accent-red-hover);
}
.moda-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.moda-text {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 10px;
}
.moda-subtext {
  font-size: 0.95rem;
  color: #666;
  margin-bottom: 20px;
}
.moda-img {
  border: 4px solid #000;
  display: block;
}
.btn-moda {
  background: var(--accent-yellow);
  border: 3px solid #000;
  color: #000;
  font-weight: 700;
  padding: 10px 25px;
  text-transform: uppercase;
  box-shadow: 3px 3px 0 #000;
  transition: all 0.3s ease;
}
.btn-moda:hover {
  background: var(--accent-yellow-hover);
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #000;
}

/*  (CONFÍA EN NOSOTROS)
    */
.why-us {
  background: var(--bg-content-light);
  border-top: 3px solid var(--accent-red-hover);
  color: #111;
}
.why-title {
  letter-spacing: 2px;
  font-weight: 600;
}

.why-card {
  padding: 28px 26px;
  height: 100%;
  border: 3px solid transparent;
  display: grid;
  gap: 10px;
  align-content: start;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  background: #ffffff;
  border: 3px solid #eee;
}
/* Hover base */
.why-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.1);
  border-color: #ddd;
}

/* Variantes de color MODO CLARO */
.why-us .bg-red {
  background: #fdf5f4;
  border-color: var(--brand-red-500-light);
}
.why-us .bg-yellow {
  background: #fffbf0;
  border-color: var(--brand-amber-400-light);
}

.why-icon {
  font-size: 2.2rem;
  line-height: 1;
  color: #111;
}
.why-heading {
  margin: 6px 0 4px;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #111;
}
.why-text {
  margin: 0;
  color: #555;
  line-height: 1.5;
}

.border-yellow-3 {
  border-color: var(--accent-yellow);
}
.border-red-3 {
  border-color: #c2332a;
}
.border-black-3 {
  border-color: #111;
}

/*    REVIEWS */

.reviews {
  background: var(--bg-content-light);
  border-top: 3px solid var(--accent-red-hover);
}
.reviews-title {
  letter-spacing: 2px;
  font-weight: 700;
}

.review-card {
  min-height: 200px;
  border: 4px solid #000;
  padding: 26px 24px;
  display: grid;
  gap: 14px;
  box-shadow: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
/* Hover igual que WHY-US */
.review-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.6);
}

/* Fondos scopeados en reviews */
.reviews .bg-dark-true {
  background: #0e0e0e;
  color: var(--bg-content-light);
}
.reviews .bg-red {
  background: #d7321f;
  color: #fff;
}

.stars {
  font-size: 1.2rem;
  color: var(--accent-amber);
  letter-spacing: 2px;
}
.review-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #fff;
  margin: 0;
}
.review-author {
  margin: 0;
  color: var(--accent-amber);
  font-weight: 700;
}

.reviews .row .col-12.col-lg-4:nth-child(1) .review-card,
.reviews .row .col-12.col-lg-4:nth-child(3) .review-card {
  border-color: var(--brand-red-500-light) !important;
}

@media (max-width: 991.98px) {
  .review-card {
    min-height: auto;
  }
}

/* FOOTER */
.footer {
  background: var(--bg-navfooter-light);
  color: #fff;
  border-top: 3px solid var(--accent-red-hover);
  font-size: 0.95rem;
}
.footer-logo {
  width: 120px;
}
.footer-desc {
  margin-bottom: 1rem;
  color: #ccc;
}

/* RRSS SIEMPRE AMARILLO */
.footer-social a {
  display: inline-block;
  color: var(--accent-amber) !important;
  margin-right: 12px;
  font-size: 1.3rem;
  transition: color 0.3s ease;
}
.footer-social a:hover {
  color: var(--accent-yellow-hover) !important;
}

.footer-title {
  font-weight: 700;
  margin-bottom: 10px;
  font-size: 1rem;
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 6px;
}
.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: color 0.3s ease;
}
.footer-links a:hover {
  color: #fff;
}

.newsletter-form {
  margin-top: 10px;
}
.newsletter-form input {
  flex: 1;
  padding: 8px 12px;
  border: none;
  outline: none;
}
.newsletter-form button {
  background: #d7321f;
  color: #fff;
  font-weight: bold;
  border: none;
  padding: 8px 14px;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}
.newsletter-form button:hover {
  background: var(--accent-red-hover);
}

.whatsapp-fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.whatsapp-fab:hover {
  background: #128c7e;
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.15);
  margin: 1.5rem 0;
}
.footer-bottom-links a {
  color: #ccc;
  text-decoration: none;
  margin-left: 20px;
  transition: color 0.3s ease;
}
.footer-bottom-links a:hover {
  color: #fff;
}

/* MODO OSCURO — 3 COLORES DE FONDO */
[data-bs-theme="dark"] {
  background-color: #0d0d0d;
  color: #e0e0e0;
}

/* NAV/FOOTER */
[data-bs-theme="dark"] .navbar-custom {
  background-color: var(--bg-navfooter-dark);
  border-bottom: 2px solid var(--accent-red);
}
[data-bs-theme="dark"] .footer {
  background: var(--bg-navfooter-dark);
  color: #e0e0e0;
  border-top-color: var(--accent-red);
}
[data-bs-theme="dark"] .navbar-nav .nav-link {
  color: #f3f3f3;
}
[data-bs-theme="dark"] .navbar-nav .nav-link:hover {
  color: #ff5252;
}
[data-bs-theme="dark"] .nav-icon {
  color: #fff;
}
[data-bs-theme="dark"] .nav-icon:hover {
  color: #ff5252;
}

/* HERO + COLECCIONES + WHY-US */
[data-bs-theme="dark"] .hero {
  background: var(--bg-hero-dark);
}
[data-bs-theme="dark"] .hero::before {
  background: rgba(0, 0, 0, 0.6);
}
[data-bs-theme="dark"] .hero-content {
  background: rgba(20, 20, 20, 0.8);
}

[data-bs-theme="dark"] .colecciones,
[data-bs-theme="dark"] .why-us {
  background: var(--bg-hero-dark);
  color: #fff;
}

/* PRODUCTOS + MODA + REVIEWS */
[data-bs-theme="dark"] .productos,
[data-bs-theme="dark"] .moda-mundial,
[data-bs-theme="dark"] .reviews {
  background: var(--bg-content-dark);
}

/* Tarjetas en oscuro */
[data-bs-theme="dark"] .product-card {
  background: #1e1e1e;
  border-color: #333;
}
[data-bs-theme="dark"] .product-body {
  background: #222;
}
[data-bs-theme="dark"] .product-name {
  color: #fff;
}
[data-bs-theme="dark"] .old-price {
  color: #aaa;
}

[data-bs-theme="dark"] .colec-card {
  background: #1a1a1a;
  border-color: #333;
}
[data-bs-theme="dark"] .colec-card img {
  filter: brightness(0.6);
}
[data-bs-theme="dark"] .colec-card:hover {
  transform: translateY(-3px);
  box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.6);
  border-color: #444;
}
[data-bs-theme="dark"] .colec-card:hover img {
  filter: brightness(0.85);
}
[data-bs-theme="dark"] .colec-label {
  color: #fff;
}

[data-bs-theme="dark"] .moda-title {
  color: #fff;
}
[data-bs-theme="dark"] .moda-text,
[data-bs-theme="dark"] .moda-subtext {
  color: #ccc;
}
[data-bs-theme="dark"] .moda-img {
  border-color: #333;
}

/* WHY-US (oscuro): */
[data-bs-theme="dark"] .why-card {
  background: var(--ink-700);
  border: 1.5px solid var(--ink-500);
  box-shadow: none;
}
[data-bs-theme="dark"] .why-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  border-color: #3a3a3a;
}
[data-bs-theme="dark"] .why-us .bg-red {
  background: linear-gradient(
      180deg,
      rgba(184, 74, 62, 0.16),
      rgba(184, 74, 62, 0.08)
    ),
    var(--ink-700);
  border-color: rgba(184, 74, 62, 0.45);
}
[data-bs-theme="dark"] .why-us .bg-yellow {
  background: linear-gradient(
      180deg,
      rgba(224, 179, 74, 0.18),
      rgba(224, 179, 74, 0.1)
    ),
    var(--ink-700);
  border-color: rgba(224, 179, 74, 0.45);
}
[data-bs-theme="dark"] .why-heading {
  color: #f4f4f4;
}
[data-bs-theme="dark"] .why-text {
  color: #cfcfcf;
}
[data-bs-theme="dark"] .why-icon {
  color: #e6e6e6;
}

/* REVIEWS oscuro */
[data-bs-theme="dark"] .review-card {
  background: #1e1e1e;
  border-color: #333;
}
[data-bs-theme="dark"] .review-text {
  color: #eaeaea;
}
[data-bs-theme="dark"] .review-author {
  color: var(--accent-amber);
}

[data-bs-theme="light"] #popupEnviado .modal-content {
  color: #111;
}

/* ESTILOS MODAL CARRITO */

#cartEmptyMessage {
  display: none;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid;
}

.cart-item-name {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.1rem;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cart-item-quantity {
  font-weight: 500;
  font-size: 1.1rem;
  min-width: 20px;
  text-align: center;
}

/* Estilo para los botones + y - */
.btn-cart-adjust {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  border: none;
  border-radius: 50%;
  font-weight: bold;
  color: #fff;
  transition: all 0.2s ease;
}

.btn-cart-add {
  background-color: var(--accent-red);
}
.btn-cart-add:hover {
  background-color: var(--accent-red-hover);
}

.btn-cart-remove {
  background-color: #6c757d;
}
.btn-cart-remove:hover {
  background-color: #5a6268;
}

/* --- Colores de Tema para el Modal --- */

[data-bs-theme="light"] .cart-item {
  border-color: #e9ecef;
}

/* Borde en Modo Oscuro */
[data-bs-theme="dark"] .cart-item {
  border-color: var(--ink-500);
}

/* Fix para el botón "Finalizar Compra" en el footer del modal */
[data-bs-theme="dark"] .modal-footer .btn-buy {
  background: var(--accent-red);
  color: #fff;
}
[data-bs-theme="dark"] .modal-footer .btn-buy:hover {
  background: var(--accent-red-hover);
}

/* FIX: Texto del modal en Modo Claro */
[data-bs-theme="light"] #cartModal .modal-content {
  color: #111;
}

#cartTotalContainer {
  margin-right: auto;
  font-size: 1.2rem;
  font-weight: bold;
  display: none;
}

.cart-total-label {
  font-weight: 500;
  margin-right: 8px;
}

.cart-total-amount {
  color: var(--accent-red);
}

/* --- INICIO: Animaciones On-Scroll --- */

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  transition-delay: var(--delay, 0s);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Productos (4 columnas) */
.productos .row .col-12:nth-child(1) .product-card.is-visible {
  transition-delay: 0ms;
}
.productos .row .col-12:nth-child(2) .product-card.is-visible {
  transition-delay: 100ms;
}
.productos .row .col-12:nth-child(3) .product-card.is-visible {
  transition-delay: 200ms;
}
.productos .row .col-12:nth-child(4) .product-card.is-visible {
  transition-delay: 300ms;
}

/* Colecciones (3 columnas) */
.colecciones .row .col-12:nth-child(1) .colec-card.is-visible {
  transition-delay: 0ms;
}
.colecciones .row .col-12:nth-child(2) .colec-card.is-visible {
  transition-delay: 150ms;
}
.colecciones .row .col-12:nth-child(3) .colec-card.is-visible {
  transition-delay: 300ms;
}

/* Why Us (4 columnas) */
.why-us .row .col-12:nth-child(1) .why-card.is-visible {
  transition-delay: 0ms;
}
.why-us .row .col-12:nth-child(2) .why-card.is-visible {
  transition-delay: 100ms;
}
.why-us .row .col-12:nth-child(3) .why-card.is-visible {
  transition-delay: 200ms;
}
.why-us .row .col-12:nth-child(4) .why-card.is-visible {
  transition-delay: 300ms;
}

/* Reviews (3 columnas) */
.reviews .row .col-12:nth-child(1) .review-card.is-visible {
  transition-delay: 0ms;
}
.reviews .row .col-12:nth-child(2) .review-card.is-visible {
  transition-delay: 150ms;
}
.reviews .row .col-12:nth-child(3) .review-card.is-visible {
  transition-delay: 300ms;
}

/* --- FIN: Animaciones On-Scroll --- */
/* --- INICIO: Fix Widget Elfsight --- */

.elfsight-widget-container {
  position: fixed;
  bottom: 0;
  right: 0;
  z-index: 1050;
}

html[data-bs-theme="light"] body {
  background-color: var(--bg-content-light, #e9e9df) !important;
}

html[data-bs-theme="dark"] body {
  background-color: #0d0d0d !important;
}

/* --- INICIO: Estilos Carousel Productos (Móvil) --- */

/* Damos espacio a los indicadores */
#productCarousel {
  padding-bottom: 30px;
}

/* Indicadores (puntitos) oscuros */
#productCarousel .carousel-indicators [data-bs-target] {
  background-color: #aaa; /* Color inactivo */
  height: 4px;
  width: 25px;
  opacity: 0.8;
}

#productCarousel .carousel-indicators .active {
  background-color: var(
    --accent-red
  ); /* Usamos tu color de acento para el activo */
  opacity: 1;
}

/* Ajuste para modo oscuro */
[data-bs-theme="dark"] #productCarousel .carousel-indicators [data-bs-target] {
  background-color: #555;
}
/* --- FIN: Estilos Carousel Productos (Móvil) --- */
/* --- INICIO: Estilos Modal Login --- */

/* FIX: Texto del modal en Modo Claro */
[data-bs-theme="light"] #loginModal .modal-content {
  color: #111;
}

/* Estilo para el link de "Olvidaste contraseña" */
#loginModal .form-link {
  text-decoration: none;
  color: var(--accent-red);
}
#loginModal .form-link:hover {
  text-decoration: underline;
  color: var(--accent-red-hover);
}

/* --- FIN: Estilos Modal Login --- */
