/* Booking SPA — шрифт Inter (Google Fonts подключён в book.html), #0066FF */
:root {
  --bp-primary: #0066FF;
  --bp-primary-dark: #0052cc;
  --bp-ink: #161616;
  --bp-muted: #7a7a7a;
  --bp-line: rgba(0, 0, 0, 0.1);
  --bp-soft: #F5F5F5;
  --bp-soft-blue: #E8F0FF;
  --bp-neg: #D92D2D;
  --bp-t: .3s ease-out;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: #fff;
  color: var(--bp-ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

#app {
  min-height: 100vh;
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  background: #fff;
  padding: 0 20px;
}

/* --- header / hero --- */
.bp-top {
  background: none;
  color: var(--bp-ink);
  padding: 30px 0 0;
  border-radius: 0;
}

.bp-top .bp-brand {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bp-muted);
}

.bp-top .bp-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(30px, 8.5vw, 46px);
  font-weight: 700;
  margin-top: 10px;
  line-height: 1.02;
  letter-spacing: 0.015em;
  text-transform: uppercase;
}

.bp-top::after {
  content: "";
  display: block;
  height: 3px;
  background: var(--bp-ink);
  margin: 20px 0 0;
}

/* --- 4-step progress: тонкие линии под hero --- */
.bp-steps {
  display: flex;
  gap: 5px;
  margin-top: 14px;
}

.bp-steps i {
  height: 2px;
  flex: 1;
  border-radius: 0;
  background: var(--bp-line);
  transition: background var(--bp-t);
}

.bp-steps i.on { background: var(--bp-primary); }
.bp-steps.light i { background: var(--bp-line); }
.bp-steps.light i.on { background: var(--bp-primary); }

/* --- body / sections --- */
.bp-body {
  padding: 4px 0 40px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.bp-card {
  background: none;
  border: none;
  border-top: 1px solid var(--bp-line);
  border-radius: 0;
  padding: 26px 0 22px;
  box-shadow: none;
}

.bp-body > .bp-card:first-child {
  border-top: none;
  padding-top: 18px;
}

.bp-card h2 {
  margin: 0 0 8px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(21px, 5.5vw, 27px);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.015em;
}

.bp-hint {
  font-size: 13px;
  color: var(--bp-muted);
  line-height: 1.55;
  margin: 0;
  max-width: 42em;
}

/* --- section label (.bp-step-num) — редакционная метка --- */
.bp-step-num {
  display: block;
  background: none;
  color: var(--bp-primary);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0;
  border-radius: 0;
  margin: 0 0 10px;
}

/* --- buttons: строки-ссылки со стрелкой (как .pitem__link на главной) --- */
.bp-actions {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 18px;
}

.bp-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  background: none;
  color: var(--bp-ink);
  border: none;
  border-bottom: 2px solid var(--bp-primary);
  border-radius: 0;
  padding: 15px 2px;
  text-align: left;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: padding-left var(--bp-t), color var(--bp-t), border-color var(--bp-t);
}

.bp-btn::after {
  content: "→";
  color: var(--bp-primary);
  font-size: 17px;
  line-height: 1;
  transition: transform var(--bp-t);
}

.bp-btn:hover,
.bp-btn:focus-visible {
  padding-left: 10px;
  outline: none;
}

.bp-btn:hover::after { transform: translateX(5px); }

.bp-btn:active {
  color: var(--bp-primary);
  background: none;
}

.bp-btn.ghost {
  color: var(--bp-muted);
  border-bottom: 1px solid var(--bp-line);
  font-weight: 600;
}

.bp-btn.ghost::after { color: var(--bp-muted); }
.bp-btn.ghost:active { background: none; color: var(--bp-primary); }
.bp-btn.ghost:active::after { color: var(--bp-primary); }

.bp-btn.off,
.bp-btn:disabled {
  opacity: 0.4;
  cursor: default;
  pointer-events: none;
}

/* --- footer nav (Назад / Далее) --- */
.bp-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  margin-top: auto;
  padding: 22px 0 0;
  border-top: 1px solid var(--bp-line);
}

.bp-foot-total {
  flex: 0 0 100%;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: -8px 0 -6px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bp-muted);
}

.bp-foot .bp-btn {
  flex: 1;
  margin-top: 0;
}

.bp-foot .bp-btn.ghost { flex: 0 0 auto; }

/* --- day picker: строки со сдвигом --- */
.bp-cal,
.bp-days {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 14px !important;
}

.bp-day {
  background: none;
  border: none;
  border-bottom: 1px solid var(--bp-line);
  border-radius: 0;
  padding: 13px 4px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  text-align: left;
  border-left: 2px solid transparent;
  cursor: pointer;
  user-select: none;
  transition: background var(--bp-t), padding-left var(--bp-t), border-color var(--bp-t);
}

.bp-day:hover {
  background: var(--bp-soft-blue);
  padding-left: 12px;
  border-left-color: var(--bp-primary);
}

.bp-day.sel {
  background: var(--bp-soft-blue);
  border-left-color: var(--bp-primary);
  color: var(--bp-primary);
}

.bp-day.off {
  opacity: 0.32;
  pointer-events: none;
}

.bp-day .d {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--bp-muted);
  min-width: 2.4em;
}

.bp-day .n {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.015em;
}

.bp-day .s {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bp-muted);
}

.bp-day.sel .d,
.bp-day.sel .s { color: var(--bp-primary); }

/* --- time slots: строки --- */
.bp-slots {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 14px !important;
}

.bp-slot-row.wide {
  grid-column: 1 / -1;
  display: block;
}

.bp-slot-row.wide .bp-slot {
  width: 100%;
}

.bp-slot {
  background: none;
  border: none;
  border-bottom: 1px solid var(--bp-line);
  border-left: 2px solid transparent;
  border-radius: 0;
  padding: 13px 4px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  cursor: pointer;
  user-select: none;
  transition: background var(--bp-t), padding-left var(--bp-t), border-color var(--bp-t), color var(--bp-t);
}

.bp-slot:hover {
  background: var(--bp-soft-blue);
  padding-left: 12px;
  border-left-color: var(--bp-primary);
}

.bp-slot.sel {
  border-left-color: var(--bp-primary);
  background: var(--bp-soft-blue);
  color: var(--bp-primary);
}

.bp-slot.full {
  opacity: 0.35;
  pointer-events: none;
}

.bp-slot .t {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1;
}

.bp-slot .c {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--bp-muted);
}

.bp-slot.sel .c { color: var(--bp-primary); }

/* --- kits (cart lines) --- */
.bp-kit {
  background: none;
  border: none;
  border-bottom: 1px solid var(--bp-line);
  border-radius: 0;
  padding: 15px 2px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  transition: background var(--bp-t), padding-left var(--bp-t);
}

.bp-kit:hover {
  background: var(--bp-soft-blue);
  padding-left: 10px;
}

.bp-kit .meta {
  font-size: 13px;
  line-height: 1.45;
  color: var(--bp-muted);
}

.bp-kit .meta b {
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: var(--bp-ink);
}

