@media only screen and (max-width: 767px) {
    .onepage-index-index .page-header .header.content a.logo,
    .checkout-index-index .page-header .header.content a.logo {
        margin-left: 0;
        margin-right: auto;
    }

    .checkout-index-index .is-sticky .minicart-wrapper {
        display: none;
    }

    #checkout .iwd_opc_alternative_wrapper {
        padding: 16px 12px;
        background: #f5f7f9;
    }

    #checkout .iwd_opc_column {
        min-width: 0;
        max-width: 100%;
    }

    #checkout .iwd_opc_column_name {
        margin: 20px 0 12px;
        font-size: 21px;
        line-height: 1.35;
    }

    #checkout .iwd_opc_column_content {
        padding: 12px !important;
        border: 1px solid #dce2e9;
        border-radius: 12px;
        background: #fff;
        box-shadow: none;
    }

    #checkout .iwd_opc_alternative_column .iwd_opc_column {
        border: 0;
        background: transparent;
        box-shadow: none;
    }

    #checkout #iwd_opc_shipping_method .scroll-wrapper,
    #checkout #iwd_opc_shipping_method .iwd_opc_select_container,
    #checkout .items.payment-methods > .field > .control > .scroll-wrapper,
    #checkout [data-element-id="iwd_opc_payment_method_select"] {
        padding: 0 !important;
        border: 0 !important;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        overflow: visible !important;
    }

    #checkout .checkout-step.message {
        padding: 16px;
        border: 1px solid #e1e5e9;
        border-radius: 12px;
        background: #fff;
        box-shadow: none;
        font-size: 14px;
        line-height: 1.6;
    }

    #checkout #co-shipping-method-form {
        padding: 0 0 16px;
        border-bottom: 1px solid #e1e5e9;
    }

    #checkout .shipping-adddress {
        box-sizing: border-box;
        margin: 16px 0 0 !important;
        padding: 4px 0 !important;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    #checkout .shipping-adddress > h3.field {
        margin: 0 0 20px !important;
        padding: 0 !important;
        font-size: 20px;
        line-height: 1.35;
    }

    #checkout #shipping-new-address-form {
        grid-template-columns: minmax(0, 1fr);
    }

    #checkout #locker-map-wrapper {
        margin: 12px 0 20px;
    }

    #checkout .locker-map-content {
        box-sizing: border-box;
        display: flex;
        flex-direction: column;
        gap: 14px;
        padding: 4px 0;
        border: 0;
        border-radius: 0;
        background: transparent;
    }

    #checkout .locker-map-content > img {
        align-self: flex-start;
        width: 140px;
        max-width: 100%;
        height: auto;
        margin: 0;
        float: none;
    }

    #checkout .locker-map-content > .primary {
        box-sizing: border-box;
        width: 100%;
        padding: 0;
        float: none;
        font-size: 15px;
        line-height: 1.6;
    }

    #checkout #showLockerMap {
        width: 100%;
        min-height: 48px;
        margin: 16px 0 0;
        padding: 12px;
        border-radius: 8px;
        font-size: 16px;
        line-height: 1.4;
    }

    #checkout .billing-address-actions {
        box-sizing: border-box;
        width: 100%;
        padding: 4px 0 12px;
    }

    #checkout #iwd_opc_shipping_method .iwd_opc_select_option,
    #checkout [data-element-id="iwd_opc_payment_method_select"] .iwd_opc_select_option {
        position: relative;
        box-sizing: border-box;
        display: flex;
        align-items: center;
        width: 100% !important;
        min-height: 64px;
        height: auto;
        margin: 0 0 10px;
        padding: 14px 48px 14px 16px;
        float: none;
        border: 1px solid #c7d0da !important;
        border-radius: 10px;
        background: #fff;
        color: #263442 !important;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.45;
        text-align: left !important;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    #checkout #iwd_opc_shipping_method .iwd_opc_select_option::after,
    #checkout [data-element-id="iwd_opc_payment_method_select"] .iwd_opc_select_option::after {
        position: absolute;
        top: calc(50% - 11px);
        right: 14px;
        box-sizing: border-box;
        width: 22px;
        height: 22px;
        border: 2px solid #a1acb8;
        border-radius: 50%;
        content: '';
        pointer-events: none;
    }

    #checkout [data-element-id="iwd_opc_payment_method_select"] .iwd_opc_select_option::before {
        display: none !important;
    }

    #checkout #iwd_opc_shipping_method .iwd_opc_select_option.selected,
    #checkout [data-element-id="iwd_opc_payment_method_select"] .iwd_opc_select_option.selected {
        border: 2px solid var(--mobile-accent, #0f6eaf) !important;
        background: var(--mobile-tint, #eff7fc);
        color: #263442 !important;
    }

    #checkout #iwd_opc_shipping_method .iwd_opc_select_option.selected::after,
    #checkout [data-element-id="iwd_opc_payment_method_select"] .iwd_opc_select_option.selected::after {
        border-color: var(--mobile-accent, #0f6eaf);
        background: var(--mobile-accent, #0f6eaf);
        color: var(--mobile-on-accent, #fff);
        content: '\2713';
        font-family: Arial, sans-serif;
        font-size: 15px;
        line-height: 18px;
        text-align: center;
    }

    #checkout .field.choice.iwd_ops_row_field {
        position: relative;
        display: block;
        margin: 0 0 10px;
    }

    #checkout .field.choice.iwd_ops_row_field input[type="radio"] {
        position: absolute;
        top: 18px;
        left: 16px;
        z-index: 1;
        width: 20px;
        height: 20px;
        margin: 0 !important;
        opacity: 1;
        accent-color: var(--mobile-accent, #0f6eaf);
    }

    #checkout .field.choice.iwd_ops_row_field .billing-same-as-shipping-label {
        box-sizing: border-box;
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 58px;
        margin: 0;
        padding: 14px 14px 14px 48px;
        border: 1px solid #c7d0da;
        border-radius: 10px;
        background: #fff;
        color: #263442;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.45;
        cursor: pointer;
    }

    #checkout .billing-same-as-shipping-label::before {
        display: none !important;
    }

    #checkout .field.choice.iwd_ops_row_field input:checked + .billing-same-as-shipping-label {
        border: 2px solid var(--mobile-accent, #0f6eaf);
        background: var(--mobile-tint, #eff7fc);
    }

    #checkout .field.choice.iwd_ops_row_field input:focus-visible + label {
        outline: 3px solid var(--mobile-accent, #0f6eaf);
        outline-offset: 3px;
    }

    #checkout.iwd_main_wrapper input[type="text"],
    #checkout.iwd_main_wrapper input[type="email"],
    #checkout.iwd_main_wrapper input[type="tel"],
    #checkout.iwd_main_wrapper input[type="number"],
    #checkout.iwd_main_wrapper input[type="password"],
    #checkout.iwd_main_wrapper select {
        box-sizing: border-box;
        min-height: 48px;
        padding: 11px 12px;
        border: 1px solid #c7d0da;
        border-radius: 8px;
        background-color: #fff;
        font-size: 16px;
        line-height: 1.4;
    }

    #checkout #shipping-new-address-form .field,
    #checkout #billing-new-address-form .field {
        min-width: 0;
        margin-bottom: 16px;
        padding-right: 0;
        padding-left: 0;
    }

    #checkout.iwd_main_wrapper .field > label {
        margin-bottom: 7px;
        font-size: 14px;
        line-height: 1.4;
    }

    #checkout .iwd_opc_select_container {
        border-radius: 8px;
        font-size: 16px;
    }

    #checkout .iwd_opc_column_content > .step-row {
        margin: 16px 0;
        padding: 16px;
        border: 1px solid #e1e5e9;
        border-radius: 12px;
        box-shadow: none;
    }

    #checkout .fieldset > button.action {
        width: 100%;
        min-height: 46px;
        margin: 8px 0;
        padding: 10px 14px;
        border: 1px solid var(--mobile-accent, #0f6eaf);
        border-radius: 8px;
        background: #fff;
        color: var(--mobile-accent, #0f6eaf);
        font-size: 15px;
        line-height: 1.4;
    }

    #checkout .billing-address-actions > button.action {
        margin: 0;
        padding: 12px 14px;
        text-align: center;
    }

    #checkout .iwd_opc_button {
        min-height: 48px;
        border-radius: 8px;
        font-size: 17px;
        line-height: 1.4;
    }

    .checkout-index-index .modals-overlay {
        z-index: 100005 !important;
    }

    .billing-modal-form {
        left: 0 !important;
        z-index: 100010 !important;
    }

    .billing-modal-form .modal-inner-wrap {
        box-sizing: border-box;
        width: calc(100% - 24px);
        max-width: 520px;
        min-height: 0;
        max-height: calc(100% - 32px);
        height: auto;
        margin: 16px auto;
        border-radius: 12px;
        overflow-y: auto;
    }

    .billing-modal-form .modal-header {
        padding: 16px 60px 12px 16px;
    }

    .billing-modal-form .modal-title {
        font-size: 22px;
        line-height: 1.3;
    }

    .billing-modal-form .action-close {
        top: 8px;
        right: 8px;
        min-width: 44px;
        min-height: 44px;
    }

    .billing-modal-form .modal-content {
        padding: 16px;
    }

    .billing-modal-form input[type="text"],
    .billing-modal-form input[type="tel"],
    .billing-modal-form input[type="number"],
    .billing-modal-form select {
        box-sizing: border-box;
        min-height: 48px;
        padding: 11px 12px;
        border: 1px solid #c7d0da;
        border-radius: 8px;
        font-size: 16px;
        line-height: 1.4;
    }

    .billing-modal-form .field > label {
        margin-bottom: 7px;
        font-size: 14px;
        line-height: 1.4;
    }

    #checkout .select2-selection--single,
    .billing-modal-form .select2-selection--single {
        display: flex;
        align-items: center;
        min-height: 48px;
        border: 1px solid #c7d0da;
        border-radius: 8px;
        font-size: 16px;
    }

    #checkout .select2-selection__rendered,
    .billing-modal-form .select2-selection__rendered {
        padding-right: 30px;
        padding-left: 12px;
        font-size: 16px;
        line-height: 1.4;
    }

    #checkout .select2-selection__arrow,
    .billing-modal-form .select2-selection__arrow {
        height: 46px;
    }

    .select2-dropdown .select2-results__option {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 16px;
        line-height: 1.5;
    }
}
