
:root {
    --gc-bg: #000000;
    --gc-panel: rgba(255, 255, 255, 0.08);
    --gc-panel-hover: rgba(255, 255, 255, 0.12);
    --gc-panel-border: rgba(255, 255, 255, 0.15);
    --gc-primary: #ffffff;
    --gc-primary-hover: #e5e5e5;
    --gc-primary-text: #000000;
    --gc-text: #ffffff;
    --gc-text-muted: rgba(255, 255, 255, 0.6);
    --gc-radius: 24px;
    --gc-glass-blur: 20px;
    --gc-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.garage-configurator-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: var(--gc-text);
}

.garage-configurator-wrapper * {
    box-sizing: border-box;
}

/* Trigger Button */
.gc-btn {
    background: var(--gc-primary);
    color: var(--gc-primary-text);
    border: none;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.gc-btn:hover {
    background: var(--gc-primary-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.3);
}

.gc-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--gc-text);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gc-panel-border);
}

.gc-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.gc-btn-block {
    width: 100%;
    justify-content: center;
}

/* Offcanvas */
.gc-offcanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    visibility: hidden;
    opacity: 0;
    transition: all 0.3s ease;
}

.gc-offcanvas.is-open {
    visibility: visible;
    opacity: 1;
}

.gc-offcanvas-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
}

.gc-offcanvas-bar {
    position: absolute;
    top: 0;
    right: 0;
    width: max(30vw, 550px);
    max-width: 95vw;
    height: 100%;
    background: #000000;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    box-shadow: -10px 0 40px rgba(0,0,0,0.8);
}

.gc-offcanvas.is-open .gc-offcanvas-bar {
    transform: translateX(0);
}

/* Header */
.gc-header {
    padding: 20px 30px;
    border-bottom: 1px solid var(--gc-panel-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
}

.gc-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0;
    color: white;
}

.gc-header-main {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.gc-header-price-wrap {
    display: inline-flex;
    align-items: baseline;
    gap: 8px;
    margin-top: 4px;
}

.gc-header-price-label {
    font-size: 0.78rem;
    color: var(--gc-text-muted);
    letter-spacing: 0.02em;
}

.gc-header-price {
    font-size: 1rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
}

.gc-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--gc-panel-border);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.2s;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gc-close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Layout */
.gc-body {
    flex: 1;
    display: flex;
    flex-direction: column;  /* Vertikal als Standard */
    overflow: hidden;
    position: relative;
}

.gc-mobile-preview-toggle-wrap {
    display: block;
    margin: 6px 0 12px;
}

.gc-mobile-preview-toggle {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    border-radius: 14px;
    font-size: 0.88rem;
}

/* Viewer */
.gc-viewer-container {
    flex: 1;
    height: 33vh; /* Strict height limitation */
    max-height: 33vh;
    min-height: 250px; 
    position: relative;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    overflow: hidden;
}

.gc-viewer-controls {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.gc-icon-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gc-panel-border);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: all 0.2s;
}

.gc-icon-btn:hover {
    background: white;
    color: black;
    transform: scale(1.05);
}

.gc-view-menu {
    position: absolute;
    top: 60px;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(20px);
    border: 1px solid var(--gc-panel-border);
    border-radius: 16px;
    padding: 12px;
    width: 220px;
    display: none;  /* Wird via JavaScript gesteuert */
    flex-direction: column;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    z-index: 100;
}

.gc-menu-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.9rem;
    color: var(--gc-text-muted);
}

.gc-menu-item:hover {
    background: rgba(255,255,255,0.1);
    color: white;
}

/* Sidebar / Form - Responsive basierend auf Layout */
.gc-content {
    width: 100%;
    max-width: calc(100% - 10px);
    margin: 0 auto;
    flex: 1;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(30px);
    border-top: 1px solid var(--gc-panel-border);
    padding: 20px;
    padding-right: 15px;
    overflow-y: auto;
}

/* Wenn horizontal (via JavaScript gesetzt) */
.gc-body[style*="flex-direction: row"] .gc-content {
    width: 30vw;
    max-width: 30vw;
    min-width: 600px;
    border-top: none;
    border-left: 1px solid var(--gc-panel-border);
}

