/* Reset y estilos base - Revertido a estado original - Nueva sección específica agregada - Featured-product-card mejorada - Imagen slider actualizada v2 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f4f4f4;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* Variables CSS basadas en alkim */
:root {
    --alkim-blue: #0066cc;
    --alkim-dark-blue: #004499;
    --alkim-light-blue: #e6f2ff;
    --alkim-orange: #ff6600;
    --alkim-red: #dc3545;
    --alkim-green: #28a745;
    --alkim-gray: #6c757d;
    --alkim-light-gray: #f8f9fa;
    --alkim-dark-gray: #343a40;
    --alkim-white: #ffffff;
    --alkim-black: #000000;
    --alkim-border: #dee2e6;
    --transition: all 0.3s ease;
}

/* Iconos en negrita, centrados y color negro intenso (excepto navegación y carrito) */
i[class*="bi-"]:not(.nav-links i):not(.cart-link i) {
    font-weight: 900 !important;
    color: #000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Asegurar que los iconos de navegación no cambien de color */
.nav-links li a:hover i,
.nav-links li a:active i,
.nav-links li a:focus i,
.nav-links li a:visited i {
    color: var(--alkim-white) !important;
}

/* Icono de Spotify específico */
.nav-links li:nth-child(5) a i {
    color: var(--alkim-white) !important;
}

.nav-links li:nth-child(5) a:hover i,
.nav-links li:nth-child(5) a:active i,
.nav-links li:nth-child(5) a:focus i {
    color: var(--alkim-white) !important;
}

/* Contenedores principales */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.container-fluid {
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    overflow-x: hidden;
}

/* Reglas generales para prevenir overflow horizontal */
.row {
    max-width: 100%;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
}

/* Asegurar que todos los elementos principales no causen overflow */
main, section, article, aside, header, footer {
    max-width: 100%;
    overflow-x: hidden;
}

/* Header Principal - Estilo alkim */
.site-header {
    background: var(--alkim-white);
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    position: static;
    top: auto;
    z-index: auto;
    margin-top: 0;
    padding-top: 0;
    margin-bottom: 0;
    padding-bottom: 0;
    height: auto;
    overflow: hidden;
}

/* Barra superior - Solo Iniciar Sesión / Registrarse */
.header-top {
    background: #ebebeb;
    color: #333;
    padding: 5px 0;
    font-size: 0.85rem;
    margin-top: 0;
    margin-bottom: 0;
    height: auto;
    overflow: hidden;
}


/* Altura del header-top en pantallas grandes */
@media (min-width: 1200px) {
    .header-top {
        padding: 0;
        height: 50px;
    }
    
}

/* Normalizar contenido interno para evitar cambios de altura */
@media (min-width: 1200px) {
    .header-top .container {
        height: 100%;
        display: flex;
        align-items: center;
        padding: 0;
        margin: 0;
    }
    .header-top .auth-links,
    .header-top .auth-links a,
    .header-top .auth-links .separator {
        margin: 0;
        padding: 0;
        line-height: 1; /* evitar expandir altura */
    }
    .header-top a i {
        line-height: 1;
    }
}


/* Override final: mayor altura del header-main en pantallas grandes */
@media (min-width: 1200px) {
    .header-main {
        height: 95px !important;
        min-height: 95px !important;
        max-height: 95px !important;
        padding-top: 2px !important;
        padding-bottom: 0px !important;
        overflow: hidden;
    }
}


.header-top .container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding-right: 0;
}

.header-top-right {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 100%;
}

.auth-links {
    display: flex;
    align-items: center;
    gap: 3px;
    height: 100%;
}

.auth-link {
    color: #333;
    text-decoration: none;
    transition: var(--transition);
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.auth-link:hover {
    text-decoration: none;
}

.auth-link i {
    text-decoration: none !important;
    display: inline-block;
    font-size: 1.2rem;
}

.auth-link:hover i {
    text-decoration: none !important;
}

.separator {
    color: #333;
    font-weight: bold;
    display: flex;
    align-items: center;
    height: 100%;
}

.header-top a {
    color: #333;
    text-decoration: none;
    transition: var(--transition);
    font-weight: bold;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 5px;
}

.header-top a:hover {
    text-decoration: none;
}

.header-top a i {
    text-decoration: none !important;
    display: inline-block;
}

.header-top a:hover i {
    text-decoration: none !important;
}

/* Aplicar underline solo al texto, no al icono */
.header-top a:hover {
    text-decoration: none;
}

.header-top a:hover i {
    text-decoration: none !important;
}

.header-top a:hover .auth-text {
    text-decoration: underline;
    text-decoration-color: #333;
    text-decoration-thickness: 1px;
}

.header-top a i {
    text-decoration: none !important;
}

/* Aplicar la misma lógica en los modales del carrito - solo para enlaces con iconos */
.cart-login-link:hover .login-text,
.cart-register-link:hover .register-text {
    text-decoration: underline;
}

.cart-login-link i,
.cart-register-link i {
    text-decoration: none !important;
}

.cart-login-link:hover i,
.cart-register-link:hover i {
    text-decoration: none !important;
}

.header-top a i {
    font-size: 1.5rem;
}

.header-top span {
    color: #333;
    font-weight: bold;
    display: flex;
    align-items: center;
    height: 100%;
}

/* Header principal - Logo, búsqueda, carrito */
.header-main {
    background: var(--alkim-white);
    padding: 10px 0;
    border-bottom: none;
    height: auto;
    min-height: 135px;
    max-height: 150px;
    overflow: visible;
}


.header-main .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 0;
    padding-right: 0;
    height: 100%;
    max-height: 100%;
    overflow: visible;
}

.header-content {
    display: flex;
    align-items: center;
    
    width: 100%;
    gap:5px;
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    overflow: visible;
}

/* Logo */
.header-logo {
    flex: 0 0 auto;
    height: 100%;
    max-height: 170px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-right: 28px;
    margin-left: 10px;
    padding: 10px 10px;
    max-width: 300px;
}

.header-logo img {
    height: 100%;
    max-height: 160px;
    width: auto;
    max-width: 280px;
    object-fit: contain;
}

.logo-slogan {
    font-size: 0.9rem;
    font-weight: 600;
    color: #707070;
    line-height: 1.2;
    max-width: 200px;
    display: flex;
    flex-direction: column;
    text-transform: uppercase;
}

.header-slogan {
    flex: 0 0 auto;
    margin-left: 28px;
}

.header-slogan .slogan {
    display: flex;
    flex-direction: column;
    font-size: 0.95rem;
    font-weight: 600;
    color: #707070;
    text-align: left;
    line-height: 1.2;
    max-width: 300px;
    text-transform: uppercase;
    padding-right: 40px;
}

.header-order-status {
    flex: 0 0 auto;
    min-width: 100px;
    margin-right: 0;
    padding-left: 10px;
    padding-right: 6px;
}

.header-separator {
    flex: 0 0 auto;
    color: #ccc;
    font-size: 1.5rem;
    padding-right: 7px;
}

.header-quotes {
    flex: 0 0 auto;
    min-width: 100px;
    padding-right:30px;
}

.header-cart {
    flex: 0 0 auto;
    position: relative;
    min-width: 140px;
}

.order-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--alkim-dark-gray);
    transition: none;
}

.order-link i {
    font-size: 1.5rem;
    color: #000000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-text {
    display: flex;
    flex-direction: column;
    line-height: 1.0;
}

.order-line1,
.order-line2 {
    display: block;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.quotes-link {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--alkim-dark-gray);
    transition: none;
    font-size: 0.8rem;
    font-weight: 700;
}

.quotes-link i {
    font-size: 1.5rem;
    color: #000000 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slogan .line1,
.slogan .line2 {
    display: block;
}

.slogan .line1 {
    font-size: 0.95rem;
    font-weight: 700;
}

.slogan .line2 {
    font-size: 1.3rem;
}

/* Búsqueda */
.header-search {
    flex: 1;
    max-width: 275px;
    margin: 0;
    min-width: 210px;
}

.search-form {
    position: relative;
    display: flex;
}

.search-form .input-group {
    display: flex;
    align-items: stretch;
    height: auto;
    gap: 0;
    margin: 0;
}

.search-input {
    flex: 1;
    padding: 0 15px;
    border: 2px solid var(--alkim-border);
    border-right: 0 !important;
    border-radius: 8px 0 0 8px;
    font-size: 15px;
    outline: none;
    transition: none;
    height: auto;
    line-height: 1.2;
    min-height: auto;
    margin: 0;
}

.search-input:-webkit-autofill,
.search-input:-webkit-autofill:hover,
.search-input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #ffffff inset !important;
    box-shadow: 0 0 0 1000px #ffffff inset !important;
    -webkit-text-fill-color: #000000 !important;
    transition: background-color 9999s ease-in-out 0s;
}

.search-input:hover,
.search-input:focus {
    border-color: var(--alkim-border) !important;
    border-right: 0 !important;
    outline: none;
    box-shadow: none !important;
}

.search-input::placeholder {
    font-size: 15px;
    line-height: 1.2;
}

/* Asegurar que el input y botón tengan la misma altura */
.search-input,
.btn-search {
    box-sizing: border-box;
}

.btn-search {
    background: transparent;
    color: #000000;
    border: 2px solid var(--alkim-border);
    border-left: none;
    border-radius: 0 8px 8px 0;
    padding: 0 20px;
    cursor: pointer;
    transition: none;
    height: auto;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    margin-left: -2px;
    box-shadow: none !important;
}

.btn-search i {
    font-weight: 900;
    font-size: 0.85rem;
    line-height: 1;
}

.btn-search:hover {
    background: transparent;
    border-color: var(--alkim-border);
    border-left: none;
    color: #000000;
    box-shadow: none !important;
}

.btn-search:focus {
    background: transparent;
    border-color: var(--alkim-border);
    border-left: none;
    color: #000000;
    outline: none;
    box-shadow: none !important;
}

.btn-search:focus-visible {
    background: transparent;
    border-color: var(--alkim-border) !important;
    border-left: none !important;
    color: #000000 !important;
    outline: none !important;
    box-shadow: none !important;
}

.btn-search:active {
    background: transparent;
    border-color: var(--alkim-border) !important;
    border-left: none !important;
    color: #000000;
    outline: none;
    box-shadow: none !important;
}

/* Asegurar que el borde izquierdo del botón siempre esté sin borde */
.btn-search {
    border-left: none !important;
}

/* Evitar que .form-control:focus afecte al search-input */
.search-input.form-control:focus {
    border-color: var(--alkim-border) !important;
    border-right: 0 !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Elementos del header */
.header-actions {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-left: auto;
    position: relative;
}

.header-actions .cart-link {
    margin-left: 25px;
}

.header-action {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--alkim-dark-gray);
    transition: none;
    font-weight: 700;
    font-size: 0.8rem;
}

.header-action:hover {
    color: var(--alkim-dark-gray);
}

.header-action i {
    font-size: 1.2rem;
    color: #000000 !important;
    font-weight: 900;
    -webkit-text-stroke: 0.5px #000000;
    text-stroke: 0.5px #000000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-action i.bi-clock {
    font-size: 1.4rem;
}

.header-action .order-text {
    display: flex;
    flex-direction: column;
    line-height: 0.9;
    max-width: 80px;
}

.header-action .order-line1,
.header-action .order-line2 {
    font-size: 0.8rem;
    font-weight: 700;
    white-space: nowrap;
}

