:root {
    --order-color-text: #001F48;
    --order-color-primary: #1E17E0;
    --order-color-primary-strong: #0B1FA1;
    --order-color-border-muted: #D9EAFC;
    --order-color-error: #c31818;
    --order-radius-card: 16px;
    --order-radius-pill: 57px;
    --order-gradient-primary: linear-gradient(90.64deg, #0B1FA1 1.52%, #1E17E0 98.31%);
}

.order-new-page {
    font-family: 'Manrope', sans-serif;
    padding: 177px 0 56px;
    background-image: url('/skin/ukexpes_skin/frontend/img/order-page/images/order_page_bg.png?v=1');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
}

.order-new-page__container {
    max-width: 1408px;
}

.order-new-page__header {
    margin-bottom: 24px;
}

.order-new-page__title {
    font-weight: 700;
    font-size: 48px;
    line-height: 140%;
    color: #001F48;
    margin: 0 auto 48px;
    text-align: center;
    width: fit-content;
}

.order-progress__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: unset;
}

.order-progress {
    margin-bottom: 48px;
}

.order-progress__list .order-progress__item:first-child::before {
    content: none;
}

.order-progress__item {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 8px;
    position: relative;
}

.order-progress__item::before {
    content: "";
    width: 121px;
    height: 1px;
    background: #D9EAFC;
}

.order-progress__number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #D9EAFC;
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    color: #FFFFFF;
    flex-shrink: 0;
}

.order-progress__item.is-active .order-progress__number {
    background: var(--order-gradient-primary);
}

.order-progress__item.is-complete .order-progress__label {
    color: var(--order-color-primary);
}

.order-progress__label {
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    color: var(--order-color-border-muted);
    text-wrap: nowrap;
}

.order-progress__item.is-active .order-progress__label {
    color: var(--order-color-text);
}

.order-progress__item.is-complete .order-progress__label {
    color: var(--order-color-primary);
}

.order-new-page__layout {
    display: grid;
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr);
    gap: 16px;
    align-items: flex-start;
    position: relative;
    z-index: 1;
}

.order-wizard__form::before {
    content: "";
    position: absolute;
    top: 24px;
    right: 0;
    max-width: 933px;
    aspect-ratio: 933 / 1005;
    width: 90%;
    height: 90%;
    z-index: -1;
    background-image: url('/skin/ukexpes_skin/frontend/img/order-page/images/order_page_back_BG.png?v=1');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    pointer-events: none;
}

.order-wizard__form:has([data-order-step-panel="2"].is-active)::before {
    width: 100%;
    height: 70%;
}

.order-wizard[data-active-step="3"] {
    max-width: 100%;
}

.order-wizard__form[data-active-step="3"]::before {
    display: none;
}

.order-summary {
    display: grid;
    gap: 8px;
    position: sticky;
    top: 123px;
}

.order-summary__card {
    border-radius: var(--order-radius-card);
    background: #ffffff;
    padding: 24px 16px;
}

.order-summary__title {
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: var(--order-color-text);
    border-bottom: 1px solid var(--order-color-border-muted);
    margin: 0 0 16px;
    padding-bottom: 16px;
}

.order-summary__method {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-bottom: 16px;
}

.order-summary__method-logo {
    width: 102px;
    height: 49px;
    object-fit: cover;
    flex-shrink: 0;
    background: #ffffff;
    display: none;
}

.order-summary__method-copy {
    min-width: 0;
}

.order-summary__method-subtitle {
    margin: 0;
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: var(--order-color-text);
}

.order-summary__method-title {
    margin: 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--order-color-text);
}

.order-summary__rows {
    display: grid;
    gap: 16px;
}

.order-summary__row {
    font-family: Arimo, sans-serif;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--order-color-text);
}

.order-summary__row b {
    font-family: Manrope, sans-serif;
    font-weight: 700;
    text-align: right;
}

.order-summary__row--single {
    margin-top: 4px;
}

.order-summary__destination-heading {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    color: var(--order-color-text);
}

.order-wizard {
    max-width: 700px;
    width: 100%;
}

.order-summary__accordion-head {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: var(--order-color-text);
}

.order-summary__accordion-head::-webkit-details-marker {
    display: none;
}

.order-summary__accordion-head::after {
    content: '';
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23274369' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat;
    transition: transform 0.2s ease;
}

