.editGear {
    margin-left: auto;
    width: fit-content;
}

.noBottomMargin {
    margin-bottom: 0px;
}

#buyTickets {
    width: 400px;
}

.eventTopInfo {
    padding: 10px;
    display: flex;
    flex-direction: row;
}

.inputEmail input {
  margin-bottom: 0px;
}

.eventTopInfoPriceAndButton {
    margin-left: auto;
}

.eventDetailsContainer {
    display: flex;
    width: 100%;
}

.eventDetailsLeft {
    flex: 0 0 66.66%;
    max-width: 640px;
}

.eventDetailsRight {
    flex: 0 0 33.33%
}

.organizationMemberships {
    cursor: pointer;
    text-align: center;
    margin-top: 54px;
    padding: 20px;
    border: 1px solid black;
}

.rightSideViewProfile {
    margin-left: 10px;
}

.linkButton {
    cursor: pointer;
    color: #373c44;
    text-decoration: underline;
}

.linkButtonNoUnderline {
    cursor: pointer;
    color: #373c44;
    text-decoration: none;
}

.linkButtonNoUnderline div {
    cursor: pointer;
    color: #373c44;
    text-decoration: none;
}

.organizationImage {
    border: 1px solid black;
    margin-right: 32px;
}

.viewOrgProfile {
    cursor: pointer;
    margin-top: 28px;
    display: flex;
}

.mapLinkContainer {
    margin-top: 32px;
}

.eventDescription {
    margin-top: 76px;
    margin-right: 20px;
}

.eventDetailsRightLine {
    display: none;
}

.rightAlign {
    margin-left: auto;
    width: fit-content;
}


.membership-container {
    display: flex;
    align-items: center;
    flex-direction: row;
    padding-top: 20px;
    cursor: pointer;
}

.membership-right-side {
    margin-left: 15px;
    margin-bottom: auto;
    width: 500px;
}

.membership-image {
    width: 225px;
    height: 225px;
    padding-bottom: 20px;
    padding-left: 20px;
    padding-right: 20px;
    object-fit: cover;
}

.membership-image-container {
    margin-bottom: auto;
}


.buy-modal {
    display: flex;
    position: fixed;
    overflow: hidden;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.buy-modal-background {
    background-color: white;
    padding: 0; /* Remove padding to handle it individually for content */
    border-radius: 8px;
    width: 90%;
    max-height: 80vh;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    position: relative;
    display: flex;
    flex-direction: column;
}

.buy-modal-content {
    padding-top: 15px;
    padding-bottom: 40px;
    padding-left: 40px;
    padding-right: 40px;
    overflow-y: auto; /* Allow vertical scrolling for content */
    flex: 1; /* Take up remaining space */
}

.buy-modal-content-special {
    overflow-y: auto; /* Allow vertical scrolling for content */
    flex: 1; /* Take up remaining space */
}

.padding-special {
    padding-top: 10px;
    padding-left: 40px;
    padding-right: 40px;
}

.videopadding-special {
    padding-top: 10px;
    padding-left: 40px;
    padding-right: 40px;
}

.buy-modal-footer {
    width: 100%;
    font-size: 23px;
    box-sizing: border-box;
    display: flex;
    /* Ensure the padding doesn’t affect the full width layout */
}

.fullBottom {
    width: 100%;
}

.bottomRow {
    display: flex;
}


#heart {
    font-size: 50px;
}

.marginBottom {
    margin-bottom: 35px;
}

.marginBottomDouble {
    margin-bottom: 60px;
}

.bigSubtotalMargin {
    margin-left: -45px;
}

.totalPrice {
    font-size: 30px;
}

.bigPriceMargin {
    margin-left: -65px;
}

.subTotal {
    font-size: 22px;
}

.membershipBenefit {
    background-color: rgba(223,231,119,0.3);
    width: 100%;
    padding: 15px;
    margin-bottom: 10px;
    margin-left: -15px;
}

#id_payScreenExtra {
    border: 3px solid black;
    padding: 20px;
    margin-top: 20px;
}

.centerBottomText {
    border-top: 2px solid black;
    font-size: 18px;
    flex: 1;
    /* Ensure buttons take up equal space */
    text-align: center;
    /* Center text horizontally */
    padding: 10px 0;
    /* Padding for some height */
    box-sizing: border-box;
}

.leftButton {
    background-color: #f0f0f0;
    /* Light grey background */
    border-right: 1px solid #ccc;
    /* Divider between buttons */
}

.rightButton {
    background-color: #007bff;
    /* Blue background */
    color: white;
    /* White text color */
}

#selectTicket {
    color: red;
    text-align: right;
    margin-bottom: 10px;
}

#youSaved {
    color: lightgreen;
}

.modalTitle {
    position: absolute;
    top: 15px;
    left: 15px;
}

.ticketTableHeader {
    display: flex;
    border-bottom: 1px solid black;
    margin-bottom: 15px;
}

.ticketTypeHeader {
    flex: 4;
}

.ticketPriceHeader {
    flex: 2;
}

