/* Manteniendo el código original y agregando mejoras */

/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
}

/* Contenedor de productos */
.product-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

/* Estilos de cada producto */
.product {
    background: #fff;
    border: 2px solid #ddd;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    width: 250px;
    height: 420px; /* Asegura que todas las cajas sean iguales */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
}

/* Imagen del producto */
.product img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
}

/* Efecto dorado al pasar el mouse */
.product:hover {
    border: 2px solid gold;
    box-shadow: 0px 5px 15px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
}

/* Título y descripción */
.product h3,
.product p {
    margin: 5px 0;
}

/* Precio */
.price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

/* Contenedor para los botones */
.product-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 10px;
    min-height: 90px; /* Ajuste para que el botón de WhatsApp no se desplace */
}

/* Botón de agregar al carrito */
.add-to-cart {
    background-color: #28a745;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    width: 100%;
}

.add-to-cart:hover {
    background-color: #218838;
}

/* Botón de WhatsApp */
.whatsapp-button {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #25d366;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-decoration: none;
    transition: 0.3s;
    width: calc(100% - 20px); /* Ajuste para evitar que se salga de la caja */
    max-width: 200px; /* Limita el tamaño máximo */
}

.whatsapp-button:hover {
    background-color: #1da851;
}

/* Icono de WhatsApp */
.whatsapp-button i {
    margin-right: 5px;
}




/* Carrito de compras */
#cart-container {
    margin-top: 20px;
    padding: 20px;
    border: 1px solid #ccc;
    border-radius: 10px;
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ccc;
}

.cart-item img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 5px;
}

.cart-item button {
    background: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
}

.cart-item button:hover {
    background: darkred;
}

/* Banner de Cookies */
#cookieBanner {
    position: fixed;
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px;
    text-align: center;
}

.hidden {
    display: none;
}

/* Ajustes responsivos */
@media (max-width: 768px) {
    .tienda {
        grid-template-columns: 1fr;
    }
}


