html {
    scroll-behavior: smooth;
}

a[data-action='scrollToSection'] {
    display: block;
    position: relative;
    visibility: hidden;
}

.hidden {
    display: none; 
}

.single-product .cpf-section .tm-box h3 {
    display: flex;
    align-items: center;
}

.single-product .cpf-section .tm-box h3 .section-order-label {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    padding: 5px;
    background-color: #e2242e;
    color: #fff;
    display: inline-flex;
    align-items: center;
    font-size: 16px;
    justify-content: center;
    box-shadow: 2px 4px 0px #fff0f0;
    margin-right: 16px;
}

.n4you-configurator-notice {
    position: fixed;
    bottom: 0;
    right: 0;
    z-index: 999;
    transform: translate(100%, -50px);
    max-width: 25vw;
    /*transition: all 0.5s ease-in-out;*/
    opacity: 0;
    min-width: 532px;
}

.n4you-configurator-notice.notice-visible {
    transform: translate(-50px, -50px);
    opacity: 1;
}

.n4you-configurator-notice {
    padding: 20px 50px;
    border-radius: 5px !important;
}

.n4you-configurator-notice.notice-success {
    background: #f3fcf4 !important;
    border: 1px #3bb54a solid;
}

.n4you-configurator-notice.notice-warning {
    background: #ffefef !important;
    border: 1px #dd562d solid;
}

.n4you-configurator-notice .n4you-config-previous-step {
    padding: 5px 20px;
    border: 1px #000 solid;
    color: #000;
    text-align: center;
    border-radius: 5px;
    width: 150px;
    margin-top: 5px;
    cursor: pointer;
}

.n4you-configurator-notice .n4you-config-previous-step:hover {
    background-color: #000;
    color: #fff !important;
}

body .n4you-loop-product__title a {
    color: #2c2d33;
    font-size: 20px;
    font-weight: 600;
}

body .n4you-loop-product__categories {
    font-size: 11px;
    text-transform: uppercase;
    color: #222;
    margin: 10px 0 5px;
}

body .n4you-loop-product__categories a {
    color: #222;
    line-height: 1;
    letter-spacing: 0.7px;
}

body .woocommerce-card__header {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

body .n4you-loop-product__attributes {
    display: flex;
    justify-content: center;
    width: 100%;
    padding: 10px 0;
    font-size: 14px;
}

body .n4you-loop-product__attributes>div {
    padding: 0 10px;
}

body .woocommerce-card__header a.button {
    position: relative !important;
    top: 10px;
}


/* Global */


/* Product item */

body .main-navigation ul.menu li.menu-item-has-children.full-width>.sub-menu-wrapper li a.button,
body ul.products li.product .added_to_cart,
body ul.products li.product .button {
    width: 100% !important;
}


/* Global padding = 20px */

.col-full.topbar-wrapper,
.col-full.main-header,
.col-full.shoptimizer-primary-navigation,
.homepage-slider-under,
.homepage-vypis-produktov,
.homepage-benefits-list,
.homepage-reviews,
.uvodny-infotext-konfigurator,
.single-product .product_cat-vzorky .page-header__wrapper {
    padding-left: 2.617924em !important;
    padding-right: 2.617924em !important;
}

.single-product #tm-extra-product-options.tm-extra-product-options {
    padding-left: 1em !important;
    padding-right: 1em !important;
}

@media screen and (max-width: 768px) {
.single-product #tm-epo-totals {
    padding-left: 1em;
    padding-right: 1em;
}
}

@media screen and (min-width: 1280px) {
    .single-product .product_cat-vzorky .page-header__wrapper {
        margin-left: -2.617924em !important;
    }
}

.homepage-blog {
    padding-left: calc(2.617924em - 5px) !important;
    padding-right: calc(2.617924em - 5px) !important;
}


/* Global padding = 15px */

@media (max-width: 992px) {
    .col-full.topbar-wrapper,
    .col-full.main-header,
    .col-full.shoptimizer-primary-navigation,
    .homepage-slider-under,
    .homepage-vypis-produktov,
    .homepage-benefits-list,
    .homepage-reviews,
    .uvodny-infotext-konfigurator,
    .woocommerce-tabs .panel,
    .single-product .product_cat-vzorky .page-header__wrapper {
        padding-left: 1em !important;
        padding-right: 1em !important;
    }
    .single-product #tm-extra-product-options.tm-extra-product-options {
        padding-left: 2em !important;
        padding-right: 2em !important;
    }
    .homepage-blog {
        padding-left: calc(1em - 5px) !important;
        padding-right: calc(1em - 5px) !important;
    }
}


/* Header */

@media (max-width: 1280px) {
    .topbar-wrapper>.top-bar>.col-full {
        justify-content: space-between;
    }
    .topbar-wrapper>.top-bar>.col-full::before,
    .topbar-wrapper>.top-bar>.col-full::after {
        content: unset;
    }
    .topbar-wrapper>.top-bar>.col-full>.top-bar-left {
        max-width: 430px;
    }
    .topbar-wrapper>.top-bar>.col-full>.top-bar-right ul.menu {
        display: flex;
        justify-content: space-between;
    }
    .topbar-wrapper>.top-bar>.col-full>.top-bar-right ul.menu>li {
        margin: 0px 10px !important;
        font-size: 15px !important;
        float: none !important;
    }
}

