/*
  Theme Name: Алкоголь
*/

@charset "UTF-8";

/* ====== ШРИФТЫ ====== */

@font-face {
  font-family: "Radiate Sans";
  font-display: swap;
  src: url("./assets/fonts/Radiate Sans Bold.woff2") format("woff2"),
    url("./assets/fonts/Radiate Sans Bold.woff") format("woff");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Radiate Sans";
  font-display: swap;
  src: url("./assets/fonts/Radiate Sans Regular.woff2") format("woff2"),
    url("./assets/fonts/Radiate Sans Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Radiate Sans";
  font-display: swap;
  src: url("./assets/fonts/Radiate Sans Semibold.woff2") format("woff2"),
    url("./assets/fonts/Radiate Sans Semibold.woff") format("woff");
  font-weight: 600;
  font-style: normal;
}

/* ====== ШРИФТЫ ====== */

/*Обнуление*/

* {
  padding: 0;
  margin: 0;
  border: 0;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

*,
*:before,
*:after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

:focus,
:active {
  outline: none;
}

a:focus,
a:active {
  outline: none;
}

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

html,
body {
  height: 100%;
  width: 100%;
  font-size: 100%;
  line-height: 1;
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
}

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

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

button {
  cursor: pointer;
}

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-size: inherit;
  font-weight: 400;
}

/*--------------------*/

html,
body {
  height: 100%;
}

body {
  font-size: 14px;
  color: #000;
  line-height: 1;
  font-family: "Radiate Sans";
  background-color: #f2f2f2;
}

body.lock {
  overflow: hidden;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.main {
  flex: 1 0 auto;
}

.footer {
  flex: 0 0 auto;
}

[class*="__container"] {
  max-width: 1430px;
  margin: 0 auto;
  padding: 0 15px;
}

input._error {
  box-shadow: 0 0 5px #633389 !important;
}

input._error::-moz-placeholder {
  color: #633389 !important;
}

input._error::placeholder {
  color: #633389 !important;
}

.content {
  padding-top: 26px;
}

.content__body {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 20px 35px;
}

.card {
  background-color: white;
  border-radius: 12px 12px 0 0;
  padding: 30px 29px 90px;
  grid-column: span 17;
}

.phone {
  font-weight: 700;
  font-size: 24px;
  color: #ffffff;
  transition: opacity 0.4s ease 0s;
  white-space: nowrap;
}

.section-title {
  font-size: 28px;
  line-height: 1.3;
  color: #3a3a3a;
  text-align: center;
  font-weight: 600;
}

.text-content {
  margin-top: 72px;
  line-height: 1.5;
}

.home-return {
  display: flex;
  align-items: center;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
  transition: color 0.4s ease 0s;
}

.home-return svg {
  margin-right: 10px;
}

.home-return path {
  fill: black;
  transition: fill 0.4s ease 0s;
}

.page-title {
  font-size: 36px;
  line-height: 1.5555555556;
  font-weight: 600;
}

.add-to-cart {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #633389;
  transition: background-color 0.4s ease 0s;
  border-radius: 12px;
  color: white;
  gap: 14px 14px;
}

.add-to-cart svg {
  transition: all 0.4s ease 0s;
}

.add-to-cart rect {
  transition: all 0.4s ease 0s;
}

.add-to-cart.add-to-cart.add-to-cart_active {
  background-color: #dc5b3f;
}

.add-to-cart.add-to-cart_active svg {
  transform: rotate(-45deg) translate(0px, 2px);
}

.add-to-cart.add-to-cart_active rect:nth-child(1) {
  height: 10px;
  transform: translate(-4px, 0px);
}

.add-to-cart.add-to-cart_active rect:nth-child(2) {
  height: 14px;
}

.btn {
  background: #633389;
  border-radius: 14px;
  font-size: 16px;
  line-height: 1;
  color: #ffffff;
  font-weight: 600;
  padding: 17px 61px;
  text-align: center;
  transition: background-color 0.4s ease 0s;
  display: inline-block;
}

.blog__title {
  margin-bottom: 58px;
}

.blog__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 60px 25px;
}

.blog__content {
  line-height: 1.5;
}

.blog__content p:not(:last-child),
.text-content p:not(:last-child) {
  margin-bottom: 20px;
}

.item-blog {
  display: flex;
  flex-direction: column;
}

.item-blog__img {
  height: 302px;
  border-radius: 15px;
  margin-bottom: 24px;
}

.item-blog__img img {
  max-width: 100%;
  border-radius: inherit;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  max-height: 100%;
}

.item-blog__title {
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  color: black;
  margin-bottom: 22px;
}

.item-blog__text {
  line-height: 1.2142857143;
  font-weight: 400;
  margin-bottom: 21px;
}

.item-blog__flex {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 15px;
}

.item-blog__link {
  color: #633389;
  transition: color 0.4s ease 0s;
  font-weight: 700;
}

.item-blog__date {
  font-weight: 700;
}

.cart {
  padding-bottom: 55px;
}

.cart__title {
  margin-bottom: 56px;
}

.cart__flex {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  font-weight: 700;
  text-transform: uppercase;
}

.cart__total {
  margin-left: 45px;
}

.items-cart {
  margin-bottom: 30px;
}

.items-cart__item {
  background-color: #f4f4f4;
  padding: 22.5px 30px;
  border-radius: 7px;
  display: flex;
  align-items: center;
}

.items-cart__item:not(:last-child) {
  margin-bottom: 10px;
}

.items-cart__img {
  flex: 0 0 73px;
  text-align: center;
  margin-right: 30px;
}

.items-cart__img img {
  max-width: 100%;
}

.items-cart__content {
  margin-right: auto;
}

.items-cart__title {
  line-height: 1.5;
  margin-bottom: 22px;
}

.items-cart__price {
  font-weight: 600;
  font-size: 18px;
}

.items-cart__actions {
  margin-left: 30px;
  display: flex;
  align-items: center;
  margin-right: 30px;
}

.items-cart__remove {
  cursor: pointer;
  transition: opacity 0.4s ease 0s;
}

.items-cart__minus,
.items-cart__plus {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.4s ease 0s;
  background-color: #633389;
  border-radius: 12px;
}

.items-cart__value {
  background-color: transparent;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  display: inline-block;
  width: 35px;
  margin: 0 14px;
}

.category__home {
  margin-bottom: 9px;
}

.category__title {
  margin-bottom: 21px;
}

.category__pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 80px;
  gap: 10px 10px;
}

