/*
 * Mobile fixes for the haarrelaxspa.nl theme (2026-10-23). Loaded after the theme CSS by every template, together with
 * the viewport meta tag (migrate/70-mobile.php); copied to css/ by prepare.sh. The theme already has phone layouts
 * (767/479 px), they only never applied without a viewport tag.
 */
@media (max-width: 767px) {
    /* Home: the header was exactly as tall as the background video (168 px on a 390 px phone), so the logo and
       tagline ended up below it, hidden by the next section. The content now sets the height and the video
       fills the header behind it. */
    .header {
        overflow: hidden;
    }
    .header .background-video {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
    .header .header_wr {
        position: relative;
        padding-bottom: 30px;
    }
    .hdr-brand {
        margin-top: 40px;
    }

    /* Mobile menu (native select): full width, finger-sized, 16 px so iOS does not zoom in on tap. */
    .select-menu {
        width: auto;
    }
    .select-menu .select {
        width: calc(100% + 30px);
        height: 44px;
        padding-left: 12px;
        font-size: 16px;
        line-height: 44px;
    }
}

@media (max-width: 479px) {
    /* The theme fixes the content at 300 px; use the width of the phone with 15 px at both sides. "body" is
       needed to beat section classes such as .well2__ins1 that reset the side padding to 0. */
    body .container {
        width: auto;
        padding-left: 15px;
        padding-right: 15px;
    }
}
