@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

/* ================ ESTILOS GENERALES ======= */
/* Estructura base */
html, body {
    height: 100%;
}

body {
    display: flex;
    flex-direction: column;
}

main {
    flex: 1 0 auto;
}

/* Específico para página de producto */
.product-page {
    padding-bottom: 2rem;
}

.product-container {
    min-height: 60vh;
}

/* ==============FIN DE ESTILOS GENERALES ======= */

/* ======= ESTILOS DE BOTONES FLOTANTES ======= */
/* Contenedor principal de productos */
.products-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    align-items: stretch; /* Iguala alturas de las tarjetas */
}

/* Tarjeta de producto específica */
.product-card-specific {
    display: flex;
    flex-direction: column;
    height: 100%; /* Fundamental para igualar alturas */
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    overflow: hidden;
    background: white;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Cuerpo de la tarjeta (contenido variable) */
.product-body-specific {
    padding: 1.25rem;
    flex: 1; /* Ocupa todo el espacio disponible */
    display: flex;
    flex-direction: column;
}

/* Contenedor del botón (posición fija) */
.product-card__actions {
    margin-top: auto; /* Mágico: empuja el botón hacia abajo */
    padding-top: 1rem; /* Espacio antes del botón */
    width: 100%;
}

/* Estilo del botón mejorado */
.btn-product-details {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0.75rem 1rem;
    background-color: #4f46e5;
    color: white;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0.375rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Efectos hover */
.btn-product-details:hover {
    background-color: #4338ca;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* Texto del botón */
.btn-product-details__text {
    flex-grow: 1;
    text-align: center;
}

/* Icono del botón */
.btn-product-details__icon {
    margin-left: 0.5rem;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.btn-product-details:hover .btn-product-details__icon {
    opacity: 1;
}

/* Precios y otros elementos */
.product-price-specific {
    margin-top: auto; /* Empuja el precio hacia arriba del botón */
    padding: 0.5rem 0;
}

/* Versión responsive */
@media (max-width: 768px) {
    .products-wrapper {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
        gap: 1rem;
    }

    .product-body-specific {
        padding: 1rem;
    }

    .btn-product-details {
        padding: 0.65rem 0.9rem;
    }
}

/* ======= FIN DE ESTILOS DE BOTONES FLOTANTES ======= */

.floating-buttons-container {
            position: fixed;
            bottom: 20px;
            right: 20px;
            display: flex;
            flex-direction: column-reverse;
            gap: 15px;
            z-index: 9999;
        }

        .floating-button {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.3s ease;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
            position: relative;
        }

        .floating-button:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
        }

        .floating-button-link {
            width: 100%;
            height: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            text-decoration: none;
            position: relative;
        }

        .whatsapp-button {
            background-color: #25D366;
        }

        .whatsapp-button:hover {
            background-color: #128C7E;
        }

        .scroll-top-button {
            background-color: #007bff;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
        }

        .scroll-top-button.show {
            opacity: 1;
            visibility: visible;
        }

        .scroll-top-button:hover {
            background-color: #0056b3;
        }

        .floating-tooltip {
            position: absolute;
            right: 70px;
            top: 50%;
            transform: translateY(-50%);
            background-color: #333;
            color: white;
            padding: 6px 12px;
            border-radius: 4px;
            font-size: 14px;
            white-space: nowrap;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.3s ease;
        }

        .floating-button:hover .floating-tooltip {
            opacity: 1;
        }

        .floating-badge {
            position: absolute;
            top: -5px;
            right: -5px;
            background-color: #4CAF50;
            color: white;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 10px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
        }

        @media (max-width: 768px) {
            .floating-buttons-container {
                bottom: 15px;
                right: 15px;
                gap: 10px;
            }

            .floating-button {
                width: 50px;
                height: 50px;
            }

            .floating-tooltip {
                display: none;
            }
        }




/* ======= ESTILOS DE ESPECIFICACIONES ======= */
/* Estilos para la cuadrícula de especificaciones */
.specs-grid {
    border-radius: 8px;
    border: 1px solid #e0e0e0;
    overflow: hidden; /* Para mantener los bordes redondeados */
}

.spec-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Mitad y mitad */
    min-height: 48px; /* Altura mínima consistente */
}

.spec-field {
    font-weight: 600;
    color: #333;
    padding: 12px 15px;
    background-color: #f8f9fa; /* Fondo gris claro agradable */
    border-right: 1px solid #e0e0e0; /* Línea divisoria */
    display: flex;
    align-items: center;
}

.spec-value {
    color: #555;
    padding: 12px 15px;
    background-color: #ffffff; /* Fondo blanco */
    word-break: break-word;
    display: flex;
    align-items: center;
}

/* Efecto hover para mejor interactividad */
.spec-row:hover .spec-field {
    background-color: #e9ecef; /* Gris un poco más oscuro al pasar el mouse */
}

.spec-row:hover .spec-value {
    background-color: #f8f9fa; /* Gris muy claro al pasar el mouse */
}

/* Bordes entre filas */
.spec-row:not(:last-child) .spec-field,
.spec-row:not(:last-child) .spec-value {
    border-bottom: 1px solid #e0e0e0;
}

/* Estilos responsivos */
@media (max-width: 768px) {
    .spec-row {
        grid-template-columns: 1fr;
    }

    .spec-field {
        border-right: none;
        border-bottom: 1px solid #e0e0e0;
        padding: 10px 12px;
    }

    .spec-value {
        padding: 10px 12px 15px;
    }

    /* Eliminar el hover en móviles */
    .spec-row:hover .spec-field,
    .spec-row:hover .spec-value {
        background-color: inherit;
    }
}
/* ======= FIN DE ESTILOS DE ESPECIFICACIONES ======= */

/* ======= ESTILOS PARA SCROLL POPUP ======= */

/* 📌 Estilo del botón flotante */
.scroll-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #0037FF;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    font-size: 24px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
}

/* 📌 Cuando se muestra el botón */
.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* 📌 Efecto hover */
.scroll-to-top:hover {
    background-color: #0026B3;
}

/* ======= FIN DE ESTILOS PARA SCROLL POPUP ======= */


/* ======= ESTILOS PARA SUBFILTROS ======= */

.clear-button {
    background-color: #e0e0e0;
    color: #333;
    padding: 10px;
    border-radius: 4px;
    font-weight: bold;
    transition: background 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.clear-button:hover {
    background-color: #d6d6d6;
}
/* Estilo del contenedor de subfiltros */
#subfiltros-list {
    background-color: #f3f3f3;
    padding: 10px;
    border-radius: 8px;
}

/* Estilo de las etiquetas de subfiltros */
.subfiltro-label {
    display: block;
    background-color: #e0e0e0;
    padding: 8px 12px;
    border-radius: 6px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
    transition: background 0.3s ease;
}

.subfiltro-label:hover {
    background-color: #d6d6d6;
}

/* Estilo del menú desplegable */
.subfiltro-options {
    display: none;
    margin-top: 5px;
    padding-left: 12px;
    border-left: 3px solid #ccc;
}

/* Efecto de animación */
.subfiltro-options.show {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Estilo de los checkboxes */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: color 0.3s ease;
}

.checkbox-label:hover {
    color: #007bff;
}

/* Efecto de animación al marcar */
.checkbox-label input[type="checkbox"] {
    appearance: none;
    width: 16px;
    height: 16px;
    border: 2px solid #333;
    border-radius: 4px;
    transition: all 0.2s ease-in-out;
    cursor: pointer;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked {
    background-color: #007bff;
    border-color: #007bff;
}

.checkbox-label input[type="checkbox"]:checked::after {
    content: "✔";
    color: white;
    font-size: 12px;
    position: absolute;
    left: 2px;
    top: -1px;
}

/* Fin de estilos para subfiltros */

/*======= ESTILOS DE PROVEEDORES =======*/
/* 📌 Contenedor Principal */
/* 📌 Contenedor Principal */
.brands-section {
    text-align: center;
    padding: 20px 0;
    background-color: #f8f9fa;
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* 📌 Contenedor del scroll */
.marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* 📌 Contenido del scroll */
#marquee-container {
    display: flex;
    gap: 20px;
    min-width: 100%; /* 🔹 Se asegura de cubrir toda la pantalla */
    animation: marquee-scroll 50s linear infinite;
}

/* 📌 Estilos de cada marca */
.brand-item {
    flex: 0 0 150px; /* 🔹 Cada marca tendrá un ancho fijo */
    text-align: center;
}

/* 📌 Estilos de las imágenes */
.brand-item img {
    height: 80px;
    width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease-in-out;
}

/* 📌 Efecto hover */
.brand-item img:hover {
    transform: scale(1.1);
}

/* 📌 Animación infinita */
@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to { transform: translateX(-50%); }
}

/*======= FIN DE ESTILOS DE PROVEEDORES =======*/

/* ======= ESTILOS DEL CUADRO DEL DOLAR ======= */

.dolar-container {
    background: linear-gradient(135deg, #28a745, #218838);
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.2s ease-in-out, box-shadow 0.3s ease-in-out;
}

.dolar-container:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.dolar-icon {
    background-color: rgb(255, 255, 255);
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-right: 16px;
    margin-right: 8px;
    color: #000000;
}

.dolar-info {
    display: flex;
    flex-direction: column;
    color: white;
}

.dolar-label {
    font-size: 14px;
    font-weight: 500;
    opacity: 0.8;
}

.dolar-precio {
    font-size: 18px;
    font-weight: bold;
    animation: fadeIn 0.5s ease-in-out;
}

/* Animación de entrada */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*======= FIN DE ESTILOS DEL CUADRO DEL DOLAR =======*/


/* ======= ESTILOS GENERALES ANCHO DEL CONTENIDO ======= */

.col-md-9 {
    width: 100%;
}

/* ======= FIN DE ESTILOS GENERALES ANCHO DEL CONTENIDO ======= */

/* ======= HEADER ======= */
/* ======= ESTILOS GENERALES HEADER ======= */
.header {
    background-color: #f8f9fa;
    padding: 15px 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
    position: relative;
    z-index: 100;
}


/* 🔥 Ajustar la distribución interna */
.custom-container {
    /* Estilos base */
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin: 0 auto;

    /* Ancho responsivo mejorado */
    width: 100%;
    padding: 0 1rem;
    box-sizing: border-box;

    /* Transición suave para cambios de tamaño */
    transition: all 0.3s ease;
}

/* Media Queries para diferentes tamaños de pantalla */
@media (min-width: 1536px) { /* 2xl screens */
    .custom-container {
        max-width: calc(100% - 10cm); /* Mantenemos el espacio de 5cm a cada lado */
    }
}

@media (min-width: 1280px) and (max-width: 1535px) { /* xl screens */
    .custom-container {
        max-width: calc(100% - 8cm); /* Reducimos el espacio a 4cm por lado */
    }
}

@media (min-width: 1024px) and (max-width: 1279px) { /* lg screens */
    .custom-container {
    }
}

@media (min-width: 768px) and (max-width: 1023px) { /* md screens */
    .custom-container {
        max-width: calc(100% - 4cm); /* 2cm por lado */
        flex-wrap: wrap; /* Permitimos que los elementos se envuelvan */
    }
}

@media (min-width: 640px) and (max-width: 767px) { /* sm screens */
    .custom-container {
        max-width: calc(100% - 2cm); /* 1cm por lado */
        gap: 12px;
    }
}

@media (max-width: 639px) { /* Pantallas pequeñas */
    .custom-container {
        max-width: 100%; /* Ocupamos todo el ancho */
        padding: 0 0.5rem; /* Apilamos elementos verticalmente */
        gap: 10px;
        align-items: stretch; /* Los elementos ocupan todo el ancho */
    }
}

/* Opcional: Efecto hover para contenedores interactivos */
@media (hover: hover) {
    .custom-container:hover {
        gap: 25px; /* Aumentamos el espacio entre elementos al hacer hover */
    }
}

/* ======= LOGO ======= */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo {
    height: 80px;
    max-width: 500px;
    width: auto;
    margin-left: 5%;
}

/* ======= NAVEGACIÓN DESKTOP ======= */
.desktop-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 15px;
}

/* ======= BUSCADOR RESPONSIVO ======= */



.search-input:focus {
    border-color: #0d6efd;
    box-shadow: 0 2px 8px rgba(13, 110, 253, 0.2);
}

.search-button {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 1rem;
    padding: 5px 10px;
}

.search-button:hover {
    color: #0d6efd;
}

/* ===== CONTENEDOR PRINCIPAL ===== */
.header-icons {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-shrink: 0;
    margin-left: auto;
}

/* ===== ESTILOS BASE PARA ICONOS ===== */
.header-icon,
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    color: #333;
    background-color: transparent;
    border-radius: 50%;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.1rem;
    text-decoration: none !important; /* Elimina subrayado */
    border: 1px solid #333; /* Borde negro delgado */
    position: relative;
    overflow: hidden;
}

