/* ==========================================================================
   SAMRAA LUXURY ONE-PAGE CHECKOUT & CART STYLESHEET
   Clean, Elegant, High-Conversion E-commerce Architecture
   ========================================================================== */

:root {
    --cart-burgundy: #5A1835;
    --cart-burgundy-dark: #3e1024;
    --cart-burgundy-light: rgba(90, 24, 53, 0.06);
    --cart-burgundy-hover: #48132a;
    --cart-emerald: #10b981;
    --cart-emerald-dark: #059669;
    --cart-emerald-light: rgba(16, 185, 129, 0.08);
    --cart-card-bg: #ffffff;
    --cart-surface: #f9f9fb;
    --cart-surface-elevated: #f4f4f7;
    --cart-border: #e8e8ed;
    --cart-border-subtle: #f1f1f5;
    --cart-text-main: #18181b;
    --cart-text-muted: #64748b;
    --cart-radius-lg: 18px;
    --cart-radius-md: 12px;
    --cart-radius-sm: 8px;
    --cart-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    --cart-shadow-hover: 0 8px 30px rgba(90, 24, 53, 0.06);
}

html[data-theme="dark"] {
    --cart-card-bg: #1c1c20;
    --cart-surface: #121215;
    --cart-surface-elevated: #242429;
    --cart-border: rgba(255, 255, 255, 0.08);
    --cart-border-subtle: #2d2d34;
    --cart-text-main: #f4f4f5;
    --cart-text-muted: #94a3b8;
    --cart-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    --cart-shadow-hover: 0 12px 36px rgba(0, 0, 0, 0.6);
}

/* Page Wrapper */
.samraa-cart-page {
    background-color: var(--cart-surface);
    padding: 30px 0 80px;
    min-height: calc(100vh - 300px);
}

/* Page Header */
.checkout-header-clean {
    margin-bottom: 24px;
    text-align: start;
}

.chc-title {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--cart-text-main);
    margin: 0 0 6px;
    letter-spacing: -0.3px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.chc-title i {
    color: var(--cart-burgundy);
    font-size: 1.4rem;
}

.chc-subtitle {
    font-size: 14px;
    color: var(--cart-text-muted);
    margin: 0;
}

/* Two-Column Grid */
.checkout-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 390px;
    gap: 28px;
    align-items: start;
}

@media (max-width: 992px) {
    .checkout-grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}

/* Base Card Style */
.checkout-card {
    background: var(--cart-card-bg);
    border-radius: var(--cart-radius-lg);
    border: 1px solid var(--cart-border);
    box-shadow: var(--cart-shadow);
    padding: 24px 28px;
    margin-bottom: 22px;
    position: relative;
    transition: box-shadow 0.25s ease;
}

.checkout-card:hover {
    box-shadow: var(--cart-shadow-hover);
}

/* Section Header Clean */
.section-header-clean {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--cart-border-subtle);
}

.shc-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: var(--cart-burgundy-light);
    color: var(--cart-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.shc-text {
    flex: 1;
}

.shc-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--cart-text-main);
    margin: 0 0 3px;
}

.shc-desc {
    font-size: 12.5px;
    color: var(--cart-text-muted);
    margin: 0;
}

/* ==========================================================================
   1. FREE SHIPPING PROGRESS BAR (5,000 EGP)
   ========================================================================== */
.free-shipping-card {
    background: linear-gradient(135deg, rgba(90, 24, 53, 0.03) 0%, rgba(16, 185, 129, 0.05) 100%);
    border: 1.5px solid rgba(90, 24, 53, 0.12);
    border-radius: var(--cart-radius-lg);
    padding: 16px 22px;
    margin-bottom: 22px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.fsc-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.fsc-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid rgba(90, 24, 53, 0.15);
    color: var(--cart-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 3px 10px rgba(90, 24, 53, 0.08);
    flex-shrink: 0;
}

html[data-theme="dark"] .fsc-icon-wrap {
    background: #27272a;
}

.fsc-text {
    font-size: 13.5px;
    line-height: 1.5;
    color: var(--cart-text-main);
    flex: 1;
}

.fsc-highlight {
    color: var(--cart-burgundy);
    font-weight: 800;
}

.fsc-progress-bar-bg {
    height: 7px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 99px;
    margin-top: 12px;
    position: relative;
}

html[data-theme="dark"] .fsc-progress-bar-bg {
    background: rgba(255, 255, 255, 0.1);
}

.fsc-progress-bar-fill {
    height: 100%;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--cart-burgundy) 0%, #b8326e 100%);
    transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    min-width: 8px;
}

.fsc-bar-truck {
    position: absolute;
    inset-inline-end: -10px;
    top: -7px;
    width: 22px;
    height: 22px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    color: var(--cart-burgundy);
    border: 1px solid rgba(90, 24, 53, 0.2);
}

.free-shipping-card.is-unlocked {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0.02) 100%);
    border-color: rgba(16, 185, 129, 0.35);
}

.free-shipping-card.is-unlocked .fsc-icon-wrap {
    background: var(--cart-emerald);
    color: #ffffff;
    border-color: var(--cart-emerald);
}

.free-shipping-card.is-unlocked .fsc-progress-bar-fill {
    background: linear-gradient(90deg, #10b981 0%, #059669 100%);
}

.free-shipping-card.is-unlocked .fsc-bar-truck {
    color: var(--cart-emerald);
    border-color: var(--cart-emerald);
}

/* ==========================================================================
   2. CART ITEMS SECTION
   ========================================================================== */
.cart-product-item-luxury {
    display: flex;
    gap: 18px;
    padding-bottom: 18px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--cart-border-subtle);
    position: relative;
    transition: transform 0.2s ease;
}

.cart-product-item-luxury:last-child {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.cil-image-wrapper {
    width: 95px;
    height: 120px;
    border-radius: var(--cart-radius-md);
    overflow: hidden;
    background: var(--cart-surface-elevated);
    border: 1px solid var(--cart-border-subtle);
    flex-shrink: 0;
    position: relative;
}

.cil-image-wrapper a {
    width: 100%;
    height: 100%;
    display: block;
}

.cil-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.3s ease;
}

.cart-product-item-luxury:hover .cil-image {
    transform: scale(1.04);
}

.cil-details {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cil-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.cil-badge {
    font-size: 11px;
    font-weight: 700;
    color: var(--cart-burgundy);
    background: var(--cart-burgundy-light);
    padding: 2px 8px;
    border-radius: 6px;
    display: inline-block;
}

.cil-remove-btn {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    background: rgba(239, 68, 68, 0.06);
    color: #ef4444;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cil-remove-btn:hover {
    background: #ef4444;
    color: #ffffff;
    transform: scale(1.06);
}

.cil-title {
    font-size: 15px;
    font-weight: 700;
    margin: 5px 0 8px;
    line-height: 1.4;
}

.cil-title a {
    color: var(--cart-text-main);
    text-decoration: none;
    transition: color 0.2s ease;
}

.cil-title a:hover {
    color: var(--cart-burgundy);
}

.cil-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    font-size: 12.5px;
    color: var(--cart-text-muted);
    margin-bottom: 12px;
}

.cil-meta-pill {
    background: var(--cart-surface-elevated);
    border: 1px solid var(--cart-border-subtle);
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 11.5px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.cil-meta-pill strong {
    color: var(--cart-text-main);
}

.color-dot {
    width: 11px;
    height: 11px;
    border-radius: 50%;
    display: inline-block;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.cil-unit-price {
    font-size: 12px;
    color: var(--cart-text-muted);
}

.cil-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.cil-stepper-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cil-stepper-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--cart-text-muted);
}

.luxury-stepper {
    display: inline-flex;
    align-items: center;
    background: var(--cart-surface-elevated);
    border: 1px solid var(--cart-border-subtle);
    border-radius: var(--cart-radius-sm);
    padding: 3px;
    gap: 6px;
}

.stepper-btn {
    width: 26px;
    height: 26px;
    border-radius: 6px;
    background: var(--cart-card-bg);
    border: 1px solid var(--cart-border-subtle);
    color: var(--cart-text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.stepper-btn:hover {
    background: var(--cart-burgundy);
    color: #ffffff;
    border-color: var(--cart-burgundy);
}

.item-qty-val {
    min-width: 22px;
    text-align: center;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cart-text-main);
}

.cil-line-total-wrap {
    text-align: end;
}

.cil-line-total {
    font-size: 17px;
    font-weight: 800;
    color: var(--cart-burgundy);
}

.cart-card-bottom-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    margin-top: 10px;
    border-top: 1px dashed var(--cart-border-subtle);
}

.continue-shopping-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cart-burgundy);
    text-decoration: none;
    transition: gap 0.2s ease;
}

.continue-shopping-link:hover {
    gap: 12px;
}

.btn-clear-cart {
    background: none;
    border: none;
    color: var(--cart-text-muted);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn-clear-cart:hover {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.08);
}

/* ==========================================================================
   3. DELIVERY ADDRESS FORM (REFINED & INTUITIVE)
   ========================================================================== */