.category__pagination .pagination {
  font-size: 12px;
  color: black;
  font-weight: 600;
  width: 35px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f4f4f4;
  border-radius: 12px;
  transition: background-color 0.4s ease 0s, color 0.4s ease 0s,
    fill 0.4s ease 0s;
  fill: black;
}

.category__pagination .prev svg {
  transform: rotate(180deg);
}

.category__pagination .current {
  background-color: #3a3a3a;
  color: white;
  fill: white;
}

.category__not-found {
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
}

.contacts__home {
  margin-bottom: 9px;
}

.contacts__title {
  margin-bottom: 45px;
}

.contacts__items {
  margin-bottom: 30px;
}

.contacts__phone {
  display: inline-flex;
  align-items: center;
  transition: color 0.4s ease 0s;
  font-size: 16px;
  color: black;
  font-weight: 700;
  margin-bottom: 9px;
  line-height: 1.2;
}

.contacts__phone svg {
  margin-right: 10px;
}

.contacts__item {
  display: flex;
  align-items: center;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  gap: 8px;
}

.contacts__item:not(:last-child) {
  margin-bottom: 9px;
}

.contacts__map {
  height: 434px;
  width: 100%;
  border-radius: 3px;
  background-color: rgba(99, 51, 137, 0.5);
}

.contacts__content {
  margin-top: 48px;
  line-height: 1.5;
}

.footer {
  background-color: #3a3a3a;
  padding: 55px 0;
}

.footer__body {
  display: flex;
  justify-content: space-between;
  gap: 20px 30px;
  padding-left: 215px;
}

.footer__main {
  flex: 0 1 800px;
  display: flex;
  flex-direction: column;
}

.footer__menu {
  margin-bottom: 30px;
}

.footer__list {
  display: flex;
  align-items: center;
  gap: 7.5px 130px;
  flex-wrap: wrap;
}

.footer__list a {
  font-size: 16px;
  line-height: 1.5625;
  font-weight: 600;
  color: #ffffff;
  transition: color 0.4s ease 0s;
}

.footer__details {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 20px;
}

.footer__copyright {
  font-size: 12px;
  line-height: 1.5833333333;
  color: #ffffff;
  font-weight: 600;
}

.footer__payments {
  margin-right: 60px;
  display: flex;
  align-items: center;
  gap: 0 25px;
}

.footer__info {
  font-size: 12px;
  line-height: 1.5833333333;
  color: #ffffff;
  font-weight: 600;
  text-align: right;
}

.footer__phone {
  margin-bottom: 12px;
  display: block;
}

.footer__city {
  margin-top: 12px;
}

.footer__work {
  display: block;
}

.header {
  background-color: #633389;
  padding: 25.5px 0;
}

.header__body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0 30px;
}

.header__logo {
  flex: 0 0 182px;
}

.header__logo img {
  max-width: 100%;
}

.header__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 1 925px;
  gap: 0 20px;
}

.header__phone-mobile {
  display: none;
  margin: 0 auto;
}

.header__search {
  flex: 0 1 283px;
  position: relative;
}

.header__search input {
  width: 100%;
  background-color: #ffffff;
  border-radius: 12px;
  height: 50px;
  font-size: 14px;
  color: #000;
  padding: 0 25px 0 45px;
}

.header__search input::-moz-placeholder {
  color: #727272;
  font-size: inherit;
}

.header__search input::placeholder {
  color: inherit;
  font-size: inherit;
}

.header__search button {
  position: absolute;
  top: 50%;
  left: 0px;
  transform: translate(0px, -50%);
  background-color: transparent;
  font-size: 0;
  fill: #727272;
  transition: fill 0.4s ease 0s;
  height: 100%;
  display: flex;
  width: 40px;
  align-items: center;
  justify-content: center;
}

.header__search button svg {
  margin-left: 7.5px;
}

.header__work {
  display: flex;
  align-items: stretch;
}

.header__work span {
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
}

