    /* Estilos adicionales para asegurar que el men¨² se muestre correctamente */
    .header-top {
        background-color: #0b109f;
        padding: 8px 0;
        font-size: 0.85rem;
    }
    
    .header-main {
        padding: 15px 0;
        background: white;
    }
    
    .category-wrapper {
        position: relative !important;
        z-index: 1050;
    }
    
    #menu-desplegable {
        z-index: 9999 !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        width: 280px !important;
        background: white !important;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2) !important;
        border: 1px solid #dee2e6 !important;
        border-radius: 0 0 4px 4px !important;
    }
    
    nav, .container, .d-flex {
        position: static !important;
        overflow: visible !important;
    }
    
    #btn-categorias {
        position: relative;
        z-index: 1051;
    }
    
    .menu-item:hover {
        background-color: #f8f9fa;
    }
    
    body {
        position: relative;
    }
    
    nav.navbar {
        margin-bottom: 0 !important;
    }

    header, nav, .navbar {
        position: static !important;
        top: auto !important;
    }
    
    /* Estilos para el dropdown del carrito */
    .cart-dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        width: 350px;
        background: white;
        border: 1px solid #dee2e6;
        border-radius: 4px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.2);
        z-index: 10000;
        display: none;
        margin-top: 10px;
    }
    
    .cart-dropdown.show {
        display: block;
    }
    
    .cart-dropdown .cart-header {
        padding: 15px;
        border-bottom: 1px solid #dee2e6;
        font-weight: bold;
        background: #f8f9fa;
    }
    
    .cart-dropdown .cart-items {
        max-height: 300px;
        overflow-y: auto;
        padding: 10px;
    }
    
    .cart-item {
        display: flex;
        align-items: center;
        padding: 10px;
        border-bottom: 1px solid #dee2e6;
    }
    
    .cart-item:last-child {
        border-bottom: none;
    }
    
    .cart-item-image {
        width: 50px;
        height: 50px;
        object-fit: cover;
        margin-right: 10px;
    }
    
    .cart-item-details {
        flex: 1;
    }
    
    .cart-item-title {
        font-size: 14px;
        margin-bottom: 5px;
        color: #333;
    }
    
    .cart-item-price {
        font-size: 13px;
        color: #e63946;
        font-weight: bold;
    }
    
    .cart-item-quantity {
        font-size: 12px;
        color: #666;
    }
    
    .cart-footer {
        padding: 15px;
        border-top: 1px solid #dee2e6;
        background: #f8f9fa;
    }
    
    .cart-total {
        display: flex;
        justify-content: space-between;
        margin-bottom: 10px;
        font-weight: bold;
    }
    
   .cart-buttons {
    display: flex;
    gap: 10px;
    justify-content: center; /* Centra los botones horizontalmente */
    align-items: center;     /* Centra verticalmente */
    width: 100%;
}

.cart-buttons .btn {
    flex: 1;
    padding: 8px;
    font-size: 14px;
    text-align: center;      /* Centra el texto dentro del bot¨®n */
    display: inline-flex;     /* Asegura que el texto se centre */
    justify-content: center;  /* Centra contenido flexible */
    align-items: center;      /* Centra verticalmente */
    text-decoration: none;
    white-space: nowrap;      /* Evita que el texto se rompa */
}
    
    .cart-empty {
        padding: 20px;
        text-align: center;
        color: #666;
    }
    
    .position-relative {
        position: relative;
    }
    
    .cart-wrapper {
        position: relative;
    }
    
    /* Ocultar cualquier badge en el header */
header .product-badge,
nav .product-badge,
.header-top .product-badge,
.header-main .product-badge,
.cart-dropdown .product-badge {
    display: none !important;
}
    
.header-main {
    position: relative;
    z-index: 1030;
}