:root {
    --main-blue: #052B34;
    --main-black: #272A2B;
    --button-blue: #0b4250;
    --bg-white: #F3F3F3;
    --main-green: #75D14A;
    --text-black-color: #052B34;
    --text-grey-color: #8c8c8c;
    --to-order-color: #A6C3EE;
    --no-order-color: #6C7683;
    --ruby-color: #D44F68;
    --main-font: 'Rubik', sans-serif;
    --alt-font: 'PP Pangram Sans', sans-serif;
    --default-transition: all .5s;
    --alt-transition: all .2s;
    --red-color: #F63B00;
    --subtitle-color: #5d6c7b;
    --filter-bg-color: #f4f7fb;
    --hover-blue: #31869A;
    --search-color: #343538;
}

html {
    box-sizing: border-box;
}

html,
body {
    height: 100%;
}

.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main {
    flex-grow: 1;
}

*,
*::after,
*::before {
    box-sizing: border-box;
    font-family: var(--main-font);
}

::selection {
    background: var(--to-order-color);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-white);
    color: var(--text-black-color);
    font-size: 14px;
    line-height: 1.5;
}

input {
    border: none;
    padding: 0;
    margin: 0;
    border-radius: 10px;
    outline: none;
}

input::placeholder {
    font-size: 18px;
    font-weight: 400;
    color: var(--subtitle-color);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

a {
    text-decoration: none;
    color: var(--text-black-color);
    transition: var(--default-transition);
}

button {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: block;
    transition: var(--default-transition);
}

section,
footer {
    padding: 30px 0;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
    padding: 0;
    margin: 0;
    font-weight: 400;
}

ul {
    margin: 0;
    padding: 0;
    list-style-type: none;
}

input[type="search"]::-webkit-search-decoration,
input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-results-button,
input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    -o-appearance: none;
    appearance: none;
}

select::-ms-expand {
    display: none;
}

.container {
    padding: 0 15px;
    margin: 0 auto;
    max-width: 1430px;
}

.title h2,
.title h1 {
    font-size: 42px;
    line-height: 1.3;
    font-weight: 700;
    color: var(--main-blue);
}

.title p {
    font-size: 16px;
    line-height: 1.5;
    margin-top: 10px;
    color: var(--subtitle-color);
}

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

.title.title--banner h1 {
	color: #fff;
}

.oval-btn {
    border-radius: 50px;
    color: #fff;
    font-weight: 500;
    padding: 12px;
    font-size: 14px;
    line-height: 1.5;
}

.round-btn {
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--default-transition);
}

.round-btn img {
    width: 100%;
    max-width: 20px;
}

.rect-btn {
    display: inline-block;
    border-radius: 10px;
    color: #fff;
    font-weight: 500;
    background-color: transparent;
    padding: 15px;
    transition: var(--default-transition);
}

.main-title.wholesale {
	margin-top: 75px;
}

.brand-banner {
    background-color: #343538;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 227px;
}

.brand-banner__logo {
    max-width: 350px;
    max-height: 100px;
}

.brand-banner__text {
    font-size: 32px;
    line-height: 1.5;
    color: #fff;
    font-weight: 300;
    max-width: 400px;
}

.brand-banner__img {
    width: 100%;
    max-width: 280px;
}

.oval-btn--brand-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 5px;
    width: 210px;
}

.white {
    background-color: #fff;
    color: var(--main-blue);
    transition: var(--default-transition);
}

.blue {
    background-color: var(--button-blue);
    color: #fff;
    transition: var(--default-transition);
}

.transparent {
    background-color: transparent;
    color: var(--main-blue);
    border: 1px solid var(--main-blue);
}

.glass {
    position: relative;
    overflow: hidden;
}

.glass::after {
    content: '';
    position: absolute;
    background-color: #fff;
    opacity: 0.5;
    height: 155px;
    left: -75px;
    top: -50px;
    transform: rotate(35deg);
    transition: var(--default-transition);
    width: 50px;
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 20px;
    width: 20px;
    height: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999;
    background-color: rgba(0, 0, 0, .5);
}

.swiper-button-prev,
.swiper-button-next {
    width: 42px;
    height: 42px;
    background-color: var(--main-blue);
    border-radius: 50%;
    transition: var(--default-transition);
    top: 50%;
}

