/* ==========================================================
   Global responsive foundation
   Keep this file for shared shell behavior only:
   viewport safety, containers, header/mobile menu, footer shell,
   fixed controls, and generic form/media safeguards.
========================================================== */

html {
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    min-width: 320px;
}

img,
video,
iframe,
table {
    max-width: 100%;
}

iframe,
video {
    border: 0;
}

input,
textarea,
select,
button {
    max-width: 100%;
}

@media only screen and (max-width: 1440px) {
    :root {
        --container-width: 1180px;
        --container-padding: 0 32px;
        --container-padding--value: 22px;
    }

    .container {
        max-width: var(--container-width);
    }
}

@media only screen and (max-width: 1180px) {
    :root {
        --container-padding: 0 22px;
        --padding: 24px;
    }

    body.is_open_menu::before {
        content: "";
        position: fixed;
        inset: 0;
        z-index: 18;
        background: rgb(7 11 22 / 46%);
        backdrop-filter: blur(3px);
    }

    header.fixedintro {
        min-height: 66px;
    }

    header.fixedintro .container,
    header .container {
        min-width: 0 !important;
        max-width: 100%;
        justify-content: space-between;
        gap: 10px;
    }

    .-mobile-menu-button.background {
        display: inline-flex;
        order: -1;
        margin: 0;
        padding: 0;
        border: 1px solid rgb(0 0 0 / 8%);
        border-radius: 14px;
        background: #ffffff;
        color: var(--primary-text);
        box-shadow: 0 8px 22px rgb(0 0 0 / 6%);
        cursor: pointer;
    }

    .-main-nav {
        z-index: 19;
    }

    .-main-nav.open_menu {
        z-index: 999999999;
    }

    .header--Tools {
        min-width: 0;
        flex: 0 0 auto;
    }

    .header--Tools .fsurl-btn {
        min-height: 40px;
        padding-inline: 12px;
        font-size: 13px;
    }

    .-site-logo {
        min-width: 0;
        flex: 0 1 auto;
    }

    .-site-logo > a {
        min-width: 88px;
    }

    .-site-logo img {
        max-height: 50px;
        object-fit: contain;
    }

    .site-footer .footer-newsletter,
    .site-footer .footer-top-row,
    .site-footer .footer-brand-row,
    .site-footer .footer-content-row,
    .site-footer .footer-links-wrap,
    .site-footer.-footer-style-rakar .footer-rakar-grid,
    .site-footer.-footer-style-rakar .footer-rakar-links,
    .site-footer.-footer-style-rakar .footer-rakar-topbar__grid {
        min-width: 0;
    }
}

@media only screen and (max-width: 1024px) {
    :root {
        --container-padding: 0 20px;
        --theme-radius: 16px;
        --theme-radius-lg: 22px;
    }

    .footer-rakar-topbar__grid,
    footer-body {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 880px) {
    .container {
        min-width: 0 !important;
        max-width: 100%;
        padding-inline: 18px;
    }

    .site-footer .footer-newsletter,
    .site-footer .footer-top-row,
    .site-footer .footer-brand-row,
    .site-footer .footer-content-row,
    .site-footer .footer-links-wrap,
    .site-footer.-footer-style-rakar .footer-rakar-grid,
    .site-footer.-footer-style-rakar .footer-rakar-links,
    .site-footer.-footer-style-rakar .footer-rakar-topbar__grid,
    footer-body {
        display: grid;
        grid-template-columns: 1fr;
    }

    .site-footer .footer-newsletter__form,
    .footer-newsletter__form {
        flex-direction: column;
    }

    .site-footer .footer-newsletter__form input,
    .site-footer .footer-newsletter__form button {
        width: 100%;
    }
}

@media only screen and (max-width: 768px) {
    :root {
        --container-padding: 0 16px;
        --padding: 20px;
        --fsize: 14px;
    }

    header.fixedintro {
        min-height: 62px;
        padding-block: 8px;
    }

    .-main-nav {
        top: 62px;
        width: 100%;
        max-width: 100%;
        height: calc(100vh - 62px);
        padding: 14px;
    }

    .-main-nav > ul > li > a {
        min-height: 48px;
        font-size: 15px;
    }

    .header--Tools .fsurl-btn {
        display: none;
    }

    .srch-type-icon,
    .head-btns > a,
    .-mobile-menu-button.background,
    .--open--searching.--search--buttonType-icon {
        width: 38px;
        min-width: 38px;
        height: 38px;
        border-radius: 13px;
    }

    .menu__icon {
        width: 24px;
        height: 24px;
        padding: 5px 3px;
    }

    .menu__icon span {
        height: 2px;
    }
}

@media only screen and (max-width: 580px) {
    :root {
        --container-padding: 0 14px;
        --container-padding--value: 16px;
        --largeradius: 12px;
        --miniradius: 8px;
    }

    .container {
        padding-inline: 14px;
    }

    input[input-model][type=text],
    input[input-model][type=number],
    input[input-model][type="tel"],
    input[input-model][type="password"],
    .-selectbox-button,
    textarea[textarea-model] {
        font-size: 14px;
    }

    .search_body > form > input[type=search] {
        min-height: 58px;
        font-size: 18px;
        padding-inline: 18px 64px;
    }

    .fixed-btns {
        right: 10px;
        bottom: 10px;
    }

    .GoToTop {
        left: 10px;
        --elwh: 38px;
    }
}

@media only screen and (max-width: 420px) {
    .container {
        padding-inline: 12px;
    }

    header .container {
        padding-inline: 10px;
    }

    .-site-logo > a {
        min-width: 76px;
        max-width: 124px;
    }

    .-site-logo img {
        max-height: 42px;
    }

    .srch-type-icon,
    .head-btns > a,
    .-mobile-menu-button.background,
    .--open--searching.--search--buttonType-icon {
        width: 35px;
        min-width: 35px;
        height: 35px;
        border-radius: 12px;
    }

    .-main-nav {
        padding: 12px;
    }

    .-main-nav > ul > li > a {
        min-height: 44px;
        padding: 10px 12px;
        font-size: 14px;
    }
}

@media only screen and (max-width: 340px) {
    .container {
        padding-inline: 10px;
    }
}
