/* variables */
:root {
    /*--main-font: 'Open Sans', sans-serif;*/
    --main-color-dark: #262626;
    --main-color: #727272;
    --text-color: #000;
    --text-muted-color: var(--grey-color);
    --grey-color: #B4B4B4;
    --white-color: #FFFFFF;
    --grey-dark-color: #393939;


    --accent-color: #000;
    --attention-color: #9E0C0C;
    --muted-color: #727272;
    --muted-selected-color: var(--text-color);
    --unmuted-color: #FFF;
    --light-border-color: #D9D9D9;

    --light-button-color: #E8E8E8;

    --header-active-color: #E50505;
    --grey-dark-color: #393939;

    --accent-color: #0186C2;

    --bg-color: #E4EAED;
    --input-bg-color: #0186C2;

    --social-icon-bg: white;
    --social-icon-text: #30312e;
    --body-color: white;
    --from-bg-color: #00000020;

    --nav-landing-bg: #f9f9f9;
    --nav-landing-link: #666666;
    --nav-landing-link-hover: #333333;
    --nav-landing-link-hover-bg: #eeeeee;
    --nav-landing-bigimage-bg: #52698166;
    --nav-landing-bigimage-link: #ffffffbf;
    --nav-landing-bigimage-link-hover: #ffffff;
    --nav-landing-bigimage-link-hover-bg: #52698180;
    --nav-landing-bigimagelight-bg: #ffffff66;
    --nav-landing-bigimagelight-link: #525252bf;
    --nav-landing-bigimagelight-link-hover: #585858;
    --nav-landing-bigimagelight-link-hover-bg: #ededed80;

    --logo-main: url('/assets/images-default-template/logo-header.png');
    --logo-nav: url('/assets/images-default-template/logo-nav.svg');
    --logo-footer: url('/assets/images-default-template/logo-footer.png');
    --icon-cart: url('/assets/images-default-template/icons/cart.svg');

    --main-font: 'Philosopher', sans-serif;
    --accent-font: 'Open Sans', sans-serif;

    --container-width: 982px;
    --container-mobile-padding: 20px;

    --font-size-small: 13px;
    --font-size-middle: 15px;
    --accent-300: #0073ea;

    --promo-list-gradient: linear-gradient(0deg, rgba(0, 0, 0, 0.6) 00%, rgba(255, 255, 255, 0) 50%), linear-gradient(0deg, rgba(0, 0, 0, 0.3) 25%, rgba(255, 255, 255, 0) 50%);
}

.header .box .logo {
    background-image: var(--logo-main);
    height: 50px;
    min-width: 50px;
}

.header.header-type-landing.big-image.dark .box .logo {
    /* сюда можно указать путь, и закомментировать инверсию логтипа */
    filter: grayscale(1) brightness(0) invert(1);
}

.header .nav .logo {
    background-image: var(--logo-nav);
}


/* cart */
.cart::before {
    width: 21px;
    height: 25px;
    background-image: var(--icon-cart);
}

.header.header-type-landing.big-image.dark .box .cart::before {
    /* сюда можно указать путь, и закомментировать инверсию логтипа */
    filter: grayscale(1) brightness(0) invert(1);
}

/* home */
.grid .banner {
    background-image: url("/assets/images-default-template/main-first-banner-desktop.jpg");
}

/* social */
.social .wrapper {
    background-image: url("/assets/images-default-template/social/subscribe-banner-desktop.jpg");
}

.social .title, .social .text {
    color: var(--white-color);
}

.footer {
    /*background-color: var(--main-color-dark);*/
}


.footer .logo {
    display: none;
    width: 99px;
    height: 105px;

    background-image: var(--logo-footer);
}



@media screen and (max-width:768px) {
    .grid .banner {
        background-image: url("/assets/images-default-template/main-first-banner-mobile.jpg");
    }

    .social .wrapper {
        background-image: url("/assets/images-default-template/social/subscribe-banner-mobile.jpg");
        background-position: center bottom;
    }

    .footer .logo {
        width: 85px;
        height: 90px;
    }
}

/* general */
body {
    font-family: var(--accent-font);
    font-size: 16px;
    background: var(--body-color);
    color: var(--text-color);
}

.display-none {
    display: none;
}

form .error {
    color: var(--attention-color);
    margin-top: 0;
    margin-bottom: 15px;
}

form .error .empty {
    display: none;
}

form textarea.error {
    border-color: var(--attention-color) !important;
}

@media screen and (min-width:1200px) {
    body.enable-zoom {
        zoom: 110%;
    }
}

@media screen and (min-width:1300px) {
    body.enable-zoom {
        zoom: 120%;
    }
}

.container {
    max-width: calc(var(--container-width) + (var(--container-mobile-padding) * 2));
    width: 100%;

    padding: 0 var(--container-mobile-padding);

    margin: 0 auto;
}

.page-grid {
    margin: 60px 0 0 0;
}

.page-grid>.container>.wrapper {
    display: grid;
    grid-template-columns: 200px minmax(0, 1fr);
    gap: 30px;
}

.page-grid>.container>.wrapper.menu-at-top {
    grid-template-columns: minmax(0, 1fr);
}

.page-grid>.container>.wrapper.menu-only-subcategory-list {
    grid-template-columns: minmax(0, 1fr);
}

.page-grid .main .title {
    font-family: var(--accent-font);
    font-size: 20px;
    line-height: 25px;
    text-transform: uppercase;

    color: var(--main-color);

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.page-grid .main .text {
    font-family: var(--accent-font);
    font-size: 14px;
    line-height: 22px;

    color: #434343;
}

.page-grid .main .title::after {
    content: '';
    width: 30px;
    height: 4px;
    display: block;

    background-color: var(--accent-color);
}

.page-grid .block {
    margin-bottom: 30px;
}

.page-grid .block:last-child {}

.page-grid .block>.img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    max-height: 725px;
}

.page-wrapper {
    min-height: 100vh;

    display: flex;
    flex-direction: column;

    overflow: hidden;
}

.page-wrapper .content {
    flex-grow: 1;
}

.page-wrapper .h1 {
    font-family: var(--accent-font);
    font-size: 20px;
    line-height: 25px;
    text-transform: uppercase;
    color: var(--main-color);
    flex-direction: column;
    gap: 10px;
}

.page-wrapper .h1::after {
    content: '';
    width: 30px;
    height: 4px;
    display: block;
    background-color: var(--accent-color);
}

.page-wrapper .h1-description {
    font-size: 12px;
    margin-top: 10px
}

.burger {
    display: block;
    width: 25px;
    height: 17px;

    position: relative;
}

.burger .item {
    position: absolute;
    left: 0;

    width: 100%;
    height: 2px;
    border-radius: 3px;
    display: block;

    background-color: var(--main-color);
}

.header.header-type-landing.big-image.dark .burger .item {
    background: white;
}

.burger .item:nth-child(1) {
    top: 0;
}

.burger .item:nth-child(2) {
    top: calc(50% - .5px);
}

.burger .item:nth-child(3) {
    top: calc(100% - 1px);
}

.breadcrumbs .list {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 10px;
}

.breadcrumbs .list .item {
    color: var(--grey-color);

    font-family: var(--accent-font);
    font-size: 12px;
    line-height: 15px;

    text-transform: uppercase;

}

.breadcrumbs .list .item:not(:last-child)::after {
    content: '/';
    margin: 0 5px;
}

/* aside */
.aside .title {
    font-family: var(--accent-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 25px;

    color: #434343;

    text-transform: uppercase;
}

.aside .nav {
    margin: 10px 0 30px 0;
}

.aside .nav .list {
    display: flex;
    flex-direction: column;
}

.wrapper.menu-at-top .aside {
    display: block;
}

.aside .nav.category-menu-at-top .list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px 20px;
    flex-direction: row;
}

.aside .nav.category-menu-at-top .list .item a {
    font-size: 15px;
    line-height: 1;
    color: #282828;
    margin: 0;

    padding: 10px 20px;
    display: block;
}

.aside .nav.category-menu-at-top .list .item a.selected, .aside .nav.category-menu-at-top .list .item a:hover {
    color: #7099B5;
}

.aside .nav.category-menu-at-top .submenu:not(:empty) {

    border-top: 1px solid #D9D9D9;

    padding-top: 20px;
    margin-top: 20px;
}

.aside .nav.category-menu-at-top .submenu {
    gap: 5px;
    flex-wrap: wrap;
    display: flex;
    justify-content: space-around;
}

.aside .nav.category-menu-at-top .submenu .item a {
    padding: 10px;
    font-size: 13px;
    line-height: 1;
    color: #444;
    border: 1px solid transparent;
    display: block;
}

.aside .nav.category-menu-at-top .submenu .item a.selected, .aside .nav.category-menu-at-top .submenu .item a:hover {
    color: #7099B5;
    border-color: #7099B5;
}

@media screen and (max-width: 768px) {
    .aside .nav.category-menu-at-top .list, .aside .nav.category-menu-at-top .submenu {
        flex-wrap: nowrap;
        overflow: auto;
        justify-content: flex-start;

        scrollbar-width: none;
    }

    .aside .nav.category-menu-at-top .list::-webkit-scrollbar, .aside .nav.category-menu-at-top .submenu::-webkit-scrollbar {
        display: none;
    }

    .aside .nav.category-menu-at-top .list .item {
        flex-shrink: 0;
    }

    .aside .nav.category-menu-at-top .submenu {
        flex-wrap: nowrap;
        overflow: auto;
    }

    .aside .nav.category-menu-at-top .submenu .item {
        flex-shrink: 0;
    }
}

.aside .nav .list .item .link {
    font-family: var(--accent-font);
    font-size: 12px;
    line-height: 24px;
    font-weight: 600;

    color: var(--main-color);

    transition: .3s color;


    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;

    margin: 8px 0;
    font-size: 13px;
    line-height: 140%;
    white-space: normal;
}

.aside .nav .list .item .link:hover,
.aside .nav .list .item .link.selected {
    color: var(--accent-color);
}

.aside .nav .list .item .list .item .link {
    font-size: 11px;
    margin: 4px;
}

/* header */
.header {
    z-index: 10;
    --wrapper-top-padding: 30px;
    --wrapper-bottom-padding: 30px;
}

.header .wrapper {
    padding: 20px 0 30px 0;


    border-bottom: 1px solid #D9D9D9;
}

.header.header-type-landing.big-image .wrapper {
    border: 0;
}

.header .box,
.header .nav .list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.header .nav {
    margin: 30px 0 0 0;
}

.header .nav .list .item {
    position: relative;

    transition: .3s color;

    flex-shrink: 0;

    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.header .nav .list .item .link {
    font-family: var(--main-font);
    font-size: var(--font-size-small);
    font-weight: 700;

    text-transform: uppercase;

    display: flex;
    align-items: center;
    justify-self: center;
}

.header .nav .list .item:hover .list {
    transition-delay: 0s;
}

.header .nav .list .item .submenu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    transition-duration: var(--header-large-submenu-transition-duration);
    transition-delay: var(--header-large-submenu-transition-delay);
    border-top: 1px solid var(--light-border-color);
    top: 100%;
    left: 0;
    padding: 1em 1.3em;
    background: white;
    z-index: 20;
}

.header .nav .list .item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
}

.header .nav .list .list {
    z-index: 10;

    flex-direction: column;
    align-items: flex-start;
}

.header .nav>.list>.item .submenu+.submenu-dark-bg {
    content: '';
    display: none;
    background: rgb(0 0 0 / 26%);
    width: 100%;
    height: calc(100vh - var(--wrapper-top-padding) - var(--wrapper-bottom-padding) - 1em);
    position: absolute;
    left: 0;
    bottom: 0;
    z-index: 10;
    pointer-events: none;

    opacity: 0;
    transition-duration: var(--header-large-submenu-transition-duration);
    transition-delay: var(--header-large-submenu-transition-delay);
}

.header .nav>.list>.item:hover .submenu+.submenu-dark-bg {
    opacity: 1;
    transition-delay: 0s;
}

/* .header.header-large-submenu .submenu + .submenu-dark-bg {
    display: block;
} */

.header .nav .list .item .submenu .list-with-images {
    display: flex;
    flex-direction: row;
    height: 100%;
    gap: 41px;
}

.header .nav .list .item .submenu .list-with-images .item {
    flex-grow: 1;
    flex-shrink: 0;
    align-items: center;
    gap: 30px;
}

