@import "./node_modules/bootstrap/scss/bootstrap.scss";

:root {
  --color-naranja: #ED6B1D;
}

.section {
  padding: 60px 0;

}


#cart-count {
  min-width: 22px;
  min-height: 22px;
  font-size: 0.75rem;
  line-height: 22px;
}




.dark body {
  background-color: #292929;
  color: white;
}


body {
  background-color: orangered;
}

.logo-navbar {
  height: 100px;
  /* o el tamaño que quieras */
  width: auto;
  /* mantiene proporciones */
  margin-left: 30px;
}

.wheel-container {
  position: absolute;
  top: 25%;
  left: -100px;
  z-index: 9999;
  animation: rollIn 2s ease-out forwards;
}

.wheel-icon {
  font-size: 60px;
  color: #212529;
  /* Negro, como una rueda */
}

.wheel-img {
  width: 80px;
  height: 80px;
  color: #212529;
}

@keyframes rollIn {
  0% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }

  60% {
    opacity: 0;
  }

  100% {
    transform: translateX(100vw) rotate(720deg);
    opacity: 1;
  }
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  will-change: transform, box-shadow;
  padding-left: 60px;
  padding-right: 60px;


}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  
 
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

label {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
  letter-spacing: 0.5px;
}



.nav-link {
  position: relative;
  transition: color 0.3s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: rgb(255, 208, 0);
  transition: width 0.3s;
}

.nav-link:hover {
  color: rgb(255, 208, 0) !important;
}

.nav-link:hover::after {
  width: 100%;
}


/*Para que el título principal entre con una animación elegante cuando carga*/

h1 {
  opacity: 0;
  transform: translateY(-20px);
  animation: fadeIn 1s forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container-hero {
  display: flex;
  justify-content: center;
  align-items: center;
  align-content: center;
  height: 80%;
}




/* Aplica específicamente a las cards dentro de la sección de servicios */
section.container .card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /* sombra base */
}

section.container .card:hover {
  transform: translateY(-10px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.25);
  /* sombra más intensa */
  z-index: 1;
}



.hora {
  background-color: whitesmoke;

}

.hidden-section {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease, transform 1s ease;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.fade-in-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

.questions {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

.questions {
  opacity: 1;
  transform: translateY(0);
}

.slide-logo {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease;
}

.slide-logo.show {
  opacity: 1;
  transform: translateX(0);
}


.wheel-container {
  position: absolute;
  top: 25%;
  left:-100px;
  z-index: 9999;
  animation: rollIn 2s ease-out forwards;
}

.wheel-icon {
  font-size: 60px;
  color: #212529;
  /* Negro, como una rueda */
}

.wheel-img {
  width: 100px;
  height: 100px;
  color: #212529;
}


@keyframes rollIn {
  0% {
    transform: translateX(0) rotate(0deg);
    opacity: 1;
  }

  60% {
    opacity: 0;
  }

  100% {
    transform: translateX(100vw) rotate(720deg);
    opacity: 1;
  }
}

/* Bnadas superiores e inferiores del carrusel*/
.top-band {
  top: 0;
  background: rgba(0, 0, 0, 0.7);
  font-size: 1rem;
  color: white;
  height: 40px;
  display: flex;
  align-items: center;
}

.bottom-band {
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  font-size: 1rem;
  color: white;
  height: 40px;
  display: flex;
  align-items: center;
}

/* Animación derecha a izquierda */

.top-band {
  top: 0;
  background: rgba(0, 0, 0, 0.7);
  font-size: 1rem;
  color: white;
  height: 40px;
  display: flex;
  align-items: center;
  z-index: 1;
  /* Para que esté sobre el carrusel */
}

.bottom-band {
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  font-size: 1rem;
  color: white;
  height: 40px;
  display: flex;
  align-items: center;
  z-index: 1;
  /* Para que esté sobre el carrusel */
}

/* Animaciones */
.scroll-left {
  white-space: nowrap;
  display: inline-block;
  animation: scroll-left 30s linear infinite;
}

.scroll-right {
  white-space: nowrap;
  display: inline-block;
  animation: scroll-right 30s linear infinite;
}

@keyframes scroll-left {
  0% {
    transform: translateX(100%);
  }

  100% {
    transform: translateX(-100%);
  }
}

@keyframes scroll-right {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(100%);
  }
}

/*Footer*/
/* Inicialmente los elementos tienen opacidad 0 y están un poco abajo */

/* Estado inicial: invisible y desplazado */
.fade-in {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s ease-out, transform 1s ease-out;
}

/* Estado visible */
.fade-in.show {
  opacity: 1;
  transform: translateY(0);
}

/* Para aplicar delays individuales */
.fade-in.delay-1 {
  transition-delay: 0.2s;
}

.fade-in.delay-2 {
  transition-delay: 0.4s;
}

.fade-in.delay-3 {
  transition-delay: 0.6s;
}

/*Error de validacio*/
.error-text {
  color: red;
  font-size: 0.9rem;
  margin-top: 5px;
}

/*Efectos para el btn de envio*/

#mensajeRespuesta,
#spinner {
  margin-top: 10px;
  text-align: center;
  font-weight: bold;
}