.swiper-button-prev {
    left: -14px;
}

.swiper-button-next {
    right: -14px;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    width: 8px;
    height: 12px;
    font-size: 0;
}

.swiper-button-prev::after {
    background: url('../img/icons/prev-button.svg') center center / cover no-repeat;
}

.swiper-button-next::after {
    background: url('../img/icons/next-button.svg') center center / cover no-repeat;
}

/* SKELETON START */

.skeleton {
    position: relative;
    overflow: hidden !important;
    background: linear-gradient(90deg, #eee, #d3d3d3, #eee) !important;
    border: none !important;
    pointer-events: none;
}

.skeleton::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 50;
    background: linear-gradient(90deg, #eee, #d3d3d3, #eee);
    background-size: 200%;
    animation: skeleton 2s infinite linear reverse;
}


@keyframes skeleton {
    0% {
        background-position: -100% 0;
    }

    100% {
        background-position: 100% 0;
    }
}

/* SKELETON END */

/* INFO START */

.info {
    padding: 30px 0;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    padding-left: 20px;
}

.breadcrumbs__item {
    position: relative;
}

.breadcrumbs__item svg {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: calc(100% + 5px);
}

.breadcrumbs__item a,
.breadcrumbs__item span {
    font-size: 12px;
    line-height: 1.5;
}

.breadcrumbs__item span.slash {
    margin-right: 5px;
}

.breadcrumbs__item.current span {
    color: var(--text-grey-color);
}

.breadcrumbs__item--home a svg path {
    transition: var(--default-transition);
}

.page-banner {
    padding: 70px 0 70px 45px;
    background: linear-gradient(90deg, var(--main-blue) 0.04%, #FFF 99.64%);
    margin-top: 25px;
    border-radius: 20px;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}

.page-banner.page-banner--payment {
	background-image: url('/local/templates/ekrom/img/payment.jpg');
}

.page-banner.page-banner--delivery {
	background-image: url('/local/templates/ekrom/img/delivery.jpg');
}

.page-banner.page-banner--catalog {
	background-image: url('/local/templates/ekrom/img/catalog.jpg');
}

.page-banner.page-banner--favorites {
	background-image: url('/local/templates/ekrom/img/favs.jpg');
}

.page-banner.page-banner--compare {
	background-image: url('/local/templates/ekrom/img/compare.jpg');
}

.page-banner.page-banner--cart {
	background-image: url('/local/templates/ekrom/img/cart.jpg');
}

.page-banner.page-banner--about {
	background-image: url('/local/templates/ekrom/img/about.jpg');
}

.page-banner.page-banner--news {
	background-image: url('/local/templates/ekrom/img/blog.jpg');
}

.page-banner.page-banner--cart {
	background-image: url('/local/templates/ekrom/img/cart.jpg');
}

.page-banner.page-banner--exchange {
	background-image: url('/local/templates/ekrom/img/obmen.jpg');
}

.page-banner.page-banner--services {
	background-image: url('/local/templates/ekrom/img/services.jpg');
}

.page-banner.page-banner--confidence {
	background-image: url('/local/templates/ekrom/img/confidence.jpg');
}

.page-banner.page-banner--feedback {
	background-image: url('/local/templates/ekrom/img/feedback.jpg');
}

.page-banner.page-banner--brands {
	background-image: url('/local/templates/ekrom/img/brands.jpg');
}

.page-banner h2 {
    color: #fff;
}

.page-banner.skeleton {
    background: transparent;
}

.title--banner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.counter {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    border: 1px solid rgba(5, 43, 52, 0.2);
    background: rgba(255, 255, 255, 0.6);
    border-radius: 5px;
    height: 35px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--main-blue);
}

.categories-with-img {
    position: relative;
    gap: 10px;
    margin-top: 20px;
}

.categories-with-img-slider__slide a {
    display: flex;
    align-items: center;
    border-radius: 20px;
    background-color: #fff;
    padding: 5px 40px 5px 10px;
    gap: 15px;
    min-height: 135px;
}

.categories-with-img-slider__slide a img {
    max-width: 40%;
    object-fit: contain;
}

.categories-with-img-button-prev.swiper-button-disabled,
.categories-with-img-button-next.swiper-button-disabled {
    display: none;
}

.categories-with-img-button-next {
    left: 100%;
    transform: translateX(-50%);
    right: auto;
}

.categories-with-img-button-prev {
    right: 100%;
    left: auto;
    transform: translateX(50%);
}

.tags {
    margin-top: 25px;
    display: flex;
    justify-content: space-between;
    gap: 50px;
}

.tags__inner {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    max-height: 50px;
    overflow: hidden;
    transition: var(--default-transition);
}

.tags__inner.active {
    overflow: visible;
    max-height: none;
}

.tags__inner.active ~ .tags__button::after {
    transform: rotate(225deg);
}

.tags__item-category {
    font-weight: 400;
    font-size: 16px;
    display: block;
}

.tags.tags--other {
    gap: 20px;
    justify-content: flex-start;
	flex-wrap: wrap;
}

.tags__item {
	position: relative;
    padding: 0;
}

.tags__item a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 12px 20px;
    color: inherit;
	cursor: pointer;
}

