/* ===============================
   RESET
================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===============================
   BODY BASE
================================ */
body {
    font-family: 'Open Sans', Arial, Helvetica, sans-serif;
    background: #f2f2f2;
    color: #333;
}

/* ========================================
   OCULTAR ENLACES SUELTOS
   ======================================== */
body > a[href]:not(.whatsapp-float):not(.producto-card) {
    display: none !important;
}

/* ===============================
   HEADER
================================ */
.header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.header-top {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px 40px;
    min-height: 160px;
}

.logo {
    position: absolute;
    left: 40px;
    width: 170px;
}

.logo img {
    width: 100%;
    max-height: 140px;
    object-fit: contain;
}

.titulo {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-size: 48px;
    font-weight: 600;
    color: #b30000;
    letter-spacing: 1.5px;
    white-space: nowrap;
    text-transform: uppercase;
}

/* ===============================
   MENÚ DESKTOP
================================ */
.menu {
    background: linear-gradient(135deg, #8b0000, #b30000);
    text-align: center;
    padding: 10px 0;
}

.menu a {
    color: #fff;
    margin: 0 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .5px;
}

.menu a:hover {
    color: #ffd700;
}

/* ===============================
   MENÚ HAMBURGUESA (MÓVIL) - BASE
================================ */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 10001;
    position: fixed;
    top: 25px;
    left: 20px;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background: #b30000;
    border-radius: 3px;
    transition: all 0.3s ease;
    display: block;
}

/* Animación X */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Menú lateral móvil */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: 2px 0 15px rgba(0,0,0,0.2);
    transition: left 0.3s ease;
    z-index: 10000;
    overflow-y: auto;
    padding: 0;
}

.mobile-menu.active {
    left: 0;
}

/* ========================================
   LOGO EN EL MENÚ MOBILE
   ======================================== */
.mobile-menu-logo {
    text-align: center;
    padding: 20px 20px 15px;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 0;
    background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
}