.header__hours {
  background: #795794;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16.5px;
  text-align: center;
  font-size: 24px;
  color: #ffffff;
  margin-right: 15px;
}

.header__burger {
  display: none;
  width: 30px;
  height: 28px;
  position: relative;
  cursor: pointer;
  z-index: 3;
}

.header__burger::before,
.header__burger::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: white;
  transition: all 0.5s ease 0s;
}

.header__burger::before {
  top: 0;
  transition: top 0.3s 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.header__burger::after {
  bottom: 0;
  transition: bottom 0.3s 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.header__burger span {
  position: absolute;
  display: block;
  left: 0;
  width: 100%;
  height: 4px;
  top: 50%;
  transform: translate(0px, -50%);
  background-color: white;
  transition: all 0.3s ease 0s;
}

.header__burger.header__burger_active::before {
  top: 12px;
  transition: top 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.3s 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  transform: rotate(-45deg);
}

.header__burger.header__burger_active::after {
  bottom: 12px;
  transition: bottom 0.3s cubic-bezier(0.23, 1, 0.32, 1),
    transform 0.3s 0.3s cubic-bezier(0.23, 1, 0.32, 1);
  transform: rotate(45deg);
}

.header__burger.header__burger_active span {
  background-color: rgba(0, 0, 0, 0);
}

.cart-header {
  display: flex;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
  transition: opacity 0.4s ease 0s;
}

.cart-header__decoration {
  margin-right: 14px;
  padding: 10px 14px 10px 0;
  border-right: 1px solid #f4f4f4;
  display: flex;
  align-items: center;
  align-self: center;
}

.cart-header__title {
  margin-right: 13px;
}

.cart-header__info {
  align-self: center;
}

.cart-header__price {
  margin-bottom: 2px;
}

.cart-header__price,
.cart-header__count {
  white-space: nowrap;
}

.items {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 35px 20px;
}

.items__item {
  background-color: #f4f4f4;
  border-radius: 12px;
  padding: 30px 17px 17px;
  position: relative;
  display: flex;
  flex-direction: column;
}

.items__sale {
  position: absolute;
  z-index: 1;
  font-weight: 700;
  color: white;
  padding: 9.5px 14px;
  background-color: #dc5b3f;
  border-radius: 12px;
  top: 13px;
  left: 15px;
  line-height: 1;
}

.items__img {
  display: block;
  text-align: center;
  margin-bottom: 19px;
}

.items__img img {
  max-width: 100%;
}

.items__title {
  display: block;
  font-size: 14px;
  line-height: 1.5;
  color: #000000;
  text-align: center;
  margin-bottom: 19px;
}

.items__price {
  margin-top: auto;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 19px;
}

.items__actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 10px;
}

.items__buy {
  font-size: 12px;
  line-height: 1.2;
  color: #633389;
  transition: color 0.4s ease 0s;
  font-weight: 600;
}

.items__add {
  width: 45px;
  height: 45px;
}

.order__title {
  font-weight: 700;
  font-size: 25px;
  line-height: 1.2;
  margin-bottom: 42px;
}

.order__flex {
  display: flex;
}

.order__fields {
  margin-right: 46px;
  flex: 0 1 606px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 18px;
}

.order__item:nth-child(3),
.order__item:nth-child(4) {
  grid-column: span 2;
}

.order__item input,
.order__item textarea {
  background-color: #f4f4f4;
  border-radius: 7px;
  width: 100%;
  font-size: 14px;
  line-height: 1.2142857143;
  color: #000;
}

.order__item input::-moz-placeholder,
.order__item textarea::-moz-placeholder {
  font-size: inherit;
  line-height: inherit;
  color: #c4c4c4;
}

.order__item input::placeholder,
.order__item textarea::placeholder {
  font-size: inherit;
  line-height: inherit;
  color: #c4c4c4;
}

.order__item input {
  padding: 16.5px 20px;
}

.order__item textarea {
  padding: 16.5px 20px;
  height: 140px;
  resize: none;
}

.order__label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2142857143;
  color: #000000;
  margin-bottom: 16px;
}

