@font-face {
  font-family: "Montserrat-Medium";
  src: url("../fonts/Montserrat-Medium.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Montserrat-Black";
  src: url("../fonts/Montserrat-SemiBold.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}


@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}











html, body {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;

  -webkit-touch-callout: none;      /* убирает меню по долгому тапу */
  -webkit-tap-highlight-color: transparent; /* убирает синий/серый хайлайт */
}













.checkout-timer-label{
	font-size: 1.6rem;
  font-family: "Roboto";
}

.checkout-modal p {
  font-size: 1.6rem;
  font-family: "Roboto";
  color: #374151;
}


.checkout-modal svg {
   width: auto !important;
}


.checkout-modal input {
  
  border-radius: auto !important;
  font-size: auto !important;

  border: auto !important;
  appearance: auto !important;
  padding: auto !important;
}







  #app { opacity: 0; visibility: hidden; transition: opacity .2s ease; }
  #app.is-open { opacity: 1; visibility: visible; background-color:rgba(242, 242, 242, 0.95); z-index: calc(9999999999 + 100);}





#open-modal-tic {
  position: fixed;
  z-index: calc(9999999999 + 1);
  width: 5vw;
  height: 5vw;
  min-width: 48px;
  min-height: 48px;
  max-width: 64px;
  max-height: 64px;
  border-radius: 50%;
  margin-left: 90vw;
  margin-top: 80vh;

  display: none;           /* по умолчанию скрыта, как и было */
  align-items: center;
  justify-content: center;

  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}

/* сам SVG-значок билета в круге */
#open-modal-tic .open-modal-tic-icon,
#open-modal-tic .open-modal-tic-svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* красный кружок со счётчиком */
#open-modal-tic .open-modal-tic-badge {
  position: absolute;
  right: -4px;
  bottom: -4px;

  min-width: 20px;
  height: 20px;
  padding: 0 4px;
  box-sizing: border-box;

  border-radius: 999px;
  background: #b91c1c;
  color: #ffffff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}







@media (max-width: 640px){
  #open-modal-tic{
    margin-left: 79vw;
    margin-top: 88vh;
  }
}




.button-scheme {
  border: none;
  font-weight: 593;
  padding: 13px 28px;
  
  color: white;
  background: #D5603C;
  cursor: pointer;
  transition: background .2s, transform .05s, box-shadow .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 14px;
  border-radius: 3px;
}

/* ховер — только на устройствах с мышью */
@media (hover: hover) {
  .button-scheme:hover{
    background:#00A5CF;
  }
}

/* визуальный отклик при нажатии */
.button-scheme:active{
  transform: translateY(1px);
}



































#app, #app * {
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;

  -webkit-touch-callout: none;
  -webkit-tap-highlight-color: transparent;
}



button{
  color:black;
}



select {
  -webkit-appearance: none; /* iOS / Safari */
  -moz-appearance: none;
  appearance: none;
  color: black;
}
* {
  -webkit-tap-highlight-color: transparent;
}
.request-input select,
select.request-input {
  -webkit-appearance: none;
  appearance: none;
  
}








:root { color-scheme: light; }


#app {
  /* font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; */
  position: fixed; inset: 0vh;
  display: grid; place-items: center;
  overscroll-behavior: none;
  -webkit-user-select: none; user-select: none;
  background:
    radial-gradient(60% 60% at 50% 40%, rgba(0,0,0,.08), rgba(0,0,0,0) 60%);
}

/* центрированный контейнер */
#stage {
  position: relative;
  width: 90vw;
  height: 80vh;            /* fallback */
  max-width: 1600px;
  max-height: 900px;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  overflow: hidden;
}
@supports (height: 100svh){ #stage{ height: 80svh; } }
@supports (height: 100dvh){ #stage{ height: 80dvh; } }

@media (max-width: 640px){
  #stage{ width: 96vw; height: 86svh; border-radius: 12px; }
  #toolbar span{ display:none; }
  #legend{ max-width: 96vw; }


}






#container_tickets_in_app {
  position: fixed;
  width: 80vw;
  height: 80.6vh;
  max-width: 1600px;
  max-height: 900px;

  left: 50%;
  transform: translateX(-50%);   /* горизонтальный центр */

  top: 18.0vh;                   /* вместо margin-top */
  margin-top: 0;

  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.08), 0 2px 8px rgba(0,0,0,.04);
  overflow: hidden;
  z-index: calc(9999999999 + 999);
  padding: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;

  overflow-y: auto;
}







.scale{
  position: absolute;
  z-index: calc(9999999999 + 100);
  font-size: 1vw;
  margin-right: 68vw;
  margin-bottom: 54vh;

  display: none;
}

.corzina{
  z-index: calc(9999999999 + 101);
  position: absolute;
  margin-top: 90vh;
}



