/* ──────────────────── Roboto (self-hosted) ──────────────────── */
/* cyrillic-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/Roboto/Roboto-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* cyrillic */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/Roboto/Roboto-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* latin-ext */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/Roboto/Roboto-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Roboto';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('../fonts/Roboto/Roboto-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --text-gray-dark:#37404D;

  /* Brand */
  --orange: #F26522;
  --orange-hover: #D9561E;
  --orange-faded: rgba(242, 101, 34, 0.5);
  --accent-primary: #FF5200;
  --alert-error: #E54545;

  /* Button icon colors */
  --btn-icon-light: #ffffff;
  --btn-icon-dark: #37404D;
  --bg: #EBEBEB;
  --white: #FFFFFF;
  --gray: #EFEFEF;
  --bg-element: #F5F5F5;
  --misc-highlight: #FF520029;

  /* Text */
  --text: #333333;
  --text-muted: #888888;
  --label: #555555;
  --placeholder: #ABABAB;

  /* Borders */
  --border: #CCCCCC;
  --border-focus: #F26522;
  --border-deactive-step: #FF520029;
  --border-deactive-step-line: #FF520029;
  --border-active-step: #F26522;

  /* Shadows / overlays */
  --shadow: rgba(0, 0, 0, 0.08);
  --overlay-dark: rgba(51, 51, 51, 0.55);
  --spinner-track: rgba(255, 255, 255, 0.35);

  /* Buttons */
  --btn-secondary-hover: #E0E0E0;

  /* Product card */
  --product-selected-bg: #FFF4EE;
  --sold-out-label-bg: #77808C;

  /* Alert error */
  --alert-error-border: #E54545;
  --alert-error-bg: #FFFFFF;
  --alert-error-text: #37404D;


  /* Info notice (step 2) */
  --info-notice-border: #36B274;
  --info-notice-bg: #FFFFFF;
  --info-notice-text: #37404D;

  /* Info box (step 4) */
  --info-box-bg: #FFFFFF;
  --info-box-border: #36B274;
  --info-box-text: #37404D;

  /* Radii */
  --radius-input: 4px;
  --radius-card: 24px;
  --radius-card-small: 12px;
}

html, body {
  min-height: 100vh;
  margin: 0;
}

body {
  font-family: 'Roboto', Arial, Helvetica, sans-serif;
  background: var(--bg);
  color: var(--text);
  padding: 32px 16px 48px;
  display: flex;
}

/* ──────────────────── Card ──────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-card);
  max-width: 1000px;
  max-height: fit-content;
  margin: 0 auto;
  padding: 32px 20px;
  box-shadow: 0 2px 20px var(--shadow);

  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ──────────────────── Logo ──────────────────── */
.logo-wrap {
  display: flex;
  justify-content: center;
}

.logo-svg {
  width: 133px;
  height: auto;
}

/* ──────────────────── Content ──────────────────── */
.page-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.page-body.page-body__pb24 {
  padding-bottom: 24px;
}

.page-content {
  flex: 1;
  margin: 0 auto;
  max-width: 560px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ──────────────────── Title ──────────────────── */
.page-title {
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0;
  text-align: center
}

.page-title .accent {
  color: var(--orange);
}

.page-subtitle {
  color: var(--text-muted);
  text-align: center;
  font-weight: 400;
  font-style: Regular;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
  vertical-align: bottom;
}

.page-subtitle.page-subtitle__v2 {
  color: var( --text-gray-dark);
  font-weight: 700;
  font-style: Bold;
  font-size: 17px;
}

/* ──────────────────── Steps ──────────────────── */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.step-item {
  display: flex;
  align-items: center;
}

.step-circle {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 2px solid var(--border-deactive-step);
  color: var(--border-deactive-step);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  line-height: 20px;
  font-weight: 700;
  background: var(--white);
  flex-shrink: 0;
}

.step-item.active .step-circle {
  border: 2px solid var(--orange);
  color: var(--orange);
}

.step-item.done .step-circle {
  border: 2px solid var(--orange);
  background: var(--orange);
  color: var(--white);
}

.step-line {
  width: 48px;
  height: 0;
  border-top: 2px dashed var(--border-deactive-step-line);
}

.step-line.done {
  border-top: 1.5px solid var(--orange);
}

/* ──────────────────── Form body (max-width constraint) ──────────────────── */
.form-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 560px;
  margin: 0 auto;
  padding-bottom: 24px;
}

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

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

