/* Qzixon customer seat live hotfix v6 — clean price filters + exclusive selection groups */

/* Desktop must expose the same ticket quantity control available on mobile. */
.qz-customer-layout--booking .qz-bms-edit-tickets{
  display:inline-grid!important;
}

/* Available seats always use their pricing colour from the DB. */
.qz-customer-layout--booking .qz-customer-seatmap-seat.is-available:not(.is-selected){
  border-color:color-mix(in srgb,var(--seat-color,#378087) 78%,#51666a)!important;
  background:var(--seat-color,#378087)!important;
  color:var(--seat-text,#24343A)!important;
  opacity:1!important;
}

/* Selected seats are always green, independent of their pricing colour. */
.qz-customer-layout--booking .qz-customer-seatmap-seat.is-selected,
.qz-customer-layout--booking .qz-customer-seatmap-seat.is-yours.is-selected,
.qz-customer-layout--booking .qz-bms-seat.is-selected,
.qz-customer-layout--booking .qz-bms-seat.is-yours.is-selected{
  border-color:#166534!important;
  background:#16a34a!important;
  color:#fff!important;
  box-shadow:0 0 0 3px rgb(22 163 74 / .28),0 2px 8px rgb(22 101 52 / .28)!important;
  opacity:1!important;
}
.qz-customer-layout--booking .qz-seatmap-navigator i.is-selected{
  background:#16a34a!important;
  border-color:#166534!important;
}
.qz-customer-layout--booking .qz-customer-seatmap-seat.is-yours:not(.is-selected){
  border-color:var(--seat-color,#378087)!important;
  background:color-mix(in srgb,var(--seat-color,#378087) 58%,#fff)!important;
  color:var(--seat-text,#24343A)!important;
}

/* Clean toolbar layout: price group controls never overlap zoom controls. */
.qz-customer-layout--booking .qz-seatmap-mobile-tools--zoom{
  display:grid!important;
  grid-template-columns:auto minmax(0,1fr) auto!important;
  align-items:center!important;
  gap:8px 12px!important;
}
.qz-customer-layout--booking .qz-seatmap-mobile-tools--zoom>div:first-child{
  min-width:0!important;
}
.qz-customer-layout--booking .qz-seatmap-control-cluster{
  grid-column:3!important;
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:5px!important;
}
.qz-hotfix-price-filter-chips{
  grid-column:2!important;
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:7px!important;
  min-width:0!important;
  width:100%!important;
  max-width:none!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  overscroll-behavior-inline:contain!important;
  scrollbar-width:thin!important;
  padding:3px 2px!important;
  margin:0!important;
}
.qz-hotfix-price-filter-chips::-webkit-scrollbar{height:4px!important}
.qz-hotfix-price-filter-chip{
  appearance:none!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  flex:0 0 auto!important;
  min-width:max-content!important;
  min-height:34px!important;
  padding:6px 11px!important;
  border:1px solid #d5e0de!important;
  border-radius:8px!important;
  background:#fff!important;
  color:#24343a!important;
  font:inherit!important;
  font-size:11px!important;
  font-weight:900!important;
  line-height:1!important;
  white-space:nowrap!important;
  cursor:pointer!important;
  box-shadow:0 1px 3px rgb(36 52 58 / .06)!important;
}
.qz-hotfix-price-filter-chip:hover{
  border-color:#8aa5a2!important;
  background:#f7faf9!important;
}
.qz-hotfix-price-filter-chip.is-active{
  border-color:#173f44!important;
  background:#eef6f4!important;
  box-shadow:0 0 0 2px rgb(23 63 68 / .14)!important;
}
.qz-hotfix-price-filter-chip i{
  display:block!important;
  width:14px!important;
  height:14px!important;
  flex:0 0 14px!important;
  border-radius:50%!important;
  border:1px solid rgb(36 52 58 / .28)!important;
}
.qz-hotfix-seat-filter-hidden{
  visibility:hidden!important;
  pointer-events:none!important;
}

/* Global row-label column. JS deduplicates labels and hides rows with no real seat. */
.qz-customer-layout--booking .qz-customer-seatmap-row-label.qz-bms-row-label{
  z-index:12!important;
  border-color:#cfdcda!important;
  background:#fff!important;
  color:#263d41!important;
  box-shadow:0 2px 7px rgb(36 52 58 / .08)!important;
}

/* Dynamic database colour / price keys appended to the availability legend. */
.qz-hotfix-price-divider{
  width:1px!important;
  min-width:1px!important;
  height:20px!important;
  padding:0!important;
  margin:0 2px!important;
  background:var(--qz-border)!important;
}
.qz-hotfix-price-key{
  color:var(--qz-text)!important;
  font-weight:800!important;
  white-space:nowrap!important;
}
.qz-hotfix-price-key i{
  width:13px!important;
  height:13px!important;
  border:1px solid rgb(36 52 58 / .22)!important;
  border-radius:4px!important;
}

/* Event gallery: complete image, natural aspect ratio, never cropped. */
.qz-public-gallery{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important;
  grid-auto-rows:auto!important;
  align-items:start!important;
  gap:12px!important;
}
.qz-public-gallery img,
.qz-public-gallery video{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  aspect-ratio:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  background:var(--qz-surface-muted,#f4f7f6)!important;
}
.qz-public-gallery>img:first-child,
.qz-public-gallery>video:first-child{
  grid-column:1/-1!important;
}

@media(max-width:900px){
  .qz-seatmap-mobile-tools--zoom{
    align-items:flex-start!important;
    flex-wrap:wrap!important;
  }
  .qz-hotfix-price-filter-chips{
    order:3!important;
    width:100%!important;
    max-width:100%!important;
    margin:4px 0 0!important;
  }
}
@media(max-width:760px){
  .qz-hotfix-price-divider{display:none!important}
  .qz-bms-seat-legend{justify-content:flex-start!important}
  .qz-public-gallery{grid-template-columns:1fr!important}
  .qz-hotfix-price-filter-chip{
    min-height:32px!important;
    padding:6px 9px!important;
    font-size:11px!important;
  }
}


/* v6 responsive toolbar overrides */
@media(max-width:900px){
  .qz-customer-layout--booking .qz-seatmap-mobile-tools--zoom{
    grid-template-columns:minmax(0,1fr) auto!important;
    gap:7px 8px!important;
  }
  .qz-customer-layout--booking .qz-seatmap-mobile-tools--zoom>div:first-child{
    grid-column:1/-1!important;
    grid-row:1!important;
  }
  .qz-hotfix-price-filter-chips{
    grid-column:1!important;
    grid-row:2!important;
    justify-content:flex-start!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }
  .qz-customer-layout--booking .qz-seatmap-control-cluster{
    grid-column:2!important;
    grid-row:2!important;
  }
}
@media(max-width:620px){
  .qz-customer-layout--booking .qz-seatmap-mobile-tools--zoom{
    grid-template-columns:1fr!important;
  }
  .qz-hotfix-price-filter-chips{
    grid-column:1!important;
    grid-row:2!important;
    width:100%!important;
  }
  .qz-customer-layout--booking .qz-seatmap-control-cluster{
    grid-column:1!important;
    grid-row:3!important;
    width:100%!important;
    justify-content:flex-end!important;
  }
  .qz-hotfix-price-filter-chip{
    min-height:32px!important;
    padding:6px 9px!important;
    border-radius:7px!important;
    font-size:10px!important;
  }
}
