.bw-bp-extra-list-wrap {
    margin-top: 0;
}

.bw-bp-extra-list {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 0;
}

.bw-bp-extras-subtitle {
    margin: 0 0 2px;
    line-height: 1.2;
    font-size: var(--bw-subtitle-size, 0.95rem);
    font-weight: 600;
    color: var(--bw-subtitle-color, var(--bw-title-color));
}

.bw-bp-extras-rules-hint {
    margin: 0 0 6px;
    line-height: 1.2;
    font-size: var(--bw-content-text-size, 0.9rem);
    color: var(--bw-detail-color, var(--bw-content-text-color));
}

.bw-bp-extras-subtitle + .bw-bp-extra-card,
.bw-bp-extras-rules-hint + .bw-bp-extra-card,
.bw-bp-extras-subtitle + .bw-bp-extras-empty,
.bw-bp-extras-rules-hint + .bw-bp-extras-empty {
    margin-top: 0;
}

.bw-bp-extra-card + .bw-bp-extra-card {
    margin-top: 16px;
}

.bw-bp-extras-empty {
    padding: 24px 16px;
    text-align: center;
    color: var(--bw-detail-color, var(--bw-content-text-color));
    font-size: var(--bw-content-text-size, 0.95rem);
    border: 1px dashed var(--bw-border-color, #d4cdc9);
    border-radius: 8px;
    background: #fff;
}

.bw-bp-extra-card {
    background: #fff;
    border: 1px solid var(--bw-border-color, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.bw-bp-extra-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
}

.bw-bp-extra-card-info {
    flex: 1;
    min-width: 0;
}

.bw-bp-extra-name {
    margin: 0 0 8px;
    font-size: var(--bw-title-font-size, 1rem);
    font-weight: 600;
    color: var(--bw-title-color, #2c3e50);
    line-height: 1.3;
}

.bw-bp-extra-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.bw-bp-extra-duration {
    font-size: var(--bw-content-text-size, 0.85rem);
    color: var(--bw-detail-color, var(--bw-content-text-color));
}

.bw-bp-extra-qty {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--bw-border-color, #e2e8f0);
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #fff;
}

.bw-bp-extra-qty-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: none;
    border-right: 1px solid var(--bw-border-color, #e2e8f0);
    background: #fff;
    color: var(--bw-title-color, #2c3e50);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.bw-bp-extra-qty-btn:hover,
.bw-bp-extra-qty-btn:focus,
.bw-bp-extra-qty-btn:active,
.bw-bp-extra-qty-btn:focus-visible {
    background: #fff !important;
    background-color: #fff !important;
    color: var(--bw-title-color, #2c3e50) !important;
    outline: none !important;
    box-shadow: none !important;
}

.bw-bp-extra-qty-btn:last-of-type {
    border-right: none;
    border-left: 1px solid var(--bw-border-color, #e2e8f0);
}

.bw-bp-extra-qty-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.bw-bp-extra-qty-value {
    min-width: 36px;
    text-align: center;
    font-size: var(--bw-content-text-size, 0.95rem);
    font-weight: 600;
    color: var(--bw-title-color, #2c3e50);
}

.bw-bp-extra-card-footer {
    border-top: 1px solid var(--bw-border-color, #e2e8f0);
}

.bw-bp-extra-learn-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 100%;
    padding: 6px 16px;
    border: none;
    background: transparent;
    color: var(--bw-primary-color, #5700b4);
    font-size: var(--bw-content-text-size, 0.9rem);
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    outline: none;
    box-shadow: none;
    -webkit-tap-highlight-color: transparent;
}

.bw-bp-extra-learn-more:hover,
.bw-bp-extra-learn-more:focus,
.bw-bp-extra-learn-more:active,
.bw-bp-extra-learn-more:focus-visible,
.bw-bp-extra-learn-more:focus-within {
    background: transparent !important;
    background-color: transparent !important;
    color: var(--bw-primary-color, #5700b4) !important;
    outline: none !important;
    box-shadow: none !important;
    border: none !important;
}

.bw-bp-extra-chevron {
    transition: transform 0.2s ease;
}

.bw-bp-extra-chevron.open {
    transform: rotate(180deg);
}

.bw-bp-extra-description {
    padding: 0 20px 16px;
    font-size: var(--bw-content-text-size, 0.9rem);
    line-height: 1.5;
    color: var(--bw-detail-color, var(--bw-content-text-color));
}

@media (max-width: 768px) {
    .bw-bp-extra-card-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .bw-bp-extra-qty {
        align-self: flex-end;
    }
}

.bw-summary-extra-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 6px;
    font-size: var(--bw-title-font-size, 0.95rem);
    color: var(--bw-title-color);
    font-weight: 600;
}

.bw-summary-extra-line:first-of-type {
    margin-top: 2px;
}

.bw-summary-extra-name {
    flex: 1;
    min-width: 0;
}

.bw-summary-extra-price {
    flex-shrink: 0;
    color: var(--bw-detail-color, var(--bw-content-text-color));
    font-size: var(--bw-detail-font-size, 0.9rem);
    font-weight: 500;
}

.bw-success-total {
    width: 100%;
    margin: 20px 0 8px;
    padding-top: 16px;
    border-top: 1px solid var(--bw-border-color, #eef2f7);
}
/* Initial attendee option selector shares the extras step. */
.bw-bp-extra-list .bw-attendee-total {
    color: #ff0000;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.4;
    text-transform: none;
    overflow-wrap: anywhere;
    margin: 0 0 12px;
}

.bw-attendee-options {
    margin: 0 0 20px;
    padding: 0;
    border: 0;
    min-width: 0;
    display: grid;
    gap: 10px;
}
.bw-attendee-options legend {
    float: none;
    width: 100%;
    padding: 0 0 12px;
    margin: 0;
    font-size: var(--bw-subtitle-size, 0.95rem);
    font-weight: 600;
    line-height: 1.4;
    color: var(--bw-title-color, #203239);
}
.bw-attendee-options .bw-attendee-option {
    display: grid;
    grid-template-columns: 20px minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    min-height: 68px;
    padding: 14px 16px;
    margin: 0;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid var(--bw-border-color, #dcdcde);
    border-radius: 8px;
    cursor: pointer;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.bw-attendee-options .bw-attendee-option:hover,
.bw-attendee-options .bw-attendee-option.is-selected {
    border-color: var(--bw-primary-color, #5700b4);
}
.bw-attendee-options .bw-attendee-option.is-selected {
    box-shadow: inset 0 0 0 1px var(--bw-primary-color, #5700b4);
}
.bw-attendee-options .bw-attendee-option:focus-within {
    outline: 2px solid var(--bw-primary-color, #5700b4);
    outline-offset: 3px;
}
.bw-attendee-options .bw-attendee-option input[type="radio"] {
    appearance: auto;
    width: 18px;
    height: 18px;
    margin: 0;
    padding: 0;
    accent-color: var(--bw-primary-color, #5700b4);
}
.bw-attendee-option-name {
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: var(--bw-content-text-size, 0.95rem);
    font-weight: 600;
    line-height: 1.5;
    color: var(--bw-title-color, #203239);
}
.bw-attendee-option-price {
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
    font-size: var(--bw-content-text-size, 0.95rem);
    font-weight: 600;
    line-height: 1.5;
    color: var(--bw-primary-color, #5700b4);
}
.bw-attendee-options .bw-attendee-option.is-disabled {
    opacity: 0.55;
    cursor: not-allowed;
}
@media (max-width: 480px) {
    .bw-attendee-options .bw-attendee-option {
        grid-template-columns: 20px minmax(0, 1fr);
        gap: 6px 10px;
        padding: 12px;
    }
    .bw-attendee-option-price { grid-column: 2; }
}