#host { position: absolute; inset: 0; overflow: hidden;  }

#toolbar{
  position: absolute; top:16px; left:16px;
  display:flex; gap:8px; z-index:calc(9999999999 + 20);
  background: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  padding: 8px 10px; border-radius: 12px; align-items:center;
  border: 1px solid #e5e7eb;
}
#toolbar .sep { width:1px; height:20px; background:#e5e7eb; margin:0 4px; }
#toolbar button{
  border:1px solid #d1d5db; border-radius:10px; padding:6px 10px;
  background:#fff; color:#111827; cursor:pointer;
}
#toolbar button.active{ background:#eefce9; border-color:#9ae6a5; }
#toolbar button:active{ transform:translateY(1px); }
#toolbar span{ opacity:.8; font-size:12px; }

/* Легенда */
#legend{
   right:16px; top:16px; z-index:calc(9999999999 + 21);
  display:flex; gap:10px; align-items:center;
  padding:8px 10px; border-radius:12px;
  background: rgba(255,255,255,.92);
  border:1px solid #e5e7eb;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  max-width: 50vw; overflow-x:auto;
}
.legend-item{ display:flex; align-items:center; gap:6px; font-size:12px; white-space:nowrap; }
.legend-swatch{
  width:12px; height:12px; border-radius:50%;
  border:1px solid #e5e7eb; flex:0 0 auto;
}
.legend-count{ opacity:.6; }

canvas{
  display:block; width:100%; height:100%;
  touch-action:none; -ms-touch-action:none;
  -webkit-touch-callout:none; -webkit-tap-highlight-color:transparent;
  image-rendering: auto; /* ← помогает сделать total ещё четче на ряде WebKit */
}


/* тултип */
#tooltip{
  position:absolute; pointer-events:none;
  padding:8px 10px; border-radius:10px;
  background:rgba(17,24,39,.92); color:#fff;
  font-size:12px; line-height:1.3;
  white-space:nowrap; z-index:calc(9999999999 + 9999);
  box-shadow:0 8px 20px rgba(0,0,0,.2);
  transform:translate(-50%,-100%);
  opacity:0; transition: opacity .2s ease;
}
#tooltip.show{ opacity:1; }
#tooltip.fade-out{ opacity:0; transition: opacity .4s ease; }



























/* MZ qty modal */
#mzQtyModalApp {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: calc(9999999999 + 99999);
}

#mzQtyModalApp .mz-modal-card {
  width: min(520px, 92vw);
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

#mzQtyModalApp .mz-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

#mzQtyModalApp .mz-modal-title {
  font-size: 16px;
  font-weight: 800;
}

#mzQtyModalApp .mz-modal-close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
}

#mzQtyModalApp .mz-modal-sub {
  margin-top: 10px;
  font-size: 14px;
  opacity: 0.9;
}

#mzQtyModalApp .mz-modal-free {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
}

#mzQtyModalApp .mz-modal-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

#mzQtyModalApp .mz-modal-step {
  width: 44px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  background: #fff;
  cursor: pointer;
  font-size: 18px;
}

#mzQtyModalApp .mz-modal-input {
  flex: 1;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  padding: 0 12px;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

#mzQtyModalApp .mz-modal-ok {
  margin-top: 14px;
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  background: #111827;
  color: #fff;
  font-size: 14px;
  font-weight: 800;
}










/* Checkout success layer */
#checkoutSuccessLayer{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: calc(9999999999 + 99999);
}

#checkoutSuccessLayer .checkout-success-card{
  width: min(520px, 92vw);
  background: #fff;
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

#checkoutSuccessLayer .checkout-success-title{
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

#checkoutSuccessLayer .checkout-success-text{
  font-size: 14px;
  line-height: 1.35;
  opacity: 0.9;
}

#checkoutSuccessLayer .checkout-success-btn{
  margin-top: 14px;
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 0;
  cursor: pointer;
  background: #111827;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}












#cartBar{
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  display: block;
  background: #fff;
  border-top: 1px solid #e5e7eb;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.06);
  z-index: calc(9999999999 + 999);
  padding: 8px 12px;
}

#cartBar .cartbar-inner{
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

#cartBar .cartbar-timer{
  background: #c95f3a;
  color: #fff;
  padding: 6px 12px;
  border-radius: 10px;
  font-weight: 600;
  letter-spacing: 0.3px;
  font-size: 14px;
  line-height: 1;
  flex: 0 0 auto;
}

#cartBar .cartbar-summary{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 0 1 auto;
}

#cartBar .cartbar-title{
  font-size: 16px;
  line-height: 1.2;
  font-weight: 500;
}

#cartBar .cartbar-sum{
  font-weight: 700;
  margin-top: 2px;
}

