:root {
    --primary: #0d6efd;
    --primary-light: #edf5ff;
    --secondary: #6c757d;
    --success: #198754;
    --danger: #dc3545;
    --warning: #ffc107;
    --light: #f8f9fa;
    --dark: #212529;
    --border-radius: 8px;
    --box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.cart-container {
    background-color: #f9fafb;
    font-family: 'Noto Sans Bengali', SolaimanLipi, Siyam Rupali, Kalpurush, sans-serif;
    color: var(--dark);
}

.cart-container {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.section-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark);
}

.card {
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    background-color: white;
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 18px 20px;
}

.card-body {
    padding: 20px;
}

/* Cart Header */
.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.select-all-container {
    display: flex;
    align-items: center;
}

.custom-checkbox {
    width: 20px;
    height: 20px;
    margin-right: 10px;
    accent-color: var(--primary);
}

.select-all-label {
    font-weight: 500;
    color: var(--dark);
}

.cart-total {
    display: flex;
    align-items: center;
    gap: 10px;
}

.original-price {
    text-decoration: line-through;
    color: var(--secondary);
    font-size: 0.9rem;
}

.discount-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

/* Cart Items */
.cart-item {
    border-bottom: 1px solid rgba(0,0,0,0.05);
    padding: 20px 0;
}

    .cart-item:last-child {
        border-bottom: none;
    }

.item-image {
    width: 90px;
    height: 125px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.item-details h6 {
    font-weight: 600;
    margin-bottom: 6px;
    line-height: 1.4;
}

.item-author {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 12px;
}

.action-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 8px;
}

.btn-action {
    padding: 6px 12px;
    font-size: 0.85rem;
    border-radius: var(--border-radius);
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

.btn-remove {
    background-color: #fff0f0;
    color: var(--danger);
    border: 1px solid #ffdbdb;
}

    .btn-remove:hover {
        background-color: #ffe0e0;
    }

.btn-wishlist {
    background-color: white;
    color: var(--secondary);
    border: 1px solid #e0e0e0;
}

    .btn-wishlist:hover {
        background-color: #f8f8f8;
        color: var(--primary);
    }

.availability-warning {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 8px;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Quantity Control */
.quantity-control {
    display: flex;
    align-items: center;
    /*border-radius: var(--border-radius);*/
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    width: fit-content;
}

.qty-btn {
    width: 36px;
    height: 36px;
    background-color: white;
    border: 1px solid #e0e0e0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

    .qty-btn:hover {
        background-color: var(--primary-light);
        color: var(--primary);
    }

.qty-input {
    width: 40px;
    height: 36px;
    border: 1px solid #e0e0e0;
    text-align: center;
    font-weight: 500;
    border-left: none;
    border-right: none;
}

    .qty-input:focus {
        outline: none;
    }

.item-price {
    text-align: right;
}

.current-price {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 2px;
}

.old-price {
    text-decoration: line-through;
    color: var(--secondary);
    font-size: 0.9rem;
}

/* Gift Banner */
.gift-banner {
    background-color: #fff8e1;
    border-radius: var(--border-radius);
    padding: 15px;
    text-align: center;
    margin: 20px 0;
    border-left: 4px solid var(--warning);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.gift-icon {
    color: var(--warning);
    font-size: 1.2rem;
}

/* Service Boxes */
.service-box {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 15px;
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    gap: 12px;
    height: 100%;
    transition: all 0.2s;
}

    .service-box:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 14px rgba(0,0,0,0.1);
    }

.service-icon {
    width: 40px;
    height: 40px;
    background-color: var(--primary-light);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}

.service-text {
    font-weight: 500;
}

/* Address Section */
.address-container {
    position: relative;
}

.address-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.address-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0;
}

.address-selection {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
    position: relative;
}

.radio-button {
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    margin-right: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.radio-fill {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--primary);
}

.address-type {
    color: var(--primary);
    font-weight: 500;
}

.edit-btn {
    cursor:pointer;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
    transition: all 0.2s;
}

    .edit-btn:hover {
        color: #0b5ed7;
        text-decoration: underline;
    }

.address-details {
    margin-left: 34px;
}

    .address-details p {
        margin-bottom: 6px;
        font-size: 0.95rem;
    }

/* Points Box */
.points-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.points-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.coin-icon {
    width: 30px;
    height: 30px;
    background-color: var(--warning);
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
}

.points-value {
    font-weight: 500;
}

.redeem-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s;
}

    .redeem-link:hover {
        color: #0b5ed7;
        text-decoration: underline;
    }

/* Summary Box */
.summary-box .card-header {
    border: 2px solid #F29434;
    background-color: #FEC182;
    color: black;
    font-weight: 600;
    padding: 15px 20px;
    border-radius: 10px 10px 0px 0px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
}

.summary-label {
    color: var(--secondary);
}

.summary-value {
    font-weight: 500;
}

.summary-divider {
    margin: 15px 0;
    border-color: rgba(0,0,0,0.08);
}

.total-row {
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--dark);
}

.points-alert {
    background-color: #fff8e1;
    border-radius: var(--border-radius);
    padding: 12px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.points-alert-text {
    font-weight: 500;
    color: #856404;
}

.btn-gift {
    background-color: white;
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 12px;
    margin-top: 15px;
    margin-bottom: 10px;
    transition: all 0.2s;
}

    .btn-gift:hover {
        background-color: #093365;
    }

.btn-checkout {
    background-color: #D96E00;
    color: white;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    padding: 12px;
    margin-bottom: 15px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-checkout:hover {
    background-color: #000000;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}
.btn:hover {
    color: #ffffff !important;
}

.address-btn-color {
    background-color: #F29434 !important;
    border: 1px solid #ccc !important;
}
/*.modal-body label {
    font-weight: 500;
}

.form-select, .form-control {
    margin-bottom: 1rem;
}

.form-check-inline {
    margin-right: 20px;
}*/

.promo-info {
    text-align: center;
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

@media (max-width: 767px) {
    .item-details {
        margin-top: 10px;
    }

    .item-price {
        margin-top: 10px;
        text-align: left;
    }
}