.tags__item:not(.current) {
    background: transparent;
    border: 1px solid var(--main-blue);
    color: var(--main-blue);
}

.tags__button {
    position: relative;
    padding-right: 20px;
    font-size: 16px;
    max-height: 2.5rem;
    flex-shrink: 0;
}

.tags__button::after {
    content: '';
    position: absolute;
    display: block;
    border: solid var(--main-blue);
    border-width: 0 1px 1px 0;
    padding: 3px;
    width: 7px;
    height: 7px;
    left: calc(100% - 10px);
    transform: rotate(45deg);
    top: 1em;
    cursor: pointer;
    transition: var(--alt-transition);
}
/* INFO END */

/* MOBILE-BOTTOM MENU START */

#mobile-bottom-menu {
    background-color: var(--main-black);
    margin: 0 auto;
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    z-index: 100;
    display: none;
    justify-content: center;
    padding: 17px 15px 11px 15px;
}

.mobile-bottom-menu__inner {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 350px;
}

.mobile-bottom-menu__item {
    position: relative;
    z-index: 1;
}

.mobile-bottom-menu__item a {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 6px;
    width: 100%;
    text-align: center;
    font-weight: 500;
    height: 100%;
}

.mobile-bottom-menu__item svg {
    width: 18px;
    height: 18px;
    transition: var(--alt-transition);
}

.mobile-bottom-menu__item a span {
    color: #fff;
    font-size: 10px;
    font-weight: 500;
}

.mobile-bottom-menu__item.active a span {
    color: var(--hover-blue);
}

.mobile-bottom-menu__item.active a .mobile-counter {
    color: #fff;
}

.mobile-bottom-menu__item.active:first-child a svg path {
    fill: var(--hover-blue);
}

.mobile-bottom-menu__item.active:not(:first-child) a svg path {
    stroke: var(--hover-blue);
}

/* MOBILE-BOTTOM MENU END */

/* HEADER-MENU START */

.header-menu {
    position: fixed;
    top: 0;
    bottom: 0;
    width: 100%;
    z-index: 500;
    left: 0;
    transition: var(--alt-transition);
    visibility: hidden;
    opacity: 0;
}

.header-menu.active {
    visibility: visible;
    opacity: 1;
}

.header-menu__inner {
    width: 85%;
    background-color: var(--search-color);
    height: 100%;
    padding: 25px 20px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    overflow-y: auto;
    position: relative;
    left: -100%;
    transition: .2s;
}

.header-menu.active .header-menu__inner {
    left: 0;
    transition: var(--alt-transition);
}

.header-menu__inner::-webkit-scrollbar,
.aside__inner::-webkit-scrollbar {
    width: 10px;
    background-color: rgba(93, 108, 123, .25);
    border-radius: 10px;
}

.header-menu__inner::-webkit-scrollbar-thumb,
.aside__inner::-webkit-scrollbar-thumb {
    background-color: rgba(93, 108, 123, .43);
    border-radius: 10px;
}

.header-menu__close.close-btn--header-menu {
    align-self: flex-end;
    position: static;
}