.mobile-menu-logo img {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* ========================================
   MENÚ MOBILE LINKS - MEJORADOS
   ======================================== */
.mobile-menu a {
    display: block;
    padding: 18px 25px;
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    border-bottom: 1px solid #f5f5f5;
    transition: all 0.3s ease;
    position: relative;
    background: #fff;
}

.mobile-menu a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #b30000;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.mobile-menu a:hover {
    background: linear-gradient(135deg, #b30000 0%, #8b0000 100%);
    color: #fff;
    padding-left: 30px;
    box-shadow: 0 2px 8px rgba(179, 0, 0, 0.2);
}

.mobile-menu a:hover::before {
    transform: scaleY(1);
}

/* Overlay oscuro */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===============================
   ICONOS HEADER - BOTONES MÁS PEQUEÑOS
================================ */
.iconos {
    position: absolute;
    right: 40px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.iconos a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 14px;
    text-decoration: none;
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease, color .25s ease;
}

.iconos a:hover {
    background: #b30000;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(0,0,0,.25);
}

.iconos .carrito {
    position: relative;
}

.iconos .carrito span {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: #b30000;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
}

/* ===============================
   LOGIN HOVER
================================ */
.login-hover {
    position: relative;
    display: inline-block;
}

.login-hover i {
    font-size: 16px;
    cursor: pointer;
}

.login-dropdown {
    position: absolute;
    top: 42px;
    right: 0;
    width: 300px;
    background: #fff;
    padding: 22px;
    border-radius: 6px;
    box-shadow: 0 15px 40px rgba(0,0,0,.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all .25s ease;
    z-index: 9999;
}

.login-hover:hover .login-dropdown,
.login-dropdown:hover {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.login-dropdown h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.login-dropdown label {
    font-size: 13px;
    display: block;
    margin-bottom: 5px;
}

.login-dropdown input {
    width: 100%;
    padding: 9px;
    border: 1px solid #ccc;
    border-radius: 4px;
    margin-bottom: 14px;
    font-size: 14px;
}

.login-dropdown button {
    width: 100%;
    background: #000;
    color: #fff;
    border: none;
    padding: 11px;
    font-weight: 600;
    cursor: pointer;
}

.login-remember {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    margin-top: 10px;
}

.icon-login {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .25s ease, transform .25s ease;
    color: #111;
    text-decoration: none;
}

.icon-login:hover {
    background: #a40000;
    color: #fff;
    transform: scale(1.05);
}

/* ===============================
   OVERLAY PARA CERRAR CARRITO
================================ */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9997;
    pointer-events: none;
}

.cart-overlay.show {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

/* ===============================
   MINI CARRITO - ORIGINAL (DESKTOP)
================================ */
.mini-cart {
    position: fixed;
    top: 90px;
    right: -420px;
    width: 400px;
    background: white;
    box-shadow: 0 25px 50px rgba(0,0,0,.2);
    transition: .35s ease;
    z-index: 9999;
    border-radius: 12px;
    overflow-y: auto;
    max-height: calc(100vh - 100px);
}

.mini-cart.show {
    right: 20px;
}

.mini-cart-box {
    padding: 22px;
}

.mini-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.mini-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
}

.mini-close {
    background: #f5f5f5;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #333;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
    font-size: 16px;
    padding: 0;
}

.mini-close:hover {
    background: #b30000;
    color: white;
}

.mini-clear {
    font-size: 13px;
    color: #888;
    text-decoration: none;
}

.mini-clear:hover {
    color: #b30000;
}

/* ========================================
   CARRITO VACÍO - ESTILOS MEJORADOS
   ======================================== */
.mini-empty {
    text-align: center;
    padding: 60px 20px;
    color: #777;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    width: 100%;
}

.mini-empty .cart-icon {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.mini-empty .cart-icon i {
    font-size: 80px;
    color: #ddd;
    display: block;
    animation: floatIcon 3s ease-in-out infinite;
}

.mini-empty .cart-icon::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 20px;
    height: 20px;
    background: #b30000;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.mini-empty p {
    font-size: 18px;
    color: #666;
    margin-bottom: 15px;
    font-weight: 500;
    width: 100%;
}

.mini-empty .empty-subtitle {
    font-size: 14px;
    color: #999;
    margin-bottom: 30px;
    max-width: 300px;
    line-height: 1.5;
}

.mini-empty .mini-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(135deg, #b30000, #8b0000);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(179, 0, 0, 0.3);
    border: none;
    cursor: pointer;
    width: auto;
    max-width: 280px;
}

.mini-empty .mini-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(179, 0, 0, 0.4);
    background: linear-gradient(135deg, #c40000, #9b0000);
}

.mini-empty .mini-btn:active {
    transform: translateY(-1px);
}

.mini-empty .mini-btn i {
    font-size: 16px;
    margin: 0;
    animation: none;
}

/* Animaciones */
@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
}

.mini-item {
    display: flex;
    gap: 15px;
    margin-bottom: 18px;
    position: relative;
}

.mini-item img {
    width: 75px;
    height: 75px;
    object-fit: cover;
    border-radius: 10px;
}

.mini-info {
    flex: 1;
}

.mini-info strong {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
}

.mini-price {
    font-weight: bold;
    margin-bottom: 8px;
}

.mini-agotado {
    color: #ff4444;
    font-size: 12px;
    font-weight: 600;
}

.mini-controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mini-controls button {
    width: 28px;
    height: 28px;
    border: none;
    background: #eee;
    cursor: pointer;
    font-weight: bold;
    border-radius: 6px;
}

.mini-controls button:hover {
    background: #b30000;
    color: white;
}

.mini-controls span {
    font-weight: 600;
    min-width: 28px;
    text-align: center;
}

.mini-remove {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #999;
    position: absolute;
    top: 0;
    right: 0;
}

.mini-remove:hover {
    color: #b30000;
}

.mini-total {
    display: flex;
    justify-content: space-between;
    margin: 20px 0;
    font-size: 17px;
}

.mini-total-precio {
    color: #b30000;
    font-weight: bold;
}

.mini-btn {
    display: block;
    text-align: center;
    padding: 14px;
    margin-bottom: 10px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 10px;
    transition: .3s;
    border: none;
    cursor: pointer;
    width: 100%;
}

.mini-btn.black {
    background: #111;
    color: white;
}

.mini-btn.red {
    background: #b30000;
    color: white;
}

.mini-btn:hover {
    opacity: .9;
}

.mini-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.iconos {
    position: absolute;
    right: 40px;
    z-index: 50;
}

.login-hover {
    position: relative;
    z-index: 10;
}

.carrito {
    position: relative;
    z-index: 100;
}

/* ===============================
   WHATSAPP FLOTANTE
================================ */
.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 58px;
    height: 58px;
    background: #25d366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
    z-index: 9999;
    transition: transform .3s ease, box-shadow .3s ease, background .3s ease;
}

.whatsapp-float,
.whatsapp-float:hover,
.whatsapp-float:visited,
.whatsapp-float:active {
    text-decoration: none !important;
}

.whatsapp-float i {
    color: #fff;
    line-height: 1;
}

.whatsapp-float:hover {
    background: #1ebe5d;
    transform: scale(1.12);
    box-shadow: 0 14px 28px rgba(0,0,0,.45);
}