.samraa-form-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-row-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row-2col {
        grid-template-columns: 1fr;
        gap: 14px;
    }
}

.samraa-form-group {
    display: flex;
    flex-direction: column;
    position: relative;
}

.samraa-form-label {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cart-text-main);
    margin-bottom: 7px;
    display: flex;
    align-items: center;
}

.samraa-form-label .req {
    color: var(--cart-burgundy);
    margin-inline-start: 4px;
    font-weight: 800;
}

.samraa-form-label .opt {
    color: var(--cart-text-muted);
    font-size: 12px;
    font-weight: 500;
    margin-inline-start: 6px;
}

/* Inputs */
.samraa-input {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border-radius: var(--cart-radius-md);
    border: 1.5px solid var(--cart-border);
    background: var(--cart-card-bg);
    color: var(--cart-text-main);
    font-family: inherit;
    font-size: 14px;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.samraa-input:focus {
    border-color: var(--cart-burgundy) !important;
    box-shadow: 0 0 0 4px rgba(90, 24, 53, 0.08) !important;
    outline: none;
}

.samraa-input.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08) !important;
}

.samraa-input-hint {
    font-size: 11.5px;
    color: var(--cart-text-muted);
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
}

.samraa-input-hint i {
    color: var(--cart-emerald);
}

