*,
*::before,
*::after {
    box-sizing: border-box;
}



html, body {
    height: 100%;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    font-family: 'Arial', sans-serif;
    background-color: #fff; 
    color: #212121; /* Texto principal en negro */

}

        /* Menú con mejoras visuales */
        nav {
            background: rgba(255, 255, 255, 0.3);
            backdrop-filter: blur(12px);
            border-radius: 15px;
            padding: 10px 30px;
            margin-left: 5%;
            margin-right: 5%;
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            position: fixed;
            width: 85%;
            height: 7%;
            top: 0;
            z-index: 1000;
            transition: background-color 0.5s, transform 0.5s;
        }


  


nav a:hover {
    color: #e74c3c;
}




        nav:hover {
            background: rgba(0, 0, 0, 0.7);
            transform: scale(1.02);
        }
        nav img {
            height: 50px;
            margin-right: auto;
        }
        nav ul {
            list-style: none;
            display: flex;
            align-items: center;
            gap: 30px;
        }
        nav ul li {
            position: relative;
        }
        nav ul li a {
            color: #e74c3c; /* Color rojo para el texto */
            text-decoration: none;
            font-size: 20px;
            font-weight: 600;
            letter-spacing: 1px;
            transition: color 0.3s ease;
        }
        nav ul li a:hover {
            color: #e8d4a8;
        }
        nav ul li::after {
            content: '';
            display: block;
            width: 0;
            height: 2px;
            background-color: #e8d4a8;
            transition: width 0.3s;
            margin-top: 5px;
        }
        nav ul li:hover::after {
            width: 100%;
        }

 /* Menú móvil */
.mobile-menu {
    display: none;
    flex-direction: column;
    padding: 20px;
    background: rgba(0, 0, 0, 0.9);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    box-sizing: border-box;

}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 30px;
    color: white;
}

.menu-toggle.active {
    color: #e74c3c; /* Cambia de color cuando se hace clic */
}

.mobile-menu a {
    color: white;
    text-decoration: none;
    padding: 10px 0;
    display: block;
    font-size: 18px;
    text-align: center;
}







        .social-sidebar {
    position: fixed;
    top: 40%;
    left: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.6);
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.social-icon:hover {
    transform: scale(1.2);
    background-color: #e8d4a8;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.3);
}

.facebook:hover {
    background-color: #4267B2;
}
.instagram:hover {
    background-color: #E4405F;
}


.phone:hover {
    background-color: #28a745; /* Green to indicate call */
}





 

.modern-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 0;
    padding-bottom: 60px;
}

.gallery-item {
    height: 250px; /* Altura uniforme */
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    transition: transform 0.5s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
}

.gallery-item img {
            width: 100%; /* Ancho completo del contenedor */
            height: 100%; /* Altura completa del contenedor */
            object-fit: cover; /* Mantener proporciones sin distorsión */
            border-radius: 10px;
            transition: transform 0.5s ease, filter 0.5s ease;
        }

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

.gallery-item:hover img {
    filter: brightness(80%);
    transform: scale(1.1);
}




.gallery-item::before {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}



.gallery-item::after {
    content: attr(alt);
    position: absolute;
    color: white;
    font-size: 18px;
    font-weight: bold;
    bottom: 20px;
    left: 20px;
    z-index: 2;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.gallery-item:hover::after {
    opacity: 1;
}

/* Estilo del Modal */
#imageModal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease-out;
}

#modalContent {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    height: 90%;
    margin: auto;
}

#modalImage {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    animation: zoomIn 0.4s ease-out;
}



@keyframes zoomIn {
    from { transform: scale(0.8); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}





/* Estilos generales para las secciones */
.sections {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.section {
    display: none; /* Ocultar todas las secciones por defecto */
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: #F5F5F5; /* Gris muy claro para secciones */
    transition: opacity 0.5s ease-in-out, transform 0.5s ease;
}

.section.active {
    display: block; /* Mostrar la sección activa */
    opacity: 1;
    transform: scale(1);
    overflow: auto;
}

.section.inactive {
    opacity: 0;
    transform: scale(0.95);
    pointer-events: none;
}




#custom-package {
    background: linear-gradient(135deg, #f9f9f9, #ffffff); /* Fondo con degradado suave */
    padding: 50px 20px;
    font-family: 'Arial', sans-serif;
    color: #333;
}

#customPackageTitle {
    font-size: 36px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    color: #4CAF50; /* Color principal */
}

#customPackageSearch {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

#searchBar {
    width: 70%;
    padding: 10px 15px;
    font-size: 16px;
    border: 1px solid #E0E0E0; /* Gris claro */
    border-radius: 25px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

#searchBar:focus {
    outline: none;
    border-color: #E53935; /* Rojo */
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.4);
}









/* Estilos para la navegación activa */
nav ul li a.active, .mobile-menu a.active {
    font-weight: bold;
    border-bottom: 2px solid red;
}

/* Estilos del mapa */
#map {
    width: 100%;
    height: 300px;
    margin-top: 20px;
}

/* Ajustes para evitar que el contenido se solape */
.section input, .section button {
    display: block;
    margin: 10px 0;
}

/* Live Tracking Ajustes */
#tracking-result {
    background: #fff;
    padding: 15px;
    border-radius: 5px;
    margin-top: 10px;
}

#tracking-map-container {
    width: 100%;
    max-width: 600px;
    height: 400px;
    margin: 20px auto;
    display: none; /* Se mostrará solo cuando la orden esté "En Camino" */
}

#tracking-map {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    border: 1px solid #ddd;
}