#cartBar .cartbar-clear{
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #6b7280;
  flex: 0 0 auto;
}

#cartBar .cartbar-checkout{
  background: #c95f3a;
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 12px 18px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  flex: 0 0 auto;
  white-space: nowrap;
}

/* mobile layout helpers */
#cartBar .cartbar-mobile-top{
  display: none;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

#cartBar .cartbar-mobile-sum{
  display: none;
  width: 100%;
  text-align: center;
  font-weight: 700;
  margin-top: 4px;
}

#cartBar .cartbar-mobile-left,
#cartBar .cartbar-mobile-center,
#cartBar .cartbar-mobile-right{
  flex: 0 0 auto;
}

#cartBar .cartbar-mobile-center{
  flex: 1 1 auto;
  text-align: center;
}

@media (max-width: 640px){
  #cartBar .cartbar-inner{
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0;
  }

  #cartBar .cartbar-mobile-top{ display: flex; }
  #cartBar .cartbar-mobile-sum{ display: block; }

  #cartBar .cartbar-title{
    text-align: center;
    flex: 1 1 auto;
    white-space: nowrap;
  }

  #cartBar .cartbar-checkout{
    width: 100%;
  }
  
  
  
  
}











.booking-fallback-wrap{
  position: relative;
  z-index: calc(9999999999 + 200);
  max-width: 520px;
  margin: 24px auto;
  padding: 20px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(0,0,0,.1);
  font-family: system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Arial;
}

.booking-fallback-close{
  position: absolute;
  right: 10px;
  top: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: #f3f4f6;
  cursor: pointer;
  font: 600 18px/32px system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Arial;
}

.booking-fallback-title{
  margin: 0 0 12px;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.25;
}

.booking-fallback-sub{
  margin: 0 0 16px;
  color: #6b7280;
}

#booking-fallback-form{
  display: grid;
  gap: 10px;
}

.booking-fallback-input{
  padding: 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
}

.booking-fallback-row-seat{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.booking-fallback-submit{
  margin-top: 6px;
  padding: 12px 14px;
  border: 0;
  border-radius: 10px;
  background: #D5603C;
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}






/* Tooltip bubble content */
.seat-tooltip-row{
  font-weight: 700;
  color: #d33;
}
.seat-tooltip-seat{
  color: #b22;
}
.seat-tooltip-sec{
  margin-top: 4px;
}
.seat-tooltip-kind{
  margin-top: 4px;
}
.seat-tooltip-price{
  margin-top: 6px;
  text-align: right;
  font-weight: 700;
  color: #d33;
}









/* Tooltip container */
.canvas-seat-tooltip{
  position: absolute;
  pointer-events: none;
  z-index: calc(9999999999 + 1000); /* будет переопределено из JS через style, если нужно */
  display: none;
  transform: translate(-50%, -100%);
}

/* Bubble */
.canvas-seat-tooltip__bubble{
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  padding: 12px 14px;
  min-width: 220px;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.25;
  color: #222;
  position: relative;
}

/* Arrow */
.canvas-seat-tooltip__arrow{
  position: absolute;
  left: 50%;
  bottom: -6px;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #fff;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.12));
}











/* ===== Multizone qty modal ===== */
.mz-qty-modal{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: calc(9999999999 + 999999);
}

.mz-qty-card{
  width: min(420px, 92vw);
  background: #fff;
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.25);
}

.mz-qty-title{
  font-size: 16px;
  font-weight: 800;
  margin-bottom: 10px;
}

.mz-qty-sub{
  font-size: 13px;
  opacity: 0.75;
  margin-bottom: 12px;
}

.mz-qty-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.mz-qty-btn{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  background: #fff;
  cursor: pointer;
}

.mz-qty-btn--minus{
  font-size: 20px;
}

.mz-qty-btn--plus{
  font-size: 18px;
}

.mz-qty-val{
  flex: 1;
  text-align: center;
  font-size: 22px;
  font-weight: 900;
}