.ticketQuantityHeader {
    flex: 2;
    text-align: right;
}

.ticketTableBody {
    display: flex;
}

.ticketTypeBody {
    flex: 4;
    margin-top: 13px;
}

.ticketPriceQuantityBodyContainer {
    display: flex;
    flex: 4;
}

.ticketPriceBody {
    margin-top: 13px;
    flex: 2;
}

.ticketQuantityBody {
    flex: 2;
    text-align: right;
}


.video-container {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-containerContainer {
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}

.selectedMembership {
    border: 3px solid purple;
}


.ticketTypeHeaderReview {
    flex: 6;
}
.ticketQuantityHeaderReview {
    flex: 2;
}

.ticketTotalReview {
    flex: 2;
    text-align: right;
}


.ticketTypeBodyReview {
    flex: 6;
}

.ticketQuantityBodyReview {
    flex: 2;
}

.ticketTotalBodyReview {
    flex: 2;
    text-align: right;
}

.freeBuySpace {
    margin-left: 5px;
}

.ticketTotalBodyReview_mobile {
    display: none;
}

.ticketName {
    font-weight: bold;
}

.negativePrice {
    margin-left: -8px;
}

.membershipTotalNotes {
    font-size: 14px;
    font-weight: normal;
}

.noThanksMembershipButton {
    margin-top: auto;
    margin-bottom: auto;
}

.ticketQuantityBodyReviewTicketWord {
    display: none;
}

.priceRangeInput {
    display: flex;
}

.priceRangeTextHelper {
    margin-top: 16px;
    margin-left: 10px;
    width: 140px;
}

.eventImage {
    width: 80%;
}


#id_ticket_price_cents_container {
    position: relative;
    display: inline-block;
}

#id_ticket_price_cents_container::before {
    content: '$';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #333;
}

#id_ticket_price_cents_container input {
    padding-left: 20px; /* adjust according to the space needed for the dollar sign */
}

@media (max-width: 1023px) {

    .eventTopDate {
        max-width: 200px;
    }

    .video-containerContainer {
        width: 100%
      }
}


@media (max-width: 768px) {
    #buyTickets {
        width: 100%;
    }

    .freeBuySpace {
        margin-left: 0px;
    }

    .eventImage {
        width: 100%;
    }

    .eventTopInfo {
        padding: 10px;
        display: block;
    }

    .eventDetailsContainer {
        display: block;
    }

    .eventDetailsRight {
        margin-top: 54px;
    }

    .eventDetailsRightLine {
        display: block;
    }
    .membership-container {
        display: block;
    }

    .membership-image {
        width: 80%;
        padding: 0px;
        margin-bottom: 10px;
    }

    .membership-right-side {
        margin-left: 15px;
        margin-bottom: 20px;
        width: auto;
    }

    .ticketTableHeader {
        display: none;
    }

    .rightAlign {
        margin-left: 0px;
    }

    .ticketTableBody {
        display: block;
    }

    .ticketTypeBody {
        margin-top: 0px;
    }

    .ticketTotalBodyReview {
        display: none;
    }

    .ticketTotalBodyReview_mobile {
        display: contents;
        font-weight: bold;
    }

    .ticketName {
        font-weight: normal;
    }

    .positivePrice {
        margin-left: 9px;
    }

    .ticketQuantityBodyReview {
        margin-left: 9px;
    }

    .ticketQuantityBodyReview {
        font-size: 10px;
    }

    .ticketQuantityBodyReviewTicketWord {
        display: contents;
    }

    .membershipBenefit {
        background-color: rgba(223,231,119,0.3);
        width: 100%;
        padding: 15px;
        margin-bottom: 10px;
        margin-left: -7px;
    }

    #selectTicket {
        color: red;
        text-align: center;
        margin-bottom: 10px;
    }

    .eventDescription {
        margin-right: 0px;
    }

    .rightSideViewProfile {
        margin-left: 0px;
    }
    

}

@media (max-width: 516px) {
    .membership-image {
        width: 100%;
        padding: 0px;
        margin-bottom: 10px;
    }

    .buy-modal-footer {
        font-size: 20px;
    }

    .centerBottomText {
        font-size: 15px;
    }
}

/* Redesign overrides */
.wf-event-shell {
    max-width: 1500px;
    margin: 0 auto 36px;
}

.wf-event-page hr {
    border-top: var(--wf-stroke) solid var(--wf-ink) !important;
    opacity: 1;
}

.wf-event-page .eventTopInfo {
    border: var(--wf-stroke) solid var(--wf-ink);
    box-shadow: var(--wf-shadow) var(--wf-shadow) 0 var(--wf-ink);
    border-radius: var(--wf-radius);
    background: transparent;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
    padding: 26px 28px;
    margin-top: 14px;
}

.wf-event-page .eventTopDate {
    display: none;
}

.wf-event-page .noBottomMargin {
    font-size: clamp(40px, 7vw, 86px);
    line-height: 0.92;
    margin: 0;
}

.wf-event-meta-pills {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 20px;
}