@media (max-width: 1280px) and (max-width: 1024px) {
    .topbar-wrapper>.top-bar>.col-full>.top-bar-right ul.menu>li {
        margin: 0px 5px !important;
    }
}

@media (max-width: 1280px) {
    .topbar-wrapper>.top-bar>.col-full>.top-bar-right ul.menu>li a::before {
        margin-right: 8px !important;
        font-size: 13px !important;
    }
}

@media screen and (max-width: 992px) {
    header.site-header .main-header {
        flex-wrap: nowrap !important;
    }
    header.site-header .main-header .site-branding {
        flex-direction: row !important;
        justify-content: space-between !important;
        width: calc(100vw - 2em - 40px) !important;
    }
    header.site-header .main-header .site-branding .menu-toggle {
        position: relative;
        top: 0;
        left: 0;
        width: 40px;
        height: 40px;
        border: 2px #e2242e solid;
        padding: 10px 6px;
        border-radius: 5px;
        background: #fff7f6;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
    }
    header.site-header .main-header .site-branding .menu-toggle .bar {
        top: 0;
        width: 100%;
        min-width: 23px;
        min-height: 2px;
        display: block;
        position: relative;
        margin: 0 !important;
        background-color: #e2242e;
    }
    header.site-header .main-header .site-branding .menu-toggle .bar-text {
        display: none;
    }
    header.site-header .main-header .site-search {
        display: none !important;
        /* display: block !important;
        background: #fff;
        padding: 10px 1em !important;
        width: 100% !important;
        position: absolute !important;
        top: 60px !important;
        left: 0 !important; */
    }
    /* header.site-header .main-header .site-search form[role='search'] {
        overflow: hidden;
        border-radius: 5px;
    }
    header.site-header .main-header .site-search form[role='search']:before {
        top: 14px;
        left: 14px;
    }
    header.site-header .main-header .site-search input[type='search'] {
        padding: 10px 10px 10px 50px;
    }
    header.site-header .main-header .site-search input[type='search'],
    header.site-header .main-header .site-search button[type='submit'] {
        border-radius: 0 !important;
        height: 45px !important;
    } */
    header.site-header .main-header .site-header-cart {
        position: relative;
        top: 0;
        right: 0;
    }
    header.site-header .main-header .site-header-cart .cart-contents {
        display: flex !important;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
    }
    header.site-header .main-header .site-header-cart .cart-contents .shoptimizer-cart-icon {
        position: relative;
        top: 0;
        right: -4px;
        float: none;
    }
    header.site-header .main-header .site-header-cart .cart-contents .shoptimizer-cart-icon svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 1280px) {
    .shoptimizer-primary-navigation {
        display: flex;
        justify-content: space-between;
    }
    .shoptimizer-primary-navigation::before,
    .shoptimizer-primary-navigation::after {
        content: unset;
    }
    .shoptimizer-primary-navigation nav.main-navigation {
        flex: 1 0 auto !important;
    }
    .shoptimizer-primary-navigation nav.main-navigation ul.menu {
        display: flex;
        min-width: unset;
    }
    .shoptimizer-primary-navigation nav.main-navigation ul.menu>li>a {
        font-size: 14px;
    }
    .shoptimizer-primary-navigation nav.main-navigation ul.menu>li>a::before {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 1280px) and (max-width: 1024px) {
    .shoptimizer-primary-navigation nav.main-navigation ul.menu>li>a::before {
        width: 26px;
        height: 26px;
    }
}

@media (max-width: 1280px) {
    .shoptimizer-primary-navigation .menu-primary-right-menu-container ul {
        list-style: none !important;
    }
    .shoptimizer-primary-navigation .menu-primary-right-menu-container .o-materialoch a {
        font-size: 14px;
        padding: 10px 12px !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-width: 64px;
        height: 42px;
    }
    .shoptimizer-primary-navigation .menu-primary-right-menu-container .o-materialoch a span {
        min-width: 111px;
        margin-left: 10px;
        transform: translateX(0);
        opacity: 1;
        transform-origin: right center;
    }
    .shoptimizer-primary-navigation .menu-primary-right-menu-container .o-materialoch a::before {
        width: 20px;
        height: 20px;
        margin: 0;
    }
}

@media (max-width: 1280px) and (max-width: 1024px) {
    .shoptimizer-primary-navigation .menu-primary-right-menu-container .o-materialoch a::before {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 1280px) {
    .col-full-nav.is_stuck .menu-primary-right-menu-container .o-materialoch a span {
        opacity: 0;
        margin: 0;
        display: none;
        transform: translateX(calc(100% + 50px));
    }
}

@media (max-width: 992px) {
    .mobile-extra * {
        color: #fff !important;
    }
    body .col-full-nav {
        background-color: #222 !important;
    }
    /* .mobile-menu.close-drawer {
        top: 30px !important;
        right: 30px !important;
        left: unset !important;
        bottom: unset !important;
    } */
    .col-full.shoptimizer-primary-navigation {
        padding: 0 !important;
    }
    .widget_product_search form button[type=submit] {
        display: none !important;
    }
    .shoptimizer-primary-navigation nav.main-navigation ul.menu>li {
        border-bottom: 1px #ffffff1a solid;
        margin: 0 !important;
        padding: 0 !important;
    }
    .shoptimizer-primary-navigation nav.main-navigation ul.menu>li>a {
        color: #fff;
        padding: 11px 0 10px !important;
    }
    .shoptimizer-primary-navigation nav.main-navigation ul.menu>li>a::before {
        width: 30px;
        height: 30px;
        margin-right: 10px;
    }
    .shoptimizer-primary-navigation {
        flex-direction: column;
        justify-content: flex-start;
    }
    .shoptimizer-primary-navigation nav.main-navigation,
    .shoptimizer-primary-navigation .menu-primary-right-menu-container {
        order: -1;
        width: 100%;
        justify-content: flex-start !important;
    }
    .shoptimizer-primary-navigation .menu-primary-right-menu-container ul {
        width: 100% !important;
        margin-top: 10px;
    }
    .shoptimizer-primary-navigation nav.main-navigation ul.menu {
        flex-direction: column;
    }
}


/* Header logo */

.site-branding a {
    background: no-repeat center center;
    background-image: url('/wp-content/uploads/2020/08/nabytok4you-logo.svg');
    display: block;
    min-width: 130px;
    width: 100%;
    height: 85px;
}

@media screen and (max-width: 992px) {
    .site-branding a {
        background-image: url('/wp-content/uploads/2020/12/n4you-logo-mobile.svg');
        width: 260px;
        height: 28px;
        margin: 0 auto;
    }
}

@media screen and (max-width: 474px) {
    .site-branding a {
        width: 100%;
        margin: 0 15px;
    }
}

.site-branding img {
    display: none !important;
}


/* --------------------------  
 * Global
 * -------------------------*/

@media screen and (max-width: 992px) {
    /* .site-content {
        margin-top: 60px !important;
    } */
}

@media screen and (min-width: 550px) {
    header.site-header .main-header .site-branding .menu-toggle {
        width: 100px !important;
        align-items: flex-start !important;
    }
}

header.site-header .main-header .site-branding .menu-toggle .bar {
    background-color: #111;
}

@media screen and (min-width: 550px) {
    header.site-header .main-header .site-branding .menu-toggle .bar {
        width: 30% !important;
        min-width: 25px !important;
        align-self: flex-start !important;
    }
}

.menu-toggle .bar-text {
    margin: 6% auto 6% calc(30% + 12px) !important;
    font-size: 15px !important;
    font-weight: 700 !important;
}

@media screen and (min-width: 550px) {
    .menu-toggle .bar-text {
        align-self: flex-start !important;
        display: block !important;
    }
}


/* --------------------------  
   * Catalog page
   * -------------------------*/

@media screen and (max-width: 992px) {
    body.archive.woocommerce .shoptimizer-archive .mobile-filter {
        background-color: #f3fcf4;
        border: 2px #23a4544d solid;
        color: #23a454e3;
        font-weight: 600;
        border-radius: 3px;
        box-shadow: 5px 5px 0 0 #f3fcf4;
        line-height: 35px;
        font-size: 15px;
    }
}

body.archive.woocommerce .shoptimizer-archive .woocommerce-pagination {
    margin: 0 !important;
    padding: 0 !important;
}

body.archive.woocommerce .shoptimizer-archive .woocommerce-pagination ul {
    display: flex;
    justify-content: center;
    margin: 0 !important;
    padding: 0 !important;
}

body.archive.woocommerce .shoptimizer-archive .woocommerce-pagination ul>li {
    width: 40px !important;
    height: 40px !important;
    margin: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.archive.woocommerce .shoptimizer-archive .woocommerce-pagination ul>li .page-numbers {
    border-radius: 5px;
    width: auto !important;
    height: auto !important;
    border: unset !important;
    box-shadow: unset !important;
}

body.archive.woocommerce .shoptimizer-archive .woocommerce-pagination ul>li .page-numbers.next,
body.archive.woocommerce .shoptimizer-archive .woocommerce-pagination ul>li .page-numbers.prev {
    background-color: #ec1c24 !important;
    width: 100% !important;
    height: 100% !important;
}

body.archive.woocommerce .shoptimizer-archive .woocommerce-products-header {
    display: flex;
}

body.archive.woocommerce .shoptimizer-archive .woocommerce-products-header.description-exists.image-exists img {
    margin-top: 0;
}

@media screen and (max-width: 992px) {
    body.archive.woocommerce .shoptimizer-archive #secondary.widget-area {
        padding: 0 !important;
    }
    body.archive.woocommerce .shoptimizer-archive #secondary.widget-area .widget.prdctfltr-widget {
        border: unset !important;
        box-shadow: unset !important;
    }
    body.archive.woocommerce .shoptimizer-archive #secondary.widget-area .widget:not(:first-child) {
        margin: 20px !important;
    }
}

