/* ========================================
   HEADER.CSS - VERSIÓN MAESTRA FINAL
   ======================================== */

/* --- 1. ESTRUCTURA BASE --- */
header {
    width: 100%;
    position: relative;
}

/* Navbar Escritorio */
header > nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000;
    transition: all 0.4s ease;
    padding: 15px 40px;
    background: transparent;
}

header nav.nav-scrolled {
    background: linear-gradient(90deg, rgba(94, 28, 38, 0.98) 0%, rgba(94, 28, 38, 0.95) 100%);
    padding: 15px 40px 30px 40px;
    box-shadow: 0 10px 30px rgba(94, 28, 38, 0.4);
    backdrop-filter: blur(5px);
    border-bottom-left-radius: 50% 30px;
    border-bottom-right-radius: 50% 30px;
}

/* --- 2. ELEMENTOS IZQUIERDA --- */
.nav-left {
    display: flex;
    align-items: center;
    height: 100%;
}

.email-container {
    display: flex;
    align-items: center;
    position: relative;
}

.email-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fffac2;
    transition: transform 0.2s;
    text-decoration: none;
}

.email-icon-link svg {
    width: 28px;
    height: 28px;
    fill: #fffac2;
}

.email-tooltip {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 12px;
    background-color: #fffac2;
    color: #5e1c26;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: all 0.3s ease;
}

.email-container:hover .email-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* --- 3. ELEMENTOS DERECHA --- */
.nav-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links-group {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fffac2;
    font-weight: 400;
    text-decoration: none;
    font-size: 15px;
    margin: 0 !important;
    transition: opacity 0.2s;
}