.gallery-item {
    margin: 10px;
    border: 2px solid #f9a826;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img {
    width: 100%;
    height: auto;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Sección "Nosotros" */
.hero-nosotros {
    position: relative;
    background: url('../images/nosotros-bg.jpg') no-repeat center center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-nosotros .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.nosotros {
    padding: 50px 10%;
    text-align: center;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 40px auto;
    max-width: 1000px;
}

.nosotros h2 {
    font-size: 32px;
    color: #faf9f8;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Contenedor de Misión, Visión y Quiénes Somos */
.mision-vision {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Tarjetas para Misión, Visión y Valores */
.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    transition: transform 0.3s ease;
    border-top: 4px solid #f9a826;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #f9a826;
    font-size: 22px;
    margin-bottom: 10px;
}

.card p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* Sección de Valores */
.valores {
    margin-top: 30px;
}

.valores ul {
    list-style: none;
    padding: 0;
}

.valores ul li {
    font-size: 18px;
    padding: 8px 0;
}

/* Carrusel de Servicios */
.services-carousel {
    position: relative;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-slide {
    display: none;
    animation: fade 1s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 60%;
    height: auto;
    border-radius: 8px;
    margin: 0 auto;
    display: block;
}

.service-info {
    padding: 10px 0;
}

.service-info h3 {
    color: #f9a826;
    font-size: 22px;
    margin: 10px 0;
}

/* Botones del Carrusel */
.carousel-controls {
    display: flex;
    justify-content: center; /* Centra los botones horizontalmente */
    gap: 20px; /* Espacio entre los botones */
    margin-top: 10px;
}

.carousel-prev,
.carousel-next {
    background: #f9a826;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.carousel-prev:hover,
.carousel-next:hover {
    opacity: 1;
}

/* Animación */
@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Sección de Contacto */
.contact-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.contact-section h2 {
    font-size: 32px;
    color: #f9a826;
    margin-bottom: 20px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    background-color: #f9a826;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #e6b800;
}

/* Mapa de la ubicación */
.map-container {
    margin: 20px auto;
    max-width: 800px; /* Ajusta el ancho máximo del mapa */
}

.map-container iframe {
    width: 100%; /* Hace que el mapa sea responsivo */
    height: 450px; /* Altura del mapa */
    border: 0; /* Sin borde */
}

/* Pie de Página */
footer {
    text-align: center;
    background-color: #003366; /* Color azul para el pie de página */
    color: white;
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 900px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.aliados-section h2 {
    color: #f9a826;
    font-size: 24px;
    font-weight: bold;
}

.aliados-section .empresa {
    font-weight: bold;
}

.aliados-section p {
    color: #333;
    font-size: 16px;
    margin: 10px auto;
    max-width: 800px;
}

/* Botón */
.btn-info {
    display: inline-block;
    background-color: #f9a826;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 15px;
    transition: 0.3s ease-in-out;
}

.btn-info:hover {
    background-color: #e6b800;
}

/* Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.cookie-banner a {
    color: #ffcc00;
    text-decoration: underline;
}

.cookie-banner button {
    background: #ffcc00;
    color: black;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}

.cookie-banner button:hover {
    background: #e6b800;
}

.cookie-banner.hidden {
    display: none;
}

/* Responsividad */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin-bottom: 10px;
    }
    .hero {
        padding: 50px 20px;
    }
    .hero h2 {
        font-size: 28px;
    }
    .hero p {
        font-size: 16px;
    }
    .gallery-container {
        padding: 20px;
    }
    .contact-form {
        padding: 15px;
    }
}

/* Estilos adicionales */
body {
    background-color: #f5f5f5;
    color: #ffcc00;
}

.info-box {
    background-color: white;
    padding: 40px;
    margin: 20px auto;
    width: 80%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(248, 248, 248, 0.1);
}

.info-title {
    color: #f8f6f2;
    font-size: 24px;
    margin-bottom: 10px;
}

.info-text {
    color: #333;
    font-size: 18px;
    line-height: 1.5;
}

.custom-phrase {
    color: #f7f4f3;
}

.values-list {
    color: #333;
    font-size: 18px;
}

.values-list li {
    margin-bottom: 10px;
}

footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

/* Sección de carrito */
.cart {
    width: 90%;
    max-width: 800px;
    margin: auto;
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
}

.cart-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.cart-item img {
    width: 80px;
    border-radius: 5px;
}

.cart-item-info {
    flex: 1;
    margin-left: 15px;
}

.cart-item-price {
    font-size: 18px;
    font-weight: bold;
}

.cart-total {
    text-align: right;
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
}

.cart-checkout {
    width: 100%;
    padding: 15px;
    background-color: #007bff;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin-top: 10px;
}

.cart-checkout:hover {
    background-color: #0056b3;
}/* Estilos generales */
body {
    font-family: Arial, sans-serif;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Encabezado */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #002244; /* Color azul para el encabezado */
    padding: 15px 30px;
    box-sizing: border-box;
    width: 100%;
}

.logo img {
    width: 150px;
}

/* Menú de navegación */
nav ul {
    list-style: none;
    display: flex;
    gap: 15px;
    margin: 0;
    padding: 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size: 16px;
    font-weight: bold;
    padding: 10px;
    transition: 0.3s ease-in-out;
}

nav ul li a:hover,
nav ul li a.active {
    color: #f9a826;
    text-decoration: underline;
    border-bottom: 2px solid #f9a826;
}

/* Sección Hero */
.hero {
    position: relative;
    background: url('https://img1.wsimg.com/isteam/stock/372') no-repeat center center/cover;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 20px;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 80%;
}

.hero h2 {
    font-size: 36px;
    font-weight: bold;
}

.hero p {
    font-size: 18px;
    margin: 10px 0;
}

/* Sección de Galería */
.galeria {
    padding: 40px 0;
    background-color: #f9f9f9;
}

.titulo-galeria {
    text-align: center;
    font-family: 'Lusitana', serif;
    font-size: 32px;
    color: #f9a826;
    margin-bottom: 20px;
}

.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
}

.gallery-item {
    margin: 10px;
    border: 2px solid #f9a826;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item img {
    width: 100%;
    height: auto;
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.gallery-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px; /* Espacio entre elementos */
}

.gallery-item {
    width: 300px; /* Tamaño uniforme para imágenes y videos */
    height: 200px;
    border: 2px solid #f9a826;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item img, 
.gallery-item video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajuste sin deformar */
}

.gallery-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
/* Sección "Nosotros" */
.hero-nosotros {
    position: relative;
    background: url('../images/nosotros-bg.jpg') no-repeat center center/cover;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-nosotros .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.nosotros {
    padding: 50px 10%;
    text-align: center;
    background: white;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    margin: 40px auto;
    max-width: 1000px;
}

.nosotros h2 {
    font-size: 32px;
    color: #f9a826;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Contenedor de Misión, Visión y Quiénes Somos */
.mision-vision {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Tarjetas para Misión, Visión y Valores */
.card {
    background: white;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
    flex: 1;
    min-width: 280px;
    max-width: 450px;
    transition: transform 0.3s ease;
    border-top: 4px solid #f9a826;
}

.card:hover {
    transform: translateY(-5px);
}

.card h3 {
    color: #f9a826;
    font-size: 22px;
    margin-bottom: 10px;
}

.card p {
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

/* Sección de Valores */
.valores {
    margin-top: 30px;
}

.valores ul {
    list-style: none;
    padding: 0;
}

.valores ul li {
    font-size: 18px;
    padding: 8px 0;
}

/* Carrusel de Servicios */
.services-carousel {
    position: relative;
    max-width: 600px;
    margin: 40px auto;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.carousel-container {
    overflow: hidden;
    position: relative;
}

.carousel-slide {
    display: none;
    animation: fade 1s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 60%;
    height: auto;
    border-radius: 8px;
    margin: 0 auto;
}

.service-info {
    padding: 10px 0;
}

.service-info h3 {
    color: #ffffff;
    font-size: 22px;
    margin: 10px 0;
}
/* Carrusel de Servicios */
.services-carousel {
    position: relative;
    max-width: 600px; /* Ancho máximo */
    margin: 40px auto;
    padding: 20px;
    background: #ffffff;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.carousel-container {
    overflow: hidden;
    position: relative;
}

/* Ajustar la posición de los botones */
.carousel-prev,
.carousel-next {
    background: #f9a826;
    color: #fff;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

/* Botones en la parte inferior */
.carousel-controls {
    display: flex;
    justify-content: space-between; /* Espacio entre los botones */
    margin-top: 10px; /* Espacio entre el contenido y los botones */
}

.carousel-prev:hover,
.carousel-next:hover {
    opacity: 1;
}

/* Asegúrate de que los botones no interfieran con el contenido */
.carousel-slide {
    display: none;
    animation: fade 1s ease-in-out;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 60%; /* Ancho de la imagen */
    height: auto;
    border-radius: 8px;
    margin: 0 auto; /* Centrar la imagen */
}

.service-info {
    padding: 10px 0;
}

.service-info h3 {
    color: #f9a826;
    font-size: 22px;
    margin: 10px 0;
}

@keyframes fade {
    from { opacity: 0.4; }
    to { opacity: 1; }
}

/* Sección de Contacto */
.contact-section {
    padding: 40px 0;
    background-color: #ffffff;
}

.contact-section h2 {
    font-size: 32px;
    color: #f9a826;
    margin-bottom: 20px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f4f4f4;
    border-radius: 8px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.contact-form button {
    background-color: #f9a826;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.contact-form button:hover {
    background-color: #e6b800;
}

/* Mapa de la ubicación */
.map-container {
    margin: 20px auto;
    max-width: 800px; /* Ajusta el ancho máximo del mapa */
}

.map-container iframe {
    width: 100%; /* Hace que el mapa sea responsivo */
    height: 450px; /* Altura del mapa */
    border: 0; /* Sin borde */
}

/* Pie de Página */
footer {
    text-align: center;
    background-color: #003366; /* Color azul para el pie de página */
    color: white;
    padding: 40px 20px;
    margin: 20px auto;
    max-width: 900px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.aliados-section h2 {
    color: #f9a826;
    font-size: 24px;
    font-weight: bold;
}

.aliados-section .empresa {
    font-weight: bold;
}

.aliados-section p {
    color: #333;
    font-size: 16px;
    margin: 10px auto;
    max-width: 800px;
}

/* Botón */
.btn-info {
    display: inline-block;
    background-color: #f9a826;
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    font-size: 16px;
    border-radius: 5px;
    margin-top: 15px;
    transition: 0.3s ease-in-out;
}

.btn-info:hover {
    background-color: #e6b800;
}

/* Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 14px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.cookie-banner a {
    color: #ffcc00;
    text-decoration: underline;
}

.cookie-banner button {
    background: #ffcc00;
    color: black;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 14px;
    border-radius: 5px;
}

.cookie-banner button:hover {
    background: #e6b800;
}

.cookie-banner.hidden {
    display: none;
}

/* Responsividad */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    nav ul li {
        margin-bottom: 10px;
    }
    .hero {
        padding: 50px 20px;
    }
    .hero h2 {
        font-size: 28px;
    }
    .hero p {
        font-size: 16px;
    }
    .gallery-container {
        padding: 20px;
    }
    .contact-form {
        padding: 15px;
    }
}

/* Estilos adicionales */
body {
    background-color: #f5f5f5;
    color: #ffcc00;
}

.info-box {
    background-color: white;
    padding: 40px;
    margin: 20px auto;
    width: 80%;
    max-width: 900px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(248, 248, 248, 0.1);
}

.info-title {
    color: #faf9f8;
    font-size: 24px;
    margin-bottom: 10px;
}

.info-text {
    color: #333;
    font-size: 18px;
    line-height: 1.5;
}

.custom-phrase {
    color: #f7f4f3;
}

.values-list {
    color: #333;
    font-size: 18px;
}

.values-list li {
    margin-bottom: 10px;
}

footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 16px;
    font-family: Arial, sans-serif;
}

/* Sección de carrito */
.cart {
    width: 90%;
    max-width: 800px;
    margin: 40px auto; /* Aumentar el margen superior para separarlo de otros elementos */
    padding: 20px;
    background-color: #fff;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px; /* Bordes redondeados */
}

.cart-title {
    font-size: 24px;
    text-align: center;
    margin-bottom: 20px;
    color: #f9a826; /* Color del título, asegúrate de que sea consistente con el resto del sitio */
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #ddd;
    padding: 15px 0;
}

.cart-item img {
    width: 80px;
    border-radius: 5px;
}

.cart-item-info {
    flex: 1;
    margin-left: 15px;
}

.cart-item-price {
    font-size: 18px;
    font-weight: bold;
}

.cart-total {
    text-align: right;
    margin-top: 20px;
    font-size: 20px;
    font-weight: bold;
}

.cart-checkout {
    width: 100%;
    padding: 15px;
    background-color: #007bff; /* Color de fondo inicial */
    color: white;
    border: none;
    cursor: pointer;
    font-size: 18px;
    margin-top: 10px;
    border-radius: 5px; /* Bordes redondeados */
    transition: background-color 0.3s; /* Transición suave para el color de fondo */
}

.cart-checkout:hover {
    background-color: #0056b3;
}

/* Estilos para el resumen del carrito */
#cart-summary {
    margin-top: 20px;
    text-align: right;
}

#cart {
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.cart-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.cart-item img {
    max-width: 80px;
    border-radius: 5px;
}

.cart-item-info {
    flex: 1;
    margin-left: 15px;
    text-align: left;
}

.cart-item-price {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.btn {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn:hover {
    background-color: #0056b3;
}

#cart-summary {
    margin-top: 20px;
    text-align: right;
}

.payment-methods-container {
    display: flex;
    flex-direction: column;
    margin-top: 10px;
}

.payment-method-card {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    background-color: #fff;
}

.payment-logo {
    max-width: 50px;
    margin-right: 10px;
}

.payment-details {
    text-align: left;
}
.mensaje-personalizado {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
}

.mensaje-personalizado label {
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

.mensaje-personalizado textarea {
    resize: vertical;
    min-height: 80px;
    padding: 10px;
    font-size: 16px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.mensaje-personalizado textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 5px rgba(0,123,255,0.5);
}

/* Banner de Cookies */
#cookieBanner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    text-align: center;
    padding: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#cookieBanner .btn {
    margin-left: 10px;
    background-color: #ffcc00;
    color: black;
}
.whatsapp-button {
    display: inline-block;
    background-color: #25D366;
    color: white;
    font-size: 20px;
    padding: 10px;
    border-radius: 50%;
    text-align: center;
    transition: background 0.3s;
    position: relative;
    top: 5px;
    margin-left: 10px;
}

.whatsapp-button i {
    font-size: 24px;
}

.whatsapp-button:hover {
    background-color: #1EBEA5;
}
.mensaje-personalizado {
    margin: 20px 0;
}

.mensaje-personalizado label {
    font-weight: bold;
    display: block;
    margin-bottom: 8px;
}

.mensaje-personalizado textarea {
    width: 100%;
    max-width: 600px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 8px;
    resize: vertical;
    font-size: 16px;
}
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
  }
  
  .quantity-controls button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .quantity-controls button:hover {
    background-color: #0056b3;
  }
  
  .product-quantity {
    font-size: 18px;
    font-weight: bold;
  }
/* Caja que envuelve el mensaje adicional, botones y métodos de pago */
.checkout-box {
    background-color: #ffffff;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    text-align: left; /* Para que el contenido se alinee a la izquierda */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Texto del total */
  .cart-total-text {
    font-size: 20px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
  }
  
  /* Contenedor de los botones (Vaciar y Finalizar) */
  .checkout-buttons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap; /* Para que en pantallas pequeñas se pongan en otra fila */
  }
  
  /* Ajustar estilos del botón "Vaciar Carrito" */
  #clear-cart {
    background-color: #dc3545;
  }
  #clear-cart:hover {
    background-color: #c82333;
  }
  
  /* Ajustar estilos del botón "Finalizar Compra" */
  #checkout-link {
    background-color: #007bff;
    text-decoration: none;
    text-align: center;
    padding: 10px 20px;
    color: #fff;
    border-radius: 5px;
    transition: background-color 0.3s;
  }
  #checkout-link:hover {
    background-color: #0056b3;
  }
  
  /* Sección de Métodos de Pago */
  #payment-methods {
    margin-top: 20px;
  }
  
  #payment-methods h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
  }
  
  .payment-methods-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
  }
  
  /* Tarjeta individual de método de pago */
  .payment-method-card {
    flex: 1 1 200px; /* Se adaptará al ancho disponible */
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    text-align: center;
    transition: 0.3s;
  }
  .payment-method-card:hover {
    border-color: gold;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    transform: scale(1.03);
  }
  
  /* Imagen del método de pago */
  .payment-method-card .payment-logo {
    max-width: 60px;
    margin-bottom: 10px;
  }
  
  /* Detalles de método de pago */
  .payment-details p {
    margin: 5px 0;
    color: #333;
  }
/* Controles de cantidad para el carrito */
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
  }
  
  .quantity-controls button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .quantity-controls button:hover {
    background-color: #0056b3;
  }
  
  .product-quantity {
    font-size: 18px;
    font-weight: bold;
  }
  
  /* Caja de checkout centrada */
  .checkout-box {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Contenedor para botones de checkout */
  .checkout-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
  }
  
  /* Botón de Vaciar Carrito */
  #clear-cart {
    background-color: #dc3545;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  #clear-cart:hover {
    background-color: #c82333;
  }
  
  /* Botón de Finalizar Compra */
  #checkout-link {
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
  }
  #checkout-link:hover {
    background-color: #0056b3;
  }
  
  /* Estilos para la sección de métodos de pago centrados */
  #payment-methods {
    margin-top: 20px;
    text-align: center;
  }
  
  .payment-methods-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .payment-method-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .payment-method-card:hover {
    border-color: gold;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.3);
    transform: scale(1.03);
  }
  
  .payment-logo {
    max-width: 60px;
    margin-bottom: 10px;
  }