/* ===============================
   FOOTER
================================ */
.footer {
    background: #fff;
    padding: 85px 60px 35px;
    font-family: 'Open Sans', sans-serif;
}

.footer-container {
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: 2.2fr 2fr 1.5fr 1.5fr 1.5fr;
    gap: 55px;
}

.footer-logo {
    max-width: 480px;
}

.footer-logo img {
    max-width: 185px;
}

.footer-logo p {
    font-size: 16px;
    line-height: 1.7;
    color: #666;
    text-align: justify;
    max-width: 440px;
    word-spacing: -0.5px;
    letter-spacing: -0.1px;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
    margin-top: 14px;
}

.footer-logo p strong {
    font-weight: 600;
}

.footer-col h4 {
    font-size: 26px;
    font-weight: 700;
    color: #000;
    margin-bottom: 18px;
    letter-spacing: .3px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-col li {
    margin-bottom: 8px;
}

.footer-col p,
.footer-col li,
.footer-col a {
    font-size: 17px;
    line-height: 1.8;
    color: #555;
}

.footer a {
    text-decoration: none;
    transition: color .25s ease;
}

.footer a:hover {
    color: #b30000;
}

.footer-redes {
    display: flex;
    gap: 14px;
    margin-top: 22px;
}

.footer-redes a {
    width: 46px;
    height: 46px;
    background: #000;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.footer-redes a i {
    color: #fff;
    font-size: 18px;
}

.footer-redes a:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 18px rgba(0,0,0,.3);
}

.footer-redes a:nth-child(1):hover {
    background: #1877f2;
}