.form-row,
div.form-row,
.fields-more,
div.fields-more {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row[hidden],
div.form-row[hidden],
.fields-more[hidden],
div.fields-more[hidden] {
  display: none;
}

/* ──────────────────── Form heading ──────────────────── */
.form-title {
  font-size: 17px;
  line-height: 20px;
  font-weight: 700;
  text-align: center;
  color: var(--text);
}

.form-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.5;
}

/* ──────────────────── Fields ──────────────────── */
.field {
  /* margin-bottom: 14px; */
}

.field-label {
  display: block;
  font-size: 12px;
  color: var(--label);
  margin-bottom: 5px;
}

.required {
  color: var(--orange);
}

.field-input {
  display: block;
  width: 100%;
  height: 47px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-input);
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.15s;
  appearance: none;
  -webkit-appearance: none;
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
}

.field-input::placeholder {
  color: var(--placeholder);
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
}

.field-input:focus {
  border-color: var(--accent-primary);
}

.field-input.has-error {
  border-color: var(--alert-error);
}

.field-input:disabled {
  opacity: 0.48;
  cursor: not-allowed;
}

/* Select */
.field-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 30px;
  cursor: pointer;
}

.field-error {
  font-size: 11px;
  color: var(--alert-error);
  margin-top: 4px;
  min-height: 0;
  display: none;
}

.field.show-error .field-error {
  display: block;
}

/* ──────────────────── Radio ──────────────────── */
.field-radio {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.field-radio .field-label {
  display: block;
  font-size: 15px;
  margin: 0;
  padding: 0;
}

.radio-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-size: 12px;
  color: var(--text);
  user-select: none;
}

.radio-label input[type="radio"] {
  display: none;
}

.radio-custom {
  width: 16px;
  height: 16px;
  margin: 4px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.15s;
}

.radio-custom::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  opacity: 0;
  transition: opacity 0.15s;
}

.radio-label input:checked + .radio-custom {
  border-color: var(--orange);
}

.radio-label input:checked + .radio-custom::after {
  opacity: 1;
}

/* ──────────────────── Consent ──────────────────── */
.consent-wrap {
  margin: 0;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 4px;
  cursor: pointer;
}

.consent-label input[type="checkbox"] {
  display: none;
}

.consent-checkbox {
  width: 16px;
  height: 16px;
  border: 2px solid var(--accent-primary);
  border-radius: 4px;
  flex-shrink: 0;
  margin: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  transition: opacity 0.15s;
}

.consent-checkbox svg {
  opacity: 0;
}

.consent-checkbox svg path { stroke: var(--accent-primary); }

.consent-label input:checked + .consent-checkbox svg {
  opacity: 1;
}

.consent-label input:disabled + .consent-checkbox {
  opacity: 0.48;
  cursor: not-allowed;
}

.consent-label.disabled {
  pointer-events: none;
  opacity: 0.48;
}

.consent-text {
  font-size: 12px;
  color: var(--text-muted);
  line-height: 14px;
}

.consent-link {
  color: var(--orange);
  text-decoration: none;
}

.consent-link:hover {
  text-decoration: underline;
}

/* ──────────────────── Buttons ──────────────────── */

/* Base button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 48px;
  min-width: 48px;
  padding: 12px 16px 12px 12px;
  opacity: 1;
  border-radius: 8px;
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s, opacity 0.15s;
  text-decoration: none;
  white-space: nowrap;
  border: 2px solif transparent;
}

.btn:disabled,
.btn[disabled] {
  opacity: 0.48;
  cursor: not-allowed;
  pointer-events: none;
}

.btn svg {
  width: 24px;
  height: auto;
  min-height: 24px;
}

/* Primary — оранжевый фон, белый текст */
.btn-primary {
  background: var(--accent-primary);
  color: var(--white);
  border: none;
}

.btn-primary:hover:not(:disabled) {
  background: var(--orange-hover);
}

/* Secondary — серый фон, тёмный текст */
.btn-secondary {
  background: var(--gray);
  color: var(--btn-icon-dark);
  border: none;
}

.btn-secondary:hover:not(:disabled) {
  background: var(--btn-secondary-hover);
}

/* Outline — белый фон, оранжевая рамка 2px, тёмный текст */
.btn-outline {
  background: var(--white);
  color: var(--btn-icon-dark);
  border: 2px solid var(--accent-primary);
}

.btn-outline:hover:not(:disabled) {
  background: var(--accent-primary);
  color: var(--white);
}

