.efb-widget,
.efb-portal {
    --efb-ink: #18212f;
    --efb-muted: #667085;
    --efb-border: #e5e7eb;
    --efb-accent: #136f63;
    --efb-accent-dark: #0e5148;
    --efb-surface: #ffffff;
    --efb-soft: #f7faf9;
    max-width: 760px;
    margin: 24px auto;
    padding: clamp(20px, 4vw, 36px);
    border: 1px solid var(--efb-border);
    border-radius: 22px;
    background: var(--efb-surface);
    color: var(--efb-ink);
    box-shadow: 0 12px 40px rgba(16, 24, 40, .08);
    font-size: 16px;
    line-height: 1.5;
}

.efb-widget *,
.efb-portal * {
    box-sizing: border-box;
}

.efb-widget h2,
.efb-widget h3,
.efb-portal h2,
.efb-portal h3,
.efb-portal h4 {
    margin-top: 0;
    color: var(--efb-ink);
}

.efb-widget h2,
.efb-portal h2 {
    margin-bottom: 0;
    font-size: clamp(24px, 4vw, 34px);
    letter-spacing: -.03em;
}

.efb-widget h3 {
    margin-bottom: 18px;
    font-size: 19px;
}

.efb-eyebrow {
    margin: 0 0 6px;
    color: var(--efb-accent);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.efb-widget-header,
.efb-portal-card-top,
.efb-card-footer,
.efb-summary,
.efb-date-row,
.efb-portal-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.efb-price-note {
    text-align: right;
    white-space: nowrap;
}

.efb-price-note strong,
.efb-total {
    display: block;
    font-size: 22px;
}

.efb-price-note span,
.efb-muted,
.efb-payment-note {
    color: var(--efb-muted);
    font-size: 14px;
}

.efb-experience-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 20px 0 26px;
}

.efb-experience-meta span {
    padding: 6px 10px;
    border-radius: 999px;
    background: var(--efb-soft);
    color: var(--efb-muted);
    font-size: 13px;
}

.efb-step {
    margin-top: 26px;
    padding-top: 26px;
    border-top: 1px solid var(--efb-border);
}

.efb-date-row {
    align-items: end;
}

.efb-date-row label,
.efb-form-grid label,
.efb-notes-label,
.efb-portal-form label {
    display: block;
    flex: 1;
}

.efb-widget label > span,
.efb-portal label > span,
.efb-form-grid label > span,
.efb-notes-label > span,
.efb-portal-form label > span {
    display: block;
    margin-bottom: 6px;
    color: var(--efb-muted);
    font-size: 13px;
    font-weight: 700;
}

.efb-widget input:not([type="checkbox"]),
.efb-widget textarea,
.efb-portal input:not([type="checkbox"]) {
    width: 100%;
    border: 1px solid #d0d5dd;
    border-radius: 10px;
    background: #fff;
    color: var(--efb-ink);
    font: inherit;
    padding: 11px 12px;
}

.efb-widget input:focus,
.efb-widget textarea:focus,
.efb-portal input:focus {
    border-color: var(--efb-accent);
    box-shadow: 0 0 0 3px rgba(19, 111, 99, .14);
    outline: 0;
}

.efb-button,
.efb-load-slots,
.efb-checkout-button,
.efb-slot-button {
    border: 0;
    border-radius: 10px;
    cursor: pointer;
    font: inherit;
    font-weight: 750;
    transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}

.efb-button,
.efb-load-slots,
.efb-checkout-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 10px 16px;
    background: var(--efb-accent);
    color: #fff;
    text-decoration: none;
}

.efb-button:hover,
.efb-load-slots:hover,
.efb-checkout-button:hover {
    background: var(--efb-accent-dark);
    color: #fff;
    transform: translateY(-1px);
}

.efb-checkout-button {
    width: 100%;
    margin-top: 18px;
}

.efb-checkout-button:disabled,
.efb-load-slots:disabled,
.efb-button:disabled {
    cursor: wait;
    opacity: .65;
    transform: none;
}

.efb-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(145px, 1fr));
    gap: 10px;
    margin-top: 18px;
}

.efb-waitlist-box {
    padding: 16px;
    border: 1px solid var(--efb-border);
    border-radius: 12px;
    background: var(--efb-soft);
}

.efb-waitlist-box h4 {
    margin: 0 0 6px;
}

.efb-waitlist-grid,
.efb-reschedule-date {
    display: flex;
    align-items: end;
    gap: 10px;
    margin: 12px 0;
}

.efb-waitlist-grid input {
    min-width: 0;
}

.efb-waitlist-message,
.efb-reschedule-message {
    margin-top: 10px;
    color: var(--efb-accent-dark);
    font-size: 14px;
}

.efb-slot-button {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 13px;
    border: 1px solid var(--efb-border);
    background: #fff;
    color: var(--efb-ink);
    text-align: left;
}

.efb-slot-button span {
    color: var(--efb-muted);
    font-size: 12px;
    font-weight: 500;
}

.efb-slot-button:hover,
.efb-slot-button.is-selected {
    border-color: var(--efb-accent);
    background: var(--efb-soft);
    box-shadow: 0 0 0 2px rgba(19, 111, 99, .12);
}

