/* Cart Drawer Styles */

/* Overlay */
.cart-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    /* slightly darker overlay */
    display: none;
    z-index: 1090;
    backdrop-filter: blur(2px);
    /* modern touch */
}

/* Drawer Container */
.cart-drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 420px;
    max-width: 90vw;
    height: 100vh;
    background: #ffffff;
    z-index: 1100;
    transition: right 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.1);
}

/* Header */
.cart-header {
    padding: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f1f1;
    font-size: 16px;
    font-weight: 500;
    background: #fff;
    color: #333;
}

.sh-close-cart {
    font-size: 20px;
    color: #666;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f5f5f5;
    transition: background 0.2s, color 0.2s;
}

.sh-close-cart:hover {
    background: #e0e0e0;
    color: #000;
}

/* Body */
.cart-body {
    padding: 24px;
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    background: #fafafa;
}

/* Single Product */
.cart-product {
    display: flex;
    gap: 16px;
    padding: 16px;
    margin-bottom: 16px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #eee;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.02);
}

/* Quantity Adjuster */
.qty {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 12px;
}

.qty button {
    width: 28px;
    height: 28px;
    border: 1px solid #e0e0e0;
    background: #fff;
    cursor: pointer;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    font-size: 16px;
    transition: background 0.2s;
}

.qty button:hover {
    background: #f0f0f0;
}

.qty span {
    font-size: 14px;
    font-weight: 500;
}

/* Footer Section */
.cart-footer {
    padding: 24px;
    border-top: 1px solid #eee;
    background: #fff;
}

.checkout-btn {
    width: 100%;
    padding: 16px;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 50px;
    /* Pill shaped */
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s, box-shadow 0.2s;
}

.checkout-btn:hover {
     color: #fff!important;
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}