@media screen and (max-width: 1200px) {
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area {
        width: 65% !important;
    }
    body.archive.woocommerce .shoptimizer-archive .col-full>.secondary-wrapper {
        width: 35% !important;
        padding-right: 3%;
    }
    body.archive.woocommerce .shoptimizer-archive .col-full>.secondary-wrapper>.widget-area {
        width: 100% !important;
    }
}

body.archive.woocommerce .shoptimizer-archive .col-full .woocommerce-products-header img {
    object-fit: contain;
    object-position: center;
}

body.archive.woocommerce .shoptimizer-archive .col-full .term-description>a {
    display: none;
}

@media screen and (max-width: 992px) {
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area {
        width: 100% !important;
    }
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header__title {
        margin-bottom: 10px !important;
    }
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header {
        background-color: transparent !important;
    }
}

@media screen and (max-width: 992px) and (min-width: 767px) {
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header {
        flex-direction: row !important;
        align-items: center;
    }
}

@media screen and (max-width: 992px) {
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header .term-description {
        order: -1;
        position: relative;
        height: fit-content;
    }
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header .term-description>a {
        font-weight: 600;
        color: #131315;
        position: absolute;
        left: 0;
        bottom: -25px;
    }
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header .term-description>a#zobrazit-popis:target~.term-description-content {
        max-height: 1000px;
    }
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header .term-description>a#zobrazit-popis:target~.term-description-content::before {
        height: 0;
        opacity: 0;
    }
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header .term-description>a#zobrazit-popis:target,
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header .term-description>a#skryt-popis:target,
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header .term-description>a#skryt-popis {
        display: none;
    }
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header .term-description>a#zobrazit-popis,
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header .term-description>a#zobrazit-popis:target~#skryt-popis {
        display: block;
    }
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header .term-description .term-description-content {
        max-height: 85px;
        overflow: hidden;
        transition: max-height 0.3s ease-in-out;
    }
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header .term-description .term-description-content::before {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        display: block;
        width: 100%;
        height: 100px;
        opacity: 1;
        background: linear-gradient( to bottom, rgba(100, 100, 100, 0) 50%, #ffffff 100%);
        transition: all 0.3s ease-in-out;
    }
}

