* {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Montserrat", sans-serif;
}

.center {
  padding-left: calc(50% - 600px);
  padding-right: calc(50% - 600px);
}

.top {
  background-image: url(img/bg_header.jpg);
  background-size: cover;
  height: 735px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.header__logo {
  width: 198px;
  height: 44px;
}

.header__input {
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  text-align: left;
  padding-left: 32px;
  width: 288px;
  height: 41px;
  margin: 32px;
  box-sizing: border-box;
  border: 1px solid rgb(255, 255, 255);
  border-radius: 20px;
  background-color: transparent;
  font: inherit;
}

.header__input::-moz-placeholder {
  color: rgb(255, 255, 255);
}

.header__input::placeholder {
  color: rgb(255, 255, 255);
}

.header__link {
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0%;
  text-align: left;
  text-decoration-line: none;
}

.top__link {
  color: rgb(255, 255, 255);
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: left;
  text-decoration-line: underline;
}

.top__title {
  color: rgb(255, 255, 255);
  font-size: 64px;
  font-weight: 600;
  line-height: 70px;
  letter-spacing: 0%;
  text-align: left;
}

.top__subtitle {
  color: rgb(255, 255, 255);
  font-size: 24px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0%;
  text-align: left;
}

.top__title {
  padding-top: 64px;
  padding-bottom: 16px;
  font-weight: 600;
  font-size: 64px;
  line-height: 70px;
}

.top__subtitle {
  padding-bottom: 16px;
  font-size: 24px;
  line-height: 32px;
}

.top__link {
  font-size: 16px;
  line-height: 24px;
}

.product {
  width: 378px;
  display: flex;
  flex-direction: column;
}

.product-box__title {
  padding-top: 10px;
  padding-bottom: 9px;
  font-weight: 600;
  font-size: 48px;
  line-height: 59px;
  color: #000000;
}

.product__subtitle {
  padding-top: 10px;
  padding-bottom: 9px;
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  color: #000000;
}

.product__description {
  font-size: 14px;
  line-height: 17px;
  color: #888888;
}

.product__price-box {
  display: flex;
  gap: 32px;
  padding-top: 16px;
  padding-bottom: 8px;
}

.product__price {
  font-size: 24px;
  font-weight: 500;
  line-height: 29px;
  letter-spacing: 0%;
  text-align: left;
  color: #050505;
}

.product__price-old {
  font-size: 24px;
  font-weight: 500;
  line-height: 29px;
  letter-spacing: 0%;
  text-align: left;
  text-decoration-line: line-through;
  color: #888888;
}

.product-box {
  padding-top: 64px;
}

.product-content {
  display: flex;
  flex-wrap: wrap;
  margin-top: 32px;
  -moz-column-gap: 32px;
       column-gap: 32px;
  row-gap: 56px;
}

footer {
  display: flex;
  padding-top: 32px;
  padding-bottom: 64px;
  background-color: rgb(247, 246, 246);
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
}

.footer__title {
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  color: #000000;
}

.footer__link {
  font-weight: 500;
  font-size: 14px;
  line-height: 17px;
  color: #888888;
  text-decoration: none;
}

.footer__logo {
  width: 198px;
  height: 44px;
}

.footer__link:hover {
  text-decoration: underline;
}

.form__subtitle {
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  color: #000000;
}

.form__input {
  width: 260px;
  height: 40px;
  background: #FFFFFF;
  border: 1px solid #C4C4C4;
  box-sizing: border-box;
  border-radius: 16px;
  font-weight: normal;
  color: #C4C4C4;
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: 0%;
  text-align: left;
  font-family: "Montserrat", sans-serif;
  padding-left: 17px;
}

.form__input::-moz-placeholder {
  color: rgb(196, 196, 196);
  padding-bottom: 12px;
}

.form__input::placeholder {
  color: rgb(196, 196, 196);
  padding-bottom: 12px;
}

.form__button {
  background: rgb(236, 234, 234);
  border: 1px solid rgb(236, 234, 234);
  box-sizing: border-box;
  border-radius: 16px;
  width: 260px;
  height: 40px;
  font-size: 12px;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: 0%;
  color: #000000;
  font-family: "Montserrat", sans-serif;
}

.link-box {
  display: flex;
  padding-top: 39px;
  padding-bottom: 64px;
  color: #000000;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  letter-spacing: 0%;
  text-align: left;
  text-decoration-line: underline;
}

.footer__menu {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__nav {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  gap: 8px;
}

.footer__icon {
  padding-right: 20px;
}

.footer__icons {
  padding-top: 4px;
}

.top__hr {
  border: none;
  border-top: 0.5px solid rgb(237, 237, 236);
}

.for-box {
  padding-top: 64px;
}

.for-box__title {
  color: rgb(0, 0, 0);
  font-size: 48px;
  font-weight: 600;
  line-height: 59px;
}

.for {
  margin-top: 32px;
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(12, 1fr);
}

.for__item {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 415px;
  grid-column: span 4;
  font-size: 34px;
  font-weight: 600;
  line-height: 41px;
  color: rgb(255, 255, 255);
}

.for__item_big {
  grid-column: span 6;
}

.for__item_1 {
  background-image: url(img/for_chill.jpg);
}

.for__item_2 {
  background-image: url(img/for_work.jpg);
}

.for__item_3 {
  background-image: url(img/for_kitchen.jpg);
}

.for__item_4 {
  background-image: url(img/for_babyroom.jpg);
}

.for__item_5 {
  background-image: url(img/for_bathroom.jpg);
}

.top-catalog__title {
  color: rgb(255, 255, 255);
  font-size: 64px;
  font-weight: 600;
  line-height: 70px;
  margin-bottom: 126px;
  margin-top: 128px;
}

.top-catalog {
  background-image: url(img/bg_catalog.jpg);
  background-size: cover;
  height: 400px;
}

.top-catalog__hr {
  border: none;
  border-top: 0.5px solid rgb(237, 237, 236);
}

.filtering__title-main {
  color: rgb(0, 0, 0);
  font-size: 16px;
  font-weight: 400;
  line-height: 32px;
}

.filter-buttons {
  position: relative;
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.filter-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 16px;
  padding-right: 32px;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(196, 196, 196);
  border-radius: 20px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: rgb(0, 0, 0);
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url(img/polygon.jpg);
  background-position: calc(100% - 10px) center;
  background-repeat: no-repeat;
}

.filter-select {
  padding: 8px 16px;
  background: rgb(255, 255, 255);
  border: 1px solid rgb(196, 196, 196);
  border-radius: 20px;
  font: inherit;
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  color: rgb(0, 0, 0);
  padding-right: 32px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  background-image: url(img/polygon.jpg);
  background-position: calc(100% - 10px) center;
  background-repeat: no-repeat;
}

.filtering__box {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.header__nav-decoration {
  list-style-type: none;
  list-style-type: none;
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-box {
  display: flex;
  flex-direction: column;
  list-style-type: none;
  gap: 8px;
}

.header__menu {
  display: none;
}

.header__link,
.top__link,
.product__price,
.footer__link,
.form__button {
  transition: all 0.3s ease;
}

.link-box:hover,
.header__link:hover,
.top__link:hover {
  color: #888888;
  text-decoration: none;
}

.cart__button:hover,
.form__button:hover {
  color: #FFFFFF;
  background: #000000;
  border: 1px solid #000000;
}

@keyframes checkoutAnimation {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.cart__checkout-button {
  animation: checkoutAnimation 1s ease;
}

.footer__icon:hover {
  transition: filter 0.3s ease;
  filter: brightness(0) invert(0);
}

.top-cart__title {
  color: rgb(255, 255, 255);
  font-size: 64px;
  font-weight: 600;
  line-height: 70px;
  margin-bottom: 126px;
  margin-top: 128px;
}

.top-cart {
  background-image: url(img/bg_cart.jpg);
  background-size: cover;
  height: 400px;
}

.top-cart__hr {
  border: none;
  border-top: 0.5px solid rgb(237, 237, 236);
}

.cart {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px;
  margin-top: 64px;
}
.cart__form {
  border-radius: 20px;
  background: rgb(247, 246, 246);
  height: 556px;
  width: 376px;
  grid-column: span 4;
}
.cart__item {
  padding-top: 25px;
  padding-bottom: 32px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.cart__content {
  grid-column: span 8;
}
.cart__name-box {
  display: flex;
  justify-content: space-between;
  padding-bottom: 14px;
}
.cart__info {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cart__left {
  display: flex;
  gap: 32px;
  width: 480px;
}
.cart__hr {
  border: 0.5px solid rgb(202, 205, 216);
}
.cart__title {
  color: rgb(0, 0, 0);
  font-size: 24px;
  font-weight: 500;
  line-height: 29px;
}
.cart__subtitle {
  color: rgb(136, 136, 136);
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
}
.cart__price {
  color: rgb(5, 5, 5);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}
.cart__link {
  color: rgb(0, 0, 0);
  font-size: 14px;
  font-weight: 400;
  line-height: 210%;
  text-decoration-line: underline;
}
.cart__number {
  border-radius: 6px;
  border: none;
  border-color: rgb(247, 246, 246);
  background: rgb(247, 246, 246);
  width: 71px;
  height: 51px;
  font-size: 14px;
  font-weight: 600;
  line-height: 210%;
  text-align: center;
  font-family: inherit;
}
.cart__input {
  color: rgb(0, 0, 0);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  border: none;
  background-color: transparent;
  padding-top: 35px;
}
.cart__input:focus {
  outline: none;
  border: none;
}
.cart__input::-moz-placeholder {
  color: rgb(0, 0, 0);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  border: none;
  background-color: transparent;
}
.cart__input::placeholder {
  color: rgb(0, 0, 0);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  border: none;
  background-color: transparent;
}
.cart__purchase {
  color: rgb(0, 0, 0);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0px;
  text-align: center;
  width: 290px;
  height: 41px;
  box-sizing: border-box;
  border: 1px solid rgb(4, 4, 4);
  border-radius: 20px;
  cursor: pointer;
}
.cart__price-total {
  color: rgb(0, 0, 0);
  font-family: inherit;
  font-size: 24px;
  font-weight: 400;
  line-height: 29px;
  text-align: center;
  padding-top: 64px;
  padding-bottom: 18px;
}
.cart__form-title {
  padding-top: 42px;
  color: rgb(0, 0, 0);
  font-family: inherit;
  font-size: 24px;
  font-weight: 700;
  line-height: 29px;
}
.cart__form-hr {
  border: 1px solid rgb(202, 205, 216);
  width: 288px;
}
.cart__form-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cart__button {
  width: 200px;
  height: 37px;
  box-sizing: border-box;
  border: 1px solid rgb(0, 0, 0);
  border-radius: 50px;
  color: rgb(2, 2, 2);
  font-family: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  text-align: center;
  background-color: transparent;
  cursor: pointer;
}

.filtering {
  padding-top: 32px;
}
.filtering .center {
  position: relative;
}
.filtering-box {
  position: absolute;
  right: calc(50% - 400px);
  background-color: rgb(255, 255, 255);
  box-shadow: 0 4px 67px -12px rgba(0, 0, 0, 0.32);
  padding: 40px 48px;
}
.filtering__content {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-start;
}
.filtering__left {
  padding-right: 65px;
}
.filtering__title {
  color: rgb(5, 5, 5);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
  letter-spacing: 0;
  text-align: left;
  padding-bottom: 16px;
}
.filtering__subtitle {
  padding-left: 25px;
  color: rgb(0, 0, 0);
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  letter-spacing: 0;
  text-align: left;
  padding-bottom: 14px;
}
.filtering__button {
  color: rgb(0, 0, 0);
  background-color: rgb(255, 255, 255);
  font-family: inherit;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
  width: 190px;
  height: 40px;
  box-sizing: border-box;
  border: 1px solid rgb(4, 4, 4);
  border-radius: 20px;
  cursor: pointer;
  gap: 10px;
}
.filtering__delivery-box {
  border: 0;
  padding-bottom: 32px;
}
.filtering__room-box {
  border: 0;
  padding-bottom: 98px;
}
.filtering__color-box {
  border: 0;
  padding-bottom: 32px;
}
.filtering__colors {
  display: flex;
  width: 190px;
  gap: 14px;
  flex-wrap: wrap;
  padding-left: 0;
}
.filtering__color-item {
  width: 15px;
  height: 15px;
  position: relative;
}
.filtering__color-item input[type=checkbox] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  margin: 0;
  left: 0;
}
.filtering__color-item label {
  display: block;
  width: 100%;
  height: 100%;
  cursor: pointer;
}
.filtering__color-item:nth-child(1) label {
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(136, 136, 136);
}
.filtering__color-item:nth-child(2) label {
  background-color: rgb(0, 0, 0);
}
.filtering__color-item:nth-child(3) label {
  background-color: rgb(115, 115, 115);
}
.filtering__color-item:nth-child(4) label {
  background-color: rgb(255, 0, 0);
}
.filtering__color-item:nth-child(5) label {
  background-color: rgb(255, 122, 65);
}
.filtering__color-item:nth-child(6) label {
  background-color: rgb(242, 203, 1);
}
.filtering__color-item:nth-child(7) label {
  background-color: rgb(0, 191, 42);
}
.filtering__color-item:nth-child(8) label {
  background-color: rgb(28, 204, 151);
}
.filtering__color-item:nth-child(9) label {
  background-color: rgb(0, 159, 227);
}
.filtering__color-item:nth-child(10) label {
  background-color: rgb(0, 10, 248);
}
.filtering__color-item:nth-child(11) label {
  background-color: rgb(103, 16, 214);
}
.filtering__color-item:nth-child(12) label {
  background-color: rgb(157, 13, 181);
}
.filtering__color-item:nth-child(13) label {
  background-color: rgb(216, 154, 255);
}
.filtering__color-item:nth-child(14) label {
  background-color: rgb(255, 101, 166);
}

input[type=radio] {
  display: none;
}

input[type=radio] + label {
  position: relative;
  cursor: pointer;
}

input[type=radio] + label::before {
  left: -25px;
  top: 9px;
  content: "";
  position: absolute;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border: 1px solid rgb(136, 136, 136);
  border-radius: 20px;
}

input[type=radio]:checked + label::after {
  left: -21px;
  top: 10px;
  content: "";
  position: absolute;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  background-image: url("img/galochka.svg");
  background-repeat: no-repeat;
}

input[type=checkbox] {
  display: none;
}

input[type=checkbox] + label {
  position: relative;
  cursor: pointer;
}

.filtering__subtitle input[type=checkbox] + label::before {
  left: -25px;
  top: 9px;
  content: "";
  position: absolute;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border: 1px solid rgb(136, 136, 136);
}

.filtering__color-item input[type=checkbox] + label::before {
  content: "";
  position: absolute;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  border: none;
}

.filtering__subtitle input[type=checkbox]:checked + label::after {
  left: -21px;
  top: 10px;
  content: "";
  position: absolute;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  background-image: url("img/galochka.svg");
  background-repeat: no-repeat;
}

.filtering__color-item input[type=checkbox]:checked + label::after {
  left: 5px;
  top: 10px;
  content: "";
  position: absolute;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  background-image: url("img/galochka.svg");
  background-repeat: no-repeat;
}

input[type=range] {
  width: 190.5px;
}

.range {
  display: flex;
  flex-direction: column;
  padding-bottom: 32px;
}

.range__slider {
  position: relative;
  width: 190px;
  height: 1px;
  background: #000;
}

.range__input {
  position: absolute;
  width: 100%;
  height: 1px;
  top: 0;
  left: 0;
  pointer-events: none;
  -webkit-appearance: none;
  background: transparent;
}

.range__input::-webkit-slider-runnable-track {
  width: 100%;
  height: 1px;
  background: transparent;
}

.range__input::-webkit-slider-thumb {
  position: relative;
  height: 8px;
  width: 8px;
  margin-top: -4px;
  background: #000;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  -webkit-appearance: none;
  pointer-events: auto;
  z-index: 2;
}

.range__input:nth-child(1)::-webkit-slider-thumb {
  z-index: 3;
}

.range__input:nth-child(2) {
  z-index: 1;
}

.color-option {
  padding-left: 25px;
  display: flex;
  width: 190px;
  row-gap: 29px;
  -moz-column-gap: 29px;
       column-gap: 29px;
  flex-wrap: wrap;
}

.range__label {
  padding-bottom: 14px;
}

@media (max-width: 1024px) {
  .center {
    padding-left: calc(50% - 393px);
    padding-right: calc(50% - 393px);
  }
  .for__item {
    height: 268px;
  }
  .product-content {
    -moz-column-gap: 29px;
         column-gap: 29px;
    row-gap: 39px;
  }
  .footer__logo {
    display: none;
  }
  .cart {
    display: flex;
    flex-direction: column;
  }
  .cart__content {
    padding-bottom: 32px;
  }
}
@media (min-width: 768px) and (max-width: 833px) {
  .center {
    padding-left: 24px;
    padding-right: 24px;
  }
  .product {
    width: 345px;
  }
}
@media (max-width: 767px) {
  .center {
    padding-left: 16px;
    padding-right: 16px;
  }
  .header {
    padding-top: 32px;
  }
  .header__input {
    display: none;
  }
  .header__logo {
    width: 99px;
  }
  .header__menu {
    display: flex;
    gap: 32px;
    align-items: center;
  }
  .header__nav {
    display: none;
  }
  .top__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .top__title {
    color: rgb(255, 255, 255);
    font-size: 48px;
    font-weight: 600;
    line-height: 59px;
    text-align: center;
  }
  .top__subtitle {
    font-size: 16px;
    font-weight: 400;
    line-height: 32px;
    text-align: center;
  }
  .top__link {
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    text-align: center;
    text-decoration-line: underline;
  }
  .top__hr {
    display: none;
  }
  .for {
    grid-template-columns: repeat(4, 1);
    gap: 16px;
  }
  .for__item {
    grid-column: 1/-1;
    height: 375px;
    font-size: 28px;
    line-height: 34px;
  }
  .for__item__big {
    height: 244px;
  }
  .for-box__title {
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
    text-align: left;
  }
  .footer {
    justify-content: space-around;
    gap: 34px;
  }
  .top-catalog__title {
    font-size: 48px;
    font-weight: 600;
    line-height: 59px;
    text-align: center;
  }
  .top-catalog__hr {
    display: none;
  }
  .filtering__box {
    flex-direction: column;
    flex-wrap: wrap;
  }
  .filtering-box {
    display: none;
  }
  .filter-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  .product {
    width: 100%;
    box-sizing: border-box;
  }
  .product__img {
    width: 100%;
    height: auto;
    -o-object-fit: contain;
       object-fit: contain;
  }
  .product__subtitle {
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    text-align: left;
  }
  .product__price {
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    text-align: left;
  }
  .product__price-old {
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    text-align: left;
    text-decoration-line: line-through;
  }
  .product-box__title {
    font-size: 24px;
    font-weight: 600;
    line-height: 29px;
    text-align: left;
  }
  .top-cart__title {
    font-size: 48px;
    font-weight: 600;
    line-height: 59px;
    letter-spacing: 0%;
    text-align: center;
  }
  .top-cart__hr {
    display: none;
  }
  .cart__img {
    display: none;
  }
  .cart__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 22px;
    text-align: left;
  }
  .cart__subtitle {
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    text-align: left;
  }
  .cart__price {
    font-size: 12px;
    font-weight: 500;
    line-height: 15px;
    text-align: left;
  }
  .cart__link-box {
    display: flex;
    gap: 30px;
  }
  .cart__button {
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    text-align: center;
  }
  .cart__button-box {
    display: flex;
    gap: 14px;
  }
  .cart__form {
    width: 343px;
  }
}/*# sourceMappingURL=style.css.map */