/* PlushevoToys compact responsive header, 2026-09-01. */

/* Portrait phone: the same compact composition at the page top and while sticky. */
@media (max-width: 567px) {
    .header,
    .header.sticky {
        width: 100%;
        background: #fff;
        box-shadow: none;
    }

    .header.sticky {
        position: fixed;
        top: 0;
        left: 0;
        z-index: 101;
        box-shadow: 0 5px 18px rgba(40, 48, 91, .08);
    }

    .header .top-header-wrap,
    .header.sticky .top-header-wrap {
        display: none !important;
    }

    .header .bottom-header-wrap,
    .header.sticky .bottom-header-wrap {
        height: 72px;
        min-height: 72px;
        background: #fff;
    }

    .header .bottom-header-wrap > .container,
    .header.sticky .bottom-header-wrap > .container {
        width: 100%;
        max-width: none;
        height: 72px;
        padding: 0 12px;
    }

    .header .bottom-header,
    .header.sticky .bottom-header {
        display: grid;
        grid-template-columns: 46px 84px minmax(0, 1fr) 46px;
        align-items: center;
        gap: 8px;
        width: 100%;
        height: 72px;
        min-height: 72px;
        padding: 0;
    }

    .header .mobile-menu-btn,
    .header.sticky .mobile-menu-btn {
        display: block !important;
        position: relative !important;
        inset: auto !important;
        order: 1;
        width: 46px;
        min-width: 46px;
        height: 46px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background-color: #edf8ff;
        align-self: center !important;
        justify-self: center;
    }

    .header .logo,
    .header.sticky .bottom-header-wrap .logo {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 84px;
        height: 56px;
        margin: 0;
        padding: 0;
        opacity: 1;
        transform: none;
    }

    .header .logo a,
    .header .logo__img,
    .header.sticky .logo a,
    .header.sticky .logo__img {
        display: block;
        width: 84px;
        max-width: 84px;
        height: 52px;
        max-height: 52px;
        object-fit: contain;
    }

    .header .search,
    .header.sticky .search {
        order: 3;
        display: block;
        width: auto;
        max-width: none;
        min-width: 0;
        height: 46px;
        margin: 0;
        padding: 0;
    }

    .header .search__form,
    .header.sticky .search__form {
        width: 100%;
        height: 46px;
        margin: 0;
    }

    .header .search__input,
    .header.sticky .search__input {
        width: 100%;
        height: 46px;
        padding: 0 42px 0 16px;
        border: 1px solid #dfe5ef;
        border-radius: 24px;
        font-size: 15px;
        line-height: 46px;
    }

    .header .search__btn,
    .header.sticky .search__btn {
        top: 4px;
        right: 4px;
        width: 38px;
        height: 38px;
        margin: 0;
        transform: scale(.82);
        transform-origin: center;
    }

    .header .our-mail-wrapper,
    .header .open-hours,
    .header.sticky .our-mail-wrapper,
    .header.sticky .open-hours {
        display: none !important;
    }

    .header .bottom-header__user-info,
    .header.sticky .bottom-header__user-info {
        order: 4;
        display: block;
        width: 46px;
        min-width: 46px;
        height: 46px;
        margin: 0;
        padding: 0;
    }

    .header .bottom-header__user-info > .user-info,
    .header.sticky .bottom-header__user-info > .user-info,
    .header .cart__title > span,
    .header.sticky .cart__title > span,
    .header .cart__total-sum,
    .header.sticky .cart__total-sum {
        display: none !important;
    }

    .header .cart,
    .header.sticky .cart,
    .header .cart__title,
    .header.sticky .cart__title {
        display: block;
        width: 46px;
        min-width: 46px;
        height: 46px;
        margin: 0;
        padding: 0;
        font-size: 0;
    }

    .header .cart__title:before,
    .header.sticky .cart__title:before {
        float: none;
        display: block;
        margin: 0 auto;
        transform: scale(.86);
        transform-origin: center;
    }

    .header .iqitmegamenu-wrapper,
    .header.sticky .iqitmegamenu-wrapper {
        position: absolute;
        margin: 0;
        padding: 0;
    }

    .header.sticky .breadcrumb {
        display: none !important;
    }

    .header + main {
        padding-top: 120px !important;
    }

    .page-name-index .header + main,
    .page-name-pagenotfound .header + main,
    .page-name-order-opc .header + main {
        padding-top: 72px !important;
    }
}