/* Caja de Checkout */
.checkout-box {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  /* Contenedor de botones en checkout */
  .checkout-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
  }
  
  /* Botón de Vaciar Carrito */
  #clear-cart {
    background-color: #dc3545;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  #clear-cart:hover {
    background-color: #c82333;
  }
  
  /* Botón de Finalizar Compra */
  #checkout-link {
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
  }
  #checkout-link:hover {
    background-color: #0056b3;
  }
  
  /* Sección de Métodos de Pago */
  #payment-methods {
    margin-top: 20px;
    text-align: center;
  }
  .payment-methods-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .payment-method-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .payment-method-card:hover {
    border-color: gold;
    box-shadow: 0 4px 12px rgba(255,215,0,0.3);
    transform: scale(1.03);
  }
  .payment-logo {
    max-width: 60px;
    margin-bottom: 10px;
  }
  .payment-details p {
    margin: 5px 0;
    color: #333;
  }
/* Controles de cantidad para el carrito */
.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 10px 0;
  }
  
  .quantity-controls button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .quantity-controls button:hover {
    background-color: #0056b3;
  }
  
  .product-quantity {
    font-size: 18px;
    font-weight: bold;
  }
  
  /* Caja de Checkout centrada */
  .checkout-box {
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  }
  
  /* Contenedor para los botones de checkout */
