@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Raleway:ital,wght@0,100..900;1,100..900&display=swap");
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Начала списка переменных  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
:root {
  --color-primary: #fd570e;
  --color-pressed-primary: color-mix(
      in srgb,
      var(--color-primary),
      transparent 20%
  );
  --color-white: #fff;
  --color-black: #252525;
  --color-gray: #999;
  --color-light-gray: #f6f6f6;
  --color-dark-gray: #505050;
  --color-red: #ff2d55;
  --font-family: "Raleway", sans-serif;
  --font-size-base: 16px;
}

/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Конец списка переменных  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Начало стилей нормализации  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
html {
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
}

main {
  display: block;
}

h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

pre {
  font-family: monospace, monospace;
  font-size: 1em;
}

a {
  background-color: transparent;
}

abbr[title] {
  border-bottom: none;
  text-decoration: underline;
  text-decoration: underline dotted;
}

b,
strong {
  font-weight: bolder;
}

code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

small {
  font-size: 80%;
}

sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

img {
  border-style: none;
}

button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

button,
input,
a,
label {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

button,
input {
  overflow: visible;
  font-variant-numeric: lining-nums;
}

button,
select {
  text-transform: none;
}

button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
  cursor: pointer;
}

button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

a,
button,
input,
textarea,
select,
div {
  -webkit-tap-highlight-color: transparent;
  outline: none;
}

a:active,
a:focus,
button:active,
button:focus {
  background-color: transparent;
  color: inherit;
}

fieldset {
  padding: 0.35em 0.75em 0.625em;
}

legend {
  box-sizing: border-box;
  color: inherit;
  display: table;
  max-width: 100%;
  padding: 0;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

textarea {
  overflow: auto;
}

[type=checkbox],
[type=radio] {
  box-sizing: border-box;
  padding: 0;
}

[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

[type=search] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}

[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}

details {
  display: block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none;
}

/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Конец стилей нормализации  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Начало стилей сетки  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
* {
  box-sizing: border-box;
}

.container {
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -8px;
  margin-right: -8px;
}

[class^=col-] {
  width: 100%;
  padding-left: 8px;
  padding-right: 8px;
}

.col-xs-1 {
  width: 8.333333%;
}

.col-xs-2 {
  width: 16.666667%;
}

.col-xs-3 {
  width: 25%;
}

.col-xs-4 {
  width: 33.333333%;
}

.col-xs-5 {
  width: 41.666667%;
}

.col-xs-6 {
  width: 50%;
}

.col-xs-7 {
  width: 58.333333%;
}

.col-xs-8 {
  width: 66.666667%;
}

.col-xs-9 {
  width: 75%;
}

.col-xs-10 {
  width: 83.333333%;
}

.col-xs-11 {
  width: 91.666667%;
}

.col-xs-12 {
  width: 100%;
}

@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
  .col-sm-1 {
    width: 8.333333%;
  }
  .col-sm-2 {
    width: 16.666667%;
  }
  .col-sm-3 {
    width: 25%;
  }
  .col-sm-4 {
    width: 33.333333%;
  }
  .col-sm-5 {
    width: 41.666667%;
  }
  .col-sm-6 {
    width: 50%;
  }
  .col-sm-7 {
    width: 58.333333%;
  }
  .col-sm-8 {
    width: 66.666667%;
  }
  .col-sm-9 {
    width: 75%;
  }
  .col-sm-10 {
    width: 83.333333%;
  }
  .col-sm-11 {
    width: 91.666667%;
  }
  .col-sm-12 {
    width: 100%;
  }
}
@media (min-width: 766px) {
  .row {
    margin-left: -15px;
    margin-right: -15px;
  }
  [class^=col-] {
    padding: 0 15px;
  }
  .container {
    max-width: 766px;
  }
  .col-md-1 {
    width: 8.333333%;
  }
  .col-md-2 {
    width: 16.666667%;
  }
  .col-md-3 {
    width: 25%;
  }
  .col-md-4 {
    width: 33.333333%;
  }
  .col-md-5 {
    width: 41.666667%;
  }
  .col-md-6 {
    width: 50%;
  }
  .col-md-7 {
    width: 58.333333%;
  }
  .col-md-8 {
    width: 66.666667%;
  }
  .col-md-9 {
    width: 75%;
  }
  .col-md-10 {
    width: 83.333333%;
  }
  .col-md-11 {
    width: 91.666667%;
  }
  .col-md-12 {
    width: 100%;
  }
}
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  .col-lg-1 {
    width: 8.333333%;
  }
  .col-lg-2 {
    width: 16.666667%;
  }
  .col-lg-3 {
    width: 25%;
  }
  .col-lg-4 {
    width: 33.333333%;
  }
  .col-lg-5 {
    width: 41.666667%;
  }
  .col-lg-6 {
    width: 50%;
  }
  .col-lg-7 {
    width: 58.333333%;
  }
  .col-lg-8 {
    width: 66.666667%;
  }
  .col-lg-9 {
    width: 75%;
  }
  .col-lg-10 {
    width: 83.333333%;
  }
  .col-lg-11 {
    width: 91.666667%;
  }
  .col-lg-12 {
    width: 100%;
  }
}
.hidden {
  display: none !important;
}