/* Phone Group - Ultra Robust & Non-clipping */
.samraa-phone-group,
.modern-phone-wrapper,
.samraa-luxury-phone-group {
    display: flex !important;
    align-items: stretch !important;
    border: 1.5px solid var(--cart-border, #e2e8f0) !important;
    border-radius: var(--cart-radius-md, 12px) !important;
    background: var(--cart-card-bg, #ffffff) !important;
    position: relative !important;
    overflow: visible !important; /* CRITICAL: Must be visible so the dropdown popup is never clipped */
    transition: all 0.2s ease !important;
    box-sizing: border-box !important;
}

.samraa-phone-group:focus-within,
.modern-phone-wrapper:focus-within,
.samraa-luxury-phone-group:focus-within {
    border-color: var(--cart-burgundy, #5A1835) !important;
    box-shadow: 0 0 0 4px rgba(90, 24, 53, 0.08) !important;
    z-index: 100 !important;
}

.samraa-phone-group.is-invalid,
.modern-phone-wrapper.is-invalid,
.samraa-luxury-phone-group.is-invalid {
    border-color: #ef4444 !important;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.08) !important;
}

/* Ensure phone row is elevated above subsequent elements when active/open */
.clean-form-group:has(.samraa-select-menu.open),
.clean-form-group:has(.samraa-phone-menu.open),
.samraa-form-group:has(.samraa-select-menu.open),
.samraa-form-group:has(.samraa-phone-menu.open) {
    z-index: 1500 !important;
    position: relative !important;
}

/* Phone Prefix Container & Divider */
.phone-prefix-container {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    border: none !important;
    border-inline-end: 1.5px solid var(--cart-border, #e2e8f0) !important;
    z-index: 100 !important;
    overflow: visible !important;
}

.samraa-phone-prefix-btn {
    height: 48px !important;
    min-height: 48px !important;
    padding: 0 14px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer !important;
    color: var(--cart-text-main, #1e293b) !important;
    font-weight: 700 !important;
    font-size: 14.5px !important;
    border-start-start-radius: calc(var(--cart-radius-md, 12px) - 1.5px) !important;
    border-end-start-radius: calc(var(--cart-radius-md, 12px) - 1.5px) !important;
    transition: background 0.2s ease !important;
}

.samraa-phone-prefix-btn:hover {
    background: rgba(90, 24, 53, 0.04) !important;
}

.samraa-phone-flag {
    font-size: 19px !important;
    line-height: 1 !important;
}

.samraa-phone-dial {
    direction: ltr !important;
    font-family: inherit !important;
    font-weight: 700 !important;
    color: var(--cart-text-main, #1e293b) !important;
}

.samraa-phone-chevron {
    font-size: 11px !important;
    color: var(--cart-text-muted, #94a3b8) !important;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.samraa-phone-prefix-btn[aria-expanded="true"] .samraa-phone-chevron {
    transform: rotate(180deg) !important;
    color: var(--cart-burgundy, #5A1835) !important;
}

/* Phone Dropdown Popup Menu */
.samraa-phone-menu {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    inset-inline-start: 0 !important;
    width: 320px !important;
    max-width: min(340px, calc(100vw - 32px)) !important;
    background: var(--cart-card-bg, #ffffff) !important;
    border: 1.5px solid var(--cart-border, #e2e8f0) !important;
    border-radius: 14px !important;
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    z-index: 99999 !important;
    display: none;
    flex-direction: column !important;
    overflow: hidden !important;
    animation: samraaMenuDrop 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.samraa-phone-menu.open {
    display: flex !important;
}

.samraa-phone-menu.open-upward {
    top: auto !important;
    bottom: calc(100% + 6px) !important;
    box-shadow: 0 -20px 45px -10px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.04) !important;
    animation: samraaMenuDropUp 0.22s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.samraa-phone-menu .samraa-search-header {
    background: var(--cart-surface-elevated, #f8fafc) !important;
    border-bottom: 1px solid var(--cart-border, #e2e8f0) !important;
}

.samraa-phone-menu .samraa-search-input {
    color: var(--cart-text-main, #1e293b) !important;
}

.samraa-phone-menu .samraa-option-item {
    color: var(--cart-text-main, #1e293b) !important;
}

.samraa-phone-menu .samraa-option-item:hover {
    background: rgba(90, 24, 53, 0.08) !important;
    color: var(--cart-burgundy, #5A1835) !important;
}

/* Phone Input */
.samraa-phone-input,
input.checkout-phone-input,
.modern-phone-wrapper input.checkout-phone-input {
    flex: 1 1 auto !important;
    height: 48px !important;
    min-height: 48px !important;
    border: none !important;
    border-width: 0 !important;
    background: transparent !important;
    padding: 0 16px !important;
    font-size: 15px !important;
    color: var(--cart-text-main, #1e293b) !important;
    font-family: inherit !important;
    box-shadow: none !important;
    outline: none !important;
    border-start-end-radius: calc(var(--cart-radius-md, 12px) - 1.5px) !important;
    border-end-end-radius: calc(var(--cart-radius-md, 12px) - 1.5px) !important;
    letter-spacing: 0.5px;
}

/* Custom Select Dropdowns */
.samraa-custom-select .samraa-select-trigger {
    height: 48px !important;
    border-radius: var(--cart-radius-md) !important;
    border: 1.5px solid var(--cart-border) !important;
    font-size: 14px !important;
    color: var(--cart-text-main) !important;
    background: var(--cart-card-bg) !important;
}

.samraa-custom-select .samraa-select-trigger:focus,
.samraa-custom-select .samraa-select-trigger[aria-expanded="true"] {
    border-color: var(--cart-burgundy) !important;
    box-shadow: 0 0 0 4px rgba(90, 24, 53, 0.08) !important;
}

/* ==========================================================================
   4. PAYMENT METHOD SECTION (CLEAN & TRUSTED)
   ========================================================================== */
.payment-card-hero {
    border: 2px solid var(--cart-burgundy);
    background: linear-gradient(135deg, rgba(90, 24, 53, 0.02) 0%, rgba(16, 185, 129, 0.03) 100%);
    border-radius: var(--cart-radius-md);
    padding: 20px 24px;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.25s ease;
}

.payment-card-hero:hover {
    box-shadow: 0 6px 20px rgba(90, 24, 53, 0.08);
}

.pch-radio {
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--cart-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    flex-shrink: 0;
}

.pch-radio-inner {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--cart-burgundy);
}

.pch-content {
    flex: 1;
}

.pch-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 5px;
}

.pch-title {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--cart-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}

.pch-title i {
    color: #059669;
    font-size: 18px;
}

.pch-badge {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 99px;
}

.pch-desc {
    font-size: 13px;
    color: var(--cart-text-muted);
    line-height: 1.5;
    margin: 0 0 12px;
}

.pch-perks {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pch-perk-pill {
    background: #ffffff;
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #059669;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

html[data-theme="dark"] .pch-perk-pill {
    background: #27272a;
}

/* Online Payment Options Clean Banner */
.payment-online-banner {
    margin-top: 18px;
    padding: 20px 24px;
    background: linear-gradient(135deg, rgba(90, 24, 53, 0.03) 0%, rgba(16, 185, 129, 0.04) 100%);
    border-radius: var(--cart-radius-md);
    border: 1.5px dashed rgba(90, 24, 53, 0.22);
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: all 0.25s ease;
}

.payment-online-banner:hover {
    border-color: var(--cart-burgundy);
    box-shadow: 0 4px 16px rgba(90, 24, 53, 0.06);
}

.pob-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.pob-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: #ffffff;
    border: 1.5px solid rgba(90, 24, 53, 0.15);
    color: var(--cart-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 3px 10px rgba(90, 24, 53, 0.08);
}

html[data-theme="dark"] .pob-icon {
    background: #27272a;
}

.pob-heading {
    font-size: 15.5px;
    font-weight: 800;
    color: var(--cart-text-main);
    line-height: 1.6;
    margin: 0;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.pob-divider {
    color: var(--cart-text-muted);
    font-weight: 400;
    opacity: 0.6;
}

.pob-highlight {
    color: var(--cart-emerald-dark, #059669);
    font-weight: 900;
    display: inline-block;
}

.pob-supported {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    padding-top: 12px;
    border-top: 1px dashed rgba(90, 24, 53, 0.1);
}

html[data-theme="dark"] .pob-supported {
    border-top-color: rgba(255, 255, 255, 0.08);
}

.pob-label {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--cart-text-muted);
    margin-inline-end: 4px;
}

.pob-provider-pill {
    background: #ffffff;
    border: 1px solid var(--cart-border);
    padding: 4px 11px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
    color: var(--cart-text-main);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
}

html[data-theme="dark"] .pob-provider-pill {
    background: #242429;
}

.pob-provider-pill i {
    color: var(--cart-burgundy);
    font-size: 13px;
}

/* ==========================================================================
   5. ORDER SUMMARY SIDEBAR (STICKY)
   ========================================================================== */
.order-summary-card-luxury {
    position: sticky;
    top: 90px;
    background: var(--cart-card-bg);
    border-radius: var(--cart-radius-lg);
    border: 1px solid var(--cart-border);
    box-shadow: var(--cart-shadow);
    padding: 24px;
}

.osc-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--cart-border-subtle);
}

.osc-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--cart-text-main);
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.osc-title i {
    color: var(--cart-burgundy);
}

.cart-badge-pill {
    background: var(--cart-surface-elevated);
    color: var(--cart-burgundy);
    border: 1px solid var(--cart-border);
    padding: 3px 10px;
    border-radius: 99px;
    font-size: 11.5px;
    font-weight: 700;
}

.osc-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
}

.osc-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13.5px;
    color: var(--cart-text-muted);
}

.osc-row strong {
    color: var(--cart-text-main);
    font-size: 14.5px;
}

.free-shipping-tag {
    background: var(--cart-emerald-light);
    color: var(--cart-emerald);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 6px;
    padding: 2px 8px;
    font-size: 12px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Coupon Box */
.osc-coupon-box {
    margin: 16px 0;
    padding: 12px;
    background: var(--cart-surface-elevated);
    border-radius: var(--cart-radius-md);
    border: 1px dashed var(--cart-border);
}

.osc-coupon-input-group {
    display: flex;
    gap: 8px;
}

.osc-coupon-input {
    flex: 1;
    height: 38px;
    padding: 0 12px;
    border-radius: var(--cart-radius-sm);
    border: 1px solid var(--cart-border-subtle);
    background: var(--cart-card-bg);
    color: var(--cart-text-main);
    font-family: inherit;
    font-size: 13px;
    text-transform: uppercase;
}

.osc-coupon-btn {
    padding: 0 16px;
    height: 38px;
    border-radius: var(--cart-radius-sm);
    background: var(--cart-burgundy);
    color: #ffffff;
    border: none;
    font-weight: 700;
    font-size: 12.5px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.osc-coupon-btn:hover {
    background: var(--cart-burgundy-hover);
}

.coupon-feedback {
    font-size: 11.5px;
    margin-top: 6px;
    display: none;
}

.coupon-feedback.error {
    color: #ef4444;
}

.coupon-feedback.success {
    color: var(--cart-emerald);
}

/* Total Row */
.osc-total-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-top: 14px;
    margin-top: 8px;
    border-top: 2px solid var(--cart-border-subtle);
}

.osc-total-label {
    font-size: 15px;
    font-weight: 800;
    color: var(--cart-text-main);
}

.osc-total-amount {
    font-size: 22px;
    font-weight: 900;
    color: var(--cart-burgundy);
    letter-spacing: -0.5px;
}

/* Primary CTA Button */
.btn-pay-luxury {
    background: linear-gradient(135deg, var(--cart-burgundy) 0%, var(--cart-burgundy-dark) 100%);
    color: #ffffff;
    border: none;
    border-radius: var(--cart-radius-md);
    padding: 16px 22px;
    width: 100%;
    font-weight: 800;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(90, 24, 53, 0.25);
    margin-top: 18px;
}

.btn-pay-luxury:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(90, 24, 53, 0.35);
}

.btn-pay-luxury:active {
    transform: translateY(0);
}

.btn-pay-luxury:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-pay-price-wrap {
    display: flex;
    align-items: baseline;
    gap: 4px;
    font-size: 16px;
    font-weight: 900;
}

.osc-security-note {
    text-align: center;
    margin-top: 12px;
    font-size: 11.5px;
    color: var(--cart-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.osc-security-note i {
    color: var(--cart-emerald);
}

/* Trust Badges */
.cart-luxury-trust-stack {
    margin-top: 20px;
    padding: 14px;
    background: var(--cart-surface-elevated);
    border-radius: var(--cart-radius-md);
    border: 1px solid var(--cart-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.clt-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.clt-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--cart-card-bg);
    border: 1px solid var(--cart-border-subtle);
    color: var(--cart-burgundy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.clt-text {
    display: flex;
    flex-direction: column;
}

.clt-text strong {
    font-size: 11.5px;
    font-weight: 700;
    color: var(--cart-text-main);
}

.clt-text span {
    font-size: 10.5px;
    color: var(--cart-text-muted);
}

/* ==========================================================================
   6. EMPTY CART LUXURY STATE
   ========================================================================== */
.cart-empty-luxury-card {
    text-align: center;
    padding: 55px 25px;
    background: var(--cart-card-bg);
    border-radius: var(--cart-radius-lg);
    border: 1px solid var(--cart-border);
    box-shadow: var(--cart-shadow);
    max-width: 580px;
    margin: 40px auto;
}

.cel-halo-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(90, 24, 53, 0.08) 0%, rgba(90, 24, 53, 0.02) 100%);
    border: 1px solid rgba(90, 24, 53, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
}

.cel-inner-circle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--cart-burgundy);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.cel-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--cart-text-main);
    margin-bottom: 8px;
}

.cel-desc {
    font-size: 14px;
    color: var(--cart-text-muted);
    max-width: 420px;
    margin: 0 auto 24px;
    line-height: 1.6;
}

.cel-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--cart-burgundy) 0%, var(--cart-burgundy-dark) 100%);
    color: #ffffff;
    padding: 14px 34px;
    border-radius: var(--cart-radius-md);
    font-weight: 800;
    font-size: 14.5px;
    text-decoration: none;
    box-shadow: 0 6px 20px rgba(90, 24, 53, 0.25);
    transition: all 0.25s ease;
}

.cel-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(90, 24, 53, 0.35);
    color: #ffffff;
}

/* ==========================================================================
   7. MOBILE BOTTOM STICKY BAR
   ========================================================================== */
.sticky-pay-wrapper {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    padding: 12px 18px;
    border-top: 1px solid var(--cart-border);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.06);
    z-index: 1000;
}

html[data-theme="dark"] .sticky-pay-wrapper {
    background: rgba(28, 28, 32, 0.94);
}

@media (max-width: 640px) {
    .samraa-cart-page {
        padding: 20px 0 90px;
    }
    .checkout-card {
        padding: 18px;
        border-radius: 14px;
    }
    .payment-card-hero {
        padding: 16px;
    }
}


/* ==========================================================================
   8. CHECKOUT PAGE DEDICATED STYLES & ORDER REVIEW TABLE
   ========================================================================== */
.checkout-steps-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.checkout-step-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--cart-text-muted);
    text-decoration: none;
    transition: color 0.2s;
}

.checkout-step-item.completed {
    color: var(--cart-emerald, #10b981);
}

.checkout-step-item.active {
    color: var(--cart-burgundy);
    font-weight: 700;
}

.checkout-step-num {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    background: var(--cart-surface-elevated, #f1f5f9);
    color: inherit;
}

.checkout-step-item.completed .checkout-step-num {
    background: rgba(16, 185, 129, 0.12);
    color: var(--cart-emerald, #10b981);
}

.checkout-step-item.active .checkout-step-num {
    background: var(--cart-burgundy);
    color: #ffffff;
}

.checkout-step-divider {
    color: var(--cart-border);
    font-size: 11px;
}

/* Order Review Table */
.checkout-table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--cart-border);
    border-radius: var(--cart-radius-md, 12px);
    margin-bottom: 20px;
    background: var(--cart-card-bg);
}

.checkout-review-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    color: var(--cart-text-main);
}

.checkout-review-table thead th {
    background: var(--cart-surface-elevated, #f8fafc);
    padding: 12px 14px;
    font-weight: 700;
    font-size: 12.5px;
    color: var(--cart-text-muted);
    border-bottom: 1px solid var(--cart-border);
    text-align: inherit;
    white-space: nowrap;
}

.checkout-review-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--cart-border-subtle, #f1f5f9);
    vertical-align: middle;
}

.checkout-review-table tfoot td {
    padding: 12px 14px;
    border-top: 1px solid var(--cart-border);
    font-weight: 600;
}

.table-product-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 180px;
}

.table-product-thumb {
    width: 44px;
    height: 44px;
    border-radius: 8px;
    object-fit: cover;
    background: var(--cart-surface-elevated);
    border: 1px solid var(--cart-border);
    flex-shrink: 0;
}

.table-product-info {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.table-product-title {
    font-weight: 700;
    color: var(--cart-text-main);
    line-height: 1.3;
}

.table-product-meta {
    font-size: 11.5px;
    color: var(--cart-text-muted);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.table-barcode-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: monospace, sans-serif;
    font-size: 12px;
    font-weight: 700;
    background: rgba(90, 24, 53, 0.05);
    color: var(--cart-burgundy);
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px dashed rgba(90, 24, 53, 0.18);
    white-space: nowrap;
}

.table-qty-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    padding: 0 6px;
    border-radius: 6px;
    background: var(--cart-surface-elevated, #f8fafc);
    border: 1px solid var(--cart-border);
    font-weight: 700;
}

.review-val-total {
    color: var(--cart-burgundy);
    font-size: 17px;
    font-weight: 800;
}

/* Checkbox Toggle Groups */
.samraa-checkbox-wrap {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px 14px;
    border-radius: var(--cart-radius-md, 12px);
    border: 1px solid var(--cart-border);
    background: var(--cart-surface-elevated, #fbfcfe);
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.samraa-checkbox-wrap:hover {
    border-color: var(--cart-burgundy);
    background: rgba(90, 24, 53, 0.02);
}

.samraa-checkbox-wrap input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--cart-burgundy);
    margin-top: 2px;
    cursor: pointer;
}

.samraa-checkbox-text {
    flex: 1;
}

.samraa-checkbox-title {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    color: var(--cart-text-main);
}

.samraa-checkbox-desc {
    display: block;
    font-size: 11.5px;
    color: var(--cart-text-muted);
    margin-top: 2px;
}

/* Expandable boxes */
.samraa-expandable-box {
    display: none;
    padding: 16px;
    background: var(--cart-surface-elevated, #f8fafc);
    border: 1px dashed var(--cart-border);
    border-radius: var(--cart-radius-md, 12px);
    margin-top: 10px;
    animation: samraaFadeIn 0.25s ease;
}

.samraa-expandable-box.open {
    display: block;
}

/* Payment Methods List */
.payment-methods-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.payment-method-card {
    border: 1.5px solid var(--cart-border);
    border-radius: var(--cart-radius-md, 12px);
    padding: 16px 18px;
    background: var(--cart-card-bg);
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: all 0.25s ease;
}

.payment-method-card:hover {
    border-color: rgba(90, 24, 53, 0.4);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.payment-method-card.active {
    border-color: var(--cart-burgundy);
    background: linear-gradient(135deg, rgba(90, 24, 53, 0.02) 0%, rgba(90, 24, 53, 0.05) 100%);
    box-shadow: 0 4px 16px rgba(90, 24, 53, 0.08);
}

.pmc-radio {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--cart-border);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 2px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.payment-method-card.active .pmc-radio {
    border-color: var(--cart-burgundy);
}

.pmc-radio-inner {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--cart-burgundy);
    display: none;
}

.payment-method-card.active .pmc-radio-inner {
    display: block;
}

.pmc-content {
    flex: 1;
}

.pmc-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.pmc-icon {
    font-size: 16px;
    color: var(--cart-burgundy);
}

.pmc-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--cart-text-main);
}

.pmc-desc {
    font-size: 12.5px;
    color: var(--cart-text-muted);
    line-height: 1.5;
    margin: 0;
}

.bank-info-box {
    margin-top: 12px;
    padding: 12px 14px;
    background: var(--cart-card-bg);
    border: 1px dashed rgba(90, 24, 53, 0.3);
    border-radius: 10px;
    font-size: 12.5px;
    display: none;
}

.payment-method-card.active .bank-info-box {
    display: block;
}

.bank-info-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    border-bottom: 1px dashed var(--cart-border-subtle);
}

.bank-info-row:last-child {
    border-bottom: none;
}

.paymob-logos-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.pm-logo-pill {
    padding: 3px 8px;
    background: var(--cart-surface-elevated);
    border: 1px solid var(--cart-border);
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    color: var(--cart-text-main);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Order Confirmation Banner */
.order-success-hero {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, rgba(90, 24, 53, 0.03) 100%);
    border: 1.5px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--cart-radius-lg, 16px);
    padding: 32px 24px;
    text-align: center;
    margin-bottom: 30px;
}

.osh-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--cart-emerald, #10b981);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.25);
}

.osh-title {
    font-size: 22px;
    font-weight: 800;
    color: var(--cart-text-main);
    margin-bottom: 6px;
}

.osh-desc {
    font-size: 14.5px;
    color: var(--cart-text-muted);
    max-width: 500px;
    margin: 0 auto 18px;
}

.osh-details-card {
    background: var(--cart-card-bg);
    border: 1px solid var(--cart-border);
    border-radius: 12px;
    padding: 16px 20px;
    max-width: 440px;
    margin: 0 auto 20px;
    display: flex;
    justify-content: space-around;
    text-align: center;
}

.osh-detail-col strong {
    display: block;
    font-size: 18px;
    color: var(--cart-burgundy);
}

.osh-detail-col span {
    font-size: 12px;
    color: var(--cart-text-muted);
}


/* ==========================================================================
   9. CLEAN TWO-COLUMN CHECKOUT LAYOUT (MATCHING REFERENCE 1:1)
   Supports Light & Dark Modes seamlessly via CSS Variables & Overrides
   ========================================================================== */

/* Announcement Banner: COD & Electronic Payments */
.checkout-clean-notice-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    background: linear-gradient(135deg, rgba(90, 24, 53, 0.08) 0%, rgba(201, 169, 106, 0.12) 100%);
    border: 1.5px solid rgba(90, 24, 53, 0.22);
    border-radius: 12px;
    margin-bottom: 24px;
    box-shadow: 0 4px 15px rgba(90, 24, 53, 0.04);
}

.cnb-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--cart-burgundy, #5A1835);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 10px rgba(90, 24, 53, 0.25);
}

