/* Quantity / price step — rules tree-shaken from homepage bootstrap.
   Source: sfref d06c7e27 bootstrap-c60de4d59eae.css */

/* Tailwind's `.collapse` utility is `visibility: collapse` and hides
   Hubber's Bootstrap collapse panel (quantity row). Keep the ticket
   name / plus visible. */
.ch-site .js-category-quantity-selection-wrapper,
.ch-site .js-category-quantity-selection-wrapper.show,
.ch-site .js-category-quantity-selection-wrapper.collapse,
.ch-site .js-category-quantity-selection-wrapper.collapse.show {
  visibility: visible;
  display: block;
}

.quantity-selector-wrapper {
  display: flex;
  align-self: center;
  justify-content: space-between;
  padding: 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0);
  transition: all 200ms ease-in-out;
  overflow: visible;
  align-items: center;
  width: 100%;
  position: relative;
  flex-wrap: nowrap;
  visibility: visible;
}

.quantity-selector-wrapper .quantity-selector {
  display: flex;
  align-items: center;
  width: auto;
  gap: 0.25rem;
  justify-content: flex-end;
  position: relative;
}

.quantity-selector-wrapper .quantity-selector .form-control {
  width: 2.5rem;
  height: 2.5rem;
  padding: 0 !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  background-color: rgba(0, 0, 0, 0);
  text-align: center;
  z-index: 1;
  appearance: none;
  border: 1px solid transparent;
  border-radius: 0.25rem;
  border-color: var(--custom-color, var(--hb-site-color)) !important;
}

.quantity-selector-wrapper .quantity-selector .form-control:not(:focus) {
  border-color: rgba(0, 0, 0, 0) !important;
}

.quantity-selector-wrapper .quantity-selector .quantity-minus,
.quantity-selector-wrapper .quantity-selector .quantity-plus {
  cursor: pointer;
  text-transform: none;
  width: 2.5rem;
  border: 1px solid #e2e5e8;
}

.quantity-selector-wrapper .quantity-selector .quantity-minus.btn-push,
.quantity-selector-wrapper .quantity-selector .quantity-plus.btn-push {
  display: inline-block;
  padding: 0;
  border-radius: 0.5rem;
  height: 2.5rem;
}

.quantity-selector-wrapper .quantity-selector .quantity-minus.btn-push .layer,
.quantity-selector-wrapper .quantity-selector .quantity-plus.btn-push .layer {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.5rem;
  padding: 0;
  font-size: 0;
}

.quantity-selector-wrapper .quantity-selector .quantity-minus .layer:before,
.quantity-selector-wrapper .quantity-selector .quantity-plus .layer:before {
  content: "\e933";
  font-family: "hubber8";
  font-size: 1.5rem;
  color: inherit;
}

.quantity-selector-wrapper .quantity-selector .quantity-plus .layer:before {
  content: "\e970";
}

.quantity-selector-wrapper .quantity-selector .quantity-minus.trash .layer:before {
  content: "\e99e";
  font-weight: normal;
}

.quantity-selector-wrapper .quantity-selector .quantity-minus:not(.disabled-button) .layer-hover,
.quantity-selector-wrapper .quantity-selector .quantity-plus:not(.disabled-button) .layer-hover {
  color: #fff;
  background-color: var(--custom-color, var(--hb-site-color));
  border-color: var(--custom-color, var(--hb-site-color));
}

.quantity-selector-wrapper:not(.no-color).is-quantity-selected {
  background-color: color-mix(in srgb, var(--custom-color, var(--hb-site-color)) 15%, transparent);
}

.quantity-selector-wrapper:not(.no-color).is-quantity-selected,
.quantity-selector-wrapper:not(.no-color).is-quantity-selected .js-quantity-button,
.quantity-selector-wrapper:not(.no-color).is-quantity-selected .info-details {
  border-color: var(--custom-color, var(--hb-site-color));
}

.quantity-selector-wrapper:not(.no-color).is-quantity-selected input {
  font-weight: 600;
}

.quantity-selector-wrapper:not(.no-color).is-quantity-selected,
.quantity-selector-wrapper:not(.no-color).is-quantity-selected .js-hubber-quantity {
  color: var(--custom-color, var(--hb-site-color));
}