@media (max-width: 575px) {
  .hidden-xs {
    display: none !important;
  }
}

@media (min-width: 576px) and (max-width: 765px) {
  .hidden-sm {
    display: none !important;
  }
}

@media (min-width: 766px) and (max-width: 991px) {
  .hidden-md {
    display: none !important;
  }
}

@media (min-width: 992px) {
  .hidden-lg {
    display: none !important;
  }
}

@media (min-width: 576px) {
  .visible-xs {
    display: none !important;
  }
}

@media (max-width: 575px), (min-width: 766px) {
  .visible-sm {
    display: none !important;
  }
}

@media (max-width: 765px), (min-width: 992px) {
  .visible-md {
    display: none !important;
  }
}

@media (max-width: 991px) {
  .visible-lg {
    display: none !important;
  }
}

.visible-md-and-up {
  display: none !important;
}
@media (min-width: 766px) {
  .visible-md-and-up {
    display: block !important;
  }
}

/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Конец стилей сетки  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Начало стилей типографии  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
body {
  font-family: var(--font-family);
  font-optical-sizing: auto;
  font-variant-numeric: lining-nums;
  font-size: var(--font-size-base);
  line-height: 150%;
  font-weight: 400;
  font-style: normal;
}

h1 {
  font-weight: 600;
  font-size: 30px;
  line-height: 120%;
  margin: 0 0 15px;
}

h2 {
  font-weight: 600;
  font-size: 22px;
  line-height: 127%;
  margin: 0 0 15px;
}

h3 {
  font-weight: 600;
  font-size: 16px;
  line-height: 137%;
  margin: 0 0 15px;
}

textarea {
  border: 1px solid var(--color-light-gray);
  border-radius: 8px;
  padding: 16px;
  width: 100%;
  height: 120px;
  resize: none;
  color: var(--color-gray);
  outline: none;
  will-change: transform;
  margin: 0 0 14px;
}
textarea:focus, textarea:not(:placeholder-shown), textarea:active {
  border-color: var(--color-dark-gra);
  color: var(--color-black);
}

strong {
  font-weight: 600;
}

@media (min-width: 766px) {
  h1 {
    font-size: 36px;
    line-height: 111%;
    margin: 0 0 23px;
  }
  h2 {
    font-size: 26px;
    line-height: 123%;
    margin: 0 0 32px;
  }
  h3 {
    font-weight: 500;
    font-size: 18px;
    line-height: 133%;
  }
}
@media (min-width: 992px) {
  h1 {
    font-size: 44px;
    line-height: 118%;
  }
  h2 {
    font-size: 36px;
    line-height: 111%;
  }
  h3 {
    font-weight: 500;
    font-size: 18px;
    line-height: 133%;
  }
}
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Конец стилей типографии  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Начало базовых стилей  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
html {
  height: 100%;
}

body {
  background: var(--color-white);
  color: var(--color-black);
  overflow: hidden;
  overflow-y: auto;
  height: 100%;
}

/* Кнопки */
.primary-button {
  background: var(--color-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 40px;
  color: var(--color-primary);
  border: 1px solid color-mix(in srgb, var(--color-primary) 20%, transparent);
  border-radius: 28px;
  padding: 10px 30px;
  cursor: pointer;
  font-size: 14px;
  text-align: center;
  font-weight: 500;
  line-height: 143%;
  white-space: nowrap;
  transition: all 250ms;
  will-change: transform;
}
.primary-button:focus {
  background: var(--color-white);
  color: var(--color-primary);
}
.primary-button:hover {
  background: var(--color-primary);
  color: var(--color-white);
}
.primary-button:active {
  background: var(--color-pressed-primary);
  color: var(--color-white);
}

.floating-cart-button {
  position: fixed;
  bottom: 20px;
  right: 15px;
  border: none;
  border-radius: 24px;
  padding: 12px;
  width: 56px;
  height: 56px;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.1), 0 6px 12px 4px rgba(0, 0, 0, 0.1);
  background: var(--color-primary) url(../img/icons/cart-icon.svg) center no-repeat;
  transition: all 250ms;
}
.floating-cart-button:focus {
  background-color: var(--color-primary);
}
.floating-cart-button:hover {
  background-color: var(--color-pressed-primary);
}
.floating-cart-button__count {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: -5px;
  right: -5px;
  z-index: 1;
  width: 25px;
  height: 25px;
  border-radius: 100%;
  background: var(--color-black);
  color: var(--color-white);
  font-weight: 600;
  font-size: 12px;
  line-height: 100%;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 4px 8px 3px rgba(0, 0, 0, 0.1);
}