.wf-event-pill {
    display: inline-flex;
    align-items: center;
    border: var(--wf-stroke) solid var(--wf-ink);
    border-radius: 25px;;
    background: var(--wf-paper);
    font-size: 28px;
    font-weight: 800;
    padding: 8px 24px;
    text-decoration: none;
    color: var(--wf-ink);
}

.wf-event-pill-mint {
    background: var(--wf-mint);
}

.wf-event-pill-pink {
    background: var(--wf-pink);
}

.wf-event-page .eventTopInfoPriceAndButton {
    border: var(--wf-stroke) solid var(--wf-ink);
    border-radius: var(--wf-radius);
    background: var(--wf-paper);
    box-shadow: var(--wf-shadow) var(--wf-shadow) 0 var(--wf-ink);
    min-width: min(430px, 100%);
    width: min(430px, 100%);
    padding: 20px;
    margin-left: 0;
}

.wf-event-page .eventTopInfoPriceAndButton b {
    font-size: clamp(34px, 5vw, 50px);
}

.wf-event-page #buyTickets {
    width: 100%;
    border-radius: 25px;;
    border: var(--wf-stroke) solid var(--wf-ink);
    background: var(--wf-paper);
    color: var(--wf-ink);
    font-weight: 800;
    font-size: 32px;
    margin-top: 16px;
}

.wf-event-page .eventDetailsContainer {
    gap: 24px;
    align-items: flex-start;
}

.wf-event-page .eventDetailsLeft {
    border: var(--wf-stroke) solid var(--wf-ink);
    border-radius: var(--wf-radius);
    box-shadow: var(--wf-shadow) var(--wf-shadow) 0 var(--wf-ink);
    background: var(--wf-paper);
    padding: 22px;
    max-width: none;
}

.wf-event-page .eventImage {
    width: 100%;
    border: var(--wf-stroke) solid var(--wf-ink);
    box-shadow: 4px 4px 0 var(--wf-ink);
    border-radius: 0;
    object-fit: contain;
}

.wf-event-page .eventDescription {
    margin-top: 22px;
    margin-right: 0;
    font-size: 34px;
    line-height: 1.42;
}

.wf-event-page .eventDetailsRight {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.wf-location-card {
    border: var(--wf-stroke) solid var(--wf-ink);
    border-radius: var(--wf-radius);
    box-shadow: var(--wf-shadow) var(--wf-shadow) 0 var(--wf-ink);
    background: var(--wf-paper);
    padding: 18px 20px;
}

.wf-location-card h3 {
    font-size: 46px;
}

.wf-location-card div {
    font-size: 30px;
}

.wf-location-actions {
    margin-top: 14px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.wf-hosted-heading {
    font-size: 52px;
}

.wf-event-page .viewOrgProfile {
    border: var(--wf-stroke) solid var(--wf-ink);
    border-radius: 24px;
    box-shadow: 6px 6px 0 var(--wf-ink);
    background: var(--wf-paper);
    padding: 16px;
    margin-top: 0;
}

.wf-event-page .organizationImage {
    width: 140px;
    height: 140px;
    object-fit: cover;
    border: var(--wf-stroke) solid var(--wf-ink);
    border-radius: 0;
    margin-right: 18px;
}

.wf-event-page .rightSideViewProfile h4 {
    font-size: 44px;
    margin-bottom: 6px;
}

.wf-event-page .rightSideViewProfile {
    font-size: 32px;
}

.wf-event-page .organizationMemberships {
    margin-top: 0;
    border: var(--wf-stroke) solid var(--wf-ink);
    box-shadow: var(--wf-shadow) var(--wf-shadow) 0 var(--wf-ink);
    border-radius: var(--wf-radius);
}

/* Checkout modal redesign */
.wf-event-page .buy-modal-background {
    border-radius: 22px;
    border: var(--wf-stroke) solid var(--wf-ink);
    box-shadow: var(--wf-shadow) var(--wf-shadow) 0 var(--wf-ink);
}

.wf-event-page .buy-modal-content,
.wf-event-page .buy-modal-content-special {
    padding: 26px;
}

.wf-event-page .buy-modal-content h1,
.wf-event-page .buy-modal-content-special h1 {
    font-size: clamp(32px, 4vw, 54px);
}

.wf-event-page .ticketTableHeader {
    border-bottom: var(--wf-stroke) solid var(--wf-ink);
    margin-bottom: 18px;
    padding-bottom: 8px;
}

.wf-event-page .ticketTableBody {
    border: 3px solid var(--wf-ink);
    border-radius: 18px;
    padding: 10px 12px;
    margin-bottom: 10px;
    background: #fff;
}

.wf-event-page .centerBottomText,
.wf-event-page .selectButton {
    border-top: var(--wf-stroke) solid var(--wf-ink);
    font-weight: 800;
}

.wf-event-page .leftButton {
    border-right: var(--wf-stroke) solid var(--wf-ink);
    background: var(--wf-paper);
    color: var(--wf-ink);
}

.wf-event-page .rightButton {
    background: var(--wf-ink);
    color: #fff;
}

.wf-event-page input,
.wf-event-page select,
.wf-event-page textarea,
.wf-event-page #payment-element {
    border: 3px solid var(--wf-ink) !important;
    border-radius: 14px;
    box-shadow: 2px 2px 0 var(--wf-ink);
}

@media (max-width: 1200px) {
    .wf-event-page .noBottomMargin {
        font-size: clamp(30px, 5vw, 54px);
    }

    .wf-event-pill {
        font-size: 20px;
    }

    .wf-event-page .eventDescription {
        font-size: 24px;
    }

    .wf-event-page .rightSideViewProfile h4 {
        font-size: 28px;
    }

    .wf-event-page .rightSideViewProfile,
    .wf-location-card div,
    .wf-location-card h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    .wf-event-page .eventTopInfo {
        display: block;
        padding: 18px;
    }

    .wf-event-page .eventTopInfoPriceAndButton {
        margin-top: 16px;
        min-width: 0;
        width: 100%;
    }

    .wf-event-page .eventDetailsContainer {
        display: block;
    }

    .wf-event-page .eventDetailsRight {
        margin-top: 20px;
    }

    .wf-event-page .viewOrgProfile {
        margin-top: 0;
    }

    .wf-event-page .organizationImage {
        width: 80px;
        height: 80px;
    }
}

/* Phase 3 checkout refinements */
.wf-event-page .buy-modal {
    padding: 16px;
}

.wf-event-page .buy-modal-background {
    width: min(980px, 100%);
    max-height: min(88vh, 980px);
    overflow: hidden;
}

.wf-event-page .buy-modal-content,
.wf-event-page .buy-modal-content-special {
    scrollbar-width: thin;
}

.wf-event-page .closeButton {
    top: 14px;
    right: 14px;
    font-size: 28px;
    border: 3px solid var(--wf-ink);
    border-radius: 25px;;
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.wf-event-page .dollar-input-wrapper input,
.wf-event-page #id_checkout input,
.wf-event-page #id_checkout select,
.wf-event-page #payment-form input,
.wf-event-page #payment-form select,
.wf-event-page #payment-form textarea {
    min-height: 48px;
    font-size: 16px;
}

.wf-event-page #id_checkout .ticketTableBody {
    margin-bottom: 12px;
}

