.ticket-site-wrap {
  background: #0a0a0a;
  border-radius: 16px;
  margin: 0 auto 32px;
  max-width: 960px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45);
}

.ticket-page {
  color: #fff;
  font-family: "Dosis", sans-serif;
  max-width: 920px;
  margin: 0 auto;
  padding: 16px 16px 28px;
}

.ticket-page-header {
  text-align: center;
  margin-bottom: 28px;
}

.ticket-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  margin-bottom: 16px;
  padding: 8px 12px;
  border-radius: 999px;
  transition: color 0.12s ease, background 0.12s ease;
}

.ticket-back:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.ticket-page-logo {
  max-width: 140px;
  max-height: 64px;
  object-fit: contain;
  margin-bottom: 12px;
}

.ticket-page-title {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 10px;
  letter-spacing: 0.02em;
}

.ticket-page-date {
  margin: 0;
  font-size: 1rem;
  opacity: 0.85;
  line-height: 1.4;
}

.ticket-page-promo {
  margin: 10px 0 0;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.ticket-page-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.ticket-page-media {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.ticket-page-cover {
  width: 100%;
  height: auto;
  border-radius: 14px;
  display: block;
  background: rgba(255, 255, 255, 0.06);
}

.ticket-page-map {
  width: 100%;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.ticket-page-map img {
  width: 100%;
  border-radius: 12px;
}

.ticket-price-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 24px;
  text-align: center;
}

.ticket-price-label {
  display: block;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.65;
  margin-bottom: 8px;
}

.ticket-price {
  display: block;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin: 4px 0;
}

.ticket-fees {
  display: block;
  font-size: 0.82rem;
  opacity: 0.65;
  margin-top: 10px;
  line-height: 1.4;
}

.ticket-conditions {
  font-size: 0.85rem;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 20px;
}

.ticket-conditions br + br {
  display: block;
  content: "";
  margin-top: 6px;
}

.ticket-badge-low {
  display: inline-block;
  background: rgba(255, 165, 0, 0.22);
  color: #ffb347;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.ticket-badge-closed {
  display: inline-block;
  background: rgba(220, 53, 69, 0.22);
  color: #ff8a8a;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 10px;
}

.ticket-section-title {
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.65;
  margin: 0 0 14px;
}

.ticket-form-block {
  margin-bottom: 28px;
}

.ticket-form-block:last-child {
  margin-bottom: 0;
}

.ticket-slots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.ticket-slot {
  position: relative;
}

.ticket-slot-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ticket-slot-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 72px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
  user-select: none;
}

.ticket-slot-input:checked + .ticket-slot-label {
  background: rgba(69, 137, 54, 0.25);
  border-color: var(--ticket-btn-bg, #458936);
  color: #8fd67f;
}

.ticket-slot-input:disabled + .ticket-slot-label {
  opacity: 0.35;
  cursor: not-allowed;
}

.ticket-options fieldset {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}

.ticket-option {
  position: relative;
  display: block;
  cursor: pointer;
  margin: 0;
}

.ticket-option-input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.ticket-option-body {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 14px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 2px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  transition: background 0.12s ease, border-color 0.12s ease, transform 0.12s ease;
}

.ticket-option-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
}

.ticket-option-input:checked + .ticket-option-body {
  background: rgba(69, 137, 54, 0.15);
  border-color: var(--ticket-btn-bg, #458936);
}

.ticket-option-input:disabled + .ticket-option-body {
  opacity: 0.45;
  cursor: not-allowed;
}

.ticket-option-title {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.35;
  flex: 1;
}

.ticket-option-desc {
  display: block;
  width: 100%;
  font-size: 0.78rem;
  opacity: 0.75;
  margin-top: 6px;
  line-height: 1.4;
}

.ticket-option-desc br {
  display: block;
  content: "";
  margin-top: 2px;
}

.ticket-option-desc em,
.ticket-option-desc .ticket-desc-note {
  display: block;
  margin-top: 4px;
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffb347;
  opacity: 1;
}

.ticket-option-price {
  font-size: 1.05rem;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  padding-top: 2px;
}

.ticket-option-stock {
  display: block;
  width: 100%;
  font-size: 0.78rem;
  color: #ffb347;
  margin-top: 10px;
}

.ticket-option-stock--threshold {
  color: #e85d04;
  font-weight: 600;
  line-height: 1.35;
}

.ticket-option-stock--low {
  color: #ff9f1c;
  font-weight: 600;
}

.ticket-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.ticket-form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 8px;
  opacity: 0.9;
}

.ticket-form-group .form-control {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 10px;
  color: #fff;
  padding: 10px 14px;
  font-size: 1rem;
}

.ticket-form-group .form-control:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--ticket-btn-bg, #458936);
  color: #fff;
  box-shadow: 0 0 0 3px rgba(69, 137, 54, 0.2);
}

