/* Keep the cash boost purchase rail beside the overview on smaller laptops
   and landscape tablets, matching the existing >=1200px product layout. */
@media (min-width: 1025px) and (max-width: 1199px) {
    html body.single-product.postid-13271 .dm-product-layout.container {
        display: grid !important;
        width: min(1420px, calc(100vw - 48px)) !important;
        max-width: 1420px !important;
        min-width: 0 !important;
        grid-template-columns: minmax(240px, 0.76fr) minmax(0, 1.24fr) minmax(320px, 0.82fr) !important;
        gap: 20px !important;
        align-items: start !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    html body.single-product.postid-13271 .dm-product-main {
        display: block !important;
        grid-column: 1 !important;
        grid-row: 1 !important;
        min-width: 0 !important;
    }

    html body.single-product.postid-13271 .dm-product-sidebar {
        display: contents !important;
        position: static !important;
        top: auto !important;
    }

    html body.single-product.postid-13271 .dm-product-info-card {
        grid-column: 2 !important;
        grid-row: 1 !important;
        position: static !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 10px 4px 0 !important;
        overflow: visible !important;
        background: none !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    html body.single-product.postid-13271 .dm-product-purchase-column {
        grid-column: 3 !important;
        grid-row: 1 / span 2 !important;
        align-self: start !important;
        position: sticky !important;
        top: 148px !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        max-height: calc(100vh - 172px) !important;
        max-height: calc(100dvh - 172px) !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
    }

    html.dm-wcpa-menu-open body.single-product.postid-13271 .dm-product-purchase-column,
    html.dm-wcpa-package-menu-open body.single-product.postid-13271 .dm-product-purchase-column {
        max-height: none !important;
        overflow: visible !important;
    }

    html body.single-product.postid-13271 .dm-product-description-band {
        grid-column: 1 / 3 !important;
        grid-row: 2 !important;
    }
}