.wf-event-page #id_checkout .ticketTypeBody,
.wf-event-page #id_checkout .ticketPriceBody,
.wf-event-page #id_checkout .ticketQuantityBody {
    font-size: 18px;
}

.wf-event-page #id_payScreenExtra {
    border: var(--wf-stroke) solid var(--wf-ink);
    box-shadow: 4px 4px 0 var(--wf-ink);
    border-radius: 18px;
    padding: 14px;
    background: #fff;
}

.wf-event-page #payment-element {
    background: #fff;
    padding: 10px;
}

.wf-event-page .buy-modal-footer {
    border-top: 3px solid var(--wf-ink);
}

.wf-event-page .buy-modal-footer .selectButton {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    font-size: 18px;
}

.wf-event-page #error-message,
.wf-event-page #error_ticket {
    border-radius: 12px;
    background: #ffe6eb;
}

@media (max-width: 768px) {
    .wf-event-page .buy-modal {
        padding: 8px;
    }

    .wf-event-page .buy-modal-background {
        width: 100%;
        max-height: 94vh;
    }

    .wf-event-page .buy-modal-content,
    .wf-event-page .buy-modal-content-special {
        padding: 16px;
    }

    .wf-event-page .buy-modal-footer .selectButton {
        min-height: 56px;
        font-size: 16px;
    }
}

/* Checkout screens aligned with event design system */
.wf-event-page .wf-checkout-stage .buy-modal {
    background: rgba(16, 16, 16, 0.34);
    padding: 22px;
}

.wf-event-page .wf-checkout-stage .buy-modal-background {
    border: var(--border) solid var(--ink);
    border-radius: 22px;
    box-shadow: var(--shadow);
    background: var(--paper);
    width: min(680px, calc(100% - 28px));
    max-height: min(84vh, 860px);
}

.wf-event-page .wf-checkout-stage .buy-modal-content {
    padding: 28px 28px 18px;
    flex: 0 1 auto;
    overflow-y: auto;
    max-height: min(58vh, 560px);
}

.wf-event-page .wf-checkout-modal-title {
    margin: 0 0 14px 0;
    font-family: "Archivo Black", "Arial Black", sans-serif;
    letter-spacing: -0.03em;
    line-height: 0.95;
    font-size: clamp(30px, 4.4vw, 52px);
}

.wf-event-page .wf-checkout-stage .ticketTableHeader {
    border-bottom: var(--border) solid var(--ink);
    padding: 0 2px 10px;
    margin-bottom: 14px;
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 0.02em;
}

.wf-event-page .wf-checkout-stage .ticketTableBody {
    border: var(--border) solid var(--ink);
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--ink);
    background: #fff;
    padding: 12px 14px;
    margin-bottom: 12px;
}