.card-highlight {
  border: 3px solid #198754;
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
  transition: transform 0.3s ease;
}

.card-highlight:hover {
  transform: translateY(-5px);
}

.countdown-box {
  background: linear-gradient(135deg, #dc3545, #c82333);
  color: white;
  border-radius: 8px;
  padding: 8px 15px;
  font-weight: bold;
}

.cyber-monday-badge {
  background-color: var(--color-naranja);
  color: white;
  font-weight: bold;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.9rem;
}

.professional-text {
  font-size: 1.05rem;
  line-height: 1.5;
}

.oferta-cyber {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem 1rem;
  background-color: rgba(255, 255, 255, 0.05); 
  border-radius: 1rem;
  backdrop-filter:blur(4px);
}

    :root {
      --primary-color: #ffc107;
      --secondary-color: #212529;
      --accent-color: #dc3545;
      --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
      --gradient-warning: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
      --gradient-success: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    }

    .hero-section {
      position: relative;
    }

    .hero-slider {
      position: relative;
    }

    .hero-slide {
      min-height: 100vh;
      padding: 100px 0;
      background-color: #ED6B1D;
    }

    

    .hero-controls {
      position: absolute;
      bottom: 50px;
      left: 0;
      right: 0;
      text-align: center;
    }

    .hero-controls button {
      width: 50px;
      height: 50px;
      border: 2px solid white;
      background: rgba(0,0,0,0.5);
      color: white;
      margin: 0 10px;
      transition: all 0.3s ease;
    }

    .hero-controls button:hover {
      background: var(--primary-color);
      border-color: var(--primary-color);
    }

    .promo-card {
      backdrop-filter: blur(10px);
      background: rgba(255,255,255,0.95) !important;
    }

    .icon-wrapper {
      width: 100px;
      height: 100px;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .bg-primary-gradient {
      background: var(--gradient-primary);
    }

    .bg-warning-gradient {
      background: var(--gradient-warning);
    }

    .bg-success-gradient {
      background: var(--gradient-success);
    }

    .bg-danger-gradient {
      background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    }

    .hover-lift {
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .hover-lift:hover {
      transform: translateY(-10px);
      box-shadow: 0 20px 40px rgba(0,0,0,0.1) !important;
    }

    .service-features {
      text-align: left;
    }

    .feature-item {
      font-size: 0.9rem;
    }

    .stat-item {
      padding: 20px;
    }

    .animate-pulse {
      animation: pulse 2s infinite;
    }

    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }

     .hero-with-navbar {
    padding-top: 100px !important;
    margin-top: 0 !important;
  }

  @media (max-width: 991.98px) {
    .navbar-collapse {
      background: #212529;
      padding: 1rem;
      border-radius: 0.5rem;
      margin-top: 0.5rem;
      text-align: center;
    }

    .navbar-nav .nav-item {
      margin-bottom: 0.75rem;
    }

    .hero-with-navbar {
      padding-top: 80px !important;
    }
  }
.hero-product {
        position: relative;
        background: url('img/logofondo2.jpg') center/cover no-repeat;
        height: 85vh;
        overflow: hidden;
      }
    .hero-product::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 35%;
    
      pointer-events: none;
    }
  .navbar-toggler {
    border-color: rgba(255, 255, 255, 0.6);
  }

  .navbar-toggler:focus {
    box-shadow: 0 0 0 0.2rem rgba(255, 255, 255, 0.3);
  }
   
  
    .hero-product::after {
      content: "";
      position: absolute;
      bottom: 0;
      left: 0;
      width: 100%;
      height: 35%;
      background: linear-gradient(to bottom, rgba(76, 76, 76, 0) 0%, rgba(76, 76, 76, 1) 100%);
      pointer-events: none;
    }

    /* ESTILOS RESPONSIVE ESPECÍFICOS PARA EL HERO */
    @media (max-width: 992px) {
      .hero-slide {
        min-height: auto !important;
        padding: 4rem 0 !important;
      }
      
      .hero-slide .row.align-items-center {
        flex-direction: column;
      }
      
      .hero-slide .col-lg-6 {
        margin-bottom: 2rem !important;
      }
      
      .hero-slide .col-lg-6:last-child {
        margin-bottom: 0 !important;
      }
    }

    @media (max-width: 768px) {
      .hero-slide {
        padding: 3rem 0 !important;
      }
      
      .display-3 {
        font-size: 2rem !important;
      }
      
      .display-4 {
        font-size: 1.75rem !important;
      }
      
      .fs-1 {
        font-size: 1.3rem !important;
      }
      
      .fs-3 {
        font-size: 1.2rem !important;
      }
      
      .btn-lg.px-5 {
        width: 100%;
        margin-bottom: 0.5rem;
      }
    }

    @media (max-width: 576px) {
      .hero-slide {
        padding: 2rem 0 !important;
      }
      
      .display-3 {
        font-size: 1.5rem !important;
      }
      
      .display-4 {
        font-size: 1.4rem !important;
      }
    }


    

    .hero-gomeria {
            background-image: url(/alva-neumaticos/alva-neumaticos/public/);
            background: linear-gradient(135deg, #f87801 0%, #db7434 100%);
            color: white;
            padding: 80px 0;
            text-align: center;
        }
        
        .servicio-card {
            border: none;
            border-radius: 15px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s ease, box-shadow 0.3s ease;
            margin-bottom: 30px;
            height: 100%;
            border-left: 4px solid #e74c3c;
        }
        
        .servicio-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 25px rgba(0,0,0,0.2);
        }
        
        .servicio-imagen {
            height: 180px;
            background-size: cover;
            background-position: center;
            border-top-left-radius: 15px;
            border-top-right-radius: 15px;
        }
        
        .precio {
            font-size: 1.4rem;
            font-weight: bold;
            color: #27ae60;
        }
        
        .duracion {
            color: #202121;
            font-size: 1rem;
        }
        
        .categoria-badge {
            background: #e74c3c;
            color: white;
            font-size: 0.8rem;
            
        }
        
        .caracteristica-item {
            margin-bottom: 5px;
            font-size: 0.9rem;
        }
        
        .caracteristica-item i {
            color: #27ae60;
            margin-right: 8px;
        }
        
        .btn-gomeria {
            background: #e74c3c;
            border: none;
            color: white;
        }
        
        .btn-gomeria:hover {
            background: #c0392b;
            color: white;
        }
.hero-cards {
            background-image: url(/alva-neumaticos/alva-neumaticos/public/);
            background: linear-gradient(135deg, #f87801 0%, #db7434 100%);
            color: white;
            padding: 20px 0;
            text-align: center;
        }

        

  .font-montserrat {
  font-family: Arial, Helvetica, sans-serif;
}


.h-500 {
            height: 500px;
          }
          /* Estilos para las cintas de marcas */
          .marquee-top, .marquee-bottom {
            
            padding: 15px 0;
            overflow: hidden;
            position: relative;
          }
          .marquee-container {
            width: 100%;
            overflow: hidden;
            position: relative;
          }
          .marquee-content {
            display: flex;
            animation: marquee 30s linear infinite;
            white-space: nowrap;
          }
          .marquee-content.reverse {
            animation: marquee-reverse 25s linear infinite;
          }
          .marca-item {
            color: #f8f8e8;
            
            font-size: 1.2rem;
            margin: 0 20px;
            text-transform: uppercase;
            letter-spacing: 1px;
          }
          .marca-separator {
            color: #fff;
            font-size: 1.5rem;
            margin: 0 10px;
          }
          @keyframes marquee {
            0% { transform: translateX(100%); }
            100% { transform: translateX(-100%); }
          }
          @keyframes marquee-reverse {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
          }
          /* Mejoras al carrusel */
          .carousel-control-prev-icon,
          .carousel-control-next-icon {
            background-color: #ffc107;
            border-radius: 50%;
            padding: 20px;
            background-size: 30px 30px;
          }
          .carousel-indicators {
            bottom: -60px;
          }
          .carousel-indicators button {
            width: auto;
            height: auto;
            text-indent: 0;
            background: #343a40;
            color: white;
            border: 2px solid #ffc107;
            border-radius: 25px;
            padding: 8px 20px;
            margin: 0 10px;
            opacity: 0.7;
            transition: all 0.3s ease;
          }
          .carousel-indicators button.active {
            background: #ffc107;
            color: #343a40;
            opacity: 1;
            font-weight: bold;
          }
          .brand-info {
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: center;
          }
          /* Responsive */
          @media (max-width: 768px) {
            .h-500 {
              height: auto;
              min-height: 400px;
            }
            .marca-item {
              font-size: 1rem;
              margin: 0 15px;
            }
            .display-6 {
              font-size: 1.5rem;
            }
          }


.whatsapp-float {
            position: fixed;
            bottom: 25px;
            right: 25px;
            z-index: 10000;
          }
          .whatsapp-link {
            display: block;
            text-decoration: none;
            position: relative;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
          }
          .whatsapp-icon {
            width: 65px;
            height: 65px;
            background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
            transition: all 0.3s ease;
            position: relative;
            border: 3px solid white;
          }
          .whatsapp-icon i {
            font-size: 30px;
            color: white;
            z-index: 2;
            position: relative;
          }
          .whatsapp-pulse {
            position: absolute;
            width: 100%;
            height: 100%;
            background: inherit;
            border-radius: 50%;
            opacity: 0.8;
            animation: pulse-ring 2s ease-out infinite;
          }
          .whatsapp-tooltip {
            position: absolute;
            right: 80px;
            top: 50%;
            transform: translateY(-50%);
            background: #2d3748;
            color: white;
            padding: 12px 18px;
            border-radius: 12px;
            font-size: 14px;
            font-weight: 600;
            white-space: nowrap;
            opacity: 0;
            visibility: hidden;
            transition: all 0.3s ease;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.1);
          }
          .whatsapp-tooltip::after {
            content: '';
            position: absolute;
            left: 100%;
            top: 50%;
            transform: translateY(-50%);
            border-width: 8px;
            border-style: solid;
            border-color: transparent transparent transparent #2d3748;
          }
          .whatsapp-notification {
            position: absolute;
            top: -5px;
            right: -5px;
            background: #e53e3e;
            color: white;
            width: 22px;
            height: 22px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 12px;
            font-weight: bold;
            border: 2px solid white;
            animation: bounce-notification 2s infinite;
          }
          .whatsapp-link:hover .whatsapp-tooltip {
            opacity: 1;
            visibility: visible;
            right: 85px;
          }
          .whatsapp-link:hover .whatsapp-icon {
            transform: scale(1.15) rotate(5deg);
            box-shadow: 0 10px 35px rgba(37, 211, 102, 0.7);
          }
          .whatsapp-link:hover .whatsapp-notification {
            animation: none;
            transform: scale(1.2);
          }
          @keyframes pulse-ring {
            0% {
              transform: scale(1);
              opacity: 0.8;
            }
            50% {
              transform: scale(1.3);
              opacity: 0;
            }
            100% {
              transform: scale(1.3);
              opacity: 0;
            }
          }
          @keyframes bounce-notification {
            0%, 20%, 50%, 80%, 100% {
              transform: translateY(0);
            }
            40% {
              transform: translateY(-3px);
            }
            60% {
              transform: translateY(-2px);
            }
          }
          /* Efecto de respiración mejorado */
          .whatsapp-icon {
            animation: breathe 3s ease-in-out infinite;
          }
          @keyframes breathe {
            0%, 100% {
              transform: scale(1);
            }
            50% {
              transform: scale(1.08);
            }
          }
          /* Responsive */
          @media (max-width: 768px) {
            .whatsapp-float {
              bottom: 20px;
              right: 20px;
            }
            .whatsapp-icon {
              width: 60px;
              height: 60px;
            }
            .whatsapp-icon i {
              font-size: 26px;
            }
            .whatsapp-tooltip {
              display: none;
            }
            .whatsapp-notification {
              width: 20px;
              height: 20px;
              font-size: 10px;
            }
          }
          @media (max-width: 480px) {
            .whatsapp-float {
              bottom: 15px;
              right: 15px;
            }
            .whatsapp-icon {
              width: 55px;
              height: 55px;
            }
            .whatsapp-icon i {
              font-size: 24px;
            }
          }

          
@media (max-width: 768px) {
  /* Resetear el body que causa problemas */
  body {
    background-color: white !important;
    overflow-x: hidden;
  }
  
  /* Navbar fija y visible */
  .navbar {
    min-height: 60px !important;
    padding: 5px 0 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 9999 !important;
  }
  
  /* Logo más pequeño */
  .navbar-brand img {
    height: 40px !important;
    width: auto !important;
    max-width: 150px !important;
  }
  
  /* Botón hamburguesa visible */
  .navbar-toggler {
    border: 2px solid #ffc107 !important;
    padding: 6px 8px !important;
    margin-right: 10px;
    transform: scale(0.9);
  }
  
  .navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
  }
  
  /* Contenedor más compacto */
  .container {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
  
  /* Resetear márgenes que empujan el logo */
  .logo-navbar {
    height: 40px !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }
  
  /* Ajustar wheel-img en navbar */
  .navbar .wheel-img {
    width: 40px !important;
    height: 40px !important;
  }
  
  /* Espacio para la navbar fija */
  .hero-section, .hero-product, section {
    padding-top: 0px !important;
  }
}

/* Para móviles muy pequeños */
@media (max-width: 480px) {
  .navbar-brand img {
    height: 35px !important;
    max-width: 120px !important;
  }
  
  .navbar-toggler {
    padding: 4px 6px !important;
    margin-right: 5px;
  }
  
  .navbar {
    min-height: 55px !important;
  }
  
  .hero-section, .hero-product, section {
    padding-top: 55px !important;
  }
}

/* Debug temporal - hacer el toggler muy visible */
.navbar-toggler {
  background-color: #545353 !important;
  border: 2px solid rgb(76, 74, 74) !important;
}

.toast {
    visibility: hidden;
    min-width: 250px;
    margin-left: -125px;
    background-color: #0b0b0b;
    color: #f49714;
    text-align: center;
    border-radius: 8px;
    padding: 36px;
    position: fixed;
    z-index: 1000;
    left: 50%;
    bottom: 30px;
    font-size: 26px;
    opacity: 0;
    transition: opacity 0.5s, bottom 0.5s;
}

.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 100px;
}