.order__options {
  flex: 0 1 475px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.order__blocks {
  width: 100%;
}

.order__block {
  margin-bottom: 30px;
}

.order__radio:not(:last-child) {
  margin-bottom: 18px;
}

.order__radio input {
  display: none;
}

.order__radio input:checked + label::before {
  background-color: transparent;
  border-color: #633389;
}

.order__radio input:checked + label svg {
  opacity: 1;
}

.order__radio label {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.order__radio label::before {
  content: "";
  display: block;
  background-color: #f4f4f4;
  border-radius: 5px;
  width: 30px;
  height: 30px;
  align-self: flex-start;
  flex-shrink: 0;
  transition: border-color 0.2s ease 0s, background-color 0.2s ease 0s;
  border: 3px solid transparent;
}

.order__radio label span {
  margin-left: 21px;
  font-size: 14px;
  line-height: 1.2142857143;
  color: #565656;
}

.order__radio label svg {
  position: absolute;
  left: 9px;
  top: 9.5px;
  transition: opacity 0.2s ease 0s;
  opacity: 0;
}

.order__submit {
  margin-top: auto;
  padding-left: 43px;
  padding-right: 43px;
  font-size: 14px;
}

.payment__home {
  margin-bottom: 9px;
}

.payment__title {
  margin-bottom: 40px;
}

.payment__content {
  line-height: 1.5;
}

.payment__content p:not(:last-child),
.contacts__content p:not(:last-child) {
  margin-bottom: 20px;
}

.popular__title {
  margin-bottom: 50px;
}

.popular__more {
  display: inline-block;
  font-size: 12px;
  color: #633389;
  font-weight: 600;
  background-color: #f4f4f4;
  border-radius: 12px;
  padding: 13.5px 34px;
  position: relative;
  left: 50%;
  transform: translate(-50%, 0);
  margin-top: 50px;
  transition: color 0.4s ease 0s, background-color 0.4s ease 0s;
}

.popup {
  position: fixed;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.67);
  top: 0;
  left: 0;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  overflow-y: auto;
  overflow-x: hidden;
  transition: all 0.4s ease;
}

.popup._open {
  opacity: 1;
  visibility: visible;
}

.popup._open .popup__content {
  transform: translateY(0%);
  opacity: 1;
}

.popup__body {
  min-height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 10px;
}

.popup__content {
  background: #fff;
  border-radius: 17px;
  transform: translateY(30px);
  opacity: 0;
  transition: all 0.4s ease;
}

.buy-popup__content {
  width: 570px;
  max-width: 100%;
  padding: 71px 30px;
  text-align: center;
}

.buy-popup__phone {
  font-size: 24px;
  color: #3a3a3a;
  margin: 0 auto 38px;
  display: inline-block;
  font-weight: 700;
  transition: color 0.4s ease 0s;
}

.buy-popup__text {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 44px;
}

.add-popup__content {
  padding: 50px 25px;
  width: 500px;
  max-width: 100%;
  text-align: center;
}

.add-popup__text {
  font-size: 26px;
  margin-bottom: 35px;
  font-weight: 600;
}

.order-popup__content {
  padding: 58px 62px;
  text-align: center;
  width: 570px;
  max-width: 100%;
}

.order-popup__icon {
  margin: 0 auto 50px;
  max-height: 100%;
}

.order-popup__title {
  font-size: 36px;
  line-height: 1.3;
  font-weight: 600;
  margin-bottom: 28px;
}

.order-popup__text {
  font-size: 20px;
  line-height: 1.5;
  margin-bottom: 56px;
}

.cart-popup__content {
  width: 1185px;
  max-width: 100%;
  padding: 40px 34px;
}

.cart-popup__flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px 20px;
  margin-bottom: 40px;
}

.cart-popup__title {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.3;
}

.cart-popup__close {
  background-color: transparent;
  transition: fill 0.4s ease 0s;
  fill: black;
}

.cart-popup__form {
  display: flex;
  align-items: flex-start;
}

.cart-popup__items {
  margin-right: 48px;
  flex: 0 1 680px;
}

.cart-popup__total {
  display: flex;
  align-items: center;
  font-size: 20px;
  line-height: 1.2;
  font-weight: 700;
  margin-bottom: 25px;
}

.cart-popup__total-price {
  margin-left: 45px;
}

.item-cart-popup {
  background: #f4f4f4;
  border-radius: 7px;
  padding: 22.5px 30px;
  display: flex;
  align-items: center;
}

.item-cart-popup:not(:last-child) {
  margin-bottom: 10px;
}

.item-cart-popup__img {
  flex: 0 0 60px;
  text-align: center;
  margin-right: 45px;
}

.item-cart-popup__img img {
  max-width: 100%;
}

.item-cart-popup__content {
  margin-right: auto;
}

.item-cart-popup__name {
  line-height: 1.5;
  margin-bottom: 22px;
}

.item-cart-popup__price {
  font-weight: 600;
  font-size: 18px;
}

.item-cart-popup__actions {
  margin-left: 30px;
  display: flex;
  align-items: center;
}

.item-cart-popup__count {
  background-color: transparent;
  pointer-events: none;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  display: inline-block;
  width: 35px;
  margin: 0 14px;
}

.item-cart-popup__minus,
.item-cart-popup__plus {
  width: 45px;
  height: 45px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.4s ease 0s;
  background-color: #633389;
  border-radius: 12px;
}

.product__body {
  position: relative;
}

.product__home {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  transform: translate(0px, -50%);
  fill: black;
  transition: fill 0.4s ease 0s;
}

.product__flex {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 25px 16px;
}

.product__img {
  flex: 0 0 358px;
}

.product__img img {
  max-width: 100%;
  width: 100%;
  height: 100%;
}

.product__content {
  flex-grow: 1;
  padding-top: 50px;
}

.product__title {
  font-size: 26px;
  line-height: 1.5384615385;
  font-weight: 600;
  margin-bottom: 58px;
}

.product__props {
  margin-bottom: 52px;
}

.product__prop {
  display: flex;
  align-items: center;
  gap: 20px 20px;
  font-size: 16px;
  line-height: 1.2;
}

.product__prop:not(:last-child) {
  margin-bottom: 10px;
}

.product__prop b {
  text-align: right;
}

.product__btns {
  display: flex;
  align-items: center;
}