.header-menu .header-city {
    margin: 0;
    margin-top: 10px;
}

.header-menu .header-city__icon {
    background-color: var(--main-black);
}

.header-menu .header-menu__nav {
    margin-top: 30px;
}

.header-menu .header-menu__nav-box+.header-menu__nav-box {
    margin-top: 20px;
}

.header-menu .header-menu__nav-title {
    position: relative;
    cursor: pointer;
}

.header-menu .header-menu__nav-title.active~.header-menu__nav-list {
    display: block;
}

.header-menu .header-menu__nav-title {
    font-size: 18px;
    font-weight: 500;
    color: #fff;
	width: 100%;
	text-align: left;
}

.header-menu button.header-menu__nav-title.active::before {
    transform: rotate(225deg);
}

button.header-menu__nav-title::before {
    content: '';
    border: solid #8c8c8c;
    border-width: 0 1px 1px 0;
    display: block;
    padding: 3px;
    transform: rotate(45deg);
    position: absolute;
    top: 5px;
    right: 20px;
    transition: var(--alt-transition);
    display: block;
}

.header-menu .header-menu__nav-list {
    margin-top: 10px;
    display: none;
}

.header-menu .header-menu__nav-item+.header-menu__nav-item {
    margin-top: 15px;
}

.header-menu .header-menu__nav-item a {
    color: var(--text-grey-color);
}

.header-menu .header-menu__panel {
    margin-top: 30px;
}

.header-menu .header-menu__panel-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-menu .header-menu__panel-item+.header-menu__panel-item {
    margin-top: 25px;
}

.header-menu .header-menu__panel-img {
    background-color: var(--main-black);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 48px;
    min-height: 48px;
    transition: var(--default-transition);
}



.header-menu .header-menu__panel-text span.suptitle {
    font-size: 12px;
    color: #8c8c8c;
}

.header-menu .header-menu__panel-text span:not(.suptitle) {
    color: #fff;
    font-weight: 500;
    font-size: 16px;
    transition: var(--default-transition);
    display: block;
}

.header-menu .header-menu__socials {
    display: flex;
    justify-content: center;
    margin-top: 45px;
    gap: 15px;
}

.header-menu .round-btn--header-menu {
    width: 48px;
    height: 48px;
    background-color: var(--main-black);
}

/* HEADER-MENU END */

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: rgba(0, 0, 0, .62);
    z-index: 500;
    opacity: 0;
    visibility: hidden;
    transition: var(--alt-transition);
}

.mobile-overlay.active {
    visibility: visible;
    opacity: 1;
}

/* NOT FOUND START */

.not-found {
    background-color: var(--search-color);
    padding-top: 45px;
}

.not-found__return {
    color: #fff;
    position: relative;
    margin-left: 20px;
    font-size: 12px;
}

.not-found__return::after {
    content: '';
    position: absolute;
    background-image: url(../img/icons/return-catalog-white.svg);
    background-repeat: no-repeat;
    width: 13px;
    height: 9px;
    top: 50%;
    right: calc(100% + 7px);
    transform: translateY(-50%);
}

.not-found__return.skeleton::after {
    display: none;
}

.not-found__content {
    display: flex;
    justify-content: center;
    gap: 170px;
    padding: 185px 0 330px;
}

.not-found__text {
    color: #fff;
    max-width: 300px;
}

.not-found__title {
    font-size: 35px;
    font-weight: 600;
    text-transform: uppercase;
}

.not-found__descr {
    margin-top: 35px;
}

.rect-btn--not-found {
    color: var(--main-black);
    font-size: 16px;
    padding: 15px 25px;
    margin-top: 30px;
    border-radius: 5px;
}

.not-found__subtext {
    margin-top: 15px;
}

.not-found__subtext,
.not-found__subtext a {
    color: var(--text-grey-color);
    font-size: 12px;
}

.not-found__subtext a {
    display: block;
}