/* —— EmbedSocial-style Reviews Carousel —— */
.reviews-section {
  background-color: #f9f9f9;
  padding: 2rem 0;
  text-align: center;
}
.reviews-carousel-container {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  overflow: hidden;
  padding-bottom: 40px;
}
.reviews-carousel {
  display: flex;
  gap: 1rem;
  transition: transform 0.5s ease;
}
.review-item {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  flex: 0 0 300px;
  padding: 1rem;
  box-sizing: border-box;
  text-align: left;
}
.review-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
/* —— Placeholder avatar initials —— */
.review-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #888;
  color: #fff;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  margin-right: 0.75rem;
}
.reviewer-info {
  font-size: 0.9rem;
}
.review-author {
  font-weight: bold;
  margin: 0;
}
.review-date {
  color: #777;
  font-size: 0.8rem;
  margin: 0;
}
.review-stars {
  color: #FFD700;
  font-size: 1.1rem;
  margin: 0.5rem 0;
}
.review-text {
  font-size: 0.95rem;
  color: #333;
  line-height: 1.4;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  z-index: 10;
}
.prev-btn { left: 0.5rem; }
.next-btn { right: 0.5rem; }










        @media (max-width: 768px) {

            body {
                margin: 0;
                padding: 0;
                overflow-x: hidden; /* Desactiva el scroll horizontal */
            }

            nav ul {
                display: none;
            }
            .menu-toggle {
        display: block;
        cursor: pointer;
        font-size: 30px;
        color: white;
    }

    

            .mobile-menu.active {
                display: flex;
                position: absolute;
                top: 70px;
                width: 100%;
                background: rgba(0, 0, 0, 0.9);
                transition: height 0.5s ease-in-out;
            }

            .package-card {
                max-width: 100%;
    }


              /* Estilos para hacer que la imagen en el modal ocupe toda la pantalla */
              #imageModal {
                display: flex;
                align-items: center;
                justify-content: center;
            }

            #modalImage {
                width: 100vw; /* Ancho total de la pantalla */
                height: 100vh; /* Altura total de la pantalla */
                object-fit: cover; /* Ajusta la imagen sin distorsionarla */
            }

        
          
            

        


    /* Asegura que todos los elementos de input y label dentro del formulario del modal ocupen cada uno una línea completa */
    #modalPackages .modal-content form label,
    #modalPackages .modal-content form input,
    #modalPackages .modal-content form textarea {
        display: block;
        width: 100%; /* Ocupa todo el ancho en dispositivos móviles */
        margin-bottom: 15px; /* Añade espacio entre cada elemento */
        box-sizing: border-box; /* Incluye padding y border en el ancho */
    }


    .gallery-item {
        width: 90%; /* Reduce el ancho a 90% */
        margin: 0 auto; /* Centra los cuadros */
        margin-bottom: 20px; /* Espaciado entre elementos */
        overflow: hidden; /* Evita que se desborde el contenido */
        border-radius: 10px; /* Bordes redondeados */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .gallery-item img {
        width: 100%;
        height: auto;
        object-fit: cover; /* Ajusta la imagen sin deformarla */
        transition: none; /* Desactiva las transiciones en imágenes */
    }

    /* Desactiva el efecto de hover en dispositivos móviles */
    .gallery-item:hover {
        transform: none;
    }

    .gallery-item:hover img {
        transform: none; /* Desactiva el zoom en las imágenes */
    }

   


   

    #customPackageContainer {
        padding: 15px;
        border-radius: 10px;
    }

    /* Título de la sección */
    #customPackageTitle {
        font-size: 1.5rem; /* Reduce ligeramente el tamaño */
        margin-bottom: 10px;
    }

    /* Subtítulo */
    #customPackageSubtitle {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }

    /* Grid de tarjetas */
    .custom-package-grid {
        grid-template-columns: 1fr; /* Una columna en dispositivos móviles */
        gap: 15px; /* Espaciado reducido entre tarjetas */
    }

    /* Tarjetas */
    .custom-package-card {
        max-width: 95%; /* Ocupa un 95% del ancho disponible */
        margin: 0 auto; /* Centra la tarjeta horizontalmente */
    }

    /* Imagen del producto */
    .custom-package-card img {
        height: 120px; /* Altura más pequeña en móviles */
    }

    /* Información del producto */
    .custom-package-card h3 {
        font-size: 1rem; /* Ajusta el tamaño del título */
        margin: 10px 0;
    }

    .custom-package-card p {
        font-size: 0.8rem; /* Texto más compacto */
    }

    /* Precio */
    .custom-package-card .price {
        font-size: 1rem;
    }

    /* Botón */
    .custom-package-card button {
        font-size: 0.85rem; /* Botón más compacto */
        padding: 8px; /* Menor espacio interno */
        width: 95%; /* Botón ajustado al tamaño de la tarjeta */
    }


    .social-sidebar {
        display: none;
    }


    #customPackageSearch {
        text-align: center;
        margin: 20px;
    }

    #searchBar {
        width: 90%;  /* Establece el 90% del ancho de la pantalla */
        padding: 10px;
        font-size: 16px;
        box-sizing: border-box;  /* Asegura que el padding no afecte el ancho total */
    }


    .custom-package-image {
        width: 100%;
        max-width: 300px;
        height: auto;
        border-radius: 10px;
        margin-bottom: 10px;
    }
    .custom-package-item{
        width: 80%;
    }



    #product-details {
        padding: 20px;
        font-family: Arial, sans-serif;
    }

    /* Título del producto */
    #productTitle {
        font-size: 1.5rem;
        text-align: center;
        margin-bottom: 20px;
        color: #e74c3c;
    }

    /* Contenedor de la imagen del producto */
    .product-details-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 20px;
    }

    /* Imagen del producto */
    .product-details-image {
        width: 100%;
        max-width: 300px;
        height: auto;
        border-radius: 8px;
        margin-bottom: 20px;
    }

    /* Información del producto */
    .product-info {
        width: 100%;
        margin-bottom: 20px;
    }

    #productDescription {
        font-size: 1rem;
        color: #555;
        line-height: 1.5;
        margin-bottom: 20px;
    }

    #productPrice {
        font-size: 1.5rem;
        font-weight: bold;
        color: #e74c3c;
        margin-bottom: 20px;
    }

    /* Selección de color */
    .color-selection {
        margin-bottom: 20px;
    }

    .color-selection p {
        font-size: 1rem;
        margin-bottom: 10px;
    }

    /* Botón de añadir al carrito */
    .button-add-to-cart {
        width: 100%;
        padding: 12px;
        font-size: 1.2rem;
        background-color: #e74c3c;
        color: white;
        border: none;
        border-radius: 8px;
        cursor: pointer;
        transition: background-color 0.3s;
        text-align: center;
    }

    .button-add-to-cart:hover {
        background-color: #c0392b;
    }

    /* Sección de cantidad */
    .quantity-section {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 20px;
        border: 1px solid #ccc;
        border-radius: 8px;
        padding: 8px;
        background-color: #f9f9f9;
    }

    .quantity-section label {
        font-size: 1rem;
        color: #333;
        margin-right: 10px;
    }

    .product-quantity-input {
        width: 60px;
        padding: 10px;
        font-size: 1.2rem;
        text-align: center;
        border: none;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        transition: box-shadow 0.3s ease;
    }

    .product-quantity-input:hover {
        box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    }

    .quantity-buttons {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        height: 100%;
    }

    .quantity-buttons button {
        width: 30px;
        height: 30px;
        background-color: #e74c3c;
        color: white;
        border: none;
        border-radius: 50%;
        font-size: 1.5rem;
        cursor: pointer;
        transition: background-color 0.3s ease;
        margin-bottom: 5px;
    }

    .quantity-buttons button:hover {
        background-color: #c0392b;
    }

    /* Estilo del contenedor de los botones */
    .quantity-buttons button:focus {
        outline: none;
    }
    /* Botón de regreso */
    .button-back {
        background-color: transparent;
        border: none;
        color: #e74c3c;
        font-size: 1rem;
        cursor: pointer;
        margin-bottom: 20px;
    }

    .button-back:hover {
        text-decoration: underline;
    }

    #recommendedProducts {
        padding: 10px;
        gap: 15px;
    }

    .recommendation-card {
        flex: 0 0 200px; /* Ajusta el ancho de las tarjetas en móviles */
    }

    .recommended-item {
        width: 45%;
        margin-bottom: 20px;
        text-align: center;
    }

    .recommended-item img {
        width: 100%;
        max-width: 150px;
        height: auto;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    /* Sección de comentarios */
    #commentSection {
        margin-top: 30px;
    }

    #newComment {
        width: 100%;
        padding: 10px;
        font-size: 1rem;
        border: 1px solid #ccc;
        border-radius: 8px;
        margin-bottom: 20px;
        box-sizing: border-box;
    }

    .submit-comment-btn {
        width: 100%;
        padding: 12px;
        background-color: #e74c3c;
        color: white;
        font-size: 1.2rem;
        border: none;
        border-radius: 8px;
        cursor: pointer;
    }

    .submit-comment-btn:hover {
        background-color: #c0392b;
    }


    .product-details-image {
        width: 100%;
        max-height: 300px; /* Ajusta la altura máxima a 300px o el valor que prefieras */
        object-fit: contain; /* La imagen se ajusta al contenedor sin distorsionarse */
        border-radius: 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    }


    .product-grid {
        gap: 15px; /* Menor espacio entre los productos */
    }

    .product-grid .product-item {
        width: 200px; /* Ancho más pequeño para pantallas móviles */
    }

    .product-grid .product-item img {
        height: 130px; /* Imagen más pequeña */
    }

    #cart {
        padding: 10px;
      }
    
      .summary-box, .cart-summary, .customer-form {
        padding: 10px;
      }

    #cart .mini-summary p {
        font-size: 14px;
        color: #333;
    }

    #cartItems {
        gap: 10px;
        padding: 0;
      }



    #cartItems .quantity-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        background-color: #e74c3c;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    #cartItems .quantity-btn:hover {
        background-color: #c0392b;
    }

    /* Botón de eliminar */
    #cartItems .remove-item-btn {
        font-size: 12px;
        color: #e74c3c;
        background: none;
        border: none;
        cursor: pointer;
        text-decoration: underline;
        transition: color 0.3s ease;
    }

    #cartItems .remove-item-btn:hover {
        color: #c0392b;
    }


    #cart .customer-form {
        order: 3 !important; /* Forza el orden */
    }

 }

        /* Slideshow con bordes mejorados */
        .hero {
            width: 100vw;
            height: 100vh;
            margin: 0;
            padding: 0;
            overflow: hidden;
            position: relative;
        }



        .slideshow-container {
            width: 100vw;
            height: 100vh;
            margin: 0;
            padding: 0;
            overflow: hidden;
            position: relative;
        }



        .slideshow {
            width: 100vw;
            height: 100vh;
            margin: 0;
            padding: 0;
            position: absolute;
        }
        
        .slideshow img {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Ajusta la imagen sin distorsión */
            position: absolute;
            opacity: 0;
            transition: opacity 1.5s ease-in-out, transform 1.5s;
        }
        
        .slideshow img.active {
            opacity: 1;
            transform: scale(1.05);
        }



        /* Contenido adicional */
        .additional-content {
            padding: 20px;
            text-align: center;
            background-color: #f5f5f5;
        }

        .additional-content h1 {
            font-size: 2.5rem;
            color: #e74c3c;
            margin-bottom: 20px;
        }

        .additional-content p {
            font-size: 1.2rem;
            color: #555;
            line-height: 1.8;
        }



        /* Efectos para la aparición del contenido */
       
        

        .gallery {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 20px;
        }

        .title-gallery{
            width: 100%;
            height: 40px;
            text-align: center;
            margin-top:  100px;
            margin-bottom: 20px;
        }

    

        footer {
    background-color: #000; /* Fondo negro */
    color: white; /* Texto blanco */
    text-align: center;
    width: 100%; /* Ocupa todo el ancho */
    height: 5%;
    font-size: 16px;
    letter-spacing: 1px;
    box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.5);
    bottom: 0;
    left: 0;
    z-index: 1;
}


        #imageModal {
    display: none;
    position: fixed;
    z-index: 3000; /* Asegurar que esté al frente */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

