/* Load after the main theme styles. Matches the supplied ticket-stub reference. */
#tickets-page #tickets .tickets__header,
#tickets-page #tickets .tickets__box {
    width: 100%;
    max-width: 1160px;
}
#tickets-page #tickets .tickets__header {
    grid-template-columns: minmax(0, 3fr) minmax(220px, 1fr);
    gap: 32px;
}
#tickets-page #tickets .tickets__header .right { padding-left: 0; }
#tickets-page #tickets .tickets__heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    font-size: 36px;
    line-height: 1.1;
}
#tickets-page #tickets .tickets__heading img {
    display: block;
    width: 36px;
    height: 36px;
    max-width: none;
    object-fit: contain;
    flex: 0 0 36px;
    top: auto;
}
#tickets-page #tickets .tickets__group--double-icon .tickets__heading img {
    width: 72px;
    flex-basis: 72px;
}
#tickets-page #tickets .tickets__content {
    max-width: none;
    font-size: 14px;
    line-height: 1.65;
}
#tickets-page #tickets .tickets__date,
#tickets-page #tickets .tickets__location {
    color: #555;
    font-size: 14px;
    line-height: 1.65;
}
#tickets-page .scheme-green h3 { color: #00cf9f; }
#tickets-page .ticket-releases { margin-top: 32px; }
#tickets-page .ticket-release {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 300px;
    align-items: center;
    gap: 32px;
    min-height: 94px;
    padding: 24px 0;
    border-top: 1px solid #999;
    background: #fff;
    color: #000;
}
#tickets-page .ticket-release__heading {
    display: block;
    margin: 0;
    color: #000;
    font-family: 'Sohne Kraftig', 'Sohne', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
}
#tickets-page .ticket-release__note { margin-top: 3px; color: #666; font-size: 14px; line-height: 1.5; }
#tickets-page .ticket-release__note p { margin: 0; }
#tickets-page .ticket-release__urgency { margin-top: 3px; color: #ff305c; font-size: 14px; line-height: 1.5; }
#tickets-page .ticket-release__price {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 4px 12px;
    text-align: right;
    font-family: 'Sohne Kraftig', 'Sohne', sans-serif;
    font-size: 16px;
    line-height: 1.4;
    white-space: nowrap;
}
#tickets-page .ticket-release__price del { display: inline-block; color: #666; font-family: 'Sohne', sans-serif; font-size: 14px; }
#tickets-page .ticket-release__price ins { background: none; text-decoration: none; }
#tickets-page .ticket-release__price .woocommerce-price-suffix { color: #666; font-family: 'Sohne', sans-serif; font-size: 12px; }
#tickets-page .ticket-release__actions { width: 100%; justify-self: end; }
#tickets-page .ticket-release__form { margin: 0; }
#tickets-page .ticket-release__purchase { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }
#tickets-page .ticket-release__quantity {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 108px;
    min-height: 44px;
    border: 1px solid #000;
    border-radius: 24px;
    background: #fff;
    overflow: hidden;
}
#tickets-page .ticket-release__quantity .quantity { width: 36px; margin: 0; }
#tickets-page .ticket-release__quantity input.nzdw-ticket-qty {
    width: 36px !important;
    min-width: 0;
    min-height: 42px;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0;
    box-shadow: none;
    background: transparent;
    color: #000;
    font-family: 'Sohne Kraftig', 'Sohne', sans-serif;
    font-size: 16px;
    text-align: center;
    -moz-appearance: textfield;
    appearance: textfield;
}
#tickets-page .ticket-release__quantity input.nzdw-ticket-qty::-webkit-inner-spin-button,
#tickets-page .ticket-release__quantity input.nzdw-ticket-qty::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
#tickets-page .ticket-release__qty-step {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 42px;
    margin: 0;
    padding: 0;
    border: 0;
    background: transparent;
    color: #000;
    font: inherit;
    font-size: 19px;
    line-height: 1;
    cursor: pointer;
}
#tickets-page .ticket-release__qty-step:disabled { color: #777; cursor: default; }
#tickets-page .ticket-release__single-quantity { font-family: 'Sohne Kraftig', 'Sohne', sans-serif; font-size: 16px; }
#tickets-page .ticket-release__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 184px;
    min-height: 44px;
    margin: 0;
    padding: 8px 16px;
    border: 1px solid #000;
    border-radius: 24px;
    background: #000;
    color: #fff !important;
    font-family: 'Sohne Breit Halbfett', 'Sohne', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    white-space: nowrap;
}
#tickets-page .ticket-release__button:hover { background: #333; }
#tickets-page .ticket-release__button:focus-visible,
#tickets-page .ticket-release__qty-step:focus-visible { outline: 3px solid #cf3cff; outline-offset: -3px; }
#tickets-page .ticket-release__status { color: #777; font-size: 14px; }
#tickets-page .ticket-release.is-unavailable { background: #fff; }
#tickets-page .ticket-release.is-unavailable .ticket-release__heading,
#tickets-page .ticket-release.is-unavailable .ticket-release__price { color: #888; }
#tickets-page .ticket-release.is-sold-out .ticket-release__heading,
#tickets-page .ticket-release.is-sold-out .ticket-release__price { color: #000; }
#tickets-page .ticket-release.is-sold-out .ticket-release__status { color: #ff305c; }
#tickets-page .ticket-setup-notice { margin-bottom: 20px; padding: 16px; background: #fff2d6; color: #000; }
@media (max-width: 1100px) {
    #tickets-page .ticket-release { grid-template-columns: minmax(0, 1fr) auto; gap: 12px 24px; }
    #tickets-page .ticket-release__actions { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
    #tickets-page #tickets .tickets__group { width: calc(100% - 32px); padding: 20px 16px; }
    #tickets-page #tickets .tickets__stub { width: 32px; right: -32px; padding: 20px 4px; }
    #tickets-page #tickets .tickets__stub > img { width: 24px; }
    #tickets-page #tickets .tickets__bg { width: 12px; }
    #tickets-page #tickets .tickets__header { grid-template-columns: 1fr; gap: 16px; }
    #tickets-page #tickets .tickets__heading { gap: 8px; margin-bottom: 16px; font-size: clamp(20px, 5vw, 28px); }
    #tickets-page #tickets .tickets__heading img { width: 32px; height: 32px; flex-basis: 32px; }
    #tickets-page #tickets .tickets__group--double-icon .tickets__heading img { width: 64px; flex-basis: 64px; }
    #tickets-page .ticket-release { gap: 12px; }
    #tickets-page .ticket-release__price { white-space: normal; }
    #tickets-page .ticket-release__purchase { justify-content: flex-start; }
}
@media (max-width: 420px) {
    #tickets-page .ticket-release__button { width: auto; min-width: 140px; flex: 1 1 140px; font-size: 12px; }
}