.bp-kit .del {
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: none;
  border: 2px solid var(--bp-neg);
  color: var(--bp-neg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color var(--bp-t), color var(--bp-t), background var(--bp-t);
}

.bp-kit .del:hover {
  background: var(--bp-neg);
  color: #fff;
}

.bp-add {
  border: 2px solid var(--bp-ink);
  color: var(--bp-ink);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: none;
  cursor: pointer;
  user-select: none;
  margin-top: 14px;
  transition: border-color var(--bp-t), color var(--bp-t), background var(--bp-t);
}

.bp-add:hover {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
  background: var(--bp-soft-blue);
}

/* --- form fields: строки с hairline --- */
.bp-field {
  background: none;
  border: none;
  border-bottom: 1px solid var(--bp-line);
  border-radius: 0;
  padding: 13px 2px;
  transition: border-color var(--bp-t);
}

.bp-field:focus-within {
  border-bottom-color: var(--bp-primary);
}

.bp-field label {
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  font-weight: 700;
  color: var(--bp-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.bp-field .v {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.015em;
  margin-top: 3px;
}

.bp-field input,
.bp-field select,
.bp-field textarea {
  width: 100%;
  border: none;
  outline: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  font-weight: 600;
  margin-top: 3px;
  background: transparent;
  color: var(--bp-ink);
  padding: 0;
}

.bp-field input::placeholder {
  color: #b0b0b0;
  font-weight: 400;
}

.bp-row {
  display: flex;
  gap: 18px;
}

.bp-row .bp-field {
  flex: 1;
  min-width: 0;
}

/* --- поля с галочкой готовности --- */
.bp-checkable-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.bp-checkable-row input {
  flex: 1;
  min-width: 0;
}

.bp-ok {
  flex: none;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #12b76a;
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity var(--bp-t), transform var(--bp-t);
  pointer-events: none;
}

.bp-ok.on {
  opacity: 1;
  transform: scale(1);
}

.bp-field-hint {
  color: var(--bp-neg);
  font-size: 12px;
  margin: 6px 0 0;
}

.bp-field-hint[hidden] {
  display: none;
}

/* --- error / ok: текст с цветной линией слева --- */
.bp-error {
  background: none;
  color: #b91c1c;
  border: none;
  border-left: 3px solid #b91c1c;
  border-radius: 0;
  padding: 8px 0 8px 14px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  margin-top: 14px;
}

.bp-ok {
  background: none;
  color: #047857;
  border: none;
  border-left: 3px solid #047857;
  border-radius: 0;
  padding: 8px 0 8px 14px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 600;
  margin-top: 14px;
}

/* --- rules checkbox row --- */
.bp-check {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 13px;
  color: var(--bp-muted);
  line-height: 1.5;
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.bp-check i {
  width: 20px;
  height: 20px;
  border-radius: 12px;
  border: 2px solid var(--bp-ink);
  background: none;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 12px;
  flex-shrink: 0;
  transition: background var(--bp-t), border-color var(--bp-t);
}

.bp-check i.on,
.bp-check input:checked + i {
  background: var(--bp-primary);
  border-color: var(--bp-primary);
}

.bp-check a {
  color: var(--bp-primary);
  font-weight: 700;
  border-bottom: 1px solid var(--bp-primary);
  text-decoration: none;
}

/* --- price lines --- */
.bp-price {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  font-size: 13px;
  padding: 9px 0;
  border-bottom: 1px solid var(--bp-line);
  color: var(--bp-muted);
}

.bp-price.total {
  border-top: 2px solid var(--bp-ink);
  border-bottom: none;
  margin-top: 6px;
  padding-top: 14px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: var(--bp-ink);
}

.bp-price.total span:last-child {
  color: var(--bp-primary);
}

.bp-price.line {
  display: block;
  font-size: 12px;
  color: var(--bp-muted);
  padding: 6px 0;
  line-height: 1.5;
  border-bottom: none;
}

.bp-price.line span {
  display: block;
  white-space: pre-wrap;
}

/* --- loading placeholder --- */
.bp-loading {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bp-muted);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

/* --- rules gate --- */
.bp-gate-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-top: 16px;
}

.bp-gate-item {
  background: none;
  border: none;
  border-top: 1px solid var(--bp-line);
  border-radius: 0;
  padding: 15px 2px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--bp-ink);
}

.bp-gate-item:first-child { border-top: none; }

.bp-gate-item b {
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--bp-primary);
  margin-bottom: 5px;
}

.bp-gate-item span {
  color: var(--bp-muted);
}

/* --- size pick chips (рамка ink, как иконки главной) --- */
.bp-chips {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 16px;
}

.bp-chip {
  height: 46px;
  border-radius: 12px;
  border: 2px solid var(--bp-ink);
  background: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: var(--bp-ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color var(--bp-t), color var(--bp-t), background var(--bp-t);
}

.bp-chip:hover {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
}

.bp-chip:active,
.bp-chip.on {
  border-color: var(--bp-primary);
  background: var(--bp-soft-blue);
  color: var(--bp-primary);
}

/* --- guests stepper --- */
.bp-guests {
  display: flex;
  gap: 8px;
}

.bp-guests .g {
  flex: 1;
  height: 46px;
  border-radius: 12px;
  border: 2px solid var(--bp-ink);
  background: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.015em;
  color: var(--bp-ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color var(--bp-t), color var(--bp-t), background var(--bp-t);
}

.bp-guests .g:hover {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
}

.bp-guests .g.on {
  border-color: var(--bp-primary);
  background: var(--bp-soft-blue);
  color: var(--bp-primary);
}

/* --- inline add-kit form --- */
.bp-add-form {
  border: none;
  border-top: 2px dashed var(--bp-line);
  border-radius: 0;
  margin-top: 4px;
}

/* --- booking summary --- */
.bp-sum-main {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.015em;
  margin: 6px 0 10px;
}

.bp-sum-row {
  font-size: 13px;
  color: var(--bp-muted);
  padding: 6px 0;
  line-height: 1.5;
  border-bottom: 1px solid var(--bp-line);
}

/* --- share link --- */
.bp-share-link {
  background: none;
  border: none;
  border-left: 3px solid var(--bp-primary);
  border-radius: 0;
  padding: 8px 0 8px 14px;
  font-size: 12px;
  word-break: break-all;
  color: var(--bp-ink);
  font-weight: 600;
  margin-top: 12px;
}

/* --- toast --- */
.bp-toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  background: var(--bp-ink);
  color: #fff;
  padding: 13px 20px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  z-index: 1000;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
}

/* --- instructions (#/info) --- */
.bp-info-card {
  display: block;
  text-decoration: none;
  color: inherit;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  border-top: none;
  border-bottom: 1px solid var(--bp-line);
  padding: 18px 2px;
  transition: background var(--bp-t), padding-left var(--bp-t);
}

.bp-info-card:hover,
.bp-info-card:active {
  background: var(--bp-soft-blue);
  padding-left: 10px;
}

.bp-info-body {
  margin-top: 12px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--bp-ink);
  white-space: pre-line;
  max-width: 42em;
}

/* --- instructions accordion (share page / my bookings) --- */
.bp-info-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bp-info-item.open .bp-btn::after {
  content: '↓';
}

.bp-info-item .bp-info-body {
  display: none;
  margin-top: 0;
  padding: 2px 2px 2px 12px;
  border-left: 2px solid var(--bp-soft-blue);
}

.bp-info-item.open .bp-info-body {
  display: block;
}

/* --- review stars --- */
.bp-stars {
  display: flex;
  gap: 8px;
}

.bp-stars .bp-star {
  flex: 1;
  height: 52px;
  border-radius: 12px;
  border: 2px solid var(--bp-ink);
  background: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 19px;
  line-height: 1;
  color: var(--bp-ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: border-color var(--bp-t), color var(--bp-t), background var(--bp-t);
}

.bp-stars .bp-star:hover {
  border-color: var(--bp-primary);
  color: var(--bp-primary);
}

.bp-stars .bp-star.on {
  border-color: var(--bp-primary);
  background: var(--bp-soft-blue);
  color: var(--bp-primary);
}

@media (min-width: 640px) {
  #app { padding-left: 32px; padding-right: 32px; }
}


/* ================================================================== */
/* Wizard v2 (proto design): pw- prefix, step screens of #/book        */
/* ================================================================== */
:root {
  --pw-blue: #0066FF;
  --pw-blue-dark: #0052CC;
  --pw-blue-soft: #EAF1FF;
  --pw-ink: #14161A;
  --pw-muted: #6B7280;
  --pw-line: #E5E8EE;
  --pw-bg: #F4F6FA;
  --pw-card: #FFFFFF;
  --pw-neg: #D92D2D;
  --pw-ok: #12B76A;
  --pw-r-card: 20px;
  --pw-r-btn: 14px;
  --pw-r-chip: 12px;
  --pw-shadow: 0 2px 10px rgba(20, 22, 26, 0.05);
  --pw-t: .22s ease-out;
}

.pw-app {
  max-width: 480px;
  margin: 0 auto;
  width: 100%;
  padding-bottom: 130px;
}

.pw-top { padding: 26px 0 0; }
.pw-brand {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pw-muted);
}
.pw-h1 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(28px, 8vw, 38px);
  line-height: 1.05;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 10px 0 0;
  color: var(--pw-ink);
}

.pw-steps { display: flex; gap: 6px; margin: 18px 0 6px; }
.pw-steps i {
  height: 3px; flex: 1; border-radius: 2px;
  background: var(--pw-line);
  transition: background var(--pw-t);
}
.pw-steps i.done { background: rgba(0,102,255,.35); }
.pw-steps i.on { background: var(--pw-blue); }
.pw-steps-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pw-blue);
  margin-bottom: 2px;
}