@media screen and (max-width: 992px) and (min-width: 767px) {
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header .term-description {
        padding: 0 15px 0 0 !important;
    }
}

@media screen and (max-width: 992px) and (max-width: 767px) {
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header .term-description {
        width: 100% !important;
    }
}

@media screen and (max-width: 992px) {
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header img {
        margin-top: -47px !important;
    }
}

@media screen and (max-width: 992px) and (max-width: 767px) {
    body.archive.woocommerce .shoptimizer-archive .col-full>.content-area .woocommerce-products-header img {
        display: none !important;
    }
}

@media screen and (max-width: 1200px) {
    body.archive.woocommerce .shoptimizer-archive ul.products>li {
        width: 100% !important;
    }
}

@media screen and (max-width: 992px) {
    body.archive.woocommerce .shoptimizer-archive ul.products>li {
        width: 50% !important;
    }
}

@media screen and (max-width: 767px) {
    body.archive.woocommerce .shoptimizer-archive ul.products>li {
        width: 100% !important;
    }
}


/* --------------------------  
 * Product page
 * -------------------------*/

body.single-product .woocommerce-tabs {
    padding: 0;
}

body.single-product .woocommerce-product-gallery .woocommerce-product-gallery__wrapper,
body.single-product .woocommerce-product-gallery img {
    max-height: 485px !important;
    object-fit: contain;
    object-position: center;
    margin-bottom: 0 !important;
}
body.single-product .woocommerce-product-gallery .flex-viewport {
    margin-bottom: 0 !important;
}

.tm-extra-product-options .tc-lightbox-image-wrap .radio_image {
    width: 100% !important;
}

.tc-lightbox-button {
    background-color: #ec1c25b8 !important;
    border: 2px #fff solid !important;
    width: 32px !important;
    height: 32px !important;
    line-height: 30px !important;
    font-size: 14px !important;
    border-radius: 5px !important;
    top: unset !important;
    right: 10px !important;
    bottom: 10px !important;
    left: unset !important;
}

@supports (display: grid) {
    body.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs {
        display: grid !important;
        grid-template: auto/repeat(auto-fill, minmax(132px, 1fr));
        gap: 10px;
        margin-top: 10px !important;
        margin-bottom: 0 !important;
    }
    body.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs::before,
    body.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs::after {
        content: unset;
    }
    body.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs>li {
        margin: 0 !important;
    }
    body.single-product .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs>li img {
        width: 100%;
    }
}

body.single-product .product-details-wrapper .woocommerce-product-gallery {
    margin-bottom: 0 !important;
}

@supports (height: max-content) {
    body.single-product .product-details-wrapper .woocommerce-product-gallery {
        height: max-content;
    }
}