.product__add {
  margin-right: 17px;
  padding: 13px 18px;
  font-weight: 600;
  font-size: 12px;
  transition: background-color 0.4s ease 0s;
}

.product__buy {
  font-size: 12px;
  color: #633389;
  font-weight: 600;
}

.recommend__body {
  margin-top: 80px;
}

.recommend__title {
  margin-bottom: 47px;
}

.sidebar {
  grid-column: span 3;
  padding-bottom: 30px;
}

.sidebar__inner_unsticky {
  position: static !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
}

.sidebar__city {
  display: flex;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 2px solid #dddddd;
  line-height: 1.5;
}

.sidebar__city svg {
  margin-right: 7.5px;
}

.sidebar__menu {
  margin-bottom: 12px;
}

.sidebar__list a {
  font-size: 14px;
  line-height: 1.5;
  color: #000000;
  display: block;
  padding: 12px 0;
  border-bottom: 2px solid #dddddd;
  position: relative;
  transition: color 0.4s ease 0s;
  padding-right: 15px;
}

.sidebar__list a::before {
  content: "";
  position: absolute;
  top: 50%;
  transform: translate(0px, -50%) rotate(-45deg);
  right: 0;
  width: 7px;
  height: 7px;
  border-right: 2.45px solid #727272;
  border-bottom: 2.45px solid #727272;
  border-radius: 2px;
  transition: border-color 0.4s ease 0s;
}

.categories-sidebar__category {
  display: flex;
  align-items: flex-start;
}

.categories-sidebar__category:not(:last-child) {
  margin-bottom: 10px;
}

.categories-sidebar__icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5px;
  border-radius: 50%;
  background-color: white;
  margin-right: 10px;
  transition: background-color 0.3s ease 0s;
}

.categories-sidebar__icon img {
  max-width: 100%;
}

.categories-sidebar__name {
  align-self: center;
  font-size: 14px;
  line-height: 1.2857142857;
  color: #000000;
}

/*--- SEARCH RESULT ---*/
.search-result {
  position: absolute;
  display: none;
  top: calc(100% + 5px);
  left: 0;
  background-color: #fff;
  overflow-x: hidden;
  z-index: 3;
  width: 100%;
  border-radius: 10px;
  -webkit-box-shadow: 0px 6px 13px 3px rgba(34, 60, 80, 0.2);
  -moz-box-shadow: 0px 6px 13px 3px rgba(34, 60, 80, 0.2);
  box-shadow: 0px 6px 13px 3px rgba(34, 60, 80, 0.2);
  max-height: 354px;
}

.search-result::-webkit-scrollbar {
  width: 6px;
  background-color: #eff2f3;
}

.search-result::-webkit-scrollbar-thumb {
  background-color: #dddddd;
  border-radius: 4em;
}

.search-result li:not(:last-child) {
  border-bottom: 2px solid #f1f1f1;
}

.search-result a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px;
}

.search-result__img {
  flex: 0 0 60px;
  height: 77px;
}

.search-result__img img {
  max-width: 100%;
}

.search-result__title {
  flex: 1 1 auto;
  text-align: center;
  color: #000;
  font-size: 12px;
  line-height: 1.2;
  padding: 0 8px;
  transition: color 0.3s ease 0s;
}

.search-result__error {
  padding: 15px;
  text-align: center;
  font-size: 13px;
  line-height: 1.2;
}

.stocks {
  margin-bottom: 70px;
}

.stocks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px 20px;
}

.item-stocks {
  position: relative;
  border-radius: 12px;
  font-weight: 700;
  color: #fff;
  padding: 15px 22px;
  overflow: hidden;
}

.item-stocks:first-child {
  grid-column: span 4;
  padding: 77px 88px;
  color: #633389;
  display: block;
}

.item-stocks:first-child .item-stocks__text {
  font-size: 18px;
  line-height: 152.1%;
  margin-bottom: 35px;
  font-weight: 600;
}

.item-stocks:first-child .item-stocks__title {
  font-size: 32px;
  line-height: 160.6%;
  font-weight: 700;
}