.header-actions .line {
    list-style: none;
    color: #ccc;
    font-size: 1.2rem;
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.header-actions .line::before {
    content: "|";
}

/* Carrito de compras */
.cart-link {
    background: var(--alkim-red);
    color: var(--alkim-white);
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: none;
    white-space: nowrap;
    min-height: 50px;
    height: 50px;
    min-width: fit-content;
    width: fit-content;
}

.cart-link i {
    font-size: 1.5rem;
    color: var(--alkim-white) !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-link .bi-chevron-down {
    font-size: 1rem;
    margin-left: 5px;
    font-weight: 900;
    color: var(--alkim-white) !important;
}

.cart-count {
    font-size: 0.9rem;
}

.cart-link:hover {
    background: var(--alkim-red);
    color: var(--alkim-white);
}

/* Mostrar modal del carrito al hacer hover */
.header-cart:hover .cart-modal {
    position: fixed !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
    z-index: 100000 !important;
}

/* Asegurar que los iconos del carrito mantengan color blanco */
.cart-link i,
.cart-link:hover i,
.cart-link:active i,
.cart-link:focus i {
    color: var(--alkim-white) !important;
}

.cart-link .bi-chevron-down,
.cart-link:hover .bi-chevron-down,
.cart-link:active .bi-chevron-down,
.cart-link:focus .bi-chevron-down {
    color: var(--alkim-white) !important;
}

/* Modal del carrito */
.cart-modal {
    position: fixed !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    transform: translateY(-10px);
    background: var(--alkim-white);
    border: 1px solid var(--alkim-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 100000 !important;
    min-width: 320px;
    max-width: 90vw;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: none;
}

/* Flecha del modal del carrito */
.cart-modal::before {
    content: '';
    position: absolute;
    top: -8px;
    right: var(--arrow-right, 20px);
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--alkim-white);
    z-index: 100001;
}

.cart-modal::after {
    content: '';
    position: absolute;
    top: -9px;
    right: var(--arrow-right, 20px);
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid var(--alkim-border);
    z-index: 100000;
}

.cart-modal-content {
    padding: 20px;
    text-align: center;
    position: relative;
}


.cart-empty-message {
    font-size: 1rem;
    font-weight: normal;
    color: var(--alkim-dark-gray);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.cart-empty-message i {
    font-size: 1.4rem;
    color: var(--alkim-red);
}

.cart-description {
    font-size: 0.9rem;
    color: var(--alkim-gray);
    margin-bottom: 20px;
    line-height: 1.4;
    font-weight: 500;
}

.cart-divider {
    width: 60%;
    height: 1px;
    background-color: var(--alkim-border);
    margin: 20px auto;
}

.cart-login-message {
    font-size: 0.85rem;
    color: var(--alkim-gray);
    margin-bottom: 15px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    font-weight: 500;
}

.login-line1,
.login-line2 {
    display: block;
}

.cart-login-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.cart-login-link,
.cart-register-link {
    color: var(--alkim-gray);
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    padding: 6px 8px;
    border: none;
    background: transparent;
}

.cart-login-link:hover,
.cart-register-link:hover {
    text-decoration: none;
    color: var(--alkim-gray);
    background: transparent;
    border: none;
}

.cart-login-link:hover .login-text {
    text-decoration: underline;
    text-decoration-color: var(--alkim-gray);
    text-decoration-thickness: 1px;
}

.cart-register-link:hover .register-text {
    text-decoration: underline;
    text-decoration-color: var(--alkim-gray);
    text-decoration-thickness: 1px;
}

.cart-login-link i {
    font-size: 1.5rem;
    color: var(--alkim-gray);
}

/* Estilos para items del carrito en el modal */
.cart-modal-items-list {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 15px;
}

.cart-modal-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
    gap: 12px;
}

.cart-modal-item:last-child {
    border-bottom: none;
}

.cart-modal-item-image {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}

.cart-modal-item-info {
    flex: 1;
    min-width: 0;
}

.cart-modal-item-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.cart-modal-item-price {
    font-size: 0.8rem;
    color: #666;
    margin-bottom: 2px;
}

.cart-modal-item-total {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--alkim-red);
}

.cart-modal-item-remove {
    background: transparent;
    border: none;
    color: #dc3545;
    cursor: pointer;
    font-size: 1.2rem;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.cart-modal-item-remove:hover {
    color: #c82333;
}

.cart-modal-more-items {
    text-align: center;
    padding: 12px 0;
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.cart-modal-summary {
    padding: 15px 0;
    border-top: 1px solid #f0f0f0;
}

.cart-modal-subtotal {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.cart-modal-subtotal span {
    color: #666;
}

.cart-modal-subtotal strong {
    color: var(--alkim-red);
    font-size: 1.1rem;
}

.cart-modal-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 15px;
}

.cart-modal-view-cart,
.cart-modal-checkout {
    display: block;
    text-align: center;
    padding: 10px 15px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.cart-modal-view-cart {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #dee2e6;
}

.cart-modal-view-cart:hover {
    background: #e9ecef;
    color: #333;
    text-decoration: none;
}

.cart-modal-checkout {
    background: var(--alkim-red);
    color: #fff;
    border: none;
}

.cart-modal-checkout:hover {
    background: #c82333;
    color: #fff;
    text-decoration: none;
}

.cart-login-link:hover i {
    text-decoration: none;
    color: var(--alkim-gray);
}

.cart-link-separator {
    color: var(--alkim-gray);
    font-weight: 700;
    font-size: 0.85rem;
}

/* Header actions para móvil (oculto por defecto) */
.header-actions-mobile {
    display: none;
}

/* Modal de Ofertas Destacadas */
.ofertas-dropdown {
    position: relative;
}

.ofertas-link {
    display: flex;
    align-items: center;
    gap: 5px;
}

.ofertas-link .bi-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.ofertas-dropdown:hover .bi-chevron-down {
    transform: rotate(180deg);
}

.ofertas-modal {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: var(--alkim-white);
    border: 1px solid var(--alkim-border);
    border-radius: 0;
    box-shadow: none;
    z-index: 1000;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-top: 5px;
}

.ofertas-modal-content {
    padding: 8px 12px;
}

.oferta-link {
    display: block;
    text-decoration: none;
    color: var(--alkim-dark-gray);
    cursor: pointer;
    padding: 6px 12px !important;
    margin: 0 !important;
    line-height: 1.3 !important;
}

.oferta-link:hover .oferta-name {
    text-decoration: underline;
    text-decoration-color: var(--alkim-dark-gray);
    text-decoration-thickness: 1px;
}

.oferta-name {
    font-size: 0.85rem;
    color: var(--alkim-dark-gray);
    font-weight: normal;
    text-transform: lowercase;
    line-height: 1.3 !important;
    display: block;
    margin: 0 !important;
    padding: 0 !important;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

/* Mostrar modal al hacer hover */
.ofertas-dropdown:hover .ofertas-modal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* Mobile Icons Container */
.mobile-icons-container {
    display: none;
    background: #dddddd;
    padding: 3px 0;
    border-bottom: 1px solid #ccc;
}

/* Contenedor del carrito móvil */
.mobile-cart-container {
    position: relative;
    flex: 1;
    height: 100%;
}

.mobile-icons-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin: 0;
    padding: 0;
    height: 100%;
}

.mobile-icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    color: #333;
    padding: 4px;
    border-radius: 5px;
    transition: none;
    text-decoration: none;
    width: 100%;
    height: 100%;
    flex: 1 1 0;
    cursor: pointer;
}

.mobile-icon-btn:hover {
    background: transparent;
    color: #333;
    text-decoration: none;
}

.mobile-icon-btn:active,
.mobile-icon-btn:focus {
    background: transparent;
    color: #333;
    text-decoration: none;
    outline: none;
}

/* Estilo específico para el carrito móvil */
.cart-mobile-btn {
    text-decoration: none !important;
    color: #333;
}

.cart-mobile-btn:hover,
.cart-mobile-btn:active,
.cart-mobile-btn:focus,
.cart-mobile-btn:visited {
    text-decoration: none !important;
    color: #333;
    background: transparent;
    outline: none;
}

/* Separadores móviles */
.mobile-separator {
    width: 1px;
    height: 30px;
    background: #999;
    flex-shrink: 0;
    margin: 0 5px;
}

.mobile-icon-btn i {
    font-size: 1.2rem !important;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}


.mobile-icons-content {
    display: flex;
    align-items: center;
    justify-content: stretch;
    gap: 0;
    height: 33px;
    width: 100%;
}

.mobile-icon {
    color: var(--alkim-dark-gray);
    text-decoration: none;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    transition: none;
    background: transparent;
    box-shadow: none;
    flex: 1;
    height: 100%;
    border-right: 1px solid var(--alkim-border);
}

.mobile-icon:hover {
    background: transparent;
    color: var(--alkim-dark-gray);
    text-decoration: none;
}

.mobile-icon:last-child {
    border-right: none;
}

.mobile-icon i {
    font-size: 1.1rem;
}

.cart-icon-mobile {
    background: transparent;
    color: var(--alkim-dark-gray);
}

.cart-icon-mobile:hover {
    background: transparent;
    color: var(--alkim-dark-gray);
}

/* Modal del carrito para móvil nuevo */
.cart-modal-mobile-new {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--alkim-white);
    border: 1px solid var(--alkim-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 250px;
        display: none;
    margin-top: 5px;
}

.header-action-mobile {
    color: var(--alkim-dark-gray);
    text-decoration: none;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    transition: var(--transition);
}

.header-action-mobile:hover {
    background: var(--alkim-light-gray);
    color: var(--alkim-dark-gray);
}

.header-action-mobile i {
    font-size: 1.2rem;
}

.cart-link-mobile {
    background: var(--alkim-red);
    color: var(--alkim-white);
}

.cart-link-mobile:hover {
    background: #c82333;
    color: var(--alkim-white);
}

/* Modal del carrito para móvil */
.cart-modal-mobile {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--alkim-white);
    border: 1px solid var(--alkim-border);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    min-width: 250px;
        display: none;
    margin-top: 5px;
}

/* Responsive Design - Pantallas medianas */
@media (max-width: 1200px) and (min-width: 993px) {
    /* Ajustar elementos para que quepan mejor */
    .header-logo {
        margin-right: 30px;
    }
    
    .header-slogan {
        margin-left: 10px;
    }
    
    .header-search {
        max-width: 202px;
    }
    
    .header-actions {
        gap: 10px;
        margin-right: 20px;
    }
}

/* Responsive Design - Pantallas pequeñas */
@media (max-width: 992px) {
    /* Slider en pantallas medianas: imagen completa (forzando prioridad) */
    .banner-slide {
        height: auto !important;
        min-height: clamp(250px, 22vh, 290px) !important;
        padding: 8px 0;
    }
    .hero-slide .banner-image {
        height: auto;
        min-height: clamp(250px, 22vh, 290px);
    }
    .hero-slide .banner-image img {
        width: 100%;
        height: auto;
        min-height: clamp(250px, 22vh, 290px);
        object-fit: contain !important;
        object-position: center center;
    }
    /* Ocultar header top en pantallas medianas y pequeñas */
    .header-top {
        display: none !important;
    }
    
    /* Mostrar iconos móviles */
    .mobile-icons-container {
        display: block;
    }
    
    /* Ocultar elementos del header principal que están en el móvil */
    .header-search,
    .header-order-status,
    .header-quotes,
    .header-cart {
        display: none !important;
    }
    
    /* Ajustar header principal para móvil */
    .header-content {
        justify-content: space-around;
        align-items: center;
        padding: 0 15px;
        height: 100%;
        display: flex;
    }
    
    .header-logo {
        flex: 0 0 auto;
        order: 1;
        gap: 20px;
        margin-left: 0;
    }
    
    .header-slogan {
        flex: 0 0 auto;
        order: 3;
        margin-left: 12px;
    }
    
    /* Ocultar separador en móvil */
    .header-separator {
        display: none !important;
    }
    
    /* Ocultar navegación principal */
    .main-navigation {
        display: none !important;
    }
    
    /* Header main con altura ajustada para contenedor más alto */
    .header-main {
        background: #ffffff;
        height: 90px;
        padding: 10px 0;
        display: flex;
        align-items: center;
    }
    
    .header-main .container {
        padding-top: 0;
    display: flex;
    align-items: center;
        justify-content: space-between;
        gap: 10px;
    }
    
    /* Logo con contenedor más alto en pantallas medianas/pequeñas */
    .header-logo {
        height: 90px;
        gap: 14px;
        margin-right: 0;
        flex: 0 0 auto;
        padding: 10px 20px;
        max-width: 220px;
    }
    
    .header-logo img {
        height: 100%;
        max-height: 90px;
        max-width: 200px;
    }
    
    /* Slogan más pequeño en pantallas medianas/pequeñas */
    .logo-slogan {
        font-size: 0.8rem;
        max-width: 150px;
    }
    
    .header-slogan .slogan {
        font-size: 0.96rem;
        max-width: 200px;
    }
    
    .slogan .line1 {
        font-size: 0.62rem;
    }
    
    .slogan .line2 {
        font-size: 1.2rem;
    }
    
    /* Ocultar búsqueda y elementos del header en desktop */
    .header-search {
        display: none;
    }
    
    .header-actions {
        display: none;
    }
    
    /* Ocultar header actions para móvil del header */
    .header-actions-mobile {
        display: none;
    }
    
    /* Mostrar div móvil con fondo gris */
    .mobile-icons-container {
        display: block;
    }
    
    /* Navegación principal responsive */
    .nav-content {
        flex-wrap: wrap;
        gap: 10px;
        padding: 10px 0;
        min-height: auto;
    }
    
    .categorias-dropdown {
        order: 1;
        flex: 0 0 auto;
    }
    
    .nav-links {
        order: 2;
        flex: 1 1 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-links li {
        margin-right: 10px;
        margin-bottom: 5px;
    }
    
    .whatsapp-phone-link {
        order: 3;
        flex: 0 0 auto;
        margin-top: 10px;
        font-size: 12px;
        padding: 6px 10px;
        border: none;
        background: transparent;
    }
    
    /* Modal del carrito más pequeño */
    .mobile-cart-container .cart-modal {
        opacity: 0;
        visibility: hidden;
        position: absolute;
        top: calc(100% + 5px);
        right: 0;
        transform: translateY(-10px);
        min-width: 280px;
        max-width: 90vw;
        z-index: 9999;
        display: none;
    }
    
    /* Mostrar modal del carrito cuando se hace clic en móvil */
    .mobile-cart-container .cart-modal.show-mobile {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
        display: block !important;
    }
    
    
    .cart-modal-mobile {
        min-width: 250px;
        right: -50px;
    }
    
    .cart-modal-content {
        padding: 15px;
    }
    
    .cart-empty-message {
        font-size: 0.9rem;
    }
    
    .cart-description {
        font-size: 0.8rem;
    }
    
    .cart-login-message {
        font-size: 0.75rem;
    }
    
    .cart-login-link,
    .cart-register-link {
        font-size: 0.7rem;
    }
    
    /* Modal de categorías responsive */
    .categorias-modal {
        min-width: 800px;
        min-height: 350px;
    }
    
    .categorias-menu {
        width: 200px;
    }
    
    .subcategorias-menu {
        left: 200px;
        min-width: 600px;
        min-height: 350px;
    }
    
    .subcategorias-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .productos-destacados {
        width: 200px;
    }
    
    .productos-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .producto-item img {
        width: 50px;
        height: 50px;
    }
    
    .categoria-link {
        padding: 12px 15px;
        font-size: 0.85rem;
    }
    
    .subcategoria-item h4 {
        font-size: 0.9rem;
    }
    
    .articulos-list a {
        font-size: 0.8rem;
    }
}

/* Responsive Design - Pantallas muy pequeñas (móviles) */
@media (max-width: 480px) {
    /* Header main con altura ajustada para móviles */
    .header-main {
        background: #dddddd;
        height: 82px;
        padding: 8px 0;
    }
    
    /* Logo con contenedor aún más alto en móviles */
    .header-logo {
        height: 82px;
        gap: 12px;
        padding: 8px 16px;
        max-width: 200px;
    }
    
    .header-logo img {
        height: 100%;
        max-height: 82px;
        max-width: 190px;
    }
    
    /* Slogan aún más pequeño en móviles */
    .logo-slogan {
        font-size: 0.6rem;
        max-width: 80px;
    }
    
    .header-slogan .slogan {
        font-size: 0.84rem;
        max-width: 120px;
    }
    
    .slogan .line1 {
        font-size: 0.43rem;
    }
    
    .slogan .line2 {
        font-size: 0.9rem;
    }
    
    /* Búsqueda más pequeña */
    .header-search {
        max-width: 28px;
    }
    
    .btn-search {
        padding: 6px 8px;
    }
    
    /* Elementos del header más pequeños */
    .header-actions {
        gap: 6px;
    }
    
    .header-action i {
        font-size: 1.1rem;
    }
    
    /* Carrito más pequeño */
    .cart-link {
        padding: 6px 8px;
    }
    
    .cart-link i {
        font-size: 1.1rem;
    }
    
    /* Modal del carrito más pequeño */
    .cart-modal {
        min-width: 200px;
        right: -30px;
    }
    
    .cart-modal-content {
        padding: 12px;
    }
    
    .cart-empty-message {
        font-size: 0.85rem;
    }
    
    .cart-description {
        font-size: 0.75rem;
    }
    
    .cart-login-message {
        font-size: 0.7rem;
    }
    
    .cart-login-link,
    .cart-register-link {
        font-size: 0.65rem;
    }
    
    /* Modal de categorías para móviles */
    .categorias-modal {
        min-width: 280px;
        left: -50px;
        min-height: 300px;
    }
    
    .categorias-menu {
        width: 100%;
    }
    
    .subcategorias-menu {
        position: static;
        left: auto;
        min-width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        border: none;
        border-top: 1px solid #e9ecef;
    }
    
    .subcategorias-list {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .categoria-link {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
    
    .subcategoria-item h4 {
        font-size: 0.85rem;
    }
    
    .articulos-list a {
        font-size: 0.75rem;
        padding: 4px 0;
    }
}

.cart-count {
    color: var(--alkim-white);
    font-size: 0.9rem;
    font-weight: bold;
}

/* Navegación principal - Estilo Alkim */
.main-navigation {
    background: #192969;
    padding: 0;
    margin: 0;
    height: auto;
    overflow: visible;
    width: 100%;
    max-width: 100%;
    position: relative;
    z-index: 1000;
}

.main-navigation .container {
    width: 100%;
    max-width: 100%;
    overflow: visible;
    padding-left: 15px;
    padding-right: 15px;
}


/* Franja gris debajo de la navegación */
.below-nav-strip {
    width: 100%;
    background: #4d4545;
    border-top: 1px solid #4d4545;
    border-bottom: 1px solid #4d4545;
    min-height: 50px;
    height: auto;
    margin: 0;
    padding: 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
}


.below-nav-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 8px 0;
}

.below-nav-strong {
    font-weight: 700;
    font-size: 0.95rem;
}

.below-nav-text {
    color: #ffffff;
    font-weight: 400;
    font-size: 0.95rem;
    text-align: center;
}

.below-nav-content i {
    color: #ffffff !important;
    font-size: 1.1rem;
}

/* Forzar color blanco en cualquier ícono dentro de la franja, con mayor especificidad */
.below-nav-strip i[class*="bi-"],
.below-nav-strip .bi {
    color: #ffffff !important;
    -webkit-text-stroke: 0 !important;
    text-stroke: 0 !important;
}

.icon-truck-gift {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.icon-truck-gift i {
    color: #ffffff !important;
    font-size: 1.2rem;
}

@media (max-width: 576px) {
    .below-nav-text {
        font-size: 0.8rem;
    }
}

.nav-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 36px;
    width: 100%;
    gap: 15px;
    overflow: visible;
    max-width: 100%;
}

/* Botón de categorías */
.categories-btn {
    background: #192969;
    color: var(--alkim-white);
    border: none;
    padding: 9px 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: none;
    text-transform: uppercase;
    white-space: nowrap;
    flex: 0 0 auto;
    flex-shrink: 0;
}

.categories-btn:hover {
    background: #192969;
    color: var(--alkim-white);
}

.categories-btn i {
    font-size: 1.3rem;
    font-weight: 900;
    -webkit-text-stroke: 0.5px var(--alkim-white);
    text-stroke: 0.5px var(--alkim-white);
    transform: scaleX(1.2);
}

/* Menú de navegación */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    flex: 1;
    gap: 8px;
    justify-content: flex-start;
    min-width: 0;
    overflow: visible;
}

.nav-links li {
    position: relative;
    overflow: visible;
}

.nav-links li a {
    color: var(--alkim-white);
    text-decoration: none;
    padding: 9px 12px;
    display: block;
    font-size: 15px;
    font-weight: 500;
    transition: none;
    text-transform: uppercase;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-links li a:visited {
    color: var(--alkim-white);
}

.nav-links li > a:hover {
    background: #192969;
    color: var(--alkim-white);
    text-decoration: none;
}

/* Espaciado entre elementos de navegación */
.nav-links li {
    margin-right: 0;
    flex-shrink: 0;
}

.nav-links li:nth-child(4) {
    margin-right: 0;
}

.nav-links li:last-child {
    margin-right: 0;
}

/* Elemento combinado Spotify + Servicio al cliente */
.nav-links li:nth-child(5) {
    margin-left: 0;
}

.spotify-service-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--alkim-white);
    text-decoration: none;
    padding: 10px 15px;
    transition: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.spotify-service-link:hover {
    background: #192969;
    color: var(--alkim-white);
    text-decoration: none;
}

.spotify-service-link i {
    font-size: 1.2rem;
    color: #1DB954;
    flex-shrink: 0;
}

.service-text {
    display: inline-block;
    line-height: 1.1;
    font-size: 13px;
    font-weight: 700;
    text-align: left;
    vertical-align: top;
}

.service-line1,
.service-line2 {
    display: block;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.1;
    white-space: nowrap;
}

/* WhatsApp Link */
.whatsapp-phone-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--alkim-white);
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    transition: none;
    flex: 0 0 auto;
    padding: 8px 10px;
    border: none;
    background: transparent;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-shrink: 0;
}

.whatsapp-phone-link:hover {
    background: transparent;
    color: var(--alkim-white);
    text-decoration: none;
    border: none;
}

.whatsapp-phone-link:focus {
    outline: none;
    border: none;
    box-shadow: none;
}

.whatsapp-phone-link:active {
    background: transparent;
    border: none;
}

/* Estilo más específico para el icono de WhatsApp */
.whatsapp-phone-link i,
.whatsapp-phone-link .bi-whatsapp,
.whatsapp-phone-link i.bi-whatsapp,
a.whatsapp-phone-link i,
a.whatsapp-phone-link .bi-whatsapp,
a.whatsapp-phone-link i.bi-whatsapp,
.whatsapp-phone-link i.bi-whatsapp {
    font-size: 1.2rem !important;
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

.whatsapp-phone-link:hover i,
.whatsapp-phone-link:hover .bi-whatsapp,
.whatsapp-phone-link:hover i.bi-whatsapp,
a.whatsapp-phone-link:hover i,
a.whatsapp-phone-link:hover .bi-whatsapp,
a.whatsapp-phone-link:hover i.bi-whatsapp,
.whatsapp-phone-link:active i,
.whatsapp-phone-link:active .bi-whatsapp,
.whatsapp-phone-link:active i.bi-whatsapp,
a.whatsapp-phone-link:active i,
a.whatsapp-phone-link:active .bi-whatsapp,
a.whatsapp-phone-link:active i.bi-whatsapp,
.whatsapp-phone-link:focus i,
.whatsapp-phone-link:focus .bi-whatsapp,
.whatsapp-phone-link:focus i.bi-whatsapp,
a.whatsapp-phone-link:focus i,
a.whatsapp-phone-link:focus .bi-whatsapp,
a.whatsapp-phone-link:focus i.bi-whatsapp,
.whatsapp-phone-link:visited i,
.whatsapp-phone-link:visited .bi-whatsapp,
.whatsapp-phone-link:visited i.bi-whatsapp,
a.whatsapp-phone-link:visited i,
a.whatsapp-phone-link:visited .bi-whatsapp,
a.whatsapp-phone-link:visited i.bi-whatsapp {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Estilo ultra específico para forzar color blanco en WhatsApp */
.nav-content .whatsapp-phone-link i.bi-whatsapp,
.main-navigation .whatsapp-phone-link i.bi-whatsapp,
header .whatsapp-phone-link i.bi-whatsapp,
.whatsapp-phone-link .bi-whatsapp,
.whatsapp-phone-link i.bi-whatsapp {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Estilo directo para el icono específico */
.bi-whatsapp {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Forzar color blanco en todos los iconos de WhatsApp */
[class*="bi-whatsapp"] {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Estilo específico para el enlace de WhatsApp en la navegación */
a.whatsapp-phone-link i[class*="whatsapp"] {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* ESTILO DE MÁXIMA ESPECIFICIDAD PARA WHATSAPP - AL FINAL DEL ARCHIVO */
html body .main-navigation .nav-content .whatsapp-phone-link i.bi-whatsapp {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Forzar color blanco en todos los elementos con clase whatsapp */
html body *[class*="whatsapp"] {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* ESTILO FINAL CON MÁXIMA ESPECIFICIDAD PARA WHATSAPP */
html body div.main-navigation div.container div.nav-content a.whatsapp-phone-link i.bi-whatsapp {
    color: #ffffff !important;
    fill: #ffffff !important;
    stroke: #ffffff !important;
}

/* Estilo para sobrescribir cualquier estilo de Bootstrap Icons */
.bi-whatsapp::before {
    color: #ffffff !important;
}

/* Modal de categorías */
.categorias-dropdown {
    position: relative;
    z-index: 1000;
}

.categorias-modal {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    background: var(--alkim-white);
    border: 1px solid var(--alkim-border);
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 1000px;
    max-width: calc(100vw - 30px);
    min-height: 400px;
    max-height: 90vh;
    height: auto;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
    z-index: 100000 !important;
    pointer-events: none;
    overflow: visible;
}

.categorias-modal-content {
    width: 100%;
    display: flex;
    min-height: 400px;
    max-height: 90vh;
    height: auto;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.categorias-container {
    width: 100%;
    display: flex;
}

/* Contenedor de subcategorías */
.subcategorias-container {
    flex: 1;
    position: relative;
}

.categorias-menu {
    width: 250px;
    background: #f8f9fa;
    border-right: 1px solid #e9ecef;
}

.categorias-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.categoria-main {
    position: relative;
    border-bottom: 1px solid #e9ecef;
}

.categoria-main.active .categoria-link {
    background: #e9ecef;
    color: var(--alkim-red);
}

.categoria-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    gap: 12px;
}

.categoria-link:hover {
    background: #e9ecef;
    color: var(--alkim-red);
}

.categoria-link i:first-child {
    font-size: 1.2rem;
    color: var(--alkim-red);
    width: 20px;
}

.categoria-text {
    flex: 1;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.categoria-link i:last-child {
    font-size: 0.8rem;
    color: #666;
    transition: transform 0.3s ease;
}

.categoria-main:hover .categoria-link i:last-child {
    transform: translateX(3px);
}

/* Subcategorías */
.subcategorias-menu {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: var(--alkim-white);
    border: 1px solid var(--alkim-border);
    border-left: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1001;
}

/* Las subcategorías se controlan con JavaScript */

.subcategorias-content {
    padding: 20px;
    display: flex;
    gap: 20px;
    min-height: 360px;
}

.subcategorias-list {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

/* Columna de productos destacados */
.productos-destacados {
    width: 250px;
    border-left: 1px solid #e9ecef;
    padding-left: 20px;
}

.destacados-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.destacados-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin: 0;
    text-transform: uppercase;
}

.destacados-badge {
    background: #007bff;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.productos-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.producto-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 8px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.producto-item:hover {
    border-color: var(--alkim-red);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.producto-item img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 6px;
}

.producto-item span {
    font-size: 0.75rem;
    color: #555;
    font-weight: 500;
    line-height: 1.2;
}

/* Estilos para productos destacados dinámicos */
.destacados-section {
    margin-top: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.destacados-section.show {
    opacity: 1;
    visibility: visible;
}

/* ===== ESTILOS PARA MODAL DE CATEGORÍAS DINÁMICO ===== */

/* Animación de carga */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.bi-arrow-repeat.spin {
    display: inline-block;
    animation: spin 1s linear infinite;
}

.loading-categories {
    padding: 20px;
    text-align: center;
    color: #666;
}

.loading-categories span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.9rem;
}

/* Categoría activa */
.categoria-main.active {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.categoria-main.active .categoria-link {
    color: var(--alkim-red);
    font-weight: 600;
}

.categoria-main.active .bi-chevron-right {
    color: var(--alkim-red);
}

/* ===== NUEVO DISEÑO DE SUBCATEGORÍAS EN COLUMNAS MÚLTIPLES ===== */

/* Contenedor de columnas de subcategorías */
.subcategorias-columnas-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
    padding: 15px 20px;
    max-height: 400px;
    overflow-y: auto;
}

/* Cada columna de subcategoría */
.subcategoria-columna {
    min-width: 140px;
    max-width: 180px;
    flex: 0 0 auto;
}

/* Título de subcategoría - negrita y subrayado */
.subcategoria-titulo {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #1a3a5c;
    text-decoration: none;
    padding-bottom: 8px;
    margin-bottom: 10px;
    border-bottom: 2px solid var(--alkim-red);
    transition: color 0.2s ease;
}

.subcategoria-titulo:hover {
    color: var(--alkim-red);
}

/* Lista de items de subcategoría */
.subcategoria-items {
    list-style: none;
    margin: 0;
    padding: 0;
}

.subcategoria-items li {
    margin-bottom: 6px;
}

.subcategoria-items li a {
    display: block;
    font-size: 0.8rem;
    color: #555;
    text-decoration: none;
    padding: 4px 0;
    transition: all 0.2s ease;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.subcategoria-items li a:hover {
    color: var(--alkim-red);
    padding-left: 5px;
}

/* Link "Ver todo" dentro de subcategoría */
.subcategoria-items .ver-todo-link {
    color: var(--alkim-red);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.subcategoria-items .ver-todo-link i {
    font-size: 0.7rem;
}

/* ===== COLUMNA DE PRODUCTOS DESTACADOS (NUEVA) ===== */

/* Header de destacados */
.destacados-column-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.destacados-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a3a5c;
    text-transform: uppercase;
}

.ver-todo-destacados {
    font-size: 0.8rem;
    color: var(--alkim-red);
    text-decoration: none;
    font-weight: 600;
}

.ver-todo-destacados:hover {
    text-decoration: underline;
}

/* Lista de productos destacados */
.destacados-productos-lista {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Card de producto destacado */
.destacado-producto-card {
    display: flex;
    gap: 12px;
    padding: 12px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.destacado-producto-card:hover {
    border-color: var(--alkim-red);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Imagen del producto destacado */
.destacado-producto-imagen {
    flex-shrink: 0;
    width: 80px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 6px;
    overflow: hidden;
}

.destacado-producto-imagen img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Info del producto destacado */
.destacado-producto-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    flex: 1;
    min-width: 0;
}

.destacado-marca {
    font-size: 0.85rem;
    font-weight: 700;
    color: #1a3a5c;
    text-transform: uppercase;
}

.destacado-descripcion {
    font-size: 0.8rem;
    color: #555;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.destacado-codigo {
    font-size: 0.75rem;
    color: #888;
}

.destacado-ver-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    color: var(--alkim-red);
    text-decoration: none;
    font-weight: 600;
    margin-top: 4px;
    transition: all 0.2s ease;
}

.destacado-ver-link:hover {
    color: #c00;
}

.destacado-ver-link i {
    font-size: 0.7rem;
}

/* Mensaje sin productos destacados */
.no-destacados-msg {
    text-align: center;
    padding: 30px 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.no-destacados-msg p {
    color: #666;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.btn-ver-productos {
    display: inline-block;
    padding: 8px 20px;
    background: var(--alkim-red);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.btn-ver-productos:hover {
    background: #c00;
    color: white;
}

/* ===== AJUSTES AL MODAL DE CATEGORÍAS ===== */

/* Ajustar el contenedor de subcategorías */
.categorias-modal-content .subcategorias-container {
    flex: 1;
    min-width: 400px;
    max-width: 600px;
    border-left: 1px solid #e9ecef;
    border-right: 1px solid #e9ecef;
    background: #fafafa;
}

/* Ajustar columna de productos destacados */
.categorias-modal-content .productos-destacados {
    width: 280px;
    min-width: 250px;
    padding: 15px;
    background: #fff;
}

/* Responsive para modal dinámico */
@media (max-width: 1200px) {
    .subcategorias-columnas-wrapper {
        gap: 20px;
    }
    
    .subcategoria-columna {
        min-width: 120px;
        max-width: 150px;
    }
    
    .categorias-modal-content .productos-destacados {
        width: 240px;
        min-width: 220px;
    }
}

@media (max-width: 992px) {
    .categorias-modal-content .subcategorias-container {
        min-width: 300px;
        max-width: 400px;
    }
    
    .destacado-producto-imagen {
        width: 60px;
        height: 80px;
    }
}

@media (max-width: 768px) {
    .subcategorias-columnas-wrapper {
        gap: 15px;
        padding: 10px 15px;
    }
    
    .subcategoria-columna {
        min-width: 100px;
        max-width: 130px;
    }
    
    .subcategoria-titulo {
        font-size: 0.8rem;
    }
    
    .subcategoria-items li a {
        font-size: 0.75rem;
    }
    
    .categorias-modal-content .productos-destacados {
        width: 200px;
        min-width: 180px;
    }
    
    .destacado-producto-imagen {
        width: 50px;
        height: 60px;
    }
    
    .destacado-marca {
        font-size: 0.75rem;
    }
    
    .destacado-descripcion {
        font-size: 0.7rem;
    }
}

.producto-info {
    text-align: center;
    margin-top: 8px;
}

.producto-nombre {
    font-size: 0.7rem;
    color: #333;
    font-weight: 500;
    display: block;
    margin-bottom: 4px;
    line-height: 1.2;
}

.producto-precio {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.precio-actual {
    font-size: 0.75rem;
    color: var(--alkim-red);
    font-weight: 600;
}

.precio-anterior {
    font-size: 0.65rem;
    color: #999;
    text-decoration: line-through;
}

/* Responsive para productos destacados */
@media (max-width: 768px) {
    .destacados-section {
        margin-top: 15px;
    }
    
    .producto-item img {
        width: 50px;
        height: 50px;
    }
    
    .producto-nombre {
        font-size: 0.65rem;
    }
    
    .precio-actual {
        font-size: 0.7rem;
    }
    
    .precio-anterior {
        font-size: 0.6rem;
    }
}

.subcategoria-item h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--alkim-red);
    margin: 0 0 12px 0;
    text-transform: uppercase;
    border-bottom: 2px solid var(--alkim-red);
    padding-bottom: 5px;
}

.articulos-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.articulos-list li {
    margin-bottom: 8px;
}

.articulos-list a {
    display: block;
    padding: 6px 0;
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 8px;
}

.articulos-list a:hover {
    color: var(--alkim-red);
    border-left-color: var(--alkim-red);
    background: #f8f9fa;
    padding-left: 12px;
}

/* Solo desactivar hover para el menú flotante, mantener hover para main navigator */
.floating-menu .categorias-dropdown:hover .categorias-modal:not(.opened-by-floating) {
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    pointer-events: none;
}

/* Mostrar modal de categorías cuando se active por click */
.categorias-modal.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    pointer-events: auto !important;
    display: block !important;
    position: fixed !important;
    z-index: 100000 !important;
    overflow: visible !important;
}

/* Estilos específicos para el modal flotante */
.floating-categorias-modal {
    position: fixed !important;
    z-index: 100000 !important;
    background: var(--alkim-white) !important;
    border: 1px solid var(--alkim-border) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    min-width: 1000px !important;
    max-width: calc(100vw - 30px) !important;
    min-height: 400px !important;
    max-height: 90vh !important;
    height: auto !important;
    overflow: visible !important;
}

/* Estilos para el modal flotante cuando está visible */
.floating-categorias-modal.show {
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: fixed !important;
    z-index: 100000 !important;
}

/* Estilos para el modal del carrito dinámico */
.cart-user-info {
    text-align: center;
    padding: 15px 0;
}

.cart-user-message {
    margin-bottom: 15px;
}

.cart-user-message .user-line1 {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.cart-user-message .user-line2 {
    display: block;
    font-size: 12px;
    color: #666;
}

.cart-user-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.cart-user-links .cart-logout-link {
    margin: 0 auto;
}

.cart-admin-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    background: var(--alkim-red);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cart-admin-link:hover {
    background: #c82333;
    color: white;
    transform: translateY(-1px);
}

.cart-logout-link {
    padding: 8px 12px;
    color: #666;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cart-logout-link:hover {
    color: var(--alkim-red);
}

/* ========================================
   ESTILOS ESPECÍFICOS DEL PANEL DE ADMIN
   ======================================== */

/* Layout del admin */
.admin-body {
    background: #f8f9fa;
    font-family: 'Roboto', sans-serif;
}

/* Header del Admin */
.admin-header-main {
    background: var(--alkim-red);
    color: var(--alkim-white);
    padding: 12px 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    z-index: 1030;
    overflow: visible;
}

.admin-header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    overflow: visible;
}

/* Brand del Admin */
.admin-brand {
    display: flex;
    align-items: center;
}

.admin-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: white;
    gap: 15px;
}

.admin-logo {
    width: 50px;
    height: 50px;
    object-fit: contain;
    background: white;
    border-radius: 8px;
    padding: 5px;
}

.admin-brand-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.admin-brand-text span {
    font-size: 0.9rem;
    opacity: 0.9;
    color: white;
}

/* Navegación rápida */
.admin-quick-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.quick-nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.quick-nav-link:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-1px);
}

.quick-nav-link i {
    font-size: 1rem;
}

/* Sección del usuario */
.admin-user-section {
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: visible;
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.admin-user-avatar {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.admin-user-details {
    display: flex;
    flex-direction: column;
}

.admin-user-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    line-height: 1.2;
}

.admin-user-role {
    font-size: 0.8rem;
    opacity: 0.8;
    color: white;
    line-height: 1.2;
}

.admin-user-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-action-btn {
    position: relative;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 6px;
    color: white;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.admin-action-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ffc107;
    color: #333;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Dropdown del usuario */
.admin-user-dropdown {
    position: absolute;
    right: 24px;
    top: 100%;
    margin-top: 8px;
    background: var(--alkim-white);
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(15, 34, 94, 0.18);
    width: 320px;
    border: 1px solid rgba(15, 34, 94, 0.08);
    transform-origin: top right;
    transform: translateY(-10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    z-index: 1050;
}

.admin-user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-content {
    padding: 0;
}

.dropdown-header {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px 12px 0 0;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: var(--alkim-red);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-size: 1rem;
    font-weight: 600;
    color: #333;
    line-height: 1.2;
}

.user-email {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.2;
}

.dropdown-divider {
    height: 1px;
    background: #e9ecef;
    margin: 0;
}

.dropdown-actions {
    padding: 10px 0;
}

.dropdown-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.dropdown-action:hover {
    background: #f8f9fa;
    color: var(--alkim-red);
}

.dropdown-action i {
    width: 16px;
    text-align: center;
}

.logout-action {
    color: #dc3545;
}

.logout-action:hover {
    background: #f8d7da;
    color: #721c24;
}

/* Contenido principal del admin */
.admin-main-content {
    min-height: calc(100vh - 140px);
    padding: 30px 0;
}

/* Footer del Admin */
.admin-footer {
    background: #343a40;
    color: white;
    padding: 20px 0;
    margin-top: auto;
}

.admin-footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
}

.admin-footer-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    background: white;
    border-radius: 4px;
    padding: 3px;
}

.footer-text {
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
}

.footer-info {
    font-size: 0.8rem;
    color: #adb5bd;
}

.admin-footer-right {
    display: flex;
    align-items: center;
}

.footer-stats {
    display: flex;
    align-items: center;
    gap: 20px;
}

.footer-stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    color: #adb5bd;
}

.footer-stat i {
    font-size: 0.9rem;
    color: #28a745;
}

/* Responsive */
@media (max-width: 768px) {
    .admin-header-content {
        padding: 15px 20px;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .admin-quick-nav {
        order: 3;
        width: 100%;
        justify-content: center;
    }
    
    .admin-user-section {
        order: 2;
    }
    
    .admin-user-details {
        display: none;
    }
    
    .admin-footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
        padding: 0 20px;
    }
    
    .footer-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .admin-user-dropdown {
        right: 20px;
        left: 20px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .admin-brand-text h1 {
        font-size: 1.2rem;
    }
    
    .admin-brand-text span {
        font-size: 0.8rem;
    }
    
    .quick-nav-link {
        padding: 6px 12px;
        font-size: 0.8rem;
    }
    
    .admin-main-content {
        padding: 20px 0;
    }
}

/* Sección de bienvenida del admin */
.admin-welcome-section {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 30px;
    margin-bottom: 30px;
}

.admin-welcome-section h1 {
    color: var(--alkim-red);
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 10px 0;
}

.admin-welcome-section p {
    color: #666;
    font-size: 1.1rem;
    margin: 0;
}

.admin-quick-stats {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 20px;
}

.quick-stat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: #f8f9fa;
    border-radius: 8px;
    color: #333;
    font-size: 0.9rem;
    font-weight: 500;
}

.quick-stat i {
    color: var(--alkim-red);
    font-size: 1rem;
}

/* Asegurar que el botón de categorías funcione con hover */
.categorias-dropdown {
    display: inline-block;
}

/* Flecha del modal de categorías */
.categorias-modal::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--alkim-white);
    z-index: 10000;
}

.categorias-modal::after {
    content: '';
    position: absolute;
    top: -9px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid var(--alkim-border);
    z-index: 9999;
}


/* Estilos antiguos removidos - ahora están en .spotify-service-link */

/* Enlace de WhatsApp */
.whatsapp-link {
    display: flex;
    align-items: center;
    gap: 3px;
}

.whatsapp-link i {
    font-size: 1.2rem;
    color: var(--alkim-white) !important;
}

.whatsapp-link span {
    font-weight: 700;
    font-size: 14px;
}

.whatsapp-link:hover i,
.whatsapp-link:active i,
.whatsapp-link:focus i {
    color: var(--alkim-white) !important;
}

/* Dropdown de categorías */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--alkim-white);
    min-width: 250px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: var(--transition);
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    border-bottom: 1px solid var(--alkim-border);
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu li a {
    color: var(--alkim-dark-gray);
    padding: 12px 20px;
    font-size: 13px;
}

.dropdown-menu li a:hover {
    background: var(--alkim-light-gray);
    color: var(--alkim-blue);
}

/* Hero Section - Slider principal */
.hero-section {
    position: relative;
    background: var(--alkim-light-gray);
    min-height: 0;
    overflow: hidden;
    margin-top: 0;
    padding-top: 0;
    z-index: 1;
}

/* Nuevo slider tipo track */
.hero-slider {
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Ocultar franja gris en pantallas medianas y pequeñas */
/* Fixed Header Top */
.header-top.fixed-header-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1000 !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24) !important;
    background: #ebebeb !important;
    height: 50px !important;
    padding: 0 !important;
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important; /* Eliminar cualquier transformación */
    visibility: visible !important; /* Asegurar visibilidad */
}

/* Header-top normal (sin fixed) */
.header-top:not(.fixed-header-top) {
    position: static !important;
    background: #ebebeb !important;
    height: 50px !important;
    padding: 0 !important;
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
    z-index: auto !important;
    box-shadow: none !important;
}

/* Compensar la superposición cuando header-top está fijo */
.site-header .header-top.fixed-header-top ~ .header-main {
    margin-top: 50px !important;
    background: #ffffff !important;
    border-bottom: none !important;
    transition: none !important;
    opacity: 1 !important;
}

/* Evitar salto visual: cuando el header-top está fijo, mantener la franja gris pegada a la navegación */
.site-header .header-top.fixed-header-top ~ .header-main + .main-navigation + .below-nav-strip {
    margin-top: 0 !important;
}

/* Restaurar header-main a su estado original cuando header-top NO está fijo */
.site-header .header-top:not(.fixed-header-top) ~ .header-main {
    margin-top: 0 !important;
    background: #ffffff !important;
    border-bottom: none !important;
    transition: none !important;
    opacity: 1 !important;
}

/* Asegurar que header-main mantenga sus estilos originales por defecto */
.header-main {
    background: #ffffff !important;
    border-bottom: none !important;
    transition: none !important;
    opacity: 1 !important;
    margin-top: 0 !important; /* Estado por defecto sin margin-top */
}

/* Floating Menu */
.floating-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #ebebeb;
    border-bottom: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    display: none;
    height: 70px;
    margin: 0;
    padding: 0;
}

.floating-menu.show {
    transform: translateY(0);
    display: block;
}

.floating-menu-content {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 0 20px;
    max-width: 1400px;
    margin: 0 auto;
    height: 70px;
    gap: 15px;
}

/* Botón de categorías en floating menu */
.floating-menu .categorias-dropdown {
    flex: 0 0 auto;
    position: relative;
}

.floating-menu .categories-btn {
    height: 70px;
    padding: 14px 20px;
    background: #ebebeb;
    color: #000000;
}

.floating-menu .categories-btn:hover {
    background: #ebebeb;
    color: #000000;
}

.floating-menu .categories-btn i {
    color: #000000 !important;
    -webkit-text-stroke: 0.5px #000000;
    text-stroke: 0.5px #000000;
}

/* Logo en floating menu */
.floating-menu .floating-logo {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    margin-right: 10px;
    height: 80px; /* aumentar altura para logo más grande */
}

.floating-menu .floating-logo a {
    display: flex;
    align-items: center;
    height: 100%;
}

.floating-menu .floating-logo .logo-img,
.floating-menu .floating-logo img.logo-img {
    height: 80px !important;
    width: auto !important;
    max-height: 80px !important;
    max-width: none !important;
    object-fit: contain;
    display: block;
}

/* Búsqueda en floating menu */
.floating-menu .floating-search {
    flex: 0 1 220px; /* reducción adicional del 10% */
    max-width: 220px;
}

.floating-menu .floating-search .input-group {
    height: 36px;
}

.floating-menu .floating-search .search-input {
    font-size: 13px;
    padding: 6px 12px;
    height: 36px;
}

.floating-menu .floating-search .btn-search {
    padding: 6px 16px;
    height: 36px;
}

/* Spacer para empujar elementos a la derecha */
.floating-spacer {
    flex: 1 1 auto;
}

/* Auth links en floating menu */
.floating-menu .floating-auth-links {
    flex: 0 0 auto;
    gap: 3px;
    height: auto;
}

.floating-menu .floating-auth-links .auth-link {
    font-size: 12px;
    text-decoration: none;
}

.floating-menu .floating-auth-links .auth-link i {
    font-size: 1rem;
}

.floating-menu .floating-auth-links .separator {
    font-size: 12px;
}

/* Solo subrayar el texto al hover (no iconos ni contenedor) */
.floating-menu .floating-auth-links .auth-link:hover .auth-text {
    text-decoration: underline;
}

.floating-menu .floating-auth-links .auth-link:hover i {
    text-decoration: none !important;
}

/* Carrito en floating menu */
.floating-menu .floating-cart {
    flex: 0 0 auto;
}

.floating-menu .floating-cart .cart-link {
    min-height: 36px;
    height: 36px;
    padding: 6px 10px;
    font-size: 0.85rem;
}

.floating-menu .floating-cart .cart-link i.bi-cart3 {
    font-size: 1.2rem;
}

.floating-menu .floating-cart .cart-link .bi-chevron-down {
    font-size: 0.85rem;
}

/* Habilitar el modal del carrito en el floating menu con hover */
.floating-menu .floating-cart:hover .cart-modal {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: block !important;
    position: fixed !important;
    top: 50px;
    right: 20px;
    z-index: 100000 !important;
}

/* (Revertido) Usar estilos originales del modal de categorías del main-navigation */

@media (max-width: 992px) {
    .below-nav-strip {
        display: none !important;
    }
    
    .floating-menu {
        display: none !important;
    }
}

@media (min-width: 1200px) {
    /* Altura fija solo en pantallas grandes (similar a prisa.cl) */
    .banner-slide {
        height: clamp(270px, 25vh, 320px) !important;
        min-height: 270px;
        overflow: hidden;
    }
    .banner-image {
        height: 100%;
    }
    .banner-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center center;
        display: block;
    }
}
.hero-slider-indicators {
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 9;
}

.hero-slider-indicators button {
    width: 10px;
    height: 10px;
    border-radius: 5px;
    border: 1px solid #ffffff;
    background: rgba(255,255,255,0.5);
    padding: 0;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.hero-slider-indicators button.active {
    background: #ffffff;
    transform: scale(1.1);
}

.hero-slider-track {
    display: flex;
    transform: translateX(0%);
    transition: transform 0.8s ease-in-out;
    align-items: stretch;
}

.hero-slide {
    flex: 0 0 100%;
    min-height: 160px;
    height: auto;
}

/* Controles del slider */
.hero-slider-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #ffffff;
    color: #000000;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
    z-index: 10;
}

.hero-slider-control:hover {
    background: #f2f2f2;
}

.hero-slider-control.prev {
    left: 8px;
}

.hero-slider-control.next {
    right: 8px;
}

.hero-slider-control i {
    font-size: 1.1rem;
    color: #000000 !important;
}

.carousel-item {
    min-height: 0;
    background-size: cover;
    background-position: center;
    flex: 0 0 100%;
}

/* Asegurar transición deslizante visible (no fade) */
/* Transición del track completo para desplazamiento lateral */
.carousel .carousel-inner {
    display: flex;
    transition: transform 0.7s ease-in-out;
}

/* Contener el área de deslizamiento para que no se vean desbordes */
.carousel-inner {
    overflow: hidden;
}

.carousel-item-1 {
    background-image: linear-gradient(rgba(0,102,204,0.7), rgba(0,102,204,0.7)), url('https://images.unsplash.com/photo-1511707171634-5f897ff02aa9?w=1200&h=318&fit=crop');
}

.carousel-item-2 {
    background-image: linear-gradient(rgba(255,102,0,0.7), rgba(255,102,0,0.7)), url('images/prod/Aquagen Multi.jpg');
}

.carousel-item-3 {
    background-image: linear-gradient(rgba(40,167,69,0.7), rgba(40,167,69,0.7)), url('https://images.unsplash.com/photo-1542291026-7eec264c27ff?w=1200&h=318&fit=crop');
}

.carousel-caption {
    background: rgba(0,0,0,0.6);
    padding: 15px;
    border-radius: 10px;
    color: var(--alkim-white);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.carousel-caption h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.carousel-caption p {
    font-size: 1.2rem;
    margin-bottom: 20px;
}

.carousel-caption .btn {
    background: var(--alkim-orange);
    color: var(--alkim-white);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.carousel-caption .btn:hover {
    background: #e55a00;
    transform: translateY(-2px);
}

/* Controles del carrusel */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

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

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

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(255,255,255,0.3);
}

.carousel-indicators {
    bottom: 20px;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
    border: 2px solid var(--alkim-white);
    background: transparent;
}

.carousel-indicators .active {
    background: var(--alkim-white);
}

/* Banner Slide Styles - Responsive con una sola imagen (altura similar a prisa.cl) */
.banner-slide {
    height: clamp(270px, 25vh, 320px);
    min-height: 270px;
    display: flex;
    align-items: center;
    padding: 8px 0;
    position: relative;
    overflow: hidden;
}

.banner-slide .container-fluid,
.banner-slide .row {
    min-height: 100%;
}

/* Eliminar rellenos laterales para un deslizamiento sin bordes visibles */
.banner-slide .container-fluid {
    padding-left: 0;
    padding-right: 0;
}

.banner-slide .row {
    margin-left: 0;
    margin-right: 0;
}

.banner-slide-1 {
    background: linear-gradient(135deg, rgba(0, 123, 255, 0.85) 0%, rgba(0, 86, 179, 0.85) 100%), 
                linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

/* Imagen de Aquagen ahora se muestra directamente desde HTML */

.banner-slide-3 {
    background: linear-gradient(135deg, rgba(51, 51, 51, 0.85) 0%, rgba(0, 0, 0, 0.85) 100%), 
                linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

.banner-slide-2 {
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.85) 0%, rgba(229, 90, 0, 0.85) 100%), 
                linear-gradient(45deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
}

/* La imagen de Aquagen se muestra directamente desde el HTML del slider */

.banner-content {
    color: white;
    padding: 30px 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.banner-content h1 {
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.banner-content p {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    opacity: 0.95;
}

/* Banner Image - Responsive con una sola imagen (1920x500px) */
.banner-image {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    overflow: hidden;
}

.banner-image img {
    width: 100%;
    height: auto;
    max-width: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive para diferentes dispositivos */
@media (max-width: 767px) {
    .banner-image {
        padding: 15px;
    }
    
    .banner-image img {
        border-radius: 6px;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    .banner-image {
        padding: 18px;
    }
}

@media (min-width: 1200px) {
    .banner-image {
        padding: 25px;
    }
}

.banner-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.banner-content h1 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.banner-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    line-height: 1.6;
}

.banner-price {
    margin-bottom: 30px;
}

.banner-price .price {
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    margin-right: 15px;
}

.banner-price .old-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    opacity: 0.7;
}

.banner-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.banner-actions .btn {
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.banner-actions .btn-primary {
    background: #ff6b35;
    color: white;
    border: none;
}

.banner-actions .btn-primary:hover {
    background: #e55a00;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.banner-actions .btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.banner-actions .btn-outline:hover {
    background: white;
    color: #333;
    transform: translateY(-2px);
}

.banner-image {
    text-align: center;
}

.banner-image {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-image img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.banner-image img:hover {
    transform: scale(1.05);
}

/* Banner de Imágenes Promocionales (Estilo Alkim) */
.promotional-banner-section {
    background: #f4f4f4;
    padding: 20px 0 5px 0;
    margin: 0;
}

.promotional-banner {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}

.promotional-banner-item {
    flex: 0 0 auto;
    min-width: 450px;
    max-width: 599px;
    height: 167px;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    margin: 0 auto;
}

.home-page-brand-banner-item {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

.promotional-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #ffffff;
}

/* Responsive para banner promocional */
@media (max-width: 1200px) {
    .promotional-banner {
        gap: 15px;
    }
    
    .promotional-banner-item {
        min-width: 419px;
        max-width: 538px;
        height: 154px;
    }
}

@media (max-width: 992px) {
    .promotional-banner {
        gap: 12px;
    }
    
    .promotional-banner-item {
        min-width: 359px;
        max-width: 479px;
        height: 139px;
    }
}

@media (max-width: 768px) {
    .promotional-banner-section {
        padding: 15px 0 3px 0;
    }
    
    .promotional-banner {
        gap: 10px;
        flex-wrap: wrap;
    }
    
    .promotional-banner-item {
        min-width: 299px;
        max-width: 419px;
        height: 111px;
        flex: 0 0 calc(33.333% - 7px);
    }
}

@media (max-width: 480px) {
    .promotional-banner {
        gap: 8px;
    }
    
    .promotional-banner-item {
        min-width: 270px;
        max-width: 359px;
        height: 98px;
        flex: 0 0 calc(50% - 4px);
    }
}

/* Carrusel de Marcas */
.brands-carousel-section {
    background: #f4f4f4;
    padding: 5px 0 30px 0;
    border-top: none;
    border-bottom: none;
    margin-top: 0;
}

.brands-carousel-section .section-header h2 {
    color: var(--alkim-red);
    font-size: 1.5rem;
    margin-top: 8px;
}

.brands-carousel {
    overflow: hidden;
    position: relative;
    margin: 0 auto;
    max-width: 100%;
}

.brands-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: black;
    border: 1px solid #e0e0e0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brands-control:hover {
    background: #f5f5f5;
    color: black;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.brands-prev {
    left: 15px;
}

.brands-next {
    right: 15px;
}

.brands-control i {
    color: inherit;
}

.brands-track {
    display: flex;
    animation: brandsScrollContinuous 2s linear infinite;
    gap: 40px;
    align-items: center;
}

.brand-slide {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: transparent;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
    min-width: 180px;
    height: 140px;
}

.brand-logo {
    max-width: 160px;
    max-height: 120px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes brandsScrollContinuous {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(-33.33%);
    }
    100% {
        transform: translateX(-33.33%);
    }
}

/* Pausar animación al hacer hover */
.brands-carousel:hover .brands-track {
    animation-play-state: paused;
}

/* Responsive para carrusel de marcas */
@media (max-width: 768px) {
    .brands-carousel-section {
        padding: 3px 0 20px 0;
    }
    
    .brands-carousel-section .section-header h2 {
        font-size: 1.2rem;
        margin-top: 5px;
    }
    
    .brand-slide {
        min-width: 140px;
        height: 100px;
        padding: 20px;
    }
    
    .brand-logo {
        max-width: 120px;
        max-height: 80px;
    }
    
    .brands-track {
        gap: 20px;
    }
    
    .brands-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .brands-prev {
        left: 10px;
    }
    
    .brands-next {
        right: 10px;
    }
}

@media (max-width: 480px) {
    .brands-carousel-section {
        padding: 15px 0;
    }
    
    .brand-slide {
        min-width: 120px;
        height: 90px;
        padding: 15px;
    }
    
    .brand-logo {
        max-width: 100px;
        max-height: 70px;
    }
    
    .brands-track {
        gap: 15px;
    }
    
    .brands-control {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .brands-prev {
        left: 5px;
    }
    
    .brands-next {
        right: 5px;
    }
}

/* Secciones de productos */
.products-section {
    padding: 60px 0;
    background: #f4f4f4;
}

.featured-products {
    background: #f4f4f4;
    padding: 20px 0 0 0; /* Sin padding inferior */
    border-top: none;
    margin-top: 0;
    min-height: 750px; /* Altura mínima reducida para dar espacio al botón */
    overflow: visible; /* Asegurar que no se corte el contenido */
}

.featured-products .section-header {
    margin-bottom: 0; /* Eliminar espacio debajo del título */
}

.featured-products .section-header h2 {
    color: var(--alkim-red);
    font-size: 1.5rem;
    margin-top: 5px;
}

/* Botón Ver Todos */
.ver-todos-container {
    display: flex;
    justify-content: flex-end;
    margin-top: -25px; /* Reducido para subir más el botón */
    padding-right: 20px;
    position: relative;
}

/* Botón Ver Todos específico para productos destacados */
.featured-products .ver-todos-container {
    margin-top: 20px; /* Espacio suficiente para que sea visible */
    margin-bottom: 20px; /* Espacio antes de la siguiente sección */
    position: relative;
    z-index: 10; /* Asegurar que esté por encima */
}

/* Botón Ver Todos específico para productos nuevos */
.new-products .ver-todos-container {
    margin-top: 20px; /* Más espacio para productos nuevos */
}

/* Asegurar padding del contenedor product-info en ambas secciones */
.new-products .product-info {
    padding: 0px 15px 8px 15px !important;
}

.featured-products-section .product-info {
    padding: 0px 15px 8px 15px !important;
}

/* Controles de navegación para productos nuevos */
.new-products .products-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #ddd;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.new-products .products-prev {
    left: 10px;
}

.new-products .products-next {
    right: 10px;
}

.new-products .products-control:hover {
    background: var(--alkim-red);
    color: white;
    border-color: var(--alkim-red);
}

/* Características de Servicio */
.service-features {
    background: #f4f4f4;
    padding: 0 0 40px 0; /* Sin padding superior */
    border-top: none;
    border-bottom: none;
    margin: 0;
}

.features-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    max-width: 100%;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #f4f4f4;
    border: none;
    padding: 30px 20px;
    border-radius: 0;
    transition: none;
    cursor: pointer;
}

.feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.feature-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.feature-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #19296e !important;
    margin: 0 0 15px 0;
    text-transform: none;
    letter-spacing: 0;
}

.feature-description {
    font-size: 0.9rem;
    color: #19296e !important;
    margin: 0;
    line-height: 1.4;
    text-align: center;
}

/* Estilos específicos para la sección de características de servicio */
.service-features .feature-item {
    background: #f4f4f4 !important;
    border: none !important;
    cursor: pointer !important;
    transition: none !important;
}

.service-features .feature-item:hover {
    transform: none !important;
    box-shadow: none !important;
}

.service-features .feature-title {
    color: #19296e !important;
}

.service-features .feature-description {
    color: #19296e !important;
}

/* Productos Nuevos */
.new-products {
    background: #f4f4f4;
    padding: 0 0 0 0; /* Sin padding superior */
    border-top: none;
    margin-top: 0;
    min-height: 750px;
    overflow: visible;
}

.new-products .section-header h2 {
    color: var(--alkim-red);
    font-size: 1.5rem;
    margin-top: 5px;
}

.new-products-carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative; /* Para posicionar los controles */
    min-height: 720px; /* Altura de tarjeta (620px) + dots + botón + margenes */
}

.new-products-carousel {
    overflow: hidden;
    width: 100%;
    min-height: 720px; /* Igual que el contenedor */
}

.new-products-carousel .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0 10px 0;
    padding: 0;
}

.new-products-carousel .ver-todos-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-right: 20px;
}

.new-products-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    width: fit-content;
    will-change: transform; /* Optimizar animación */
    backface-visibility: hidden; /* Evitar parpadeos */
    -webkit-backface-visibility: hidden; /* Safari */
}

/* Sección de Categorías y Productos Destacados */
.categories-section {
    background: #f4f4f4;
    padding: 40px 0;
    border-top: none;
    border-bottom: none;
    margin: 0;
}

/* Primera sección de categorías con color verde */
.categories-section-first {
    background: #f4f4f4; /* Fondo gris neutro */
}

.main-category-container-first {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%) !important; /* Gradiente verde esmeralda */
    color: #ffffff !important;
}

.main-category-container-first .category-title {
    color: #ffffff !important;
}

.main-category-container-first .category-slogan {
    color: #e8fff2 !important;
}

/* Sección alternativa de categorías con color diferente */
.categories-section-alt {
    background: #f4f4f4; /* Fondo gris neutro */
}

.main-category-container-alt {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%) !important; /* Gradiente azul moderno */
    color: #ffffff !important;
}

.main-category-container-alt .category-title {
    color: #ffffff !important;
}

.main-category-container-alt .category-slogan {
    color: #f0f9ff !important;
}

/* Tercera sección de categorías con color naranja/coral */
.categories-section-third {
    background: #f4f4f4; /* Fondo gris neutro */
}

.main-category-container-third {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff8e53 100%) !important; /* Gradiente naranja/coral vibrante */
    color: #ffffff !important;
}