/* Outline-accent — белый фон, оранжевая рамка 1px, оранжевый текст */
.btn-outline-accent {
  background: var(--white);
  color: var(--accent-primary);
  border: 1px solid var(--accent-primary);
}

.btn-outline-accent:hover:not(:disabled) {
  background: var(--accent-primary);
  color: var(--white);
}

/* Ghost — без фона и рамки, оранжевый текст */
.btn-ghost {
  background: transparent;
  color: var(--accent-primary);
  border: none;
  padding-left: 0;
  padding-right: 0;
}

.btn-ghost:hover:not(:disabled) {
  opacity: 0.75;
}

/* Icon colors per button type */
.btn svg { flex-shrink: 0; }
.btn-primary svg path { fill: var(--btn-icon-light); }
.btn-secondary svg path { fill: var(--btn-icon-dark); }
.btn-outline svg path { fill: var(--btn-icon-dark); }
.btn-outline-accent svg path { fill: var(--accent-primary); }
.btn-ghost svg path { fill: var(--accent-primary); }

/* On hover: outline button becomes filled — icon turns white */
.btn-outline:hover:not(:disabled) svg path { fill: var(--btn-icon-light); }

/* Icon-only — квадратная кнопка */
.btn-icon-only {
  width: 48px;
  height: 48px;
  padding: 0;
  flex-shrink: 0;
}

/* ── Legacy aliases (используются в HTML) ── */
.btn-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: max-content;
  min-width: 320px;
  margin: 0 auto;
  background: var(--orange);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background 0.15s, opacity 0.15s;
}

.btn-submit:hover:not(:disabled) {
  background: var(--orange-hover);
}

.btn-submit:disabled {
  background: var(--orange-faded);
  cursor: not-allowed;
}

/* Nav row (back + next) */
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  /* margin-top: 20px; */
}

.nav-back-wrapper,
.nav-action-wrapper,
.nav-next-wrapper {
  min-width: 107px;
}

.nav-action-wrapper {
  flex: 1px;
  display: flex;
  justify-content: center;
  text-align: center;
}

.btn-icon,
.btn-back__arrow,
.btn-arrow {
  flex-shrink: 0;
}

.btn-back {
  display: flex;
  align-items: center;
  min-width: 48px;
  border: 2px solid var(--orange);
  background: var(--white);
  color: var(--btn-icon-dark);
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
  text-decoration: none;
  white-space: nowrap;
}

.btn-back:hover {
  background: var(--orange);
  color: var(--white);
}

.btn-next {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 320px;
  background: var(--orange);
  color: var(--white);
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
  width: max-content;
}

.btn-next:hover:not(:disabled) {
  background: var(--orange-hover);
}

.btn-next:disabled {
  background: var(--orange-faded);
  cursor: not-allowed;
}

/* Spinner */
.btn-spinner {
  display: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--spinner-track);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.65s linear infinite;
  flex-shrink: 0;
}

.btn-submit.loading .btn-text,
.btn-submit.loading .btn-icon { display: none; }
.btn-submit.loading .btn-spinner { display: block; }

