/* ======================
   Pflegebox Configurator Styles
   ====================== */

:root {
    --pfb-primary: #007bff;
    --pfb-success: #28a745;
    --pfb-danger: #dc3545;
    --pfb-warning: #ffc107;
    --pfb-light: #f8f9fa;
    --pfb-dark: #343a40;
    --pfb-border: #dee2e6;
    --pfb-text: #212529;
    --pfb-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --pfb-radius: 4px;
}

/* Final strong override: force two columns on very small screens (mobile) */
@media (max-width: 576px) {
    .pfb-customization-products,
    .pfb-customization-row,
    .pfb-customization-product-grid,
    .pfb-products-list,
    .pfb-products-container {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .pfb-customization-product,
    .pfb-product-card {
        padding: 8px !important;
        min-height: auto !important;
    }

    .pfb-product-item {
        min-height: auto !important;
    }

    .pfb-customization-product-image,
    .pfb-product-image {
        height: 110px !important;
    }

    .pfb-customization-product-image img,
    .pfb-product-image img {
        max-height: 100px !important;
        width: auto !important;
    }

    .pfb-customization-product-body h3,
    .pfb-product-title {
        font-size: 14px !important;
    }

    .pfb-customization-product-body p,
    .pfb-product-subtitle {
        font-size: 12px !important;
    }

    .pfb-customization-attr-btn {
        padding: 4px 8px !important;
        font-size: 11px !important;
        height: 28px !important;
    }
}






@media (max-width: 576px) {
    /* Mobile: show two product cards per row for customization and product shortcodes */
    .pfb-customization-products,
    .pfb-customization-row,
    .pfb-customization-grid,
    .pfb-customization-product-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

    .pfb-customization-product {
        padding: 8px;
        min-height: auto;
    }

    .pfb-customization-product-image {
        height: 110px;
    }

    .pfb-customization-product-image img {
        max-height: 100px;
        width: auto;
    }

    .pfb-customization-product-body h3 {
        font-size: 14px;
    }

    .pfb-customization-product-body p {
        font-size: 12px;
    }

    .pfb-customization-attr-btn {
        padding: 4px 8px !important;
        font-size: 11px;
        height: 28px;
    }
}

* {
    box-sizing: border-box;
}

.pfb-configurator {
    max-width: 1200px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: var(--pfb-radius);
    box-shadow: var(--pfb-shadow);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    color: var(--pfb-text);
}

/* ==================
   Step Indicator
   ================== */

.pfb-steps-indicator {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--pfb-border);
}

.pfb-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    text-align: center;
    position: relative;
}

.pfb-step:not(:last-child)::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--pfb-border);
    top: 25px;
    left: 50%;
    z-index: -1;
}

.pfb-step.active:not(:last-child)::after {
    background: var(--pfb-success);
}

.pfb-step-icon {
    width: 50px;
    height: 50px;
    border: 3px solid var(--pfb-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    background: white;
    transition: all 0.3s ease;
}

.pfb-step-icon svg {
    width: 24px;
    height: 24px;
    fill: var(--pfb-border);
}

.pfb-step.active .pfb-step-icon {
    border-color: var(--pfb-success);
    background: var(--pfb-success);
}

.pfb-step.active .pfb-step-icon svg {
    fill: white;
}

.pfb-step-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--pfb-text);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ==================
   Form Content
   ================== */

.pfb-step-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.pfb-step-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.pfb-step-content h2 {
    color: var(--pfb-dark);
    margin-bottom: 10px;
    font-size: 28px;
}

.pfb-step-content > p {
    color: #666;
    margin-bottom: 30px;
    line-height: 1.6;
}

.pfb-step-2-grid {
    display: grid;
    grid-template-columns: 1.7fr 1fr;
    gap: 30px;
    align-items: start;
}

.pfb-step-2-main {
    display: grid;
    gap: 20px;
}

.pfb-step-2-main .pfb-form-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 24px;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.06);
    border-left: none;
}

.pfb-step-2-main .pfb-form-section h3 {
    margin-bottom: 20px;
    font-size: 20px;
    color: var(--pfb-dark);
}

.pfb-birthdate-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 13px;
    color: #6b7280;
}

.pfb-required-note {
    margin-top: 16px;
    color: #6b7280;
    font-size: 13px;
}

.pfb-step-2-sidebar {
    display: block;
}

.pfb-step-2-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pfb-form-group input[type="text"],
.pfb-form-group input[type="email"],
.pfb-form-group input[type="tel"],
.pfb-form-group input[type="number"] {
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #f8fafc;
    width: 100%;
}

.pfb-step-2-main .pfb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.pfb-step-2-main .pfb-form-row input {
    width: 100%;
}

.pfb-step-2-main .pfb-form-row .pfb-form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

.pfb-step-2-main .pfb-form-row .pfb-form-group label {
    margin-bottom: 10px;
    font-size: 14px;
}

.pfb-step-2-main .pfb-birthdate-group {
    margin-bottom: 16px;
    margin-top: 24px;
}

.pfb-step-2-main .pfb-radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(65px, max-content));
    gap: 12px;
    margin: 12px 0;
}

.pfb-radio-group label {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
}

.pfb-radio-group label span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #f8fafc;
    color: #111827;
    font-size: 14px;
    transition: all 0.2s ease;
}

.pfb-radio-group input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.pfb-radio-group input[type="radio"]:checked + span {
    background: var(--pfb-primary);
    border-color: var(--pfb-primary);
    color: white;
}

.pfb-help-text {
    margin-top: 10px;
    font-size: 13px;
}

.pfb-consultation-question {
    margin: 0 0 16px 0;
    font-size: 15px;
    color: var(--pfb-dark);
}

.pfb-consultation-info {
    margin: 16px 0 0 0;
    font-size: 13px;
    color: #6b7280;
    line-height: 1.5;
}

.pfb-sidebar {
    position: sticky;
    top: 20px;
}

.pfb-selected-box {
    border: 1px solid rgba(0, 123, 255, 0.12);
    background: #f4f9ff;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.04);
}

.pfb-selected-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.pfb-selected-box-header h3 {
    font-size: 18px;
    margin: 0;
}

.pfb-selected-check {
    font-size: 18px;
    font-weight: 700;
    color: var(--pfb-primary);
}

.pfb-selected-subtitle {
    margin-bottom: 18px;
    color: #555;
    font-size: 14px;
}

.pfb-total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 16px;
    background: white;
    border: 1px solid var(--pfb-border);
    border-radius: var(--pfb-radius);
    margin-bottom: 18px;
}

.pfb-price-label {
    font-size: 14px;
    color: #555;
}

.pfb-price-value {
    font-size: 18px;
    font-weight: 700;
}

@media (max-width: 980px) {
    .pfb-step-2-grid {
        grid-template-columns: 1fr;
    }

    .pfb-step-2-actions .pfb-btn-prev-step,
    .pfb-step-2-actions .pfb-btn-next-step {
        width: 100%;
    }
}

@media (max-width: 720px) {
    .pfb-form-row {
        grid-template-columns: 1fr;
    }

    .pfb-steps-indicator {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }

    .pfb-bettschoner-choice-inner {
        padding: 22px 18px;
    }

    .pfb-bettschoner-choice-layout {
        grid-template-columns: 1fr;
    }

    .pfb-bettschoner-choice-image {
        width: 100%;
        max-width: 240px;
    }
}

/* ==================
   Products Section (Step 1)
   ================== */

.pfb-products-container {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    margin-bottom: 20px;
}

.pfb-products-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.pfb-product-item {
    border: 2px solid var(--pfb-border);
    border-radius: var(--pfb-radius);
    overflow: hidden;
    transition: all 0.3s ease;
    background: white;
}

.pfb-product-item:hover {
    border-color: var(--pfb-primary);
    box-shadow: var(--pfb-shadow);
}

.pfb-product-image {
    width: 100%;
    aspect-ratio: 1.28;
    overflow: hidden;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
}

.pfb-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: auto;
}

.pfb-product-info {
    padding: 15px;
}

.pfb-product-info h3 {
    margin: 0 0 10px 0;
    font-size: 16px;
    color: var(--pfb-dark);
}

.pfb-product-stock,
.pfb-product-volume {
    margin: 5px 0;
    font-size: 13px;
    color: #666;
}