.not-found__code p {
    font-size: 228px;
    font-weight: 600;
    background: linear-gradient(246deg, #FFF 17.58%, #ABABAB 82.05%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'Jost', sans-serif;
}

/* NOT FOUND END */

.header__mobile-more {
    position: relative;
}

.header__mobile-more-btn {
    display: flex;
    flex-direction: column;
    gap: 3px;
    padding: 5px;
}

.header__mobile-more-btn span {
    width: 5px;
    height: 5px;
    background-color: #fff;
    border-radius: 50%;
    display: block;
}

.header__mobile-more-dropdown {
    position: absolute;
    padding: 15px;
    border-radius: 5px;
    background-color: var(--search-color);
    right: 0;
    top: 0;
    width: 200px;
    transform: scale(0);
    transform-origin: 100% 0;
    transition: var(--default-transition);
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, .25);
}

.header__mobile-more-dropdown.active {
    transform: scale(1);
}

.header__mobile-more-dropdown ul {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.header__mobile-more-dropdown ul button {
    color: #fff;
    text-align: left;
    font-size: 14px;
    width: 100%;
}

.toast {
    border: none;
}

.toast-container {
    top: auto;
    bottom: 10px;
    left: 15px;
    z-index: 999;
}

.toast_show {
    display: block;
}

.toast_message .toast__body {
    border-radius: 5px;
    border: none;
    padding: 25px;
    padding-right: 50px;
    font-size: 16px;
    font-weight: 500;
}

.toast_message .toast__body a {
    display: inline-block;
    margin-top: 30px;
    font-weight: 500;
    color: var(--main-blue);
    position: relative;
}

.toast_message .toast__body a::after {
    content: '';
    background-image: url('../img/icons/cart-arrow.svg');
    background-size: cover;
    background-position: center;
    position: absolute;
    display: block;
    width: 19px;
    height: 16px;
    left: calc(100% + 10px);
    top: 50%;
    transform: translateY(-50%);
}

.toast_message .toast__close {
    background: transparent url('../img/icons/close-blue.svg');
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
}

.round-btn--go-to-top {
    position: fixed;
    bottom: -50px;
    left: 50px;
    width: 50px;
    height: 50px;
    z-index: 950;
}

.round-btn--go-to-top.scroll {
    bottom: 50px;
}

.round-btn--go-to-top svg path {
    transition: var(--default-transition);
}

.aside__inner .aside__inner-close-btn {
    display: none;
}

.show-password-btn.active {
    background-image: url('../img/icons/auth-form/open-eye.svg');
}

.mobile-counter {
    position: absolute;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: var(--ruby-color);
    font-size: 10px;
    line-height: 1;
    color: #fff;
    top: -10px;
    right: -5px;
}

.header__mobile-link {
    position: relative;
}

.header__mobile-link .mobile-counter {
    top: -15px;
    right: -10px;
}

.header-city__button svg {
    margin-left: 8px;
}

.swiper-button-next.swiper-button-disabled, 
.swiper-button-prev.swiper-button-disabled {
    opacity: 0.5;
}

.product-card .reason {
    display: block;
    padding: 0 10px;
    margin-top: 10px;
}


.product-card .reason dl,
.product-card .reason dd {
    margin-bottom: 0;
}

.map-links .map-level-0 {
    margin-bottom: 50px;
}

.map-links .map-level-1 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.map-links a.map-link-level-1 {
    font-size: 22px;
}

.map-links a.map-link-level-2 {
    font-size: 16px;
    font-weight: 500;
}

.map-links .map-item-level-1:not(:first-child) {
    margin-top: 20px;
}

.oferta .oferta__item p {
	margin-bottom: 20px;
}

.oferta .oferta__item h2 {
	margin-bottom: 20px;
}

.oferta .oferta__item .tabs-list {
	padding-left: 30px;
	margin-bottom: 20px;
}

.oferta .oferta__item:last-child {
	margin-bottom: 50px;
}

.collection-products-section {
	margin: 48px 0;
}

.collection-products-section h2 {
	margin-bottom: 24px;
}

.collection-products__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 16px;
}

.collection-products__item {
	display: flex;
	gap: 15px;
	padding: 15px;
	border: 1px solid var(--filter-bg-color);
	border-radius: 10px;
	background: #fff;
}

.collection-products__image {
	flex: 0 0 90px;
	height: 90px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
	border: 1px solid var(--filter-bg-color);
	border-radius: 8px;
	background: #fff;
}

