/* Frontend-Styling für WooCommerce Produkt Konfigurator */

/* Standard WooCommerce Elemente ausblenden wenn Konfigurator vorhanden */
.wpc-has-configurator .quantity,
.wpc-has-configurator .ux-quantity,
.wpc-has-configurator button.single_add_to_cart_button,
.wpc-has-configurator button[name="add-to-cart"] {
    display: none !important;
}

/* Konfigurieren Button - WooCommerce Styling */
.wpc-configure-button-wrapper {
    margin: 0;
    padding: 0;
}

.wpc-configure-button {
    /* Theme Button Styling */
    display: inline-block;
    cursor: pointer;
    text-decoration: none;
    margin: 0;
}

.wpc-configure-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Konfigurator Modal */
.wpc-configurator-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wpc-configurator-modal.active {
    display: flex;
    opacity: 1;
}

.wpc-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.wpc-modal-container {
    position: relative;
    width: 95%;
    max-width: 1400px;
    height: 90vh;
    margin: auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.wpc-modal-close {
    position: absolute;
    top: 27px;
    right: 20px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e1e1e1;
    border-radius: 50%;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpc-modal-close:hover {
    background: #f5f5f5;
    transform: rotate(90deg);
    border-color: #333;
}

.wpc-configurator {
    padding: 20px;
    background: transparent;
    border: none;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex: 1;
    overflow: hidden;
    min-height: 0;
}

/* Step Navigation */
.wpc-step-navigation {
    flex-shrink: 0;
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wpc-step-list {
    background: #fff;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    overflow: hidden;
}

.wpc-step-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    border-bottom: 1px solid #e1e1e1;
    cursor: default;
    transition: all 0.3s ease;
    position: relative;
}

.wpc-step-item:last-child {
    border-bottom: none;
}

.wpc-step-number {
    flex-shrink: 0;
    width: 26px;
    height: 26px;
    background: #e1e1e1;
    color: #666;
    border-radius: 50%;
    display: none; /* Nummern komplett ausblenden */
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    transition: all 0.3s ease;
    margin-top: 1px;
}

.wpc-step-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wpc-step-name {
    font-size: 13px;
    font-weight: 500;
    color: #666;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.wpc-step-selection {
    font-size: 11px;
    color: #999;
    font-style: italic;
    line-height: 1.3;
    display: none;
}

.wpc-step-item.completed .wpc-step-selection {
    display: block;
    color: #2c8a2c;
    font-weight: 500;
}

/* Active Step */
.wpc-step-item.active {
    background: #f5f5f5;
}

.wpc-step-item.active .wpc-step-number {
    background: #333;
    color: #fff;
}

.wpc-step-item.active .wpc-step-name {
    color: #333;
    font-weight: 600;
}

/* Completed Step */
.wpc-step-item.completed {
    cursor: pointer;
}

.wpc-step-item.completed:hover {
    background: #fafafa;
}

.wpc-step-item.completed .wpc-step-number {
    background: #2c8a2c;
    color: #fff;
}

/* Häkchen nur anzeigen wenn keine dynamische Nummerierung verwendet wird */
.wpc-step-item.completed:not([data-visual-step]) .wpc-step-number::after {
    content: "✓";
    font-weight: bold;
}

.wpc-step-item.completed .wpc-step-name {
    color: #2c8a2c;
}

/* Step Content */
.wpc-step-content {
    flex: 1;
    min-width: 0;
    min-height: 0;
    max-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 10px;
    padding-bottom: 20px;
}

.wpc-step-content::-webkit-scrollbar {
    width: 8px;
}

.wpc-step-content::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.wpc-step-content::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}

.wpc-step-content::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Preisbox in Navigation */
.wpc-nav-price {
    padding: 15px;
    background: #f5f5f5;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    text-align: center;
}

.wpc-nav-price-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #666;
    margin-bottom: 8px;
}

.wpc-nav-price-row {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 8px;
}

.wpc-nav-price-col {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.wpc-nav-price-col-main {
    flex: 1;
    text-align: right;
}

.wpc-nav-price-original-label,
.wpc-nav-price-our-label {
    font-size: 10px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
}

.wpc-nav-price-original {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
}

.wpc-nav-price-amount {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #2c8a2c;
}

.wpc-nav-price-vat {
    display: block;
    font-size: 9px;
    color: #999;
    font-weight: 400;
    margin-top: 2px;
    line-height: 1.2;
}

.wpc-nav-price-vat a {
    color: #666;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.wpc-nav-price-vat a:hover {
    color: #333;
}

.wpc-nav-price-discount-label {
    display: block;
    font-size: 10px;
    color: #d32f2f;
    font-weight: 600;
    margin-top: 4px;
    text-align: center;
}

/* Zurücksetzen Button */
.wpc-reset-btn {
    width: 100%;
    padding: 10px 15px;
    background: #fff;
    color: #666;
    border: 2px solid #e1e1e1;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.wpc-reset-btn:hover {
    background: #f5f5f5;
    border-color: #999;
    color: #333;
}

.wpc-reset-btn svg {
    flex-shrink: 0;
}

/* Auswählen-Buttons */
.wpc-select-option-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 8px 16px;
    background: #666;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.wpc-select-option-btn:hover {
    background: #333;
}

.wpc-option.selected .wpc-select-option-btn {
    background: #2c8a2c;
}

.wpc-option.selected .wpc-select-option-btn:hover {
    background: #1f6b1f;
}

/* Letzter Step - In den Warenkorb */
.wpc-section[data-step]:last-child .wpc-select-option-btn {
    background: #2c8a2c;
}

.wpc-section[data-step]:last-child .wpc-select-option-btn:hover {
    background: #1f6b1f;
}

/* Dimension Button */
.wpc-select-dimension-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 8px 16px;
    background: #666;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpc-select-dimension-btn:hover:not(:disabled) {
    background: #333;
}

.wpc-select-dimension-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

.wpc-section:last-child .wpc-select-dimension-btn {
    background: #2c8a2c;
}

.wpc-section:last-child .wpc-select-dimension-btn:hover:not(:disabled) {
    background: #1f6b1f;
}

.wpc-title {
    margin-top: 0;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #333;
    font-size: 24px;
    color: #333;
}

.wpc-group-description {
    margin-bottom: 25px;
    padding: 15px;
    background: #fff;
    border-left: 3px solid #333;
    font-size: 14px;
    line-height: 1.6;
}

/* Sektionen */
.wpc-sections {
    margin-bottom: 15px;
}

.wpc-section {
    display: none;
    padding: 20px;
    background: #fff;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.wpc-section.active {
    display: block;
    animation: fadeInStep 0.4s ease-in-out;
}

@keyframes fadeInStep {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Dropdown-Auswahl */
.wpc-dropdown-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 15px;
    position: relative;
    padding-bottom: 50px;
}

.wpc-dropdown-image {
    flex-shrink: 0;
    position: relative;
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpc-dropdown-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    border: 2px solid #e1e1e1;
}

