/* SARAIEI CUSTOMER EXPERIENCE V1 START */
:root {
    --customer-ink: #142c20;
    --customer-green: #0f6f3d;
    --customer-green-dark: #063f22;
    --customer-cream: #fbfcf8;
    --customer-card: #ffffff;
    --customer-line: #e5ebe4;
    --customer-muted: #627168;
    --customer-gold: #c9962e;
}

.customer-app-body {
    min-height: 100vh;
    background: #f5f8f4;
}

.customer-app-shell {
    min-height: 100vh;
    padding-bottom: 28px;
}

.customer-global-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid rgba(229, 235, 228, .95);
    background: rgba(255, 255, 255, .94);
    backdrop-filter: blur(16px);
}

.customer-global-header__row {
    width: min(1240px, calc(100% - 40px));
    min-height: 78px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 26px;
}

.customer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.customer-brand__mark {
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    border-radius: 13px;
    color: #fff;
    font-weight: 900;
    font-size: 20px;
    background: linear-gradient(145deg, var(--customer-green), var(--customer-green-dark));
    box-shadow: 0 8px 18px rgba(6, 63, 34, .18);
}

.customer-brand strong,
.customer-brand small {
    display: block;
    line-height: 1.25;
}

.customer-brand strong {
    color: var(--customer-ink);
    font-size: 17px;
}

.customer-brand small {
    color: var(--customer-muted);
    font-size: 10px;
    margin-top: 3px;
}

.customer-main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    min-width: 0;
    margin-left: auto;
}

.customer-main-nav a {
    color: #4f5f55;
    font-size: 13px;
    font-weight: 800;
    white-space: nowrap;
    padding: 10px 11px;
    border-radius: 10px;
    transition: background .18s ease, color .18s ease;
}

.customer-main-nav a:hover,
.customer-main-nav a.active {
    background: #edf7f0;
    color: var(--customer-green-dark);
}

.customer-header-actions {
    display: flex;
    align-items: center;
    gap: 9px;
    flex: 0 0 auto;
}

.customer-cart-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 40px;
    padding: 0 11px;
    border-radius: 12px;
    background: #f5f8f4;
    color: var(--customer-green-dark);
    font-size: 12px;
    font-weight: 900;
}

.customer-cart-link.active,
.customer-cart-link:hover {
    background: #e3f1e7;
}

.customer-cart-link b,
.customer-mobile-nav b {
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: var(--customer-green-dark);
    color: #fff;
    font-size: 10px;
}

.customer-account-menu {
    position: relative;
}

.customer-account-menu summary {
    list-style: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
    min-height: 40px;
    padding: 0 4px;
}

.customer-account-menu summary::-webkit-details-marker { display: none; }

.customer-avatar {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #f7ebce;
    color: #7a5717;
    font-size: 14px;
    font-weight: 900;
}

.customer-account-menu__name {
    max-width: 92px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: var(--customer-ink);
    font-size: 12px;
    font-weight: 800;
}

.customer-account-menu__panel {
    position: absolute;
    left: 0;
    top: calc(100% + 10px);
    width: 184px;
    padding: 8px;
    border: 1px solid var(--customer-line);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 14px 35px rgba(27, 59, 38, .14);
}

.customer-account-menu__panel a,
.customer-account-menu__panel button {
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 36px;
    padding: 0 9px;
    border-radius: 9px;
    color: #405148;
    background: transparent;
    border: 0;
    box-shadow: none;
    font-size: 12px;
    font-weight: 800;
    text-align: right;
}

.customer-account-menu__panel a:hover,
.customer-account-menu__panel button:hover {
    background: #f3f8f4;
    color: var(--customer-green-dark);
}

.customer-account-menu__panel form { margin: 0; }

.customer-shell-content {
    width: min(1240px, calc(100% - 40px));
    margin: 0 auto;
    padding: 30px 0 16px;
}

.checkout-more-options {
    margin: 18px 0;
    border: 1px solid var(--customer-line);
    border-radius: 14px;
    background: #fbfdfb;
}