.pfb-add-product-btn {
    width: 100%;
    padding: 10px;
    background: var(--pfb-success);
    color: white;
    border: none;
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.pfb-add-product-btn:hover {
    background: #1e7e34;
    transform: scale(1.02);
}

.pfb-btn-icon {
    display: inline-block;
    line-height: 1;
}

.pfb-bettschoner-choice {
    grid-column: 1 / -1;
    margin-top: 10px;
    container-type: inline-size;
}

.pfb-bettschoner-choice-inner {
    background: #fff;
    border: 1px solid #e3e8ee;
    border-radius: 12px;
    box-shadow: 0 2px 7px rgba(15, 23, 42, 0.09);
    padding: 28px 26px;
}

.pfb-bettschoner-choice h3 {
    margin: 0 0 18px;
    color: #172942;
    font-size: 22px;
    line-height: 1.25;
    font-weight: 800;
}

.pfb-bettschoner-choice-layout {
    display: grid;
    grid-template-columns: 196px minmax(0, 1fr);
    gap: 26px;
    align-items: start;
}

.pfb-bettschoner-choice-image {
    width: 196px;
}

.pfb-bettschoner-choice-image img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.pfb-bettschoner-choice-content p {
    margin: 0 0 16px;
    color: #172942;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.pfb-bettschoner-choice-content strong {
    display: block;
    margin-bottom: 12px;
    color: #172942;
    font-size: 14px;
    font-weight: 800;
}

.pfb-bettschoner-quantity-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.pfb-bettschoner-quantity-options label {
    position: relative;
    display: inline-flex;
    cursor: pointer;
}

.pfb-bettschoner-quantity-options input {
    position: absolute;
    width: 1px;
    height: 1px;
    opacity: 0;
    pointer-events: none;
}

.pfb-bettschoner-quantity-options span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 3px;
    color: #425066;
    background: transparent;
    font-size: 16px;
    line-height: 1;
    transition: background 0.2s ease, color 0.2s ease;
}

.pfb-bettschoner-quantity-options input:checked + span {
    background: #48947f;
    color: #fff;
}

@container (max-width: 560px) {
    .pfb-bettschoner-choice-inner {
        padding: 24px;
    }

    .pfb-bettschoner-choice-layout {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .pfb-bettschoner-choice-image {
        width: min(100%, 260px);
    }
}

@container (max-width: 360px) {
    .pfb-bettschoner-choice-inner {
        padding: 22px 18px;
    }

    .pfb-bettschoner-choice h3 {
        font-size: 21px;
    }

    .pfb-bettschoner-choice-image {
        width: 100%;
    }

    .pfb-bettschoner-quantity-options {
        gap: 8px;
    }

    .pfb-bettschoner-quantity-options span {
        width: 38px;
        height: 38px;
    }
}

/* ==================
   Sidebar
   ================== */

.pfb-sidebar {
    position: sticky;
    top: 20px;
    height: fit-content;
}

.pfb-selected-box {
    border: 2px solid var(--pfb-primary);
    border-radius: var(--pfb-radius);
    padding: 20px;
    background: #f0f7ff;
}

.pfb-selected-box h3 {
    margin: 0 0 15px 0;
    color: var(--pfb-primary);
    font-size: 18px;
}

.pfb-selected-items {
    max-height: 300px;
    overflow-y: auto;
    margin-bottom: 15px;
    min-height: 100px;
    padding: 10px;
    background: white;
    border-radius: var(--pfb-radius);
    border: 1px solid var(--pfb-border);
}

.pfb-selected-item {
    padding: 12px;
    margin-bottom: 12px;
    background: #ffffff;
    border: 1px solid var(--pfb-border);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
    font-size: 14px;
}

.pfb-selected-item-name {
    flex: 1;
    font-weight: 600;
    color: var(--pfb-dark);
}

.pfb-selected-item-quantity {
    font-weight: 700;
    margin: 0 8px;
    min-width: 40px;
    text-align: center;
}

.pfb-selected-item-attributes {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.pfb-selected-item-attribute {
    background: var(--pfb-light);
    color: #444;
    border-radius: 999px;
    padding: 4px 8px;
    font-size: 11px;
}

.pfb-remove-item-btn {
    background: transparent;
    color: var(--pfb-danger);
    border: 1px solid var(--pfb-danger);
    padding: 6px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.2s ease;
}

.pfb-remove-item-btn:hover {
    background: var(--pfb-danger);
    color: white;
}

.pfb-total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0 0;
    padding: 14px 16px;
    background: #ffffff;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    color: var(--pfb-dark);
    border: 1px solid var(--pfb-border);
}

.pfb-price-value {
    color: var(--pfb-primary);
}

.pfb-attribute-group {
    margin-top: 12px;
}

.pfb-attribute-group-label {
    display: block;
    margin-bottom: 8px;
    font-size: 13px;
    font-weight: 700;
    color: #333;
}

.pfb-attribute-values {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pfb-attribute-value-btn {
    border: 1px solid var(--pfb-border);
    border-radius: 999px;
    padding: 8px 12px;
    background: white;
    color: var(--pfb-dark);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
}

.pfb-attribute-value-btn:hover,
.pfb-attribute-value-btn.active {
    border-color: var(--pfb-primary);
    background: rgba(0, 123, 255, 0.08);
    color: var(--pfb-primary);
}

/* ==================
   Buttons
   ================== */

.pfb-btn-next-step,
.pfb-btn-prev-step,
.pfb-btn-submit {
    padding: 12px 30px;
    border: none;
    border-radius: var(--pfb-radius);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pfb-btn-next-step,
.pfb-btn-submit {
    width: 100%;
    background: var(--pfb-success);
    color: white;
    margin-top: 15px;
}

.pfb-btn-next-step:hover,
.pfb-btn-submit:hover {
    background: #1e7e34;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(40, 167, 69, 0.3);
}

.pfb-form-buttons {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 10px;
    margin-top: 30px;
}

.pfb-btn-prev-step {
    background: var(--pfb-light);
    color: var(--pfb-dark);
    border: 1px solid var(--pfb-border);
}

.pfb-btn-prev-step:hover {
    background: var(--pfb-border);
}

/* ==================
   Form Sections
   ================== */

.pfb-form-section {
    margin-bottom: 10px;
    padding: 20px;
    background: var(--pfb-light);
    border-radius: var(--pfb-radius);
    border-left: 4px solid var(--pfb-primary);
}

.pfb-form-section h3 {
    margin: 0 0 20px 0;
    color: var(--pfb-dark);
    font-size: 18px;
}

.pfb-form-group {
    margin-bottom: 20px;
}

.pfb-form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--pfb-dark);
    font-size: 14px;
}

.pfb-form-group input[type="text"],
.pfb-form-group input[type="email"],
.pfb-form-group input[type="tel"],
.pfb-form-group input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid var(--pfb-border);
    border-radius: var(--pfb-radius);
    font-size: 14px;
    transition: all 0.3s ease;
}