body.single-product .product-details-wrapper .summary.entry-summary {
    display: flex;
    flex-direction: column;
    margin-bottom: 0 !important;
}

body.single-product .product-details-wrapper .summary.entry-summary .onsale,
body.single-product .product-details-wrapper .summary.entry-summary .sale-item.product-label {
    display: none !important;
}

body.single-product .product-details-wrapper .summary.entry-summary .price {
    line-height: 1 !important;
}

@supports (height: max-content) {
    body.single-product .product-details-wrapper .summary.entry-summary {
        height: max-content;
    }
}

@media screen and (max-width: 1366px) {
    body.single-product .product-details-wrapper {
        display: flex;
    }
    body.single-product .product-details-wrapper .woocommerce-product-gallery {
        width: 55% !important;
    }
    body.single-product .product-details-wrapper .summary.entry-summary {
        width: 45% !important;
    }
}

@media screen and (max-width: 767px) {
    body.single-product .product-details-wrapper {
        flex-direction: column;
    }
    body.single-product .product-details-wrapper .woocommerce-product-gallery,
    body.single-product .product-details-wrapper .summary.entry-summary {
        width: 100% !important;
        padding-bottom: 10px !important;
    }
}

@media screen and (max-width: 1200px) {
    body.single-product .product-details-wrapper .product_title.entry-title,
    body.single-product .product-details-wrapper .summary.entry-summary .price {
        font-size: 36px !important;
    }
}

@media screen and (max-width: 992px) {
    body.single-product .product-details-wrapper .summary.entry-summary .product_title.entry-title,
    body.single-product .product-details-wrapper .summary.entry-summary .price {
        font-size: 32px !important;
    }
    body.single-product .product-details-wrapper .summary.entry-summary .vlastnosti-produktu-n4you {
        padding: 20px !important;
    }
    body.single-product .product-details-wrapper .summary.entry-summary .button-cta-nabytok4you a {
        font-size: 18px !important;
    }
    body.single-product .product-details-wrapper .summary.entry-summary .button-cta-nabytok4you a::before {
        width: 30px !important;
        height: 30px !important;
    }
}

@media screen and (max-width: 767px) {
    body.single-product .product-details-wrapper .summary.entry-summary {
        margin: 25px 0 0 !important;
    }
    body.single-product .product-details-wrapper .summary.entry-summary .n4you-attributes__wrapper {
        display: flex;
        flex-flow: row wrap;
    }
    body.single-product .product-details-wrapper .summary.entry-summary .n4you-attributes__wrapper .n4you-attribute__row {
        width: 50%;
        flex: 0 0 50%;
    }
}

@media screen and (max-width: 767px) and (max-width: 550px) {
    body.single-product .product-details-wrapper .summary.entry-summary .n4you-attributes__wrapper .n4you-attribute__row {
        width: 100%;
        flex: 0 0 100%;
    }
}

@media screen and (max-width: 474px) {
    body.single-product .product-details-wrapper .zobrazit-rozmery-cta {
        font-size: 14px !important;
    }
    body.single-product .product-details-wrapper .zobrazit-rozmery-cta::before {
        width: 20px !important;
        height: 20px !important;
        margin-top: -4px;
    }
}

@media screen and (max-width: 992px) {
    body.single-product .tops-on-product-n4you {
        display: flex;
        flex-flow: row nowrap;
        padding: 1em;
        margin-top: 35px !important;
    }
    body.single-product .tops-on-product-n4you .top-box-n4you {
        width: 100% !important;
        padding: 10px;
    }
    body.single-product .tops-on-product-n4you .top-box-n4you .vyhoda_popis {
        font-size: 0.85rem;
    }
    body.single-product .tops-on-product-n4you .top-box-n4you .vyhoda_hlavicka {
        font-size: 1.2rem;
    }
    body.single-product .product-detail-section-n4you {
        flex-wrap: nowrap !important;
    }
    body.single-product .product-detail-section-n4you .product-detail-info,
    body.single-product .product-detail-section-n4you .content-doprava,
    body.single-product .informacie-o-doprave .product-detail-info,
    body.single-product .informacie-o-doprave .content-doprava {
        width: 100% !important;
    }
    body.single-product .product-detail-section-n4you .product-detail-info ul>li,
    body.single-product .product-detail-section-n4you .content-doprava ul>li,
    body.single-product .informacie-o-doprave .product-detail-info ul>li,
    body.single-product .informacie-o-doprave .content-doprava ul>li {
        line-height: 2;
        font-size: 16px;
    }
    body.single-product .content-doprava p {
        font-size: 18px;
    }
}

@media screen and (max-width: 767px) {
    body.single-product .woocommerce-tabs.wc-tabs-wrapper {
        padding-top: 70px !important;
    }
    body.single-product .tops-on-product-n4you {
        margin-top: 0 !important;
    }
    body.single-product .img-doprava {
        display: none !important;
    }
    body.single-product .product-detail-kontakt {
        width: 90%;
    }

    body.single-product .cena-dopravy-kraje h3 {
        font-size: 26px;
    }
    body.single-product .product-detail-section-n4you,
    body.single-product .informacie-o-doprave {
        display: flex;
        flex-direction: column;
    }
}