.quantity-selector-wrapper:not(.no-color).is-quantity-selected .quantity-minus,
.quantity-selector-wrapper:not(.no-color).is-quantity-selected .quantity-plus {
  background-color: #fff;
}

.quantity-selector-wrapper label {
  width: auto;
  margin-bottom: 0;
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  visibility: visible;
}

.quantity-selector-wrapper label > span {
  display: flex;
  align-items: center;
  width: 100%;
  gap: 0.5rem;
}

.quantity-selector-wrapper label > span .price-name {
  display: flex;
  align-items: center;
  font-size: inherit;
  font-weight: 600;
}

.quantity-selector-wrapper label > span .infos.price-info {
  margin-top: 0;
  color: #76818d;
}

.infos.price-info {
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.icon-information {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.icon-information:before {
  content: "\e955";
  font-family: "hubber8";
  font-size: 1.5rem;
  font-weight: normal;
  line-height: 1;
}

.ticket-category-list .quantity-selector-wrapper {
  margin-bottom: 1rem;
}

.ticket-category-list .quantity-selector-wrapper .price-amount {
  font-weight: 600;
  font-size: 1rem;
  margin-left: auto;
  margin-right: 0.75rem;
}

.ticket-category-list li {
  position: relative;
  border-bottom: 1px solid #e2e5e8;
  flex-direction: column;
  display: flex;
}

.ticket-category-list li.active {
  background-color: #fff;
}

.reservation-step-wrapper.step3 .ticket-content-wrapper {
  height: 100%;
  background: rgba(0, 0, 0, 0);
  padding: 0;
}

.reservation-step-wrapper.step3 .ticket-content-wrapper .ticket-content {
  width: auto;
  height: auto;
  background: rgba(0, 0, 0, 0);
  overflow: visible;
}

.reservation-step-wrapper.step3 .ticket-content-wrapper .field__items {
  margin-bottom: 0;
}

.reservation-step-wrapper.step3 .ticket-content-wrapper .block-mode {
  min-height: unset;
  cursor: pointer;
  border-radius: 0.5rem;
  border: none;
}

.reservation-step-wrapper.step3 .ticket-content-wrapper .block-mode.one-cat {
  padding: 0;
  margin: 0;
}

.reservation-step-wrapper.step3 .ticket-content-wrapper .block-mode.active {
  list-style: none;
}

.reservation-step-wrapper.step3 .ticket-content-wrapper .quantity-selector-wrapper {
  gap: 6px;
}

.reservation-step-wrapper.step3 .ticket-content-wrapper .quantity-selector-wrapper label .price-amount {
  margin-right: 0;
}

.reservation-step-wrapper.step3 .price-info-wrapper .section {
  margin-bottom: 1rem;
}

@media (min-width: 992px) {
  .reservation-step-wrapper.step3 .price-info-wrapper .section {
    flex: 1;
    margin-right: 0.75rem;
    margin-bottom: 0;
  }

  .reservation-step-wrapper.step3 .price-info-wrapper .event-selection-detail {
    flex: 1;
    margin-left: 0.75rem;
  }
}

.price-summary {
  border: 1px solid #e2e5e8;
  margin: 0 1rem 3rem;
  width: calc(100% - 2rem);
}

.reservation-step-wrapper.step3 .price-summary {
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: normal;
  margin-bottom: 0;
  padding: 1.5rem;
  height: 100%;
  flex-direction: column;
  background-color: white;
}

.reservation-step-wrapper.step3 .price-summary.price-selected {
  flex-direction: column;
  align-items: stretch;
  justify-content: space-between;
}

.reservation-step-wrapper.step3 .price-summary.price-selected .is-h3 {
  text-transform: uppercase;
  font-size: 0.75rem;
  margin-bottom: 0.5rem;
}

.reservation-step-wrapper.step3 .price-summary.price-selected .selected-offer,
.reservation-step-wrapper.step3 .price-summary.price-selected .selected-date {
  font-size: 0.75rem;
  color: #76818d;
}

.reservation-step-wrapper.step3 .price-summary.price-selected .selected-price {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hb-site-color) !important;
}

.ticket-content-wrapper.no-map {
  padding-top: 0;
}

.ticket-content-wrapper.no-map .ticket-content {
  flex: auto;
  padding: 0;
  max-width: unset;
}

.ticket-content-wrapper.no-map .ticket-content-container {
  margin: 0 auto;
  max-width: min(50rem, 100vw - 2rem);
}

.reservation-step-wrapper .offer-sales-rule {
  display: none;
}

@media (min-width: 992px) {
  .ch-site .d-lg-block {
    display: block !important;
  }

  .ch-site .d-lg-none {
    display: none !important;
  }
}

.reservation-footer .event-action-wrapper {
  display: block;
}

.reservation-footer .event-action-wrapper .btn-primary.btn-push {
  display: inline-block;
}

.reservation-footer .event-action-wrapper .btn-primary.btn-push .layer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reservation-footer .reservation-footer-total {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.reservation-footer .reservation-footer-total span {
  font-size: 1.5rem;
  font-weight: 800;
  margin-left: 0.25rem;
}

.reservation-footer .btn.btn-push {
  display: inline-block;
}

.reservation-footer .btn.btn-push .layer {
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 992px) {
  .reservation-footer .event-action-wrapper {
    display: block;
  }

  .reservation-footer .event-action-wrapper .btn-primary {
    flex: none;
  }

  .reservation-footer .event-action-wrapper .btn-primary.btn-push {
    display: inline-block;
  }

  .reservation-footer .reservation-footer-total {
    margin-bottom: 2.5rem;
  }

  .reservation-footer .reservation-footer-total span {
    font-size: 1.25rem;
  }
}

@media (max-width: 991.98px) {
  .reservation-footer .event-action-wrapper {
    display: flex;
  }

  .reservation-footer .event-action-wrapper .btn-primary {
    flex: 1;
    align-items: center;
  }

  .reservation-step-wrapper.step3 .ticket-content-wrapper .quantity-selector-wrapper.with-info {
    padding-left: 0.5rem;
  }

  .reservation-step-wrapper.step3 .price-summary {
    background: rgba(0, 0, 0, 0);
    padding: 0;
  }

  .reservation-step-wrapper .offer-sales-rule {
    margin-top: 0;
    background-color: #f6f8f9;
  }

  .reservation-footer {
    margin-bottom: 0;
    padding-bottom: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .reservation-step-wrapper.step3 .ticket-content-wrapper .quantity-selector-wrapper label {
    font-size: 0.75rem;
  }

  .reservation-step-wrapper.step3 .price-info-wrapper {
    display: block;
  }

  .reservation-step-wrapper.step3 .ticket-content-container {
    max-width: 100%;
  }

  .reservation-step-wrapper.step3 .ticket-content-wrapper .quantity-selector-wrapper {
    padding: 0.625rem;
    gap: 0.375rem;
  }

  .quantity-selector-wrapper label > span {
    gap: 0.25rem;
  }

  .ticket-category-list .quantity-selector-wrapper .price-amount {
    margin-left: 0;
    margin-right: 0;
    white-space: nowrap;
  }

  .quantity-selector-wrapper .quantity-selector {
    flex: 0 0 auto;
    gap: 0.125rem;
  }

  .quantity-selector-wrapper .quantity-selector .quantity-minus,
  .quantity-selector-wrapper .quantity-selector .quantity-plus,
  .quantity-selector-wrapper .quantity-selector .quantity-minus.btn-push,
  .quantity-selector-wrapper .quantity-selector .quantity-plus.btn-push {
    width: 2.25rem;
    height: 2.25rem;
  }

  .quantity-selector-wrapper .quantity-selector .quantity-minus.btn-push .layer,
  .quantity-selector-wrapper .quantity-selector .quantity-plus.btn-push .layer,
  .quantity-selector-wrapper .quantity-selector .form-control {
    height: 2.25rem;
  }

  .quantity-selector-wrapper .quantity-selector .form-control {
    width: 2rem;
  }

  .reservation-step-wrapper.step3 .price-summary {
    display: none;
  }

  .reservation-footer .reservation-footer-total {
    margin-bottom: 0;
  }
}

/* Hide HTML5 Up/Down arrows for number inputs in quantity selector */
.quantity-selector-wrapper .quantity-selector input[type="number"]::-webkit-outer-spin-button,
.quantity-selector-wrapper .quantity-selector input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.quantity-selector-wrapper .quantity-selector input[type="number"] {
  -moz-appearance: textfield;
}
