:root {
  --font: 'Manrope', sans-serif;
  --font-second: 'Lora', serif;
  --backgroung: #f6f0e6;
  --secondary-background: #2b1e14;
  --text-color: #2b1e14;
  --white-color: #fdfdfd;
  --grey-color: #99a2a5;
  --link-color: #00a7e7;
  --btn-color: #00a7e7;
  --success-color: #557343;
  --btn-secondary-color: #ffffff1a;
  --unit-spacing: 20px 0;
  --separator-color: #ebeeef;
}

* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: var(--font);
  color: var(--text-color);
  overflow-x: hidden;
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
  background-color: var(--backgroung);
}
img {
  max-width: 100%;
}
.text-center {
  text-align: center;
}
.unit-spacing {
  margin: var(--unit-spacing);
}
.container-padding {
  padding: 0 20px;
}
.title-spacing {
  margin-bottom: 20px;
}
.container {
  max-width: 1440px;
  margin: 0 auto;
}
.full-width {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
}
.h1,
h1 {
  font-weight: 700;
  font-size: 36px;
  line-height: 54px;
  letter-spacing: 0;
  margin: 0;
}
.shadow {
  background-color: #6b6b6b66;
  backdrop-filter: blur(5px);
  position: fixed;
  left: 0;
  right: 0;
  top: 121px;
  bottom: 0;
  z-index: 9;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s linear;
  &.active {
    opacity: 1;
    visibility: visible;
  }
}
a {
  text-decoration: none;
  color: var(--link-color);
}

.btn {
  background-color: var(--btn-color);
  color: var(--white-color);
  padding: 16px;
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0;
  max-width: max-content;
  border-radius: 20px;
  text-align: center;
  cursor: pointer;
  border: none;
  display: block;
}
.btn--small {
  background-color: #ffffff1a;
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  padding: 6px 12px;
  border-radius: 10px;
}
.btn--icon svg {
  display: block;
}
.btn--icon {
  border-radius: 8px;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}
.gap--32 {
  gap: 32px;
}
.gap--9 {
  gap: 9px;
}
.gap--20 {
  gap: 20px;
}
.flex-row--4 > * {
  flex: 0 0 25%;
}
.flex-row--3 > * {
  flex: 0 0 33.333%;
}
.flex-row--2 > * {
  flex: 0 0 50%;
}
.flex-row--2.gap--32 > * {
  flex: 0 0 calc(50% - 16px);
  max-width: calc(50% - 16px);
}

.flex-row--3.gap--32 > * {
  flex: 0 0 calc(33.333% - 22px);
  max-width: calc(33.333% - 22px);
}
.flex-row--4.gap--9 > * {
  flex: 0 0 calc(25% - 7px);
  max-width: calc(25% - 7px);
}
.flex-row--4.gap--20 > * {
  flex: 0 0 calc(25% - 15px);
  max-width: calc(25% - 15px);
}
.flex-row--4.gap--32 > * {
  flex: 0 0 calc(25% - 24px);
  max-width: calc(25% - 24px);
}

.flex--row-reverse {
  flex-direction: row-reverse;
}
.align-center {
  align-items: center;
}
.justify-between {
  justify-content: space-between;
}