#modalImage {
    display: block;
    margin: auto;
    max-width: 90%;
    max-height: 80%;
    margin-top: 5%;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 40px;
    color: white;
    cursor: pointer;
}



 










/* Estilos del modal */
.modal {
    display: flex; /* Se usa flex para centrar el contenido */
    position: fixed; 
    z-index: 1000; 
    left: 0; 
    top: 0; 
    width: 100%; 
    height: 100%; 
    background-color: rgba(0, 0, 0, 0.6); 
    justify-content: center; 
    align-items: center; 
    padding-top: 10vh; /* Deja 10% de espacio arriba */
    padding-bottom: 10vh; /* Deja 10% de espacio abajo */
}








.close {
    float: right; /* Alinea el botón de cierre a la derecha */
    font-size: 24px; /* Tamaño de la fuente del botón de cierre */
    cursor: pointer; /* Cambia el cursor a una mano al pasar sobre el botón */
    color: #2c3e50; /* Color azul oscuro para el botón de cierre */
    transition: color 0.3s ease; /* Transición suave para el color al interactuar */
}

.close:hover {
    color: #e74c3c; /* Cambia el color a rojo cuando el mouse está sobre el botón */
}







/* Estilos de los productos */
.product-item {
    flex: 1 1 calc(25% - 20px); /* Cuatro columnas */
    max-width: calc(25% - 20px); /* Ancho máximo para garantizar el diseño */
    box-sizing: border-box; /* Incluye padding y border en el tamaño */
    text-align: center; /* Centra el contenido */
    background-color: rgba(0, 255, 0, 0.1); /* Fondo para identificar visualmente */
    outline: 2px solid blue; /* Límites del producto */
    padding: 10px; /* Espaciado interno */
}

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