.btn-next.loading .btn-label,
.btn-next.loading .btn-arrow { display: none; }
.btn-next.loading .btn-spinner { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ──────────────────── Age error ──────────────────── */
.age-error-global {
  font-size: 13px;
  color: var(--orange);
  text-align: center;
  margin-top: 12px;
}

/* ──────────────────── Alert error ──────────────────── */
.alert-error {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 16px;
  border: 2px solid var(--alert-error-border);
  border-radius: 16px;
  background: var(--alert-error-bg);
  color: var(--alert-error-text);
}

.alert-error p {
  padding: 0;
  margin: 2px 0 0 0;
  font-weight: 400;
  font-style: Regular;
  font-size: 15px;
  line-height: 20px;
}

.alert-error svg {
  flex-shrink: 0;
  margin-top: 1px;
  width: 24px;
  height: auto;
  min-height: 24px;
}

/* ──────────────────── Products grid (step 2) ──────────────────── */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.product-card {
  border: 2px solid transparent;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  min-width: 0;
  /* min-height: 290px; */
}

.product-card.is-selected {
  border: 2px solid var(--orange);
  background: var(--product-selected-bg);
}

.product-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: var(--bg-element);
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-placeholder {
  color: var(--border);
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.product-card.is-sold-out {
  cursor: not-allowed;
}

.product-card.is-sold-out .product-img {
  opacity: 0.5;
}

.product-card.is-sold-out .product-name,
.product-card.is-sold-out .product-price {
  color: var(--placeholder);
}

.sold-out-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 145px;
  height: 36px;
  background: var(--sold-out-label-bg);
  border-radius: 4px;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.3;
  padding: 0 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.product-card.is-sold-out .card-checkbox {
  display: none;
}

.card-checkbox {
  position: absolute;
  top: 17px;
  right: 17px;
  width: 14px;
  height: 14px;
  border-radius: 3px;
  border: 2px solid var(--orange);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.card-checkbox img {
  display: none;
}

.card-checkbox.checked img {
  display: block;
}

.product-info {
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.product-name {
  color: var(--text);
  margin-bottom: 2px;
  font-weight: 400;
  font-style: Regular;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0;
  vertical-align: bottom;
}

.product-price {
  color: var(--text);
  font-weight: 700;
  font-style: Bold;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0;

}

.product-desc {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* ──────────────────── Total row ──────────────────── */
.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4px;
}
.total-row-content {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray);
  border-radius: 16px;
  padding: 16px;
  gap: 4px;
  width: 100%;
}
.total-row[hidden] {
  display: none;
}

.total-label {
  color: var(--text);
  font-weight: 700;
  font-style: Bold;
  font-size: 17px;
  line-height: 20px;
  letter-spacing: 0;
  vertical-align: middle;
}

.total-price {
  color: var(--orange);
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0;
}

/* ──────────────────── Info notice (step 2) ──────────────────── */
.info-notice {
  display: flex;
  align-items: center;
  gap: 16px;
  color: var(--info-notice-text);
  padding: 16px;
  border: 2px solid var(--info-notice-border);
  border-radius: 16px;
  background: var(--info-notice-bg);

  font-weight: 400;
  font-style: Regular;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0;
}

/* ──────────────────── Data block (step 3) ──────────────────── */
.data-block {
  display: flex;
  flex-direction: column;
  background: var(--misc-highlight);
  margin: 0 auto;
  border-radius: 16px;
  gap: 12px;
  padding: 24px;
  width: 100%;
}

.data-body {
  display: flex;
  flex-direction: column;
  padding-top: 12px;
  gap: 12px;
  opacity: 1;
}

.data-block__content {
  display: flex;
  flex-direction: column;
  padding-top: 12px;
  gap: 12px;
}

.data-block__title {
  color: var(--text);
  font-weight: 700;
  font-style: Bold;
  font-size: 17px;
  line-height: 20px;
  letter-spacing: 0;
}

.data-row {
  display: flex;
  gap: 4px;
  font-size: 13px;
  line-height: 1.6;
  flex-wrap: wrap;
}

.data-label {
  color: var(--text);
  flex-shrink: 0;
  font-weight: 700;
  font-style: Bold;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  vertical-align: bottom;
}

.data-value {
  color: var(--text);
  font-weight: 400;
  font-style: Regular;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: 0;
  vertical-align: bottom;
}

/* ──────────────────── Cart list (step 3) ──────────────────── */
.cart-result {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  gap: 12px;
  padding: 24px;
  background: var(--gray);
}

.section-title {
  font-size: 17px;
  line-height: 20px;
  letter-spacing: 0;
  font-weight: 700;
  color: var(--text);
}

.cart-list {
  display: flex;
  flex-direction: column;
  margin-bottom: 0;
  gap: 12px;
}

.cart-item {
  display: flex;
  align-items: center;
  padding: 12px;
  min-height: 99px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  border-radius: 12px;
}

.cart-item:first-child {

}

.cart-item__img {
  width: 76px;
  height: 76px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: var(--border);
}

.cart-item__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  padding: 12px;
}

.cart-item__description {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.cart-item__name {
  color: var(--text);
  font-weight: 700;
  font-style: Bold;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0;
}

.cart-item__meta {
  color: var(--text-muted);
  font-weight: 400;
  font-style: Regular;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0;
  vertical-align: bottom;
}

.cart-item__price {
  color: var(--text);
  flex-shrink: 0;
  white-space: nowrap;
  font-weight: 700;
  font-style: Bold;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0;
}

.cart-result .total-row {
  gap: 4px;
  padding: 12px;
}

.cart-result .total-row .total-label {
  font-weight: 700;
  font-style: Bold;
  font-size: 17px;
  line-height: 20px;
  letter-spacing: 0;
  vertical-align: middle;
}

.cart-result .total-row .total-price {
  font-weight: 700;
  font-style: Bold;
  font-size: 24px;
  line-height: 28px;
  letter-spacing: 0;
}


.payment-notice {
  border-top: 1px solid var(--white);
  color: var(--text-muted);
  padding: 16px 0;
  gap: 0;
  opacity: 1;
  display: flex;
  flex-direction: column;
}

.payment-notice p {
  font-weight: 400;
  font-style: Regular;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
  vertical-align: bottom;
  color: var(--text-muted);
  padding: 0;
  margin: 0;
}

/* ──────────────────── Info box (step 4) ──────────────────── */
.qr-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.success-title {
  text-align: center;
  color: var(--text);
  font-weight: 700;
  font-style: Bold;
  font-size: 17px;
  line-height: 20px;
  letter-spacing: 0;
}

.qr-wrap {
  display: flex;
  justify-content: center;
}

.qr-img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  /* border-radius: 8px; */
  /* border: 1px solid var(--border); */
  display: block;
}

.qr-notice {
  display: flex;
  align-items: center;
  margin: 0 auto;
}

.qr-notice p {
  font-weight: 400;
  font-style: Regular;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0;
  text-align: center;
}

.qr-placeholder {
  width: 180px;
  height: 180px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg-element);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 12px;
  text-align: center;
  padding: 16px;
}

.info-box {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--info-box-bg);
  border: 2px solid var(--info-box-border);
  color: var(--info-box-text);
  width: 100%;
  border-radius: 16px;
  padding: 16px;
}