/* Landscape phone: compact header is restored, but its sticky state is delayed by JS. */
@media (min-width: 568px) and (max-width: 991px) and (orientation: landscape) and (max-height: 520px) {
    .page-name-product .header,
    .page-name-product .header.sticky {
        width: 100%;
        background: #fff;
        box-shadow: none;
    }

    body.page-name-product .header.sticky {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        z-index: 101;
        box-shadow: 0 5px 18px rgba(40, 48, 91, .08);
    }

    .page-name-product .header .top-header-wrap,
    .page-name-product .header.sticky .top-header-wrap {
        display: none !important;
    }

    .page-name-product .header .bottom-header-wrap,
    .page-name-product .header.sticky .bottom-header-wrap,
    .page-name-product .header .bottom-header-wrap > .container,
    .page-name-product .header.sticky .bottom-header-wrap > .container,
    .page-name-product .header .bottom-header,
    .page-name-product .header.sticky .bottom-header {
        height: 64px;
        min-height: 64px;
    }

    .page-name-product .header .bottom-header-wrap > .container,
    .page-name-product .header.sticky .bottom-header-wrap > .container {
        width: 100%;
        max-width: 760px;
        padding: 0 10px;
    }

    .page-name-product .header .bottom-header,
    .page-name-product .header.sticky .bottom-header {
        display: grid;
        grid-template-columns: 46px 118px minmax(0, 1fr) 46px;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 0;
    }

    .page-name-product .header .mobile-menu-btn,
    .page-name-product .header.sticky .mobile-menu-btn {
        display: block !important;
        position: relative !important;
        inset: auto !important;
        order: 1;
        width: 46px;
        min-width: 46px;
        height: 46px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background-color: #edf8ff;
        align-self: center !important;
        justify-self: center;
    }

    .page-name-product .header .logo,
    .page-name-product .header.sticky .bottom-header-wrap .logo {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 118px;
        height: 58px;
        margin: 0;
        padding: 0;
        opacity: 1;
        transform: none;
    }

    .page-name-product .header .logo a,
    .page-name-product .header .logo__img,
    .page-name-product .header.sticky .logo a,
    .page-name-product .header.sticky .logo__img {
        display: block;
        width: 118px;
        max-width: 118px;
        height: 58px;
        max-height: 58px;
        object-fit: contain;
    }

    .page-name-product .header .search,
    .page-name-product .header.sticky .search {
        order: 3;
        display: block;
        width: auto;
        max-width: none;
        min-width: 0;
        height: 46px;
        margin: 0;
        padding: 0;
    }

    .page-name-product .header .search__form,
    .page-name-product .header.sticky .search__form,
    .page-name-product .header .search__input,
    .page-name-product .header.sticky .search__input {
        width: 100%;
        height: 46px;
        margin: 0;
    }

    .page-name-product .header .search__input,
    .page-name-product .header.sticky .search__input {
        padding: 0 44px 0 18px;
        border: 1px solid #dfe5ef;
        border-radius: 24px;
        font-size: 16px;
        line-height: 46px;
    }

    .page-name-product .header .search__btn,
    .page-name-product .header.sticky .search__btn {
        top: 4px;
        right: 4px;
        width: 38px;
        height: 38px;
        margin: 0;
        transform: scale(.82);
        transform-origin: center;
    }

    .page-name-product .header .our-mail-wrapper,
    .page-name-product .header .open-hours,
    .page-name-product .header.sticky .our-mail-wrapper,
    .page-name-product .header.sticky .open-hours {
        display: none !important;
    }

    .page-name-product .header .bottom-header__user-info,
    .page-name-product .header.sticky .bottom-header__user-info {
        order: 4;
        display: block;
        width: 46px;
        min-width: 46px;
        height: 46px;
        margin: 0;
        padding: 0;
    }

    .page-name-product .header .bottom-header__user-info > .user-info,
    .page-name-product .header.sticky .bottom-header__user-info > .user-info,
    .page-name-product .header .cart__title > span,
    .page-name-product .header.sticky .cart__title > span,
    .page-name-product .header .cart__total-sum,
    .page-name-product .header.sticky .cart__total-sum {
        display: none !important;
    }

    .page-name-product .header .cart,
    .page-name-product .header.sticky .cart,
    .page-name-product .header .cart__title,
    .page-name-product .header.sticky .cart__title {
        display: block;
        width: 46px;
        min-width: 46px;
        height: 46px;
        margin: 0;
        padding: 0;
        font-size: 0;
    }

    .page-name-product .header .cart__title:before,
    .page-name-product .header.sticky .cart__title:before {
        float: none;
        display: block;
        margin: 0 auto;
        transform: scale(.86);
        transform-origin: center;
    }

    .page-name-product .header .iqitmegamenu-wrapper,
    .page-name-product .header.sticky .iqitmegamenu-wrapper {
        position: absolute;
        margin: 0;
        padding: 0;
    }

    .page-name-product .header.sticky .breadcrumb {
        display: none !important;
    }

    .page-name-product .header + main {
        padding-top: 106px !important;
    }
}

/* Desktop: preserve the initial header; replace only the scrolled state. */
@media (min-width: 1200px) {
    .header.sticky {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 88px;
        z-index: 101;
        background: #fff;
        box-shadow: 0 5px 18px rgba(40, 48, 91, .08);
    }

    .header.sticky .top-header-wrap,
    .header.sticky .breadcrumb {
        display: none !important;
    }

    .header.sticky .bottom-header-wrap,
    .header.sticky .bottom-header-wrap > .container,
    .header.sticky .bottom-header {
        height: 88px;
        min-height: 88px;
    }

    .header.sticky .bottom-header-wrap > .container {
        width: 100%;
        max-width: 1170px;
        padding: 0;
    }

    .header.sticky .bottom-header {
        display: grid;
        grid-template-columns: 58px 174px minmax(320px, 1fr) 58px;
        align-items: center;
        gap: 22px;
        width: 100%;
        padding: 0;
    }

    .header.sticky .mobile-menu-btn {
        display: block !important;
        position: relative !important;
        inset: auto !important;
        order: 1;
        width: 58px;
        min-width: 58px;
        height: 58px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background-color: #edf8ff;
        align-self: center !important;
        justify-self: center;
    }

    .header.sticky .bottom-header-wrap .logo {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 174px;
        height: 72px;
        margin: 0;
        padding: 0;
        opacity: 1;
        transform: none;
    }

    .header.sticky .logo a,
    .header.sticky .logo__img {
        display: block;
        width: 174px;
        max-width: 174px;
        height: 72px;
        max-height: 72px;
        object-fit: contain;
    }

    .header.sticky .search {
        order: 3;
        display: block;
        width: auto;
        max-width: none;
        min-width: 0;
        height: 52px;
        margin: 0;
        padding: 0;
    }

    .header.sticky .search__form,
    .header.sticky .search__input {
        width: 100%;
        height: 52px;
        margin: 0;
    }

    .header.sticky .search__input {
        padding: 0 52px 0 24px;
        border: 1px solid #dfe5ef;
        border-radius: 27px;
        font-size: 18px;
        line-height: 52px;
    }

    .header.sticky .search__btn {
        top: 5px;
        right: 5px;
        width: 42px;
        height: 42px;
        margin: 0;
        transform: scale(.9);
        transform-origin: center;
    }

    .header.sticky .our-mail-wrapper,
    .header.sticky .open-hours,
    .header.sticky .bottom-header__user-info > .user-info,
    .header.sticky .cart__title > span,
    .header.sticky .cart__total-sum {
        display: none !important;
    }

    .header.sticky .bottom-header__user-info {
        order: 4;
        display: block;
        width: 58px;
        min-width: 58px;
        height: 58px;
        margin: 0;
        padding: 0;
    }

    .header.sticky .cart,
    .header.sticky .cart__title {
        display: block;
        width: 58px;
        min-width: 58px;
        height: 58px;
        margin: 0;
        padding: 0;
        font-size: 0;
    }

    .header.sticky .cart__title:before {
        float: none;
        display: block;
        margin: 0 auto;
        transform: scale(.92);
        transform-origin: center;
    }

    .header.sticky .iqitmegamenu-wrapper {
        position: absolute;
        margin: 0;
        padding: 0;
    }

    .header.sticky + main {
        padding-top: 0 !important;
    }
}