.secondary-button {
  border-radius: 28px;
  padding: 14px 24px;
  width: 156px;
  height: 48px;
  min-width: 120px;
  background: var(--color-primary);
  border: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 160%;
  text-align: center;
  color: var(--color-white);
  transition: all 250ms;
}
.secondary-button:focus {
  background: var(--color-primary);
  color: var(--color-white);
}
.secondary-button:active {
  background: var(--color-pressed-primary);
}

.wide-button {
  background: var(--color-primary);
  border: none;
  width: 100%;
  border-radius: 28px;
  padding: 14px 24px;
  height: 48px;
  min-width: 120px;
  font-weight: 600;
  font-size: 14px;
  line-height: 143%;
  text-align: center;
  color: var(--color-white);
  transition: all 250ms;
  will-change: transform;
}
.wide-button:active, .wide-button:focus {
  background: var(--color-pressed-primary);
  outline: none;
  color: var(--color-white);
}

.group-buttons {
  border-radius: 40px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.8);
}
.group-buttons .big-button {
  margin: 0 0 16px;
}
.group-buttons .big-button:last-child {
  margin: 0;
}

.big-button {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 24px;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 24px 64px;
  width: 100%;
  height: 80px;
  min-width: 120px;
  font-weight: 600;
  font-size: 20px;
  text-align: center;
  text-decoration: none;
  transition: all 250ms;
  will-change: transform;
}
.big-button:focus {
  background: var(--color-primary);
  color: var(--color-white);
}
.big-button:active {
  background: var(--color-pressed-primary);
}

.unfill-button {
  background: none;
  border: 1px solid var(--color-primary);
  border-radius: 28px;
  padding: 14px 24px;
  width: 100%;
  height: 48px;
  min-width: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-primary);
  font-weight: 500;
  font-size: 14px;
  line-height: 143%;
  transition: all 250ms;
  will-change: transform;
}
.unfill-button:focus {
  background: none;
  color: var(--color-primary);
}
.unfill-button:hover {
  background: var(--color-pressed-primary);
  color: var(--color-white);
}

.free-form {
  padding: 28px 16px;
}
.free-form__title {
  margin: 0 0 23px;
}

.radio-row {
  display: flex;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid color-mix(in srgb, var(--color-gray) 40%, transparent 80%);
  cursor: pointer;
}
.radio-row:first-child {
  border-top: 1px solid color-mix(in srgb, var(--color-gray) 40%, transparent 80%);
}
.radio-row input {
  position: absolute;
  left: -999em;
}
.radio-row input:checked ~ .radio-row__title:after {
  background: var(--color-primary);
}
.radio-row [class*=icon] {
  margin: 0 12px 0 0;
}
.radio-row__title {
  width: 100%;
  display: block;
  position: relative;
}
.radio-row__title:after {
  position: absolute;
  content: "";
  top: 50%;
  right: 0;
  margin: -11px 0 0;
  width: 20px;
  height: 20px;
  border-radius: 100%;
  background: var(--color-white);
  box-shadow: inset 0 0 0 5px #fff;
  border: 1px solid var(--color-primary);
  transition: all 250ms;
}
.radio-row__button {
  margin: 25px 0 0;
}

.radio-panel {
  display: flex;
  background: var(--color-light-gray);
  border-radius: 28px;
  margin: 0 0 32px;
  position: relative;
}

.radio-panel__thumb-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 33.33%;
  height: 100%;
  display: inline-flex;
  padding: 5px;
  transition: left 250ms; /* Анимация только при отпускании */
  z-index: 1; /* Убедимся, что thumb находится под текстом */
  cursor: pointer; /* Курсор в виде указателя */
}

.radio-panel__thumb {
  width: 100%;
  height: 100%;
  background: var(--color-white);
  border-radius: 28px;
}

.radio-panel__label {
  width: 100%;
  text-align: center;
  cursor: pointer;
  font-weight: 500;
  font-size: 14px;
  line-height: 143%;
  border-radius: 28px;
  padding: 15px 5px;
  transition: all 250ms;
  position: relative;
  z-index: 1; /* Метки поверх thumb */
}
.radio-panel__label:has(input:checked) {
  pointer-events: none;
  color: var(--color-primary);
}