.product-item img {
    width: 100%;
    max-width: 200px; /* Tamaño máximo */
    height: auto; /* Mantiene las proporciones */
    border-radius: 10px;
}


.product-item p {
    margin-top: 10px;
    font-weight: bold;
    color: #333;
}

#product-details {
    position: relative; /* Permite que el contenido y el footer se posicionen correctamente */
    padding: 20px; /* Espaciado interno */
    margin-top: 80px; /* Asegura que esté debajo del menú */
    min-height: calc(100vh - 80px); /* Altura mínima para evitar que el footer se superponga */
    box-sizing: border-box; /* Incluye el padding dentro de la altura */
    background: #FFFFFF; /* Fondo blanco */
    border-radius: 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);



}   

.recommended-products {
    margin-top: 20px;
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}







.desktop-view {
    display: block;
}

.mobile-view {
    display: none;
}





.main-content {
    flex: 1; /* Esto asegura que el contenido ocupe el espacio disponible */
    display: flex;
    flex-direction: column;
}






#modalPackages {
    display: none;
    position: fixed;
    z-index: 900; /* Asegúrate de que sea mayor que el del menú */
    padding: 5%;

}

 /* Center modal content */
 #modalPackages .modal-content {
        background-color: #fff;
        padding: 30px;
        width: 350px;
        border-radius: 12px;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
        text-align: center;
        margin: auto;
    }


        /* Main Container */
        .packages-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 20px;
            padding: 20px;
            padding-bottom: 80px;
        }

       


       

        /* Order Button */
        .order-button {
            background-color: #e74c3c;
            color: white;
            padding: 10px 15px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1em;
            transition: background-color 0.3s ease;
        }

        .order-button:hover {
            background-color: #c0392b;
        }




        .close {
            float: right;
            font-size: 24px;
            cursor: pointer;
            color: #2c3e50;
        }

        .close:hover {
            color: #e74c3c;
        }

        /* Modal Form */
        .modal-content input, .modal-content textarea {
            width: 100%;
            padding: 10px;
            margin-top: 10px;
            margin-bottom: 15px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }

        .modal-content textarea {
            height: 100px;
            resize: none;
        }

        .modal-content button {
            background-color: #e74c3c;
            color: white;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 1em;
            transition: background-color 0.3s ease;
        }

        .modal-content button:hover {
            background-color: #c0392b;
        }



                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    
  





 /* Package Card */
 .package-card {
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
            overflow: hidden;
            width: 100%;
            max-width: 400px;
            transition: transform 0.3s ease;
            text-align: center;
            font-family: 'Arial', sans-serif;
            padding: 20px;
            position: relative;

        }

        .package-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
        }










        .package-card h3 {
            margin: 0;
            color: #333333;
            font-size: 1.5em;
        }

        .package-card p {
            color: #666666;
            margin-bottom: 20px;
        }

        .package-card ul {
            list-style: none;
            padding: 0;
            margin: 0;
            text-align: left;
            margin-bottom: 20px;
        }

        .package-card ul li {
            margin-bottom: 10px;
            color: #555555;
            text-align: center;
            font-size: 1.2em;
        }

        .price-section {
            font-size: 1.2em;
        }

        

        .price-section .original-price {
            text-decoration: line-through;
            color: #ff6b6b;
        }

        .price-section .delivery {
            text-decoration: line-through;
            color: #ff6b6b;
        }



        .price-section .tax {
            text-decoration: line-through;
            color: #ff6b6b;
        }


        .price-section .package-price {
            text-decoration: line-through;
            color: #ff6b6b;
        }


        .price-section .offer-price {
            color: #27ae60;
            font-weight: bold;
        }

        .sale-tag {
            position: absolute;
            top: -10px;
            left: -10px;
            background-color: #ff6b6b;
            color: white;
            padding: 10px 20px;
            font-size: 0.9em;
            font-weight: bold;
            border-radius: 0 0 10px 10px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        }

        .package-card button {
            background-color: #27ae60;
            color: white;
            border: none;
            padding: 10px 15px;
            font-size: 1em;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .package-card button:hover {
            background-color: #1e8449;
        }

        .product-list {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

        

/* Contenedor principal de la sección */
#customPackageGrid {
    display: flex;
    flex-wrap: wrap; /* Permite múltiples filas */
    justify-content: center; /* Centra los productos horizontalmente */
    gap: 20px; /* Espacio uniforme entre productos */
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto; /* Centra el contenedor */
    background-color: #f9f9f9;
    border-radius: 10px;
}

/* Elementos individuales */
.custom-package-item {

    box-sizing: border-box;
    background-color: #fff;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Efecto hover */
.custom-package-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

/* Imágenes */
.custom-package-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

/* Nombre del producto */
.custom-package-name {
    font-size: 1rem;
    font-weight: bold;
    color: #333;
    margin-top: 10px;
}

/* Modal detalles del producto */
/* Imagen del producto */
.product-details-image {
    width: 400px; /* Ancho fijo del contenedor */
    height: 400px; /* Alto fijo del contenedor */
    object-fit: contain; /* Ajusta la imagen dentro del contenedor sin recortarla */
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-details-image:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.product-color-options {
    margin: 20px 0;
    text-align: center;
}

.color-list {
    display: flex;
    gap: 10px;
    justify-content: center;
}



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

/* Botón de Submit Order */
input[type="submit"] {
    background-color: #e74c3c; /* Color de fondo inicial (rojo) */
    color: #fff; /* Texto blanco */
    font-size: 16px;
    font-family: 'Roboto', sans-serif; /* Fuente profesional */
    font-weight: 500;
    padding: 12px 20px; /* Espaciado interno */
    border: none; /* Sin borde */
    border-radius: 5px; /* Bordes redondeados */
    cursor: pointer; /* Cambia el cursor al pasar el mouse */
    transition: background-color 0.3s ease, transform 0.1s ease, box-shadow 0.3s ease; /* Transiciones suaves */
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3); /* Sombra inicial */
    height: auto; /* Ajusta automáticamente la altura */
    width: auto; /* Ajusta automáticamente el ancho */
    display: inline-block; /* Asegura que sea un botón en línea */
}

/* Hover Effect */
input[type="submit"]:hover {
    background-color: #c0392b; /* Cambia a un rojo más oscuro */
    transform: translateY(-2px); /* Eleva ligeramente el botón */
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.15); /* Sombra más intensa */
}

/* Active Effect (cuando se hace clic) */
input[type="submit"]:active {
    background-color: #a5281a; /* Rojo aún más oscuro */
    transform: translateY(1px); /* Baja ligeramente el botón */
    box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.1); /* Sombra reducida */
}






