/* Buchungsportal Frontend */
.bp-booking-app {
    max-width: 640px;
    margin: 0 auto;
    font-family: inherit;
    color: #333;
}

.bp-hidden { display: none !important; }

/* Steps indicator */
.bp-steps {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    padding: 0;
    list-style: none;
}

.bp-step {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    text-align: center;
    padding: 10px 4px;
    background: #f0f0f0;
    border-radius: 4px;
    font-size: 13px;
    line-height: 1.2;
    color: #888;
    transition: all 0.2s;
    overflow-wrap: anywhere;
}

.bp-step.active {
    background: var(--bp-accent, #3788d8);
    color: #fff;
    font-weight: 600;
}

.bp-step.completed {
    background: #d4edda;
    color: #155724;
}

.bp-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: rgba(0,0,0,0.1);
    font-size: 13px;
    font-weight: 700;
    margin: 0;
    flex-shrink: 0;
}

.bp-step.active .bp-step-num {
    background: rgba(255,255,255,0.3);
}

/* Panels */
.bp-panel {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 16px;
}

.bp-panel h3 {
    margin: 0 0 16px;
    font-size: 18px;
}

.bp-step-hint {
    color: #666;
    font-size: 14px;
    margin: -8px 0 16px;
}

/* Loading */
.bp-loading {
    text-align: center;
    padding: 24px;
    color: #888;
}

/* Type cards */
.bp-types-list,
.bp-staff-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bp-type-card,
.bp-staff-card {
    border: 2px solid #e0e0e0;
    border-left-width: 4px;
    border-radius: 6px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
}