.item-stocks__link {
  color: white;
  transition: opacity 0.3s ease 0s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.item-stocks__img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.item-stocks__img img {
  max-width: 100%;
  height: 100%;
  width: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.item-stocks__text {
  position: relative;
  z-index: 2;
  margin-bottom: 21px;
  font-size: 16px;
  line-height: 1.5625;
}

.item-stocks__title {
  position: relative;
  z-index: 2;
  margin-top: auto;
  font-size: 20px;
  line-height: 1.6;
}

@media (max-width: 1400px) {
  .content__body {
    gap: 20px 25px;
  }

  .header__main {
    justify-content: center;
  }

  .header__work {
    display: none;
  }
}

@media (max-width: 1300px) {
  .card {
    grid-column: span 15;
    padding: 30px 40px 80px;
  }

  .order__fields {
    margin-right: 30px;
  }

  .order__item {
    grid-column: span 2;
  }

  .product__flex {
    flex-direction: column;
    align-items: center;
  }

  .product__content {
    padding-top: 0;
    width: 100%;
  }

  .product__title {
    margin-bottom: 45px;
    text-align: center;
  }

  .product__props {
    margin-bottom: 45px;
  }

  .sidebar {
    grid-column: span 5;
  }

  .stocks__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 20px;
  }

  .item-stocks:first-child .item-stocks__text {
    margin-bottom: 25px;
  }

  .item-stocks:first-child {
    grid-column: span 2;
    padding: 50px 35px;
  }
}

@media (max-width: 1200px) {
  .footer__payments {
    margin-right: 0;
  }
}

@media (max-width: 1100px) {
  .cart-header__title {
    display: none;
  }
}

@media (max-width: 991.98px) {
  body {
    background-color: white;
  }

  .main {
    margin-top: 101px;
  }

  .content {
    padding: 45px 0;
  }

  .content__body {
    display: block;
  }

  .card {
    padding: 0;
    background-color: transparent;
  }

  .text-content {
    margin-top: 45px;
  }

  .blog__title {
    margin-bottom: 25px;
  }

  .blog__grid {
    gap: 40px 25px;
  }

  .item-blog__img {
    height: 290px;
  }

  .cart {
    padding-bottom: 45px;
  }

  .cart__title {
    margin-bottom: 25px;
  }

  .items-cart {
    margin-bottom: 25px;
  }

  .items-cart__item {
    padding: 20px 25px;
  }

  .items-cart__img {
    margin-right: 25px;
  }

  .items-cart__actions {
    margin-left: 25px;
    margin-right: 25px;
  }

  .category__pagination {
    margin-top: 45px;
  }

  .contacts__title {
    margin-bottom: 30px;
  }

  .contacts__map {
    height: 400px;
  }

  .contacts__content {
    margin-top: 45px;
  }

  .footer {
    padding: 40px 0;
  }

  .footer__body {
    padding-left: 0;
  }

  .footer__main {
    flex: 1 1 auto;
  }

  .footer__list {
    gap: 7.5px 55px;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 24px 0;
  }

  .header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: #633389;
  }

  .header__body {
    gap: 0 25px;
    justify-content: center;
  }

  .header__logo {
    position: relative;
    z-index: 3;
    margin-right: auto;
  }

  .header__main {
    flex: 0 0 auto;
    gap: 0 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: #633389;
    display: block;
    padding: 101px 15px 40px;
    transition: transform 0.5s ease 0s;
    transform: translate(0px, -100%);
    overflow-y: auto;
  }

  .header__main.header__main_active {
    transform: translate(0px, 0px);
  }

  .header__search {
    display: none;
  }

  .header__phone {
    display: none;
  }

  .header__phone-mobile {
    display: block;
  }

  .header__burger {
    display: block;
  }

  .cart-header,
  .header__phone-mobile {
    position: relative;
    z-index: 3;
  }

  .items {
    gap: 20px 20px;
  }

  .items__item {
    padding: 30px 15px 15px;
  }

  .order__title {
    margin-bottom: 25px;
  }

  .order__flex {
    display: block;
  }

  .order__fields {
    margin-right: 0;
    margin-bottom: 20px;
  }

  .order__item {
    grid-column: span 1;
  }

  .order__blocks {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    justify-content: space-around;
  }

  .order__blocks .order__label {
    text-align: center;
  }

  .order__block {
    flex: 0 1 350px;
    margin-bottom: 35px;
  }

  .order__submit {
    margin: 0 auto;
  }

  .payment__title {
    margin-bottom: 25px;
  }

  .popular__title {
    margin-bottom: 40px;
  }

  .popular__more {
    margin-top: 40px;
  }

  .buy-popup__content {
    padding: 45px 25px;
  }

  .buy-popup__phone {
    margin-bottom: 30px;
  }

  .buy-popup__text {
    margin-bottom: 35px;
  }

  .add-popup__content {
    padding: 45px 25px;
  }

  .add-popup__text {
    margin-bottom: 30px;
  }

  .order-popup__content {
    padding: 40px;
  }

  .order-popup__icon {
    margin-bottom: 40px;
  }

  .order-popup__title {
    margin-bottom: 25px;
  }

  .order-popup__text {
    margin-bottom: 50px;
  }

  .cart-popup__content {
    padding: 35px 30px;
  }

  .cart-popup__form {
    display: block;
  }

  .cart-popup__items {
    margin-right: 0;
    margin-bottom: 30px;
  }

  .cart-popup__actions {
    text-align: center;
  }

  .cart-popup__total {
    justify-content: center;
  }

  .item-cart-popup {
    padding: 20px 25px;
  }

  .item-cart-popup__img {
    margin-right: 40px;
  }

  .item-cart-popup__actions {
    margin-left: 25px;
  }

  .recommend__body {
    margin-top: 45px;
  }

  .recommend__title {
    margin-bottom: 45px;
  }

  .sidebar {
    padding-bottom: 0;
  }

  .sidebar__city {
    display: none;
  }

  .sidebar__menu {
    margin-bottom: 35px;
  }

  .sidebar__list a {
    color: white;
    border-color: white;
    font-size: 23px;
    padding: 15px 0;
  }

  .sidebar__list a::before {
    display: none;
  }

  .categories-sidebar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: 30px 30px;
  }

  .categories-sidebar__category {
    display: block;
  }

  .categories-sidebar__category:not(:last-child) {
    margin-bottom: 0;
  }

  .categories-sidebar__icon {
    width: 55px;
    height: 55px;
    margin: 0 auto 10px;
  }

  .categories-sidebar__name {
    text-align: center;
    color: white;
    font-size: 18px;
  }

  .stocks {
    margin-bottom: 45px;
  }

  .item-stocks:first-child .item-stocks__text {
    font-size: 16px;
  }

  .item-stocks:first-child .item-stocks__title {
    font-size: 30px;
  }

  .item-stocks:first-child {
    padding: 40px 25px;
  }
}