/* ===== EFECTO HOVER PARA TODOS LOS ICONOS ===== */
.header-icon:hover,
.social-icon:hover {
    color: #fff;
    background-color: #333;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* ===== ICONO DE HOME ESPECÍFICO ===== */
.home-icon {
    order: 2;
    margin-left: 10px;
}

.home-icon:hover {
    color: #fff;
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* ===== EFECTO ADICIONAL PARA ICONOS ===== */
.header-icon::after,
.social-icon::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: scale(0);
    transition: transform 0.3s ease;
}

.header-icon:hover::after,
.social-icon:hover::after {
    transform: scale(1);
}

/* Contenedor del dólar */
.dolar-box {
    display: flex;
    align-items: center;
    background-color: #28a745;
    padding: 9px 6px;
    border-radius: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    height: 40px;
    order: 1;
    transform: scaleX(1.1); /* Escala solo horizontalmente */
    transform-origin: left; /* Ancla el escalado al lado izquierdo */
    width: auto; /* Permite que el ancho sea flexible */
}

.dolar-info {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.dolar-label {
    font-size: 0.7rem;
    color: #ffffff;
}

.dolar-precio {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    margin-right: 4px;
}

/* Grupo de iconos sociales */
.social-icons {
    display: flex;
    gap: 10px;
    order: 3;
}

.social-icon {
    font-size: 0.95rem;
    color: #333 !important;
}

.social-icon:hover {
    color: white !important;
    background-color: #0d6efd;
    transform: scale(1.1);
}

/* ======= MENÚ MÓVIL ======= */
.mobile-menu-toggle {
    display: none;
    border: none;
    background: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: #333;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #f8f9fa;
    transition: left 0.3s ease;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.mobile-menu.open {
    left: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    border-bottom: 1px solid #ddd;
    background: #007bff;
    color: white;
}

.mobile-menu-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}

.mobile-menu-close {
    border: none;
    background: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

.mobile-menu-body {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav .search-container {
    width: 100%;
    padding: 5px 0;
}

.mobile-social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
    text-decoration: none;
    font-size: 1rem;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover {
    background-color: #e9ecef;
    color: #0d6efd;
}

.mobile-nav-link i {
    font-size: 1.2rem;
    color: #333;
}

.contact-button {
    background-color: #007bff;
    color: white;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    transition: background 0.3s ease;
    margin-top: 10px;
}

.contact-button:hover {
    background-color: #0056b3;
}

/* ======= RESPONSIVO ======= */
@media (max-width: 1200px) {
    .search-container {
        margin: 0 15px;
    }

    .header-icons {
        gap: 10px;
    }
}

@media (max-width: 1119px) {
    .desktop-nav {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .logo {
        height: 60px;
        margin-left: 0;
    }
}

@media (min-width: 1120px) {
    .mobile-menu {
        display: none;
    }
}

@media (max-width: 992px) {
    .search-container {
        order: 1;
        width: 100%;
        margin: 10px 0;
    }

    .container {
        flex-wrap: wrap;
    }

    .logo-link {
        order: 0;
    }

    .mobile-menu-toggle {
        order: 2;
    }

    .header-icons {
        order: 3;
        width: 100%;
        justify-content: flex-end;
        margin-top: 10px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 98%;
    }

    .logo {
        height: 50px;
    }

    .search-input {
        padding: 8px 12px;
        font-size: 0.85rem;
    }

    .dolar-box {
        padding: 5px 8px;
    }

    .dolar-label {
        font-size: 0.6rem;
    }

    .dolar-precio {
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .search-container {
        min-width: 150px;
    }

    .logo {
        height: 45px;
    }

    .header-icon, .social-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
/* fin de estilos del header */


/* ======= ESTILOS GENERALES ======= */

.flex {
    display: flex;
}

.md\:flex-row {
    width: 100%;
}




.mb-8 {
    margin-bottom: 2rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mt-2 {
    margin-top: 0.5rem;
}

.text-lg {
    font-size: 1.125rem;
}

.font-bold {
    font-weight: bold;
}

.text-gray-500 {
    color: #6b7280;
}

.text-gray-800 {
    color: #1f2937;
}

.text-orange-500 {
    color: #f97316;
}

.bg-orange-500 {
    background-color: #f97316;
}

.text-white {
    color: #fff;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.rounded {
    border-radius: 0.25rem;
}



.product-card-specific {
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
    width: 100%; /* Asegura que la tarjeta ocupe todo el ancho de la columna */
    height: auto; /* Altura automática para que el contenido fluya */
}

.product-card-specific:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-image-specific {
    width: 100%;
    height: 200px; /* Altura fija para las imágenes */
    object-fit: contain; /* Asegura que la imagen se vea completa */
    transition: transform 0.3s ease;
}

.product-card-specific:hover .product-image-specific {
    transform: scale(1.1);
}

.product-body-specific {
    padding: 1.5rem;
}

.product-title-specific {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 0.75rem;
    height: auto; /* Altura automática para el título */
    overflow: hidden;
    text-overflow: ellipsis;
    display: block; /* Eliminamos el límite de líneas */
}

.product-text-specific {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 1rem;
    flex: 1; /* Hace que la descripción ocupe el espacio restante */
    overflow: hidden;
    text-overflow: ellipsis;
    display: block; /* Eliminamos el límite de líneas */
}

/* Estilos para los precios */
.product-price-specific {
    display: flex;
    flex-direction: column; /* Hace que los precios estén en líneas separadas */
    gap: 0.5rem; /* Espacio entre los precios */
    margin-bottom: 1rem;
}

.product-price-specific .price-usd {
    font-size: 1rem;
    color: #dc3545; /* Rojo para el precio en dólares */
    font-weight: bold;
}

.product-price-specific .price-pen {
    font-size: 1rem;
    color: #28a745; /* Verde para el precio en soles */
    font-weight: bold;
}

/* Botones de productos */
.btn-primary, .btn-warning {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    margin-right: 0.5rem;
    transition: background 0.3s ease, transform 0.3s ease;
    margin-top: 0.5rem; /* Espacio entre botones */
}

.btn-primary:hover, .btn-warning:hover {
    transform: scale(1.05);
}

/* ======= DISEÑO RESPONSIVO DE TARJETAS ======= */
@media (max-width: 768px) {
    .product-grid-specific {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* 2 columnas en móviles */
    }
}

/* ======= ANIMACIÓN DE ENTRADA ======= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Añadir retraso a cada tarjeta */
.product-card-specific:nth-child(1) { animation-delay: 0.1s; }
.product-card-specific:nth-child(2) { animation-delay: 0.2s; }
.product-card-specific:nth-child(3) { animation-delay: 0.3s; }
.product-card-specific:nth-child(4) { animation-delay: 0.4s; }
.product-card-specific:nth-child(5) { animation-delay: 0.5s; }
.product-card-specific:nth-child(6) { animation-delay: 0.6s; }

/* Fin de ESTILOS DE PRODUCTOS */


/* ESTILO DE DETALLES */
.product-page {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 3000px;
    margin: auto;
}

/* 📦 Contenedor principal con tamaño fijo */
.product-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    width: 100%;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/* Contenedor principal */
.product-gallery {
    flex: 1 1 45%;
    text-align: center;
    position: relative;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 10px;
    overflow: hidden;
    width: 100%;
    box-sizing: border-box;
}

/* Imagen principal */
.product-main-image {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    cursor: none;
    margin: 0 auto;
}

.product-main-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.2s;
}

/* Efecto de lupa */
.zoom-lens {
    position: absolute;
    width: 150px;
    height: 150px;
    border: 3px solid #fff;
    border-radius: 50%;
    background-repeat: no-repeat;
    pointer-events: none;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    z-index: 10;
    opacity: 0;
    transition: opacity 0.3s;
}

/* Contenedor de miniaturas con gap adaptable */
.product-thumbnails {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 15px;
    padding: 0 10px;
    box-sizing: border-box;
}

/* MINIATURAS RESPONSIVE - VERSIÓN MEJORADA */
.product-thumbnails .thumbnail {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 6px;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    flex-shrink: 0;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0,0,0,0.08);
    aspect-ratio: 1/1; /* Mantener relación cuadrada */
}

.product-thumbnails .thumbnail:hover {
    border-color: #3498db;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.2);
}

/* RESPONSIVE PARA MÓVILES */
@media (max-width: 767px) {
    .product-thumbnails {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
        gap: 10px;
        padding: 0 5px;
        margin-top: 12px;
    }

    .product-thumbnails .thumbnail {
        width: 100% !important; /* Forzar ancho completo */
        height: auto !important; /* Altura automática */
        min-height: 80px;
        max-width: 100px; /* Máximo para mantener proporción */
        margin: 0 auto; /* Centrar en su celda */
        border-width: 1.5px;
    }

    /* Efecto hover para touch devices */
    @media (hover: hover) {
        .product-thumbnails .thumbnail:hover {
            transform: scale(1.05);
            border-color: #3498db;
        }
    }

    /* Estado activo para touch */
    .product-thumbnails .thumbnail:active {
        transform: scale(0.98);
    }
}

@media (max-width: 480px) {
    .product-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
        gap: 8px;
    }

    .product-thumbnails .thumbnail {
        min-height: 70px;
        max-width: 90px;
    }
}

@media (max-width: 360px) {
    .product-thumbnails {
        grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
        gap: 6px;
    }

    .product-thumbnails .thumbnail {
        min-height: 60px;
        max-width: 80px;
        border-radius: 4px;
    }
}

/* Modal pantalla completa */
.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    max-width: 90%;
    max-height: 90%;
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: white;
    font-size: 35px;
    cursor: pointer;
}

/* Ajuste para pantallas pequeñas */
@media (max-width: 768px) {
    .product-thumbnails {
        justify-content: space-around;
    }

    .product-thumbnails .thumbnail {
        width: 100px;
        height: 100px;
    }
}

@media (max-width: 480px) {
    .product-thumbnails .thumbnail {
        width: 80px;
        height: 80px;
    }
}

/* Zoom al pasar el mouse */
.product-main-image:hover img {
    transform: scale(1.5);
}

/* 📝 Contenedor de la información con tamaño fijo */
.product-info {
    flex: 1 1 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%; /* Altura fija */
    background: #fff;
    padding: 15px;
    border-radius: 10px;
}

/* 🏷 Título del producto adaptado al tamaño del contenedor */
.product-title {
    font-size: clamp(1.8rem, 2.5vw, 2.2rem);
    font-weight: bold;
    color: #222;
}

/* Estilo mejorado para product-details */
.product-details {
    font-size: clamp(1rem, 1.2vw, 1.1rem);
    color: #444;
    margin-bottom: 1rem;
    line-height: 1.5;
    background: #f8f8f8;
    padding: 10px;
    border-radius: 8px;
}

.detail-row {
    display: grid;
    grid-template-columns: 1fr 1fr; /* Dividimos el contenedor en dos columnas iguales */
    align-items: center;
    margin-bottom: 1rem;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.5rem;
}

.detail-row strong {
    font-weight: 600;
    color: #222;
    padding-right: 10px; /* Espacio entre strong y la línea */
}

.detail-row span {
    padding-left: 10px; /* Espacio entre la línea y el span */
    border-left: 1px solid #ddd; /* Línea divisoria vertical */
    text-align: left; /* Alinea el texto a la izquierda */
    color: #555;
}
/* 💰 Contenedor de ambos precios con borde de líneas continuas */
#product-prices {
    background: #ffffff;
    border-radius: 8px;
    text-align: left; /* Asegura que el texto se alinee a la izquierda */
    margin-bottom: 10px;
    border: 3px dashed rgb(8, 1, 1); /* Borde de líneas continuas */
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 6px;
    align-items: flex-start; /* Alinea los elementos al inicio (izquierda) */
}


/* 💰 Estilo del precio en dólares (rojo) */
#product-price-red {
    font-size: clamp(1.2rem, 1.5vw, 1.4rem);
    font-weight: bold;
    margin: 5px 0;
    color: #e60000; /* Rojo */
}

/* 💰 Estilo del precio en soles (verde) */
#product-price-green {
    font-size: clamp(1.2rem, 1.5vw, 1.4rem);
    font-weight: bold;
    margin: 5px 0;
    color: #00cc00; /* Verde */
}

/* 🛒 Contenedor de detalles del producto - debe tener position: relative */
.product-details-container {
    position: relative; /* Esto es esencial para contener los botones */
    /* ... otros estilos que ya tengas ... */
}

/* 🛒 Botones de compra - Posición fija dentro del contenedor de detalles */
.product-buttons {
    position: sticky;
    bottom: 20px;
    display: flex;
    gap: 15px;
    justify-content: flex-start;
    padding: 15px 0;
    backdrop-filter: blur(5px); /* Efecto de difuminado */
    border-radius: 12px;
    z-index: 10;
    animation: fadeInUp 0.5s ease-out;
}

/* Estilos para los botones (mejorados) */
.product-buttons .btn {
    font-size: 1rem;
    padding: 12px 24px;
    border-radius: 50px;
    transition: all 0.3s ease;
    min-width: 220px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
}

/* Botón de WhatsApp mejorado */
.whatsapp-button {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    position: relative;
}



.whatsapp-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-button:hover::after {
    left: 100%;
}

/* Botón de Like mejorado */
.like-button {
    background: white;
    color: #4361ee;
    border: 2px solid #4361ee;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.like-button:hover {
    background: #4361ee;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(67, 97, 238, 0.3);
}

.like-button.liked {
    background: #4361ee;
    color: white;
    animation: heartBeat 0.5s;
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes heartBeat {
    0% { transform: scale(1); }
    25% { transform: scale(1.1); }
    50% { transform: scale(1); }
    75% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

/* Responsive para móviles */
@media (max-width: 768px) {
    .product-buttons {
        flex-direction: column;
        gap: 12px;
        padding: 12px 15px;
        margin-top: 20px;
        bottom: 10px;
    }

    .product-buttons .btn {
        min-width: 100%;
        padding: 12px 20px;
    }

    .whatsapp-button::after {
        display: none; /* Mejor rendimiento en móviles */
    }
}

/* ===============================================================================================

/* ==============ESTILOS PARA DETALLES DEL PRODUCTO, PAGO CON TARJETA Y ESO==================== */

.purchase-details {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.purchase-details:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.purchase-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.purchase-feature {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.2s ease;
}

.purchase-feature:last-child {
    border-bottom: none;
}

.purchase-feature:hover {
    transform: translateX(5px);
}

.feature-icon {
    width: 24px;
    height: 24px;
    margin-right: 15px;
    color: #4361ee;
    flex-shrink: 0;
}

.feature-text {
    font-size: 15px;
    color: #555;
    font-weight: 500;
    line-height: 1.5;
}

.highlight {
    background-color: #000;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    display: inline-block;
    transform: skewX(-5deg);
    box-shadow: 1px 1px 0 rgba(0,0,0,0.1);
    margin: 0 2px;
}

/* Animaciones */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.purchase-feature:nth-child(1) .highlight {
    animation: pulse 1.5s infinite;
    background-color: #25D366;
}

.purchase-feature:nth-child(2) .highlight {
    background: linear-gradient(90deg, #333, #555);
}

/* Responsive */
@media (max-width: 768px) {
    .purchase-details {
        padding: 15px;
        margin: 20px 0;
    }

    .feature-text {
        font-size: 14px;
    }

    .feature-icon {
        width: 20px;
        height: 20px;
        margin-right: 12px;
    }
}

/* =============================================================================================== */

/* ======= FIN DEL APARTADO ======= */

/* =============================================================================================== */

/* ======= ESTILOS DE PRECIO EN DOLARES Y SOLES ======= */

.product-prices-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.price-card {
    position: relative;
    background: white;
    border-radius: 12px;
    padding: 25px 20px 20px;
    width: 180px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid #f0f0f0;
    overflow: hidden;
}

.price-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.price-flag {
    position: absolute;
    top: 0;
    right: 0;
    background: #4361ee;
    color: white;
    padding: 3px 12px;
    font-size: 12px;
    font-weight: 600;
    border-bottom-left-radius: 8px;
}

.dollar .price-flag {
    background: linear-gradient(135deg, #28a745, #20c997);
}

.sol .price-flag {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
}

.price-content {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 10px;
}

.price-currency {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-right: 2px;
    line-height: 1;
}

.price-value {
    font-size: 32px;
    font-weight: 800;
    color: #222;
    line-height: 1;
}

.price-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    margin-top: 5px;
}

/* Efectos especiales */
.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #4361ee, #3a0ca3);
}

.dollar::before {
    background: linear-gradient(90deg, #28a745, #20c997);
}

.sol::before {
    background: linear-gradient(90deg, #ffc107, #fd7e14);
}

/* Animación de flotación */
@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
    100% { transform: translateY(0); }
}

.price-card:hover {
    animation: float 2s ease-in-out infinite;
}

/* Responsive */
@media (max-width: 768px) {
    .product-prices-container {
        gap: 15px;
    }

    .price-card {
        width: 150px;
        padding: 20px 15px 15px;
    }

    .price-value {
        font-size: 28px;
    }

    .price-currency {
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .product-prices-container {
        flex-direction: column;
        align-items: center;
    }

    .price-card {
        width: 100%;
        max-width: 220px;
    }
}

/* =============================================================================================== */

/* ======= FIN DE ESTILOS DE PRECIOS ======= */

/* 🛠 Estilos de la sección de especificaciones técnicas */
.product-specs {
    width: 100%;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-left: 5px solid #0037FF; /* Resalta el contenedor */
}

/* 📌 Título principal */
.product-specs h2 {
    font-size: 1.6rem;
    color: #333;
    text-align: center;
    border-bottom: 2px solid #ddd;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

/* 📝 Lista de especificaciones */
.specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-list li {
    padding: 12px 15px;
    border-bottom: 1px solid #ddd;
    font-size: 1rem;
    color: #555;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.specs-list li:last-child {
    border-bottom: none;
}

/* 🔹 Información adicional */
.specs-info {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.specs-info h3 {
    font-size: 1.3rem;
    color: #0037FF;
    margin-bottom: 10px;
    text-align: center;
    border-bottom: 2px solid #0037FF;
    padding-bottom: 5px;
}

/* 📋 Lista de información adicional */
.specs-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.specs-info li {
    font-size: 1rem;
    color: #444;
    padding: 8px 0;
    display: flex;
    align-items: center;
}

.specs-info li strong {
    margin-left: 8px;
}


/* 📱 Responsividad */
@media screen and (max-width: 768px) {
    .product-container {
        flex-direction: column;
        align-items: center;
        height: auto; /* Se ajusta en dispositivos pequeños */
    }

    .product-gallery, .product-info {
        max-width: 100%;
        text-align: center;
        height: auto;
    }

    .product-prices {
        width: 100%;
    }

    .product-buttons .btn {
        width: 100%;
    }
    .specs-list li, .specs-info li {
        flex-direction: column;
        text-align: center;
    }
}

/* fin de estilos de detalles */


/* ======= SECCIÓN DE CONTACTO ======= */
.contact {
    padding: 60px 0;
    background: #f8f9fa;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.info-box {
    background: white;
    padding: 20px;
    text-align: center;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 100%;
}

.info-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.info-box i {
    font-size: 2rem;
    color: #007bff;
    margin-bottom: 10px;
}

.info-box h3 {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 10px;
}

.info-box p {
    font-size: 1rem;
    color: #555;
}

/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
    .info-box {
        margin-bottom: 20px;
    }

    .section-title h2 {
        font-size: 1.8rem;
    }
}

/* Estilos para la página de detalles */


.img-fluid {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    transition: none !important;
    transform: none !important;
}

.img-fluid:hover {
    transform: scale(1.05);
}

h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    color: #555;
    margin-bottom: 1.5rem;
}

.detalles-tecnicos {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.detalles-tecnicos h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.detalles-tecnicos ul {
    list-style: none;
    padding: 0;
}

.detalles-tecnicos ul li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #eee;
}

.detalles-tecnicos ul li:last-child {
    border-bottom: none;
}

.btn-primary, .btn-warning {
    font-size: 1rem;
    padding: 0.75rem 1.5rem;
    margin-right: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover, .btn-warning:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.reseñas {
    margin-top: 3rem;
}

.reseñas h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.reseña {
    background: #fff;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
}

.reseña h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.reseña p {
    color: #555;
}

/*ESTILOS PARA EL FOOTER*/

/* 🔵 Estilos Únicos para Iconos Sociales del Footer */
.footer-social-icon {
    font-size: 1.5rem;
    color: white;
    margin: 0 10px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    text-decoration: none;
}

.footer-social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Colores específicos para cada red social */
.footer-social-icon.fa-facebook:hover {
    color: #1877f2;
    background-color: rgba(24, 119, 242, 0.1);
}

.footer-social-icon.fa-instagram:hover {
    color: #e4405f;
    background-color: rgba(228, 64, 95, 0.1);
}

.footer-social-icon.fa-tiktok:hover {
    color: #25f4ee;
    background-color: rgba(37, 244, 238, 0.1);
}

/* Alineación y espaciado mejorado */
.footer-social {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    padding: 25px 0;
}

.footer-social span {
    font-size: 1.1rem;
    margin-right: 10px;
}

.footer-container {
    background-color: #1a1a1a;
    color: white;
    padding-top: 20px;
    text-align: center;
    margin-top: auto;
}

/* Contenido del footer con mejor organización */
.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    text-align: left;
    padding: 20px;
    margin-left: 5cm;
    margin-right: 5cm;
}

/* Ajuste para dispositivos móviles */
@media (max-width: 768px) {
    .footer-content {
        margin-left: 1rem; /* Ajuste de margen en dispositivos móviles */
        margin-right: 1rem;
        grid-template-columns: 1fr; /* Hacer el grid de una sola columna en móviles */
    }
}

/* Secciones dentro del footer */
.footer-section {
    width: 100%; /* Ahora cada sección ocupa su espacio sin sobreponerse */
    padding: 10px;
}

.footer-section h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: #0037FF; /* Azul */
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 5px;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #0037FF; /* Azul */
}

/* Google Maps Ubicación */
.footer-map {
    flex: 1 1 100%;
    text-align: center;
}

.footer-map iframe {
    width: 100%;
    border-radius: 8px;
}

/* Redes Sociales */

.whatsapp-icon {
    width: 20px; /* Tamaño igual al resto de iconos */
    height: 20px;
    vertical-align: middle; /* Alineación con el texto */
}

/* 📞 Enlace de WhatsApp */
.whatsapp-link {
    color: #25d366; /* Verde WhatsApp */
    font-weight: bold;
    text-decoration: none;
    transition: color 0.3s ease-in-out;
}

.whatsapp-link:hover {
    color: #1ebe57; /* Verde más oscuro */
}

.social-icon {
    font-size: 1.5rem;
    color: white;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #0037FF; /* Azul */
}

/* Botón de Libro de Reclamaciones */
.btn-reclamaciones {
    display: inline-block;
    background-color: #0037FF; /* Azul */
    color: white;
    font-weight: bold;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    margin-left: 15px;
}

.btn-reclamaciones:hover {
    background-color: #0025b4; /* Azul más oscuro */
}

/* Estilos originales (sin cambios) */
.footer-bottom {
    align-items: center;
    padding: 15px 0;
    margin-top: 20px;
    display: flex;
    margin-left: 5.8cm;
    margin-right: 5.4cm;
    justify-content: space-between;
    text-align: center;
}
/* En tu archivo CSS personalizado (debe cargarse después de reebot.scss) */
p {
    margin-bottom: 0 !important; /* El !important asegura que prevalezca */
}

/* Solo media query para móvil */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        margin-left: 0;
        margin-right: 0;
        padding: 15px 20px;
    }

    .footer-social {
        order: -1; /* Mover redes sociales arriba */
    }
}
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr); /* 2 columnas en pantallas medianas */
        text-align: center;
    }

    .footer-section {
        width: 100%;
    }

    .footer-social {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer-map iframe {
        height: 180px;
    }
}

/* 📱 RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: repeat(1, 1fr); /* 1 sola columna en móviles */
    }

    .footer-section {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .footer-social {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer-map {
        max-width: 100%;
    }
    .footer-social {
        flex-direction: column;
    }

    .footer-social span {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .footer-social-icon {
        margin: 5px;
    }
}


/* fin de estilos para el footer */

/* Estilos profesionales para el Buscador */
.search-container {
    flex: 1;
    min-width: 200px;
    margin: 0 20px;
    position: relative;
}

.search-form {
    position: relative;
    display: flex;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    transition: transform 0.3s ease;
}

.search-form:hover {
    transform: translateY(-1px);
}

.search-input-wrapper {
    position: relative;
    width: 100%;
    margin-left: 20px;
}

.search-input {
    width: 100%;
    padding: 14px 48px 14px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 50px; /* Forma ovalada */
    font-size: 15px;
    font-weight: 500;
    color: #1f2937;
    background-color: #f9fafb;
    outline: none;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.05),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.search-input:focus {
    border-color: #3b82f6;
    background-color: #ffffff;
    box-shadow:
        0 0 0 3px rgba(59, 130, 246, 0.2),
        0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Estilos para el icono de lupa negro */
.search-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    color: #111827; /* Negro bonito */
    opacity: 0.8;
    pointer-events: none;
    transition: all 0.3s ease;
}

.search-input:focus + .search-icon {
    opacity: 1;
    transform: translateY(-50%) scale(1.05);
}

/* Contenedor de resultados */
.search-results {
    position: absolute;
    top: calc(100% + 8px);
    left: 20px;
    right: 0;
    background: #ffffff;
    border-radius: 12px;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06);
    z-index: 50;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    border: 1px solid #e5e7eb;
}

/* Efecto de transición para el contenedor */
.search-container {
    transition: all 0.3s ease;
}

/* Micro-interacción al hacer hover en el contenedor */
.search-container:hover {
    transform: translateY(-1px);
}
.search-results {
    position: absolute;
    top: 100%; /* Coloca el contenedor de resultados justo debajo del input */
    left: 0;
    width: 100%; /* Ocupa el ancho del formulario */
    max-height: 400px;
    overflow-y: auto;
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.search-results.active {
    display: block;
}

.search-results .result-item {
    display: flex;
    align-items: center;
    padding: 10px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.search-results .result-item:hover {
    background-color: #f9f9f9;
}

.search-results .result-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 5px;
    margin-right: 15px;
}

.search-results .result-item .result-details {
    flex: 1;
}

.search-results .result-item .result-details h3 {
    margin: 0;
    font-size: 16px;
    color: #333;
}

.search-results .result-item .result-details p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #666;
}

/* Responsive para celulares */
@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
    }

    .search-input {
        width: 100%;
        margin-bottom: 10px;
    }

    .search-button {
        width: 100%;
        margin-left: 0;
    }

    .search-results {
        width: 100%;
    }
}