.checkout-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
    flex-wrap: wrap;
  }
  
  /* Botón de Vaciar Carrito */
  #clear-cart {
    background-color: #dc3545;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  #clear-cart:hover {
    background-color: #c82333;
  }
  
  /* Botón de Finalizar Compra */
  #checkout-link {
    background-color: #007bff;
    padding: 10px 20px;
    border-radius: 5px;
    color: white;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s;
  }
  #checkout-link:hover {
    background-color: #0056b3;
  }
  
  
  /* Sección de Métodos de Pago centrados */
  #payment-methods {
    margin-top: 20px;
    text-align: center;
  }
  .payment-methods-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
  }
  .payment-method-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    background-color: #fff;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
  }
  .payment-method-card:hover {
    border-color: gold;
    box-shadow: 0 4px 12px rgba(255,215,0,0.3);
    transform: scale(1.03);
  }
  .payment-logo {
    max-width: 60px;
    margin-bottom: 10px;
  }
  .payment-details p {
    margin: 5px 0;
    color: #333;
  }
  /* Estilo general para métodos de pago */
#payment-methods {
    margin-top: 30px;
    text-align: center;
  }
  
  .payment-methods-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 0;
  }
  
  .payment-method-card {
    width: 250px;
    background-color: #f5f5f5;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.2s ease;
  }
  
  .payment-method-card:hover {
    transform: scale(1.03);
  }
  
  .payment-method-card a {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 20px;
  }
  
  .payment-logo {
    width: 80px;
    height: auto;
    margin-bottom: 10px;
  }
  
  .payment-details {
    margin-top: 10px;
  }
  
  .payment-number {
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 5px;
  }
  
  .payment-description {
    font-size: 0.9rem;
    color: #666;
  }