.pw-screen { animation: pwFade .2s ease-out; }
@keyframes pwFade { from { opacity: .65; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.pw-sec { margin-top: 26px; }
.pw-sec-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--pw-blue);
  margin-bottom: 6px;
}
.pw-sec-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  margin: 0;
  color: var(--pw-ink);
}
.pw-sec-hint {
  margin: 8px 0 0;
  font-size: 15.5px;
  line-height: 1.55;
  color: var(--pw-muted);
}
.pw-sec-hint b { color: var(--pw-ink); font-weight: 600; }

.pw-card {
  background: var(--pw-card);
  border-radius: var(--pw-r-card);
  box-shadow: var(--pw-shadow);
  padding: 18px;
  margin-top: 14px;
}

.pw-row-list { display: flex; flex-direction: column; gap: 8px; margin-top: 14px; }
.pw-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 1.5px solid var(--pw-line);
  border-radius: var(--pw-r-btn);
  background: var(--pw-card);
  font-family: inherit;
  font-size: 17px;
  font-weight: 600;
  color: var(--pw-ink);
  cursor: pointer;
  text-align: left;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
  transition: border-color var(--pw-t), background var(--pw-t), transform var(--pw-t);
}
.pw-row-item:hover { border-color: var(--pw-blue); }
.pw-row-item:active { transform: scale(.985); }
.pw-row-item.on { border-color: var(--pw-blue); background: var(--pw-blue-soft); }
.pw-row-item .sub {
  font-size: 13px;
  font-weight: 400;
  color: var(--pw-muted);
  white-space: nowrap;
}
.pw-row-item.on .sub { color: var(--pw-blue-dark); }
.pw-row-item .tick {
  width: 22px; height: 22px; flex: 0 0 22px;
  border-radius: 50%;
  border: 1.5px solid var(--pw-line);
  display: grid; place-items: center;
  font-size: 12px; color: transparent;
  transition: all var(--pw-t);
}
.pw-row-item.on .tick {
  background: var(--pw-blue); border-color: var(--pw-blue); color: #fff;
}

.pw-pick-group { margin-top: 18px; }
.pw-pick-group:first-child { margin-top: 4px; }
.pw-pick-label { font-size: 15px; font-weight: 600; margin: 0; color: var(--pw-ink); }
.pw-pick-sub { margin: 3px 0 10px; font-size: 13px; color: var(--pw-muted); line-height: 1.5; }

.pw-height-row { display: flex; align-items: center; gap: 12px; }
.pw-height-val {
  flex: 1;
  height: 52px;
  border-radius: var(--pw-r-chip);
  background: var(--pw-blue-soft);
  border: 1.5px solid var(--pw-blue);
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--pw-blue-dark);
}
.pw-height-val input {
  width: 84px;
  border: none;
  background: none;
  outline: none;
  font: inherit;
  color: inherit;
  text-align: right;
  padding: 0;
}
.pw-height-val small {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--pw-blue-dark);
  opacity: .75;
}

.pw-quick-row {
  display: flex;
  gap: 6px;
  margin-top: 10px;
  padding: 2px 2px 6px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.pw-quick-row::-webkit-scrollbar { display: none; }
.pw-quick-chip {
  flex: 0 0 auto;
  scroll-snap-align: center;
  min-width: 48px;
  height: 40px;
  padding: 0 10px;
  border-radius: 999px;
  border: 1.5px solid var(--pw-line);
  background: var(--pw-card);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 600;
  color: var(--pw-ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all var(--pw-t);
}
.pw-quick-chip:hover { border-color: var(--pw-blue); color: var(--pw-blue); }
.pw-quick-chip.on {
  background: var(--pw-blue);
  border-color: var(--pw-blue);
  color: #fff;
  box-shadow: 0 3px 10px rgba(0, 102, 255, .3);
}
.pw-quick-row.ranges {
  margin-top: 12px;
  flex-wrap: wrap;
  overflow: visible;
}
.pw-quick-row.ranges .pw-quick-chip {
  min-width: 74px;
  flex: 1 1 74px;
  border-radius: var(--pw-r-chip);
  font-size: 14px;
}
.pw-quick-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  margin-top: 10px;
}
.pw-quick-grid .pw-quick-chip {
  min-width: 0;
  height: 44px;
  padding: 0;
  border-radius: var(--pw-r-chip);
  font-size: 15px;
}

.pw-boot-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}
.pw-boot-chip {
  height: 50px;
  border-radius: var(--pw-r-chip);
  border: 1.5px solid var(--pw-line);
  background: var(--pw-card);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--pw-ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all var(--pw-t);
}
.pw-boot-chip:hover { border-color: var(--pw-blue); color: var(--pw-blue); }
.pw-boot-chip:active { transform: scale(.94); }
.pw-boot-chip.on {
  background: var(--pw-blue);
  border-color: var(--pw-blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 102, 255, .28);
}

.pw-guests { display: flex; gap: 8px; margin-top: 12px; }
.pw-guests button {
  flex: 1;
  height: 50px;
  border-radius: var(--pw-r-chip);
  border: 1.5px solid var(--pw-line);
  background: var(--pw-card);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--pw-ink);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: all var(--pw-t);
}
.pw-guests button:hover { border-color: var(--pw-blue); color: var(--pw-blue); }
.pw-guests button:active { transform: scale(.94); }
.pw-guests button.on {
  background: var(--pw-blue);
  border-color: var(--pw-blue);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 102, 255, .28);
}

.pw-kit {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  border: 1.5px solid var(--pw-blue);
  border-radius: var(--pw-r-btn);
  margin-top: 8px;
  background: var(--pw-blue-soft);
  animation: pwKitIn .35s ease-out;
}
@keyframes pwKitIn {
  from { opacity: 0; transform: translateY(8px) scale(.98); }
  to { opacity: 1; transform: none; }
}
.pw-kit-body { cursor: pointer; flex: 1; }
.pw-kit-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  background: var(--pw-blue);
  border-radius: 6px;
  padding: 2px 7px;
  margin-bottom: 4px;
}
.pw-kit-main { font-weight: 600; color: var(--pw-ink); }
.pw-kit-sub { font-size: 13px; color: var(--pw-blue-dark); margin-top: 2px; }
.pw-kit-actions { display: flex; gap: 6px; flex: 0 0 auto; }
.pw-kit-edit, .pw-kit-del {
  width: 36px; height: 36px;
  border-radius: 10px;
  border: 1.5px solid rgba(0,102,255,.3);
  background: #fff;
  font-size: 16px;
  cursor: pointer;
}
.pw-kit-edit { color: var(--pw-blue); }
.pw-kit-edit:hover { background: var(--pw-blue); border-color: var(--pw-blue); color: #fff; }
.pw-kit-del { color: var(--pw-neg); flex: 0 0 36px; }
.pw-kit-del:hover { background: var(--pw-neg); border-color: var(--pw-neg); color: #fff; }

.pw-kit-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 7px;
  margin-left: 8px;
  border-radius: 999px;
  background: var(--pw-blue);
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 12px;
  font-weight: 700;
  vertical-align: middle;
}

.pw-toast {
  position: fixed;
  left: 50%;
  bottom: 96px;
  transform: translateX(-50%) translateY(12px);
  background: var(--pw-ink);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(0,0,0,.25);
  opacity: 0;
  pointer-events: none;
  transition: all .3s ease-out;
  z-index: 50;
  white-space: nowrap;
}
.pw-toast.on { opacity: 1; transform: translateX(-50%) translateY(0); }
.pw-toast .t-ok { color: #7CE7A8; margin-right: 6px; }

.pw-price-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 15.5px;
  padding: 7px 0;
  color: var(--pw-muted);
}
.pw-price-row b { color: var(--pw-ink); font-weight: 600; text-align: right; }
.pw-home-contacts {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.pw-home-contacts span { font-size: 13px; color: var(--pw-muted); }
.pw-home-contacts .pw-btn.ghost { height: 44px; font-size: 14px; }
.pw-price-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-top: 12px;
  margin-top: 8px;
  border-top: 1.5px solid var(--pw-line);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 20px;
  text-transform: uppercase;
  color: var(--pw-ink);
}

.pw-sum-kit {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 0;
  border-top: 1px solid var(--pw-line);
}
.pw-sum-kit:first-child { border-top: none; }
.pw-sum-kit .sk-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--pw-blue);
}
.pw-sum-kit .sk-vals { font-size: 15.5px; color: var(--pw-muted); }
.pw-sum-kit .sk-vals b { color: var(--pw-ink); font-weight: 600; font-size: 18px; }

