/**
 * Tudor Ranger CMS — Hyvä shell overrides (not in Tailwind build).
 * Scope: body.tudor-cms (from cms_page_view_id_tudor_ranger.xml).
 * Pattern: rolex-watchmaking-overrides.css · tudor-collection-overrides.css
 */

body.tudor-cms #maincontent {
    display: block !important;
    min-height: unset;
}

body.tudor-cms .page-main,
body.tudor-cms #maincontent.page-main,
body.tudor-cms #maincontent.page-main-full-width,
body.tudor-cms.page-layout-1column #maincontent {
    margin: 0 !important;
    margin-block: 0 !important;
    padding-top: 0 !important;
    max-width: none;
    padding-inline: 0;
}

/* Hyvä: main.page-main-full-width skips .columns max-width in styles.css; belt-and-suspenders */
body.tudor-cms #maincontent.page-main-full-width > .columns {
    max-width: none;
    padding-inline: 0;
    margin-inline: 0;
}

body.tudor-cms nav.breadcrumbs,
body.tudor-cms .breadcrumbs:not(.tudor-wrapper .breadcrumbs) {
    display: none !important;
}

body.tudor-cms .page-title-wrapper,
body.tudor-cms h1.page-title {
    display: none !important;
}

@media only screen and (max-width: 1023px) {
    body.tudor-cms .page-header {
        position: relative;
        z-index: 20;
    }
}

@media only screen and (min-width: 640px) {
    body.tudor-cms .page-header #menu-search-icon {
        display: block !important;
    }

    body.tudor-cms .page-header #search-content:not([style*="display: none"]) {
        display: block !important;
    }
}

@media only screen and (min-width: 1024px) {
    body.tudor-cms .page-header .lg\:flex {
        display: flex !important;
    }

    body.tudor-cms .page-header .lg\:block {
        display: block !important;
    }

    body.tudor-cms .page-header .lg\:inline-block,
    body.tudor-cms .page-header #customer-menu {
        display: inline-block !important;
    }

    body.tudor-cms .page-header .lg\:inline-flex,
    body.tudor-cms .page-header #menu-wishlist-icon {
        display: inline-flex !important;
    }
}

body.tudor-cms .page-header #menu-cart-icon {
    display: block !important;
}

body.tudor-cms .page-header #search-content.hidden {
    display: none;
}