.mz-qty-price{
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.mz-qty-actions{
  display: flex;
  gap: 10px;
}

.mz-qty-action{
  flex: 1;
  padding: 10px 12px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

.mz-qty-cancel{
  border: 1px solid #e5e7eb;
  background: #fff;
}

.mz-qty-ok{
  border: 0;
  background: #111827;
  color: #fff;
  font-weight: 800;
}





/* ===== Seat tooltip ===== */
.canvas-seat-tooltip{
  position: absolute;
  pointer-events: none;
  display: none;
  transform: translate(-50%, -100%);
}

.canvas-seat-tooltip__bubble{
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
  padding: 12px 14px;
  min-width: 220px;
  max-width: 280px;
  font-size: 14px;
  line-height: 1.25;
  color: #222;
  position: relative;
}

.canvas-seat-tooltip__arrow{
  position: absolute;
  left: 50%;
  bottom: -6px; /* перекрываем низ пузыря, без щели */
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #fff;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.12));
}















/* Группа билетов по событию */
.checkout-group-header {
  padding: 8px 0;
  border-bottom: 1px solid #e5e7eb;
}

.checkout-group-header-date {
  font-size: 13px;
  font-weight: 700;
}

.checkout-group-header-event {
  font-size: 15px;
  font-weight: 700;
  margin-top: 2px;
}

.checkout-group-header-place {
  font-size: 12px;
  color: #6b7280;
  margin-top: 2px;
}

/* Одна строка билета */
.checkout-ticket-item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: flex-start;
  gap: 10px;
  padding: 6px 0 8px;
  border-bottom: 1px dashed #e5e7eb;
}

.checkout-ticket-index {
  font-weight: 700;
   font-family: "Montserrat-Black", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.checkout-ticket-info {}

.checkout-ticket-row {}

.checkout-ticket-sec {
  color: #6b7280;
}

.checkout-ticket-price-block {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.checkout-ticket-price {
  white-space: nowrap;
  margin-top: 2px;
   font-family: "Montserrat-Black", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.checkout-ticket-remove-btn {
  background: transparent;
  border: none;
  color: #9ca3af;
  font-size: 18px;
  cursor: pointer;
}

/* Блок с паспортными данными */
.checkout-passport-wrapper {
  margin-top: 6px;
}

.checkout-passport-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #e4562e;
  font-size: 14px;
  font-weight: 500;
   font-family: "Montserrat-Black", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}










.checkout-delivery-toggle {
  margin-top: 12px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  color: #e4562e !important;
}

.checkout-delivery-text {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.3s ease, opacity 0.3s ease;
  font-size: 13px;
  color: #4b5563;
}

.checkout-delivery-text p {
  margin: 4px 0;
}

/* открыт блок */
.checkout-delivery-text--open {
  max-height: 200px; /* можно увеличить, если текста будет больше */
  opacity: 1;
}








.checkout-passport-toggle-text {}

.checkout-passport-toggle-arrow {}

.checkout-passport-form {
  margin-top: 6px;
}

.checkout-passport-field-wrap {
  margin-bottom: 4px;
}

/* общее оформление полей паспорта */
.checkout-passport-field {
  width: 100%;
  box-sizing: border-box;
  height: 38px;
  border: 1px solid #d1d5db;
  border-radius: 3px;
  padding: 0 10px;
  font-size: 14px;
}

/* select */
.checkout-passport-select {
  max-height: 160px;
  overflow-y: auto;
}

/* input */
.checkout-passport-input {}

/* ошибка поля */
.checkout-passport-field-error {
  border-color: #ef4444;
  box-shadow: 0 0 0 1px #ef4444;
}

/* подитог */
.checkout-subtotal {
  display: flex;
  justify-content: space-between;
  align-items: center;
   font-family: "Montserrat-Black", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.checkout-subtotal-count {
  color: #c95f3a;
  margin-right: 2vw;
}

.checkout-subtotal-sum {}

/* ошибка чекбокса соглашения */
#checkout-agreement-checkbox.checkout-agreement-error {
  outline: 2px solid #ef4444;
  outline-offset: 2px;
}

.checkout-agreement-label-error {
  color: #ef4444;
}


























/* loader */
#loader{
  position:absolute; inset:0;
  display:grid; place-items:center;
  background:rgba(255,255,255,.6);
  transition:opacity .18s ease;
  opacity:0; pointer-events:none; z-index:calc(9999999999 + 15);
}

.loader-box{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:10px;
}

.loader-bar{
  width:250px;
  height:13px;
  background:#e9eaec;
  border-radius:999px;
  overflow:hidden;
  position:relative;
}

.loader-bar-fill{
  position:absolute;
  top:0; left:-40%;
  width:40%;
  height:100%;
  background:#D5603C;
  border-radius:999px;
  animation:loader-run 1.1s infinite ease-in-out;
}

@keyframes loader-run{
  0%   { transform:translateX(0); }
  100% { transform:translateX(350%); }
}

.loader-text{
  font-size:16px;
  color:#111827;
  text-align:center;
}








/* бейдж */
#cartBadge{
  display:inline-block; min-width:18px; padding:0 6px;
  border-radius:999px; background:#111827; color:#fff;
  font-size:12px; line-height:18px; text-align:center; margin-left:6px;
}


















/* Карточка заявки */
.request-card {
  position: relative; /* для внутреннего оверлея */
}

/* Заголовок */
.request-title {
  font-weight: 800;
  font-size: 28px;
  text-align: center;
}

/* Подзаголовок */
.request-subtitle {
  margin-top: 0;
  color: #374151;
  line-height: 1.5;
  text-align: left;
  width: 76vw;
}

/* Общая строка формы */
.request-row {
  margin-top: 10px;
}

/* Строка с телефоном, как было (96%) */
.request-row--contact {
  width: 96%;
}

/* Базовый инпут */
.request-input {
  width: 76vw;
  padding: 14px 12px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 16px;
  outline: none;
  background: #fff;
  box-sizing: border-box;
}

/* Красная рамка как на макете */
.request-input--error {
  border-color: #ef4444;
}

/* Фокус */
.request-input:focus {
  border-color: #9ca3af;
}

/* Отдельный класс для телефонного поля (если захочешь дооформить) */
.request-input--phone {
  /* пока пусто, но можно добавить стили по желанию */
}

/* Ряд с чекбоксом + текстом */
.request-agree-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  width: 76vw;
}