.radio-panel__label input {
  position: absolute;
  opacity: 0;
  left: -9999px;
}

.quantity-control {
  position: relative;
  width: 160px;
}
.quantity-control--medium {
  width: 124px;
}
.quantity-control--medium .quantity-control__input {
  border-color: var(--color-white);
  border-radius: 20px;
  padding: 10px 16px;
  height: 40px;
}
.quantity-control__button {
  position: absolute;
  top: 0;
  background: none;
  border: none;
  height: 100%;
  width: 30px;
  font-size: 0;
}
.quantity-control__button.minus {
  left: 12px;
}
.quantity-control__button.plus {
  right: 12px;
}
.quantity-control__input {
  border: 1px solid var(--color-primary);
  background: var(--color-white);
  border-radius: 24px;
  padding: 14px 40px;
  width: 100%;
  max-width: 160px;
  height: 48px;
  text-align: center;
  font-weight: 600;
  font-size: 14px;
  line-height: 143%;
  outline: none;
  -moz-appearance: textfield;
}
.quantity-control__input::-webkit-outer-spin-button, .quantity-control__input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.card-icon {
  display: inline-flex;
  background: url(../img/icons/card-icon.svg) center no-repeat;
  width: 24px;
  height: 24px;
}

.qr-icon {
  display: inline-flex;
  background: url(../img/icons/qr-icon.svg) center no-repeat;
  width: 24px;
  height: 24px;
}

.card-icon-lg {
  background: url(../img/icons/card-icon.svg);
  background-size: cover;
  width: 64px;
  height: 64px;
}

.qr-icon-lg {
  background: url(../img/icons/qr-icon.svg);
  background-size: cover;
  width: 64px;
  height: 64px;
}

.check2-icon {
  background: url(../img/icons/check2-icon.svg);
  background-size: cover;
  width: 64px;
  height: 64px;
}

.in-process-icon {
  background: url(../img/icons/in-process-icon.svg);
  background-size: cover;
  width: 64px;
  height: 64px;
}