.order-summary__accordion[open] > .order-summary__accordion-head::after {
    transform: rotate(180deg);
}

.order-summary__accordion--locked {
    opacity: 0.45;
}

.order-summary__accordion--locked > .order-summary__accordion-head {
    cursor: default;
    pointer-events: none;
}

.order-summary__accordion--locked > .order-summary__accordion-head::after {
    opacity: 0.35;
}

.order-summary__accordion-body {
    padding: 16px 0 0;
    display: grid;
    gap: 16px;
}

.order-summary__accordion--mobile > .order-summary__accordion-body {
    padding: 0;
}

.order-summary__destination-group {
    margin-bottom: 16px;
}

.order-summary__info-block b {
    display: block;
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 16px;
    line-height: 140%;
    color: #001f48;
}

.order-summary__info-block p {
    margin: 0 0 8px;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: var(--order-color-text);
}

.order-summary .is-placeholder {
    opacity: 0.45;
}

.order-summary__info-block p.is-placeholder {
    display: none;
}

.order-step-card {
    border-radius: var(--order-radius-card);
    background:#ffffff;
    min-height: 640px;
    padding: 32px 24px;
}

.order-wizard__panel {
    display: none;
}

.order-wizard__panel.is-active {
    display: block;
}

.order-step-block + .order-step-block {
    margin-top: 32px;
}

.order-wizard[data-active-step="3"] .order-step-block:has(.order-step-enclosures-heading) {
    max-width: 650px;
}

.ui-section-heading__title {
    margin: 0;
    font-weight: 700;
    font-size: 24px;
    line-height: 140%;
    color: #001f48;
}

.ui-section-heading__subtitle {
    font-weight: 400;
    font-size: 12px;
    line-height: 140%;
    color: #001f48;
    margin: 0;
}

.order-step-heading--with-note {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    justify-content: space-between;
    gap: 6px;
}

.order-step-heading--with-note .order-step-heading__note {
    max-width: 100%;
    display: flex;
    align-items: center;
}

.order-step-heading--with-note .order-step-heading__note .order-step-info-icon {
    margin-top: 0;
}

.order-step-heading__main {
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: baseline;
    gap: 8px;
}

.order-step-heading__note {
    display: inline-flex;
    align-items: flex-start;
    gap: 4px;
    max-width: 199px;
    font-size: 12px;
    line-height: 120%;
    margin-bottom: 0;
    color: var(--order-color-text);
}