.pfb-form-group input[type="text"]:focus,
.pfb-form-group input[type="email"]:focus,
.pfb-form-group input[type="tel"]:focus,
.pfb-form-group input[type="number"]:focus {
    outline: none;
    border-color: var(--pfb-primary);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.pfb-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.pfb-radio-group {
    display: flex;
    gap: 20px;
    margin: 10px 0;
}

.pfb-radio-group label {
    display: flex;
    align-items: center;
    margin: 0;
    font-weight: 400;
    cursor: pointer;
}

.pfb-radio-group input[type="radio"] {
    margin-right: 8px;
    cursor: pointer;
    width: 16px;
    height: 16px;
}

.pfb-help-text {
    margin: 8px 0 0 0;
    font-size: 12px;
    color: #666;
    font-style: italic;
}

/* ==================
   Care Level Buttons
   ================== */

.pfb-care-level-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pfb-care-level-btn {
    width: 40px;
    height: 40px;
    border: 2px solid var(--pfb-border);
    border-radius: 50%;
    background: white;
    color: var(--pfb-dark);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pfb-care-level-btn:hover {
    border-color: var(--pfb-primary);
}

.pfb-configurator .pfb-care-level-btn:focus,
.pfb-configurator .pfb-care-level-btn:focus-visible {
    outline: none;
    box-shadow: none;
}

.pfb-care-level-btn.active {
    background: var(--pfb-success);
    color: white;
    border-color: var(--pfb-success);
}

/* ==================
   Signature Pad
   ================== */

.pfb-signature-pad {
    border: 2px solid var(--pfb-border);
    border-radius: var(--pfb-radius);
    overflow: hidden;
    background: white;
    margin: 15px 0;
}

#pfb-signature-canvas {
    display: block;
    width: 100%;
    height: 200px;
    border-bottom: 1px solid var(--pfb-border);
    cursor: crosshair;
    background: white;
}

.pfb-btn-clear-signature {
    width: 100%;
    padding: 10px;
    background: var(--pfb-light);
    border: none;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: var(--pfb-dark);
    transition: all 0.2s ease;
}

.pfb-btn-clear-signature:hover {
    background: var(--pfb-border);
}

/* ==================
   Success Message
   ================== */

.pfb-success-message {
    text-align: center;
    padding: 40px 20px;
}

.pfb-success-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: var(--pfb-success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pfb-success-icon svg {
    width: 50px;
    height: 50px;
    fill: white;
}

.pfb-success-message h2 {
    color: var(--pfb-dark);
    margin-bottom: 10px;
    font-size: 32px;
}

.pfb-success-message p {
    color: #666;
    font-size: 16px;
    line-height: 1.6;
}

/* ==================
   Bettschoner Section
   ================== */

.pfb-bettschoner-section {
    margin-top: 40px;
    padding: 30px;
    background: #f8f9fa;
    border: 2px solid var(--pfb-border);
    border-radius: var(--pfb-radius);
}

.pfb-bettschoner-section h3 {
    margin: 0 0 20px 0;
    color: var(--pfb-dark);
    font-size: 20px;
}

.pfb-bettschoner-item {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 30px;
}

.pfb-bettschoner-image {
    width: 200px;
    height: 200px;
    overflow: hidden;
    border-radius: var(--pfb-radius);
    background: white;
}

.pfb-bettschoner-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pfb-bettschoner-content p {
    margin: 0;
    color: #666;
    line-height: 1.7;
    font-size: 14px;
}

/* ==================
   Review Data
   ================== */

.pfb-review-data {
    background: white;
    border-radius: var(--pfb-radius);
    border: 1px solid var(--pfb-border);
    padding: 15px;
}

.pfb-review-field {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 15px;
    padding: 10px;
    border-bottom: 1px solid var(--pfb-border);
}

.pfb-review-field:last-child {
    border-bottom: none;
}

.pfb-review-label {
    font-weight: 600;
    color: var(--pfb-dark);
}

.pfb-review-value {
    color: #666;
}

/* ==================
   Responsive Design
   ================== */

@media (max-width: 768px) {
    .pfb-products-container {
        grid-template-columns: 1fr;
    }

    .pfb-products-list {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    .pfb-sidebar {
        position: static;
    }

    .pfb-steps-indicator {
        flex-direction: column;
        gap: 20px;
    }

    .pfb-step:not(:last-child)::after {
        display: none;
    }

    .pfb-form-row {
        grid-template-columns: 1fr;
    }

    .pfb-form-buttons {
        grid-template-columns: 1fr;
    }

    .pfb-bettschoner-item {
        grid-template-columns: 1fr;
    }

    .pfb-bettschoner-image {
        width: 100%;
        height: auto;
        min-height: 200px;
    }

    .pfb-review-field {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .pfb-configurator {
        padding: 15px;
        margin: 10px;
    }

    .pfb-products-list {
        grid-template-columns: 1fr;
    }

    .pfb-step-content h2 {
        font-size: 22px;
    }

    .pfb-radio-group {
        flex-direction: column;
        gap: 10px;
    }

    .pfb-success-icon {
        width: 60px;
        height: 60px;
    }

    .pfb-success-icon svg {
        width: 40px;
        height: 40px;
    }
}

/* ==================
   Loading & Disabled States
   ================== */

button:disabled,
button[disabled] {
    opacity: 0.6;
    cursor: not-allowed;
}

.pfb-loading {
    align-items: center;
    display: inline-flex;
    gap: 10px;
    justify-content: center;
    opacity: 0.85;
    pointer-events: none;
}

.pfb-btn-submit.pfb-loading,
.pfb-customization-submit.pfb-loading {
    color: #fff;
}

.pfb-loading-dots {
    display: inline-flex;
    gap: 4px;
    align-items: center;
}

.pfb-loading-dots span {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.45;
    animation: pfb-loading-dot 1s ease-in-out infinite;
}

.pfb-loading-dots span:nth-child(2) {
    animation-delay: 0.15s;
}

.pfb-loading-dots span:nth-child(3) {
    animation-delay: 0.3s;
}

@keyframes pfb-loading-dot {
    0%,
    80%,
    100% {
        opacity: 0.35;
        transform: translateY(0);
    }

    40% {
        opacity: 1;
        transform: translateY(-3px);
    }
}

/* ==================
   Error Messages
   ================== */

.pfb-error {
    color: var(--pfb-danger);
    font-size: 13px;
    margin-top: 5px;
    display: none;
}

.pfb-error.show {
    display: block;
}

/* Text inputs: error state only after JS validation (not :invalid) */
.pfb-configurator input[type="text"].pfb-has-error,
.pfb-configurator input[type="email"].pfb-has-error,
.pfb-configurator input[type="tel"].pfb-has-error,
.pfb-configurator input[type="number"].pfb-has-error {
    border-color: var(--pfb-danger) !important;
}

.pfb-configurator input[type="text"].pfb-has-error:focus,
.pfb-configurator input[type="email"].pfb-has-error:focus,
.pfb-configurator input[type="tel"].pfb-has-error:focus,
.pfb-configurator input[type="number"].pfb-has-error:focus {
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* No container outline on radio / care-level focus */
.pfb-configurator .pfb-radio-group,
.pfb-configurator .pfb-care-level-buttons {
    outline: none;
}

.pfb-configurator .pfb-radio-group:focus-within,
.pfb-configurator .pfb-care-level-buttons:focus-within {
    outline: none;
    box-shadow: none;
}

.pfb-configurator .pfb-radio-group input[type="radio"]:focus,
.pfb-configurator .pfb-radio-group input[type="radio"]:focus-visible,
.pfb-configurator .pfb-radio-group input[type="radio"]:focus-visible + span,
.pfb-configurator input[name="care_level"]:focus,
.pfb-configurator input[name="care_level"]:focus-visible {
    outline: none;
    box-shadow: none;
}

/* Validation: highlight individual pills only, not the wrapper */
.pfb-configurator .pfb-radio-group.pfb-has-error label span {
    border-color: #dc3545;
}

.pfb-configurator .pfb-care-level-buttons.pfb-has-error .pfb-care-level-btn {
    border-color: #dc3545;
}

/* ==================
   Pflegebox Herz Layout
   ================== */

.pfb-configurator {
    --pfb-primary: #3f8a76;
    --pfb-success: #3f8a76;
    --pfb-border: #e8edf2;
    --pfb-text: #152441;
    --pfb-muted: #6a7588;
    --pfb-shadow: 0 2px 8px rgba(21, 36, 65, 0.08);
    max-width: 1360px;
    margin: 0 auto;
    padding: 34px 0 28px;
    background: #f7f8fa;
    border-radius: 0;
    box-shadow: none;
    color: var(--pfb-text);
}

.pfb-steps-indicator {
    max-width: 100%;
    display: flex;
    justify-content: space-between;
    margin: 0 auto 48px;
    padding: 0 0 32px;
    border-bottom: 2px dotted #9fc4bb;
    align-items: center;
}

.pfb-step {
    flex-direction: row;
    /* justify-content: center; */
    gap: 12px;
    text-align: left;
    min-width: 190px;
}

.pfb-step:not(:last-child)::after {
    width: 84px;
    height: 2px;
    top: 23px;
    left: calc(50% + 35px);
    z-index: 0;
    background: #dfe5ec;
}

.pfb-step.active:not(:last-child)::after {
    background: #dfe5ec;
}

.pfb-step-icon {
    width: 64px;
    height: 64px;
    margin: 0;
    border: 2px solid #cfd7e2;
    background: #fff;
    position: relative;
    z-index: 1;
}

.pfb-step-icon svg {
    width: 32px;
    height: 32px;
    color: #99a5b8;
    stroke: currentColor;
    fill: none;
}

.pfb-step.active .pfb-step-icon {
    border-color: #3f8a76;
    background: #3f8a76;
}

.pfb-step.active .pfb-step-icon svg {
    color: white;
}

.pfb-step-label {
    /* max-width: 105px; */
    color: #9aa4b5;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0;
    text-transform: none;
}

.pfb-step-label strong {
    display: block;
    color: var(--pfb-text);
    font-size: 16px;
    font-weight: 700;
}

.pfb-step-content h2 {
    margin: 0 0 18px;
    color: var(--pfb-text);
    font-size: 30px;
    font-weight: 400;
    line-height: 1.25;
    text-align: center;
}

.pfb-step-content > p {
    max-width: 680px;
    margin: 0 auto 52px;
    color: var(--pfb-muted);
    font-size: 14px;
    line-height: 1.65;
    text-align: center;
}

.pfb-products-container {
    grid-template-columns: minmax(0, 1fr) 362px;
    gap: 30px;
    align-items: start;
}

.pfb-products-list {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.pfb-product-item {
    min-height: 360px;
    border: 1px solid #edf0f4;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 1px 5px rgba(21, 36, 65, 0.12);
    overflow: hidden;
}

.pfb-product-item:hover {
    border-color: #edf0f4;
    box-shadow: 0 5px 16px rgba(21, 36, 65, 0.12);
    transform: translateY(-1px);
}

.pfb-product-item-disabled {
    opacity: 0.55;
    filter: grayscale(80%);
    pointer-events: none;
}

.pfb-product-item-disabled .pfb-product-info h3,
.pfb-product-item-disabled .pfb-product-info p,
.pfb-product-item-disabled .pfb-product-info span {
    color: #7b7b7b;
}

.pfb-product-image {
    background: #fff;
    padding: 18px;
}

.pfb-product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    image-rendering: auto;
}

.pfb-product-info {
    padding: 7px 14px 0;
}

.pfb-product-info h3 {
    margin: 0 0 18px;
    color: var(--pfb-text);
    font-size: clamp(13px, 2vw, 16px);
    font-weight: 400;
    line-height: 1.3;
}

.pfb-product-stock,
.pfb-product-volume {
    margin: 0;
    color: #677489;
    font-size: 14px;
    line-height: 1.4;
}

.pfb-product-quantity {
    display: grid;
    grid-template-columns: 52px 1fr 52px;
    align-items: center;
    gap: 12px;
    padding: 22px 14px 16px;
}

.pfb-qty-btn {
    width: 52px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 4px;
    background: #3f967d;
    color: #fff;
    font-size: 26px;
    font-weight: 300;
    line-height: 1;
    box-shadow: 0 1px 4px rgba(21, 36, 65, 0.12);
    cursor: pointer;
}

.pfb-qty-minus {
    background: #fff;
    color: #6d7890;
    border: 1px solid #f0f2f5;
}

.pfb-qty-btn:disabled {
    opacity: 1;
    color: #6d7890;
    background: #fff;
}

.pfb-qty-value {
    color: var(--pfb-text);
    font-size: 25px;
    font-weight: 400;
    text-align: center;
}

.pfb-sidebar {
    top: 24px;
}

.pfb-selected-box {
    padding: 26px 24px 24px;
    border: 0;
    border-radius: 12px;
    background: #fff;
    box-shadow: none;
}

.pfb-selected-box-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.pfb-selected-box h3 {
    margin: 0;
    color: var(--pfb-text);
    font-size: 21px;
    font-weight: 400;
}

.pfb-selected-check {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 42px;
    border: 0;
    border-radius: 50%;
    background:
        radial-gradient(circle at center, #fff 62%, transparent 64%),
        conic-gradient(#3f8a76 var(--pfb-progress, 0%), #edf0f4 0);
    color: #3f8a76;
    font-size: 12px;
    font-weight: 700;
    box-shadow: 0 1px 4px rgba(21, 36, 65, 0.08);
}

.pfb-selected-check.has-selection {
    font-size: 22px;
    font-weight: 400;
}

.pfb-selected-subtitle {
    margin: 16px 0 38px;
    color: #647086;
    font-size: 14px;
}

.pfb-selected-items {
    min-height: 178px;
    max-height: none;
    margin: 0 0 28px;
    padding: 18px 0 0;
    overflow: visible;
    border: 0;
    border-top: 1px solid #477f73;
    border-bottom: 1px solid #eef1f4;
    border-radius: 0;
    background: transparent;
}

.pfb-empty-selection {
    min-height: 160px;
    margin: 0;
    padding: 44px 0 24px;
    color: #3f8a76;
    font-size: 18px;
    font-weight: 400;
    text-align: center;
}

.pfb-empty-box-icon {
    width: 74px;
    height: 74px;
    display: block;
    margin: 0 auto 18px;
    opacity: 0.42;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg width='74' height='74' viewBox='0 0 74 74' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg stroke='%23D7DDE4' stroke-width='3' stroke-linejoin='round'%3E%3Cpath d='M16 23 37 11l21 12-21 12-21-12Z'/%3E%3Cpath d='M16 23v22l21 12V35L16 23Z'/%3E%3Cpath d='M58 23v22L37 57V35l21-12Z'/%3E%3Cpath d='m24 18 21 12M50 18 29 30'/%3E%3C/g%3E%3C/svg%3E");
}

.pfb-selected-item {
    display: grid;
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 22px;
    align-items: start;
    margin: 0;
    padding: 0 0 16px;
    border: 0;
    border-radius: 0;
    background: transparent;
    font-size: 14px;
}

.pfb-selected-item-quantity {
    min-width: 0;
    margin: 0;
    color: var(--pfb-text);
    font-size: 24px;
    font-weight: 400;
    line-height: 1.1;
    text-align: center;
}

.pfb-selected-item-content {
    min-width: 0;
    text-align: left;
}

.pfb-selected-item-name {
    margin: 0 0 8px;
    color: var(--pfb-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.35;
    text-align: left;
}

.pfb-selected-item-attributes {
    display: block;
    margin: 0;
}

.pfb-attribute-group {
    display: block;
    margin: 0 0 8px;
}

.pfb-product-attributes {
    padding: 0 22px 20px 15px;
}

.pfb-product-attributes:empty {
    display: none;
}

.pfb-attribute-name {
    display: none;
}

.pfb-attribute-values {
    display: inline-flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 8px;
    margin: 0;
}

.pfb-attribute-value-btn {
    min-width: 34px;
    height: 32px;
    padding: 0 !important;
    border: 1px solid #cfd8e3;
    border-radius: 4px;
    background: #fff;
    color: #69758a;
    font-size: 13px;
    font-weight: 500;
}

.pfb-configurator .pfb-attribute-group:not(:first-child) button.pfb-attribute-value-btn {
    min-width: auto;
}

.pfb-attribute-value-btn:hover,
.pfb-attribute-value-btn.active {
    border-color: #3f8a76;
    background: #3f8a76;
    color: #fff;
}

.pfb-total-price {
    display: none;
}

.pfb-step-1-content .pfb-btn-next-step {
    width: auto;
    min-width: 162px;
    margin: 4px 0 0;
    padding: 13px 17px;
    border-radius: 4px;
    background: #489880;
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    box-shadow: 0 3px 8px rgba(21, 36, 65, 0.18);
}

.pfb-step-1-content .pfb-btn-next-step:disabled,
.pfb-step-1-content .pfb-btn-next-step[disabled] {
    background: #e2e7ec;
    color: #6f7b8c;
    opacity: 1 !important;
    box-shadow: none;
}

.pfb-step-1-content .pfb-btn-next-step:hover {
    background: #3f8a76;
    transform: none;
    box-shadow: 0 4px 10px rgba(21, 36, 65, 0.2);
}

.pfb-secure-note {
    margin-top: 12px;
    color: #97a2b2;
    font-size: 12px;
    text-align: center;
}

.pfb-secure-note::before {
    content: '';
    width: 13px;
    height: 15px;
    display: inline-block;
    margin-right: 7px;
    vertical-align: -3px;
    background: no-repeat center / contain url("data:image/svg+xml,%3Csvg width='13' height='15' viewBox='0 0 13 15' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6.5 1.2 11 3v3.4c0 3-1.7 5.7-4.5 7.1C3.7 12.1 2 9.4 2 6.4V3l4.5-1.8Z' fill='none' stroke='%2397A2B2' stroke-width='1.3'/%3E%3C/svg%3E");
}

@media (max-width: 1180px) {
    .pfb-configurator {
        padding: 28px 28px;
    }

    .pfb-products-container {
        grid-template-columns: minmax(0, 1fr) 330px;
    }

    .pfb-products-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767px) {
    body:has(.pfb-configurator),
    body:has(.pfb-customization) {
        padding-bottom: 92px;
    }

    .pfb-configurator {
        overflow-x: hidden;
        padding: 26px 6px 110px;
        padding-bottom: 110px;
    }

    .pfb-steps-indicator {
        position: relative;
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        margin: 0 0 32px;
        padding: 0 6px 26px;
        border-bottom: 2px dotted #77a56f;
    }

    .pfb-step {
        min-width: 0;
        flex: 0 0 auto;
        gap: 0;
    }

    .pfb-step-label {
        display: none;
    }

    .pfb-step-icon {
        width: 62px;
        height: 62px;
        border-color: #6aa068;
        background: #f2f3f5;
    }

    .pfb-step-icon svg {
        width: 34px;
        height: 34px;
        color: #6aa068;
    }

    .pfb-step.active .pfb-step-icon {
        border-color: #6aa068;
        background: #d9d9d9;
    }

    .pfb-step.active .pfb-step-icon svg {
        color: #6aa068;
    }

    .pfb-step:not(:last-child)::after {
        width: 18px;
        top: 30px;
        left: calc(100% + 8px);
        background: #b8b8b8;
    }

    .pfb-products-container,
    .pfb-step-2-grid,
    .pfb-step-3-grid {
        display: block;
    }

    .pfb-sidebar {
        position: static;
        height: auto;
    }

    .pfb-step-1-content .pfb-selected-box,
    .pfb-step-2-sidebar .pfb-selected-box,
    .pfb-step-3-sidebar .pfb-selected-box {
        min-height: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .pfb-step-1-content .pfb-selected-box-header,
    .pfb-step-2-sidebar .pfb-selected-box-header,
    .pfb-step-3-sidebar .pfb-selected-box-header {
        display: block;
    }

    .pfb-step-1-content .pfb-selected-box h3,
    .pfb-step-1-content .pfb-selected-subtitle,
    .pfb-step-1-content .pfb-selected-items,
    .pfb-step-1-content .pfb-secure-note,
    .pfb-step-2-sidebar .pfb-selected-box h3,
    .pfb-step-2-sidebar .pfb-selected-subtitle,
    .pfb-step-2-sidebar .pfb-selected-items,
    .pfb-step-2-sidebar .pfb-secure-note,
    .pfb-step-2-sidebar .pfb-btn-prev-step,
    .pfb-step-3-sidebar .pfb-selected-box h3,
    .pfb-step-3-sidebar .pfb-selected-subtitle,
    .pfb-step-3-sidebar .pfb-selected-items,
    .pfb-step-3-sidebar .pfb-link-edit,
    .pfb-step-3-sidebar .pfb-secure-note {
        display: none;
    }

    .pfb-step-2-sidebar,
    .pfb-step-3-sidebar {
        display: block;
        width: auto;
        margin: 0;
        padding: 0;
    }

    .pfb-step-2-sidebar .pfb-sidebar,
    .pfb-step-3-sidebar .pfb-sidebar,
    .pfb-step-2-sidebar .pfb-selected-box,
    .pfb-step-3-sidebar .pfb-selected-box,
    .pfb-step-2-sidebar .pfb-selected-box-header,
    .pfb-step-3-sidebar .pfb-selected-box-header {
        display: contents;
    }

    .pfb-step-1-content .pfb-selected-check,
    .pfb-step-2-sidebar .pfb-selected-check,
    .pfb-step-3-sidebar .pfb-selected-check,
    .pfb-customization-badge {
        position: fixed;
        z-index: 9998;
        top: 20px;
        right: 8px;
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        border: 3px solid #edf0f3;
        background:
            radial-gradient(circle at center, #fff 61%, transparent 63%),
            conic-gradient(#ff7448 var(--pfb-progress, 0%), #edf0f3 0);
        color: #ff7448;
        font-size: 16px;
        box-shadow: 0 1px 5px rgba(21, 36, 65, 0.12);
    }

    .pfb-step-1-content .pfb-selected-check.has-selection,
    .pfb-step-2-sidebar .pfb-selected-check.has-selection,
    .pfb-step-3-sidebar .pfb-selected-check.has-selection,
    .pfb-customization-badge.has-selection {
        border-color: #edf0f3;
        color: #ff7448;
    }

    .pfb-step-1-content .pfb-btn-next-step,
    .pfb-step-2-sidebar .pfb-step-2-actions .pfb-btn-next-step,
    .pfb-step-3-content .pfb-step-3-submit,
    .pfb-customization-next,
    .pfb-customization-submit {
        box-sizing: border-box;
        position: fixed;
        z-index: 9997;
        left: 10px;
        right: 10px;
        bottom: max(12px, env(safe-area-inset-bottom));
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        min-width: 0;
        margin: 0;
        padding: 10px 18px;
        border-radius: 0;
        font-size: 18px;
        font-weight: 500;
        box-shadow: 0 3px 12px rgba(21, 36, 65, 0.18);
    }

    .pfb-customization {
        overflow-x: hidden;
        padding: 26px 6px 110px;
    }

    .pfb-customization-mobile-steps {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 0;
        margin: 0 0 32px;
        padding: 0 6px 26px;
        border-bottom: 2px dotted #77a56f;
    }

    .pfb-customization-mobile-step {
        position: relative;
        width: 62px;
        height: 62px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border: 2px solid #6aa068;
        border-radius: 50%;
        background: #f2f3f5;
        color: #6aa068;
    }

    .pfb-customization-mobile-step:not(:last-child)::after {
        content: '';
        position: absolute;
        top: 30px;
        left: calc(100% + 8px);
        width: 42px;
        height: 2px;
        background: #b8b8b8;
    }

    .pfb-customization-mobile-step.active {
        background: #d9d9d9;
    }

    .pfb-customization-mobile-step svg {
        width: 34px;
        height: 34px;
    }

    .pfb-customization-grid,
    .pfb-customization-product-grid {
        display: block;
    }

    .pfb-customization-sidebar {
        position: static;
        width: auto;
        margin: 0;
    }

    .pfb-customization-box {
        min-height: 0;
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .pfb-customization-box-head {
        display: contents;
    }

    .pfb-customization-sidebar,
    .pfb-customization-box {
        display: contents;
    }

    .pfb-customization-box-head h2,
    .pfb-customization-selected,
    .pfb-customization-sidebar .pfb-customization-secure {
        display: none;
    }
}

/* ==================
   Step 2 Sidebar — buttons
   ================== */

.pfb-step-2-sidebar .pfb-selected-box {
    padding: 26px 24px 24px;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(21, 36, 65, 0.06);
}

.pfb-step-2-sidebar .pfb-selected-items {
    border-top-color: #3f8a76;
}

.pfb-step-2-sidebar .pfb-attribute-values {
    gap: 6px;
}

/* Size pills (first attribute group): compact squares */
.pfb-step-2-sidebar .pfb-attribute-group:first-child .pfb-attribute-value-btn {
    min-width: 36px;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

/* Material / other options: wider chips */
.pfb-step-2-sidebar .pfb-attribute-group:not(:first-child) .pfb-attribute-value-btn {
    min-width: auto;
    height: 36px;
    padding: 0 14px !important;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
}

.pfb-step-2-sidebar .pfb-attribute-value-btn {
    border: 1.5px solid #c97b8f;
    background: #fff;
    color: #b35c72;
    box-shadow: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.pfb-step-2-sidebar .pfb-attribute-value-btn:hover:not(.active) {
    border-color: #b35c72;
    background: #fdf5f7;
    color: #9a4a60;
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(179, 92, 114, 0.12);
}

.pfb-step-2-sidebar .pfb-attribute-value-btn.active {
    border-color: #3f8a76;
    background: #3f8a76;
    color: #fff;
    box-shadow: 0 2px 8px rgba(63, 138, 118, 0.28);
    transform: none;
}

.pfb-step-2-sidebar .pfb-attribute-value-btn:focus-visible {
    outline: 2px solid #3f8a76;
    outline-offset: 2px;
}

/* Navigation: Zurück + Weiter */
.pfb-step-2-sidebar .pfb-step-2-actions .pfb-btn-prev-step,
.pfb-step-2-sidebar .pfb-step-2-actions .pfb-btn-next-step {
    width: 100%;
    margin: 0;
    padding: 14px 20px;
    border: 1.5px solid #c97b8f;
    border-radius: 8px;
    background: #fff;
    color: #b35c72;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    box-shadow: none;
    cursor: pointer;
    transition:
        background-color 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease,
        box-shadow 0.2s ease,
        transform 0.15s ease;
}

.pfb-step-2-sidebar .pfb-step-2-actions .pfb-btn-prev-step:hover,
.pfb-step-2-sidebar .pfb-step-2-actions .pfb-btn-next-step:hover {
    border-color: #b35c72;
    background: #fdf5f7;
    color: #9a4a60;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(179, 92, 114, 0.14);
}

.pfb-step-2-sidebar .pfb-step-2-actions .pfb-btn-next-step {
    background: #fff;
}

.pfb-step-2-sidebar .pfb-step-2-actions .pfb-btn-next-step:active,
.pfb-step-2-sidebar .pfb-step-2-actions .pfb-btn-prev-step:active {
    transform: translateY(0);
    box-shadow: 0 1px 4px rgba(179, 92, 114, 0.1);
}

.pfb-step-2-sidebar .pfb-step-2-actions .pfb-btn-prev-step:focus-visible,
.pfb-step-2-sidebar .pfb-step-2-actions .pfb-btn-next-step:focus-visible {
    outline: 2px solid #3f8a76;
    outline-offset: 2px;
}

@media (max-width: 860px) {
    .pfb-configurator {
        padding: 22px 16px;
    }

    .pfb-steps-indicator {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 16px;
        margin-bottom: 32px;
    }

    .pfb-step {
        min-width: 0;
        justify-content: flex-start;
    }

    .pfb-step:not(:last-child)::after {
        display: none;
    }

    .pfb-products-container,
    .pfb-products-list {
        grid-template-columns: 1fr;
    }

    .pfb-sidebar {
        position: static;
    }
}

/* ==================
   Step 3 — Lieferung & Check
   ================== */

.pfb-step-3-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 362px;
    gap: 30px;
    align-items: start;
}

.pfb-step-3-main {
    display: grid;
    gap: 20px;
}

.pfb-step-3-card {
    padding: 24px 26px;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(21, 36, 65, 0.05);
}

.pfb-step-3-card-title {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--pfb-text);
    font-size: 18px;
    font-weight: 600;
}

.pfb-info-icon {
    width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #cfd7e2;
    border-radius: 50%;
    color: #6a7588;
    font-size: 11px;
    font-weight: 700;
    font-style: italic;
    line-height: 1;
    cursor: help;
}

/* Delivery pills */
.pfb-step-3-content .pfb-delivery-toggle {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0;
}

.pfb-step-3-content .pfb-delivery-toggle label span {
    min-width: 120px;
    padding: 10px 22px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #fff;
    color: #152441;
    font-size: 14px;
    font-weight: 500;
}

.pfb-step-3-content .pfb-delivery-toggle input[type="radio"]:checked + span {
    border-color: #3f8a76;
    background: #3f8a76;
    color: #fff;
}

.pfb-step-3-content .pfb-delivery-toggle.pfb-has-error label span {
    border-color: #dc3545;
}

/* Alternative delivery address (Sonstige) */
.pfb-delivery-alt-group {
    margin-top: 22px;
    padding-top: 22px;
    border-top: 1px solid #eef1f4;
}

.pfb-delivery-alt-hint {
    margin: 0 0 18px;
    color: #6a7588;
    font-size: 14px;
    line-height: 1.5;
}

.pfb-step-3-content .pfb-delivery-gender-group {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 16px;
}

.pfb-step-3-content .pfb-delivery-gender-group label span {
    min-width: 80px;
    padding: 10px 22px;
    border: 1px solid #d1d5db;
    border-radius: 999px;
    background: #f8fafc;
    color: #152441;
    font-size: 14px;
}

.pfb-step-3-content .pfb-delivery-gender-group input[type="radio"]:checked + span {
    border-color: #3f8a76;
    background: #3f8a76;
    color: #fff;
}

.pfb-step-3-content .pfb-delivery-gender-group.pfb-has-error label span {
    border-color: #dc3545;
}

.pfb-step-3-content .pfb-delivery-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 12px;
}

.pfb-step-3-content .pfb-delivery-address-row {
    grid-template-columns: 1.4fr 0.6fr;
}

.pfb-step-3-content .pfb-delivery-location-row {
    grid-template-columns: 0.6fr 1.4fr;
}

.pfb-step-3-content .pfb-delivery-alt-group input[type="text"],
.pfb-step-3-content .pfb-delivery-alt-group input[type="tel"],
.pfb-step-3-content .pfb-delivery-alt-group input[type="email"] {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    background: #f8fafc;
    font-size: 15px;
}

.pfb-step-3-content .pfb-delivery-alt-group input.pfb-has-error {
    border-color: #dc3545;
}

@media (max-width: 576px) {
    .pfb-step-3-content .pfb-delivery-form-row,
    .pfb-step-3-content .pfb-delivery-address-row,
    .pfb-step-3-content .pfb-delivery-location-row {
        grid-template-columns: 1fr;
    }
}

/* Review cards */
.pfb-review-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef1f4;
}

.pfb-review-card-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--pfb-text);
}

.pfb-btn-edit-step,
.pfb-link-edit {
    padding: 0;
    border: 0;
    background: none;
    color: #3f8a76;
    font-size: 14px;
    font-weight: 500;
    text-decoration: underline;
    cursor: pointer;
}

.pfb-btn-edit-step:hover,
.pfb-link-edit:hover {
    color: #2f6f5f;
}

.pfb-review-dl {
    display: grid;
    grid-template-columns: minmax(120px, 38%) 1fr;
    gap: 10px 20px;
    margin: 0;
}

.pfb-review-dl dt {
    margin: 0;
    color: #6a7588;
    font-size: 14px;
    font-weight: 500;
}

.pfb-review-dl dd {
    margin: 0;
    color: var(--pfb-text);
    font-size: 14px;
    line-height: 1.45;
}

/* Consent */
.pfb-consent-card .pfb-consent-block {
    margin-bottom: 18px;
}

.pfb-consent-card .pfb-consent-block:last-child {
    margin-bottom: 0;
}

.pfb-consent-block h4 {
    margin: 0 0 8px;
    font-size: 14px;
    font-weight: 700;
    color: var(--pfb-text);
}

.pfb-consent-block p {
    margin: 0;
    color: #6a7588;
    font-size: 13px;
    line-height: 1.6;
}

/* Signature */
.pfb-signature-card .pfb-signature-pad {
    margin-bottom: 12px;
    border: 1px solid #e8edf2;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.pfb-signature-card .pfb-btn-clear-signature {
    width: auto;
    padding: 8px 16px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
    color: #6a7588;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
}

.pfb-signature-card .pfb-btn-clear-signature:hover {
    border-color: #3f8a76;
    color: #3f8a76;
}

/* Submit */
.pfb-step-3-submit-wrap {
    margin-top: 4px;
}

.pfb-step-3-content .pfb-step-3-submit {
    width: 100%;
    margin: 0;
    padding: 16px 24px;
    border: 0;
    border-radius: 8px;
    background: #f0a535;
    color: #fff;
    font-size: 17px;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(240, 165, 53, 0.35);
    cursor: pointer;
    transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.pfb-step-3-content .pfb-step-3-submit:hover {
    background: #e09528;
    box-shadow: 0 6px 16px rgba(240, 165, 53, 0.4);
    transform: none;
}

.pfb-step-3-submit-wrap .pfb-secure-note {
    margin-top: 12px;
    text-align: center;
}

.pfb-step-3-back {
    width: auto;
    min-width: 140px;
    margin-top: 8px;
    padding: 12px 28px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    background: #fff;
    color: #6a7588;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
}

.pfb-step-3-back:hover {
    border-color: #9aa4b5;
    background: #f8fafc;
}

/* Step 3 sidebar */
.pfb-step-3-sidebar .pfb-selected-box {
    padding: 26px 24px 24px;
    border: 1px solid #e8edf2;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(21, 36, 65, 0.06);
}

.pfb-step-3-sidebar .pfb-selected-items {
    border-top: 1px solid #3f8a76;
    margin-top: 0;
    padding-top: 18px;
}

.pfb-step-3-sidebar .pfb-selected-subtitle {
    margin: 0 0 0;
    text-align: right;
}

.pfb-step-3-sidebar .pfb-link-edit {
    font-size: 14px;
}

@media (max-width: 980px) {
    .pfb-step-3-grid {
        grid-template-columns: 1fr;
    }

    .pfb-step-3-sidebar {
        order: -1;
    }
}

@media (max-width: 576px) {
    .pfb-review-dl {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .pfb-review-dl dt {
        margin-top: 8px;
    }
}

/* ======================
   Pflegebox Customization Shortcode
   ====================== */

.pfb-customization {
    min-height: 720px;
    margin: 0 auto;
    padding: 18px 28px 80px;
    background: #f4f7fb;
    color: #26384d;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.pfb-customization * {
    box-sizing: border-box;
}

.pfb-customization-mobile-steps {
    display: none;
}

.pfb-customization-hero {
    max-width: 1080px;
    margin: 0 auto 42px;
    text-align: center;
}

.pfb-customization-hero h1 {
    margin: 0 0 18px;
    color: #2b3f55;
    font-size: 34px;
    line-height: 1.12;
    font-weight: 800;
    letter-spacing: 0;
}

.pfb-customization-hero p {
    max-width: 480px;
    margin: 0 auto 20px;
    color: #2b2b2b;
    font-size: 16px;
    line-height: 1.55;
}

.pfb-customization-hero strong {
    display: block;
    color: #333;
    font-size: 16px;
    line-height: 1.35;
}

.pfb-customization-step {
    display: none;
}

.pfb-customization-step.active {
    display: block;
}

.pfb-customization-grid,
.pfb-customization-product-grid {
    display: grid;
    grid-template-columns: minmax(0, 665px) 333px;
    justify-content: center;
    align-items: start;
    gap: 110px;
}

.pfb-customization-card,
.pfb-customization-box,
.pfb-customization-product {
    background: #fff;
    border: 1px solid #e7ebf0;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.04);
}

.pfb-customization-product-disabled {
    opacity: 0.5;
    filter: grayscale(70%);
    transition: opacity 0.2s ease, filter 0.2s ease;
}

.pfb-customization-product-disabled .pfb-customization-product-body h3,
.pfb-customization-product-disabled .pfb-customization-product-body p {
    color: #7b7b7b;
}

.pfb-customization-product-disabled .pfb-customization-product-controls,
.pfb-customization-product-disabled .pfb-customization-product-controls button {
    pointer-events: none;
}

.pfb-customization-card {
    min-height: 374px;
    padding: 20px 16px 16px;
}

.pfb-customization-card h2 {
    display: flex;
    align-items: flex-start;
    gap: 4px;
    margin: 0 0 24px;
    color: #2c3f55;
    font-size: 25px;
    line-height: 1.1;
    font-weight: 800;
}

.pfb-customization-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    border: 1px solid #ff7448;
    border-radius: 50%;
    color: #ff7448;
    font-size: 12px;
    font-weight: 700;
}

.pfb-customization-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.pfb-customization input {
    width: 100%;
    min-height: 52px;
    border: 1px solid #222;
    border-radius: 4px;
    background: #fff;
    color: #2c2c2c;
    font-size: 20px;
    font-weight: 500;
    padding: 13px 16px;
}

.pfb-customization input::placeholder {
    color: #777;
    opacity: 1;
}

.pfb-customization input.pfb-has-error {
    border-color: #dc3545;
    box-shadow: 0 0 0 1px #dc3545;
}

.pfb-customization-birthdate {
    position: relative;
    display: block;
    margin-bottom: 15px;
}

.pfb-customization-birthdate span {
    position: absolute;
    top: 5px;
    left: 14px;
    color: #999;
    font-size: 12px;
    z-index: 1;
}

.pfb-customization-birthdate input {
    padding-top: 22px;
}

.pfb-customization-card > input {
    margin-bottom: 16px;
}

.pfb-customization-required {
    margin: -6px 0 0;
    color: #222;
    font-size: 16px;
}

.pfb-customization-actions {
    max-width: 665px;
    margin: 38px auto 0;
    transform: translateX(-221px);
    text-align: center;
}

.pfb-customization-next,
.pfb-customization-submit {
    width: 100%;
    min-height: 40px;
    border: none;
    border-radius: 4px;
    background: #ed6600;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.18);
    transition: opacity 0.2s ease, background 0.2s ease;
}

.pfb-customization-next {
    min-height: 45px;
    border-radius: 999px;
    font-size: 24px;
}

.pfb-customization-next:disabled,
.pfb-customization-submit:disabled {
    background: #d8dde4;
    color: #a9b1bc;
    cursor: not-allowed;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.14);
}

.pfb-customization-submit.pfb-loading:disabled {
    background: #ed6600;
    color: #fff;
}

.pfb-customization-submit:not(:disabled):hover,
.pfb-customization-next:not(:disabled):hover {
    background: #d95e00;
}

.pfb-customization-secure {
    display: block;
    margin-top: 8px;
    color: #969696;
    font-size: 12px;
    text-align: center;
}

.pfb-customization-secure::before {
    content: "";
    display: inline-block;
    width: 9px;
    height: 9px;
    margin-right: 5px;
    border: 1px solid currentColor;
    border-radius: 50%;
}

.pfb-customization-sidebar {
    width: 333px;
}

.pfb-customization-box {
    min-height: 285px;
    padding: 30px 24px 36px;
}

.pfb-customization-box-head {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #ff7448;
}

.pfb-customization-box-head h2 {
    margin: 0;
    color: #2c3f55;
    font-size: 26px;
    font-weight: 800;
    line-height: 1.1;
}

.pfb-customization-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    border: 3px solid #edf0f3;
    border-radius: 50%;
    color: #ff7448;
    font-size: 16px;
    background:
        radial-gradient(circle at center, #fff 61%, transparent 63%),
        conic-gradient(#ff7448 var(--pfb-progress, 0%), #edf0f3 0);
}

.pfb-customization-badge.has-selection {
    border-color: #edf0f3;
    color: #ff7448;
    font-weight: 800;
}

.pfb-customization-selected {
    min-height: 152px;
}

.pfb-customization-empty {
    display: flex;
    min-height: 152px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #ff7448;
    font-size: 25px;
    text-align: center;
}

.pfb-customization-box-icon {
    position: relative;
    width: 70px;
    height: 55px;
    background: #eef0f2;
    clip-path: polygon(20% 0, 50% 12%, 80% 0, 100% 58%, 50% 100%, 0 58%);
    opacity: 0.9;
}

.pfb-customization-selected-item {
    display: grid;
    grid-template-columns: 52px 1fr;
    align-items: center;
    min-height: 57px;
    border-bottom: 1px solid #b7b7b7;
    color: #222;
}

.pfb-customization-selected-item span {
    font-size: 36px;
    line-height: 1;
    text-align: center;
}

.pfb-customization-selected-item strong {
    font-size: 18px;
    font-weight: 400;
    line-height: 1.2;
}

.pfb-customization-products {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
}

.pfb-customization-product {
    position: relative;
    min-height: auto;
    overflow: visible;
    padding: 12px;
    border-radius: 4px;
    background: #fff;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
}

.pfb-customization-product-image {
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}

.pfb-customization-product-image img {
    display: block;
    max-width: 100%;
    max-height: 145px;
    object-fit: contain;
}

.pfb-customization-product-body {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.pfb-customization-product-body h3 {
    margin: 0 0 4px;
    color: #222;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.25;
    word-wrap: break-word;
}

.pfb-customization-product-body p {
    margin: 0;
    color: #909090;
    font-size: 13px;
    line-height: 1.3;
    word-wrap: break-word;
}

.pfb-customization-product-controls {
    display: grid;
    grid-template-columns: 40px 1fr 40px;
    align-items: center;
    gap: 8px;
    min-height: auto;
    margin-top: 12px;
}

.pfb-customization-plus,
.pfb-customization-minus {
    width: 36px !important;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #609963;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    padding: 0 !important;
}

.pfb-customization-minus {
    background: #fff;
    color: #222;
    border: 1px solid #222;
    font-size: 32px;
}

.pfb-customization-minus:disabled {
    visibility: hidden;
}

.pfb-customization-qty {
    color: #222;
    font-size: 40px;
    line-height: 1;
    text-align: center;
}

.pfb-customization-product:not(.has-selection) .pfb-customization-qty {
    visibility: hidden;
}

.pfb-customization-attributes {
    margin-top: 8px;
}

.pfb-customization-attributes:empty {
    display: none;
    margin-top: 0;
}

.pfb-customization-attr-group {
    margin-top: 10px;
    padding: 10px;
    background: #f5f5f5;
    border-radius: 3px;
    color: #333;
    font-size: 13px;
}

.pfb-customization-attr-group span {
    display: block;
    line-height: 1.3;
    font-weight: 600;
    margin-bottom: 6px;
    color: #222;
    font-size: 12px;
}

.pfb-customization-attr-group div {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    row-gap: 5px;
}

.pfb-customization-attr-btn {
    min-width: auto;
    padding: 5px 10px !important;
    border: 1px solid #222;
    border-radius: 999px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
    cursor: pointer;
    text-align: center;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 36px;
}

.pfb-customization-attr-btn.active {
    border-color: #609963;
    background: #609963;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(96, 153, 99, 0.3);
}

.pfb-customization-attr-btn:hover:not(.active) {
    border-color: #999;
    background: #f5f5f5;
}

.pfb-customization-attr-btn:active,
.pfb-customization-attr-btn:focus {
    outline: 2px solid #609963;
    outline-offset: 2px;
}

.pfb-customization-success {
    min-height: 520px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.pfb-customization-smile {
    position: relative;
    width: 250px;
    height: 250px;
    margin-bottom: 2px;
    border: 23px solid #ff7848;
    border-radius: 50%;
}

.pfb-customization-smile::before,
.pfb-customization-smile::after {
    content: "";
    position: absolute;
    top: 63px;
    width: 31px;
    height: 31px;
    border-radius: 50%;
    background: #ff7848;
}

.pfb-customization-smile::before {
    left: 48px;
}

.pfb-customization-smile::after {
    right: 48px;
}

.pfb-customization-smile span {
    position: absolute;
    left: 45px;
    bottom: 48px;
    width: 112px;
    height: 62px;
    border-bottom: 22px solid #ff7848;
    border-radius: 0 0 90px 90px;
}

.pfb-customization-success h2 {
    margin: 0 0 4px;
    color: #004461;
    font-size: 49px;
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: 0;
}

.pfb-customization-success p {
    margin: 0;
    color: #303030;
    font-size: 18px;
    line-height: 1.35;
}

@media (max-width: 1180px) {
    .pfb-customization-grid,
    .pfb-customization-product-grid {
        gap: 42px;
        grid-template-columns: minmax(0, 665px) 333px;
    }

    .pfb-customization-actions {
        transform: none;
        margin-left: 0;
    }
}

@media (max-width: 980px) {
    .pfb-customization-grid,
    .pfb-customization-product-grid {
        grid-template-columns: 1fr;
    }

    .pfb-customization-sidebar,
    .pfb-customization-actions {
        width: 100%;
        max-width: 665px;
        margin-left: auto;
        margin-right: auto;
    }

    .pfb-customization-sidebar {
        order: -1;
    }

    .pfb-customization-products {
        max-width: 665px;
        margin: 0 auto;
    }
}

@media (max-width: 720px) {
    .pfb-customization {
        overflow-x: hidden;
        padding: 26px 6px 110px;
    }

    .pfb-customization-sidebar,
    .pfb-customization-box,
    .pfb-customization-box-head {
        display: contents;
    }

    .pfb-customization-hero h1 {
        font-size: 30px;
    }

    .pfb-customization-row,
    .pfb-customization-products {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pfb-customization-card h2,
    .pfb-customization-box-head h2 {
        font-size: 23px;
    }

    .pfb-customization-box-head h2,
    .pfb-customization-selected,
    .pfb-customization-sidebar .pfb-customization-secure {
        display: none;
    }

    .pfb-customization-product {
        min-height: 0;
    }

    .pfb-customization-success h2 {
        font-size: 34px;
    }

    .pfb-customization-smile {
        width: 180px;
        height: 180px;
        border-width: 17px;
    }

    .pfb-customization-smile::before,
    .pfb-customization-smile::after {
        top: 44px;
        width: 24px;
        height: 24px;
    }

    .pfb-customization-smile::before {
        left: 34px;
    }

    .pfb-customization-smile::after {
        right: 34px;
    }

    .pfb-customization-smile span {
        left: 31px;
        bottom: 35px;
        width: 83px;
        height: 45px;
        border-bottom-width: 16px;
    }

}

/* FINAL OVERRIDE: force two columns on very small screens (mobile) - products only */
@media (max-width: 576px) {
    .pfb-customization-products,
    .pfb-customization-product-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }

    .pfb-customization-product {
        padding: 8px !important;
        min-height: auto !important;
    }

    .pfb-customization-product-image {
        height: 110px !important;
    }

    .pfb-customization-product-image img {
        max-height: 100px !important;
        width: auto !important;
    }

    .pfb-customization-product-body h3 {
        font-size: 14px !important;
    }

    .pfb-customization-product-body p {
        font-size: 12px !important;
    }

    .pfb-customization-attr-btn {
        padding: 4px 8px !important;
        font-size: 11px !important;
        height: 28px !important;
    }

    /* Configurator shortcode: reduce button sizes and fix layout */
    .pfb-product-quantity {
        grid-template-columns: 40px 1fr 40px !important;
        gap: 8px !important;
        padding: 12px 10px !important;
    }

    .pfb-qty-btn {
        width: 40px !important;
        height: 36px !important;
        font-size: 20px !important;
        padding: 0 !important;
    }

    .pfb-qty-value {
        font-size: 18px !important;
    }

    /* Show attributes on mobile */
    .pfb-selected-item-attributes {
        display: block !important;
    }

    .pfb-attribute-group {
        margin-top: 8px !important;
        margin-bottom: 4px !important;
    }

    .pfb-attribute-name {
        font-size: 11px !important;
    }

    .pfb-attribute-value-btn {
        padding: 4px 8px !important;
        font-size: 11px !important;
    }

    /* Product card attributes display on mobile */
    .pfb-product-attributes {
        display: block !important;
        margin-top: 12px;
        padding: 12px;
        border-radius: 4px;
        background: #fff;
        min-height: 80px;
    }

    .pfb-product-attributes:empty {
        display: none !important;
        margin-top: 0 !important;
        padding: 0 !important;
        min-height: 0 !important;
        border: 0 !important;
    }

    .pfb-product-attributes .pfb-attribute-group {
        margin-top: 6px !important;
        margin-bottom: 3px !important;
    }

    .pfb-product-attributes .pfb-attribute-name {
        font-size: 11px !important;
        font-weight: 600;
        color: #222;
    }

    .pfb-product-attributes .pfb-attribute-values {
        display: flex !important;
        flex-wrap: wrap;
        gap: 4px !important;
        margin-top: 4px;
    }

    .pfb-product-attributes .pfb-attribute-value-btn {
        padding: 3px 6px !important;
        font-size: 10px !important;
        height: auto !important;
        border: 1px solid #bbb !important;
    }
}

/* Mobile product grid for [pflegebox_customization] */
@media (max-width: 576px) {
    .pfb-customization .pfb-customization-step-2 .pfb-customization-product-grid {
        display: block !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
    }

    .pfb-customization .pfb-customization-step-2 .pfb-customization-products {
        display: grid !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    .pfb-customization .pfb-customization-step-2 .pfb-customization-product {
        width: 100% !important;
        min-width: 0 !important;
        padding: 8px !important;
        border-radius: 4px !important;
    }

    .pfb-customization .pfb-customization-step-2 .pfb-customization-product-image {
        height: 112px !important;
        margin-bottom: 8px !important;
    }

    .pfb-customization .pfb-customization-step-2 .pfb-customization-product-image img {
        max-width: 100% !important;
        max-height: 104px !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .pfb-customization .pfb-customization-step-2 .pfb-customization-product-body h3 {
        font-size: 15px !important;
        line-height: 1.22 !important;
    }

    .pfb-customization .pfb-customization-step-2 .pfb-customization-product-controls {
        grid-template-columns: 36px minmax(0, 1fr) 36px !important;
        gap: 8px !important;
        margin-top: 14px !important;
    }

    .pfb-customization .pfb-customization-step-2 .pfb-customization-plus,
    .pfb-customization .pfb-customization-step-2 .pfb-customization-minus {
        width: 36px !important;
        height: 36px !important;
        border-radius: 3px !important;
        font-size: 20px !important;
    }

    .pfb-customization .pfb-customization-step-2 .pfb-customization-qty {
        font-size: 38px !important;
    }

    .pfb-customization .pfb-customization-step-2 .pfb-customization-attr-group {
        padding: 0 !important;
        margin-top: 8px !important;
        background: transparent !important;
    }

    .pfb-customization .pfb-customization-step-2 .pfb-customization-attr-group span {
        display: none !important;
    }

    .pfb-customization .pfb-customization-step-2 .pfb-customization-attr-group div {
        gap: 6px !important;
        row-gap: 6px !important;
    }

    .pfb-customization .pfb-customization-step-2 .pfb-customization-attr-btn {
        height: 28px !important;
        min-width: 29px !important;
        padding: 3px 8px !important;
        border-radius: 3px !important;
        font-size: 12px !important;
        line-height: 1 !important;
    }
}
