/* ============================================
   Sayara Product Page Buy Button Styles
   Scoped to product pages only
   ============================================ */

.sayara-product-purchase-entry {
    margin: 20px 0;
}

a.sayara-product-buy-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 50px;
    padding: 0 32px;
    border: 2px solid #1d1a54;
    border-radius: 8px;
    background: #1d1a54;
    color: #ffffff;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.sayara-checkout-flow {
    --sc-primary: #1d1a54;
    --sc-blue: #1d1a54;
    --sc-yellow: #f5bb38;
    --sc-green: #1d1a54;
    --sc-muted: #96A0B6;
    --sc-text: #393839;
    --sc-soft: #f7f8fb;
    direction: ltr;
}
.sayara-checkout-flow .sayara-checkout-shell {
    direction: rtl;
}
.sayara-checkout-flow .sayara-price-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sayara-checkout-flow .sayara-price-list > div {
    align-items: center;
    border: 1px solid rgba(150, 160, 182, .2);
    border-radius: 8px;
    background: #ffffff;
    padding: 10px 12px;
}
.sayara-checkout-flow .sayara-price-list dt {
    color: #96A0B6;
    font-weight: 700;
}
.sayara-checkout-flow .sayara-price-list dd {
    color: #393839;
    text-align: left;
    white-space: nowrap;
}
.sayara-checkout-flow .sayara-price-list .sayara-price-total {
    margin-top: 4px;
    border-color: rgba(245, 187, 56, .55);
    background: rgba(245, 187, 56, .12);
}
.sayara-checkout-flow .sayara-price-list .sayara-price-total dt,
.sayara-checkout-flow .sayara-price-list .sayara-price-total dd {
    color: #1d1a54;
    font-size: 14px;
    font-weight: 800;
}
.sayara-checkout-flow .sayara-summary-note {
    background: rgba(29, 26, 84, .06);
}
.sayara-checkout-flow .sayara-summary-note b {
    color: #1d1a54;
}
.sayara-checkout-flow .sayara-checkout-sidebar,
.sayara-checkout-flow .sayara-summary-card,
.sayara-checkout-flow .sayara-help-card {
    max-width: min(100%, 340px);
}
@media (max-width: 620px) {
    .sayara-checkout-flow .sayara-price-list > div {
        flex-direction: column;
    }
    .sayara-checkout-flow .sayara-price-list dd {
        width: 100%;
        text-align: right;
        white-space: normal;
    }
    body.sayara-checkout-template-page {
        overflow-x: hidden;
    }
    body.sayara-checkout-template-page .container,
    body.sayara-checkout-template-page .container-fluid,
    body.sayara-checkout-template-page .section-container,
    body.sayara-checkout-template-page .section-container-fluid,
    body.sayara-checkout-template-page .entry-content,
    body.sayara-checkout-template-page .page-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    .sayara-checkout-flow,
    .sayara-checkout-flow .sayara-checkout-shell,
    .sayara-checkout-flow .sayara-checkout-grid,
    .sayara-checkout-flow .sayara-checkout-main,
    .sayara-checkout-flow .sayara-checkout-sidebar,
    .sayara-checkout-flow .sayara-section,
    .sayara-checkout-flow .sayara-step-panel,
    .sayara-checkout-flow .sayara-summary-card,
    .sayara-checkout-flow .sayara-help-card {
        width: calc(100vw - 56px);
        max-width: calc(100vw - 56px);
        min-width: 0;
        margin-right: auto;
        margin-left: auto;
    }
    .sayara-checkout-flow .sayara-checkout-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .sayara-checkout-flow .sayara-checkout-sidebar {
        flex: 0 1 auto;
    }
    .sayara-checkout-flow {
        padding-right: 12px;
        padding-left: 12px;
    }
    .sayara-checkout-flow .sayara-car-preview {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .sayara-checkout-flow .sayara-car-image {
        flex: 0 0 92px;
        max-width: 92px;
    }
    .sayara-checkout-flow .sayara-car-preview > div:last-child {
        min-width: 0;
    }
    .sayara-checkout-flow .sayara-summary-card {
        overflow: hidden;
    }
    .sayara-checkout-flow .sayara-summary-note {
        flex-wrap: wrap;
    }
}

a.sayara-product-buy-link:hover,
a.sayara-product-buy-link:focus {
    background: #2a246e;
    border-color: #2a246e;
    color: #ffffff;
}

a.sayara-product-buy-link:active {
    opacity: 0.9;
    transform: scale(0.98);
}

/* ============================================
   Sayara Checkout Flow Styles
   ============================================ */

.sayara-checkout-flow {
    --sc-primary: #211b5b;
    --sc-blue: #3578d4;
    --sc-green: #11ad68;
    --sc-yellow: #f5bb38;
    --sc-text: #17172b;
    --sc-muted: #78839a;
    --sc-border: #e7eaf0;
    --sc-soft: #f7f8fb;
    direction: rtl;
    width: 100%;
    padding: 54px 20px 80px;
    background: #fff;
    color: var(--sc-text);
    font-family: Tahoma, Arial, sans-serif;
    line-height: 1.6;
}

.sayara-checkout-flow, .sayara-checkout-flow * { box-sizing: border-box; }
.sayara-checkout-flow { overflow-x: hidden; }
.sayara-checkout-flow button, .sayara-checkout-flow input, .sayara-checkout-flow select { font: inherit; }
.sayara-checkout-flow .sayara-checkout-shell { width: min(1120px, 100%); margin: 0 auto; }
.sayara-checkout-flow .sayara-checkout-heading { margin-bottom: 28px; text-align: right; }
.sayara-checkout-flow .sayara-checkout-heading p { margin: 0 0 4px; color: var(--sc-blue); font-size: 13px; font-weight: 700; }
.sayara-checkout-flow .sayara-checkout-heading h1 { margin: 0; font-size: 30px; color: var(--sc-primary); }
.sayara-checkout-flow .sayara-checkout-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 28px; align-items: start; }
.sayara-checkout-flow .sayara-checkout-main { min-width: 0; }
.sayara-checkout-flow .sayara-section, .sayara-checkout-flow .sayara-step-panel, .sayara-checkout-flow .sayara-summary-card, .sayara-checkout-flow .sayara-help-card { border: 1px solid var(--sc-border); border-radius: 14px; background: #fff; box-shadow: 0 4px 18px rgba(31, 36, 70, .045); }
.sayara-checkout-flow .sayara-section { padding: 25px; margin-bottom: 22px; }
.sayara-checkout-flow .sayara-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 22px; }
.sayara-checkout-flow .sayara-section-title > span { display: grid; place-items: center; flex: 0 0 34px; height: 34px; border-radius: 50%; background: #eef5ff; color: var(--sc-blue); font-weight: 700; }
.sayara-checkout-flow .sayara-section-title h2 { margin: 0; font-size: 20px; }
.sayara-checkout-flow .sayara-section-title p { margin: 2px 0 0; color: var(--sc-muted); font-size: 12px; }
.sayara-checkout-flow .sayara-method-options { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.sayara-checkout-flow .sayara-method-card { position: relative; display: grid; grid-template-columns: 42px 1fr; grid-template-rows: auto auto; gap: 0 10px; padding: 18px; border: 1px solid var(--sc-border); border-radius: 10px; cursor: pointer; transition: .2s ease; }
.sayara-checkout-flow .sayara-method-card.is-selected { border-color: var(--sc-primary); box-shadow: 0 0 0 2px rgba(33, 27, 91, .08); }
.sayara-checkout-flow .sayara-method-card input { position: absolute; top: 14px; left: 14px; accent-color: var(--sc-primary); }
.sayara-checkout-flow .sayara-method-card i { grid-row: 1 / 3; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; background: #f0effa; color: var(--sc-primary); font-style: normal; font-weight: 700; }
.sayara-checkout-flow .sayara-method-card strong { font-size: 15px; }
.sayara-checkout-flow .sayara-method-card small { color: var(--sc-muted); }
.sayara-checkout-flow .sayara-primary-button, .sayara-checkout-flow .sayara-secondary-button { min-height: 44px; padding: 0 24px; border-radius: 7px; cursor: pointer; font-weight: 700; transition: opacity .2s ease, transform .2s ease; }
.sayara-checkout-flow .sayara-primary-button { border: 1px solid var(--sc-primary); background: var(--sc-primary); color: #fff; }
.sayara-checkout-flow .sayara-secondary-button { border: 1px solid var(--sc-border); background: #fff; color: var(--sc-primary); }
.sayara-checkout-flow .sayara-primary-button:disabled, .sayara-checkout-flow .sayara-secondary-button:disabled { opacity: .65; cursor: wait; }
.sayara-checkout-flow .sayara-primary-button:focus-visible, .sayara-checkout-flow .sayara-secondary-button:focus-visible, .sayara-checkout-flow input:focus-visible, .sayara-checkout-flow select:focus-visible { outline: 3px solid rgba(53, 120, 212, .22); outline-offset: 2px; }
.sayara-checkout-flow .sayara-method-continue { margin-top: 18px; }
.sayara-checkout-flow .sayara-flow-panel { display: none; scroll-margin-top: 30px; }
.sayara-checkout-flow .sayara-flow-panel.is-active { display: block; }
.sayara-checkout-flow .sayara-stepper { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 18px; padding: 5px; border: 1px solid var(--sc-border); border-radius: 10px; background: var(--sc-soft); }
.sayara-checkout-flow .sayara-stepper button { display: flex; justify-content: center; align-items: center; gap: 7px; min-height: 43px; border: 0; border-radius: 7px; background: transparent; color: var(--sc-muted); cursor: pointer; font-size: 12px; }
.sayara-checkout-flow .sayara-stepper button b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #e7eaf0; }
.sayara-checkout-flow .sayara-stepper button.is-active { background: #fff; color: var(--sc-blue); box-shadow: 0 2px 8px rgba(37, 49, 85, .08); font-weight: 700; }
.sayara-checkout-flow .sayara-stepper button.is-active b { background: var(--sc-blue); color: #fff; }
.sayara-checkout-flow .sayara-stepper button.is-complete { color: var(--sc-green); }
.sayara-checkout-flow .sayara-stepper button.is-complete b { background: var(--sc-green); color: #fff; }
.sayara-checkout-flow .sayara-step-panel { display: none; padding: 26px; }
.sayara-checkout-flow .sayara-step-panel.is-active { display: block; }
.sayara-checkout-flow .sayara-fields-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.sayara-checkout-flow .sayara-checkout-field { display: flex; flex-direction: column; gap: 6px; color: var(--sc-text); font-size: 12px; }
.sayara-checkout-flow .sayara-checkout-field input, .sayara-checkout-flow .sayara-checkout-field select { width: 100%; height: 44px; padding: 0 12px; border: 1px solid var(--sc-border); border-radius: 7px; outline: none; background: #fff; color: var(--sc-text); }
.sayara-checkout-flow .sayara-checkout-field input:focus, .sayara-checkout-flow .sayara-checkout-field select:focus { border-color: var(--sc-blue); }
.sayara-checkout-flow .sayara-checkout-field input.has-error, .sayara-checkout-flow .sayara-checkout-field select.has-error, .sayara-checkout-flow .sayara-checkout-otp input.has-error { border-color: #c93535; background: #fff7f7; }
.sayara-checkout-flow .sayara-field-error { display: block; min-height: 16px; color: #a62121; font-size: 11px; line-height: 1.4; }
.sayara-checkout-flow .sayara-checkbox-field { flex-direction: row; align-items: center; align-self: end; min-height: 44px; }
.sayara-checkout-flow .sayara-checkbox-field input { width: 18px; height: 18px; accent-color: var(--sc-green); }
.sayara-checkout-flow .sayara-conditional-field { opacity: .55; }
.sayara-checkout-flow .sayara-conditional-field.is-active { opacity: 1; }
.sayara-checkout-flow .sayara-conditional-field input:disabled { background: #f2f3f6; cursor: not-allowed; }
.sayara-checkout-flow .sayara-local-form > .sayara-primary-button { float: left; margin-top: 20px; }
.sayara-checkout-flow .sayara-local-form::after { content: ''; display: block; clear: both; }
.sayara-checkout-flow .sayara-form-message { display: none; margin-top: 14px; padding: 9px 12px; border-radius: 7px; background: #fff4f4; color: #a62121; font-size: 12px; overflow-wrap: anywhere; }
.sayara-checkout-flow .sayara-form-message.is-visible { display: block; }
.sayara-checkout-flow .sayara-form-message.is-success { border: 1px solid #bde9d2; background: #f2fbf6; color: #087946; }
.sayara-checkout-flow .sayara-step-actions { display: flex; justify-content: flex-end; gap: 10px; margin-top: 22px; }
.sayara-checkout-flow .sayara-otp-card { max-width: 480px; margin: 0 auto; text-align: center; }
.sayara-checkout-flow .sayara-phone-icon { display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 14px; border-radius: 16px; background: #edf5ff; color: var(--sc-blue); font-size: 28px; }
.sayara-checkout-flow .sayara-otp-card h2 { margin: 0 0 4px; font-size: 21px; }
.sayara-checkout-flow .sayara-otp-card p { margin: 0 0 5px; color: var(--sc-muted); font-size: 12px; }
.sayara-checkout-flow .sayara-otp-card > strong { color: var(--sc-blue); }
.sayara-checkout-flow .sayara-checkout-otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 9px; margin: 22px 0 15px; }
.sayara-checkout-flow .sayara-checkout-otp input { min-width: 0; height: 48px; padding: 0; border: 1px solid var(--sc-border); border-radius: 6px; text-align: center; outline: none; }
.sayara-checkout-flow .sayara-checkout-otp input:focus { border-color: var(--sc-blue); }
.sayara-checkout-flow .sayara-resend button { padding: 0; border: 0; background: transparent; color: var(--sc-blue); cursor: pointer; font-weight: 700; }
.sayara-checkout-flow .sayara-payment-card, .sayara-checkout-flow .sayara-finance-summary { overflow: hidden; border: 1px solid var(--sc-border); border-radius: 10px; background: var(--sc-soft); }
.sayara-checkout-flow .sayara-payment-card > div, .sayara-checkout-flow .sayara-finance-summary > div { display: flex; justify-content: space-between; gap: 15px; padding: 15px 17px; border-bottom: 1px solid var(--sc-border); }
.sayara-checkout-flow .sayara-payment-card strong, .sayara-checkout-flow .sayara-finance-summary strong { color: var(--sc-green); }
.sayara-checkout-flow .sayara-payment-card p { margin: 0; padding: 12px 17px; color: var(--sc-muted); font-size: 12px; }
.sayara-checkout-flow .sayara-eligibility-status { display: flex; align-items: center; gap: 14px; margin-bottom: 20px; padding: 17px; border: 1px solid #bde9d2; border-radius: 10px; background: #f2fbf6; }
.sayara-checkout-flow .sayara-eligibility-status > span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--sc-green); color: #fff; font-size: 22px; }
.sayara-checkout-flow .sayara-eligibility-status h2 { margin: 0; color: #087946; font-size: 19px; }
.sayara-checkout-flow .sayara-eligibility-status p { margin: 2px 0 0; color: var(--sc-muted); font-size: 12px; }
.sayara-checkout-flow .sayara-customer-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 0 22px; margin-top: 20px; padding: 18px; border: 1px solid var(--sc-border); border-radius: 10px; background: #fff; }
.sayara-checkout-flow .sayara-customer-summary h3 { grid-column: 1 / -1; margin: 0 0 10px; color: var(--sc-primary); font-size: 16px; }
.sayara-checkout-flow .sayara-customer-summary > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--sc-border); font-size: 12px; }
.sayara-checkout-flow .sayara-customer-summary span { color: var(--sc-muted); }
.sayara-checkout-flow .sayara-customer-summary strong { text-align: left; }
.sayara-checkout-flow .sayara-summary-card { position: sticky; top: 25px; padding: 22px; }
.sayara-checkout-flow .sayara-summary-card h2 { margin: 0 0 16px; padding-bottom: 11px; border-bottom: 1px solid var(--sc-border); font-size: 19px; }
.sayara-checkout-flow .sayara-car-preview { display: grid; grid-template-columns: 105px 1fr; gap: 12px; align-items: center; }
.sayara-checkout-flow .sayara-car-image svg, .sayara-checkout-flow .sayara-car-image img { display: block; width: 100%; height: 105px; border-radius: 8px; object-fit: cover; }
.sayara-checkout-flow .sayara-car-preview a { color: inherit; text-decoration: none; }
.sayara-checkout-flow .sayara-checkout-error { max-width: 620px; margin: 70px auto; padding: 24px; border: 1px solid #f0c7c7; border-radius: 12px; background: #fff7f7; color: #a62121; text-align: center; font-size: 18px; font-weight: 700; }
.sayara-checkout-flow .sayara-login-notice { display: none; margin: 0 0 20px; padding: 12px 16px; border: 1px solid #f0d794; border-radius: 9px; background: #fff9e8; color: #755914; text-align: center; font-size: 13px; font-weight: 700; }
.sayara-checkout-flow .sayara-login-notice.is-visible { display: block; }
.sayara-checkout-flow .sayara-car-preview strong, .sayara-checkout-flow .sayara-car-preview span { display: block; }
.sayara-checkout-flow .sayara-car-preview strong { font-size: 13px; }
.sayara-checkout-flow .sayara-car-preview span { margin-top: 4px; color: var(--sc-muted); font-size: 11px; }
.sayara-checkout-flow .sayara-product-reference { margin: 12px 0 0; padding: 8px 10px; border-radius: 6px; background: var(--sc-soft); color: var(--sc-muted); font-size: 11px; }
.sayara-checkout-flow .sayara-price-list { margin: 17px 0 0; }
.sayara-checkout-flow .sayara-price-list > div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; color: var(--sc-muted); font-size: 12px; }
.sayara-checkout-flow .sayara-price-list dd { margin: 0; color: var(--sc-text); font-weight: 700; }
.sayara-checkout-flow .sayara-price-list .sayara-price-total { margin-top: 5px; padding-top: 14px; border-top: 1px solid var(--sc-border); color: var(--sc-text); font-weight: 700; }
.sayara-checkout-flow .sayara-summary-note { display: flex; align-items: center; gap: 10px; margin-top: 12px; padding: 12px; border-radius: 8px; background: #eefaf4; }
.sayara-checkout-flow .sayara-summary-note b { color: var(--sc-green); white-space: nowrap; }
.sayara-checkout-flow .sayara-summary-note span { color: #487061; font-size: 11px; }
.sayara-checkout-flow .sayara-help-card { display: flex; align-items: center; gap: 11px; margin-top: 15px; padding: 15px; background: #fffaf0; }
.sayara-checkout-flow .sayara-help-card > span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 8px; background: var(--sc-yellow); color: #fff; font-weight: 700; }
.sayara-checkout-flow .sayara-help-card strong, .sayara-checkout-flow .sayara-help-card small { display: block; }
.sayara-checkout-flow .sayara-help-card small { color: var(--sc-muted); }
@media (max-width: 900px) {
    .sayara-checkout-flow .sayara-checkout-grid { grid-template-columns: 1fr; }
    .sayara-checkout-flow .sayara-checkout-sidebar { order: -1; }
    .sayara-checkout-flow .sayara-summary-card { position: static; }
}

@media (max-width: 620px) {
    .sayara-checkout-flow { padding: 30px 12px 50px; }
    .sayara-checkout-flow .sayara-checkout-heading h1 { font-size: 24px; }
    .sayara-checkout-flow .sayara-section, .sayara-checkout-flow .sayara-step-panel { padding: 18px 15px; }
    .sayara-checkout-flow .sayara-method-options, .sayara-checkout-flow .sayara-fields-grid { grid-template-columns: 1fr; }
    .sayara-checkout-flow .sayara-stepper button { flex-direction: column; gap: 2px; min-height: 58px; font-size: 10px; }
    .sayara-checkout-flow .sayara-stepper button b { width: 20px; height: 20px; }
    .sayara-checkout-flow .sayara-checkout-otp { gap: 5px; }
    .sayara-checkout-flow .sayara-checkout-otp input { height: 43px; }
    .sayara-checkout-flow .sayara-step-actions { flex-direction: column-reverse; }
    .sayara-checkout-flow .sayara-step-actions button, .sayara-checkout-flow .sayara-local-form > .sayara-primary-button, .sayara-checkout-flow .sayara-method-continue { width: 100%; }
    .sayara-checkout-flow .sayara-car-preview { grid-template-columns: 90px 1fr; }
    .sayara-checkout-flow .sayara-customer-summary { grid-template-columns: 1fr; }
    .sayara-checkout-flow .sayara-payment-card > div, .sayara-checkout-flow .sayara-finance-summary > div, .sayara-checkout-flow .sayara-price-list > div { align-items: flex-start; overflow-wrap: anywhere; }
    .sayara-checkout-flow .sayara-summary-card { padding: 18px 15px; }
}

.sayara-checkout-flow {
    --sc-primary: #1d1a54;
    --sc-blue: #1d1a54;
    --sc-yellow: #f5bb38;
    --sc-green: #1d1a54;
    --sc-muted: #96A0B6;
    --sc-text: #393839;
    --sc-soft: #f7f8fb;
}
.sayara-checkout-flow .sayara-price-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sayara-checkout-flow .sayara-price-list > div {
    align-items: center;
    border: 1px solid rgba(150, 160, 182, .2);
    border-radius: 8px;
    background: #ffffff;
    padding: 10px 12px;
}
.sayara-checkout-flow .sayara-price-list dt {
    color: #96A0B6;
    font-weight: 700;
}
.sayara-checkout-flow .sayara-price-list dd {
    color: #393839;
    text-align: left;
    white-space: nowrap;
}
.sayara-checkout-flow .sayara-price-list .sayara-price-total {
    margin-top: 4px;
    border-color: rgba(245, 187, 56, .55);
    background: rgba(245, 187, 56, .12);
}
.sayara-checkout-flow .sayara-price-list .sayara-price-total dt,
.sayara-checkout-flow .sayara-price-list .sayara-price-total dd {
    color: #1d1a54;
    font-size: 14px;
    font-weight: 800;
}
.sayara-checkout-flow .sayara-summary-note {
    background: rgba(29, 26, 84, .06);
}
.sayara-checkout-flow .sayara-summary-note b {
    color: #1d1a54;
}
@media (max-width: 620px) {
    .sayara-checkout-flow .sayara-price-list > div {
        flex-direction: column;
    }
    .sayara-checkout-flow .sayara-price-list dd {
        width: 100%;
        text-align: right;
        white-space: normal;
    }
}

@media (max-width: 620px) {
    body.sayara-checkout-template-page {
        overflow-x: hidden;
    }
    body.sayara-checkout-template-page .container,
    body.sayara-checkout-template-page .container-fluid,
    body.sayara-checkout-template-page .section-container,
    body.sayara-checkout-template-page .section-container-fluid,
    body.sayara-checkout-template-page .entry-content,
    body.sayara-checkout-template-page .page-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }
    .sayara-checkout-flow,
    .sayara-checkout-flow .sayara-checkout-shell,
    .sayara-checkout-flow .sayara-checkout-grid,
    .sayara-checkout-flow .sayara-checkout-main,
    .sayara-checkout-flow .sayara-checkout-sidebar,
    .sayara-checkout-flow .sayara-section,
    .sayara-checkout-flow .sayara-step-panel,
    .sayara-checkout-flow .sayara-summary-card,
    .sayara-checkout-flow .sayara-help-card {
        width: 100%;
        max-width: 100%;
        min-width: 0;
    }
    .sayara-checkout-flow {
        direction: ltr;
        padding-right: 12px;
        padding-left: 12px;
    }
    .sayara-checkout-flow .sayara-checkout-shell {
        direction: rtl;
    }
    .sayara-checkout-flow .sayara-checkout-grid {
        display: flex;
        flex-direction: column;
        gap: 16px;
    }
    .sayara-checkout-flow .sayara-checkout-sidebar {
        flex: 0 1 auto;
    }
    .sayara-checkout-flow .sayara-car-preview {
        display: flex;
        align-items: center;
        gap: 12px;
    }
    .sayara-checkout-flow .sayara-car-image {
        flex: 0 0 92px;
        max-width: 92px;
    }
    .sayara-checkout-flow .sayara-car-preview > div:last-child {
        min-width: 0;
    }
    .sayara-checkout-flow .sayara-summary-card {
        overflow: hidden;
    }
    .sayara-checkout-flow .sayara-summary-note {
        flex-wrap: wrap;
    }
}

/* =========================================================================
 * إعادة تصميم شاشة اختيار الطريقة + ملخص السعر (مطابقة للتصميم)
 * ====================================================================== */
.sayara-checkout-flow .sayara-purchase-method { padding: 26px; }
.sayara-checkout-flow .sayara-purchase-method__head { margin-bottom: 20px; }
.sayara-checkout-flow .sayara-purchase-method__head h2 { margin: 0; font-size: 20px; font-weight: 800; color: var(--sc-primary); text-align: center; }
.sayara-checkout-flow .sayara-method-options { display: grid; gap: 16px; margin-bottom: 22px; }
.sayara-checkout-flow .sayara-method-card { position: relative; display: flex; align-items: flex-start; gap: 14px; padding: 20px 22px; border: 1.5px solid var(--sc-border); border-radius: 16px; cursor: pointer; transition: border-color .25s ease, box-shadow .25s ease, background .25s ease; }
.sayara-checkout-flow .sayara-method-card input { position: absolute; opacity: 0; pointer-events: none; }
.sayara-checkout-flow .sayara-method-card.is-selected { border-color: var(--sc-primary); box-shadow: 0 8px 26px rgba(29, 26, 84, .1); background: #fbfbfe; }
.sayara-checkout-flow .sayara-method-card__radio { flex: 0 0 auto; order: 3; width: 22px; height: 22px; margin-top: 3px; border-radius: 50%; border: 2px solid #c7ccda; position: relative; transition: border-color .2s ease; }
.sayara-checkout-flow .sayara-method-card.is-selected .sayara-method-card__radio { border-color: var(--sc-primary); }
.sayara-checkout-flow .sayara-method-card.is-selected .sayara-method-card__radio::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--sc-primary); }
.sayara-checkout-flow .sayara-method-card__body { order: 2; flex: 1 1 auto; }
.sayara-checkout-flow .sayara-method-card__body strong { display: block; font-size: 17px; font-weight: 800; color: var(--sc-primary); margin-bottom: 6px; }
.sayara-checkout-flow .sayara-method-card__body small { display: block; color: var(--sc-muted); font-size: 13px; line-height: 1.9; margin-bottom: 8px; }
.sayara-checkout-flow .sayara-method-card__link { color: var(--sc-yellow); font-size: 13px; font-weight: 700; text-decoration: none; }
.sayara-checkout-flow .sayara-method-card__link:hover { text-decoration: underline; }
.sayara-checkout-flow .sayara-method-card__badge { order: 1; flex: 0 0 auto; text-align: center; padding-inline-end: 10px; border-inline-end: 1px solid var(--sc-border); }
.sayara-checkout-flow .sayara-method-card__badge b { display: block; color: #16a34a; font-size: 18px; font-weight: 800; }
.sayara-checkout-flow .sayara-method-card__badge small { color: #16a34a; font-size: 12px; }
.sayara-checkout-flow .sayara-method-continue { width: 100%; background: var(--sc-primary); color: #fff; border: 0; border-radius: 12px; padding: 15px; font-size: 16px; font-weight: 700; cursor: pointer; }
.sayara-checkout-flow .sayara-summary-card h2 { font-size: 18px; font-weight: 800; color: var(--sc-primary); padding-bottom: 14px; border-bottom: 1px solid var(--sc-border); text-align: center; }
.sayara-checkout-flow .sayara-price-list > div { display: flex; align-items: center; justify-content: space-between; padding: 12px 0; border-bottom: 1px dashed var(--sc-border); }
.sayara-checkout-flow .sayara-price-list dt { color: var(--sc-text); font-size: 14px; font-weight: 600; margin: 0; }
.sayara-checkout-flow .sayara-price-list dd { color: #16a34a; font-size: 15px; font-weight: 800; margin: 0; }
.sayara-checkout-flow .sayara-price-total { background: var(--sc-soft); border-radius: 10px; padding: 14px 12px !important; border: 0 !important; margin-top: 6px; }
.sayara-checkout-flow .sayara-price-total dt { font-weight: 800 !important; color: var(--sc-primary) !important; font-size: 16px !important; }
.sayara-checkout-flow .sayara-price-total dd { color: var(--sc-primary) !important; font-size: 18px !important; }
.sayara-checkout-flow .sayara-summary-note { display: flex; align-items: center; gap: 10px; background: #f0fdf4; border: 1px solid #bbf7d0; border-radius: 12px; padding: 14px; margin-top: 14px; }
.sayara-checkout-flow .sayara-summary-note b { color: #16a34a; font-size: 18px; font-weight: 800; }
.sayara-checkout-flow .sayara-summary-note span { color: #4b7c5c; font-size: 12px; line-height: 1.7; }
@media (max-width: 560px) { .sayara-checkout-flow .sayara-method-card { flex-wrap: wrap; } .sayara-checkout-flow .sayara-method-card__badge { border-inline-end: 0; } }

/* =========================================================================
 * إعادة تصميم فورم التمويل (المعلومات الشخصية / العمل / الأهلية) — مطابقة للتصميم
 * ====================================================================== */
.sayara-checkout-flow .sayara-form-heading { font-size: 22px; font-weight: 800; color: var(--sc-primary); margin: 0 0 22px; position: relative; padding-bottom: 12px; }
.sayara-checkout-flow .sayara-form-heading::after { content: ""; position: absolute; bottom: 0; inset-inline-start: 0; width: 46px; height: 3px; border-radius: 3px; background: var(--sc-yellow); }
.sayara-checkout-flow .sayara-fields-stack { display: grid; gap: 16px; }
.sayara-checkout-flow .sayara-field { position: relative; }
.sayara-checkout-flow .sayara-field > input,
.sayara-checkout-flow .sayara-field > select { width: 100%; height: 52px; border: 1px solid #e3e7ef; border-radius: 12px; padding: 0 16px; background: #fff; color: var(--sc-text); font-size: 15px; text-align: right; transition: border-color .2s ease, box-shadow .2s ease; }
.sayara-checkout-flow .sayara-field > input::placeholder { color: #9aa3b2; }
.sayara-checkout-flow .sayara-field > input:focus,
.sayara-checkout-flow .sayara-field > select:focus { outline: 0; border-color: var(--sc-primary); box-shadow: 0 0 0 3px rgba(29,26,84,.08); }
.sayara-checkout-flow .sayara-field > input.has-error,
.sayara-checkout-flow .sayara-field > select.has-error { border-color: #e5484d; }
.sayara-checkout-flow .sayara-field-error { display: block; color: #e5484d; font-size: 12px; margin-top: 5px; }
.sayara-checkout-flow .sayara-field--riyal > input { padding-inline-start: 44px; }
.sayara-checkout-flow .sayara-input-riyal { position: absolute; inset-inline-start: 16px; top: 26px; transform: translateY(-50%); color: var(--sc-yellow); font-size: 16px; font-weight: 700; font-style: normal; pointer-events: none; }
.sayara-checkout-flow .sayara-field-block { display: grid; gap: 10px; }
.sayara-checkout-flow .sayara-block-label { color: var(--sc-text); font-size: 14px; font-weight: 700; }
.sayara-checkout-flow .sayara-mini-label { display: block; color: var(--sc-muted); font-size: 12px; margin-bottom: 6px; }
.sayara-checkout-flow .sayara-segment { display: flex; gap: 12px; }
.sayara-checkout-flow .sayara-segment__item { flex: 0 0 auto; min-width: 110px; text-align: center; border: 1px solid #e3e7ef; border-radius: 10px; padding: 12px 10px; cursor: pointer; color: var(--sc-text); font-weight: 600; transition: all .2s ease; }
.sayara-checkout-flow .sayara-segment__item input { position: absolute; opacity: 0; pointer-events: none; }
.sayara-checkout-flow .sayara-segment__item:has(input:checked) { border-color: var(--sc-primary); background: var(--sc-primary); color: #fff; }
.sayara-checkout-flow .sayara-radio-group.has-error .sayara-segment__item { border-color: #e5484d; }
.sayara-checkout-flow .sayara-radio-inline { display: flex; gap: 22px; align-items: center; flex-wrap: wrap; }
.sayara-checkout-flow .sayara-radio-pill { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--sc-text); font-size: 14px; }
.sayara-checkout-flow .sayara-radio-pill input { position: absolute; opacity: 0; pointer-events: none; }
.sayara-checkout-flow .sayara-radio-pill span::before { content: ""; display: inline-block; width: 18px; height: 18px; border-radius: 50%; border: 2px solid #c7ccda; margin-inline-end: 8px; vertical-align: -4px; transition: border-color .2s ease; }
.sayara-checkout-flow .sayara-radio-pill:has(input:checked) span::before { border-color: #f59e0b; box-shadow: inset 0 0 0 3px #f59e0b, inset 0 0 0 5px #fff; }
.sayara-checkout-flow .sayara-birth-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 4px; }
.sayara-checkout-flow .sayara-whatsapp-check { display: flex; align-items: center; gap: 10px; cursor: pointer; color: var(--sc-muted); font-size: 13px; }
.sayara-checkout-flow .sayara-whatsapp-check input { position: absolute; opacity: 0; pointer-events: none; }
.sayara-checkout-flow .sayara-whatsapp-check .sayara-wa-box { position: relative; width: 26px; height: 26px; border-radius: 7px; border: 1px solid #d7f5e3; background: #eafaf0; display: inline-flex; align-items: center; justify-content: center; color: #25d366; font-size: 14px; }
.sayara-checkout-flow .sayara-whatsapp-check:has(input:checked) .sayara-wa-box { background: #25d366; color: #fff; border-color: #25d366; }
.sayara-checkout-flow .sayara-conditional-field { margin-top: 12px; opacity: .55; }
.sayara-checkout-flow .sayara-conditional-field.is-active { opacity: 1; }
.sayara-checkout-flow .sayara-conditional-field > input[disabled] { background: #f7f8fb; cursor: not-allowed; }
.sayara-checkout-flow .sayara-eligibility { display: grid; gap: 16px; max-width: 440px; margin: 0 auto; text-align: center; }
.sayara-checkout-flow .sayara-eligibility__head h2 { font-size: 22px; font-weight: 800; margin: 0 0 6px; background: linear-gradient(90deg,#0ea5a4,#16a34a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sayara-checkout-flow .sayara-eligibility__head p { color: var(--sc-muted); font-size: 13px; margin: 0; }
.sayara-checkout-flow .sayara-eligibility__badge { display: flex; align-items: center; gap: 8px; border: 1px solid #cfeee0; background: #f0fdf6; border-radius: 12px; padding: 12px 14px; font-size: 13px; color: #157a4a; }
.sayara-checkout-flow .sayara-eligibility__badge .fa-circle-check { color: #16a34a; }
.sayara-checkout-flow .sayara-eligibility__sema { margin-inline-start: auto; color: #0ea5a4; font-weight: 800; }
.sayara-checkout-flow .sayara-eligibility__fee { display: flex; align-items: center; justify-content: space-between; border: 1px solid #e3e7ef; border-radius: 12px; padding: 12px 14px; font-size: 13px; color: var(--sc-muted); }
.sayara-checkout-flow .sayara-eligibility__fee b { color: var(--sc-primary); font-size: 15px; }
.sayara-checkout-flow .sayara-applepay-button { width: 100%; background: #000; color: #fff; border: 0; border-radius: 12px; padding: 15px; font-size: 18px; font-weight: 600; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 4px; }
.sayara-checkout-flow .sayara-eligibility__or { position: relative; text-align: center; color: var(--sc-muted); font-size: 13px; }
.sayara-checkout-flow .sayara-eligibility__or::before, .sayara-checkout-flow .sayara-eligibility__or::after { content: ""; position: absolute; top: 50%; width: 34%; height: 1px; background: #e3e7ef; }
.sayara-checkout-flow .sayara-eligibility__or::before { inset-inline-start: 0; }
.sayara-checkout-flow .sayara-eligibility__or::after { inset-inline-end: 0; }
.sayara-checkout-flow .sayara-card-form { display: grid; gap: 10px; text-align: right; }
.sayara-checkout-flow .sayara-card-label { font-size: 13px; color: var(--sc-text); font-weight: 600; margin-top: 4px; }
.sayara-checkout-flow .sayara-card-number { position: relative; }
.sayara-checkout-flow .sayara-card-number > input { padding-inline-start: 66px; }
.sayara-checkout-flow .sayara-card-brands { position: absolute; inset-inline-start: 14px; top: 50%; transform: translateY(-50%); display: flex; gap: 6px; font-size: 20px; color: #6b7280; }
.sayara-checkout-flow .sayara-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.sayara-checkout-flow .sayara-card-note { color: var(--sc-muted); font-size: 11px; margin: 2px 0 0; }
.sayara-checkout-flow .sayara-pay-button { width: 100%; background: #16a34a; color: #fff; border: 0; border-radius: 12px; padding: 15px; font-size: 17px; font-weight: 700; cursor: pointer; }
.sayara-checkout-flow .sayara-pay-button:hover { background: #12833d; }
.sayara-checkout-flow .sayara-pay-button .sayara-input-riyal { position: static; transform: none; color: #fff; }
.sayara-checkout-flow .sayara-eligibility__fee .sayara-input-riyal { position: static; transform: none; }
.sayara-checkout-flow .sayara-eligibility__hint { color: var(--sc-muted); font-size: 12px; margin: 4px 0 0; }
.sayara-checkout-flow .sayara-eligibility__terms { font-size: 12px; color: var(--sc-muted); margin: 0; }
.sayara-checkout-flow .sayara-eligibility__terms a { color: var(--sc-primary); font-weight: 700; }
.sayara-checkout-flow .sayara-step-actions--back { justify-content: center; margin-top: 6px; }
@media (max-width: 560px) { .sayara-checkout-flow .sayara-birth-grid { grid-template-columns: 1fr; } .sayara-checkout-flow .sayara-segment__item { flex: 1 1 auto; min-width: 0; } }

/* =========================================================================
 * شاشة التحقق من الرمز (OTP) — مطابقة للتصميم
 * ====================================================================== */
.sayara-checkout-flow .sayara-otp-card { max-width: 460px; margin: 0 auto; text-align: center; padding: 8px 0; }
.sayara-checkout-flow .sayara-otp-card .sayara-phone-icon { display: grid; place-items: center; width: 64px; height: 64px; margin: 6px auto 18px; border-radius: 16px; background: #eef4ff; color: var(--sc-primary); font-size: 26px; }
.sayara-checkout-flow .sayara-otp-lead { margin: 0 0 8px; color: var(--sc-primary); font-size: 15px; font-weight: 700; }
.sayara-checkout-flow .sayara-otp-phone { margin: 0 0 6px; color: var(--sc-primary); font-size: 22px; font-weight: 800; letter-spacing: 1px; }
.sayara-checkout-flow .sayara-otp-edit { display: inline-block; margin: 0 0 6px; padding: 0; border: 0; background: transparent; color: var(--sc-primary); font-size: 13px; font-weight: 700; text-decoration: underline; cursor: pointer; }
.sayara-checkout-flow .sayara-otp-edit:hover { opacity: .8; }
.sayara-checkout-flow .sayara-otp-card .sayara-checkout-otp { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; margin: 22px auto 16px; max-width: 380px; }
.sayara-checkout-flow .sayara-otp-card .sayara-checkout-otp input { min-width: 0; height: 54px; padding: 0; border: 1px solid var(--sc-border); border-radius: 10px; background: #fff; text-align: center; font-size: 20px; font-weight: 700; color: var(--sc-primary); outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.sayara-checkout-flow .sayara-otp-card .sayara-checkout-otp input:focus { border-color: var(--sc-primary); box-shadow: 0 0 0 3px rgba(29,26,84,.08); }
.sayara-checkout-flow .sayara-otp-resend-row { margin: 4px 0 20px; color: var(--sc-muted); font-size: 13px; }
.sayara-checkout-flow .sayara-otp-timer b { color: var(--sc-primary); font-weight: 800; }
.sayara-checkout-flow .sayara-cash-otp-resend { padding: 0; border: 0; background: transparent; color: var(--sc-primary); font-size: 13px; font-weight: 800; text-decoration: underline; cursor: pointer; }
.sayara-checkout-flow .sayara-cash-otp-resend[hidden] { display: none; }
.sayara-checkout-flow .sayara-otp-verify-btn { width: 100%; min-height: 50px; margin-top: 4px; border-radius: 12px; font-size: 16px; }

/* =========================================================================
 * شاشة الدفع النقدي (الكاش) — نفس تصميم الدفع في التمويل
 * ====================================================================== */
.sayara-checkout-flow .sayara-cash-payment { display: grid; gap: 16px; max-width: 440px; margin: 0 auto; text-align: center; }
.sayara-checkout-flow .sayara-cash-payment .sayara-eligibility__head h2 { font-size: 22px; font-weight: 800; margin: 0 0 6px; color: var(--sc-primary); }
.sayara-checkout-flow .sayara-cash-payment .sayara-eligibility__head p { color: var(--sc-muted); font-size: 13px; margin: 0; }