.order-step-info-icon {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    color: #fff;
    font-family: Arimo, sans-serif;
    font-weight: 700;
    font-size: 6px;
    background: var(--order-color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 4px;
}

.order-step-grid {
    display: grid;
    gap: 16px 24px;
    margin-top: 24px;
}

.order-step-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-step-grid--3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.order-step-grid--4 {
    grid-template-columns: repeat(4, minmax(140px, 144px));
}

.order-step-grid--enclosure {
    grid-template-columns: 80px 82px 80px minmax(0, 1fr) 180px auto;
    gap: 16px;
}

@media (max-width: 1250px) and (min-width: 769px) {
    .order-step-grid--enclosure {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .order-step-grid--enclosure > .order-step-field {
        min-width: 0;
    }
}

.order-step-block:has(.order-step-grid--enclosure) {
    background-color: #F9F9F9;
    border-radius: var(--order-radius-card);
    padding: 16px;
}

.order-step-field--hidden {
    display: none;
}

.order-step-add-address {
    height: 46px;
    border: none;
    background: transparent;
    color: var(--order-color-text);
    font-weight: 400;
    font-size: 18px;
    line-height: 130%;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 0;
    transition: color 0.2s ease;
}

.order-step-add-address__icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background-color: #D9EAFC;
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (hover: hover) {
    .order-step-add-address:hover {
        color: #1e17e0;
    }
}

.order-step-title {
    margin: 24px 0 -8px;
    font-family: Manrope;
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    color: #001F48;
}

.order-step-billing-toggle {
    margin-top: 16px;
}

.order-step-billing-block {
    margin-top: 8px;
}

.select-wrapper {
    position: relative;
}

.order-step-field.is-invalid .home-quote-select__trigger {
    border-color: var(--order-color-error);
}

.select-wrapper::after {
    display: none;
}

.select-wrapper .order-step-native {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23274369' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.bottom-options-wrapper {
    display: flex;
    flex-direction: row;
    gap: 16px;
    margin-top: 16px;
    justify-content: space-between;
}

.order-step-field label {
    display: inline-block;
    font-family: Arimo, sans-serif;
    font-weight: 400;
    font-size: 14px;
    line-height: 1;
    color: #1E17E0;
    margin: 0 0 8px;
}

.order-step-field {
    position: relative;
}

.order-step-input,
.order-step-native {
    height: 46px;
    width: 100%;
    border-radius: 32px;
    border: 1px solid #C3C3C3;
    background: #F4F4F4;
    color: #001f48;
    font-size: 16px;
    line-height: 1;
    outline: none;
    box-shadow: none;
    padding: 12px 24px;
}


.order-step-input.has-error + .order-step-field__error,
.order-step-input.has-errror + .order-step-field__error {
    display: block;
}

.order-step-native {
    padding: 0 42px 0 16px;
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M7 10L12 15L17 10' stroke='%23274369' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.order-step-input:focus-visible,
.order-step-native:focus-visible {
    border: 1px solid #c3c3c3;
    outline: none;
    box-shadow: none;
}

.order-step-field.is-invalid .order-step-input,
.order-step-field.is-invalid .order-step-native {
    border-color: var(--order-color-error);
}

.order-step-field__error {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    margin-top: 0;
    font-size: 12px;
    line-height: 1.3;
    color: var(--order-color-error);
    z-index: 2;
}

.order-step-field__error {
    display: none;
}

.order-step-field .iti .iti__selected-dial-code {
    color: #001f48;
    font-size: 16px;
    line-height: 1;
}

.order-step-actions {
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    gap: 16px;
    justify-content: flex-end;
}

.order-step-time-picker {
    grid-column: span 2;
}

.order-step-time-picker__title {
    margin: 0 0 8px;
    font-family: Arimo, sans-serif;
    font-size: 16px;
    line-height: 1;
    color: #001f48;
}

.order-step-time-picker__options {
    display: flex;
    align-items: center;
    gap: 16px;
}

.order-step-time-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #001f48;
    font-size: 18px;
    line-height: 140%;
    font-weight: 400;
    font-family: Amimo, sans-serif;
}

.order-step-time-option input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.order-step-time-option span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.order-step-time-option span::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #1e17e0;
    background: #ffffff;
    box-sizing: border-box;
    flex: 0 0 16px;
}

.order-step-time-option input:checked + span::before {
    border-color: #1e17e0;
    background: radial-gradient(circle at center, #1e17e0 0 5px, #ffffff 5px 100%);
}

.order-step-time-note {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    max-width: 309px;
    height: fit-content;
    margin-top: auto;
}

.order-step-time-note p {
    margin: 0;
    font-weight: 400;
    font-size: 12px;
    line-height: 120%;
    color: var(--order-color-text);
}

.order-step-time-note p strong {
    font-weight: 500;
}

.order-step-actions--dual {
    display: flex;
    gap: 12px;
    align-items: center;
}

.order-step-actions--dual .order-step-continue {
    width: auto;
    margin-left: auto;
}

.order-step-continue,
.order-step-back {
    width: fit-content;
    border: 1px solid var(--order-color-primary);
    border-radius: var(--order-radius-pill);
    padding: 12px 32px;
    min-height: 55px;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    transition: background 0.2s ease, color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.order-step-continue {
    background: var(--order-gradient-primary);
    color: #ffffff;
}

.order-step-continue svg path {
    transition: stroke 0.2s ease;
}

@media (hover: hover) {
    .order-step-continue:hover {
        background: transparent;
        color: #1e17e0;
    }

    .order-step-continue:hover svg path {
        stroke: #1e17e0;
    }
}

.order-step-back {
    margin-top: 20px;
    background: transparent;
    color: var(--order-color-primary);
}

.order-step-back svg path {
    transition: stroke 0.2s ease;
}

@media (hover: hover) {
    .order-step-back:hover {
        background: var(--order-gradient-primary);
        color: #ffffff;
    }

    .order-step-back:hover svg path {
        stroke: #ffffff;
    }
}

.order-step-actions .order-step-back {
    margin-top: 0;
}

.order-progress__item .order-progress__number {
    position: relative;
}

.order-progress__item.is-complete .order-progress__number {
    color: transparent;
    background: var(--order-gradient-primary);
    z-index: 1;
}

.order-progress__item.is-complete::before {
    background-color: var(--order-color-primary);
}

.order-progress__item.is-complete .order-progress__number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 24px;
    height: 24px;
    z-index: 2;
    background-image: url('/skin/ukexpes_skin/frontend/img/order-page/icons/check-circle.svg?v=1');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.order-progress__item.is-active::before {
    background: var(--order-color-primary);
}

.iti__selected-country-primary {
    border-radius: 57px 0 0 57px;
}

.order-step-input[type="number"] {
    -moz-appearance: textfield;
    appearance: textfield;
}

.order-step-input[type="number"]::-webkit-inner-spin-button,
.order-step-input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* ── Step 3: Parcel info ───────────────────────────────────────────── */

.order-step-enclosures-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.order-step-enclosures-heading .ui-section-heading__title {
    margin: 0;
}

.order-step-time-note--wide {
    max-width: 100%;
    margin-top: 16px;
}

.order-step-enclosures-footer {
    margin-top: 16px;
}

.order-step-grid--enclosure + .order-step-grid--enclosure {
    align-items: flex-end;
    margin-top: 16px;
}

.order-step-field--hs-code {
    grid-column: auto;
}

.order-step-field--hs-action {
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
}

.order-step-back--plain {
    margin-top: 0;
    min-height: 46px;
    font-weight: 400;
    font-size: 14px;
    padding: 12px 24px;
    width: fit-content;
    white-space: nowrap;
}

.order-enclosure-totals {
    text-align: right;
}

.order-enclosure-totals__line {
    margin: 0;
    font-family: Arimo, sans-serif;
    font-size: 14px;
    line-height: 1.4;
    color: #001f48;
}

.order-step-checkbox-option {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.order-step-checkbox-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.order-step-checkbox-option__box {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 4px;
    border: 2px solid #1e17e0;
    background: #ffffff;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.order-step-checkbox-option__box::after {
    content: '';
    display: none;
    width: 5px;
    height: 9px;
    border: 2px solid #ffffff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

.order-step-checkbox-option input[type="checkbox"]:checked + .order-step-checkbox-option__box {
    background: #1e17e0;
}

.order-step-checkbox-option input[type="checkbox"]:checked + .order-step-checkbox-option__box::after {
    display: block;
}

.order-step-checkbox-option__label {
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    color: #001F48;
}

/* ── Step 4: Payment ────────────────────────────────────────────────── */

.order-step-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 24px;
}

.order-step-summary-card {
    border-radius: 16px;
    padding: 24px;
    background: #F9F9F9;
}

.order-step-summary-label {
    margin: 0 0 16px;
    font-weight: 400;
    font-size: 24px;
    line-height: 140%;  
    color: #001F48;
    text-align: center;
}

.order-step-summary-amount {
    margin: 0;
    font-weight: 700;
    font-size: 32px;
    line-height: 140%;
    text-align: center;
    color: #001F48;
}

.order-step-payment-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.order-step-payment-option {
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
}

.order-step-payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.order-step-payment-option__content {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border: 1px solid #F2F8FF;
    border-radius: 16px;
    background: #F2F8FF;
    cursor: pointer;
    transition: all 0.2s ease;
}

.order-step-payment-option input[type="radio"]:checked + .order-step-payment-option__content {
    border-color: #1E17E0;
    background: #F0F5FF;
}

.order-step-payment-option:hover .order-step-payment-option__content {
    border-color: #1E17E0;
}

.order-step-payment-option__radio {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 1px solid #1E17E0;
    background: transparent;
    box-sizing: border-box;
    transition: all 0.2s ease;
}

.order-step-payment-option input[type="radio"]:checked + .order-step-payment-option__content .order-step-payment-option__radio {
    border-color: #1e17e0;
    background: radial-gradient(circle at center, #1e17e0 0 5px, #ffffff 5px 100%);
}

.order-step-payment-option__label {
    margin: 0;
    font-weight: 400;
    font-size: 18px;
    line-height: 140%;
    color: #1E17E0;
}

.order-step-payment-option__icon {
    flex: 0 0 auto;
    width: auto;
    height: auto;
}

.order-step-payment-option__icon svg {
    display: block;
}

.order-step-payment-option__icon--card svg,
.order-step-payment-option__icon--bank svg {
    width: 32px;
    height: 32px;
}

.order-step-payment-option__icon--paypal svg {
    width: 89px;
    height: 32px;
}

.order-step-agreement-items {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.order-step-agreement-checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    user-select: none;
}

.order-step-agreement-checkbox input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.order-step-agreement-checkbox__box {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 2px solid #1e17e0;
    background: transparent;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.15s ease;
}

.order-step-agreement-checkbox__box::after {
    content: '';
    display: none;
    width: 5px;
    height: 9px;
    border: 2px solid #ffffff;
    border-top: none;
    border-left: none;
    transform: rotate(45deg) translateY(-1px);
}

.order-step-agreement-checkbox input[type="checkbox"]:checked + .order-step-agreement-checkbox__box {
    border-color: #1e17e0;
    background: #1e17e0;
}

.order-step-agreement-checkbox input[type="checkbox"]:checked + .order-step-agreement-checkbox__box::after {
    display: block;
}

.order-step-agreement-checkbox__label {
    flex: 1;
    margin: 0;
    color: #001f48;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
}

.order-step-agreement-checkbox__label a {
    color: #1e17e0;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.order-step-agreement-checkbox__label a:hover {
    color: #0B1FA1;
    text-decoration: none;
}

.order-success-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.order-success-modal.is-open {
    display: flex;
}

.order-success-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 31, 72, 0.7);
    -webkit-backdrop-filter: blur(10.899999618530273px);
    backdrop-filter: blur(10.899999618530273px);
}

.order-success-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 700px);
    border-radius: 16px;
    background-color: #ffffff;
    background-image: url('/skin/ukexpes_skin/frontend/img/order-page/images/modal-bg.png?v=1');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: cover;
    padding: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.order-success-modal__icon {
    width: 200px;
    height: 200px;
}

.order-success-modal__title {
    margin: 0;
    font-weight: 700;
    font-size: 32px;
    line-height: 140%;
    text-align: center;
    color: #001f48;
    max-width: 412px;
}

.order-success-modal__actions {
    margin-top: 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    width: 100%;
}

.order-success-modal__actions .order-step-back,
.order-success-modal__actions .order-step-continue {
    margin-top: 0;
    flex: 1;
}

.order-hs-modal {
    position: fixed;
    inset: 0;
    z-index: 1100;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}

.order-hs-modal.is-open {
    display: flex;
}

.order-hs-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 31, 72, 0.7);
    -webkit-backdrop-filter: blur(10.899999618530273px);
    backdrop-filter: blur(10.899999618530273px);
}

