/* --- CART DRAWER STYLES --- */

/* The Dark Overlay (Background) */
.cart-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7); z-index: 998;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }

/* The Sliding Drawer */
.cart-drawer {
    position: fixed; top: 0; right: -400px; width: 400px; height: 100%;
    background: white; z-index: 999;
    box-shadow: -5px 0 30px rgba(0,0,0,0.2);
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1); /* Swiss Smooth */
    display: flex; flex-direction: column;
}
.cart-drawer.open { right: 0; }

/* Drawer Header */
.cart-header {
    background: #0b1120; color: white; padding: 20px;
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 3px solid #bf9b30;
}
.cart-title { font-weight: 800; font-size: 16px; text-transform: uppercase; letter-spacing: 1px; }
.btn-close-cart { cursor: pointer; font-size: 24px; font-weight: bold; color: #bf9b30; }

/* Drawer Body (Items) */
.cart-items { flex: 1; padding: 20px; overflow-y: auto; }

.cart-item {
    display: flex; justify-content: space-between; align-items: flex-start;
    border-bottom: 1px solid #eee; padding-bottom: 15px; margin-bottom: 15px;
}
.item-info h4 { font-size: 14px; color: #0b1120; margin-bottom: 5px; font-weight: 700; }
.item-info p { font-size: 12px; color: #64748b; margin-bottom: 5px; }
.item-price { font-size: 14px; font-weight: 800; color: #bf9b30; }
.btn-remove { font-size: 10px; color: #ef4444; text-decoration: underline; cursor: pointer; border: none; background: none; padding: 0; }

/* Drawer Footer (Total & Checkout) */
.cart-footer { padding: 25px; background: #f8fafc; border-top: 1px solid #e2e8f0; }
.cart-total { display: flex; justify-content: space-between; margin-bottom: 20px; font-size: 18px; font-weight: 800; color: #0b1120; }
.btn-checkout {
    display: block; width: 100%; background: #0b1120; color: white;
    text-align: center; padding: 15px; font-weight: bold; text-transform: uppercase;
    font-size: 14px; transition: 0.2s; border: none; cursor: pointer;
}
.btn-checkout:hover { background: #bf9b30; color: #0b1120; }

/* --- SWISS STYLE SELECTOR BUTTONS --- */
.variant-container {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.variant-btn {
    flex: 1;
    padding: 15px;
    background: white;
    border: 1px solid #cbd5e1; /* Gray border default */
    border-radius: 6px;
    cursor: pointer;
    text-align: center;
    transition: 0.2s all;
    position: relative;
}

.variant-btn:hover {
    border-color: #bf9b30; /* Gold hover */
    background: #fffbeb;
}

.variant-btn.active {
    border: 2px solid #bf9b30; /* Thick Gold Active */
    background: #fffbeb;
    color: #0b1120;
    font-weight: 800;
}

.variant-btn .v-size {
    display: block;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 4px;
}

.variant-btn .v-price {
    font-size: 12px;
    color: #64748b;
}

.variant-btn.active .v-price {
    color: #b45309;
    font-weight: bold;
}