@media only screen and (min-width: 769px) {
    .product-detail-kontakt {
        width: 28%;
        margin-right: 2%;
    }
}

.single-product .woocommerce-Tabs-panel {
    padding-left: 0px !important;
    padding-right: 0px !important;
}

@media screen and (max-width: 625px) {
    body.single-product .woocommerce-tabs.wc-tabs-wrapper {
        padding-top: 50px !important;
    }
    body.single-product .woocommerce-tabs ul.tabs {
        padding-top: 0;
        display: flex;
        overflow-x: auto;
        border-bottom: 2px #3bb54a73 solid !important;
    }
    body.single-product .woocommerce-tabs ul.tabs>li {
        width: 50%;
        padding: 15px 5px !important;
        margin: 0 !important;
    }
    body.single-product .woocommerce-tabs ul.tabs>li a {
        padding: 0 !important;
    }
    body.single-product .woocommerce-tabs ul.tabs>li.active {
        background-color: #f3fcf4 !important;
    }
    body.single-product .woocommerce-tabs ul.tabs>li.active a {
        color: #236c2c !important;
    }
    body.single-product .tops-on-product-n4you {
        flex-direction: column;
        padding-top: 0 !important;
    }
    body.single-product .tops-on-product-n4you .top-box-n4you {
        display: flex;
        flex-flow: row wrap;
        align-content: center;
        width: 100% !important;
        min-height: 115px !important;
        margin-top: 0.5em !important;
    }
    body.single-product .tops-on-product-n4you .top-box-n4you .vyhoda_img {
        position: absolute;
        top: 15px;
        left: 0;
    }
    body.single-product .tops-on-product-n4you .top-box-n4you .vyhoda_popis,
    body.single-product .tops-on-product-n4you .top-box-n4you .vyhoda_hlavicka {
        font-size: 105%;
        width: 100% !important;
        margin: 0 !important;
        padding-left: 85px;
        text-align: left;
    }
    body.single-product .product-detail-section-n4you .product-detail-info,
    body.single-product .product-detail-section-n4you .content-doprava,
    body.single-product .informacie-o-doprave .product-detail-info,
    body.single-product .informacie-o-doprave .content-doprava {
        padding: 0 !important;
        width: 100%;
        min-width: calc(320px - 2em);
        padding: 0 25px;
    }
    body.single-product .product-detail-section-n4you .product-detail-info ul,
    body.single-product .product-detail-section-n4you .content-doprava ul,
    body.single-product .informacie-o-doprave .product-detail-info ul,
    body.single-product .informacie-o-doprave .content-doprava ul {
        margin: 32px 0 0 !important;
    }
    body.single-product .product-detail-section-n4you .product-detail-info ul>li,
    body.single-product .product-detail-section-n4you .content-doprava ul>li,
    body.single-product .informacie-o-doprave .product-detail-info ul>li,
    body.single-product .informacie-o-doprave .content-doprava ul>li {
        font-size: 15px;
    }
    body.single-product .content-doprava p {
        font-size: 16px;
    }
}

@media screen and (max-width: 550px) {
    body.single-product .woocommerce-tabs.wc-tabs-wrapper {
        padding-top: 40px !important;
    }
    body.single-product .woocommerce-tabs ul.tabs>li>a {
        font-size: 16px !important;
        line-height: 1.2;
    }
    body.single-product .cena-dopravy-kraje {
        max-width: calc(100vw - 2em);
        padding: 15px;
    }
    body.single-product .cena-dopravy-kraje h3 {
        font-size: 24px;
    }
}

@media screen and (max-width: 992px) {
    body.single-product .heading-custom-details-n4you {
        padding: 0 calc(1em + 10px);
    }
    body.single-product .heading-custom-details-n4you h3 {
        font-size: 28px !important;
        line-height: 40px !important;
    }
    body.single-product .uvodny-infotext-konfigurator p {
        font-size: 16px !important;
    }
    body.single-product .tm-extra-product-options .cpf-section h3.tm-section-label {
        font-size: 22px !important;
    }
    
    body.single-product .tm-extra-product-options .cpf-section .tm-description p {
        font-size: 15px !important;
    }
    body.single-product .tm-extra-product-options .cpf-section.final-message .tm-box {
        border-radius: 5px !important;
    }
    body.single-product .cart .single_add_to_cart_button {
        padding: 10px 5px !important;
    }
}

@media screen and (max-width: 767px) {
    body.single-product #tm-extra-product-options.tm-extra-product-options {
        padding-left: 1em !important;
        padding-right: 1em !important;
    }
    body.single-product .tm-extra-product-options .cpf-section.posledny-krok .tm-box {
        margin: 1em !important;
    }
    body.single-product .tm-extra-product-options .cpf-section::before {
        content: unset !important;
    }
    body.single-product .tm-extra-product-options .cpf-section h3.tm-section-label {
        font-size: 20px !important;
    }
    body.single-product .tm-extra-product-options .cpf-section h3.tm-section-label .section-order-label {
        min-width: 35px;
        min-height: 35px;
        max-width: 35px;
        max-height: 35px;
        font-size: 14px;
        margin-right: 10px;
    }
    body.single-product .tm-extra-product-options .cpf-section .tm-box {
        border: unset !important;
        box-shadow: unset !important;
    }
    body.single-product .tm-extra-product-options .cpf-section .tm-box>.tc-cell>.tm-description p {
        margin-top: 20px !important;
    }
}