.wpc-dropdown-image-zoom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 8px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 11px;
    font-weight: 400;
    color: #666;
}

.wpc-dropdown-image-zoom::before {
    content: 'Vergrößern';
}

.wpc-dropdown-image-zoom:hover {
    opacity: 1;
    background: #fafafa;
    border-color: #bbb;
    color: #333;
}

.wpc-dropdown-image-zoom svg {
    width: 14px;
    height: 14px;
    fill: #666;
    flex-shrink: 0;
}

.wpc-dropdown-image-zoom:hover svg {
    fill: #333;
}

.wpc-dropdown-select-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wpc-dropdown-select {
    width: 100%;
    height: 48px;
    padding-left: 15px;
    padding-right: 45px;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23333" d="M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.wpc-dropdown-select:hover {
    border-color: #999;
}

.wpc-dropdown-select:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.wpc-select-dropdown-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 8px 16px;
    background: #666;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpc-select-dropdown-btn:hover:not(:disabled) {
    background: #333;
}

.wpc-select-dropdown-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Dachfenster-Auswahl */
.wpc-dachfenster-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 15px;
    position: relative;
    padding-bottom: 50px;
}

.wpc-dachfenster-image {
    flex-shrink: 0;
    position: relative;
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpc-dachfenster-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    border: 2px solid #e1e1e1;
}

.wpc-dachfenster-image-zoom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 8px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 11px;
    font-weight: 400;
    color: #666;
}

.wpc-dachfenster-image-zoom::before {
    content: 'Vergrößern';
}

.wpc-dachfenster-image-zoom:hover {
    opacity: 1;
    background: #fafafa;
    border-color: #bbb;
    color: #333;
}

.wpc-dachfenster-image-zoom svg {
    width: 14px;
    height: 14px;
    fill: #666;
    flex-shrink: 0;
}

.wpc-dachfenster-image-zoom:hover svg {
    fill: #333;
}

.wpc-dachfenster-selects-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.wpc-dachfenster-selects-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.wpc-dachfenster-select-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpc-dachfenster-select-group label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.wpc-dachfenster-typ-select,
.wpc-dachfenster-size-select {
    width: 100%;
    height: 48px;
    padding-left: 15px;
    padding-right: 45px;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 500;
    color: #333;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.3s ease;
    appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path fill="%23333" d="M1.41 0L6 4.58 10.59 0 12 1.41l-6 6-6-6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
}

.wpc-dachfenster-typ-select:hover,
.wpc-dachfenster-size-select:hover:not(:disabled) {
    border-color: #999;
}

.wpc-dachfenster-typ-select:focus,
.wpc-dachfenster-size-select:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.wpc-dachfenster-size-select:disabled {
    background-color: #f5f5f5;
    cursor: not-allowed;
    opacity: 0.6;
}

.wpc-select-dachfenster-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 8px 16px;
    background: #666;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpc-select-dachfenster-btn:hover:not(:disabled) {
    background: #333;
}

.wpc-select-dachfenster-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Freifeld - Textfeld mit optionalem Bild */
.wpc-freifeld-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 15px;
    position: relative;
    padding-bottom: 50px;
}

.wpc-freifeld-image {
    flex-shrink: 0;
    position: relative;
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpc-freifeld-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    border: 2px solid #e1e1e1;
}

.wpc-freifeld-image-zoom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 8px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 11px;
    font-weight: 400;
    color: #666;
}

.wpc-freifeld-image-zoom::before {
    content: 'Vergrößern';
}

.wpc-freifeld-image-zoom:hover {
    opacity: 1;
    background: #fafafa;
    border-color: #bbb;
    color: #333;
}

.wpc-freifeld-image-zoom svg {
    width: 14px;
    height: 14px;
    fill: #666;
    flex-shrink: 0;
}

.wpc-freifeld-image-zoom:hover svg {
    fill: #333;
}

.wpc-freifeld-input-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.wpc-freifeld-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 16px;
    font-family: inherit;
    color: #333;
    background: #fff;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease;
}

.wpc-freifeld-textarea:hover {
    border-color: #999;
}

.wpc-freifeld-textarea:focus {
    outline: none;
    border-color: #333;
    box-shadow: 0 0 0 3px rgba(51, 51, 51, 0.1);
}

.wpc-freifeld-textarea::placeholder {
    color: #999;
}

.wpc-select-freifeld-btn {
    position: absolute;
    bottom: 15px;
    right: 15px;
    padding: 8px 16px;
    background: #666;
    color: #fff;
    border: none;
    border-radius: 3px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.wpc-select-freifeld-btn:hover:not(:disabled) {
    background: #333;
}

.wpc-select-freifeld-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    opacity: 0.6;
}

/* Direkte Maßeingabe */
.wpc-dimension-container {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    margin-top: 15px;
    position: relative;
    padding-bottom: 50px;
}

.wpc-dimension-image {
    flex-shrink: 0;
    position: relative;
    width: 150px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpc-dimension-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    border: 2px solid #e1e1e1;
}

.wpc-dimension-image-zoom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 8px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 11px;
    font-weight: 400;
    color: #666;
}

.wpc-dimension-image-zoom::before {
    content: 'Vergrößern';
}

.wpc-dimension-image-zoom:hover {
    opacity: 1;
    background: #fafafa;
    border-color: #bbb;
    color: #333;
}

.wpc-dimension-image-zoom svg {
    width: 14px;
    height: 14px;
    fill: #666;
    flex-shrink: 0;
}

.wpc-dimension-image-zoom:hover svg {
    fill: #333;
}

.wpc-dimension-inputs-wrapper {
    flex: 1;
}

.wpc-dimension-max-info {
    padding: 12px 15px;
    background: #e8f4f8;
    border-left: 4px solid #2196F3;
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 600;
    color: #1976D2;
}