.wf-event-page #buyTicketsView .ticketTypeBody {
    margin-top: 2px;
}

.wf-event-page #buyTicketsView .ticketPriceBody,
.wf-event-page #buyTicketsView .ticketQuantityBody {
    margin-top: 2px;
    font-size: 18px;
}

.wf-event-page #buyTicketsView .ticketPriceQuantityBodyContainer {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px 14px;
    align-items: start;
}

@media (min-width: 769px) {
    .wf-event-page #buyTicketsView .ticketTableHeader,
    .wf-event-page #buyTicketsView .ticketTableBody {
        display: grid;
        grid-template-columns: minmax(0, 1.55fr) minmax(110px, 0.72fr) minmax(130px, 0.78fr);
        gap: 14px 20px;
        align-items: start;
    }

    .wf-event-page #buyTicketsView .ticketPriceQuantityBodyContainer {
        display: contents;
    }

    .wf-event-page #buyTicketsView .ticketPriceBody,
    .wf-event-page #buyTicketsView .ticketQuantityBody {
        margin-top: 0;
    }

    .wf-event-page #buyTicketsView .ticketQuantityHeader,
    .wf-event-page #buyTicketsView .ticketQuantityBody {
        text-align: right;
    }

    .wf-event-page #buyTicketsView .ticketQuantityBody select {
        width: min(170px, 100%);
        margin-left: auto;
    }

    .wf-event-page #buyTicketsView .ticketRangeInline {
        grid-column: 1 / -1;
    }
}

.wf-event-page #payScreen #id_checkout .ticketTableBody {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(90px, 0.8fr) minmax(90px, 0.8fr);
    align-items: center;
    gap: 8px 14px;
}

.wf-event-page #payScreen #id_checkout .ticketTypeBodyReview {
    font-size: 18px;
}

.wf-event-page #payScreen #id_checkout .ticketQuantityBodyReview,
.wf-event-page #payScreen #id_checkout .ticketTotalBodyReview {
    font-size: 16px;
    text-align: right;
}

.wf-event-page #payScreen #id_checkout .totalPrice {
    font-size: 20px;
    font-weight: 900;
}

.wf-event-page .wf-checkout-stage .buy-modal-footer {
    display: flex;
    align-items: stretch;
    border-top: var(--border) solid var(--ink);
    background: #fff;
}

.wf-event-page .wf-checkout-stage .buy-modal-footer .selectButton,
.wf-event-page .wf-checkout-stage .buy-modal-footer button.selectButton {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.1;
    border: 0;
    border-radius: 0;
}

.wf-event-page .wf-checkout-stage .buy-modal-footer .leftButton {
    background: #eceae6;
    color: #000;
}

.wf-event-page .wf-checkout-stage .buy-modal-footer .rightButton {
    background: var(--brand-teal);
    color: #fff;
}

.wf-event-page .btn,
.wf-event-page #buyTickets.btn,
.wf-event-page .nav a.primary {
    color: #fff;
}

.wf-event-page #buyTicketsView .buy-modal-content {
    max-height: calc(84vh - 100px);
    overflow-y: auto;
    position: relative;
    padding-bottom: 12px;
}

.wf-event-page #buyTicketsView .buy-modal-footer .rightButton {
    width: 100%;
}

.wf-event-page #buyTicketsView .buy-modal-content::after {
    content: "Scroll for more";
    position: sticky;
    bottom: -14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #26324a;
    background: rgba(198, 223, 226, 0.96);
    padding: 10px 10px 10px;
    border-radius: 25px;;
    border: 2px solid var(--ink);
    box-shadow: 0 -12px 20px rgba(251, 250, 247, 0.94), 2px 2px 0 var(--ink);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.wf-event-page #buyTicketsView .buy-modal-content.is-at-bottom::after {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
}

.wf-event-page #buyTicketsView .ticketPriceBody,
.wf-event-page #buyTicketsView .ticketQuantityBody,
.wf-event-page #buyTicketsView .ticketTypeBody {
    align-self: start;
}

.wf-event-page #buyTicketsView .ticketQuantityBody select {
    border: 3px solid var(--ink) !important;
    border-radius: 25px;;
    box-shadow: 3px 3px 0 var(--ink);
    background-color: var(--mint);
    color: #101010;
    font-weight: 800;
    min-height: 54px;
    padding: 8px 38px 8px 14px;
    -webkit-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='10' viewBox='0 0 14 10'%3E%3Cpath d='M2 2l5 5 5-5' stroke='%23101010' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.wf-event-page #buyTicketsView .ticketQuantityBody select:focus {
    outline: none;
    box-shadow: 2px 2px 0 var(--ink);
    transform: translate(1px, 1px);
}

.wf-event-page #buyTicketsView .wf-ticket-standard-price {
    display: block;
    font-weight: 700;
}

.wf-event-page #buyTicketsView .wf-ticket-member-price {
    display: inline-block;
    padding: 2px 8px;
    border: 2px solid var(--ink);
    border-radius: 25px;;
    background: var(--mint);
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.wf-event-page #buyTicketsView .wf-ticket-member-row {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
}