@media screen and (max-width: 625px) and (min-width: 767px) {
    body.single-product .heading-custom-details-n4you {
        padding: 0 2em;
    }

}

@media screen and (max-width: 625px) {
    body.single-product .heading-custom-details-n4you h3 {
        font-size: 28px !important;
        line-height: 40px !important;
        position: relative;
        padding-left: 75px;
        text-align: left;
    }
    body.single-product .heading-custom-details-n4you h3::before {
        position: absolute;
        top: 12px;
        left: 0;
    }

    ul.zakladne-informacie-o-produkte-zoznam {
        padding-left: 1em !important;
        padding-right: 1em !important;
    }

    div#tab-tab_doprava {
        padding-left: 1em !important;
        padding-right: 1em !important;
    }

    ul.tabs.wc-tabs {
        padding-left: 1em !important;
        padding-right: 1em !important;
    }
}

@media screen and (max-width: 625px) {
    body.single-product .radio-select-latky .tm-description .vzorkovnik-latok-cta {
        width: 100%;
    }
}

@media screen and (max-width: 625px) {
    body.single-product .n4you-configurator-notice {
        padding: 20px 15px;
        max-width: 100vw;
        bottom: 0;
        left: 0;
        transform: translate(0, 100%);
        border-radius: 0 !important;
    }
    body.single-product .n4you-configurator-notice span {
        font-size: 15px;
        display: inline-block;
        max-width: calc(100vw - 30px);
    }
    body.single-product .n4you-configurator-notice span .n4you-config-previous-step {
        margin-top: 10px;
    }
    body.single-product .n4you-configurator-notice.notice-visible {
        transform: translate(0, 0);
    }
}

@media screen and (max-width: 550px) {
    body.single-product .tm-extra-product-options .cpf-section .tm-box {
        padding: 0px !important;
    }
    body.single-product .tm-extra-product-options .cpf-section .tm-box>.tc-cell>.tm-description p {
        padding-left: 0 !important;
    }
    body.single-product .tm-extra-product-options .cpf-section .tm-box>.tc-cell>.tm-description p::before {
        content: unset !important;
    }
    .tc-cell.n4you-configurator-button__wrapper {
        padding-left: 10px !important;
    }
}

@media screen and (max-width: 474px) {
    body.single-product .heading-custom-details-n4you h3 {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding-left: 0 !important;
        font-size: 24px !important;
        line-height: 30px !important;
    }
    body.single-product .heading-custom-details-n4you h3::before {
        position: static;
        margin: 0 0 10px !important;
    }
    body.single-product .uvodny-infotext-konfigurator p {
        font-size: 15px !important;
    }
    body.single-product .radio-select-latky .tm-description p a {
        font-size: 11px !important;
    }
}

@media screen and (max-width: 992px) {
    body.single-product .product_cat-vzorky>.elementor-section-wrap>section:first-child::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: #fff7f5bd;
    }
    body.single-product .product_cat-vzorky .page-header__wrapper {
        margin-top: 50px !important;
    }
    body.single-product .product_cat-vzorky .page-header__wrapper>div {
        align-items: flex-start;
        justify-content: flex-start;
        flex-flow: row wrap;
    }
    body.single-product .product_cat-vzorky .page-header__wrapper>div>.elementor-widget-heading {
        width: 100%;
    }
    body.single-product .product_cat-vzorky .page-header__wrapper>div>.elementor-widget-heading h1 {
        line-height: 1.25;
        font-size: 26px !important;
    }
    body.single-product .product_cat-vzorky .page-header__wrapper>div>.elementor-widget-icon-box {
        min-height: 40px;
        margin-bottom: 10px !important;
    }
    body.single-product .product_cat-vzorky .page-header__wrapper>div>.elementor-widget-icon-box .elementor-widget-container {
        margin-bottom: 0 !important;
    }
    body.single-product .product_cat-vzorky .page-header__wrapper>div>.elementor-widget-icon-box .elementor-icon-box-icon {
        margin-right: 13px !important;
        margin-bottom: 0 !important;
    }
    body.single-product .product_cat-vzorky .page-header__wrapper>div .elementor-icon-box-wrapper {
        text-align: left;
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        display: flex;
    }
}

/* Blog - CTA Button */
.n4you-button-cta__wrapper {
    display: flex;
    justify-content: center;
    width: 100%;
}

.n4you-button-cta__wrapper>a,
.n4you-configurator-button__popup {
    display: inline-block;
    padding: 12px 20px;
    text-align: center;
    background-color: #e2242e;
    color: #fff;
    border-radius: 5px;
    cursor: pointer;
}

