.vsp-app {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5em;
    align-items: flex-start;
    margin: 1.5em 0;
}

.vsp-wrapper {
    flex: 1 1 360px;
    max-width: 420px;
    padding: 1.5em;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.vsp-row {
    margin-bottom: 1em;
}

.vsp-row label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.35em;
}

.vsp-row select {
    width: 100%;
    padding: 0.5em;
    font-size: 1em;
    border: 1px solid #ccc;
    border-radius: 4px;
    background: #fff;
}

.vsp-row select:disabled {
    background: #f3f3f3;
    color: #888;
}

#vsp-add-to-cart {
    width: 100%;
    padding: 0.65em;
    font-size: 1em;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    background: #1a1a1a;
    color: #fff;
    cursor: pointer;
}

#vsp-add-to-cart:disabled {
    background: #ccc;
    cursor: not-allowed;
}

#vsp-add-to-cart:not(:disabled):hover {
    background: #333;
}

.vsp-message {
    margin-top: 0.75em;
    font-size: 0.95em;
}

.vsp-message.vsp-success {
    color: #1a7a1a;
}

.vsp-message.vsp-error {
    color: #b00020;
}

.vsp-message a {
    margin-left: 0.5em;
    text-decoration: underline;
}

/* Summary panel */
.vsp-summary {
    flex: 1 1 280px;
    max-width: 340px;
    padding: 1.5em;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
}

.vsp-summary h3 {
    margin: 0 0 1em;
    font-size: 1.1em;
}

.vsp-summary-list {
    list-style: none;
    margin: 0 0 1em;
    padding: 0;
    max-height: 320px;
    overflow-y: auto;
}

.vsp-summary-empty {
    color: #888;
    font-size: 0.95em;
    padding: 0.5em 0;
}

.vsp-summary-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5em;
    padding: 0.6em 0;
    border-bottom: 1px solid #eee;
}

.vsp-summary-item:last-child {
    border-bottom: none;
}

.vsp-summary-item.vsp-family-bundle {
    background: #fff8e6;
    border-radius: 4px;
    padding-left: 0.5em;
    padding-right: 0.25em;
    margin: 0.15em 0;
}

.vsp-summary-item.vsp-family-bundle .vsp-summary-item-sub {
    color: #8a6d00;
    font-weight: 600;
}

.vsp-summary-item-title {
    font-weight: 600;
    font-size: 0.95em;
}

.vsp-summary-item-sub {
    font-size: 0.88em;
    color: #555;
    margin-top: 0.2em;
}

.vsp-summary-remove {
    border: none;
    background: none;
    font-size: 1.3em;
    line-height: 1;
    color: #999;
    cursor: pointer;
    padding: 0 0.25em;
}

.vsp-summary-remove:hover {
    color: #b00020;
}

.vsp-summary-total {
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 1.05em;
    padding-top: 0.75em;
    border-top: 1px solid #ddd;
    margin-bottom: 1em;
}

.vsp-checkout-button {
    display: block;
    width: 100%;
    box-sizing: border-box;
    padding: 0.65em;
    text-align: center;
    font-size: 1em;
    font-weight: 600;
    border-radius: 4px;
    background: #1a1a1a;
    color: #fff;
    text-decoration: none;
}

.vsp-checkout-button:hover {
    background: #333;
}

.vsp-checkout-button.vsp-disabled {
    background: #ccc;
    color: #888;
    pointer-events: none;
    cursor: not-allowed;
}

@media ( max-width: 720px ) {
    .vsp-app {
        flex-direction: column;
    }

    .vsp-wrapper,
    .vsp-summary {
        max-width: 100%;
        width: 100%;
    }

    .vsp-seating-plan {
        max-width: 100%;
    }
}

/* Seating plan thumbnail + lightbox */
.vsp-seating-plan {
    /* Matches .vsp-wrapper (420px) + .vsp-summary (340px) + the 1.5em gap
       between them in .vsp-app below, so the image lines up with the full
       width of the picker + summary panel rather than looking narrower. */
    max-width: 784px;
    margin: 0 0 1.5em;
}

.vsp-seating-plan-trigger {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
    cursor: zoom-in;
    overflow: hidden;
}

.vsp-seating-plan-trigger img {
    display: block;
    width: 100%;
    height: auto;
}

.vsp-seating-plan-hint {
    position: absolute;
    right: 0.75em;
    bottom: 0.75em;
    padding: 0.35em 0.75em;
    font-size: 0.85em;
    font-weight: 600;
    color: #fff;
    background: rgba(0, 0, 0, 0.65);
    border-radius: 4px;
}

.vsp-seating-plan-trigger:hover .vsp-seating-plan-hint,
.vsp-seating-plan-trigger:focus-visible .vsp-seating-plan-hint {
    background: rgba(0, 0, 0, 0.8);
}

.vsp-seating-plan-trigger:focus-visible {
    outline: 2px solid #1a1a1a;
    outline-offset: 2px;
}

.vsp-lightbox {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2em;
    background: rgba(0, 0, 0, 0.85);
    cursor: zoom-out;
}

.vsp-lightbox[hidden] {
    display: none;
}

.vsp-lightbox img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    cursor: default;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.vsp-lightbox-close {
    position: absolute;
    top: 1.25em;
    right: 1.5em;
    width: 2.5em;
    height: 2.5em;
    font-size: 1.75em;
    line-height: 1;
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    cursor: pointer;
}

.vsp-lightbox-close:hover,
.vsp-lightbox-close:focus-visible {
    background: rgba(255, 255, 255, 0.2);
}

/* Prevent background scroll while the lightbox is open */
body.vsp-lightbox-open {
    overflow: hidden;
}

@media ( max-width: 720px ) {
    .vsp-lightbox {
        padding: 1em;
    }

    .vsp-lightbox-close {
        top: 0.75em;
        right: 0.75em;
    }
}
