@font-face {
    font-family: "Cabinet Grotesk";
    font-weight: 300;
    font-style: normal;
    src: url("/user/documents/font/CabinetGrotesk-Light.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Cabinet Grotesk";
    font-weight: 700;
    font-style: normal;
    src: url("/user/documents/font/CabinetGrotesk-Bold.woff2") format("woff2");
    font-display: swap;
}

@font-face {
    font-family: "Cabinet Grotesk";
    font-weight: 800;
    font-style: normal;
    src: url("/user/documents/font/CabinetGrotesk-Extrabold.woff2") format("woff2");
    font-display: swap;
}

:root {
    --size-h1: 40px;
    --size-h2: 32px;
    --size-h3: 28px;
    --size-h4: 20px;
    --template-headings-font: "Cabinet Grotesk", sans-serif;
    --template-font: "Cabinet Grotesk", sans-serif;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 160px;
}

body {
    font-family: var(--template-font);
}

h1 {
    font-size: var(--size-h1) !important;
}

h2 {
    font-size: var(--size-h2) !important;
}

h3 {
    font-size: var(--size-h3) !important;
}

h4 {
    font-size: var(--size-h4) !important;
}

h1,
h2,
h3,
.h1,
.h2,
.h3,
.h4,
.content h4,
.category-title,
.p-detail-inner h1,
h1,
h4.homepage-group-title,
.h4.homepage-group-title,
.products-related-header,
.in-klient h1,
.affiliate-page h1 {
    font-family: var(--template-headings-font) !important;
    letter-spacing: 1.5px;
}

@media (min-width: 768px) {
    #header .site-name img {
        width: 100%;
    }

    .top-navigation-bar {
        display: none;
    }

    #header {
        background-color: #f7f5e9;
        box-shadow: none;
        border: none;
    }

    #header::before {
        display: inline-block;

        content: "";
        position: absolute;
        left: 50%;
        top: 100%;
        height: 50px;
        width: calc(100vw - var(--scrollbar-width));
        transform: translateX(-50%);

        background-color: #f7f5e9;
        border-top: 1px solid #b5c8ff55;
    }

    #header.fixed-menu::before {
        content: none;
    }

    a:hover,
    #header .navigation-buttons .btn .cart-price,
    .products .product .ratings-wrapper .stars .star,
    .product-top .p-detail-info .stars-wrapper .stars .star,
    .products .product .prices .price-final strong,
    .hp-middle-banner .middle-banner-caption h2,
    ol.top-products li a strong,
    .categories .topic.active > a,
    .categories ul.expanded li.active a,
    .product-top .p-detail-info > div:last-child a,
    ol.cart-header li.active strong span,
    ol.cart-header li.completed a span,
    #checkoutSidebar .next-step .next-step-back,
    ul.manufacturers h2 {
        color: #000;
    }

    #header .header-top .top-nav-button-login:before,
    #header .navigation-buttons .btn:before,
    #header .search fieldset button {
        background-color: #b5c7ff;
    }

    #header .header-top .top-nav-button-login:hover:before,
    #header .navigation-buttons .btn:hover:before,
    #header .search fieldset button:hover {
        background-color: #c89fff;
    }

    #header .search fieldset input {
        border-color: #b5c7ff;
        border-radius: 50px 0 0 50px;
    }

    #header .search fieldset button {
        color: #000;
        border-radius: 0 50px 50px 0;
    }

    #header .navigation-buttons .btn:before {
        background-image: url("/user/documents/upload/kodovani/shopping-bag.svg");
    }
}

/*OBECNÉ*/

.extended-banner-link,
.btn.btn-primary,
.products-block.products .product button,
.products-block.products .product .btn,
.btn.unveil-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 50px !important;
    padding: 10px 30px !important;
    width: auto !important;
    height: auto !important;

    font-size: 16px !important;
}

.benefitBanner .benefitBanner__item {
    flex-direction: column;
    align-items: center;
    gap: 10px;

    width: calc(25% - 30px);
    margin: 0;
    padding: 0;
}

.benefitBanner .benefitBanner__item .benefitBanner__link {
    flex-direction: column;
    gap: 10px;
}

.benefitBanner {
    gap: 40px;

    margin-block: 40px !important;
}

.benefitBanner .benefitBanner__item .benefitBanner__picture {
    flex-shrink: 0;
    width: 150px;
    height: 150px;
    margin: 0;
}

.benefitBanner .benefitBanner__item .benefitBanner__picture img {
    aspect-ratio: 1/1;
}

.benefitBanner__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;

    text-align: center;
    line-height: 1.3;
}

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

/*CAROUSEL*/

#carousel {
    position: relative;
    width: calc(100vw - var(--scrollbar-width));
    left: 50%;
    transform: translateX(-50%);
    margin-bottom: 20px;

    border-radius: 0;
}

#carousel .item img {
    display: block;
}

/*TOP BANNERY*/

.next-to-carousel-banners {
    display: flex;
    gap: 20px;

    padding: 0;

    border: none;
}