.order-hs-modal__dialog {
    position: relative;
    z-index: 1;
    width: min(100%, 756px);
    min-height: 75dvh;
    max-height: 75dvh;
    border-radius: 24px;
    background-color: #ffffff;
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-hs-modal__close {
    position: absolute;
    top: 24px;
    right: 32px;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.order-hs-modal__title {
    margin: 0 0 16px;
    font-weight: 700;
    font-size: 32px;
    line-height: 140%;
    text-align: center;
    color: #001F48;
}

.order-hs-modal__search-block {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.order-hs-modal__search-label {
    margin: 0;
    font-weight: 700;
    font-size: 24px;
    line-height: 140%;
    color: #001F48;
}

.order-hs-modal__search-field {
    position: relative;
    display: flex;
    align-items: center;
}

.order-hs-modal__search-icon {
    position: absolute;
    left: 18px;
    display: inline-flex;
    pointer-events: none;
}

.order-hs-modal__search-field input {
    width: 100%;
    height: 46px;
    border-radius: 32px;
    border: 1px solid transparent;
    background: #F4F4F4;
    color: #001f48;
    font-size: 16px;
    line-height: 1;
    padding: 12px 16px 12px 48px;
}

.order-hs-modal__search-field input:focus-visible {
    border-color: #c3c3c3;
    outline: none;
    box-shadow: none;
}

.order-hs-modal__search-field input::placeholder {
    font-family: Manrope;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #D8D8D8;
}

.order-hs-modal__list {
    overflow: auto;
    padding-right: 4px;
    display: grid;
    gap: 16px;
}

.order-hs-modal__state {
    margin: 0;
    border-radius: 16px;
    background: #f5f6f8;
    padding: 18px 20px;
    font-weight: 400;
    font-size: 14px;
    line-height: 140%;
    color: #4f6789;
}

.order-hs-modal__item {
    border-radius: 16px;
    background: #F5F6F8;
    padding: 22px 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
}

.order-hs-modal__item-main {
    min-width: 0;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 8px;
}

.order-hs-modal__item-code,
.order-hs-modal__item-name {
    margin: 0;
}

.order-hs-modal__item-code {
    font-weight: 700;
    font-size: 16px;
    line-height: 140%;
    color: #000000;
}

.order-hs-modal__item-name {
    font-weight: 700;
    font-size: 16px;
    line-height: 140%;
    color: #1E17E0;
}

.order-hs-modal__select {
    min-height: 40px;
    font-size: 14px;
    margin-top: 0;
}

body.order-modal-open {
    overflow: hidden;
}

/* ── Step 4: Summary breakdown + promo code ─────────────────────────── */

.order-step-summary-breakdown {
    margin-top: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.order-step-summary-row {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 16px;
    border-radius: 12px;
    background: #F9F9F9;
}

.order-step-summary-row__label {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: #001F48;
}

.order-step-summary-row__value {
    font-weight: 700;
    font-size: 18px;
    line-height: 140%;
    color: #001F48;
}

.order-step-promo {
    margin-top: 16px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.order-step-promo__input {
    flex: 1 1 220px;
    min-width: 0;
}

.order-step-promo__input:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.order-step-promo__apply,
.order-step-promo__clear {
    border-radius: var(--order-radius-pill);
    padding: 12px 28px;
    min-height: 46px;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    border: 1px solid var(--order-color-primary);
    transition: background 0.2s ease, color 0.2s ease, opacity 0.2s ease;
    cursor: pointer;
}

.order-step-promo__apply {
    background: var(--order-gradient-primary);
    color: #ffffff;
}

.order-step-promo__apply:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.order-step-promo__clear {
    background: transparent;
    color: var(--order-color-primary);
    min-width: 46px;
    padding: 12px 16px;
}

@media (hover: hover) {
    .order-step-promo__apply:hover:not(:disabled) {
        background: transparent;
        color: var(--order-color-primary);
    }

    .order-step-promo__clear:hover {
        background: var(--order-gradient-primary);
        color: #ffffff;
    }
}

.order-step-promo__message {
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.4;
    min-height: 1em;
}

.order-step-promo__message:empty {
    margin-top: 0;
}

@media (max-width: 1440px) {
    .order-new-page {
        padding-top: 156px;
    }

    .order-new-page__title {
        font-size: 42px;
        margin-bottom: 40px;
    }

    .order-progress {
        margin-bottom: 40px;
    }

    .order-progress__item::before {
        width: 96px;
    }

    .order-progress__number {
        width: 44px;
        height: 44px;
        font-size: 16px;
    }

    .order-progress__label {
        font-size: 16px;
    }

    .order-new-page__layout {
        grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    }

    .order-step-card {
        padding: 28px 20px;
    }
}

@media (max-width: 991px) {
    .order-new-page {
        padding-top: 132px;
    }

    .order-new-page__title {
        font-size: 36px;
        margin-bottom: 32px;
    }

    .order-progress__item::before {
        width: 72px;
    }

    .order-progress__number {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }

    .order-progress__label {
        font-size: 14px;
    }

    .order-new-page__layout {
        grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    }

    .order-wizard__form::before {
        display: none;
    }

    .order-summary {
        top: 96px;
    }

    .order-step-card {
        min-height: 0;
        padding: 24px 16px;
    }

    .ui-section-heading__title {
        font-size: 22px;
    }

    .order-step-grid {
        gap: 16px;
    }
}

@media (min-width: 769px) {
    .order-summary__accordion--mobile > .order-summary__accordion-head {
        cursor: default;
        pointer-events: none;
    }

    .order-summary__accordion--mobile > .order-summary__accordion-head::after {
        display: none;
    }

    .order-summary__accordion--mobile > .order-summary__accordion-body {
        display: grid !important;
    }
}

@media (max-width: 768px) {
    .order-new-page {
        padding: 116px 0 40px;
    }

    .order-new-page__title {
        font-size: 30px;
        margin-bottom: 24px;
    }

    .order-progress {
        margin-bottom: 24px;
    }

    .order-progress__list {
        width: 100%;
        justify-content: space-between;
        gap: 6px;
    }

    .order-progress__item {
        flex: 1;
        gap: 6px;
    }

    .order-progress__item::before {
        width: auto;
        flex: 1;
        min-width: 12px;
    }

    .order-progress__label {
        display: none;
    }

    .order-new-page__layout {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .order-wizard {
        order: 1;
        max-width: 100%;
    }

    .order-summary {
        order: 2;
        position: static;
        width: 100%;
        gap: 12px;
    }

    .order-step-card {
        min-height: 0;
        padding: 20px 16px;
    }

    .ui-section-heading__title {
        font-size: 20px;
    }

    .order-step-grid {
        gap: 16px;
        margin-top: 16px;
    }

    .order-step-grid--2,
    .order-step-grid--3,
    .order-step-grid--4,
    .order-step-grid--enclosure {
        grid-template-columns: 1fr;
    }

    .order-step-field--hs-code {
        grid-column: auto;
    }

    .order-step-time-picker {
        grid-column: auto;
    }

    .bottom-options-wrapper,
    .order-step-heading--with-note,
    .order-step-actions,
    .order-step-actions--dual,
    .order-success-modal__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .order-step-actions--dual .order-step-continue {
        margin-left: 0;
    }

    .order-step-back,
    .order-step-continue,
    .order-success-modal__actions .order-step-back,
    .order-success-modal__actions .order-step-continue {
        width: 100%;
    }

    .order-step-back {
        margin-top: 0;
    }

    .order-summary__card {
        padding: 16px;
    }

    .order-summary__title {
        padding: 0 0 12px;
        margin-bottom: 12px;
        border-bottom: 1px solid var(--order-color-border-muted);
    }

    .order-progress__list .order-progress__item:first-child {
        justify-content: flex-end;
        flex: 0 0 34px;
        width: 34px;
    }

    .order-summary__accordion--mobile > .order-summary__accordion-head {
        margin-bottom: 0;
    }

    .order-summary__accordion--mobile:not([open]) > .order-summary__accordion-head {
        border-bottom: 0;
        padding-bottom: 0;
    }

    .order-summary__accordion--mobile > .order-summary__accordion-body {
        padding-top: 12px;
    }

    .order-summary__destination-group {
        margin: 0;
        padding: 0 0 16px;
    }

    .order-summary__destination-heading {
        margin: 0 0 8px;
        font-size: 16px;
    }

    .order-summary__accordion-head {
        font-size: 16px;
    }

    .order-summary__accordion-body {
        gap: 12px;
    }

    .order-summary__row,
    .order-summary__method-title,
    .order-summary__method-subtitle {
        font-size: 16px;
    }

    .order-hs-modal__item {
        flex-direction: column;
        padding: 16px;
        align-items: flex-start;
    }

    .order-hs-modal__dialog {
        padding: 16px;
    }

    .order-hs-modal__item-main {
        align-items: center;
    }

    .order-hs-modal__search-block {
        flex-direction: column;
        align-items: flex-start;
    }

    .order-hs-modal__search-field {
        width: 100%;
    }

    .order-hs-modal__dialog {
        min-height: 85dvh;
        max-height: 85dvh;
    }

    .order-hs-modal__search-label {
        font-size: 18px;
    }

    .order-hs-modal__title {
        font-size: 24px;
    }

    .order-hs-modal__item-code,
    .order-hs-modal__item-name {
        font-size: 14px;
    }
}

@media (max-width: 560px) {
    .order-new-page {
        padding-top: 108px;
    }

    .order-new-page__title {
        font-size: 26px;
    }

    .order-progress__item::before {
        min-width: 8px;
    }

    .order-progress__number {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    .ui-section-heading__title {
        font-size: 20px;
    }

    .order-step-grid {
        gap: 16px;
    }

    .order-step-card {
        padding: 16px 12px;
    }

    .order-summary__title {
        padding: 0 0 10px;
        font-size: 16px;
    }

    .order-summary__card {
        padding-left: 12px;
        padding-right: 12px;
    }

    .order-summary__destination-group {
        padding-left: 0;
        padding-right: 0;
    }

    .order-hs-modal {
        padding: 12px;
    }

    .order-hs-modal__dialog {
        gap: 14px;
    }

    .order-hs-modal__select {
        width: 100%;
    }
}
