/* ==========================================================================
   BAGZELIA COMMERCE SUITE - ENTERPRISE CART PAGE STYLES
   2-Column Responsive Layout, Sticky Order Summary & Progress Stepper.
   ========================================================================== */

.bagzelia-cs-cart-page-wrap {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #0f172a;
}

/* ─── TOP BANNER ──────────────────────────────────────────────────────── */
.bz-cart-top-banner {
    text-align: center;
    margin-bottom: 30px;
}

.bz-cart-top-banner h1 {
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 8px 0;
    color: #0f172a;
}

.bz-cart-top-banner p {
    color: #64748b;
    font-size: 15px;
    margin: 0;
}

/* ─── STEPPER ─────────────────────────────────────────────────────────── */
.bz-stepper-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
    background: #ffffff;
    padding: 16px 24px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.bz-step {
    display: flex;
    align-items: center;
    gap: 8px;
    opacity: 0.5;
}

.bz-step.is-active {
    opacity: 1;
}

.bz-step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #0f172a;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
}

.bz-step.is-active .bz-step-num {
    background: #cba865;
    color: #ffffff;
}

.bz-step-label {
    font-size: 13px;
    font-weight: 700;
}

.bz-step-divider {
    flex: 1;
    max-width: 60px;
    height: 2px;
    background: #e2e8f0;
}

/* ─── GRID LAYOUT ─────────────────────────────────────────────────────── */
.bz-cart-page-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
}

@media (max-width: 960px) {
    .bz-cart-page-grid {
        grid-template-columns: 1fr;
    }
}

/* ─── CART TABLE ──────────────────────────────────────────────────────── */
.bz-cart-page-table {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
}

.bz-cart-table-header {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    padding: 16px 24px;
    background: #f8fafc;
    border-bottom: 1px solid #e2e8f0;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    color: #64748b;
}

.bz-cart-page-row {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid #f1f5f9;
}

.bz-cart-page-row:last-child {
    border-bottom: none;
}

.bz-prod-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bz-cart-page-remove {
    background: none;
    border: none;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
}

.bz-cart-page-remove:hover {
    color: #ef4444;
}

.bz-prod-thumb img {
    width: 64px;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
}

.bz-prod-name a {
    color: #0f172a;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
}

.bz-stock-status {
    font-size: 11px;
    color: #10b981;
    font-weight: 600;
    display: block;
    margin-top: 2px;
}

/* ─── ACTIONS BAR ─────────────────────────────────────────────────────── */
.bz-cart-page-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.bz-cart-page-coupon {
    display: flex;
    gap: 8px;
}

.bz-cart-page-coupon input {
    padding: 8px 14px;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 13px;
}

.bz-continue-shopping-link {
    color: #64748b;
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
}

.bz-continue-shopping-link:hover {
    color: #0f172a;
}

/* ─── STICKY ORDER SUMMARY ────────────────────────────────────────────── */
.bz-cart-summary-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    position: sticky;
    top: 30px;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

.bz-cart-summary-card h2 {
    font-size: 18px;
    font-weight: 800;
    margin: 0 0 20px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #e2e8f0;
}

.bz-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 12px;
    color: #334155;
}

.bz-summary-divider {
    height: 1px;
    background: #e2e8f0;
    margin: 16px 0;
}

.bz-grand-total {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
}

.bz-cart-page-checkout-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #cba865;
    color: #ffffff;
    padding: 14px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 800;
    font-size: 15px;
    margin-top: 20px;
    box-shadow: 0 4px 14px rgba(203, 168, 101, 0.4);
}

.bz-cart-page-checkout-btn:hover {
    background: #b5924f;
}

/* ─── TRUST BADGES ────────────────────────────────────────────────────── */
.bz-trust-badges {
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid #f1f5f9;
}

.bz-trust-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
    color: #64748b;
    margin-bottom: 10px;
}

/* ─── EMPTY STATE ─────────────────────────────────────────────────────── */
.bz-cart-page-empty {
    text-align: center;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 60px 20px;
}

.bz-empty-illustration {
    font-size: 56px;
    margin-bottom: 16px;
}
