.additional-checkout-buttons--vertical .wallet-cart-grid .wallet-cart-button-container:first-child {
    margin-top: 8px;
}


@container dcc (width >=150px) and (width <=500px) {
    .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(1)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(2))) .wallet-cart-button-container:first-child {
        margin-top: 8px;
    }
}

@container dcc (width <=310px) {
    .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(2)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(3))) .wallet-cart-button-container:first-child {
        margin-top: 8px;
    }
}

@container dcc (width <=470px) {
    .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(3)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(4))) .wallet-cart-button-container:first-child {
        margin-top: 8px;
    }
}

@container dcc (width <=630px) {
    .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(4)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(5))) .wallet-cart-button-container:first-child {
        margin-top: 8px;
    }
}

@container dcc (width <=790px) {
    .wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(5)).wallet-cart-grid:not(:has(>.wallet-cart-button-container:nth-of-type(6))) .wallet-cart-button-container:first-child {
        margin-top: 8px;
    }
}

.wallet-cart-grid:has(>.wallet-cart-button-container:nth-of-type(6)) .wallet-cart-button-container:first-child {
    margin-top: 8px;
}

@media screen and (max-width: 750px) {
    .wallet-cart-grid .wallet-cart-button-container:first-child {
        margin-top: 8px;
    }
}

@supports (not (container-type: inline-size)) or (not (selector(:has(*)))) {
    .wallet-cart-button-container:first-child {
        margin-top: 8px;
    }
}