@media (max-width: 991px) {
    header#header .header-top .container.navigation-wrapper.header-top-wrapper {
        padding: 0 20px;
    }

    #header .header-top {
        height: 68px;

    }

    #header .header-top .header-top-wrapper {
        height: auto;
    }

    #header .header-top .toggle-window {
        border-radius: 50%;
        background-color: #f2efea;

    }

    .navigation-buttons a {
        width: 40px;
        height: 40px;
    }
}

@media (max-width: 767px) {
    .in-index .overall-wrapper {
        padding-top: 0;
    }

    header#header .header-top .container.navigation-wrapper.header-top-wrapper {
        padding: 0 20px;
    }

    #header .header-top {
        height: 80px;

    }

    #header .header-top .header-top-wrapper {
        height: 80px;
    }

    #header .header-top .toggle-window {
        border-radius: 50%;
        background-color: #f2efea;

    }

    .navigation-buttons a {
        width: 40px;
        height: 40px;
    }

    .full-width.footer-newsletter-full-width>.container-full-width {
        flex-direction: column;
    }

    .footer-newsletter-full-width .footer-newsletter-text,
    .footer-newsletter-full-width .footer-newsletter {
        width: 100%
    }

    .welcome-wrapper .welcome .about-text {
        width: 100%;
        padding: 0 32px;
    }

    .welcome-wrapper .welcome .interactive-image {
        padding: 0;
        width: 100%;
    }

    .welcome-wrapper h1 {
        padding: 0;
    }

    .welcome-wrapper {
        padding: 60px 0
    }

    .homepage-group-title.h4 {
        padding: 0;
        margin: 0;
    }

    .benefitBanner {
        margin: 60px auto;
    }

    .homepage-blog-wrapper .news-item {
        flex-basis: 100%;
        width: 100%;
    }

    #header .header-top .header-top-wrapper>div {
        flex-grow: 0;
        width: auto;
    }

    #header .header-top .header-top-wrapper .navigation-buttons {
        width: 50%;
        gap: 10px;
    }
}

@media(max-width: 374px) {
    footer#footer .custom-footer>div h4 {
        margin-bottom: 30px;
        margin-top: 20px;
    }
}


.welcome-wrapper .welcome .interactive-image,
.welcome-wrapper .welcome .about-text {
    max-height: fit-content;
}

@media(max-width: 1353px) and (min-width: 1200px) {
    .about-text h1 {
        margin-top: 20px !important;
    }
}

@media (min-width: 992px) and (max-width: 1439px) {
    .bullet {
        width: 23px;
        height: 23px;
    }

    .welcome-wrapper h1 {
        padding: 0;
        margin-top: 0;
    }

    .welcome-wrapper .welcome .about-text {
        padding-left: 80px;
        padding-right: 80px;
    }

}

