@media (max-width: 766px) {
    .frn-header__top-line-left {
        display: none;
    }
}
@media (max-width: 996px) and (min-width: 577px) {
    .frn-hero-carousel__slide-content_layout {
        left: 45px;
    }
    .frn-hero-carousel__slide-content-heading {
        font-size: var(--fz-40);
        line-height: 40px;
        font-family: var(--ffPrimary);
        font-weight: 600;
        letter-spacing: 0;
    }
    .frn-hero-carousel__slide-content-text {
        font-size: var(--fz-20);
        font-weight: 300;
        line-height: 26px;
    }
    .frn-hero-carousel__slide-content-action .frn-button {
        height: 40px;
        min-width: 104px;
    }
    .frn-hero-carousel__slide-content-action .frn-button__text {
        font-size: var(--fz-16);
        font-weight: 500;
        line-height: 100%;
    }
    .frn-top-offers .swiper-button-prev {
        background-color: #f7f7f7;
        width: 32px;
        height: 32px;
        left: -5px;
        top: 155px;
        transform: translateY(-80px);
        box-shadow: 0 0 silver;
    }
    .frn-top-offers .swiper-button-next {
        background-color: #f7f7f7;
        width: 32px;
        height: 32px;
        right: -5px;
        top: 155px;
        transform: translateY(-80px);
        box-shadow: 0 0 silver;
    }

    .frn-header__top-line-links {
        flex-wrap: nowrap;
    }
    .frn-header__top-line-links a, .frn-contacts__item-text {
        white-space: nowrap;
    }
    .frn-product-item__image>img {
        max-height: 200px;
    }
    .frn-product-item__add-to-favorite {
        width: 30px;
        height: 30px;
        top: 5px;
        right: 5px;
    }
    .frn-product-item__add-to-cart {
        width: 30px;
        height: 30px;
        bottom: 5px;
        right: 5px;
    }
    .frn-product-item__sub-icons-item {
        width: 40px;
    }
    .frn-items-with-term__item-text {
        font-size: var(--fz-16);
        font-weight: 300;
    }
    .frn-items-with-term__item-text strong {
        font-size: var(--fz-20);
        font-weight: 500;
        top: 20px;
    }

    .frn-footer__top {
        flex-direction: column;
    }

    .frn-footer__top-links {
        width: 100%;
    }
    .frn-footer__top-payment {
        width: 100%;
        margin-top: 2rem;
    }

    .frn-top-offers {
        height: fit-content;
    }

    .frn-discount__form {
        flex-direction: column;
    }

    .frn-discount__top {
        width: 100%;
    }

    .frn-footer__bottom-contacts {
        padding-bottom: var(--spaceBottomL);
    }

    /* Search modal — full-width from top on tablets */
    .frn-top-search-mobile__content.frn-modal__content--active {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: fit-content;
        max-height: 100vh;
        max-height: 100dvh;
        max-width: 100%;
        border-radius: 0;
        transform: none;
    }

    .frn-product-search-list .frn-product-item-list__item {
        width: 33.3%;
    }
    .frn-product-search-list .frn-product-item-list__item:nth-child(3n + 1) {
        padding-right: var(--spaceRightXs);
        padding-left: 0;
    }
    .frn-product-search-list .frn-product-item-list__item:nth-child(3n + 2) {
        padding-right: var(--spaceRightXs);
        padding-left: 0;
    }
    .frn-product-search-list .frn-product-item-list__item:nth-child(3n) {
        padding-right: var(--spaceRightXs);
        padding-left: 0;
    }
    .frn-product-search-list .frn-product-item-list__item:nth-child(3) {
        margin-top: 0;
    }

    .frn-product-item-list__content {
        flex-direction: column;
    }
    .frn-product-item-list__content .frn-product-item-list__content-side,
    .frn-product-item-list__content .frn-product-item-list__content-side .frn-content-block  {
        padding: unset;
    }
    .frn-product-item-list__total-found-content .frn-product-list-controls,
    #search_filters .frn-product-item-list__content-side-top,
    #search_filters .frn-product-item-list__content-side-options,
    #search_filters .frn-product-item-list__content-side-bottom {
        display: none;
    }

    .frn-filter {
        width: 100%;
        height: 100vh;
        height: 100dvh;
    }
    .frn-content-block__actions_tablet #filterActionBottom {
        padding: 15px 30px;
    }
    .frn-content-block__actions_tablet {
        display: block;
    }

    .frn-review-item {
        padding-right: var(--spaceRightXl);
        padding-left: var(--spaceLeftXl);
    }

    #product .frn-top-offers .swiper-button-prev {
        left: -15px;
        top: 180px;
    }
    #product .frn-top-offers .swiper-button-next {
        right: -15px;
        top: 180px;
    }
    .frn-offer__timer {
        width: 30%;
    }

    .frn-content-block--no-space-top {
        padding-top: 1.5rem;
    }
    .frn-content-block-product__left.pr-5 {
        padding-right: unset !important;
    }

    .frn-index-reviews__content .frn-top-offers {
        height: 250px;
    }
    .frn-product-inquiry-result.frn-modal__content--active {
        left: 0;
        margin: 0 auto;
    }
    .frn-header__top-line-right {
        padding-right: unset;
    }

    .frn-review-item__action .frn-button {
        background-color: unset;
    }
    .frn-review-item__action {
        margin-left: 2rem;
    }
    .frn-content-block.frn-brdcr {
        padding-top: var(--spaceTopXs);
    }
    #productSlides {
        width: 100%;
        max-width: unset;
        height: 80vh;
        background-color: #fff;
        top: 0; right: 0; bottom: 0; left: 0;
    }

    #productSlides .frn-product-slides__heading, #productSlides .frn-product-slides__slider-image-zoom, #productSlides .frn-product-slides__under-slider-action {
        display: flex;
    }
    .frn-product-slides__slider {
        height: 65%;
    }
    #address .form-footer.clearfix.mt-2 {
        width: 50%;
    }

    /* Checkout: prevent horizontal overflow */
    #cart,
    #checkout {
        overflow-x: hidden;
    }

    /* Checkout header: 2-column grid — logo left, contacts right.
       Width and side margins are not set here; design-system.css gives the
       header the same box as the content column at every width. */
    #cart .frn-header__content,
    #checkout .frn-header__content {
        padding-top: 25px;
        grid-template-columns: auto 1fr;
        grid-template-areas: "header-logo header-contacts";
    }

    /* Move logo from top-center to header-logo area, align left */
    #cart .frn-header__content-logo,
    #checkout .frn-header__content-logo {
        grid-area: header-logo;
        place-self: center start;
    }

    /* Place contacts in header-contacts area */
    #cart .frn-header__top-line-content,
    #checkout .frn-header__top-line-content {
        grid-area: header-contacts;
    }

    /* Checkout breadcrumb + steps: horizontal padding to match header */
    /*#checkout .frn-brdcr,
    #checkout .frn-cart-page__steps {
        padding-left: 20px;
        padding-right: 20px;
    }*/

    #cart #wrapper,
    #checkout #wrapper {
        padding-right: var(--spaceRightL);
        padding-left: var(--spaceLeftL);
    }

}