/* Estilo para botones desactivados del carrito */
button.disabled,
a.disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

/* Estilo para productos en el carrito */
.cart-card {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.cart-card img {
    width: 100px;
    height: auto;
    object-fit: contain;
    margin-right: 10px;
    border-radius: 8px;
}
/* Modo de cotización (cuando el carrito está vacío) */
#total-price.cotizacion-mode {
    color: #cc0000;
    font-style: italic;
    font-weight: bold;
}
/* Estilos para métodos de pago */
.payment-methods-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
  }
  
  .payment-method-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    max-width: 220px;
    width: 100%;
  }
  
  .btn {
    background-color: #2e86de;
    color: white;
    padding: 10px 20px;
    margin: 10px 5px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .btn:hover {
    background-color: #1b4f72;
  }
  
  #cart-summary {
    max-width: 700px;
    margin: 0 auto;
  }
  
  /* Modo de cotización (cuando el carrito está vacío) */
  #total-price.cotizacion-mode {
    color: #cc0000;
    font-style: italic;
    font-weight: bold;
  }
  .section-title {
    font-size: 24px;
    font-weight: bold;
    padding: 10px 15px;
    border: 2px solid #2e86de;
    border-radius: 10px;
    color: #2e86de;
    background-color: #ffffff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    margin-bottom: 20px;
  }
  #payment-methods {
    text-align: center;
    padding: 40px 20px;
  }
  
  .payment-methods-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-top: 20px;
  }
  
  .payment-method-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 20px;
    width: 250px;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .payment-method-card:hover {
    transform: scale(1.03);
  }
  
  .payment-logo {
    width: 100px;
    margin-bottom: 10px;
  }
  
  .payment-number {
    font-size: 16px;
    font-weight: bold;
    margin: 5px 0;
  }
  
  .payment-description {
    font-size: 14px;
    margin: 10px 0;
    text-align: center;
  }
  
  .btn {
    background-color: #007bff;
    color: #fff;
    border: none;
    padding: 10px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
    margin-top: 10px;
  }
  
  .btn:hover {
    background-color: #0056b3;
  }
  .payment-methods-container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 20px;
  }
  
  .payment-method-card {
    background-color: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    width: 250px;
    min-width: 250px;
    padding: 20px;
    text-align: center;
    flex-shrink: 0;
  }
  
  .payment-logo {
    height: 40px;
    margin-bottom: 10px;
  }
  
  .payment-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
  }
  
  .payment-button:hover {
    background-color: #0056b3;
  }
  .payment-box-container {
    max-width: 1000px;
    margin: 40px auto;
    background-color: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
  }
  
  .payment-methods-wrapper {
    display: flex;
    justify-content: space-around;
    align-items: stretch;
    gap: 20px;
    flex-wrap: wrap;
  }
  
  .payment-method-card {
    background-color: #ffffff;
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 20px;
    width: 250px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    flex: 1 1 250px;
  }
  
  .payment-logo {
    height: 40px;
    margin-bottom: 10px;
  }
  
  .payment-button {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s;
  }
  
  .payment-button:hover {
    background-color: #0056b3;
  }
  @media (max-width: 768px) {
    .payment-methods-wrapper {
      flex-direction: column;
      align-items: center;
    }
  }
  .social-sidebar {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    z-index: 1000;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    color: white;
    text-decoration: none;
    background-color: #333;
    border-bottom: 1px solid #444;
    transition: background-color 0.3s;
}