.gc-section {
    margin-bottom: 30px;
}

.gc-section-title {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gc-text-muted);
    margin-bottom: 16px;
    font-weight: 600;
    border-bottom: 1px solid var(--gc-panel-border);
    padding-bottom: 8px;
}

.gc-selection-bubble {
    margin-top: 10px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--gc-panel-border);
    font-size: 0.82rem;
    color: var(--gc-text);
}

.gc-selection-bubble-label {
    color: var(--gc-text-muted);
}

/* Grid & Cards */
.gc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.gc-grid-auto {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.gc-option-card {
    background: var(--gc-panel);
    border: 1px solid var(--gc-panel-border);
    border-radius: 16px;
    padding: 16px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    position: relative;
    font-size: 0.9rem;
}

.gc-option-card:hover {
    background: var(--gc-panel-hover);
    border-color: rgba(255,255,255,0.3);
    transform: translateY(-2px);
}

.gc-option-card input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.gc-option-card:has(input:checked) {
    background: white;
    border-color: white;
    color: black;
    box-shadow: 0 0 20px rgba(255,255,255,0.1);
}

.gc-icon-large {
    font-size: 1.5rem;
    margin-bottom: 4px;
    color: rgba(255,255,255,0.5);
    transition: color 0.2s;
}

.gc-option-card:has(input:checked) .gc-icon-large {
    color: black;
}

/* Form Elements */
.gc-label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 8px;
    color: var(--gc-text-muted);
}

.gc-form-group {
    margin-bottom: 16px;
}

.gc-select {
    width: 100%;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--gc-panel-border);
    color: white;
    padding: 10px 14px;
    border-radius: 12px;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns=7http://www.w3.org/2000/svg7 width=7247 height=7247 viewBox=70 0 24 247 fill=7none7 stroke=7white7 stroke-width=727 stroke-linecap=7round7 stroke-linejoin=7round7%3E%3Cpolyline points=76 9 12 15 18 97%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
}

.gc-select:focus {
    border-color: white;
    background-color: rgba(255,255,255,0.1);
}

.gc-select option {
    background-color: #1a1a1a;
    color: white;
}

/* Color Swatches */
.gc-color-swatch {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    position: relative;
    border: 2px solid rgba(255,255,255,0.1);
    transition: transform 0.2s;
}

.gc-color-swatch input {
    opacity: 0;
    position: absolute;
}

.gc-color-swatch:hover {
    transform: scale(1.1);
    border-color: rgba(255,255,255,0.5);
}

.gc-color-swatch:has(input:checked) {
    border-color: white;
    box-shadow: 0 0 0 2px black, 0 0 0 4px white;
    transform: scale(1.1);
    z-index: 1;
}

/* Toggle Switches */
.gc-checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--gc-text-muted);
    padding: 6px 0;
    justify-content: space-between;
}

.gc-checkbox-label:hover {
    color: white;
}

/* Original Checkbox hidden but functional fallback */
.gc-checkbox {
    width: 18px;
    height: 18px;
    accent-color: white;
    border-radius: 4px;
    cursor: pointer;
    display: none; /* Hide default, replace with toggle */
}

.gc-toggle {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    flex-shrink: 0;
}

.gc-toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.gc-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255,255,255,0.2);
    transition: .4s;
    border-radius: 34px;
}

.gc-toggle-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.gc-toggle input:checked + .gc-toggle-slider {
    background-color: rgba(255,255,255,0.9);
}

.gc-toggle input:checked + .gc-toggle-slider:before {
    transform: translateX(20px);
    background-color: black;
}

/* Footer */
.gc-footer {
    padding: 20px 24px;
    border-top: 1px solid var(--gc-panel-border);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.gc-price-row {
    display: flex;
    flex-direction: column;
}

.gc-footer .gc-price-row {
    display: none !important;
}

.gc-price {
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    letter-spacing: -0.02em;
}

/* Loader */
.gc-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
    transition: opacity 0.5s;
}

.gc-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.gc-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.1);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 6px;
}
.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}
.custom-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
}
.custom-scrollbar::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.3);
}