/* Layout principal */
.product-details-layout {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

/* Imágenes */
.product-images {
    flex: 1;
    max-width: 40%;
}

.product-info {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-info h1 {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #333;
}

.product-info p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 10px;
}

.product-price {
    font-size: 1.5rem;
    color: #e74c3c;
    margin: 10px 0;
}

/* Botón de agregar al carrito */
.add-to-cart-btn {
    background-color: #27ae60; /* Verde moderno */
    color: white;
    padding: 15px 20px;
    font-size: 1rem;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s;
    align-self: flex-start;
    text-transform: uppercase;
}

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



/* Comentarios */
#reviewsContainer {
    margin-top: 40px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-size: 0.9rem;
    line-height: 1.6;
}

#newComment {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

.submit-comment-btn {
    margin-top: 10px;
    background-color: #e74c3c;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.submit-comment-btn:hover {
    background-color: #c0392b;
}

/* Título del producto */
#productTitle {
    font-size: 32px;
    font-weight: bold;
    color: #E53935; /* Rojo */
    margin-bottom: 20px;
    text-align: center;
}


.product-details-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    background: #fff; /* Fondo blanco para contraste */
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra suave */
    margin-bottom: 20px;
}



#productDescription {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}




#recommendedProducts {
    display: flex; /* Flexbox para alineación horizontal */
    flex-wrap: nowrap; /* Evita que los elementos salten a otra línea */
    overflow-x: auto; /* Activa el desplazamiento horizontal */
    gap: 20px; /* Espaciado entre productos */
    padding: 20px;
    scroll-snap-type: x mandatory; /* Desplazamiento suave */
}

/* Barra de desplazamiento */
#recommendedProducts::-webkit-scrollbar {
    height: 8px;
}

#recommendedProducts::-webkit-scrollbar-thumb {
    background-color: #e74c3c; /* Rojo */
    border-radius: 10px;
}

#recommendedProducts::-webkit-scrollbar-thumb:hover {
    background-color: #c0392b; /* Rojo más oscuro */
}

.recommendation-card {
    flex: 0 0 250px; /* Ancho fijo para cada tarjeta */
    scroll-snap-align: start; /* Ajusta cada tarjeta al inicio del carrusel */
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Botón Back to Products */
.back-btn {
    display: inline-block;
    background-color: #3498db; /* Azul moderno */
    color: white;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    text-decoration: none; /* Eliminar subrayado si es un enlace */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra ligera */
    margin-bottom: 20px; /* Espaciado inferior */
    align-self: flex-start;
}

.back-btn:hover {
    background-color: #2c80b4; /* Azul más oscuro */
    transform: scale(1.05); /* Efecto de agrandamiento */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15); /* Sombra más intensa */
}

.back-btn:active {
    background-color: #2176a7; /* Azul aún más oscuro */
    transform: translateY(1px); /* Efecto de clic */
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1); /* Sombra reducida */
}

#productPrice {
    font-size: 24px;
    color: #E53935; /* Rojo */
    font-weight: bold;
    margin-top: 15px;
    margin-bottom: 20px;
}


.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    margin-bottom: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.cart-item:last-child {
    border-bottom: none; /* Eliminar el borde inferior del último elemento */
}


.cart-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}


.cart-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 5px;
    border: 1px solid #ddd;
}
.cart-item-image {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
}

.cart-item span {
    flex: 1;
    font-size: 16px;
    color: #333;
    margin-left: 15px;
}

.cart-item-details {
    flex: 1;
    margin-left: 15px;
    font-size: 14px;
    line-height: 1.5;
}


.cart-item-details span {
    display: block;
    margin-bottom: 5px;
}

.cart-item-details .cart-item-name {
    font-weight: bold;
    font-size: 1.1rem;
}

.cart-item-details .cart-item-price {
    color: #27ae60;
}

.cart-item-color {
    font-size: 14px;
    color: #666;
}


.quantity-btn {
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #e74c3c;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}
.quantity-btn:hover {
    background-color: #c0392b;
}

.quantity-btn:active {
    transform: scale(0.95);
}
/* Botón para eliminar productos */
.remove-item-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    font-size: 0.9rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.remove-item-btn:hover {
    background-color: #c0392b;
}


.cart-counter {
    position: absolute;
    top: -5px;
    right: -10px;
    background-color: #e74c3c;
    color: white;
    font-size: 12px;
    font-weight: bold;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
    visibility: hidden; /* Inicialmente oculto */
}

nav ul li, .mobile-menu a {
    position: relative; /* Necesario para posicionar el contador correctamente */
}

/* Ajustes para versión móvil */
.mobile-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mobile-menu a i {
    margin-right: 10px;
}



/* Estilo general para la sección del carrito */
#cart {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Título del carrito */
#cartTitle {
    font-size: 2rem;
    font-weight: bold;
    color: #e74c3c;
    margin-bottom: 20px;
    text-align: center;
}

/* Contenedor principal del carrito */
#cartItems {
    max-width: 800px;
    margin: 20px auto; /* Centrar el contenido */
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff; /* Fondo blanco */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Sombra sutil */
}

/* Mensaje cuando el carrito está vacío */
#cartItems p {
    text-align: center;
    font-size: 18px;
    color: #777;
}