.wpc-dimension-inputs-direct {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.wpc-dimension-error {
    display: block;
    margin-top: 5px;
    font-size: 13px;
    color: #d32f2f;
    font-weight: 500;
    min-height: 18px;
}

.wpc-dimension-field-direct.error {
    border-color: #d32f2f;
    background-color: #ffebee;
}

/* Maßeingabe-Optionen */
.wpc-dimensions-options {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 15px;
}

.wpc-dimension-option {
    background: #fafafa;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    padding: 15px;
    transition: border-color 0.3s;
}

.wpc-dimension-option:has(input:checked) {
    background: #fff;
    border-color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wpc-dimension-option-label {
    display: block;
    cursor: pointer;
    margin: 0;
}

.wpc-dimension-option-input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.wpc-dimension-option-content {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.wpc-dimension-option-info {
    flex: 1;
}

.wpc-dimension-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e1e1e1;
}

.wpc-dimension-input {
    display: flex;
    flex-direction: column;
}

.wpc-dimension-input label {
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.wpc-dimension-field {
    padding: 10px;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 16px;
    transition: border-color 0.3s;
}

.wpc-dimension-field:focus {
    outline: none;
    border-color: #333;
}

.wpc-dimension-price {
    grid-column: 1 / -1;
    padding: 15px;
    background: #f5f5f5;
    border: 2px solid #333;
    border-radius: 4px;
    text-align: center;
}

.wpc-dimension-price-label {
    font-weight: 600;
    margin-right: 10px;
    color: #333;
}

.wpc-dimension-price-value {
    font-size: 20px;
    font-weight: 700;
    color: #2c8a2c;
}

.wpc-section:last-child {
    margin-bottom: 0;
}

.wpc-section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 12px;
}

.wpc-section-title {
    margin: 0;
    font-size: 16px;
    color: #333;
    flex: 1;
}

.wpc-modal-close-mobile {
    display: none;
}

.wpc-section-description {
    margin-bottom: 15px;
    padding: 8px 10px;
    background: #f5f5f5;
    border-left: 2px solid #999;
    font-size: 12px;
    line-height: 1.4;
    color: #666;
}

.wpc-section-description-bottom {
    background: transparent;
    border-left: none;
    padding-left: 0;
    padding-right: 0;
    font-size: 13px;
    color: #555;
    margin-top: 15px;
}

/* Optionen */
.wpc-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 12px;
}

.wpc-option {
    position: relative;
    background: #fafafa;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    padding: 12px;
    padding-bottom: 50px;
    transition: all 0.3s ease;
}

.wpc-option.selected {
    background: #fff;
    border-color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wpc-option-content {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 12px;
}

.wpc-option-image {
    flex-shrink: 0;
    width: 150px;
    height: auto;
    border-radius: 4px;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpc-option-image img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 4px;
    border: 2px solid #e1e1e1;
}

.wpc-option-image-zoom {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 4px 8px;
    background: transparent;
    border: 1px solid #ddd;
    border-radius: 3px;
    cursor: pointer;
    opacity: 0.7;
    transition: all 0.3s ease;
    font-size: 11px;
    font-weight: 400;
    color: #666;
}

.wpc-option-image-zoom::before {
    content: 'Vergrößern';
}

.wpc-option-image-zoom:hover {
    opacity: 1;
    background: #fafafa;
    border-color: #bbb;
    color: #333;
}

.wpc-option-image-zoom svg {
    width: 14px;
    height: 14px;
    fill: #666;
    flex-shrink: 0;
}

.wpc-option-image-zoom:hover svg {
    fill: #333;
}

.wpc-option-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.wpc-option-name {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.wpc-option-dimensions {
    display: block;
    font-size: 13px;
    color: #666;
    margin-top: 4px;
}

.wpc-option-price {
    font-weight: 500;
    font-size: 14px;
    color: #2c8a2c;
}

.wpc-option-description {
    margin-top: 5px;
    padding-top: 8px;
    border-top: 1px solid #e1e1e1;
    font-size: 13px;
    line-height: 1.5;
    color: #666;
    max-width: 75%;
}

/* Gesamtpreis - außerhalb des Konfigurators */
.wpc-total-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    margin: 20px 0;
    background: #fff;
    border: 2px solid #333;
    border-radius: 4px;
    font-size: 18px;
}

.wpc-total-price strong {
    color: #333;
}

.wpc-total-amount {
    font-size: 24px;
    font-weight: 700;
    color: #2c8a2c;
}

/* Selected State */
.wpc-option.selected .wpc-option-content {
    background: #fff;
    border-color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wpc-option.selected .wpc-option-content::before {
    content: "\2713";
    position: absolute;
    top: 10px;
    right: 10px;
    width: 25px;
    height: 25px;
    background: #2c8a2c;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
}

/* Übersichtsseite */
.wpc-summary-section {
    padding: 25px !important;
}

.wpc-summary-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 15px;
    margin-bottom: 25px;
}

.wpc-summary-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 15px;
    background: #fafafa;
    border: 1px solid #e1e1e1;
    border-radius: 4px;
    gap: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.wpc-summary-item:hover {
    background: #fff;
    border-color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wpc-summary-item::after {
    content: "✏";
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    color: #999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wpc-summary-item:hover::after {
    opacity: 1;
}

.wpc-summary-item-label {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    flex-shrink: 0;
}

.wpc-summary-item-value {
    color: #666;
    font-size: 14px;
    text-align: right;
    line-height: 1.4;
    padding-right: 25px;
}

.wpc-summary-footer {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 2px solid #e1e1e1;
}

.wpc-summary-total {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px;
    background: #f5f5f5;
    border: 2px solid #e1e1e1;
    border-radius: 8px;
}

.wpc-summary-total-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.wpc-summary-price-row {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.wpc-summary-price-col {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.wpc-summary-price-col-main {
    flex: 1;
    text-align: right;
}

.wpc-summary-price-original-label,
.wpc-summary-price-our-label {
    font-size: 12px;
    font-weight: 500;
    color: #666;
    text-transform: uppercase;
}

.wpc-summary-price-original {
    display: block;
    font-size: 18px;
    font-weight: 500;
    color: #999;
    text-decoration: line-through;
}

.wpc-summary-total-amount {
    font-size: 28px;
    font-weight: 700;
    color: #2c8a2c;
}

.wpc-summary-total-vat {
    font-size: 11px;
    font-weight: 400;
    color: #999;
    margin-top: 4px;
    line-height: 1.3;
}

.wpc-summary-total-vat a {
    color: #666;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.wpc-summary-total-vat a:hover {
    color: #333;
}

.wpc-summary-discount-info {
    padding: 12px 15px;
    background: #fff3e0;
    border-left: 4px solid #ff9800;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #e65100;
    text-align: center;
}

.wpc-summary-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.wpc-summary-quantity {
    display: flex;
    align-items: center;
    gap: 0;
}

.wpc-quantity-decrease,
.wpc-quantity-increase {
    width: 36px;
    height: 42px;
    background: #f5f5f5;
    border: 2px solid #e1e1e1;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
}

.wpc-quantity-decrease {
    border-right: none;
    border-radius: 4px 0 0 4px;
}

.wpc-quantity-increase {
    border-left: none;
    border-radius: 0 4px 4px 0;
}

.wpc-quantity-decrease:hover,
.wpc-quantity-increase:hover {
    background: #e1e1e1;
    color: #000;
}

.wpc-quantity-decrease:active,
.wpc-quantity-increase:active {
    background: #d1d1d1;
    transform: scale(0.95);
}

.wpc-quantity-input {
    width: 60px;
    padding: 10px 8px;
    border: 2px solid #e1e1e1;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    transition: border-color 0.3s;
    -moz-appearance: textfield;
}

.wpc-quantity-input::-webkit-outer-spin-button,
.wpc-quantity-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wpc-quantity-input:focus {
    outline: none;
    border-color: #333;
    z-index: 1;
    position: relative;
}

.wpc-add-to-cart-btn {
    flex: 1;
    padding: 16px 30px;
    background: #2c8a2c;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.wpc-add-to-cart-btn:hover {
    background: #1f6b1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 138, 44, 0.3);
}

.wpc-add-to-cart-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

@keyframes zoomIn {
    from {
        transform: scale(0.7);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Filter Accordion */
.wpc-filters-accordion {
    margin-bottom: 20px;
}

.wpc-filters-accordion-header {
    display: none; /* Auf Desktop versteckt */
}

.wpc-filters-accordion-content {
    /* Auf Desktop immer sichtbar */
}

/* Farbgruppen-Filter */
.wpc-colorgroup-filter-wrapper {
    margin-bottom: 20px;
}

.wpc-colorgroup-filter-title {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.wpc-colorgroup-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
}

.wpc-colorgroup-btn {
    padding: 10px 16px;
    border: 2px solid rgba(0,0,0,0.3);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    text-shadow:
        -1px -1px 0 rgba(0,0,0,0.5),
        1px -1px 0 rgba(0,0,0,0.5),
        -1px 1px 0 rgba(0,0,0,0.5),
        1px 1px 0 rgba(0,0,0,0.5),
        0 0 3px rgba(0,0,0,0.8);
}

.wpc-colorgroup-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    border-color: rgba(0,0,0,0.5);
}

.wpc-colorgroup-btn.active {
    border-color: #000;
    border-width: 3px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
    transform: scale(1.05);
}

/* Nicht verfügbare Farbgruppen */
.wpc-colorgroup-btn.wpc-filter-unavailable {
    display: none !important;
}

/* Eigenschaften-Filter */
.wpc-property-filter-wrapper {
    margin-bottom: 20px;
}

.wpc-property-filter-title {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.wpc-property-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
}

.wpc-property-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.wpc-property-checkbox-label:hover {
    background: #fafafa;
    border-color: #999;
}

.wpc-property-checkbox {
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    accent-color: #333;
    flex-shrink: 0;
    position: relative;
    top: 0;
}

.wpc-property-checkbox-text {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    line-height: 16px;
}

.wpc-property-checkbox:checked + .wpc-property-checkbox-text {
    font-weight: 600;
}

.wpc-property-checkbox-label:has(.wpc-property-checkbox:checked) {
    background: #333;
    border-color: #333;
    color: #fff;
}

.wpc-property-checkbox-label:has(.wpc-property-checkbox:checked) .wpc-property-checkbox-text {
    color: #fff;
}

/* Nicht verfügbare Eigenschaften */
.wpc-property-checkbox-label.wpc-filter-unavailable {
    display: none !important;
}

/* Preisgruppen-Filter */
.wpc-pricegroup-filter-wrapper {
    margin-bottom: 20px;
}

.wpc-pricegroup-filter-title {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: #333;
}

.wpc-pricegroup-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
}

.wpc-pricegroup-checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #fff;
    border: 1px solid #d1d1d1;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    user-select: none;
}

.wpc-pricegroup-checkbox-label:hover {
    background: #fafafa;
    border-color: #999;
}

.wpc-pricegroup-checkbox {
    width: 16px;
    height: 16px;
    margin: 0;
    padding: 0;
    cursor: pointer;
    accent-color: #333;
    flex-shrink: 0;
    position: relative;
    top: 0;
}

.wpc-pricegroup-checkbox-text {
    font-size: 13px;
    font-weight: 500;
    color: #333;
    line-height: 16px;
}

.wpc-pricegroup-checkbox:checked + .wpc-pricegroup-checkbox-text {
    font-weight: 600;
}

.wpc-pricegroup-checkbox-label:has(.wpc-pricegroup-checkbox:checked) {
    background: #333;
    border-color: #333;
    color: #fff;
}

.wpc-pricegroup-checkbox-label:has(.wpc-pricegroup-checkbox:checked) .wpc-pricegroup-checkbox-text {
    color: #fff;
}

/* Nicht verfügbare Preisgruppen */
.wpc-pricegroup-checkbox-label.wpc-filter-unavailable {
    display: none !important;
}

/* Farbauswahl (Color Selection) */
.wpc-color-selection {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 15px;
}

.wpc-color-box.wpc-filtered {
    display: none;
}

.wpc-color-box {
    position: relative;
    background: #fafafa;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    padding: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wpc-color-box:hover {
    background: #fff;
    border-color: #999;
}

.wpc-color-box.selected {
    background: #fff;
    border-color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.wpc-color-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    position: relative;
}

.wpc-color-image {
    flex-shrink: 0;
    width: 95px;
    height: 95px;
    overflow: hidden;
    border-radius: 8px;
    margin: 0 auto;
}

.wpc-color-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
}

.wpc-color-info-icon {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid #e1e1e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0.9;
    transition: opacity 0.3s ease, background 0.3s ease, transform 0.2s ease;
    z-index: 2;
}

.wpc-color-box:hover .wpc-color-info-icon {
    opacity: 1;
}

.wpc-color-info-icon:hover {
    background: #fff;
    transform: scale(1.15);
    border-color: #333;
}

.wpc-color-info-icon svg {
    width: 16px;
    height: 16px;
    color: #333;
}

.wpc-color-name {
    font-weight: 600;
    font-size: 14px;
    color: #333;
    text-align: center;
    line-height: 1.3;
}

/* Farbdetail Modal */
.wpc-color-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wpc-color-detail-modal.active {
    display: flex;
    opacity: 1;
}

.wpc-color-detail-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.wpc-color-detail-container {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 85vh;
    margin: 8vh auto auto auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.4);
    animation: modalSlideIn 0.4s ease-out;
    overflow-y: auto;
    overflow-x: hidden;
}

.wpc-color-detail-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid #e1e1e1;
    border-radius: 50%;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpc-color-detail-close:hover {
    background: #f5f5f5;
    transform: rotate(90deg);
    border-color: #333;
}

.wpc-color-detail-content {
    display: flex;
    flex-direction: row;
    gap: 0;
}

.wpc-color-detail-image-wrapper {
    flex: 1;
    background: #fafafa;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    gap: 20px;
}

.wpc-color-detail-main-image-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.wpc-color-detail-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    cursor: pointer;
}

.wpc-color-detail-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 100%;
}

