* {
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, Helvetica, sans-serif;
}

img {
  max-width: 100%;
}

a {
  text-decoration: none;
}

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

.header {
  min-height: 75px;
  background: #222222;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
}

.header__left {
  display: flex;
  align-items: center;
  gap: 41px;
}

.header__right {
  display: flex;
  align-items: center;
  gap: 33px;
}

.promo {
  display: flex;
  background: #F1E4E6;
  padding-left: calc(50% - 800px);
  padding-right: calc(50% - 800px);
}

.promo__img {
  width: 50%;
}

.promo__info {
  border-left: 12px solid #F16D7F;
  padding-left: 16px;
  margin-top: 48%;
}

.promo__title {
  font-style: normal;
  font-weight: 900;
  font-size: 48px;
  line-height: 58px;
  color: #222222;
}

.promo__heading {
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 38px;
  color: #222222;
}

.pink_text{
  font-style: normal;
  font-weight: 700;
  font-size: 37px;
  line-height: 45px;
  color: #F16D7F;
}

.promo__content {
  padding-left: 64px;
}

.sale {
  display: grid;
  gap: 30px;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 260px 180px;
  padding-top: 64px;
  padding-bottom: 96px;
}

.sale__item {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sale__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.sale__item_big {
  grid-column: 1 / -1;
}

.sale__text {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  color: #FFFFFF;
}

.sale__heading {
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  text-align: center;
  color: #F16D7F;
}

.product-box {
  padding-bottom: 96px;
}

.product-box__heading {
  font-style: normal;
  font-weight: 400;
  font-size: 30px;
  line-height: 36px;
  text-align: center;
  color: #222222;
}

.product-box__text {
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  margin-top: 6px;
  color: #9F9F9F;
}

.product-box__content {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(auto-fit, 360px);
  justify-content: center;
  gap: 30px;
}

.product_link {
  position: relative;
}
.product__img {
  width: 100%;
}
.add_to_card {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  background: rgba(58, 56, 56, 0.86);
  transition: opacity .4s linear;
  display: flex;
  align-items: center;
}
.add_to_card:hover {
  opacity: 1;
}
.add_to_card_link {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 11px;
  margin-left: 30%;
  padding: 11px 8px;
  width: 138px;
  border: 1px solid #FFFFFF;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  color: #FFFFFF;
}
.product__content {
  background: #F8F8F8;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 16px;
  gap: 16px;
}

.product__heading {
  font-style: normal;
  font-weight: 400;
  font-size: 13px;
  line-height: 16px;
  color: #000000;
}

.product__text {
  font-style: normal;
  font-weight: 300;
  font-size: 14px;
  line-height: 17px;
  color: #5D5D5D;
}

.product__price {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #F16D7F;
}


.products_button {
  grid-column: 1 / -1;
  margin: 0 auto;
  padding-top: 14.5px;
  padding-bottom: 13.5px;
  border: 1px solid #FF6A6A;
  width: 211px;
}
.products_link {
  text-decoration: none;
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  text-align: center;
  color: #F26376;
}
.feature {
  padding-top: 103px;
  padding-bottom: 104px;
  background: #222224;
  display: flex;
  justify-content: space-between;
}
.feature_item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature_icon {
  height: 40px;
}
.feature_title {
  padding-top: 20px;
  padding-bottom: 16px;
  font-style: normal;
  font-weight: 400;
  font-size: 19.96px;
  line-height: 24px;
  color: #FBFBFB;
}
.feature_desc {
  font-style: normal;
  font-weight: 300;
  font-size: 13.972px;
  line-height: 17px;
  text-align: center;
  color: #FBFBFB;
}
.subscribe {
  padding-top: 87px;
  padding-bottom: 156px;
  background-image: url(img/sub_bg.jpg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  display: flex;
  justify-content: space-between;
}
.sub_info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}
.sub_info_photo {
  height: 96px;
  width: 96px;
}
.sub_info_desc {
  width: 360px;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  text-align: center;
  color: #222224;
}
.sub_block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.sub_form_title {
  font-style: normal;
  font-weight: 700;
  font-size: 24px;
  line-height: 40px;
  text-align: center;
  color: #222224;
}
.sub_form_text {
  font-weight: 400;
  font-size: 18px;
  line-height: 30px;
  text-align: center;
  color: #222224;
}
.sub_form {
  padding-top: 32px;
  display: flex;
}
.email_input {
  padding-left: 22px;
  height: 49px;
  width: 234px;
  background: #E1E1E1;
  border-radius: 15px 0 0 15px;
  border-color: transparent;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  display: flex;
  align-items: center;
  color: #222224;
  opacity: 0.67;
}
.sub_form_btn {
  display: block;
  width: 100px;
  height: 53px;
  border-radius: 0 15px 15px 0;
  background: #F16D7F;
  border-color: transparent;
  font-style: normal;
  font-weight: 400;
  font-size: 14px;
  line-height: 17px;
  text-align: center;
  color: #FFFFFF;
}
.footer {
  padding-top: 30px;
  padding-bottom: 30px;
  background: #222224;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.copyright {
  font-style: normal;
  font-weight: 400;
  font-size: 16px;
  line-height: 19px;
  color: #FBFBFB;
}
.social_icons {
  display: flex;
  gap: 7.29px;
}
.social_icon {
  width: 32px;
  height: 32px;
  background: #FFFFFF;
  display: flex;
  justify-content: center;
  align-items: center;
}
.social_icon path {
  fill: black;
}
.social_icon:hover {
  background: #F16D7F;
}
.social_icon:hover path {
  fill: white;
}

@media screen and (min-width: 768px) and (max-width: 1024px) {
  .center{
    padding-left: 2%;
    padding-right: 2%;
  }
  .header {
    padding-left: 4%;
    padding-right: 4%;
  }
  .promo__content {
    padding-left: 5%;
  }
  .promo__info {
    margin-top: 45%;
  }
  .promo__title {
    font-size: 44px;
    line-height: 53px;
  }
  
  .promo__heading {
    font-size: 24px;
    line-height: 29px;
  }
  .pink_text{
    font-size: 24px;
    line-height: 29px;
  }

  .sale {
    gap: 20px;
    padding-bottom: 110px;
    grid-template-rows: 20vh 14vh;
  }
  
  .product-box {
    padding-bottom: 71px;
  }
  
  .product-box__text {
    margin-top: 4px;
  }
  
  .product-box__content {
    margin-top: 73px;
    display: grid;
    grid-template-columns: repeat(auto-fit, 48%);
    gap: 16px;
  }
    
  .products_button {
    margin-top: 16px;
  }

  .feature {
    padding-top: 48px;
    padding-bottom: 64px;
    flex-direction: column;
    gap: 48px;
  }
  .subscribe {
    padding-top: 64px;
    padding-bottom: 140px;
    flex-direction: column;
    gap: 75px;
  }
  .sub_block {
    align-items: center;
  }
  .footer {
    padding: 3% 4%;
  }
}
@media screen and (min-width: 320px) and (max-width: 767px) {
  .center{
    padding-left: 4%;
    padding-right: 4%;
  }
  .header__link-site{
    visibility: hidden;
    display: none;
  }
  .promo {
    height: 43vh;
    justify-content: center;
    align-items: center;
  }
  .promo__img {
    visibility: hidden;
    display: none;
  }
  .promo__content {
    padding: 0;
  }
  .promo__info {
    margin: 0;
    padding-left: 15px;
  }
  .promo__title{
    font-size: 38px;
    line-height: 46px;
  }
  .promo__heading {
    font-size: 20px;
    line-height: 24px;
  }
  .pink_text {
    font-size: 20px;
    line-height: 24px;
  }
  .sale {
    padding-bottom: 64px;
    gap: 32px;
    grid-template-columns: none;
    grid-template-rows: repeat(3, 29vh) 13vh;
  }
  .product-box {
    padding-bottom: 86px;
  }
  .product-box__text {
    margin-top: 3.3px;
  }
  .product-box__content {
    margin-top: 65px;
    gap: 16px;
  }
  .product__content {
    padding: 3vh 4vw 2vh 4vw;
    gap: 13px;
  }
  .product__price {
    padding-top: 4px;
  }
  .products_button {
    margin-top: 25px;
  }
  .feature {
    padding-top: 48px;
    padding-bottom: 81px;
    flex-direction: column;
    gap: 48px;
  }
  .subscribe {
    padding-top: 64px;
    padding-bottom: 110px;
    flex-direction: column;
    gap: 75px;
  }
  .sub_info_desc {
    font-size: 18px;
    line-height: 22px;
  }
  .sub_block {
    align-items: center;
  }
  .sub_form_title {
    font-size: 24px;
    line-height: 37px;
  }
  .sub_form_text {
    font-size: 14px;
    line-height: 22px;
  }
  .footer {
    padding-top: 11%;
    padding-bottom: 2%;
    flex-direction: column-reverse;
    gap: 40px;
  }
}
/* Страницы товара и корзины */
.cart-nav{position:relative}.cart-count{position:absolute;top:-9px;right:-10px;background:#f16d7f;color:#fff;border-radius:50%;min-width:19px;height:19px;display:grid;place-items:center;font-size:11px;padding:0 4px}
.inner-page{min-height:55vh}.page-heading{background:#f8f3f4;padding:55px max(calc((100% - 1140px)/2),24px);display:flex;justify-content:space-between;align-items:center;color:#f16d7f}.page-heading h1{font-size:24px;margin:0}.page-heading a{color:#222;text-decoration:none}.product-detail-wrap,.cart-layout{max-width:1140px;margin:65px auto;padding:0 20px}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}.detail-image img{width:100%;max-height:650px;object-fit:contain;background:#f7f7f7}.detail-info h1{font-size:28px;text-transform:uppercase}.detail-kicker{color:#f16d7f;letter-spacing:2px;font-weight:700}.detail-description{color:#777;line-height:1.7}.detail-price{font-size:25px;color:#f16d7f;font-weight:700;padding:20px 0;border-bottom:1px solid #eaeaea}.size-label{display:flex;gap:15px;align-items:center;margin:25px 0}.size-label select{padding:10px 18px;border:1px solid #ddd;background:white}.detail-add,.checkout-demo{background:#f16d7f;color:#fff;border:0;padding:15px 28px;cursor:pointer;font:inherit}.cart-layout{display:grid;grid-template-columns:1fr 300px;gap:35px}.cart-items{display:flex;flex-direction:column;gap:25px}.cart-item{display:flex;gap:25px;box-shadow:0 4px 18px #00000012;min-height:220px}.cart-item>img{width:180px;object-fit:cover}.cart-item__info{padding:20px 20px 20px 0;line-height:1.7}.cart-item__title{font-size:19px;color:#222;text-decoration:none;font-weight:700}.cart-quantity{width:55px;padding:5px;border:1px solid #ddd;margin-left:8px}.text-button,.clear-cart{display:block;border:0;background:none;color:#f16d7f;text-decoration:underline;cursor:pointer;padding:8px 0;font:inherit}.cart-summary{background:#f5f3f3;padding:25px;height:max-content}.cart-summary h2{margin-top:0}.cart-total-line{border-top:1px solid #ddd;padding-top:20px}.cart-total-line strong{float:right}.checkout-demo{width:100%;margin:15px 0}.empty-cart{padding:30px 0}.empty-cart a{color:#f16d7f}.product__heading{text-decoration:none}
@media(max-width:760px){.product-detail,.cart-layout{grid-template-columns:1fr}.product-detail-wrap,.cart-layout{margin:35px auto}.page-heading{padding:35px 20px}.cart-item>img{width:120px}.cart-item{gap:15px}.cart-item__info{padding:12px 10px 12px 0}.detail-info h1{font-size:23px}}
