/* --- CART PAGE BODY ADJUSTMENTS --- */
body {
    padding-top: 56px; /* Header ke liye jagah */
    background-color: var(--bg-light);
}

/* --- 1️⃣ CART HEADER --- */
.cart-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 56px;
    background-color: var(--card-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 16px;
    z-index: 1000;
    box-shadow: var(--shadow-light);
}

.header-title {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
}

.header-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-dark);
    text-decoration: none;
    background-color: var(--bg-light);
}

.header-icon .material-symbols-outlined {
    font-size: 20px;
}

/* --- 2️⃣ EMPTY CART STATE --- */
.cart-main {
    padding: 16px;
}

.empty-cart-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 80px 20px;
    margin-top: 20px;
}

.empty-cart-icon {
    width: 100px;
    height: 100px;
    background-color: #ffe6ec; /* Very light pink */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.empty-cart-icon .material-symbols-outlined {
    font-size: 48px;
    color: var(--primary-color);
}

.empty-cart-state h2 {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.empty-cart-state p {
    font-size: 14px;
    color: var(--text-grey);
    margin-bottom: 32px;
    line-height: 1.5;
}

.btn-shop-now {
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 6px rgba(255, 62, 108, 0.2);
}
/* --- 3️⃣ CART ITEM CARD --- */
.cart-items-container {
    padding-bottom: 90px; /* Checkout footer ke liye jagah */
}

.cart-item {
    display: flex;
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 12px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-light);
    gap: 12px;
}

.cart-item-image {
    width: 80px;
    height: 100px;
    background-color: #f0f2f5;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #adb5bd;
    font-size: 12px;
    font-weight: 700;
    flex-shrink: 0;
}

.cart-item-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.item-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 8px;
}

.item-delete-btn {
    background: none;
    border: none;
    color: var(--text-grey);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-delete-btn:hover {
    color: var(--primary-color);
}

.item-size {
    font-size: 12px;
    color: var(--text-grey);
    margin-top: 4px;
}

.item-size b {
    color: var(--text-dark);
}

.item-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 12px;
}

.item-price {
    font-size: 16px;
    font-weight: 800;
    color: var(--text-dark);
}

/* Small Quantity Controls */
.item-qty-controls {
    display: flex;
    align-items: center;
    border: 1px solid #d4d5d9;
    border-radius: 4px;
    overflow: hidden;
}

.qty-btn-small {
    background: #f8f9fa;
    border: none;
    padding: 2px 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-dark);
}

.qty-btn-small .material-symbols-outlined {
    font-size: 16px;
}

.qty-number-small {
    padding: 0 10px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-dark);
}

/* --- 4️⃣ ORDER SUMMARY (Bill Details) --- */
.order-summary {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 16px;
    box-shadow: var(--shadow-light);
    margin-top: 8px;
}

.summary-title {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    font-size: 13px;
    color: var(--text-grey);
}

.summary-value {
    color: var(--text-dark);
    font-weight: 500;
}

.success-text {
    color: var(--success);
    font-weight: 700;
}

.summary-divider {
    height: 1px;
    background-color: #e9ecef;
    margin: 12px 0;
}

.grand-total {
    font-size: 15px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 0;
}

/* --- 5️⃣ FIXED CHECKOUT FOOTER --- */
.checkout-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 70px;
    background-color: var(--card-bg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 16px;
    box-shadow: var(--shadow-top);
    z-index: 1000;
}

.checkout-total {
    display: flex;
    flex-direction: column;
}

.total-label {
    font-size: 11px;
    color: var(--text-grey);
    font-weight: 600;
}

.total-amount {
    font-size: 18px;
    font-weight: 800;
    color: var(--text-dark);
}

.btn-proceed {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(255, 62, 108, 0.2);
}