.pw-field { margin-top: 14px; }
.pw-field label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--pw-muted);
  margin-bottom: 6px;
}
.pw-field input {
  width: 100%;
  height: 54px;
  border-radius: var(--pw-r-btn);
  border: 1.5px solid var(--pw-line);
  padding: 0 16px;
  font-family: inherit;
  font-size: 17px;
  color: var(--pw-ink);
  background: var(--pw-card);
  outline: none;
  transition: border-color var(--pw-t);
}
.pw-field input:focus { border-color: var(--pw-blue); }
.pw-field .f-hint { margin: 6px 2px 0; font-size: 12.5px; color: var(--pw-muted); }

.pw-msg-chips { display: flex; gap: 8px; margin-top: 10px; }
.pw-msg-chips button {
  flex: 1;
  height: 50px;
  border-radius: var(--pw-r-chip);
  border: 1.5px solid var(--pw-line);
  background: var(--pw-card);
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--pw-ink);
  cursor: pointer;
  transition: all var(--pw-t);
}
.pw-msg-chips button.on {
  background: var(--pw-blue);
  border-color: var(--pw-blue);
  color: #fff;
}

.pw-rules-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 16px;
  padding: 14px;
  border: 1.5px solid var(--pw-line);
  border-radius: var(--pw-r-btn);
  background: var(--pw-card);
  cursor: pointer;
}
.pw-rules-check.on { border-color: var(--pw-blue); background: var(--pw-blue-soft); }
.pw-rules-check .rc-box {
  width: 24px; height: 24px;
  flex: 0 0 24px;
  border-radius: 7px;
  border: 2px solid var(--pw-line);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: transparent;
  transition: all var(--pw-t);
  margin-top: 1px;
}
.pw-rules-check.on .rc-box {
  background: var(--pw-blue);
  border-color: var(--pw-blue);
  color: #fff;
}
.pw-rules-check .rc-text { font-size: 13.5px; line-height: 1.5; color: var(--pw-ink); }
.pw-rules-check .rc-text a {
  color: var(--pw-blue);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.pw-footer {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--pw-line);
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  z-index: 20;
}
.pw-footer-in {
  max-width: 480px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 12px;
}
.pw-btn {
  flex: 1;
  height: 56px;
  border: none;
  border-radius: var(--pw-r-btn);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--pw-t);
}
.pw-btn.primary {
  background: var(--pw-blue);
  color: #fff;
  box-shadow: 0 6px 18px rgba(0, 102, 255, .3);
}
.pw-btn.primary:hover { background: var(--pw-blue-dark); }
.pw-btn.primary:active { transform: scale(.98); }
.pw-btn.primary.off, .pw-btn.primary:disabled {
  background: var(--pw-line);
  color: var(--pw-muted);
  box-shadow: none;
  cursor: default;
}
.pw-btn.ghost {
  flex: 0 0 auto;
  padding: 0 18px;
  background: none;
  border: 1.5px solid var(--pw-line);
  color: var(--pw-ink);
}
.pw-btn.ghost:hover { border-color: var(--pw-ink); }
.pw-foot-total { font-size: 13px; color: var(--pw-muted); white-space: nowrap; }
.pw-foot-total b {
  display: block;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px;
  color: var(--pw-ink);
}

.pw-done-badge {
  width: 72px; height: 72px;
  border-radius: 50%;
  background: var(--pw-blue);
  color: #fff;
  font-size: 32px;
  display: grid; place-items: center;
  margin: 8px 0 16px;
  box-shadow: 0 10px 26px rgba(0,102,255,.35);
}
.pw-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #FFF4E5;
  color: #B54708;
  font-size: 13px;
  font-weight: 600;
  margin-top: 12px;
}
.pw-share-box {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 6px 6px 16px;
  border-radius: var(--pw-r-btn);
  border: 2px solid var(--pw-blue);
  background: var(--pw-blue-soft);
}
.pw-share-url {
  flex: 1;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--pw-blue-dark);
  word-break: break-all;
}
.pw-btn-copy {
  flex: 0 0 auto;
  height: 48px;
  padding: 0 18px;
  border: none;
  border-radius: var(--pw-r-chip);
  background: var(--pw-blue);
  color: #fff;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--pw-t);
}
.pw-btn-copy:hover { background: var(--pw-blue-dark); }
.pw-btn-copy.done { background: var(--pw-ok); }

.pw-error {
  margin-top: 12px;
  padding: 12px 14px;
  border-radius: var(--pw-r-chip);
  background: #FEECEB;
  color: var(--pw-neg);
  font-size: 14px;
  font-weight: 600;
}

.pw-swipe-hint {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--pw-muted);
  opacity: .45;
  font-size: 20px;
  cursor: pointer;
  user-select: none;
  z-index: 5;
}
.pw-swipe-hint.left { left: 4px; }
.pw-swipe-hint.right { right: 4px; }
@media (min-width: 560px) {
  .pw-swipe-hint.left { left: calc(50% - 240px - 20px); }
  .pw-swipe-hint.right { right: calc(50% - 240px - 20px); }
}
.pw-swipe-note {
  margin-top: 18px;
  text-align: center;
  font-size: 12px;
  color: var(--pw-muted);
  letter-spacing: .04em;
}
.pw-swipe-note b { color: var(--pw-blue); font-weight: 600; }

/* ================================================================== */
/* Паспорт брони («билет»): success + share                            */
/* ================================================================== */
.pw-stamp {
  margin: 16px 0 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(30px, 8.5vw, 40px);
  line-height: 1.02;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--pw-ink);
}
.pw-stamp.pending { color: #B45309; }
.pw-stamp.active { color: #0E9F6E; }
.pw-stamp.cancelled { color: var(--pw-neg); }
.pw-stamp-sub {
  margin-top: 10px;
  font-size: 17px;
  line-height: 1.55;
  color: var(--pw-muted);
  max-width: 40ch;
}

.pw-ticket {
  margin-top: 22px;
  background: var(--pw-card);
  border-radius: var(--pw-r-card);
  box-shadow: var(--pw-shadow);
  overflow: hidden;
}
.pw-t-when {
  padding: 22px 22px 18px;
  background: linear-gradient(180deg, #F7F9FC 0%, var(--pw-card) 100%);
}
.pw-t-date {
  margin-top: 8px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(19px, 5.2vw, 23px);
  line-height: 1.1;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--pw-ink);
}
.pw-t-time {
  margin-top: 2px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: clamp(52px, 15vw, 68px);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--pw-blue);
  font-variant-numeric: tabular-nums;
}
.pw-t-time-meta {
  margin-top: 8px;
  font-size: 16px;
  color: var(--pw-muted);
}
.pw-t-time-meta b { color: var(--pw-ink); font-weight: 600; }

.pw-tear {
  height: 0;
  border-top: 2px dashed var(--pw-line);
  margin: 0 22px;
  position: relative;
}
.pw-tear::before, .pw-tear::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--pw-bg);
}
.pw-tear::before { left: -32px; }
.pw-tear::after { right: -32px; }

.pw-t-body { padding: 12px 22px 20px; }
.pw-t-kit {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 11px 0;
  border-bottom: 1px solid #F0F2F6;
}
.pw-t-kit:last-child { border-bottom: none; }
.pw-t-kit .tk-num {
  flex: none;
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--pw-blue-soft);
  color: var(--pw-blue);
  font-size: 13px;
  font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin-top: 1px;
}
.pw-t-kit .tk-main { font-size: 18px; font-weight: 600; color: var(--pw-ink); }
.pw-t-kit .tk-sub { margin-top: 3px; font-size: 15.5px; color: var(--pw-muted); }
.pw-t-price {
  display: flex; justify-content: space-between; gap: 14px;
  padding: 10px 0; font-size: 16px; color: var(--pw-muted);
}
.pw-t-price b { color: var(--pw-ink); font-weight: 600; text-align: right; }
.pw-t-total {
  display: flex; justify-content: space-between; gap: 14px;
  margin-top: 10px; padding-top: 12px;
  border-top: 1.5px solid var(--pw-ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 18px; text-transform: uppercase; color: var(--pw-ink);
}
.pw-t-note { margin-top: 10px; font-size: 14.5px; color: var(--pw-muted); }

.pw-where-ico {
  flex: none; width: 38px; height: 38px; border-radius: 12px;
  background: var(--pw-blue-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}



.pw-map {
  margin-top: 12px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--pw-shadow);
}
.pw-map iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}

