
body, html {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
}

h1, h2, h3, h4, .navbar .logo {
    font-weight: 600;
}


/* Para que el contenido principal crezca y empuje el footer */
main {
    flex: 1;
}
/* Navbar */
.navbar {
    background-color: #1f1f1f;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .logo {
    font-size: 22px;
    font-weight: bold;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.navbar ul li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar ul li a:hover {
    color: #f9a825;
}

/* Carrusel */
.carousel-container {
    position: relative;
    width: 100%;
    max-width: 1375px;
    height: 600px;
    overflow: hidden;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

.carousel-slide {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide img {
    width: 100vw; /* Cada imagen ocupará el ancho total de la pantalla */
    height: 100%;
    object-fit: contain;
}

/* Puntos indicadores */
.carousel-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.carousel-dots span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-dots span.active {
    background-color: #ffffff;
}

.navbar ul li.dropdown {
    position: relative;
}

.navbar ul li .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #2b2b2b;
    padding: 10px 0;
    display: none;
    min-width: 160px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    border-radius: 4px;
    z-index: 999;
}

.navbar ul li .dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.3s;
}

.navbar ul li .dropdown-menu li a:hover {
    background-color: #f9a825;
    color: #000;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #333;
  margin-top: 10px;
  padding: 10px 0;
  border-radius: 5px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.dropdown-menu li {
  padding: 8px 20px;
}

.dropdown-menu li a {
  color: #fff;
  text-decoration: none;
  display: block;
}

.dropdown-menu li a:hover {
  background-color: #444;
}

/* Productos Destacados */
#destacados {
    padding: 20px;
}

#destacados h2 {
    text-align: center;
}

.productos-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    opacity: 1;
    transition: opacity 0.5s ease-in-out; /* medio segundo */
}

.productos-container.fade-out {
  opacity: 0;
}

.producto {
    display: grid;
    min-height: 350px;
    width: 200px;
    background: #e0e0e0;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
    text-align: center;
}

.producto img {
    width: 100%;
    border-radius: 5px;
}

.producto img {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.producto img:hover {
    transform: translateY(-5px); /* Se levanta 5px */
    box-shadow: 0 10px 20px rgba(0,0,0,0.2); /* Sombra para el efecto de elevación */
}

/* Botón flotante WhatsApp */
.boton-whatsapp {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: #fff;
    padding: 15px 20px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 100;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

.tiendas-container {
    padding: 20px;
    text-align: center;
}

.tiendas-container .grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.tienda {
    max-width: 400px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.tienda img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 10px;
}

.reels-section {
    max-width: 1350px;
    margin: auto;
}

.reels-title {
text-align: center;
font-size: 24px;
margin-bottom: 20px;
}

.reels-container {
display: flex;
overflow-x: auto;
gap: 15px;
justify-content: center;
}

.reel-card {
flex: 0 0 auto;
width: 250px;
background: #fff;
border-radius: 10px;
box-shadow: 0 2px 5px rgba(0,0,0,0.1);
display: flex;
flex-direction: column;
overflow: hidden;
}

.reel-card video {
width: 100%;
height: 350px;
object-fit: cover;
}

.reel-card .details {
padding: 10px;
}
     
.reel-card .title {
font-weight: 600;
font-size: 14px;
margin: 5px 0;
}
    
.reel-card .price {
color: #E60000;
font-weight: bold;
font-size: 14px;
}

.reel-card .old-price {
text-decoration: line-through;
color: #999;
margin-left: 5px;
}
      
.reel-card .rating {
font-size: 12px;
color: #000000;
}

.section-title {
text-align: center;
font-size: 24px;
margin: 20px 0;
}

.promo-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 40px;
    flex-direction: column;
}

.promo-card {
    position: relative;
    flex: 1 1 calc(33.333% - 20px);
    min-width: 250px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    cursor: pointer;
    height: 77.7px;
    min-height: 77.7px;
    /* transition: transform 0.3s ease;*/
}

/*.promo-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}*/

.promo-content {
    display: flex;
    position: absolute;
    color: white;
    background: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    justify-content: space-between;
    align-content: center;
    align-items: center;
}

.promo-content h2 {
margin: 0;
font-size: 18px;
margin-left: 25%;
}

.promo-content p {
margin: 5px 0 0 0;
font-size: 14px;
margin-right: 25%;
}

.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: girar 1s linear infinite;
}

@keyframes girar {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.cart {
  position: relative;
}

#carrito {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #333;
  text-decoration: none;
}

#cart-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #e74c3c; /* rojo */
  color: #fff;
  font-size: 12px;
  font-weight: bold;
  border-radius: 50%;
  padding: 2px 6px;
}

@media (max-width: 768px) {
.promo-card {
flex: 1 1 100%;
}
}