/* Responsive */
@media (max-width: 600px) {
    .gc-offcanvas {
        height: 100dvh; /* Mobile browser bar fix */
    }
    .gc-offcanvas-bar {
        width: 100vw !important;
        max-width: 100vw !important;
        height: 100dvh;
    }
    .gc-body {
        flex-direction: column !important;
        overflow: hidden;
    }
    .gc-viewer-container {
        height: clamp(170px, 30dvh, 280px);
        max-height: 30dvh;
        min-height: 170px;
        flex-shrink: 0;
    }
    .gc-content {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        min-height: 0;
        flex: 1;
        padding: 20px 16px !important;
        border-left: none !important;
        border-top: 1px solid var(--gc-panel-border);
        overflow-y: auto;
    }
    /* Make grids single column on very small screens if needed, 
       but 2 cols often works. Let's ensure gap handles it. */
    .gc-grid {
        gap: 8px;
    }

    .gc-mobile-preview-toggle-wrap {
        margin: 4px 0 10px;
    }

    .gc-section {
        margin-bottom: 18px;
    }

    .gc-section-title {
        margin-bottom: 10px;
        padding-bottom: 6px;
        font-size: 0.78rem;
    }

    .gc-selection-bubble {
        margin-top: 8px;
        font-size: 0.76rem;
        padding: 5px 9px;
    }


    .gc-option-card {
        padding: 10px;
        gap: 6px;
        border-radius: 12px;
        min-height: 102px;
        font-size: 0.82rem;
    }

    .gc-option-card .gc-icon-large {
        width: 34px;
        height: 34px;
        margin-bottom: 2px;
    }

    .gc-viewer-controls {
        top: 10px;
        right: 10px;
    }
    
    .gc-header {
        padding: 12px 16px;
    }
    .gc-title {
        font-size: 1.2rem;
    }
    .gc-footer {
        padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
        flex-direction: column; 
        gap: 8px;
        align-items: stretch;
    }
    .gc-footer .gc-text-muted {
        font-size: 0.82rem !important;
        margin-right: 8px;
    }
    .gc-footer .gc-price {
        font-size: 1.3rem !important;
        line-height: 1.1;
    }
    .gc-footer .gc-btn {
        padding: 10px 14px;
        font-size: 0.9rem;
        border-radius: 22px;
    }
    .gc-footer #gc-btn-quote {
        max-width: none !important;
    }
    /* Buttons in footer usually inside a flex row at the bottom, 
       but line 563 says .gc-footer has display flex.
       Wait, let's keep the row layout for buttons if possible but smaller.
    */
}

/* Modal & Quote Styles */
.gc-modal-backdrop {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.8); z-index: 2147483647; display: none !important;
    align-items: center; justify-content: center; backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.gc-modal-backdrop.open { display: flex !important; }
.gc-modal {
    background: #1a1a1a; width: 90%; max-width: 600px; padding: 30px;
    border-radius: 16px; position: relative; max-height: 90vh; overflow-y: auto;
    color: white; border: 1px solid var(--gc-panel-border);
    box-shadow: 0 40px 80px rgba(0,0,0,0.6);
    -webkit-overflow-scrolling: touch;
}
.gc-modal h3 { margin-top: 0; margin-bottom: 20px; font-weight: 700; color: white; }
.gc-modal-close {
    position: absolute; top: 20px; right: 20px; background: none; border: none; 
    color: var(--gc-text-muted); font-size: 24px; cursor: pointer; transition: color 0.2s;
    padding: 10px; line-height: 1;
}
.gc-modal-close:hover { color: white; }

.gc-input-group { margin-bottom: 16px; }
.gc-input-group label { display: block; margin-bottom: 8px; font-size: 0.9rem; color: var(--gc-text-muted); }
.gc-input-group input:not([type="checkbox"]), .gc-input-group textarea {
    width: 100%; padding: 12px; background: #2a2a2a !important;
    border: 1px solid rgba(255,255,255,0.2) !important; border-radius: 8px;
    color: white !important; font-size: 1rem; outline: none; transition: all 0.2s;
    box-shadow: none !important;
    appearance: none;
    -webkit-appearance: none;
}
.gc-input-group input:focus, .gc-input-group textarea:focus {
    border-color: white; background: rgba(255,255,255,0.1);
}
.gc-input-group textarea { height: 100px; resize: vertical; }