/* Keep WordPress/Woo accessibility labels out of the visual quantity layout. */
#tickets-page .ticket-release__quantity {
    position: relative;
    height: 44px;
}
#tickets-page .ticket-release__quantity .quantity {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 42px;
}
#tickets-page .ticket-release__quantity .screen-reader-text {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    border: 0 !important;
}
#tickets-page .ticket-release__quantity input.nzdw-ticket-qty {
    height: 42px !important;
}
#tickets-page .ticket-release__quantity.is-single .quantity,
span.screen-reader-text{
    display: none;
}


#tickets-page #cta.tickets-promo .cta__inner {
    gap: 32px;
    padding: 24px 32px;
    background: #262626;
}

#tickets-page #cta.tickets-promo .cta__image {
    flex: 0 0 310px;
    width: 310px;
    margin: -50px 0;
}

#tickets-page #cta.tickets-promo .cta__image img {
    display: block;
    width: 100%;
    height: auto;
}

#tickets-page #cta.tickets-promo .cta__copy {
    flex: 1;
    min-width: 0;
}

@media (max-width: 767px) {
    #tickets-page #cta.tickets-promo .cta__inner {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }

    #tickets-page #cta.tickets-promo .cta__image {
        flex: none;
        width: min(100%, 310px);
        margin: -36px 0 0;
    }
}

/* Space before the white ticket stubs */
#tickets-page #cta.tickets-promo {
    padding-bottom: 80px;
    overflow: visible;
}

/* Compact dark banner */
#tickets-page #cta.tickets-promo .cta__inner {
    position: relative;
    min-height: 140px;
    padding: 24px 32px;
    overflow: visible;
    box-sizing: border-box;
}

/* Artwork overlaps the dark banner */
#tickets-page #cta.tickets-promo .cta__image {
    position: relative;
    flex: 0 0 310px;
    width: 310px;
    height: 0;
    margin: 0;
    align-self: center;
    overflow: visible;
    z-index: 1;
}

#tickets-page #cta.tickets-promo .cta__image img {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    max-width: none;
    transform: translateY(-50%);
}

@media (max-width: 767px) {
    #tickets-page #cta.tickets-promo {
        padding-top: 32px;
        padding-bottom: 48px;
    }

    #tickets-page #cta.tickets-promo .cta__image {
        flex: none;
        width: min(100%, 310px);
        height: auto;
        margin: -48px 0 0;
        align-self: flex-start;
    }

    #tickets-page #cta.tickets-promo .cta__image img {
        position: relative;
        top: auto;
        transform: none;
    }
}

#tickets-page #tickets .tickets__group {
	min-height: 300px;
}
/* Satellite Events heading - green */
#tickets-page #tickets #satellite-events .tickets__heading {
    color: #00cf9f !important;
}


/* Combo ticket icons - tighter horizontal layout */
#tickets-page .tickets__group--double-icon .tickets__heading-icons {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    gap: 3px;
    margin-right: 10px;
    vertical-align: middle;
}

#tickets-page .tickets__group--double-icon .tickets__heading-icons img {
    display: block;
    width: 34px;
    height: 36px;
    object-fit: contain;
    margin: 0 !important;
}

/* Tighten heading spacing */
#tickets-page .tickets__group--double-icon .tickets__heading {
    display: flex;
    align-items: center;
    gap: 0;
}

/* Only "Two Day Pass" is black */
#tickets-page #tickets .tickets__heading .heading-black {
    color: #000 !important;
}