.nav-link svg {
    width: 18px;
    height: 18px;
    fill: #fffac2;
    display: block;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-link.smart-up {
    font-weight: 700;
    color: #fffac2;
    cursor: pointer;
}

.nav-link.smart-up svg {
    fill: #fffac2;
    transform: rotate(180deg);
}

/* Redes */
.social-icons {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 !important;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.social-btn svg {
    width: 18px;
    height: 18px;
    fill: #fffac2;
    display: block;
}

.social-btn:hover {
    transform: translateY(-3px);
    background-color: #5e1c26;
}

/* --- 4. ICONOS FLOTANTES --- */
.nav-cart,
.nav-user,
.nav-noti {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: 20px;
    z-index: 2100;
}

.cart-icon,
.user-icon,
.noti-icon {
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: transform 0.2s;
}

.cart-icon:hover,
.user-icon:hover,
.noti-icon:hover {
    transform: scale(1.1);
}

.cart-icon svg,
.user-icon svg,
.noti-icon svg {
    width: 28px;
    height: 28px;
    stroke: #fffac2;
}

#cart-count {
    background: #fffac2;
    color: #5e1c26;
    border-radius: 50%;
    padding: 2px 5px;
    font-size: 11px;
    font-weight: bold;
    position: absolute;
    top: -8px;
    right: -8px;
    min-width: 18px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.noti-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 10px;
    height: 10px;
    background-color: #d32f2f;
    border-radius: 50%;
    border: 2px solid #5e1c26;
}

/* --- 5. DROPDOWNS GENERALES (ESCRITORIO) --- */
.cart-dropdown,
.user-dropdown,
.noti-dropdown {
    position: absolute;
    right: 0;
    top: 50px;
    background: white;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    display: none;
    opacity: 0;
    transform: translateY(10px);
    z-index: 3000;
    overflow: hidden;
    pointer-events: none;
    /* EVITA CLICS FANTASMA */
}

.cart-dropdown.open,
.user-dropdown.active,
.noti-dropdown.active {
    display: block;
    animation: fadeInDrop 0.3s ease forwards;
    pointer-events: auto;
}

.cart-dropdown.closing,
.user-dropdown.closing,
.noti-dropdown.closing {
    display: block;
    animation: fadeOutDrop 0.3s ease forwards;
    pointer-events: none;
}

@keyframes fadeInDrop {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeOutDrop {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(10px);
    }
}

/* A. ESTILOS CARRITO */
.cart-dropdown {
    width: 320px;
    padding: 20px;
}

.cart-dropdown h4 {
    margin: 0 0 15px;
    font-size: 16px;
    color: #5e1c26;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.cart-preview-total {
    margin: 15px 0;
    font-weight: 700;
    color: #5e1c26;
    font-size: 16px;
    text-align: right;
}

.cart-btn {
    display: block;
    background: #5e1c26;
    color: white;
    text-align: center;
    padding: 12px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.cart-btn:hover {
    background: #4a1620;
}

.mc-item {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid #eee;
    align-items: flex-start;
}

.mc-img {
    width: 50px !important;
    height: 50px !important;
    min-width: 50px !important;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid #f0f0f0;
    flex-shrink: 0;
}

.mc-info {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mc-name {
    font-size: 13px;
    font-weight: 700;
    color: #5e1c26;
    margin-bottom: 2px;
}

.mc-details {
    font-size: 11px;
    color: #888;
}

.mc-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 5px;
}

.mc-qty-group {
    display: flex;
    align-items: center;
    background: #f5f5f5;
    border-radius: 4px;
    padding: 2px;
}

.mc-btn {
    width: 22px;
    height: 22px;
    border: none;
    background: white;
    cursor: pointer;
    color: #5e1c26;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.mc-qty-val {
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

.mc-del-btn {
    background: #ffebee;
    border: 1px solid #ffcdd2;
    color: #d32f2f;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
}

/* =========================================
   ANIMACIÓN CARRITO (POP)
   ========================================= */

/* Definición del movimiento (Rebote elástico) */
@keyframes cartBounce {
    0% {
        transform: scale(1);
    }

    25% {
        transform: scale(1.3) rotate(-10deg);
    }

    /* Crece y gira un poco */
    50% {
        transform: scale(1.1) rotate(10deg);
    }

    /* Rebota al otro lado */
    75% {
        transform: scale(1.15);
    }

    /* Un último empujón */
    100% {
        transform: scale(1);
    }

    /* Vuelve a la normalidad */
}

/* Clase que JS agrega al añadir producto */
.cart-pop {
    animation: cartBounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: #fffac2;
}

/* Opcional: Si quieres que el SVG dentro también se mueva independientemente */
.cart-pop svg {
    stroke: #ffeb3b;
    /* Un destello amarillo momentáneo */
    transition: stroke 0.3s;
}

/* B. ESTILOS USUARIO & LOGIN (COMPACTO) */
.user-dropdown {
    width: 220px;
    padding: 15px;
    right: 0;
    background: #fff !important;
    cursor: default;
}

.login-form h4 {
    color: #5e1c26 !important;
    margin: 0 0 10px 0;
    font-size: 15px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 8px;
    font-weight: 700;
}

.login-input {
    width: 100%;
    padding: 8px 10px;
    background: #f9f9f9 !important;
    border: 1px solid #ddd !important;
    border-radius: 6px;
    font-size: 13px;
    outline: none;
    color: #333 !important;
}

.login-input:focus {
    border-color: #5e1c26 !important;
    background: #fff !important;
}

.btn-login {
    width: 100%;
    padding: 10px;
    background: #5e1c26 !important;
    color: #fffac2 !important;
    border: none;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    margin-top: 5px;
    font-size: 13px;
}

.btn-login:hover {
    background: #4a1620 !important;
}

.login-links {
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
}

.login-links a {
    color: #666 !important;
    text-decoration: none;
}

.login-links a:hover {
    color: #5e1c26 !important;
    text-decoration: underline;
}

.user-menu-logged {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.welcome-msg {
    font-size: 13px;
    color: #5e1c26 !important;
    text-align: center;
    margin-bottom: 5px;
    font-weight: 700;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    background: #fff;
    color: #333 !important;
    text-decoration: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    transition: all 0.2s;
    border: 1px solid transparent;
}

.user-menu-btn:hover {
    background: #fbfbfb !important;
    border-color: #5e1c26;
    color: #5e1c26 !important;
}

.user-menu-btn svg {
    width: 16px !important;
    height: 16px !important;
    color: #5e1c26;
    stroke-width: 2px;
}

.logout-btn {
    margin-top: 5px;
    border: 1px solid #ffebee !important;
    color: #d32f2f !important;
    background: #fff !important;
    cursor: pointer;
    justify-content: center;
}

.logout-btn:hover {
    background: #d32f2f !important;
    color: white !important;
}

.logout-btn svg {
    color: inherit;
}

/* C. NOTIFICACIONES DESKTOP */
.noti-dropdown {
    width: 320px;
    padding: 0;
    right: -60px;
    top: 45px;
    display: flex;
    flex-direction: column;
    border-radius: 12px;
}

.noti-header-title {
    padding: 15px 20px;
    background: #fdfdfd;
    border-bottom: 1px solid #eee;
    font-weight: 700;
    color: #5e1c26;
    font-size: 15px;
}

.noti-list {
    max-height: 300px;
    overflow-y: auto;
    background: #fff;
}

.noti-item {
    padding: 15px 20px;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
    color: #555;
    display: flex;
    gap: 15px;
    align-items: flex-start;
    transition: background 0.2s;
    text-decoration: none;
}

.noti-item:hover {
    background: #fafafa;
}

.noti-item.unread {
    background: #fff9fa;
    border-left: 4px solid #5e1c26;
}

.noti-icon-type {
    font-size: 18px;
    line-height: 1;
}

.noti-time {
    display: block;
    font-size: 11px;
    color: #999;
    margin-top: 6px;
}

.noti-empty {
    padding: 30px 20px;
    text-align: center;
    color: #999;
    font-size: 14px;
    font-style: italic;
}

.noti-view-all {
    display: block;
    text-align: center;
    padding: 12px;
    font-size: 13px;
    color: #5e1c26;
    font-weight: 700;
    background: #fcfcfc;
    border-top: 1px solid #eee;
    text-decoration: none;
}

/* ========================================
   SIDEBAR MÓVIL (ESTRUCTURA + ESTILOS PREMIUM)
   ======================================== */
.hamburger {
    display: none;
}

.sidebar {
    display: none;
}

.overlay {
    display: none;
}

@media (max-width: 800px) {
    /* Ocultar nav escritorio y dropdowns fantasma */
    header > nav {
        display: none !important;
    }

    .cart-dropdown,
    .user-dropdown,
    .noti-dropdown {
        display: none !important;
        pointer-events: none !important;
    }

    /* =========================================
   AJUSTE DE HERO (Fondo Cheesecake) MÓVIL
   ========================================= */
    @media (max-width: 800px) {
        .textos-header {
            /* 1. Reducimos la altura del contenedor */
            /* Antes probablemente era 100vh o muy alto. 
           50vh - 60vh es ideal para que se vea el logo y un poco del menú abajo */
            height: 50vh !important;
            min-height: 400px;
            /* Evita que se haga diminuto en pantallas muy chatas */

            /* 2. Ajustamos la posición de la imagen de fondo */
            /* 'center' centra el cheesecake. Si quieres que se vea más la parte de abajo, usa 'center bottom' */
            background-position: center center !important;

            /* 3. Ajuste de tamaño (Zoom del fondo) */
            /* 'cover' llena todo. Si sientes que el cheesecake se ve muy 'zoomeado',
           puedes cambiarlo a un porcentaje mayor al 100%, ej: 150% */
            background-size: cover !important;
        }

        /* Ajuste opcional: Si el logo se ve muy grande o chico */
        .logo-hero {
            width: 120px;
            /* Ajusta este valor según tu gusto */
            margin-bottom: 10px;
        }

        .titulo-index {
            font-size: 24px;
            /* Hacemos el texto un poco más sutil */
        }
    }

    /* 1. HAMBURGUESA */
    .hamburger {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 5000;
        cursor: pointer;
        border: none;
        background: linear-gradient(135deg, rgba(94, 28, 38, 0.95), rgba(94, 28, 38, 0.75));
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        transition:
            opacity 0.3s ease,
            transform 0.3s ease;
    }

    body.menu-open .hamburger {
        opacity: 0;
        pointer-events: none;
        transform: scale(0.8);
    }

    .hamburger span {
        display: block;
        height: 3px;
        width: 26px;
        background: #fffac2;
        margin: 3px 0;
        border-radius: 4px;
    }

    /* 2. SIDEBAR CONTAINER */
    .sidebar {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: -100%;
        width: 85%;
        max-width: 320px;
        height: 100vh;
        background: #5e1c26;
        background: linear-gradient(180deg, #5e1c26 0%, #3a0e15 100%);
        box-shadow: 10px 0 40px rgba(0, 0, 0, 0.6);
        transition: left 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
        z-index: 4000;
        padding: 0;
    }

    .sidebar.open {
        left: 0;
    }

    /* 3. HEADER SIDEBAR (RECUPERADO: PERFIL Y CAMPANA) */
    .sidebar-header-mobile {
        padding: 25px 20px;
        background: rgba(0, 0, 0, 0.2);
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-bottom: 1px solid rgba(255, 250, 194, 0.1);
    }

    .sidebar-user-area {
        display: flex;
        align-items: center;
    }

    .mob-guest,
    .mob-logged {
        display: flex;
        align-items: center;
        gap: 15px;
    }

    .mob-user-icon {
        width: 45px;
        height: 45px;
        background: rgba(255, 255, 255, 0.15);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        color: #fffac2;
        border: 1px solid rgba(255, 250, 194, 0.3);
    }

    .mob-user-icon svg {
        width: 22px;
        height: 22px;
        stroke: #fffac2;
    }

    .mob-user-icon.filled {
        background: #fffac2;
        color: #5e1c26;
        font-weight: 700;
        border: none;
    }

    .mob-user-info {
        display: flex;
        flex-direction: column;
    }

    .mob-login-link {
        color: #fffac2;
        font-size: 15px;
        font-weight: 700;
        text-decoration: none;
    }

    .mob-profile-link {
        color: #fffac2;
        font-size: 13px;
        text-decoration: none;
        opacity: 0.8;
    }

    .mob-username {
        color: #fffac2;
        font-size: 15px;
        font-weight: 700;
    }

    /* ESTILOS CAMPANITA */
    .sidebar-noti-icon {
        position: relative;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 50%;
        cursor: pointer;
    }

    .sidebar-noti-icon svg {
        stroke: #fffac2;
        width: 24px;
        height: 24px;
    }

    /* 4. CONTENIDO (Scroll) */
    .sidebar-content {
        flex: 1;
        overflow-y: auto;
        padding: 20px;
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    /* 5. CARRITO LATERAL */
    .sidebar-cart {
        background: rgba(255, 255, 255, 0.95);
        padding: 15px;
        border-radius: 12px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        order: 1;
    }

    .sidebar-cart h3 {
        color: #5e1c26;
        margin: 0 0 10px 0;
        font-size: 15px;
        font-weight: 800;
        border-bottom: 1px solid #ddd;
        padding-bottom: 5px;
    }

    /* 6. BOTONES MENÚ (ESTILO CRISTAL) */
    .mob-nav-links {
        display: flex !important;
        flex-direction: column;
        gap: 12px;
        order: 2;
    }

    .mob-nav-links a {
        display: flex;
        align-items: center;
        justify-content: flex-start;
        gap: 15px;
        width: 100%;
        padding: 14px 20px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 250, 194, 0.15);
        border-radius: 12px;
        color: #fffac2;
        text-decoration: none;
        font-size: 16px;
        font-weight: 600;
        transition: all 0.2s ease;
    }

    .mob-nav-links a:hover,
    .mob-nav-links a:active {
        background: #fffac2;
        color: #5e1c26;
        transform: scale(0.98);
    }

    .mob-nav-links a svg {
        width: 20px;
        height: 20px;
        fill: #fffac2;
        display: block;
    }

    .mob-nav-links a:hover svg,
    .mob-nav-links a:active svg {
        fill: #5e1c26;
    }

    /* 7. FOOTER SIDEBAR */
    .sidebar-bottom {
        margin-top: auto;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 250, 194, 0.2);
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        order: 3;
    }

    .social-row {
        display: flex;
        gap: 20px;
    }

    #mobLogoutBtn {
        width: 100%;
        padding: 12px;
        background: rgba(211, 47, 47, 0.1);
        border: 1px solid rgba(211, 47, 47, 0.3);
        color: #ffcdd2;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        display: none;
    }

    .noti-panel-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 10px;
    }

    .noti-panel-header h3 {
        color: #fffac2;
        font-size: 18px;
        margin: 0;
    }

    .btn-back-menu {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid #fffac2;
        color: #fffac2;
        padding: 6px 12px;
        border-radius: 20px;
        font-size: 12px;
        cursor: pointer;
        display: flex;
        align-items: center;
        gap: 5px;
    }

    .mob-noti-list .noti-item {
        background: rgba(0, 0, 0, 0.2);
        border: 1px solid rgba(255, 255, 255, 0.05);
        padding: 15px;
        border-radius: 10px;
        margin-bottom: 10px;
        color: #eee;
        display: flex;
        gap: 15px;
        align-items: flex-start;
    }

    .mob-noti-list .noti-item.unread {
        background: rgba(255, 250, 194, 0.1);
        border-left: 3px solid #d32f2f;
    }

    .mob-noti-list .noti-time {
        color: #ccc;
        font-size: 11px;
        margin-top: 5px;
        display: block;
    }

    .mob-noti-list .noti-empty {
        color: rgba(255, 255, 255, 0.5);
        text-align: center;
        font-style: italic;
        padding: 20px;
    }

    /* 9. OVERLAY */
    .overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.6);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        z-index: 3500;
        opacity: 0;
        transition: opacity 0.3s ease;
        cursor: pointer;
    }

    .overlay.show {
        display: block;
        opacity: 1;
    }
}

