/* сброс стандартных стилей  */
* {
    padding: 0;
    margin: 0;
    border: none;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* swiper */

.main-banner__swiper {
    width: 100%;
    height: clamp(432px, 55.6vw, 1000px);
}

.main-banner__item {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    overflow: hidden;
}
.main-banner__item video {
    position: absolute;
    left: 50%;
    height: 100%;
    transform: translateX(-50%);
}
.banner-item__video_mobile {
    display: none;
}

.main-swiper {
	position: relative;
}

.main-swiper__pb {
    padding-bottom: 48px;
}

@media screen and (max-width: 600px) {
	.main-swiper__pb {
		padding-bottom: 32px;
	}
}

.main-swiper .swiper-button-prev:after,
.main-swiper .swiper-button-next:after,
.main-banner__swiper .swiper-button-prev:after,
.main-banner__swiper .swiper-button-next:after {
    content: none;
}

.main-banner__content {
    width: 100%;
}

@media screen and (min-width: 1950px) {
    .main-banner__content {
        margin: 0;
    }
}

.main-banner__content i {
    font-family: "Noto Serif", serif;
    font-weight: var(--fw-400);
}

.main-banner__title {
    margin-bottom: 20px;
}

.main-banner__desc,
.main-banner__title {
    max-width: 470px;
}

.main-banner__desc {
    margin-bottom: 32px;
}

.custom-swiper-nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}

.custom-swiper-nav div {
    display: flex;
    gap: 6px;
    padding: 6px;
    border-radius: 999px;
    background-color: var(--light-gray);
}

.custom-swiper-nav .swiper-button-next::after,
.custom-swiper-nav .swiper-button-prev::after {
    content: unset;
}

.custom-swiper-nav .swiper-button-next,
.custom-swiper-nav .swiper-button-prev {
    position: static;
    margin: 0;
    width: 36px;
    height: 36px;
    background: #FFF;
    transition: background .3s ease;
}

.custom-swiper-nav .swiper-button-next:hover,
.custom-swiper-nav .swiper-button-prev:hover {
    background: var(--yellow);
    transition: background .3s ease;
}

.js-articles .swiper-button-disabled {
    display: none;
}

.main-banner__swiper .swiper-button-prev,
.main-swiper .swiper-button-prev,
.main-banner__swiper .swiper-button-next,
.main-swiper .swiper-button-next {
    background-color: #fff;
    height: 32px;
    width: 32px;
    border-radius: 50%;
}

.main-banner__swiper .swiper-button-prev svg,
.main-swiper .swiper-button-prev svg,
.main-banner__swiper .swiper-button-prev svg,
.main-swiper .swiper-button-prev svg,
.main-banner__swiper .swiper-button-next svg,
.main-swiper .swiper-button-next svg {
    width: auto;
    height: auto;
}

.main-banner__swiper .swiper-button-next,
.main-swiper .swiper-button-next {
    right: 40px;
}

.main-banner__swiper .swiper-button-prev,
.main-swiper .swiper-button-prev {
    left: 40px;
}

.main-banner__swiper .swiper-pagination-bullets.swiper-pagination-horizontal {
    bottom: 24px;
}

.main-banner__swiper .swiper-pagination-bullet,
.main-swiper .swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    background: transparent;
    border: 1px solid var(--swiper-pagination-color);
    opacity: 1;
}

.main-banner__swiper .swiper-pagination-bullet-active,
.main-swiper .swiper-pagination-bullet-active{
    background: var(--swiper-pagination-color);
}

.main-swiper__color--yellow .swiper-pagination-bullet-active {
    background: var(--swiper-pagination-color);
}


.main-swiper__color--blue .swiper-pagination-bullet {
    border: 1px solid var(--blue);
}

.main-swiper__color--blue .swiper-pagination-bullet-active {
    background: var(--blue);
}

.main-banner__swiper .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 2px;
}

@media screen and (max-width: 1439px) {
	.main-banner__swiper .swiper-button-next {
		right: 5px;
	}
	.main-banner__swiper .swiper-button-prev {
		left: 5px;
	}

	.main-swiper .swiper-button-next {
		right: 5px;
	}

	.main-swiper .swiper-button-prev {
		left: 5px;
	}
}