.collection-products__image img {
	max-width: 100%;
	max-height: 100%;
}

.collection-products__info {
	min-width: 0;
}

.collection-products__name,
.collection-products__price,
.collection-products__availability {
	display: block;
	margin-bottom: 8px;
}

.collection-products__name {
	color: var(--main-blue);
	line-height: 20px;
}

.collection-products__price {
	font-weight: 700;
	color: var(--text-black-color);
}

.collection-products__availability {
	display: flex;
	align-items: center;
	gap: 6px;
	color: var(--button-blue);
	font-size: 13px;
}

.collection-products__availability.is-unavailable {
	color: var(--text-grey-color);
}

.collection-products__availability-marker {
	width: 7px;
	height: 7px;
	flex: 0 0 7px;
	border-radius: 50%;
	background: #75D14A;
}

.collection-products__availability-marker--on_demand {
	background: #A6C3EE;
}

.collection-products__availability-marker--out_of_stock {
	background: #6C7683;
}

.collection-products__buy.btn {
	min-height: 36px;
	margin: 0;
	padding: 8px 14px;
	font-size: 12px;
}

.collection-products--compact {
	padding: 0;
	background: transparent;
	border: 0;
}

.collection-products--compact .collection-products__list {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 12px;
}

.basket-collection-products-row > td {
	padding: 0 25px 16px 44px;
	text-align: left;
}

.basket-collection-products {
	width: 100%;
	margin-left: 0;
	padding: 12px;
	border: 1px solid var(--filter-bg-color);
	border-radius: 10px;
	background: #fff;
}

.basket-collection-products__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 12px 14px;
	border: 0;
	border-radius: 7px;
	background: var(--filter-bg-color);
	color: var(--main-blue);
	font: inherit;
	font-weight: 500;
	cursor: pointer;
}

.basket-collection-products__toggle::after {
	content: '';
	width: 8px;
	height: 8px;
	margin-left: 12px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg) translateY(-2px);
	transition: var(--alt-transition);
}

.basket-collection-products.is-open .basket-collection-products__toggle::after {
	transform: rotate(-135deg) translateY(-2px);
}

.basket-collection-products__content {
	display: none;
	max-width: 680px;
	margin-top: 12px;
}

.basket-collection-products.is-open .basket-collection-products__content {
	display: block;
}

.collection-products__counter {
	display: grid;
	grid-template-columns: 36px 32px 36px;
	align-items: center;
	width: 104px;
	min-height: 36px;
	border-radius: 7px;
	background: var(--filter-bg-color);
	color: var(--text-black-color);
	font-size: 13px;
}

.collection-products__counter button {
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	cursor: pointer;
}

.collection-products__counter button:hover:not(:disabled) {
	color: var(--main-blue);
}

.collection-products__counter button:disabled {
	cursor: wait;
}

.collection-products__counter span {
	text-align: center;
	font-weight: 500;
}

.ekrom-order-gifts-container:empty {
	display: none;
}

.ekrom-order-gifts {
	margin: 32px 0 36px;
}

.ekrom-order-gifts__title {
	margin: 0 0 16px;
	color: var(--text-black-color);
	font-size: 24px;
	font-weight: 500;
	line-height: 1.3;
}

.ekrom-order-gifts__list {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
}

.ekrom-order-gifts__item {
	display: flex;
	flex: 0 1 480px;
	gap: 16px;
	min-height: 128px;
	padding: 16px;
	border: 1px solid var(--filter-bg-color);
	border-radius: 10px;
	background: #fff;
}

.ekrom-order-gifts__image {
	display: flex;
	flex: 0 0 96px;
	align-items: center;
	justify-content: center;
	height: 96px;
	padding: 6px;
	border: 1px solid var(--filter-bg-color);
	border-radius: 8px;
	background: #fff;
}

.ekrom-order-gifts__image img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.ekrom-order-gifts__content {
	display: flex;
	min-width: 0;
	min-height: 96px;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 6px;
}

.ekrom-order-gifts__label {
	color: var(--ruby-color);
	font-size: 11px;
	font-weight: 500;
}

.ekrom-order-gifts__name {
	color: var(--text-black-color);
	font-weight: 500;
	line-height: 1.4;
}