.wf-event-page #buyTicketsView .wf-ticket-member-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    border: 2px solid var(--ink);
    border-radius: 25px;;
    font-size: 11px;
    font-weight: 900;
    text-decoration: none;
    line-height: 1;
    background: #fff;
    color: #101010;
}

.wf-event-page #buyTicketsView .wf-price-legend {
    display: inline-block;
    padding: 7px 10px;
    border-radius: 10px;
    background: rgba(198, 223, 226, 0.45);
    font-weight: 700;
}

.wf-event-page #buyTicketsView .wf-price-legend span {
    font-weight: 900;
}

.wf-event-page #buyTicketsView .wf-login-recognition {
    max-width: 560px;
    margin-left: auto;
    text-align: left;
    line-height: 1.45;
}

.wf-event-page #buyTicketsView .wf-login-email {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 25px;;
    border: 2px solid var(--ink);
    background: rgba(198, 223, 226, 0.45);
    font-weight: 900;
}

.wf-event-page #buyTicketsView .wf-logout-pill {
    display: inline-block;
    margin-left: 6px;
    padding: 2px 9px;
    border-radius: 25px;;
    border: 2px solid var(--ink);
    background: #fff;
    text-decoration: none;
    font-weight: 900;
}

.wf-event-page #buyTicketsView .marginBottom {
    margin-bottom: 12px;
}

.wf-event-page #buyTicketsView .ticketRangeInline {
    margin-top: 6px;
    padding: 10px 12px 2px;
    border: 2px solid var(--ink);
    border-radius: 12px;
    background: rgba(198, 223, 226, 0.32);
}

.wf-event-page #contributeHosted.wf-contribution-upsell-stage .buy-modal-background {
    width: min(760px, calc(100% - 28px));
    max-height: min(82vh, 700px);
}

.wf-event-page #contributeHosted.wf-contribution-upsell-stage .buy-modal-content {
    padding: 22px 24px 14px;
    flex: 0 1 auto;
    overflow-y: auto;
    max-height: min(56vh, 460px);
}

.wf-event-page #contributeHosted.wf-contribution-upsell-stage .wf-contribution-upsell-title {
    margin-bottom: 2px;
}

.wf-event-page #contributeHosted.wf-contribution-upsell-stage hr {
    margin: 10px 0 14px;
}

.wf-event-page #contributeHosted.wf-contribution-upsell-stage label {
    display: inline-block;
    margin-bottom: 6px;
    font-weight: 900;
}

.wf-event-page #contributeHosted.wf-contribution-upsell-stage .marginBottom {
    margin-bottom: 8px;
}

.wf-event-page #contributeHosted.wf-contribution-upsell-stage .wf-contribution-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.wf-event-page #contributeHosted.wf-contribution-upsell-stage .wf-contribution-heart {
    font-size: 20px;
    line-height: 1;
}

.wf-event-page #contributeHosted.wf-contribution-upsell-stage .dollar-input-wrapper input {
    border: 3px solid var(--ink) !important;
    border-radius: 14px;
    box-shadow: 2px 2px 0 var(--ink);
    background: rgba(198, 223, 226, 0.28);
    font-size: 24px;
    font-weight: 800;
    min-height: 58px;
}

.wf-event-page #contributeHosted.wf-contribution-upsell-stage .dollar-input-wrapper input::placeholder {
    color: #4b566d;
    font-weight: 700;
}

.wf-event-page #contributeHosted.wf-contribution-upsell-stage #id_contribution_error {
    display: block;
    margin-top: 6px;
}

.wf-event-page #contributeHosted.wf-contribution-upsell-stage .buy-modal-footer .selectButton {
    flex: 1 1 0;
}

.wf-event-page #membershipIntro.wf-membership-upsell-stage .buy-modal-background {
    width: min(760px, calc(100% - 28px));
    max-height: min(86vh, 780px);
}

.wf-event-page #membershipIntro.wf-membership-upsell-stage .buy-modal-content-special {
    padding: 20px 24px 14px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow-y: auto;
    max-height: min(64vh, 560px);
}

.wf-event-page #membershipIntro.wf-membership-upsell-stage .wf-membership-upsell-title {
    margin-bottom: 0;
    font-size: clamp(34px, 5vw, 64px);
}

.wf-event-page #membershipIntro.wf-membership-upsell-stage .padding-special,
.wf-event-page #membershipIntro.wf-membership-upsell-stage .videopadding-special {
    padding: 0;
}

.wf-event-page #membershipIntro.wf-membership-upsell-stage .marginTop {
    margin-top: 8px;
}

.wf-event-page #membershipIntro.wf-membership-upsell-stage .marginBottom {
    margin-bottom: 10px;
}

.wf-event-page #membershipIntro.wf-membership-upsell-stage .video-containerContainer {
    width: min(100%, 560px);
}

