.buy-now-coupon-entry {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
    padding-top: 0.75rem;
    border-top: 1px dashed #e4eeee;
}
.buy-now-coupon-entry .coupon-entry__btn {
    min-height: 36px;
    font-size: 0.82rem;
}
.buy-now-summary-items { margin-bottom: 8px; }
.buy-now-summary-item { display: flex; justify-content: space-between; gap: 12px; font-size: 13px; padding: 3px 0; color: #475569; }
.buy-now-summary-item span:last-child { font-weight: 600; text-align: right; color: #1f2a2e; }
.buy-now-summary-item + .buy-now-summary-item { border-top: 1px dashed #e4eeee; }
.buy-now-modal {
    padding-right: 0 !important;
}
.buy-now-modal.modal {
    overflow: hidden;
}
.buy-now-modal .modal-dialog {
    width: calc(100% - 1.5rem);
    max-width: 760px;
    height: calc(100dvh - 1.5rem);
    max-height: calc(100dvh - 1.5rem);
    margin: 0.75rem auto;
    display: flex;
    align-items: stretch;
}
.buy-now-modal .modal-dialog.modal-dialog-scrollable,
.buy-now-modal .modal-dialog.modal-dialog-centered {
    height: calc(100dvh - 1.5rem) !important;
    max-height: calc(100dvh - 1.5rem) !important;
    align-items: stretch !important;
}
.buy-now-modal .modal-content {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-height: 100%;
    height: 100%;
    border: none;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.22);
    background: #fff;
}
.buy-now-modal #buyNowForm {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 0 !important;
    overflow: hidden;
}
.buy-now-modal .modal-header {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0;
    padding: 14px 20px;
    background: #fff !important;
    border-bottom: 1px solid #e8eef0;
    position: relative;
    z-index: 2;
}
.buy-now-modal .modal-title {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1f2a2e !important;
    line-height: 1.3;
}
.buy-now-modal .close {
    border: none;
    background: #f3f6f6;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    font-size: 22px;
    line-height: 1;
    color: #334155;
    opacity: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.buy-now-modal .close:hover {
    background: #e8eeee;
    color: #111;
}
.buy-now-modal .modal-body {
    flex: 1 1 auto;
    min-height: 0 !important;
    overflow-y: auto !important;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 16px 20px 12px;
    background: #fff;
}
.buy-now-modal .modal-body::-webkit-scrollbar {
    width: 8px;
}
.buy-now-modal .modal-body::-webkit-scrollbar-thumb {
    background: #c5d0d0;
    border-radius: 8px;
}
.buy-now-modal .modal-footer {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin: 0;
    padding: 12px 20px;
    background: #fff;
    border-top: 1px solid #e8eef0;
    box-shadow: 0 -8px 18px rgba(15, 23, 42, 0.04);
}
body.buy-now-modal-open,
body.modal-open {
    overflow: hidden !important;
}
.buy-now-modal .form-control,
.buy-now-modal select.form-control {
    height: 42px;
    min-height: 42px;
    box-sizing: border-box;
    background-color: #fff !important;
    border: 1px solid #d7e0e0;
    border-radius: 8px;
    box-shadow: none;
    color: #1f2a2e;
}
.buy-now-modal textarea.form-control {
    height: auto;
    min-height: 72px;
}
.buy-now-modal select.form-control:disabled {
    background-color: #f7f9f9 !important;
    color: #6c757d;
    opacity: 1;
}
.buy-now-modal .form-control:focus,
.buy-now-modal select.form-control:focus {
    border-color: #199683;
    box-shadow: 0 0 0 3px rgba(25, 150, 131, 0.12);
}
.buy-now-modal .form-control.is-invalid {
    border-color: #dc3545;
}
.buy-now-field-error {
    display: none;
    font-size: 12px;
    margin-top: 4px;
}
.buy-now-existing-user-alert {
    font-size: 13px;
    line-height: 1.45;
    margin: 8px 0 0;
    padding: 10px 12px;
    color: #7a4b00;
    background: #fff8e8;
    border: 1px solid #e0b84a;
    border-left: 4px solid #c98a00;
    border-radius: 8px;
}
#toast-container {
    z-index: 20000 !important;
}
.buy-now-existing-user-alert a {
    color: #9a5b00;
    font-weight: 700;
    text-decoration: underline;
}
.buy-now-update-profile .form-check-label {
    font-size: 13px;
    font-weight: 500;
}
.buy-now-section-title {
    font-size: 12px;
    font-weight: 700;
    margin: 0 0 10px;
    color: #199683;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.buy-now-modal .row > [class*="col-"] {
    min-width: 0;
}
.buy-now-modal .form-group {
    margin-bottom: 12px;
}
.buy-now-modal label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #334155;
}
.buy-now-submit-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.buy-now-modal .modal-footer .button_one,
.buy-now-modal .modal-footer .button_four {
    min-width: 168px;
    height: 44px;
    min-height: 44px;
    padding: 0 22px;
    margin: 0 !important;
    box-sizing: border-box;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    line-height: 1.2;
    gap: 0;
    border-radius: 6px;
    vertical-align: middle;
}
.buy-now-modal .modal-footer .button_four {
    border-width: 2px;
}
.buy-now-modal .modal-footer button[type="submit"].button_one {
    padding: 0 22px;
    height: 44px;
    min-height: 44px;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.buy-now-modal .modal-footer .buy-now-submit-btn:disabled,
.buy-now-modal .modal-footer button[type="submit"].button_one:disabled {
    background: #c5cdcd !important;
    border-color: #c5cdcd !important;
    color: #fff !important;
    opacity: 1;
    cursor: not-allowed;
    box-shadow: none !important;
    pointer-events: none;
}
.buy-now-modal .modal-footer .buy-now-submit-btn.is-ready:not(:disabled),
.buy-now-modal .modal-footer button[type="submit"].button_one.is-ready:not(:disabled) {
    background: #199683 !important;
    border-color: #199683 !important;
    color: #fff !important;
    opacity: 1;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(25, 150, 131, 0.22);
}
.buy-now-submit-btn.is-submitting,
.buy-now-submit-btn.is-submitting:disabled {
    cursor: wait;
    pointer-events: none;
    background: #199683 !important;
    border-color: #199683 !important;
}
.buy-now-spinner {
    display: inline-block;
    width: 1em;
    height: 1em;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: buy-now-spin 0.65s linear infinite;
}
@keyframes buy-now-spin {
    to { transform: rotate(360deg); }
}
.buy-now-steps-wrap {
    margin-bottom: 14px;
}
.buy-now-steps__label {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #199683;
    margin-bottom: 8px;
}
.buy-now-steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    padding: 10px 8px;
    background: #f4faf8;
    border: 1px solid #d7eee9;
    border-radius: 10px;
}
.buy-now-step {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    font-size: 12px;
    font-weight: 600;
    color: #94a3b8;
    position: relative;
}
.buy-now-step + .buy-now-step::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 18px;
    height: 1px;
    background: #cfe7e2;
    transform: translate(-50%, -50%);
}
.buy-now-step.is-current {
    color: #199683;
}
.buy-now-step.is-upcoming {
    color: #94a3b8;
}
.buy-now-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid currentColor;
    font-size: 11px;
    line-height: 1;
    background: #fff;
}
.buy-now-step.is-current .buy-now-step__num {
    background: #199683;
    color: #fff;
    border-color: #199683;
}
.buy-now-order-summary {
    background: #f8fbfb;
    border: 1px solid #e4eeee;
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 16px;
}
.buy-now-order-summary .buy-now-section-title {
    margin-bottom: 8px;
}
.buy-now-summary-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-size: 13px;
    padding: 3px 0;
    color: #475569;
}
.buy-now-summary-row span:last-child {
    font-weight: 600;
    text-align: right;
    color: #1f2a2e;
}
.buy-now-summary-row.is-total {
    border-top: 1px solid #dce8e6;
    margin-top: 6px;
    padding-top: 8px;
    font-size: 15px;
    color: #1f2a2e;
}
.buy-now-summary-row.is-total span:last-child {
    color: #199683;
    font-size: 18px;
}
.buy-now-summary-row.is-discount span:last-child {
    color: #198754;
}
.buy-now-courier-note {
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    background: #fff7ed;
    border: 1px solid #fdba74;
    color: #9a3412;
    font-size: 13px;
    line-height: 1.45;
}
.buy-now-same-address {
    margin-bottom: 8px;
}
.buy-now-same-address .form-check-label {
    font-weight: 600;
    color: #1f2a2e;
}
.buy-now-login-hint {
    font-size: 12px;
    margin-top: 5px;
}
.buy-now-email-typo {
    font-size: 12px;
    line-height: 1.45;
    margin-top: 6px;
    color: #334155;
}
.buy-now-email-typo__suggest {
    border: 0;
    background: none;
    padding: 0;
    color: #199683;
    font-weight: 700;
    text-decoration: underline;
    cursor: pointer;
}
.buy-now-email-typo__suggest:hover,
.buy-now-email-typo__suggest:focus {
    color: #147a6b;
}
.buy-now-login-hint a,
.buy-now-terms-label a {
    color: #199683;
    font-weight: 600;
    text-decoration: underline;
}
.buy-now-phone-wrap,
.buy-now-phone-wrap .iti,
.buy-now-phone-wrap .iti.iti--allow-dropdown,
.buy-now-phone-wrap .iti.iti--separate-dial-code {
    width: 100%;
    max-width: 100%;
}
.buy-now-phone-wrap .iti,
.buy-now-phone-wrap .iti.iti--allow-dropdown,
.buy-now-phone-wrap .iti.iti--separate-dial-code {
    display: block;
    position: relative;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    line-height: 0;
}
.buy-now-phone-wrap .iti input.form-control,
.buy-now-phone-wrap .iti input[type="tel"] {
    width: 100% !important;
    max-width: 100% !important;
    height: 42px !important;
    min-height: 42px !important;
    max-height: 42px !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 12px !important;
    line-height: 40px !important;
    font-size: 13px;
}
.buy-now-phone-wrap .iti__flag-container,
.buy-now-phone-wrap .iti--allow-dropdown .iti__flag-container,
.buy-now-phone-wrap .iti--separate-dial-code .iti__flag-container {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: auto !important;
    width: auto !important;
    height: 42px !important;
    padding: 0 !important;
    z-index: 3;
}
.buy-now-phone-wrap .iti__selected-flag,
.buy-now-phone-wrap .iti--separate-dial-code .iti__selected-flag {
    display: flex !important;
    align-items: center;
    justify-content: flex-start;
    width: auto !important;
    height: 42px !important;
    max-height: 42px !important;
    padding: 0 10px 0 12px !important;
    background: transparent !important;
    border-radius: 8px 0 0 8px;
    box-sizing: border-box;
}
.buy-now-phone-wrap .iti--separate-dial-code .iti__selected-dial-code {
    font-size: 13px;
    font-weight: 500;
    color: #1f2a2e;
    line-height: 1;
    margin-left: 6px;
}
.buy-now-phone-wrap .iti__arrow {
    margin-left: 6px;
    border-top-color: #6b7280;
}
.iti--container {
    z-index: 20000 !important;
}
.buy-now-swal {
    z-index: 20000 !important;
}
.buy-now-terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.buy-now-terms .form-check-input {
    width: 18px;
    height: 18px;
    margin-top: 2px;
    flex: 0 0 18px;
}
.buy-now-terms-label {
    font-size: 13px;
    font-weight: 500;
    line-height: 1.45;
}
@media (max-width: 767px) {
    .buy-now-modal .modal-dialog {
        width: 100%;
        max-width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        margin: 0;
    }
    .buy-now-modal .modal-content {
        border-radius: 0;
        height: 100%;
        max-height: 100dvh;
    }
    .buy-now-modal .modal-body {
        padding: 14px 16px 10px;
    }
    .buy-now-modal .form-control,
    .buy-now-modal select.form-control {
        min-height: 44px;
        height: 44px;
    }
    .buy-now-modal .modal-footer {
        flex-direction: column;
        padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    }
    .buy-now-modal .modal-footer .button_one,
    .buy-now-modal .modal-footer .button_four {
        width: 100%;
        min-height: 46px;
    }
    .buy-now-step {
        font-size: 11px;
    }
    .buy-now-step span.buy-now-step__name {
        display: none;
    }
    .buy-now-phone-wrap .iti,
    .buy-now-phone-wrap .iti.iti--allow-dropdown,
    .buy-now-phone-wrap .iti.iti--separate-dial-code,
    .buy-now-phone-wrap .iti input.form-control,
    .buy-now-phone-wrap .iti input[type="tel"],
    .buy-now-phone-wrap .iti__flag-container,
    .buy-now-phone-wrap .iti__selected-flag {
        height: 44px !important;
        min-height: 44px !important;
        max-height: 44px !important;
    }
    .buy-now-phone-wrap .iti input.form-control,
    .buy-now-phone-wrap .iti input[type="tel"] {
        line-height: 42px !important;
    }
    .buy-now-phone-wrap .iti--separate-dial-code .iti__selected-flag {
        padding: 0 8px 0 10px !important;
    }
}
.buy-now-modal .select2-container {
    width: 100% !important;
}
.buy-now-modal .select2-container .select2-selection--single {
    height: 42px;
    min-height: 42px;
    border: 1px solid #d7e0e0;
    border-radius: 8px;
    background-color: #fff;
}
.buy-now-modal .select2-container--default .select2-selection--single .select2-selection__rendered {
    line-height: 28px;
    padding-left: 12px;
    color: #1f2a2e;
}
.buy-now-modal .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #8a9393;
}
.buy-now-modal .select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 28px;
    right: 6px;
}
.buy-now-modal .select2-container--default.select2-container--focus .select2-selection--single,
.buy-now-modal .select2-container--open .select2-selection--single {
    border-color: #199683;
    box-shadow: 0 0 0 3px rgba(25, 150, 131, 0.12);
}
.buy-now-modal .select2-container--default.select2-container--disabled .select2-selection--single {
    background-color: #f7f9f9;
    color: #6c757d;
}
.buy-now-modal .select2-container {
    z-index: 2060;
}
.buy-now-modal .select2-dropdown {
    border-color: #d7e0e0;
    border-radius: 8px;
    z-index: 2100;
}
.buy-now-modal .select2-container--default .select2-results__option--highlighted[aria-selected],
.buy-now-modal .select2-container--default .select2-results__option--highlighted.select2-results__option--selectable {
    background-color: #199683;
}
.buy-now-modal .select2-search--dropdown {
    padding: 8px 8px 6px;
}
.buy-now-modal .select2-search--dropdown .select2-search__field {
    border: 1px solid #d7e0e0;
    border-radius: 6px;
    height: 36px;
    padding: 6px 10px;
    font-size: 13px;
}
.buy-now-modal .select2-search--dropdown .select2-search__field:focus {
    border-color: #199683;
    outline: none;
    box-shadow: 0 0 0 3px rgba(25, 150, 131, 0.12);
}
.buy-now-country-dropdown .select2-results__option[aria-disabled="true"],
.buy-now-modal .select2-results__option[aria-disabled="true"] {
    padding: 4px 12px;
    cursor: default;
    background: transparent !important;
    color: transparent;
}
.buy-now-country-divider {
    height: 0;
    margin: 8px 4px;
    border-top: 1px dashed #b7c4c4;
    pointer-events: none;
}