.gc-btn-submit {
    width: 100%; background: white; color: black; border: none; padding: 14px;
    border-radius: 30px; font-weight: 700; font-size: 1rem; cursor: pointer;
    transition: transform 0.2s;
}
.gc-btn-submit:hover { transform: translateY(-2px); box-shadow: 0 5px 15px rgba(255,255,255,0.2); }

.gc-action-btn {
    background: transparent; border: 1px solid var(--gc-panel-border);
    color: white; padding: 10px 18px; border-radius: 20px; font-size: 0.9rem;
    cursor: pointer; display: inline-flex; align-items: center; gap: 8px;
    transition: all 0.2s; text-decoration: none;
}
.gc-action-btn:hover { background: rgba(255,255,255,0.1); text-decoration: none; color: white; }
.gc-action-btn svg { width: 16px; height: 16px; }

.gc-msg-success { color: #2ecc71; margin-top: 10px; display: none; font-weight: bold; text-align: center; }
.gc-msg-error { color: #e74c3c; margin-top: 10px; display: none; text-align: center; }

/* ==========================================
   GATE PICKER – Tor-Auswahl System
   ========================================== */

/* Type-Card-Row: Kein Tor / Schwingtor / Sektionaltor */
.gc-gate-type-row {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.gc-gate-type-card {
    flex: 1;
    min-width: 100px;
    background: rgba(255,255,255,0.06);
    border: 2px solid var(--gc-panel-border);
    border-radius: 12px;
    padding: 14px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: border-color 0.2s, background 0.2s;
    position: relative;
}
.gc-gate-type-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.gc-gate-type-card svg {
    width: 40px;
    height: 40px;
    opacity: 0.75;
}
.gc-gate-type-card span {
    font-size: 0.78rem;
    text-align: center;
    opacity: 0.85;
}
.gc-gate-type-card.selected {
    border-color: var(--gc-accent-color, #4a9eff);
    background: rgba(74,158,255,0.12);
}
.gc-gate-type-card.selected svg { opacity: 1; }
.gc-gate-type-card:hover:not(.selected) {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.09);
}

/* Gate Picker Panel (erscheint nach Typ-Wahl) */
.gc-gate-picker {
    background: rgba(0,0,0,0.2);
    border: 1px solid var(--gc-panel-border);
    border-radius: 12px;
    padding: 16px;
    margin-top: 4px;
    animation: gcFadeIn 0.2s ease;
}
@keyframes gcFadeIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }

/* Sicke-Tabs */
.gc-gate-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 14px;
    align-items: center;
}
.gc-gate-tabs-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
    position: relative;
}
.gc-gate-tabs-header .gc-gate-tabs {
    margin-bottom: 0;
    flex: 1;
}
.gc-gate-tab {
    background: rgba(255,255,255,0.08);
    border: 1px solid var(--gc-panel-border);
    border-radius: 20px;
    color: rgba(255,255,255,0.75);
    font-size: 0.8rem;
    padding: 5px 14px;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s;
}
.gc-gate-tab.active {
    background: rgba(74,158,255,0.25);
    border-color: var(--gc-accent-color, #4a9eff);
    color: white;
}
.gc-gate-tab:hover:not(.active) { background: rgba(255,255,255,0.14); }

/* Sicke Info-Button & Popover */
.gc-sicke-info-btn {
    background: none;
    border: none;
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 50%;
    transition: color 0.2s;
    -webkit-tap-highlight-color: transparent;
}
.gc-sicke-info-btn:hover, .gc-sicke-info-btn:focus {
    color: var(--gc-accent-color, #4a9eff);
    outline: none;
}
.gc-sicke-popover {
    position: absolute;
    bottom: calc(100% + 8px);
    right: 0;
    left: auto;
    transform: none;
    background: rgba(20, 30, 50, 0.97);
    border: 1px solid rgba(74,158,255,0.35);
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 0.78rem;
    line-height: 1.5;
    color: rgba(255,255,255,0.88);
    width: 260px;
    max-width: 85vw;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    z-index: 200;
    pointer-events: none;
}
.gc-sicke-popover::after {
    content: '';
    position: absolute;
    top: 100%;
    right: 10px;
    left: auto;
    transform: none;
    border: 6px solid transparent;
    border-top-color: rgba(20, 30, 50, 0.97);
}

/* Artikel-Grid */
.gc-gate-articles {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 10px;
}
.gc-gate-article-card {
    background: rgba(255,255,255,0.05);
    border: 2px solid var(--gc-panel-border);
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
}
.gc-gate-article-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.gc-gate-article-card.selected {
    border-color: var(--gc-accent-color, #4a9eff);
    background: rgba(74,158,255,0.12);
}
.gc-gate-article-card:hover:not(.selected) {
    border-color: rgba(255,255,255,0.35);
    background: rgba(255,255,255,0.09);
}

/* Farb-Kreis mit RAL-Badge */
.gc-gate-article-color {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    position: relative;
    flex-shrink: 0;
}
.gc-gate-ral-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.7);
    color: rgba(255,255,255,0.9);
    font-size: 0.6rem;
    padding: 1px 4px;
    border-radius: 4px;
    white-space: nowrap;
    pointer-events: none;
}

/* Artikel-Info unter dem Kreis */
.gc-gate-article-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    width: 100%;
}
.gc-gate-article-info .gc-gate-article-name {
    font-size: 0.72rem;
    text-align: center;
    opacity: 0.85;
    line-height: 1.2;
    word-break: break-word;
}
.gc-gate-article-info .gc-gate-article-price {
    font-size: 0.7rem;
    opacity: 0.6;
}