.pw-acc {
  margin-top: 10px;
  background: var(--pw-card);
  border-radius: 16px;
  box-shadow: var(--pw-shadow);
  overflow: hidden;
}
.pw-acc-head {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px;
  cursor: pointer;
}
.pw-acc-title { font-size: 17px; font-weight: 600; color: var(--pw-ink); }
.pw-acc-arrow {
  margin-left: auto;
  color: var(--pw-muted); font-size: 20px;
  transition: transform var(--pw-t);
}
.pw-acc.open .pw-acc-arrow { transform: rotate(180deg); }
.pw-acc-body { display: none; padding: 0 16px 14px; }
.pw-acc.open .pw-acc-body { display: block; }
.pw-acc-body p {
  margin: 0 0 10px;
  font-size: 15.5px; line-height: 1.5;
  color: var(--pw-muted);
}
.pw-acc-body a {
  font-size: 15.5px; font-weight: 600;
  color: var(--pw-blue);
  text-decoration: none;
}

a.pw-btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
}

/* ������������� ������ (������): ����� ������� ������ ������-�������� */
a.pw-row-item .tick {
  border: none; background: none;
  width: auto; height: auto; flex: none;
  color: var(--pw-muted); font-size: 20px;
}

.pw-badge {
  display: inline-block;
  margin-top: 12px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--pw-blue-soft);
  color: var(--pw-blue);
  font-size: 13px; font-weight: 700;
}

.pw-price-row b small {
  display: block;
  text-align: right;
  font-size: 12px; font-weight: 600;
  color: var(--pw-muted);
}

.pw-pick-cta {
  position: sticky;
  bottom: calc(10px + env(safe-area-inset-bottom));
  margin-top: 16px;
  padding: 10px;
  background: var(--pw-card);
  border-radius: var(--pw-r-btn);
  box-shadow: 0 -6px 18px rgba(20, 22, 26, 0.08);
}

.pw-stepper {
  flex: 0 0 52px;
  width: 52px; height: 52px;
  border: 1.5px solid var(--pw-line);
  border-radius: 14px;
  background: var(--pw-card);
  color: var(--pw-ink);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 24px; font-weight: 700;
  cursor: pointer;
}
.pw-stepper:active { transform: scale(.96); }

/* --- guests card (шаг «Снаряжение»): обязательный выбор «едут / не едут» --- */
.pw-guests-card {
  background: var(--pw-card);
  border: 1.5px solid var(--pw-line);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 2px 10px rgba(20, 22, 26, 0.03);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.pw-guests-card.needs-attention {
  border-color: #f59e0b;
  box-shadow: 0 0 0 3px rgba(245, 158, 11, .14);
  animation: guestsShake .35s ease;
}
@keyframes guestsShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}
.guests-top-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}
.guests-micro {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--pw-blue);
}
.guests-price-tag {
  background: var(--pw-bg);
  color: var(--pw-ink);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 999px;
}
.guests-question {
  margin: 0 0 8px;
  font-size: 16.5px;
  font-weight: 700;
  color: var(--pw-ink);
  line-height: 1.25;
}
.guests-desc {
  margin: 0 0 14px;
  font-size: 13.5px;
  color: var(--pw-muted);
  line-height: 1.48;
}
.guests-desc b { color: var(--pw-ink); font-weight: 700; }
.guests-note {
  display: block;
  margin-top: 6px;
  font-size: 12.5px;
  color: var(--pw-muted);
}
.guests-choice {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.guests-opt {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 13px 14px;
  background: var(--pw-bg);
  border: 1.5px solid var(--pw-line);
  border-radius: 13px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: all .15s ease;
}
.guests-opt:hover { background: var(--pw-line); }
.guests-opt.selected {
  background: var(--pw-blue-soft);
  border-color: var(--pw-blue);
}
.guests-radio {
  width: 20px; height: 20px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: #fff;
}
.guests-opt.selected .guests-radio { border-color: var(--pw-blue); }
.guests-opt.selected .guests-radio::after {
  content: "";
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--pw-blue);
}
.guests-opt .choice-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--pw-ink);
  line-height: 1.3;
}
.guests-opt.selected .choice-text {
  color: var(--pw-blue);
  font-weight: 700;
}
.guests-stepper {
  display: none;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--pw-line);
}
.guests-stepper.visible { display: block; }
.guests-step-label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--pw-muted);
  margin-bottom: 8px;
}
.guests-step-row {
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  gap: 8px;
  align-items: center;
}
.guests-step-btn {
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid var(--pw-line);
  background: #fff;
  font-size: 20px;
  font-weight: 600;
  color: var(--pw-ink);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.guests-step-btn:hover { background: var(--pw-bg); }
.guests-step-val {
  height: 46px;
  border-radius: 12px;
  border: 1.5px solid #93c5fd;
  background: var(--pw-blue-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  font-size: 16px;
  font-weight: 800;
  color: var(--pw-blue);
}
.guests-step-val span {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--pw-ink);
}
.guests-attention {
  display: none;
  margin-top: 10px;
  padding: 8px 11px;
  border-radius: 10px;
  background: #fffbeb;
  color: #92400e;
  font-size: 12.5px;
  font-weight: 600;
}
.guests-attention.visible { display: block; }

/* появление карточки гостей после первого комплекта */
@keyframes guestsFadeSlideIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.pw-guests-card.anim { animation: guestsFadeSlideIn .28s ease; }

/* заголовок секции со ссылкой «Изменить» (шаг 4) */
.pw-sec-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.pw-edit-link {
  background: none;
  border: none;
  padding: 2px 4px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--pw-blue);
  cursor: pointer;
}
.pw-edit-link:hover { text-decoration: underline; }

.guests-desc p { margin: 0 0 6px; }
.guests-desc p:last-child { margin-bottom: 0; }

/* ---------- Мои брони — карточки и модалка (по макету 2026-11-27) ---------- */
.my-newrow { display: flex; justify-content: flex-end; margin: 2px 0 14px; }
.my-newlink { font-size: 12.5px; font-weight: 600; color: var(--pw-blue); text-decoration: none; }
.my-newlink:hover { text-decoration: underline; }

