/* SeatWP — tickets-only checkout. Colours follow Settings → Display (--swp-buy-*) with SeatWP cyan as fallback. */
.esm-tix { --tx-acc: var(--swp-buy-bg, #0891b2); --tx-acc-h: var(--swp-buy-hover, #0b6f87); --tx-on: var(--swp-buy-text, #fff); --tx-ink: #1f2328; --tx-mute: #6b7280; --tx-line: #e6e8eb; --tx-soft: #f3fafc; font-size: 15px; color: var(--tx-ink); margin: 8px 0 40px; }
.esm-tix *, .esm-tix *::before, .esm-tix *::after { box-sizing: border-box; }
.esm-tix button { font: inherit; cursor: pointer; }

/* stepper */
.esm-tix-steps { list-style: none; margin: 0 0 22px; padding: 0; display: flex; gap: 8px; flex-wrap: wrap; }
.esm-tix-steps li { display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: #f2f3f5; color: var(--tx-mute); font-weight: 600; font-size: 14px; margin: 0; }
.esm-tix-steps li span { width: 26px; height: 26px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; font-size: 13px; }
.esm-tix-steps li.is-on { background: var(--tx-acc); color: var(--tx-on); }
.esm-tix-steps li.is-on span { color: var(--tx-acc); }
.esm-tix-steps li.is-done { color: var(--tx-acc); background: var(--tx-soft); }
.esm-tix-steps li.is-done span { background: var(--tx-acc); color: var(--tx-on); }

.esm-tix-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 26px; align-items: start; }
.esm-tix-h { font-size: 22px; margin: 0 0 6px; line-height: 1.25; }
.esm-tix-sub { color: var(--tx-mute); margin: 0 0 16px; }

/* ticket cards */
.esm-tix-list { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; }
.esm-tix-card { border: 1.5px solid var(--tx-line); border-radius: 16px; padding: 16px 18px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.esm-tix-card.is-sel { border-color: var(--tx-acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tx-acc) 14%, transparent); }
.esm-tix-card.is-off { opacity: .55; }
.esm-tix-card .t { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.esm-tix-card h3 { font-size: 17px; margin: 0; line-height: 1.3; }
.esm-tix-card .d { margin: 6px 0 0; color: var(--tx-mute); font-size: 14px; }
.esm-tix-card .e { margin: 8px 0 0; color: var(--tx-acc); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.esm-tix-card .f { display: flex; justify-content: space-between; align-items: center; margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--tx-line); }
.esm-tix-card .f strong { font-size: 19px; }
.b { font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; white-space: nowrap; }
.b-off { background: #f6e3e3; color: #8a1f1f; } .b-warn { background: #fdeedd; color: #7a4206; }

/* quantity stepper */
.esm-tix .q { display: inline-flex; align-items: center; border: 1.5px solid var(--tx-line); border-radius: 999px; overflow: hidden; }
.esm-tix .q button { width: 40px; height: 40px; border: 0; background: #fff; color: var(--tx-ink); font-size: 20px; line-height: 1; padding: 0; }
.esm-tix .q button.p { background: var(--tx-acc); color: var(--tx-on); }
.esm-tix .q button:disabled { opacity: .35; cursor: not-allowed; }
.esm-tix .q output { min-width: 38px; text-align: center; font-weight: 700; font-size: 16px; }

/* details form */
.esm-tix-form { display: grid; gap: 14px; max-width: 560px; }
.esm-f { display: flex; flex-direction: column; gap: 6px; margin: 0; }
.esm-f span { font-weight: 600; font-size: 14px; }
.esm-f input { height: 48px; border: 1.5px solid var(--tx-line); border-radius: 12px; padding: 0 14px; font-size: 16px; background: #fff; color: var(--tx-ink); width: 100%; }
.esm-f input:focus { outline: 0; border-color: var(--tx-acc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--tx-acc) 18%, transparent); }
.esm-f em { font-style: normal; font-size: 13px; color: #b42318; min-height: 0; }
.esm-f.is-bad input { border-color: #d92d20; }
.esm-f.is-ok input { border-color: #12a150; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2312a150' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 42px; }
.esm-hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }

/* review + promo + payment */
.esm-tix-review { display: grid; gap: 10px; margin: 14px 0 18px; }
.esm-tix-review .r { position: relative; border: 1px solid var(--tx-line); border-radius: 14px; padding: 14px 44px 14px 16px; display: flex; flex-direction: column; gap: 2px; background: #fafbfc; }
.esm-tix-review .r span { font-weight: 600; } .esm-tix-review .r small { color: var(--tx-mute); }
.esm-tix-edit { position: absolute; right: 10px; top: 10px; width: 30px; height: 30px; border-radius: 8px; border: 1px solid var(--tx-line); background: #fff; color: var(--tx-mute); }
.esm-tix-promo { display: flex; gap: 8px; max-width: 420px; }
.esm-tix-promo input { flex: 1; height: 44px; border: 1.5px dashed #c9ccd1; border-radius: 12px; padding: 0 14px; font-size: 15px; text-transform: uppercase; }
.esm-tix-promo button { height: 44px; padding: 0 18px; border-radius: 12px; border: 1.5px solid var(--tx-ink); background: #fff; color: var(--tx-ink); font-weight: 700; }
.esm-tix-promo-msg { font-size: 13px; margin: 6px 0 14px; min-height: 1px; } .esm-tix-promo-msg.is-ok { color: #12753b; } .esm-tix-promo-msg.is-err { color: #b42318; }
.esm-tix-pay { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--tx-acc); background: var(--tx-soft); border-radius: 14px; padding: 14px 16px; max-width: 560px; color: var(--tx-acc); }
.esm-tix-pay div { flex: 1; color: var(--tx-ink); } .esm-tix-pay small { display: block; color: var(--tx-mute); font-size: 13px; }
.esm-tix-radio { width: 20px; height: 20px; border-radius: 50%; border: 6px solid var(--tx-acc); background: #fff; flex: 0 0 auto; }
.esm-tix-note { color: var(--tx-mute); font-size: 13px; margin: 10px 0 0; max-width: 560px; }

/* summary */
.esm-tix-sum { position: sticky; top: 24px; }
.esm-tix-sum-in { border: 1px solid var(--tx-line); border-radius: 18px; padding: 20px; background: #fff; box-shadow: 0 12px 30px rgba(17, 24, 39, .06); display: flex; flex-direction: column; gap: 12px; }
.esm-tix-sum-h { font-weight: 700; font-size: 17px; }
.esm-tix-timer { display: flex; align-items: center; gap: 8px; font-size: 13px; padding: 9px 12px; border-radius: 10px; background: var(--tx-soft); color: var(--tx-acc); }
.esm-tix-timer[hidden] { display: none; }
.esm-tix-timer b { font-variant-numeric: tabular-nums; }
.esm-tix-timer.is-low { background: #fdeedd; color: #7a4206; }
.esm-tix-lines, .esm-tix-bd { display: flex; flex-direction: column; gap: 8px; }
.esm-tix .l { display: flex; justify-content: space-between; gap: 10px; font-size: 14.5px; }
.esm-tix .l em { font-style: normal; color: var(--tx-mute); }
.esm-tix .l.sub { color: var(--tx-mute); } .esm-tix .l.disc { color: #12753b; }
.esm-tix-none { color: var(--tx-mute); font-size: 14px; margin: 0; }
.esm-tix-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--tx-line); padding-top: 12px; }
.esm-tix-total span { color: var(--tx-mute); } .esm-tix-total strong { font-size: 24px; }
.esm-tix-err { margin: 0; font-size: 13.5px; color: #b42318; display: none; } .esm-tix-err.is-on { display: block; }
.esm-tix-next { height: 52px; border: 0; border-radius: 14px; background: var(--tx-acc); color: var(--tx-on); font-weight: 700; font-size: 16px; }
.esm-tix-next:hover { background: var(--tx-acc-h); }
.esm-tix-next.is-dim { opacity: .55; }
.esm-tix-next:disabled { opacity: .7; cursor: progress; }
.esm-tix-back { height: 40px; border: 0; background: none; color: var(--tx-mute); font-weight: 600; }

/* mobile bottom bar */
.esm-tix-bar { display: none; }
@media (max-width: 900px) {
	.esm-tix-grid { grid-template-columns: 1fr; }
	.esm-tix-sum { position: static; }
	.esm-tix-sum .esm-tix-next { display: none; }
	.esm-tix-steps li { font-size: 0; padding: 6px; gap: 0; } .esm-tix-steps li.is-on { font-size: 13px; padding: 6px 12px 6px 6px; gap: 8px; }
	.esm-tix { padding-bottom: 84px; }
	.esm-tix-bar { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--tx-line); padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px)); align-items: center; justify-content: space-between; gap: 12px; box-shadow: 0 -8px 24px rgba(17, 24, 39, .08); }
	.esm-tix-bar span { display: block; font-size: 12.5px; color: var(--tx-mute); } .esm-tix-bar strong { font-size: 18px; }
	.esm-tix-bar button { height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--tx-acc); color: var(--tx-on); font-weight: 700; font-size: 15px; }
	.esm-tix-card .f strong { font-size: 17px; }
}

/* ---- polish: panels, two-column form, clearer review ---- */
.esm-tix-pane[data-pane="2"], .esm-tix-pane[data-pane="3"] { background: #fff; border: 1px solid var(--tx-line); border-radius: 18px; padding: 24px; box-shadow: 0 12px 30px rgba(17, 24, 39, .04); }
.esm-tix-form { grid-template-columns: 1fr 1fr; max-width: none; gap: 16px 18px; }
.esm-f-wide { grid-column: 1 / -1; }
.esm-f small { font-size: 12.5px; color: var(--tx-mute); }
.esm-f input::placeholder, .esm-tix-promo input::placeholder { color: #a3a8b0; text-transform: none; }
.esm-tix-lab { font-weight: 700; font-size: 14px; margin: 18px 0 8px; }
.esm-tix-review { margin-top: 16px; }
.esm-tix-review .r { padding: 14px 16px; gap: 4px; background: #fafbfc; }
.esm-tix-review .rh { display: flex; justify-content: space-between; align-items: center; font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--tx-mute); margin-bottom: 4px; }
.esm-tix-review .r b { font-size: 16px; }
.esm-tix-review .rl { display: flex; justify-content: space-between; font-size: 15px; padding: 2px 0; }
.esm-tix-review .rl em { font-style: normal; color: var(--tx-mute); }
.esm-tix-edit { position: static; width: auto; height: auto; padding: 4px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: var(--tx-acc); border-color: color-mix(in srgb, var(--tx-acc) 35%, #fff); text-transform: none; letter-spacing: 0; }
.esm-tix-promo { max-width: none; }
.esm-tix-promo button { border-color: var(--tx-acc); color: var(--tx-acc); }
.esm-tix-promo button:hover { background: var(--tx-soft); }
.esm-tix-pay, .esm-tix-note { max-width: none; }
.esm-tix-trust { margin: 2px 0 0; display: flex; align-items: center; justify-content: center; gap: 6px; font-size: 12.5px; color: var(--tx-mute); }
.esm-tix-steps li.is-done span { font-size: 14px; }
@media (max-width: 600px) {
	.esm-tix-form { grid-template-columns: 1fr; }
	.esm-tix-pane[data-pane="2"], .esm-tix-pane[data-pane="3"] { padding: 18px 16px; border-radius: 16px; }
	.esm-tix-promo button { padding: 0 14px; }
}

/* ticket holders */
.esm-tix-holders { margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--tx-line); }
.esm-tix-h3 { font-size: 18px; margin: 0 0 4px; }
.esm-tix-hlist { display: grid; gap: 12px; }
.esm-tix-holder { border: 1px solid var(--tx-line); border-radius: 14px; padding: 14px 16px; background: #fafbfc; }
.esm-tix-holder .hh { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.esm-tix-holder .no { width: 26px; height: 26px; border-radius: 50%; background: var(--tx-acc); color: var(--tx-on); font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; }
.esm-tix-holder .hh em { font-style: normal; font-size: 13px; color: var(--tx-mute); background: #fff; border: 1px solid var(--tx-line); border-radius: 999px; padding: 2px 10px; }
.esm-tix-mine { margin-left: auto; border: 1px solid color-mix(in srgb, var(--tx-acc) 35%, #fff); background: #fff; color: var(--tx-acc); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 600; }
.esm-tix-holder .hg { display: grid; grid-template-columns: 1.2fr 1.4fr 1fr; gap: 12px; }
.esm-tix-holder .esm-f input { height: 44px; font-size: 15px; }
.esm-tix-review .rl .rm { color: var(--tx-mute); font-size: 13.5px; }
@media (max-width: 760px) { .esm-tix-holder .hg { grid-template-columns: 1fr; } }
.esm-f span .opt { font-style: normal; font-weight: 500; color: var(--tx-mute); font-size: 12px; }
.esm-tix-holder .esm-f.is-ok input[type=date] { background-image: none; padding-right: 10px; }
.esm-tix-holder .hg { align-items: start; }

/* Touch screens (phones, tablets): 44px tap targets, 16px inputs so iOS
   doesn't zoom in when a field is tapped. */
@media (pointer: coarse), (max-width: 900px) {
	.esm-tix .q button { width: 44px; height: 44px; }
	.esm-tix input:not(.esm-hp), .esm-tix-holder .esm-f input { font-size: 16px; }
	.esm-tix-holder .esm-f input { height: 46px; }
	.esm-tix-mine, .esm-tix-edit { padding: 8px 14px; }
	.esm-tix-back { height: 46px; }
}
/* Tablet portrait: two columns for holder fields, birthdate on its own row. */
@media (min-width: 601px) and (max-width: 900px) {
	.esm-tix-holder .hg { grid-template-columns: 1fr 1fr; }
	.esm-tix-holder .hg .esm-f:last-child { grid-column: 1 / -1; max-width: 50%; }
}

/* Settings → Display → Tickets only */
.esm-tix { background: var(--tx-page, transparent); border-radius: calc(var(--tx-radius, 16px) + 4px); padding: 18px; }
.esm-tix-card, .esm-tix-summary, .esm-tix-pane[data-pane="2"], .esm-tix-pane[data-pane="3"] { background: var(--tx-card, #fff); border-radius: var(--tx-radius, 16px); }
.esm-tix-no-timer .esm-tix-timer { display: none !important; }
.esm-tix-no-trust .esm-tix-trust { display: none !important; }
@media (max-width: 600px) { .esm-tix { padding: 12px 10px; border-radius: 0; margin-left: -4px; margin-right: -4px; } }

/* Themes style every <button> (e.g. Hello Elementor: pink border, transparent
   background, display:inline-block that beats the [hidden] attribute). */
.esm-tix [hidden] { display: none !important; }
.esm-tix button { text-transform: none; letter-spacing: 0; text-shadow: none; box-shadow: none; white-space: normal; transition: none; }
.esm-tix button.esm-tix-next, .esm-tix .esm-tix-bar button { font-size: 16px; font-weight: 700; }
.esm-tix button.esm-tix-back { font-size: 15px; font-weight: 600; }
.esm-tix .q button { font-size: 20px; font-weight: 400; padding: 0; }
.esm-tix .esm-tix-promo button { font-size: 15px; font-weight: 700; padding: 0 18px; }
.esm-tix button.esm-tix-edit, .esm-tix button.esm-tix-mine { font-size: 12.5px; font-weight: 600; }
.esm-tix button.esm-tix-next, .esm-tix button.esm-tix-next:focus, .esm-tix .esm-tix-bar button, .esm-tix .esm-tix-bar button:hover, .esm-tix .esm-tix-bar button:focus { background: var(--tx-acc) !important; color: var(--tx-on) !important; border: 0 !important; }
.esm-tix button.esm-tix-next:hover { background: var(--tx-acc-h, var(--tx-acc)) !important; color: var(--tx-on) !important; border: 0 !important; }
.esm-tix button.esm-tix-back, .esm-tix button.esm-tix-back:hover, .esm-tix button.esm-tix-back:focus { background: none !important; border: 0 !important; color: var(--tx-mute) !important; }
.esm-tix .q button, .esm-tix .q button:hover, .esm-tix .q button:focus { background: #fff !important; color: var(--tx-ink) !important; border: 0 !important; border-radius: 0 !important; }
.esm-tix .q button.p, .esm-tix .q button.p:hover, .esm-tix .q button.p:focus { background: var(--tx-acc) !important; color: var(--tx-on) !important; }
.esm-tix .esm-tix-promo button, .esm-tix .esm-tix-promo button:focus { background: #fff !important; color: var(--tx-acc) !important; border: 1.5px solid var(--tx-acc) !important; }
.esm-tix .esm-tix-promo button:hover { background: var(--tx-soft) !important; color: var(--tx-acc) !important; border: 1.5px solid var(--tx-acc) !important; }
.esm-tix button.esm-tix-edit, .esm-tix button.esm-tix-edit:hover, .esm-tix button.esm-tix-mine, .esm-tix button.esm-tix-mine:hover { background: #fff !important; color: var(--tx-acc) !important; border: 1px solid color-mix(in srgb, var(--tx-acc) 35%, #fff) !important; }

/* ---- checkout questions (3.4) ---- */
.esm-cf { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; margin-top: 16px; }
.esm-cf .esm-f-wide { grid-column: 1 / -1; }
.esm-cf .esm-f select, .esm-cf .esm-f textarea { width: 100%; border: 1.5px solid var(--tx-line, #d0d5dd); border-radius: 12px; padding: 10px 14px; font-size: 16px; background: #fff; color: var(--tx-ink, #1f2328); font-family: inherit; }
.esm-cf .esm-f select { height: 48px; }
.esm-cf .esm-f textarea { min-height: 88px; resize: vertical; }
.esm-cf .esm-f select:focus, .esm-cf .esm-f textarea:focus { outline: 0; border-color: var(--tx-acc, #0891b2); }
.esm-cf .esm-f.is-bad select, .esm-cf .esm-f.is-bad textarea { border-color: #d92d20; }
.esm-cf .esm-cf-box { display: flex; gap: 10px; align-items: flex-start; font-weight: 600; font-size: 14px; cursor: pointer; }
.esm-cf .esm-cf-box input { width: 20px; height: 20px; margin: 1px 0 0; flex: 0 0 auto; accent-color: var(--tx-acc, #0891b2); }
.esm-cf .esm-cf-box span { font-weight: 600; }
@media (max-width: 640px) { .esm-cf { grid-template-columns: 1fr; } }