.confirmacion-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  transition: opacity 0.3s ease;
}

.confirmacion-modal.hidden {
  opacity: 0;
  pointer-events: none;
}

.confirmacion-contenido {
  background: #fff;
  padding: 24px 30px;
  border-radius: 12px;
  text-align: center;
  max-width: 350px;
  width: 90%;
  box-shadow: 0 5px 25px rgba(0,0,0,0.2);
  animation: aparecer 0.3s ease;
}

.confirmacion-contenido h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.confirmacion-contenido p {
  margin-bottom: 20px;
  font-size: 15px;
  color: #444;
}

.botones {
  display: flex;
  justify-content: space-around;
}

.btn-confirmar {
  background-color: #e53935;
  color: white;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

.btn-cancelar {
  background-color: #ccc;
  color: #333;
  border: none;
  padding: 8px 16px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

@keyframes aparecer {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}




/* === PRODUCT CARDS (Catálogo) === */
.producto-item .card {
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  border-radius: 18px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease-in-out;
  height: 100%; /* mantiene altura pareja */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.producto-item .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

/* Imagen del producto */
.producto-item .card-img-top {
  padding: 1rem;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  text-align: center;
}

/* Contenido de la card */
.producto-item .card-body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* Botones */
.producto-item .btn {
  font-size: 1rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-weight: 600;
  transition: all 0.2s ease;
}

.producto-item .btn-success {
  background-color: #28a745;
}

.producto-item .btn-warning {
  background-color: #ffc107;
  color: #212529;
}

.producto-item .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

/* Alinear los botones al fondo */
.producto-item .d-grid.gap-2 {
  margin-top: auto;
}

/* Precios */
.glass-price {
  background: rgba(255, 255, 255, 0.8);
  border-radius: 10px;
  padding: 0.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

/* === Ajustes responsivos para pantallas pequeñas (celulares) === */
@media (max-width: 576px) {
  /* Cards más compactas */
  .producto-item .card {
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  /* Imagen más chica y centrada */
  .producto-item .card-img-top {
    padding: 0.5rem;
    max-height: 150px;
    object-fit: contain;
  }

  /* Texto más chico */
  .producto-item .card-body {
    padding: 0.8rem;
  }

  .producto-item .card-body h5,
  .producto-item .card-body p {
    font-size: 0.9rem;
  }

  /* Botones más pequeños y sin deformarse */
  .producto-item .btn {
    font-size: 0.85rem;
    padding: 0.5rem 0.7rem;
    border-radius: 8px;
  }

  /* Que los botones ocupen el ancho completo */
  .producto-item .d-grid.gap-2 {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
  }

  .producto-item .btn {
    width: 100%;
  }

  /* Precios más chicos */
  .glass-price {
    font-size: 0.9rem;
    padding: 0.4rem;
  }
}
/* Ajustes para celulares muy pequeños (<= 375px de ancho, S8 entra aquí) */
@media (max-width: 375px) {
  .producto-item .btn {
    font-size: 0.85rem;        /* un poco más chico */
    padding: 0.5rem 0.8rem;    /* menos padding para que no se expanda */
    border-radius: 8px;        /* mantener redondeo proporcional */
  }

  /* Aseguramos que los botones no desborden la card */
  .producto-item .d-grid.gap-2 {
    margin-top: 0.5rem;        /* menos margen */
    gap: 5px;                   /* espacio entre botones más chico */
  }
}


/*Botones de promociones*/
.promo-card {
      transition: all 0.3s ease;
      border: 2px solid transparent;
    }
    
    .promo-card:hover {
      transform: translateY(-5px);
      border-color: #dc3545;
      box-shadow: 0 10px 25px rgba(220, 53, 69, 0.15) !important;
    }
    
    /* Destacar productos Linklong rodado 15 */
    .promo-card:has(.badge.bg-success) {
      border-color: #198754 !important;
    }

@media (min-width: 992px) {
  .promo-card .btn {
    font-size: 0.90rem;      /* tamaño de texto ligeramente más chico */
    padding: 0.5rem 1.2rem;  /* más fino verticalmente, alargado horizontalmente */
    border-radius: 10px;     /* mantener proporción */
  }
}

@media (min-width: 1200px) {
  .promo-card .btn {
    font-size: 0.90rem;
    padding: 0.5rem 1.3rem;  /* un pelín más ancho en XL */
  }
}

/*Cyber monday explosivo*/

@keyframes pulse {
        0% { transform: scale(1); box-shadow: 0 0 10px rgba(255,140,0,0.6); }
        50% { transform: scale(1.1); box-shadow: 0 0 25px rgba(255,140,0,1); }
        100% { transform: scale(1); box-shadow: 0 0 10px rgba(255,140,0,0.6); }
      }
      @keyframes flash {
        0%, 100% { color: #fff; text-shadow: 0 0 10px #ff0; }
        50% { color: #ff0; text-shadow: 0 0 20px #fff; }
      }
      .btn-dark:hover {
        background: linear-gradient(135deg, #ff6a00, #ffbb00);
        color: #000;
        border-color: #000;
        transform: scale(1.05);
      }

      /* 🔹 Ajustes para vista móvil */
      @media (max-width: 576px) {
        #ofertaCyberMonday .modal-dialog {
          max-width: 92% !important;
           margin: 0.5rem auto !important;
          transform: scale(0.95); 
        }
        #ofertaCyberMonday .modal-body {
          padding: 1rem;
        }
        #ofertaCyberMonday h3 {
          font-size: 1.3rem;
        }
        #ofertaCyberMonday h5 {
          font-size: 1rem;
        }
        #ofertaCyberMonday .icon-container {
          width: 65px;
          height: 65px;
        }
        #ofertaCyberMonday .countdown-timer {
          font-size: 1.2rem;
        }
      }

      /*Serviciosss*/

      
    .servicio-card {
      border: none;
      border-radius: 12px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      overflow: hidden;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }
    
    .servicio-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    }
    
    .servicio-imagen {
      height: 180px;
      background-size: cover;
      background-position: center;
    }
    
    .card-title {
      font-size: 1.1rem;
      line-height: 1.4;
      margin-bottom: 0.75rem;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }
    
    .card-text {
      font-size: 0.9rem;
      color: #555;
      line-height: 1.5;
      overflow-wrap: break-word;
      word-wrap: break-word;
      hyphens: auto;
    }
    
    .categoria-badge {
      background-color: #e9ecef;
      color: #495057;
      font-size: 0.7rem;
      font-weight: 600;
      padding: 0.35em 0.65em;
    }
    
    .caracteristica-item {
      display: flex;
      align-items: center;
      margin-bottom: 0.5rem;
      font-size: 0.85rem;
    }
    
    .caracteristica-item i {
      color: #e7940eff;
      margin-right: 0.5rem;
      font-size: 0.8rem;
    }
    
    .precio {
      font-weight: 700;
      font-size: 1.2rem;
      color: #dc3545;
    }
    
    .duracion {
      font-size: 0.85rem;
      color: #6c757d;
    }
    
    .btn-gomeria {
      background-color: #22ad49ff;
      color: white;
      border: none;
      border-radius: 6px;
      padding: 0.6rem 1rem;
      font-weight: 600;
      transition: background-color 0.3s ease;
    }
    
    .btn-gomeria:hover {
      background-color: #0fe066ff;
      color: white ;
    }
    
    /* Responsividad adicional */
    @media (max-width: 768px) {
      .servicio-imagen {
        height: 150px;
      }
      
      .card-title {
        font-size: 1rem;
      }
      
      .card-text {
        font-size: 0.85rem;
      }
      
      .caracteristica-item {
        font-size: 0.8rem;
      }
    }
    
    @media (max-width: 576px) {
      .servicio-imagen {
        height: 130px;
      }
      
      .card-title {
        font-size: 0.95rem;
      }
      
      .card-text {
        font-size: 0.8rem;
      }
    }
    /* Arreglar z-index del modal para que esté sobre el navbar */
.modal {
  z-index: 9999 !important;
}

.modal-backdrop {
  z-index: 9998 !important;
}

/* Navbar con z-index más bajo */
.navbar {
  z-index: 1000;
}

/* Para que el navbar hamburguesa se cierre automáticamente al hacer clic en "Ver Carrito" */
@media (max-width: 768px) {
  .navbar-collapse {
    transition: all 0.3s ease;
  }
  
  /* Luz/notificación en el botón hamburguesa cuando hay productos */
  .navbar-toggler.carrito-con-items::after {
    content: "";
    position: absolute;
    top: 5px;
    right: 5px;
    width: 8px;
    height: 8px;
    background: #ff4444;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
  }
  
  @keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
  }
}