/* Чекбокс */
.request-agree-checkbox {
  margin-top: 5px;
}

/* Текст соглашения */
.request-agree-text {
  font-size: 14px;
  color: #374151;
  line-height: 1.45;
}

/* Ссылки в тексте соглашения */
.request-doc-link {
  text-decoration: underline;
  color: inherit;
}

/* Кнопка отправки */
.request-submit {
  width: 76vw;
  background: #c95f3a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}

/* Внутренний оверлей с документами */
.request-info-overlay {
  position: absolute;
  inset: 0;
  display: none;
  background: #fff;
  border-radius: 10px;
  padding: 20px 24px;
  overflow: auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
  box-sizing: border-box;
}

/* Кнопка закрытия оверлея */
.request-info-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #6b7280;
}

/* Заголовок в оверлее */
.request-info-title {
  font-weight: 800;
  font-size: 22px;
  margin: 0 28px 12px 0;
}

/* Текст в оверлее */
.request-info-body {
  color: #111827;
  line-height: 1.55;
  font-size: 15px;
}
























.tickets-loader {
  padding: 12px 8px;
  height: 16px;
  text-align: center;
  font-size: 14px;
  color: #6b7280;
    display: flex;
  align-items: center;    /* по вертикали */
}

/* по желанию — крутилка вместо текста */
.tickets-loader::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-right: 6px;
  border-radius: 50%;
  border: 2px solid #c95f3a;
  border-top-color: transparent;
  animation: tickets-spin 0.7s linear infinite;
}

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

















.checkout-promo {
  display: flex;
  gap: 8px;
  margin-top: 8px;
  margin-bottom: 4px;
}

.checkout-promo-input {
  flex: 1;
  height: 36px;
  box-sizing: border-box;
  border-radius: 4px;
  border: 1px solid #d1d5db;
  padding: 0 10px;
  font-size: 14px;
}

.checkout-promo-btn {
  height: 36px;
  padding: 0 14px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  background: #f97316; /* подбери под свой основной цвет */
  color: #fff;
}

.checkout-promo--applied .checkout-promo-input {
  border-color: #22c55e;
}






















.app-menu{
  width: 90vw;
  height: 12vh;
  max-width: 1600px;
  /* background-color: #16a34a; */
  display: flex;
}



.app-menu-left-scheme{
  color: #9e9e9e;
  line-height: 1.2;
  font-size: 1.0em;
  font-family: "Roboto", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}





.app-menu-left-lower{
  display: flex;
  margin-top: 1vh;
}



@media (max-width: 640px) {
  .app-menu {
	  width: 100%;
	  background-color: #fff;
	  padding: 0 15px;
	}

}






/* базовый вид кнопки */
.app-menu-left-lower-date.date-btn{
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  background: white;
  border: 1px solid #000;
  border-radius: 5px;
  color: #242424;
  cursor: pointer;
  z-index: calc(9999999999 + 100);
  height: 8vh;
}

/* левый крупный день */
.date-left{
  font-weight:700; font-size:30px; line-height:1;
  min-width:2ch; text-align:center;
}

/* правая колонка */
.date-right{ display:flex; flex-direction:column; line-height:1.1; text-transform:uppercase; }
.date-top{ font-weight: 400;font-size: 11px; line-height: 14px;}
.date-month{ font-weight:700; font-size:12px; opacity:.85; }