.my-card {
  background: #fff;
  border: 1px solid rgba(229, 231, 235, 0.8);
  border-radius: 18px;
  padding: 18px;
  margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(17, 24, 39, 0.04);
}
.my-card-top {
  display: flex; align-items: center; justify-content: space-between;
  gap: 8px; margin-bottom: 10px;
}
.my-id { font-size: 13.5px; font-weight: 800; color: var(--pw-blue); }
.my-status {
  font-size: 13px; font-weight: 800; letter-spacing: 0.04em;
  text-transform: uppercase; color: var(--pw-ok);
}
.my-status.cancelled, .my-status.done { color: var(--pw-muted); }
.my-status.pending { color: #B54708; }
.my-datetime {
  font-size: 20px; font-weight: 800; letter-spacing: -0.02em;
  color: var(--pw-ink); margin-bottom: 4px;
}
.my-duration { font-size: 13px; color: var(--pw-muted); margin-bottom: 14px; }

.my-details {
  background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 12px 14px; margin-bottom: 14px;
  display: flex; flex-direction: column; gap: 10px;
}
.my-detail-row { display: flex; align-items: flex-start; gap: 10px; }
.my-detail-num {
  width: 22px; height: 22px; border-radius: 7px;
  background: #eef4ff; color: var(--pw-blue);
  font-size: 12px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.my-detail-label { font-size: 11.5px; font-weight: 600; color: var(--pw-muted); }
.my-detail-value { font-size: 14.5px; font-weight: 700; color: var(--pw-ink); }

.my-price { padding-top: 12px; border-top: 1px dashed #e5e7eb; margin-bottom: 16px; }
.my-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.my-price-label { font-size: 15px; font-weight: 700; color: var(--pw-ink); }
.my-price-val { font-size: 20px; font-weight: 800; color: var(--pw-blue); }
.my-pay-hint {
  margin-top: 10px; font-size: 12.5px; color: #4b5563;
  background: #eef4ff; padding: 9px 12px; border-radius: 11px; line-height: 1.4;
}
.my-pay-hint strong { color: var(--pw-ink); }

.my-actions { display: flex; flex-direction: column; gap: 9px; }
.my-act {
  width: 100%; background: #fff; border: 1px solid #e5e7eb; border-radius: 14px;
  padding: 14px 16px; display: flex; align-items: center; justify-content: space-between;
  gap: 12px; font-family: inherit; font-size: 14.5px; font-weight: 600;
  color: var(--pw-ink); cursor: pointer; text-align: left;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.1s ease;
}
.my-act:hover { background: #f8fafc; border-color: #d1d5db; }
.my-act:active { transform: scale(0.995); }
.my-act:disabled { opacity: 0.4; pointer-events: none; }
.my-act.danger { color: var(--pw-neg); }
.my-act.danger:hover { background: #fef2f2; border-color: #fecaca; }
.my-act.repeat { color: var(--pw-ok); }
.my-act.repeat:hover { background: #ecfdf5; border-color: #a7f3d0; }
.my-ring {
  width: 20px; height: 20px; border-radius: 50%;
  border: 1.5px solid #e5e7eb; flex-shrink: 0; transition: border-color 0.15s ease;
}
.my-act:hover .my-ring { border-color: #9ca3af; }

.my-share-row { margin-top: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.my-btn-share {
  padding: 14px 12px; border-radius: 14px; border: none;
  background: var(--pw-blue); color: #fff;
  font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.my-btn-share:hover { background: #0046d1; }
.my-btn-copy {
  padding: 14px 12px; border-radius: 14px; border: 1px solid #e5e7eb;
  background: #fff; color: var(--pw-ink);
  font-family: inherit; font-size: 14px; font-weight: 700; cursor: pointer;
}
.my-btn-copy:hover { background: #f8fafc; }
.my-helper { margin-top: 10px; font-size: 12.5px; color: var(--pw-muted); line-height: 1.45; }

/* Модалка подтверждений (bottom-sheet) */
.my-modal-back {
  position: fixed; inset: 0; background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(3px); display: none;
  align-items: flex-end; justify-content: center; padding: 16px; z-index: 200;
}
.my-modal-back.open { display: flex; }
.my-modal {
  width: 100%; max-width: 460px; background: #fff; border-radius: 22px;
  padding: 20px; box-shadow: 0 20px 40px rgba(17, 24, 39, 0.2);
  animation: mySheetUp 0.18s ease-out;
}
@keyframes mySheetUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.my-modal-title { font-size: 18px; font-weight: 800; color: var(--pw-ink); margin-bottom: 8px; }
.my-modal-desc { font-size: 14px; color: #4b5563; line-height: 1.45; margin-bottom: 16px; }
.my-modal-btns { display: flex; flex-direction: column; gap: 8px; }
.my-modal-primary {
  width: 100%; padding: 14px 16px; border-radius: 13px; border: none;
  background: var(--pw-blue); color: #fff;
  font-family: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer;
}
.my-modal-danger {
  width: 100%; padding: 14px 16px; border-radius: 13px; border: none;
  background: var(--pw-neg); color: #fff;
  font-family: inherit; font-size: 14.5px; font-weight: 700; cursor: pointer;
}
.my-modal-secondary {
  width: 100%; padding: 13px 16px; border-radius: 13px; border: 1px solid #e5e7eb;
  background: #fff; color: var(--pw-ink);
  font-family: inherit; font-size: 14.5px; font-weight: 600; cursor: pointer;
}

/* ---------- ����� ����������: ������� �������� ����� (����� ����� ����� �������) ---------- */
.kit-head-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 3px; }
.kit-pill {
  font-size: 13px; font-weight: 800; color: var(--pw-blue);
  background: #eef4ff; padding: 3px 10px; border-radius: 999px; white-space: nowrap;
}
.kit-mode-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 8px; }
.kit-mode-label { font-size: 12px; font-weight: 600; color: #4b5563; }
.kit-mode-btn {
  background: none; border: none; font-family: inherit; font-size: 12.5px;
  font-weight: 700; color: var(--pw-blue); cursor: pointer; padding: 2px 0;
}
.kit-mode-btn:hover { text-decoration: underline; }

.kit-range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 10px; }
.kit-chip {
  padding: 11px 6px; border-radius: 12px; border: 1px solid #e5e7eb;
  background: #fff; font-family: inherit; font-size: 13.5px; font-weight: 700;
  color: var(--pw-ink); cursor: pointer; text-align: center;
  transition: all 0.12s ease;
}
.kit-chip:hover { border-color: #93c5fd; background: #f8fafc; }
.kit-chip.on {
  background: var(--pw-blue); border-color: var(--pw-blue); color: #fff;
  box-shadow: 0 4px 10px rgba(0, 102, 255, 0.22);
}

.kit-exact-panel {
  background: #eef4ff; border: 1px solid #cfe0ff; border-radius: 14px;
  padding: 12px; margin-bottom: 18px;
  animation: kitFade 0.16s ease-out;
}
@keyframes kitFade {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}
.kit-exact-title { font-size: 12px; font-weight: 700; color: var(--pw-blue); margin-bottom: 8px; }
.kit-exact-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.kit-exact {
  padding: 10px 4px; border-radius: 10px; border: 1px solid #dbeafe;
  background: #fff; font-family: inherit; font-size: 13.5px; font-weight: 700;
  color: var(--pw-ink); cursor: pointer; text-align: center;
  transition: all 0.12s ease;
}
.kit-exact:hover { border-color: var(--pw-blue); }
.kit-exact.on {
  background: var(--pw-blue); border-color: var(--pw-blue); color: #fff;
  box-shadow: 0 3px 8px rgba(0, 102, 255, 0.25);
}

.kit-manual-row { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; }
.kit-manual-wrap { flex: 1; position: relative; display: flex; align-items: center; }
.kit-manual-input {
  width: 100%; padding: 13px 44px 13px 16px; border-radius: 14px;
  border: 1.5px solid var(--pw-blue); background: #eef4ff;
  font-family: inherit; font-size: 18px; font-weight: 800;
  color: var(--pw-blue); outline: none;
}
.kit-manual-unit {
  position: absolute; right: 16px; font-size: 14px; font-weight: 700;
  color: var(--pw-blue); pointer-events: none;
}
.kit-manual-back {
  padding: 13px 14px; border-radius: 14px; border: 1px solid #e5e7eb;
  background: #fff; font-family: inherit; font-size: 13px; font-weight: 700;
  color: var(--pw-ink); cursor: pointer; white-space: nowrap;
}
.kit-manual-back:hover { background: #f8fafc; }
.kit-divider { height: 1px; background: #f3f4f6; margin: 4px 0 16px; }


/* ================================================================== */
/* Confirmation page (success + share): mockup design, Inter            */
/* ================================================================== */
:root {
  --cf-bg: #F3F5F8;
  --cf-card: #FFFFFF;
  --cf-subtle: #F7F9FC;
  --cf-primary: #0066FF;
  --cf-primary-hover: #0052CC;
  --cf-primary-light: #EBF3FF;
  --cf-success: #009E5C;
  --cf-success-bg: #E6F7EF;
  --cf-warning-bg: #FFF8EB;
  --cf-warning-border: #FDE4B4;
  --cf-warning-text: #925400;
  --cf-danger: #E53935;
  --cf-danger-bg: #FFEBEE;
  --cf-text: #111827;
  --cf-text-2: #4B5563;
  --cf-text-3: #8C95A4;
  --cf-border: #E5E9F0;
  --cf-r-lg: 20px;
  --cf-r-md: 14px;
  --cf-r-sm: 10px;
  --cf-shadow: 0 2px 12px rgba(17, 24, 39, 0.04);
}

body:has(.cf-page) { background: var(--cf-bg); }

.cf-page p { margin: 0; }
.cf-head { display: flex; flex-direction: column; gap: 4px; }
.cf-page {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--cf-text);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.cf-brand {
  padding: 4px 4px 0;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cf-text-2);
  text-transform: uppercase;
}

.cf-hero {
  margin: 0;
  padding: 2px 4px;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
.cf-hero.ok { color: var(--cf-success); }
.cf-hero.wait { color: var(--cf-warning-text); }
.cf-hero.no { color: var(--cf-danger); }

.cf-hero-sub {
  padding: 0 4px;
  margin-top: 0;
  font-size: 14.5px;
  line-height: 1.5;
  color: var(--cf-text-2);
}

.cf-card {
  background: var(--cf-card);
  border-radius: var(--cf-r-lg);
  padding: 18px;
  box-shadow: var(--cf-shadow);
  border: 1px solid rgba(229, 233, 240, 0.7);
}

.cf-h2 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--cf-primary);
  margin-bottom: 12px;
}

/* Date & time */
.cf-time-block {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}
.cf-date {
  font-size: 17px;
  font-weight: 700;
  color: var(--cf-text);
  margin-bottom: 2px;
}
.cf-big-time {
  font-size: 38px;
  font-weight: 800;
  color: var(--cf-primary);
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 4px 0 0;
}
.cf-time-meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--cf-text-2);
}
.cf-time-meta b { color: var(--cf-text); font-weight: 600; }

/* Late / pickup rules disclosure */
.cf-late { margin-top: 10px; }
.cf-late-btn {
  background: transparent;
  border: none;
  padding: 2px 0;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--cf-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-align: left;
}
.cf-late-btn:hover { text-decoration: underline; }
.cf-late-arrow {
  display: inline-block;
  transition: transform 0.2s ease;
}
.cf-late.open .cf-late-arrow { transform: rotate(180deg); }
.cf-late-body {
  display: none;
  margin-top: 9px;
  background: var(--cf-subtle);
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-r-sm);
  padding: 4px 12px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--cf-text-2);
  flex-direction: column;
}
.cf-late.open .cf-late-body { display: flex; }
.cf-rule {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 9px 0;
  border-bottom: 1px solid var(--cf-border);
}
.cf-rule:last-child { border-bottom: none; }
.cf-rule-emoji { flex-shrink: 0; font-size: 15px; line-height: 1.35; }
.cf-rule-text { display: flex; flex-direction: column; gap: 5px; }
.cf-rule-lead { font-weight: 600; color: var(--cf-text); }

/* Barrier warning */
.cf-notice {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  background: var(--cf-warning-bg);
  border: 1px solid var(--cf-warning-border);
  color: var(--cf-warning-text);
  border-radius: var(--cf-r-sm);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.4;
  margin-bottom: 12px;
}
.cf-notice-icon { flex-shrink: 0; font-size: 15px; line-height: 1.3; }

/* Yandex map preview */
.cf-map {
  position: relative;
  width: 100%;
  border-radius: var(--cf-r-md);
  overflow: hidden;
  border: 1px solid var(--cf-border);
  margin-top: 12px;
}
.cf-map iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border: 0;
}

/* Accordions */
.cf-acc-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cf-acc-item {
  background: var(--cf-subtle);
  border-radius: var(--cf-r-sm);
  border: 1px solid var(--cf-border);
  overflow: hidden;
}
.cf-acc-head {
  width: 100%;
  background: transparent;
  border: none;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--cf-text);
  cursor: pointer;
  text-align: left;
}
.cf-acc-left {
  display: flex;
  align-items: center;
  gap: 10px;
}
.cf-acc-chevron {
  width: 18px;
  height: 18px;
  color: var(--cf-text-3);
  transition: transform 0.2s ease;
}
.cf-acc-item.open .cf-acc-chevron { transform: rotate(180deg); }
.cf-acc-body {
  display: none;
  padding: 12px 14px 14px;
  font-size: 13px;
  color: var(--cf-text-2);
  line-height: 1.5;
  border-top: 1px solid rgba(229, 233, 240, 0.6);
}
.cf-acc-item.open .cf-acc-body { display: block; }

.cf-route-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.cf-route-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 2px;
}
.cf-route-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cf-step-caption {
  font-size: 12.5px;
  line-height: 1.4;
  color: var(--cf-text-2);
  padding: 0 2px;
}
.cf-step-primary {
  width: 100%;
  background: var(--cf-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--cf-r-sm);
  padding: 11px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}
.cf-step-primary:hover { background: var(--cf-primary-hover); }
.cf-step-secondary {
  width: 100%;
  background: #FFFFFF;
  color: var(--cf-primary);
  border: 1px solid #C6DCFF;
  border-radius: var(--cf-r-sm);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  text-align: left;
  text-decoration: none;
}
.cf-step-secondary:hover { background: var(--cf-primary-light); }
.cf-route-links {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 2px;
}
.cf-route-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--cf-primary);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  text-align: left;
}
.cf-route-link:hover { text-decoration: underline; }

/* Gear composition */
.cf-order-title {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cf-text);
  margin-bottom: 10px;
}
.cf-gear-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cf-gear-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--cf-subtle);
  border: 1px solid var(--cf-border);
  padding: 10px 12px;
  border-radius: var(--cf-r-sm);
}
.cf-gear-badge {
  min-width: 26px;
  height: 24px;
  padding: 0 6px;
  background: var(--cf-primary-light);
  color: var(--cf-primary);
  font-size: 12px;
  font-weight: 700;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cf-gear-badge.guest {
  background: #EEF2F6;
  color: var(--cf-text-2);
}
.cf-gear-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--cf-text);
  line-height: 24px;
}
.cf-gear-sub {
  font-size: 12px;
  color: var(--cf-text-2);
  line-height: 1.4;
  margin-top: 2px;
}

