/* Event ticket detail — HTML mock + GoMobii tokens */
.gm-ed-date {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 3;
    min-width: 64px;
    padding: 8px 12px;
    border-radius: 10px;
    background: #C9851A;
    color: #fff;
    text-align: center;
    font-family: Outfit, sans-serif;
    line-height: 1.05;
}

.gm-ed-date .mon,
.gm-ed-date .dow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.gm-ed-date .day {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.2;
}

.gm-ed-hero-meta {
    flex-wrap: wrap;
}

.gm-ed-hero-clock {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    object-fit: contain;
    display: block;
    margin-left: 10px;
}

.gm-sd.gm-ed .gm-sd-hero-stars {
    color: #C9851A;
}

.gm-sd.gm-ed .gm-sd-hero-stars .gm-ico {
    color: #C9851A;
}

.gm-sd.gm-ed .gm-sd-thumbs {
    grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gm-ed-actions {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: 22px 0 28px;
    padding: 24px 12px;
    background: #fff;
    border: none;
    border-radius: 14px;
    box-shadow: 0 8px 24px rgba(44, 24, 16, 0.07);
}

.gm-ed-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: none;
    background: transparent;
    text-align: left;
    cursor: pointer;
    color: inherit;
    padding: 6px 20px;
    font: inherit;
    text-decoration: none;
    position: relative;
    min-width: 0;
}

.gm-ed-action + .gm-ed-action::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: #EEEEEE;
}

.gm-ed-action:hover {
    color: inherit;
}

.gm-ed-action-icon {
    width: 52px;
    height: 52px;
    flex-shrink: 0;
    border-radius: 50%;
    background: #F6F0E7;
    color: #C9851A;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gm-ed-action-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.gm-ed-action h6 {
    margin: 0;
    font-family: Outfit, sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.2;
    color: #B37A2C;
}

.gm-ed-action p {
    margin: 3px 0 0;
    font-family: Outfit, sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.25;
    color: #333333;
}

.gm-ed-features {
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
}

.gm-ed-features li {
    position: relative;
    padding: 0 0 12px 18px;
    font-family: Outfit, sans-serif;
    font-size: 14px;
    color: #6b6255;
}

.gm-ed-features li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #C9851A;
}

.gm-ed-features strong {
    color: #1A1410;
}

.gm-ed-people {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
    text-align: center;
}

.gm-ed-person img,
.gm-ed-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #e8a94a;
    margin: 0 auto 6px;
}

.gm-ed-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #efe6d2;
    color: #1A1410;
    font-family: Outfit, sans-serif;
    font-size: 14px;
    font-weight: 700;
}

.gm-ed-avatar.is-more {
    border: 2px dashed #e7dfd0;
    font-size: 11px;
    line-height: 1.2;
}

.gm-ed-person .name {
    font-family: Outfit, sans-serif;
    font-size: 12px;
    font-weight: 600;
}

.gm-sd.gm-ed .gm-sd-book-fields .gm-sd-book-row:last-child {
    margin-bottom: 0;
}

.gm-sd.gm-ed .gm-sd-book .panel-dropdown {
    float: none;
    display: block;
    width: 100%;
    margin-top: 0;
}

.gm-sd.gm-ed .gm-sd-book .panel-dropdown > a {
    display: flex;
    align-items: center;
    position: relative;
    width: 100%;
    box-sizing: border-box;
    min-height: 46px;
    height: auto;
    line-height: 1.3;
    padding: 12px 40px 12px 14px;
    overflow: visible;
    white-space: nowrap;
    background: #F4EEE6;
    border-radius: 10px;
}

.gm-sd.gm-ed .gm-sd-book .panel-dropdown .panel-dropdown-content {
    position: absolute;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
}

.gm-sd.gm-ed .gm-ed-price-box {
    display: block;
    background: #fff;
    border-radius: 12px;
    padding: 16px 14px;
    margin-top: 16px;
}