/* стрелка справа */
.date-chevron{ margin-left:auto; font-size:23px; line-height:23px; border: 1px solid #000; border-radius: 3px; min-width: 20px;}














.app-menu-left-lower-name{
  display:flex;
  align-items:center;      /* по вертикали */
  font-weight: bold;
  font-size: 1.5em;
  margin-left: 2vw;
  width: 35vw;
  font-family: "Montserrat-Black", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  text-transform: uppercase;
}







.app-menu-right{
  margin-left: auto;
  position:relative;
  width:32px;
  height:32px;
  border:none;
  background:transparent;
  cursor:pointer;
  -webkit-tap-highlight-color:transparent;
  z-index: calc(9999999999 + 105);
  margin-top: 4.2vh;
}
.app-menu-right::before,
.app-menu-right::after{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  width:22px;
  height:2px;
  background:#222;
  transform-origin:center;
  margin-top: 1vh;
}
.app-menu-right::before{ transform:translate(-50%,-50%) rotate(45deg); }
.app-menu-right::after{  transform:translate(-50%,-50%) rotate(-45deg); }

.app-menu-right:hover{ opacity:0.8; }
.app-menu-right:active{ transform:scale(0.95); }




























/* режим календаря для контейнера */
#container_tickets_in_app.calendar-mode {
  align-items: flex-start;
}

/* список карточек дат */
.calendar-list {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

/* одна карточка */
.calendar-card {
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 16px 0;
  border-bottom: 1px solid #e5e7eb;
}

/* левая колонка с датой */
.calendar-card-date {
  min-width: 80px;
  text-align: center;
}

.calendar-card-date-line {
  display: block;
}

.calendar-card-day {
  display: block;
  font-size: 38px;
  font-weight: 700;
  line-height: 1;
}

.calendar-card-month {
  display: block;
  font-size: 14px;
}

.calendar-card-time {
  margin-top: 4px;
  font-size: 14px;
}

/* центральная колонка */
.calendar-card-info {
  flex: 1 1 auto;
}

.calendar-card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}

.calendar-card-place,
.calendar-card-hall {
  font-size: 14px;
  color: #6b7280;
}

/* правая колонка – кнопка */
.calendar-card-btn {
  white-space: nowrap;
}

/* мобильная версия до 640px */
@media (max-width: 640px) {
  .calendar-card {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
  }

  .calendar-card-date {
    width: 100%;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: baseline;
  }

  .calendar-card-date-line {
    display: flex;
    gap: 4px;
  }

  .calendar-card-day {
    font-size: 18px;
    font-weight: 500;
  }

  .calendar-card-month {
    font-size: 14px;
  }

  .calendar-card-time {
    font-size: 14px;
    margin-top: 0;
  }

  .calendar-card-btn {
    width: 100%;
    justify-content: center;
    text-align: center;
    margin-top: 8px;
  }
}







































/* Оверлей оформления заказа */
#checkoutOverlay {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  z-index: calc(9999999999 + 1000);
}

/* Коробка модалки */
.checkout-modal {
  width: min(1120px, 96vw);
  max-height: 90vh;
  background: #fff;
  border-radius: 8px;
  padding: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  overflow: auto;
  position: relative;
}

/* Шапка */
.checkout-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}

.checkout-header-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkout-timer-label {
  color: #111827;
}

.checkout-timer-badge {
  background: #c95f3a;
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-weight: 600;
}

.checkout-close-btn {
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #6b7280;
}

/* Основная сетка */
.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* Левая часть */
.checkout-left-title {
  font-weight: 800;
  font-size: 26px;
  margin: 6px 0 12px;
   font-family: "Montserrat-Black", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.checkout-left-subtitle {
  color: #374151;
  margin-top: -4px;
  line-height: 1.5;
}

.checkout-input {
  width: 90%;
  padding: 14px;
  border: 2px solid #ef4444;
  border-radius: 8px;
  margin-top: 12px;
  font-size: 16px;
}

.checkout-agreement {
  display: flex;
  gap: 8px;
  margin-top: 12px;
  align-items: flex-start;
}

.checkout-agreement-checkbox {
  margin-top: 3px;
}

.checkout-agreement-text {
  font-size: 13px;
  color: #374151;
  line-height: 1.45;
}

.checkout-doc-link {
  cursor: pointer;
  text-decoration: underline;
}

/* Правая часть */
.checkout-right-title {
  font-weight: 800;
  font-size: 24px;
  margin: 6px 0 8px;
   font-family: "Montserrat-Black", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}

.checkout-tickets-list {
  /* контейнер для строк билетов, можно докрутить при необходимости */
}

.checkout-subtotal {
  display: flex;
  justify-content: space-between;
  margin-top: 12px;
  font-weight: 700;
}

.checkout-ticket-type {
  margin: 8px 0;
}

.checkout-pay-btn {
  width: 100%;
  background: #c95f3a;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 16px;
  font-size: 16px;
  font-weight: 700;
  margin-top: 16px;
  cursor: pointer;
}

.checkout-separator {
  margin-top: 12px;
}

.checkout-warn {
  color: #374151;
  margin: 12px 0;
}

.checkout-pay-label {
  color: #374151;
  margin: 12px 0;
}

.checkout-logos {
  display: flex;
  gap: 12px;
}

.checkout-logos svg {
  width: 64px;
  margin: 5px;
}

.checkout-pushkin {
  color: #6b7280;
  margin: 8px 0 12px;
}

.checkout-delivery {
  cursor: pointer;
  text-decoration: underline dotted;
  margin-top: 8px;
}

/* Внутренний инфо-слой */
.checkout-info-layer {
  position: absolute;
  inset: 16px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
  display: none;
  flex-direction: column;
  overflow: auto;
  z-index: calc(9999999999 + 10);
  padding: 16px;
}

.checkout-info-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: #6b7280;
}