.info-box svg {
  flex-shrink: 0;
  margin-top: 1px;
}

.info-text {
  color: var(--info-box-text);
  display: flex;
  flex-direction: column;
  gap: 21px;
}

.info-text p {
  margin: 0;
  font-weight: 400;
  font-style: Regular;
  font-size: 15px;
  line-height: 20px;
  letter-spacing: 0;
}

.info-email {
  color: var(--orange);
}

.btn-home {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 320px;
  margin: 0 auto;
  width: 100%;
  background: var(--orange);
  color: var(--white);
  border: none;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s;
  text-decoration: none;
}

.btn-home:hover {
  background: var(--orange-hover);
}


.box_informer {
  max-width: 560px;
  gap: 12px;
  opacity: 1;
  border-radius: 16px;
  border-width: 2px;
  padding: 16px;
  margin: 0 auto;
}

.info-title {
  font-weight: 700;
  font-size: 17px;
  line-height: 20px;
  letter-spacing: 0;
}

.info-hint {
  padding-top: 4px;
  font-size: 15px;
  line-height: 20px;
}

/* ──────────────────── Footer ──────────────────── */
.shkurev-wrap {
  display: flex;
  justify-content: center;
}

/* ──────────────────── Responsive ──────────────────── */
@media (max-width: 520px) {
  body {
    padding: 8px;
  }

  .card {
    padding: 24px 16px;
    border-radius: var(--radius-card-small);
  }

  .page-title {
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .nav-row {
    margin-top: 0;
    gap: 24px;
  }

  .nav-back-wrapper,
  .nav-action-wrapper,
  .nav-next-wrapper {
    min-width: auto;
  }
  .nav-action-wrapper {
    flex: 1;
  }
  .nav-next-wrapper {
    display: none;
    visibility: hidden;
  }

  .btn-next {
    width: 100%;
    min-width: auto;
  }

  .btn-back__title {
    display: none;
  }

  .btn-back {
    width: auto;
    padding: 12px 10px;
  }

  .btn-home,
  .btn-submit {
    width: 100%;
    min-width: auto;
    max-width: none;
  }

  /* ──────────────────── Info notice (step 2) ──────────────────── */
  .info-notice {
    align-items: start;
  }

  /* ──────────────────── Data block (step 3) ──────────────────── */
  .data-block {
    gap: 12px;
    padding: 16px;
  }
  /* ──────────────────── Cart list (step 3) ──────────────────── */
  .cart-result {
    padding: 16px;
  }
  .cart-list {
    gap: 12px;
  }
  .cart-item {
    flex-direction: column;
    align-items: start;
  }
  .cart-item__info {
    flex-direction: column;
    padding: 12px 0 0 0;
    gap: 4px;
  }
  .cart-item__description {
    flex-direction: column;
  }
  .cart-result .total-row {
    gap: 4px;
    padding: 12px 0;
  }

}

@media (max-width: 390px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}
