/* Ticket detail extras on top of Wanderlust base.css */
.ticket-page { padding-bottom: 6rem; }
.ticket-carousel { position: relative; overflow: hidden; border-radius: 1rem; background: #111827; width: 100%; }
.ticket-viewport { position: relative; aspect-ratio: 16 / 9; }
@media (min-width: 64rem) {
  .ticket-viewport { aspect-ratio: 21 / 9; }
}
.ticket-track {
  display: flex;
  height: 100%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.ticket-slide { min-width: 100%; height: 100%; }
.ticket-slide img { width: 100%; height: 100%; object-fit: cover; }
.ticket-nav {
  position: absolute;
  top: 50%;
  z-index: 10;
  display: flex;
  height: 2.5rem;
  width: 2.5rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.9);
  color: #111827;
  transform: translateY(-50%);
  box-shadow: 0 8px 20px rgb(0 0 0 / 0.15);
}
.ticket-nav:hover { background: #fff; }
.dark .ticket-nav { background: rgb(17 24 39 / 0.85); color: #fff; }
.ticket-nav.prev { left: 0.75rem; }
.ticket-nav.next { right: 0.75rem; }
.ticket-counter {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  z-index: 10;
  border-radius: 9999px;
  background: rgb(0 0 0 / 0.55);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  color: #fff;
}
.ticket-thumbs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.5rem; margin-top: 0.75rem; }
.ticket-thumbs button {
  overflow: hidden;
  border-radius: 0.75rem;
  border: 2px solid transparent;
  opacity: 0.7;
}
.ticket-thumbs button.is-active,
.ticket-thumbs button:hover { opacity: 1; border-color: #0d9488; }
.ticket-thumbs img { width: 100%; height: 4.5rem; object-fit: cover; }
.ticket-price { font-size: 2.25rem; line-height: 1; font-weight: 700; color: #0d9488; }
.dark .ticket-price { color: #2dd4bf; }
.ticket-price small { margin-left: 0.25rem; font-size: 0.875rem; font-weight: 500; color: #6b7280; }
.ticket-svc {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 40rem) { .ticket-svc { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ticket-svc li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: 0.75rem;
  background: #f9fafb;
  padding: 0.75rem;
  font-size: 0.875rem;
  color: #374151;
}
.dark .ticket-svc li { background: #1f2937; color: #d1d5db; }
.ticket-svc svg { flex-shrink: 0; width: 1.25rem; height: 1.25rem; color: #0d9488; }
.ticket-pkg {
  width: 100%;
  text-align: left;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 1rem;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.dark .ticket-pkg { background: #111827; border-color: #374151; }
.ticket-pkg:hover,
.ticket-pkg.is-active { border-color: #0d9488; box-shadow: 0 0 0 3px rgb(13 148 136 / 0.15); }
.ticket-pkg .pkg-price { font-weight: 700; color: #0d9488; }
.ticket-tabs-bar {
  position: sticky;
  top: 4rem;
  z-index: 30;
  border-bottom: 1px solid #e5e7eb;
  background: rgb(249 250 251 / 0.95);
  backdrop-filter: blur(8px);
}
@media (min-width: 64rem) { .ticket-tabs-bar { top: 5rem; } }
.dark .ticket-tabs-bar { background: rgb(17 24 39 / 0.95); border-color: #374151; }
.ticket-tabs {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 1.5rem;
  overflow-x: auto;
}
.ticket-tabs a {
  flex: none;
  padding: 0.9rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
  border-bottom: 2px solid transparent;
}
.ticket-tabs a.is-active,
.ticket-tabs a:hover { color: #0d9488; border-bottom-color: #0d9488; }
.ticket-panel { scroll-margin-top: 8.5rem; }
.ticket-gallery { display: grid; gap: 0.75rem; }
@media (min-width: 40rem) { .ticket-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ticket-gallery img { width: 100%; border-radius: 0.75rem; aspect-ratio: 4 / 3; object-fit: cover; }
.ticket-note li { position: relative; padding-left: 1.25rem; margin-top: 0.5rem; color: #4b5563; }
.dark .ticket-note li { color: #d1d5db; }
.ticket-note li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.375rem;
  height: 0.375rem;
  border-radius: 9999px;
  background: #0d9488;
}
.ticket-buybar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  border-top: 1px solid #e5e7eb;
  background: rgb(255 255 255 / 0.95);
  backdrop-filter: blur(12px);
  padding: 0.75rem 1rem;
}
.dark .ticket-buybar { background: rgb(3 7 18 / 0.95); border-color: #1f2937; }
body:has(.ticket-buybar) footer { padding-bottom: 5.5rem; }
.ticket-flow { display: grid; gap: 1rem; }
@media (min-width: 40rem) {
  .ticket-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
  }
  .ticket-flow-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -0.7rem;
    width: 0.75rem;
    height: 0.75rem;
    border-top: 2px solid #0d9488;
    border-right: 2px solid #0d9488;
    transform: translateY(-50%) rotate(45deg);
  }
}
.ticket-flow-item {
  position: relative;
  text-align: center;
  border-radius: 1rem;
  background: #f0fdfa;
  padding: 1.5rem 1.25rem;
}
.dark .ticket-flow-item { background: #134e4a; }
.ticket-flow-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #0f766e;
}
.dark .ticket-flow-label { color: #5eead4; }
.ticket-flow-item h3 { color: #0f766e; }
.dark .ticket-flow-item h3 { color: #ccfbf1; }
.ticket-table-wrap { overflow-x: auto; margin-top: 1rem; }
.ticket-table { width: 100%; border-collapse: collapse; font-size: 0.875rem; }
.ticket-table th,
.ticket-table td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid #e5e7eb; }
.dark .ticket-table th,
.dark .ticket-table td { border-color: #374151; }
.ticket-table th { background: #f9fafb; font-weight: 600; color: #111827; }
.dark .ticket-table th { background: #111827; color: #f3f4f6; }
.ticket-table td { color: #4b5563; }
.dark .ticket-table td { color: #d1d5db; }
.ticket-table .col-qty,
.ticket-table .col-price { white-space: nowrap; text-align: right; }
.ticket-table .col-price { color: #0d9488; font-weight: 600; }
.ticket-notice { display: grid; gap: 1rem; }
.ticket-notice article {
  border-radius: 0.75rem;
  background: #f9fafb;
  padding: 1rem 1.25rem;
}
.dark .ticket-notice article { background: #111827; }
.ticket-notice h3 { font-size: 0.95rem; font-weight: 600; color: #111827; }
.dark .ticket-notice h3 { color: #fff; }
.ticket-notice p { margin-top: 0.35rem; font-size: 0.875rem; color: #4b5563; }
.dark .ticket-notice p { color: #d1d5db; }
.ticket-usage { display: grid; gap: 0.75rem; }
@media (min-width: 40rem) { .ticket-usage { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ticket-usage-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  border-radius: 1rem;
  background: #f9fafb;
  padding: 1.25rem;
}
.dark .ticket-usage-item { background: #111827; }
.ticket-steps { display: grid; gap: 1rem; }
@media (min-width: 40rem) { .ticket-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ticket-step-num {
  display: inline-flex;
  height: 1.75rem;
  width: 1.75rem;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  background: #ccfbf1;
  color: #0f766e;
  font-size: 0.75rem;
  font-weight: 700;
}
.dark .ticket-step-num { background: #134e4a; color: #5eead4; }
.items-start { align-items: flex-start; }
.whitespace-nowrap { white-space: nowrap; }
.scroll-mt-28 { scroll-margin-top: 7rem; }