@media (max-width: 767.98px) {
  .main {
    margin-top: 73px;
  }

  .content {
    padding: 25px 0;
  }

  .phone {
    font-size: 22px;
  }

  .section-title {
    font-size: 23px;
  }

  .text-content {
    margin-top: 30px;
  }

  .page-title {
    font-size: 25px;
  }

  .btn {
    padding: 15px 45px;
    font-size: 15px;
  }

  .blog__title {
    margin-bottom: 20px;
  }

  .blog__grid {
    gap: 25px 25px;
  }

  .blog__content p:not(:last-child),
  .text-content p:not(:last-child) {
    margin-bottom: 15px;
  }

  .item-blog__img {
    height: 250px;
    margin-bottom: 20px;
  }

  .item-blog__title {
    margin-bottom: 15px;
    font-size: 18px;
  }

  .item-blog__text {
    margin-bottom: 20px;
    font-size: 16px;
  }

  .item-blog__link {
    font-size: 16px;
  }

  .item-blog__date {
    font-size: 16px;
  }

  .cart {
    padding-bottom: 30px;
  }

  .cart__title {
    margin-bottom: 20px;
  }

  .cart__flex {
    justify-content: center;
  }

  .cart__total {
    margin-left: 20px;
  }

  .items-cart {
    margin-bottom: 20px;
  }

  .items-cart__item {
    padding: 20px;
    display: block;
    text-align: center;
  }

  .items-cart__img {
    margin-bottom: 15px;
    margin-right: 0;
  }

  .items-cart__title {
    margin-bottom: 15px;
    font-size: 18px;
  }

  .items-cart__price {
    margin-bottom: 15px;
  }

  .items-cart__actions {
    margin-left: 0;
    margin-right: 0;
    justify-content: center;
    margin-bottom: 15px;
  }

  .items-cart__minus,
  .items-cart__plus {
    width: 35px;
    height: 35px;
  }

  .items-cart__value {
    margin: 0 12px;
  }

  .category__home {
    margin-bottom: 10px;
  }

  .category__title {
    margin-bottom: 20px;
  }

  .category__pagination {
    margin-top: 30px;
  }

  .category__pagination .pagination {
    width: 25px;
    height: 25px;
    font-size: 11px;
  }

  .category__not-found {
    font-size: 18px;
  }

  .contacts__home {
    margin-bottom: 10px;
  }

  .contacts__title {
    margin-bottom: 20px;
  }

  .contacts__phone {
    margin-bottom: 12.5px;
  }

  .contacts__item:not(:last-child) {
    margin-bottom: 12.5px;
  }

  .contacts__item {
    font-size: 14px;
  }

  .contacts__map {
    height: 300px;
  }

  .contacts__content {
    margin-top: 30px;
  }

  .footer {
    padding: 25px 0;
  }

  .footer__body {
    flex-direction: column-reverse;
  }

  .footer__menu {
    margin-bottom: 20px;
  }

  .footer__list {
    gap: 7.5px 20px;
    justify-content: center;
  }

  .footer__details {
    flex-direction: column-reverse;
  }

  .footer__info {
    text-align: center;
    font-size: 16px;
  }

  .footer__phone {
    margin-bottom: 0;
  }

  .footer__work,
  .footer__city {
    display: none;
  }

  .header {
    padding: 15px 0;
  }

  .header__body {
    gap: 0 0px;
  }

  .header__logo {
    flex: 0 0 155px;
    margin-right: 20px;
  }

  .header__cart {
    margin: 0 20px;
  }

  .header__main {
    padding: 75px 15px 40px;
  }

  .cart-header__decoration {
    padding: 0;
    margin: 0;
    border: none;
  }

  .cart-header__decoration svg {
    width: 32px;
  }

  .cart-header__price,
  .cart-header__count {
    display: none;
  }

  .items {
    grid-template-columns: 1fr 1fr;
    gap: 15px 15px;
  }

  .items__price {
    font-size: 16px;
  }

  .items__buy {
    font-size: 11px;
  }

  .items__add {
    width: 35px;
    height: 35px;
  }

  .order__title {
    margin-bottom: 20px;
  }

  .order__item {
    grid-column: span 2;
  }

  .order__label {
    margin-bottom: 14px;
  }

  .order__blocks {
    display: block;
  }

  .order__block {
    margin-bottom: 25px;
  }

  .order__submit {
    width: 100%;
  }

  .payment__home {
    margin-bottom: 10px;
  }

  .payment__title {
    margin-bottom: 20px;
  }

  .payment__content p:not(:last-child),
  .contacts__content p:not(:last-child) {
    margin-bottom: 15px;
  }

  .popular__title {
    margin-bottom: 25px;
  }

  .popular__more {
    margin-top: 30px;
    font-size: 15px;
    padding: 14px 27px;
  }

  .buy-popup__content {
    padding: 30px 20px;
  }

  .buy-popup__phone {
    margin-bottom: 25px;
    font-size: 21px;
  }

  .buy-popup__text {
    font-size: 17px;
    margin-bottom: 25px;
  }

  .add-popup__content {
    padding: 30px 20px;
  }

  .add-popup__text {
    font-size: 22px;
    margin-bottom: 25px;
  }

  .order-popup__content {
    padding: 30px 20px;
  }

  .order-popup__icon {
    margin-bottom: 20px;
  }

  .order-popup__icon svg {
    width: 80px;
    height: 80px;
  }

  .order-popup__title {
    margin-bottom: 20px;
    font-size: 26px;
  }

  .order-popup__text {
    font-size: 17px;
    margin-bottom: 25px;
  }

  .cart-popup__content {
    padding: 25px 20px;
  }

  .cart-popup__flex {
    margin-bottom: 30px;
  }

  .cart-popup__title {
    font-size: 27px;
  }

  .cart-popup__items {
    margin-bottom: 25px;
  }

  .cart-popup__total {
    font-size: 18px;
    margin-bottom: 15px;
  }

  .cart-popup__total-price {
    margin-left: 25px;
  }

  .item-cart-popup {
    padding: 20px;
    display: block;
    text-align: center;
  }

  .item-cart-popup__img {
    margin-right: 0;
    margin-bottom: 15px;
  }

  .item-cart-popup__name {
    margin-bottom: 10px;
    font-size: 16px;
  }

  .item-cart-popup__price {
    font-size: 16px;
    margin-bottom: 15px;
  }

  .item-cart-popup__actions {
    margin-left: 0;
    justify-content: center;
  }

  .item-cart-popup__count {
    margin: 0 12px;
    font-size: 17px;
  }

  .item-cart-popup__minus,
  .item-cart-popup__plus {
    width: 35px;
    height: 35px;
  }

  .product__img {
    flex: 0 0 100%;
  }

  .product__img img {
    max-height: 320px;
  }

  .product__title {
    font-size: 21px;
    margin-bottom: 30px;
  }

  .product__props {
    margin-bottom: 30px;
  }

  .product__prop {
    gap: 15px 15px;
    font-size: 14px;
    justify-content: center;
  }

  .recommend__body {
    margin-top: 30px;
  }

  .recommend__title {
    margin-bottom: 30px;
  }

  .sidebar__list a {
    font-size: 20px;
    padding: 11px 0;
  }

  .categories-sidebar {
    gap: 30px 20px;
  }

  .categories-sidebar__icon {
    width: 50px;
    height: 50px;
  }

  .stocks {
    margin-bottom: 30px;
  }

  .stocks__grid {
    grid-template-columns: 1fr;
  }

  .item-stocks:first-child .item-stocks__img {
    display: none;
  }

  .item-stocks:first-child .item-stocks__text {
    margin-bottom: 15px;
  }

  .item-stocks:first-child .item-stocks__title {
    font-size: 21px;
  }

  .item-stocks:first-child {
    grid-column: span 1;
    background-color: rgb(237, 237, 237);
    padding: 20px;
  }
}