.gm-ed-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 12px;
    font-family: Outfit, sans-serif;
    font-size: 13px;
    color: #8A8174;
    padding: 5px 0;
}

.gm-ed-price-row strong {
    color: #1A1410;
    font-weight: 700;
}

.gm-ed-price-row.is-total {
    margin-top: 8px;
    padding-top: 12px;
    border-top: 1px solid #eadfce;
    font-weight: 700;
    font-size: 15px;
    color: #1A1410;
}

.gm-ed-price-row.is-total span:last-child {
    color: #C9851A;
}

.gm-bk-qty {
    display: flex;
    align-items: center;
    gap: 8px;
}

.gm-bk-qty .gm-bk-field {
    text-align: center;
    margin: 0;
}

.gm-bk-qty-btn {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border: 1px solid #e7dfd0;
    border-radius: 8px;
    background: #fff;
    font-size: 18px;
    cursor: pointer;
}

#gomobii-rsvp-modal,
#gomobii-thankyou-modal {
    position: fixed;
    inset: 0;
    z-index: 200100;
    display: none;
}

#gomobii-rsvp-modal.active,
#gomobii-thankyou-modal.active {
    display: block;
}

.gomobii-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 20, 16, 0.7);
}

.gomobii-modal {
    position: relative;
    z-index: 1;
    width: min(520px, calc(100% - 32px));
    max-height: 90vh;
    margin: 5vh auto;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 14px;
}