.wf-event-page #membershipIntro.wf-membership-upsell-stage .video-container {
    height: auto;
    max-height: 230px;
    padding-bottom: 0;
    aspect-ratio: 16 / 9;
    border: var(--border) solid var(--ink);
    border-radius: 14px;
    overflow: hidden;
    background: #d4d4d4;
}

.wf-event-page #membershipIntro.wf-membership-upsell-stage .video-container iframe {
    position: static;
    width: 100%;
    height: 100%;
    display: block;
}

.wf-event-page #membershipIntro.wf-membership-upsell-stage .buy-modal-content-special img {
    display: block;
    width: min(100%, 560px);
    max-height: 230px;
    margin: 0 auto;
    object-fit: cover;
    border: var(--border) solid var(--ink);
    border-radius: 14px;
}

.wf-event-page #membershipIntro.wf-membership-upsell-stage .buy-modal-footer .selectButton {
    flex: 1 1 0;
}

.wf-event-page .wf-checkout-stage .closeButton {
    background: #fff;
    box-shadow: 3px 3px 0 var(--ink);
}

@media (max-width: 768px) {
    .wf-event-page .wf-checkout-stage .buy-modal {
        padding: 10px;
    }

    .wf-event-page .wf-checkout-stage .buy-modal-content {
        padding: 18px 16px 12px;
        max-height: min(70vh, 560px);
    }

    .wf-event-page #buyTicketsView .buy-modal-content::after {
        bottom: -10px;
    }

    .wf-event-page #buyTicketsView .ticketPriceQuantityBodyContainer {
        grid-template-columns: 1fr minmax(140px, 48%);
    }

    .wf-event-page #buyTicketsView .ticketPriceBody,
    .wf-event-page #buyTicketsView .ticketQuantityBody {
        align-self: start;
    }

    .wf-event-page #contributeHosted.wf-contribution-upsell-stage .buy-modal-content {
        padding: 16px 14px 10px;
        max-height: min(64vh, 520px);
    }

    .wf-event-page #contributeHosted.wf-contribution-upsell-stage .wf-contribution-upsell-title {
        font-size: clamp(28px, 10vw, 52px);
    }

    .wf-event-page #contributeHosted.wf-contribution-upsell-stage .wf-contribution-heart {
        font-size: 18px;
    }

    .wf-event-page #contributeHosted.wf-contribution-upsell-stage .dollar-input-wrapper input {
        font-size: 22px;
        min-height: 54px;
    }

    .wf-event-page #membershipIntro.wf-membership-upsell-stage .buy-modal-content-special {
        padding: 16px 14px 10px;
        gap: 10px;
        max-height: min(68vh, 560px);
    }

    .wf-event-page #membershipIntro.wf-membership-upsell-stage .wf-membership-upsell-title {
        font-size: clamp(28px, 10vw, 54px);
    }

    .wf-event-page #membershipIntro.wf-membership-upsell-stage .video-container,
    .wf-event-page #membershipIntro.wf-membership-upsell-stage .buy-modal-content-special img {
        max-height: 180px;
    }

    .wf-event-page #payScreen #id_checkout .ticketTableBody {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .wf-event-page #payScreen #id_checkout .ticketQuantityBodyReview,
    .wf-event-page #payScreen #id_checkout .ticketTotalBodyReview {
        text-align: left;
    }
}

/* Membership tier selection redesign */
.wf-event-page #membershipTiers .buy-modal {
    background: rgba(16, 16, 16, 0.34);
    padding: 22px;
}

.wf-event-page #membershipTiers .buy-modal-background {
    border: var(--border) solid var(--ink);
    border-radius: 22px;
    box-shadow: var(--shadow);
    background: var(--paper);
    width: min(980px, calc(100% - 28px));
    max-height: min(88vh, 940px);
    overflow: hidden;
}

.wf-event-page #membershipTiers .buy-modal-content {
    padding: 24px 28px 14px;
    overflow-y: auto;
    max-height: min(68vh, 700px);
    position: relative;
    padding-bottom: 18px;
}

.wf-event-page #membershipTiers .buy-modal-content h1 {
    margin: 0 0 12px 0;
    font-family: "Archivo Black", "Arial Black", sans-serif;
    letter-spacing: -0.03em;
    line-height: 0.95;
    font-size: clamp(34px, 4.2vw, 58px);
}

.wf-event-page #membershipTiers .membership-container {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 14px 16px;
    align-items: start;
    padding: 12px;
    margin: 0 0 12px 0;
    border: var(--border) solid var(--ink);
    border-radius: 16px;
    box-shadow: 4px 4px 0 var(--ink);
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: transform 120ms ease, box-shadow 120ms ease, background-color 120ms ease;
}

.wf-event-page #membershipTiers .membership-container.selectedMembership {
    border-color: var(--ink);
    box-shadow: 2px 2px 0 var(--ink);
    background: rgba(198, 223, 226, 0.56);
    transform: translate(2px, 2px);
    outline: 2px solid var(--ink);
    outline-offset: -2px;
}

.wf-event-page #membershipTiers .membership-image-container {
    margin: 0;
}