.main-category-container-third .category-title {
    color: #ffffff !important;
}

.main-category-container-third .category-slogan {
    color: #fff5f0 !important;
}

.categories-layout {
    display: grid;
    grid-template-columns: 0.8fr 0.8fr 1.2fr; /* Más ancho contenedor 1, más estrecho contenedor 3 */
    grid-template-rows: auto;
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    align-items: start;
}

/* Contenedor de Categoría Principal */
.main-category-container {
    grid-column: 1;
    grid-row: 1;
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.category-info {
    text-align: center;
}

.category-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--alkim-blue);
    margin: 0 0 15px 0;
}

.category-slogan {
    font-size: 1.1rem;
    color: #666;
    margin: 0 0 25px 0;
    line-height: 1.4;
}

.category-image {
    width: 100%;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
}

.category-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    background-color: #ffffff;
}

/* Contenedor de la segunda columna */
.second-column-container {
    grid-column: 2;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    height: 500px; /* Misma altura que el primer contenedor */
    justify-content: space-between;
}

/* Contenedor Comprar por Categorías */
.shop-categories-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px; /* Aumentado el padding */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.shop-categories-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #192c6e; /* Color específico solicitado */
    margin: 0 0 20px 0;
    text-align: center;
}

.category-images {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.category-item {
    text-align: center;
    flex: 1;
}

.category-item img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 10px;
    cursor: pointer; /* Cursor pointer para indicar que es clickeable */
}