/* fin de estilos para el Buscador */
/* ======= ESTILOS DEL SLIDER ======= */


.slider-section {
    background-color: #f8f9fa;
    padding: 0;
    width: 100%;
    margin: 0;
    overflow: hidden;
}

/* Contenedor del slider */
.slider-container {
    width: 100%;
    max-width: 100vw; /* Más alto en PC */
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

/* Contenedor de cada slide */
.carousel-item {
    width: 100%;
    height: 100%;
    position: relative;
}

/* Contenedor de la imagen */
.slider-image-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Imagen estática sin efectos */
.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: none !important;
    transform: none !important;
}

/* Oculta el texto "SLIDER" si hay imagen */
.slider-placeholder {
    display: none;
}

/* Si la imagen no está disponible, muestra el texto "SLIDER" con fondo negro */
.slider-image[src=""],
.slider-image:not([src]) {
    display: none;
}

.slider-image[src=""] + .slider-placeholder,
.slider-image:not([src]) + .slider-placeholder {
    display: flex;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    font-size: 50px;
    font-weight: bold;
    color: white;
    background: rgba(0, 0, 0, 0.8);
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Hace que todo el slide sea clickeable */
.slider-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

/* ======= Botones del slider dentro de la imagen ======= */
.carousel-control-prev,
.carousel-control-next {
    width: 10%;
    height: 100%;
    position: absolute;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    z-index: 10;
}

/* Ajuste de tamaño y fondo de los botones */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    padding: 1rem;
}

