/* === DESKTOP FIRST === */
@media (max-width : 1600px) {
	.index {
		background: url(../img/bg_top.webp) no-repeat;
    background-size: contain;
    min-height: 100vh;
    background-color: var(--bg_accent);
}
}
/* xl <= Extra extra large (xxl) */
@media (max-width : 1440px) {
	.popup {
		width: 1000px;
	}
	.about__title {
		padding-top: 72px;
	}


	.about__img {
    max-height: 350px;
    align-items: center;
    display: flex;
	}
	.about__content_icons {
		display: flex;
		gap: 88px;
	}
	.about__content {
		order: 1;
		display: flex;
		flex-direction: column;
		width: 100%;
		justify-content: center;
		align-items: center;
	}
	.about__block {

		flex-direction: column;
	}
	.product__slider {
		padding: 0px 30px 0 30px;
		margin-top: 45px;
	}

	.products .container {
		padding: 0;
	}

	.advantages__wrapper {
    display: flex;
    flex-direction: column;
	}


	.main__title h1 {
		padding: 0 46px;
	}
	.container {
		padding: 0 46px;
		flex-direction: column;
	}
	.main__title {
    text-align: center;
    width: 100%;
		padding-top: 205px;
}
	.advantages__content {
		left: 0;
		top: unset;
    margin-top: 50px;
    width: 100%;
    position: relative;
    height: unset;
    justify-content: space-between;
		gap: 28px;
		align-items: flex-start;
	}
	.notification {
    margin-top: 70px;
    top: unset;
    position: relative;
}
	.index {
		background: url(../img/bg_top.webp) no-repeat;
		background-size: contain;
		background-position-y: -540px;
		background-color: var(--bg_accent);
	}
	.notification__wrapper {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
	}
	.notification__content {
		align-items: center;
	}
	.swiper-button-next {
		display: none;
	}
	.swiper-pagination {
    text-align: center;
}
}

/* lg <= Extra large (xl) */
@media (max-width : 1200px) {
	.index {
		background: url(../img/bg_top.webp) no-repeat;
		background-size: contain;
    background-position-y: -255px;
}

}
/* lg <= Extra large (xl) */
@media (max-width : 1024px) {
	.top__line .menu {
		display: none;
	}
	.gratitude__content {
		right: unset;
		width: 489px;
		align-items: center;
    text-align: center;
	}
	.gratitude{
		background-image: url(../images/gratitude_mobile.png);
	}
	.navigation__trigger {
	display: block;
	padding: 10px 20px;
	cursor: pointer;
}
.top__line .menu {
	align-items: center;
	position: fixed;
	right: 0;
	left: 0;
	top: 0;
	bottom: 0;
	width: 100%;
	padding: 0;
	min-height: 100vh;
	text-align: center;
	justify-content: center;
}
.top__line .menu__ul {
	background: var(--bg_dark);
	display: flex;
	list-style-type: none;
	padding: 100px;
	flex-direction: column;
}


.navigation__trigger_icon:after, .navigation__trigger_icon:before {
	position: absolute;
	display: none;
	width: 30px;
	height: 3px;
	content: "";
	transition-duration: .25s;
	transition-property: margin, transform;
	background: #d3d3d3;
}
.navigation__trigger_icon-active:before {
	margin-top: 0;
	transform: rotate(45deg);
	display: block;
}
.navigation__trigger_icon-active {
	z-index: 9999;
	position: fixed;
	right: 50px;
	top: 30px;
}
.navigation__trigger_icon-active:after {
	margin-top: 0;
	transform: rotate(-45deg);
	display: block;
}
.menu.active {
	display: flex;
	background: var(--bg_accent);
	z-index: 9;
}
.navigation__trigger_name-active {
	display: none;
}
.header.active {
	opacity: .95;
}
.menu__top_a {
	color: var(--text);
	text-decoration: none;
	cursor: pointer;
	padding: 15px 0;
}
.cart__wrapper {
	width: 54px;
}
.blur__image {
	background: linear-gradient(-90deg, rgba(0,0,0,.8) 0 100%, rgba(0,0,0,.05) 75% 100%);
}

}
@media (max-width : 1023px) {
	.popup {
    width: 100%;
	}
}

/* md <= Large (lg) */
@media (max-width : 992px) {

	.good__wrapper {
    flex-direction: column;
}

.good__image {
	max-width: 100%;
	flex: 1;
}
	.content__404 h1 {
    font-size: 12vw;
}

	.content__404 {
    padding: 80px 0;
    flex-direction: column;
    align-items: center;
}
	.popup__wrapper {
    top: 0;
}
	.notification {
		min-height: 220px;
	}
	.index {

    background-size: contain;
    background-position-y: 0;
	}
	.form__line {
    flex-direction: column;
		gap: 16px;
	}
	.input__adress {
		width: 340px;
	}
	.form {
    gap: 16px;
}
textarea {
	max-height: 100px;
}
.popup {
	gap: 32px;
}
.input__wrapper {
	align-items: center;
}
.input__adress, .input, textarea {
	width: 100%;
}
.popup__adress .input__wrapper {
	width: unset;
	padding: 0 20px;
}


}

/* sm <= Medium (md) */
@media (max-width : 768px) {
	.breadcrumbs {
		font-size: 14px;
		gap: 5px;
	}

	.popup__title {
    font-size: 32px;
	}
	.popup_item_name {
		font-size: 16px;
    line-height: 20px;
    width: unset;
    flex: 1;
	}
.popup__item_price {

	}
	.input__count {
    font-size: 20px;
    line-height: 24px;
    height: 30px;
    width: 30px;
	}
	
.popup__item_count {
    gap: 8px;
}
.number__minus img, .number__plus img{
	width: 18px;
}
.popup__item {
	padding: 0;
	position: relative;
}
.popup__items {
	display: flex;
	flex-direction: column;
	gap: 32px;
	padding: 0 20px;
}
.popup__close {
	position: absolute;
	right: 15px;
	top: 15px;
}


.products {
	margin-top: 0;
}

}