@media screen and (max-width: 600px) {
	.main-banner__swiper {
		/*margin-top: 48px;*/
		padding-bottom: 24px;
	}

	.main-banner__swiper .swiper-button-prev,
	.main-banner__swiper .swiper-button-next {
		display: none;
	}

	.main-banner__swiper .swiper-pagination-bullets.swiper-pagination-horizontal {
		bottom: 0;
	}

	.main-banner__swiper .swiper-pagination-bullet, .main-swiper .swiper-pagination-bullet {
		width: 12px;
		height: 12px;
	}

	.main-banner__content {
		display: flex;
		flex-direction: column;
		height: 100%;
		padding-top: 24px;
		padding-bottom: 12px;
	}

	.main-banner__link {
		max-width: none;
		width: 100%;
		margin-top: auto;
	}

	.main-swiper .swiper-button-next,
	.main-swiper .swiper-button-prev {
		display: none;
	}
}

/* остальные секции */

.main-section {
    overflow: hidden;
    margin-top: var(--gap-container);
}

.main-section:first-child {
	padding-top: clamp(24px, 5vw, 48px);
}

.main-section__color--light-gray {
    background-color: var(--light-gray);
}

.main-section__pt {
    padding-top: var(--padding-v);
}

.main-section__pb {
    padding-bottom: var(--padding-v);
}

.main-section__list {
    display: flex;
}

.main-title__pos {
    margin-bottom: clamp(20px, 5vw, 40px);
}

.main-title__pos--center {
    text-align: center;
}

@media screen and (max-width: 600px) {
    .custom-swiper-nav {
        display: none;
    }
}

/* block-cells */

.block-cells__btn {
    max-width: none;
    width: 100%;
}

.block-cells {
    display: grid;
    grid-template-areas: 'c1 c1 c4 c4' 'c1 c1 c4 c4' 'c2 c3 c4 c4';
    column-gap: var(--gap-h);
    row-gap: var(--gap-v);
    grid-template-columns: repeat(4, 1fr);
}

.block-cells__cell {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    border-radius: clamp(20px, 2vw, 32px);
    padding: clamp(16px, 2.5vw, 24px);
}

.block-cells__cell--1 {
    grid-area: c1;
    background-color: var(--yellow);
}

.block-cells__cell--1 .block-cells__desc {
    min-height: 196px;
}

.block-cells__cell--2 {
    grid-area: c2;
    background-color: var(--orange-light);
    color: var(--white);
}

.block-cells__cell--3 {
    grid-area: c3;
    background-color: var(--green);
    color: var(--white);
}

.block-cells__cell--4 {
    grid-area: c4;
    background-color: var(--gray);
}

.block-cells__bg {
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}

.block-cells__bg .block-cells__desc {
    max-width: 350px;
    margin-top: auto;
}

.block-cells__title h4 {
    font-weight: var(--fw-500);
}
.block-cells__desc p {
    font-weight: var(--fw-400);
    font-size: var(--p-medium);
    line-height: var(--p-lh-medium);
}

.block-cells__cell--2 .block-cells__desc p,
.block-cells__cell--3 .block-cells__desc p,
.block-cells__cell--4 .block-cells__desc p{
	font-size: var(--p-small);
	line-height: var(--p-lh-small);
}

@media screen and (max-width: 960px) {
	.block-cells {
		grid-template-areas: 'c1 c1 c1 c1' 'c4 c4 c4 c4' 'c2 c2 c3 c3';
		grid-template-rows: repeat(2, min(270px)) minmax(108px, 1fr);
	}

	.block-cells__cell {
		justify-content: flex-start;
	}

	.block-cells__cell--1 .block-cells__desc {
		min-height: auto;
	}

	.block-cells__btns {
		margin-top: auto;
	}
}

/* cloud-tags */

.cloud-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}

.cloud-tags__item {
    padding: 8px 20px;
    background-color: var(--light-yellow);
    border-radius: 500px;
}

.cloud-tags__item p {
    font-size: 12px;
    line-height: 16px;
    text-align: center;
    color: var(--black);
}

@media screen and (max-width: 600px) {
	.cloud-tags {
		gap: 8px;
		margin-bottom: 20px;
	}

	.cloud-tags__item {
		padding: 4px 10px;
	}
}