@media (min-width: 766px) {
  .primary-button {
    height: 48px;
  }
  .floating-cart-button {
    border-radius: 40px;
    padding: 24px;
    width: 96px;
    height: 96px;
    background-size: 34px;
  }
  .floating-cart-button__count {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .big-button {
    height: 120px;
    font-size: 32px;
  }
  .group-buttons {
    display: flex;
    gap: 40px;
    padding: 40px;
    border-radius: 64px;
  }
  .group-buttons .big-button {
    margin: 0;
  }
  .free-form__title {
    font-size: 22px;
  }
  .radio-panel {
    margin: 0 0 19px;
  }
}
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Конец базовых стилей  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Начала стилей шапки сайта  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
.header {
  padding: 25px 0 32px;
}

@media (min-width: 766px) {
  .header {
    padding: 32px 0 41px;
  }
}
@media (min-width: 992px) {
  .header {
    padding: 53px 0 49px;
  }
}
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Конец стилей шапки сайта  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Начала стилей навигации  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
.primary-nav-wrapper {
  height: 41px;
}

.primary-nav {
  position: absolute;
  width: 100%;
  left: 0;
  transform: all 250ms;
}
.primary-nav.fixed {
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 4px 8px 3px rgba(0, 0, 0, 0.1);
  background: var(--color-white);
  position: fixed;
  top: 0;
  padding: 8px 0;
  z-index: 1;
}
.primary-nav__scroll {
  overflow-x: auto;
  scroll-behavior: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: none;
}
.primary-nav__scroll::-webkit-scrollbar {
  display: none;
}
.primary-nav__row {
  display: flex;
  padding: 0 15px;
  margin: 0;
  width: 940px;
  margin: 0 auto;
}
.primary-nav__item {
  list-style-type: none;
  flex: 0 0 auto;
  margin: 0 7px 0 0;
}
.primary-nav__item:last-child {
  margin: 0;
}
.primary-nav__link {
  display: inline-flex;
  background: var(--color-light-gray);
  color: var(--color-dark-gray);
  white-space: nowrap;
  border: 1px solid transparent;
  border-radius: 28px;
  padding: 10px 20px;
  font-weight: 500;
  font-size: 14px;
  line-height: 138%;
  text-align: center;
  text-decoration: none;
  transition: all 300ms;
}
.primary-nav__link:hover {
  border-color: var(--color-pressed-primary);
  background: #fff;
}
.primary-nav__link:focus {
  border-color: transparent;
  background: var(--color-light-gray);
}
.primary-nav__link--active, .primary-nav__link--active:focus {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: color-mix(in srgb, var(--color-primary) 20%, transparent);
}

@media (min-width: 576px) {
  .primary-nav__row {
    width: 540px;
  }
}
@media (min-width: 766px) {
  .primary-nav.fixed {
    padding: 16px 0;
  }
  .primary-nav__row {
    width: 766px;
  }
  .primary-nav__link {
    padding: 13px 24px;
  }
}
@media (min-width: 992px) {
  .primary-nav__row {
    width: 992px;
    padding: 0 30px;
  }
}
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Конец стилей навигации  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Начала стилей карточки   ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
.card-item {
  display: flex;
  flex-direction: column;
  justify-items: flex-start;
  min-height: 260px;
  height: 100%;
  padding: 0 0 34px;
}
.card-item__preview {
  display: flex;
  align-items: flex-start;
  margin: 0 0 14px;
  width: 100%;
  max-width: 292px;
  max-height: 292px;
  overflow: hidden;
  border-radius: 5px;
}
.card-item__preview img {
  display: inherit;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-item__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 10px;
}
.card-item__volume {
  display: flex;
  font-size: 12px;
  line-height: 144%;
  letter-spacing: 1px;
  color: var(--color-gray);
  margin: -9px 0 14px;
}
.card-item__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.card-item__price {
  display: none;
  font-weight: 600;
  font-size: 18px;
  line-height: 133%;
}
.card-item__button-text-one {
  display: none;
}

@media (min-width: 766px) {
  .card-item__title {
    font-size: 18px;
    line-height: 133%;
  }
  .card-item__volume {
    font-size: 14px;
    margin: -6px 0 7px;
  }
  .card-item__price {
    display: block;
  }
  .card-item__button-text-one {
    display: block;
  }
  .card-item__button-text-two {
    display: none;
  }
}
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Конец стилей карточки    ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Начала стилей option  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
.option {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-radius: 8px;
  padding: 4px;
  height: 100%;
  background: var(--color-light-gray);
  border: 1px solid var(--color-light-gray);
  transition: all 250ms;
  will-change: transform;
  position: relative;
}
.option .check-icon {
  position: absolute;
  top: 6px;
  right: 6px;
  transition: all 250ms;
  opacity: 0;
}
.option .check-icon rect {
  fill: var(--color-primary);
}
.option:has(.option__checkbox) {
  cursor: pointer;
}
.option:has(.option__checkbox:checked) {
  border-color: var(--color-primary);
  background-color: var(--color-white);
}
.option:has(.option__checkbox:checked) .check-icon {
  opacity: 1;
}
.option:has(.option__checkbox:checked) .option__price {
  font-weight: 600;
  font-size: 14px;
  line-height: 143%;
  color: var(--color-black);
}
.option__checkbox {
  position: absolute;
  opacity: 0;
  height: 0;
  width: 0;
}
.option__preview {
  display: block;
  width: 100%;
  max-height: 96px;
  margin: 0 0 6px;
  object-fit: cover;
}
.option__title {
  display: block;
  line-height: 150%;
  flex-grow: 1;
  font-size: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  margin: 0 0 0 3px;
}
.option__price {
  font-size: 12px;
  height: 24px;
  white-space: nowrap;
  color: var(--color-dark-gray);
  margin: auto 0 0 4px;
  transition: all 250ms;
}

.option-row-list {
  display: flex;
  overflow-x: auto;
  scrollbar-width: none;
  margin: 0 -16px;
  padding: 0 16px;
  user-select: none;
}

.option-medium {
  display: inline-flex;
  flex-direction: column;
  width: 100%;
  max-width: 120px;
  min-height: 246px;
  margin: 0 16px 0 0;
  pointer-events: none;
  user-select: none;
}
.option-medium:last-child {
  margin: 0;
}
.option-medium__preview {
  display: block;
  border-radius: 8px;
  width: 100%;
  height: 120px;
  object-fit: cover;
  margin: 0 0 12px;
}
.option-medium__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  line-height: 143%;
  font-weight: 500;
}
.option-medium__volume {
  display: block;
  font-size: 12px;
  line-height: 183%;
  color: var(--color-gray);
}
.option-medium__button {
  margin-top: auto;
}
.option-medium a,
.option-medium button {
  pointer-events: auto;
}

@media (min-width: 766px) {
  .option-medium .primary-button {
    height: 40px;
  }
}
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Конец стилей option  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Начала стилей модальных окон  ---------*/
/*------------Стили самой модалки, а не содержимого-----*/
/*----------------------------------------------*/
.swipe-modal {
  opacity: 0;
  visibility: hidden;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: flex-end;
  z-index: 1000;
  transition: all 0.5s;
}
.swipe-modal.open {
  opacity: 1;
  visibility: visible !important;
}
.swipe-modal.open .modal-content {
  transform: translateY(0);
}
.swipe-modal--small .swipe-modal-button-close {
  top: 20px;
  right: 17px;
}
.swipe-modal--small .swipe-modal-content {
  max-height: none;
  height: 279px;
}

