@media (max-width: 921px) {
    #ast-mobile-header [data-section='section-header-mobile-trigger'] {
        background: transparent !important;
        background-image: none !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    #ast-mobile-header [data-section='section-header-mobile-trigger'] .ast-button-wrap {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }
}

body.woocommerce-checkout #payment ul.payment_methods > li.apex-payment-method-ready {
    display: grid !important;
    grid-template-columns: 20px minmax(0, 1fr);
    align-items: center;
    column-gap: 11px;
}

body.woocommerce-checkout #payment li.apex-payment-method-ready > input.input-radio {
    position: static !important;
    grid-column: 1;
    grid-row: 1;
    float: none !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;
    align-self: center;
}

body.woocommerce-checkout #payment li.apex-payment-method-ready > label {
    grid-column: 2;
    grid-row: 1;
    display: flex !important;
    align-items: center !important;
    flex-flow: row nowrap !important;
    gap: 8px !important;
    min-width: 0;
    min-height: 24px;
    margin: 0 !important;
    padding: 0 !important;
}

body.woocommerce-checkout #payment li.apex-payment-method-ready > label > img,
body.woocommerce-checkout #payment li.apex-payment-method-ready > label > span[style] {
    display: none !important;
}

body.woocommerce-checkout #payment li.apex-payment-method-ready .yoco-payment-method-title {
    min-width: 0;
    color: #f7f5f2 !important;
    font-family: var(--apex-font-heading, 'Orbitron', sans-serif) !important;
    font-size: 11px !important;
    font-weight: 750 !important;
    line-height: 1.4 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase;
}

.apex-payment-acceptance {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-items: center;
    gap: 10px;
    margin: 12px 0 0;
    padding: 11px 0 0;
    border-top: 1px solid #302b2c;
}

.apex-payment-acceptance__processor {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.apex-payment-acceptance__processor::before {
    content: 'Secured by';
    color: #918b88;
    font-size: 9px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

body.woocommerce-checkout #payment ul.payment_methods .apex-payment-acceptance__processor img {
    display: block !important;
    width: 78px !important;
    max-width: 78px !important;
    height: auto !important;
    max-height: 20px !important;
    margin: 0 !important;
    object-fit: contain;
    object-position: left center;
}

.apex-payment-acceptance__marks {
    display: grid;
    grid-template-columns: repeat(5, 64px);
    align-items: center;
    justify-content: start;
    gap: 7px;
    min-width: 0;
}

.apex-payment-mark {
    display: grid;
    place-items: center;
    box-sizing: border-box;
    min-width: 0;
    height: 38px;
    padding: 6px 8px;
    overflow: hidden;
    border: 1px solid #d7d3d0;
    border-radius: 4px;
    background: #f7f6f4;
}

body.woocommerce-checkout #payment ul.payment_methods .apex-payment-mark img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 22px !important;
    margin: 0 !important;
    object-fit: contain;
}

body.woocommerce-checkout #payment ul.payment_methods .apex-payment-mark--wallet img {
    width: auto !important;
    max-width: 100% !important;
    max-height: 26px !important;
}

body.woocommerce-checkout #payment li.apex-payment-method-ready > div.payment_box {
    grid-column: 1 / -1;
}

@media (max-width: 720px) {
    .apex-payment-acceptance__marks {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 6px;
    }

    .apex-payment-mark {
        grid-column: span 2;
        height: 38px;
        padding-right: 5px;
        padding-left: 5px;
    }

    .apex-payment-mark:nth-child(4) {
        grid-column: 2 / span 2;
    }

    .apex-payment-mark:nth-child(5) {
        grid-column: 4 / span 2;
    }

    body.woocommerce-checkout #payment ul.payment_methods .apex-payment-mark img {
        max-width: 100% !important;
    }

    body.woocommerce-checkout #payment ul.payment_methods .apex-payment-mark--wallet img {
        width: auto !important;
        max-width: 100% !important;
        max-height: 25px !important;
    }
}

@media (max-width: 380px) {
    body.woocommerce-checkout #payment li.apex-payment-method-ready .yoco-payment-method-title {
        font-size: 10px !important;
        letter-spacing: 0.065em !important;
    }

    .apex-payment-acceptance__marks {
        gap: 5px;
    }
}
