/* 🎭 Theaters & Concerts pages (on top of shop-orders.css) */
.th-bookings-card {
    margin: 16px 12px; padding: 16px; border: 1px solid #ececec; border-radius: 14px;
    display: flex; align-items: center; gap: 14px; text-decoration: none; color: #222; background: #fff;
}
.th-bookings-icon {
    width: 52px; height: 52px; border-radius: 50%; background: #f3f3f3; color: #555;
    display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0;
}
.th-bookings-text { flex: 1; min-width: 0; }
.th-bookings-title { font-size: 16px; }
.th-bookings-title b { color: var(--order-ready); font-weight: 600; }
.th-bookings-sub { font-size: 13.5px; color: var(--order-muted); margin-top: 2px; }
.th-bookings-card .fa-chevron-right { color: #333; }

.th-section-title { font-size: 16px; font-weight: 700; padding: 8px 12px 4px; }

.th-event { border-bottom: 8px solid #f5f5f5; }
.th-event-link { display: block; color: inherit; text-decoration: none; cursor: pointer; }
.th-event-head { display: flex; gap: 14px; padding: 16px 12px; }
.th-poster {
    width: 104px; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 8px; flex-shrink: 0;
    background: linear-gradient(135deg, #ffe7a3, #ffc2d4); border: 1px solid #f0f0f0;
}
.th-poster.is-empty { min-height: 138px; }
a.btn-yellow { text-decoration: none; }
.th-event-info { flex: 1; min-width: 0; }
.th-event-date { font-size: 18px; font-weight: 600; margin-bottom: 6px; }
.th-event-title { font-size: 15px; font-weight: 600; line-height: 1.35; margin-bottom: 8px; }
.th-meta { font-size: 13.5px; color: #777; display: flex; align-items: flex-start; gap: 8px; margin-top: 5px; line-height: 1.4; }
.th-meta i { width: 16px; text-align: center; margin-top: 2px; color: #999; }

.th-sale-row {
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 12px; border-top: 1px solid var(--order-line); font-size: 14.5px;
}
.th-sale-row .th-sale-text { display: flex; align-items: center; gap: 8px; min-width: 0; }
.th-sale-row .btn-yellow { padding: 9px 26px; font-size: 15px; flex-shrink: 0; }
.is-open { color: var(--order-ready); }
.is-soldout { color: #d64545; }
.is-closed { color: #555; }
.is-draft { color: #8a6400; font-weight: 600; }
.th-notice.is-draft { background: #fff6d6; color: #6b4e00; }
.th-notice.is-draft a { color: #6b4e00; }
.is-upcoming { color: #222; font-weight: 600; font-size: 13.5px; }

.th-hero { position: relative; background: #f3eef8; overflow: hidden; }
.th-hero-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(22px) saturate(1.2); opacity: .65; }
.th-hero img { position: relative; display: block; margin: 0 auto; max-height: 420px; max-width: 72%; padding: 22px 0; object-fit: contain; }
.th-hero .th-hero-empty { position: relative; height: 200px; display: flex; align-items: center; justify-content: center; color: #b08fc0; font-size: 40px; }
.th-flag {
    position: absolute; top: 0; right: 14px; z-index: 2; background: #ffde5b; color: #222;
    font-size: 11px; font-weight: 700; text-align: center; padding: 6px 7px 10px; line-height: 1.2;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 50% 86%, 0 100%);
}
.th-flag i { display: block; font-size: 15px; margin-bottom: 2px; }

.th-detail-block { padding: 16px 12px; border-bottom: 1px solid var(--order-line); }
.th-detail-title { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.th-link { color: var(--order-accent); text-decoration: underline; cursor: pointer; background: none; border: none; font: inherit; padding: 0; }
.th-members-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 15px; }

.th-round { display: flex; align-items: center; gap: 12px; padding: 16px 12px; border-bottom: 1px solid var(--order-line); }
.th-round-info { flex: 1; min-width: 0; }
.th-round-name { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.th-round-date { font-size: 13.5px; color: var(--order-muted); line-height: 1.6; }
.th-round .btn-yellow { padding: 12px 30px; font-size: 16px; flex-shrink: 0; }
.th-notice { padding: 12px; font-size: 14px; color: #d64545; line-height: 1.5; }
.th-notice a { color: inherit; }

.th-schedule-row { padding: 6px 0; }
.th-schedule-row .k { font-size: 14px; color: var(--order-muted); font-weight: 600; }
.th-schedule-row .v { font-size: 14.5px; color: #555; margin-top: 2px; }
.th-desc { font-size: 14.5px; color: #333; line-height: 1.7; white-space: pre-wrap; word-break: break-word; }

.th-perks { display: grid; gap: 10px; }
.th-perk { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: #444; line-height: 1.5; }
.th-perk i { width: 30px; height: 30px; border-radius: 50%; background: #fff4d6; color: #c9932c; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 14px; }
.th-perk b { color: #222; }

.th-rewards { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.th-reward {
    display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 5px; border-radius: 999px;
    background: #fff8ea; border: 1px solid #f6e3b8; font-size: 12.5px; color: #6b5420;
}
.th-reward img { width: 22px; height: 22px; border-radius: 50%; object-fit: cover; }
.th-reward i { width: 22px; text-align: center; }

/* zone select */
.th-seatmap { background: #f6f3f9; }
.th-seatmap img { display: block; width: 100%; max-height: 300px; object-fit: contain; }
.th-zone { display: flex; align-items: center; gap: 12px; padding: 16px 12px; border-bottom: 1px solid var(--order-line); cursor: pointer; }
.th-zone.is-disabled { cursor: not-allowed; }
.th-zone-info { flex: 1; min-width: 0; }
.th-zone-name { font-size: 16px; }
.th-zone-left { font-size: 14.5px; margin-top: 3px; color: var(--order-ready); }
.th-zone.is-disabled .th-zone-left { color: #d64545; }
.th-zone-note { font-size: 12.5px; color: var(--order-muted); margin-top: 3px; }
.th-zone-price { font-size: 16px; white-space: nowrap; }
.th-zone.is-disabled .th-zone-price { color: #aaa; }
.th-radio { width: 26px; height: 26px; border-radius: 50%; border: 2px solid var(--order-accent); flex-shrink: 0; display: flex; align-items: center; justify-content: center; }
.th-zone.is-disabled .th-radio { border-color: #ccc; }
.th-zone.is-selected .th-radio { background: var(--order-accent); }
.th-zone.is-selected .th-radio::after { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: #fff; font-size: 13px; }

.th-buy-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; background: #fff; box-shadow: 0 -2px 10px rgba(0,0,0,.05); padding: 10px 12px calc(12px + env(safe-area-inset-bottom, 0px)); }
.th-buy-inner { max-width: 720px; margin: 0 auto; }
.th-buy-note { text-align: center; font-size: 13px; color: var(--order-accent); margin-bottom: 10px; }
.th-qty-row { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-bottom: 12px; }
.th-qty-label { font-size: 16px; color: var(--order-muted); font-weight: 600; }
.th-stepper { display: flex; align-items: center; border: 1.5px solid #ddd; border-radius: 999px; overflow: hidden; }
.th-stepper button { width: 46px; height: 42px; border: none; background: none; font-size: 22px; color: var(--order-accent); cursor: pointer; }
.th-stepper button:disabled { color: #ccc; cursor: not-allowed; }
.th-stepper span { width: 50px; text-align: center; font-size: 18px; border-left: 1.5px solid #ddd; border-right: 1.5px solid #ddd; line-height: 42px; }

/* bookings */
.th-tabs { display: flex; position: sticky; top: calc(56px + env(safe-area-inset-top, 0px)); z-index: 50; background: #fff; border-bottom: 1px solid var(--order-line); }
.th-tab { flex: 1; text-align: center; padding: 14px 0 12px; font-size: 16px; color: #bbb; background: none; border: none; font-family: inherit; cursor: pointer; }
.th-tab.is-active { color: #222; font-weight: 600; }
.th-tab.is-active span { box-shadow: inset 0 -4px 0 var(--order-yellow); padding-bottom: 2px; }
.th-booking-meta { display: flex; border-top: 1px solid var(--order-line); font-size: 14px; color: #777; }
.th-booking-meta > div { flex: 1; padding: 12px; }
.th-booking-meta > div + div { border-left: 1px solid var(--order-line); }
.th-status { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px; border-top: 1px solid var(--order-line); font-size: 14.5px; }
.th-status i { margin-right: 6px; }
.th-status .btn-yellow { padding: 8px 18px; font-size: 14px; }
.status-paid { color: var(--order-ready); }
.status-wait { color: var(--order-accent); }
.status-cancel { color: #d64545; }

.th-kv { display: flex; justify-content: space-between; gap: 12px; font-size: 14.5px; padding: 5px 0; }
.th-kv .k { color: var(--order-muted); white-space: nowrap; }
.th-kv .v { text-align: right; word-break: break-all; }
.th-copy { color: var(--order-accent); margin-left: 8px; cursor: pointer; background: none; border: none; font: inherit; padding: 0; }
.th-wait-msg { color: #d64545; text-align: center; font-size: 14.5px; line-height: 1.6; padding: 18px 16px; }

.th-watch {
    display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 14px; text-decoration: none;
    background: #fff8ea; border: 1px solid #f6e3b8; color: #222;
}
.th-watch > i:first-child { font-size: 26px; width: 34px; text-align: center; }
.th-watch-text { flex: 1; min-width: 0; }
.th-watch-title { font-weight: 700; font-size: 15px; }
.th-watch-sub { font-size: 12.5px; color: #8a7340; margin-top: 2px; word-break: break-word; }

/* ticket */
.th-ticket-wrap { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; padding: 30px 12px 12px; scrollbar-width: none; }
.th-ticket-wrap::-webkit-scrollbar { display: none; }
.th-ticket {
    flex: 0 0 calc(100% - 24px); max-width: 380px; margin: 0 auto; scroll-snap-align: center;
    background: #fff; border-radius: 14px; box-shadow: 0 4px 22px rgba(0,0,0,.08); padding: 22px 22px 18px;
}
.th-ticket-idx { text-align: center; font-size: 18px; margin-bottom: 14px; }
.th-qr { display: flex; justify-content: center; }
.th-qr img, .th-qr canvas { width: 200px !important; height: 200px !important; }
.th-ticket-name { text-align: center; font-size: 18px; font-weight: 600; margin: 14px 0 4px; }
.th-ticket-code { text-align: center; font-size: 12px; color: var(--order-muted); letter-spacing: 1px; }
.th-ticket-cut { border-top: 2px dashed #e5e5e5; margin: 16px -6px; }
.th-ticket-title { text-align: center; font-size: 15px; line-height: 1.4; margin-bottom: 12px; }
.th-dots { display: flex; justify-content: center; gap: 8px; padding: 14px 0; }
.th-dots span { width: 9px; height: 9px; border-radius: 50%; background: #ccc; }
.th-dots span.is-active { background: var(--order-yellow); }

/* members */
.th-member { display: flex; align-items: center; gap: 16px; padding: 14px 12px; border-bottom: 1px solid var(--order-line); text-decoration: none; color: inherit; }
.th-member img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; border: 3px solid #ffde5b; background: #f3f3f3; }
.th-member-name { font-size: 17px; font-weight: 700; text-transform: uppercase; }
.th-member-full { font-size: 15px; color: #555; margin-top: 4px; }

/* success */
.th-success { margin: 30px 16px; padding: 28px 20px; box-shadow: 0 2px 16px rgba(0,0,0,.06); border-radius: 6px; }
.th-success-icon { text-align: center; font-size: 74px; color: #8cc63f; }
.th-success-title { text-align: center; color: #8cc63f; font-weight: 700; font-size: 17px; margin: 18px 0 16px; padding-top: 16px; border-top: 2px dashed #e5e5e5; }