@media (any-hover: hover) {
  .phone:hover {
    opacity: 0.75;
  }

  .item-stocks__link:hover {
    opacity: 0.88;
  }

  .items-cart__remove:hover {
    opacity: 0.6;
  }

  .home-return:hover {
    color: #dc5b3f;
  }

  .home-return:hover path {
    fill: #dc5b3f;
  }

  .btn:hover {
    background-color: #773da5;
  }

  .item-blog__link:hover {
    color: #dc5b3f;
  }

  .items-cart__minus:hover,
  .items-cart__plus:hover {
    background-color: #dc5b3f;
  }

  .category__pagination .pagination:not(.dots):hover {
    fill: white;
    background-color: #3a3a3a;
    color: white;
    fill: white;
  }

  .contacts__phone:hover {
    color: #633389;
  }

  .footer__list a:hover {
    color: #e06d55;
  }

  .header__search button:hover {
    fill: #dc5b3f;
  }

  .cart-header:hover {
    opacity: 0.7;
  }

  .items__buy:hover {
    color: #dc5b3f;
  }

  .items__add:hover {
    background-color: #dc5b3f;
  }

  .popular__more:hover {
    color: white;
    background-color: #633389;
  }

  .buy-popup__phone:hover {
    color: #633389;
  }

  .cart-popup__close:hover {
    fill: #633389;
  }

  .item-cart-popup__minus:hover,
  .item-cart-popup__plus:hover {
    background-color: #dc5b3f;
  }

  .product__home:hover {
    fill: #dc5b3f;
  }

  .product__add:hover {
    background-color: #dc5b3f;
  }

  .sidebar__list a:hover {
    color: #dc5b3f;
  }

  .sidebar__list a:hover::before {
    border-color: #dc5b3f;
  }

  .categories-sidebar__category:hover .categories-sidebar__icon {
    background-color: #633389;
  }
}