/* product-card */
.product-card {
    position: relative;
    width: clamp(260px, 30vw, 400px);
    padding: clamp(12px, 1.5vw, 16px);
    border-radius: 32px;
    background-color: var(--light-gray);
    overflow: hidden;
}

.product-card__badge-block {
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: clamp(16px, 2vw, 32px) clamp(16px, 2vw, 32px) 0;
}

.product-card__item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(24px, 4vw, 32px);
    height: clamp(336px, 44vw, 476px);
}

.product-card__top {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.product-card__name {
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
    min-height: clamp(40px, 3.5vw, 48px);
    font-size: var(--p-small);
    line-height: var(--p-lh-ultra-small);
    font-weight: var(--fw-500);
}

.product-card__img {
    position: relative;
    height: clamp(200px, 25vw, 300px);
    border-radius: 24px;
    background-color: var(--gray);
    padding: 12px;
    overflow: hidden;
    text-align: center;
}

.product-card__img img {
    width: auto;
    height: 100%;
    max-height: 276px;
    object-fit: cover;
}

img.product-card__img-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: cover;
    opacity: 0;
}

.product-card__price-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-card__price {
    font-size: var(--p-medium);
    line-height: var(--p-lh-medium);
    font-weight: var(--fw-400);
    color: var(--black);
}

.product-card__old-price {
    font-size: var(--p-ultra-small);
    line-height: var(--p-lh-ultra-small);
    font-weight: var(--fw-400);
    color: var(--dark-gray);
}

.product-card__btns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 9px;
}

.product-card__btns a {
    min-width: calc(50% - 4.5px);
    max-height: 44px;
}


.product-card:hover .product-card__img-hover {
    opacity: 1;
}

.product-card .added_to_cart.wc-forward {
    display: none;
}

@media screen and (max-width: 960px) {
	.product-card {
		border-radius: 20px;
	}
}

/* badge-list */

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge-list__item {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 90px;
    padding: 8px 20px;
    border-radius: 500px;
    background-color: var(--white);
    text-align: center;
}

.badge-list__item span {
	font-size: var(--caption);
	line-height: var(--caption-lh);
    color: var(--black);
}

@media screen and (max-width: 600px) {
	.badge-list__item {
		padding: 4px 10px;
	}
}

/* feature-article */
.feature-article {
    display: flex;
    gap: var(--gap-h);
}

.feature-article__media,
.feature-article__content {
	width: 50%;
    border-radius: 32px;
    overflow: hidden;
}

.feature-article__image {
    display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.feature-article__content {
    flex-basis: 50%;
    padding: clamp(16px, 2.5vw, 24px);
}

.feature-article__text {
    margin-top: 12px;
	font-size: var(--p-small);
	line-height: var(--p-lh-small);
    user-select: none;
}

.feature-article__content {
    position: relative;
    display: flex;
    flex-direction: column;
}

.feature-article__content--wave::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/wave.svg');
    background-position: 100%;
    background-repeat: repeat-y;
    z-index: 1;
}

.feature-article__content--blue {
    background-color: var(--blue);
}

.feature-article__content--blue {
    color: var(--white);
}

.feature-article__button {
    width: 100%;
    max-width: none;
    margin-top: auto;
}

.feature-article__label,
.feature-article__title,
.feature-article__text,
.feature-article__button {
    position: relative;
    z-index: 2;
}

.feature-article__info {
	margin-bottom: 20px;
}

.feature-article__info .feature-article__title,
.feature-article__info feature-article__text {
	color: inherit;
}

.feature-article__title {
	font-weight: var(--fw-500);
}

.feature-article__content .feature-article__label div {
    background-color: #D5E5FF;
}

.feature-article__mobile {
	display: none;
}

@media screen and (max-width: 600px) {
	.feature-article {
		flex-direction: column;
	}
	.feature-article__media {
		display: none;
	}
	.feature-article__content {
		width: 100%;
	}
	.feature-article__mobile {
		position: relative;
		display: block;
		border-radius: 12px;
		overflow: hidden;
		z-index: 1;
		margin-bottom: 16px;
	}

	.feature-article__mobile img {
		width: 100%;
		height: 100%;
		object-fit: cover;
	}
}

/* news-section */

.news-section__list {
    display: flex;
}

.news-section__card {
    width: 50%;
    margin-right: 24px;
}