/* Header axis contract, D066, 2026-09-01.
   Landscape phones are fixed from the first frame without breadcrumbs.
   Wide non-sticky headers align the 45px visual controls on one axis; wide
   sticky headers use one 58px outer size for the menu, search and cart. */
@media (min-width: 568px) and (max-width: 991px) and (orientation: landscape) and (max-height: 520px) {
    body .header,
    body .header.sticky,
    body.page-name-product .header,
    body.page-name-product .header.sticky {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 103 !important;
        width: 100% !important;
        height: 64px !important;
        min-height: 64px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
        box-shadow: 0 5px 18px rgba(40, 48, 91, .08) !important;
        transform: none !important;
    }

    body .header .top-header-wrap,
    body .header.sticky .top-header-wrap,
    body .header .breadcrumb,
    body .header.sticky .breadcrumb {
        display: none !important;
    }

    body .header .bottom-header-wrap,
    body .header.sticky .bottom-header-wrap,
    body .header .bottom-header-wrap > .container,
    body .header.sticky .bottom-header-wrap > .container,
    body .header .bottom-header,
    body .header.sticky .bottom-header {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        height: 64px !important;
        min-height: 64px !important;
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        transform: none !important;
    }

    body .header + main {
        margin-top: 0 !important;
        padding-top: 64px !important;
    }
}