/* ======= Indicadores ======= */
.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 35%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-indicators li {
    width: 15px;
    height: 15px;
    background-color: transparent;
    border: none;
    color: #fff;
    font-size: 15px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-indicators .active i {
    color: #007bff;
}

.carousel-indicators i {
    font-size: 12px;
    color: #ccc;
    transition: color 0.3s ease;
}

/* ======= SLIDER RESPONSIVO ======= */
@media (max-width: 1024px) {
    .slider-container {
        height: 500px; /* Ajuste de altura para tablets */
    }
}

@media (max-width: 768px) {
    .slider-container {
        height: auto; /* Se adapta a la imagen en móviles */
    }

    .slider-image {
        object-fit: contain; /* Evita cortes en móviles */
    }

    /* Ajuste de los indicadores en pantallas pequeñas */
    .carousel-indicators {
        bottom: 5px;
        gap: 5px;
    }

    /* Ajusta los botones de navegación para que no ocupen demasiado espacio */
    .carousel-control-prev,
    .carousel-control-next {
        width: 15%;
    }

    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        padding: 0.8rem;
    }
}


/* fin de estilos del slider */

/* ======= ESTILOS DEL ASIDE ======= */

.content-wrapper {
    flex: 1; /* Hace que el contenido principal ocupe el espacio disponible */
    display: flex;
    flex-wrap: nowrap;
}

