/* =========================================================
   NAVBAR PREMIUM - ÓPTICA MIRA
   WhatsApp solo ícono + carrito premium aislado
========================================================= */

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* WhatsApp: solo ícono, sin texto */
.nav-whatsapp,
.nav-whatsapp-icon {
    width: 46px;
    height: 46px;
    min-width: 46px;
    padding: 0;
    font-size: 0;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 250, 241, .92);
    border: 1px solid rgba(196, 146, 47, .32);
    box-shadow: 0 12px 28px rgba(77, 48, 24, .10);
    color: #4b2c1d;
    overflow: hidden;
}

.nav-whatsapp::before,
.nav-whatsapp-icon::before {
    content: none !important;
    display: none !important;
}

.nav-whatsapp svg,
.nav-whatsapp-icon svg {
    width: 21px;
    height: 21px;
    display: block;
    fill: #4b2c1d;
}

.nav-whatsapp:hover,
.nav-whatsapp-icon:hover {
    background: linear-gradient(135deg, var(--gold), var(--gold-2));
    transform: translateY(-2px);
}

.nav-whatsapp:hover svg,
.nav-whatsapp-icon:hover svg {
    fill: #25170e;
}

/* Carrito premium aislado: funciona con nav-cart-premium */
.nav-cart-premium {
    height: 48px;
    padding: 6px 8px 6px 7px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5a3622 0%, #3f281a 100%);
    color: #fff8ec;
    border: 1px solid rgba(224, 183, 90, .24);
    box-shadow:
        0 14px 32px rgba(77, 48, 24, .18),
        inset 0 0 0 1px rgba(255, 255, 255, .05);
    text-decoration: none;
    transition: transform .22s ease, box-shadow .22s ease;
}

.nav-cart-premium:hover {
    transform: translateY(-2px);
    box-shadow:
        0 18px 38px rgba(77, 48, 24, .24),
        inset 0 0 0 1px rgba(255, 255, 255, .07);
}

.nav-cart-premium-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #fff8ec, #ead8bd);
    border: 1px solid rgba(224, 183, 90, .42);
}

.nav-cart-premium-icon svg {
    width: 20px;
    height: 20px;
    fill: #c4922f;
    display: block;
}

.nav-cart-premium-label {
    color: #e0b75a;
    font-size: .92rem;
    font-weight: 900;
    letter-spacing: -.02em;
    line-height: 1;
}

.nav-cart-premium-count {
    min-width: 28px;
    height: 28px;
    padding: 0 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: linear-gradient(135deg, #c4922f, #e0b75a);
    color: #25170e;
    font-size: .82rem;
    font-weight: 950;
    line-height: 1;
}

/* Compatibilidad si aún existe el carrito antiguo .cart-pill */
.cart-pill {
    height: 48px;
    padding: 6px 12px;
    border-radius: 999px;
    background: linear-gradient(135deg, #5a3622 0%, #3f281a 100%) !important;
    color: #e0b75a !important;
    border: 1px solid rgba(224, 183, 90, .24);
    box-shadow: 0 14px 32px rgba(77, 48, 24, .18);
}

.cart-pill::before {
    content: none !important;
}

.cart-pill span {
    position: static !important;
    transform: none !important;
}

/* Móvil */
@media (max-width: 560px) {
    .nav-whatsapp,
    .nav-whatsapp-icon {
        width: 46px !important;
        height: 46px !important;
        border-radius: 999px !important;
    }

    .nav-cart-premium {
        width: 50px;
        height: 46px;
        padding: 0;
        justify-content: center;
        position: relative;
        gap: 0;
    }

    .nav-cart-premium-icon {
        width: 34px;
        height: 34px;
    }

    .nav-cart-premium-icon svg {
        width: 19px;
        height: 19px;
    }

    .nav-cart-premium-label {
        display: none;
    }

    .nav-cart-premium-count {
        position: absolute;
        top: -7px;
        right: -7px;
        min-width: 22px;
        height: 22px;
        padding: 0 6px;
        font-size: .7rem;
        border: 2px solid #fff8ec;
    }
}