.header .nav .list .item .submenu .list-with-images .item .cover {
    height: 100%;
    width: 100%;
    background-image: var(--img-cover);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.header .nav .list .item .submenu .list-with-images .item .cover img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.header .nav .list .item:nth-last-child(3) .list, .header .nav .list .item:nth-last-child(2) .list, .header .nav .list .item:last-child .list {
    right: 0;
    left: unset;
}

.header .nav .list .list .item {
    overflow: hidden;
    max-width: 100%;
}

.header .nav .list .list .link {
    text-overflow: ellipsis;
}

.header .box {
    position: relative;
    min-height: 83px;
}

.header .box .row {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header .box .row .contact {
    margin: 0;
}

.header .box .row .contact+.cart {
    padding-left: 15px;
    border-left: 1px solid var(--grey-color);
    margin: 0;
}

.header .box .contact .phone {
    color: #242424;
    font-weight: 300;
    font-size: 25px;
    line-height: 96%;
    letter-spacing: -0.03em;

    text-align: right;
}

.header.header-type-landing.big-image.dark .box .contact .phone {
    color: white;
}

.header .box .contact .text {
    font-size: 15px;
    line-height: 160%;
    color: #939393;

    text-align: right;
}

.header.header-type-landing.big-image.dark .box .contact .text {
    color: #ffffffa6;
}

.header .box .logo {
    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    position: absolute;
    left: 50%;
    top: 50%;

    transform: translate(-50%, -50%);

    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.header {
    background-size: cover;
    background-position: top center;
}

.header.big-image .category-name {
    font-size: 30px;
    text-align: center;
    margin-top: 60px;
}

.header.header-type-landing.big-image.dark .category-name {
    color: white;
}

.header.big-image .category-description {
    text-align: center;
    margin-top: 10px;
}

.header.header-type-landing.big-image.dark .category-description {
    color: #ffffffa6;
}

.header .nav .list .item {
    color: var(--main-color-dark);
}

/* header type compact */
@media screen and (min-width: 769px) {
    .header.header-type-compact .wrapper {
        display: grid;
        grid-template-columns: 100px 1fr max-content;
        align-items: center;
        gap: 60px;
    }

    .header.header-type-compact .wrapper .nav {
        margin-top: 0;
    }

    .header.header-type-compact .wrapper .box .row {
        display: none;
    }

    .header.header-type-compact .wrapper .box {
        min-height: 0;
    }
}

/* header type landing */
.header.header-type-landing.header {
    position: relative;
}

.header.header-type-landing.header.big-image {
    min-height: 390px;
}

.header.header-type-landing .nav {
    position: absolute;
    z-index: 6;
    left: 0;
    top: 0;
    width: 100%;

    padding: 0 50px;

    background: var(--nav-color-bg-landing);
    display: flex;

    margin: 0;
}

.header.header-type-landing .nav>.list {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    width: 100%;
}

.header.header-type-landing .nav .list .item {
    flex-shrink: 0;
}

.header.header-type-landing .nav .list>.item .link {
    font-family: 'Roboto', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: var(--grey-dark-color);

    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: unset;
}

.header.header-type-landing .nav .list .item .link {
    color: var(--white-color);
}

.header.header-type-landing .nav .list .item .list {
    align-items: flex-start;
}

.header.header-type-landing .nav .list .item .list .link {
    color: var(--nav-color-text-landing);
    justify-content: flex-start;
    align-items: flex-start;
}

@media screen and (min-width: 769px) {
    .header .box .logo.logo-left {
        left: 0;
        transform: translateY(-50%);
    }

    .header.header-type-landing {
        padding-top: 40px;
    }

    .header.header-type-landing .nav {
        height: 40px;
        align-items: center;
        justify-content: center;
        background-color: var(--nav-landing-bg);
    }

    .header.header-type-landing.big-image .nav {
        background: var(--nav-landing-bigimage-bg);
    }

    .header.header-type-landing.big-image.light .nav {
        background: var(--nav-landing-bigimagelight-bg);
    }

    .header.header-type-landing .nav>.list>.item>.link {
        height: 40px;
        padding: 0 12px;
        color: var(--nav-landing-link);
    }

    .header.header-type-landing.big-image .nav>.list>.item>.link {
        color: var(--nav-landing-bigimage-link);
    }

    .header.header-type-landing.big-image.light .nav>.list>.item>.link {
        color: var(--nav-landing-bigimagelight-link);
    }

    .header.header-type-landing .nav>.list>.item>.link:hover {
        background: var(--nav-landing-link-hover-bg);
        color: var(--nav-landing-link-hover);
    }

    .header.header-type-landing.big-image .nav>.list>.item>.link:hover {
        background: var(--nav-landing-bigimage-link-hover-bg);
        color: var(--nav-landing-bigimage-link-hover);
    }

    .header.header-type-landing.big-image.light .nav>.list>.item>.link:hover {
        background: var(--nav-landing-bigimagelight-link-hover-bg);
        color: var(--nav-landing-bigimagelight-link-hover);
    }
}

@media screen and (max-width: 768px) {
    .header .box .contact {
        display: none;
    }

    .header.header-type-landing .nav {
        position: fixed;
        background: var(--main-color-dark);
        padding: 40px;
        flex-direction: column;
        align-items: flex-start;
    }

    .header.header-type-landing .nav .list {
        align-items: flex-start;
    }

    .header.header-type-landing .nav>.list {
        gap: 20px;
    }

    .header.header-type-landing .nav .list>.item .link {
        justify-content: flex-start;
    }

    .header.header-type-landing .nav .list .item .list .link {
        color: var(--white-color);
    }
}

/* submenu type large */

@media screen and (min-width: 769px) {
    .header-large-submenu.header {
        transition-delay: .15s;
        transition-duration: .3s;
    }

    .header-large-submenu.header .nav .list .item {
        position: static;
    }

    .header-large-submenu:not(:has(.header.header-type-landing)) .wrapper {
        padding-bottom: 20px;
    }

    .header-large-submenu.header .nav .list .submenu {
        position: absolute;
        left: 0;
        top: 0;
        opacity: 0;
        visibility: hidden;
        width: 100%;
        border-top: 1px solid var(--light-border-color);
        transition-delay: .15s ;
        transition-duration: .3s;
    }

    .header-large-submenu.header .nav>.list>.item .submenu-dark-bg  {
        display: block;
        transition-delay: .15s;
        transition-duration: .3s;
        top: 0;
        height: 100vh;
    }

    .header.header-large-submenu.item-hovered {
        transition-delay: 0s;
    }

    .header.header-large-submenu .nav .list .item .submenu .container {
        padding: 0 var(--container-mobile-padding);
        display: grid;
        grid-template-columns: 1fr 2fr;
    }
}

@media screen and (max-width: 768px) {
    .header-large-submenu.header .box {
        display: contents;
    }
    
    .header-large-submenu.header .wrapper {
        display: grid;
        grid-template-columns: 1fr 80% 1fr;
        align-items: center;
        justify-items: center;
    }

    .header-large-submenu.header .box .logo {
        position: static;
        transform: translate(0);
        width: 80%;
    }
}

.header-large-submenu.header .box .row {
    display: none;
}

/* end submenu type large */

.header .burger {
    opacity: 0;
    visibility: hidden;
}


.logo .img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

.header .nav .logo {
    display: none;

    margin: 0 0 40px 0;

    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.header .nav .close {
    display: none;

    width: 20px;
    height: 20px;
    position: absolute;
    top: 40px;
    right: 40px;
}

.header .nav .close .item {
    width: 100%;
    height: 2px;

    border-radius: 3px;
    background-color: #fff;

    position: absolute;
    left: 0;
    top: 9px;
}

.header .nav .close .item:nth-child(1) {
    transform: rotate(45deg);
}

.header .nav .close .item:nth-child(2) {
    transform: rotate(-45deg);
}

/* cart */

.cart {
    display: flex;
    align-items: center;

    gap: 10px;
}

.cart::before {
    content: '';
    display: block;

    flex-shrink: 0;

    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.cart .counter {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    border-radius: 50%;
    border: 1px solid var(--grey-color);

    font-family: var(--main-font);
    font-size: var(--font-size-middle);
    color: var(--main-color-dark);
}

.header.header-type-landing.big-image.dark .cart .counter {
    color: white;
}

.cart .counter:empty, .cart .counter[data-count="0"] {
    width: 0px;
    overflow: hidden;
    border: none;
}

/* home */
.grid {
    margin-bottom: 30px;
}

.grid>.container>.wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.grid .card {
    width: 100%;
    height: 100%;

    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;
}

.grid .card .img {
    aspect-ratio: 1/1;
    object-fit: cover;
}

.grid .slider,
.grid .banner,
.grid .block {
    grid-column: 1/-1;

    margin: 0;
    position: relative;
}

.grid .slider .slick-dots {
    position: absolute;
    bottom: 14px;
    left: 0;

    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.grid .slider .slick-dots li {
    flex-shrink: 0;

    width: 9px;
    height: 9px;

    margin: 0;
    padding: 0;
}

.grid .slider .slick-dots li button {

    margin: 0;
    padding: 0;

    width: 100%;
    height: 100%;

    background-color: #fff;
    border: 1px solid #fff;

    border-radius: 50%;

    transition: .3s background-color;
}

.grid .slider .slick-dots li button::before {
    display: none;
}

.grid .slider .slick-dots li.slick-active button {
    background-color: transparent;
}

.grid .slider .item {
    height: 410px;
}

.grid .slider .img {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center center;
}

.grid .banner {
    padding: 50px;

    display: flex;
    flex-direction: column;
    justify-self: center;
    align-items: center;

    text-align: center;

    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;

    width: 100%;

    margin-top: -15px;
}

.grid .banner .title {
    font-family: var(--main-font);
    font-size: 22px;
    text-transform: uppercase;

    color: #fff;
}

.grid .banner .text {
    margin: 10px 0 0 0;

    font-family: var(--accent-font);
    font-size: var(--font-size-small);
    color: #fff;

}

.grid .banner .button {
    display: flex;
    align-items: center;
    justify-content: center;

    padding: 8px 33px;

    border: 1px solid #fff;

    font-family: var(--accent-font);
    font-size: var(--font-size-small);
    color: #fff;

    margin: 20px 0 0 0;
}

.grid .block .title {
    color: #434343;
    font-family: var(--accent-font);
    font-size: 20px;
    font-weight: 600;
    line-height: 30px;

    text-align: center;
    text-transform: uppercase;

    margin: 0 0 30px;
}

.product-grid {
    max-width: 755px;
    width: 100%;

    margin: 0 auto;
}

.product-grid.two-col {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-article {
    grid-template-columns: inherit;
    max-width: 500px;
    margin-bottom: 20px;
}

.product-article .caption {
    text-transform: none;
    font-weight: 500;
    font-size: 22px;
    line-height: 30px;
    display: block;
}

.product-article .thumb {
    margin-bottom: 20px;
}

.product-article .thumb>div {
    cursor: pointer;
}

.product-article .description {
    all: inherit;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    font-size: 17px;
    line-height: 26px;
}

.product-article .image {
    aspect-ratio: 16/9;
    width: 100%;
    border-radius: 10px;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--bg-color);
}

@media screen and (max-width: 768px) {
    .product-grid.two-col {
        grid-template-columns: minmax(0, 1fr);
    }

    .product-article-grid {
        max-width: initial;
    }

    .grid>.container>.wrapper {
        grid-template-columns: 1fr;
    }
}

/* social banner */
.social {
    margin-bottom: 30px;
}

.social .wrapper {
    padding: 30px 60px;

    background-position: center right;
    background-size: cover;
    background-repeat: no-repeat;
}

.social .title {
    max-width: 300px;
    width: 100%;

    font-family: var(--accent-font);
    font-size: 29px;
    line-height: 35px;
    font-weight: 700;

    text-transform: uppercase;
}

.social .text {
    margin: 10px 0 0 0;

    font-family: var(--accent-font);
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    font-weight: 600;
}

.social .list {
    margin: 30px 0 0 0;

    display: flex;
    align-items: center;
    gap: 15px;
}

.social .list .item {
    flex-shrink: 0;
}

.social .list .link {
    display: block;
    align-items: center;
    justify-self: center;
    width: 35px;
    height: 35px;
    background-size: cover;
    background-color: var(--social-icon-bg);
    text-align: center;
    border-radius: 35px;
    line-height: 35px;
    font-size: 22px;
    color: var(--social-icon-text);
}

/* contact */

.contact {
    margin-bottom: 30px;
}

.contact .wrapper {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    gap: 40px;
}

.contact .title:not(:last-child) {
    margin: 0 0 30px 0;
}

.contact .list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact .text {
    font-family: var(--accent-font);
    font-size: 14px;
    line-height: 17px;
    font-weight: 400;

    color: var(--text-color);
}

.contact .title {
    font-family: var(--accent-font);
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;

    color: var(--text-color);

    text-transform: uppercase;
}

.contact .form {
    padding: 30px 60px 60px 60px;

    background-color: var(--bg-color);
}

.contact .form .inputs {
    max-width: 580px;
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact .form .input {
    width: 100%;
    height: 46px;

    background: #FFF;
    border: 1px solid rgba(0, 0, 0, 0.20);

    padding: 16px;

    font-family: var(--accent-font);
    font-size: 11px;
    color: var(--text-color);
}

.contact .form .input::placeholder {
    text-transform: uppercase;
    color: var(--grey-color);
}

.contact .form textarea.input {
    height: 164px;
    resize: none;
}

.contact .form .submit {
    margin: 30px 0 0 0;

    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact .form .button {
    -webkit-appearance: none;
    outline: none;
    border: none;

    padding: 10px 35px;

    background-color: var(--accent-color);

    font-family: var(--accent-font);
    font-size: 12px;
    line-height: 16px;

    color: #fff;
    text-transform: uppercase;

    width: max-content;
}

.contact .form .text {
    font-family: var(--accent-font);
    font-size: 13px;
    line-height: 16px;
    color: var(--text-color);

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

/* footer */


.footer .wrapper {
    padding: 50px 0;
}

.footer .logo {
    margin: 0 auto;

    background-size: contain;
    background-position: center center;
    background-repeat: no-repeat;
}

.footer .nav {
    margin: 80px 0 0 0;
}

.footer .nav .list {
    flex-direction: column;
    flex-wrap: wrap;
    min-height: 42px;
    display: grid;
    grid-template-columns: repeat(var(--var-footer-column-count), minmax(0, 1fr));
    gap: 10px;
}

.footer .nav .list .item {
    font-family: var(--main-font);
    font-size: 13px;
    line-height: 16px;
    color: inherit;

    text-transform: uppercase;
}

.footer .copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 30px 0 0 0;
    padding: 30px 0 0 0;

    border-top: 1px solid #fff;
}

.footer .copyright .text {
    font-family: var(--main-font);
    font-size: 10px;
    line-height: 13px;

    text-transform: uppercase;
    color: inherit;
}

/* product */

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
}

.product-compact-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid.big {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media screen and (max-width: 768px) {
    .product-grid.big {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.product .wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
    height: 100%;
}

.product .price {
    margin: auto 0 0 0;
}

.product .img {
    width: 100%;
    aspect-ratio: 1/1;
    background-position: center center;
    background-repeat: no-repeat;
}

.product .img.cover {
    background-size: cover;
}

.product .img.contain {
    background-size: contain;
}

.product .name {
    padding: 0 16px;

    color: var(--main-color);
}

.product a:hover .name {
    text-decoration: underline;
}

.product .name,
.product .price {
    font-family: var(--accent-font);
    font-size: 12px;
    line-height: 17px;
    font-weight: 600;

    text-align: center;
}

.product .price {
    color: var(--accent-color);
}

.product .price .old {
    color: #A0A0A0;
    text-decoration: line-through;
}

.compact-product {
    padding: 10px;
    border: 1px solid #dde0d9;
}

.compact-product:first-of-type {
    border-right: none;
}

.compact-product:last-of-type {
    border: 1px solid #dde0d9 !important;
}

.compact-product {
    padding: 10px;
    border: 1px solid #dde0d9;
}

.compact-product:first-of-type {
    border-right: none;
}

.compact-product .name {
    font-family: var(--accent-font);
    font-size: 12px;
    line-height: 17px;
    font-weight: 600;
    text-align: left;
}

.compact-product .price {
    font-family: var(--accent-font);
    font-size: 12px;
    line-height: 17px;
    font-weight: 600;
    text-align: left;
    color: var(--accent-color);
}

.compact-product .price .price .old {
    color: #A0A0A0;
    text-decoration: line-through;
}

.compact-product .description {
    font-size: 12px;
    color: var(--text-color);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    box-orient: vertical;
}

.compact-product a .name:hover {
    text-decoration: underline;
}

/* cart */
.cart-page {
    margin: 30px 0 30px 0;
}

.cart-page>.container>.wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
}

.cart-page .block .title,
.cart-page .form .title {
    font-family: var(--accent-font);
    font-weight: 600;
    font-size: 20px;
    line-height: 25px;

    color: #434343;

    text-transform: uppercase;
}

.cart-page .title:not(:last-child),
.cart-page .form .title:not(:last-child) {
    margin: 0 0 30px 0;
}

.cart-page .block .list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-page .block .list .empty {
    background: #fbfbfb;
    border: 1px solid #f6f5f5;
    display: block;
    height: 200px;
    text-align: center;
    line-height: 200px;
    font-family: var(--main-font);
    font-size: 14px;
    color: #aaaaaa;
}

.cart-page .form .title {
    font-weight: 400;
}


.cart-page .form input, .cart-page .form textarea, .cart-page .form select {
    width: 100%;
    height: 46px;
    padding: 0px 11px;
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.20);
    font-family: var(--accent-font);
    color: var(--main-color);
    font-size: 16px;
    font-weight: 400;
    line-height: 46px;
}

.cart-widget-list-no-gap .cart-product:first-child {
    border-top: 1px solid #BEBCBC21;
}
.cart-widget-list-no-gap .cart-product {
    border-bottom: 1px solid rgba(0, 0, 0, 0.20);
}

.cart-widget-list-no-gap .cart-product .box {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: none;
    align-self: flex-start;
}

.cart-widget-list-no-gap .cart-product .info {
    display: grid;
    align-items: flex-start;
    grid-template-columns: 1fr max-content 1fr;
    font-size: 13px;
}

.cart-widget-list-no-gap .cart-product .name {
    font-weight: 600;
    font-size: 13px;
    line-height: 100%;
    color: var(--text-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 6px;
}

.cart-widget-list-no-gap .cart-product .param {
    font-weight: 500;
    font-size: 13px;
    line-height: 100%;
        color: var(--text-muted-color);
}

.cart-widget-list-no-gap .cart-product .param-name {
    color: var(--text-muted-color);
}

.cart-widget-list-no-gap .cart-product .amount-title {
    text-transform: uppercase;
    margin-bottom: 6px;
}

.cart-widget-list-no-gap .cart-product .price, .cart-widget-list-no-gap .cart-product .old_price  {
    font-weight: 500;
    font-size: 13px;
    line-height: 100%;
    text-transform: uppercase;
}

.cart-widget-list-no-gap .cart-product .price> :first-child, .cart-widget-list-no-gap .cart-product .old_price > :first-child {
    font-weight: 500;
    font-size: 11px;
    line-height: 100%;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.cart-widget-list-no-gap .cart-product .modifier {}

.cart-widget:has(.cart-product) .empty {
    display: none !important;
}



.cart-product {
    display: flex;
    align-items: center;
    gap: 30px;

    padding: 25px 0;

    position: relative;
}

.cart-product .img {
    width: 97px;
    height: 97px;

    object-fit: contain;
}

.cart-product .remove-container {
    position: absolute;
    bottom: 25px;
    right: 0;
}

.cart-page .clear-cart {
    text-transform: none;
}

.cart-product .remove-container, .cart-page .clear-cart {
    color: #969696;
    display: flex;
    gap: 5px;
    align-items: center;
    font-size: 13px;
    line-height: 1;
    cursor: pointer;
}

.cart-product .prices {
    display: flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    margin-left: auto;
}

.cart-product .change-amount {
    display: flex;
    gap: 5px;
    align-items: center;
}

.cart-product .change-amount > * {
    padding: 5px;
    background-color: #EFEFEF;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cart-product .change-amount .product-amount {
    width: 36px;
    height: 25px;
}

.cart-product .change-amount .change-amount-btn {
    cursor: pointer;
    border-radius: 50%;
    height: 25px;
    width: 25px;
    aspect-ratio: 1;
}

.cart-product {
    font-family: var(--accent-font);
}

.cart-product .product-modifiers {
    grid-column: span 3;
}

.cart-product .product-modifiers .color {
    display: flex;
    gap: 5px;
    align-items: center;
}

.cart-product .product-modifiers .hex-color {
    border: var(--muted-color) 1px solid;
    height: 13px;
    aspect-ratio: 1/1;
    display: inline-block;
}

.cart-product .info {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.cart-product .price {
    flex-shrink: 0;
}

.cart-product .name {

    font-family: var(--accent-font);
    font-size: 13px;
    line-height: 15px;
    font-weight: 400;
    color: var(--main-color);


    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;

    text-overflow: ellipsis;
}

.cart-product .price {
    font-family: var(--accent-font);
    font-size: 16px;
    line-height: 1;
    font-weight: 700;
    color: var(--text-color);
}

.cart-product .old_price {
    text-decoration: line-through;
    color: var(--text-muted-color);
}

.cart-product .box {
    max-width: 290px;
    width: 100%;

    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-product .count {
    font-family: var(--accent-font);
    font-size: 13px;
    line-height: 15px;
    color: var(--main-color);
}

.cart-summary {
    margin: 30px 0 0 0;
    padding: 30px 0 0 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cart-summary .text {
    font-family: var(--accent-font);
    font-size: 20px;
    font-weight: 600;
    color: var(--main-color);

    text-transform: uppercase;
}

.cart-page .form .form-content {
    background-color: var(--from-bg-color);
    padding: 30px 24px 75px;
}

.cart-page .title-block {
    display: flex;
    justify-content: space-between;
}

.cart-page .form .list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.cart-page .form textarea {
    height: auto;
}

.cart-page .row {
    display: flex;
    flex-flow: row nowrap;
    align-items: flex-end;
}

.cart-page .row.expand-items>* {
    flex-grow: 1;
}

.cart-page .form input::placeholder,
.cart-page .form textarea::placeholder {
    color: var(--grey-color);
    text-transform: uppercase;
}

.cart-page .form textarea.input {
    resize: none;
    height: 100px;
}

.cart-page .form .submit {
    margin: 30px 0 0 0;
}

.cart-page .form .button {
    padding: 10px 35px;

    font-family: var(--accent-font);
    font-size: 12px;
    line-height: 16px;
    color: #fff;

    text-transform: uppercase;

    background: var(--accent-color);
    margin-bottom: 20px;
}

.cart-page .form .button:hover {
    cursor: pointer;
}

.cart-page .form .row.expand-items .input-wr.text {
    margin-right: 12px;
}

.cart-page .form .row.expand-items .input-wr.text:last-child {
    margin-right: 0;
}

/* gallery */

.gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 250px;
    gap: 0;
}

.gallery img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* single product */

.single-product {
    margin: 30px 0 0 0;
}

.single-product>.container>.wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 400px;
    gap: 70px;
    margin-bottom: 30px;
}

.single-product .info .title {
    font-family: var(--accent-font);
    font-size: 20px;
    line-height: 25px;
    color: var(--main-color);
    text-transform: uppercase;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-product .info .block+.direct-block {
    margin-top: 30px;
}

.single-product .info .direct-block .container {
    padding: 0;
}

.single-product .info .price{
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
}

.single-product .info .price .old {
    color: #A0A0A0;
    text-decoration: line-through;
}

.single-product .info .price .new {
    color: var(--accent-color)
}

.single-product .info .price {
    display: flex;
    align-items: center;
    gap: 15px;

    font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 16px;
}

.single-product .info .price .old {
    color: #A0A0A0;
    text-decoration: line-through;
}

.single-product .info .price .new {
    color: var(--accent-color)
}

.single-product .info .buttons {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 5px 0;
}

.single-product>.container>.wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.single-product.image-to-left-mode>.container>.wrapper {
    display: grid;
}

.single-product .info {
    max-width: 870px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-product .info .title {
    font-size: 33px;
    line-height: 1.2;
    color: #000;
}

.single-product .info .price {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.4;
    color: var(--main-color);
    display: flex;
    align-items: center;
    gap: 15px;
}

.single-product .info .price .old {
    text-decoration: line-through;
    color: #999;
}

.single-product .info .button {
    padding: 10px 35px;
    font-size: 15px;
    line-height: 1;
    color: #fff;
    background: var(--accent-color);
    border: 1px solid var(--accent-color)
}

.single-product .info .button.button-white {
    background-color: transparent;
    color: var(--accent-color);
}

.single-product .info .block {
    font-family: var(--accent-font);
    font-size: 14px;
    line-height: 20px;

    color: var(--main-color);
}

.single-product .box {
    margin: 30px 0 0 0;
    padding: 30px 0 0 0;

    border-top: 1px solid #D9D9D9;
    margin-bottom: 30px;
}

.single-product .box .title {
    position: relative;
    font-family: var(--accent-font);
    font-size: 20px;
    font-weight: 600;

    color: #434343;

    text-align: center;

    margin: 0 0 30px 0;
}

.single-product .box .title .close {
    position: absolute;
    right: 0px;
    top: -2px;
    display: inline-block;
    content: "";
    /* This will render the 'X' */
    width: 20px;
    height: 20px;
    opacity: 0.3;
    cursor: pointer;
}

.single-product .box .title .close:after, .single-product .box .title .close:before {
    position: absolute;
    content: ' ';
    height: 20px;
    width: 1px;
    background-color: #6d6d6d;
}

.single-product .box .title .close:after {
    transform: rotate(-45deg);
}

.single-product .box .title .close:before {
    transform: rotate(45deg);
}

.single-product .box .title .close:hover {
    opacity: 1;
    background: #f3f3f3;
}

.single-product .box .title:hover .close {
    opacity: 0.8;
}


.single-product .box>.wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 30px;
}

.single-product .box>.wrapper .block {
    max-width: 276px;
    width: 100%;
}

.single-product .box .wrapper .block .title {
    color: #A0A0A0;

    margin: 0 0 15px 0;

    font-family: var(--accent-font);
    font-size: 14px;
    font-weight: 600;
    line-height: 23px;
    text-transform: uppercase;

    text-align: left;
}

.single-product .box .wrapper .block ul {
    font-family: var(--accent-font);
    font-weight: 600;
    font-size: 12px;
    line-height: 18px;
    color: #A0A0A0;

    display: flex;
    flex-direction: column;
    gap: 10px;
}

.single-product .box .wrapper .block ul a {
    text-decoration: underline;
    display: block;
    margin-bottom: 4px;
    position: relative;
    padding-left: 13px;
}

.single-product .box .wrapper .block ul a:after {
    display: block;
    content: "●";
    position: absolute;
    top: 0;
    left: 1px;
    color: #d6cece;
}

.single-product .box .wrapper .block ul li {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}


.single-product .box .wrapper .block ul li::before {
    content: '';
    width: 7px;
    height: 7px;
    display: block;
    flex-shrink: 0;

    border-radius: 50%;

    background-color: #D9D9D9;

    transform: translateY(6px);
}

.single-product .box .slider {
    max-width: 750px;
    width: 100%;

    margin: 0 auto;
}

.single-product .box .slider .product a {
    margin: 0 10px;
}

.single-product .box .slider .product a img {
    margin-bottom: 10px;
}

/*.single-product .box .slider .slick-prev{
    left: -13px;
    width: 8px;
}*/
/*.single-product .box .slider .slick-next{
    right: -13px;
    width: 8px;
}*/
.single-product .long-description.wrapper {
    margin-bottom: 30px;
    width: 600px;
}

.single-product .product-desc {
    margin-bottom: 30px;
}

.single-product .product-2-left-photos .slider {
    grid-template-columns: 1fr;
    margin: 0 calc(-1 * var(--container-mobile-padding));
}

.single-product .product-2-left-photos .slick-dots {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 0;
}

.single-product .product-2-left-photos .slick-dots li {
    height: 4px;
    width: 23px;
    flex-basis: 23px;
}

.single-product .product-2-left-photos .slick-dots li button {
    width: 100%;
    height: 100%;
    padding: 0;
    display: block;
    background: #D9D9D9;
    transition-duration: 0.3s;
}

.single-product .product-2-left-photos .slick-dots li.slick-active button {
    background: black;
}

.single-product .product-2-left-photos .slider .img {
    aspect-ratio: var(--var-product-classic-aspect-ratio);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.product-carousel {
    margin-bottom: 63px;
}

.product-carousel .product {
    margin: 5px;
}

.product-carousel .slider>.product {
    display: none;
}

.product-carousel .slick-next,
.product-carousel .slick-prev {
    filter: invert(1);
    top: calc(50% - 40px);
    --slk-btn-offset: -25px;
}

.product-carousel .slick-prev {
    display: flex;
    justify-content: flex-end;
    left: var(--slk-btn-offset);
}

.product-carousel .slick-next {
    display: flex;
    justify-content: flex-start;
    right: var(--slk-btn-offset);
}


.product-slider {
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.product-slider .slider {
    margin: 0;
}

.product-slider .info {
    border: 1px solid #E1E1E1;
    border-top: 6px solid #7099B5;
    padding: 22px 30px;

    display: flex;
    flex-direction: column;
    gap: 10px;

    flex-grow: 1;
}

.product-slider .info .name {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.25;
    color: #000;
    text-decoration: none;
    text-align: left;

    padding: 0;
}

.product-slider .info .description {
    font-size: 15px;
    line-height: 1.6;
    color: #666;

    margin: 0;
}

.product-slider .info .price {
    font-size: 17px;
    font-weight: 700;
    color: #727272;

    display: flex;
    align-items: center;
    gap: 15px;
}

.product-slider .info .price .old {
    text-decoration: line-through;
    color: #999;
}

.product-slider .slider .img {
    height: 400px;
    object-fit: cover;
}

.product-slider .slider .img.square {
    aspect-ratio: 1/1;
    height: auto;
}

.product-slider .slider .slick-next,
.product-slider .slider .slick-prev {
    display: flex;
    align-items: center;
    justify-content: center;

    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, .5);
    z-index: 4;
}

.product-slider .slider .slick-next {
    right: 0;
}

.product-slider .slider .slick-prev {
    left: 0;
}

.product-slider .slider .slick-next::before,
.product-slider .slider .slick-prev::before,
.slick-next::before, .slick-prev::before {
    content: '';
    width: 8px;
    height: 15px;
    display: block;

    opacity: 1;

    background: url("/assets/images/icons/slider-arrow-right.svg") center center/contain no-repeat;
}

.product-slider .slider .slick-prev::before, .slick-prev::before {
    background: url("/assets/images/icons/slider-arrow-left.svg") center center/contain no-repeat;
}

.product-slider .more-slider-click {
    width: 80%;
    height: 55%;
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: 0 auto;
}

.product-slider .nav {
    margin: 30px 0 0 0;
}

.product-slider .nav .img {
    aspect-ratio: 1/1;

    object-fit: contain;
}

.product-slider .nav .slick-list {
    margin: 0 -10px;
}

.product-slider .nav .slick-slide {
    margin: 0 10px;
}

.product-slider .nav .slick-slide:first-child:last-child {
    display: none;
}

.product-slider .slider-with-classic .img {
    object-fit: cover;
}

.product-slider .slider-with-classic .slick-arrow::before {
    filter: contrast(0.5);
}

.product-slider .slider-with-classic .slick-prev {
    left: -15px;
}

.popup-cart {
    position: fixed;
    top: 50px;
    right: 0px;

    border-radius: 20px;
    background: #FFF;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);

    padding: 22px 20px 20px 20px;

    z-index: 10;

    display: none;

    width: 430px;
    right: 10px;

    max-width: 430px
}

.popup-cart.active {
    display: block;
}

.popup-cart .close {
    position: absolute;
    right: 20px;
    top: 20px;

    width: 18px;
    height: 18px;
    display: block;
}

.popup-cart .close:hover {
    cursor: pointer;
}

.popup-cart .close::before, .popup-cart .close::after {
    content: '';
    width: 100%;
    height: 1px;
    display: block;
    background: var(--main-color);


    position: absolute;

    left: 0;
    top: 9px;

    border-radius: 3px;
}

.popup-cart .close::before {
    transform: rotate(45deg);
}

.popup-cart .close::after {
    transform: rotate(-45deg);
}

.popup-cart .title {
    font-family: var(--accent-font);
    font-size: 17px;
    font-weight: 600;

    color: var(--main-color);
    text-align: center;
    text-transform: uppercase;

    margin: 0 0 50px 0;
}

.popup-cart .image {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.popup-cart .info {
    display: flex;
}

.popup-cart .info .params {
    margin: 0 10px;
}

.popup-cart .info .params .param {
    color: var(--grey-color);
}

.popup-cart .info .params>div {
    display: flex;
}

.popup-cart .info .params .modifier {
    display: block;
}

.popup-cart .text, .popup-cart .price {
    max-width: 290px;
    width: 100%;

    margin: 0 auto;

    font-family: var(--accent-font);
    line-height: 19px;
    color: var(--main-color)
}

.popup-cart .price {
    color: inherit;
}

.popup-cart .button {
    width: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: var(--accent-font);
    font-size: 15px;
    color: #fff;
    text-align: center;
    text-transform: uppercase;

    padding: 10px;
    background: var(--accent-color);


    margin: 25px 0 0 0;
}


@media screen and (max-width:768px) {

    /* general */
    .page-grid {
        margin: 20px 0 0 0;
    }

    .page-grid>.container>.wrapper {
        grid-template-columns: minmax(0, 1fr);
    }

    /* bug fix cards in home page (1 in row, not 2.)*/
    .grid>.container>.wrapper {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }


    .page-grid .aside {
        display: none;
    }

    /* header */
    .header .nav {
        position: fixed;
        top: 0;
        left: 0;

        width: 100%;
        height: 100%;

        margin: 0;

        padding: 40px;

        overflow-x: hidden;
        overflow-y: auto;

        opacity: 0;
        visibility: hidden;

        display: none;

        transition: .3s visibility, .5s opacity;
    }

    .header .nav.active {
        opacity: 1;
        visibility: visible;
        display: block;
        z-index: 99999;
    }

    .header .nav .list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .header .nav .list .item {
        color: #fff;
    }

    .header .nav .list .item .link {
        font-weight: 400;
    }

    .header .nav .list .list {
        position: relative;
        opacity: 1;
        visibility: visible;

        background-color: transparent;

        width: 100%;
        padding: 20px 0 0 40px;

        top: 0;

        box-shadow: none;
        display: none;
    }

    .header .nav .list .list {
        display: flex;
    }

    .header .nav .list .item .submenu {
        display: contents;
    }

    .header .nav .list .item .submenu .list-with-images {
        display: none;
    }

    .header .nav>.list>.item:hover .submenu+.submenu-dark-bg {
        display: none;
    }

    .header .nav .logo,
    .header .nav .close {
        display: flex;
        flex-shrink: 0;
    }

    .header .nav .logo {
        width: 80%;
        height: 40px;
    }

    .header .box {
        min-height: 80px;
    }

    .header .box .logo {
        width: 60px;
        height: 40px;
    }

    .header .wrapper {
        padding: 20px 0;
        border: none;
    }

    .header .burger {
        opacity: 1;
        visibility: visible;
    }

    .header .nav {
        background-color: var(--main-color-dark);
    }

    .header .nav .list .item {
        color: #fff;
    }

    /* home */

    .grid .wrapper {
        gap: 20px;

        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }

    .grid .slider .item {
        height: 300px;
    }

    .grid .banner {
        padding: 32px 0 36px 0;
    }

    .grid .banner .title {
        max-width: 230px;
        width: 100%;

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

    .grid .banner .text {
        color: #EED498;
        font-size: 12px;
        line-height: 16px;

        max-width: 270px;
        width: 100%;

        margin: 5px 0 0 0;
    }

    .grid .banner .button {
        font-size: 10px;
        line-height: 14px;

        margin: 14px 0 0 0;
    }

    .social {}

    .social .wrapper {
        padding: 20px 10px;
        min-height: 200px;

        text-align: center;
        display: flex;
        flex-direction: column;

        align-items: center;
        justify-content: flex-start;
    }

    .social .title {
        font-size: 18px;
        line-height: 20px;
        max-width: 190px;
    }

    .social .text {
        margin: 5px 0 0 0;

        font-size: 12px;
    }

    .social .list {
        margin: 20px 0 0 0;

        justify-content: center;
        gap: 20px;
    }

    .contact .wrapper {
        grid-template-columns: minmax(0, 1fr);
        gap: 46px;
    }

    .contact .block .title {
        font-size: 22px;
        line-height: 24px;

        text-align: center;
    }

    .contact .block .text {
        font-size: 16px;
        line-height: 17px;
        text-align: center;
    }

    .contact .block .list {
        align-items: center;
        justify-content: center;

        max-width: 215px;
        width: 100%;

        margin: 0 auto;
    }

    .contact .form {
        position: relative;

        padding: 30px 0;
    }

    .contact .form::before {
        content: '';
        position: absolute;
        left: -20px;
        top: 0;

        display: block;
        height: 100%;
        width: calc(100% + var(--container-mobile-padding) * 2);

        background-color: #E4EAED;
        z-index: 1;
    }

    .contact .title,
    .contact .inputs,
    .contact .submit {
        position: relative;
        z-index: 3;
    }

    .contact .form .title:not(:last-child) {
        margin: 0 0 20px 0;
    }

    .contact .form .inputs {
        max-width: 100%;
        gap: 20px;
    }

    .contact .form .title {
        text-align: center;

        font-size: 16px;
        line-height: 24px;
        font-weight: 600;
    }

    .contact .form .input {
        height: 55px;
    }

    .contact .form .text {
        color: #9E9E9E;
    }

    .contact .form .button {
        margin: 0 auto;
    }

    /* footer */
    .footer {
        margin: 0;
    }

    .footer .wrapper {
        padding: 40px 0;
    }


    .footer .nav {
        margin: 40px 0 0 0;
    }

    .footer .nav .list {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        display: grid;
        height: auto;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 19px 0;
        text-align: center;
    }

    .footer .nav .list .item {
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
        justify-content: var(--var-footer-column-align);
    }

    @media screen and (max-width: 500px) {
        .footer .nav .list {
            grid-template-columns: minmax(0, 1fr);
            gap: 23px;
        }
    }

    .footer .copyright {
        flex-direction: column;
        align-items: center;
        gap: 10px;

        margin: 40px 0 0 0;
        padding: 40px 0 0 0;
    }

    .footer .copyright .text {
        text-transform: uppercase;
        font-weight: 400;
        font-size: 12px;
        line-height: 100%;
        text-align: center;
    }

    .footer .copyright .text a {
        border-bottom: 1px solid white;
    }


    /* cart */
    .cart-page {
        margin: 20px 0 0 0;
    }

    .cart-page>.container>.wrapper {
        grid-template-columns: minmax(0, 1fr);
        gap: 40px;
    }

    .cart-page .block .title {
        font-size: 15px;
        line-height: 25px;

        display: flex;
        gap: 5px;
    }

    .cart-page .form .title {
        font-size: 18px;
    }

    .cart-page .form .title:not(:last-child) {
        margin: 0 0 20px 0;
    }

    .cart-summary {
        margin: 20px 0 0 0;
        padding: 20px 0 0 0;
    }

    .cart-summary .text {
        font-size: 18px;
    }

    /* single product */


    .single-product>.container>.wrapper {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
    }

    .single-product .info .title {
        font-weight: 700;
        font-size: 16px;
    }

    .single-product .info .block+.block {
        font-weight: 400;
        font-size: 13px;
    }

    .single-product .info .button {
        display: flex;
        align-items: center;
        justify-content: center;

        padding: 10px 0;
    }

    .single-product .box>.wrapper {
        gap: 5px;
    }

    .single-product .wrapper+.box {
        padding: 0;
        border: none;
    }


    .single-product .box {
        margin: 30px 0 0 0;
        padding: 30px 0 0 0;

        border-top: 1px solid #D9D9D9;
        margin-bottom: 30px;
    }



    .single-product .box .title {
        font-size: 17px;

        margin: 0 0 40px 0;
    }

    .single-product .box>.wrapper .block {
        max-width: 100%;
    }

    .single-product .box .wrapper .block .title {
        margin: 0;

        color: var(--accent-color);
    }

    .single-product .box .wrapper .block .title.active {
        color: #B3B3B3;
    }

    .single-product .box .wrapper .block .title:hover {
        cursor: pointer;
    }

    .single-product .box .wrapper .block .list {
        flex-direction: column;
        gap: 20px;

        margin: 20px 0 0 0;

        display: none;
    }

    .single-product .box .wrapper .block .list.active {
        display: flex;
    }

    .single-product .box .wrapper .block .list::before {
        content: '';
        width: 100%;
        height: 1px;
        display: block;

        background-color: #D9D9D9;
    }

    .product-slider .nav {
        display: none;
    }


    .product-slider .slider .img {
        height: 225px;
    }

    .product-slider .slider .slick-next {
        right: 0;
    }

    .product-slider .slider .slick-prev {
        left: 0px;
    }

    .story {
        padding: 66px 20px;
    }

}

@media screen and (max-width:500px) {
    .grid .slider .item {
        height: 200px;
    }

    .product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 20px;
    }

    .product .name,
    .product .price {
        font-size: 10px;
        line-height: 12px;
    }

    .product-compact-grid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }

    .product-compact-grid .compact-product {
        border-bottom: none;
    }

    .product-compact-grid .compact-product:first-of-type {
        border: 1px solid #dde0d9;
        border-bottom: none;
    }

    .product-compact-grid .compact-product:last-of-type {
        border-bottom: 1px solid #dde0d9;
    }

    .page-grid .block>.img {
        aspect-ratio: 1/1;
    }

    .cart-product {
        padding: 0 0 20px;
    }

    .cart-widget-list-no-gap .cart-product:first-child {
        border-top: none;
        margin-top: 20px;
    }

    .cart-product .name {
        max-width: 114px;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }

    .gallery {
        grid-template-columns: minmax(0, 1fr);
        grid-auto-rows: 220px;
        gap: 20px;
    }

    .cart-page .block .title.title-block {
        gap: 20px;
        padding-bottom: 20px;
        border-bottom: 1px solid #BEBCBC21;
        margin-bottom: 0;
    }
}

.product-tabs {
    display: flex;
    flex-wrap: wrap;
}

.product-tabs .product-tab {
    margin-right: 15px;
    padding: 7px 11px;
    border: 1px solid #d9d9d9;
    border-radius: 5px;
    cursor: pointer;
    margin-bottom: 12px
}

.product-tabs-content {
    width: 100%;
}

.product-tabs .product-tab.selected {
    background: var(--accent-color);
    border-color: var(--accent-color);
    color: white;
}

.faq-elem {
    font-size: 16px;
    border-bottom: 1px solid lightgray;
}

.faq-elem:last-child {
    border-bottom: none;
}

.faq-elem .faq-question .faq-title {
    font-family: var(--accent-font);
    font-size: 22px;
    font-weight: 600;
    color: #434343;
    padding: 20px 0 20px 50px;
    line-height: 30px;
}

.faq-elem .faq-question:before {
    content: '+';
    width: 22px;
    display: inline-block;
    height: 71px;
    text-align: center;
    font-size: 40px;
    overflow: hidden;
    line-height: 71px;
    color: var(--accent-color);
    position: absolute;
}

.faq-elem .faq-question {
    cursor: pointer;
}

.faq-elem .faq-question.extended:before {
    content: '-';
}

.faq-elem .faq-answer {
    display: none;
}

.faq-elem .faq-answer.extended {
    display: block;
    font-size: 16px;
    padding: 0px 0 10px 50px;
}

.feedbacks-container {
    display: flex;
    justify-content: center;
    border-top: 1px solid #D9D9D9;
    margin-top: 50px;
}

.feedbacks-container .feedbacks {
    width: 100%;
    max-width: 750px;
    margin-bottom: 30px;
}

.feedbacks-container .feedbacks-list i {
    font-style: italic;
}

.feedbacks-container .feedbacks-list b {
    font-weight: bold;
}

.feedbacks-container .feedbacks-list u {
    text-decoration: underline;
}

.feedbacks-container .feedbacks-list a {
    text-decoration: none;
    color: var(--accent-300);
}

.feedbacks-container .feedbacks-list .feedback {
    display: flex;
    flex-direction: column;
    padding: 10px;
}

.feedbacks-container .feedbacks-list .feedback:first-child {
    margin-bottom: 10px;
}

.feedbacks-container .feedbacks-list .feedback>div {
    display: flex;
    flex-direction: row;
    margin-bottom: 10px;
    font-family: var(--accent-font);
    font-size: 14px;
    line-height: 20px;
    color: var(--main-color);
}

.feedbacks-container .feedbacks-title {
    text-transform: uppercase;
    margin: 30px;
    font-family: var(--accent-font);
    font-size: 20px;
    font-weight: 600;
    color: #434343;
    text-align: center;
}

.feedbacks-container .feedbacks-thumb {
    text-align: center;
    font-size: 25px;
    border-radius: 100%;
    background: #949696;
    min-width: 38px;
    height: 38px;
    line-height: 1.5;
    color: #eee;
    margin-right: 12px;
}

.feedbacks-container .feedbacks-author-date {
    font-size: 14px;
    width: 100%;
}

.feedbacks-container .feedbacks-author {
    font-weight: bold;
    color: black;
}

.feedbacks-container .feedbacks-content {
    flex-direction: column !important;
    font-size: 13px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.feedbacks-container .feedbacks-content:last-child {
    border: none;
}

.feedbacks-container .feedbacks-name {
    display: block;
    width: 100%;
    border-left: 2px solid #aeafaf;
    padding-left: 15px;
    margin-bottom: 15px;
    font-size: 19px;
    text-transform: uppercase;
    font-family: var(--accent-font);
    font-weight: 600;
    color: #434343;
    margin-top: 10px;
}

.feedbacks-container .feedbacks-name:empty {
    display: none;
}

.feedbacks-container .rating {
    display: flex;
    letter-spacing: 7.1px;
    font-size: 15px;
}

.feedbacks-container .rating-on {
    color: #fbc900;
}

.feedbacks-container .rating-off {
    color: #c1c2c2;
}

.feedbacks-container .feedback-form {
    padding: 20px 20px 20px 20px;
    background-color: var(--bg-color);
    border-radius: 3px;
    margin-top: 10px;
}

.feedbacks-container .feedback-form .title {
    text-transform: uppercase;
    margin-bottom: 14px;
}

.feedbacks-container .feedback-form .contact-info {
    display: flex;
    gap: 10px;
}

.feedbacks-container .feedback-form .input {
    width: 100%;
    background: #FFF;
    border: 1px solid rgb(235 233 233);
    padding: 10px 10px;
    font-family: var(--accent-font);
    font-size: 11px;
    color: var(--text-color);
    margin-bottom: 10px;
}

.feedbacks-container .feedback-form .button {
    -webkit-appearance: none;
    outline: none;
    border: none;
    padding: 10px 35px;
    background-color: var(--accent-color);
    font-family: var(--accent-font);
    font-size: 12px;
    line-height: 16px;
    color: #fff;
    text-transform: uppercase;
    width: max-content;
    height: 37px;
}

.feedbacks-container .feedback-form textarea.input {
    height: 164px;
    resize: none;
}

.feedbacks-container .feedback-form .for-select {
    width: 50%;
    position: relative;
}

.feedbacks-container .feedback-form select {
    display: inline-block;
    background: #FFF;
    border: 1px solid rgb(235 233 233);
    font-family: var(--accent-font);
    font-size: 12px;
    color: var(--text-color);
    padding: 10px;
    position: relative;
    width: 100%;
}

.feedbacks-container .feedback-form .for-select:after {
    position: absolute;
    top: 7px;
    right: 10px;
    width: 35px;
    height: 28px;
    padding: 6px 0;
    font-size: 34px;
    line-height: 29px;
    color: #d9d9d9;
    text-align: center;
    pointer-events: none;
    z-index: 1;
    content: "‹";
    transform: rotate(0.75turn);
}

.tag {}

.tag .tag_item {
    display: inline-flex;
    align-items: center;
    max-width: 409px;
    height: 40px;
    padding: 0 30px;
    margin-right: 10px;
    margin-bottom: 10px;
    background: #FFFFFF;
    border: 2px solid #D4D7D7;
    border-radius: 100px;
    font-weight: 500;
    font-size: 16px;
    line-height: 19px;
    color: #AAAFB9;
    text-decoration: none;
    cursor: pointer;
}

.prices {}

.prices .price, .cart-product .prices .old_price {
    display: flex;
    gap: 5px;
    position: relative;
    margin-bottom: 10px;
    font-size: 14px;
}

.prices .price .name {
    flex-grow: 9;
}

.prices .price .name span {
    background: var(--body-color);
    display: inline;
    z-index: 10;
    position: relative;
    padding-right: 10px;
}

.prices .price .value {
    flex-grow: 1;
    text-align: right;

}

.prices .price .value span {
    background: var(--body-color);
    display: inline;
    color: var(--accent-color);
    position: relative;
    z-index: 10;
    padding-left: 10px;
}

/* quiz */
.quiz {
    padding-top: 10px;
    margin-bottom: 30px;
}

.quiz-item>.wrapper {
    background: var(--bg-color);
    padding: 25px 42px 25px 54px;
}

.quiz>.header {
    margin: 0 0 30px 0;
}

.quiz>.header>.title {
    text-transform: uppercase;
    text-align: center;
    font-size: 32px;
    color: var(--text-color);
    line-height: 1.2;
    font-family: var(--main-font)
}

.quiz-item>.wrapper {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 50px;
}

.quiz-item .title {
    color: var(--text-color);
    font-size: 18px;
    font-weight: 700;
}

.quiz-item .header {
    margin: 0 0 30px 0;
}

.quiz-item .list {
    margin: 0 0 40px 0;
}

.quiz-item .nav-panel {
    display: flex;
    align-items: center;
    gap: 18px;
}
.quiz-item .lowres-on {
    display: none;
}

.quiz-item .img {
    width: 100%;
    height: 230px;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    background-color: #ffffff30;
    /*тут цвет норм, т.к. это белый с 90% прозрачностью, показать габариты картинки. */
    margin: 0 0 30px 0;
}

.quiz-item .count {
    display: flex;
    align-items: center;
    gap: 20px;
}

.quiz-item .count .text {
    font-size: 18px;
    font-weight: 700;
}

.quiz-item .line {
    flex-grow: 1;
    background: #fff;
    display: flex;
    height: 4px;
    position: relative;
}

.quiz-item .line::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: var(--current-size);
    height: 100%;
    background: var(--input-bg-color);
    display: block;
}

.quiz-item .radio, .quiz-item .checkbox {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quiz-item .radio:hover, .quiz-item .checkbox:hover {
    cursor: pointer;
}

.quiz-item .radio input, .quiz-item .checkbox input {
    display: none;
}

.quiz-item .checkbox .checkmark, .quiz-item .radio .checkmark {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    border: 1px solid var(--input-bg-color);

    display: flex;
    align-items: center;
    justify-content: center;

    transition: .3s background-color;
}

.quiz-item .checkbox .checkmark::before {
    content: '\f00c';
    font-family: "Font awesome 7 Free";
    font-weight: 900;
    margin-left: -3px;
    margin-top: -2px;
    width: 12px;
    height: 12px;
    display: block;
    color: white;
    opacity: 0;

    transition: .3s opacity;
}

.quiz-item .checkbox input:checked~.checkmark {
    background: var(--input-bg-color);
}

.quiz-item .checkbox input:checked~.checkmark::before {
    opacity: 1;
}

.quiz-item .radio .checkmark {
    border-radius: 50%;
}

.quiz-item .radio input:checked~.checkmark::before {
    width: 10px;
    height: 10px;
}

.quiz-item .radio .checkmark::before {
    content: '';
    width: 0px;
    height: 0px;
    border-radius: 50%;
    background: var(--input-bg-color);
    display: block;

    transition: .3s width, .3s height;
}

.quiz-item .checkbox .text, .quiz-item .radio .text {
    font-size: 16px;
    font-weight: 400;
    color: #000;
}

.quiz-item .custom-option {
    background: #fff;
}

.quiz-item .list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.quiz-item .button, .quiz-item .button-fill {
    padding: 8px 33px;
    border-radius: 30px;
    border: 1px solid var(--accent-color);

    font-size: 18px;
    color: var(--accent-color);
    font-weight: 700;

    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 46px;

    text-decoration: none;
    cursor: pointer;
    white-space: no-wrap;
}

.quiz-item .button span, .quiz-item .button-fill span {
    font-size: 15px;
}

.quiz-item .button-fill {
    background-color: var(--input-bg-color);
    color: #fff;
}

.quiz-item .form .header {
    margin: 0 0 16px 0;

    display: flex;
    flex-direction: column;
    gap: 4px;
}

.quiz-item .form .header .title {
    font-size: 26px;
    font-weight: 700;
    color: var(--text-color);
}

.quiz-item .form .header .text {
    max-width: 370px;
    width: 100%;

    font-size: 14px;
    line-height: 19px;
    color: #000;
}

.quiz-item .form .nav-panel {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.quiz-item .form .list {
    gap: 12px;
    max-width: 300px;
    width: 100%;

    margin: 0 0 20px 0;
}
.quiz-item .stabform input, 
.quiz-item .stabform select,
.quiz-item .stabform textarea {
    border: #969696 solid 1px;
    padding: 5px;
    background: white;
}

.quiz-item .form .nav-panel .text {
    max-width: 350px;
    width: 100%;
    color: #969696;

    font-size: 12px;
    line-height: 15px;
    font-weight: 400;
}

.quiz-item .form .input {
    max-width: 300px;
}

.quiz-item .input {
    width: 100%;
    height: 44px;
}

.quiz-item .input input,
.quiz-item .custom-option {
    width: 100%;
    height: 100%;
    padding: 12px 18px;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 400;
    color: var(--text-color);
    background-color: #fff;
    border: none;
    outline: none;
}

.quiz-item:has(.radio .custom-control:checked) .custom-option,
.quiz-item:has(.checkbox .custom-control:checked) .custom-option {
    display: inherit;
}

.quiz-item .input input::placeholder,
.quiz-item .custom-option::placeholder {
    color: #B3B3B3;
}

.quiz-item textarea.custom-input {
    background-color: #fff;
    height: 7.5em;
}

.quiz-item [data-type=json] textarea {
    width: 100%;
}

.extra-header {
    display: flex;
    background: var(--bg-color);
}

.extra-header .container {
    display: inline-flex;
    height: 56px;
    width: 100%;
    justify-content: space-around;
    align-items: center;
    align-content: space-between;
    gap: 24px;
    flex-shrink: 0;
    background: var(--bg-color);
    white-space: nowrap;
    overflow: hidden;
}

.extra-header.long {
    justify-content: left;
}

.extra-header.long .container {
    justify-content: left;
    padding: 0;
    max-width: inherit;
    width: auto;
    margin: 0;
    padding-left: 15px;
}

.extra-header .icon {
    padding: 2px;
    color: var(--accent-color);
}

.extra-header .caption {
    font-family: var(--main-font);
    font-size: 14px;
    font-style: normal;
    font-weight: 100;
    line-height: 24px;
    color: var(--text-color);
}

.extra-header .link-button {
    display: flex;
    font-family: var(--main-font);
    padding: 8px;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--accent-color);
    border: 1px solid var(--accent-color);
}

.extra-header .link-button:hover {
    background-color: var(--accent-color);
    color: var(--white-color);
}

.extra-header .icon.large {
    font-size: 25px
}

@media screen and (max-width: 768px) {
    .extra-header .container {
        height: 36px;
        padding: 0 !important;
    }

    .extra-header.mobile-fixed .container {
        position: fixed;
        right: 0;
        top: 0;
        left: 0;
        z-index: 1000;
        justify-content: center;
    }

    .extra-header.mobile-fixed+.header {
        margin-top: 36px;
    }

    .extra-header.long {
        justify-content: center;
    }

    .extra-header .container>*:not(.phone) {
        display: none !important;
    }

    .extra-header .phone {
        color: var(--accent-color);
        leading-trim: both;
        text-edge: cap;
        text-decoration: underline;
        font-weight: 100;
        line-height: 24px;
    }
}

@media screen and (max-width: 900px) {
    .quiz-item>.wrapper {
        grid-template-columns: minmax(0, 1fr);
        gap: 25px;
    }

    .quiz-item>.wrapper>.block:nth-child(2) {
        grid-row-start: 1;
    }

    .quiz-item .img {
        display: none;
    }

    .quiz-item>.wrapper {
        padding: 21px 21px 30px 21px;
    }

    .quiz-item .nav-panel {
        flex-direction: row;
        align-items: flex-start;
        gap: 15px;
    }

    .quiz-item .button, .quiz-item .button-fill {
        padding: 8px 15px;
    }

    .quiz>.header {
        margin: 0 0 30px 0;
    }

    .quiz>.header>.title {
        font-size: 24px;
    }
}

.direct-block {
    margin-bottom: 30px;
}

.grid .direct-block {
    grid-column: 1/-1;
    margin-bottom: 0;
}

.direct-block.wide {
    width: calc(100% + 400px);
    margin-left: -200px;
    margin-right: -200px;
}

.direct-block.no-margin {
    margin-bottom: 0;
}

.page-grid .direct-block.wide {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
}

.grid .direct-block:not(.wide) .container,
.page-grid .direct-block.wide .container {
    max-width: none;
    padding: 0;
}

.direct-block .desktop-banner,
.direct-block .mobile-banner {
    background-size: cover;
    background-position: center;
}

.direct-block .desktop-banner {
    display: block;
}

.direct-block .mobile-banner {
    display: none
}

@media screen and (max-width: 768px) {
    .direct-block.wide {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .grid .direct-block.wide {
        width: calc(100% + var(--container-mobile-padding) + var(--container-mobile-padding));
        margin-left: calc(-1 * var(--container-mobile-padding));
        margin-right: calc(-1 * var(--container-mobile-padding));
    }

    .direct-block .desktop-banner {
        display: none;
    }

    .direct-block .mobile-banner {
        display: block
    }
}

@media screen and (max-width: 400px) {
    .quiz-item .lowres-on {
        display: block;
    }
    .quiz-item .lowres-off {
        display: none;
    }
}

.editorjs-ul .editorjs-ul {
    all: revert;
}

.editorjs i {
    font-style: italic;
}

.editorjs b {
    font-weight: bold;
}

.editorjs u {
    text-decoration: underline;
}

.editorjs li {
    color: #000;
}

.editorjs-description.editorjs {
    font-size: 15px;
    line-height: 1.6;
    color: #000;
}

.editorjs-description.editorjs>*, .editorjs-description.editorjs .editorjs-img-caption {
    max-width: 870px;
    width: 100%;

    margin: 0 auto;
}

.editorjs-description.editorjs>* {
    margin-block-end: 30px;
}

.editorjs-description.editorjs p.editorjs-p {
    font-size: 15px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 14px;
}

.editorjs-description.editorjs a {
    text-decoration: none;
    color: var(--accent-300);
}

.editorjs-description.editorjs h2.editorjs-h2 {
    font-size: 25px;
    font-weight: 700;
    line-height: 1.25;
    color: #000;

    margin-block-end: 15px;
    margin-block-start: 30px;
}

.editorjs-description.editorjs h3.editorjs-h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2;
    color: #000;

    margin-block-end: 15px;
    margin-block-start: 30px;
}

.editorjs-description.editorjs h4.editorjs-h4 {
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    color: #000;

    margin-block-end: 15px;
    margin-block-start: 30px;
}

.editorjs-description.editorjs .editorjs-ul-disc {
    list-style: disc inside;
}

.editorjs-description.editorjs .editorjs-ul-order {
    list-style: decimal inside;
}

.editorjs-description.editorjs .editorjs-ol {
    list-style: decimal inside;
}


.editorjs-description.editorjs table.editorjs-table {
    border: none;
}

.editorjs-description.editorjs table.editorjs-table td:empty {
    border-bottom: none;
    width: 70px;
}

.editorjs-description.editorjs table.editorjs-table td {
    padding: 10px;
    font-size: 15px;
    color: #242424;
    line-height: 1.6;
    border: none;
    border-bottom: 1px solid #E0E0E0;

}

.editorjs-description.editorjs table.editorjs-table td b {
    color: #999;
    font-weight: 400;
}

.editorjs-description.editorjs .editorjs-img-caption {
    font-size: 13px;
    line-height: 1.42;
    color: #666;

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

.editorjs-description.editorjs .editorjs-img {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.editorjs-description.editorjs .editorjs-img.editorjs-img-backgr {
    position: relative;
}

.editorjs-description.editorjs .editorjs-img.editorjs-img-backgr img {
    padding: 20px 15% 10px 15%;
    background: var(--bg-color);
    border: 1px solid #F9F9F9;
}

.editorjs-description.editorjs .editorjs-img img {
    width: 100%;
}

.editorjs-description.editorjs .editorjs-img-stretch {
    max-width: 100%;
}

.editorjs-description.editorjs .editorjs-img-caption {
    font-size: 13px;
    line-height: 1.42;
    color: #666;
}

.editorjs-description.editorjs .contents a {
    display: block;
    color: var(--accent-color);
}

.editorjs-description .editorjs-blockquote {
    padding: 10px;
    border-left: 4px solid var(--accent-color);
    background-color: var(--nav-landing-bg);
    margin-bottom: 10px;
}

@media screen and (max-width: 767px) {
    .editorjs-description.editorjs .editorjs-img.editorjs-img-backgr img {
        padding: 10px;
    }

    .editorjs-description.editorjs table.editorjs-table {
        overflow: auto;
        width: 100%;
        max-width: 100%;
        display: block;
    }

    .editorjs-description.editorjs table.editorjs-table td:not(:empty) {
        min-width: max-content;
        white-space: nowrap;
    }
}

.product .description {
    font-size: 12px;
    color: var(--text-color);
    margin-top: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -moz-box;
    -moz-box-orient: vertical;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    line-clamp: 3;
    box-orient: vertical;
}

/* admin assistant */
.admin-assistant {
    position: fixed;
    bottom: 10px;
    right: 10px;
    background: #eee;
    padding: 10px;
    border-radius: 10px;
    font-size: 11px;
    opacity: 0.4;
    transition-duration: 0.4s;
    z-index: 1111111;
}

.admin-assistant:hover {
    opacity: 1;

}

.admin-assistant>* {
    padding: 0;
}

.admin-assistant a {
    color: blue;
    text-decoration: underline;
}

/* Общие стили для слайдеров с точками */
.slider.slick-dotted {
    margin: 0;
}

.slider .slick-dots {
    display: flex !important;
    align-items: center;
    justify-content: center;

    bottom: 10px;
}

.slider .slick-dots li {
    width: 10px;
    height: 10px;
    margin: 0 4px;

    display: inline-flex;
}

.slider .slick-dots li.slick-active button::before {
    background: #fff;
}

.slider .slick-dots button {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;
}

.slider .slick-dots button:before {
    content: '';
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: 1px solid #fff;
    opacity: 1;

    transition: .3s background-color;
}

@media screen and (max-width: 768px) {
    .widget-info {
        padding: 27px 0;
    }

    .widget-info .slider {
        margin-bottom: 30px;
    }

    .widget-info .slider .slick-dots {
        bottom: -30px;
    }

    .widget-info .item {
        padding: 0 10px;
    }

    .widget-info .slider .slick-next, .widget-info .slider .slick-prev {
        width: 10px;
    }
}

.stabform {}

.stabform .info-text {
    margin-bottom: 30px;
}

.stabform .error-required {
    border: 1px solid #d70101 !important;
}

.stabform .input-wr.select .wrapper {
    position: relative;
}

.stabform .input-wr.select .wrapper::after {
    position: absolute;
    top: 9px;
    right: 2px;
    width: 35px;
    height: 28px;
    padding: 6px 0;
    background-color: var(--el-input-bg);
    font-family: 'Font awesome 7 Free';
    font-weight: 900;
    font-size: 1em;
    line-height: 1em;
    color: var(--el-input-txt);
    text-align: center;
    pointer-events: none;
    z-index: 1;
    content: '\f078';
}

.tl-wrapper * {
    box-sizing: border-box;
}

.tl-wrapper {
    container: tiling-layout-container / inline-size;
    padding-bottom: 30px;
}

.tl-wrapper .tl-container {
    box-sizing: border-box;
    flex-shrink: 0;
    grid-gap: 10px;
    font-family: "Roboto", sans-serif;
}

.tl-wrapper .tl-block {
    position: relative;

    /*
    тут указывается соотношение сторон карточки 1х1
    в данном случае, просто для удобства взят размер в пихселях
    */
    --card-aspect-w: 268;
    --card-aspect-h: 358;

    --card-aspect-x: 1;
    --card-aspect-y: 1;

    --aspect-ratio: calc((var(--card-aspect-w) * var(--card-aspect-x)) / (var(--card-aspect-h) * var(--card-aspect-y)));

    font-size: 1em;

    --card-border-radius: 24px;

    --card-onhover-scale: 5px;
    --card-onhover-scale-dur: 0.3s;
}

.tl-wrapper .tl-block:before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: white;
    border-radius: var(--card-border-radius);
    box-sizing: content-box;
    transition-duration: var(--card-onhover-scale-dur);
    -webkit-box-shadow: 0px 0px 21px -4px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 0px 0px 21px -4px rgba(34, 60, 80, 0.2);
    box-shadow: 0px 0px 21px -4px rgba(34, 60, 80, 0.2);
}

.tl-wrapper .tl-block:hover:before {
    top: calc(var(--card-onhover-scale) * -1);
    left: calc(var(--card-onhover-scale) * -1);
    padding: var(--card-onhover-scale);
}

/* общие стили для карточек */
.tl-wrapper .tl-block .tl-card {
    display: block;
    height: 100%;
    width: 100%;
    aspect-ratio: var(--aspect-ratio);
    border-radius: var(--card-border-radius);
    position: relative;

    transition-duration: var(--card-onhover-scale-dur);
    color: white;

    text-decoration: none;
}

.tl-wrapper .tl-block:hover .tl-card {
    /*     left: -2%;
  right: -2%;
  top: -2%;
  bottom: -2%; */
}

.tl-wrapper .tl-block .tl-card-header {
    position: relative;
}

.tl-wrapper .tl-block .tl-card-background-container {
    width: 100%;
    height: 100%;

    position: absolute;
    top: 0;
    left: 0;

    overflow: hidden;

    border-radius: var(--card-border-radius);

    transition-duration: var(--card-onhover-scale-dur);
}

.tl-wrapper .tl-block:hover .tl-card-background-container {
    margin: calc(var(--card-onhover-scale) * -1);
    top: 0;
    left: 0;
    width: calc(var(--card-onhover-scale) * 2 + 100%);
    height: calc(var(--card-onhover-scale) * 2 + 100%);
}

.tl-wrapper .tl-block .tl-card-background {
    width: 100%;
    height: 100%;

    background:
        var(--var-card-gradient),
        var(--var-card-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    transition-duration: var(--card-onhover-scale-dur);
}

.tl-wrapper .tl-block:hover .tl-card-background {
    --card-onhover-scale-bg: var(--card-onhover-scale) * 2.1;
    margin: calc(var(--card-onhover-scale-bg) * -1);
    width: calc(var(--card-onhover-scale-bg) * 2 + 100%);
    height: calc(var(--card-onhover-scale-bg) * 2 + 100%);
}

.tl-wrapper .tl-block .tl-card .tl-card-content {
    width: 100%;
    height: 100%;
}

/* карточка 1х1 */
.tl-wrapper .tl-block.type-1-1 {
    --card-aspect-x: 1;
    --card-aspect-y: 1;
}

.tl-wrapper .tl-block.type-1-1 .tl-card {
    color: black;
}

.tl-wrapper .tl-block.type-1-1 .tl-card .tl-card-header {
    height: 50%;
}

.tl-wrapper .tl-block.type-1-1 .tl-card .tl-card-background-container {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
}

.tl-wrapper .tl-block:hover.type-1-1 .tl-card .tl-card-background-container {
    height: calc(var(--card-onhover-scale) * 1 + 100%);
}

.tl-wrapper .tl-block.type-1-1 .tl-card .tl-card-background {
    background-image: var(--var-card-img);
}

.tl-wrapper .tl-block.type-1-1 .tl-card .tl-card-body {
    height: 50%;
    padding: 16px;

    display: flex;
    flex-direction: column;
}

.tl-wrapper .tl-block.type-1-1 .tl-card .tl-card-body .tl-title {
    flex-grow: 1;
    flex-shrink: 0;
}

.tl-wrapper .tl-block.type-1-1 .tl-card .tl-card-body .tl-footer {
    flex-grow: 0;
    flex-shrink: 0;
    opacity: 0.6;
}

/* карточка 2х1 */
.tl-wrapper .tl-block.type-2-1 {
    --card-aspect-x: 2;
    --card-aspect-y: 1;
}

.tl-wrapper .tl-block.type-2-1 .tl-card .tl-card-header {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tl-wrapper .tl-block.type-2-1 .tl-card .tl-card-body {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.tl-wrapper .tl-block.type-2-1 .tl-card .tl-card-body .tl-footer {
    margin-top: 1lh;
    opacity: 0.6;
}

/* карточка 2х2 */
.tl-wrapper .tl-block.type-2-2 {
    --card-aspect-x: 2;
    --card-aspect-y: 2;
    font-size: 2em;
}

.tl-wrapper .tl-block.type-2-2 .tl-card .tl-card-header {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tl-wrapper .tl-block.type-2-2 .tl-card-background {
    background: linear-gradient(0deg,
            rgba(255, 255, 255, 0) 50%,
            rgba(0, 0, 0, 0.6) 100%),
        linear-gradient(0deg, rgba(255, 255, 255, 0) 50%, rgba(0, 0, 0, 0.3) 75%),
        var(--var-card-img);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.tl-wrapper .tl-block.type-2-2 .tl-card .tl-card-body {
    position: absolute;
    width: 100%;
    height: 100%;
    padding: 43px;
    display: flex;
    flex-direction: column;
    justify-content: start;
}

.tl-wrapper .tl-block.type-2-2 .tl-card .tl-card-body .tl-title {
    order: 2;
}

.tl-wrapper .tl-block.type-2-2 .tl-card .tl-card-body .tl-footer {
    order: 1;
    font-size: 0.7em;
}

/* карточка 4х2 */
.tl-wrapper .tl-block.type-4-2 {
    --card-aspect-x: 4;
    --card-aspect-y: 2;
    font-size: 2.4em;
}

.tl-wrapper .tl-block.type-4-2 .tl-card .tl-card-header {
    position: absolute;
    width: 100%;
    height: 100%;
}

.tl-wrapper .tl-block.type-4-2 .tl-card .tl-card-body {
    position: absolute;
    width: 40%;
    height: 100%;
    padding: 43px;
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.tl-wrapper .tl-block.type-4-2 .tl-card .tl-card-body .tl-footer {
    display: none;
}

/* карточка filler - 1х1 */
.tl-wrapper .tl-block.type-filler {
    --card-aspect-x: 1;
    --card-aspect-y: 1;
}

.tl-wrapper .tl-block.type-filler:before {
    background: #ffe7e7;
}

.tl-wrapper .tl-block.type-filler .tl-card {
    padding: 12px;
    color: black;
}

.tl-wrapper .tl-block.type-filler .tl-card-header {
    display: none;
}

/* карточка filler - 2х1 */
.tl-wrapper .tl-block.type-filler-2-1 {
    --card-aspect-x: 2;
    --card-aspect-y: 1;
}

.tl-wrapper .tl-block.type-filler-2-1:before {
    background: #ffe7e7;
}

.tl-wrapper .tl-block.type-filler-2-1 .tl-card {
    padding: 12px;
    color: black;
}

.tl-wrapper .tl-block.type-filler-2-1 .tl-card-header {
    display: none;
}

/* стили сетки */
.tl-wrapper .tl-container {
    display: grid;
    --tiling-colums: 4;
    grid-template-columns: repeat(var(--tiling-colums), 1fr);
}

.tl-wrapper .tl-block.type-1-1 {
    grid-column: span 1;
    grid-row: span 1;
}

.tl-wrapper .tl-block.type-2-1 {
    grid-column: span 2;
    grid-row: span 1;
}

.tl-wrapper .tl-block.type-2-2 {
    grid-column: span 2;
    grid-row: span 2;
}

.tl-wrapper .tl-block.type-4-2 {
    grid-column: span 4;
    grid-row: span 2;
}

.tl-wrapper .tl-block.type-filler {
    grid-column: span 1;
    grid-row: span 1;
}

.tl-wrapper .tl-block.type-filler-2-1 {
    grid-column: span 2;
    grid-row: span 1;
}

/* адаптив */
@container tiling-layout-container (width < 750px) {

    /* было 850px */
    .tl-wrapper .tl-container {
        --tiling-colums: 2 !important;
    }

    .tl-wrapper .tl-block.type-4-2 {
        grid-column: span 2;
        grid-row: span 2;
        font-size: 1.7em;
    }

    .tl-wrapper .tl-block.type-2-2 {
        font-size: 1.4em;
    }
}

@container tiling-layout-container (width < 600px) {
    .tl-wrapper .tl-container {
        font-size: 3cqw;
    }

    .tl-wrapper .tl-block.type-4-2 {
        font-size: 1.3em;
    }

    .tl-wrapper .tl-block.type-4-2 .tl-card .tl-card-body {
        width: 70%;
    }
}



#filter-modal {
    display: none;
    width: 592px;
    background: #fff;
    padding: 85px 47px 56px 47px;
    box-sizing: border-box;
    position: relative;
    font-family: Arial, sans-serif;
}

.filter-modal-content {
    width: 100%;
}

.filter-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 30px;
    height: 30px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

.filters-block .btn, .filter-modal-header .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 24px;
    border: 1px solid #727272;
    font-weight: 500;
    font-size: 14px;
    line-height: 1;
    color: #000;
    cursor: pointer;
    transition: 0.2s;
}

.filters-block .btn:hover, .filter-modal-header .btn:hover {
    background: #727272;
    color: #fff;
}

.filter-modal-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    font-weight: 500;
    font-size: 14px;
    color: #b4b4b4;
    cursor: pointer;
    transition: color 0.2s;
}

.filter-modal-reset:hover {
    color: #000;
}

.filter-modal-hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 40px 0 26px 0;
}

.filter-modal-section {
    margin-bottom: 0;
}

.filter-modal-title {
    font-weight: 700;
    font-size: 15px;
    color: #000;
    margin-bottom: 26px;

}

.filter-modal-checkboxes {
    display: block;
    columns: 2;
}

.filter-modal-checkboxes>* {
    margin-bottom: 12px;
}

.filter-checkbox {
    display: flex;
    align-items: center;
    font-size: 24px;
    font-weight: 400;
    cursor: pointer;
}

.filter-checkbox input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 21px;
    height: 21px;
    border: 1px solid #b3b3b3;
    border-radius: 2px;
    margin-right: 6px;
    position: relative;
    cursor: pointer;
    background: #fff;
    vertical-align: middle;
    transition: border-color 0.2s;
    outline: none;
    display: inline-block;
}

.filter-checkbox input[type="checkbox"]:checked {
    background: url('data:image/svg+xml;utf8,<svg width="14" height="11" viewBox="0 0 14 11" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M4.56522 8.11834L12.4413 0.266588C12.7979 -0.0888626 13.376 -0.0888626 13.7326 0.266588C14.0567 0.589743 14.0862 1.09541 13.821 1.45175L13.7326 1.55384L5.21083 10.0492C4.88668 10.3724 4.37944 10.4017 4.022 10.1373L3.91959 10.0492L0.267424 6.40834C-0.0891415 6.05289 -0.0891415 5.47657 0.267424 5.1211C0.59157 4.79796 1.09881 4.76858 1.45625 5.03297L1.55866 5.1211L4.56522 8.11835V8.11834Z" fill="%23212121"/></svg>') no-repeat center center;
    background-size: 14px 11px;
}

.filter-checkbox input[type="checkbox"]:checked::after {
    content: none;
}

.filter-modal-price {
    display: flex;
    justify-content: space-between;
    gap: 32px;
    margin-top: 24px;
}

.filter-modal-input {
    width: 227px;
    height: 41px;
    border: 1px solid #727272;
    border-radius: 2px;
    font-size: 13px;
    padding: 12px;
    box-sizing: border-box;
}

.filter-checkbox span {
    font-weight: 400;
    font-size: 13px;
    color: #000;
}

.filter-modal-input::placeholder {
    color: #BEBCBC;
    opacity: 1;
}

.filters-block {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 57px;
}

.filter-select {
    width: 200px !important;
    height: 40px;
    border: 1px solid #000;
}

.filters-block .custom-select {
    width: 100%;
    position: relative;
}

.filters-block .custom-select select {
    display: none;
}

.filters-block .selected-item {
    background: #fff;
    padding: 9px 20px;
    color: #000;
    font-weight: 500;
    font-size: 15px;
    cursor: pointer;
    z-index: 99;
}

.filters-block .selected-item:after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 8px;
    background-image: url('data:image/svg+xml;utf8,<svg width="12" height="8" viewBox="0 0 12 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M11.5147 0.979312C11.4165 0.979312 11.3067 1.01398 11.2431 1.0602C11.0236 1.20464 10.4632 1.90372 10.2205 2.14638L6.86952 5.82669C6.63264 6.05779 6.43043 6.32934 6.19933 6.56622C6.13577 6.63555 6.05489 6.67599 6.026 6.76843H5.97978C5.96245 6.6991 5.24603 5.92491 5.15359 5.83824L4.48339 5.09872C4.42561 5.02938 4.36784 4.98894 4.31006 4.91961L3.98074 4.54407C3.85364 4.41696 3.76697 4.30719 3.63987 4.18008L2.30525 2.70103C1.9817 2.33126 1.40973 1.76506 1.1324 1.41263C1.05152 1.30863 0.883967 1.13531 0.779971 1.0602C0.595089 0.933092 0.317766 0.967757 0.161772 1.10642C0.0751083 1.1873 0 1.3433 0 1.48774C0 1.75928 0.150217 1.83439 0.277323 1.98461C0.45065 2.1926 0.652865 2.37748 0.820414 2.59125C0.976408 2.78191 1.62927 3.44633 1.76216 3.61966C1.82571 3.70632 1.88349 3.74677 1.95282 3.82765C1.99326 3.87387 1.99326 3.88543 2.0337 3.93165C2.06837 3.97209 2.09726 3.9952 2.1377 4.03564L4.83582 6.98798C4.9687 7.1382 5.54068 7.80262 5.6909 7.91239C5.89889 8.05683 6.22821 8.01638 6.39576 7.83728C6.43043 7.79684 6.45354 7.76795 6.49976 7.72751L7.23929 6.91865C7.56283 6.60088 7.85171 6.20801 8.17525 5.88446L11.7169 1.99616C11.8556 1.82284 12 1.7304 12 1.43574C12 1.19308 11.7458 0.967758 11.5089 0.967758L11.5147 0.979312Z" fill="black"/></svg>');
    background-repeat: no-repeat;
    background-size: contain;
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    transition: 0.5s;
}

.arrowanim.selected-item:after {
    transform: rotate(180deg);
    top: 40%;
}

.select-option {
    padding: 8px 24px;
    color: #000;
    cursor: pointer;
}

.select-option:hover {
    background: #ccc;
    color: #fff;
}

.all-items {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 15px;
    padding: 17px 0;
    width: 277px;
    z-index: 100;
    border: 1px solid #000;
    background: #fff;
}

.filter-select-left .all-items {
    left: 0;
}

.all-items-hide {
    display: none;
}

.sdf {
    border: 1px solid red;
}

.page-grid .menu-only-subcategory-list .block:first-child {
    margin-bottom: 0;
}

.menu-only-subcategory-list h1.title {
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    text-transform: uppercase;
    text-align: center;
}

.menu-only-subcategory-list .aside .nav {
    padding-bottom: 34px;
    border-bottom: 1px solid var(--light-border-color);
    margin: 0;
}

.menu-only-subcategory-list .aside .nav .list {
    display: none;
}

.menu-only-subcategory-list .aside .nav .submenu:not(:empty) {
    border-top: none;

    padding-top: 0;
    margin-top: 0;
}

.menu-only-subcategory-list .aside .nav .submenu .item a {
    padding: 10px;
    border: 1px solid transparent;
    display: block;
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-skip-ink: auto;
}

.menu-only-subcategory-list .aside .nav .submenu .item a.selected, .menu-only-subcategory-list .aside .nav .submenu .item a:hover {
    color: inherit;
    border-color: transparent;
}

.menu-only-subcategory-list .aside .nav.category-menu-at-top .submenu {
    gap: 5px;
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    align-items: center;
}

.product-info__article {
    display: contents;
}

.article-grid .info-compact, .article-grid > .container > .wrapper {
    display: contents;
}

.article-grid .info-compact > .block.title-block {
    order: -3;
}

.product-article-grid-container {
    height: fit-content;
}

.product-article-grid-container .slider .img {
    width: 100%;
}

@media (min-width: 769px) {
    .article-grid > .container  * {
        grid-column: span 2;
    }

    .article-grid > .container {
        display: grid;
        grid-template-columns:  40% 1fr;
        column-gap: 20px;
    }
}

.article-grid .product-info__article {
    display: block;
    order: -1;
    grid-column: span 1;
}

.article-grid .images-product-container {
    grid-column: span 1;
    order: -2;
}

.article-grid .images-product-container .slider {
    max-width: 100%;
}

.article-grid .images-product-container img {
    aspect-ratio: auto !important;
}




.header-large-submenu.header {
    /* changing in assets/js/general.js */
    /* --header-large-submenu-offset: 75px; */
    /* --header-large-submenu-bg-color: #fff; */
    /* --header-large-submenu-hover-color: #000; */
    /* --header-large-submenu-transition-delay: 0.3s; */
    /* --header-large-submenu-transition-duration: 0.15s; */
}

/* .header-large-submenu.header .wrapper {
    padding: 0;
    padding-top: var(--wrapper-top-padding);
    padding-bottom: var(--wrapper-bottom-padding);
    border-bottom: 1px solid var(--light-border-color);
    display: grid;
    grid-template-columns: 250px 1fr max-content;
    align-items: center;
    gap: 60px;
} */

/* .header-large-submenu.header .box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 0;
}

.header-large-submenu.header .nav .list {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 32px;
}

.header-large-submenu.header .nav .list .item .link {
    font-family: var(--main-font);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-self: center;
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
}

.header-large-submenu.header .nav .list .item.active, .header-large-submenu.header .nav .list .item:hover {
    color: var(--header-active-color);
}

.header-large-submenu.header .nav {
    margin: 0;
}

.header-large-submenu.header .box .row {
    display: none;
}

.header-large-submenu .cart::before {
    display: none;
}
.header-large-submenu .cart .counter {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    color: var(--main-color-dark);
    font-weight: 600;
    font-size: 10px;
    line-height: 100%;
    text-transform: uppercase;
    margin: -2em 0 0 0;
    overflow: visible;
    border: none;
}

.header-large-submenu .cart .counter::before {
    content: '';
    display: block;
    width: 15px;
    height: 15px;
    margin: 10px -5px -10px 0;
    flex-shrink: 0;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    background-image: var(--icon-cart);
}

.header-large-submenu.header .box .logo {
    width: 100%;
    height: calc(100% * 2);
}

.header-large-submenu.header .nav .list .item .submenu {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    transition-duration: var(--header-large-submenu-transition-duration);
    transition-delay: var(--header-large-submenu-transition-delay);
    border-top: 1px solid var(--light-border-color);
    top: 75px;
    left: 0;
    width: 100%;
    padding: 33px 37px;
    background: white;
    z-index: 20;
    display: flex;
} */

.header .nav .list .item .submenu .container {
    padding: 0;
}

/* .header-large-submenu.header .nav .list .item:hover .submenu {
    opacity: 1;
    visibility: visible;
    transition-delay: 0s;
    -webkit-box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.2);
    -moz-box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.2);
    box-shadow: 8px 8px 8px 0px rgba(34, 60, 80, 0.2);
}

.header-large-submenu.header .nav .list .item {
    max-width: 100%;
    color: var(--main-color-dark);
    transition-duration: 0.2s;
    transition: .3s color;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: static;
}

.header-large-submenu.header .nav .list .item .link {
    font-family: var(--main-font);
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-self: center;
    font-weight: 600;
    font-size: 15px;
    line-height: 100%;
}

.header-large-submenu.header .nav .list .list {
    z-index: 10;
    flex-direction: column;
    align-items: flex-start;
}

.header-large-submenu.header .nav .close .item {
    background-color: black;
} */

@media screen and (max-width: 768px) {
    .article-grid > .container {
        display: flex;
        flex-direction: column;
    }

    /* .header-large-submenu.header .wrapper {
        padding: 20px 0;
        border: none;
        grid-template-columns: 1fr 80% 1fr;
        gap: 0;
        justify-items: center;
    }
    
    .header-large-submenu.header .box {
        min-height: 80px;
        display: contents;
    }
    
    .header-large-submenu.header .burger {
        opacity: 1;
        visibility: visible;
        display: block;
    }
    
    .header-large-submenu.header .box .logo {
        width: 80%;
        height: 40px;
        position: static;
        top: auto;
        left: auto;
        flex-shrink: 1;
        transform: none;
    }
    
    .header-large-submenu.header .nav {
        background-color: var(--body-color);
    }
    
    .header.header-large-submenu .nav {
        background-color: var(--body-color);
    }
    
    .header.header-large-submenu .nav.active {
        opacity: 1;
        visibility: visible;
        z-index: 99999;
        display: grid;
        grid-template-columns: 30px 1fr 30px;
        grid-template-rows: max-content max-content;
        align-items: center;
        gap: 20px 0;
        padding-top: 20px;
    }
    
    .header-large-submenu.header .nav .logo {
        width: 75%;
        height: 40px;
        grid-column: 2 / 3;
        grid-row: 1 / 2;
        margin: 0 auto;
    }
    
    .header-large-submenu.header .nav .close {
        position: relative;
        grid-column: 1 / 2;
        grid-row: 1 / 2;
        top: auto;
        right: auto;
    }
    
    .header-large-submenu.header .nav > .list {
        grid-area: 2 / 1 / 3 / 4;
        padding-top: 37px;
        border-top: 1px solid var(--light-border-color);
    }
    
    .header-large-submenu.header .nav .list {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    
    .header-large-submenu.header .nav .list .item .link {
        font-weight: 400;
    }

    [data-url="/"] .header-large-submenu.header .nav > .list > .item > .link {
        color: inherit;
    }
    
    .header-large-submenu.header .nav .list .item .submenu {
        display: contents;
    }
    
    .header-large-submenu.header .nav .list .list {
        position: relative;
        opacity: 1;
        visibility: visible;
        background-color: transparent;
        width: 100%;
        padding: 20px 0 0 40px;
        top: 0;
        box-shadow: none;
        display: none;
    }
    
    .header-large-submenu.header .nav .list .list {
        display: flex;
    }
    
    .header-large-submenu.header .nav .list .item .submenu .list-with-images {
        display: none;
    } */

}

.product-grid {
    display: grid;
    grid-template-columns: repeat(var(--var-product-grid-column-count), minmax(0, 1fr));
    gap: 51px 7px;
}

@media screen and (max-width: 500px) {
    .product-grid {
        grid-template-columns: repeat(var(--var-product-grid-column-count-mobile), minmax(0, 1fr));
        gap: 20px;
    }
}

.product-grid-wide.product-grid {
    max-width: none;
}

.link-colors {
    display: flex;
    gap: 9px;
}

.link-colors .thumb {
    display: block;
    width: 31px;
    height: 31px;
}

.link-colors .thumb.selected {
    border-color: var(--muted-selected-color);
}

.link-colors .thumb .color {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 100%;
}

.link-colors .thumb circle:last-child {
    stroke: #b2b0b0;
}

.link-colors .thumb.selected circle:last-child {
    stroke: var(--muted-selected-color);
}


.product .link-colors {
    margin-top: 18px;
}

.product .link-colors .thumb {
    width: 18px;
    height: 18px;
    padding: 1.5px;
}

.single-product.product-2-left-photos>.container>.wrapper {
    display: grid;
}

.single-product.product-2-left-photos .slider {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.single-product.product-2-left-photos .slider {
    margin: 0;
}

@media screen and (max-width: 768px) {
    .single-product .product-2-left-photos .slider {
        grid-template-columns: 1fr;
        margin: 0 calc(-1* var(--container-mobile-padding));
    }
}

.single-product .info.info-compact .title {
    font-size: 16px;
    color: var(--text-color);
    font-weight: 700;
    line-height: 100%;
    margin-bottom: 16px;
}

.single-product .info.info-compact .block {
    display: grid;
    font-weight: 400;
    font-size: 15px;
    line-height: 18px;
    color: var(--text-color);
}

.single-product .info.info-compact .price {
    font-weight: 700;
    font-size: 16px;
    color: var(--main-color);
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 18px;
    text-transform: uppercase;
}

.single-product .info.info-compact .price .old {
    text-decoration: line-through;
    color: var(--muted-color);
}

.single-product .info.info-compact .price .new {
    color: var(--attention-color);
}

.single-product .info.info-compact .product-link-selector .color-param {
    display: flex;
    align-items: baseline;
}

.single-product .info.info-compact .product-link-selector .color-param .param {
    margin-right: 5px;
}

.single-product .info.info-compact .product-link-selector .color {
    font-weight: 700;
    line-height: 100%;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.single-product .info.info-compact .product-link-selector .modifier {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-bottom: 41px;
    margin-top: 32px;
    padding-top: 39px;
    border-top: 1px solid var(--light-border-color);
}

.single-product .info.info-compact .product-link-selector .modifier .modifier-title {
    grid-column: 1;
    grid-row: 1;
    font-weight: 700;
    font-size: 12px;
    line-height: 100%;
    text-transform: uppercase;
}

.single-product .info.info-compact .product-link-selector .modifier .modifier-info {
    grid-column: 2;
    grid-row: 1;
    display: inline;
    text-align: right;
    font-weight: 500;
    font-size: 12px;
    line-height: 15px;
    text-decoration-line: underline;
    text-transform: uppercase;
    color: var(--text-muted-color);
}

.single-product .info.info-compact .product-link-selector .modifier .values {
    grid-column: 1 / 3;
    grid-row: 2;
    margin-top: 34px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.single-product .info.info-compact .product-link-selector .modifier .values .value {
    display: block;
    width: 73px;
    height: 35px;
    padding: 10px;
    flex-shrink: 0;
    border: 1px solid var(--muted-color);
    font-weight: 500;
    font-size: 12px;
    line-height: 15px;
    text-transform: uppercase;
    text-align: center;
    cursor: pointer;
    transition-duration: 0.2s;
}

.single-product .info.info-compact .product-link-selector .modifier .values .value.selected {
    color: white;
    background: var(--muted-color)
}

.single-product .info.info-compact .product-link-selector .error-box {
    color: #930202;
    padding-top: 10px;
    margin-bottom: -30px;
}

.single-product .info.info-compact .product-link-selector .error-box:empty {
    display: none;
}

.single-product .info.info-compact .buttons {
    display: flex;
    align-items: stretch;
    flex-direction: column;
    gap: 15px;
    cursor: pointer;
    padding: 5px 0;
}

.single-product .info.info-compact .button {
    padding: 13px 35px;
    font-size: 12px;
    line-height: 1;
    color: var(--unmuted-color);
    background: var(--muted-color);
    border: 1px solid var(--muted-color);
    text-transform: uppercase;
    text-align: center;
    transition-duration: 0.2s;
}

.single-product .info.info-compact .button.button-white {
    background-color: transparent;
    color: var(--muted-color);
}

.single-product .info.info-compact .block.block-description {
    margin-top: 67px;
}

.single-product .info.info-compact .block .block-title {
    margin-bottom: 23px;
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
    text-transform: uppercase;
    color: var(--text-color);
}

.single-product .artikul {
    color: #383838;
    font-size: 14px;
}

.footer.footer-compact-horizontal .wrapper {
    padding: 80px 0 50px 0;
}

.footer.footer-compact-horizontal .nav {
    margin: 0;
}

.footer.footer-compact-horizontal .nav .list {
    flex-direction: column;
    flex-wrap: wrap;
    min-height: 42px;
    display: grid;
    grid-template-columns: repeat(var(--var-footer-column-count), minmax(0, 1fr));
    gap: 10px;
}

.footer.footer-compact-horizontal .nav .list .item {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 11px;
    line-height: 100%;
    color: inherit;
    text-transform: none;
}

.footer.footer-compact-horizontal .copyright {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 30px 0 0 0;
    padding: 30px 0 0 0;
    border-top: 1px solid var(--light-border-color);
}

.footer.footer-compact-horizontal .copyright .text {
    font-family: var(--accent-font);
    font-size: 10px;
    line-height: 13px;
    text-transform: uppercase;
    color: inherit;
}

.search-page {
    padding-bottom: 40px;
}

.search-page .search-form {
    margin: 0;
    padding-top: 40px;
    background: #fbfbfb;
    padding-bottom: 20px;
    margin-top: 10px;
}

.search-page .search-form .main-search-panel {
    /* эти стили нужно добавить на див, куда положить поле ввода и кнопку */
    display: flex;
    justify-content: end;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
}

.search-page .search-form .search-string {
    width: 100%;
    border: 1px solid rgba(0, 0, 0, 0.20);
    border-right: none;
    padding: 0 15px;
    background: white;
}

.search-page .search-form .search-string::placeholder {
    color: gray;
}

.search-page .search-form .button {
    padding: 5px 23px;
    background: var(--accent-color);
    color: white;
    cursor: pointer;
}

.search-page .search-type .wrapper:has(select) {
    position: relative;
    padding-bottom: 5px;
}

.search-page .search-type select {
    color: #B4B4B4;
    font-family: var(--accent-font);
    font-size: 12px;
    border-bottom: 1px dashed #B4B4B4;
}

.search-page .search-results label {
    display: block;
    font-size: 11px;
    color: gray;
    margin-top: 20px;
}

.search-page .input-wr.select .wrapper::after {
    content: '\f078';
}

.search-page .select .wrapper::after {
    z-index: 1;
}

.search-page .search-results:empty {
    padding: 100px;
}

.search-page .input-wr.select .wrapper::after {
    content: '\f078';
    font-family: 'Font awesome 7 Free';
    font-weight: 900;
    color: #b6b6b6;
    right: 2px;
    position: absolute;
    font-size: 10px;
    top: 6px;
}

.search-page .search-type select {
    color: var(--grey-color);
    font-family: var(--accent-font);
    font-size: 12px;
    border-bottom: 1px dashed var(--grey-color);
    padding-right: 25px;
}

.search-page .search-results:empty:before {
    content: 'По данному запросу ничего не найдено';
}

.search-page .no-element-catalog {
    text-align: center;
    color: gray;
    font-size: 14px;
    padding-top: 40px;
    padding-bottom: 200px;
}

.search-thumb {
    display: flex;
    border: 1px var(--accent-color);
    margin-bottom: 15px;
}

.search-thumb>* {}

.search-thumb .image {
    min-width: 100px;
    width: 50%;
    aspect-ratio: 1 / 1;
    border: 1px solid #eee;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #fafafa;
}

.search-thumb .name {
    font-weight: 600;
    margin-bottom: 5px;
}

.search-thumb .info-block {
    margin: 15px;
    display: flex;
    flex-direction: column;
}

.search-thumb .info-block .tag {
    font-size: 14px;
    border-radius: 3px;
    color: #999;
}

.search-thumb .info-block .tag .name {
    text-transform: capitalize;
    font-weight: 100;
}

.search-thumb .info-block .url {
    display: inline-block;
    color: var(-–accent-color);
    margin-bottom: 4px;
}

.search-thumb .description {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    /* Количество строк */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media screen and (max-width: 768px) {
    .footer.footer-compact-horizontal {
        margin: 0;
    }

    .footer.footer-compact-horizontal .wrapper {
        padding: 40px 0;
    }

    .footer.footer-compact-horizontal .logo {
        display: block;
        width: 90%;
        max-width: 350px;
        height: 60px;
    }

    .product-slider .slider .slick-prev,
    .product-slider .slider .slick-next {
        fill: #000 !important;
        filter: none !important;
    }

    .footer.footer-compact-horizontal .nav {
        margin: 40px 0 0 0;
    }

    .footer.footer-compact-horizontal .nav .list .item {
        font-weight: 400;
        font-size: 16px;
        line-height: 100%;
    }

    .footer.footer-compact-horizontal .copyright {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin: 40px 0 0 0;
        padding: 40px 0 0 0;
    }

    .footer.footer-compact-horizontal .copyright .text {
        text-transform: uppercase;
        font-weight: 400;
        font-size: 12px;
        line-height: 100%;
        text-align: center;
    }

    .cart-widget-list-no-gap .cart-product .name {
        -webkit-line-clamp: 3;
    }
}

@media screen and (max-width: 500px) {
    .footer.footer-compact-horizontal .nav .list {
        grid-template-columns: minmax(0, 1fr);
        gap: 23px;
    }

    .cart-widget-list-no-gap .cart-product .name { 
        -webkit-line-clamp: 2;
                max-width: 100%;
                order: -2;
                margin-right: 20px;
    }

    .cart-product .prices {
        margin-left: 0;
    }
    
    .cart-product .prices .price, .cart-product .prices .old_price {
        margin-bottom: 0;
    }
     .cart-product .product-modifiers {
        order: -1;
     }

     .cart-product .change-amount {
        margin: 5px 0;
     }

     .remove-container {
        top: 0;
        height: min-content;
     }
     .remove-container .remove-text {
        display: none;
     }

    .cart-widget-list-no-gap .cart-product .info {
        display: flex;
        flex-direction: column;
        gap: 7px;
    }
}

@media screen and (max-width: 500px) {
    .filters-block .btn[data-src="#filter-modal"] {
        flex-grow: 1;
        border-right: none;
        justify-content: space-between;
    }

    .filters-block .btn[data-src="#filter-modal"]:after {
        content: '';
        display: block;
        width: 16px;
        height: 16px;
        background-image: url(/assets/images/icons/filters.svg);
        background-size: contain;
        background-position: center;
        background-repeat: no-repeat;
    }

    .cart-page .list.cart-widget {
        gap: 20px;
    }
}

.visual-tag-container {
    position: relative;
}

.visual-tag-blocks {
    position: absolute;
    top: 2%;
    right: 2%;
    z-index: 1;
    font-size: 14px;
    display: grid;
    gap: 5px;
    justify-items: end;
}

.visual-tag-block {
    padding: 3px 5px;
    border-radius: 2px;
}

.visual-tag-block::after {
    content: '';
    display: block;
}

.new-roducts .visual-tag-block {
    font-size: 12px;
}

.popular-products .visual-tag-block, .product-thumb-general-item .visual-tag-block  {
    font-size: 14px;
}


@media screen and (max-width: 767px) {
    #filter-modal {
        width: 100%;
        padding: 24px 14px;
    }

    .filter-modal-close {
        position: static;
        margin-left: auto;
    }

    .filter-modal-header {
        margin-top: 20px;
    }

    .filter-modal-price {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }

    .filter-modal-input {
        width: 100%;
    }

    .visual-tag-blocks, .popular-products .visual-tag-block, .product-thumb-general-item .visual-tag-block, .new-roducts .visual-tag-blocks {
        font-size: 10px;
    }
}

.category-tpl-name-at-top .filters-block {
    margin-top: 10px;
}

.product-grid .direct-block {
    grid-column: span 2;
    grid-row: span 2;
}