.gomobii-modal-header,
.gomobii-modal-footer {
    padding: 16px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.gomobii-modal-footer {
    border-bottom: none;
    border-top: 1px solid #eee;
    flex-direction: column;
    gap: 8px;
}

.gomobii-modal-body {
    padding: 20px;
    overflow-y: auto;
}

.gomobii-field {
    margin-bottom: 14px;
}

.gomobii-modal input,
.gomobii-modal select {
    width: 100%;
    padding: 12px;
    border: 1px solid #e7dfd0;
    border-radius: 8px;
}

.gomobii-modal-close {
    background: none;
    border: none;
    font-size: 26px;
    cursor: pointer;
}

.gomobii-btn-primary {
    width: 100%;
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    background: #C9851A;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}

.gm-ed-featured .gm-ev-cal {
    position: static;
    right: auto;
    bottom: auto;
}

.gm-ed-featured .gm-es-card {
    flex: 0 0 calc((100% - 60px) / 4);
    width: calc((100% - 60px) / 4);
    max-width: calc((100% - 60px) / 4);
}

.gm-ed-featured .gm-es-card-media {
    position: relative;
    overflow: hidden;
}

.gm-ed-featured .gm-sd-featured-head .gm-stories-title {
    font-size: 42px;
    line-height: 1.15;
}

@media (max-width: 1100px) {
    .gm-ed-featured .gm-es-card {
        flex-basis: calc((100% - 20px) / 2);
        width: calc((100% - 20px) / 2);
        max-width: calc((100% - 20px) / 2);
    }
}

@media (max-width: 720px) {
    .gm-ed-featured .gm-es-card {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }

    .gm-ed-featured .gm-ev-card .gm-es-details {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 991px) {
    .gm-ed-actions {
        grid-template-columns: 1fr 1fr;
        border-radius: 14px;
        padding: 12px 8px;
        gap: 0;
    }

    .gm-ed-action {
        justify-content: flex-start;
        padding: 12px 10px;
    }

    .gm-ed-action + .gm-ed-action::before {
        display: none;
    }

    .gm-ed-people {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .gm-sd.gm-ed .gm-dest-wrap {
        padding-left: 12px;
        padding-right: 12px;
    }

    .gm-sd.gm-ed .gm-sd-thumbs {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .gm-ed-actions {
        display: flex;
        flex-direction: column;
        width: 100%;
        margin: 16px 0 20px;
        padding: 6px 12px;
        box-sizing: border-box;
    }

    .gm-ed-action {
        justify-content: flex-start;
        width: 100%;
        min-height: 64px;
        padding: 14px 4px;
        gap: 12px;
    }

    .gm-ed-action + .gm-ed-action {
        border-top: 1px solid #EEEEEE;
    }

    .gm-ed-action > span:last-child {
        min-width: 0;
        flex: 1;
    }

    .gm-ed-action-icon {
        width: 44px;
        height: 44px;
    }

    .gm-ed-action-icon img {
        width: 22px;
        height: 22px;
    }

    .gm-ed-action h6 {
        font-size: 12px;
    }

    .gm-ed-action p {
        font-size: 12px;
    }
}

@media (max-width: 400px) {
    .gm-sd.gm-ed .gm-dest-wrap {
        padding-left: 10px;
        padding-right: 10px;
    }

    .gm-ed-date {
        top: 10px;
        right: 10px;
        min-width: 52px;
        padding: 6px 8px;
    }

    .gm-ed-date .day {
        font-size: 20px;
    }

    .gm-ed-actions {
        margin: 12px 0 16px;
        padding: 4px 10px;
        border-radius: 12px;
    }

    .gm-ed-action {
        min-height: 56px;
        padding: 10px 2px;
        gap: 10px;
    }

    .gm-ed-people {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }

    .gm-ed-featured .gm-sd-featured-head .gm-stories-title {
        font-size: 28px;
    }

    .gm-ed-featured .gm-es-card {
        flex-basis: 100%;
        width: 100%;
        max-width: 100%;
    }
}

.gm-ed-tickets-left {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    padding: 14px 16px;
    border: 1px solid #c9b896;
    border-radius: 12px;
    background: #E8D9C2;
}

.gm-ed-tickets-left-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #F4EEE6;
    color: #A86E12;
    font-size: 18px;
}

.gm-ed-tickets-left h3 {
    margin: 0 0 4px;
    font-family: Outfit, sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #A86E12;
}

.gm-ed-tickets-left p {
    margin: 0;
    font-family: Outfit, sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #1A1410;
}

.gm-ed-tickets-left p strong {
    font-weight: 800;
}
.gm-sd-card {
    width: 100%;
    box-sizing: border-box;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 20px;
    border: 1px solid #eef2f6;
    font-family: inherit;
}

/* .gm-sd-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 16px;
}

.gm-sd-header h3 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0f172a;
} */

.gm-sd-address {
    font-size: 0.875rem;
    color: #64748b;
    word-break: break-word;
}

.gm-sd-map-wrapper {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
}

#gm-sd-map {
    width: 100%;
    height: 420px;
    z-index: 1;
}

.gm-sd-directions-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 1000;
    background: #ffffff;
    color: #0f172a;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.gm-sd-directions-btn:hover {
    background: #f8fafc;
    color: #2563eb;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.16);
}

.gm-marker-pin {
    width: 32px;
    height: 32px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gm-pin-icon {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 4px 8px rgba(220, 38, 38, 0.45));
}

.gm-pin-pulse {
    position: absolute;
    width: 12px;
    height: 6px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 50%;
    bottom: -2px;
    left: 10px;
    animation: marker-pulse 2s infinite ease-out;
    z-index: -1;
}

@keyframes marker-pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(2.8); opacity: 0; }
}

.gm-modern-popup .leaflet-popup-content-wrapper {
    background: #ffffff;
    border-radius: 10px;
    padding: 4px 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.14);
    border: 1px solid #f1f5f9;
}

.gm-modern-popup .leaflet-popup-content {
    margin: 8px 12px;
    font-size: 13px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.gm-modern-popup .leaflet-popup-tip {
    background: #ffffff;
    box-shadow: none;
}

@media (max-width: 768px) {
    .gm-sd-card {
        padding: 14px;
        border-radius: 12px;
    }

    #gm-sd-map {
        height: 300px;
    }

    .gm-sd-directions-btn {
        bottom: 12px;
        right: 12px;
        padding: 6px 12px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    #gm-sd-map {
        height: 240px;
    }

    .gm-sd-card {
        padding: 12px;
    }
}