/**
 * Shared storefront Contact Us form.
 */
.tl-contact {
    box-sizing: border-box;
    width: 100%;
    max-width: 640px;
    margin: 0;
    font-size: 15px;
    line-height: 1.45;
    color: var(--theme-text, #111);
}

.tl-contact *,
.tl-contact *::before,
.tl-contact *::after {
    box-sizing: border-box;
}

.tl-contact__lead {
    margin: 0 0 1.1rem;
    color: var(--theme-text-muted, #666);
}

.tl-contact__notice {
    margin: 0 0 .85rem;
    padding: .65rem .8rem;
    border: 1px solid var(--theme-border, #d8d8d8);
    border-radius: 4px;
    background: #fff;
}

.tl-contact__notice--success {
    background: #eef8ee;
    border-color: #b7d7b7;
    color: #1f6b2e;
}

.tl-contact__notice--error {
    background: #fff1f0;
    border-color: #e0b4b4;
    color: #8a1f1f;
}

.tl-contact__form {
    display: flex;
    flex-direction: column;
    gap: .85rem;
    margin: 0;
    padding: 0;
    border: 0;
}

.tl-contact__field {
    display: flex;
    flex-direction: column;
    gap: .3rem;
    margin: 0;
    width: 100%;
    font-weight: 600;
    color: var(--theme-text, #111);
}

.tl-contact__field-label {
    display: block;
    font-size: .92rem;
}

.tl-contact__req {
    color: #b42318;
}

.tl-contact__field input,
.tl-contact__field select,
.tl-contact__field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: .55rem .65rem;
    border: 1px solid var(--theme-border, #c8c8c8);
    border-radius: var(--theme-radius, 4px);
    background: var(--theme-surface, #fff);
    color: var(--theme-text, #111);
    font: inherit;
    font-weight: 400;
    line-height: 1.35;
    min-height: 2.55rem;
}

.tl-contact__field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M1.4.8 6 5.4 10.6.8 12 2.2 6 8.2 0 2.2z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right .75rem center;
    background-size: 12px 8px;
    padding-right: 2rem;
}

.tl-contact__field textarea {
    min-height: 140px;
    resize: vertical;
}

.tl-contact__geo-control {
    display: none !important;
}

.tl-contact__geo-control.is-active {
    display: block !important;
}

.tl-contact__field input:focus,
.tl-contact__field select:focus,
.tl-contact__field textarea:focus {
    outline: 2px solid color-mix(in srgb, var(--theme-accent, #222) 45%, transparent);
    outline-offset: 1px;
    border-color: var(--theme-accent, #666);
}

.tl-contact__field input.is-invalid,
.tl-contact__field select.is-invalid,
.tl-contact__field textarea.is-invalid {
    border-color: #d9534f;
    background-color: #fff5f5;
    box-shadow: 0 0 0 1px rgba(217, 83, 79, 0.25);
}

.tl-contact__field input.is-valid,
.tl-contact__field select.is-valid,
.tl-contact__field textarea.is-valid {
    border-color: #1a7a4c;
    background-color: #f3fbf6;
    box-shadow: 0 0 0 1px rgba(26, 122, 76, 0.22);
}

.tl-contact__field.is-invalid {
    color: #b42318;
}

.tl-contact__field.is-valid .tl-contact__field-label {
    color: #1a7a4c;
}

.tl-contact__row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: .85rem;
    width: 100%;
}

.tl-contact__width-full {
    flex: 0 0 100%;
    max-width: 100%;
    min-width: 0;
}
.tl-contact__width-half {
    flex: 0 0 calc(50% - .425rem);
    max-width: calc(50% - .425rem);
    min-width: 0;
}
.tl-contact__width-third {
    flex: 0 0 calc(33.333% - .57rem);
    max-width: calc(33.333% - .57rem);
    min-width: 0;
}

.tl-contact__heading {
    margin: .35rem 0 0;
}

.tl-contact__heading h3 {
    margin: 0;
    font-size: 1.05rem;
}

.tl-contact__optin {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: .65rem;
    margin: 0;
    width: 100%;
    font-weight: 400;
    color: var(--theme-text, #111);
    cursor: pointer;
}

.tl-contact__optin-text {
    flex: 1 1 auto;
    min-width: 0;
    font-size: .92rem;
    line-height: 1.45;
    font-weight: 400;
}

.tl-contact__optin input[type="checkbox"] {
    flex: 0 0 auto;
    width: 1.1rem;
    height: 1.1rem;
    margin: .15rem 0 0;
    padding: 0;
    border: 1px solid var(--theme-border, #c8c8c8);
    border-radius: 3px;
    background: var(--theme-surface, #fff);
    accent-color: var(--theme-accent, var(--theme-primary, #111));
    cursor: pointer;
}

.tl-contact__recaptcha {
    margin-top: .15rem;
    padding: .55rem;
    border: 1px solid transparent;
    border-radius: var(--theme-radius, 4px);
}

.tl-contact__recaptcha.is-invalid {
    border-color: #d9534f;
    background: #fff5f5;
    box-shadow: 0 0 0 1px rgba(217, 83, 79, 0.2);
}

.tl-contact__recaptcha.is-valid {
    border-color: #1a7a4c;
    background: #f3fbf6;
    box-shadow: 0 0 0 1px rgba(26, 122, 76, 0.18);
}

.tl-contact__recaptcha.is-invalid .tl-contact__recaptcha-hint {
    display: block;
}

.tl-contact__recaptcha-hint {
    display: none;
    margin: .4rem 0 0;
    color: #8a1f1f;
    font-size: .88rem;
    font-weight: 500;
}

.tl-contact__actions {
    margin-top: .35rem;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    align-items: center;
}

.tl-contact__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: .65rem 1.15rem;
    border: 0;
    border-radius: var(--theme-radius, 4px);
    background: var(--theme-accent, var(--theme-primary, #111));
    color: var(--theme-primary-contrast, #fff);
    font: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}

.tl-contact__submit:hover {
    filter: brightness(1.05);
}

.tl-contact__link {
    color: var(--theme-text-muted, #666);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tl-contact--thanks .tl-ticket-request__more {
    margin: 0 0 1.25rem;
    justify-content: flex-start;
}

.tl-contact__thanks-copy {
    margin: 0 0 1.25rem;
    color: var(--theme-text-muted, #666);
    font-size: 1rem;
    line-height: 1.5;
    max-width: 36rem;
}

.tl-ticket-request {
    box-sizing: border-box;
    width: 100%;
    max-width: 640px;
}

.tl-ticket-request *,
.tl-ticket-request *::before,
.tl-ticket-request *::after {
    box-sizing: border-box;
}

.tl-ticket-request__card {
    margin: 0 0 1.35rem;
    padding: 1.15rem 1.25rem 1.2rem;
    border: 1px solid var(--theme-border, #d0d4da);
    border-left: 4px solid var(--theme-accent, var(--theme-primary, #111));
    border-radius: var(--theme-radius, 8px);
    background: var(--theme-surface-muted, #f6f7f8);
    box-shadow: 0 1px 2px rgba(0, 0, 0, .04);
}

.tl-ticket-request__event-name {
    margin: 0 0 .55rem;
    font-size: clamp(1.35rem, 2.4vw, 1.75rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--theme-text, #111);
}

.tl-ticket-request__venue {
    margin: 0 0 .15rem;
    font-size: .98rem;
    font-weight: 600;
    line-height: 1.35;
    color: var(--theme-text, #222);
}

.tl-ticket-request__when {
    margin: 0 0 .35rem;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: .01em;
    color: var(--theme-accent, var(--theme-primary, #111));
}

.tl-ticket-request__more {
    margin: .85rem 0 0;
    display: flex;
    flex-wrap: wrap;
    gap: .35rem .55rem;
    font-size: .92rem;
    font-weight: 600;
    line-height: 1.4;
}

.tl-ticket-request__more a {
    color: var(--theme-accent, var(--theme-primary, #111));
    text-decoration: underline;
    text-underline-offset: 2px;
}

.tl-ticket-request__more a:hover {
    filter: brightness(1.05);
}

.tl-ticket-request__more-sep {
    color: var(--theme-text-muted, #999);
    font-weight: 500;
}

.tl-ticket-request__blurb {
    margin: 0 0 1.1rem;
    color: var(--theme-text-muted, #666);
    font-size: .98rem;
    line-height: 1.5;
}

.tl-ticket-request__form {
    margin: 0;
}

@media (max-width: 640px) {
    .tl-ticket-request__card {
        padding: 1rem 1.05rem;
    }
}

@media (max-width: 640px) {
    .tl-contact__width-half,
    .tl-contact__width-third {
        flex: 1 1 100%;
    }
}