/* ==========================================================================
   UNIBOX LUXURY SHOPPING CART
   ========================================================================== */

.cart-page-wrapper {
    background-color: #f8fafc;
    min-height: 80vh;
}

.modern-card {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
    border: 1px solid #e2e8f0;
}

/* Modern Cart Table */
.modern-cart-table {
    width: 100%;
    border-collapse: collapse;
}

.modern-cart-table thead th {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
    background: #f8fafc;
}

.modern-cart-table tbody td {
    padding: 16px 14px;
    border-bottom: 1px solid #f1f5f9;
}

.modern-cart-table tbody tr:last-child td {
    border-bottom: none;
}

.cart-product-title {
    color: #0f172a;
    transition: color 0.2s ease;
}

.cart-product-title:hover {
    color: #2563eb;
}

/* Luxury Stepper */
.luxury-qty-stepper {
    display: inline-flex;
    align-items: center;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 9999px;
    padding: 3px 4px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.03);
}

.luxury-qty-stepper .stepper-btn {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #1e293b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
    transition: all 0.15s ease;
}

.luxury-qty-stepper .stepper-btn:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.luxury-qty-stepper .qty-input {
    width: 38px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: 700;
    font-size: 14px;
    color: #0f172a;
    padding: 0;
    outline: none;
}

/* Remove button */
.btn-remove {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    border: 1px solid #fee2e2;
    background: #fef2f2;
    color: #ef4444;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}

.btn-remove:hover {
    background: #ef4444;
    color: #ffffff;
    border-color: #ef4444;
    transform: scale(1.05);
}

/* Shipping boxes */
.shipping-box {
    display: flex;
    align-items: center;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    background: #ffffff;
    transition: all 0.2s ease;
}

.shipping-box:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.shipping-box.active-box {
    border-color: #2563eb;
    background: #eff6ff;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.08);
}

.shipping-box .check-icon {
    font-size: 18px;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.shipping-box.active-box .check-icon {
    color: #2563eb;
}

.btn-modern {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-outline-modern {
    background: #ffffff;
    color: #334155;
    border: 1px solid #cbd5e1;
}

.btn-outline-modern:hover {
    background: #0f172a;
    color: #ffffff;
    border-color: #0f172a;
}

.btn-primary-custom {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.2);
}

.btn-primary-custom:hover {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.25);
}

/* ==========================================================================
   MOBILE & TABLET RESPONSIVENESS
   ========================================================================== */
@media (max-width: 991px) {
    .modern-card {
        padding: 20px;
    }
}

@media (max-width: 768px) {
    .cart-page-wrapper {
        padding: 15px 0 40px 0 !important;
    }

    .modern-card {
        padding: 16px 14px !important;
        border-radius: 14px !important;
    }

    .modern-cart-table thead {
        display: none !important;
    }

    .modern-cart-table tbody tr {
        display: block !important;
        background: #ffffff !important;
        border: 1px solid #e2e8f0 !important;
        border-radius: 14px !important;
        padding: 12px !important;
        margin-bottom: 12px !important;
        box-shadow: 0 2px 6px rgba(0,0,0,0.02) !important;
    }

    .modern-cart-table tbody td {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 8px 0 !important;
        border: none !important;
    }

    .modern-cart-table tbody td.cart-td-product {
        border-bottom: 1px solid #f1f5f9 !important;
        padding-bottom: 10px !important;
        padding-top: 0 !important;
    }

    .modern-cart-table tbody td.cart-td-price {
        display: none !important;
    }

    .modern-cart-table tbody td.cart-td-qty::before {
        content: "পরিমাণ (Quantity)";
        font-size: 13px;
        font-weight: 600;
        color: #64748b;
    }

    .modern-cart-table tbody td.cart-td-total {
        padding-top: 8px !important;
        border-top: 1px dashed #e2e8f0 !important;
    }

    .modern-cart-table tbody td.cart-td-total::before {
        content: "মোট (Total)";
        font-size: 14px;
        font-weight: 700;
        color: #0f172a;
    }

    .modern-cart-table tbody td.cart-td-action {
        justify-content: flex-end !important;
        padding-top: 4px !important;
    }

    .shipping-box {
        padding: 10px 12px !important;
    }

    .cart-actions {
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .cart-actions .btn-modern {
        width: 100% !important;
        text-align: center !important;
    }
}
