/* ==========================================
   CART DRAWERS (Sincronizado con drawer.css)
   ========================================== */

/* Ajustes para el contenido del carrito */
.cart-drawer-view {
    padding: 20px;
    font-family: 'Helvetica Neue', Arial, sans-serif;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    overscroll-behavior-y: contain;
}

.checkout-btn-main {
    width: 100%;
    padding: 14px;
    background: #333; /* Gris muy oscuro */
    color: white;
    border: none;
    cursor: pointer;
    margin-top: 15px;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.checkout-btn-main:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.cart-item {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 20px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.cart-item-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
    background: var(--bg-light);
}

.cart-name { 
    font-weight: 600; 
    color: var(--text-dark); 
    margin: 0 0 5px 0; 
    font-family: 'Playfair Display', serif;
}

.cart-size { font-size: 0.85rem; color: var(--text-muted); }
.cart-price { font-weight: 700; color: var(--bg-dark); margin: 5px 0; }

.qty-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 10px;
}

.qty-btn {
    background: #f4f4f4;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: background 0.3s;
}

.remove-btn {
    background: none;
    border: none;
    color: #999;
    font-size: 0.75rem;
    text-decoration: underline;
    cursor: pointer;
    margin-top: 10px;
}

/* Footer del Carrito */
.cart-footer {
    padding: 25px;
    background: #ffffff;
    border-top: 1px solid #eee;
}

.cart-total {
    display: flex;
    justify-content: space-between;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 20px;
    padding-top: 10px;
    border-top: 1px solid #eee;
}

.terms-label {
    font-size: 12px;
    color: #666;
}

/* Botón Checkout */
.primary-btn.black-btn {
    width: 100%;
    background: var(--bg-dark); /* Verde Bosque */
    color: var(--white);
    padding: 15px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: background 0.3s;
}

.primary-btn.black-btn:hover {
    background: #23471e;
}

.primary-btn.black-btn.disabled-btn {
    background: #ccc;
    cursor: not-allowed;
}

/* Estado Vacío */
.cart-empty-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    text-align: center;
    padding: 20px;
}

.cart-empty-img {
    width: 150px;
    margin-bottom: 20px;
    opacity: 0.5;
}

/* Envío Gratis (ScentVault style) */
.cv-shipping-notice {
    background: #fffdf9;
    border: 1px solid var(--gold);
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 20px;
    text-align: center;
}

.cv-progress-fill {
    background: var(--gold);
    height: 6px;
    border-radius: 10px;
}