.swipe-modal-content {
  will-change: transform;
  background: var(--color-white);
  width: 100%;
  height: calc(100% - 16px); /* Высота минус 16px от верха */
  max-height: 100vh;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  overflow-x: auto;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  transform: translateY(100%);
  transition: transform 0.5s ease; /* Анимация для плавного возврата */
  position: relative;
  scrollbar-width: none;
  scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
.swipe-modal-content--full, .swipe-modal-content--mobile-auto {
  background: var(--color-white) url(../img/lines-gray-bg.svg) center no-repeat;
  background-size: contain;
  background-position: top center;
}
.swipe-modal-content--auto, .swipe-modal-content--mobile-auto {
  max-height: none;
  height: auto;
}

.swipe-modal-button-close {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 32px;
  height: 32px;
  border-radius: 20px;
  background: var(--color-white) url(../img/icons/close-icon.svg) center no-repeat;
  border: none;
  z-index: 1;
}
.swipe-modal-button-close--gray {
  background-color: var(--color-light-gray);
}

@media (min-width: 576px) {
  .swipe-modal-content {
    width: 65%;
  }
  .swipe-modal-content--full {
    width: 100%;
    height: 100%;
  }
}
@media (min-width: 766px) {
  .swipe-modal {
    align-items: center;
  }
  .swipe-modal--medium .swipe-modal-content {
    max-width: 540px;
    max-height: 794px;
  }
  .swipe-modal--small {
    align-items: flex-end;
  }
  .swipe-modal--small .swipe-modal-content {
    max-width: 360px;
    max-height: none;
    height: auto;
    position: relative;
    top: -39px;
    left: -69px;
  }
  .swipe-modal-content {
    width: 100%;
    max-width: 736px;
    height: auto;
    height: 95vh;
    max-height: 758px;
    border-radius: 16px;
    scrollbar-width: thin;
    border-radius: 8px;
  }
  .swipe-modal-content--full {
    max-width: 100%;
    height: 100%;
  }
  .swipe-modal-content--mobile-auto {
    max-width: 100%;
  }
  .swipe-modal-button-close {
    top: 19px;
    right: 8px;
  }
  .swipe-modal-button-close--gray {
    right: 20px;
  }
}
@media (min-width: 992px) {
  .swipe-modal-content {
    max-width: 940px;
    max-height: 564px;
  }
  .swipe-modal-content--large {
    max-width: 960px;
    max-height: 840px;
  }
  .swipe-modal-content--full, .swipe-modal-content--mobile-auto {
    max-width: 100%;
    max-height: 100%;
  }
}
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Конец стилей модальных окон  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Начала стилей описания товара  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
.detailed {
  position: relative;
  min-height: 100vh;
}
.detailed__preview-wrapper {
  height: 360px;
}
.detailed__preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.detailed__full {
  padding: 20px 15px 0;
  position: relative;
}
.detailed__title {
  font-size: 22px;
  line-height: 127%;
  display: block;
  margin: 0 0 7px;
}
.detailed__volume {
  display: block;
  font-size: 14px;
  line-height: 143%;
  color: var(--color-gray);
}
.detailed__description {
  font-size: 14px;
  line-height: 143%;
  color: var(--color-dark-gray);
  margin: 0 0 30px;
}

.actions-sticky {
  background: var(--color-white);
  position: sticky;
  display: flex;
  gap: 5px;
  justify-content: space-between;
  bottom: 0;
  left: 0;
  padding: 0 0 15px;
  margin: 15px 0 0;
  width: 100%;
  z-index: 1;
}
.actions-sticky::before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  width: 100%;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgb(255, 255, 255));
  pointer-events: none;
}

.svg-color {
  stroke: var(--color-primary);
}