.next-to-carousel-banners:before {
    content: none;
}

.next-to-carousel-banners .banner-wrapper > img,
.next-to-carousel-banners .banner-wrapper > a > img {
    padding-inline: 0;
}

.next-to-carousel-banners .banner-wrapper img {
    padding: 0;
}

.next-to-carousel-banners .banner-wrapper {
    flex-grow: 1;
    width: calc(50% - 10px);
    min-width: 200px;
}

/*KDO JSME*/

.body-banners {
    margin-top: 40px;
}

.body-banners > div {
    width: auto;
    margin-inline: auto;
}

.body-banners .banner-wrapper a > * {
    position: relative;
    z-index: 1;
}

.body-banners .banner-wrapper a[href="/#"] {
    pointer-events: none;
}

.body-banners .banner-wrapper a {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column-reverse;
    gap: 20px 60px;

    position: relative;
    padding: 40px 80px;

    border-radius: 30px;
    text-decoration: none;
}

.body-banners .banner-wrapper a::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: calc(100vw - var(--scrollbar-width));
    height: 100%;
    background-color: #f7f5e9;
}

.body-banners .extended-banner-texts {
    max-width: 600px;
    text-align: center;
}

.body-banners .banner-wrapper img {
    width: 600px;
}

.body-banners .extended-banner-text {
    display: block;

    font-size: 18px;
    line-height: 1.5;
}

.body-banners .extended-banner-title {
    display: block;

    margin-block: 0 20px;

    font-size: 1.6em;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.body-banners .extended-banner-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 115px;
    padding: 5px 15px;
    margin-top: 20px;

    border-radius: 40px;
    background-color: var(--color-primary);
    color: #fff;
    letter-spacing: 0.5px;
    transition: background-color ease 300ms;
}

.body-banners .extended-banner-link:hover {
    background-color: var(--color-primary-hover);
}

/*FOOTER*/

#footer {
    position: relative;
    margin-top: 80px;

    background-color: #ff5d4b;
    color: #fff;
}

.custom-footer > div.custom-footer__instagram {
    display: none;
}

footer ul li a {
    color: #fff !important;
}

body footer .container.footer-bottom .copyright,
body footer .container.footer-bottom .copyright a,
body footer .container.footer-bottom .copyright .podpis a,
body footer .container.footer-bottom .copyright .podpis {
    color: #fff;
}

body footer .container.footer-bottom {
    border-top-color: #f7f5e9;
}

#footer .copyright .podpis {
    display: none !important;
}

#footer #signature {
    display: flex;
    align-items: baseline;
    gap: 10px;

    font-size: 14px;
}

#footer #signature img.jankolonicny-logo {
    display: block;

    position: relative;
    top: 7px;
    width: 25px;
}

#footer #signature a.image img {
    width: 20px;
    position: relative;
    top: 5px;
}

#footer #signature a {
    margin-bottom: 0;
}

/*IG WIDGET*/

.myig {
    padding-bottom: 80px !important;
    margin-top: 100px !important;
}

.myig-title {
    text-align: center;
}

.myig-title h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    column-gap: 20px;

    margin: 0 0 20px;

    color: var(--color-primary);
    font-size: 60px;
    font-style: italic;
}

.ig-ico {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background-color: var(--color-primary);
    border-radius: 60px;
}

a.ig-ico:hover img {
    transform: scale(1.15);
}

.ig-ico img {
    width: 22px;
    height: 22px;
    object-fit: contain;

    transition: transform ease 300ms;
}

.myig-posts {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;

    margin-top: 25px;
}

.myig-posts a {
    width: calc(25% - 18.75px);
    aspect-ratio: 1/1;

    overflow: hidden;
}

.myig-posts a:hover img {
    transform: scale(1.05);
}

.myig-posts img {
    width: 100%;
    height: 100%;
    object-fit: cover;

    border-radius: 12px;
    transition: transform ease 300ms;
}

/*KATEGORIE*/

.products-top-wrapper .button-wrapper .toggle-top-products {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 20px;

    text-decoration: none;
    line-height: 1;
    background-color: var(--color-primary);
    border: none;
    color: #fff;
    border-radius: 50px;
}

/*DETAIL PRODUKTU*/

.product-top .social-buttons-wrapper {
    display: none;
}

.product-top .add-to-cart button.add-to-cart-button {
    font-size: 1.2em;
    border-radius: 0 50px 50px 0 !important;
}

.type-detail .extended-description {
    display: none;
}

/*DRBKY*/

.shp-tabs-holder {
    border-radius: 50px;
}

.content-wrapper.homepage-box.before-carousel {
    margin-bottom: 0;
}

button {
    font-family: var(--template-font);
}

.add-to-cart-button.btn {
    background-color: var(--color-primary);
}

.add-to-cart-button.btn:hover {
    background-color: #000;
}

.button,
.products .product button,
a.btn,
.products .product .btn,
.btn.btn-primary,
form button:not(.decrease) {
    border-radius: 90px;
}

/*PRODUKTY*/

