.ep-ticket-picker {width:100%;max-width:574px;margin:28px auto;color:#000;font-family:Inter,system-ui,sans-serif}
.ep-ticket-picker h2 {margin:0 0 12px}
.ep-ticket-picker form {background:#fff;border-radius:10px;overflow:hidden;box-shadow:0 4px 4px rgb(0 0 0 / 25%)}
.ep-ticket-option summary::-webkit-details-marker {display:none}
.ep-ticket-chevron {width:10px;height:10px;border:solid currentColor;border-width:0 1px 1px 0;transform:rotate(45deg);margin-block-end:4px}
.ep-ticket-option[open] .ep-ticket-chevron {transform:rotate(225deg);margin-block:4px 0}
.ep-ticket-details p {margin:0 0 4px}
.ep-ticket-step:disabled,.ep-ticket-submit:disabled {opacity:.55;cursor:default}
.ep-ticket-receipt {padding:clamp(18px,5vw,36px) clamp(16px,6vw,48px) 15px}
.ep-ticket-picker .ep-ticket-receipt-lines {list-style:none;margin:0;padding:0;display:grid;gap:6px;font-size:clamp(1rem,2.5vw,1.125rem);font-weight:300}
.ep-ticket-receipt-lines li {display:flex;justify-content:space-between;gap:10px}
.ep-ticket-receipt-lines li span:first-child {overflow-wrap:anywhere}
.ep-ticket-receipt-lines li span:last-child {white-space:nowrap}
.ep-ticket-total {text-align:right;margin:16px 0 24px;font-size:clamp(1.9rem,7vw,2.5rem);line-height:1.3;font-weight:300}
.ep-ticket-submit {display:flex;align-items:center;justify-content:center;gap:8px;margin-inline:auto;min-height:48px;padding:8px 18px;border:0;border-radius:30px;background:#000;color:#fff;cursor:pointer;font:inherit}
.ep-ticket-picker :is(button,summary):focus-visible {outline:2px solid #000;outline-offset:2px}
.ep-party-facts {display:flex;align-items:center;gap:18px;margin-block:16px;padding:clamp(14px,3vw,24px);background:#dceef2;border-radius:16px;color:#221922}
.ep-party-facts p {margin:3px 0}
.ep-party-facts-image {width:clamp(72px,24%,160px);aspect-ratio:1;object-fit:cover;border-radius:12px}

.wp-site-blocks .ep-ticket-track > .ep-ticket-panel {background:transparent;box-shadow:none}
.wp-site-blocks .ep-ticket-panel-description {background:#f4f7f8}
.ep-ticket-description-copy > p {color:#000}
.ep-ticket-promo {display:flex;justify-content:flex-end;align-items:center;gap:8px;padding:12px}
.ep-ticket-promo input,.ep-ticket-contact input {box-sizing:border-box;min-width:0;border:1px solid #7bb1bf;border-radius:6px;padding:6px 8px;font:inherit}
.ep-ticket-promo input {width:min(45%,160px)}
.ep-ticket-picker .ep-ticket-receipt {display:flex;align-items:center;justify-content:space-between;gap:10px;padding:12px}
.ep-ticket-picker .ep-ticket-receipt-lines {display:none}
.wp-site-blocks .ep-ticket-picker .ep-ticket-total {font-size:20px;margin:0;text-align:left}
.ep-ticket-picker .ep-ticket-receipt .ep-ticket-submit {margin:0}
.ep-ticket-contact {width:min(470px,calc(100% - 24px));max-height:calc(100% - 24px);box-sizing:border-box;border:0;border-radius:10px;padding:18px;background:#fff;color:#161616;box-shadow:0 4px 20px #0003}
.ep-ticket-contact::backdrop {background:#ffffff60;backdrop-filter:blur(8px)}
.ep-ticket-contact-close {float:right;width:44px;height:44px;border:0;border-radius:50%;background:#eef3f4;font-size:22px;cursor:pointer}
.ep-ticket-contact label {display:grid;gap:4px;padding:6px;background:#f4f7f8;font-size:16px}
.ep-ticket-contact-total {display:flex;justify-content:space-between;align-items:center;gap:8px;padding-top:12px}
.ep-ticket-contact-total .ep-ticket-submit {margin:0}
.ep-ticket-picker {container-type:inline-size}
/* Ticket purchase panels. */
.ep-ticket-picker form {display:grid;gap:12px;background:transparent;overflow:visible;box-shadow:none}
.ep-ticket-selection,.ep-ticket-terms,.ep-ticket-picker .ep-ticket-receipt {
    background:#fff;border-radius:10px;box-shadow:0 4px 20px rgb(0 0 0 / 15%);
}
.ep-ticket-selection {overflow:hidden}
.ep-ticket-selection-band {height:39px;background:rgb(167 203 212 / 10%)}
.ep-ticket-selection .ep-ticket-rows {margin:0;padding:0;list-style:none;background:#fff}
.ep-ticket-selection .ep-ticket-row {
    --ep-chevron-width:clamp(30px,8cqi,48px);
    --ep-control-width:44px;
    --ep-count-width:clamp(26px,7cqi,40px);
    --ep-currency-width:2ch;
    --ep-amount-width:9ch;
    display:grid;
    grid-template-columns:var(--ep-chevron-width) minmax(0,1fr) var(--ep-control-width)
        var(--ep-count-width) var(--ep-control-width) var(--ep-currency-width) var(--ep-amount-width);
    align-items:start;
    padding:8px clamp(4px,1.5cqi,10px);
    margin:0;
    background:#fff;
    font-size:clamp(1rem,3.5cqi,1.25rem);
    font-variant-numeric:tabular-nums;
}
.ep-ticket-selection .ep-ticket-row:nth-child(even) {background:rgb(167 203 212 / 10%)}
.ep-ticket-option {grid-area:1 / 1 / 2 / -1;min-width:0}
.ep-ticket-picker .ep-ticket-selection .ep-ticket-option summary {
    display:grid;
    grid-template-columns:var(--ep-chevron-width) minmax(0,1fr);
    grid-template-rows:minmax(0,auto) minmax(0,auto);
    align-content:center;
    align-items:center;
    margin-inline-end:calc(2 * var(--ep-control-width) + var(--ep-count-width) + var(--ep-currency-width) + var(--ep-amount-width));
    min-height:60px;
    padding-inline-end:6px;
    cursor:pointer;
    font-size:inherit;
    font-weight:300;
    line-height:1.3;
}
.ep-ticket-name {grid-area:1 / 2;font-size:20px;overflow-wrap:anywhere}
.ep-ticket-price {grid-area:2 / 2;color:#666;font-size:16px;white-space:nowrap}
.ep-ticket-chevron {grid-area:1 / 1 / 3 / 2;place-self:center}
.ep-ticket-details {padding:4px 8px 10px var(--ep-chevron-width);background:transparent;font-size:16px;overflow-wrap:anywhere}
.ep-ticket-selection .ep-ticket-step {
    display:none;position:relative;isolation:isolate;width:100%;height:44px;
    margin:8px 0 0;padding:0;border:0;border-radius:50%;color:#fff;
    background:transparent;font:inherit;line-height:1;cursor:pointer;
}
.ep-ticket-enhanced .ep-ticket-step {display:grid;place-items:center}
.ep-ticket-step[data-ep-step="-1"] {grid-area:1 / 3}
.ep-ticket-step[data-ep-step="1"] {grid-area:1 / 5}
.ep-ticket-selection .ep-ticket-step::before {content:"";position:absolute;inset:7px;z-index:-1;border-radius:50%;background:#7bb1bf}
.ep-ticket-quantity {
    grid-area:1 / 3 / 2 / 6;box-sizing:border-box;width:100%;min-width:0;
    height:44px;margin:8px 0 0;padding:0;text-align:center;font:inherit;color:inherit;
}
.ep-ticket-enhanced .ep-ticket-quantity {
    grid-area:1 / 4;border:0;background:transparent;appearance:textfield;pointer-events:none;
}
.ep-ticket-enhanced .ep-ticket-quantity::-webkit-inner-spin-button {appearance:none}
.ep-ticket-state {grid-area:1 / 3 / 2 / 6;margin-block-start:18px;font-size:.875rem;overflow-wrap:anywhere}
.ep-ticket-row-total {
    grid-area:1 / 6 / 2 / 8;
    display:grid;grid-template-columns:var(--ep-currency-width) minmax(0,1fr);
    align-items:center;min-height:60px;line-height:1.2;
}
.ep-ticket-row-currency {text-align:center;overflow-wrap:anywhere}
.ep-ticket-row-amount {
    min-width:0;
    text-align:right;
    white-space:nowrap;
    line-height:1.5rem;
    font-size:var(--ep-amount-font-size,100%);
}
@container (max-width:319px) {
    .ep-ticket-picker .ep-ticket-selection .ep-ticket-option summary {margin-inline-end:0}
    .ep-ticket-row :is(.ep-ticket-step,.ep-ticket-quantity,.ep-ticket-state,.ep-ticket-row-total) {grid-row:2}
    .ep-ticket-row-total {min-height:44px;margin-block-start:8px}
}
.ep-ticket-selection .ep-ticket-promo {padding:16px clamp(10px,3vw,20px)}
.ep-ticket-selection .ep-ticket-promo input {width:min(50%,200px);min-height:45px}
.ep-ticket-terms {padding:12px 16px}
.ep-ticket-terms label {display:flex;align-items:center;gap:8px;min-height:28px}
.ep-ticket-terms input {margin:0;accent-color:#387382;width:18px;height:18px;flex-shrink:0}
.ep-ticket-picker .ep-ticket-receipt {padding:12px 16px;margin:0}
.ep-ticket-total-label {display:block;color:#625662;font-size:16px}

.ep-ticket-contact :is(label,input,select)[hidden] {display:none}
.ep-ticket-contact select {
    box-sizing:border-box;min-width:0;min-height:36px;border:1px solid #7bb1bf;
    border-radius:6px;padding:6px 8px;font:inherit;background:#fff;color:#161616;
}

.ep-ticket-picker .ep-ticket-contact {
    width:min(596px,calc(100% - 24px));max-height:calc(100dvh - 24px);
    padding:0;gap:12px;background:transparent;overflow:hidden;box-shadow:none;
    filter:drop-shadow(0 4px 10px rgb(0 0 0 / 15%));
}
.ep-ticket-contact[open] {display:flex;flex-direction:column}
.ep-ticket-contact-header,.ep-ticket-contact-fields,.ep-ticket-picker .ep-ticket-contact-total {background:#fff;border-radius:10px}
.ep-ticket-contact-header {position:relative;padding:16px 58px 12px clamp(14px,4vw,25px);flex:none}
.ep-ticket-contact-header .ep-ticket-contact-close {position:absolute;inset:8px 8px auto auto;float:none}
.ep-ticket-contact-header .ep-ticket-panel-info h2 {margin-block:0 .4em}
.ep-ticket-contact-fields {min-height:0;overflow:auto;overscroll-behavior:contain}
.ep-ticket-contact .ep-ticket-contact-fields label:not([hidden]) {display:grid;gap:0;padding:0 0 10px;background:white}
.ep-ticket-contact-fields label > span {
    display:flex;align-items:center;min-height:39px;background:rgb(167 203 212 / 10%);
    padding-inline:clamp(14px,5vw,40px);font-size:20px;color:#535353;
}
.ep-ticket-contact-fields label > :is(input,select) {
    display:block;width:calc(100% - 2 * clamp(14px,5vw,28px));margin:10px auto 0;
    height:44px;border:1px solid #7bb1bf;border-radius:10px;padding:8px 12px;
}
.ep-ticket-contact-fields label > :is(input,select)[hidden] {display:none}
.ep-ticket-picker .ep-ticket-contact-total {flex:none;padding:12px clamp(14px,4vw,25px)}
.ep-ticket-contact-total span {display:block;color:#535353;font-size:16px}
.ep-ticket-contact-total strong {font-weight:300;font-size:20px}
@media(max-height:560px) {
    .ep-ticket-contact-header {padding-block:8px}
    .ep-ticket-contact-header .ep-ticket-host {margin-block:4px}
    .ep-ticket-contact-header .ep-ticket-host-avatar {width:32px;height:32px}
}

@media(min-width:1050px) {
    .ep-ticket-picker .ep-ticket-contact {margin-inline-start:calc(50% - 108px)}
}