.wpc-color-thumbnail {
    width: 80px;
    height: 80px;
    border: 2px solid #ddd;
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wpc-color-thumbnail:hover {
    border-color: #999;
    transform: scale(1.05);
}

.wpc-color-thumbnail.active {
    border-color: #2271b1;
    border-width: 3px;
}

.wpc-color-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Lichteigenschaften - Reflexion, Transmission, Absorption */
.wpc-color-light-properties {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 15px;
    background: #fafafa;
    border-radius: 4px;
    overflow: visible;
    position: relative;
}

.wpc-color-detail-info {
    flex: 1;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    overflow-x: hidden;
}

.wpc-color-light-property {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    position: relative;
    cursor: pointer;
}

.wpc-color-light-property img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid #e8e8e8;
    background: #fff;
    padding: 4px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.wpc-color-light-property:hover img {
    transform: scale(1.1);
    border-color: #999;
}

/* Light Property Text - immer sichtbar */
.wpc-color-light-text {
    font-size: 11px;
    color: #777;
    line-height: 1.3;
}

.wpc-color-light-text span {
    font-weight: 600;
    color: #555;
}

/* Custom Tooltip für Light Property Title */
.wpc-light-tooltip {
    font-size: 12px;
    color: #fff;
    text-align: center;
    line-height: 1.4;
    display: none;
    background: rgba(0, 0, 0, 0.92);
    padding: 8px 12px;
    border-radius: 6px;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 8px;
    white-space: normal;
    max-width: 220px;
    z-index: 100010;
    pointer-events: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    font-weight: 500;
}

/* Pfeil nach oben für Light Tooltip */
.wpc-light-tooltip::after {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-bottom: 6px solid rgba(0, 0, 0, 0.92);
}

/* Erstes Light Property (Reflexion) - Tooltip von links ausrichten */
.wpc-color-light-property:first-child .wpc-light-tooltip {
    left: 0;
    transform: translateX(0);
}

.wpc-color-light-property:first-child .wpc-light-tooltip::after {
    left: 25px;
    transform: translateX(0);
}

/* Letztes Light Property (Absorption) - Tooltip von rechts ausrichten */
.wpc-color-light-property:last-child .wpc-light-tooltip {
    left: auto;
    right: 0;
    transform: translateX(0);
}

.wpc-color-light-property:last-child .wpc-light-tooltip::after {
    left: auto;
    right: 25px;
    transform: translateX(0);
}

.wpc-color-light-property:hover .wpc-light-tooltip {
    display: block;
}

.wpc-color-detail-title {
    margin: 0;
    font-size: 18px;
    color: #333;
    font-weight: 600;
}

.wpc-color-detail-description {
    flex: 1;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
}

.wpc-color-detail-description:empty {
    display: none;
}

/* Tabelle für Farb-Beschreibung */
.wpc-color-description-table {
    width: 100%;
    border-collapse: collapse;
}

.wpc-color-description-table .tabellen-label {
    font-size: 0.75rem;
    border-bottom: solid 1px #eee;
    width: 50%;
    padding: 8px 0;
    vertical-align: top;
}

.wpc-color-description-table .tabellen-wert {
    font-weight: 700;
    padding-left: 15px;
    padding-top: 8px;
    padding-bottom: 8px;
    border-bottom: solid 1px #eee;
    vertical-align: top;
}

.wpc-color-description-table a {
    color: #ec4205;
    text-decoration: none;
}

.wpc-color-description-table a:hover {
    text-decoration: underline;
}

.wpc-color-detail-properties {
    padding: 10px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #333;
}

.wpc-color-detail-properties:empty {
    display: none;
}

.wpc-color-detail-properties strong {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

/* Eigenschaften mit Bildern - in einer Zeile */
.wpc-properties-with-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 12px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 12px;
}

.wpc-property-image-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.wpc-property-image-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    border-radius: 4px;
    border: 1px solid #e1e1e1;
    background: #fff;
    padding: 4px;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.wpc-property-image-item:hover img {
    transform: scale(1.1);
    border-color: #999;
}

/* Property Label - auf Desktop als Tooltip */
.wpc-property-label {
    font-size: 13px;
    color: #fff;
    text-align: center;
    line-height: 1.3;
    display: none;
    background: rgba(0, 0, 0, 0.92);
    padding: 6px 12px;
    border-radius: 6px;
    position: absolute;
    top: -42px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    z-index: 100010;
    pointer-events: none;
    box-shadow: 0 3px 10px rgba(0,0,0,0.3);
    font-weight: 500;
}

/* Pfeil nach unten für Tooltip */
.wpc-property-label::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid rgba(0, 0, 0, 0.92);
}