.cnb-content {
    flex: 1;
}

.cnb-headline {
    font-size: 15.5px;
    font-weight: 800;
    line-height: 1.5;
    color: var(--cart-burgundy, #5A1835);
    display: block;
}

.checkout-clean-container {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 36px;
    align-items: start;
    margin-top: 10px;
}

@media (max-width: 991px) {
    .checkout-clean-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Symmetrical panels for both left and right columns */
.checkout-clean-left,
.checkout-clean-right {
    background-color: var(--cart-card-bg, #ffffff);
    border: 1px solid var(--cart-border, #e8e8ed);
    border-radius: 14px;
    padding: 30px 24px;
    box-shadow: var(--cart-shadow, 0 4px 20px rgba(0, 0, 0, 0.03));
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

/* Left Column: Billing Details */
.checkout-clean-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--cart-text-main, #18181b);
    margin-bottom: 24px;
    line-height: 1.3;
}

.clean-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}

@media (max-width: 576px) {
    .clean-form-row {
        grid-template-columns: 1fr;
    }
}

.clean-form-col {
    display: flex;
    flex-direction: column;
}

.clean-form-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    position: relative;
}

.clean-form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--cart-text-main, #18181b);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.clean-req {
    color: #dc2626;
    font-weight: 700;
}

.clean-opt {
    font-size: 12px;
    color: var(--cart-text-muted, #94a3b8);
    font-weight: 400;
    margin-inline-start: 4px;
}

.clean-form-input,
.clean-form-textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 14.5px;
    font-family: inherit;
    color: var(--cart-text-main, #18181b);
    background-color: var(--cart-card-bg, #ffffff);
    border: 1.5px solid var(--cart-border, #e8e8ed);
    border-radius: 8px;
    transition: all 0.2s ease;
    outline: none;
    box-sizing: border-box;
}

.clean-form-input:focus,
.clean-form-textarea:focus {
    border-color: var(--cart-burgundy, #5A1835);
    box-shadow: 0 0 0 3px rgba(90, 24, 53, 0.15);
}

.clean-form-input.is-invalid,
.clean-form-textarea.is-invalid {
    border-color: #dc2626 !important;
    background-color: rgba(220, 38, 38, 0.05) !important;
}

.clean-form-input::placeholder,
.clean-form-textarea::placeholder {
    color: var(--cart-text-muted, #94a3b8);
    opacity: 0.8;
}

.clean-checkbox-group {
    margin: 16px 0;
}

.clean-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--cart-text-main, #18181b);
    user-select: none;
}

.clean-checkbox {
    width: 18px;
    height: 18px;
    accent-color: var(--cart-burgundy, #5A1835);
    cursor: pointer;
    margin: 0;
}

.clean-checkbox-text {
    line-height: 1.4;
}

/* Right Column: Order Review Table & Payment */
.checkout-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 20px;
}

.clean-order-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    background: transparent !important;
}

.clean-order-table thead,
.clean-order-table tbody,
.clean-order-table tr,
.clean-order-table th,
.clean-order-table td {
    background: transparent !important;
}

.clean-order-table th {
    padding: 12px 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--cart-text-muted, #64748b);
    border-bottom: 1.5px solid var(--cart-border, #e8e8ed);
    text-align: start;
    white-space: nowrap;
}

.clean-order-table th.col-quantity {
    text-align: center;
}

.clean-order-table th.col-total {
    text-align: end;
}

.clean-order-table td {
    padding: 16px 8px;
    border-bottom: 1px solid var(--cart-border-subtle, #f1f1f5);
    vertical-align: middle;
    color: var(--cart-text-main, #18181b);
}

.clean-order-table td.col-quantity {
    text-align: center;
    font-weight: 600;
}

.clean-order-table td.col-total {
    text-align: end;
    font-weight: 700;
    color: var(--cart-burgundy, #5A1835);
    white-space: nowrap;
}

.clean-product-cell {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 150px;
}

.clean-product-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
    border: 1px solid var(--cart-border, #e8e8ed);
    background-color: var(--cart-surface-elevated, #f4f4f7);
    flex-shrink: 0;
}

.clean-product-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.clean-product-name {
    font-weight: 700;
    color: var(--cart-text-main, #18181b);
    line-height: 1.3;
}

.clean-product-meta {
    font-size: 11.5px;
    color: var(--cart-text-muted, #64748b);
}

.clean-model-code {
    font-family: monospace, sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: var(--cart-text-muted, #64748b);
    white-space: nowrap;
}

/* Summary Rows: Subtotal, Shipping, TOTAL */
.clean-summary-box {
    margin-bottom: 24px;
    border-top: 1px solid var(--cart-border, #e8e8ed);
    padding-top: 14px;
}

.clean-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
    font-size: 14.5px;
    border-bottom: 1px solid var(--cart-border-subtle, #f1f1f5);
}

.clean-summary-row.subtotal-row {
    font-weight: 600;
    color: var(--cart-text-main, #18181b);
}

.clean-summary-row.shipping-row {
    align-items: flex-start;
}

.csr-label {
    font-weight: 600;
    color: var(--cart-text-muted, #64748b);
}

.csr-shipping-options {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: end;
}

html[dir="rtl"] .csr-shipping-options {
    text-align: start;
}

.clean-shipping-radio {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 13.5px;
    color: var(--cart-text-main, #18181b);
    user-select: none;
}

.clean-shipping-radio input[type="radio"] {
    accent-color: var(--cart-burgundy, #5A1835);
    cursor: pointer;
}

.clean-summary-row.total-row {
    border-top: 2px solid var(--cart-border, #e8e8ed);
    border-bottom: 2px solid var(--cart-border, #e8e8ed);
    padding: 16px 0;
    margin-top: 6px;
    margin-bottom: 20px;
}

.csr-label-total {
    font-size: 18px;
    font-weight: 800;
    color: var(--cart-text-main, #18181b);
    letter-spacing: 0.5px;
}

.csr-value-total {
    font-size: 22px;
    font-weight: 900;
    color: var(--cart-burgundy, #5A1835);
    white-space: nowrap;
}

/* Payment Methods List */
.clean-payment-section {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 20px;
}

.clean-payment-item {
    border: 1.5px solid var(--cart-border, #e8e8ed);
    border-radius: 8px;
    padding: 14px 16px;
    background-color: var(--cart-card-bg, #ffffff);
    cursor: pointer;
    transition: all 0.2s ease;
}

.clean-payment-item.active {
    border-color: var(--cart-burgundy, #5A1835);
    background-color: var(--cart-burgundy-light, rgba(90, 24, 53, 0.04));
}

.clean-payment-header {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin: 0;
    user-select: none;
}

.clean-payment-radio {
    accent-color: var(--cart-burgundy, #5A1835);
    cursor: pointer;
    width: 16px;
    height: 16px;
    margin: 0;
}

.clean-pm-title {
    font-size: 14.5px;
    font-weight: 700;
    color: var(--cart-text-main, #18181b);
}

.clean-pm-body {
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px dashed var(--cart-border, #e8e8ed);
}

.clean-pm-desc {
    font-size: 13px;
    color: var(--cart-text-muted, #64748b);
    line-height: 1.55;
    margin: 0;
}

.clean-payment-item .bank-info-box {
    display: block !important;
    margin-top: 12px;
    padding: 14px 16px;
    background: var(--cart-surface, #f9f9fb);
    border: 1px dashed rgba(90, 24, 53, 0.3);
    border-radius: 8px;
    font-size: 13px;
}

.clean-payment-item .bank-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    border-bottom: 1px dashed var(--cart-border, #e8e8ed);
}

.clean-payment-item .bank-info-row:last-child {
    border-bottom: none;
}

/* Terms and Conditions Checkbox */
.clean-terms-wrapper {
    margin-bottom: 20px;
}

.clean-terms-text {
    font-size: 12.5px;
    color: var(--cart-text-muted, #64748b);
    line-height: 1.4;
}

/* Big Luxury Button: PLACE ORDER */
.btn-clean-place-order {
    width: 100%;
    padding: 16px 24px;
    background: linear-gradient(135deg, var(--cart-burgundy, #5A1835) 0%, #6B1D3F 100%);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 16px rgba(90, 24, 53, 0.28);
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.btn-clean-place-order:hover {
    background: linear-gradient(135deg, #431227 0%, var(--cart-burgundy, #5A1835) 100%);
    box-shadow: 0 6px 22px rgba(90, 24, 53, 0.38);
    transform: translateY(-1px);
    color: #ffffff;
}

.btn-clean-place-order:active {
    transform: translateY(0);
}

.btn-clean-place-order:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* ==========================================================================
   10. EXPLICIT DARK & LIGHT THEME PERFECTION FOR CHECKOUT (Both Modes 100% Flawless)
   ========================================================================== */

/* Universal Dark Mode Selectors (Standard CSS - 100% Cross-Browser Supported) */

html[data-theme="dark"] .checkout-clean-container,
html[data-bs-theme="dark"] .checkout-clean-container,
[data-theme="dark"] .checkout-clean-container,
body[data-theme="dark"] .checkout-clean-container {
    color: #f5f0f3 !important;
}

html[data-theme="dark"] .checkout-clean-title,
html[data-bs-theme="dark"] .checkout-clean-title,
[data-theme="dark"] .checkout-clean-title,
body[data-theme="dark"] .checkout-clean-title {
    color: #f5f0f3 !important;
}

html[data-theme="dark"] .checkout-clean-notice-banner,
html[data-bs-theme="dark"] .checkout-clean-notice-banner,
[data-theme="dark"] .checkout-clean-notice-banner,
body[data-theme="dark"] .checkout-clean-notice-banner {
    background: linear-gradient(135deg, rgba(90, 24, 53, 0.32) 0%, rgba(201, 169, 106, 0.18) 100%) !important;
            border-color: rgba(201, 169, 106, 0.4) !important;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45) !important;
}

html[data-theme="dark"] .cnb-icon,
html[data-bs-theme="dark"] .cnb-icon,
[data-theme="dark"] .cnb-icon,
body[data-theme="dark"] .cnb-icon {
    background: linear-gradient(135deg, #74345a 0%, #5A1835 100%) !important;
            color: #c9a96a !important;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5) !important;
}

html[data-theme="dark"] .cnb-headline,
html[data-bs-theme="dark"] .cnb-headline,
[data-theme="dark"] .cnb-headline,
body[data-theme="dark"] .cnb-headline {
    color: #f5f0f3 !important;
}

html[data-theme="dark"] .checkout-clean-left,
html[data-theme="dark"] .checkout-clean-right,
html[data-bs-theme="dark"] .checkout-clean-left,
html[data-bs-theme="dark"] .checkout-clean-right,
[data-theme="dark"] .checkout-clean-left,
[data-theme="dark"] .checkout-clean-right,
body[data-theme="dark"] .checkout-clean-left,
body[data-theme="dark"] .checkout-clean-right {
    background-color: #141318 !important;
            border: 1px solid rgba(116, 52, 90, 0.35) !important;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
            color: #f5f0f3 !important;
}

html[data-theme="dark"] .clean-form-label,
html[data-bs-theme="dark"] .clean-form-label,
[data-theme="dark"] .clean-form-label,
body[data-theme="dark"] .clean-form-label {
    color: #f5f0f3 !important;
}

html[data-theme="dark"] .clean-opt,
html[data-bs-theme="dark"] .clean-opt,
[data-theme="dark"] .clean-opt,
body[data-theme="dark"] .clean-opt {
    color: #9e929a !important;
}

html[data-theme="dark"] .clean-form-input,
html[data-theme="dark"] .clean-form-textarea,
html[data-bs-theme="dark"] .clean-form-input,
html[data-bs-theme="dark"] .clean-form-textarea,
[data-theme="dark"] .clean-form-input,
[data-theme="dark"] .clean-form-textarea,
body[data-theme="dark"] .clean-form-input,
body[data-theme="dark"] .clean-form-textarea {
    background-color: #1b1a20 !important;
            color: #f5f0f3 !important;
            border: 1.5px solid rgba(116, 52, 90, 0.35) !important;
}

html[data-theme="dark"] .clean-form-input:focus,
html[data-theme="dark"] .clean-form-textarea:focus,
html[data-bs-theme="dark"] .clean-form-input:focus,
html[data-bs-theme="dark"] .clean-form-textarea:focus,
[data-theme="dark"] .clean-form-input:focus,
[data-theme="dark"] .clean-form-textarea:focus,
body[data-theme="dark"] .clean-form-input:focus,
body[data-theme="dark"] .clean-form-textarea:focus {
    border-color: #c9a96a !important;
            box-shadow: 0 0 0 3px rgba(201, 169, 106, 0.22) !important;
            background-color: #201f27 !important;
            color: #ffffff !important;
}

html[data-theme="dark"] .clean-form-input::placeholder,
html[data-theme="dark"] .clean-form-textarea::placeholder,
html[data-bs-theme="dark"] .clean-form-input::placeholder,
html[data-bs-theme="dark"] .clean-form-textarea::placeholder,
[data-theme="dark"] .clean-form-input::placeholder,
[data-theme="dark"] .clean-form-textarea::placeholder,
body[data-theme="dark"] .clean-form-input::placeholder,
body[data-theme="dark"] .clean-form-textarea::placeholder {
    color: #7a6f76 !important;
}

html[data-theme="dark"] .clean-checkbox-label,
html[data-bs-theme="dark"] .clean-checkbox-label,
[data-theme="dark"] .clean-checkbox-label,
body[data-theme="dark"] .clean-checkbox-label {
    color: #f5f0f3 !important;
}

html[data-theme="dark"] .samraa-expandable-box,
html[data-bs-theme="dark"] .samraa-expandable-box,
[data-theme="dark"] .samraa-expandable-box,
body[data-theme="dark"] .samraa-expandable-box {
    background-color: #18171f !important;
            border: 1px solid rgba(116, 52, 90, 0.35) !important;
            color: #f5f0f3 !important;
}

html[data-theme="dark"] .samraa-phone-group,
html[data-theme="dark"] .modern-phone-wrapper,
html[data-theme="dark"] .samraa-luxury-phone-group,
html[data-bs-theme="dark"] .samraa-phone-group,
html[data-bs-theme="dark"] .modern-phone-wrapper,
html[data-bs-theme="dark"] .samraa-luxury-phone-group,
[data-theme="dark"] .samraa-phone-group,
[data-theme="dark"] .modern-phone-wrapper,
[data-theme="dark"] .samraa-luxury-phone-group,
body[data-theme="dark"] .samraa-phone-group,
body[data-theme="dark"] .modern-phone-wrapper,
body[data-theme="dark"] .samraa-luxury-phone-group {
    background: #1b1a20 !important;
            background-color: #1b1a20 !important;
            border: 1.5px solid rgba(116, 52, 90, 0.35) !important;
            color: #f5f0f3 !important;
}

html[data-theme="dark"] .samraa-phone-group:focus-within,
html[data-theme="dark"] .modern-phone-wrapper:focus-within,
html[data-theme="dark"] .samraa-luxury-phone-group:focus-within,
html[data-bs-theme="dark"] .samraa-phone-group:focus-within,
html[data-bs-theme="dark"] .modern-phone-wrapper:focus-within,
html[data-bs-theme="dark"] .samraa-luxury-phone-group:focus-within,
[data-theme="dark"] .samraa-phone-group:focus-within,
[data-theme="dark"] .modern-phone-wrapper:focus-within,
[data-theme="dark"] .samraa-luxury-phone-group:focus-within,
body[data-theme="dark"] .samraa-phone-group:focus-within,
body[data-theme="dark"] .modern-phone-wrapper:focus-within,
body[data-theme="dark"] .samraa-luxury-phone-group:focus-within {
    border-color: #c9a96a !important;
            box-shadow: 0 0 0 3px rgba(201, 169, 106, 0.22) !important;
}

html[data-theme="dark"] .samraa-phone-prefix-btn,
html[data-bs-theme="dark"] .samraa-phone-prefix-btn,
[data-theme="dark"] .samraa-phone-prefix-btn,
body[data-theme="dark"] .samraa-phone-prefix-btn {
    background: transparent !important;
            color: #f5f0f3 !important;
            border-inline-end: 1px solid rgba(116, 52, 90, 0.35) !important;
}

html[data-theme="dark"] .samraa-phone-prefix-btn:hover,
html[data-bs-theme="dark"] .samraa-phone-prefix-btn:hover,
[data-theme="dark"] .samraa-phone-prefix-btn:hover,
body[data-theme="dark"] .samraa-phone-prefix-btn:hover {
    background: rgba(90, 24, 53, 0.25) !important;
}

html[data-theme="dark"] .samraa-phone-dial,
html[data-bs-theme="dark"] .samraa-phone-dial,
[data-theme="dark"] .samraa-phone-dial,
body[data-theme="dark"] .samraa-phone-dial {
    color: #f5f0f3 !important;
}

html[data-theme="dark"] .samraa-phone-chevron,
html[data-bs-theme="dark"] .samraa-phone-chevron,
[data-theme="dark"] .samraa-phone-chevron,
body[data-theme="dark"] .samraa-phone-chevron {
    color: #c9a96a !important;
}

html[data-theme="dark"] .samraa-phone-input,
html[data-theme="dark"] .checkout-phone-input,
html[data-bs-theme="dark"] .samraa-phone-input,
html[data-bs-theme="dark"] .checkout-phone-input,
[data-theme="dark"] .samraa-phone-input,
[data-theme="dark"] .checkout-phone-input,
body[data-theme="dark"] .samraa-phone-input,
body[data-theme="dark"] .checkout-phone-input {
    background: transparent !important;
            background-color: transparent !important;
            color: #f5f0f3 !important;
}

html[data-theme="dark"] .samraa-phone-input::placeholder,
html[data-theme="dark"] .checkout-phone-input::placeholder,
html[data-bs-theme="dark"] .samraa-phone-input::placeholder,
html[data-bs-theme="dark"] .checkout-phone-input::placeholder,
[data-theme="dark"] .samraa-phone-input::placeholder,
[data-theme="dark"] .checkout-phone-input::placeholder,
body[data-theme="dark"] .samraa-phone-input::placeholder,
body[data-theme="dark"] .checkout-phone-input::placeholder {
    color: #7a6f76 !important;
}

html[data-theme="dark"] .samraa-phone-menu,
html[data-theme="dark"] .samraa-select-menu,
html[data-theme="dark"] .modern-select-menu,
html[data-bs-theme="dark"] .samraa-phone-menu,
html[data-bs-theme="dark"] .samraa-select-menu,
html[data-bs-theme="dark"] .modern-select-menu,
[data-theme="dark"] .samraa-phone-menu,
[data-theme="dark"] .samraa-select-menu,
[data-theme="dark"] .modern-select-menu,
body[data-theme="dark"] .samraa-phone-menu,
body[data-theme="dark"] .samraa-select-menu,
body[data-theme="dark"] .modern-select-menu {
    background: #18171f !important;
            background-color: #18171f !important;
            border: 1.5px solid rgba(116, 52, 90, 0.45) !important;
            box-shadow: 0 12px 35px rgba(0, 0, 0, 0.7) !important;
            color: #f5f0f3 !important;
}

html[data-theme="dark"] .samraa-phone-search,
html[data-theme="dark"] .samraa-select-search,
html[data-theme="dark"] .modern-select-search input,
html[data-bs-theme="dark"] .samraa-phone-search,
html[data-bs-theme="dark"] .samraa-select-search,
html[data-bs-theme="dark"] .modern-select-search input,
[data-theme="dark"] .samraa-phone-search,
[data-theme="dark"] .samraa-select-search,
[data-theme="dark"] .modern-select-search input,
body[data-theme="dark"] .samraa-phone-search,
body[data-theme="dark"] .samraa-select-search,
body[data-theme="dark"] .modern-select-search input {
    background: #121116 !important;
            background-color: #121116 !important;
            border: 1px solid rgba(116, 52, 90, 0.4) !important;
            color: #f5f0f3 !important;
}

html[data-theme="dark"] .samraa-phone-search input,
html[data-theme="dark"] .samraa-select-search input,
html[data-bs-theme="dark"] .samraa-phone-search input,
html[data-bs-theme="dark"] .samraa-select-search input,
[data-theme="dark"] .samraa-phone-search input,
[data-theme="dark"] .samraa-select-search input,
body[data-theme="dark"] .samraa-phone-search input,
body[data-theme="dark"] .samraa-select-search input {
    background: transparent !important;
            color: #f5f0f3 !important;
}

html[data-theme="dark"] .samraa-phone-item,
html[data-theme="dark"] .samraa-select-option,
html[data-theme="dark"] .modern-select-option,
html[data-bs-theme="dark"] .samraa-phone-item,
html[data-bs-theme="dark"] .samraa-select-option,
html[data-bs-theme="dark"] .modern-select-option,
[data-theme="dark"] .samraa-phone-item,
[data-theme="dark"] .samraa-select-option,
[data-theme="dark"] .modern-select-option,
body[data-theme="dark"] .samraa-phone-item,
body[data-theme="dark"] .samraa-select-option,
body[data-theme="dark"] .modern-select-option {
    color: #f5f0f3 !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
}

html[data-theme="dark"] .samraa-phone-item:hover,
html[data-theme="dark"] .samraa-select-option:hover,
html[data-theme="dark"] .modern-select-option:hover,
html[data-bs-theme="dark"] .samraa-phone-item:hover,
html[data-bs-theme="dark"] .samraa-select-option:hover,
html[data-bs-theme="dark"] .modern-select-option:hover,
[data-theme="dark"] .samraa-phone-item:hover,
[data-theme="dark"] .samraa-select-option:hover,
[data-theme="dark"] .modern-select-option:hover,
body[data-theme="dark"] .samraa-phone-item:hover,
body[data-theme="dark"] .samraa-select-option:hover,
body[data-theme="dark"] .modern-select-option:hover {
    background: rgba(90, 24, 53, 0.35) !important;
            color: #c9a96a !important;
}

html[data-theme="dark"] .samraa-phone-item.selected,
html[data-theme="dark"] .samraa-select-option.selected,
html[data-theme="dark"] .modern-select-option.selected,
html[data-bs-theme="dark"] .samraa-phone-item.selected,
html[data-bs-theme="dark"] .samraa-select-option.selected,
html[data-bs-theme="dark"] .modern-select-option.selected,
[data-theme="dark"] .samraa-phone-item.selected,
[data-theme="dark"] .samraa-select-option.selected,
[data-theme="dark"] .modern-select-option.selected,
body[data-theme="dark"] .samraa-phone-item.selected,
body[data-theme="dark"] .samraa-select-option.selected,
body[data-theme="dark"] .modern-select-option.selected {
    background: rgba(90, 24, 53, 0.25) !important;
            color: #c9a96a !important;
            font-weight: 700 !important;
}

html[data-theme="dark"] .samraa-select-trigger,
html[data-theme="dark"] .modern-select-trigger,
html[data-bs-theme="dark"] .samraa-select-trigger,
html[data-bs-theme="dark"] .modern-select-trigger,
[data-theme="dark"] .samraa-select-trigger,
[data-theme="dark"] .modern-select-trigger,
body[data-theme="dark"] .samraa-select-trigger,
body[data-theme="dark"] .modern-select-trigger {
    background: #1b1a20 !important;
            background-color: #1b1a20 !important;
            border: 1.5px solid rgba(116, 52, 90, 0.35) !important;
            color: #f5f0f3 !important;
}

html[data-theme="dark"] .samraa-select-trigger:focus,
html[data-theme="dark"] .samraa-select-trigger.active,
html[data-bs-theme="dark"] .samraa-select-trigger:focus,
html[data-bs-theme="dark"] .samraa-select-trigger.active,
[data-theme="dark"] .samraa-select-trigger:focus,
[data-theme="dark"] .samraa-select-trigger.active,
body[data-theme="dark"] .samraa-select-trigger:focus,
body[data-theme="dark"] .samraa-select-trigger.active {
    border-color: #c9a96a !important;
            box-shadow: 0 0 0 3px rgba(201, 169, 106, 0.22) !important;
}

html[data-theme="dark"] .checkout-table-wrapper,
html[data-bs-theme="dark"] .checkout-table-wrapper,
[data-theme="dark"] .checkout-table-wrapper,
body[data-theme="dark"] .checkout-table-wrapper {
    border-bottom-color: rgba(116, 52, 90, 0.35) !important;
}

html[data-theme="dark"] .clean-order-table,
html[data-theme="dark"] .clean-order-table thead,
html[data-theme="dark"] .clean-order-table tbody,
html[data-theme="dark"] .clean-order-table tr,
html[data-theme="dark"] .clean-order-table th,
html[data-theme="dark"] .clean-order-table td,
html[data-bs-theme="dark"] .clean-order-table,
html[data-bs-theme="dark"] .clean-order-table thead,
html[data-bs-theme="dark"] .clean-order-table tbody,
html[data-bs-theme="dark"] .clean-order-table tr,
html[data-bs-theme="dark"] .clean-order-table th,
html[data-bs-theme="dark"] .clean-order-table td,
[data-theme="dark"] .clean-order-table,
[data-theme="dark"] .clean-order-table thead,
[data-theme="dark"] .clean-order-table tbody,
[data-theme="dark"] .clean-order-table tr,
[data-theme="dark"] .clean-order-table th,
[data-theme="dark"] .clean-order-table td,
body[data-theme="dark"] .clean-order-table,
body[data-theme="dark"] .clean-order-table thead,
body[data-theme="dark"] .clean-order-table tbody,
body[data-theme="dark"] .clean-order-table tr,
body[data-theme="dark"] .clean-order-table th,
body[data-theme="dark"] .clean-order-table td {
    background: transparent !important;
}

html[data-theme="dark"] .clean-order-table th,
html[data-bs-theme="dark"] .clean-order-table th,
[data-theme="dark"] .clean-order-table th,
body[data-theme="dark"] .clean-order-table th {
    color: #a097a2 !important;
            border-bottom: 2px solid rgba(116, 52, 90, 0.4) !important;
            font-weight: 700 !important;
}

html[data-theme="dark"] .clean-order-table td,
html[data-bs-theme="dark"] .clean-order-table td,
[data-theme="dark"] .clean-order-table td,
body[data-theme="dark"] .clean-order-table td {
    color: #f5f0f3 !important;
            border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

html[data-theme="dark"] .clean-order-table td.col-price,
html[data-bs-theme="dark"] .clean-order-table td.col-price,
[data-theme="dark"] .clean-order-table td.col-price,
body[data-theme="dark"] .clean-order-table td.col-price {
    color: #e2e8f0 !important;
}

html[data-theme="dark"] .clean-order-table td.col-quantity,
html[data-bs-theme="dark"] .clean-order-table td.col-quantity,
[data-theme="dark"] .clean-order-table td.col-quantity,
body[data-theme="dark"] .clean-order-table td.col-quantity {
    color: #f5f0f3 !important;
}

html[data-theme="dark"] .clean-order-table td.col-total,
html[data-bs-theme="dark"] .clean-order-table td.col-total,
[data-theme="dark"] .clean-order-table td.col-total,
body[data-theme="dark"] .clean-order-table td.col-total {
    color: #c9a96a !important;
            font-weight: 800 !important;
}

html[data-theme="dark"] .clean-product-thumb,
html[data-bs-theme="dark"] .clean-product-thumb,
[data-theme="dark"] .clean-product-thumb,
body[data-theme="dark"] .clean-product-thumb {
    background-color: #1b1a20 !important;
            border: 1px solid rgba(116, 52, 90, 0.35) !important;
}

html[data-theme="dark"] .clean-product-name,
html[data-bs-theme="dark"] .clean-product-name,
[data-theme="dark"] .clean-product-name,
body[data-theme="dark"] .clean-product-name {
    color: #f5f0f3 !important;
}

html[data-theme="dark"] .clean-product-meta,
html[data-bs-theme="dark"] .clean-product-meta,
[data-theme="dark"] .clean-product-meta,
body[data-theme="dark"] .clean-product-meta {
    color: #a097a2 !important;
}

html[data-theme="dark"] .clean-model-code,
html[data-bs-theme="dark"] .clean-model-code,
[data-theme="dark"] .clean-model-code,
body[data-theme="dark"] .clean-model-code {
    color: #c9a96a !important;
}

html[data-theme="dark"] .clean-summary-box,
html[data-bs-theme="dark"] .clean-summary-box,
[data-theme="dark"] .clean-summary-box,
body[data-theme="dark"] .clean-summary-box {
    border-top: 1.5px solid rgba(116, 52, 90, 0.35) !important;
}

html[data-theme="dark"] .clean-summary-row,
html[data-bs-theme="dark"] .clean-summary-row,
[data-theme="dark"] .clean-summary-row,
body[data-theme="dark"] .clean-summary-row {
    border-bottom: 1px solid rgba(255, 255, 255, 0.07) !important;
}

html[data-theme="dark"] .clean-summary-row.subtotal-row,
html[data-bs-theme="dark"] .clean-summary-row.subtotal-row,
[data-theme="dark"] .clean-summary-row.subtotal-row,
body[data-theme="dark"] .clean-summary-row.subtotal-row {
    color: #f5f0f3 !important;
}

html[data-theme="dark"] .csr-label,
html[data-bs-theme="dark"] .csr-label,
[data-theme="dark"] .csr-label,
body[data-theme="dark"] .csr-label {
    color: #a097a2 !important;
}

html[data-theme="dark"] .clean-shipping-radio,
html[data-bs-theme="dark"] .clean-shipping-radio,
[data-theme="dark"] .clean-shipping-radio,
body[data-theme="dark"] .clean-shipping-radio {
    color: #f5f0f3 !important;
}

html[data-theme="dark"] .clean-shipping-radio input[type="radio"],
html[data-bs-theme="dark"] .clean-shipping-radio input[type="radio"],
[data-theme="dark"] .clean-shipping-radio input[type="radio"],
body[data-theme="dark"] .clean-shipping-radio input[type="radio"] {
    accent-color: #c9a96a !important;
}

html[data-theme="dark"] .clean-summary-row.total-row,
html[data-bs-theme="dark"] .clean-summary-row.total-row,
[data-theme="dark"] .clean-summary-row.total-row,
body[data-theme="dark"] .clean-summary-row.total-row {
    border-top: 2px solid rgba(116, 52, 90, 0.5) !important;
            border-bottom: 2px solid rgba(116, 52, 90, 0.5) !important;
}

html[data-theme="dark"] .csr-label-total,
html[data-bs-theme="dark"] .csr-label-total,
[data-theme="dark"] .csr-label-total,
body[data-theme="dark"] .csr-label-total {
    color: #f5f0f3 !important;
}

html[data-theme="dark"] .csr-value-total,
html[data-bs-theme="dark"] .csr-value-total,
[data-theme="dark"] .csr-value-total,
body[data-theme="dark"] .csr-value-total {
    color: #c9a96a !important;
            text-shadow: 0 0 12px rgba(201, 169, 106, 0.25) !important;
}

html[data-theme="dark"] .clean-payment-item,
html[data-bs-theme="dark"] .clean-payment-item,
[data-theme="dark"] .clean-payment-item,
body[data-theme="dark"] .clean-payment-item {
    background-color: #1a1920 !important;
            border: 1.5px solid rgba(116, 52, 90, 0.35) !important;
            color: #f5f0f3 !important;
}

html[data-theme="dark"] .clean-payment-item:hover,
html[data-bs-theme="dark"] .clean-payment-item:hover,
[data-theme="dark"] .clean-payment-item:hover,
body[data-theme="dark"] .clean-payment-item:hover {
    border-color: rgba(201, 169, 106, 0.5) !important;
            background-color: #1e1d25 !important;
}

html[data-theme="dark"] .clean-payment-item.active,
html[data-bs-theme="dark"] .clean-payment-item.active,
[data-theme="dark"] .clean-payment-item.active,
body[data-theme="dark"] .clean-payment-item.active {
    background-color: rgba(90, 24, 53, 0.28) !important;
            border-color: #c9a96a !important;
            box-shadow: 0 0 16px rgba(90, 24, 53, 0.35) !important;
}

html[data-theme="dark"] .clean-payment-radio,
html[data-bs-theme="dark"] .clean-payment-radio,
[data-theme="dark"] .clean-payment-radio,
body[data-theme="dark"] .clean-payment-radio {
    accent-color: #c9a96a !important;
}

html[data-theme="dark"] .clean-pm-title,
html[data-bs-theme="dark"] .clean-pm-title,
[data-theme="dark"] .clean-pm-title,
body[data-theme="dark"] .clean-pm-title {
    color: #f5f0f3 !important;
}

html[data-theme="dark"] .clean-pm-body,
html[data-bs-theme="dark"] .clean-pm-body,
[data-theme="dark"] .clean-pm-body,
body[data-theme="dark"] .clean-pm-body {
    border-top: 1px dashed rgba(116, 52, 90, 0.35) !important;
}

html[data-theme="dark"] .clean-pm-desc,
html[data-bs-theme="dark"] .clean-pm-desc,
[data-theme="dark"] .clean-pm-desc,
body[data-theme="dark"] .clean-pm-desc {
    color: #a097a2 !important;
}

html[data-theme="dark"] .bank-info-box,
html[data-theme="dark"] .clean-payment-item .bank-info-box,
html[data-bs-theme="dark"] .bank-info-box,
html[data-bs-theme="dark"] .clean-payment-item .bank-info-box,
[data-theme="dark"] .bank-info-box,
[data-theme="dark"] .clean-payment-item .bank-info-box,
body[data-theme="dark"] .bank-info-box,
body[data-theme="dark"] .clean-payment-item .bank-info-box {
    background-color: #141318 !important;
            border: 1px dashed rgba(201, 169, 106, 0.45) !important;
            color: #f5f0f3 !important;
}

html[data-theme="dark"] .bank-info-row,
html[data-theme="dark"] .clean-payment-item .bank-info-row,
html[data-bs-theme="dark"] .bank-info-row,
html[data-bs-theme="dark"] .clean-payment-item .bank-info-row,
[data-theme="dark"] .bank-info-row,
[data-theme="dark"] .clean-payment-item .bank-info-row,
body[data-theme="dark"] .bank-info-row,
body[data-theme="dark"] .clean-payment-item .bank-info-row {
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08) !important;
}

html[data-theme="dark"] .bank-info-row strong,
html[data-theme="dark"] .clean-payment-item .bank-info-row strong,
html[data-bs-theme="dark"] .bank-info-row strong,
html[data-bs-theme="dark"] .clean-payment-item .bank-info-row strong,
[data-theme="dark"] .bank-info-row strong,
[data-theme="dark"] .clean-payment-item .bank-info-row strong,
body[data-theme="dark"] .bank-info-row strong,
body[data-theme="dark"] .clean-payment-item .bank-info-row strong {
    color: #f5f0f3 !important;
}

html[data-theme="dark"] .clean-terms-text,
html[data-bs-theme="dark"] .clean-terms-text,
[data-theme="dark"] .clean-terms-text,
body[data-theme="dark"] .clean-terms-text {
    color: #a097a2 !important;
}

html[data-theme="dark"] .btn-clean-place-order,
html[data-bs-theme="dark"] .btn-clean-place-order,
[data-theme="dark"] .btn-clean-place-order,
body[data-theme="dark"] .btn-clean-place-order {
    background: linear-gradient(135deg, #741b43 0%, #5A1835 100%) !important;
            color: #ffffff !important;
            border: 1px solid rgba(201, 169, 106, 0.4) !important;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
}

html[data-theme="dark"] .btn-clean-place-order:hover,
html[data-bs-theme="dark"] .btn-clean-place-order:hover,
[data-theme="dark"] .btn-clean-place-order:hover,
body[data-theme="dark"] .btn-clean-place-order:hover {
    background: linear-gradient(135deg, #5A1835 0%, #441227 100%) !important;
            border-color: #c9a96a !important;
            box-shadow: 0 6px 26px rgba(90, 24, 53, 0.65), 0 0 16px rgba(201, 169, 106, 0.3) !important;
}


.clean-product-thumb.samraa-product-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(90, 24, 53, 0.08) 0%, rgba(201, 169, 106, 0.12) 100%);
    border: 1px solid rgba(90, 24, 53, 0.15);
    flex-shrink: 0;
    overflow: hidden;
    user-select: none;
}
.clean-product-thumb .placeholder-watermark-icon {
    font-size: 8px;
    color: var(--cart-gold, #c9a96a);
    margin-bottom: 1px;
}
.clean-product-thumb .placeholder-brand {
    font-weight: 800;
    color: var(--cart-burgundy, #5A1835);
    line-height: 1;
}
.clean-product-thumb .placeholder-brand.lang-ar {
    font-size: 9.5px;
    font-family: 'Cairo', sans-serif;
}
.clean-product-thumb .placeholder-brand.lang-en {
    font-size: 7.5px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    font-family: 'Playfair Display', serif;
}
html[lang="ar"] .clean-product-thumb .placeholder-brand.lang-en,
html[dir="rtl"] .clean-product-thumb .placeholder-brand.lang-en {
    display: none !important;
}
html[lang="ar"] .clean-product-thumb .placeholder-brand.lang-ar,
html[dir="rtl"] .clean-product-thumb .placeholder-brand.lang-ar {
    display: block !important;
}
html[lang="en"] .clean-product-thumb .placeholder-brand.lang-ar,
html[dir="ltr"] .clean-product-thumb .placeholder-brand.lang-ar {
    display: none !important;
}
html[lang="en"] .clean-product-thumb .placeholder-brand.lang-en,
html[dir="ltr"] .clean-product-thumb .placeholder-brand.lang-en {
    display: block !important;
}
html[data-theme="dark"] .clean-product-thumb.samraa-product-placeholder,
html[data-bs-theme="dark"] .clean-product-thumb.samraa-product-placeholder,
[data-theme="dark"] .clean-product-thumb.samraa-product-placeholder,
body[data-theme="dark"] .clean-product-thumb.samraa-product-placeholder {
    background: linear-gradient(135deg, #1b1a20 0%, #141318 100%) !important;
    border-color: rgba(201, 169, 106, 0.25) !important;
}
html[data-theme="dark"] .clean-product-thumb .placeholder-brand,
html[data-bs-theme="dark"] .clean-product-thumb .placeholder-brand,
[data-theme="dark"] .clean-product-thumb .placeholder-brand,
body[data-theme="dark"] .clean-product-thumb .placeholder-brand {
    color: #c9a96a !important;
}