.ticket-form-group .form-control::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.ticket-qty-control {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  overflow: hidden;
}

.ticket-qty-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  transition: background 0.12s ease;
  -webkit-tap-highlight-color: transparent;
}

.ticket-qty-btn:hover {
  background: rgba(255, 255, 255, 0.1);
}

.ticket-qty-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ticket-qty-btn:disabled:hover {
  background: transparent;
}

.ticket-qty-input {
  width: 52px;
  text-align: center;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0;
  -moz-appearance: textfield;
}

.ticket-qty-input::-webkit-outer-spin-button,
.ticket-qty-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.ticket-coupon-row {
  display: flex;
  gap: 8px;
}

.ticket-coupon-row .form-control {
  flex: 1;
}

.ticket-coupon-btn {
  flex-shrink: 0;
  padding: 10px 16px;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.12s ease;
  white-space: nowrap;
}

.ticket-coupon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.ticket-coupon-applied {
  margin: 8px 0 0;
  color: #7dffb0;
  font-size: 0.88rem;
  font-weight: 600;
}

.ticket-disability-row {
  margin-top: 4px;
}

.ticket-disability-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
  cursor: pointer;
}

.ticket-disability-label .form-check-input {
  margin-top: 3px;
  flex-shrink: 0;
}

.ticket-disability-note {
  margin: 8px 0 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.84rem;
  line-height: 1.4;
}

.ticket-group-discount-note {
  margin: 10px 0 0;
  color: #9fd4ff;
  font-size: 0.86rem;
  line-height: 1.4;
}

.ticket-free-order-btn {
  width: 100%;
  padding: 14px 20px;
  border: 0;
  border-radius: 10px;
  background: var(--ticket-btn-bg, #458936);
  color: var(--ticket-btn-txt, #fff);
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: filter 0.12s ease, transform 0.12s ease;
}

.ticket-free-order-btn:hover {
  filter: brightness(1.08);
}

.ticket-free-order-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.ticket-policy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.4;
}

.ticket-policy .form-check-input {
  margin-top: 3px;
  flex-shrink: 0;
}

.ticket-policy a {
  color: var(--ticket-btn-bg, #458936);
  filter: brightness(1.3);
}

.ticket-page .input-error {
  color: #ff8a8a;
  font-size: 0.82rem;
  font-weight: 600;
  margin: 6px 0 0;
}

.ticket-page .paypal-container {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 20px;
  margin-top: 16px;
}

.ticket-map-section {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ticket-map-section h2 {
  font-size: 1rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
}

.ticket-map-section iframe {
  width: 100%;
  height: 280px;
  border: 0;
  border-radius: 12px;
}

.page-embed-calendar .ticket-site-wrap,
.page-embed-iframe .ticket-site-wrap {
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  margin: 0;
  max-width: none;
}

.page-embed-calendar .ticket-page,
.page-embed-iframe .ticket-page {
  padding: 10px 10px 16px;
}

.page-embed-iframe {
  background: transparent !important;
  background-image: none !important;
  overflow: hidden;
  min-height: 0 !important;
  height: auto !important;
}

.page-embed-iframe .body-wrapper {
  min-height: auto;
  padding-bottom: 0;
}

@media (min-width: 768px) {
  .ticket-page {
    padding: 20px 24px 32px;
  }

  .ticket-page-layout {
    grid-template-columns: minmax(260px, 340px) 1fr;
    gap: 40px;
    align-items: start;
  }

  .ticket-page-cover {
    position: sticky;
    top: 16px;
  }

  .ticket-map-section iframe {
    height: 360px;
  }
}

@media (max-width: 767px) {
  .ticket-option-body.is-touching,
  .ticket-option-body:active,
  .ticket-slot-label.is-touching,
  .ticket-slot-label:active,
  .ticket-back.is-touching,
  .ticket-back:active,
  .ticket-qty-btn.is-touching,
  .ticket-qty-btn:active,
  .ticket-coupon-btn.is-touching,
  .ticket-coupon-btn:active {
    transform: scale(0.97);
  }

  .ticket-slot-label.is-touching,
  .ticket-slot-label:active {
    background: rgba(255, 255, 255, 0.14);
  }

  .ticket-option-body.is-touching,
  .ticket-option-body:active {
    background: rgba(255, 255, 255, 0.1);
  }

  .ticket-qty-btn,
  .ticket-coupon-btn,
  .ticket-back,
  .ticket-slot-label,
  .ticket-option {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }
}