.category-link {
    display: block;
    color: #000000; /* Color negro */
    text-decoration: none; /* Sin underline */
    font-weight: 500;
    font-size: 0.9rem;
    transition: none; /* Sin transición */
}

.category-link:hover {
    color: #000000; /* Mantener color negro */
    text-decoration: none; /* Sin underline en hover */
}

/* Texto "Ver todas las categorías" */
.ver-todas-categorias {
    text-align: center;
    margin-top: 15px;
}

.ver-todas-categorias a {
    color: #000000; /* Color negro */
    text-decoration: none; /* Sin underline por defecto */
    font-weight: 500;
    font-size: 0.9rem;
    transition: text-decoration 0.3s ease;
}

.ver-todas-categorias a:hover {
    text-decoration: underline; /* Underline solo en hover */
}

/* Contenedor Publicitario */
.promotional-container {
    background: #ffffff;
    border-radius: 12px;
    padding: 18px; /* Aumentado el padding */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    flex: 1; /* Se expande equitativamente con shop-categories-container */
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: calc(50% - 1px); /* Reducir 2px de altura (1px de cada lado) */
}

.promotional-content {
    text-align: center;
}

.promotional-content img {
    width: 100%;
    height: 80px;
    object-fit: contain; /* Cambiar a contain para mantener proporción */
    object-position: center;
    border-radius: 8px;
    margin-bottom: 12px;
    background-color: #ffffff; /* Fondo blanco */
}