.checkout-more-options > summary {
    cursor: pointer;
    padding: 13px 16px;
    color: var(--customer-green-dark);
    font-weight: 900;
    list-style-position: inside;
}

.checkout-more-options__body {
    padding: 0 16px 16px;
}

.customer-topbar {
    margin: 0 0 20px;
    padding: 0;
    background: transparent;
    box-shadow: none;
    border: 0;
}

.customer-topbar > div strong {
    color: var(--customer-ink);
    font-size: 24px;
}

.customer-topbar > div span {
    color: var(--customer-muted);
    margin-top: 5px;
}

.customer-topbar nav { display: none !important; }
.customer-topbar .customer-order-topbar__nav { display: flex !important; flex-wrap: wrap; gap: 10px; margin-top: 12px; }

.customer-home-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(290px, .75fr);
    gap: 20px;
    padding: 32px;
    overflow: hidden;
    border-radius: 24px;
    background:
        radial-gradient(circle at 10% 100%, rgba(210, 170, 67, .28), transparent 31%),
        radial-gradient(circle at 80% 10%, rgba(119, 182, 126, .24), transparent 28%),
        linear-gradient(135deg, #0d5c34, #063f22);
    color: #fff;
    box-shadow: 0 18px 34px rgba(6, 63, 34, .16);
}

.customer-eyebrow {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 10px;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 999px;
    color: #eddbad;
    font-size: 11px;
    font-weight: 900;
}

.customer-home-hero h1 {
    max-width: 580px;
    margin: 14px 0 8px;
    color: #fff;
    font-size: clamp(25px, 3vw, 37px);
    line-height: 1.45;
}

.customer-home-hero p {
    max-width: 570px;
    margin: 0;
    color: rgba(255,255,255,.82);
    font-size: 14px;
    line-height: 2;
}

.customer-home-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-top: 22px;
}

.customer-home-hero .btn-primary {
    background: #fff;
    color: var(--customer-green-dark);
}

.customer-home-hero .btn-light {
    border: 1px solid rgba(255,255,255,.36);
    color: #fff;
    background: transparent;
}

.customer-home-summary {
    align-self: stretch;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 13px;
    padding: 20px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 18px;
    background: rgba(255,255,255,.1);
}

.customer-home-summary div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255,255,255,.17);
}