@media (max-width: 1550px) {
  :root {
    --unit-spacing: 20px 0;
  }
  .container-padding {
    padding: 0 24px;
  }
  .gap--14-md {
    gap: 14px;
  }
  .flex-row--2.gap--14-md > * {
    flex: 0 0 calc(50% - 7px);
    max-width: calc(50% - 7px);
  }
}
@media (max-width: 1450px) {
  .flex-row--3-xl > * {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
  .gap--25-xl {
    gap: 25px;
  }
  .flex-row--3-xl.gap--25-xl > * {
    flex: 0 0 calc(33.333% - 17px);
    max-width: calc(33.333% - 17px);
  }
}
@media (max-width: 1100px) {
  .gap--14-sm {
    gap: 14px;
  }
  .gap--14-sm > * {
    flex: 0 0 calc(50% - 7px) !important;
    max-width: calc(50% - 7px) !important;
  }
  .flex-row--3-sm.gap--14-sm > * {
    flex: 0 0 calc(33.333% - 10px) !important;
    max-width: calc(33.333% - 10px) !important;
  }
  .flex-row--1-sm > * {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .logo {
    max-width: 170px;
  }
}
@media (max-width: 1050px) {
  .flex-row--3-lg > * {
    flex: 0 0 33.333%;
    max-width: 33.333%;
  }
  .gap--10-lg {
    gap: 10px;
  }
  .flex-row--3-lg.gap--10-lg > * {
    flex: 0 0 calc(33.333% - 7px);
    max-width: calc(33.333% - 7px);
  }
  .flex-row--2-lg.gap--10-lg > * {
    flex: 0 0 calc(50% - 5px) !important;
    max-width: calc(50% - 5px) !important;
  }
}

@media (max-width: 950px) {
  .flex-row--4-s.gap--32 > * {
    flex: 0 0 calc(50% - 24px);
    max-width: calc(50% - 24px);
  }
}
@media (max-width: 600px) {
  :root {
    --unit-spacing: 20px 0;
  }

  body {
    font-size: 14px;
    line-height: 16px;
  }

  .h1,
  h1 {
    font-size: 18px;
    font-weight: 500;
    line-height: 32px;
  }
  .title-spacing {
    margin-bottom: 24px;
  }
  .flex-row--1-xs.gap--8-sx > *,
  .flex-row--1-xs > * {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  .gap--8-xs {
    gap: 8px !important;
  }
  .flex-row--2-xs > * {
    flex: 0 0 50%;
    max-width: 50%;
  }
  .gap--2-xs {
    gap: 2px;
  }
  .flex-row--2-xs.gap--2-xs > * {
    flex: 0 0 calc(50% - 1px);
    max-width: calc(50% - 1px);
  }
}

@media (min-width: 701px) {
  .pc-hidden {
    display: none;
  }
}

@keyframes showBlock {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/*  end  */

.header {
  padding: 20px;
  background-color: #fdfdfd;
}
.header > .container.flex {
  justify-content: space-between;
  align-items: center;
}
.header > .container.flex > .column-right,
.header > .container.flex > .column-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.logo {
  text-decoration: none;
}
.logo span,
.logo img {
  display: block;
}
.logo span {
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  color: var(--text-color);
}
.mail,
.time-work,
.city {
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 28px;
  font-weight: 400;
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0;
}
.city {
  background-image: url(/upload/icon/local.svg);
}
.time-work {
  background-image: url(/upload/icon/time.svg);
}
.mail {
  background-image: url(/upload/icon/mail.svg);
}

.header .column-right .mail,
.callback {
  font-weight: 600;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0%;
  vertical-align: middle;
  text-decoration: none;
  text-align: right;
  color: #7a4b2a;
}
.header .column-right .tel {
  font-weight: 700;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0;
  color: var(--text-color);
  font-style: italic;
}
.heading {
  padding: 40px 0;
}
.main-banner {
  margin-bottom: 60px;
  margin-top: 20px;
}
.section-grid__title {
  font-weight: 500;
  font-size: 36px;
  line-height: 54px;
  letter-spacing: 0;
}
.section-grid > .flex {
  background-color: var(--white-color);
  border-radius: 20px;
  padding: 20px;
}
.product-card {
  border-radius: 20px;
  background-color: #fff;
  border: 1px solid var(--separator-color);
  padding: 8px;
  transition: all 0.2s linear;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.product-card:hover {
  box-shadow: 0px 0px 10px 0px #99a2a566;
}
.product-card__image {
  height: 335px;
  margin: -8px -8px 0;
}
.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card__availability {
  display: flex;
  align-items: center;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  gap: 8px;
  color: var(--grey-color);
  margin-bottom: 8px;
}
.product-card__availability:before {
  content: '';
  width: 12px;
  height: 12px;
  border-radius: 100%;
  display: block;
}
.product-card__availability.availability:before {
  background-color: #34c759;
}
.product-card__name {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  color: var(--text-color);
  margin-bottom: 16px;
  display: block;
  flex: 1;
}
.product-card__price {
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0;
  margin-bottom: 16px;
}
.product-card .btn {
  font-family: inherit;
  cursor: pointer;
  width: 100%;
  max-width: 100%;
}
.footer {
  padding: 60px 0;
  background-color: var(--secondary-background);
}
.cart-item:not(:first-child) {
  margin-top: 10px;
}
.footer > .container.flex {
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.footer .footer__item:last-child span {
  display: block;
}
.footer .footer__item:last-child {
  text-align: right;
}
.footer__item {
  color: var(--white-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer__item .tel {
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0;
  color: var(--white-color);
}
.footer__item .time-work {
  background-image: url(/upload/icon/time-white.svg);
}
.footer__item .city {
  background-image: url(/upload/icon/location-white.svg);
}
.footer__item .mail {
  background-image: url(/upload/icon/mail-white.svg);
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  color: var(--white-color);
}
.product-card__buttons {
  display: flex;
  gap: 10px;
}
.product-card__buttons > * {
  flex: 0 0 calc(50% - 5px);
}
.count {
  display: flex;
  gap: 8px;
  border: 1px solid var(--btn-color);
  border-radius: 20px;
  padding: 12px 8px;
}
.count input[type='number'] {
  -moz-appearance: textfield;
  -webkit-appearance: none;
  appearance: none;
  flex: 1;
  width: 100%;
  max-width: 100%;
  display: block;
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0;
  color: var(--link-color);
}

.count input[type='number']::-webkit-inner-spin-button,
.count input[type='number']::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0; /* Убирает отступы */
}
.count-minus,
.count-plus {
  border: 0;
  background-color: var(--backgroung);
  font-family: var(--font-second);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 400;
  font-size: 14px;
  line-height: 19.6px;
  letter-spacing: 0;
  color: var(--link-color);
  border-radius: 8px;
  cursor: pointer;
}
.product-card .in-card {
  background-color: var(--success-color);
}

.cart {
  display: flex;
  gap: 20px;
  margin-bottom: 100px;
}
.cart .column-right {
  flex: 0 0 420px;
}
.cart .column-left {
  flex: 1;
}
.total,
.order,
.cart-list {
  background-color: var(--white-color);
  padding: 40px;
  border-radius: 40px;
}
.cart-list {
  margin-bottom: 20px;
}
.order__title,
.cart-list__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0;
  border-bottom: 1px solid var(--separator-color);
  padding-bottom: 10px;
  margin-bottom: 10px;
}
.cart-list__title sup {
  font-weight: 700;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
}
.cart-item {
  display: flex;
  gap: 10px;
  align-items: center;
}
.cart-item__image {
  width: 98px;
  height: 98px;
  border: 1px solid var(--btn-color);
  border-radius: 20px;
  overflow: hidden;
}
.cart-item__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.cart-item__name {
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  flex: 1;
}
.cart-item__count {
  flex: 0 0 154px;
}
.cart-item__price {
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0;
  flex: 1;
  max-width: 140px;
}
.cart-item__delete {
  flex: 0 0 50px;
  display: flex;
  justify-content: flex-end;
}
.cart-item__delete .delete svg {
  display: block;
}
.cart-item__delete .delete {
  cursor: pointer;
}
.order .checkbox:not(:last-child) {
  margin-bottom: 10px;
}
.order .checkbox {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  border: 1px solid var(--btn-color);
  border-radius: 20px;
  padding: 20px;
}
.order .checkbox input[type='radio'] {
  display: none;
}
.order .checkbox input[type='text'] {
  flex: 0 0 100%;
  padding: 8px 16px;
  border: 1px solid var(--separator-color);
  background-color: var(--separator-color);
  border-radius: 10px;
  margin-top: 20px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
}
.order .checkbox input[type='text']::placeholder {
  color: var(--grey-color);
}
.order .checkbox .name {
  padding-left: 32px;
  position: relative;
  font-weight: 400;
  font-size: 20px;
  line-height: 36px;
  letter-spacing: 0;
}
.order .checkbox .name:before {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  left: 6px;
  top: 0;
  bottom: 0;
  margin: auto;
  border-radius: 100%;
  background-color: var(--white-color);
  z-index: 1;
}
.order .checkbox .name:after {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
  width: 22px;
  height: 22px;
  border-radius: 100%;
  border: 1px solid var(--btn-color);
}
.order .checkbox:has(:checked) .name:after {
  background-color: var(--btn-color);
}
.order {
  margin-bottom: 20px;
}
.order .checkbox .price {
  font-weight: 500;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0;
  color: var(--success-color);
}
.total__title {
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0;
  margin-bottom: 20px;
}
.total ul {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.total ul li {
  display: flex;
  justify-content: space-between;
}
.total ul li span:first-child {
  font-weight: 400;
  font-size: 20px;
  line-height: 28px;
  letter-spacing: 0;
}
.total ul li span:last-child {
  font-weight: 400;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0;
}
.color-success {
  color: var(--success-color);
}

.total__sum {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}
.total__sum span {
  color: var(--link-color);
}
.total__sum span:first-child {
  font-weight: 700;
  font-size: 20px;
  line-height: 32px;
  letter-spacing: 0;
}
.total__sum span:last-child {
  font-weight: 700;
  font-size: 24px;
  line-height: 36px;
  letter-spacing: 0;
}
.total .btn {
  width: 100%;
  max-width: 100%;
}
.success-message {
  position: fixed;
  bottom: 0;
  background-color: var(--success-color);
  color: var(--white-color);
  padding: 10px 38px;
  left: 0;
  right: 0;
  z-index: 2;
  text-align: center;
  transition: all 0.2s linear;
  transform: translateY(100%);
}
.form-data {
  gap: 8px;
}
.form-data input {
  flex: 1;
  padding: 8px 16px;
  border: 1px solid var(--separator-color);
  background-color: var(--separator-color);
  border-radius: 10px;
  margin-top: 20px;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
}
@media (max-width: 1450px) {
  .logo span {
    display: none;
  }
}
@media (max-width: 1300px) {
  .mail,
  .time-work,
  .city {
    font-size: 16px;
    padding-left: 30px;
  }
  .header .column-right .mail,
  .callback {
    font-size: 16px;
  }
  .header .column-right .tel {
    font-size: 18px;
  }
}
@media (max-width: 1250px) {
  .cart {
    flex-direction: column;
  }
  .cart .column-right {
    flex: auto;
  }
  .cart-item {
    align-items: center;
    flex-wrap: wrap;
  }
  .cart-item__name {
    flex: 1 0 calc(100% - 114px);
  }
}
@media (max-width: 1100px) {
  .header .callback {
    display: none;
  }
  .main-banner {
    margin-bottom: 0;
  }
}
@media (max-width: 950px) {
  .header .city {
    display: none;
  }
}
@media (max-width: 850px) {
  .header .column-right .mail {
    display: none;
  }
}
@media (max-width: 700px) {
  .section-grid__title {
    font-weight: 500;
    font-size: 24px;
    line-height: 35px;
    letter-spacing: 0;
    text-align: center;
  }
  .product-card__buttons {
    flex-direction: column;
  }
  .product-card__image {
    height: 235px;
  }
  .count {
    border-radius: 10px;
    padding: 8px 5px;
  }
  .btn {
    padding: 10px;
    font-weight: 700;
    font-size: 16px;
    line-height: 25px;
  }
  .section-grid > .flex {
    background-color: transparent;
    border-radius: 20px;
    padding: 0;
  }
}
@media (max-width: 650px) {
  .form-data input {
    flex: 0 0 100%;
  }
  .header {
    padding: 10px;
  }
  .header .time-work,
  .header .column-right .tel {
    display: none;
  }
}
@media (max-width: 500px) {
  .total,
  .order,
  .cart-list {
    padding: 20px;
    border-right: 10px;
  }
  .cart-item {
    position: relative;
  }
  .cart-item__delete {
    flex: 0 0 50px;
    display: flex;
    justify-content: flex-end;
    position: absolute;
    top: 35px;
    right: 0;
  }
  .cart-item__name {
    padding-right: 30px;
  }
  .order .checkbox .price,
  .order .checkbox .name {
    font-size: 14px;
    line-height: 24px;
  }
  .order__title,
  .cart-list__title {
    font-size: 18px;
    line-height: 25px;
  }
  .total ul li span:last-child,
  .total ul li span:first-child {
    font-weight: 400;
    font-size: 16px;
    line-height: 20px;
    letter-spacing: 0;
  }
  .cart-item__price {
    font-size: 14px;
  }
  .cart-item__name {
    font-size: 14px;
    line-height: 20px;
  }
  .cart-item__image {
    width: 75px;
    height: 75px;
    border-radius: 10px;
  }
}

/* Shared demo cart controls. */
.header a[href="/cart.html"] { position: relative; }
.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  min-width: 24px;
  height: 24px;
  padding: 0 5px;
  border: 2px solid #fff;
  border-radius: 20px;
  background: #80502e;
  color: #fff;
  font: 700 12px/20px sans-serif;
  text-align: center;
}
.cart-empty { padding: 24px 0; line-height: 1.6; }
.cart-empty a { color: #80502e; text-decoration: underline; }
.cart-empty[hidden] { display: none; }
.count button:disabled { opacity: .45; cursor: default; }
.product-card .btn:focus-visible, .count button:focus-visible {
  outline: 2px solid #80502e; outline-offset: 3px;
}