.wpc-property-image-item:hover .wpc-property-label {
    display: block;
}

/* Eigenschaften ohne Bilder - darunter */
.wpc-properties-without-images {
    padding: 10px 12px;
    background: #f5f5f5;
    border-radius: 4px;
    font-size: 12px;
    color: #333;
}

.wpc-properties-without-images strong {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #333;
}

.wpc-select-color-detail-btn {
    padding: 14px 30px;
    background: #2c8a2c;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: none;
}

.wpc-select-color-detail-btn:hover {
    background: #1f6b1f;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(44, 138, 44, 0.3);
}

/* Bildvergrößerungs-Modal */
.wpc-image-zoom-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 100001;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.wpc-image-zoom-modal.active {
    display: flex;
    opacity: 1;
}

.wpc-image-zoom-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(5px);
}

.wpc-image-zoom-container {
    position: relative;
    margin: 8vh auto auto auto;
    max-width: 95%;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: zoomIn 0.3s ease-out;
}

.wpc-image-zoom-image {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 10px 50px rgba(0,0,0,0.5);
}

.wpc-image-zoom-close {
    position: absolute;
    top: -50px;
    right: 0;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.wpc-image-zoom-close:hover {
    background: #fff;
    transform: rotate(90deg);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .wpc-configure-button {
        max-width: 100%;
    }

    .wpc-modal-container {
        width: 100%;
        height: 100vh;
        /* iOS Safe Area Support */
        height: calc(var(--vh, 1vh) * 100);
        border-radius: 0;
        max-width: none;
        padding-bottom: env(safe-area-inset-bottom, 0px);
    }

    .wpc-configurator {
        flex-direction: column;
        gap: 10px;
        padding: 15px 10px;
        padding-bottom: calc(15px + env(safe-area-inset-bottom, 0px));
    }

    /* Modal Close - Desktop-Version verstecken */
    .wpc-modal-close {
        display: none;
    }

    /* Modal Close Mobile - in Titelzeile */
    .wpc-modal-close-mobile {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 30px;
        height: 30px;
        background: #f5f5f5;
        border: 1px solid #e1e1e1;
        border-radius: 50%;
        font-size: 20px;
        line-height: 1;
        cursor: pointer;
        color: #666;
        flex-shrink: 0;
        transition: all 0.2s ease;
    }

    .wpc-modal-close-mobile:hover {
        background: #e1e1e1;
        color: #333;
        transform: rotate(90deg);
    }

    /* Step Navigation - Accordion Style - standardmäßig eingeklappt */
    .wpc-step-navigation {
        width: 100%;
        order: -1;
        flex-direction: column;
        gap: 0;
        background: #f5f5f5;
        border: 1px solid #e1e1e1;
        border-radius: 6px;
        overflow: hidden;
        position: relative;
    }

    .wpc-step-navigation.collapsed {
        /* Eingeklappt - nur Header sichtbar */
    }

    /* Accordion Toggle Header - Echter Header mit Preis */
    .wpc-step-navigation-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        padding: 10px 35px 10px 12px;
        background: #fff;
        border-bottom: 1px solid #e1e1e1;
        font-size: 12px;
        font-weight: 600;
        color: #333;
        cursor: pointer;
        position: relative;
    }

    .wpc-step-navigation-header-step {
        color: #333;
    }

    .wpc-step-navigation-header-price {
        color: #2c8a2c;
        font-weight: 700;
        font-size: 13px;
        margin-right: 15px;
    }

    /* Arrow Icon für Header */
    .wpc-step-navigation-header::after {
        content: '▼';
        position: absolute;
        top: 50%;
        right: 12px;
        transform: translateY(-50%);
        font-size: 10px;
        color: #666;
        transition: transform 0.3s ease;
        pointer-events: none;
    }

    .wpc-step-navigation.collapsed .wpc-step-navigation-header::after {
        transform: translateY(-50%) rotate(-90deg);
    }

    /* Step List - ausblendbar */
    .wpc-step-list {
        display: flex;
        flex-direction: column;
        border: none;
        background: #fff;
        gap: 0;
        max-height: 400px;
        overflow-y: auto;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    .wpc-step-navigation.collapsed .wpc-step-list {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
    }

    .wpc-step-item {
        flex-direction: row;
        align-items: center;
        text-align: left;
        padding: 10px 12px;
        border: none;
        border-bottom: 1px solid #f0f0f0;
        border-radius: 0;
        background: #fff;
        gap: 10px;
    }

    .wpc-step-item:last-child {
        border-bottom: none;
    }

    .wpc-step-number {
        width: 22px;
        height: 22px;
        font-size: 11px;
        margin: 0;
        flex-shrink: 0;
        display: none; /* Nummern auf Mobile auch ausblenden */
    }

    .wpc-step-info {
        margin-top: 0;
        flex: 1;
        min-width: 0;
    }

    .wpc-step-name {
        font-size: 11px;
        line-height: 1.3;
        font-weight: 600;
    }

    .wpc-step-selection {
        font-size: 10px;
        margin-top: 2px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Preisbox und Reset unterhalb der Step List */
    .wpc-nav-price {
        display: flex;
        flex-direction: column;
        gap: 8px;
        padding: 10px 12px;
        border-radius: 0;
        background: #f9f9f9;
        border-top: 1px solid #e1e1e1;
    }

    .wpc-step-navigation.collapsed .wpc-nav-price {
        display: none;
    }

    .wpc-nav-price-label {
        font-size: 10px;
        margin: 0;
    }

    .wpc-nav-price-row {
        gap: 8px;
        margin-bottom: 4px;
    }

    .wpc-nav-price-original-label,
    .wpc-nav-price-our-label {
        font-size: 9px;
    }

    .wpc-nav-price-original {
        font-size: 11px;
    }

    .wpc-nav-price-amount {
        font-size: 14px;
    }

    .wpc-nav-price-vat {
        font-size: 8px;
    }

    .wpc-nav-price-discount-label {
        font-size: 9px;
        margin-top: 2px;
    }

    /* Reset Button */
    .wpc-reset-btn {
        padding: 8px 12px;
        font-size: 10px;
        border-radius: 0;
        border: none;
        border-top: 1px solid #e1e1e1;
    }

    .wpc-step-navigation.collapsed .wpc-reset-btn {
        display: none;
    }

    .wpc-step-content {
        width: 100%;
        flex: 1;
        min-height: 0;
        max-height: none;
        overflow-y: auto;
    }

    .wpc-modal-buttons {
        flex-direction: column;
        padding: 15px 20px;
        gap: 12px;
    }

    .wpc-modal-price {
        padding: 12px 20px;
    }

    .wpc-btn {
        width: 100%;
        padding: 12px 20px;
    }

    /* Option Buttons auf Mobile - mehr Abstand + Safe Area */
    .wpc-option {
        padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    }

    .wpc-select-option-btn {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        right: 12px;
        left: 12px;
        width: auto;
        text-align: center;
    }

    .wpc-option-content {
        flex-direction: column;
    }

    .wpc-option-description {
        max-width: 100%;
    }

    .wpc-option-image {
        width: 100%;
        height: auto;
    }

    /* Mobile: Vergrößern-Button ausblenden, Zoom-Icon als Overlay anzeigen */
    .wpc-option-image-zoom {
        position: absolute;
        bottom: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        padding: 0;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        opacity: 1;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        gap: 0;
    }

    .wpc-option-image-zoom::before {
        content: '';
    }

    .wpc-option-image-zoom:hover {
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(0, 0, 0, 0.1);
    }

    .wpc-option-image-zoom svg {
        width: 20px;
        height: 20px;
        fill: #333;
    }

    .wpc-dropdown-container {
        flex-direction: column;
        gap: 20px;
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }

    .wpc-dropdown-image {
        width: 100%;
        max-width: 100%;
    }

    /* Mobile: Vergrößern-Button ausblenden, Zoom-Icon als Overlay anzeigen */
    .wpc-dropdown-image-zoom {
        position: absolute;
        bottom: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        padding: 0;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        opacity: 1;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        gap: 0;
    }

    .wpc-dropdown-image-zoom::before {
        content: '';
    }

    .wpc-dropdown-image-zoom:hover {
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(0, 0, 0, 0.1);
    }

    .wpc-dropdown-image-zoom svg {
        width: 20px;
        height: 20px;
        fill: #333;
    }

    .wpc-select-dropdown-btn {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        right: 12px;
        left: 12px;
        width: auto;
        text-align: center;
    }

    .wpc-dachfenster-container {
        flex-direction: column;
        gap: 20px;
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }

    .wpc-dachfenster-image {
        width: 100%;
        max-width: 100%;
    }

    /* Mobile: Vergrößern-Button ausblenden, Zoom-Icon als Overlay anzeigen */
    .wpc-dachfenster-image-zoom {
        position: absolute;
        bottom: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        padding: 0;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        opacity: 1;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        gap: 0;
    }

    .wpc-dachfenster-image-zoom::before {
        content: '';
    }

    .wpc-dachfenster-image-zoom:hover {
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(0, 0, 0, 0.1);
    }

    .wpc-dachfenster-image-zoom svg {
        width: 20px;
        height: 20px;
        fill: #333;
    }

    .wpc-dachfenster-selects-row {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .wpc-select-dachfenster-btn {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        right: 12px;
        left: 12px;
        width: auto;
        text-align: center;
    }

    .wpc-freifeld-container {
        flex-direction: column;
        gap: 20px;
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }

    .wpc-freifeld-image {
        width: 100%;
        max-width: 100%;
    }

    /* Mobile: Vergrößern-Button ausblenden, Zoom-Icon als Overlay anzeigen */
    .wpc-freifeld-image-zoom {
        position: absolute;
        bottom: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        padding: 0;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        opacity: 1;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        gap: 0;
    }

    .wpc-freifeld-image-zoom::before {
        content: '';
    }

    .wpc-freifeld-image-zoom:hover {
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(0, 0, 0, 0.1);
    }

    .wpc-freifeld-image-zoom svg {
        width: 20px;
        height: 20px;
        fill: #333;
    }

    .wpc-freifeld-input-wrapper {
        width: 100%;
    }

    .wpc-select-freifeld-btn {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        right: 12px;
        left: 12px;
        width: auto;
        text-align: center;
    }

    /* Filter Accordion Mobile */
    .wpc-filters-accordion {
        margin-bottom: 15px;
        background: #fff;
        border: 1px solid #e1e1e1;
        border-radius: 6px;
        overflow: hidden;
    }

    .wpc-filters-accordion.collapsed .wpc-filters-accordion-content {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
    }

    .wpc-filters-accordion-header {
        display: flex !important;
        justify-content: space-between;
        align-items: center;
        padding: 12px 15px;
        background: #f9f9f9;
        cursor: pointer;
        border-bottom: 1px solid #e1e1e1;
        transition: background 0.3s ease;
    }

    .wpc-filters-accordion-header:hover {
        background: #f5f5f5;
    }

    .wpc-filters-accordion-title {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }

    .wpc-filters-accordion-title svg {
        flex-shrink: 0;
    }

    .wpc-filters-accordion-arrow {
        font-size: 10px;
        color: #666;
        transition: transform 0.3s ease;
    }

    .wpc-filters-accordion.collapsed .wpc-filters-accordion-arrow {
        transform: rotate(-90deg);
    }

    .wpc-filters-accordion-content {
        max-height: 2000px;
        opacity: 1;
        padding: 15px;
        transition: max-height 0.3s ease, opacity 0.3s ease;
    }

    /* Farbgruppen-Filter Mobile */
    .wpc-colorgroup-filter-wrapper {
        margin-bottom: 15px;
    }

    .wpc-colorgroup-filter-wrapper:last-child,
    .wpc-property-filter-wrapper:last-child,
    .wpc-pricegroup-filter-wrapper:last-child {
        margin-bottom: 0;
    }

    .wpc-colorgroup-filter-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .wpc-colorgroup-filter {
        gap: 6px;
        padding: 12px;
    }

    .wpc-colorgroup-btn {
        padding: 8px 12px;
        font-size: 12px;
    }

    /* Eigenschaften-Filter Mobile */
    .wpc-property-filter-wrapper {
        margin-bottom: 15px;
    }

    .wpc-property-filter-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .wpc-property-filter {
        gap: 8px;
        padding: 12px;
    }

    .wpc-property-checkbox-label {
        padding: 5px 10px;
        gap: 6px;
    }

    .wpc-property-checkbox {
        width: 14px;
        height: 14px;
    }

    .wpc-property-checkbox-text {
        font-size: 12px;
        line-height: 14px;
    }

    /* Preisgruppen-Filter Mobile */
    .wpc-pricegroup-filter-wrapper {
        margin-bottom: 15px;
    }

    .wpc-pricegroup-filter-title {
        font-size: 14px;
        margin-bottom: 10px;
    }

    .wpc-pricegroup-filter {
        gap: 8px;
        padding: 12px;
    }

    .wpc-pricegroup-checkbox-label {
        padding: 5px 10px;
        gap: 6px;
    }

    .wpc-pricegroup-checkbox {
        width: 14px;
        height: 14px;
    }

    .wpc-pricegroup-checkbox-text {
        font-size: 12px;
        line-height: 14px;
    }

    /* Color Selection - Mobile */
    .wpc-color-selection {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 8px;
    }

    .wpc-color-box {
        padding: 8px;
    }

    .wpc-color-image {
        width: 85px;
        height: 85px;
    }

    .wpc-color-name {
        font-size: 13px;
    }

    /* INFO Icon auf Mobile größer und besser klickbar */
    .wpc-color-info-icon {
        width: 36px;
        height: 36px;
        opacity: 1;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    }

    .wpc-color-info-icon svg {
        width: 20px;
        height: 20px;
    }

    /* Farbdetail Modal - Mobile */
    .wpc-color-detail-container {
        width: 100%;
        max-width: 100%;
        max-height: 80vh;
        margin: 0 auto;
        border-radius: 0 0 12px 12px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        position: relative;
    }

    /* Scroll-Indikator Button mit Pfeil nach unten */
    .wpc-scroll-indicator {
        position: sticky;
        bottom: 20px;
        left: 50%;
        transform: translateX(-50%);
        width: 44px;
        height: 44px;
        background: #2c8a2c;
        border-radius: 50%;
        border: 3px solid #fff;
        cursor: pointer;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 12px rgba(0,0,0,0.3);
        animation: wpcScrollBounce 2s ease-in-out infinite;
        transition: all 0.3s ease;
    }

    .wpc-scroll-indicator:active {
        transform: translateX(-50%) scale(0.9);
    }

    .wpc-scroll-indicator svg {
        width: 24px;
        height: 24px;
        fill: #fff;
    }

    @keyframes wpcScrollBounce {
        0%, 100% {
            transform: translateX(-50%) translateY(0);
        }
        50% {
            transform: translateX(-50%) translateY(8px);
        }
    }

    /* Indikator ausblenden wenn ganz unten gescrollt */
    .wpc-scroll-indicator.hidden {
        opacity: 0;
        pointer-events: none;
    }

    .wpc-color-detail-content {
        flex-direction: column;
    }

    .wpc-color-detail-image-wrapper {
        padding: 20px;
        min-height: 200px;
        order: 1;
    }

    .wpc-color-detail-info {
        padding: 20px;
        padding-bottom: 30px;
        gap: 15px;
        order: 2;
    }

    /* Licht-Eigenschaften Mobile - direkt unter dem Bild */
    .wpc-color-light-properties {
        gap: 12px;
        padding: 15px;
        margin: 0;
        background: #fafafa;
        border-radius: 4px;
    }

    .wpc-color-light-property {
        cursor: pointer;
    }

    .wpc-color-light-property img {
        width: 100px;
        height: 100px;
    }

    .wpc-color-light-text {
        font-size: 11px;
    }

    /* Light Tooltips auf Mobile beim Klick */
    .wpc-light-tooltip {
        display: none;
        font-size: 13px;
        padding: 10px 14px;
        top: 100%;
        margin-top: 8px;
        margin-bottom: 0;
        white-space: normal;
        max-width: 240px;
        line-height: 1.5;
    }

    /* Alle Light Tooltips auf Mobile zentriert */
    .wpc-color-light-property:first-child .wpc-light-tooltip,
    .wpc-color-light-property:last-child .wpc-light-tooltip {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    .wpc-color-light-property:first-child .wpc-light-tooltip::after,
    .wpc-color-light-property:last-child .wpc-light-tooltip::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }

    /* Tooltip anzeigen beim aktiven Light Property */
    .wpc-color-light-property.active .wpc-light-tooltip {
        display: block;
    }

    /* Auf Mobile kein hover */
    .wpc-color-light-property:hover .wpc-light-tooltip {
        display: none;
    }

    .wpc-color-light-property.active:hover .wpc-light-tooltip {
        display: block;
    }


    .wpc-color-detail-title {
        font-size: 16px;
    }

    .wpc-color-detail-description {
        font-size: 13px;
        flex: none;
    }

    .wpc-color-detail-properties {
        padding: 8px 10px;
        font-size: 11px;
    }

    /* Property Labels auf Mobile als Tooltips beim Tippen */
    .wpc-property-image-item {
        cursor: pointer;
    }

    .wpc-property-label {
        display: none;
        font-size: 14px;
        padding: 8px 14px;
        top: -45px;
        white-space: normal;
        max-width: 180px;
        line-height: 1.4;
    }

    /* Tooltip anzeigen beim aktiven Property */
    .wpc-property-image-item.active .wpc-property-label {
        display: block;
    }

    /* Auf Mobile kein hover */
    .wpc-property-image-item:hover .wpc-property-label {
        display: none;
    }

    .wpc-property-image-item.active:hover .wpc-property-label {
        display: block;
    }

    .wpc-select-color-detail-btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
    }

    .wpc-dimension-container {
        flex-direction: column;
        gap: 20px;
        padding-bottom: calc(70px + env(safe-area-inset-bottom, 0px));
    }

    .wpc-select-dimension-btn {
        bottom: calc(12px + env(safe-area-inset-bottom, 0px));
        right: 12px;
        left: 12px;
        width: auto;
        text-align: center;
    }

    .wpc-dimension-image {
        width: 100%;
        max-width: 100%;
    }

    /* Mobile: Vergrößern-Button ausblenden, Zoom-Icon als Overlay anzeigen */
    .wpc-dimension-image-zoom {
        position: absolute;
        bottom: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
        padding: 0;
        background: rgba(255, 255, 255, 0.95);
        border: 2px solid rgba(0, 0, 0, 0.1);
        border-radius: 50%;
        opacity: 1;
        box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        gap: 0;
    }

    .wpc-dimension-image-zoom::before {
        content: '';
    }

    .wpc-dimension-image-zoom:hover {
        background: rgba(255, 255, 255, 0.95);
        border-color: rgba(0, 0, 0, 0.1);
    }

    .wpc-dimension-image-zoom svg {
        width: 20px;
        height: 20px;
        fill: #333;
    }

    .wpc-dimension-inputs-direct {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .wpc-title {
        font-size: 20px;
    }

    .wpc-section-title {
        font-size: 16px;
    }

    .wpc-total-price {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .wpc-step-buttons {
        flex-direction: column;
    }

    .wpc-btn {
        width: 100%;
    }

    .wpc-btn-next {
        margin-left: 0;
    }

    /* Summary Total Box - Mobile optimiert */
    .wpc-summary-total {
        gap: 10px;
        padding: 15px;
    }

    .wpc-summary-total-label {
        font-size: 14px;
    }

    .wpc-summary-price-row {
        gap: 10px;
    }

    .wpc-summary-price-original-label,
    .wpc-summary-price-our-label {
        font-size: 10px;
    }

    .wpc-summary-price-original {
        font-size: 14px;
    }

    .wpc-summary-total-amount {
        font-size: 22px;
    }

    .wpc-summary-total-vat {
        font-size: 9px;
    }

    .wpc-summary-discount-info {
        font-size: 12px;
        padding: 10px 12px;
    }

    /* Summary Actions optimieren - Stückzahl dezenter, Button unterhalb */
    .wpc-summary-actions {
        flex-direction: column;
        gap: 12px;
    }

    .wpc-summary-quantity {
        justify-content: flex-end;
        gap: 0;
    }

    .wpc-quantity-decrease,
    .wpc-quantity-increase {
        width: 32px;
        height: 36px;
        font-size: 16px;
    }

    .wpc-quantity-input {
        width: 50px;
        padding: 8px 6px;
        font-size: 14px;
    }

    .wpc-add-to-cart-btn {
        width: 100%;
        padding: 14px 20px;
        margin-bottom: env(safe-area-inset-bottom, 0px);
    }

    /* Summary Section - Extra Padding für Safe Area */
    .wpc-summary-section {
        padding-bottom: calc(25px + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* Regel-basierte Inaktivierung */
.wpc-section.wpc-rule-inactive {
    display: none !important;
}

.wpc-step-item.wpc-rule-inactive {
    display: none !important;
}

.wpc-option.wpc-rule-inactive {
    display: none !important;
}

.wpc-color-box.wpc-rule-inactive {
    display: none !important;
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.wpc-section {
    animation: fadeIn 0.3s ease-in-out;
}

/* Color Loading Spinner */
.wpc-colors-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    gap: 15px;
}

.wpc-loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #2c8a2c;
    border-radius: 50%;
    animation: wpcSpin 1s linear infinite;
}

@keyframes wpcSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wpc-colors-loading p {
    margin: 0;
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

/* Color Pagination */
.wpc-color-pagination {
    margin-top: 20px;
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    border: 1px solid #e1e1e1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.wpc-color-pagination-info {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.wpc-color-pagination-controls {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.wpc-color-pagination-btn {
    padding: 8px 16px;
    background: #fff;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

.wpc-color-pagination-btn:hover:not(:disabled) {
    background: #f5f5f5;
    border-color: #999;
}

.wpc-color-pagination-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: #fafafa;
}

.wpc-color-pagination-btn svg {
    flex-shrink: 0;
}

.wpc-color-pagination-pages {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    justify-content: center;
}

.wpc-color-pagination-page {
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    background: #fff;
    border: 2px solid #e1e1e1;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wpc-color-pagination-page:hover {
    background: #f5f5f5;
    border-color: #999;
}

.wpc-color-pagination-page.active {
    background: #2c8a2c;
    border-color: #2c8a2c;
    color: #fff;
    cursor: default;
}

.wpc-color-pagination-page.dots {
    border: none;
    background: transparent;
    cursor: default;
    pointer-events: none;
    color: #999;
}

/* Mobile Pagination */
@media screen and (max-width: 768px) {
    .wpc-color-pagination {
        padding: 12px;
        gap: 10px;
    }

    .wpc-color-pagination-info {
        font-size: 12px;
    }

    .wpc-color-pagination-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .wpc-color-pagination-page {
        min-width: 32px;
        height: 32px;
        font-size: 13px;
    }
}

/* Shortcode-spezifische Styles */
.wpc-shortcode-light-properties .wpc-color-light-property img.wpc-shortcode-light-icon {
    width: 100px !important;
    height: 100px !important;
    object-fit: contain;
}

/* Shortcode: Property-Namen immer sichtbar (kein Tooltip) */
.wpc-property-shortcode .wpc-property-label {
    display: none !important;
}

/* Print Styles */
@media print {
    .wpc-configurator {
        border: none;
        box-shadow: none;
    }

    .wpc-option:not(.selected) {
        display: none;
    }
}
