/* Collection Overlay */
.collection-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
    z-index: 999;
}

.collection-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Collection Drawer */
.collection-drawer {
    position: fixed;
    top: 0; right: -450px; /* Hidden off-screen by default */
    width: 450px; height: 100vh;
    background-color: #151515; 
    border-left: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    transition: right 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.collection-drawer.open {
    right: 0;
}

/* Drawer Internals */
.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 400;
    color: #FFFFFF;
}

.close-drawer {
    background: none; border: none;
    color: #888888;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-drawer:hover { color: #FFFFFF; }

.drawer-items {
    flex: 1;
    overflow-y: auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Empty State Styling */
.empty-collection {
    text-align: center;
    color: #888888;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    margin-top: 2rem;
}

/* Individual Cart Item */
.cart-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.cart-item img {
    width: 80px; height: 100px;
    object-fit: cover;
}

.cart-item-details { flex: 1; }
.cart-item-title {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: #FFFFFF;
    margin-bottom: 0.25rem;
}
.cart-item-meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #888888;
    text-transform: uppercase;
}
.cart-item-remove {
    background: none; border: none;
    color: #888888;
    font-size: 0.75rem;
    cursor: pointer;
    text-decoration: underline;
    margin-top: 0.5rem;
}

.cart-item-remove:hover { color: #ff4444; }

/* Drawer Footer */
.drawer-footer {
    padding: 2rem;
    background: #090909;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.drawer-total {
    display: flex;
    justify-content: space-between;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #FFFFFF;
    margin-bottom: 1.5rem;
}

/* Sleek Luxury Checkout Button */
.checkout-btn {
    width: 100%;
    padding: 1.2rem;
    background-color: #FFFFFF;
    color: #090909;
    border: 1px solid #FFFFFF;
    font-family: 'Inter', sans-serif;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.checkout-btn:hover { 
    background-color: transparent; 
    color: #FFFFFF; 
}