.checkout-btn {
    background-color: #3498db;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px 20px;
    font-size: 1.2rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

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


/* Contenedor principal de las recomendaciones */
.recommendations-container {
    display: flex;
    flex-wrap: wrap; /* Permite que las recomendaciones se ajusten en filas */
    gap: 20px; /* Espacio entre los elementos */
    margin-top: 20px;
    justify-content: center; /* Centra los elementos */
}



.recommendation-card:hover {
    transform: translateY(-5px); /* Levanta la tarjeta al pasar el mouse */
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2); /* Sombra más intensa */
}

/* Imagen del producto */
.recommendation-card img {
    width: 100%; /* La imagen ocupa todo el ancho del contenedor */
    height: 150px; /* Define una altura fija */
    object-fit: fill; /* Ajusta la imagen para que quepa dentro del cuadro sin recortarla */
    background-color: #f9f9f9; /* Color de fondo opcional para rellenar espacios vacíos */
    border-bottom: 1px solid #ddd; /* Línea separadora */
    border-radius: 8px 8px 0 0; /* Bordes redondeados superiores */
}



/* Nombre del producto */
.recommendation-card h4 {
    font-size: 16px; /* Tamaño del texto */
    color: #333; /* Color del texto */
    margin: 10px 10px 0; /* Espaciado superior e interior */
    text-overflow: ellipsis; /* Texto largo se corta con puntos suspensivos */
    white-space: nowrap; /* Evita el salto de línea */
    overflow: hidden; /* Oculta el texto excedente */
}

/* Botón de acción */
.recommendation-card a {
    display: inline-block;
    margin: 10px 0 15px; /* Espaciado superior e inferior */
    padding: 8px 16px; /* Tamaño del botón */
    font-size: 14px; /* Tamaño del texto */
    color: #fff; /* Color del texto */
    background-color: #007bff; /* Color del fondo (azul profesional) */
    text-decoration: none; /* Sin subrayado */
    border-radius: 4px; /* Bordes redondeados */
    transition: background-color 0.3s ease; /* Animación de cambio de color */
}

.recommendation-card a:hover {
    background-color: #0056b3; /* Azul más oscuro al pasar el mouse */
}


.quantity-section {
    display: flex;
    align-items: center;
    margin: 15px 0;
}

.quantity-section label {
    font-size: 16px;
    margin-right: 10px;
    color: #333;
}

.product-quantity-input {
    width: 80px;
    padding: 8px;
    font-size: 16px;
    border: 1px solid #E0E0E0;
    border-radius: 5px;
    text-align: center;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.product-quantity-input:focus {
    outline: none;
    border-color: #E53935;
    box-shadow: 0 0 5px rgba(229, 57, 53, 0.4);
}


.total-price {
    text-align: right;
    font-size: 18px;
    color: #333;
    font-weight: bold;
    margin-top: 20px;
}

/* Botón para finalizar compra */
.checkout-btn {
    display: block;
    width: 20%;
    padding: 10px 20px;
    font-size: 16px;
    color: white;
    background-color: #28a745;
    border: none;
    border-radius: 4px;
    text-align: center;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s ease;
}

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



.cart-total-price {
    color: #e74c3c;
}

.cart-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 20px auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}


