/* Схема зала с выбором мест — Концерт Камиля Зулфугарова, 2026-09-11 */
.seatmap-wrap {
  background: #17151d;
  border-radius: 16px;
  padding: 24px 16px;
  margin: 16px 0;
  color: #fff;
  font-family: inherit;
}
.seatmap-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  margin-bottom: 14px;
  color: #cfcfd6;
}
.seatmap-legend span { display: flex; align-items: center; gap: 6px; }
.seatmap-dot { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.seatmap-dot--r15 { background: #7437BC; }
.seatmap-dot--r611 { background: #4c9fe0; }
.seatmap-dot--vip { background: #e0b34c; }
.seatmap-dot--taken { background: #3a3742; }

/* Схема — абсолютное позиционирование, координаты сняты с реального плана зала,
   пропорции контейнера повторяют исходную страницу (834.82×464.61pt ≈ 1.797:1). */
.seatmap-plan {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto 20px;
  aspect-ratio: 0.976;
}
.seatmap-scene-side {
  position: absolute;
  left: 98%;
  top: 45%;
  transform: translate(-100%, -50%);
  color: #7437BC;
  font-weight: 700;
  letter-spacing: 0.08em;
  font-size: 11px;
  white-space: nowrap;
  border-right: 2px solid #7437BC;
  padding-right: 6px;
}

.seatmap-row-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 9px;
  color: #9a97a8;
  white-space: nowrap;
}
.seatmap-table-label {
  position: absolute;
  transform: translate(-50%, -50%);
  font-size: 9.5px;
  color: #e0b34c;
  font-weight: 700;
  white-space: nowrap;
  z-index: 2;
}
.seatmap-table-shape {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 6.5%;
  height: 7.5%;
  border: 1px solid #6b5a30;
  background: rgba(224, 179, 76, 0.08);
  border-radius: 50%;
}

.seatmap-seat {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  border-radius: 5px;
  border: 1px solid #4c4858;
  background: #17151d;
  color: #fff;
  font-size: 8.5px;
  cursor: pointer;
  transition: background .12s, transform .12s;
  padding: 0;
  z-index: 1;
}
.seatmap-seat--r15 { border-color: #7437BC; }
.seatmap-seat--r611 { border-color: #4c9fe0; }
.seatmap-seat--vip { border-color: #e0b34c; width: 15px; height: 15px; font-size: 7px; }
.seatmap-seat:hover:not(.is-taken):not(:disabled) { transform: translate(-50%, -50%) scale(1.25); z-index: 2; }
.seatmap-seat.is-selected { background: #7437BC; border-color: #7437BC; }
.seatmap-seat--vip.is-selected { background: #e0b34c; border-color: #e0b34c; color: #17151d; }
.seatmap-seat.is-taken, .seatmap-seat:disabled {
  background: #3a3742;
  border-color: #3a3742;
  color: #6a6775;
  cursor: not-allowed;
}

.seatmap-summary {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid #3a3742;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.seatmap-summary-selected { font-size: 12.5px; color: #cfcfd6; flex: 1 1 260px; }
.seatmap-summary-total { font-size: 16px; font-weight: 700; }
.seatmap-buy-btn:disabled { opacity: .4; cursor: not-allowed; }

.b_popup_buy_seats .seatmap-modal-summary {
  font-size: 13px;
  margin-bottom: 14px;
  color: #444;
}

@media (max-width: 640px) {
  .seatmap-seat { width: 16px; height: 16px; font-size: 7px; }
  .seatmap-seat--vip { width: 13px; height: 13px; }
  .seatmap-row-label, .seatmap-table-label { font-size: 7.5px; }
}

/* Покупка по категориям (как на VL) — Концерт Камиля Зулфугарова, 2026-09-11 */
.catbuy-wrap {
  background: #fff;
  border: 1px solid #e5e3ea;
  border-radius: 16px;
  padding: 24px 20px;
  margin: 16px 0;
  color: #17151d;
  font-family: inherit;
  max-width: 560px;
}
.catbuy-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid #eceaf1;
}
.catbuy-row:last-of-type { border-bottom: none; }
.catbuy-row-name {
  font-size: 14px;
  font-weight: 600;
  flex: 1 1 auto;
}
.catbuy-row-price {
  font-size: 13.5px;
  color: #6a6775;
  white-space: nowrap;
}
.catbuy-row-stepper {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}
.catbuy-step {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #d5d2dd;
  background: transparent;
  color: #17151d;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: border-color .12s, background .12s;
}
.catbuy-step:hover { border-color: #7437BC; background: rgba(116, 55, 188, 0.08); }
.catbuy-qty {
  width: 30px;
  text-align: center;
  background: transparent;
  border: none;
  color: #17151d;
  font-size: 14px;
  -moz-appearance: textfield;
}
.catbuy-qty::-webkit-outer-spin-button,
.catbuy-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.catbuy-summary {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #eceaf1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  justify-content: space-between;
}
.catbuy-summary-total { font-size: 16px; font-weight: 700; color: #17151d; }
.catbuy-buy-btn:disabled { opacity: .4; cursor: not-allowed; }

.b_popup_buy_categories .seatmap-modal-summary {
  font-size: 13px;
  margin-bottom: 14px;
  color: #444;
}

@media (max-width: 640px) {
  .catbuy-wrap { padding: 18px 14px; }
  .catbuy-row-name { font-size: 13px; }
}