@media (min-width: 1200px) {
    /* At the top, contacts sit below the control axis without pulling the
       search field upward. The 45px field matches the visible account/cart
       circles, while the logo keeps its independent size. */
    body .header:not(.sticky) .bottom-header {
        align-items: start !important;
    }

    body .header:not(.sticky) .search {
        position: relative !important;
        display: block !important;
        align-self: start !important;
        width: 520px !important;
        height: 45px !important;
        min-height: 45px !important;
        margin: 13.5px 0 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    body .header:not(.sticky) .search__form,
    body .header:not(.sticky) .search__input {
        width: 100% !important;
        height: 45px !important;
        min-height: 45px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    body .header:not(.sticky) .search__form {
        padding: 0 !important;
    }

    body .header:not(.sticky) .search__input {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 45px !important;
    }

    body .header:not(.sticky) .search__btn {
        top: 0 !important;
        right: 0 !important;
        width: 45px !important;
        height: 45px !important;
        margin: 0 !important;
        transform: none !important;
    }

    body .header:not(.sticky) .our-mail-wrapper,
    body .header:not(.sticky) .open-hours {
        position: absolute !important;
        top: 49px !important;
        height: 24px !important;
        min-height: 24px !important;
        margin: 0 !important;
        line-height: 24px !important;
    }

    body .header:not(.sticky) .our-mail-wrapper {
        left: 0 !important;
    }

    body .header:not(.sticky) .open-hours {
        right: 0 !important;
    }

    body .header:not(.sticky) .bottom-header__user-info {
        align-self: start !important;
        height: 72px !important;
        min-height: 72px !important;
        margin-top: 13.5px !important;
        overflow: visible !important;
    }

    /* In the compact wide row every outer control shares 58px and the same
       vertical centre. */
    body .header.sticky .mobile-menu-btn,
    body .header.sticky .search,
    body .header.sticky .search__form,
    body .header.sticky .search__input,
    body .header.sticky .bottom-header__user-info,
    body .header.sticky .cart,
    body .header.sticky .cart__title {
        height: 58px !important;
        min-height: 58px !important;
        align-self: center !important;
        box-sizing: border-box !important;
    }

    body .header.sticky .mobile-menu-btn,
    body .header.sticky .bottom-header__user-info,
    body .header.sticky .cart,
    body .header.sticky .cart__title {
        width: 58px !important;
        min-width: 58px !important;
    }

    body .header.sticky .search {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .header.sticky .search__form {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .header.sticky .search__input {
        width: 100% !important;
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 58px !important;
    }

    body .header.sticky .search__btn {
        top: 4px !important;
        right: 4px !important;
        width: 50px !important;
        height: 50px !important;
        margin: 0 !important;
        transform: none !important;
    }
}

/* Header axis contract, D066, 2026-09-01.
   Landscape phones are fixed from the first frame without breadcrumbs.
   Wide non-sticky headers align the 45px visual controls on one axis; wide
   sticky headers use one 58px outer size for the menu, search and cart. */
@media (min-width: 568px) and (max-width: 991px) and (orientation: landscape) and (max-height: 520px) {
    body .header,
    body .header.sticky,
    body.page-name-product .header,
    body.page-name-product .header.sticky {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 103 !important;
        width: 100% !important;
        height: 64px !important;
        min-height: 64px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
        box-shadow: 0 5px 18px rgba(40, 48, 91, .08) !important;
        transform: none !important;
    }

    body .header .top-header-wrap,
    body .header.sticky .top-header-wrap,
    body .header .breadcrumb,
    body .header.sticky .breadcrumb {
        display: none !important;
    }

    body .header .bottom-header-wrap,
    body .header.sticky .bottom-header-wrap,
    body .header .bottom-header-wrap > .container,
    body .header.sticky .bottom-header-wrap > .container,
    body .header .bottom-header,
    body .header.sticky .bottom-header {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        height: 64px !important;
        min-height: 64px !important;
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        transform: none !important;
    }

    body .header + main {
        margin-top: 0 !important;
        padding-top: 64px !important;
    }
}

@media (min-width: 1200px) {
    /* At the top, contacts sit below the control axis without pulling the
       search field upward. The 45px field matches the visible account/cart
       circles, while the logo keeps its independent size. */
    body .header:not(.sticky) .bottom-header {
        align-items: start !important;
    }

    body .header:not(.sticky) .search {
        position: relative !important;
        display: block !important;
        align-self: start !important;
        width: 520px !important;
        height: 45px !important;
        min-height: 45px !important;
        margin: 13.5px 0 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    body .header:not(.sticky) .search__form,
    body .header:not(.sticky) .search__input {
        width: 100% !important;
        height: 45px !important;
        min-height: 45px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    body .header:not(.sticky) .search__form {
        padding: 0 !important;
    }

    body .header:not(.sticky) .search__input {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 45px !important;
    }

    body .header:not(.sticky) .search__btn {
        top: 0 !important;
        right: 0 !important;
        width: 45px !important;
        height: 45px !important;
        margin: 0 !important;
        transform: none !important;
    }

    body .header:not(.sticky) .our-mail-wrapper,
    body .header:not(.sticky) .open-hours {
        position: absolute !important;
        top: 49px !important;
        height: 24px !important;
        min-height: 24px !important;
        margin: 0 !important;
        line-height: 24px !important;
    }

    body .header:not(.sticky) .our-mail-wrapper {
        left: 0 !important;
    }

    body .header:not(.sticky) .open-hours {
        right: 0 !important;
    }

    body .header:not(.sticky) .bottom-header__user-info {
        align-self: start !important;
        height: 72px !important;
        min-height: 72px !important;
        margin-top: 13.5px !important;
        overflow: visible !important;
    }

    /* In the compact wide row every outer control shares 58px and the same
       vertical centre. */
    body .header.sticky .mobile-menu-btn,
    body .header.sticky .search,
    body .header.sticky .search__form,
    body .header.sticky .search__input,
    body .header.sticky .bottom-header__user-info,
    body .header.sticky .cart,
    body .header.sticky .cart__title {
        height: 58px !important;
        min-height: 58px !important;
        align-self: center !important;
        box-sizing: border-box !important;
    }

    body .header.sticky .mobile-menu-btn,
    body .header.sticky .bottom-header__user-info,
    body .header.sticky .cart,
    body .header.sticky .cart__title {
        width: 58px !important;
        min-width: 58px !important;
    }

    body .header.sticky .search {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .header.sticky .search__form {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .header.sticky .search__input {
        width: 100% !important;
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 58px !important;
    }

    body .header.sticky .search__btn {
        top: 4px !important;
        right: 4px !important;
        width: 50px !important;
        height: 50px !important;
        margin: 0 !important;
        transform: none !important;
    }
}

/* Alignment and icon refinement, 2026-09-01. */

/* The menu glyph is shared by phone, tablet and the compact desktop header. */
@media (max-width: 1199px), (min-width: 1200px) {
    .header .mobile-menu-btn span,
    .header.sticky .mobile-menu-btn span {
        position: absolute !important;
        left: 50% !important;
        display: block !important;
        width: 22px !important;
        height: 2px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 2px !important;
        background: #8290af !important;
        transform: translateX(-50%) !important;
    }

    .header .mobile-menu-btn span:nth-child(1),
    .header.sticky .mobile-menu-btn span:nth-child(1) {
        top: calc(50% - 7px) !important;
    }

    .header .mobile-menu-btn span:nth-child(2),
    .header.sticky .mobile-menu-btn span:nth-child(2) {
        top: calc(50% - 1px) !important;
    }

    .header .mobile-menu-btn span:nth-child(3),
    .header.sticky .mobile-menu-btn span:nth-child(3) {
        top: calc(50% + 5px) !important;
    }
}

/* Portrait phone: balanced five-column row; search expands only on demand. */
@media (max-width: 567px) {
    .header .bottom-header,
    .header.sticky .bottom-header {
        position: relative;
        grid-template-columns: 46px 46px minmax(84px, 1fr) 46px 46px;
        gap: 6px;
    }

    .header .mobile-menu-btn,
    .header.sticky .mobile-menu-btn {
        grid-column: 1;
        grid-row: 1;
        order: initial;
        background-image: none !important;
    }

    .header .logo,
    .header.sticky .bottom-header-wrap .logo {
        grid-column: 3;
        grid-row: 1;
        order: initial;
        justify-self: center;
        width: 94px;
        height: 58px;
        transition: opacity .16s ease;
    }

    .header .logo a,
    .header .logo__img,
    .header.sticky .logo a,
    .header.sticky .logo__img {
        width: 94px;
        max-width: 94px;
        height: 54px;
        max-height: 54px;
    }

    .header .search,
    .header.sticky .search {
        grid-column: 4;
        grid-row: 1;
        order: initial;
        justify-self: center;
        width: 46px;
        min-width: 46px;
        height: 46px;
        transition: left .18s ease, right .18s ease, width .18s ease;
    }

    .header .search__form,
    .header.sticky .search__form {
        position: relative;
        width: 46px;
        height: 46px;
    }

    .header .search__input,
    .header.sticky .search__input {
        display: none;
    }

    .header .search__btn,
    .header.sticky .search__btn {
        position: relative !important;
        top: auto;
        right: auto;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 46px;
        height: 46px;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background: #f4f7fb;
        transform: none;
    }

    .header .search__btn:before,
    .header.sticky .search__btn:before {
        transform: scale(1.25);
        transform-origin: center;
    }

    .header .bottom-header__user-info,
    .header.sticky .bottom-header__user-info {
        grid-column: 5;
        grid-row: 1;
        order: initial;
        justify-self: center;
    }

    .header.pt-search-open .logo,
    .header.sticky.pt-search-open .logo {
        visibility: hidden;
        opacity: 0;
    }

    .header.pt-search-open .search,
    .header.sticky.pt-search-open .search {
        position: absolute;
        grid-column: 1 / -1;
        grid-row: 1;
        top: 13px;
        left: 64px;
        right: 58px;
        z-index: 5;
        width: auto;
        max-width: none;
        padding: 0;
        background: #fff;
    }

    .header.pt-search-open .search__form,
    .header.sticky.pt-search-open .search__form {
        width: 100%;
    }

    .header.pt-search-open .search__input,
    .header.sticky.pt-search-open .search__input {
        display: block;
        width: 100%;
        height: 46px;
        padding: 0 48px 0 17px;
        border: 1px solid #dfe5ef;
        border-radius: 24px;
        background: #fff;
        font-size: 15px;
        line-height: 46px;
    }

    .header.pt-search-open .search__btn,
    .header.sticky.pt-search-open .search__btn {
        position: absolute !important;
        top: 0;
        right: 0;
        background: transparent;
    }
}

/* Portrait and landscape tablets: a centered search with symmetric side columns. */
@media (min-width: 568px) and (max-width: 1199px) and (min-height: 521px) {
    .header .bottom-header-wrap,
    .header .bottom-header-wrap > .container,
    .header .bottom-header {
        height: 104px;
        min-height: 104px;
    }

    .header .bottom-header-wrap > .container {
        width: calc(100% - 40px);
        max-width: 960px;
        padding: 0;
    }

    .header .bottom-header {
        display: grid;
        grid-template-columns: 45px 148px minmax(240px, 1fr) 148px 45px;
        align-items: center;
        gap: 12px;
        width: 100%;
        padding: 0;
    }

    .header .mobile-menu-btn {
        position: relative !important;
        inset: auto !important;
        grid-column: 1;
        grid-row: 1;
        display: block !important;
        align-self: center !important;
        justify-self: center;
        width: 45px;
        min-width: 45px;
        height: 45px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background-color: #edf8ff;
        background-image: none !important;
    }

    .header .logo {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 148px;
        height: 80px;
        margin: 0;
        padding: 0;
    }

    .header .logo a,
    .header .logo__img {
        display: block;
        width: 144px;
        max-width: 144px;
        height: 80px;
        max-height: 80px;
        object-fit: contain;
    }

    .header .search {
        grid-column: 3;
        grid-row: 1;
        justify-self: stretch;
        width: auto;
        max-width: none;
        min-width: 0;
        margin: 0;
    }

    .header .bottom-header__user-info {
        grid-column: 5;
        grid-row: 1;
        justify-self: center;
        width: 45px;
        min-width: 45px;
        height: 45px;
        margin: 0;
        padding: 0;
    }

    .header .bottom-header__user-info > .user-info,
    .header .cart__title > span,
    .header .cart__total-sum {
        display: none !important;
    }

    .header .cart,
    .header .cart__title {
        display: block;
        width: 45px;
        min-width: 45px;
        height: 45px;
        margin: 0;
        padding: 0;
        font-size: 0;
    }

    .header .cart__title:before {
        float: none;
        display: block;
        margin: 0 auto;
        transform: scale(.86);
        transform-origin: center;
    }

    .header .iqitmegamenu-wrapper {
        position: absolute;
        margin: 0;
        padding: 0;
    }
}

/* Desktop at the page top: no extra burger; three visually balanced zones. */
@media (min-width: 1200px) {
    .header:not(.sticky) .bottom-header {
        display: grid;
        grid-template-columns: 220px 520px 220px;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 0;
    }

    .header:not(.sticky) .mobile-menu-btn {
        display: none !important;
    }

    .header:not(.sticky) .logo {
        grid-column: 1;
        grid-row: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 220px;
        margin: 0;
    }

    .header:not(.sticky) .logo a,
    .header:not(.sticky) .logo__img {
        width: 170px;
        max-width: 170px;
        height: 87px;
        max-height: 87px;
        object-fit: contain;
    }

    .header:not(.sticky) .search {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
        width: 520px;
        max-width: 520px;
        margin: 0;
    }

    .header:not(.sticky) .bottom-header__user-info {
        grid-column: 3;
        grid-row: 1;
        justify-self: center;
        width: 220px;
        margin: 0;
    }

    .header:not(.sticky) .iqitmegamenu-wrapper {
        position: absolute;
    }

    .header.sticky,
    .header.sticky .bottom-header-wrap,
    .header.sticky .bottom-header-wrap > .container,
    .header.sticky .bottom-header {
        height: 84px;
        min-height: 84px;
    }

    .header.sticky .bottom-header {
        grid-template-columns: 58px 156px minmax(360px, 1fr) 156px 58px;
        gap: 16px;
    }

    .header.sticky .mobile-menu-btn {
        grid-column: 1;
        grid-row: 1;
        order: initial;
        background-image: none !important;
    }

    .header.sticky .bottom-header-wrap .logo {
        grid-column: 2;
        grid-row: 1;
        order: initial;
        width: 156px;
    }

    .header.sticky .logo a,
    .header.sticky .logo__img {
        width: 156px;
        max-width: 156px;
        height: 68px;
        max-height: 68px;
    }

    .header.sticky .search {
        grid-column: 3;
        grid-row: 1;
        order: initial;
    }

    .header.sticky .bottom-header__user-info {
        grid-column: 5;
        grid-row: 1;
        order: initial;
    }
}

/* Cross-page responsive corrections, 2026-09-01. */

/* The desktop homepage already exposes the catalogue. Compact layouts still need navigation. */
@media (min-width: 1200px) {
    body.page-name-index .header .mobile-menu-btn,
    body.page-name-index .header.sticky .mobile-menu-btn {
        display: none !important;
    }
}

/* D066 final responsive header contract. Keep this block last. */
@media (min-width: 568px) and (max-width: 991px) and (orientation: landscape) and (max-height: 520px) {
    body .header,
    body .header.sticky,
    body.page-name-product .header,
    body.page-name-product .header.sticky {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 103 !important;
        width: 100% !important;
        height: 64px !important;
        min-height: 64px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
        box-shadow: 0 5px 18px rgba(40, 48, 91, .08) !important;
        transform: none !important;
    }

    body .header .top-header-wrap,
    body .header.sticky .top-header-wrap,
    body .header .breadcrumb,
    body .header.sticky .breadcrumb {
        display: none !important;
    }

    body .header .bottom-header-wrap,
    body .header.sticky .bottom-header-wrap,
    body .header .bottom-header-wrap > .container,
    body .header.sticky .bottom-header-wrap > .container,
    body .header .bottom-header,
    body .header.sticky .bottom-header {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        height: 64px !important;
        min-height: 64px !important;
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        transform: none !important;
    }

    body .header + main {
        margin-top: 0 !important;
        padding-top: 64px !important;
    }
}

@media (min-width: 1200px) {
    body .header:not(.sticky) .bottom-header {
        align-items: start !important;
    }

    body .header:not(.sticky) .search {
        position: relative !important;
        display: block !important;
        align-self: start !important;
        width: 520px !important;
        height: 45px !important;
        min-height: 45px !important;
        margin: 13.5px 0 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    body .header:not(.sticky) .search__form,
    body .header:not(.sticky) .search__input {
        width: 100% !important;
        height: 45px !important;
        min-height: 45px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    body .header:not(.sticky) .search__form {
        padding: 0 !important;
    }

    body .header:not(.sticky) .search__input {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 45px !important;
    }

    body .header:not(.sticky) .search__btn {
        top: 0 !important;
        right: 0 !important;
        width: 45px !important;
        height: 45px !important;
        margin: 0 !important;
        transform: none !important;
    }

    body .header:not(.sticky) .our-mail-wrapper,
    body .header:not(.sticky) .open-hours {
        position: absolute !important;
        top: 49px !important;
        height: 24px !important;
        min-height: 24px !important;
        margin: 0 !important;
        line-height: 24px !important;
    }

    body .header:not(.sticky) .our-mail-wrapper {
        left: 0 !important;
    }

    body .header:not(.sticky) .open-hours {
        right: 0 !important;
    }

    body .header:not(.sticky) .bottom-header__user-info {
        align-self: start !important;
        height: 72px !important;
        min-height: 72px !important;
        margin-top: 13.5px !important;
        overflow: visible !important;
    }

    body .header.sticky .mobile-menu-btn,
    body .header.sticky .search,
    body .header.sticky .search__form,
    body .header.sticky .search__input,
    body .header.sticky .bottom-header__user-info,
    body .header.sticky .cart,
    body .header.sticky .cart__title {
        height: 58px !important;
        min-height: 58px !important;
        align-self: center !important;
        box-sizing: border-box !important;
    }

    body .header.sticky .mobile-menu-btn,
    body .header.sticky .bottom-header__user-info,
    body .header.sticky .cart,
    body .header.sticky .cart__title {
        width: 58px !important;
        min-width: 58px !important;
    }

    body .header.sticky .search {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .header.sticky .search__form {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .header.sticky .search__input {
        width: 100% !important;
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 58px !important;
    }

    body .header.sticky .search__btn {
        top: 4px !important;
        right: 4px !important;
        width: 50px !important;
        height: 50px !important;
        margin: 0 !important;
        transform: none !important;
    }
}

/* Phone search: align the button exactly and tint the glyph in the site's soft blue. */
@media (max-width: 567px),
       (min-width: 568px) and (max-width: 991px) and (orientation: landscape) and (max-height: 520px) {
    .header .search__form,
    .header.sticky .search__form {
        padding: 0;
        line-height: 0;
    }

    .header .search__btn,
    .header.sticky .search__btn {
        vertical-align: top;
    }

    .header .search__btn:before,
    .header.sticky .search__btn:before {
        content: "" !important;
        display: block;
        width: 18px;
        height: 18px;
        background: #819fd0;
        -webkit-mask: url("/themes/napor-opt/img/search-ico.svg") center / contain no-repeat;
        mask: url("/themes/napor-opt/img/search-ico.svg") center / contain no-repeat;
        transform: none;
    }
}

@media (max-width: 567px) {
    .header .search__btn,
    .header.sticky .search__btn {
        background: #edf8ff;
    }

    .header.pt-search-open .search__btn,
    .header.sticky.pt-search-open .search__btn {
        background: transparent;
    }
}

/* Landscape phone: use the compact symmetric header on every page, not only products. */
@media (min-width: 568px) and (max-width: 991px) and (orientation: landscape) and (max-height: 520px) {
    .header,
    .header.sticky {
        width: 100%;
        background: #fff;
        box-shadow: none;
    }

    .header.sticky {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        z-index: 101;
        box-shadow: 0 5px 18px rgba(40, 48, 91, .08);
    }

    .header .top-header-wrap,
    .header.sticky .top-header-wrap {
        display: none !important;
    }

    .header .bottom-header-wrap,
    .header.sticky .bottom-header-wrap,
    .header .bottom-header-wrap > .container,
    .header.sticky .bottom-header-wrap > .container,
    .header .bottom-header,
    .header.sticky .bottom-header {
        height: 64px;
        min-height: 64px;
    }

    .header .bottom-header-wrap > .container,
    .header.sticky .bottom-header-wrap > .container {
        width: 100%;
        max-width: 760px;
        padding: 0 10px;
    }

    .header .bottom-header,
    .header.sticky .bottom-header {
        display: grid;
        grid-template-columns: 46px 118px minmax(0, 1fr) 118px 46px;
        align-items: center;
        gap: 10px;
        width: 100%;
        padding: 0;
    }

    .header .mobile-menu-btn,
    .header.sticky .mobile-menu-btn {
        position: relative !important;
        inset: auto !important;
        grid-column: 1;
        grid-row: 1;
        display: block !important;
        align-self: center !important;
        justify-self: center;
        width: 46px;
        min-width: 46px;
        height: 46px;
        margin: 0;
        padding: 0;
        border: 0;
        border-radius: 50%;
        background-color: #edf8ff;
        background-image: none !important;
    }

    body.page-name-index .header .mobile-menu-btn,
    body.page-name-index .header.sticky .mobile-menu-btn {
        display: block !important;
    }

    .header .logo,
    .header.sticky .bottom-header-wrap .logo {
        grid-column: 2;
        grid-row: 1;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 118px;
        height: 58px;
        margin: 0;
        padding: 0;
        opacity: 1;
        transform: none;
    }

    .header .logo a,
    .header .logo__img,
    .header.sticky .logo a,
    .header.sticky .logo__img {
        display: block;
        width: 118px;
        max-width: 118px;
        height: 58px;
        max-height: 58px;
        object-fit: contain;
    }

    .header .search,
    .header.sticky .search {
        grid-column: 3;
        grid-row: 1;
        display: block;
        justify-self: stretch;
        width: auto;
        max-width: none;
        min-width: 0;
        height: 46px;
        margin: 0;
        padding: 0;
    }

    .header .search__form,
    .header.sticky .search__form,
    .header .search__input,
    .header.sticky .search__input {
        width: 100%;
        height: 46px;
        margin: 0;
    }

    .header .search__input,
    .header.sticky .search__input {
        padding: 0 44px 0 18px;
        border: 1px solid #dfe5ef;
        border-radius: 24px;
        font-size: 16px;
        line-height: 46px;
    }

    .header .search__btn,
    .header.sticky .search__btn {
        top: 4px;
        right: 4px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        margin: 0;
        transform: none;
    }

    .header .our-mail-wrapper,
    .header .open-hours,
    .header.sticky .our-mail-wrapper,
    .header.sticky .open-hours {
        display: none !important;
    }

    .header .bottom-header__user-info,
    .header.sticky .bottom-header__user-info {
        grid-column: 5;
        grid-row: 1;
        display: block;
        justify-self: center;
        width: 46px;
        min-width: 46px;
        height: 46px;
        margin: 0;
        padding: 0;
    }

    .header .bottom-header__user-info > .user-info,
    .header.sticky .bottom-header__user-info > .user-info,
    .header .cart__title > span,
    .header.sticky .cart__title > span,
    .header .cart__total-sum,
    .header.sticky .cart__total-sum {
        display: none !important;
    }

    .header .cart,
    .header.sticky .cart,
    .header .cart__title,
    .header.sticky .cart__title {
        display: block;
        width: 46px;
        min-width: 46px;
        height: 46px;
        margin: 0;
        padding: 0;
        font-size: 0;
    }

    .header .cart__title:before,
    .header.sticky .cart__title:before {
        float: none;
        display: block;
        margin: 0 auto;
        transform: scale(.86);
        transform-origin: center;
    }

    .header .iqitmegamenu-wrapper,
    .header.sticky .iqitmegamenu-wrapper {
        position: absolute;
        margin: 0;
        padding: 0;
    }

    .header.sticky .breadcrumb {
        display: none !important;
    }

    .header + main {
        padding-top: 106px !important;
    }

    .page-name-index .header + main,
    .page-name-pagenotfound .header + main,
    .page-name-order-opc .header + main {
        padding-top: 64px !important;
    }
}

/* Header geometry contract, 2026-09-01.
   One row size per viewport, one vertical axis for every control, and no phone jump. */

/* Portrait phone: the visual row is fixed from the first frame. Breadcrumbs keep scrolling
   underneath it until the regular sticky threshold hides them. */
@media (max-width: 567px) {
    body .header,
    body .header.sticky {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: auto !important;
        min-height: 72px !important;
        padding-top: 72px !important;
        overflow: visible !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
    }

    body .header .bottom-header-wrap,
    body .header.sticky .bottom-header-wrap {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 103 !important;
        width: 100% !important;
        height: 72px !important;
        min-height: 72px !important;
        margin: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
        transform: none !important;
    }

    body .header.sticky .bottom-header-wrap {
        box-shadow: 0 5px 18px rgba(40, 48, 91, .08) !important;
    }

    body .header .bottom-header-wrap > .container,
    body .header.sticky .bottom-header-wrap > .container,
    body .header .bottom-header,
    body .header.sticky .bottom-header {
        height: 72px !important;
        min-height: 72px !important;
    }

    body .header .bottom-header,
    body .header.sticky .bottom-header {
        grid-template-columns: 46px 46px minmax(84px, 1fr) 46px 46px !important;
        align-items: center !important;
        gap: 6px !important;
    }

    body.page-name-index .header .mobile-menu-btn,
    body.page-name-index .header.sticky .mobile-menu-btn,
    body .header .mobile-menu-btn,
    body .header.sticky .mobile-menu-btn {
        display: block !important;
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        align-self: center !important;
        justify-self: center !important;
    }

    body .header .logo,
    body .header.sticky .bottom-header-wrap .logo,
    body .header .search,
    body .header.sticky .search,
    body .header .bottom-header__user-info,
    body .header.sticky .bottom-header__user-info {
        align-self: center !important;
    }

    body .header .search__btn,
    body .header.sticky .search__btn {
        top: auto !important;
        right: auto !important;
        width: 46px !important;
        height: 46px !important;
        transform: none !important;
    }

    body .header.pt-search-open .search__btn,
    body .header.sticky.pt-search-open .search__btn {
        top: 0 !important;
        right: 0 !important;
    }

    body .header .breadcrumb {
        position: relative !important;
        top: auto !important;
        margin: 0 !important;
    }
}

/* Landscape phone: the same 46px controls on one axis and a truly centred search field. */
@media (min-width: 568px) and (max-width: 991px) and (orientation: landscape) and (max-height: 520px) {
    body .header .bottom-header,
    body .header.sticky .bottom-header,
    body.page-name-product .header .bottom-header,
    body.page-name-product .header.sticky .bottom-header {
        grid-template-columns: 46px 118px minmax(0, 1fr) 118px 46px !important;
        align-items: center !important;
        gap: 10px !important;
    }

    body.page-name-index .header .mobile-menu-btn,
    body.page-name-index .header.sticky .mobile-menu-btn,
    body .header .mobile-menu-btn,
    body .header.sticky .mobile-menu-btn {
        display: block !important;
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
    }

    body .header .search,
    body .header.sticky .search,
    body.page-name-product .header .search,
    body.page-name-product .header.sticky .search {
        grid-column: 3 !important;
        align-self: center !important;
        justify-self: stretch !important;
        height: 46px !important;
    }

    body .header .search__form,
    body .header.sticky .search__form,
    body .header .search__input,
    body .header.sticky .search__input {
        height: 46px !important;
    }

    body .header .search__btn,
    body .header.sticky .search__btn {
        top: 4px !important;
        right: 4px !important;
        width: 38px !important;
        height: 38px !important;
        transform: none !important;
    }

    body .header .logo,
    body .header.sticky .bottom-header-wrap .logo,
    body .header .bottom-header__user-info,
    body .header.sticky .bottom-header__user-info {
        align-self: center !important;
    }
}

/* Tablets: keep the menu, centre the actual search control (not the hidden contact row),
   and use identical outer control sizes in both orientations. */
@media (min-width: 568px) and (max-width: 1199px) and (min-height: 521px) {
    body.page-name-index .header .mobile-menu-btn,
    body.page-name-index .header.sticky .mobile-menu-btn,
    body .header .mobile-menu-btn,
    body .header.sticky .mobile-menu-btn {
        display: block !important;
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
        align-self: center !important;
        justify-self: center !important;
    }

    body .header .bottom-header,
    body .header.sticky .bottom-header {
        grid-template-columns: 46px 148px minmax(240px, 1fr) 148px 46px !important;
        align-items: center !important;
    }

    body .header .our-mail-wrapper,
    body .header .open-hours,
    body .header.sticky .our-mail-wrapper,
    body .header.sticky .open-hours {
        display: none !important;
    }

    body .header .search,
    body .header.sticky .search {
        display: block !important;
        align-self: center !important;
        justify-self: stretch !important;
        width: auto !important;
        height: 46px !important;
        min-height: 46px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .header .search__form,
    body .header.sticky .search__form,
    body .header .search__input,
    body .header.sticky .search__input {
        width: 100% !important;
        height: 46px !important;
        min-height: 46px !important;
        margin: 0 !important;
    }

    body .header .search__form,
    body .header.sticky .search__form {
        padding: 0 !important;
    }

    body .header .search__input,
    body .header.sticky .search__input {
        padding: 0 44px 0 18px !important;
        border-radius: 24px !important;
        line-height: 46px !important;
    }

    body .header .search__btn,
    body .header.sticky .search__btn {
        top: 4px !important;
        right: 4px !important;
        width: 38px !important;
        height: 38px !important;
        margin: 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transform: none !important;
    }

    body .header .logo,
    body .header.sticky .bottom-header-wrap .logo,
    body .header .bottom-header__user-info,
    body .header.sticky .bottom-header__user-info {
        align-self: center !important;
    }

    body .header .bottom-header__user-info,
    body .header.sticky .bottom-header__user-info,
    body .header .cart,
    body .header.sticky .cart,
    body .header .cart__title,
    body .header.sticky .cart__title {
        width: 46px !important;
        min-width: 46px !important;
        height: 46px !important;
    }
}

/* Desktop compact row: homepage alone hides the menu; inner pages keep equal 58px controls. */
@media (min-width: 1200px) {
    body.page-name-index .header .mobile-menu-btn,
    body.page-name-index .header.sticky .mobile-menu-btn {
        display: none !important;
    }

    body:not(.page-name-index) .header.sticky .mobile-menu-btn,
    body:not(.page-name-index) .header.sticky .bottom-header__user-info,
    body:not(.page-name-index) .header.sticky .cart,
    body:not(.page-name-index) .header.sticky .cart__title {
        width: 58px !important;
        min-width: 58px !important;
        height: 58px !important;
        align-self: center !important;
        justify-self: center !important;
    }
}

/* D066 wide-axis and landscape-phone final overrides. */
@media (min-width: 1200px) {
    /* The sticky cart's visible circle must fill the same 58px control box as
       the burger and search field. */
    body .header.sticky .cart__title:before {
        display: block !important;
        float: none !important;
        width: 58px !important;
        height: 58px !important;
        margin: 0 !important;
        transform: none !important;
        transform-origin: center !important;
    }
}

@media (min-width: 568px) and (max-width: 991px) and (orientation: landscape) and (max-height: 520px) {
    body .header,
    body .header.sticky,
    body.page-name-product .header,
    body.page-name-product .header.sticky {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
        z-index: 103 !important;
        width: 100% !important;
        height: 64px !important;
        min-height: 64px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: visible !important;
        background: #fff !important;
        box-shadow: 0 5px 18px rgba(40, 48, 91, .08) !important;
        transform: none !important;
    }

    body .header .top-header-wrap,
    body .header.sticky .top-header-wrap,
    body .header .breadcrumb,
    body .header.sticky .breadcrumb {
        display: none !important;
    }

    body .header .bottom-header-wrap,
    body .header.sticky .bottom-header-wrap,
    body .header .bottom-header-wrap > .container,
    body .header.sticky .bottom-header-wrap > .container,
    body .header .bottom-header,
    body .header.sticky .bottom-header {
        position: relative !important;
        top: auto !important;
        width: 100% !important;
        height: 64px !important;
        min-height: 64px !important;
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        transform: none !important;
    }

    body .header + main {
        margin-top: 0 !important;
        padding-top: 64px !important;
    }
}

@media (min-width: 1200px) {
    body .header:not(.sticky) .bottom-header {
        align-items: start !important;
    }

    body .header:not(.sticky) .search {
        position: relative !important;
        display: block !important;
        align-self: start !important;
        width: 520px !important;
        height: 45px !important;
        min-height: 45px !important;
        margin: 13.5px 0 0 !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    body .header:not(.sticky) .search__form,
    body .header:not(.sticky) .search__input {
        width: 100% !important;
        height: 45px !important;
        min-height: 45px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    body .header:not(.sticky) .search__form {
        padding: 0 !important;
    }

    body .header:not(.sticky) .search__input {
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 45px !important;
    }

    body .header:not(.sticky) .search__btn {
        top: 0 !important;
        right: 0 !important;
        width: 45px !important;
        height: 45px !important;
        margin: 0 !important;
        transform: none !important;
    }

    body .header:not(.sticky) .our-mail-wrapper,
    body .header:not(.sticky) .open-hours {
        position: absolute !important;
        top: 49px !important;
        height: 24px !important;
        min-height: 24px !important;
        margin: 0 !important;
        line-height: 24px !important;
    }

    body .header:not(.sticky) .our-mail-wrapper {
        left: 0 !important;
    }

    body .header:not(.sticky) .open-hours {
        right: 0 !important;
    }

    body .header:not(.sticky) .bottom-header__user-info {
        align-self: start !important;
        height: 72px !important;
        min-height: 72px !important;
        margin-top: 13.5px !important;
        overflow: visible !important;
    }

    body .header.sticky .mobile-menu-btn,
    body .header.sticky .search,
    body .header.sticky .search__form,
    body .header.sticky .search__input,
    body .header.sticky .bottom-header__user-info,
    body .header.sticky .cart,
    body .header.sticky .cart__title {
        height: 58px !important;
        min-height: 58px !important;
        align-self: center !important;
        box-sizing: border-box !important;
    }

    body .header.sticky .mobile-menu-btn,
    body .header.sticky .bottom-header__user-info,
    body .header.sticky .cart,
    body .header.sticky .cart__title {
        width: 58px !important;
        min-width: 58px !important;
    }

    body .header.sticky .search {
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .header.sticky .search__form {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .header.sticky .search__input {
        width: 100% !important;
        margin: 0 !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        line-height: 58px !important;
    }

    body .header.sticky .search__btn {
        top: 4px !important;
        right: 4px !important;
        width: 50px !important;
        height: 50px !important;
        margin: 0 !important;
        transform: none !important;
    }
}


/* D071 desktop top cart: keep account and cart on one axis without touching sticky. */
@media (min-width: 1200px) {
  body .header:not(.sticky) .bottom-header__user-info {
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
  }

  body .header:not(.sticky) .bottom-header__user-info > .user-info {
    width: 45px !important;
    flex: 0 0 45px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  body .header:not(.sticky) .bottom-header__user-info > .cart {
    width: auto !important;
    flex: 0 0 auto !important;
  }
}

/* Keep reverse wheel input from being re-anchored to the page bottom. */
.footer { overflow-anchor: none; }

/* mobile-cart-panel-v1 */
@media screen and (max-width: 767px) {
  .bottom-header__user-info .cart-hover {
    position: fixed !important;
    top: 72px !important;
    left: 12px !important;
    right: 12px !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - 84px) !important;
    padding: 10px 16px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    border-radius: 16px;
    z-index: 1002 !important;
  }
}

/* tablet-cart-panel-v1 */
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .bottom-header__user-info .cart-hover {
    position: fixed !important;
    top: var(--pt-cart-panel-top, 84px) !important;
    left: auto !important;
    right: 12px !important;
    width: 500px !important;
    min-width: 0 !important;
    max-width: calc(100vw - 24px) !important;
    max-height: calc(100dvh - var(--pt-cart-panel-top, 84px) - 12px) !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    z-index: 1002 !important;
  }
}