.efb-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.efb-addons {
    margin: 22px 0;
    padding: 16px;
    border: 1px solid var(--efb-border);
    border-radius: 12px;
}

.efb-addons legend {
    padding: 0 8px;
    font-weight: 750;
}

.efb-addon {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--efb-border);
}

.efb-addon:last-child {
    border-bottom: 0;
}

.efb-addon input,
.efb-waiver input {
    accent-color: var(--efb-accent);
}

.efb-waiver {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin: 22px 0;
    padding: 14px;
    border-radius: 12px;
    background: #fff9e8;
    color: #614a10;
    font-size: 14px;
}

.efb-notes-label {
    margin-top: 18px;
}

.efb-summary {
    margin-top: 20px;
    padding-top: 18px;
    border-top: 1px solid var(--efb-border);
}

.efb-payment-note {
    margin: 12px 0 0;
    text-align: center;
}

.efb-message {
    min-height: 24px;
    margin-top: 16px;
    font-size: 14px;
}

.efb-message-error,
.efb-notice-error {
    color: #b42318;
}

.efb-message-success,
.efb-notice-success,
.efb-waiver-confirmed {
    color: #067647;
}

.efb-notice {
    padding: 14px 16px;
    border-radius: 10px;
    background: var(--efb-soft);
}

.efb-experiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 22px;
    margin: 24px auto;
}

.efb-experience-card {
    overflow: hidden;
    border: 1px solid var(--efb-border);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 28px rgba(16, 24, 40, .06);
}

.efb-experience-card img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
}

.efb-card-body {
    padding: 18px;
}

.efb-card-body h3 {
    margin-bottom: 10px;
}

.efb-card-excerpt {
    color: var(--efb-muted);
    font-size: 14px;
}

.efb-card-excerpt p {
    margin: 0;
}

.efb-card-footer {
    margin-top: 18px;
}

.efb-button-secondary {
    padding: 8px 12px;
    font-size: 13px;
}

.efb-portal {
    max-width: 700px;
}

.efb-portal-intro p:not(.efb-eyebrow) {
    color: var(--efb-muted);
}

.efb-portal-form {
    display: flex;
    align-items: end;
    gap: 12px;
    margin: 22px 0;
}

.efb-portal-actions {
    flex-wrap: wrap;
}

.efb-portal-card {
    margin-top: 20px;
    padding-top: 22px;
    border-top: 1px solid var(--efb-border);
}

.efb-status-badge,
.efb-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 999px;
    background: var(--efb-soft);
    color: var(--efb-accent-dark);
    font-size: 12px;
    font-weight: 800;
    text-transform: capitalize;
}

.efb-status-canceled,
.efb-status-expired,
.efb-status-failed {
    background: #fef3f2;
    color: #b42318;
}

.efb-status-pending {
    background: #fff9e8;
    color: #614a10;
}

.efb-detail-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 22px 0;
}

.efb-detail-list div {
    padding: 12px;
    border-radius: 10px;
    background: var(--efb-soft);
}

.efb-detail-list dt {
    color: var(--efb-muted);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

.efb-detail-list dd {
    margin: 4px 0 0;
    font-weight: 700;
}

.efb-portal-instructions,
.efb-portal-addons {
    margin-top: 20px;
}

.efb-portal-instructions h4,
.efb-portal-addons h4 {
    margin-bottom: 8px;
}

.efb-portal-addons ul {
    margin: 0;
    padding-left: 20px;
}

.efb-ticket-code {
    margin-top: 20px;
    color: var(--efb-muted);
    font-size: 14px;
}

.efb-reschedule-panel {
    margin-top: 20px;
    padding: 16px;
    border: 1px solid var(--efb-border);
    border-radius: 12px;
    background: var(--efb-soft);
}

.efb-reschedule-panel h4 {
    margin-bottom: 8px;
}

.efb-reschedule-slots {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin: 12px 0;
}

.efb-confirm-reschedule {
    width: 100%;
}

.efb-waiver-record {
    margin-top: 10px;
    color: var(--efb-muted);
    font-size: 14px;
}

.efb-waiver-record summary {
    cursor: pointer;
    color: var(--efb-accent-dark);
    font-weight: 700;
}

.efb-waiver-record > div {
    margin-top: 8px;
    padding: 12px;
    border: 1px solid var(--efb-border);
    border-radius: 10px;
    background: var(--efb-soft);
}

@media (max-width: 620px) {
    .efb-widget-header,
    .efb-date-row,
    .efb-portal-form,
    .efb-card-footer {
        align-items: stretch;
        flex-direction: column;
    }

    .efb-price-note {
        text-align: left;
    }

    .efb-form-grid,
    .efb-detail-list {
        grid-template-columns: 1fr;
    }

    .efb-date-row .efb-load-slots,
    .efb-portal-form .efb-button,
    .efb-reschedule-date .efb-button {
        width: 100%;
    }

    .efb-waitlist-grid,
    .efb-reschedule-date {
        align-items: stretch;
        flex-direction: column;
    }
}