.news-section__more-button {
    display: block;
    max-width: 260px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
}

/* news-card */
.news-card__media {
	display: block;
    overflow: hidden;
    border-radius: 32px;
}

.news-card__image {
    display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news-card__title {
    margin-top: 24px;
	font-weight: var(--fw-500);
}

.news-card__title h5 {
	font-weight: inherit;
}

.news-card__description {
    margin-top: 12px;
    margin-left: auto;
    margin-right: auto;
    font-size: var(--p-small);
    line-height: var(--p-lh-ultra-small);
    color: #484848;
    user-select: none;
}

.news-card__description p {
    font-size: var(--p-medium);
    line-height: var(--p-lh-medium);
}

@media screen and (min-width: 601px) {
	.news-section .swiper,
    .swiper.js-product-card,
    .swiper.js-rulers {
		overflow: visible;
	}
}

@media screen and (max-width: 600px) {
	.news-card__media {
		border-radius: 20px;
	}
	.news-card__title {
		margin-top: 20px;
	}

	.news-card__description {
		margin-top: 8px;
	}

	.news-section__more-button {
		max-width: none;
		margin-top: 20px;
	}
}

/* ugc-gallery */
.ugc-gallery {
    padding-left: calc((100vw - var(--container-not-padding)) / 2);
}
.ugc-gallery__list {
    display: flex;
}
.ugc-gallery__item {
    position: relative;
    width: 100%;
    max-width: clamp(294px, 30vw, 400px);
    height: clamp(372px, 40vw, 556px);
    padding:  clamp(12px, 2vw, 20px);
    border-radius: 32px;
    background-repeat: no-repeat;
	background-size: cover;
    cursor: pointer;
    overflow: hidden;
}
.ugc-gallery__item video {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ugc-gallery__item video:fullscreen {
    object-fit: none;
}

.ugc-gallery__play {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 28px;
    background-color: var(--yellow);
}

@media screen and (max-width: 600px) {
	.ugc-gallery {
		padding-left: 12px;
	}

	.ugc-gallery__item {
		border-radius: 20px;
	}

	.ugc-gallery__play {
		width: 32px;
		height: 32px;
	}

	.ugc-gallery__play svg {
		width: 16px;
		height: 16px;
	}
}

/* tabs-filter */
.tabs-filter {
	display: inline-flex;
	align-items: center;
	gap: clamp(8px, 2vw, 16px);
	margin-top: 48px;
	margin-bottom: 24px;
	padding: 8px;
	border-radius: 500px;
	background-color: var(--light-gray);
}

.tabs-filter__item {
	padding: clamp(8px, 1vw, 10px) clamp(10px, 1vw, 32px);
	border-radius: 500px;
	background-color: transparent;
	font-size: clamp(10px, 2vw, 16px);
	line-height: clamp(14px, 2vw, 20px);
	cursor: pointer;
	transition: background-color var(--transition), color var(--transition);
}

.tabs-filter__item.active {
	color: var(--white);
}

@media screen and (max-width: 600px) {
	.tabs-filter {
		margin-top: 20px;
		margin-bottom: 16px;
	}
}

/* product-showcase */

.product-showcase__title {
    margin-bottom: 12px;
}

.product-showcase__subtitle {
    text-align: center;
    font-size: var(--p-medium);
    font-weight: var(--fw-400);
    line-height: var(--p-lh-medium);
    color: #484848;
}

.product-showcase__promo {
    position: relative;
    display: flex;
    border-radius: 32px;
    margin-top: 40px;
    overflow: hidden;
}

.product-showcase__promo-text {
    position: absolute;
    align-self: end;
    left: 0;
    margin-left: clamp(16px, 3vw, 32px);
    margin-bottom: clamp(16px, 3vw, 32px);
    width: 60%;
}

.product-showcase__promo-text p,
.product-showcase__promo-text span {
    font-size: clamp(12px, 3vw, 32px);
    line-height: clamp(18px, 3vw, 40px);
    color: var(--white);
}

.product-showcase__promo-text p {
    font-weight: var(--fw-500);
}

.product-showcase__promo-text span {
    font-weight: var(--fw-400);
}

.product-showcase__label {
    display: inline-block;
    padding: clamp(1px, 0.5vw, 5px) clamp(5px, 2vw, 20px);
    border-radius: 500px;
    font-style: italic;
    transition: background-color var(--transition), color var(--transition);
}

.product-showcase__label--dark-gray {
	background-color: var(--dark-gray);
}

.product-showcase__wrapper {
    position: relative;
}

.product-showcase__full {
	width: 100vw;
	margin-left: clamp(0px, 30vw, calc((100vw - var(--container-not-padding)) / 2));
	padding-right: clamp(0px, 30vw, calc((100vw - var(--container-not-padding)) / 2));
	transform: translateX(max(-100vw,min(calc((-100vw + var(--container-not-padding)) / 2),0px)));
	overflow: visible;
}

.product-showcase__full .swiper-scrollbar {
	opacity: 0;
}

.product-showcase__list {
    left: 0;
    top: 0;
    display: flex;
}

.product-showcase__list:not(.swiper-wrapper) {
	display: grid;
	grid-template-columns: repeat(auto-fill, clamp(261px, 28vw, 400px));
    gap: 24px;
	justify-content: space-evenly;
}

.product-showcase__card-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px;
    font-size: var(--p-medium);
    font-weight: var(--fw-500);
    line-height: var(--p-lh-medium);
    color: var(--white);
    transition: background-color var(--transition), color var(--transition);
}

.product-showcase__card-text p {
    min-height: 84px;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
    color: inherit;
}


.product-showcase__card-promo {
    padding: 0;
	height: clamp(360px, 47vw, 508px);
}

.product-showcase__card-promo img {
	object-fit: cover;
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 960px) {
    .product-showcase__wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -ms-overflow-style: none;
        scrollbar-width: none;
    }

    .product-showcase__wrapper::-webkit-scrollbar {
        display: none;
    }

    .product-showcase__list:not(.swiper-wrapper) {
        grid-auto-flow: column;
        grid-auto-columns: clamp(261px, 28vw, 400px);
    }
}