/* ANIMACIONES SIDEBAR */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutLeft {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(-30%);
        opacity: 0;
    }
}

@keyframes slideInLeft {
    from {
        transform: translateX(-30%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }

    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.anim-enter-right {
    animation: slideInRight 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.anim-exit-left {
    animation: slideOutLeft 0.3s ease forwards;
}

.anim-enter-left {
    animation: slideInLeft 0.3s cubic-bezier(0.25, 1, 0.5, 1) forwards;
}

.anim-exit-right {
    animation: slideOutRight 0.3s ease forwards;
}

/* =========================================
   ESTILOS DE BOTONES DE CARRITO (GLOBALES)
   ========================================= */

/* Estructura del Item en Mini Carrito */
.mc-item {
    display: flex;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
    background: #fff;
    transition: 0.2s;
}

.mc-item:hover {
    background: #fafafa;
}

.mc-img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #eee;
}

.mc-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mc-name {
    font-weight: 700;
    font-size: 13px;
    color: #333;
    line-height: 1.2;
}

/* --- BOTONES DE CANTIDAD (+ / -) --- */
.qty-group-fancy {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 2px;
    width: fit-content;
}

.qty-btn-fancy {
    width: 24px;
    height: 24px;
    border: none;
    background: #f5f5f5;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.2s;
    font-size: 14px;
}

.qty-btn-fancy:hover {
    background: #e0e0e0;
}

.qty-val {
    font-size: 12px;
    font-weight: 600;
    min-width: 20px;
    text-align: center;
}

/* --- BOTÓN PAPELERA --- */
.btn-trash-mini {
    border: none;
    background: none;
    color: #5e1c26;
    /* Color Vino */
    cursor: pointer;
    padding: 6px;
    font-size: 14px;
    border-radius: 50%;
    transition: 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-trash-mini:hover {
    background: #fce4ec;
    transform: scale(1.1);
}