.cart-summary {
    flex: 1;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mini-summary {
    flex: 0 0 40%; /* Ajusta el ancho a un 25% del contenedor padre */
    max-width: 600px; /* Establece un ancho máximo para mantenerlo delgado */
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px; /* Reduce el espacio interno para un diseño compacto */
    background-color: #f8f8f8; /* Fondo claro para distinguirlo del resto */
    border-radius: 5px; /* Mantiene las esquinas redondeadas */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Sombra ligera */
}


.summary-box {
    padding: 10px;
    margin-bottom: 10px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.summary-box p {
    font-size: 16px;
    margin: 10px 0;
    color: #333;
}

.summary-box .checkout-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.summary-box .checkout-btn:hover {
    background-color: #218838;
}

.recommendations {
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.recommendations h3 {
    margin-bottom: 20px;
    font-size: 18px;
    color: #333;
}

.recommendation-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.recommendation-item {
    width: 48%;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    text-align: center;
    padding: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.recommendation-item img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.recommendation-item h4 {
    font-size: 14px;
    color: #333;
    margin: 10px 0;
}

.recommendation-item button {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s ease;
}

.recommendation-item button:hover {
    background-color: #0056b3;
}








.cart-summary h2, .customer-form h2 {
    margin-bottom: 20px;
    font-size: 20px;
    color: #333;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    font-weight: bold;
    margin-top: 20px;
}

.cart-total-price {
    color: #e74c3c;
}

.customer-form label {
    display: block;
    margin-top: 15px;
    font-size: 14px;
    color: #555;
}

.customer-form input, .customer-form textarea {
    width: 100%;
    padding: 10px;
    margin-top: 5px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.customer-form textarea {
    resize: none;
    height: 100px;
}

.cart-subtotal-price {
    color: #e74c3c;
}




.customer-form {
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    background-color: #f9f9f9;
    margin-bottom: 30px;
}

.customer-form h3 {
    text-align: center;
    color: #e74c3c;
    margin-bottom: 15px;
}

.customer-form .form-group {
    margin-bottom: 15px;
}

.customer-form label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}

.customer-form input[type="text"],
.customer-form input[type="tel"],
.customer-form input[type="date"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.customer-form button[type="submit"] {
    width: 100%;
    padding: 10px;
    background-color: #e74c3c;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.customer-form button[type="submit"]:hover {
    background-color: #c0392b;
}


.product-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
}

.product-image img {
    width: 100%;
    max-width: 300px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.color-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.color-option {
    display: inline-block;
    width: 50px; /* Ancho reducido */
    height: 50px; /* Alto reducido */
    margin: 5px; /* Espaciado entre cuadros */
    border: 2px solid #ddd; /* Borde del cuadro */
    overflow: hidden; /* Asegura que la imagen quede dentro del contenedor */
    cursor: pointer; /* Muestra un cursor de "clic" */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.color-option:hover {
    transform: scale(1.1); /* Efecto de zoom al pasar el mouse */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra al pasar el mouse */
}

.color-option.selected {
    border: 2px solid #e74c3c; /* Cambia el color del borde si está seleccionado */
    box-shadow: 0 0 10px rgba(231, 76, 60, 0.8); /* Resalta el cuadro seleccionado */
}

.color-square {
    width: 100%; /* Ajusta el tamaño a la caja contenedora */
    height: 100%;
    background-size: cover; /* La imagen ocupa todo el espacio sin deformarse */
    background-position: center; /* Centra la imagen */
}


.color-option:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.color-option.selected .color-circle {
    border: 2px solid #e74c3c; /* Color del borde para el seleccionado */
}

.color-circle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.color-circle:hover {
    transform: scale(1.1); /* Efecto de agrandamiento al pasar el mouse */
}

#colorOptions {
    display: flex; /* Alineación horizontal */
    gap: 10px; /* Espacio entre cuadros */
    overflow-x: auto; /* Habilitar scroll horizontal si es necesario */
    padding: 10px 0;
}



.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    animation: fadeIn 0.5s ease; /* Fondo con efecto de desvanecimiento */
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
    max-width: 400px;
    width: 100%;
    text-align: center;
    position: relative;
    animation: zoomIn 0.5s ease; /* Contenido con efecto de zoom */
}


.modal-content h2 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 15px;
    color: #333;
}


.modal-content p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}


.modal-content .close-button {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 18px;
    color: #888;
    background: none;
    border: none;
    cursor: pointer;
}

.modal-content .close-button:hover {
    color: #333;
}


/* Animación de entrada */
@keyframes fadeIn {
    from {
        background: rgba(0, 0, 0, 0); /* Fondo transparente */
        opacity: 0; /* Elemento invisible */
        transform: scale(0.9); /* Escala más pequeña */
    }
    to {
        background: rgba(0, 0, 0, 0.8); /* Fondo oscuro */
        opacity: 1; /* Elemento completamente visible */
        transform: scale(1); /* Escala normal */
    }
}


/* Estilo base para todos los botones */
button, .btn {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Botón principal (acciones importantes como "Add to Cart") */
.btn-primary {
    background-color: #E53935; /* Rojo principal */
    color: white;
}
.btn-primary:hover {
    background-color: #D32F2F; /* Rojo más oscuro */
}

.btn-secondary {
    background-color: #212121; /* Negro */
    color: white;
}

.btn-secondary:hover {
    background-color: #333333; /* Gris muy oscuro */
}

.btn-accent {
    background-color: #FFC107; /* Dorado suave */
    color: #212121; /* Texto en negro */
}

.btn-accent:hover {
    background-color: #FFB300; /* Dorado más oscuro */
}

a {
    color: #E53935; /* Rojo */
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #D32F2F; /* Rojo más oscuro */
}



/* Estilo base para todos los botones */
.button {
    padding: 10px 20px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    color: #fff; /* Color del texto */
}


.button-back {
    background-color: #212121; /* Negro */
}

.button-back:hover {
    background-color: #333333; /* Gris oscuro */
}


/* Botón "Add to Cart" con ancho limitado */
.button-add-to-cart {
    background-color: #E53935; /* Rojo principal */
    color: white;
    width: 50%; /* Limita el ancho al 40% */
    max-width: 200px; /* Máximo ancho fijo para evitar botones demasiado grandes */
    text-align:left;
    display: block; /* Asegura que ocupe solo el ancho necesario */
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.button-add-to-cart:hover {
    background-color: #D32F2F; /* Rojo más oscuro */
    transform: scale(1.05); /* Efecto de hover */
}

.button-add-to-cart:active {
    background-color: #B71C1C; /* Rojo aún más oscuro */
    transform: scale(0.95); /* Efecto al hacer clic */
}

/* Estilo para la etiqueta "Selected color:" */
#selectedColor {
    font-size: 16px;
    font-weight: bold;
    color: #333; /* Color neutro para la etiqueta */
}

/* Estilo para el valor del color seleccionado */
#selectedColor .color-value {
    font-size: 18px; /* Un poco más grande que la etiqueta */
    font-weight: bold;
    color: #e74c3c; /* Color distintivo para el valor */
    margin-left: 5px; /* Espacio adicional entre la etiqueta y el valor */
    text-transform: capitalize; /* Capitalizar el primer carácter del valor */
}


.recommendation-card .recommendation-link {
    display: inline-block;
    text-align: center;
    padding: 8px 16px;
    font-size: 14px;
    font-weight: bold;
    color: #fff; /* Color de texto */
    background-color: #e74c3c; /* Color rojo principal */
    border: none;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.2s ease;
    cursor: pointer;
}

.recommendation-card .recommendation-link:hover {
    background-color: #c0392b; /* Un tono más oscuro para el hover */
    transform: scale(1.05); /* Efecto de hover para darle vida */
}

.recommendation-card .recommendation-link:active {
    transform: scale(0.95); /* Efecto de clic */
    background-color: #a93226; /* Tono aún más oscuro para clic */
}

.customer-details {
    max-width: 500px;
    margin: 0 auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    font-family: 'Arial', sans-serif;
}

.customer-details h2 {
    font-size: 24px;
    color: #333;
    text-align: center;
    margin-bottom: 20px;
}

.customer-details .form-group {
    margin-bottom: 20px;
}

.customer-details label {
    display: block;
    font-size: 16px;
    color: #555;
    margin-bottom: 8px;
}

.customer-details input[type="text"],
.customer-details input[type="tel"],
.customer-details input[type="date"],
.customer-details input[type="email"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    color: #333;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
    transition: border-color 0.3s ease;
}

.customer-details input:focus {
    border-color: #e74c3c;
    outline: none;
}

.customer-details button {
    display: inline-block;
    width: 100%;
    padding: 10px 15px;
    font-size: 16px;
    color: #fff;
    background-color: #e74c3c;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.customer-details button:hover {
    background-color: #c0392b;
}

.customer-details button:active {
    transform: scale(0.98);
}

.customer-details input[readonly] {
    background-color: #f9f9f9;
    color: #999;
    cursor: not-allowed;
}

.customer-details button#calculateFeeButton {
    background-color: #2c3e50;
}

.customer-details button#calculateFeeButton:hover {
    background-color: #34495e;
}
.checkout-container {
    display: none; /* Oculto por defecto */
  }


  .back-btn {
    display: none;
    width: 100%;
    padding: 10px;
    background-color: #3498db; /* Azul */
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 10px;
    text-align: center;
  }




  .additional-content {
    padding: 20px 0;
  }
  
  .description-section {
    text-align: center;
    padding: 40px 20px;
    background-color: #f9f9f9;
  }
  
  .description-title {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
  }
  
  .description-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  .description-point {
    background: #ffffff;
    border: 1px solid #ddd;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }
  
  .description-point:nth-child(odd) {
    text-align: left;
  }
  
  .description-point:nth-child(even) {
    text-align: right;
  }


  /* Estilo inicial para la animación */
.animate-on-scroll {
    opacity: 0; /* Invisibles al inicio */
    transform: translateY(30px); /* Desplazados hacia abajo */
    transition: all 0.8s ease-in-out; /* Efecto suave */
  }
  
  /* Cuando el elemento entra en el viewport */
  .animate-on-scroll.show {
    opacity: 1; /* Se hacen visibles */
    transform: translateY(0); /* Regresan a su posición original */
  }

  
/* Para celulares pequeños como iPhones */
@media (max-width: 480px) {
    #customPackageGrid {
        grid-template-columns: 1fr; /* Una columna */
        gap: 15px; /* Ajusta el espacio entre elementos */
        padding: 10px;
    }

    .custom-package-item {
        font-size: 14px;
        padding: 8px;
    }

    #customPackageSearch {
        text-align: center;
        margin: 20px;
    }

    #searchBar {
        width: 90%;  /* Establece el 90% del ancho de la pantalla */
        padding: 10px;
        font-size: 16px;
        box-sizing: border-box;  /* Asegura que el padding no afecte el ancho total */
    }

    #customPackageTitle {
        font-size: 24px; /* Texto del título más pequeño */
    }

    .social-sidebar {
        display: none;
    }

    .product-grid {
        gap: 15px; /* Menor espacio entre los productos */
    }

    .product-grid .product-item {
        width: 200px; /* Ancho más pequeño para pantallas móviles */
    }

    .product-grid .product-item img {
        height: 130px; /* Imagen más pequeña */
    }

    #recommendedProducts {
        padding: 10px;
        gap: 15px;
    }

    .recommendation-card {
        flex: 0 0 200px; /* Ajusta el ancho de las tarjetas en móviles */
    }



    #cart .mini-summary p {
        font-size: 14px;
        color: #333;
    }

    

 

    #cartItems .quantity-btn {
        width: 32px;
        height: 32px;
        font-size: 16px;
        font-weight: bold;
        text-align: center;
        background-color: #e74c3c;
        color: white;
        border: none;
        border-radius: 5px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    #cartItems .quantity-btn:hover {
        background-color: #c0392b;
    }

    /* Botón de eliminar */
    #cartItems .remove-item-btn {
        font-size: 12px;
        color: #e74c3c;
        background: none;
        border: none;
        cursor: pointer;
        text-decoration: underline;
        transition: color 0.3s ease;
    }

    #cartItems .remove-item-btn:hover {
        color: #c0392b;
    }

    

    .cart-container {
        display: flex;
        flex-direction: column; /* Apilar las columnas en móviles */
        padding: 10px;
        gap: 20px;
      }
    
      .summary-box {
        order: 1; /* Mantén el resumen en la parte superior */
        width: 100%;
        margin: 0;
      }
    
      .cart-summary {
        order: 3; /* Los productos en el carrito vienen después */
        width: 100%;
        padding: 0;
      }
    
      .customer-form {
        display: none; /* Ocultar el formulario en móviles */
      }


      .checkout-container {
        order: 2;
        display: block;
        text-align: center; /* Centra el botón */
      }

      .checkout-btn {
        width: 100%;
        padding: 10px;
        background-color: #e74c3c;
        color: #fff;
        border: none;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
      }
      .checkout-btn:hover {
        background-color: #c0392b;
      }
      .customer-form.active {
        display: block; /* Mostrar el formulario cuando sea necesario */
      }


      .mini-summary{
        gap: 0;
      }

      .hidden {
        display: none !important; /* Solo aplica en móviles */
      }

      .customer-form .back-btn {
        display: block;
      }


      .cart-item {
           /* display: flex; */
        align-items: center;
        justify-content: space-between;
        padding: 10px;
        background-color: #fff;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        gap: 10px;
        display: grid;
        grid-template-columns: 35% 65%;
        grid-template-rows: 80px 30px 50px;
      }
      .picture {
        grid-column: 1;
        grid-row: 1/3;
      }

      .cart-item-details {
        grid-column: 2;
        grid-row: 1;
        margin: 0;
        padding: 0;
      }


      .cart-item-name {
        font-size: 14px;
        font-weight: bold;
        color: #333;
        margin-bottom: 5px;
      } 
      .cart-item-price {
        font-size: 14px;
        color: #e74c3c;
        font-weight: bold;
        margin-bottom: 5px;
        grid-column: 2;
        grid-row: 2;
      }

      .cart-item-color {
        font-size: 12px;
        color: #555;
        margin-bottom: 5px;
      }    

      .cart-item-quantity {
        align-items: center;
        grid-column: 1;
        grid-row: 3;
      }

      #cartItems {
        display: flex;
        flex-direction: column; /* Cada producto en columna */
        gap: 10px;
        padding: 0;
      }

      .quantity-selector button {
        width: 30px;
        height: 30px;
        background-color: #f9f9f9;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 16px;
        cursor: pointer;
      }
      .quantity-selector input {
        width: 50px;
        height: 30px;
        text-align: center;
        border: 1px solid #ddd;
        border-radius: 5px;
        font-size: 14px;
      }
      .cart-item-remove {
        background-color: transparent;
        color: #e74c3c;
        border: 1px solid #e74c3c;
        padding: 5px 10px;
        border-radius: 5px;
        font-size: 14px;
        cursor: pointer;
        transition: all 0.2s;
      }
      .cart-item-remove:hover {
        background-color: #e74c3c;
        color: #fff;
      }
      .cart-item-details span {
        font-size: 14px;
        color: #333;
      }


      .description-grid {
        grid-template-columns: 1fr; /* Solo una columna en móviles */
        gap: 15px;
      }
    
      .description-point {
        text-align: center; /* Centra todo en móviles */
        padding: 25px;
      }
    
      .description-title {
        font-size: 1.8rem; /* Ajusta el tamaño del título en móviles */
      }
    }