.checkout-info-title {
  font-weight: 800;
  font-size: 24px;
  margin: 0 32px 12px 0;
  color: #111827;
}

.checkout-info-body {
  color: #111827;
  line-height: 1.55;
}

/* Адаптив */
@media (max-width: 640px) {
  .checkout-modal {
    width: 100vw;
    max-height: 100vh;
    height: 100vh;
    border-radius: 0;
    padding: 5vw;
  }

  .checkout-grid {
    grid-template-columns: 1fr;
  }

  .checkout-right-title {
    font-size: 22px;
  }

  .checkout-timer-badge {
    padding: 4px 8px;
  }


  .checkout-header {
    margin-top: 4vh;
  }
  .checkout-info-layer{
    margin-top: 4vh;
  }



}
































/* Коэффициент размеров */
.zoom-controls{ --k: 1; }

.zoom-controls{
  position: fixed;
  right: calc(16px * var(--k));
  bottom: 36vh;
  z-index: calc(9999999999 + 99);
  display: grid;
  gap: calc(8px * var(--k));
  padding: calc(8px * var(--k));
  border-radius: calc(14px * var(--k));
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(calc(8px * var(--k)));
  -webkit-backdrop-filter: blur(calc(8px * var(--k)));
}

.zoom-btn{
  width: calc(48px * var(--k));
  height: calc(48px * var(--k));
  display: grid;
  place-items: center;
  border-radius: calc(12px * var(--k));
  border: 1px solid rgba(0,0,0,0.12);
  background: linear-gradient(#fff,#f6f6f6);
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
  cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease, background .2s ease;
  -webkit-tap-highlight-color: transparent;
}

.zoom-btn:hover{ transform: translateY(-1px); box-shadow: 0 4px 14px rgba(0,0,0,0.12); }
.zoom-btn:active{ transform: translateY(0); box-shadow: inset 0 2px 8px rgba(0,0,0,0.12); }
.zoom-btn:focus-visible{ outline: 2px solid #5b9cff; outline-offset: 2px; }

.zoom-btn svg{
  width: calc(22px * var(--k));
  height: calc(22px * var(--k));
  fill: #111;
}

/* Тёмная тема */
@media (prefers-color-scheme: dark){
  .zoom-btn{
    background: linear-gradient(#2a2a2e,#222226);
    border-color: rgba(255,255,255,0.1);
  }
  .zoom-btn svg{ fill:#f4f4f5; }
}

/* Экраны ≤640px: уменьшаем все размеры в 1.5 раза */
@media (max-width: 640px){
  .zoom-controls{ --k: .6667; }


  




}







.button-scheme{
  margin-bottom: 10px;
}

#legendBar{
  position: fixed;
  top: 13.5vh;
  left: 50%;
  transform: translateX(-50%);
  max-width: 60vw;
  width: fit-content;
  height: fit-content;
  border-radius: 17px;
  display: flex;
  align-items: center;
  padding: 3px 5px;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  z-index: calc(9999999999 + 100);
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}





















#card_zayvka{
  width: min(640px, 92vw);
  background: #fff;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 10px 30px;
  padding: 2vw;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color: rgb(17, 24, 39);

  position: fixed;
  z-index: calc(9999999999 + 100);

  left: 50%;
  transform: translateX(-50%);
  top: 17vh;

  height: 70vh;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  display: flex;
  flex-direction: column;
  gap:1vh;
}

@media (min-width: 640px){
  #card_zayvka{
    width: 80vw;
    height: 80dvh;
    max-width: 1600px;
    max-height: 900px;
    box-sizing: border-box;
    margin-top: 1.4vh;
  }
}

@media (max-width: 640px){

  .app-menu-left-lower-date.date-btn{

    height: 7vh;
  }

  #legendBar{
  top:14vh;
  max-width: 70vw ;

  }

  .app-menu-right{
    margin-top: 2.2vh;
  }

  #card_zayvka{
    /* на весь экран */
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    transform: none;

    width: 100vw;
    height: 100dvh;                 /* корректно на iOS/Android */
    max-height: 100dvh;

    border-radius: 0;              /* чтобы не было странных полей */


    box-shadow: none;              /* тень на весь экран не нужна */
    padding-top: 5vh;
    padding: 4vw;
  }



  .request-title {

    margin-top: 11vh;
  }


	
	
	.request-subtitle {
	  text-align: center;
	}
	
	
	.request-submit,
	.request-agree-row,
	.request-title,
	.request-subtitle,
	.request-input {
	  width: 92vw;
	}












	
	#container_tickets_in_app{
	  height: 75vh
	}
	





	
	.request-info-title{
	  margin-top: 11vh;
	}
	




  
  .app-menu{
    height: 10vh;
    z-index: calc(9999999999 + 999);
  }

  .app-menu-left-scheme{
    font-size: 0.9em;
  }

  

  .app-menu-left-lower{
    margin-top: 0.6vh;
  }


  .app-menu-left-lower-name{
    font-size: 1.0em;
  }



  .app-menu-left-lower-date.date-btn{
    gap:5px;
  }
  
  #cartBar .cartbar-mobile-sum{margin-top: 0;}
  #cartBar .cartbar-sum{margin-top: 0;}
  
  .cartbar-checkout{padding: 8px 18px;  font-size: 14px;}
  
  #cartBar .cartbar-timer {  padding: 3px 10px;}

}



