/* Mobile QA pass for the FiltryPrywatyzujace.pl B2C tenant. */
.tenant-filtry-b2c .b2c-mobile-account {
    display: none !important;
}

@media (max-width: 991px) {
    html,
    body.tenant-filtry-b2c {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }
}

@media (max-width: 767px) {
    html,
    body.tenant-filtry-b2c {
        width: 100%;
        max-width: 100%;
        overflow-x: clip;
    }

    body.tenant-filtry-b2c {
        padding-top: 0 !important;
    }

    .tenant-filtry-b2c .b2c-navbar.navbar {
        min-height: calc(68px + env(safe-area-inset-top)) !important;
        padding-top: env(safe-area-inset-top);
    }

    .tenant-filtry-b2c .b2c-navbar > .container {
        width: 100%;
        max-width: none;
        padding-right: max(14px, env(safe-area-inset-right));
        padding-left: max(14px, env(safe-area-inset-left));
    }

    .tenant-filtry-b2c .b2c-navbar .navbar-header {
        width: 100%;
        margin: 0 !important;
        gap: 10px;
    }

    .tenant-filtry-b2c .b2c-brand.navbar-brand {
        min-width: 0;
        max-width: calc(100% - 98px);
        margin: 0 !important;
        overflow: hidden;
    }

    .tenant-filtry-b2c .b2c-brand-lockup {
        width: min(194px, 100%);
        max-width: 100%;
        height: auto;
    }

    .tenant-filtry-b2c .b2c-mobile-actions {
        margin-left: auto;
        flex: 0 0 auto;
    }

    .tenant-filtry-b2c .b2c-navbar .navbar-collapse {
        padding-bottom: calc(26px + env(safe-area-inset-bottom)) !important;
    }

    .tenant-filtry-b2c .b2c-mobile-menu-head {
        min-height: calc(72px + env(safe-area-inset-top));
        padding-top: calc(12px + env(safe-area-inset-top));
        padding-right: max(14px, env(safe-area-inset-right));
        padding-left: max(14px, env(safe-area-inset-left));
    }

    .tenant-filtry-b2c .b2c-mobile-account > a::after {
        color: #7b8798;
        font-family: FontAwesome;
        font-size: 13px;
        content: "\f105";
    }

    .tenant-filtry-b2c .b2c-mobile-account {
        display: block !important;
    }

    .tenant-filtry-b2c .b2c-mobile-support-contact {
        display: grid;
        gap: 8px;
    }

    .tenant-filtry-b2c .b2c-mobile-support-contact a {
        min-width: 0;
        color: var(--pf-ink) !important;
        display: flex;
        align-items: center;
        gap: 9px;
        font-size: 13px;
        font-weight: 800;
        overflow-wrap: anywhere;
        text-decoration: none !important;
    }

    .tenant-filtry-b2c .b2c-mobile-support-contact i {
        width: 34px;
        height: 34px;
        flex: 0 0 34px;
        border-radius: 10px;
        background: #fff;
        color: var(--pf-violet);
        display: grid;
        place-items: center;
    }

    .tenant-filtry-b2c .b2c-mobile-utilities {
        padding-top: 13px;
        border-top: 1px solid rgba(66, 135, 245, .2);
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

    .tenant-filtry-b2c .b2c-mobile-languages,
    .tenant-filtry-b2c .b2c-mobile-socials {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .tenant-filtry-b2c .b2c-mobile-socials:only-child {
        margin-left: auto;
    }

    .tenant-filtry-b2c .b2c-mobile-languages a,
    .tenant-filtry-b2c .b2c-mobile-socials a {
        min-width: 36px;
        height: 36px;
        padding: 0 8px;
        border: 1px solid #c8dcfa;
        border-radius: 10px;
        background: #fff;
        color: #45566e !important;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 4px;
        font-size: 9px;
        font-weight: 900;
        text-decoration: none !important;
    }

    .tenant-filtry-b2c .b2c-mobile-languages a.is-active {
        border-color: var(--pf-violet);
        background: var(--pf-violet);
        color: #fff !important;
    }

    .tenant-filtry-b2c .b2c-mobile-socials a {
        width: 36px;
        min-width: 36px;
        padding: 0;
        font-size: 13px;
    }

    .tenant-filtry-b2c .page-top {
        min-height: 56px;
        height: auto;
        padding: 0;
        display: flex;
        align-items: center;
    }

    .tenant-filtry-b2c .page-top > .container {
        width: 100%;
        min-height: 56px;
        padding: 8px max(16px, env(safe-area-inset-right)) 8px max(16px, env(safe-area-inset-left));
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .tenant-filtry-b2c .page-top > .container > div:first-child {
        width: 100%;
        padding: 0;
        float: none;
        text-align: center;
    }

    .tenant-filtry-b2c .page-top h1,
    .tenant-filtry-b2c .page-top .page-top-heading {
        margin: 0;
        font-size: clamp(15px, 4.7vw, 19px);
        line-height: 1.35;
        overflow-wrap: anywhere;
    }

    .tenant-filtry-b2c .fullwidthbanner-container {
        min-height: 0;
    }

    .tenant-filtry-b2c .privacy-footer__newsletter form {
        height: auto;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 52px;
        gap: 8px;
    }

    .tenant-filtry-b2c .privacy-footer__newsletter input,
    .tenant-filtry-b2c .privacy-footer__newsletter input:focus,
    .tenant-filtry-b2c .privacy-footer__newsletter input:focus-visible {
        min-width: 0;
        height: 52px;
        padding: 0 15px;
        border-radius: 13px !important;
    }

    .tenant-filtry-b2c .privacy-footer__newsletter button {
        position: static;
        width: 52px;
        height: 52px;
        border-radius: 13px;
    }

    .tenant-filtry-b2c .privacy-products .privacy-product-grid {
        margin-right: calc(-1 * max(14px, env(safe-area-inset-right)));
        padding-right: max(38px, env(safe-area-inset-right));
        padding-bottom: 10px;
        display: flex;
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
    }

    .tenant-filtry-b2c .privacy-products .privacy-product-grid::-webkit-scrollbar {
        display: none;
    }

    .tenant-filtry-b2c .privacy-products .hp-product-card {
        min-width: min(86%, 340px);
        flex: 0 0 min(86%, 340px);
        scroll-snap-align: start;
    }

    .tenant-filtry-b2c .privacy-products .hp-product-card__image-wrap {
        height: 190px !important;
    }

    .tenant-filtry-b2c #scroll-top {
        right: max(12px, env(safe-area-inset-right));
        bottom: calc(12px + env(safe-area-inset-bottom));
        width: 42px;
        height: 42px;
        opacity: .92;
    }
}

@media (max-width: 380px) {
    .tenant-filtry-b2c .b2c-brand-lockup {
        width: 175px;
    }

    .tenant-filtry-b2c .b2c-mobile-menu-lockup {
        width: 172px;
    }

    .tenant-filtry-b2c .b2c-mobile-menu-head-actions {
        gap: 5px;
    }
}
