/* Estilos Generales */
body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #1a1a1d;
    color: #ffffff;
    overflow-x: hidden;
}
/* Estilos del Menú de Navegación */
.navbar {
    background-color: #1a1a1d;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999; /* Asegura que el menú esté siempre por encima del contenido */
    padding: 10px 20px;
    display: flex;
    justify-content: center;
    border-bottom: 2px solid #ff6326;
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5); /* Añade una sombra para destacarlo */
  }
  
  .nav-container {
    max-width: 1200px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .nav-logo {
    display: flex;
    align-items: center;
    margin-right: auto; /* Para alinear a la izquierda */
    padding-left: 20px; /* Ajusta el espacio desde el borde izquierdo */
  }
  
  .logo-img {
    max-height: 40px; /* Ajusta el tamaño del logo según se vea mejor */
    height: auto;
    display: block;
  }
  
  
  .nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
  }
  
  .nav-toggle-icon {
    width: 30px;
    height: 3px;
    background-color: #ffffff;
    display: block;
    position: relative;
    transition: 0.3s;
  }
  
  .nav-toggle-icon::before,
  .nav-toggle-icon::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background-color: #ffffff;
    transition: transform 0.3s, top 0.3s, bottom 0.3s;
  }
  
  .nav-toggle-icon::before {
    top: -8px;
  }
  
  .nav-toggle-icon::after {
    bottom: -8px;
  }
  
  .nav-menu {
    display: flex;
    gap: 20px;
  }
  
  .nav-item {
    list-style: none;
  }
  
  .nav-link {
    text-decoration: none;
    color: #ffffff;
    font-size: 1rem;
    transition: color 0.3s;
  }
  
  .nav-link:hover {
    color: #ff6326;
  }
  
  /* Estilos Responsivos */
  @media (max-width: 768px) {
    .nav-toggle {
        display: block;
        position: absolute;
        right: 66px; /* Ajusta la distancia desde el margen derecho */
        top: 25px; /* Ajusta la distancia desde la parte superior */
        z-index: 10000; /* Asegura que el botón esté visible por encima de otros elementos */
    }
  
    .nav-toggle-icon {
        background-color: #ffffff;
    }
  
    /* Estado inicial del menú en móvil (oculto) */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: #1a1a1d;
        border-top: 1px solid #ff6326;
        padding: 20px 0;
        box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.5);
    }

    /* Estado activo (desplegado) */
    .nav-menu.active {
        display: flex;
    }


  
    .nav-link {
        padding: 10px 20px;
        text-align: center;
    }
  
    /* Alinear logo a la izquierda en móvil */
    .nav-logo {
        margin-right: auto;
        padding-left: 0px; /* Añade espacio desde el margen izquierdo para alinearlo mejor */
    }
  }
  

/* Banner Promocional */
.store-banner {
    width: 100%;
    height: 450px; /* Aumentar la altura del banner */
    background: linear-gradient(135deg, #ff6326, #ff9e2a);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.banner-content {
    max-width: 800px;
    padding: 20px;
    padding-top: 50px;
}

.store-banner h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem; /* Aumentar el tamaño del texto */
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.store-banner p {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.4rem; /* Aumentar el tamaño del subtítulo */
    margin-bottom: 40px;
}

.btn-banner {
    font-family: 'Montserrat', sans-serif;
    background: #ffffff;
    color: #ff6326;
    padding: 15px 25px; /* Botón más grande */
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: transform 0.3s, background-color 0.3s;
}

.btn-banner:hover {
    transform: scale(1.1);
    background-color: #ff6326;
    color: #ffffff;
}


.btn-preorder {
    display: inline-block;
    margin: 10px;
    padding: 10px 20px;
    background-color: #ff6326;
    color: #ffffff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.btn-preorder:hover {
    background-color: #ff6326;
}

/* Sección de Productos */
.product-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #292929;
}

.product-section h2 {
    font-size: 2.5rem;
    color: #ff6326;
    margin-bottom: 20px;
}

.product-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.product-item {
    background-color: #1a1a1d;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    width: 250px;
    text-align: center;
    transition: transform 0.3s;
}

.product-item:hover {
    transform: scale(1.05);
}

.product-image {
    width: 100%;
    border-radius: 5px;
}

.product-item h3 {
    font-size: 1.2rem;
    margin: 10px 0;
    color: #ff6326;
}

.price {
    font-size: 1.2rem;
    color: #ff6326;
}

.btn-add-to-cart {
    padding: 10px 15px;
    background-color: #ff6326;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-add-to-cart:hover {
    background-color: #00ccff;
}


/* Carrusel */
.carousel {
    position: relative;
    width: 100%;
    max-width: 300px;
    margin: auto;
    overflow: hidden;
    border-radius: 10px;
}

.carousel-images {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-image {
    width: 100%;
    display: none;
}

.carousel-image.active {
    display: block;
}

/* Controles del Carrusel */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 50%;
    z-index: 2;
}

.carousel-control.prev {
    left: 10px;
}

.carousel-control.next {
    right: 10px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    background: white;
    padding: 20px;
    border-radius: 10px;
    max-width: 80%;
    text-align: center;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Carrito de Compras */
.cart-section {
    padding: 40px 20px;
    background-color: #121212;
    color: #ffffff;
    text-align: center;
}

.cart-section h2 {
    font-size: 2rem;
    color: #ff6326;
}

#cart-items {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}

.total-price {
    font-size: 1.5rem;
    margin: 20px 0;
}

.btn-checkout {
    padding: 10px 20px;
    background-color: #ff6326;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-checkout:hover {
    background-color: #ff6326;
}

.hidden {
    display: none;
}
.quantity-container {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.quantity-container label {
    font-size: 1rem;
    color: #ffffff;
}

.quantity-input {
    width: 60px;
    padding: 5px;
    font-size: 1rem;
    text-align: center;
    border-radius: 5px;
    border: 1px solid #ff6326;
}

.btn-cart {
    background-color: #ff6326;
    color: #ffffff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    text-align: center;
}

.btn-cart:hover {
    background-color: #ff6326;
    transform: translateY(-2px);
}
.total-price {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff9e2a;
    margin-top: 10px;
    text-align: center;
}

/*nuevo campo*/
.quantity-container {
    margin: 10px 0;
    display: flex;
    flex-direction: column;
    align-items: center; /* Centrar horizontalmente */
    gap: 10px;
}

.quantity-controls {
    display: flex;
    justify-content: center; /* Centrar horizontalmente */
    align-items: center; /* Centrar verticalmente */
    gap: 5px;
}

.quantity-input {
    width: 50px;
    padding: 5px;
    text-align: center;
    border: 1px solid #ff6326;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box; /* Asegura que el padding no afecte el ancho total */
}

.btn-quantity {
    background-color: #ff6326;
    color: #ffffff;
    border: none;
    padding: 5px 10px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.btn-quantity:hover {
    background-color: #ff6326;
    transform: scale(1.1);
}

.quantity-container label {
    font-size: 1rem;
    color: #ffffff;
    text-align: center; /* Asegura que el texto del label esté centrado */
}

/* Estilos del pie de página */
.footer {
    background-color: #1a1a1d;
    padding: 20px;
    text-align: center;
    color: #cccccc;
    font-size: 0.9rem;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  .social-links {
    display: flex;
    gap: 20px;
  }
  
  .social-icon {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
  }
  
  .social-icon:hover {
    transform: scale(1.2);
  }
  
  p {
    margin: 10px 0 0 0;
    color: #cccccc;
  }
  