/* Payment & cost breakdown */
.cf-receipt {
  background: var(--cf-subtle);
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-r-md);
  padding: 13px 14px;
  margin-bottom: 14px;
}
.cf-price-break {
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding-bottom: 11px;
  border-bottom: 1px dashed #D3DAE6;
  font-size: 13px;
}
.cf-price-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  color: var(--cf-text-2);
}
.cf-price-row span:last-child {
  font-weight: 600;
  color: var(--cf-text);
  white-space: nowrap;
}
.cf-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 11px;
}
.cf-total-label {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--cf-text);
  line-height: 1.35;
}
.cf-total-price {
  font-size: 25px;
  font-weight: 800;
  color: var(--cf-text);
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Quick payment */
.cf-pay-header {
  font-size: 14px;
  font-weight: 700;
  color: var(--cf-text);
  margin-bottom: 3px;
}
.cf-pay-sub {
  font-size: 12.5px;
  color: var(--cf-text-2);
  margin-bottom: 10px;
  line-height: 1.4;
}
.cf-bank-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 8px;
}
.cf-bank-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border-radius: var(--cf-r-sm);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.1s ease, filter 0.15s ease;
}
.cf-bank-btn:active { transform: scale(0.98); }
.cf-bank-btn.sber {
  background: #21A038;
  color: #FFFFFF;
  border: none;
}
.cf-bank-btn.sber:hover { filter: brightness(0.95); }
.cf-bank-btn.tbank {
  background: #FFDD2D;
  color: #111827;
  border: none;
}
.cf-bank-btn.tbank:hover { filter: brightness(0.96); }
.cf-bank-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.cf-bank-btn.sber .cf-bank-dot { background: #FFFFFF; }
.cf-bank-btn.tbank .cf-bank-dot { background: #111827; }
.cf-sbp-btn {
  width: 100%;
  background: var(--cf-subtle);
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-r-sm);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--cf-text);
  cursor: pointer;
  transition: background 0.15s ease;
}
.cf-sbp-btn:hover { background: #EEF2F7; }
.cf-sbp-badge {
  font-size: 12px;
  font-weight: 600;
  color: var(--cf-primary);
  white-space: nowrap;
}

/* Management */
.cf-manage-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cf-manage-btn {
  width: 100%;
  background: var(--cf-subtle);
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-r-sm);
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--cf-text);
  cursor: pointer;
  transition: background 0.15s ease;
}
.cf-manage-btn:hover { background: #EEF2F7; }
.cf-manage-btn.danger {
  color: var(--cf-danger);
  background: #FFF9F9;
  border-color: #FADBD8;
}
.cf-manage-btn.danger:hover { background: var(--cf-danger-bg); }
.cf-manage-btn.good { color: var(--cf-success); }

/* Contacts */
.cf-contact-sub {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--cf-border);
}
.cf-sub-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--cf-text);
  margin-bottom: 3px;
}
.cf-sub-caption {
  font-size: 12px;
  color: var(--cf-text-2);
  margin-bottom: 12px;
}
.cf-channels {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.cf-channel-btn {
  background: var(--cf-subtle);
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-r-md);
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  color: var(--cf-text);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease, border-color 0.15s ease;
}
.cf-channel-btn:hover {
  background: #EEF2F7;
  border-color: #D2DAE6;
}
.cf-channel-btn:active { transform: scale(0.98); }
.cf-channel-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cf-channel-icon.phone { background: var(--cf-success-bg); color: var(--cf-success); }
.cf-channel-icon.vk { background: #E5F0FF; color: #0077FF; }
.cf-channel-icon.tg { background: #E4F4FC; color: #229ED9; }

/* Review card (post-ride) */
.cf-review-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #FFF8F7 100%);
  border: 1px solid #FAD7D1;
}
.cf-review-desc {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: var(--cf-text-2);
  line-height: 1.45;
  margin-bottom: 14px;
}
.cf-review-btn {
  width: 100%;
  background: #FC3F1D;
  color: #FFFFFF;
  border: none;
  border-radius: var(--cf-r-md);
  padding: 13px 14px;
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.cf-review-btn:hover { background: #E03516; }
.cf-review-btn:active { transform: scale(0.99); }

/* Sticky share bar */
.cf-share-hint {
  text-align: center;
  font-size: 11px;
  line-height: 1.3;
  color: var(--cf-text-2);
  margin-top: 5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cf-share-row {
  display: flex;
  gap: 8px;
}
.cf-share-btn {
  flex: 1;
  background: var(--cf-primary);
  color: #FFFFFF;
  border: none;
  border-radius: var(--cf-r-md);
  padding: 12px 16px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.cf-share-btn:hover { background: var(--cf-primary-hover); }
.cf-share-btn:active { transform: scale(0.99); }
.cf-copy-btn {
  flex: none;
  background: var(--cf-subtle);
  border: 1px solid var(--cf-border);
  border-radius: var(--cf-r-md);
  padding: 12px 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--cf-text);
  cursor: pointer;
  transition: background 0.15s ease;
}
.cf-copy-btn:hover { background: #EEF2F7; }

/* Cancel modal (bottom sheet) */
.cf-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.45);
  backdrop-filter: blur(2px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  z-index: 95;
  padding: 12px;
}
.cf-modal-backdrop.open { display: flex; }
.cf-modal-sheet {
  width: 100%;
  max-width: 420px;
  background: #FFFFFF;
  border-radius: 22px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  animation: cfSlideUp 0.2s ease-out;
}
@keyframes cfSlideUp {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cf-modal-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}
.cf-modal-desc {
  font-size: 14px;
  color: var(--cf-text-2);
  margin-bottom: 16px;
}
.cf-modal-actions {
  display: flex;
  gap: 8px;
}
.cf-modal-actions .cf-manage-btn,
.cf-modal-actions button {
  flex: 1;
}
.cf-btn-secondary {
  padding: 12px;
  border-radius: var(--cf-r-md);
  border: 1px solid var(--cf-border);
  background: var(--cf-subtle);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--cf-text);
  cursor: pointer;
}
.cf-btn-danger {
  padding: 12px;
  border-radius: var(--cf-r-md);
  border: none;
  background: var(--cf-danger);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: #FFFFFF;
  cursor: pointer;
}

/* ============================================================
   nd-* — новый дизайн шагов 1-2 (макет "новый дизайн шаги
   бронирования"): Inter, карточки-опции с radio-кружком,
   прогресс-бар 4 сегмента, липкий футер с итогом выбора.
   body.nd-page — серый фон страницы + белая карточка контента.
   ============================================================ */
body.nd-page { background: #F9FAFB; }
body.nd-page #app { background: transparent; }

.pw-app.nd-shell {
  max-width: 520px;
  margin: 20px auto 0;
  padding: 28px 24px 28px;
  background: #FFFFFF;
  border: 1px solid #F3F4F6;
  border-radius: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  height: fit-content;
}

.nd-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  min-height: 28px;
  gap: 8px;
}

.nd-brand {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #4B5563;
}

.nd-top-action {
  background: none;
  border: none;
  color: #0066FF;
  font-family: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  margin-right: -8px;
  border-radius: 99px;
  transition: background-color 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.nd-top-action:hover { background: #F0F6FF; }

.nd-h1 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 28px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #111827;
  margin: 0 0 12px;
  line-height: 1.2;
  text-transform: none;
}

.nd-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  margin: 4px 0 10px;
}

.nd-progress i {
  display: block;
  height: 4px;
  background: #E5E7EB;
  border-radius: 99px;
  transition: background-color 0.3s ease;
}

.nd-progress i.active { background: #0066FF; }

.nd-step-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #0066FF;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.nd-options-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.nd-option-card {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 16px;
  border: 1.5px solid #E5E7EB;
  border-radius: 14px;
  background: #FFFFFF;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  font-family: inherit;
  text-align: left;
}

.nd-option-card:hover:not(.disabled) {
  border-color: #93C5FD;
  background: #F8FAFC;
}

.nd-option-card.weekend {
  border-color: #FFD8BF;
  background: #FFFCFA;
}

.nd-option-card.weekend:hover {
  border-color: #FDBA74;
  background: #FFF7ED;
}

.nd-option-card.selected {
  border-color: #0066FF;
  background: #F0F6FF;
  box-shadow: 0 2px 8px rgba(0, 102, 255, 0.08);
}

.nd-option-card.disabled {
  background: #F9FAFB;
  border-color: #F3F4F6;
  cursor: not-allowed;
  opacity: 0.65;
}

.nd-option-card.disabled .nd-option-text { color: #6B7280; }

.nd-option-text {
  font-size: 16px;
  font-weight: 600;
  color: #111827;
}

.nd-weekend-prefix {
  color: #E05A00;
  font-weight: 700;
}

.nd-option-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nd-badge-low {
  font-size: 12px;
  font-weight: 600;
  color: #B45309;
  background: #FEF3C7;
  padding: 4px 10px;
  border-radius: 99px;
  white-space: nowrap;
}

.nd-badge-full {
  font-size: 13px;
  font-weight: 500;
  color: #6B7280;
  white-space: nowrap;
}

.nd-radio {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid #D1D5DB;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.2s ease;
  background: #FFFFFF;
}

.nd-option-card.disabled .nd-radio {
  border-color: #E5E7EB;
  background: #F3F4F6;
}

.nd-option-card.selected .nd-radio {
  border-color: #0066FF;
  background: #0066FF;
}

.nd-radio svg {
  width: 12px;
  height: 12px;
  stroke: #FFFFFF;
  stroke-width: 3;
  fill: none;
  opacity: 0;
  transform: scale(0.6);
  transition: all 0.2s ease;
}

.nd-option-card.selected .nd-radio svg {
  opacity: 1;
  transform: scale(1);
}

.nd-load-more {
  width: 100%;
  margin-top: 12px;
  padding: 14px 16px;
  background: #F3F4F6;
  color: #111827;
  border: 1px dashed #D1D5DB;
  border-radius: 14px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nd-load-more:hover {
  background: #E5E7EB;
  border-color: #9CA3AF;
}

.nd-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid #E5E7EB;
  padding: 12px 16px;
  display: flex;
  justify-content: center;
  z-index: 10;
}

.nd-footer-in {
  width: 100%;
  max-width: 520px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.nd-summary-box {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.nd-summary {
  font-size: 13px;
  color: #4B5563;
}

.nd-summary strong {
  display: block;
  font-size: 15px;
  color: #111827;
}

.nd-footer-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: flex-end;
  flex-shrink: 0;
}

.nd-btn-back {
  background: #F3F4F6;
  color: #111827;
  border: none;
  border-radius: 12px;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease;
  white-space: nowrap;
}

.nd-btn-back:hover { background: #E5E7EB; }

.nd-btn-next {
  background: #0066FF;
  color: #FFFFFF;
  border: none;
  border-radius: 12px;
  padding: 14px 24px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
  white-space: nowrap;
}

.nd-btn-next:hover { background: #0052CC; }
.nd-btn-next:active { transform: scale(0.98); }
.nd-btn-next.off { opacity: 0.55; cursor: not-allowed; }

@media (max-width: 420px) {
  .pw-app.nd-shell { padding: 20px 16px; border-radius: 16px; margin-top: 12px; }
  .nd-h1 { font-size: 24px; }
  .nd-option-card { padding: 14px; }
  .nd-btn-next { padding: 14px 18px; }
}

/* Заголовки секций внутри шагов визарда — как на шагах даты/времени (без капса) */
.nd-shell .pw-sec-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.3;
  text-transform: none;
}