.n4you-button-cta__wrapper>a:hover,
.n4you-configurator-button__popup {
    background-color: #c52a32;
    color: #fff;
}

/* Configurator */

.tm-section-link {
    display: none;
}

#tm-section-pop-up {
    border: unset;
    box-shadow: unset;
    width: 100vw;
    height: 100vh;
    top: 0 !important;
    left: 0 !important;
    position: fixed !important;
    background: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

#tm-section-pop-up .header {
    display: none !important;
}

#tm-section-pop-up .float_editbox {
    position: static;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 80vw;
    padding: 20px 10px;
    height: 80vh;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 15px rgba(0,0,0,.2);
    max-width: 1280px;
    min-height: 600px;
}

#tm-section-pop-up .float_editbox .cpf-section,
#tm-section-pop-up .float_editbox .tc-section-inner-wrap,
#tm-section-pop-up .float_editbox .tc-row,
#tm-section-pop-up .float_editbox .tm-section-pop {
    max-height:  100%;
    height: 100%;
}

#tm-section-pop-up .float_editbox .tm-section-pop {
    overflow: auto;
}

#tm-section-pop-up .float_editbox .tm-section-pop::-webkit-scrollbar {
    width: 5px;
    background-color: #222222;
}

#tm-section-pop-up .float_editbox .tm-section-pop::-webkit-scrollbar-thumb {
    background-color: #ec1c24;
}

#tm-section-pop-up .float_editbox .tm-section-pop .tm-epo-element-label {
    position: sticky;
    top: -20px;
    padding: 10px 15px;
    z-index: 10;
    background-color: #fff;
}

#tm-section-pop-up .float_editbox .latky-sedacej-casti-opierok::before, #tm-section-pop-up .float_editbox .latky-korpusu-podruciek::before {
    content: unset;
}

#tm-section-pop-up .float_editbox .tm-extra-product-options .tmcp-ul-wrap {
    margin: 0 -5px;
}

#tm-section-pop-up .footer {
    top: 0 !important;
    bottom: unset !important;
    height: unset !important;
}

#tm-section-pop-up .footer .inner {
    background-color: transparent;
    border: unset;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.n4you-configurator-button__wrapper {
    padding-left: 55px !important;
}

.n4you-continue__wrapper {
    padding: 10px 25px 10px 20px;
    position: relative;
    bottom: 50px;
    background-color: #fff;
    height: 70px;
    margin: 0 -10px;
    box-shadow: 0 0 10px rgba(0,0,0,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(0, 100%);
    transition: all .3s ease-in-out;
    cursor: pointer;
    z-index: 99;
}

.cpf-section.can-continue .n4you-continue__wrapper {
    transform: translate(0, 0);
}

.n4you-continue__wrapper .floatbox-cancel {
    padding: 12px;
    width: 100%;
    display: inline-block;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
}

.n4you-configurator-button__popup,
.n4you-continue__wrapper .floatbox-cancel {
    background-color: #3bb54a;
    transition: all .3s ease-in-out;
}

.n4you-configurator-button__popup:hover,
.n4you-continue__wrapper .floatbox-cancel:hover {
    background-color: #009245;
}

@media (max-width: 992px) {
    #tm-section-pop-up .float_editbox {
        width: 100%;
        height: 100%;
        min-height: 1px;
    }
    .cpf-section .n4you-continue__wrapper {
        position: fixed;
        width: 100vw;
        left: 0;
        bottom: 0;
        margin: 0;
    }
    
    #tm-section-pop-up .float_editbox .tm-section-pop::-webkit-scrollbar,
    #tm-section-pop-up .float_editbox .tm-section-pop::-webkit-scrollbar-thumb  {
        width: 0px;
        background-color: transparent;
    }
    .n4you-configurator-button__popup {
        width: 100%;
    }
}

.radio-select-latky .tm-description .vzorkovnik-latok-cta {
    display: inline-block;
    background: #f3fcf4;
    padding: 4px 10px;
    position: absolute;
    right: 15px;
    top: -40px;
    color: #222;
    font-weight: 700;
    font-size: 13px;
    border: 1px solid #3bb54a33;
    border-radius: 3px;
    font-weight: 400;
    text-transform: uppercase;
    z-index: 99;
}

.n4you-close-popup {
    display: flex;
    align-items: center;
    justify-self: center;
    position: fixed;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    z-index: 99;
    background-color: #ec1c24;
    border-radius: 50%;
    padding: 14px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
}

.n4you-close-popup:hover {
    background-color: #cf060e;
}

@media (max-width: 992px) {
    .radio-select-latky .tm-description .vzorkovnik-latok-cta {
        display: block;
        position: static !important;
        text-align: center;
        margin: 10px 0 0;
    }
    .n4you-close-popup {
        top: 0;
        right: 0;
        border-radius: 0 0 0 10px;
    }
}

.latky-sedacej-casti-opierok.section_popup::before,
.latky-korpusu-podruciek.section_popup::before {
    content: unset !important;
}