.promotional-text h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--alkim-blue);
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.ver-mas-link {
    color: var(--alkim-red);
    text-decoration: underline;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.ver-mas-link:hover {
    color: var(--alkim-blue);
}

/* Control de cantidad en el contenedor del slogan */
.promotional-container .quantity-controls {
    margin-bottom: 30px !important; /* 3 espacios (30px) antes del botón */
}

/* Bajar el botón en el contenedor del slogan */
.promotional-container .add-to-cart-btn {
    margin-top: 0px !important; /* Sin margen superior (el espacio lo da el control) */
}

/* Contenedor de Productos Destacados */
.featured-products-container {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    gap: 5px; /* Reducido de 15px a 5px (quitar un espacio) */
    justify-content: space-between;
    align-items: center;
    height: 500px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: visible;
    padding: 15px;
    position: relative;
    min-height: 500px;
}

/* Título de Productos Destacados */
.featured-products-title h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #192c6e; /* Color específico solicitado */
    margin: 0 0 10px 0;
    text-align: center;
}

/* Wrapper para las tarjetas de productos destacados */
.featured-products-cards-wrapper {
    display: flex;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    align-items: flex-start;
    flex: 1;
    width: 100%;
}

.featured-product-card {
    background: transparent;
    border-radius: 0;
    padding: 20px 0;
    box-shadow: none;
    border: none;
    flex: 1 1 0;
    width: 160px; /* Tarjetas más estrechas */
    text-align: center;
    height: 100% !important;
    min-height: 100% !important;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.featured-product-card .offer-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--alkim-red);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.6rem;
    font-weight: 600;
    z-index: 10;
}

.featured-product-card .product-image {
    width: 100%;
    height: 80px;
    margin-bottom: 10px;
    border-radius: 8px;
    overflow: hidden;
}

.featured-product-card .product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Cambiar a contain para mantener proporción */
    object-position: center;
    background-color: #ffffff; /* Fondo blanco */
}

.featured-product-card .product-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--alkim-blue);
    margin: 0 0 4px 0;
}

.featured-product-card .product-description {
    font-size: 0.75rem;
    color: #666;
    margin: 0 0 4px 0;
    line-height: 1.2;
}

.featured-product-card .product-code {
    font-size: 0.7rem;
    color: #999;
    margin: 0 0 2px 0;
}

.featured-product-card .product-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 0 0 8px 0;
}

.featured-product-card .stars {
    display: flex;
    gap: 1px;
}

.featured-product-card .stars i {
    color: #ffc107;
    font-size: 0.7rem;
}

.featured-product-card .rating-count {
    font-size: 0.7rem;
    color: #666;
}

.featured-product-card .add-to-cart-btn {
    width: 92% !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--alkim-red) !important;
    color: white !important;
    border: none !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.2 !important;
    height: auto !important;
    min-height: 34px !important;
}

/* Eliminado - regla que causaba cambio a azul */

.ver-todos-btn {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
    padding: 8px 32px;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
    letter-spacing: 0.5px;
}

.ver-todos-btn:hover {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    cursor: pointer;
}

/* Carrusel de Productos Destacados */
.products-carousel-container {
    position: relative;
    overflow: hidden;
    margin: 0 auto;
    width: 100%;
    max-width: 100%;
    min-height: 750px; /* Altura de tarjeta aumentada por imagen más grande */
}

.products-carousel {
    position: relative;
    width: 100%;
}

.products-carousel .carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0 10px 0;
    padding: 0;
}

.products-carousel .ver-todos-container {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding-right: 20px;
}

.products-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    align-items: flex-start; /* Alinear al inicio para evitar cortes */
    width: fit-content; /* Ancho ajustado al contenido */
    will-change: transform; /* Optimizar animación */
    backface-visibility: hidden; /* Evitar parpadeos */
    -webkit-backface-visibility: hidden; /* Safari */
}

.product-card {
    flex: 0 0 220px; /* Ancho más ancho para las tarjetas */
    background: #ffffff; /* Fondo blanco explícito */
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: visible; /* Cambiado para mostrar el badge de oferta */
    transition: none;
    border: 1px solid #d1d1d1; /* Borde gris claro */
    display: flex;
    flex-direction: column;
    height: 620px; /* Altura reducida */
    min-height: 620px; /* Altura mínima reducida */
    max-height: none; /* Sin altura máxima */
    position: relative;
    z-index: 10; /* Asegurar que esté por encima de otros elementos */
}

.product-card:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    background: white !important;
}

.product-image {
    position: relative;
    height: 220px; /* Espacio aumentado para la imagen */
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff; /* Fondo blanco para que coincida con la tarjeta */
    padding-top: 15px; /* Padding reducido */
    padding-bottom: 8px; /* Padding reducido */
    flex-shrink: 0;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    background: #ffffff; /* Fondo blanco para que coincida con la tarjeta */
}

.product-card:hover .product-image img {
    transform: none !important;
}

.discount-badge {
    position: relative;
    background: var(--alkim-blue);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    margin: 20px 0 0 0 !important; /* 4 espacios después del código */
    justify-content: center;
    font-size: 0.8rem;
    font-weight: bold;
    align-self: flex-start;
}

.product-info {
    padding: 0px 15px 8px 15px; /* Padding inferior aumentado para el botón */
    display: flex;
    flex-direction: column;
    flex: 1;
    justify-content: flex-start; /* Alinear al inicio para controlar el espaciado */
    align-items: stretch; /* Permitir que los elementos se muevan libremente */
    min-height: 320px; /* Altura mínima reducida */
    gap: 4px; /* Gap reducido para comprimir elementos y dar espacio al botón */
}

/* Estilos para el precio del producto cuando se muestra dinámicamente */
.product-info .search-product-price {
    display: flex;
    align-items: baseline;
    gap: 12px;
    font-size: 1.3rem;
    font-weight: 700;
    color: #0f172a;
    margin-top: 10px;
    margin-bottom: 15px;
}

.product-info .search-product-price .price-current {
    color: #0f172a;
    font-weight: 700;
}

.product-info .search-product-price .price-compare {
    font-size: 0.9rem;
    color: #64748b;
    text-decoration: line-through;
    font-weight: 400;
}

/* Contenedor para el contenido superior de la tarjeta */
.product-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 8px;
}

/* Contenedor para agrupar nombre, descripción y código */
.product-basic-info {
    display: flex;
    flex-direction: column;
    gap: 4px; /* Espaciado reducido entre elementos */
    margin-bottom: 16px; /* Espacio antes del descuento y estrellitas */
}

/* Contenedor para el botón al final */
.product-actions {
    margin-top: auto;
    padding-top: 10px;
}

.offer-badge {
    background-color: #fff3cd; /* Amarillo pastel */
    color: #000000; /* Texto negro */
    padding: 4px 12px; /* Padding reducido para hacerlo menos alto */
    font-size: 0.8rem; /* Tamaño de fuente reducido */
    font-weight: bold;
    text-align: center;
    border-radius: 4px;
    margin: 15px 10px 10px 10px; /* Margen superior para separar de la imagen */
    width: calc(100% - 20px); /* Ajustar ancho considerando el margin */
    box-sizing: border-box;
}

.product-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #adb5bd; /* Color gris claro */
    text-transform: uppercase; /* Nombre en mayúsculas */
    margin: 0 !important; /* Sin márgenes */
    transform: none; /* Sin transform para mantener separación natural */
    line-height: 1.2; /* Line-height para dos líneas */
    height: 2.4rem; /* Altura fija para exactamente dos líneas (1.1rem * 1.2 * 2) */
    display: -webkit-box; /* Para soporte de múltiples líneas con ellipsis */
    -webkit-line-clamp: 2; /* Limitar a 2 líneas */
    line-clamp: 2; /* Propiedad estándar para compatibilidad */
    -webkit-box-orient: vertical; /* Orientación vertical */
    overflow: hidden; /* Ocultar texto que se desborde */
    text-overflow: ellipsis; /* Mostrar "..." si el texto es muy largo */
    padding: 0; /* Sin padding */
}

.product-description {
    font-size: 0.9rem;
    color: #666;
    margin: 0 !important; /* Sin márgenes */
    transform: none; /* Sin transform para mantener separación natural */
    line-height: 1.2; /* Line-height para tres líneas */
    height: 3.24rem; /* Altura fija para exactamente tres líneas (0.9rem * 1.2 * 3) */
    display: -webkit-box; /* Para soporte de múltiples líneas con ellipsis */
    -webkit-line-clamp: 3; /* Limitar a 3 líneas */
    line-clamp: 3; /* Propiedad estándar para compatibilidad */
    -webkit-box-orient: vertical; /* Orientación vertical */
    overflow: hidden; /* Ocultar texto que se desborde */
    text-overflow: ellipsis; /* Mostrar "..." si el texto es muy largo */
    padding: 0; /* Sin padding */
}

.product-code {
    font-size: 0.9rem; /* Tamaño de letra más pequeño */
    color: #000000; /* Color negro */
    font-weight: normal; /* Código sin negrita */
    margin: -8px 0 0 0 !important; /* Subir más verticalmente juntándolo con la descripción */
    transform: none; /* Sin transform para mantener separación natural */
    line-height: 1.0; /* Line-height mínimo */
    height: auto; /* Altura automática */
    display: block; /* Cambiar a block para eliminar espacios de flex */
    padding: 0; /* Sin padding */
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 6px; /* Gap reducido */
    margin: 5px 0 !important; /* Un espacio después del descuento */
    transform: none; /* Sin transform para mantener separación natural */
    height: 22px; /* Altura equilibrada para rating */
    flex-shrink: 0;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #ffc107;
    font-size: 0.9rem;
}

.rating-count {
    font-size: 0.8rem;
    color: #666;
}

.quantity-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0px; /* Sin gap para eliminar espacio entre botones */
    margin: 0 auto 8px auto !important; /* Reducido a 8px para dar espacio al botón */
    transform: none; /* Sin transform para mantener separación natural */
    height: 40px; /* Altura más grande para controles de cantidad */
    flex-shrink: 0;
    border: 1px solid #d1d1d1; /* Borde del cuadro contenedor */
    border-radius: 6px; /* Bordes redondeados */
    background: white; /* Fondo blanco del cuadro */
    overflow: hidden; /* Para que los bordes internos se vean bien */
    width: fit-content; /* Ancho ajustado al contenido */
}

.qty-btn {
    width: 40px; /* Botones del mismo tamaño que el contenedor */
    height: 40px; /* Botones del mismo tamaño que el contenedor */
    border: none; /* Sin borde individual */
    background: white;
    border-radius: 0; /* Sin bordes redondeados individuales */
    font-size: 0.9rem; /* Texto más pequeño */
    font-weight: 700;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    border-right: 1px solid #d1d1d1; /* Separador vertical */
}

.qty-btn:last-child {
    border-right: none; /* El último botón no tiene separador */
}

.qty-btn.plus {
    background: #ffebee; /* Fondo rojo pastel claro para el botón + */
}

.qty-btn:hover {
    background: #f8f9fa;
    border-right-color: #d1d1d1 !important; /* Mantener el color del separador específicamente */
}

.qty-input {
    width: 50px; /* Input más ancho */
    height: 40px; /* Input del mismo tamaño que el contenedor */
    border: none; /* Sin borde individual */
    border-radius: 0; /* Sin bordes redondeados */
    text-align: center;
    font-size: 0.8rem; /* Texto más pequeño */
    font-weight: 600;
    background: white;
    border-right: 1px solid #d1d1d1; /* Separador vertical */
    -moz-appearance: textfield; /* Quitar flechas en Firefox */
    appearance: textfield; /* Propiedad estándar para compatibilidad */
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none; /* Quitar flechas en Chrome/Safari */
    margin: 0;
}

/* .product-button-section eliminado - el botón ahora está integrado en .product-info */

.add-to-cart-btn {
    width: 80%; /* Ancho del botón por defecto - sin !important para permitir sobreescribir */
    margin: 0 auto; /* Centrar horizontalmente */
    align-self: center; /* Centrar en el contenedor flex */
    background: var(--alkim-red) !important;
    color: white !important;
    border: none !important;
    border-radius: 8px;
    padding: 5px 8px; /* Padding reducido para más espacio para el texto */
    font-size: 0.8rem; /* Tamaño de letra más grande */
    font-weight: 700;
    cursor: pointer;
    transition: none;
    height: 34px !important; /* Altura equilibrada del botón */
    display: flex !important;
    align-items: center;
    justify-content: center;
    position: relative;
    white-space: nowrap; /* Evitar que el texto se divida en múltiples líneas */
    overflow: hidden; /* Ocultar texto que se desborde */
    text-overflow: ellipsis; /* Mostrar "..." cuando el texto es muy largo */
    z-index: 10; /* Z-index alto para asegurar visibilidad */
    visibility: visible !important; /* Forzar visibilidad */
    opacity: 1 !important; /* Forzar opacidad */
    flex-shrink: 0; /* No se comprime */
    margin: 0; /* Sin márgenes */
}

.add-to-cart-btn:hover {
    background: #c82333;
    transform: none;
    box-shadow: none;
}

.products-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: white;
    color: black;
    border: 1px solid #e0e0e0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.2rem;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.products-control:hover {
    background: #f5f5f5;
    color: black;
    transform: translateY(-50%) scale(1.05);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.products-prev {
    left: 15px;
}

.products-next {
    right: 15px;
}

.products-control i {
    color: inherit;
}

/* Responsive para carrusel de productos */
@media (max-width: 1200px) {
    .product-card {
        flex: 0 0 220px; /* Mantener ancho más ancho */
        height: 610px; /* Altura reducida proporcionalmente */
    }
    
    .product-image {
        height: 200px;
    }
    
    .product-info {
        min-height: 380px;
    }
}

@media (max-width: 992px) {
    .product-card {
        flex: 0 0 220px; /* Mantener ancho más ancho */
        height: 590px; /* Altura reducida proporcionalmente */
    }
    
    .product-image {
        height: 190px;
    }
    
    .product-info {
        min-height: 370px;
    }
}