.products-block.products:not(.slick-slider) {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.products-block.products .product {
    width: 100%;
}

/*RESPO*/

@media (max-width: 1439px) {
    .products-block.products {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 1199px) {
    :root {
        --size-h1: 30px;
        --size-h2: 26px;
        --size-h3: 22px;
        --size-h4: 18px;
    }
    .next-to-carousel-banners .banner-wrapper {
        margin-bottom: 0;
    }

    #carousel {
        margin-inline: 0;
    }
    .next-to-carousel-banners {
        gap: 10px;

        position: relative;
        width: calc(100vw - var(--scrollbar-width));
        left: 50%;
        transform: translateX(-50%);
    }

    #carousel {
        margin-bottom: 10px;
    }

    .next-to-carousel-banners .banner-wrapper {
        width: calc(50% - 5px);
    }

    .benefitBanner .benefitBanner__item .benefitBanner__picture {
        width: 75px;
        height: 75px;
    }

    .benefitBanner .benefitBanner__item .benefitBanner__title {
        min-height: unset;

        font-size: 14px;
    }

    .benefitBanner .benefitBanner__item {
        min-width: unset;
    }

    .benefitBanner__data {
        font-size: 13px;
    }

    .myig-title h2 {
        font-size: 40px;
    }

    .ig-ico {
        margin-top: 12px;
    }

    #footer {
        margin-top: 60px;
    }

    .pretitle {
        font-size: 18px;
    }
}

@media (max-width: 991px) {
    .myig-posts {
        gap: 20px;
    }

    .myig-posts a {
        width: calc(25% - 15px);
    }

    .benefitBanner {
        margin-block: 30px !important;
        gap: 25px;
    }

    .benefitBanner .benefitBanner__item {
        width: calc(25% - 18.75px);
    }

    .body-banners .banner-wrapper a {
        max-width: 550px;
        padding: 40px 0px;
        margin-inline: auto;
    }

    .body-banners .banner-wrapper img {
        max-width: 100% !important;
    }

    .body-banners .extended-banner-texts {
        text-align: center;
    }

    .pretitle {
        font-size: 16px;
    }

    .cream-types__inner {
        gap: 40px;
    }

    .cream-types,
    .find,
    .pros {
        margin-block: 50px;
    }

    .find-inner {
        gap: 60px;
    }

    .find-inner img {
        height: 70px !important;
    }

    .pros-inner {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    #header #navigation {
        background-color: #f7f5e9;
    }

    .myig-posts a {
        width: calc(50% - 10px);
    }

    .top-navigation-bar {
        height: 0px;
    }

    .top-navigation-bar .nav-part .responsive-tools a[data-target="navigation"] {
        top: 14px;
    }

    #header {
        top: 0 !important;
        background-color: #f7f5e9;
    }

    .in-index #content-wrapper {
        padding-top: 60px !important;
    }

    #header .header-top .top-nav-button-login {
        display: block;
    }

    .responsive-tools > a:not([data-target="navigation"]) {
        display: none;
    }

    #header .header-top .top-nav-button-login {
        top: 14px;
        right: 60px;
    }

    #header .header-top .top-nav-button-login:before {
        top: 0;
    }

    #header .navigation-buttons .btn::before {
        background-image: url("/user/documents/upload/kodovani/shopping-bag.svg");
        background-color: #b5c7ff;
    }

    #header .header-top .top-nav-button-login:before {
        background-color: #b5c7ff;
    }

    .popup-widget.cart-widget {
        top: 60px;
    }

    .benefitBanner {
        gap: 40px 20px;
    }

    .benefitBanner .benefitBanner__item {
        width: calc(50% - 10px);
    }

    .myig {
        margin-top: 60px !important;
    }

    .myig-title h2 {
        font-size: 30px;
    }

    .ig-ico {
        margin-top: 6px;
    }

    .body-banners .extended-banner-text {
        font-size: 16px;
    }

    .body-banners .extended-banner-text br {
        display: none;
    }

    .cream-type {
        max-width: 200px;
    }

    .products-block.products {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 499px) {
    .myig-posts {
        gap: 10px;
    }

    .myig-posts a {
        width: calc(50% - 5px);
    }

    .benefitBanner {
        flex-wrap: nowrap;

        margin-inline: -7px !important;
        padding-inline: 7px;
        width: calc(100% + 14px);
        overflow: auto;

        scrollbar-width: none;
    }

    .benefitBanner::-webkit-scrollbar {
        display: none;
    }

    .benefitBanner .benefitBanner__item {
        flex-shrink: 0;

        width: 210px;
        max-width: 80%;
    }

    #header .header-top .top-nav-button-login {
        right: 50px;
    }

    .cream-type {
        flex-grow: 1;

        width: 240px;
        max-width: 100%;
    }

    .cream-types__inner {
        gap: 20px;
    }

    .little-inner img {
        max-width: 160px !important;
    }

    .products-block.products {
        grid-template-columns: repeat(1, 1fr);
    }

    .products-block.products .product {
        padding: 0 !important;
        margin: 0 !important;
    }
}