@media (min-width: 766px) {
  .detailed {
    display: flex;
    min-height: auto;
  }
  .detailed__preview-wrapper {
    width: 50%;
    padding: 19px 2px 0 20px;
  }
  .detailed__full {
    width: 50%;
    padding-left: 18px;
  }
  .detailed__description {
    margin: 0 0 18px;
  }
}
@media (min-width: 992px) {
  .detailed {
    display: flex;
  }
  .detailed--stadart-style {
    padding: 20px 0 20px 20px;
  }
  .detailed--stadart-style .detailed__preview-wrapper {
    position: relative;
  }
  .detailed--stadart-style .detailed__full {
    padding: 0 15px;
  }
  .detailed--stadart-style .detailed__title {
    margin: 0 19px 7px 0;
  }
  .detailed--stadart-style .catalog-additions {
    margin: 0 0 85px;
  }
  .detailed__preview-wrapper {
    width: 61%;
    padding: 0;
    height: 564px;
    position: sticky;
    top: 0;
    overflow: hidden;
  }
  .detailed__preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
  }
  .detailed__full {
    width: 39%;
    padding-left: 18px;
  }
}
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Конец стилей описания товара  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Начала стилей additions  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
.catalog-additions__title {
  display: block;
  font-weight: 600;
  font-size: 16px;
  line-height: 137%;
  margin: 0 0 14px;
}
.catalog-additions__list {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -4px;
}

.additions-col {
  width: 33.33%;
  padding: 0 4px;
  margin: 0 0 7px;
}

.catalog-additions-row {
  margin: 19px 0 0;
}
.catalog-additions-row__title {
  display: block;
  margin: 0 0 15px;
}

@media (min-width: 766px) {
  .additions-col {
    margin: 0 0 10px;
  }
}
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Конец  стилей additions  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------   Начала стилей корзины   ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
.cart {
  padding: 23px 16px;
}
.cart__title {
  margin: 0 0 25px;
}
.cart .catalog-additions {
  margin: 20px 0 0;
}

.cart-item {
  background: var(--color-light-gray);
  padding: 11px 16px 0;
  border-radius: 8px;
  margin: 0 0 8px;
  position: relative;
}
.cart-item__body {
  display: flex;
}
.cart-item__preview {
  border-radius: 4px;
  width: 64px;
  height: 64px;
  object-fit: cover;
  flex-shrink: 0;
  margin: 0 0 4px;
}
.cart-item__description {
  width: 100%;
  padding: 2px 16px 0;
}
.cart-item__title {
  margin: 0 5px 0 0;
}
.cart-item__volume {
  display: block;
  font-size: 12px;
  color: var(--color-gray);
}
.cart-item__text {
  font-weight: 400;
  font-size: 12px;
  line-height: 150%;
  color: var(--color-gray);
  margin: -3px 0 3px;
}
.cart-item__text p {
  margin: 0 0 10px;
}
.cart-item__text p:last-child {
  margin: 0;
}
.cart-item__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid color-mix(in srgb, var(--color-gray) 40%, transparent 80%);
  margin: 9px 0 0;
  padding: 12px 0;
}
.cart-item__price {
  line-height: 137%;
  flex-shrink: 0;
}
.cart-item__delete-button {
  position: absolute;
  top: 13px;
  right: 13px;
  border: none;
  cursor: pointer;
  width: 22px;
  height: 22px;
  padding: 5px;
  background: url(../img/icons/close-icon.svg);
}

.checkout-block {
  display: flex;
  flex-wrap: wrap;
  font-weight: 600;
  font-size: 22px;
  line-height: 127%;
  margin: 24px 0 0;
}
.checkout-block__choose-payment {
  position: relative;
  padding: 0 24px 0 0;
  cursor: pointer;
}
.checkout-block__choose-payment:after {
  position: absolute;
  top: 5px;
  right: 0;
  content: "";
  background: url(../img/icons/down-icon.svg) center no-repeat;
  width: 20px;
  height: 20px;
}
.checkout-block__final-price {
  margin-left: auto;
}
.checkout-block__payment-button {
  flex-basis: 100%;
  margin-top: 15px;
}

