@media only screen and (min-width: 768px) {
    #checkout .iwd_opc_alternative_wrapper {
        padding: 24px;
        border-radius: 16px;
        background: #f4f7f9;
    }

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

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

    #checkout .iwd_opc_column_name {
        margin: 24px 0 16px;
        color: #253746;
        font-size: 23px;
        line-height: 1.4;
    }

    #checkout .iwd_opc_column_content {
        padding: 24px !important;
        border: 1px solid #e0e7ed;
        border-radius: 14px;
        background: #fff;
        box-shadow: 0 2px 6px rgba(30, 52, 71, 0.03);
    }

    #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;
        background: transparent;
        box-shadow: none;
        overflow: visible !important;
    }

    #checkout #co-shipping-method-form {
        padding-bottom: 0;
        border-bottom: 0;
    }

    #checkout #iwd_opc_shipping_method .iwd_opc_select_container,
    #checkout [data-element-id="iwd_opc_payment_method_select"] {
        display: flex;
        gap: 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;
        display: flex;
        flex: 1 1 0;
        align-items: center;
        float: none;
        width: auto !important;
        min-width: 0;
        min-height: 76px;
        height: auto;
        margin: 0;
        padding: 16px 44px 16px 16px;
        border: 1px solid #ccd7e0 !important;
        border-radius: 10px;
        background: #fff;
        color: #30414f !important;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.45;
        text-align: left !important;
        white-space: normal;
        box-sizing: border-box;
    }

    #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::after,
    #checkout [data-element-id="iwd_opc_payment_method_select"] .iwd_opc_select_option::after,
    #checkout .fyb-billing-options .billing-same-as-shipping-label::after {
        position: absolute;
        top: calc(50% - 11px);
        right: 14px;
        width: 22px;
        height: 22px;
        border: 2px solid #a5b4c0;
        border-radius: 50%;
        content: '';
        pointer-events: none;
        box-sizing: border-box;
    }

    #checkout #iwd_opc_shipping_method .iwd_opc_select_option.selected,
    #checkout [data-element-id="iwd_opc_payment_method_select"] .iwd_opc_select_option.selected,
    #checkout .fyb-billing-options input:checked + .billing-same-as-shipping-label {
        border: 2px solid var(--mobile-accent, #0f6eaf) !important;
        background: var(--mobile-tint, #eff7fc);
        color: #253746 !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,
    #checkout .fyb-billing-options input:checked + .billing-same-as-shipping-label::after {
        border-color: var(--mobile-accent, #0f6eaf);
        background: var(--mobile-accent, #0f6eaf);
        color: #fff;
        content: '\2713';
        font-family: Arial, sans-serif;
        font-size: 15px;
        line-height: 18px;
        text-align: center;
    }

    #checkout .shipping-adddress {
        margin-top: 20px !important;
        padding: 0 !important;
        border: 0;
        background: transparent;
    }

    #checkout .shipping-adddress > h3.field {
        margin: 0 0 20px !important;
        padding: 0 !important;
        color: #30414f;
        font-size: 19px;
    }

    #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 {
        min-height: 46px;
        padding: 10px 12px;
        border: 1px solid #cbd6df;
        border-radius: 8px;
        background: #fff;
        font-size: 15px;
        line-height: 1.4;
        box-sizing: border-box;
    }

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

    #checkout .select2-selection--single {
        display: flex;
        align-items: center;
        min-height: 46px;
        border: 1px solid #cbd6df;
        border-radius: 8px;
    }

    #checkout .select2-selection__rendered {
        padding: 0 30px 0 12px;
        font-size: 15px;
        line-height: 1.4;
    }

    #checkout .select2-selection__arrow {
        height: 44px;
    }

    #checkout .fyb-billing-options {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
        padding: 0 !important;
    }

    #checkout .fyb-billing-options > .field.choice {
        position: relative;
        order: 0;
        float: none;
        width: auto;
        margin: 0;
        padding: 0;
    }

    #checkout .fyb-billing-options input[type="radio"] {
        position: absolute;
        top: calc(50% - 11px);
        right: 14px;
        left: auto;
        width: 22px;
        height: 22px;
        margin: 0 !important;
        opacity: 0;
    }

    #checkout .fyb-billing-options .billing-same-as-shipping-label {
        display: flex;
        align-items: center;
        width: 100%;
        min-height: 76px;
        margin: 0;
        padding: 16px 44px 16px 16px;
        border: 1px solid #ccd7e0;
        border-radius: 10px;
        background: #fff;
        color: #30414f;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.45;
        cursor: pointer;
        box-sizing: border-box;
    }

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

    #checkout .fyb-billing-options input:focus-visible + label {
        outline: 3px solid #97c6e8;
        outline-offset: 3px;
    }

    #checkout .fyb-billing-options > .billing-address-actions {
        order: 1;
        grid-column: 1 / -1;
        width: 100%;
        margin: 4px 0 0;
        padding: 16px;
        border: 1px solid #e0e9f0;
        border-radius: 10px;
        background: #f8fafc;
        box-sizing: border-box;
    }

    #checkout .billing-address-actions > button.action {
        min-height: 46px;
        margin: 0;
        padding: 12px 18px;
        border: 1px solid var(--mobile-accent, #0f6eaf);
        border-radius: 8px;
        background: #fff;
        color: var(--mobile-accent, #0f6eaf);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.4;
    }

    #checkout .iwd_opc_button {
        min-height: 52px;
        border-radius: 10px;
        font-size: 17px;
    }

    /* Delivery methods switch the panel below, so present them as compact tabs. */
    #checkout #iwd_opc_shipping_method .iwd_opc_select_container {
        gap: 4px;
        border-bottom: 2px solid #dce5ec !important;
    }

    #checkout #iwd_opc_shipping_method .iwd_opc_select_option {
        display: block;
        min-height: 48px;
        padding: 13px 16px;
        border: 0 !important;
        border-bottom: 3px solid transparent !important;
        border-radius: 8px 8px 0 0;
        background: #f5f7f9;
        font-size: 14px;
        line-height: 1.4;
        text-align: center !important;
        cursor: pointer;
    }

    #checkout #iwd_opc_shipping_method .iwd_opc_select_option.selected {
        border: 0 !important;
        border-bottom: 3px solid var(--mobile-accent, #0f6eaf) !important;
        background: var(--mobile-tint, #eff7fc);
        color: var(--mobile-accent, #0f6eaf) !important;
    }

    #checkout #iwd_opc_shipping_method .iwd_opc_select_option::after {
        display: none;
    }

    #checkout #iwd_opc_shipping_method .iwd_opc_select_option > * {
        display: inline;
        font-size: inherit;
    }

    /* Payment methods remain a vertical list as more providers are added. */
    #checkout [data-element-id="iwd_opc_payment_method_select"] {
        flex-direction: column;
        gap: 8px;
    }

    #checkout [data-element-id="iwd_opc_payment_method_select"] .iwd_opc_select_option {
        flex: 0 0 auto;
        width: 100% !important;
        min-height: 52px;
        padding: 14px 16px 14px 48px;
        border-radius: 8px;
        font-size: 14px;
    }

    #checkout [data-element-id="iwd_opc_payment_method_select"] .iwd_opc_select_option::after {
        right: auto;
        left: 14px;
    }

    #checkout .fyb-billing-options {
        column-gap: 4px;
        row-gap: 16px;
    }

    #checkout .fyb-billing-options .billing-same-as-shipping-label {
        display: flex;
        justify-content: center;
        min-height: 48px;
        padding: 13px 16px;
        border: 0;
        border-bottom: 3px solid #dce5ec;
        border-radius: 8px 8px 0 0;
        background: #f5f7f9;
        font-size: 14px;
        line-height: 1.4;
        text-align: center;
    }

    #checkout .fyb-billing-options input:checked + .billing-same-as-shipping-label {
        border: 0 !important;
        border-bottom: 3px solid var(--mobile-accent, #0f6eaf) !important;
        background: var(--mobile-tint, #eff7fc);
        color: var(--mobile-accent, #0f6eaf) !important;
    }

    #checkout .fyb-billing-options .billing-same-as-shipping-label::after {
        display: none;
    }
}