@media (max-width: 768px) {
    .product-card {
        flex: 0 0 220px; /* Mantener ancho más ancho */
        height: 570px; /* Altura reducida proporcionalmente */
    }
    
    .product-image {
        height: 180px;
    }
    
    .product-info {
        min-height: 360px; /* Altura ajustada para móviles */
    }
    
    .product-button-section {
        height: 80px; /* Altura ajustada para móviles */
    }
    
    .products-control {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .products-prev {
        left: 10px;
    }
    
    .products-next {
        right: 10px;
    }
}

@media (max-width: 576px) {
    .product-card {
        flex: 0 0 220px; /* Mantener ancho más ancho */
        height: 550px; /* Altura reducida proporcionalmente */
    }
    
    .product-image {
        height: 170px;
    }
    
    .product-info {
        min-height: 340px;
    }
    
    .products-control {
        width: 38px;
        height: 38px;
        font-size: 0.95rem;
    }
    
    .products-prev {
        left: 8px;
    }
    
    .products-next {
        right: 8px;
    }
}

@media (max-width: 480px) {
    .product-card {
        flex: 0 0 220px; /* Mantener ancho más ancho */
        height: 520px; /* Altura reducida proporcionalmente */
    }
    
    .product-image {
        height: 160px;
    }
    
    .product-info {
        min-height: 320px; /* Altura ajustada para móviles pequeños */
    }
    
    .product-button-section {
        height: 70px; /* Altura ajustada para móviles pequeños */
    }
    
    .products-control {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .products-prev {
        left: 5px;
    }
    
    .products-next {
        right: 5px;
    }
}

/* Más sobre Alkim */
.about-alkim-section {
    background: #f4f4f4;
    padding: 50px 0 0 0;
    border-top: none;
    border-bottom: none;
}

.about-header h2 {
    font-family: 'Titillium Web', 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--alkim-red, #dc3545);
    text-transform: uppercase;
    text-align: center;
    margin: 28px 0 14px; /* menos espacio con las imágenes */
    letter-spacing: 0.5px;
}

.about-grid {
    display: block; /* usaremos layout inline personalizado */
}

.about-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    background: #ffffff;
    border: none;
    border-radius: 16px;
    padding: 30px 20px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.about-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.about-content h3 {
    font-family: 'Poppins', 'Titillium Web', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 0 8px 0;
    text-align: center;
    color: #2c3e50;
}

.about-content p {
    font-size: 0.9rem;
    margin: 0;
    color: #666;
    text-align: center;
    line-height: 1.4;
}

/* Iconos con fondo a color tipo badges (inspirado en Alkim) */
.about-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.about-card:nth-child(1) .about-icon { background: linear-gradient(135deg, #ff6b35, #f7931e); }
.about-card:nth-child(2) .about-icon { background: linear-gradient(135deg, #4caf50, #8bc34a); }
.about-card:nth-child(3) .about-icon { background: linear-gradient(135deg, #2196f3, #03a9f4); }
.about-card:nth-child(4) .about-icon { background: linear-gradient(135deg, #e91e63, #f06292); }

/* Layout inline con imagen + texto + separador vertical */
.about-inline {
    display: flex;
    align-items: center;
    justify-content: space-evenly; /* más espacio hacia los extremos */
    gap: 22px;
    flex-wrap: wrap; /* responsive */
    padding: 0 28px; /* margen interno en extremos */
}

.about-inline-item {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

/* Abrir un poco el contenedor solo para la imagen ventaalkim.png (primer bloque) */
.about-inline .about-inline-item:first-child {
    padding: 0 8px;
}

.about-inline-image {
    width: 54px;
    height: 54px;
    object-fit: cover;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

/* Asegurar que ventaalkim.png se vea completa (no recortada) */
.about-inline .about-inline-item:first-child .about-inline-image {
    width: 68px;
    height: 68px;
    object-fit: contain; /* mostrar completa */
}

.about-inline-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.about-inline-line1 {
    font-family: 'Titillium Web', 'Poppins', sans-serif;
    font-weight: 700;
    color: var(--alkim-red, #dc3545);
    font-size: 0.95rem;
}

.about-inline-line2 {
    font-family: 'Titillium Web', 'Poppins', sans-serif;
    font-weight: 700;
    color: #000000;
    font-size: 1rem;
}

.about-inline-sep {
    width: 1px;
    height: 44px;
    background: #e0e0e0;
}

@media (max-width: 768px) {
    .about-inline {
        justify-content: center;
        gap: 16px;
    }
    .about-inline-sep {
        display: none; /* ocultar separadores cuando envuelve */
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .about-inline {
        justify-content: space-around;
        gap: 18px;
        padding: 0 24px;
    }
}

@media (max-width: 992px) {
    .about-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .about-grid {
        grid-template-columns: 1fr;
    }
}

/* Oferta Destacada */
.express-promo-section {
    background: #f4f4f4;
    padding: 46px 0 40px 0;
    border-top: none;
    margin-top: 0;
    border-bottom: none;
}

.express-promo-container {
    display: flex;
    gap: 0;
    align-items: stretch;
    max-width: 1198px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    overflow: hidden;
    padding-top: 30px;
}

.express-promo-item {
    flex: 1;
    display: flex;
    gap: 20px;
    background: #ffffff;
    padding: 24px;
}

.express-promo-item picture {
    flex: 0 0 200px;
}

.express-promo-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.express-promo-item .content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    justify-content: flex-start;
    padding-top: 8px;
}

.express-promo-item .type {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #000000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

.express-promo-item .price .new-price {
    font-family: 'Titillium Web', sans-serif;
    font-size: 2rem;
    font-weight: 400;
    color: #000000;
    margin: 0;
}

.express-promo-item .price .new-price .bold {
    font-weight: 900;
}

.express-promo-item .title .main-title {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    color: #000000;
    line-height: 1.1;
    margin: 0;
}

.express-promo-item .title .sub-title {
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.9rem;
    color: #000000;
    margin: 0;
}

.express-promo-item .description {
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.9rem;
    color: #000000;
    font-style: italic;
    margin: 0;
}

.express-promo-countdown {
    flex: 0 0 300px;
    background: #ffffff;
    padding: 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.count-down-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    margin-bottom: 20px;
}

.count-down-title-inner .main {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.9rem;
    font-weight: 680;
    color: #192969;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.8px;
}

.count-down-title-inner .sub {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--alkim-red, #dc3545);
    margin: 0;
    line-height: 1.1;
    text-align: right;
}

.clock-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
}

.count-down {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 24px;
}

.count-down .time {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.count-down .time .numbers {
    display: flex;
    gap: 2px;
}

.count-down .time .number {
    display: inline-block;
}

.count-down .number {
    font-family: 'Titillium Web', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 6px;
    padding: 8px 12px;
    min-width: 40px;
    text-align: center;
}

.count-down .name {
    font-family: 'Titillium Web', sans-serif;
    font-size: 0.8rem;
    color: #666;
    text-transform: uppercase;
    font-weight: 600;
}

.add-to-cart-section {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Ocultar el quantity-selector en la sección de oferta destacada */
.express-promo-section .quantity-selector {
    display: none;
}

/* Regla duplicada eliminada - usando la regla principal para los botones de cantidad */

.qty-btn:hover {
    background: #f8f9fa;
    border-color: var(--alkim-red, #dc3545);
}

/* Regla duplicada eliminada - usando la regla principal para el input de cantidad */

/* Regla duplicada eliminada - usando la regla principal para el botón de productos destacados */

.add-to-cart-btn:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

@media (max-width: 992px) {
    .express-promo-container {
        flex-direction: column;
    }
    
    .express-promo-item {
        border-bottom: 1px solid #e9ecef;
    }
    
    .express-promo-countdown {
        flex: none;
    }
}

@media (max-width: 768px) {
    .express-promo-item {
        flex-direction: column;
        text-align: center;
    }
    
    .express-promo-item picture {
        flex: none;
        width: 200px;
        margin: 0 auto;
    }
    
    .express-promo-item img {
        width: 200px;
        height: 200px;
    }
    
    .count-down {
        gap: 8px;
    }
    
    .count-down .number {
        font-size: 1.2rem;
        padding: 6px 10px;
        min-width: 36px;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 20px; /* Espacio reducido debajo del título */
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--alkim-dark-gray);
    margin-bottom: 10px;
}

.section-header p {
    color: var(--alkim-gray);
    font-size: 1.1rem;
}

/* Botón flotante Subir */
.back-to-top {
    position: fixed !important;
    right: 10px !important;
    bottom: 10px !important;
    width: 48px;
    height: 48px;
    max-width: calc(100vw - 20px);
    max-height: calc(100vh - 20px);
    border-radius: 10px; /* cuadrado con bordes redondeados */
    background: var(--alkim-red, #dc3545) !important;
    color: #ffffff !important;
    border: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(0,0,0,0.2) !important;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
    z-index: 100001 !important;
}

.back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
    display: flex !important;
}

.back-to-top.hide {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}

.back-to-top:hover {
    background: #c82333;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.back-to-top i {
    font-size: 1.6rem;
    color: #ffffff !important;
    font-weight: 900 !important; /* negrita */
    line-height: 1;
}

/* Forzar blanco en el glifo del icono y su pseudo-elemento */
.back-to-top i::before {
    color: #ffffff !important;
    font-weight: 900 !important;
}
/* Grid de productos */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Esta regla se movió para evitar conflictos con .product-card del carrusel */
.product-card-grid {
    background: #f4f4f4;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 1px solid var(--alkim-border);
}

.product-card-grid:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.product-card-grid .card-img-top {
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.product-card-grid:hover .card-img-top {
    transform: scale(1.05);
}

.product-card-grid .card-body {
    padding: 20px;
}

.product-card-grid .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--alkim-dark-gray);
    margin-bottom: 10px;
    line-height: 1.4;
}

.product-card-grid .card-text {
    color: var(--alkim-gray);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.product-card-grid .price {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--alkim-red);
    margin-bottom: 15px;
}

.product-card-grid .btn {
    width: 100%;
    background: var(--alkim-blue);
    color: var(--alkim-white);
    border: none;
    padding: 10px;
    border-radius: 5px;
    font-weight: 600;
    transition: var(--transition);
}

.product-card-grid .btn:hover {
    background: var(--alkim-dark-blue);
    transform: translateY(-1px);
}

/* Ofertas especiales */
.special-offers {
    background: #f4f4f4;
    padding: 60px 0;
}

.offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.offer-card {
    background: var(--alkim-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 1px solid var(--alkim-border);
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.offer-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    position: relative;
}

/* Regla duplicada eliminada - usando la regla principal para el badge de oferta */

.offer-content {
    padding: 25px;
}

.offer-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--alkim-dark-gray);
    margin-bottom: 10px;
}

.offer-content p {
    color: var(--alkim-gray);
    margin-bottom: 20px;
}

.offer-content .btn {
    background: var(--alkim-orange);
    color: var(--alkim-white);
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-block;
}

.offer-content .btn:hover {
    background: #e55a00;
    transform: translateY(-2px);
}

/* Características */
.features {
    background: #f4f4f4;
    padding: 60px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

/* Estilos de feature-item eliminados para evitar conflictos */

.feature-icon {
    font-size: 3rem;
    color: var(--alkim-blue);
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--alkim-dark-gray);
    margin-bottom: 15px;
}

.feature-item p {
    color: var(--alkim-gray);
    margin: 0;
}

/* Footer */
/* Footer - Estilo Alkim */
.alkim-footer {
    font-family: 'Arial', sans-serif;
    color: white;
}

/* Sección superior del footer */
.footer-top {
    background-color: #707070; /* Gris medio personalizado */
    padding: 40px 0;
}

.footer-top h5 {
    color: white;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 15px;
    text-transform: uppercase;
}

/* Información de contacto */
.contact-info {
    text-align: center;
}

.phone-number {
    font-size: 24px;
    font-weight: bold;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

/* Sección de redes sociales */
.social-section {
    text-align: center;
}

.whatsapp-contact {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold;
}

.whatsapp-contact i {
    color: #25D366;
    font-size: 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    background-color: transparent;
    border-radius: 0;
    color: white !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background-color: transparent;
    transform: scale(1.2);
    color: white !important;
}

.social-icon i {
    font-size: 24px;
    color: white !important;
}

.social-icon.linkedin,
.social-icon.instagram,
.social-icon.facebook,
.social-icon.youtube,
.social-icon.spotify {
    color: white !important;
}

.social-icon.linkedin i,
.social-icon.instagram i,
.social-icon.facebook i,
.social-icon.youtube i,
.social-icon.spotify i {
    color: white !important;
}

/* Forzar iconos Bootstrap en footer a blanco */
.footer-top .social-icon i[class*="bi-"],
.footer-top .social-icon .bi {
    color: white !important;
    filter: brightness(0) invert(1) !important;
}

.footer-top .bi-linkedin,
.footer-top .bi-instagram,
.footer-top .bi-facebook,
.footer-top .bi-youtube,
.footer-top .bi-spotify {
    color: white !important;
    filter: brightness(0) invert(1) !important;
}

.social-icons a i {
    color: white !important;
    filter: brightness(0) invert(1) !important;
}

/* Formulario de newsletter */
.newsletter-form {
    display: flex;
    gap: 0;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
    background-color: white;
    color: #333;
}

.newsletter-input::placeholder {
    color: #999;
}

.newsletter-btn {
    padding: 12px 20px;
    background-color: #dc3545;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.newsletter-btn:hover {
    background-color: #c82333;
}

/* Sección de medios de pago */
.payment-section {
    text-align: center;
}

.payment-logo {
    margin-top: 10px;
}

.alkim-pago-logo {
    background-color: white;
    padding: 10px;
    border-radius: 0px;
    display: inline-block;
    text-align: center;
    max-width: 200px;
}

.alkim-pago-logo .alkim-logo-container {
    margin-bottom: 8px;
}

.alkim-text {
    font-size: 24px;
    font-weight: bold;
    color: #dc3545;
    margin-bottom: 2px;
}

.pago-text {
    font-size: 16px;
    font-weight: bold;
    color: #dc3545;
    margin-bottom: 2px;
    margin-top: 0;
    line-height: 1;
}

.subtitle {
    font-size: 10px;
    color: #192969;
    line-height: 1.2;
    margin-bottom: 0;
}

/* Sección inferior del footer */
.footer-bottom {
    background-color: #3d3d3d; /* Gris más oscuro personalizado */
    padding: 40px 0;
}

.footer-bottom h6 {
    color: white;
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

/* Logos de empresa */
.company-logos {
    text-align: left;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.alkim-depot-logo {
    margin-bottom: 25px;
    margin-top: -10px;
    background-color: #3d3d3d;
    padding: 10px;
    border-radius: 0px;
    display: inline-block;
    text-align: center;
    align-self: flex-start;
}

.alkim-logo-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 8px;
}

.alkim-logo-container img {
    max-width: 120px;
    height: auto;
    display: block;
    line-height: 0;
}

.alkim-logo-depot {
    max-width: 120px;
    height: auto;
    display: block;
    line-height: 0;
}

.alkim-logo {
    max-width: 150px;
    height: auto;
    display: block;
    line-height: 0;
}

.logo-text {
    font-size: 20px;
    font-weight: bold;
    color: white;
    margin-bottom: 2px;
}

.logo-text-small {
    font-size: 16px;
    font-weight: bold;
    color: white;
    margin-bottom: 2px;
    margin-top: 0;
    line-height: 1;
}

.logo-subtitle {
    font-size: 10px;
    color: white;
    line-height: 1.2;
    margin-bottom: 0;
}

.best-managed-logo {
    display: none;
}

.star-icon {
    font-size: 20px;
    color: white;
    margin-top: 2px;
}

.best-text {
    color: white;
    font-size: 12px;
    line-height: 1.2;
}

.chile-text {
    font-weight: bold;
    margin-top: 2px;
}

/* Enlaces del footer */
.footer-links {
    text-align: left;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links ul li {
    margin-bottom: 8px;
}

.footer-links ul li a {
    color: #adb5bd;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: white;
}

/* Sección de sugerencias */
.suggestion-section {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    text-align: left;
}

.suggestion-icon {
    background-color: white;
    color: #495057;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.suggestion-icon i {
    font-size: 18px;
}

.suggestion-question {
    font-size: 14px;
    color: white;
    margin-bottom: 8px;
    font-weight: 500;
}

.suggestion-cta {
    font-size: 14px;
    color: #adb5bd;
    line-height: 1.4;
}

.cta-link {
    color: white;
    text-decoration: underline;
    font-weight: 500;
}

.cta-link:hover {
    color: #f8f9fa;
}

/* Franja de copyright */
.footer-copyright {
    background-color: #dc3545;
    padding: 8px 0;
    text-align: center;
}

.footer-copyright p {
    margin: 0;
    color: white;
    font-size: 14px;
    font-weight: 500;
}

/* Responsive para Footer */
@media (max-width: 768px) {
    .footer-top {
        padding: 30px 0;
    }
    
    .footer-top .row {
        flex-direction: column;
        gap: 30px;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .phone-number {
        font-size: 20px;
    }
    
    .social-section {
        order: 2;
    }
    
    .payment-section {
        order: 3;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 10px;
        max-width: 300px;
    }
    
    .newsletter-input {
        border-radius: 4px;
    }
    
    .newsletter-btn {
        border-radius: 4px;
    }
    
    .footer-bottom {
        padding: 30px 0;
    }
    
    .footer-bottom .row {
        flex-direction: column;
        gap: 25px;
    }
    
    .company-logos {
        text-align: center;
        order: 1;
        align-items: center;
    }
    
    .alkim-depot-logo {
        max-width: 250px;
        margin: 0 auto 25px;
        padding: 8px;
        align-self: center;
    }
    
    .best-managed-logo {
        align-self: center;
    }
    
    .footer-links {
        text-align: center;
    }
    
    .suggestion-section {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .suggestion-icon {
        align-self: center;
    }
    
    .footer-copyright p {
        font-size: 13px;
    }
}

@media (max-width: 576px) {
    .footer-top {
        padding: 25px 0;
    }
    
    .phone-number {
        font-size: 18px;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: auto;
        height: auto;
    }
    
    .social-icon i {
        font-size: 20px;
    }
    
    .newsletter-form {
        max-width: 280px;
    }
    
    .alkim-pago-logo {
        padding: 8px;
        max-width: 180px;
    }
    
    .alkim-text {
        font-size: 20px;
    }
    
    .pago-text {
        font-size: 14px;
    }
    
    .subtitle {
        font-size: 9px;
    }
    
    .footer-bottom {
        padding: 25px 0;
    }
    
    .footer-bottom h6 {
        font-size: 12px;
    }
    
    .footer-links ul li a {
        font-size: 13px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .logo-text-small {
        font-size: 14px;
    }
    
    .alkim-depot-logo {
        max-width: 220px;
        padding: 8px;
    }
    
    .alkim-logo-container {
        margin-bottom: 6px;
    }
    
    .alkim-logo-container img {
        max-width: 100px;
    }
    
    .alkim-logo-depot {
        max-width: 100px;
    }
    
    .alkim-logo {
        max-width: 130px;
    }
    
    .best-text {
        font-size: 11px;
    }
    
    .suggestion-question {
        font-size: 13px;
    }
    
    .suggestion-cta {
        font-size: 13px;
    }
    
    .footer-copyright p {
        font-size: 12px;
    }
}

/* Mobile Menu Styles */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: white;
    z-index: 99999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.show {
    opacity: 1;
    visibility: visible;
}

.mobile-menu-content {
    padding: 20px;
    height: 100vh;
    overflow-y: auto;
    background-color: white;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
    background-color: white;
}

.mobile-menu-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    background: none;
    border: none;
    font-size: 18px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
}

.mobile-menu-toggle i {
    font-size: 20px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #666;
    cursor: pointer;
    padding: 5px;
}

.mobile-nav-options {
    margin-bottom: 30px;
}

.mobile-nav-link {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    border-bottom: 1px solid #e9ecef;
    transition: color 0.3s ease;
}

.mobile-nav-link:hover {
    color: #dc3545;
}

.mobile-categories-section {
    margin-top: 20px;
}

.mobile-categories-title {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.mobile-categories-list {
    display: flex;
    flex-direction: column;
}

.mobile-category-link {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    border-bottom: 1px solid #e9ecef;
    transition: color 0.3s ease;
}

.mobile-category-link:hover {
    color: #dc3545;
}

.mobile-category-link i {
    font-size: 14px;
    color: #666;
}

/* Mostrar menú móvil solo en pantallas medianas y pequeñas */
@media (min-width: 992px) {
    .mobile-menu-overlay {
        display: none !important;
    }
}

/* Ocultar modal de categorías en pantallas pequeñas y medianas */
@media (max-width: 991px) {
    .categorias-modal {
        /* Solo ocultar en pantallas muy pequeñas, no en tablets */
        min-width: 280px;
        left: -50px;
    }
}

/* Estilos para Promociones */
.promociones-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.promocion-card {
    background: var(--alkim-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 1px solid var(--alkim-border);
    position: relative;
}

.promocion-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.promocion-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--alkim-red);
    color: var(--alkim-white);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 700;
    z-index: 10;
}

.promocion-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.promocion-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.promocion-card:hover .promocion-image img {
    transform: scale(1.05);
}

.promocion-content {
    padding: 25px;
}

.promocion-content h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--alkim-dark-gray);
    margin-bottom: 10px;
}

.promocion-content p {
    color: var(--alkim-gray);
    margin-bottom: 15px;
}

.promocion-price {
    margin-bottom: 20px;
}

.promocion-price .price {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--alkim-red);
    margin-right: 10px;
}

.promocion-price .old-price {
    font-size: 1rem;
    color: var(--alkim-gray);
    text-decoration: line-through;
}

/* Ofertas por Categoría */
.categorias-ofertas {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.categoria-oferta {
    background: var(--alkim-white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border: 1px solid var(--alkim-border);
}

.categoria-oferta h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--alkim-dark-gray);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.categoria-oferta h3 i {
    color: var(--alkim-red);
    font-size: 1.3rem;
}

.ofertas-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}



.oferta-texto {
    font-weight: 600;
    color: var(--alkim-dark-gray);
}

.oferta-descuento {
    background: var(--alkim-red);
    color: var(--alkim-white);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 700;
}

/* Estilos para Campaña Destacada */
.campaña-hero {
    background: linear-gradient(135deg, #dc3545, #ff6b6b);
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 40px;
}

.campaña-banner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    padding: 40px;
    min-height: 400px;
}

.campaña-content {
    color: var(--alkim-white);
}

.campaña-badge {
    background: rgba(255,255,255,0.2);
    color: var(--alkim-white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
}

.campaña-content h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
    line-height: 1.2;
}

.campaña-content p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.campaña-timer {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.timer-item {
    text-align: center;
    background: rgba(255,255,255,0.15);
    padding: 15px 10px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    min-width: 70px;
}

.timer-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.timer-label {
    font-size: 0.8rem;
    opacity: 0.8;
    text-transform: uppercase;
    font-weight: 600;
}

.campaña-image {
    text-align: center;
}

.campaña-image img {
    max-width: 100%;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* Productos de Campaña */
.productos-campaña-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.producto-campaña-card {
    background: var(--alkim-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 1px solid var(--alkim-border);
    position: relative;
}

.producto-campaña-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.producto-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--alkim-red);
    color: var(--alkim-white);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 700;
    z-index: 10;
}

.producto-campaña-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.producto-info {
    padding: 20px;
    text-align: center;
}

.producto-info h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--alkim-dark-gray);
    margin-bottom: 15px;
}

.precio-campaña {
    margin-bottom: 15px;
}

.precio-actual {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--alkim-red);
    margin-right: 10px;
}

.precio-anterior {
    font-size: 1rem;
    color: var(--alkim-gray);
    text-decoration: line-through;
}

/* Condiciones de Campaña */
.condiciones-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.condicion-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: var(--alkim-light-gray);
    border-radius: 10px;
    transition: var(--transition);
}

.condicion-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.condicion-item i {
    color: var(--alkim-green);
    font-size: 1.2rem;
}

.condicion-item span {
    font-weight: 600;
    color: var(--alkim-dark-gray);
}

/* Estilos para Ofertas Destacadas */
.filtros-ofertas {
    background: var(--alkim-white);
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 3px 15px rgba(0,0,0,0.08);
    border: 1px solid var(--alkim-border);
}

.filtros-content {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.filtro-label {
    font-weight: 700;
    color: var(--alkim-dark-gray);
    margin-right: 10px;
}

.filtros-content .btn {
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.filtros-content .btn.active {
    background: var(--alkim-blue);
    color: var(--alkim-white);
    border-color: var(--alkim-blue);
}

.ofertas-destacadas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.oferta-destacada-card {
    background: var(--alkim-white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
    border: 1px solid var(--alkim-border);
    position: relative;
}

.oferta-destacada-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.oferta-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--alkim-green);
    color: var(--alkim-white);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 10;
}

.oferta-descuento {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--alkim-red);
    color: var(--alkim-white);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 1rem;
    font-weight: 700;
    z-index: 10;
}

.oferta-image {
    height: 200px;
    overflow: hidden;
}

.oferta-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.oferta-destacada-card:hover .oferta-image img {
    transform: scale(1.05);
}

.oferta-content {
    padding: 25px;
}

.oferta-content h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--alkim-dark-gray);
    margin-bottom: 10px;
}

.oferta-content p {
    color: var(--alkim-gray);
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.oferta-precio {
    margin-bottom: 20px;
}

.precio-oferta {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--alkim-red);
    margin-right: 10px;
}

.precio-original {
    font-size: 1rem;
    color: var(--alkim-gray);
    text-decoration: line-through;
}

.oferta-acciones {
    display: flex;
    gap: 10px;
    align-items: center;
}

.oferta-acciones .btn {
    flex: 1;
    padding: 10px 15px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-favorito {
    flex: 0 0 auto;
    padding: 10px;
    border-radius: 8px;
    transition: var(--transition);
}

.btn-favorito:hover {
    background: var(--alkim-red);
    color: var(--alkim-white);
    border-color: var(--alkim-red);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 960px;
    }
    
    .header-main .container {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-search {
        order: 2;
        max-width: 100%;
        margin: 0;
    }
    
    .header-actions {
        order: 3;
        justify-content: center;
    }

    /* Altura del slider en pantallas medianas */
    .banner-slide {
        height: auto !important;
        min-height: clamp(250px, 22vh, 290px);
    }
    .hero-slide .banner-image {
        height: auto;
        min-height: clamp(250px, 22vh, 290px);
    }
    .hero-slide .banner-image img {
        width: 100%;
        height: auto;
        min-height: clamp(250px, 22vh, 290px);
        object-fit: contain !important;
        object-position: center center;
    }
    
    .nav-links {
        flex-wrap: wrap;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 720px;
    }
    
    .header-top {
        display: none;
    }
    
    .header-logo img {
        height: 100%;
        max-height: 90px;
        max-width: 200px;
    }
    
    .search-form {
        flex-direction: column;
    }
    
    .search-input {
        border-radius: 25px;
        margin-bottom: 10px;
        border: 2px solid var(--alkim-border);
    }
    
    .btn-search {
        border-radius: 25px;
        border: 2px solid var(--alkim-border);
        margin-left: 0;
    }
    
    .nav-links {
        flex-direction: column;
        width: 100%;
    }
    
    .nav-links li {
        width: 100%;
    }
    
    .nav-links li a {
        text-align: center;
    }
    
    .carousel-caption h3 {
        font-size: 1.8rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .offers-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .container {
        max-width: 540px;
        padding: 0 10px;
    }
    
    .header-main {
        padding: 10px 0;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 10px;
    }
    
    .carousel-item {
        min-height: 110px;
    }
    
    .carousel-caption {
        padding: 20px;
    }
    
    .carousel-caption h3 {
        font-size: 1.5rem;
    }
    
    /* Slider en móviles: imagen completa */
    .banner-slide {
        height: auto;
        min-height: clamp(230px, 20vh, 270px);
        padding: 8px 0;
    }
    .hero-slide .banner-image {
        height: auto;
        min-height: clamp(230px, 20vh, 270px);
    }
    .hero-slide .banner-image img {
        width: 100%;
        height: auto;
        min-height: clamp(230px, 20vh, 270px);
        object-fit: contain;
        object-position: center;
    }

    .banner-content h1 {
        font-size: 1.3rem;
        margin-bottom: 12px;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
    
    .banner-content p {
        font-size: 1rem;
    }
    
    .banner-price .price {
        font-size: 1.5rem;
    }
    
    .banner-actions {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .banner-actions .btn {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .featured-products .section-header h2 {
        font-size: 1.2rem;
        margin-top: 3px;
    }
    
    .ver-todos-container {
        justify-content: center;
        padding-right: 0;
        margin-top: -15px; /* Ajustado para subir más en tablet */
    }
    
    .ver-todos-btn {
        padding: 6px 24px;
        font-size: 0.8rem;
    }
    
    .service-features {
        padding: 0 0 30px 0;
    }
    
    .new-products .section-header h2 {
        font-size: 1.2rem;
        margin-top: 3px;
    }
    
    .new-products .ver-todos-container {
        margin-top: 15px; /* Ajuste para tablet */
    }
    
    /* Responsive para sección de categorías - REMOVIDO - Manejado por nuevo sistema responsivo */
    
    .features-grid {
        gap: 40px;
        flex-wrap: wrap;
    }
    
    .feature-item {
        padding: 20px 15px;
    }
    
    .feature-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 10px;
    }
    
    .feature-title {
        font-size: 1rem;
    }
    
    .feature-description {
        font-size: 0.85rem;
    }
}

@media (max-width: 576px) {
    .service-features {
        padding: 0 0 25px 0;
    }
    
    /* Responsive móvil para sección de categorías */
    .categories-section {
        padding: 25px 0;
    }
    
    /* Padding para contenedores - REMOVIDO - Manejado por nuevo sistema responsivo */
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .category-slogan {
        font-size: 1rem;
    }
    
    .category-image {
        height: 150px;
    }
    
    .category-images {
        flex-direction: column;
        gap: 15px;
    }
    
    .category-item img {
        height: 100px;
    }
    
    /* Estilos de contenedores - REMOVIDO - Manejado por nuevo sistema responsivo unificado */
    
    .features-grid {
        gap: 30px;
        flex-direction: column;
    }
    
    .feature-item {
        padding: 15px 10px;
        width: 100%;
        max-width: 300px;
    }
    
    .feature-icon {
        width: 50px;
        height: 50px;
        margin-bottom: 8px;
    }
    
    .feature-title {
        font-size: 0.9rem;
    }
    
    .feature-description {
        font-size: 0.8rem;
    }
    
    .products-section,
    .special-offers {
        padding: 40px 0;
    }

    /* Responsive para Promociones */
    .promociones-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .categorias-ofertas {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .categoria-oferta {
        padding: 20px;
    }

    /* Responsive para Campaña Destacada */
    .campaña-banner {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        text-align: center;
    }

    .campaña-content h2 {
        font-size: 2rem;
    }

    .campaña-timer {
        justify-content: center;
        gap: 10px;
    }

    .timer-item {
        min-width: 60px;
        padding: 10px 8px;
    }

    .timer-number {
        font-size: 1.5rem;
    }

    .productos-campaña-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .condiciones-list {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    /* Responsive para Ofertas Destacadas */
    .filtros-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .filtros-content .btn {
        width: 100%;
        margin-bottom: 5px;
    }

    .ofertas-destacadas-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .oferta-acciones {
        flex-direction: column;
        gap: 8px;
    }

    .oferta-acciones .btn {
        width: 100%;
    }

    /* Navegación responsive para móviles muy pequeños */
    .nav-content {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
    }
    
    .categorias-dropdown {
        order: 1;
        align-self: center;
    }
    
    .nav-links {
        order: 2;
        flex-direction: column;
        gap: 8px;
    }
    
    .nav-links li {
        margin-right: 0;
        margin-bottom: 0;
        width: 100%;
        text-align: center;
    }
    
    .nav-links li a {
        padding: 12px 15px;
        display: block;
        border-radius: 6px;
        background: rgba(255, 255, 255, 0.1);
    }
    
    .spotify-service-link {
        flex-direction: column;
        gap: 5px;
        text-align: center;
    }
    
    .spotify-service-link i {
        font-size: 1.5rem;
    }
    
    .service-text {
        text-align: center;
    }
    
    .whatsapp-phone-link {
        order: 3;
        align-self: center;
        margin-top: 0;
        width: auto;
        border: none;
        background: transparent;
    }
}


/* ========================================
   ESTILOS GENERALES PARA LUPA EN TODAS LAS TARJETAS DE PRODUCTOS */
/* Aplicar a todas las imágenes de productos */
.product-image {
    position: relative !important;
    overflow: hidden !important;
    border-radius: 8px !important;
}

/* Overlay de lupa para todas las tarjetas de productos */
.search-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2); /* Fondo más claro y transparente */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0; /* Invisible por defecto */
    transition: opacity 0.3s ease; /* Transición suave */
    cursor: pointer;
    z-index: 10;
}

/* En featured-product-card, el overlay debe empezar debajo del badge */
.featured-product-card .search-overlay {
    top: 35px !important;
}

/* Mostrar overlay al hacer hover en todas las tarjetas */
.product-image:hover .search-overlay {
    opacity: 1; /* Visible al hacer hover */
}

/* Icono de lupa para todas las tarjetas */
.search-overlay i {
    color: white;
    font-size: 2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* ========================================
   CONTENEDOR DEL SLOGAN "BIENESTAR Y LIMPIEZA" MÁS ALTO
   ======================================== */

/* Ajustar padding del contenedor del slogan */
.promotional-container {
    padding: 20px !important; /* Más padding */
}

/* Aumentar altura de la imagen del slogan */
.promotional-content img {
    height: 100px !important; /* Altura aumentada */
    margin-bottom: 15px !important; /* Más espacio */
    object-fit: contain !important; /* Mantener proporción */
    object-position: center !important;
    background-color: #ffffff !important; /* Fondo blanco */
}

/* Mejorar el texto del slogan */
.promotional-text h4 {
    font-size: 1.2rem !important; /* Tamaño aumentado */
    font-weight: 700 !important; /* Más negrita */
    color: var(--alkim-blue) !important;
    margin: 0 0 15px 0 !important; /* Más espacio */
    line-height: 1.4 !important;
}

/* Modal para imagen ampliada - DEFINICIÓN ANTIGUA ELIMINADA (causaba backdrop-filter blur) */
/*
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}
*/

.modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 800px;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: modalFadeIn 0.3s ease;
}

.modal-content img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    color: white;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #ff6b6b;
}

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

/* Quitar efecto hover del botón en el contenedor del slogan */
.promotional-container .add-to-cart-btn {
    transition: none !important;
}

.promotional-container .add-to-cart-btn:hover {
    background: var(--alkim-red) !important;
    background-color: var(--alkim-red) !important;
    color: white !important;
    transform: none !important;
    box-shadow: none !important;
    border-color: var(--alkim-red) !important;
}

/* Regla aún más específica para eliminar cualquier efecto de hover */
.promotional-container .product-card .add-to-cart-btn:hover {
    background: var(--alkim-red) !important;
    background-color: var(--alkim-red) !important;
    color: white !important;
    transform: none !important;
    box-shadow: none !important;
    border-color: var(--alkim-red) !important;
}

/* ========================================
   SISTEMA RESPONSIVO UNIFORME PARA TODA LA SECCIÓN
   ======================================== */

/* Pantallas medianas (768px - 992px) */
@media (max-width: 992px) and (min-width: 769px) {
    /* Layout principal */
    .categories-layout {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto;
        gap: 15px;
    }
    
    .main-category-container {
        grid-column: 1;
        grid-row: 1;
        padding: 15px !important;
    }
    
    .second-column-container {
        grid-column: 2;
        grid-row: 1;
        height: auto !important;
        gap: 15px !important;
    }
    
    .shop-categories-container {
        padding: 15px !important;
        height: auto !important;
    }
    
    .featured-products-container {
        grid-column: 1 / -1;
        grid-row: 2;
        height: auto !important;
        min-height: 400px !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        padding: 15px !important;
    }
    
    /* Contenedor promocional */
    .promotional-container {
        padding: 16px !important;
        height: auto !important;
        min-height: 200px !important;
    }
    
    .promotional-content img {
        height: 90px !important;
        margin-bottom: 10px !important;
        object-fit: contain !important;
        object-position: center !important;
        background-color: #ffffff !important;
    }
    
    .promotional-text h4 {
        font-size: 1.1rem !important;
        line-height: 1.3 !important;
    }
    
    /* Productos destacados */
    .featured-product-card {
        height: 380px !important;
        min-height: 380px !important;
        padding: 15px 10px !important;
        width: calc(50% - 10px) !important;
        max-width: 280px !important;
        margin: 5px !important;
        flex: 0 0 auto !important;
    }
    
    .featured-product-card .product-image {
        height: 100px !important;
    }
    
    .featured-product-card .product-image img {
        object-fit: contain !important;
        object-position: center !important;
        background-color: #ffffff !important;
    }
    
    .featured-products-cards-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 10px !important;
    }
}

/* Pantallas pequeñas (576px - 768px) */
@media (max-width: 768px) and (min-width: 577px) {
    /* Layout principal */
    .categories-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 15px;
    }
    
    .main-category-container {
        grid-column: 1;
        grid-row: 1;
        padding: 14px !important;
    }
    
    .second-column-container {
        grid-column: 1;
        grid-row: 2;
        height: auto !important;
        gap: 12px !important;
    }
    
    .shop-categories-container {
        padding: 14px !important;
        height: auto !important;
    }
    
    .featured-products-container {
        grid-column: 1;
        grid-row: 3;
        height: auto !important;
        min-height: 350px !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        padding: 12px !important;
    }
    
    /* Contenedor promocional */
    .promotional-container {
        padding: 14px !important;
        height: auto !important;
        min-height: 180px !important;
    }
    
    .promotional-content img {
        height: 80px !important;
        margin-bottom: 8px !important;
        object-fit: contain !important;
        object-position: center !important;
        background-color: #ffffff !important;
    }
    
    .promotional-text h4 {
        font-size: 1rem !important;
        line-height: 1.2 !important;
    }
    
    /* Productos destacados */
    .featured-product-card {
        height: 360px !important;
        min-height: 360px !important;
        padding: 12px 8px !important;
        width: calc(50% - 8px) !important;
        max-width: 250px !important;
        margin: 5px !important;
        flex: 0 0 auto !important;
    }
    
    .featured-product-card .product-image {
        height: 90px !important;
    }
    
    .featured-product-card .product-image img {
        object-fit: contain !important;
        object-position: center !important;
        background-color: #ffffff !important;
    }
    
    .featured-products-cards-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 8px !important;
    }
}

/* Pantallas muy pequeñas (menos de 576px) */
@media (max-width: 576px) {
    /* Layout principal */
    .categories-layout {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 12px;
    }
    
    .main-category-container {
        grid-column: 1;
        grid-row: 1;
        padding: 12px !important;
    }
    
    .second-column-container {
        grid-column: 1;
        grid-row: 2;
        height: auto !important;
        gap: 10px !important;
    }
    
    .shop-categories-container {
        padding: 12px !important;
        height: auto !important;
    }
    
    .featured-products-container {
        grid-column: 1;
        grid-row: 3;
        height: auto !important;
        min-height: 320px !important;
        flex-direction: row !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        padding: 10px !important;
    }
    
    /* Contenedor promocional */
    .promotional-container {
        padding: 12px !important;
        height: auto !important;
        min-height: 160px !important;
    }
    
    .promotional-content img {
        height: 70px !important;
        margin-bottom: 6px !important;
        object-fit: contain !important;
        object-position: center !important;
        background-color: #ffffff !important;
    }
    
    .promotional-text h4 {
        font-size: 0.9rem !important;
        line-height: 1.1 !important;
    }
    
    /* Productos destacados */
    .featured-product-card {
        height: 340px !important;
        min-height: 340px !important;
        padding: 10px 6px !important;
        width: calc(50% - 6px) !important;
        max-width: 220px !important;
        margin: 5px !important;
        flex: 0 0 auto !important;
    }
    
    .featured-product-card .product-image {
        height: 80px !important;
    }
    
    .featured-product-card .product-image img {
        object-fit: contain !important;
        object-position: center !important;
        background-color: #ffffff !important;
    }
    
    .featured-products-cards-wrapper {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 5px !important;
    }
}

/* ========================================
   MODAL DE IMAGEN AMPLIADA - RESTAURADO
   ======================================== */

.image-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.image-modal.active {
    display: flex !important;
    pointer-events: auto !important;
}

.image-modal-overlay {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(0, 0, 0, 0.65) !important; /* Oscurecimiento fuerte - 65% */
    background-color: rgba(0, 0, 0, 0.65) !important;
    opacity: 1 !important;
    cursor: pointer !important;
    z-index: 10000 !important; /* Debajo del contenido del modal */
}

/* Forzar oscurecimiento fuerte cuando el modal está activo */
#imageModal.active .image-modal-overlay {
    background: rgba(0, 0, 0, 0.65) !important;
    background-color: rgba(0, 0, 0, 0.65) !important;
    opacity: 1 !important;
}

.image-modal-content {
    position: relative;
    width: 45vw; /* Reducido 25% (60vw - 15vw = 45vw) */
    max-width: 600px; /* Reducido también el máximo */
    display: block;
    pointer-events: auto;
    background: transparent; /* Fondo transparente */
    border-radius: 12px;
    padding: 15px;
    box-shadow: none; /* Sin sombra para mantener transparencia */
    z-index: 10002 !important; /* Encima del overlay para no oscurecerse */
}

.image-modal-content img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 65vh;
    object-fit: contain;
    border-radius: 8px;
    margin: 0 auto;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4); /* Sombra solo en la imagen */
    background: white; /* Fondo blanco solo en la imagen */
}

.image-modal-close {
    position: absolute;
    top: 5px; /* Dentro del modal, esquina superior */
    right: 5px; /* Esquina derecha */
    background: rgba(255, 255, 255, 0.9);
    color: #000000;
    border: none;
    width: 28px; /* Más pequeño */
    height: 28px; /* Más pequeño */
    border-radius: 50%;
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 10003;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.image-modal-close:hover {
    background: rgba(255, 255, 255, 1);
    transform: rotate(90deg) scale(1.1);
}

.image-modal-close i {
    font-size: 1.2rem;
    line-height: 1;
    font-weight: bold;
    color: #000000;
}

/* Hacer que la lupa sea clickeable en todas las tarjetas */
.search-overlay {
    cursor: pointer;
}

/* ========================================
   INDICADORES DE PAGINACIÓN (DOTS) PARA CARRUSELES
   ======================================== */

.carousel-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0 10px 0;
    padding: 0;
}

.carousel-dot {
    width: 7.5px; /* Reducido 25% (10px - 2.5px = 7.5px) */
    height: 7.5px; /* Reducido 25% */
    border-radius: 50%;
    background: #9e9e9e; /* Color gris medio */
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    transform: scale(1.3); /* Solo escala al hover */
}

.carousel-dot.active {
    background: #9e9e9e; /* Mismo color - no cambia */
    width: 10.5px; /* Reducido 25% (14px - 3.5px = 10.5px) */
    height: 10.5px;
    transform: scale(1);
}

/* Responsive para dots */
@media (max-width: 768px) {
    .carousel-dots {
        gap: 8px;
        margin: 15px 0 8px 0;
    }
    
    .carousel-dot {
        width: 8px;
        height: 8px;
    }
    
    .carousel-dot.active {
        width: 10px;
        height: 10px;
    }
}

/* Responsive para modal */
@media (max-width: 768px) {
    .image-modal-content {
        max-width: 95%;
        max-height: 85%;
    }
    
    .image-modal-close {
        top: -45px;
        width: 35px;
        height: 35px;
        font-size: 1.3rem;
    }
    
    .image-modal-close i {
        font-size: 1.5rem;
    }
}

/* ========================================
   FIX: Botón "Iniciar sesión y ver precios" en pantallas pequeñas
   ======================================== */

@media (max-width: 576px) {
    /* Ajustar altura de tarjetas en secciones de Limpieza Profesional, Higiene y Desinfección */
    .featured-product-card {
        min-height: 360px !important; /* Aumentar altura para que quepa todo el contenido */
        height: auto !important; /* Altura automática */
        padding-bottom: 10px !important; /* Padding inferior para el botón */
        margin-bottom: 15px !important; /* Espacio entre tarjetas para evitar superposición */
        overflow: visible !important; /* Permitir que el contenido sea visible */
        position: relative !important;
        z-index: 1 !important;
    }
    
    /* Asegurar que el contenedor de info tenga espacio suficiente y no se salga */
    .featured-product-card .product-info {
        padding: 8px !important;
        display: flex !important;
        flex-direction: column !important;
        gap: 4px !important; /* Espacio reducido entre elementos */
        position: relative !important;
        z-index: 1 !important;
    }
    
    /* Ajustar elementos para que ocupen menos espacio */
    .featured-product-card .product-name {
        font-size: 0.75rem !important;
        line-height: 1.2 !important;
        margin-bottom: 2px !important;
    }
    
    .featured-product-card .product-description {
        font-size: 0.65rem !important;
        line-height: 1.1 !important;
        margin-bottom: 2px !important;
    }
    
    .featured-product-card .product-code {
        font-size: 0.6rem !important;
        margin-bottom: 2px !important;
    }
    
    .featured-product-card .product-rating {
        margin: 2px 0 !important;
    }
    
    /* Ajustar controles de cantidad para que ocupen menos espacio */
    .featured-product-card .quantity-controls {
        margin: 4px 0 !important;
        gap: 3px !important;
    }
    
    .featured-product-card .qty-btn,
    .featured-product-card .qty-input {
        padding: 2px 4px !important;
        font-size: 0.65rem !important;
        min-height: 20px !important;
    }
    
    /* Ajustar botón para que no se salga del contenedor */
    .featured-product-card .add-to-cart-btn {
        margin-top: 6px !important; /* Espacio arriba del botón */
        margin-bottom: 8px !important; /* Espacio abajo del botón */
        padding: 6px 4px !important; /* Padding reducido */
        font-size: 0.65rem !important; /* Tamaño de letra más pequeño */
        line-height: 1.3 !important; /* Altura de línea compacta */
        width: 100% !important; /* Ancho completo */
        white-space: normal !important; /* Permitir que el texto se divida en dos líneas */
        text-align: center !important;
        overflow: visible !important;
        position: relative !important;
        z-index: 2 !important;
        display: block !important;
    }
    
    /* Agregar espacio entre tarjetas en el contenedor */
    .featured-products-cards-wrapper {
        gap: 15px !important; /* Espacio entre tarjetas */
        margin-bottom: 20px !important; /* Espacio después de las tarjetas */
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    
    /* Aumentar tamaño de imagen en móviles */
    .featured-product-card .product-image {
        height: 120px !important;
        max-height: 120px !important;
        margin-bottom: 4px !important;
        position: relative !important;
        overflow: visible !important;
    }
    
    .featured-product-card .product-image img {
        height: 100% !important;
        max-height: 120px !important;
        object-fit: contain !important;
        padding: 2px !important;
        box-sizing: border-box !important;
    }
    
    /* Badge de oferta más pequeño */
    .featured-product-card .offer-badge {
        font-size: 0.6rem !important;
        padding: 4px 6px !important;
        margin-bottom: 5px !important;
    }
}

/* ===== FORMULARIOS DE AUTENTICACIÓN ===== */
.main-content {
    padding: 40px 0;
    min-height: 60vh;
}

/* Eliminar padding superior si la primera sección es hero-section */
.main-content > .page > .hero-section:first-child {
    margin-top: -40px;
}

.login-container, .register-container {
    background: var(--alkim-white);
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin: 20px 0;
}

.login-header, .register-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-header h2, .register-header h2 {
    color: var(--alkim-dark-gray);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.login-header p, .register-header p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.login-form, .register-form {
    width: 100%;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--alkim-dark-gray);
    font-weight: 500;
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--alkim-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--alkim-red);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-check {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 25px;
}

.form-check-input {
    width: 18px;
    height: 18px;
    margin: 0;
}

.form-check-label {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

.btn-primary {
    width: 100%;
    background: var(--alkim-red);
    border: none;
    color: var(--alkim-white);
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary:hover {
    background: #c53030;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.login-footer, .register-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.login-footer p, .register-footer p {
    margin: 8px 0;
    color: #666;
    font-size: 0.9rem;
}

.login-footer a, .register-footer a {
    color: var(--alkim-red);
    text-decoration: none;
    font-weight: 500;
}

.login-footer a:hover, .register-footer a:hover {
    text-decoration: underline;
}

.login-footer small {
    color: #999;
    font-size: 0.8rem;
}

/* Responsive para formularios */
@media (max-width: 768px) {
    .login-container, .register-container {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .login-header h2, .register-header h2 {
        font-size: 1.5rem;
    }
}

/* ===== MODAL DE MARCAS ===== */
.marcas-dropdown {
    position: relative;
    z-index: 1000;
}

.marcas-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #333;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.marcas-link:hover {
    color: var(--alkim-red);
    background: transparent;
}

.marcas-link .bi-chevron-down {
    font-size: 0.8rem;
    transition: transform 0.2s ease;
}

.marcas-dropdown.show-modal .marcas-link .bi-chevron-down {
    transform: rotate(180deg);
}

/* Modal de marcas - IDÉNTICO AL DE CATEGORÍAS */
.marcas-modal {
    position: fixed !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    background: var(--alkim-white);
    border: 1px solid var(--alkim-border);
    border-radius: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    min-width: 1000px;
    max-width: calc(100vw - 30px);
    min-height: 400px;
    max-height: 90vh;
    height: auto;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 100000 !important;
    pointer-events: none;
    overflow: visible;
}

.marcas-dropdown.show-modal .marcas-modal {
    position: fixed !important;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto;
    z-index: 100000 !important;
}

.marcas-modal-content {
    width: 100%;
    display: flex;
    min-height: 400px;
    max-height: 90vh;
    height: auto;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
}

.marcas-container {
    width: 100%;
    display: flex;
}

/* Columna de marcas - IDÉNTICA A CATEGORÍAS */
.marcas-menu {
    width: 250px;
    background: var(--alkim-light-gray);
    border-right: 1px solid var(--alkim-border);
}

.marcas-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.marca-main {
    border-bottom: 1px solid var(--alkim-border);
}

.marca-main.active .marca-link {
    background: transparent;
    color: var(--alkim-red);
}

.marca-link {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    text-decoration: none;
    color: #333333;
    transition: all 0.3s ease;
    gap: 12px;
}

.marca-link:hover {
    background: transparent !important;
    color: var(--alkim-red) !important;
}

.marca-link:hover .marca-text {
    color: var(--alkim-red) !important;
}

.marca-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.marca-text {
    flex: 1;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: #333333 !important;
}

.marca-link .bi-chevron-right {
    font-size: 0.8rem;
    color: #666;
    transition: transform 0.3s ease;
}

.marca-main:hover .marca-link .bi-chevron-right {
    transform: translateX(3px);
}

/* Columna de productos de marcas - IDÉNTICA A SUBCATEGORÍAS */
.productos-marca-menu {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    background: var(--alkim-white);
    border: 1px solid var(--alkim-border);
    border-left: none;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-10px);
    transition: all 0.3s ease;
    z-index: 1002;
    pointer-events: none;
}

.marca-main:hover .productos-marca-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
    pointer-events: auto;
}

.productos-marca-header {
    padding: 20px 20px 10px 20px;
    border-bottom: 1px solid var(--alkim-border);
}

.productos-marca-header h3 {
    margin: 0;
    color: #333;
    font-size: 1.2rem;
    font-weight: 600;
}

.productos-marca-content {
    display: flex;
    gap: 20px;
    padding: 20px;
}

.productos-marca-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    flex: 1;
}

.producto-marca-link {
    display: block;
    padding: 6px 0;
    text-decoration: none;
    color: #555;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 8px;
}

.producto-marca-link:hover {
    color: var(--alkim-red);
    border-left-color: var(--alkim-red);
    background: #f8f9fa;
    padding-left: 12px;
}

.productos-marca-images {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 200px;
    padding-left: 20px;
    border-left: 1px solid var(--alkim-border);
}

.producto-marca-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border: 1px solid var(--alkim-border);
    border-radius: 4px;
    padding: 5px;
    background: white;
    transition: transform 0.2s ease;
}

.producto-marca-image:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Flecha del modal de marcas - IDÉNTICA A CATEGORÍAS */
.marcas-modal::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 8px solid var(--alkim-white);
    z-index: 10000;
}

.marcas-modal::after {
    content: '';
    position: absolute;
    top: -9px;
    left: 20px;
    width: 0;
    height: 0;
    border-left: 9px solid transparent;
    border-right: 9px solid transparent;
    border-bottom: 9px solid var(--alkim-border);
    z-index: 9999;
}

/* Responsive para modal de marcas - IDÉNTICO A CATEGORÍAS */
@media (max-width: 1200px) {
    .marcas-modal {
        min-width: 800px;
        left: -50px;
    }
    
    .marcas-menu {
        width: 200px;
    }
    
    .productos-marca-menu {
        left: 200px;
    }
}

@media (max-width: 1024px) {
    .marcas-modal {
        min-width: 700px;
        left: -100px;
    }
    
    .marcas-menu {
        width: 180px;
    }
    
    .productos-marca-menu {
        left: 180px;
    }
    
    .productos-marca-images {
        width: 150px;
    }
}

@media (max-width: 900px) {
    .marcas-modal {
        display: none;
    }
}

/* ========================================
   PÁGINA DE PERFIL
   ======================================== */

/* Página de perfil */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem 0;
    margin: 0 0 2rem 0;
    border-radius: 15px;
}

.page-title {
    font-size: 2rem;
    font-weight: 600;
    margin: 0;
}

.page-subtitle {
    opacity: 0.9;
    margin: 0.5rem 0 0 0;
}

.page-actions .btn {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.page-actions .btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
}

.profile-card {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.profile-card .card-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-bottom: 1px solid #dee2e6;
    border-radius: 15px 15px 0 0 !important;
}

.profile-card .card-title {
    color: #495057;
    font-weight: 600;
}

.profile-sidebar {
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 15px;
}

.profile-avatar {
    font-size: 4rem;
    color: #6c757d;
}

.profile-name {
    font-weight: 600;
    color: #495057;
    margin: 0;
}

.profile-email {
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid #f8f9fa;
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-label {
    font-size: 0.9rem;
    color: #6c757d;
}

.stat-value {
    font-weight: 600;
    color: #495057;
}

/* Responsive para perfil */
@media (max-width: 768px) {
    .page-header {
        margin: 0 0 1.5rem 0;
        padding: 1.5rem 0;
    }
    
    .page-title {
        font-size: 1.5rem;
    }
    
    .page-actions {
        margin-top: 1rem;
    }
    
    .profile-avatar {
        font-size: 3rem;
    }
}

/* Estilos para la página de configuración */
.settings-card {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    margin-bottom: 20px;
}

.settings-card .card-header {
    background: linear-gradient(135deg, var(--alkim-red) 0%, #c82333 100%);
    color: white;
    border-radius: 10px 10px 0 0;
    border: none;
    padding: 15px 20px;
}

.settings-card .card-title {
    font-weight: 600;
    font-size: 1.1rem;
}

.settings-card .card-title i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.settings-sidebar {
    border: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.settings-sidebar .card-header {
    background: #f8f9fa;
    border-bottom: 1px solid #dee2e6;
    border-radius: 10px 10px 0 0;
    padding: 12px 15px;
}

.settings-sidebar .card-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--alkim-red);
}

.settings-sidebar .card-title i {
    margin-right: 6px;
    font-size: 1.1rem;
}

.system-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #f0f0f0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 500;
    color: #6c757d;
    font-size: 0.9rem;
}

.info-value {
    font-weight: 600;
    color: #333;
    font-size: 0.9rem;
}

.status-online {
    color: var(--alkim-green) !important;
    font-weight: 600;
}

/* ESTILOS ESPECÍFICOS PARA PRODUCTOS DESTACADOS AL FINAL DEL ARCHIVO PARA SOBRESCRIBIR */
/* Productos destacados después de productos nuevos - Sección categorías */
.featured-product-card .product-image {
    height: 150px !important;
    position: relative !important;
    margin-bottom: 5px !important;
    overflow: visible !important;
}

.featured-product-card .offer-badge {
    background-color: #ffd700 !important;
    color: #000000 !important;
    padding: 6px !important;
    font-size: 0.7rem !important;
    font-weight: bold !important;
    text-align: center !important;
    border-radius: 4px !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 5 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    margin: 0 !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.featured-product-card .product-image img {
    height: 100% !important;
    width: 100% !important;
    object-fit: contain !important;
    padding-top: 35px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
    padding-bottom: 2px !important;
    box-sizing: border-box !important;
}

.featured-product-card .product-name {
    font-size: 0.75rem !important;
    margin: 2px 0 !important;
}

.featured-product-card .product-description {
    font-size: 0.65rem !important;
    margin: 2px 0 !important;
    line-height: 1.2 !important;
}

.featured-product-card .product-code {
    font-size: 0.6rem !important;
    margin: 2px 0 !important;
}

.featured-product-card .product-rating {
    margin: 2px 0 !important;
}

/* Productos destacados en carrusel principal */
.featured-products-section .products-carousel .product-card .product-image {
    height: 300px !important;
    padding-top: 20px !important;
    padding-bottom: 10px !important;
    position: relative !important;
}

.featured-products-section .products-carousel .product-card .product-image .offer-badge {
    background-color: #ffd700 !important;
    color: #000000 !important;
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
    font-weight: bold !important;
    text-align: center !important;
    border-radius: 6px !important;
    position: absolute !important;
    top: 35px !important;
    right: 10px !important;
    z-index: 5 !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1) !important;
    margin: 0 !important;
    width: auto !important;
}

.featured-products-section .products-carousel .product-card .product-image img {
    height: 100% !important;
    padding: 10px !important;
    box-sizing: border-box !important;
    object-fit: contain !important;
    width: 100% !important;
}

.security-settings {
    margin-bottom: 20px;
}

.security-settings .form-check {
    margin-bottom: 15px;
}

.security-settings .form-check-label {
    font-size: 0.9rem;
    color: #555;
}

/* Botones de acciones rápidas */
.btn-outline-primary:hover,
.btn-outline-warning:hover,
.btn-outline-info:hover,
.btn-outline-danger:hover,
.btn-outline-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

/* Formularios de configuración */
.settings-card .form-control {
    border-radius: 8px;
    border: 1px solid #dee2e6;
    padding: 10px 12px;
    font-size: 0.9rem;
}

.settings-card .form-control:focus {
    border-color: var(--alkim-red);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.settings-card .form-label {
    font-weight: 500;
    color: #555;
    margin-bottom: 6px;
    font-size: 0.9rem;
}

.settings-card .btn-primary {
    background: var(--alkim-red);
    border: none;
    border-radius: 8px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.settings-card .btn-primary:hover {
    background: #c82333;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(220, 53, 69, 0.3);
}

/* Checkboxes personalizados */
.form-check-input:checked {
    background-color: var(--alkim-red);
    border-color: var(--alkim-red);
}

.form-check-input:focus {
    border-color: var(--alkim-red);
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Responsive para configuración */
@media (max-width: 768px) {
    .settings-card {
        margin-bottom: 15px;
    }
    
    .settings-card .card-header {
        padding: 12px 15px;
    }
    
    .settings-card .card-title {
        font-size: 1rem;
    }
    
    .info-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .info-label,
    .info-value {
        font-size: 0.85rem;
    }
}

/* REGLAS FINALES PARA IGUALAR BOTONES ROJOS EN PRODUCTOS NUEVOS Y DESTACADOS */
.featured-products .products-carousel .product-card .product-info .add-to-cart-btn {
    width: 92% !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.featured-products-section .products-carousel .product-card .product-info .add-to-cart-btn {
    width: 92% !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.new-products .new-products-carousel .product-card .product-info .add-to-cart-btn {
    width: 90% !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Botones en tarjetas featured-product-card después de productos nuevos */
.featured-product-card .add-to-cart-btn {
    width: 92% !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: var(--alkim-red) !important;
    color: white !important;
    border: none !important;
    font-size: 0.7rem !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    transition: background 0.3s ease !important;
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: clip !important;
    line-height: 1.2 !important;
    height: auto !important;
    min-height: 34px !important;
}

/* Indicador de carga para productos dinámicos */
.loading-products {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 400px;
    padding: 40px 20px;
    color: #666;
    gap: 15px;
}

.loading-products i {
    font-size: 2.5rem;
    color: var(--alkim-red);
}

.loading-products span {
    font-size: 1rem;
    color: #666;
}

.loading-products .spin {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Mensaje cuando no hay productos */
.no-products-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 300px;
    padding: 40px 20px;
    text-align: center;
    color: #666;
}

.no-products-message i {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.5;
}

.no-products-message h4 {
    margin-bottom: 10px;
    color: #333;
}

.no-products-message p {
    color: #888;
}

/* Badge placeholder - mantiene espacio pero invisible */
.offer-badge.badge-placeholder {
    visibility: hidden;
}

/* Asegurar que el código del producto siempre ocupe espacio */
.product-code:empty::before {
    content: '\00a0';
}