@media (max-width: 991px) {

    .welcome-wrapper .welcome .interactive-image,
    .welcome-wrapper .welcome .about-text {
        width: 100% !important;
    }

    .welcome-wrapper .welcome .about-wrapper {
        flex-direction: column;
    }

    .welcome-wrapper .welcome .about-text {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

}

@media (max-width: 767px) {
    .bullet {
        width: 20px !important;
        height: 20px !important;
    }
}


@media (max-width: 1353px) {

    .welcome-wrapper .welcome .interactive-image,
    .welcome-wrapper .welcome .about-text {
        width: 100% !important;
    }

    .welcome-wrapper .welcome .about-wrapper {
        flex-direction: column;
    }

    .welcome-wrapper .welcome .about-text {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
}


/* zmenit v style.css */
.footer-newsletter .consents {
    text-align: left;
    margin-top: 10px;
}

/* zmenit v style.css */
.subscribe-form .js-validator-msg {
    padding-top: 35px;
    font-size: 14px;
}

@media (min-width: 992px) and (max-width: 1458px) {
    .subscribe-form .js-validator-msg {
        padding-top: 50px;
    }
}


@media (max-width: 991px) {
    .full-width.footer-newsletter-full-width>.container-full-width {
        flex-direction: column;
    }

    .footer-newsletter-full-width .footer-newsletter-text,
    .footer-newsletter-full-width .footer-newsletter {
        width: 100%
    }

    .full-width.footer-newsletter-full-width>.container-full-width {
        padding-bottom: 55px;
    }
}


@media (max-width: 767px) {
    .subscribe-form.compact-form .btn {
        width: 30%;
        min-width: 280px;
        border-radius: 0 !important;
        margin-top: 40px !important;
    }

    .footer-newsletter .consents {
        text-align: left;
        margin-top: 0px;
    }

    .subscribe-form .js-validator-msg {
        padding-top: 50px;
    }
}


@media (max-width: 621px) {
    .subscribe-form .js-validator-msg {
        padding-top: 65px;
    }
}


@media (max-width: 479px) {
    .subscribe-form .js-validator-msg {
        padding-top: 75px;
    }
}


@media(min-width:481px) and (max-width: 767px) {
    .footer-rows .custom-footer>div {
        flex-basis: 50%;
        padding-top: 32px;
        width: 50%;
    }

    .footer-rows .custom-footer {
        flex-direction: row;
        padding: 0 32px;
    }

    footer#footer .custom-footer>div h4 {
        margin-bottom: 30px;
        margin-top: 0px;
    }
}


@media (min-width: 1200px) and (max-width: 1439) {
    .full-width.homepage-banners-full-width.footer-banners h2 {
        font-size: 80px;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .full-width.homepage-banners-full-width.footer-banners h2 {
        font-size: 60px;
    }

    .full-width.homepage-banners-full-width.footer-banners a.btn.btn-conversion {
        padding: 16px 40px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .full-width.homepage-banners-full-width.footer-banners h2 {
        font-size: 45px;
    }

    .full-width.homepage-banners-full-width.footer-banners a.btn.btn-conversion {
        padding: 16px 40px;
    }

    .homepage-blog-wrapper .news-item {
        flex-basis: calc(100% / 2);
        width: calc(100% / 2);
    }
}



@media(min-width: 480px) and (max-width: 767px) {
    .full-width.homepage-banners-full-width.footer-banners h2 {
        font-size: 30px;
        margin-bottom: 40px !important;
    }

    .full-width.homepage-banners-full-width.footer-banners a.btn.btn-conversion {
        padding: 16px 40px;
    }
}

@media (max-width: 479px) {
    .full-width.homepage-banners-full-width.footer-banners h2 {
        font-size: 25px;
        margin-bottom: 40px !important;
    }

    .full-width.homepage-banners-full-width.footer-banners a.btn.btn-conversion {
        padding: 11px 24px;
        font-size: 2rem;
        line-height: 30px;
    }
}

/* Responzivní grid pro produkty místo slideru */
@media (max-width: 991px) {

    /* Skrytí slider navigace a paginace */
    .products-wrapper.product-slider-holder .product-slider-navigation,
    .products-wrapper.product-slider-holder .product-slider-pagination {
        display: none !important;
    }

    /* Resetování slider stylů */
    .products-wrapper.product-slider-holder {
        overflow: visible !important;
    }

    .products-wrapper.product-slider-holder .product-slider {
        width: 100% !important;
        overflow: visible !important;
        cursor: default !important;
    }

    .products-wrapper.product-slider-holder .products-block {
        width: 100% !important;
        transform: none !important;
        transition: none !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
        gap: 15px;
        padding: 0;
    }

    /* Základní reset pro všechny produkty v gridu */
    .products-wrapper.product-slider-holder .product {
        width: 100% !important;
        min-height: auto;
        margin: 0;
    }

    /* Skrytí všech produktů bez grid-active třídy */
    .products-wrapper.product-slider-holder .product:not(.grid-active) {
        display: none !important;
    }

    /* Zobrazení pouze produktů s grid-active třídou */
    .products-wrapper.product-slider-holder .product.grid-active {
        display: block !important;
    }

    /* Responzivní úpravy obrázků v produktech */
    .products-wrapper.product-slider-holder .product .image img {
        width: 100%;
        height: auto;
        /* max-height: 200px; */
        object-fit: cover;
    }

    /* Úprava výšky produktových karet */
    .products-wrapper.product-slider-holder .product .p {
        height: auto;
        min-height: 300px;
        display: flex;
        flex-direction: column;
    }

    .products-wrapper.product-slider-holder .product .p-in {
        flex-grow: 1;
        display: flex;
        flex-direction: column;
    }

    .products-wrapper.product-slider-holder .product .p-bottom {
        margin-top: auto;
    }
}

@media (max-width: 480px) {

    /* Pro velmi malé displeje - stack vertikálně */
    .products-wrapper.product-slider-holder .products-block {
        /* grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 1fr); */
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr;
    }
}


@media (max-width: 767px) {
    .carousel-control {
        opacity: 1;
        width: 10%;
        position: absolute;
        top: 50%;
    }

    .carousel-control.left:before,
    .carousel-control.right:before {
        font-size: 20px;
        background: #E4D9CA;
        color: #504841;
        border-color: #E4D9CA;
    }

    .welcome-wrapper .welcome .about-text {
        display: flex;
        flex-direction: column;
    }

    .welcome-wrapper .welcome .about-text a {
        width: fit-content;
        margin-inline: auto;
    }


    .in-index .products-block>div .p .p-in .p-bottom>div .prices {
        flex-wrap: nowrap;
    }

    .in-index .p .p-in .p-bottom>div .prices {
        text-align: right;
        font-size: 15px;
    }

    .in-index .products-block>div .p .p-in .p-in-in .name {
        width: 100% !important;
        -webkit-line-clamp: 2;
    }

    .in-index .products-block>div .p .p-in .p-in-in .name {
        height: 44px !important;
    }

    .in-index .p .p-in .p-in-in .name {
        line-height: 22px;
    }


    .in-index .products-block>div .p .p-in .p-bottom>div .prices .price-final {
        text-align: left;
    }
}

@media (max-width: 991px) {
    .benefitBanner .benefitBanner__picture {
        width: 60px;
        flex: 0 0 60px;
        height: 60px;
        margin: 16px 0;
    }

    .benefitBanner .benefitBanner__picture img {
        width: 30px;
    }

    .benefitBanner .benefitBanner__title {
        font-size: 18px;
    }

    .benefitBanner .benefitBanner__item {
        flex: 0 0 50%;
        width: 50%;
    }

    .homepage-blog-wrapper {
        padding: 0 !important;
    }

    .footer-newsletter .compact-form .btn,
    .footer-newsletter .form-control {
        height: 60px;
    }

    .footer-newsletter .consents {
        text-align: left;
        margin-top: 10px;
    }
}


@media (max-width: 768px) {
    .content-wrapper-in {
        padding: 0 8px;
    }

    .carousel-wrapper-mobile {
        display: flex;
        flex-wrap: wrap;
        margin-top: 25px;
        column-gap: 20px;
        row-gap: 20px;
    }

    .carousel-wrapper-mobile .carousel-element {
        width: calc(50% - 10px);
    }

    .carousel-element .heading {
        bottom: 40px;
        left: 20px;
        font-size: 30px;
        line-height: 45px;
    }

    .carousel-wrapper-mobile .carousel-element .heading {
        bottom: 15px;
        left: 10px;
        font-size: 20px;
        line-height: 30px;
        width: fit-content;
    }

    .full-width.homepage-banners-full-width.footer-banners {
        margin-top: 60px;
        margin-bottom: 60px;
    }

    .full-width.homepage-banners-full-width.footer-banners>img {
        height: 300px;
    }

    .benefitBanner {
        display: flex;
        flex-wrap: wrap;
    }

    .benefitBanner .benefitBanner__title {
        font-size: 12px;
        line-height: 14px;
        margin-bottom: 0 !important;
    }

    .benefitBanner .benefitBanner__content {
        width: calc(100% - 50px) !important;
    }

    .benefitBanner__content {
        overflow: hidden;
        padding-right: 5px;
        padding-left: 10px;
        word-break: break-word;
    }

    .benefitBanner .benefitBanner__picture img {
        width: 23px;
    }

    .benefitBanner .benefitBanner__picture {
        width: 50px;
        flex: 0 0 50px;
        height: 50px;
        margin: 16px 0;
    }

    .benefitBanner .benefitBanner__item {
        flex: 0 0 50%;
        width: 50%;
    }

    .container-full-width {
        margin-left: auto;
        margin-right: auto;
        padding-left: 0;
        padding-right: 0;
        width: 100%;
    }

    .show-more-products a,
    .welcome-wrapper .about-text a.btn.btn-conversion {
        font-size: 16px;
        line-height: 30px;
        padding: 11px 24px !important;
        border-radius: 0px;
        font-weight: bold;
    }

    .benefitBanner .benefitBanner__content {
        padding: 0 5px 0 10px;
    }

    .homepage-blog-wrapper .show-more a {
        padding: 11px 24px !important;
    }

    .homepage-blog-wrapper .show-more a {
        padding: 11px 24px;
    }

    .btn,
    a.btn {
        font-size: 16px;
        line-height: 28px;
        padding: 11px 24px;
    }
}

@media(min-width: 1200px) and (max-width: 1533px) {
    .benefitBanner .benefitBanner__picture {
        flex: 0 0 70px;
        height: 70px;
        margin: 0;
    }

    .benefitBanner .benefitBanner__picture img {
        width:
            35px;
    }

    .benefitBanner .benefitBanner__content {
        padding: 0 8px 0 14px;
    }

    .benefitBanner .benefitBanner__title {
        font-size: 16px;
        font-weight: bold;
        color: #E95712;
        text-align: left;
        line-height: 26px;
    }
}

@media(min-width: 992px) and (max-width: 1199px) {
    .benefitBanner .benefitBanner__picture {
        flex: 0 0 60px;
        height: 60px;
        margin: 0;
    }

    .benefitBanner .benefitBanner__picture img {
        width: 25px;
    }

    .benefitBanner .benefitBanner__content {
        padding: 0 8px 0 14px;
    }

    .benefitBanner .benefitBanner__title {
        font-size: 14px;
        font-weight: bold;
        color: #E95712;
        text-align: left;
        line-height: 26px;
    }
}


@media (min-width: 768px) and (max-width: 991px) {
    .carousel-element .heading {
        bottom: 20px;
        left: 10px;
        font-size: 20px;
        width: fit-content;
    }

    .w-25.carousel-element .heading {
        bottom: 20px;
        left: 10px;
        font-size: 16px;
        width: fit-content;
    }

    .benefitBanner {
        margin: 60px auto;
    }

    .in-index .products-block>div .p .p-in .p-bottom>div .prices {
        flex-wrap: nowrap;
    }

    .in-index .p .p-in .p-bottom>div .prices {
        text-align: right;
        font-size: 16px;
    }

    .in-index .products-block>div .p .p-in .p-bottom>div .prices .price-final {
        text-align: left;
    }

    .welcome-wrapper {
        padding: 60px 0;
    }

    .welcome-wrapper .welcome .about-text a {
        width: fit-content;
        margin-inline: auto;
    }

    .about-text {
        display: flex;
        flex-direction: column;
    }
}

@media(min-width: 992px) and (max-width: 1199px) {
    .benefitBanner {
        margin: 80px auto;
    }

    .homepage-group-title.h4 {
        margin-top: 0;
    }

    .welcome-wrapper {
        padding: 80px 0;
    }


    .about-text h1 {
        margin-top: 20px;
    }

    .carousel-element .heading {
        bottom: 20px;
        left: 10px;
        font-size: 20px;
        width: fit-content;
    }

    .w-25.carousel-element .heading {
        bottom: 20px;
        left: 10px;
        font-size: 16px;
        width: fit-content;
    }
}


@media(min-width: 992px) and (max-width: 1700px) {
    #header .header-top .header-top-wrapper>.navigation-wrapper.header-bottom-wrapper {
        padding-left: 0 !important;
    }
}


@media (min-width: 1335px) and (max-width: 1477px) {
    .navigation-in ul li a b {
        font-size: 14px;
    }

    .navigation-in>ul>li>a {
        padding: 16px 10px;
    }

    .navigation-in>ul>li.ext.exp:first-child>a {
        padding-left: 10px;
        padding-right: 10px;
        margin-right: 0px;
    }
}

/* @media (min-width: 992px) and (max-width: 1334px) { */
@media (min-width: 768px) and (max-width: 1334px) {
    .navigation-in ul li a b {
        font-size: 14px;
    }

    .navigation-in>ul>li>a {
        padding: 16px 10px;
    }

    .navigation-in>ul>li.ext.exp:first-child>a {
        padding-left: 10px;
        padding-right: 10px;
        margin-right: 0px;
    }
}


.custom-overflow-menu span.menu-toggle::after {
    content: "\e914";
    text-align: center;
    transition: transform .3s ease-out;
    font-family: "Shoptet";
}


@media (max-width: 767px) {
    .custom-overflow-menu {
        display: none !important;
    }
}

ul.overflow-menu-items.menu-level-1 li a b {
    font-size: 14px;
    font-weight: 400;
    padding: 0 20px 0 0;
}

.overflow-menu-items.menu-level-1 {
    margin-top: 20px;
}

.product .availability {
    font-size: 17px;
    flex-basis: min-content;
}


.product .availability span {
    font-size: 17px;
    flex-basis: min-content;
}


@media (min-width: 768px) {
    .products-block>div .p .p-in .p-in-in .name {
        width: max-content !important;
        -webkit-line-clamp: 2;
        overflow: visible;
        line-height: 30px;
    }

    .type-category .products-block>div .p .p-in .p-in-in .name {
        width: 100% !important;
        -webkit-line-clamp: 2;
        overflow: visible;
        line-height: 30px;
    }
}

@media(max-width: 767px) {
    span.flag {
        text-transform: uppercase;
        font-size: 14px !important;
        line-height: 20px !important;
        font-weight: bold !important;
        padding: 5px !important;
    }
}

@media(max-width: 479px) {

    .type-product span#navigation-1 span,
    .type-product span#navigation-2 span {
        font-size: 12px !important;
        line-height: 20px !important;
    }
}