.customer-home-summary span { color: rgba(255,255,255,.72); font-size: 12px; }
.customer-home-summary strong { color: #fff; font-size: 19px; }
.customer-home-summary a { color: #f6dda0; font-size: 12px; font-weight: 900; }

.customer-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin: 18px 0;
}

.customer-shortcuts a {
    min-height: 96px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    padding: 16px;
    border: 1px solid var(--customer-line);
    border-radius: 17px;
    background: var(--customer-card);
    box-shadow: 0 6px 16px rgba(25, 58, 36, .04);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.customer-shortcuts a:hover {
    transform: translateY(-2px);
    border-color: #b4d8bd;
    box-shadow: 0 12px 24px rgba(25, 58, 36, .09);
}

.customer-shortcuts strong { color: var(--customer-green-dark); font-size: 14px; }
.customer-shortcuts span { color: var(--customer-muted); font-size: 11px; line-height: 1.8; }
.customer-shortcuts .customer-shortcut-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: #edf7ef;
    font-size: 20px;
    line-height: 1;
}
.customer-home-summary .customer-first-purchase-message {
    align-items: flex-start;
    flex-direction: column;
}
.customer-home-summary .customer-first-purchase-message strong {
    font-size: 18px;
    line-height: 1.9;
}

.customer-home-grid {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
}

.customer-home-card {
    padding: 22px;
    border: 1px solid var(--customer-line);
    border-radius: 20px;
    background: var(--customer-card);
    box-shadow: 0 7px 20px rgba(25, 58, 36, .045);
}

.customer-home-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.customer-home-card__head span { display: block; color: var(--customer-muted); font-size: 11px; }
.customer-home-card__head h2 { margin: 4px 0 0; color: var(--customer-ink); font-size: 18px; }
.customer-home-card__head > a { color: var(--customer-green); font-size: 12px; font-weight: 900; white-space: nowrap; }

.customer-order-highlight {
    display: grid;
    grid-template-columns: 1fr auto auto;
    align-items: center;
    gap: 13px;
    min-height: 76px;
    padding: 15px;
    border-radius: 14px;
    background: #f5f9f5;
}

.customer-order-highlight small { display: block; color: var(--customer-muted); font-size: 11px; }
.customer-order-highlight strong { display: block; margin-top: 4px; color: var(--customer-ink); }
.customer-order-highlight a { color: var(--customer-green); font-size: 12px; font-weight: 900; }

.customer-status-pill {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0 9px;
    border-radius: 999px;
    background: #e6edf9;
    color: #355175;
    font-size: 11px;
    font-weight: 900;
}
.customer-status-pill.status-paid,
.customer-status-pill.status-delivered,
.customer-status-pill.status-completed { background: #e5f7eb; color: #176b36; }
.customer-status-pill.status-cancelled,
.customer-status-pill.status-failed { background: #fff0ef; color: #a33a31; }
.customer-status-pill.status-shipped { background: #edf5ff; color: #1d5a95; }

.customer-address-summary strong,
.customer-address-summary span,
.customer-address-summary p { display: block; }
.customer-address-summary strong { color: var(--customer-ink); font-size: 15px; }
.customer-address-summary span { margin-top: 8px; color: var(--customer-muted); font-size: 12px; }
.customer-address-summary p { margin: 12px 0 0; color: #46564c; font-size: 13px; line-height: 2; }

.customer-empty-state {
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    border: 1px dashed #ccd9ce;
    border-radius: 14px;
    background: #fafdfb;
}
.customer-empty-state strong { color: var(--customer-ink); font-size: 14px; }
.customer-empty-state span { color: var(--customer-muted); font-size: 12px; line-height: 1.9; }
.customer-empty-state .btn-primary,
.customer-empty-state .btn-light { min-height: 38px; height: 38px; margin-top: 4px; }
.customer-empty-state.compact { min-height: 124px; }
.table-card td.empty,
.table-card .empty,
.club-reward-list > .empty {
    padding: 24px 18px;
    text-align: center;
    color: var(--customer-muted);
    font-size: 13px;
    line-height: 1.9;
}

.customer-home-card--stats { margin-top: 18px; }
.customer-stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.customer-stat-grid > div { padding: 14px; border-radius: 13px; background: #f7faf7; }
.customer-stat-grid span { display: block; color: var(--customer-muted); font-size: 11px; }
.customer-stat-grid strong { display: block; margin-top: 8px; color: var(--customer-green-dark); font-size: 14px; line-height: 1.8; }

.customer-mobile-nav { display: none; }

@media (max-width: 1120px) {
    .customer-main-nav { gap: 0; }
    .customer-main-nav a { padding-inline: 8px; }
    .customer-account-menu__name { display: none; }
}

@media (max-width: 900px) {
    .customer-global-header__row { width: min(100% - 28px, 1240px); min-height: 68px; }
    .customer-main-nav { display: none; }
    .customer-header-actions { margin-right: auto; }
    .customer-shell-content { width: min(100% - 28px, 1240px); padding-top: 22px; padding-bottom: 92px; }
    .customer-home-hero { grid-template-columns: 1fr; padding: 25px; }
    .customer-home-summary { flex-direction: row; align-items: stretch; }
    .customer-home-summary div { flex: 1; flex-direction: column; justify-content: center; padding: 0 0 0 12px; border-inline-start: 1px solid rgba(255,255,255,.17); border-bottom: 0; }
    .customer-home-summary div:last-of-type { border-inline-start: 0; }
    .customer-home-summary a { display: none; }
    .customer-shortcuts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .customer-home-grid { grid-template-columns: 1fr; }
    .customer-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .customer-mobile-nav {
        position: fixed;
        z-index: 50;
        right: 12px;
        left: 12px;
        bottom: 12px;
        display: grid;
        grid-template-columns: repeat(6, minmax(0, 1fr));
        min-height: 58px;
        padding: 6px;
        border: 1px solid rgba(221, 231, 222, .95);
        border-radius: 18px;
        background: rgba(255,255,255,.97);
        box-shadow: 0 14px 36px rgba(23, 55, 35, .18);
        backdrop-filter: blur(16px);
    }
    .customer-mobile-nav a { display: grid; place-items: center; min-width: 0; border-radius: 13px; color: #6b796f; font-size: 11px; font-weight: 900; line-height: 1.25; padding: 4px 2px; text-align: center; }
    .customer-mobile-nav a.active { background: #e9f5ec; color: var(--customer-green-dark); }
    .customer-mobile-nav span { display: inline-flex; align-items: center; justify-content: center; gap: 2px; white-space: normal; text-align: center; }
    .customer-mobile-nav b { min-width: 15px; height: 15px; padding: 0 3px; font-size: 8px; flex-shrink: 0; }
}

@media (max-width: 560px) {
    .customer-brand small,
    .customer-cart-link > span { display: none; }
    .customer-cart-link { padding: 0 7px; min-width: 34px; justify-content: center; }
    .customer-home-hero { border-radius: 19px; padding: 20px; }
    .customer-home-hero h1 { font-size: 25px; }
    .customer-home-hero p { font-size: 12px; }
    .customer-home-summary { padding: 14px; gap: 8px; }
    .customer-home-summary strong { font-size: 15px; }
    .customer-home-summary span { font-size: 10px; }
    .customer-shortcuts { gap: 9px; }
    .customer-shortcuts a { min-height: 86px; padding: 13px; }
    .customer-home-card { padding: 17px; border-radius: 16px; }
    .customer-order-highlight { grid-template-columns: 1fr auto; }
    .customer-order-highlight a { grid-column: 1 / -1; }
    .customer-topbar > div strong { font-size: 20px; }
    .customer-mobile-nav a { font-size: 10px; padding: 3px 1px; }
    .checkout-card .form-grid { grid-template-columns: 1fr; }
    .customer-order-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .customer-order-topbar__nav { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
    .customer-order-topbar__nav a {
        min-height: 34px;
        padding: 0 12px;
        border-radius: 999px;
        border: 1px solid var(--customer-line);
        background: #fff;
        color: var(--customer-green-dark);
        font-size: 12px;
        font-weight: 900;
        display: inline-flex;
        align-items: center;
    }
    .customer-receipt-form .form-grid { grid-template-columns: 1fr; }
    .bank-account-option { width: 100%; }
}

.customer-order-cards {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@font-face {
    font-family: 'SaraeiIcons';
    src: url('/assets/fonts/saraei-icons.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

.customer-icon {
    display: inline-block;
    font-family: 'SaraeiIcons' !important;
    font-style: normal;
    font-weight: normal;
    line-height: 1;
    vertical-align: -.08em;
    speak: never;
}
.customer-icon-credit-card::before { content: '\e177'; }
.customer-icon-transfer::before { content: '\e178'; }
.customer-icon-lock::before { content: '\e033'; }
.customer-icon-ok::before { content: '\e013'; }
.customer-icon-cart::before { content: '\e116'; }
.customer-icon-map::before { content: '\e062'; }
.customer-icon-time::before { content: '\e023'; }

.customer-order-topbar { margin-bottom: 12px; }
.customer-order-topbar + .notice { margin-bottom: 10px; }
.customer-order-heading { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 14px; }
.customer-order-heading .customer-order-number {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    min-width: 0;
    margin: 0;
    padding: 5px 10px;
    border: 1px solid var(--customer-line);
    border-radius: 999px;
    background: rgba(255,255,255,.72);
    font-size: 11px;
}
.customer-order-number bdi { max-width: min(52vw, 320px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #3e5045; font-weight: 800; }
.customer-order-overview ~ .table-card { margin-top: 10px; }
.customer-order-overview ~ .table-card:not(.customer-payment-card) { padding: 16px 20px; }
.customer-order-overview ~ .table-card .section-title { margin-bottom: 10px; }
.customer-order-overview ~ .table-card .section-title h2 {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.customer-order-overview ~ .table-card .section-title h2 > .customer-icon {
    color: var(--customer-green);
    font-size: 16px;
}
.customer-order-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 10px;
    margin-top: 10px;
}
.customer-order-detail-grid > .table-card {
    min-width: 0;
    margin: 0;
    padding: 16px 20px;
}
.customer-order-detail-grid .section-title h2 {
    display: inline-flex;
    align-items: center;
    gap: 9px;
}
.customer-order-detail-grid .section-title h2 > .customer-icon { color: var(--customer-green); font-size: 16px; }
.customer-shipping-address-editor { margin-top: 12px; border-top: 1px solid var(--customer-line); }
.customer-shipping-address-editor summary {
    display: flex;
    align-items: center;
    gap: 7px;
    padding: 11px 0 0;
    color: var(--customer-green);
    cursor: pointer;
    font-size: 12px;
    font-weight: 900;
}
.customer-shipping-address-editor form { display: grid; gap: 8px; margin-top: 11px; }
.customer-shipping-address-editor label { font-size: 11px; }
.customer-shipping-address-editor select { min-width: 0; width: 100%; }
.customer-shipping-address-editor__actions { display: flex; flex-wrap: wrap; gap: 8px; }
.customer-shipping-address-editor__actions button,
.customer-shipping-address-editor__actions .btn-light { min-height: 38px; height: 38px; font-size: 11px; }
.customer-add-address-link { display: inline-flex; margin-top: 12px; }

.customer-order-back {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--customer-green);
    font-size: 12px;
    font-weight: 900;
}

.customer-order-back::before { content: '←'; margin-left: 6px; }

.customer-order-overview {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, .8fr);
    align-items: stretch;
    gap: 20px;
    margin-bottom: 10px;
    padding: 24px;
    border: 1px solid #dce9df;
    border-radius: 22px;
    background: linear-gradient(135deg, #f5fbf6, #fff 62%);
    box-shadow: 0 14px 32px rgba(18, 67, 39, .07);
}

.customer-order-overview__main { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.customer-order-overview__main h1 { margin: 10px 0 4px; color: var(--customer-ink); font-size: clamp(19px, 2vw, 24px); line-height: 1.55; }
.customer-order-overview__main p { max-width: 620px; margin: 0; color: var(--customer-muted); font-size: 13px; line-height: 2; }
.customer-order-primary-action { margin-top: 13px; min-width: 190px; gap: 8px; text-decoration: none; }
.customer-payment-card {
    padding: 22px 24px;
    border-color: #acd5b5;
    background: #fff;
    box-shadow: 0 12px 30px rgba(15, 93, 53, .10);
    scroll-margin-top: 18px;
}
.customer-payment-card__header { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.customer-payment-card__header h2 { margin: 5px 0 0; color: var(--customer-ink); font-size: 20px; }
.customer-payment-card__header p { margin: 5px 0 0; color: var(--customer-muted); font-size: 12px; }
.customer-payment-card__eyebrow { display: inline-flex; align-items: center; gap: 6px; color: var(--customer-green); font-size: 11px; font-weight: 900; }
.customer-payment-card__total { flex: 0 0 auto; min-width: 185px; padding: 12px 15px; border-radius: 14px; background: #f2f8f3; text-align: center; }
.customer-payment-card__total > span { display: block; margin-bottom: 3px; color: var(--customer-muted); font-size: 10px; }
.customer-payment-card__amount { color: var(--customer-green-dark); font-size: 20px; white-space: nowrap; }
.customer-payment-card__amount small { font-size: 11px; }
.customer-payment-card__trust { display: flex; align-items: center; gap: 6px; margin: 13px 0 0; color: #54705d; font-size: 11px; }
.customer-payment-methods { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); align-items: stretch; gap: 12px; }
.customer-payment-methods form { display: flex; min-width: 0; margin: 0; }
.customer-payment-methods .customer-payment-method {
    width: 100%;
    min-height: 68px;
    margin: 0;
    padding: 10px 12px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    border: 1px solid #dbe7de;
    border-radius: 13px;
    background: #fff;
    color: var(--customer-ink);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.4;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(24, 45, 33, .06);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.customer-payment-methods .customer-payment-method > span:not(.customer-payment-method__arrow) { display: grid; gap: 3px; min-width: 0; text-align: right; }
.customer-payment-methods .customer-payment-method strong { color: inherit; font-size: 13px; }
.customer-payment-methods .customer-payment-method small { color: var(--customer-muted); font-size: 10px; font-weight: 600; }
.customer-payment-methods .customer-payment-method:hover { color: var(--customer-ink); border-color: #8cc39a; transform: translateY(-2px); box-shadow: 0 10px 21px rgba(24, 45, 33, .12); }
.customer-payment-methods .customer-payment-method:active { transform: translateY(0); box-shadow: 0 4px 10px rgba(24, 45, 33, .12); }
.customer-payment-methods .customer-payment-method:focus-visible { outline: 3px solid rgba(35, 113, 190, .22); outline-offset: 3px; }
.customer-payment-method__mark { width: 38px; height: 38px; flex: 0 0 38px; display: inline-grid; place-items: center; border-radius: 11px; background: #edf6ef; color: var(--customer-green); font-size: 16px; }
.customer-payment-method__arrow { margin-right: auto; color: #7c8c82; font-size: 18px; font-weight: 500; }
.customer-payment-method--parsian { border-color: #f0d0d2 !important; }
.customer-payment-method--parsian .customer-payment-method__mark { background: #fff0f1; color: #c71920; }
.customer-payment-method--snapppay { border-color: #c8e9f5 !important; }
.customer-payment-method--snapppay .customer-payment-method__mark { background: #e9f8fd; color: #008ed6; }
.customer-payment-method--manual { border-color: #cce3d2 !important; }
.customer-payment-method--manual .customer-payment-method__mark { background: #edf7ef; color: #176b36; }
.customer-payment-method--manual .customer-payment-method__mark { font-size: 15px; line-height: 1; }
#manual-payment[hidden] { display: none; }
.customer-order-overview__facts { display: grid; align-content: center; gap: 0; margin: 0; padding: 4px 20px; border-radius: 16px; background: #fff; border: 1px solid var(--customer-line); }
.customer-order-overview__facts div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid #edf2ee; }
.customer-order-overview__facts div:last-child { border-bottom: 0; }
.customer-order-overview__facts dt { color: var(--customer-muted); font-size: 11px; }
.customer-order-overview__facts dd { margin: 0; color: var(--customer-ink); font-size: 13px; font-weight: 900; }
.customer-order-overview ~ .table-card .customer-empty-state.compact {
    min-height: 72px;
    padding: 12px 14px;
    gap: 3px;
}

.customer-order-cancel { margin-top: 18px; border-top: 1px solid var(--customer-line); color: var(--customer-muted); }
.customer-order-cancel summary { width: fit-content; padding: 16px 0; cursor: pointer; font-size: 12px; font-weight: 800; }
.customer-order-cancel__body { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 0 18px; }
.customer-order-cancel__body p { margin: 0; font-size: 12px; line-height: 1.9; }
.customer-order-cancel__button { height: 38px; background: transparent; color: #a33a31; border: 1px solid #edcbc7; box-shadow: none; font-size: 12px; }

.customer-order-topbar__nav {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 12px;
}

.customer-order-topbar__nav a {
    min-height: 36px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--customer-line);
    background: #fff;
    color: var(--customer-green-dark);
    font-size: 12px;
    font-weight: 900;
    display: inline-flex;
    align-items: center;
}

.customer-shipment-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed var(--customer-line);
}

.customer-shipment-summary > div {
    padding: 12px;
    border-radius: 12px;
    background: #f7faf7;
}

.customer-shipment-summary span {
    display: block;
    color: var(--customer-muted);
    font-size: 11px;
}

.customer-shipment-summary strong {
    display: block;
    margin-top: 6px;
    color: var(--customer-ink);
    font-size: 13px;
}

.bank-account-options {
    display: grid;
    gap: 10px;
    margin-bottom: 16px;
}

.bank-account-option {
    width: 100%;
    margin: 0 !important;
    padding: 14px;
    border: 1px solid var(--customer-line);
    border-radius: 14px;
    background: #fafdfb;
    align-items: flex-start !important;
}

.bank-account-option:has(input:checked) {
    border-color: #8ec79a;
    background: #f2faf4;
    box-shadow: inset 0 0 0 1px rgba(23, 107, 54, .08);
}

.bank-account-option span {
    line-height: 1.9;
    font-size: 13px;
}

.customer-order-timeline {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0;
}

.customer-order-timeline li {
    position: relative;
    padding: 0 18px 18px 0;
    border-inline-end: 2px solid #d9e8dc;
}

.customer-order-timeline li:last-child {
    padding-bottom: 0;
    border-inline-end-color: transparent;
}

.customer-order-timeline li::before {
    content: '';
    position: absolute;
    top: 4px;
    inset-inline-end: -7px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--customer-green);
    box-shadow: 0 0 0 4px #edf7ef;
}

.customer-order-timeline__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: 6px;
    color: var(--customer-muted);
    font-size: 11px;
}

.customer-order-timeline__meta time {
    font-weight: 800;
    color: #4d5d53;
}

.customer-order-timeline strong {
    display: block;
    color: var(--customer-ink);
    font-size: 14px;
}

.customer-order-timeline p {
    margin: 6px 0 0;
    color: var(--customer-muted);
    font-size: 12px;
    line-height: 1.9;
}

@media (max-width: 900px) {
    .customer-order-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .customer-shipment-summary { grid-template-columns: 1fr; }
    .customer-order-overview { grid-template-columns: 1fr; }
    .customer-order-detail-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
    .customer-order-cards { grid-template-columns: 1fr; }
    .customer-order-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
    .customer-order-number bdi { max-width: 68vw; }
    .customer-order-overview { padding: 18px; border-radius: 18px; }
    .customer-order-overview__main h1 { font-size: 19px; }
    .customer-order-overview__facts { padding: 2px 14px; }
    .customer-order-primary-action { width: 100%; }
    .customer-payment-card { padding: 17px; }
    .customer-payment-card__header { align-items: stretch; flex-direction: column; gap: 13px; }
    .customer-payment-card__header h2 { font-size: 18px; }
    .customer-payment-card__total { display: flex; align-items: center; justify-content: space-between; min-width: 0; text-align: right; }
    .customer-payment-card__total > span { margin: 0; }
    .customer-payment-card__amount { font-size: 17px; }
    .customer-payment-methods,
    .customer-payment-methods form,
    .customer-payment-methods button,
    .customer-payment-methods .btn { width: 100%; }
    .customer-payment-methods { grid-template-columns: 1fr; }
    .customer-order-overview ~ .table-card:not(.customer-payment-card) { padding: 15px; }
    .customer-order-overview ~ .table-card > .table-responsive { overflow: visible; }
    .customer-order-overview ~ .table-card table { min-width: 0; }
    .customer-order-overview ~ .table-card table thead { display: none; }
    .customer-order-overview ~ .table-card table,
    .customer-order-overview ~ .table-card table tbody,
    .customer-order-overview ~ .table-card table tr,
    .customer-order-overview ~ .table-card table td { display: block; width: 100%; }
    .customer-order-overview ~ .table-card table tr { padding: 12px 14px; border: 1px solid var(--customer-line); border-radius: 14px; background: #fbfdfb; }
    .customer-order-overview ~ .table-card table td { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 8px 0; border: 0; text-align: left; }
    .customer-order-overview ~ .table-card table td::before { content: attr(data-label); color: var(--customer-muted); font-size: 10px; font-weight: 700; }
    .customer-order-overview ~ .table-card table td:first-child { display: block; padding-top: 0; color: var(--customer-ink); font-weight: 900; text-align: right; }
    .customer-order-overview ~ .table-card table td:first-child::before { display: none; }
    .customer-order-cancel__body { align-items: stretch; flex-direction: column; }
    .customer-order-cancel__button { width: 100%; }
}
/* SARAIEI CUSTOMER EXPERIENCE V1 END */
.customer-brand__logo {
    display: block;
    width: 44px;
    height: 44px;
    object-fit: contain;
    object-position: center;
    flex: 0 0 44px;
}