.social-link:hover {
    background-color: #555;
}

.facebook { background-color: #3b5998; }
.instagram { background-color: #e4405f; }
.youtube { background-color: #ff0000; }
.whatsapp { background-color: #25d366; }
/* Redes sociales fijas */
.redes-sociales-fijas {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 10px;
    z-index: 9999;
  }
  
  .redes-sociales-fijas a img {
    width: 35px;
    height: 35px;
    transition: transform 0.3s ease;
  }
  
  .redes-sociales-fijas a img:hover {
    transform: scale(1.2);
  }
  .redes-sociales-fijas a.facebook { background-color: #3b5998; }
  .redes-sociales-fijas a.instagram { background-color: #e4405f; }
  .redes-sociales-fijas a.youtube { background-color: #ff0000; }
  .redes-sociales-fijas a.whatsapp { background-color: #25d366; }
  
  .redes-sociales-fijas a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    border-radius: 5px;
  }
  .info-title {
    color: #f9a826;
    font-size: 24px;
    margin-bottom: 10px;
}
/* Cambiar color blanco a títulos dentro de secciones con fondo (hero) */
.hero .info-title {
    color: #ffffff;
  }
  
  .hero h2 {
    color: #ffffff;
  }
  .hero-content {
    color: #ffffff;
    text-align: center;
  }
  .hero .info-title,
  .hero .info-text {
    color: #fff;
  }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            
          