.ekrom-order-gifts__prices {
	display: flex;
	gap: 8px;
	align-items: baseline;
}

.ekrom-order-gifts__old-price {
	color: var(--text-grey-color);
	font-size: 13px;
	text-decoration: line-through;
}

.ekrom-order-gifts__price {
	color: var(--ruby-color);
	font-weight: 700;
}

.ekrom-order-gifts__button {
	margin-top: auto;
	padding: 10px 16px;
	font-size: 13px;
}

.ekrom-order-gifts__error {
	margin-top: 8px;
	color: var(--ruby-color);
	font-size: 12px;
}

.ekrom-product-gifts:empty {
	display: none;
}

.ekrom-product-gifts__section {
	margin-top: 32px;
	margin-bottom: 32px;
}

.ekrom-product-gifts__title {
	margin: 0 0 16px;
	color: var(--text-black-color);
}

.ekrom-product-gifts__slider {
	position: relative;
}

.ekrom-product-gifts__list {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scroll-behavior: smooth;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.ekrom-product-gifts__list::-webkit-scrollbar {
	display: none;
}

.ekrom-product-gifts__slider-button {
	position: absolute;
	z-index: 1;
	top: 50%;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 1px solid var(--filter-bg-color);
	border-radius: 50%;
	background: var(--bg-white);
	color: var(--main-blue);
	font-size: 32px;
	line-height: 32px;
	transform: translateY(-50%);
	cursor: pointer;
}

.ekrom-product-gifts__slider-button--prev {
	left: -20px;
}

.ekrom-product-gifts__slider-button--next {
	right: -20px;
}

.ekrom-product-gifts__item {
	display: flex;
	flex: 0 0 calc((100% - 16px) / 2);
	gap: 15px;
	align-items: center;
	min-height: 120px;
	padding: 15px;
	border: 1px solid var(--filter-bg-color);
	border-radius: 10px;
	background: #fff;
	scroll-snap-align: start;
}

.ekrom-product-gifts__image {
	display: flex;
	flex: 0 0 90px;
	align-items: center;
	justify-content: center;
	height: 90px;
	padding: 6px;
	border: 1px solid var(--filter-bg-color);
	border-radius: 8px;
}

.ekrom-product-gifts__image img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.ekrom-product-gifts__content {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	gap: 8px;
	min-width: 0;
}

.ekrom-product-gifts__label,
.ekrom-product-gifts__price {
	color: var(--ruby-color);
}

.ekrom-product-gifts__name {
	margin: 0;
	color: var(--text-black-color);
	line-height: 1.4;
}

.ekrom-product-gifts__prices {
	display: flex;
	gap: 8px;
	align-items: baseline;
	margin-top: 2px;
}

.ekrom-product-gifts__old-price {
	color: var(--text-grey-color);
	text-decoration: line-through;
}

.ekrom-product-gifts__button {
	margin-top: 4px;
}

.ekrom-product-gifts__counter {
	display: inline-flex;
	gap: 14px;
	align-items: center;
	margin-top: 4px;
	padding: 8px 12px;
	border: 1px solid var(--filter-bg-color);
	border-radius: 8px;
	background: var(--bg-white);
}

.ekrom-product-gifts__counter button {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--main-blue);
	font-size: 18px;
	line-height: 1;
}

.ekrom-product-gifts__error {
	margin-top: 8px;
	color: var(--ruby-color);
	font-size: 12px;
}

@media (max-width: 575px) {
	.ekrom-order-gifts {
		margin: 24px 0 28px;
	}

	.ekrom-order-gifts__title {
		font-size: 21px;
	}

	.ekrom-order-gifts__item {
		flex-basis: 100%;
	}

	.ekrom-product-gifts__item {
		flex-basis: 100%;
		align-items: flex-start;
		padding: 16px;
	}

	.ekrom-product-gifts__slider-button--prev {
		left: -10px;
	}

	.ekrom-product-gifts__slider-button--next {
		right: -10px;
	}

	.ekrom-product-gifts__image {
		flex-basis: 80px;
		height: 80px;
	}
}

@media (max-width: 575px) {
	.ekrom-order-gifts {
		padding: 16px;
	}
}