/* xs <= Small (sm) */
@media (max-width : 576px) {
.index .articles__wrap {
    display: flex;
		flex-direction: column;
}

	.footer {

    padding: 30px 10px;
}
.good__buy {
    padding: 10px 10px;
}
	.index {
		background: url(../img/bg_top.webp) no-repeat;
    background-size: contain;
    background-position-y: 0;

}
	.about__title {
    padding-top: 30px;
}

	.social__bots {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 5px;
    align-items: center;
    flex-wrap: wrap;
}
	.article__text img {
		padding: 10px 10px 5px 0;
		}
	.good__wrapper {
    display: flex;
    gap: 40px;
    justify-content: flex-start;
    margin: 20px 0;
    flex-wrap: wrap;
}
.tabs__text_wrap {
	padding: 20px 0;
}
	.breadcrumbs {
		font-size: 12px;
		gap: 5px;
	}
	.popup__delivery {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 0px;
    flex-direction: column;
}
	.popup__wrapper {
    top: 0;
}
	.input__count {
    font-size: 18px;
    line-height: 18px;
    height: 22px;
    width: 22px;
}
	.number__minus img, .number__plus img {
    width: 12px;
}
	.popup__item_price {
		font-size: 20px;
    line-height: 18px;
}
	.box__right {
    gap: 5px;
}
	.popup_item_img {
    max-width: 80px;
}
	.social {
    order: 1;
}

	.gratitude {
    overflow: scroll;
	}
	.gratitude__content {
    top: 196px;
    width: 100%;
    gap: 32px;
}
.gratitude__title {
	font-size: 32px;
}
	.section .article {
    width: 345px;
}
.content .article {
	padding-bottom: 32px;
	gap: 25px;
}

.content .article__text {
	font-size: 14px;	
	}
.section .articles {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 20px;
}
	.section__title h1 {
		font-size: 32px;
		padding: 20px 0 48px;
	}
	.content__date {

    margin-bottom: 30px;
}
	.content__title h1 {
    font-size: 32px;
    padding: 20px 0 20px;
}

	.popup__items {
		gap: 30px;
		padding: 0 10px 20px;
}

	.advantages {
		order: 1;
	}
	.products {
		order: 1;
	}
	.about {
		order: 1;
	}
	.articles {
		order: 1;
	}
	/* .product__slider {
		padding: 0px 20px 0 20px;
	} */

	.copyright {
		width: 100%;
		font-size: 12px;
		line-height: 140%;
		text-align: center;
		display: flex;
		align-items: center;
    gap: 10px;
		justify-content: center;
	}
	.logo.desktop {
		display: none;
	}
	.logo.mobile {
		display: flex;
	}
	.bottom__line {
		flex-direction: column;
		justify-content: center;
		gap: 20px;
	}

	.container {
		padding: 0 15px;
	}
	.main__title h1 {
		padding: 0;
		font-size: 32px;
	}
	.advantages__content {
		flex-direction: column;
		align-items: center;
	}

	.notification__title {
    font-size: 20px;
	}
	.notification__text {
		font-size: 14px;
		line-height: 150%;
		text-align: center;
	}
	.main__title {
    padding-top: 75px;
}
	.top__line {
		height: 52px;
	}
	.logo {
		width: 54px;
		}

		.icon__cart {
			width: 20px;
	}
	.header {
		height: 52px;
	}
	.main {
		display: flex;
			flex-direction: column;
	}
	.products {
    margin-top: 0;

	}
	/* .notification {
    margin-top: 25px;
		min-height: 205px;
} */
.notification {
	margin: 25px 0 0;
}
.advantages__content {
	margin: 30px 0;
}
.advantages__content {
	gap: 24px;
}
.about__content_text {
	font-size: 14px;

}
.about__content_icons {
	gap: 10px;
}
.about__content_icon {
	width: 105px;
}
.products__wrapper {

	padding-bottom: 72px;
}
.about__block {
	display: flex;
	gap: 72px;
}
.icon__img {
	width: 90px;
	height: 90px;
}
.icon__text {
	font-size: 16px;
	line-height: 100%;
}
.about__content_icons {
	padding-top: 50px;
}
.about__wrapper {
	padding-bottom: 50px;
}

}
@media (max-width : 375px) {
	.gratitude__content {
		top: 130px;
	}
}

@media (max-width : 320px) {
	.main__title {
		padding-top: 30px;
	}
	.notification__title {
    font-size: 18px;
    line-height: 1.2;
	}
	.advantages__item {
		gap: 8px;
	}
	.main__title h1 {
    padding: 0;
    font-size: 18px;
	}
	.notification {
		margin-top: 25px;
		min-height: 190px;
	}

}

/* === MOBILE FIRST === */

/* Custom (xs) */
@media (min-width : 0) {

}

/* Small (sm) */
@media (min-width : 576px) {

}

/* Medium (md) */
@media (min-width : 768px) {

}

/* Large (lg) */
@media (min-width : 992px) {

}

/* Extra large (xl) */
@media (min-width : 1024px) {
	.text {
		font-size: 18px;
	}
}

/* Extra large (xl) */
@media (min-width : 1200px) {
	.text {
		font-size: 18px;
	}
}

/* Extra extra large (xxl) */
@media (min-width : 1440px) {

}
