@charset "UTF-8";
@font-face {
  font-family: "Montserrat";
  font-display: swap;
  src: url("../fonts/Montserrat-Bold.woff2") format("woff2"), url("../fonts/Montserrat-Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}
@font-face {
  font-family: "OpenSans";
  font-display: swap;
  src: url("../fonts/OpenSans-LightItalic.woff2") format("woff2"), url("../fonts/OpenSans-LightItalic.woff") format("woff");
  font-weight: 300;
  font-style: italic;
}
@font-face {
  font-family: "OpenSans";
  font-display: swap;
  src: url("../fonts/OpenSans-Regular.woff2") format("woff2"), url("../fonts/OpenSans-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}
@font-face {
  font-family: "OpenSans";
  font-display: swap;
  src: url("../fonts/OpenSans-SemiBold.woff2") format("woff2"), url("../fonts/OpenSans-SemiBold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}
* {
  padding: 0px;
  margin: 0px;
  border: 0px;
}

*,
*:before,
*:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

aside,
nav,
footer,
header,
section {
  display: block;
}

html {
  font-size: 16px;
}

html,
body {
  height: 100%;
  min-width: 320px;
}

body {
  line-height: 1;
  font-family: "OpenSans";
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

input,
button,
textarea {
  font-family: "OpenSans";
  font-size: inherit;
}

input::-ms-clear {
  display: none;
}

button {
  cursor: pointer;
  background-color: inherit;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

a,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: inherit;
  font-size: inherit;
}

/*
&::-webkit-scrollbar {
	display: none;
}
*/
body {
  color: #5a5a5a;
}
body._lock {
  overflow: hidden;
}

.wrapper {
  width: 100%;
  min-height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  line-height: 150%;
}

._container {
  max-width: 1110px;
  margin: 0 auto;
}
@media (max-width: 1122px) {
  ._container {
    max-width: 970px;
  }
}
@media (max-width: 991.98px) {
  ._container {
    max-width: 750px;
  }
}
@media (max-width: 767.98px) {
  ._container {
    max-width: none;
    padding: 0 10px;
  }
}

._container-fluid {
  max-width: 1920px;
  margin: 0 auto;
}

.button {
  display: inline-flex;
  padding: 0px 0px;
}
.button._fw {
  width: 100%;
}

.select {
  position: relative;
}
.select__item {
  position: relative;
}
.select__title {
  color: #000;
  border: 1px solid #d9d9d9;
  background-color: #fff;
  cursor: pointer;
  border-radius: 4px;
}
@media (max-width: 991.98px) {
  .select__title {
    font-size: 18px;
  }
}
.select__value {
  display: flex;
  font-size: 14px;
  height: 30px;
  padding: 0px 15px;
  align-items: center;
  justify-content: space-between;
  flex-direction: row-reverse;
}
.select__value span {
  height: 1em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
}
.select__value:before {
  content: "";
  display: inline-block;
  transition: all 0.3s ease 0s;
  width: 11px;
  height: 7px;
  background: url("../img/icons/select.svg") center/100% no-repeat;
}
.select__input {
  width: 100%;
  background-color: transparent;
  height: 100%;
}
.select__options {
  color: #000;
  position: absolute;
  top: 29px;
  border-radius: 0 0 4px 4px;
  min-width: 100%;
  left: 0;
  background-color: #fff;
  border-top: 0;
  border: 1px solid #d9d9d9;
  border-top: 0;
  font-size: 14px;
  padding: 10px 0px 5px 0px;
}
@media (max-width: 991.98px) {
  .select__options {
    font-size: 18px;
  }
}
.select__option {
  cursor: pointer;
  padding: 5px 15px;
  margin: 0px 0px 0px 0px;
}
@media (min-width: 992px) {
  .select__option:hover {
    background: #d9d9d9;
  }
}
.select._active {
  z-index: 5;
}
.select._active .select__value:before {
  transform: rotate(-180deg);
}
.select._active .select__options {
  display: block;
}

input[type=text],
input[type=email],
input[type=tel],
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
input[type=text]:focus,
input[type=email]:focus,
input[type=tel]:focus,
textarea:focus {
  outline: none;
}

.input {
  border-radius: 0 !important;
  width: 100%;
  display: block;
  padding: 0px 20px;
}
textarea.input {
  resize: none;
  padding: 0px 0px;
}

.checkbox {
  position: relative;
}
.checkbox__input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
}
.checkbox__input:checked + .checkbox__text:before {
  background: #fff url("../img/icons/check.svg") center no-repeat;
}
.checkbox__text {
  display: inline-flex;
  align-items: center;
  position: relative;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: -0.3px;
  line-height: 1.25;
  cursor: pointer;
}
.checkbox__text:before {
  content: "";
  align-self: flex-start;
  margin: 0px 14px 0px 0px;
  flex: 0 0 20px;
  left: 0;
  top: 0;
  width: 20px;
  height: 18px;
  background: #fff;
  border: 1px solid #a7a9ac;
}
.checkbox a {
  color: #fff;
  text-decoration: underline;
}
@media (min-width: 992px) {
  .checkbox a:hover {
    text-decoration: none;
  }
}
.checkbox._error .checkbox__text:before {
  border: 1px solid #ee1212;
}

.options {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.options__item {
  position: relative;
  cursor: pointer;
}
.options__input {
  position: absolute;
  width: 0;
  height: 0;
  opacity: 0;
  left: 0;
  top: 0;
  visibility: hidden;
}
.options__input:checked + .options__text:after {
  transform: scale(1);
}
.options__text {
  display: inline-flex;
  align-items: center;
  position: relative;
  font-size: 16px;
  color: #ffffff;
  letter-spacing: -0.3px;
  line-height: 1.25;
}
.options__text:before {
  content: "";
  align-self: flex-start;
  margin: 0px 14px 0px 0px;
  flex: 0 0 20px;
  left: 0;
  top: 0;
  border-radius: 50%;
  width: 20px;
  height: 18px;
  background: #fff;
  border: 1px solid #a7a9ac;
}
.options__text:after {
  content: "";
  transition: all 0.3s ease 0s;
  transform: scale(0);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #77243a;
  position: absolute;
  left: 5px;
  top: 4px;
}

.rating {
  display: flex;
  align-items: flex-end;
  font-size: 40px;
  line-height: 0.75;
  transition: opacity 0.3s ease 0s;
}

.rating.rating_sending {
  opacity: 0.2;
}

.rating.rating_set .rating__active,
.rating.rating_set .rating__item {
  cursor: pointer;
}

.rating__body {
  position: relative;
}

.rating__body::before {
  content: "★★★★★";
  display: block;
}

.rating__active {
  position: absolute;
  width: 0%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
}

.rating__active::before {
  content: "★★★★★";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  color: #ffd300;
}

.rating__items {
  display: flex;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.rating__item {
  flex: 0 0 20%;
  height: 100%;
  opacity: 0;
}

.rating__value {
  font-size: 50%;
  line-height: 1;
  padding: 0px 0px 0px 10px;
}

.quantity {
  width: 88px;
  height: 40px;
  display: flex;
  border: 1px solid rgba(166, 166, 166, 0.45);
}
.quantity__button {
  flex: 0 0 30px;
  position: relative;
  cursor: pointer;
}
.quantity__button::before, .quantity__button::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transition: all 0.3s ease 0s;
  margin: 0px 0px 0px -4.5px;
  background-color: #a6a6a6;
  width: 9px;
  height: 1px;
}
@media (min-width: 991.98px) {
  .quantity__button:hover::before, .quantity__button:hover::after {
    background-color: rgba(0, 0, 0, 0.5);
  }
}
.quantity__button_plus::before {
  transform: rotate(-90deg);
}
.quantity__input {
  flex: 1 1 auto;
}
.quantity__input input {
  height: 100%;
  color: #a6a6a6;
  font-size: 12px;
  width: 100%;
  text-align: center;
}

.title {
  font-family: "Montserrat";
  font-weight: bold;
  color: #363838;
}

.row:after {
  display: block;
  content: "";
  clear: both;
}

.rub:after {
  content: "₽";
}

ol.counter {
  list-style-type: none;
  counter-reset: item;
}
ol.counter li {
  position: relative;
  padding: 0px 0px 0px 45px;
}
ol.counter li:before {
  counter-increment: item;
  content: counter(item);
  position: absolute;
  left: 0;
  top: 0;
  color: #818181;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
  line-height: 26px;
  border-radius: 50%;
  width: 28px;
  height: 28px;
  border: 1px solid #4274bb;
}

.ellipsis {
  display: block;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.es {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.table {
  display: table;
  font-size: 0;
  width: 100%;
}

.trow {
  display: table-row;
}

.cell {
  display: table-cell;
}
.cell.full {
  width: 100%;
}

._ibg {
  position: relative;
}
._ibg img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  object-fit: cover;
}

body.ie ._ibg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
body.ie ._ibg img {
  width: 0;
  height: 0;
  opacity: 0;
  visibility: hidden;
}

._video {
  position: relative;
  overflow: hidden;
  height: 0;
  padding-bottom: 56.25%;
}
._video video,
._video iframe,
._video object,
._video embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.videobg video,
.videobg iframe,
.videobg object,
.videobg embed {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
  transform: translateX(-50%) translateY(-50%);
  background-size: cover;
}

._more-content {
  transition: all 0.3s ease 0s;
  overflow: hidden;
}

._more-link {
  cursor: pointer;
}
._more-link span {
  font-style: normal;
}
._more-link span:first-child {
  display: block;
}
._more-link span:last-child {
  display: none;
}
._more-link._active span {
  font-style: normal;
}
._more-link._active span:first-child {
  display: none;
}
._more-link._active span:last-child {
  display: block;
}

#map {
  background: url("../img/icons/loading.gif") center/50px no-repeat;
}

._swiper {
  overflow: hidden;
}
._swiper .swiper-wrapper {
  width: 100%;
  height: 100%;
  box-sizing: content-box;
  display: flex;
  position: relative;
}
._swiper.swiper-container-vertical .swiper-wrapper {
  flex-direction: column;
}
._swiper.swiper-container-autoheight .swiper-wrapper {
  align-items: flex-start;
}

.swiper-container-initialized .swiper-slide {
  flex-shrink: 0;
}

.swiper-container-android .swiper-slide,
.swiper-container-android .swiper-wrapper {
  transform: translate3d(0px, 0, 0);
}

.swiper-button-lock {
  display: none !important;
}

._tabs-block {
  display: none;
}
._tabs-block._active {
  display: block;
}

.mirror {
  transform: scale(-1, 1);
}

.nicescroll-rails {
  z-index: 1000 !important;
}

._custom-scroll {
  position: fixed;
  right: 0;
  top: 0;
  width: 3px;
  height: 100%;
  z-index: 1000;
}
._custom-scroll__line {
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 3px 0 0 3px;
  position: relative;
  left: 0;
  top: 0;
  width: 100%;
}

.popup {
  -webkit-overflow-scrolling: touch;
  z-index: 100;
  padding: 30px 10px;
  position: fixed;
  top: 0px;
  left: 0;
  width: 100%;
  height: 100%;
  transition: visibility 0.8s ease 0s;
  visibility: hidden;
}
.popup::before {
  content: "";
  background-color: rgba(0, 0, 0, 0.9);
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease 0s;
}
.popup.show {
  visibility: visible;
  overflow: auto;
}
.popup.show::before {
  opacity: 1;
}
.popup.show .popup__body {
  transform: scale(1);
}
.popup._active {
  overflow: auto;
  visibility: visible;
}
.popup._active::before {
  opacity: 1;
}
.popup._active .popup__body {
  transition: all 0.3s ease 0.2s;
  transform: scale(1);
}
.popup__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  flex: 1 1 auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.popup__body {
  transform: scale(0);
  transition: all 0.3s ease 0s;
  background-color: #fff;
  padding: 50px;
  width: 100%;
  max-width: 800px;
}
.popup__close {
  width: 15px;
  height: 15px;
  position: absolute;
  top: 0px;
  right: 0px;
  cursor: pointer;
  z-index: 30;
  background: url("../img/icons/close.svg") 0 0 no-repeat;
}

.header {
  position: relative;
}
.header__inner {
  display: grid;
  grid-template-rows: 120px;
  grid-template-columns: minmax(190px, 1fr) 100px minmax(190px, 1fr) 40px;
  align-items: center;
}
@media (max-width: 535px) {
  .header__inner {
    grid-template-columns: 1fr 40px;
    grid-template-rows: 80px;
  }
}
.header .menu {
  transition: all 0.3s ease 0s;
  z-index: 50;
}
@media (max-width: 535px) {
  .header .menu {
    padding-top: 30px;
    position: absolute;
    background-color: #8f8d8d;
    width: 100%;
    padding-bottom: 20px;
    text-align: center;
  }
  .header .menu__list-link {
    font-size: 24px;
  }
}
.header .menu-left {
  justify-self: start;
}
@media (max-width: 535px) {
  .header .menu-left {
    left: -100%;
    top: 80px;
    padding-top: 30px;
  }
  .header .menu-left._active {
    left: 0;
  }
}
.header .menu-right {
  justify-self: end;
  margin-right: 60px;
}
@media (max-width: 767.98px) {
  .header .menu-right {
    margin-right: 20px;
  }
}
@media (max-width: 535px) {
  .header .menu-right {
    margin-right: 0;
    right: -100%;
    top: 190px;
    height: 72vh;
  }
  .header .menu-right._active {
    right: 0;
  }
}
.header .menu__list {
  display: grid;
  grid-auto-columns: minmax(70px, 1fr);
  grid-template-columns: repeat(2, minmax(70px, 1fr));
  column-gap: 80px;
}
@media (max-width: 767.98px) {
  .header .menu__list {
    column-gap: 20px;
  }
}
@media (max-width: 535px) {
  .header .menu__list {
    grid-template-rows: repeat(auto-fit, minmax(30px, 1fr));
    grid-template-columns: minmax(70px, 1fr);
    row-gap: 20px;
  }
}
.header .menu__list-link {
  display: block;
  font-weight: bold;
  line-height: 22px;
  font-family: "Montserrat";
  color: #363838;
  transition: all 0.3s ease 0s;
}
@media (any-hover: hover) {
  .header .menu__list-link:hover {
    color: #8f8d8d;
    transform: scale(1.1);
  }
}
.header__logo {
  justify-self: center;
}
@media (max-width: 535px) {
  .header__logo {
    justify-self: start;
  }
}

/*
//Burger
.icon-menu {
	display: none;
	@media (max-width: $md3+px) {
		display: block;
		position: absolute;
		top: 18px;
		right: 10px;
		width: 30px;
		height: 18px;
		cursor: pointer;
		z-index: 5;
		span {
			transition: all 0.3s ease 0s;
			top: calc(50% - 1px);
			left: 0px;
			position: absolute;
			width: 100%;
			height: 2px;
			background-color: #000;
			&:first-child {
				top: 0px;
			}
			&:last-child {
				top: auto;
				bottom: 0px;
			}
		}
		&._active {
			span {
				transform: scale(0);
				&:first-child {
					transform: rotate(-45deg);
					top: calc(50% - 1px);
				}
				&:last-child {
					transform: rotate(45deg);
					bottom: calc(50% - 1px);
				}
			}
		}
	}
}
*/
.footer__top {
  background: #dfdfdf;
  padding: 60px 0 80px;
}
@media (max-width: 767.98px) {
  .footer__top {
    padding: 30px 0 40px;
  }
}
.footer__top-columns {
  display: grid;
  grid-template-columns: minmax(300px, 600px) minmax(100px, 1fr) minmax(100px, 1fr);
  column-gap: 100px;
}
@media (max-width: 767.98px) {
  .footer__top-columns {
    grid-template-columns: auto;
  }
}
@media (max-width: 767.98px) {
  .footer__contacts {
    margin-bottom: 20px;
  }
}
.footer__contacts-title {
  margin-bottom: 20px;
}
.footer__contacts-text {
  max-width: 475px;
  line-height: 27px;
  color: #5a5a5a;
  margin-bottom: 15px;
}
@media (max-width: 767.98px) {
  .footer__contacts-text {
    max-width: 100%;
  }
}
.footer__contacts-email {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 7px;
  align-items: center;
  font-weight: 600;
  font-size: 14px;
  line-height: 28px;
  margin-bottom: 25px;
}
.footer__contacts-email .footer-email__text {
  color: #363838;
}
.footer__contacts-form {
  display: grid;
  grid-template-columns: 1fr 160px;
  column-gap: 10px;
}
@media (max-width: 479.98px) {
  .footer__contacts-form {
    grid-template-columns: auto;
    row-gap: 20px;
  }
}
.footer__contacts-input {
  border: 1px solid #8f8d8d;
  border-radius: 21px;
  background-color: transparent;
  padding: 6px 16px;
  color: #8f8d8d;
}
.footer__contacts-btn {
  background: #363838;
  padding: 5px 20px;
  border-radius: 21px;
  font-weight: 600;
  font-size: 16px;
  line-height: 28px;
  text-align: center;
  color: #ffffff;
  cursor: pointer;
}
@media (max-width: 767.98px) {
  .footer__social {
    margin-bottom: 20px;
  }
}
.footer__social-item {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 7px;
  font-weight: 600;
  font-size: 14px;
  line-height: 28px;
  color: #707070;
  transition: color .3s;
  align-items: center;
}

@media (any-hover: hover){
  .footer__social-item:hover{
    color: #363838;
  }
}
.footer__social-item:not(:last-child) {
  margin-bottom: 15px;
}
.footer__menu-item {
  display: block;
  font-weight: 600;
  font-size: 14px;
  line-height: 28px;
  color: #707070;
  transition: color .3s;
}
@media (any-hover: hover){
  .footer__menu-item:hover{
    color: #363838;
  }
}

.footer__menu-item:not(:last-child) {
  margin-bottom: 15px;
}
.footer__bottom {
  background-color: #363838;
  padding: 40px 0;
  margin-bottom: 20px;
}
.footer__copy {
  text-align: center;
  color: #a1a1a1;
}

.page {
  flex: 1 1 auto;
}

.top {
  background-image: url("../img/promo-bg.jpg");
  background-position: 0 -150px;
  background-size: cover;
  background-repeat: no-repeat;
  margin-bottom: 120px;
}
@media (max-width: 991.98px) {
  .top {
    background-position: 0 0;
    margin-bottom: 60px;
    padding-bottom: 30px;
  }
}
.top__slider {
  margin-left: -250px;
}
@media (max-width: 1630px) {
  .top__slider {
    margin-left: -100px;
  }
}
@media (max-width: 1330px) {
  .top__slider {
    margin-left: 0;
  }
}
.top__slider-item {
  display: grid;
  grid-template-columns: 1fr minmax(630px, 1fr);
  column-gap: 20px;
}
@media (max-width: 1630px) {
  .top__slider-item {
    grid-template-columns: 500px 630px;
  }
}
@media (max-width: 1122px) {
  .top__slider-item {
    grid-template-columns: 450px 450px;
  }
}
@media (max-width: 991.98px) {
  .top__slider-item {
    grid-template-columns: repeat(auto-fit, minmax(460px, 1fr));
  }
}
@media (max-width: 479.98px) {
  .top__slider-item {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}
.top__slider-img {
  width: 100%;
  max-width: 700px;
  max-height: 815px;
  object-fit: cover;
}
.top__slider-info {
  display: grid;
  grid-template-rows: 1fr minmax(80px, 200px);
  row-gap: 50px;
  align-self: center;
}
@media (max-width: 991.98px) {
  .top__slider-info {
    text-align: center;
    row-gap: 20px;
  }
}
.top__slider-dotts {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
@media (max-width: 991.98px) {
  .top__slider-dotts {
    margin-top: 0;
  }
}
.top__slider-dotts .swiper-pagination-bullet {
  position: relative;
  width: 8px;
  height: 8px;
  background-color: #363838;
  border-radius: 50%;
  cursor: pointer;
}
.top__slider-dotts .swiper-pagination-bullet:not(:last-child) {
  margin-right: 30px;
}
.top__slider-dotts .swiper-pagination-bullet-active {
  background-color: #ffef35;
}
.top__slider-title {
  font-size: 110px;
  line-height: 134px;
  align-self: end;
}
@media (max-width: 1122px) {
  .top__slider-title {
    font-size: 80px;
    line-height: 150%;
  }
}
@media (max-width: 767.98px) {
  .top__slider-title {
    font-size: 56px;
  }
}
.top__slider-text {
  align-self: start;
  padding-top: 25px;
  line-height: 27px;
  position: relative;
}
.top__slider-text::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 184px;
  height: 1px;
  background-color: #6d7278;
}
@media (max-width: 991.98px) {
  .top__slider-text::before {
    left: 50%;
    transform: translateX(-50%);
  }
}

.collection {
  margin-bottom: 120px;
}
@media (max-width: 991.98px) {
  .collection {
    margin-bottom: 60px;
  }
}
.collection__top {
  margin: 0 auto 50px;
  text-align: center;
  max-width: 730px;
}
.collection__title {
  font-size: 36px;
  line-height: 51px;
  margin-bottom: 20px;
}
.collection__text {
  line-height: 27px;
  padding-top: 25px;
  position: relative;
}
.collection__text::before {
  position: absolute;
  content: "";
  width: 250px;
  height: 1px;
  background-color: #6d7278;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}
.collection__items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  column-gap: 30px;
  grid-template-rows: 1fr;
  row-gap: 30px;
}
.collection__item {
  display: grid;
  position: relative;
}
@media (any-hover: hover) {
  .collection__item:hover .collection__item-info {
    visibility: visible;
    opacity: 1;
    height: 100%;
  }
}
.collection__item-img {
  max-width: 100%;
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.collection__item-info {
  display: grid;
  grid-template-rows: repeat(2, 1fr);
  width: 100%;
  position: absolute;
  z-index: 3;
  height: 0%;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease 0s;
  text-align: center;
  background-color: rgba(255, 255, 255, 0.6);
}
.collection__item-title {
  font-size: 20px;
  line-height: 24px;
  align-self: end;
  margin-bottom: 20px;
}
.collection__item-text {
  padding-top: 20px;
  position: relative;
}
.collection__item-text::before {
  position: absolute;
  content: "";
  width: 200px;
  height: 1px;
  background-color: #6d7278;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.aesthetic {
  background-image: url("../img/aesthetic-bg.jpg");
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 0 0;
  padding: 160px 0;
  margin-bottom: 80px;
}
@media (max-width: 535px) {
  .aesthetic {
    padding: 80px 0;
    margin-bottom: 60px;
  }
}
.aesthetic__inner {
  display: grid;
  grid-template-columns: 500px;
}
@media (max-width: 535px) {
  .aesthetic__inner {
    grid-template-columns: 1fr;
  }
}
.aesthetic__title {
  font-size: 60px;
  line-height: 150%;
  padding-bottom: 20px;
}
@media (max-width: 535px) {
  .aesthetic__title {
    font-size: 48px;
  }
}
.aesthetic__text {
  padding-top: 20px;
  position: relative;
  line-height: 28px;
}
.aesthetic__text::before {
  position: absolute;
  content: "";
  width: 200px;
  height: 1px;
  background-color: #6d7278;
  top: 0;
  left: 0;
}

.work {
  margin-bottom: 110px;
}
@media (max-width: 535px) {
  .work {
    margin-bottom: 60px;
  }
}
.work__title {
  font-size: 36px;
  line-height: 51px;
  text-align: center;
  margin-bottom: 40px;
}
.work__items-hr {
  width: 100%;
  height: 1px;
  color: #5a5a5a;
}
.work__items-col {
  display: grid;
  grid-template-columns: repeat(4, minmax(270px, 1fr));
  padding: 40px 0 0;
}
.work__items-col:first-child {
  padding: 0 0 40px;
}
@media (max-width: 1122px) {
  .work__items-col {
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    column-gap: 20px;
  }
}
@media (max-width: 535px) {
  .work__items-col {
    grid-template-rows: repeat(2, 1fr);
    grid-template-columns: 1fr;
    row-gap: 20px;
    align-items: start;
  }
  .work__items-col:first-child {
    padding: 0;
  }
}
.work__item {
  position: relative;
}
.work__item::before {
  position: absolute;
  content: "";
  background-color: #5a5a5a;
}
@media (max-width: 535px) {
  .work__item {
    grid-column: auto !important;
  }
  .work__item::before {
    display: none;
  }
}
.work__item--1::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  bottom: -45px;
  left: 0;
}
.work__item--2 {
  grid-column: 3/4;
}
.work__item--2::before {
  width: 20px;
  height: 2px;
  border-radius: 50%;
  bottom: -32px;
  left: -10px;
  transform: rotate(-90deg);
}
@media (max-width: 1122px) {
  .work__item--2 {
    grid-column: 2/3;
  }
  .work__item--2::before {
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
  }
}
.work__item--3 {
  grid-column: 2/3;
}
.work__item--3::before {
  width: 20px;
  height: 2px;
  border-radius: 50%;
  top: -32px;
  left: -10px;
  transform: rotate(-90deg);
}
@media (max-width: 1122px) {
  .work__item--3 {
    grid-column: 1/2;
  }
  .work__item--3::before {
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
  }
}
.work__item--4 {
  grid-column: 4/5;
}
.work__item--4::before {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  top: -45px;
  right: 0;
  opacity: 0.7;
}
@media (max-width: 1122px) {
  .work__item--4 {
    grid-column: 2/3;
  }
}
.work__item-head {
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  column-gap: 15px;
  margin-bottom: 15px;
}

.gallery {
  margin-bottom: 90px;
}
@media (max-width: 535px) {
  .gallery {
    margin-bottom: 60px;
  }
}
.gallery__tabs-nav {
  text-align: center;
  margin-bottom: 40px;
}
.gallery__tabs-item {
  display: inline-block;
  padding: 6px 16px;
  border: 1px solid #8f8d8d;
  border-radius: 20px;
  text-align: center;
  color: #8f8d8d;
  cursor: pointer;
  transition: all 0.3s ease 0s;
}
@media (max-width: 479.98px) {
  .gallery__tabs-item {
    display: block;
  }
}
.gallery__tabs-item._active {
  color: #363838;
  background-color: rgba(255, 239, 53, 0.5);
  border: 1px solid rgba(255, 239, 53, 0.5);
}
.gallery__tabs-item:not(:last-child) {
  margin-right: 25px;
}
@media (max-width: 991.98px) {
  .gallery__tabs-item:not(:last-child) {
    margin-bottom: 15px;
  }
}
@media (max-width: 479.98px) {
  .gallery__tabs-item:not(:last-child) {
    margin-right: 0;
  }
}
.gallery__tabs-block {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 35px;
}
@media (max-width: 767.98px) {
  .gallery__tabs-block {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
  }
}
.gallery__tabs-block._active {
  display: grid !important;
}
.gallery__tabs-block img {
  display: block;
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.block__item--big {
  grid-column: span 2;
  grid-row: span 2;
}
@media (max-width: 991.98px) {
  .block__item--big {
    grid-column: span 1;
    grid-row: span 1;
  }
}

.ideas {
  margin-bottom: 100px;
}
@media (max-width: 535px) {
  .ideas {
    margin-bottom: 60px;
  }
}
.ideas__title {
  font-size: 36px;
  line-height: 51px;
  text-align: center;
  max-width: 430px;
  margin: 0 auto 30px;
}
.ideas__items {
  display: grid;
  grid-template-columns: repeat(2, minmax(300px, 1fr));
  column-gap: 30px;
}
@media (max-width: 991.98px) {
  .ideas__items {
    grid-template-columns: auto;
  }
}
@media (max-width: 991.98px) {
  .ideas__item:not(:last-child) {
    margin-bottom: 30px;
  }
}
.ideas__item-img {
  margin-bottom: 20px;
}
.ideas__item-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ideas__item-info {
  color: #8f8d8d;
  font-weight: 600;
  font-size: 14px;
  line-height: 28px;
  margin-bottom: 10px;
}
.ideas__item-title {
  font-size: 24px;
  line-height: 150%;
  transition: color .3s;
}
@media (any-hover: hover){
  .ideas__item-title:hover{
    color: #8f8d8d;
  }
}
@media (max-width: 767.98px) {
  .ideas__item-title {
    font-size: 18px;
  }
}