.ticket-detail-page {
  background: #f7f4ed;
  color: #20332a;
  min-height: 70vh;
}

.ticket-detail-container {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.ticket-detail-hero {
  padding: 150px 0 72px;
  background: linear-gradient(135deg, #173c32 0%, #2f725e 70%, #d3a831 150%);
  color: #fff;
}

.ticket-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.ticket-breadcrumb a {
  color: inherit;
}

.ticket-detail-kicker,
.ticket-section-heading p {
  margin: 0 0 10px;
  color: #e4bd50;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.ticket-detail-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #fff;
  font-size: clamp(2.3rem, 6vw, 4.8rem);
  line-height: 1.04;
}

.ticket-detail-provider {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.ticket-detail-description {
  max-width: 760px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
  line-height: 1.75;
}

.ticket-detail-starting-price {
  display: inline-flex;
  gap: 8px;
  margin-top: 28px;
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.ticket-schedule-section {
  padding: 72px 0 96px;
}

.ticket-section-heading h2 {
  margin: 0 0 32px;
  color: #20332a;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

.ticket-schedule-grid {
  display: grid;
  gap: 22px;
}

.ticket-schedule-card,
.ticket-empty-state {
  padding: 28px;
  border: 1px solid #e1ddd2;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 50px rgba(32, 51, 42, 0.08);
}

.ticket-schedule-head,
.ticket-price-row,
.ticket-price-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.ticket-schedule-head p {
  margin: 4px 0 0;
}

.ticket-schedule-date {
  color: #20332a;
  font-size: 1.25rem;
  font-weight: 800;
}

.ticket-stock {
  padding: 8px 12px;
  border-radius: 999px;
  background: #e6f5ed;
  color: #17653f;
  font-size: 0.82rem;
  font-weight: 700;
}

.ticket-stock.is-closed {
  background: #f4e8e5;
  color: #9d3d2f;
}

.ticket-location {
  margin: 18px 0 24px;
  color: #607068;
}

.ticket-price-list {
  border-top: 1px solid #ece8df;
}

.ticket-price-row {
  padding: 18px 0;
  border-bottom: 1px solid #ece8df;
}

.ticket-original-price {
  display: block;
  margin-top: 4px;
  color: #8b948f;
  font-size: 0.82rem;
  text-decoration: line-through;
}

.ticket-price-action a {
  padding: 10px 16px;
  border-radius: 999px;
  background: #d4aa35;
  color: #17281f;
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 640px) {
  .ticket-detail-hero {
    padding-top: 120px;
  }

  .ticket-schedule-card {
    padding: 20px;
  }

  .ticket-schedule-head,
  .ticket-price-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .ticket-price-action {
    width: 100%;
  }
}

/* ---------------------------------------------------------------------------
   Seksi detail event: itinerary, fasilitas, meeting point, galeri.
   Hanya tampil untuk produk yang punya TicketEventDetail terbit; produk tiket
   biasa memakai halaman yang sama tanpa blok-blok ini.
   --------------------------------------------------------------------------- */

.ticket-detail-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
  color: #fff;
}

.ticket-detail-facts li {
  font-weight: 700;
}

.ticket-detail-facts span {
  display: block;
  margin-bottom: 2px;
  color: #e4bd50;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ticket-anchor-strip {
  position: sticky;
  top: 0;
  z-index: 5;
  border-bottom: 1px solid #e6ecf4;
  background: #fff;
}

.ticket-anchor-strip .ticket-detail-container {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  padding-top: 14px;
  padding-bottom: 14px;
}

.ticket-anchor-strip a {
  color: #0f3a78;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.ticket-anchor-strip a:hover {
  text-decoration: underline;
}

.ticket-event-section {
  padding-top: 46px;
}

.ticket-event-subheadline {
  color: #64748b;
  font-weight: 600;
  text-transform: none;
  letter-spacing: normal;
  font-size: 1rem;
}

.ticket-event-prose {
  max-width: 78ch;
  color: #334155;
  line-height: 1.75;
}

.ticket-event-notes {
  padding: 18px 20px;
  border-left: 4px solid #e4bd50;
  border-radius: 0 12px 12px 0;
  background: #fffaf0;
}

.ticket-itinerary-stack {
  display: grid;
  gap: 18px;
}

.ticket-itinerary-day {
  padding: 22px 24px;
  border: 1px solid #e2eaf4;
  border-radius: 16px;
  background: #fff;
}

.ticket-itinerary-day-head span {
  display: inline-block;
  margin-bottom: 8px;
  padding: 4px 12px;
  border-radius: 999px;
  background: #0f3a78;
  color: #fff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ticket-itinerary-day-head h3 {
  margin: 0;
  font-size: 1.25rem;
}

.ticket-itinerary-day-head p {
  margin: 8px 0 0;
  color: #64748b;
}

.ticket-itinerary-items {
  margin: 18px 0 0;
  padding: 0 0 0 4px;
  list-style: none;
  display: grid;
  gap: 12px;
}

.ticket-itinerary-item {
  display: grid;
  grid-template-columns: minmax(84px, 132px) 1fr;
  gap: 16px;
  padding-top: 12px;
  border-top: 1px solid #eef3f9;
}

.ticket-itinerary-item strong {
  color: #0f3a78;
}

.ticket-itinerary-item p {
  margin: 0;
  color: #334155;
}

.ticket-facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.ticket-facility-col {
  padding: 22px 24px;
  border: 1px solid #e2eaf4;
  border-radius: 16px;
  background: #fff;
}

.ticket-facility-col h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.ticket-facility-col ul {
  margin: 0;
  padding-left: 20px;
  color: #334155;
  line-height: 1.8;
}

.ticket-facility-include h3 {
  color: #067647;
}

.ticket-facility-exclude h3 {
  color: #b42318;
}

/* Tabel meeting point bisa lebih lebar dari layar ponsel; yang menggulir
   hanya pembungkusnya, supaya halaman tidak ikut bergeser mendatar. */
.ticket-pickup-table-wrap {
  overflow-x: auto;
  border: 1px solid #e2eaf4;
  border-radius: 16px;
  background: #fff;
}

.ticket-pickup-table {
  width: 100%;
  min-width: 620px;
  border-collapse: collapse;
}

.ticket-pickup-table th,
.ticket-pickup-table td {
  padding: 13px 16px;
  text-align: left;
  border-bottom: 1px solid #eef3f9;
}

.ticket-pickup-table th {
  background: #f8fafc;
  color: #344054;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
}

.ticket-pickup-table tbody tr:last-child td {
  border-bottom: 0;
}

.ticket-gallery-group + .ticket-gallery-group {
  margin-top: 28px;
}

.ticket-gallery-group h3 {
  margin: 0 0 14px;
  font-size: 1.05rem;
}

.ticket-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.ticket-gallery-item {
  margin: 0;
  overflow: hidden;
  border: 1px solid #e2eaf4;
  border-radius: 14px;
  background: #fff;
}

.ticket-gallery-item img {
  display: block;
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.ticket-gallery-item figcaption {
  padding: 10px 12px;
  color: #64748b;
  font-size: 0.85rem;
}

@media (max-width: 575px) {
  .ticket-itinerary-item {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