.bp-type-card:hover,
.bp-staff-card:hover {
    border-color: var(--bp-accent, #3788d8);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.bp-type-name,
.bp-staff-name {
    font-weight: 600;
    font-size: 16px;
}

.bp-type-meta {
    font-size: 14px;
    color: #666;
    margin-top: 4px;
}

.bp-type-desc {
    font-size: 14px;
    color: #888;
    margin-top: 8px;
}

/* Calendar */
.bp-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.bp-calendar-nav span {
    font-weight: 600;
    font-size: 16px;
}

.bp-nav-btn {
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 6px 14px;
    cursor: pointer;
    font-size: 16px;
}

.bp-nav-btn:hover {
    background: #e0e0e0;
}

.bp-cal-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.bp-cal-table th {
    padding: 8px;
    text-align: center;
    font-size: 13px;
    color: #888;
    font-weight: 600;
}

.bp-cal-table td {
    padding: 8px;
    text-align: center;
    font-size: 15px;
    border-radius: 4px;
}

.bp-cal-available {
    cursor: pointer;
    font-weight: 600;
    color: var(--bp-accent, #3788d8);
    background: #e8f0fe;
}

.bp-cal-available:hover {
    background: var(--bp-accent, #3788d8);
    color: #fff;
}

.bp-cal-disabled {
    color: #ccc;
}

.bp-cal-today {
    border: 2px solid var(--bp-accent, #3788d8);
}

/* Slots */
.bp-slots-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bp-slot-btn {
    padding: 10px 18px;
    border: 2px solid var(--bp-accent, #3788d8);
    border-radius: 6px;
    background: #fff;
    color: var(--bp-accent, #3788d8);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.bp-slot-btn:hover {
    background: var(--bp-accent, #3788d8);
    color: #fff;
}

/* Contact form */
.bp-summary {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 20px;
}

.bp-summary-item {
    padding: 4px 0;
}

.bp-contact-form .bp-field {
    margin-bottom: 16px;
}

.bp-field-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.bp-field-row .bp-field {
    margin-bottom: 0;
}

.bp-field-wide {
    flex: 2;
}

.bp-field-narrow {
    flex: 1;
}

.bp-contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.bp-contact-form input,
.bp-contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
}

.bp-contact-form input:focus,
.bp-contact-form textarea:focus {
    border-color: var(--bp-accent, #3788d8);
    outline: none;
    box-shadow: 0 0 0 2px rgba(var(--bp-accent-rgb, 55, 136, 216), 0.2);
}

/* Address autocomplete dropdown */
.bp-suggest-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 6px 6px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    z-index: 100;
    max-height: 220px;
    overflow-y: auto;
}

.bp-suggest-item {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 14px;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.15s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bp-suggest-item:last-child {
    border-bottom: none;
}

.bp-suggest-item:hover,
.bp-suggest-item.active {
    background: #f0f7ff;
}

.bp-suggest-item .bp-suggest-icon {
    color: var(--bp-accent, #3788d8);
    flex-shrink: 0;
    font-size: 16px;
}

.bp-suggest-item .bp-suggest-label {
    flex: 1;
}

.bp-suggest-item .bp-suggest-label small {
    color: #888;
    display: block;
    font-size: 12px;
    margin-top: 2px;
}

/* Address validation status */
.bp-address-status {
    padding: 8px 14px;
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bp-address-status.valid {
    background: #edf7ed;
    color: #2e7d32;
    border: 1px solid #c8e6c9;
}

.bp-address-status.warning {
    background: #fff8e1;
    color: #f57f17;
    border: 1px solid #ffecb3;
}

.bp-address-status.checking {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #e0e0e0;
}

.bp-address-status .bp-status-icon {
    font-size: 16px;
    flex-shrink: 0;
}

/* Input validation states */
.bp-contact-form input.bp-valid {
    border-color: #4caf50;
}

.bp-contact-form input.bp-invalid {
    border-color: #ff9800;
}

/* Buttons */
.bp-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s;
}

.bp-btn-primary {
    background: var(--bp-accent, #3788d8);
    color: #fff;
    width: 100%;
}

.bp-btn-primary:hover {
    background: #2a6cb5;
}

.bp-btn-primary:disabled {
    background: #94bde6;
    cursor: not-allowed;
}

.bp-btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 1px solid #ddd;
}

.bp-btn-secondary:hover {
    background: #e0e0e0;
}

.bp-btn-danger {
    background: #dc3545;
    color: #fff;
}

.bp-btn-danger:hover {
    background: #c82333;
}

/* Confirmation */
.bp-confirmation {
    text-align: center;
}

.bp-success-icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    border-radius: 50%;
    background: #d4edda;
    color: #155724;
    font-size: 32px;
    margin: 0 auto 16px;
}

/* Manage view */
.bp-manage-details {
    background: #f8f9fa;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 20px;
}

.bp-manage-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.bp-manage-info {
    text-align: center;
    padding: 24px;
}

.bp-manage-info.bp-success {
    background: #d4edda;
    border-radius: 8px;
    color: #155724;
}

.bp-status {
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 600;
}

.bp-status-confirmed { background: #d4edda; color: #155724; }
.bp-status-pending { background: #fff3cd; color: #856404; }
.bp-status-cancelled { background: #f8d7da; color: #721c24; }

/* Actions bar */
.bp-actions {
    margin-top: 12px;
}

/* Error */
.bp-error {
    background: #f8d7da;
    color: #721c24;
    border-radius: 6px;
    padding: 12px 16px;
    margin-top: 12px;
    font-size: 14px;
}

.bp-error-msg {
    color: #721c24;
    font-size: 14px;
}

/* ═══════════════════════════════════════════════
   Preisliste / Price List
   ═══════════════════════════════════════════════ */
.bp-preisliste {
    max-width: 720px;
    margin: 0 auto;
    font-family: inherit;
    color: #333;
}

.bp-pl-category {
    margin-bottom: 32px;
}

.bp-pl-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid #e8ecf0;
}

.bp-pl-category-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #e8f0fe, #d0e2fd);
    color: var(--bp-accent, #3788d8);
    flex-shrink: 0;
}

.bp-pl-category-header h2 {
    margin: 0 !important;
    font-size: 22px !important;
    color: #1a1a1a;
}

.bp-pl-products {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bp-pl-product {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid #e8ecf0;
    border-radius: 10px;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.bp-pl-product:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border-color: #d0d8e0;
}

.bp-pl-product.bp-pl-sold-out {
    opacity: 0.55;
}

.bp-pl-product-info {
    flex: 1;
    min-width: 0;
}

.bp-pl-product-name {
    font-weight: 600;
    font-size: 15px;
    color: #1a1a1a;
}

.bp-pl-product-desc {
    font-size: 13px;
    color: #888;
    margin-top: 2px;
}

.bp-pl-product-min {
    font-size: 12px;
    color: #999;
    margin-top: 3px;
}

.bp-pl-product-price-col {
    text-align: right;
    flex-shrink: 0;
    margin-left: 20px;
}

.bp-pl-price {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.bp-pl-unit {
    font-size: 12px;
    color: #888;
    margin-top: 1px;
}

.bp-pl-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    margin-top: 6px;
}

.bp-pl-badge-sold-out {
    background: #f8d7da;
    color: #721c24;
}

.bp-pl-badge-phone {
    background: #fff3cd;
    color: #856404;
}

.bp-pl-group-header {
    margin: 24px 0 12px;
    text-align: center;
}

.bp-pl-group-image {
    margin-bottom: 8px;
}

.bp-pl-group-image img {
    max-width: 220px;
    max-height: 160px;
    border-radius: 10px;
    object-fit: cover;
}

.bp-pl-group-header h3 {
    margin: 0 !important;
    font-size: 18px !important;
    font-weight: 700;
    color: var(--bp-accent, #3788d8);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e8ecf0;
    display: inline-block;
}

.bp-pl-category .bp-pl-group-header:first-child {
    margin-top: 0;
}

/* Product-level image (for ungrouped products) */
.bp-pl-product-image {
    flex-shrink: 0;
    margin-right: 14px;
}

.bp-pl-product-image img {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    object-fit: cover;
}

.bp-pl-footer {
    text-align: center;
    padding: 20px 0 0;
    color: #888;
    font-size: 13px;
    border-top: 1px solid #e8ecf0;
    margin-top: 8px;
}

@media (max-width: 480px) {
    .bp-pl-product {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .bp-pl-product-price-col {
        text-align: left;
        margin-left: 0;
    }
    .bp-pl-price {
        font-size: 18px;
    }
}

/* ═══════════════════════════════════════════════
   Bestellanfrage / Order Request Form
   ═══════════════════════════════════════════════ */
.bp-order-app {
    max-width: 720px;
    margin: 0 auto;
    font-family: inherit;
    color: #333;
}

/* Section blocks */
.bp-order-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s;
}

.bp-order-section:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}

/* Section header */
.bp-order-section-header {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f0f0f0;
}

.bp-order-section-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: linear-gradient(135deg, #e8f0fe, #d0e2fd);
    color: var(--bp-accent, #3788d8);
    margin-bottom: 12px;
}

.bp-order-section-header h3 {
    margin: 0 0 4px;
    font-size: 20px;
    color: #1a1a1a;
}

.bp-order-section-desc {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Rows container */
.bp-order-rows {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 16px;
}

/* Individual row */
.bp-order-row {
    display: flex;
    flex-wrap: wrap; /* Fehlermeldung bekommt eine eigene Zeile, statt die Felder zu quetschen */
    align-items: flex-end;
    gap: 12px;
    padding: 16px;
    background: #fafbfc;
    border: 1px solid #e8ecf0;
    border-radius: 8px;
    position: relative;
    transition: opacity 0.2s, transform 0.2s;
}

/* Align number badge and remove button with the input fields */
.bp-order-row > .bp-order-row-number,
.bp-order-row > .bp-order-remove-btn {
    margin-bottom: 1px;
}

.bp-order-row:hover {
    background: #f5f7fa;
    border-color: #d0d8e0;
}

/* Row number badge */
.bp-order-row-number {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bp-accent, #3788d8);
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
    margin-bottom: 4px;
}

/* Row fields container */
.bp-order-row-fields {
    display: flex;
    gap: 12px;
    flex: 1;
    flex-wrap: wrap;
    min-width: 0; /* lange Produktnamen dürfen die Zeile nicht verbreitern */
}

.bp-order-row-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.bp-order-row-field label {
    font-size: 12px;
    font-weight: 600;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.bp-order-row-field-lg { flex: 3; min-width: 160px; }
.bp-order-row-field-md { flex: 2; min-width: 120px; }
.bp-order-row-field-sm { flex: 1; min-width: 90px; }

/* Inputs & Selects */
.bp-order-select,
.bp-order-input {
    padding: 10px 12px !important;
    border: 1px solid #ddd !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-family: inherit;
    background: #fff !important;
    color: #333 !important;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    text-overflow: ellipsis;
    height: 42px !important;
    line-height: 1.4 !important;
    margin: 0 !important;
}

.bp-order-select:focus,
.bp-order-input:focus {
    border-color: var(--bp-accent, #3788d8) !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(var(--bp-accent-rgb, 55, 136, 216), 0.15) !important;
}

.bp-order-select {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 12px center !important;
    padding-right: 32px !important;
}

/* Remove button */
.bp-order-remove-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px;
    border: 1px solid #e0e0e0 !important;
    background: #fff !important;
    color: #999;
    font-size: 20px;
    cursor: pointer;
    border-radius: 6px !important;
    transition: all 0.2s;
    flex-shrink: 0;
    line-height: 1;
    padding: 0 !important;
    margin: 0 !important;
}

.bp-order-remove-btn:hover {
    background: #fee2e2 !important;
    border-color: #dc3545 !important;
    color: #dc3545;
}

/* Row validation error – immer unter den Feldern, volle Breite */
.bp-order-row-error {
    flex: 0 0 100%;
    order: 10;
    box-sizing: border-box;
    width: 100%;
    padding: 6px 12px;
    margin-top: 0;
    background: #fff5f5;
    border: 1px solid #fecaca;
    border-radius: 6px;
    color: #dc3545;
    font-size: 13px;
    font-weight: 600;
}

/* Add button */
.bp-order-add-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border: 2px dashed #d0d8e0;
    border-radius: 8px;
    background: transparent;
    color: var(--bp-accent, #3788d8);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    width: 100%;
    justify-content: center;
    font-family: inherit;
}

.bp-order-add-btn:hover {
    border-color: var(--bp-accent, #3788d8);
    background: #f0f7ff;
}

.bp-order-add-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--bp-accent, #3788d8);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

/* Contact form */
.bp-order-contact-form label {
    display: block;
    font-weight: 600;
    margin-bottom: 4px;
    font-size: 14px;
}

.bp-order-contact-form input,
.bp-order-contact-form textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    box-sizing: border-box;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.bp-order-contact-form input:focus,
.bp-order-contact-form textarea:focus {
    border-color: var(--bp-accent, #3788d8);
    outline: none;
    box-shadow: 0 0 0 3px rgba(var(--bp-accent-rgb, 55, 136, 216), 0.15);
}

.bp-order-field {
    margin-bottom: 16px;
}

.bp-order-field-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.bp-order-field-row .bp-order-field {
    margin-bottom: 0;
}

.bp-order-field-half { flex: 1; }
.bp-order-field-wide { flex: 2; }
.bp-order-field-narrow { flex: 1; }

/* Privacy checkbox */
.bp-order-privacy {
    margin: 20px 0;
    font-size: 14px;
    color: #555;
}

.bp-order-privacy label {
    display: flex;
    gap: 8px;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
}

.bp-order-privacy input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
}

.bp-order-privacy a {
    color: var(--bp-accent, #3788d8);
    text-decoration: underline;
}

/* Submit button */
.bp-order-submit {
    margin-top: 8px;
    font-size: 16px;
    padding: 14px 24px;
}

/* Confirmation */
.bp-order-success {
    text-align: center;
    padding: 20px 0;
}

.bp-order-success-icon {
    width: 72px;
    height: 72px;
    line-height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, #d4edda, #b7dfbf);
    color: #155724;
    font-size: 36px;
    margin: 0 auto 20px;
}

.bp-order-success h3 {
    font-size: 22px;
    color: #155724;
    margin: 0 0 8px;
}

.bp-order-success p {
    color: #555;
    font-size: 15px;
}

.bp-order-summary-box {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 16px 24px;
    margin: 20px auto;
    max-width: 400px;
    text-align: left;
}

.bp-order-summary-box ul {
    margin: 6px 0 0;
    padding-left: 20px;
}

.bp-order-summary-box li {
    padding: 3px 0;
    font-size: 14px;
}

.bp-order-summary-group {
    margin-bottom: 12px;
}

.bp-order-summary-group:last-child {
    margin-bottom: 0;
}

.bp-order-success-note {
    font-size: 13px;
    color: #888;
    margin-top: 16px;
}

/* Responsive */
@media (max-width: 600px) {
    .bp-order-section {
        padding: 20px 16px;
    }

    .bp-order-row {
        flex-wrap: wrap;
        padding: 12px;
    }

    .bp-order-row-fields {
        flex-direction: column;
        width: 100%;
        flex-basis: 100%;
    }

    .bp-order-row-field-lg,
    .bp-order-row-field-md,
    .bp-order-row-field-sm {
        min-width: 0;
        width: 100%;
    }

    /* Erste Beschriftung neben dem X-Knopf, Auswahlfeld darunter – nichts überlappt */
    .bp-order-row-field:first-child label {
        min-height: 40px;
        display: flex;
        align-items: center;
        padding-right: 52px;
        margin-bottom: 6px;
    }

    .bp-order-row-number {
        position: absolute;
        top: -8px;
        left: -8px;
        width: 24px;
        height: 24px;
        font-size: 11px;
    }

    .bp-order-remove-btn {
        position: absolute;
        top: 10px;
        right: 10px;
        width: 40px !important;
        height: 40px !important;
        min-width: 40px;
    }

    .bp-order-field-row {
        flex-direction: column;
    }
}

/* Responsive */
@media (max-width: 480px) {
    .bp-steps {
        gap: 3px;
    }
    .bp-step {
        font-size: 11px;
        padding: 8px 2px;
    }
    .bp-manage-actions {
        flex-direction: column;
    }
}

/* Delivery cost */
.bp-delivery-banner {
    background: #f0f7ff;
    border: 1px solid #c3d9f0;
    border-left: 4px solid #2271b1;
    border-radius: 4px;
    padding: 10px 16px;
    margin-bottom: 16px;
    font-size: 14px;
    color: #1d2327;
}
.bp-delivery-banner small {
    color: #666;
}
.bp-delivery-cost {
    color: #2271b1;
    margin-top: 6px;
}
.bp-delivery-cost small {
    color: #666;
    font-weight: normal;
}

/* Prüfseite: Knöpfe nebeneinander, auf dem Handy untereinander in voller Breite */
.bp-review-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.bp-review-actions .bp-btn { flex: 1 1 200px; }
@media (max-width: 600px) {
    .bp-review-actions { flex-direction: column; }
    .bp-review-actions .bp-btn { width: 100%; flex: none; }
}

/* Danke-Fenster nach dem Absenden der Bestellanfrage */
.bp-thanks {
    width: min(480px, calc(100vw - 32px));
    max-height: calc(100vh - 32px);
    overflow-y: auto;
    border: 0;
    border-radius: 14px;
    padding: 28px 24px 22px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .3);
    text-align: center;
    color: #333;
    box-sizing: border-box;
}
.bp-thanks::backdrop { background: rgba(20, 14, 8, .55); }
.bp-thanks-icon {
    width: 64px; height: 64px; line-height: 64px; margin: 0 auto 14px;
    border-radius: 50%; background: linear-gradient(135deg, #d4edda, #b7dfbf); color: #155724; font-size: 32px;
}
.bp-thanks h3 { margin: 0 0 8px; font-size: 21px; color: #155724; }
.bp-thanks p { margin: 0 0 12px; font-size: 15px; line-height: 1.5; }
.bp-thanks-mail { background: #fff8e6; border: 1px solid #f0d78c; border-radius: 10px; padding: 12px 14px; margin: 14px 0; text-align: left; }
.bp-thanks-mail strong { display: block; margin-bottom: 4px; font-size: 15px; }
.bp-thanks-mail p { margin: 0; font-size: 14px; overflow-wrap: anywhere; }
.bp-thanks-phone { font-size: 14px; color: #555; }
.bp-thanks-close { width: 100%; margin-top: 4px; font-size: 16px; padding: 12px 20px; }
.bp-thanks-phone a { white-space: nowrap; }