.wf-event-page #membershipTiers .membership-image {
    width: 108px;
    height: 108px;
    padding: 0;
    border: var(--border) solid var(--ink);
    box-shadow: 3px 3px 0 var(--ink);
    border-radius: 0;
    object-fit: cover;
    background: var(--ice);
}

.wf-event-page #membershipTiers .membership-right-side {
    margin: 0;
    width: auto;
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.wf-event-page #membershipTiers .membershipTierHeader {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
}

.wf-event-page #membershipTiers .membershipTierName {
    font-size: clamp(27px, 3vw, 42px);
    font-weight: 1000;
    letter-spacing: -0.02em;
    line-height: 1.06;
}

.wf-event-page #membershipTiers .membershipTierPrice {
    display: inline-flex;
    align-items: center;
    padding: 2px 12px;
    border: 2px solid var(--ink);
    border-radius: 25px;;
    background: var(--mint);
    box-shadow: 2px 2px 0 var(--ink);
    font-size: clamp(27px, 3vw, 42px);
    line-height: 1.06;
    font-weight: 1000;
    white-space: nowrap;
}

.wf-event-page #membershipTiers .membership-right-side .marginTop {
    margin-top: 0;
    font-size: 16px;
    line-height: 1.35;
    font-weight: 750;
}

.wf-event-page #membershipTiers .membership-right-side p {
    margin: 0;
}

.wf-event-page #membershipTiers .membershipBenefit {
    margin: 4px 0 2px 0;
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    width: fit-content;
    max-width: 100%;
    padding: 7px 12px;
    border: 2px solid var(--ink);
    border-radius: 14px;
    box-shadow: 2px 2px 0 var(--ink);
    background: rgba(198, 223, 226, 0.45);
    font-size: 14px;
    line-height: 1.25;
}

.wf-event-page #membershipTiers .membershipBenefitLine {
    display: block;
    white-space: normal;
}

.wf-event-page #membershipTiers .buy-modal-footer {
    display: block;
    border-top: var(--border) solid var(--ink);
    background: #fff;
}

.wf-event-page #membershipTiers .fullBottom {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.wf-event-page #membershipTiers .centerBottomText {
    border-top: 0;
    margin: 0;
    padding: 12px 16px;
    text-align: center;
    font-size: 19px;
    font-weight: 900;
}

.wf-event-page #membershipTiers .bottomRow {
    display: flex;
    border-top: var(--border) solid var(--ink);
}

.wf-event-page #membershipTiers .bottomRow .selectButton {
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 14px;
    font-size: 18px;
    line-height: 1.1;
}

.wf-event-page #membershipTiers .bottomRow .leftButton {
    background: #eceae6;
    color: #000;
    border-right: var(--border) solid var(--ink);
}

.wf-event-page #membershipTiers .bottomRow .rightButton {
    background: var(--brand-teal);
    color: #fff;
}

.wf-event-page #membershipTiers .noThanksMembershipButton {
    margin: 0;
}

.wf-event-page #membershipTiers .buy-modal-content::after {
    content: "Scroll for more";
    position: sticky;
    bottom: -5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 50%;
    margin-bottom: 10px;
    transform: translateX(-50%);
    text-align: center;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #26324a;
    background: rgba(198, 223, 226, 0.96);
    padding: 10px 10px 10px;
    border-radius: 25px;;
    border: 2px solid var(--ink);
    box-shadow: 0 -12px 20px rgba(251, 250, 247, 0.94), 2px 2px 0 var(--ink);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.wf-event-page #membershipTiers .buy-modal-content.is-at-bottom::after {
    opacity: 0;
    transform: translateX(-50%) translateY(8px);
}

@media (max-width: 768px) {
    .wf-event-page #membershipTiers .buy-modal {
        padding: 10px;
    }

    .wf-event-page #membershipTiers .buy-modal-background {
        width: 100%;
        max-height: 94vh;
    }

    .wf-event-page #membershipTiers .buy-modal-content {
        padding: 16px 14px 10px;
        max-height: min(74vh, 680px);
    }

    .wf-event-page #membershipTiers .membership-container {
        grid-template-columns: minmax(0, 1fr);
        gap: 10px;
    }

    .wf-event-page #membershipTiers .membership-image {
        width: 94px;
        height: 94px;
    }

    .wf-event-page #membershipTiers .membershipTierName {
        font-size: clamp(28px, 7vw, 38px);
    }

    .wf-event-page #membershipTiers .membership-right-side .marginTop {
        font-size: 15px;
    }

    .wf-event-page #membershipTiers .membershipTierPrice {
        font-size: clamp(28px, 7vw, 38px);
    }

    .wf-event-page #membershipTiers .membershipBenefit {
        font-size: 13px;
    }

    .wf-event-page #membershipTiers .centerBottomText {
        font-size: 18px;
        padding: 10px 12px;
    }

    .wf-event-page #membershipTiers .bottomRow .selectButton {
        min-height: 56px;
        font-size: 16px;
    }
}