@media (max-width: 390px){
	.app-menu-left-lower-name{
		font-size: 8px !important;
	}
}

















/* Корневая карточка таблицы */
.table-card {
  width: 100%;
  max-width: 1100px;
  display: flex;
  flex-direction: column;
}

/* Заголовок "Таблица" */
.table-title {
  font-weight: 600;
  font-size: 20px;
  margin-bottom: 8px;
}

@media (max-width: 640px) {
  .table-title {
    font-size: 18px;
    margin-top: 12vh;
  }
}

/* Список секторов */
.table-section-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

@media (max-width: 640px) {
  .table-section-list {
    gap: 8px;
  }
}

/* Строка сектора (в режиме списка) */
.table-section-row {
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.table-section-row--desktop {
  display: grid;
  grid-template-columns: 1fr 120px 160px 180px;
  align-items: center;
  gap: 12px;
  padding: 12px 10px;
}

.table-section-row--mobile {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
  padding: 10px 0;
}

/* Верхняя строка на мобиле (название, кол-во, цена) */
.table-section-topline {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 8px;
}

/* Название сектора */
.table-section-name {
  font-size: 18px;
  font-weight: 400;
}

@media (max-width: 640px) {
  .table-section-name {
    font-size: 16px;
    font-weight: 500;
  }
}

/* Кол-во мест */
.table-section-count {
  text-align: center;
  font-size: 16px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .table-section-count {
    font-size: 14px;
  }
}

/* Цена сектора */
.table-section-price {
  text-align: center;
  font-size: 16px;
  white-space: nowrap;
}

@media (max-width: 640px) {
  .table-section-price {
    font-size: 14px;
    margin-right: 8vw; /* как было в JS */
  }
}

/* Кнопка "Выбрать билеты" в строке сектора */
.table-section-btn {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #f05a28;
  background: transparent;
  color: #f05a28;
  cursor: pointer;
}

.table-section-btn--mobile {
  width: 93%;
  font-size: 15px;
}

/* Шапка режима конкретного сектора */
.table-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.table-header--mobile {
  /* position: sticky;
  top: 0; */

  padding: 6px 0;
  z-index: calc(9999999999 + 2);
  margin-top: 12vh;
}

/* Кнопка "Назад" */
.table-back-btn {
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background: transparent;
  cursor: pointer;
  font-size: 16px;
}

@media (max-width: 640px) {
  .table-back-btn {
    font-size: 14px;
  }
}

/* Заголовок сектора в шапке */
.table-header-title {
  font-size: 20px;
  font-weight: 600;
}

@media (max-width: 640px) {
  .table-header-title {
    font-size: 18px;
  }
  .table-seats-wrap {

    width: 89vw;
  }
}

/* Блок ряда */
.table-row-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 10px;
}

/* Заголовок ряда */
.table-row-title {
  font-size: 16px;
  font-weight: 500;
}

@media (max-width: 640px) {
  .table-row-title {
    font-size: 15px;
  }
}

/* Обёртка мест в ряду */
.table-seats-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 640px) {
  .table-seats-wrap {
    gap: 6px;
  }
}

/* Кнопка места */
.table-seat-btn {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #3aa0ff;
  background: transparent;
  cursor: pointer;
  font-size: 15px;
}

@media (max-width: 640px) {
  .table-seat-btn {
    padding: 7px 9px;
    font-size: 14px;
  }

  .last-block-in-table {
    margin-bottom: 30vh; 
  }
  

}

/* Выбранное место */
.table-seat-btn--selected {
  background: rgba(58, 160, 255, 0.15);
}





