/* GEX home on phones (up to 799px): the GTA VI banner replaces the hero slider and fills the screen
   (down to the bottom bar). The heading sits at the top of the banner on a soft
   black fade that only sits behind the text. Under it: the consoles that can play GTA VI.
   Desktop keeps the normal hero. */
.gex-gta { display: none; }
@media (max-width: 799px) {
    html:root body.home #gexc-hero { display: none !important; }
    html:root body.home .gex-gta {
        display: block;
        width: 100vw;
        margin: -12px 0 0 calc(50% - 50vw);
    }
    /* Fills the screen between the header and the bottom bar: strip (30px) + header (60px) above,
       minus the 12px it tucks under the header corners, plus the 18px the sheet overlaps,
       plus the bottom bar (about 96px with its Shop button, and the phone's bottom safe area). */
    .gex-gta__banner {
        position: relative;
        height: calc(100vh - 156px - env(safe-area-inset-bottom, 0px));
        height: calc(100svh - 156px - env(safe-area-inset-bottom, 0px));
        min-height: 420px;
        margin: 0;
        overflow: hidden;
        line-height: 0;
        background: #7fa6c4;
    }
    .gex-gta__banner img {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: 50% 100%;
    }
    .gex-gta__head {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        padding: 28px 16px 48px;
        box-sizing: border-box;
        line-height: normal;
        background: linear-gradient(to bottom, rgba(0, 0, 0, .6) 0, rgba(0, 0, 0, .38) 55%, rgba(0, 0, 0, 0) 100%);
    }
    html:root body .gex-gta__eyebrow { margin: 0 0 6px; color: rgba(255, 255, 255, .85); font-size: 11px; font-weight: 700; letter-spacing: .08em; line-height: 1.2; text-transform: uppercase; }
    html:root body .gex-gta__title { margin: 0; color: #fff; font-size: 24px; font-weight: 700; letter-spacing: 0; line-height: 1.25; text-transform: none; text-shadow: 0 1px 6px rgba(0, 0, 0, .35); }
    /* Extra space above the first row of console cards (the sheet overlaps the banner by 18px). */
    .gex-gta__sheet {
        position: relative;
        margin-top: -18px;
        padding: 40px 16px 20px;
        box-sizing: border-box;
        border-radius: 18px 18px 0 0;
        background: #fff;
    }
    html:root body .gex-gta .woocommerce { margin: 0; }
    html:root body .gex-gta ul.products { margin: 0; }
    html:root body .gex-gta__all { display: block; margin-top: 16px; padding: 14px; border-radius: 10px; background: #111; color: #fff !important; font-size: 14px; font-weight: 600; text-align: center; text-decoration: none; }
}