.footer-redes a:nth-child(2):hover {
    background: linear-gradient(45deg, #f58529, #dd2a7b, #8134af);
}

.footer-redes a:nth-child(3):hover {
    background: #000;
}

.footer-copy {
    text-align: center;
    margin-top: 22px;
    padding-top: 10px;
    font-size: 14.5px;
    color: #888;
}

.footer-copy .footer-marca {
    color: #b30000;
    font-weight: 600;
}

.footer-pagos {
    max-width: 1300px;
    margin: 30px auto 0;
    padding-top: 14px;
    border-top: 1px solid #e5e5e5;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
}

.footer-pagos .pago-item {
    width: 95px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-pagos .pago-item img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    opacity: .95;
}

/* =====================================================
   RESPONSIVE - HEADER MÓVIL
   ===================================================== */

@media screen and (max-width: 1000px) {
    
    /* OCULTAR MENÚ DESKTOP */
    .menu,
    nav.menu,
    .header .menu {
        display: none !important;
    }
    
    /* MENÚ HAMBURGUESA */
    .menu-toggle {
        display: flex !important;
        position: absolute !important;
        left: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        z-index: 10002 !important;
    }
    
    /* Header compacto */
    .header-top {
        padding: 15px 20px !important;
        min-height: 85px !important;
    }
    
    /* Logo centrado */
    .header-top .logo {
        position: absolute !important;
        left: 50% !important;
        top: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 180px !important;
        margin: 0 !important;
    }
    
    .header-top .logo img {
        max-height: 70px !important;
        width: auto !important;
    }
    
    /* Título oculto */
    .header-top .titulo {
        display: none !important;
    }
    
    /* Iconos a la derecha - MÁS PEQUEÑOS */
    .header-top .iconos {
        position: absolute !important;
        right: 15px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        gap: 8px !important;
    }
    
    .header-top .iconos a {
        width: 34px !important;
        height: 34px !important;
        font-size: 13px !important;
    }
    
    /* MENÚ MOBILE - MEJORADO */
    .mobile-menu {
        width: 320px;
        max-width: 85vw;
    }
    
    .mobile-menu-logo {
        padding: 15px 20px 12px;
    }
    
    .mobile-menu-logo img {
        max-width: 180px;
    }
    
    .mobile-menu a {
        padding: 16px 25px;
        font-size: 16px;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
    
    /* ========================================
       MINI CARRITO RESPONSIVE - TABLET
       ======================================== */
    .mini-cart {
        width: 350px;
        right: -350px;
        top: 80px;
    }
    
    .mini-cart.show {
        right: 15px;
    }
    
    .mini-cart-box {
        padding: 18px;
    }
    
    .mini-header {
        margin-bottom: 15px;
    }
    
    .mini-header h3 {
        font-size: 16px;
    }
    
    .mini-item {
        gap: 12px;
        margin-bottom: 15px;
    }
    
    .mini-item img {
        width: 65px;
        height: 65px;
    }
    
    .mini-info strong {
        font-size: 13px;
    }
    
    .mini-price {
        font-size: 14px;
    }
    
    .mini-controls button {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
    
    .mini-controls span {
        min-width: 26px;
        font-size: 13px;
    }
    
    .mini-remove {
        font-size: 16px;
    }
    
    .mini-total {
        margin: 15px 0;
        font-size: 16px;
    }
    
    .mini-total-precio {
        font-size: 18px;
    }
    
    .mini-btn {
        padding: 12px;
        font-size: 14px;
    }
    
    /* Carrito vacío responsive */
    .mini-empty {
        padding: 40px 15px;
        min-height: 250px;
    }
    
    .mini-empty .cart-icon i {
        font-size: 60px;
        margin-bottom: 15px;
    }
    
    .mini-empty p {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .mini-empty .empty-subtitle {
        font-size: 13px;
        margin-bottom: 25px;
        max-width: 250px;
    }
    
    .mini-empty .mini-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
}

@media screen and (max-width: 768px) {
    
    /* ========================================
       MINI CARRITO RESPONSIVE - MÓVIL
       ======================================== */
    .mini-cart {
        width: 100%;
        max-width: 100vw;
        right: -100%;
        top: 0;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }
    
    .mini-cart.show {
        right: 0;
    }
    
    .mini-cart-box {
        padding: 15px;
        min-height: 100vh;
    }
    
    .mini-header {
        margin-bottom: 15px;
        padding-bottom: 15px;
        border-bottom: 1px solid #e0e0e0;
    }
    
    .mini-header h3 {
        font-size: 16px;
    }
    
    .mini-item {
        gap: 10px;
        margin-bottom: 12px;
        padding: 10px;
        background: #f9f9f9;
        border-radius: 8px;
    }
    
    .mini-item img {
        width: 60px;
        height: 60px;
    }
    
    .mini-info strong {
        font-size: 13px;
        margin-bottom: 5px;
    }
    
    .mini-price {
        font-size: 14px;
        margin-bottom: 6px;
    }
    
    .mini-controls button {
        width: 26px;
        height: 26px;
        font-size: 13px;
    }
    
    .mini-controls span {
        min-width: 25px;
        font-size: 13px;
    }
    
    .mini-remove {
        font-size: 16px;
        top: 5px;
        right: 5px;
    }
    
    .mini-total {
        margin: 15px 0;
        padding: 12px;
        background: #f5f5f5;
        border-radius: 8px;
        font-size: 16px;
    }
    
    .mini-total-precio {
        font-size: 18px;
    }
    
    .mini-btn {
        padding: 13px;
        font-size: 14px;
        margin-bottom: 8px;
    }
    
    .mini-empty {
        padding: 40px 15px;
        min-height: 250px;
    }
    
    .mini-empty .cart-icon i {
        font-size: 60px;
        margin-bottom: 15px;
    }
    
    .mini-empty p {
        font-size: 16px;
        margin-bottom: 10px;
    }
    
    .mini-empty .empty-subtitle {
        font-size: 13px;
        margin-bottom: 25px;
        max-width: 250px;
    }
    
    .mini-empty .mini-btn {
        padding: 12px 28px;
        font-size: 14px;
    }
    
    .mini-clear {
        font-size: 12px;
    }
}

@media screen and (max-width: 600px) {
    
    .header-top {
        padding: 12px 15px !important;
        min-height: 80px !important;
    }
    
    .header-top .logo {
        width: 160px !important;
    }
    
    .header-top .logo img {
        max-height: 60px !important;
    }
    
    /* Iconos más pequeños en móvil */
    .header-top .iconos a {
        width: 32px !important;
        height: 32px !important;
        font-size: 12px !important;
    }
    
    .mobile-menu {
        width: 300px !important;
        max-width: 85vw !important;
    }
    
    .mobile-menu-logo {
        padding: 12px 15px 10px !important;
    }
    
    .mobile-menu-logo img {
        max-width: 170px !important;
    }
    
    .mobile-menu a {
        padding: 15px 22px !important;
        font-size: 15px !important;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float i {
        font-size: 24px;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-redes {
        justify-content: center;
    }
    
    .footer-pagos {
        justify-content: center;
        flex-wrap: wrap;
        gap: 18px;
    }
    
    .footer-pagos .pago-item {
        width: 85px;
        height: 36px;
    }
    
    /* ========================================
       MINI CARRITO - MÓVIL PEQUEÑO
       ======================================== */
    .mini-cart-box {
        padding: 12px;
    }
    
    .mini-header h3 {
        font-size: 15px;
    }
    
    .mini-item {
        padding: 8px;
        margin-bottom: 10px;
        gap: 8px;
    }
    
    .mini-item img {
        width: 55px;
        height: 55px;
    }
    
    .mini-info strong {
        font-size: 12px;
    }
    
    .mini-price {
        font-size: 13px;
    }
    
    .mini-controls {
        gap: 6px;
    }
    
    .mini-controls button {
        width: 24px;
        height: 24px;
        font-size: 12px;
    }
    
    .mini-controls span {
        min-width: 22px;
        font-size: 12px;
    }
    
    .mini-remove {
        font-size: 15px;
    }
    
    .mini-total {
        padding: 10px;
        font-size: 15px;
    }
    
    .mini-total-precio {
        font-size: 17px;
    }
    
    .mini-btn {
        padding: 12px;
        font-size: 13px;
    }
    
    /* Carrito vacío - móvil pequeño */
    .mini-empty {
        padding: 30px 10px;
        min-height: 200px;
    }
    
    .mini-empty .cart-icon i {
        font-size: 50px;
        margin-bottom: 12px;
    }
    
    .mini-empty p {
        font-size: 15px;
    }
    
    .mini-empty .empty-subtitle {
        font-size: 12px;
        margin-bottom: 20px;
        max-width: 220px;
    }
    
    .mini-empty .mini-btn {
        padding: 11px 24px;
        font-size: 13px;
        width: 90%;
        max-width: 250px;
        justify-content: center;
    }
}

@media screen and (max-width: 400px) {
    
    .header-top {
        padding: 10px 12px !important;
        min-height: 75px !important;
    }
    
    .header-top .logo {
        width: 140px !important;
    }
    
    .header-top .logo img {
        max-height: 55px !important;
    }
    
    /* Iconos aún más pequeños */
    .header-top .iconos a {
        width: 30px !important;
        height: 30px !important;
        font-size: 11px !important;
    }
    
    .mobile-menu {
        width: 280px !important;
        max-width: 85vw !important;
    }
    
    .mobile-menu-logo {
        padding: 10px 12px 8px !important;
    }
    
    .mobile-menu-logo img {
        max-width: 160px !important;
    }
    
    .mobile-menu a {
        padding: 14px 20px !important;
        font-size: 15px !important;
    }
    
    /* ========================================
       MINI CARRITO - PANTALLAS MUY PEQUEÑAS
       ======================================== */
    .mini-cart-box {
        padding: 10px;
    }
    
    .mini-item {
        padding: 6px;
        margin-bottom: 8px;
        gap: 6px;
    }
    
    .mini-item img {
        width: 50px;
        height: 50px;
    }
    
    .mini-info strong {
        font-size: 11px;
    }
    
    .mini-price {
        font-size: 12px;
    }
    
    .mini-controls button {
        width: 22px;
        height: 22px;
        font-size: 11px;
    }
    
    .mini-controls span {
        min-width: 20px;
        font-size: 11px;
    }
    
    .mini-remove {
        font-size: 14px;
        top: 3px;
        right: 3px;
    }
    
    .mini-total {
        padding: 8px;
        font-size: 14px;
    }
    
    .mini-total-precio {
        font-size: 16px;
    }
    
    .mini-btn {
        padding: 10px;
        font-size: 12px;
    }
    
    /* Carrito vacío - pantallas muy pequeñas */
    .mini-empty {
        padding: 30px 10px;
        min-height: 200px;
    }
    
    .mini-empty .cart-icon i {
        font-size: 45px;
    }
    
    .mini-empty p {
        font-size: 14px;
    }
    
    .mini-empty .mini-btn {
        padding: 10px 20px;
        font-size: 12px;
    }
}

/* ========================================
   FIX PARA ANDROID - COLORES CONSISTENTES
   ======================================== */
@media screen and (-webkit-min-device-pixel-ratio: 0) and (max-resolution: 2dppx) {
    
    .mobile-menu a:hover,
    .mobile-menu a:active {
        background: #b30000 !important;
        color: #fff !important;
    }
}

/* ========================================
   FIX PARA IPHONE - COLORES CONSISTENTES
   ======================================== */
@supports (-webkit-touch-callout: none) {
    
    .mobile-menu a:hover,
    .mobile-menu a:active {
        background: #b30000 !important;
        color: #fff !important;
    }
}

/* ========================================
   SCROLLBAR PERSONALIZADA PARA CARRITO
   ======================================== */
.mini-cart::-webkit-scrollbar {
    width: 5px;
}

.mini-cart::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.mini-cart::-webkit-scrollbar-thumb {
    background: #b30000;
    border-radius: 3px;
}

.mini-cart::-webkit-scrollbar-thumb:hover {
    background: #8b0000;
}