/* Backend & General Adjustments */
.garage-configurator-wrapper .gc-view-menu { z-index: 1000; }
.garage-configurator-wrapper .gc-select { color: white !important; background-color: rgba(255,255,255,0.05); } 
.garage-configurator-wrapper input, 
.garage-configurator-wrapper textarea,
.garage-configurator-wrapper select {
    color: white !important;
}

/* ─── Elektro / Antrieb – Toggle + Optionsliste ────────────────────────── */
.gc-toggle-section {
    border: 1px solid var(--gc-panel-border);
    border-radius: 12px;
    padding: 12px 14px;
}

/* Vertikale Optionsliste (ersetzt Kacheln) */
.gc-option-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.gc-option-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 12px 14px;
    border: 1.5px solid var(--gc-panel-border);
    border-radius: 10px;
    cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
    background: transparent;
}

.gc-option-row input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.gc-option-row.selected {
    border-color: var(--gc-accent, #60a5fa);
    background: rgba(96, 165, 250, 0.08);
}

.gc-option-row:hover {
    border-color: rgba(96, 165, 250, 0.5);
}

/* Einzelnes Icon (Legacy / Kompatibilität) */
.gc-option-icon {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    margin-top: 2px;
}

.gc-option-icon svg {
    width: 34px;
    height: 34px;
}

/* Mehrere Icons nebeneinander (Multi-Icon-Modus) */
.gc-option-icons {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    opacity: 0.85;
    margin-top: 2px;
}

.gc-option-icons svg {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

/* Mediapool-Bild als Icon */
.gc-media-icon {
    width: 34px;
    height: 34px;
    object-fit: contain;
    border-radius: 4px;
}

.gc-option-row.selected .gc-option-icon,
.gc-option-row.selected .gc-option-icons {
    opacity: 1;
    color: var(--gc-accent, #60a5fa);
}

.gc-option-content {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex: 1;
    min-width: 0;
}

.gc-option-name {
    font-size: 0.85rem;
    font-weight: 600;
    line-height: 1.3;
}

.gc-option-desc {
    font-size: 0.78rem;
    opacity: 0.65;
    line-height: 1.4;
}

.gc-option-price {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gc-accent, #60a5fa);
    margin-top: 2px;
}

.gc-option-solar {
    font-size: 0.74rem;
    color: #f59e0b;
    font-weight: 600;
}

/* Legacy-Klassen (Abwärtskompatibilität, können bleiben) */
.gc-elektro-cards { display: none; }