@media screen and (max-width: 600px) {
    .main-section.product-showcase {
        margin-top: 0;
    }
	.product-showcase__promo {
		margin-top: 28px;
	}

	.product-showcase__card-text {
		padding: 16px;
	}

	.product-showcase__card-text p {
		min-height: 48px;
	}
}

/* page news */

.news__banner {
	margin-top: 32px;
	border-radius: 32px;
	overflow: hidden;
}

.news__banner img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.news__filter {
	margin-top: 0;
	margin-bottom: 0;
}

.news__filter-item.active {
	background-color: var(--yellow);
	color: var(--black)
}

.news__wrapper {
	position: relative;
	margin-top: 24px;
}

.news__list {
	left: 0;
	top: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, clamp(351px, 50vw, 400px));
	justify-content: center;
	gap: var(--gap-h);
}


@media screen and (max-width: 600px) {
	.news__banner {
		display: none;
	}
}

/* blog-card */

.blog-card {
	display: flex;
	flex-direction: column;
	border-radius: 32px;
	overflow: hidden;
	background-color: var(--light-gray);
	transition: transform var(--transition);
}

.blog-card:hover {
	transform: translateY(-5px);
}

.blog-card__img {
	max-height: 265px;
	border-radius: 32px;
	overflow: hidden;
}

.blog-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.blog-card__title {
	padding: 20px 20px 48px;
}

@media screen and (max-width: 600px) {
	.blog-card__img {
		border-radius: 20px;
	}

	.blog-card__title {
		padding: 20px 20px 32px;
	}

	.news__list {
		row-gap: 20px;
	}
}

button[type=submit].js-to-cart.loading {
    background: -webkit-repeating-linear-gradient(145deg, #f8e9db 1px, #fff5ed 2px, #fff5ed 11px, #f8e9db 12px, #f8e9db 20px);
    background: repeating-linear-gradient(-55deg, #f8e9db 1px, #fff5ed 2px, #fff5ed 11px, #f8e9db 12px, #f8e9db 20px);
    -webkit-animation-name: MOVE-BG;
    -webkit-animation-duration: .6s;
    -webkit-animation-timing-function: linear;
    -webkit-animation-iteration-count: infinite;
    animation-name: MOVE-BG;
    animation-duration: .6s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    cursor: not-allowed
}

@keyframes MOVE-BG {
    0% {
        background-position: -20px
    }
    to {
        background-position: 20px
    }
}