.container-fluid {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.container-fluid > .row {
    --bs-gutter-x: 0 !important; /* Elimina el espacio horizontal entre columnas */
    --bs-gutter-y: 0 !important; /* Elimina el espacio vertical entre filas (opcional) */
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}



/* Sidebar fijo pero sin forzar altura */
.left-sidebar {
    background-color: #f8f9fa;
    padding: 20px;
    border-right: 1px solid #ddd;
    overflow-y: auto;
    position: sticky;
    top: 80px;
    flex: 0 0 25%;
}


.left-sidebar h2 {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.panel-group .panel {
    margin-bottom: 10px;
}

.panel-heading {
    padding: 10px;
    background-color: #e9ecef;
    border-radius: 5px;
}

.panel-title a {
    text-decoration: none;
    color: #333;
    display: flex;
    align-items: center;
}

.tech-icon {
    margin-right: 10px;
}

.shipping img {
    max-width: 100%;
    height: auto;
}

/* Estilos para el contenido principal */
main {
    flex-grow: 1;
    overflow-y: auto;

}
/* Ajustes para móviles */
@media (max-width: 768px) {
    .left-sidebar {
        width: 100%;
        position: relative;
        height: auto;
        top: 0;
    }

    main {
        width: 100%;
    }
}

/* fin de estilos del aside */


/* Fondo del dashboard */
/* ======= SUBHEADER ======= */
.header-row {
    background-color: #0037FF; /* Azul intenso agradable */
    align-items: center;
}

/* Contenedor de menú */
.menu-wrapper {
    display: flex;
    align-items: center;
    gap: 10px; /* Espacio entre Categorías y los otros botones */
    position: relative;
}

.menu-toggle-container {
    position: relative;
}

.grupos-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    width: 250px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1001;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.menu-toggle-container:hover .grupos-dropdown {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Estilos de la lista de grupos */
.grupos-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.grupo-item {
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s ease;
    position: relative;
}

.grupo-item a {
    text-decoration: none;
    color: #0056b3;
    font-size: 14px;
    font-weight: bold;
    display: block;
}

.grupo-item:hover {
    background: #f0f0f0;
}

/* Menú desplegable de subgrupos */
.subgrupos-list {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #ffffff;
    width: 250px;
    border-radius: 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1002;
    padding: 10px 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Mostrar el menú desplegable de subgrupos al hacer hover */
.grupo-item:hover .subgrupos-list {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Estilos de la lista de subgrupos */
.subgrupos-list li {
    padding: 8px 12px;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s ease;
}

.subgrupos-list li a {
    text-decoration: none;
    color: #0056b3;
    font-size: 14px;
    font-weight: bold;
    display: block;
}

.subgrupos-list li:hover {
    background: #f0f0f0;
}
/* Botones generales del subheader */
.menu-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    color: #ffffff;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: bold;
    border: none;
    border-radius: 5px;
    transition: background 0.3s ease-in-out, transform 0.2s, color 0.3s;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none; /* ← Esto elimina el subrayado */
}


/* Efecto hover en botones */
.menu-toggle:hover {
    background: #171718;
    color: white;
    transform: scale(1.05);
}

/* Iconos de los botones */
.menu-toggle i {
    font-size: 18px;
}

/* Versión Desktop (≥ 768px) */
.menu-toggle.categorias {
    background: #363232;
    color: white;
    width: 240px;
    min-height: 100%;
    margin: 0;
    display: flex;
    align-items: center;
    position: relative;
    border-right: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

/* Flecha hacia abajo (CSS puro) */
.menu-toggle.categorias::after {
    content: "";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 6px solid white;
    transition: transform 0.3s ease;
}

.menu-toggle.categorias:hover {
    background: #222;
}

/* Menú desplegable de Categorías */
.menu-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff; /* Fondo blanco */

    z-index: 1001;
    padding: 10px 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Activar el menú */
.menu-dropdown.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Lista de menú */
.menu-list, .submenu-list, .sub-submenu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Estilos de los enlaces del menú */
.menu-item {
    padding: 12px 20px;
    border-bottom: 1px solid #ddd;
    transition: background 0.3s ease-in-out;
}

.menu-item a {
    text-decoration: none;
    color: #0056b3;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s ease;
}

.menu-item:hover {
    background: #f0f0f0;
}

.menu-item:hover a {
    color: #000000;
}

/* Submenús */
.submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #ffffff;
    width: 250px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 5px 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.menu-item:hover > .submenu {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Sub-submenús */
.sub-submenu {
    display: none;
    position: absolute;
    left: 100%;
    top: 0;
    background: #ffffff;
    width: 250px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    padding: 5px 0;
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.has-submenu:hover > .sub-submenu {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

/* Flechita en submenús */
.has-submenu > .menu-link::after {
    content: " ▼";
    font-size: 12px;
    margin-left: 8px;
    color: #0056b3;
}

/* Overlay de fondo */
.overlay {
    display: none;
    width: 100%;
    height: 100%;
    z-index: 1000;
}

/* ======= ESTILOS RESPONSIVE ======= */
@media screen and (max-width: 768px) {

    .menu-wrapper {
        flex-direction: column;
        width: 100%;
        gap: 5px;
    }

    .menu-toggle {
        width: 100%;
        justify-content: flex-start;
        padding: 12px 15px;
    }

    .pc-only {
        display: none;
    }

    .menu-dropdown {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        box-shadow: 5px 0 10px rgba(0, 0, 0, 0.2);
        transition: left 0.4s ease;
        padding: 20px;
        overflow-y: auto;
        z-index: 1000;
    }

    .menu-dropdown.active {
        left: 0;
        opacity: 1;
    }

    .submenu, .sub-submenu {
        position: relative;
        left: 0;
        width: 100%;
        box-shadow: none;
        display: none;
    }

    .submenu.active, .sub-submenu.active {
        display: block;
    }

    .overlay {
        display: none;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 950;
        transition: opacity 0.3s ease;
    }

    .overlay.active {
        display: block;
        opacity: 1;
    }

    .menu-label {
        display: none;
    }

    .mobile-only {
        display: block !important;
    }
}

@media screen and (min-width: 769px) {
    .menu-label {
        display: inline-block;
    }

    .pc-only {
        display: flex;
        gap: 10px; /* Espacio uniforme entre botones */
    }

    .mobile-only {
        display: none !important;
    }
}
/* ======= SOLUCIÓN ESPECÍFICA PARA 1024px ======= */
@media screen and (max-width: 1024px) {
    .pc-only {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .menu-dropdown {
        position: fixed;
        top: 0;
        left: -100%;
        width: 80%;
        height: 100vh;
        background: white;
        box-shadow: 5px 0 10px rgba(0, 0, 0, 0.2);
        transition: left 0.4s ease;
        padding: 20px;
        overflow-y: auto;
        z-index: 1000;
    }

    .menu-dropdown.active {
        left: 0;
    }
}

/* fin de estilos de dashboard */

/* estilos para el home */

/* Estilos del H1 */
.section-title {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-weight: bold;
    font-size: 2rem;
    margin-top: 20px;
}

/* Estilos de la etiqueta superior */
.section-tag {
    display: inline-block;
    background: #f5f5f5;
    color: #333;
    font-size: 0.9rem;
    font-weight: bold;
    padding: 6px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
}

/* ===== CONTENEDOR DE CATEGORIAS ===== */
/* ===== ESTILOS GENERALES ===== */
.sekai-categorias-container {
    width: 100%;
    margin: 0 auto;
    padding: 0rem 0rem 3rem;
}

/* ===== TÍTULO ===== */
.sekai-categorias-titulo-container {
    width: 100%;
    text-align: center;
    margin-bottom: 3rem;
}

.sekai-categorias-titulo {
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #222;
    position: relative;
    padding-bottom: 1rem;
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.sekai-categorias-titulo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    border-radius: 2px;
}

/* ===== GRID PARA DESKTOP/TABLET ===== */
.sekai-categorias-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 1.25rem;
    width: 100%;
}

.sekai-categoria-item {
    display: block;
}

.sekai-categoria-card {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(0,0,0,0.05);
}

.sekai-categoria-imagen-container {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
}

.sekai-categoria-imagen {
    width: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.sekai-categoria-card:hover .sekai-categoria-imagen {
    transform: scale(1.08);
}

/* ===== ELIMINAR SUBRAYADO DE LINKS ===== */
a.sekai-categoria-link,
a.sekai-categoria-link:hover,
a.sekai-categoria-link:focus {
    text-decoration: none !important;
    color: inherit;
    outline: none;
}

/* ===== CONTENEDOR DEL NOMBRE ===== */
.sekai-categoria-contenido {
    padding: 1rem 0.8rem;
    flex-shrink: 0;
    background: linear-gradient(
        90deg,
        #0037ff 0%,
        #0055ff 25%,
        #0072ff 50%,
        #0090ff 75%,
        #00adff 100%
    );
    position: relative;
    z-index: 2;
    text-align: center;
    box-shadow: 0 -4px 12px rgba(0, 55, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    overflow: hidden;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-size: 200% 100%;
    animation: gradientFlow 8s ease infinite alternate;
}

/* Animación sutil del degradado */
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Mejora para mantener legibilidad del texto */
.sekai-categoria-nombre {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
}

/* Capa para mejorar contraste */
.sekai-categoria-contenido::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        90deg,
        rgba(0,0,0,0.1) 0%,
        rgba(0,0,0,0) 50%,
        rgba(0,0,0,0.1) 100%
    );
    z-index: 1;
    pointer-events: none;
}

/* ===== ESTILO DEL TEXTO ===== */
.sekai-categoria-nombre {
    margin: 0;
    font-weight: 700; /* Más delgado */
    font-size: clamp(0.9rem, 1.3vw, 1.1rem); /* Tamaño ajustado */
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    position: relative;
    display: block;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    padding: 0.3rem 0;
    transition: all 0.3s ease;

    /* Control de texto largo */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%; /* Permite puntos suspensivos */
}

/* ===== EFECTOS VISUALES ===== */
/* Brillo al hover (más sutil) */
.sekai-categoria-contenido::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    transform: rotate(30deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.sekai-categoria-card:hover .sekai-categoria-contenido::before {
    opacity: 0.6; /* Más transparente */
    top: -30%;
    left: -30%;
}

/* Barra decorativa inferior (más fina) */
.sekai-categoria-nombre::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 50%;
    height: 1px; /* Más delgada */
    background: white;
    border-radius: 1px;
    transition: transform 0.4s ease;
    transform-origin: center;
}

.sekai-categoria-card:hover .sekai-categoria-nombre::after {
    transform: translateX(-50%) scaleX(1);
}

/* Efecto de onda (más sutil) */
.sekai-categoria-contenido::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px; /* Más delgada */
    background: rgba(255, 255, 255, 0.3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

/* ===== CARRUSEL EXCLUSIVO PARA MÓVILES ===== */
.sekai-mobile-carrusel {
    display: none;
    width: 100%;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0 1rem 2rem;
    position: relative;
}

.sekai-mobile-carrusel::-webkit-scrollbar {
    display: none;
}

.sekai-mobile-categoria-slide {
    flex: 0 0 calc(100% - 2rem);
    scroll-snap-align: center;
    margin: 0 1rem;
    padding: 0;
}

/* ===== TARJETA MÓVIL CON ESTILO UNIFICADO ===== */
.sekai-mobile-categoria-card {
    background: linear-gradient(
        90deg,
        #0037ff 0%,
        #0055ff 25%,
        #0072ff 50%,
        #0090ff 75%,
        #00adff 100%
    );
    border-radius: 1.25rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    width: 100%;
    aspect-ratio: 3/4;
    display: flex;
    flex-direction: column;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    background-size: 200% 100%;
    animation: gradientFlow 8s ease infinite alternate;
}

/* Contenedor de imagen */
.sekai-mobile-imagen-container {
    flex: 1;
    min-height: 0;
    overflow: hidden;
    position: relative;
    background: #ffffff;
}

/* Imagen con efecto hover */
.sekai-mobile-categoria-imagen {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.sekai-mobile-categoria-card:hover .sekai-mobile-categoria-imagen {
    transform: scale(1.05);
}

/* Contenedor de texto unificado */
.sekai-mobile-categoria-contenido {
    padding: 1rem 0.8rem;
    flex-shrink: 0;
    text-align: center;
    position: relative;
    z-index: 2;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none; /* Eliminamos el fondo anterior */
}

/* Texto con estilo unificado */
.sekai-mobile-categoria-nombre {
    margin: 0;
    font-weight: 700;
    font-size: clamp(0.9rem, 1.3vw, 1.1rem);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    font-family: 'Montserrat', sans-serif;
    line-height: 1.3;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    padding: 0.3rem 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 90%;
}

/* ===== EFECTOS UNIFICADOS ===== */
/* Animación del degradado */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Brillo al hover */
.sekai-mobile-categoria-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to bottom right,
        rgba(255, 255, 255, 0.2) 0%,
        rgba(255, 255, 255, 0) 60%
    );
    transform: rotate(30deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.sekai-mobile-categoria-card:hover::before {
    opacity: 0.6;
    top: -30%;
    left: -30%;
}

/* Barra decorativa inferior */
.sekai-mobile-categoria-nombre::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 50%;
    height: 1px;
    background: white;
    border-radius: 1px;
    transition: transform 0.4s ease;
    transform-origin: center;
}

.sekai-mobile-categoria-card:hover .sekai-mobile-categoria-nombre::after {
    transform: translateX(-50%) scaleX(1);
}

/* Efecto de onda */
.sekai-mobile-categoria-contenido::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255, 255, 255, 0.3);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.5s ease;
}

.sekai-mobile-categoria-card:hover .sekai-mobile-categoria-contenido::after {
    transform: scaleX(1);
    transform-origin: left;
}

.sekai-mobile-categoria-link,
.sekai-mobile-categoria-link:hover {
    text-decoration: none !important;
}

/* ===== INDICADORES DEL CARRUSEL (OCULTOS EN WEB) ===== */
.sekai-carrusel-indicadores {
    display: none; /* Oculto por defecto para web */
}

/* ===== FLECHAS (SIEMPRE OCULTAS) ===== */
.sekai-carrusel-flecha {
    display: none !important;
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 768px) {
    /* Mostrar carrusel en móvil */
    .sekai-categorias-grid {
        display: none;
    }

    .sekai-mobile-carrusel {
        display: flex;
    }

    /* Mostrar indicadores solo en móvil */
    .sekai-carrusel-indicadores {
        display: flex;
        justify-content: center;
        gap: 0.5rem;
        padding: 1rem 0;
    }

    .sekai-carrusel-indicador {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #cbd5e0;
        transition: all 0.3s ease;
    }

    .sekai-carrusel-indicador.active {
        background: #3b82f6;
        width: 20px;
        border-radius: 4px;
    }

    /* Ajustes de contenedor */
    .sekai-categorias-container {
        padding: 0 0 2rem;
    }

    .sekai-categorias-titulo {
        font-size: 1.5rem;
        padding-bottom: 0.75rem;
    }

    .sekai-categorias-titulo::after {
        width: 80px;
        height: 3px;
    }
}

@media (max-width: 480px) {
    .sekai-mobile-categoria-slide {
        flex: 0 0 calc(100% - 1.5rem);
        margin: 0 0.75rem;
    }

    .sekai-mobile-categoria-nombre {
        font-size: 1.1rem;
    }
}
/* ================ FIN DE ESTILOS DE CATEGORÍAS ================ */

/* Estilo para la sección del banner */
.sekai-banner-placeholder {
    background: #e0e0e0;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: bold;
    color: #555;
    margin-top: 40px;
}

/* Estilo para el carrusel de proveedores */
.sekai-carousel-container {
    max-width: 80%;
    margin: auto;
}

.sekai-carousel-item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 150px;
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
    background: #333;
}

/* fin de estilos de home */

/* estilos para el app */