.stage-pay {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 328px;
  height: 100%;
  padding: 35px 0 12px;
  margin: 0 auto;
  text-align: center;
}
.stage-pay__inner {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.stage-pay__icon {
  will-change: transform;
  margin: 0 0 25px;
}
.stage-pay__icon rect {
  fill: var(--color-primary);
}
.stage-pay__title {
  display: block;
  font-weight: 600;
  font-size: 30px;
  line-height: 120%;
  text-align: center;
  margin: 0 0 7px;
}
.stage-pay__button {
  margin: 24px 0 5px;
}
.stage-pay__actions {
  width: 100%;
  max-width: 328px;
  margin: auto 0 0;
}
.stage-pay__actions .unfill-button {
  margin: 16px 0 0;
}
.stage-pay__actions .unfill-button:first-child {
  margin: 0;
}

.box-qr {
  width: 120px;
  height: 120px;
  margin: 0 0 20px;
}

.reviews-form {
  padding: 24px 15px;
}
.reviews-form__title {
  font-weight: 600;
  font-size: 22px;
  line-height: 127%;
  display: block;
  margin: 0 0 9px;
}
.reviews-form__description {
  display: block;
  margin: 0 0 22px;
}

.rating-wrapper {
  background: var(--color-light-gray);
  padding: 18px 23px;
  margin: 0 0 22px;
  border-radius: 8px;
}

.rating {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
}

.rating-text {
  display: block;
  text-align: center;
  margin: 0 0 17px;
}

.rating input {
  display: none;
}

.rating label {
  color: #ccc;
  cursor: pointer;
  padding: 0 9px;
}

.rating label:hover svg path,
.rating label:hover ~ label svg path,
.rating input:checked ~ label svg path {
  fill: var(--color-primary);
}

@media (min-width: 576px) {
  .swipe-modal-content--mobile-auto {
    width: 100%;
    height: 100%;
  }
  .reviews {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .reviews-form {
    max-width: 328px;
  }
  .reviews-form__title {
    text-align: center;
  }
  .reviews-form__description {
    text-align: center;
  }
  .reviews-form__submit-button {
    max-width: 220px;
    margin: 0 auto;
    display: block;
  }
  .rating label {
    padding: 0 6px;
  }
}
@media (min-width: 766px) {
  .cart {
    padding: 21px;
  }
  .cart__title {
    font-size: 22px;
  }
  .cart-item__title {
    font-size: 16px;
  }
  .checkout-block {
    margin: 33px 0 0;
    flex-wrap: nowrap;
    align-items: center;
  }
  .checkout-block__final-price {
    margin-left: 33px;
  }
  .checkout-block__payment-button {
    max-width: 220px;
    margin: 0 0 0 auto;
  }
  .stage-pay {
    justify-content: center;
  }
  .stage-pay__inner {
    flex-grow: 0;
  }
  .stage-pay__actions {
    max-width: 220px;
    margin: 40px 0 0;
  }
}
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Конец  стилей корзины  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Начало стилей стартовых экранов  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/
.start-screen {
  background: #e8e8e8 url(../img/bg-light-screen.svg) center -100px no-repeat;
  background-size: contain;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100%;
  padding: 57px 0 0;
  overflow: hidden;
  overflow-y: auto;
}
.start-screen--with-me {
  background: url(../img/bg-with-me.webp) center no-repeat;
  background-size: cover;
  height: 100%;
}
.start-screen--dark {
  background: #000;
  color: #fff;
}
.start-screen--dark .group-buttons {
  background: rgba(255, 255, 255, 0.1);
}
.start-screen--dark .start-screen__image {
  max-width: 429px;
  max-height: 502px;
  margin: -111px 0 0;
}
.start-screen__content {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}
.start-screen__image {
  display: block;
  max-width: 325px;
  max-height: 325px;
  margin: 0 0 26px;
}
.start-screen__bottom {
  width: 100%;
  max-width: 335px;
  margin-top: auto;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
}
.start-screen__title {
  display: block;
  text-align: center;
  font-weight: 600;
  font-size: 30px;
  line-height: 120%;
  margin: 0 0 32px;
  padding: 0 20px;
}

@media (min-width: 766px) {
  .start-screen {
    padding: 0;
  }
  .start-screen--with-me .start-screen__content {
    margin: 0;
  }
  .start-screen--dark .start-screen__image {
    max-width: 791px;
    max-height: 1118px;
    margin: -453px 0 -137px;
  }
  .start-screen--dark .start-screen__title {
    margin: 0 0 80px;
  }
  .start-screen__content {
    margin: 0 0 12%;
  }
  .start-screen__image {
    max-width: 673px;
    max-height: 680px;
    margin: -21px 0 0;
  }
  .start-screen__title {
    padding: 0;
    font-size: 52px;
    line-height: 115%;
    margin: 0 0 40px;
  }
  .start-screen__bottom {
    max-width: 720px;
  }
}
@media (min-width: 992px) {
  .start-screen--dark .start-screen__image {
    max-width: 1063px;
    max-height: 1494px;
    margin: -640px 0 -30px;
  }
  .start-screen__content {
    margin: 0;
  }
  .start-screen__image {
    max-width: 721px;
    max-height: 721px;
  }
  .start-screen__title {
    font-size: 64px;
    margin: 0 0 62px;
  }
  .start-screen__bottom {
    max-width: 952px;
  }
}
@media (min-width: 1300px) {
  .start-screen--with-me {
    background-size: 952px;
  }
}
@media screen and (orientation: landscape) {
  .start-screen--with-me {
    min-height: 1000px;
  }
}
/*----------------------------------------------*/
/*----------------------------------------------*/
/*----------  Конец стилей стартовых экранов  ---------*/
/*----------------------------------------------*/
/*----------------------------------------------*/