:root{
    --mx-max-container: 1200px;

    --mx-gap: 12px;
    --mx-tile: 120px;
    --mx-grid-max: calc(3 * var(--mx-tile) + 2 * var(--mx-gap));

    --mx-card-radius: 12px;

    --mx-red: var(--bk-red);
    --mx-red-strong: var(--bk-red);
    --mx-blue: #2B3A67;
    --mx-blue-strong: #24367A;
}

.mx-pc-configurator{
    max-width: var(--mx-max-container);
    margin: 0 auto;
    padding: 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    position: relative;
}
.mx-pc-configurator,
.mx-pc-configurator *{ box-sizing: border-box; }

.mx-pc-configurator.loading{
    opacity: 0.85;
    pointer-events: none;
}
.mx-pc-configurator.loading::before{
    content:"";
    position:absolute;
    inset:0;
    background: rgba(255,255,255,.55);
    z-index: 9998;
}

.elementor-button-text{ padding-top: 0 !important; }

.configurator-layer{
    margin-bottom: 30px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
.configurator-layer-header{
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}
.configurator-layer-title{
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.configurator-choices{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.configurator-choice{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #f9f9f9;
    border: 2px solid #ddd;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    text-decoration: none;
    color: #333;
}
.configurator-choice:hover{
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}
.configurator-choice.selected{
    background: #e3f2fd;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33,150,243,0.2);
}
.configurator-choice.disabled{
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    background: #f0f0f0;
    border-color: #ccc;
}
.configurator-choice.available{ background: #fff; }

.configurator-choice-image{
    width: 80px;
    height: 80px;
    margin-bottom: 10px;
    object-fit: contain;
}
.configurator-choice-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.configurator-choice-name{
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}
.configurator-choice.disabled .configurator-choice-name{ color: #999; }

.configurator-choice-sku{
    font-size: 11px;
    color: #666;
}
.configurator-choice.disabled .configurator-choice-sku{ color: #bbb; }

.configurator-selected-section{
    margin-top: 30px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}
.configurator-selected-title{
    margin: 0 0 15px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}
.configurator-selected-options .no-selection{
    margin: 0;
    color: #999;
    font-style: italic;
}
.selected-options-list{
    list-style: none;
    margin: 0;
    padding: 0;
}
.selected-options-list li{
    padding: 10px;
    margin-bottom: 8px;
    background: #fff;
    border-left: 4px solid #2196F3;
    border-radius: 4px;
}
.selected-options-list li strong{
    color: #333;
    font-weight: 600;
}
.selected-options-list li .sku{
    color: #666;
    font-size: 13px;
    margin-left: 8px;
}

.configurator-actions{
    margin-top: 20px;
    text-align: right;
}
.configurator-reset{
    padding: 10px 20px;
    background: #f44336;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.3s ease;
}
.configurator-reset:hover{ background: var(--bk-red); }

.configurator-error{
    padding: 15px;
    margin-bottom: 20px;
    background: #ffebee;
    border-left: 4px solid #f44336;
    border-radius: 4px;
    color: #c62828;
    font-weight: 500;
}

/* iOS Safari Fix: overflow:clip verhindert den Stacking-Context-Bug
   der bei overflow:hidden + border-radius + transform-Kinder auftritt */
.mkl_pc_container{ position: relative; border-radius: 12px; overflow: clip; -webkit-mask-image: -webkit-radial-gradient(white, black); }
.mkl_pc_container.mx-pc-loading::after{
    content: '';
    position: absolute;
    top: 10px;
    right: 10px;
    width: 20px;
    height: 20px;
    border: 2px solid #e0e0e0;
    border-top-color: var(--mx-red-strong);
    border-radius: 50%;
    animation: mx-spinner 0.8s linear infinite;
    opacity: 0.7;
    z-index: 100;
}
@keyframes mx-spinner{ to{ transform: rotate(360deg); } }
.mkl_pc_container.mx-pc-ready::after{ display: none; }

.mkl_pc_viewer{
    position: relative;
    min-height: 300px;
}
.mkl_pc_viewer.mx-has-variant .mkl_pc_layers img.simple{
    display: none !important;
}
.mkl_pc_viewer #mx_variant_image{
    display: block !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-width: 100%;
    height: auto;
}

ul.layers .layer_choices .choices-list li.choice{
    opacity: 1;
    transition: opacity 0.15s ease, background 0.15s ease;
}
ul.layers .layer_choices .choices-list li.choice.mx-disabled,
ul.layers .layer_choices .choices-list li.choice.not-available{
    opacity: 0.35 !important;
    pointer-events: auto !important;
    cursor: not-allowed !important;
}
ul.layers .layer_choices .choices-list li.choice.mx-disabled button.choice-item,
ul.layers .layer_choices .choices-list li.choice.not-available button.choice-item{
    opacity: 0.35 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    background: #f0f0f0 !important;
    border-color: #ccc !important;
    color: #999 !important;
}
ul.layers .layer_choices .choices-list li.choice.mx-locked-before-manufacturer{
    opacity: 1.3 !important;
    pointer-events: none;
}

.mx-pc-ready ul.layers .layer_choices .choices-list li.choice:not(.mx-disabled):not(.not-available),
.mx-pc-ready ul.layers .layer_choices .choices-list li.choice:not(.mx-disabled):not(.not-available) button.choice-item{
    opacity: 1 !important;
    cursor: pointer !important;
    pointer-events: auto !important;
}
.mx-pc-ready .mkl_pc_container,
.mx-pc-ready ul.layers,
.mx-pc-ready .layer_choices{
    pointer-events: auto !important;
}

.mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices,
.mkl_pc .mkl_pc_container .mkl_pc_viewer .mkl_pc_layers{
    background-color: #24367A0D;
}

.layer-item .selected-choice{ display: none !important; }

/* ── Abstand zwischen Sektionen (Layer zu Layer) ── */
li.layers-list-item {
    margin-bottom: 32px !important;  /* mehr Abstand → trennt Sektionen klar */
    padding-bottom: 0 !important;
}

/* ── Layer-Name: weniger Abstand nach unten → gehört zum Inhalt darunter ── */
.layer-item .layer-name{
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--mx-blue) !important;
    margin: 0 0 8px 0 !important;   /* 8px nach unten zum eigenen Inhalt */
    padding: 0 !important;
}

.mx-evolutionsstufe-layer .layer_choices,
.mx-edition-layer .layer_choices{
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mx-evolutionsstufe-layer .layer_choices .choices-list,
.mx-edition-layer .layer_choices .choices-list{
    display: block !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

.mx-evolutionsstufe-layer .layer_choices ul.choices,
.mx-evolutionsstufe-layer .layer_choices ul,
.mx-edition-layer .layer_choices ul.choices,
.mx-edition-layer .layer_choices ul{
    display: grid !important;
    grid-template-columns: repeat(3, 1fr); /* kein !important → JS kann überschreiben */
    gap: var(--mx-gap) !important;
    padding: 0 !important;
    margin: 0 !important;
    list-style: none !important;
    width: 100% !important;
    max-width: 100% !important;
}

.mx-evolutionsstufe-layer .layer_choices li.choice,
.mx-edition-layer .layer_choices li.choice{
    flex: unset !important;
    min-width: unset !important;
    max-width: var(--mx-tile) !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.mx-evolutionsstufe-layer .layer_choices li.choice button.choice-item,
.mx-edition-layer .layer_choices li.choice button.choice-item{
    position: relative !important;
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
    box-shadow: none !important;
    transform: none !important;
}
.mx-evolutionsstufe-layer .layer_choices li.choice button.choice-item:hover,
.mx-edition-layer .layer_choices li.choice button.choice-item:hover{
    border: none !important;
    box-shadow: none !important;
    transform: none !important;
}

.mx-evolutionsstufe-layer .layer_choices li.choice button.choice-item .mx-evo-image,
.mx-edition-layer .layer_choices li.choice button.choice-item .mx-edition-image{
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    z-index: 1 !important;
    border-radius: 8px !important;
}

.mx-evolutionsstufe-layer .layer_choices li.choice button.choice-item .choice-name,
.mx-edition-layer .layer_choices li.choice .choice-name{
    position: absolute !important;
    bottom: 8px !important;
    left: 8px !important;
    right: 8px !important;
    background: none !important;
    color: #ffffff !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    line-height: 1.2 !important;
    z-index: 2 !important;
    padding: 0 !important;
    text-align: left !important;
}

.mx-evolutionsstufe-layer .layer_choices li.choice button.choice-item > *:not(.choice-name):not(.mx-evo-image),
.mx-edition-layer .layer_choices li.choice button.choice-item > *:not(.choice-name):not(.mx-edition-image){
    display: none !important;
}

.mx-evolutionsstufe-layer .layer_choices li.choice .mx-evo-image,
.mx-edition-layer .layer_choices li.choice .mx-edition-image{
    opacity: 0.5;
    filter: grayscale(40%);
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease;
}
.mx-evolutionsstufe-layer .layer_choices li.choice.active .mx-evo-image,
.mx-evolutionsstufe-layer .layer_choices li.choice.mxactive .mx-evo-image,
.mx-evolutionsstufe-layer .layer_choices li.choice.selected .mx-evo-image,
.mx-evolutionsstufe-layer .layer_choices li.choice button.choice-item[aria-pressed="true"] .mx-evo-image,
.mx-edition-layer .layer_choices li.choice.active .mx-edition-image,
.mx-edition-layer .layer_choices li.choice.mxactive .mx-edition-image,
.mx-edition-layer .layer_choices li.choice.selected .mx-edition-image,
.mx-edition-layer .layer_choices li.choice button.choice-item[aria-pressed="true"] .mx-edition-image{
    opacity: 1;
    filter: none;
    transform: translateY(-2px);
}

.mx-evolutionsstufe-layer .layer_choices li.choice,
.mx-edition-layer .layer_choices li.choice,
.mx-evolutionsstufe-layer .layer_choices li.choice.active,
.mx-edition-layer .layer_choices li.choice.active,
.mx-evolutionsstufe-layer .layer_choices li.choice.selected,
.mx-edition-layer .layer_choices li.choice.selected,
.mx-evolutionsstufe-layer .layer_choices li.choice.mxactive,
.mx-edition-layer .layer_choices li.choice.mxactive{
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.mx-evolutionsstufe-layer .layer_choices li.choice button.choice-item,
.mx-edition-layer .layer_choices li.choice button.choice-item,
.mx-evolutionsstufe-layer .layer_choices li.choice.active button.choice-item,
.mx-edition-layer .layer_choices li.choice.active button.choice-item,
.mx-evolutionsstufe-layer .layer_choices li.choice.selected button.choice-item,
.mx-edition-layer .layer_choices li.choice.selected button.choice-item,
.mx-evolutionsstufe-layer .layer_choices li.choice.mxactive button.choice-item,
.mx-edition-layer .layer_choices li.choice.mxactive button.choice-item,
.mx-evolutionsstufe-layer .layer_choices li.choice button.choice-item[aria-pressed="true"],
.mx-edition-layer .layer_choices li.choice button.choice-item[aria-pressed="true"]{
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    background: transparent !important;
}

.mx-evolutionsstufe-layer .layer_choices li.choice::before,
.mx-evolutionsstufe-layer .layer_choices li.choice::after,
.mx-edition-layer .layer_choices li.choice::before,
.mx-edition-layer .layer_choices li.choice::after,
.mx-evolutionsstufe-layer .layer_choices li.choice button.choice-item::before,
.mx-evolutionsstufe-layer .layer_choices li.choice button.choice-item::after,
.mx-edition-layer .layer_choices li.choice button.choice-item::before,
.mx-edition-layer .layer_choices li.choice button.choice-item::after{
    content: none !important;
    display: none !important;
    box-shadow: none !important;
    border: 0 !important;
    outline: 0 !important;
}

.mx-edition-layer .mx-edition-summary{
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 20px;
    height: var(--mx-edition-h, 69px);
    margin: 0 16px;
    cursor: pointer;
    overflow: hidden;
    background-size: cover !important;
    background-position: right center !important;
    background-repeat: no-repeat !important;
    width: calc(100% - 32px);
    max-width: calc(100% - 32px);
    border-radius: 12px;
}
.mx-edition-layer .mx-edition-summary-left{
    position: relative;
    z-index: 5;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    color: #ffffff;
}
.mx-edition-layer .mx-edition-summary-arrow{
    font-size: 20px;
    transition: transform 0.2s ease;
}
.mx-edition-layer.mx-edition-open .mx-edition-summary-arrow{ transform: rotate(180deg); }
.mx-edition-layer .mx-edition-summary-image-wrap{ display: none !important; }

.mx-edition-layer:not(.mx-edition-open) .layer_choices{ display: none !important; }
.mx-edition-layer.mx-edition-open .layer_choices{ display: flex !important; }

/* Reinigungsvlies: keine Summary-Leiste, Tiles direkt sichtbar */
.mx-edition-layer.mx-no-summary .mx-edition-summary{ display: none !important; }

/* Reinigungsvlies: custom Tile-Grid — 1:1 identisch mit mx-dreh-tiles */
.mx-edition-no-summary-tiles {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--mx-gap) !important;
    width: calc(100% - 2 * var(--mkl_pc-wsb-spacing, 0px)) !important;
    max-width: calc(100% - 2 * var(--mkl_pc-wsb-spacing, 0px)) !important;
    margin: 0 var(--mkl_pc-wsb-spacing, 0px) !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.mx-edition-no-summary-tile {
    flex: unset !important;
    min-width: unset !important;
    max-width: var(--mx-tile) !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    border: none !important;
    outline: none !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
}

.mx-edition-no-summary-tile-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block !important;
    z-index: 1 !important;
    opacity: 0.5 !important;
    filter: grayscale(40%) !important;
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease !important;
}

.mx-edition-no-summary-tile.active .mx-edition-no-summary-tile-img {
    opacity: 1 !important;
    filter: none !important;
    transform: translateY(-2px) !important;
}

.mx-edition-no-summary-tile:hover:not(.disabled):not(.active) .mx-edition-no-summary-tile-img {
    opacity: 0.75 !important;
}

.mx-edition-no-summary-tile-label {
    position: absolute !important;
    bottom: 8px !important;
    left: 8px !important;
    right: 8px !important;
    z-index: 2 !important;
    background: none !important;
    text-align: left !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    line-height: 1.2 !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}

.mx-edition-no-summary-tile.disabled {
    cursor: not-allowed !important;
}
.mx-edition-no-summary-tile.disabled .mx-edition-no-summary-tile-img {
    opacity: 0.2 !important;
    filter: grayscale(80%) !important;
}
.mx-edition-no-summary-tile.disabled .mx-edition-no-summary-tile-label {
    opacity: 0.4 !important;
}

@media (max-width: 660px) {
    .mx-edition-no-summary-tiles {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .mx-edition-no-summary-tile {
        max-width: 100% !important;
    }
}

.mx-edition-layer .layer_choices li.choice > *:not(button.choice-item){ display: none !important; }
.mx-edition-layer .layer_choices li.choice,
.mx-edition-layer .layer_choices li.choice > .choice-item{
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.mx-range-layer{ margin: 0 !important; }
.mx-range-layer .layer_choices{ display: none !important; }

.mx-range-layer .mx-range-wrap{
    display: flex !important;
    flex-direction: column-reverse !important;
    align-items: center !important;
    gap: 0 !important;
    background: #ffffff !important;
    border-radius: var(--mx-card-radius) !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
    width: 100% !important;
    max-width: var(--mx-grid-max) !important;
    padding: 24px 32px !important;
    margin: 0 auto !important;
}

.mx-range-layer .mx-range-wrap{
    width: calc(var(--mx-grid-max) - 20px) !important;
    max-width: calc(var(--mx-grid-max) - 20px) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.mx-range-layer .mx-range-value{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 100px !important;
    height: 40px !important;
    padding: 12px 24px !important;
    background: var(--mx-red) !important;
    color: #ffffff !important;
    font-weight: 700 !important;
    font-size: 20px !important;
    border-radius: 8px !important;
    margin-top: -10px !important;
    margin-bottom: 20px !important;
    box-shadow: 0 4px 12px rgba(211,47,47,0.3) !important;
}
.mx-range-layer .mx-range-slider-container{
    position: relative !important;
    width: 100% !important;
    padding: 0 40px !important;
    display: flex !important;
    align-items: center !important;
}
.mx-range-layer .mx-range-slider-container::before,
.mx-range-layer .mx-range-slider-container::after{
    position: absolute !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: var(--mx-blue) !important;
    white-space: nowrap !important;
}
.mx-range-layer .mx-range-slider-container::before{ content: attr(data-min) !important; left: 0 !important; }
.mx-range-layer .mx-range-slider-container::after{ content: attr(data-max) !important; right: 0 !important; }

.mx-range-layer .mx-range-slider{
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 100% !important;
    height: 2px !important;
    background: #D1D5DB !important;
    border-radius: 4px !important;
    outline: none !important;
    margin: 0 !important;
    cursor: pointer !important;
}
.mx-range-layer .mx-range-slider::-webkit-slider-thumb{
    -webkit-appearance: none !important;
    appearance: none !important;
    width: 20px !important;
    height: 20px !important;
    background: var(--mx-red) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.mx-range-layer .mx-range-slider::-webkit-slider-thumb:hover{
    transform: scale(1.2) !important;
    box-shadow: 0 4px 12px rgba(211,47,47,0.4) !important;
}
.mx-range-layer .mx-range-slider::-moz-range-thumb{
    width: 24px !important;
    height: 24px !important;
    background: var(--mx-red) !important;
    border: 4px solid #ffffff !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15) !important;
}
.mx-range-layer .mx-range-slider:disabled{
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

.mx-range-layer.mx-range-single .mx-range-slider-container::before,
.mx-range-layer.mx-range-single .mx-range-slider-container::after{ display: none !important; }
.mx-range-layer.mx-range-single .mx-range-slider{ cursor: default !important; }
.mx-range-layer.mx-range-single .mx-range-slider::-webkit-slider-thumb,
.mx-range-layer.mx-range-single .mx-range-slider::-moz-range-thumb{ cursor: default !important; }

.mx-range-layer.mx-durchmesser-layer.mx-range-single .mx-range-slider-container::before,
.mx-range-layer.mx-durchmesser-layer.mx-range-single .mx-range-slider-container::after{ display: none !important; }

.mx-performance-layer > .layer-item,
.mx-drehrichtung-layer > .layer-item{
    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    margin-bottom: 8px !important;
    padding-bottom: 0 !important;
    gap: 10px 15px !important;
    box-shadow: none !important;
}

.mx-performance-layer .layer_choices,
.mx-drehrichtung-layer .layer_choices{
    position: absolute !important;
    left: -9999px !important;
    top: auto !important;
    visibility: hidden !important;
}

.mx-performance-layer > .layer-item .layer-name,
.mx-drehrichtung-layer > .layer-item .layer-name{
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--mx-blue-strong) !important;
}

.mx-performance-pill{
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    min-width: 110px !important;
    height: 40px !important;
    padding: 0 5px 0 16px !important;
    border-radius: 999px !important;
    background: var(--mx-red) !important;
    color: #FFFFFF !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(211,47,47,0.35) !important;
    transition: box-shadow 0.15s ease, transform 0.15s ease !important;
    flex-direction: row !important;
}
.mx-performance-pill:hover{
    box-shadow: 0 6px 14px rgba(211,47,47,0.45) !important;
    transform: translateY(-1px) !important;
}

.mx-performance-icon{
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 17px !important;
    color: #FFFFFF !important;
    flex-shrink: 0 !important;
    position: relative !important;
    line-height: 1 !important;
}
.mx-performance-label{
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    white-space: nowrap !important;
}

.mx-performance-toggle[data-state="off"] .mx-performance-icon::before{
    content: "\1F680";   /* war: "\U0001F680" */
    display: inline-block !important;
    transform: rotate(-45deg) !important;
}
.mx-performance-toggle[data-state="on"] .mx-performance-icon::before{ 
    content: "\1F680";   /* war: "\U0001F680" */
}

.mx-performance-toggle.mx-performance-toggle-disabled .mx-performance-pill{
    opacity: 0.5 !important;
    cursor: not-allowed !important;
    box-shadow: none !important;
}
.mx-performance-toggle.mx-performance-toggle-disabled .mx-performance-pill:hover{
    transform: none !important;
    box-shadow: none !important;
}

/* ── Performance-Boost Info Icon + Tooltip ── */
.mx-perf-info-wrap {
    position: static !important;
    align-items: center !important;
    flex-shrink: 0 !important;
}

.mx-perf-info-icon {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    height: auto !important;
    border-radius: 0 !important;
    border: none !important;
    background: none !important;
    color: var(--mx-blue-strong) !important;
    font-size: 26px !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    user-select: none !important;
    line-height: 1 !important;
    font-style: normal !important;
    padding: 0 !important;
    box-shadow: none !important;
    transition: opacity 0.15s ease !important;
}
.mx-perf-info-icon:hover {
    opacity: 0.65 !important;
}

/* Tooltip: positioned relative to the full-width layers-list-item */
.mx-performance-layer > .layer-item {
    position: static !important;
}

li.layers-list-item.mx-performance-layer {
    position: relative !important;
}

.mx-perf-info-tooltip {
    display: none;
    position: absolute !important;
    top: auto !important;
    left: var(--mkl_pc-wsb-spacing, 0px) !important;
    right: var(--mkl_pc-wsb-spacing, 0px) !important;
    transform: none !important;
    width: auto !important;
    max-width: 100% !important;
    background: #fff !important;
    border-radius: 14px !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.13) !important;
    padding: 16px 18px !important;
    z-index: 9999 !important;
    box-sizing: border-box !important;
}
.mx-perf-info-tooltip::before {
    content: '' !important;
    position: absolute !important;
    top: -10px !important;
    left: var(--mx-arrow-left, 40px) !important;
    transform: translateX(-50%) !important;
    border-left: 10px solid transparent !important;
    border-right: 10px solid transparent !important;
    border-bottom: 10px solid #fff !important;
}
.mx-perf-info-tooltip p {
    margin: 0 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--mx-blue-strong) !important;
    line-height: 1.5 !important;
}

/* Tooltip display is now controlled via JS (tooltip moved to li level) */

/* Drehrichtung Tiles - wie Evolutionsstufe */
.mx-dreh-tiles{
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--mx-gap) !important;
    width: calc(100% - 2 * var(--mkl_pc-wsb-spacing, 0px)) !important;
    max-width: calc(100% - 2 * var(--mkl_pc-wsb-spacing, 0px)) !important;
    margin: 0 var(--mkl_pc-wsb-spacing, 0px) 0 var(--mkl_pc-wsb-spacing, 0px) !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.mx-dreh-tile{
    flex: unset !important;
    min-width: unset !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    border: none !important;
    outline: none !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
}

.mx-dreh-tile-img{
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block !important;
    z-index: 1 !important;
    opacity: 0.5 !important;
    filter: grayscale(40%) !important;
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease !important;
}

.mx-dreh-tile.active .mx-dreh-tile-img{
    opacity: 1 !important;
    filter: none !important;
    transform: translateY(-2px) !important;
}

.mx-dreh-tile-label{
    position: absolute !important;
    bottom: 8px !important;
    left: 8px !important;
    right: 8px !important;
    z-index: 2 !important;
    background: none !important;
    text-align: left !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    line-height: 1.2 !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}

.mx-dreh-tile.disabled{
    cursor: not-allowed !important;
}
.mx-dreh-tile.disabled .mx-dreh-tile-img{
    opacity: 0.2 !important;
    filter: grayscale(80%) !important;
}
.mx-dreh-tile.disabled .mx-dreh-tile-label{
    opacity: 0.4 !important;
}
.mx-dreh-tile:hover:not(.disabled):not(.active) .mx-dreh-tile-img{
    opacity: 0.75 !important;
}

.mx-aufnahme-layer{ margin: 20px 0 !important; }
.mx-aufnahme-layer > .layer-item{
    display: flex !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
}
.mx-aufnahme-layer > .layer-item .layer-name{
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--mx-blue) !important;
}
.mx-aufnahme-layer .layer_choices,
.mx-aufnahme-layer .layer_choices .choices-list,
.mx-aufnahme-layer .layer_choices ul,
.mx-aufnahme-layer .layer_choices li.choice{
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

.mx-aufnahme-container{
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
}

.mx-aufnahme-container{
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* === AUFNAHME: Image Tile Selector (1:1 wie Evolutionsstufe) === */
.mx-aufnahme-tiles {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr); /* kein !important → JS kann überschreiben */
    gap: var(--mx-gap) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto 50px auto !important;
    padding: 0 !important;
}

.mx-aufnahme-tile {
    flex: unset !important;
    min-width: unset !important;
    max-width: var(--mx-tile) !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    position: relative !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
}

/* Inactive: grayed like evo */
.mx-aufnahme-tile-img {
    position: absolute !important;
    top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block !important;
    z-index: 1 !important;
    opacity: 0.5 !important;
    filter: grayscale(40%) !important;
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease !important;
}

/* Active: full color + lift exactly like evo */
.mx-aufnahme-tile.active .mx-aufnahme-tile-img {
    opacity: 1 !important;
    filter: none !important;
    transform: translateY(-2px) !important;
}

/* Label bottom-left exactly like evo .choice-name */
.mx-aufnahme-tile-label {
    position: absolute !important;
    bottom: 8px !important;
    left: 8px !important;
    right: 8px !important;
    z-index: 2 !important;
    background: none !important;
    text-align: left !important;
    font-size: 10px !important;
    font-weight: 700 !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    line-height: 1.2 !important;
    padding: 0 !important;
    margin: 0 !important;
    pointer-events: none !important;
}

/* Disabled: very faded */
.mx-aufnahme-tile.disabled {
    cursor: not-allowed !important;
}
.mx-aufnahme-tile.disabled .mx-aufnahme-tile-img {
    opacity: 0.2 !important;
    filter: grayscale(80%) !important;
}
.mx-aufnahme-tile.disabled .mx-aufnahme-tile-label {
    opacity: 0.4 !important;
}

/* Slight brighten on hover (inactive only) */
.mx-aufnahme-tile:hover:not(.disabled):not(.active) .mx-aufnahme-tile-img {
    opacity: 0.75 !important;
}

.mx-aufnahme-container .mx-aufnahme-options.mx-aufnahme-radio-group{
    display: grid !important;
    /* grid-template-columns set dynamically by JS based on item count */
    grid-template-columns: repeat(var(--mx-aufnahme-cols, 3), 1fr) !important;
    align-items: stretch !important;

    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.10) !important;

    padding: 0 !important;
    overflow: hidden !important;

    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}

/* Separators no longer needed — CSS borders on cells handle dividers */
.mx-aufnahme-radio-sep {
    display: none !important;
}

.mx-aufnahme-radio-group .mx-aufnahme-option {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 14px 8px !important;
    background: none !important;
    border: none !important;
    border-right: 1px solid #E5E7EB !important;
    border-radius: 0 !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
    width: 100% !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
}

/* Remove right border on last column of each row — set via JS with nth-child */
.mx-aufnahme-radio-group .mx-aufnahme-option.mx-last-in-row {
    border-right: none !important;
}

/* Remove bottom border on last row items — set via JS */
.mx-aufnahme-radio-group .mx-aufnahme-option.mx-last-row {
    border-bottom: none !important;
}

.mx-aufnahme-radio-group .mx-aufnahme-option:hover:not(.disabled) {
    background: #F3F4F6 !important;
}

.mx-aufnahme-radio-dot {
    display: block !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    border: 2px solid #C9CDD4 !important;
    background: #fff !important;
    position: relative !important;
    transition: border-color 0.15s ease !important;
    flex-shrink: 0 !important;
    box-sizing: border-box !important;
}

.mx-aufnahme-radio-group .mx-aufnahme-option.active .mx-aufnahme-radio-dot {
    border-color: var(--mx-red) !important;
}

.mx-aufnahme-radio-group .mx-aufnahme-option.active .mx-aufnahme-radio-dot::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 9px !important;
    height: 9px !important;
    border-radius: 50% !important;
    background: var(--mx-red) !important;
}

.mx-aufnahme-radio-label {
    font-size: 12px !important;
    font-weight: 700 !important;
    color: #374151 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.03em !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
}

.mx-aufnahme-radio-group .mx-aufnahme-option.active .mx-aufnahme-radio-label {
    color: var(--mx-red) !important;
}

.mx-aufnahme-radio-group .mx-aufnahme-option.disabled {
    opacity: 0.38 !important;
    cursor: not-allowed !important;
}

.mx-aufnahme-radio-group .mx-aufnahme-option.disabled .mx-aufnahme-radio-label {
    color: #9CA3AF !important;
}

.mx-aufnahme-options-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    display: flex !important;
    justify-content: center !important;
    }

/* Arrow wrapper + arrow - wider and flatter like Figma */
.mx-aufnahme-arrow-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    position: relative !important;
    height: 14px !important;
    margin-top: 4px !important;
}

.mx-aufnahme-arrow {
    position: absolute !important;
    top: 0 !important;
    transform: translateX(-50%) !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 14px solid transparent !important;
    border-right: 14px solid transparent !important;
    border-bottom: 12px solid #fff !important;
    filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.07)) !important;
    transition: left 0.2s ease !important;
}

.mx-aufnahme-container .mx-aufnahme-options{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.mx-aufnahme-container .mx-aufnahme-options.mx-aufnahme-options-hidden{ display: none !important; }

.pc_configurator_form{
    display: grid !important;
    grid-template-columns: 140px 1fr !important;
    gap: 16px !important;
    align-items: center !important;
    margin-top: 16px !important;
}
.pc_configurator_form form.cart{
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

.pc_configurator_form .configurator-add-to-cart,
.pc_configurator_form .mx-quick-quote-button{
    width: 100% !important;
    height: 52px !important;
    min-height: 52px !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    border-radius: 16px !important;
    background: var(--mx-red-strong) !important;
    color: #fff !important;
    text-transform: uppercase !important;
    letter-spacing: .06em !important;
    font-weight: 800 !important;
    font-size: 14px !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.18) !important;
    transition: transform .12s ease, box-shadow .12s ease, background .12s ease !important;
}
.pc_configurator_form .configurator-add-to-cart:hover,
.pc_configurator_form .mx-quick-quote-button:hover{
    transform: translateY(-1px) !important;
    box-shadow: 0 14px 28px rgba(0,0,0,.22) !important;
    background: #f52525 !important;
}
.pc_configurator_form .mx-quick-quote-button{ grid-column: 1 / -1 !important; }

.pc_configurator_form form.cart .quantity{
    display: grid !important;
    grid-template-columns: 44px 1fr 44px !important;
    align-items: center !important;
    background: var(--mx-red-strong) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 22px rgba(0,0,0,.18) !important;
    min-height: 52px !important;
    width: 110px !important;
}
.pc_configurator_form form.cart .quantity input.qty{
    width: 100% !important;
    height: 52px !important;
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    color: #fff !important;
    text-align: center !important;
    font-weight: 800 !important;
    font-size: 18px !important;
    padding: 0 !important;
    box-shadow: none !important;
}
.pc_configurator_form form.cart .quantity .minus,
.pc_configurator_form form.cart .quantity .plus{
    width: 44px !important;
    height: 52px !important;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-weight: 900 !important;
    font-size: 20px !important;
    cursor: pointer !important;
    box-shadow: none !important;
}
.pc_configurator_form form.cart .quantity .minus:hover,
.pc_configurator_form form.cart .quantity .plus:hover{
    background: rgba(255,255,255,.12) !important;
}
.pc_configurator_form form.cart .quantity input.qty::-webkit-outer-spin-button,
.pc_configurator_form form.cart .quantity input.qty::-webkit-inner-spin-button{
    -webkit-appearance: none !important;
    margin: 0 !important;
}
.pc_configurator_form form.cart .quantity input.qty{ -moz-appearance: textfield !important; }

.mkl_pc_container .mx-variant-header{
    position: absolute;
    top: 10px;
    left: 24px;
    right: 90px !important;
    z-index: 20;
    padding: 0 20px 14px 20px;
    border-radius: 18px;
    text-transform: none;
    max-width: calc(100% - 120px) !important;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 70px;
}

.mx-variant-header .mx-variant-title{
    font-size: 30px !important;
    font-weight: 800 !important;
    letter-spacing: .04em !important;
    color: #123a86 !important;
    line-height: 1.2 !important;
    white-space: normal !important;
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    text-overflow: clip !important;
    max-width: 100% !important;
    display: block !important;
    hyphens: auto !important;
}

.mx-variant-header .mx-variant-id-line{
    margin-top: 6px;
    font-size: 14px;
    font-weight: 700;
    color: #123a86;
}
.mx-variant-header .mx-variant-id-label{ opacity: .8; }

.mkl_pc_container .mkl_pc_viewer.mx-has-variant{
    padding-top: 140px;
}
.mkl_pc_container .mkl_pc_viewer.mx-has-variant #mx_variant_image{
    display: block;
    margin-top: 0;
}

.mkl_pc_viewer button.reset-configuration.mx-reset-in-viewer{
    position: absolute;
    top: 10px;
    right: 24px;
    z-index: 9999;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    color: var(--mx-red);
    border: 2px solid var(--mx-red);
    border-radius: 6px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}
.mkl_pc_viewer button.reset-configuration.mx-reset-in-viewer:hover{
    background-color: var(--mx-red);
    color: #fff;
}
.mkl_pc_viewer button.reset-configuration.mx-reset-in-viewer span{
    white-space: nowrap;
    line-height: 1.1;
}

button.reset-configuration .mx-reset-icon{
    width: 20px;
    height: 20px;
    fill: currentColor;
    flex: 0 0 auto;
}

.mkl_pc_viewer button.reset-configuration.mx-reset-in-viewer .mx-reset-icon{
    display: none !important;
}

.mx-manufacturer-bar{
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px auto 20px auto;
    padding: 0;
    width: 100%;
    box-sizing: border-box;
}

.mx-manufacturer-bar-top{
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

.mx-manufacturer-bar-prefix{
    font-size: 22px;
    font-weight: 700;
    color: var(--mx-blue);
    white-space: normal;
    word-break: break-word;
    flex: 1 1 auto;
    min-width: 0;
}

.mx-selected-manufacturer-label{
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    min-width: 80px;
    padding: 0 14px;
    border-radius: 8px;
    background: #FFFFFF;
    color: var(--mx-blue);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    border: 1.5px solid #e0e0e0;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    cursor: pointer;
}

.mx-reset-manufacturer{
    width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 16px !important;
    height: auto !important;
    min-height: 48px !important;
    background: var(--mx-red) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.04em !important;
    text-align: center !important;
    box-shadow: 0 4px 12px rgba(211,47,47,0.3) !important;
    transition: background 0.2s ease, box-shadow 0.2s ease !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    white-space: normal !important;
    word-break: break-word !important;
    max-width: 100% !important;
    overflow: hidden !important;
}
.mx-reset-manufacturer:hover{
    background: var(--mx-red-strong) !important;
    box-shadow: 0 6px 16px rgba(211,47,47,0.45) !important;
}

.mkl_pc_viewer.mx-desc-below{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.mkl_pc_viewer.mx-desc-below .mx-wc-description{
    display: block;
    max-width: 100%;
    margin: 100px 0 10px 0;
    padding: 16px;
    box-sizing: border-box;
}

.mx-wc-description{
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin: 48px auto 0;
    width: 90%;
    max-width: 850px;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mx-wc-description:hover{
    transform: none;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.mkl_pc_viewer .mx-wc-description{
    max-height: 40vh;
    overflow: auto;
}

/* ── Tab-Leiste: sitzt außerhalb/oberhalb der Card ── */
.mx-desc-tabs{
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    background: transparent !important;
    border-bottom: 1px solid #e5e7eb !important;
    padding: 0 !important;
    gap: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.mx-desc-tab{
    flex: 1 1 auto !important;
    min-width: 0 !important;
    padding: 12px 16px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
    color: #9ca3af !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.4px !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
    position: relative !important;
    white-space: normal !important;
    word-break: break-word !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
    box-shadow: none !important;
    border-bottom: 2px solid transparent !important;
    margin-bottom: -1px !important;
    text-align: center !important;
}
.mx-tab-short{ display: none; }
.mx-tab-full{ display: inline; }

.mx-desc-tab:hover{
    background: transparent !important;
    color: var(--mx-blue) !important;
    box-shadow: none !important;
    transform: none !important;
}

.mx-desc-tab.active{
    background: transparent !important;
    color: var(--mx-red) !important;
    font-weight: 800 !important;
    box-shadow: none !important;
    border-bottom: 2px solid var(--mx-red) !important;
    margin-bottom: -1px !important;
    transform: none !important;
}

.mx-desc-content{
    position: relative;
}
.mx-desc-panel{
    display: none;
    padding: 28px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--mx-blue);
    animation: fadeIn 0.3s ease;
}
.mx-desc-panel.active{ display: block; }

/* Kein extra Abstand oben im Panel – egal welches Element als erstes kommt */
.mx-desc-panel > *:first-child{
    margin-top: 0 !important;
    padding-top: 0 !important;
}
/* Erstes Tech-Spec-Item: padding-top entfernen damit gleicher Abstand wie andere Panels */
.mx-spec-item:first-child{
    padding-top: 0 !important;
}
/* Erstes Hersteller-Item: gleiches Prinzip */
.mx-manufacturer-item:first-child{
    padding-top: 0 !important;
}
/* Leere erste <p> verstecken (WooCommerce erzeugt manchmal ein leeres p) */
.mx-desc-panel > p:first-child:empty{
    display: none !important;
}
/* WooCommerce-Attributtabelle & Listen: kein extra Außenabstand oben */
.mx-desc-panel table,
.mx-desc-panel .woocommerce-product-attributes,
.mx-desc-panel ul,
.mx-desc-panel ol{
    margin-top: 0 !important;
}

.mx-desc-panel p{
    margin: 0 0 16px 0;
    color: var(--mx-blue);
    text-align: justify;
    hyphens: auto;
    -webkit-hyphens: auto;
}
.mx-desc-panel p:last-child{ margin-bottom: 0; }
.mx-desc-panel h3{
    font-size: 18px;
    font-weight: 700;
    color: var(--mx-blue);
    margin: 0 0 16px 0;
}
.mx-desc-panel h4{
    font-size: 16px;
    font-weight: 700;
    color: var(--mx-blue);
    margin: 24px 0 12px 0;
}
@keyframes fadeIn{
    from{ opacity: 0; transform: translateY(10px); }
    to{ opacity: 1; transform: translateY(0); }
}

li.layers-list-item.mx-red-button-layer .layer_choices button.choice-item{
    background: #c62828 !important;
    border-color: #c62828 !important;
    color: #fff !important;
}
li.layers-list-item.mx-red-button-layer .layer_choices button.choice-item:hover{
    filter: brightness(0.95);
}
li.layers-list-item.mx-red-button-layer .layer_choices li.choice.active button.choice-item,
li.layers-list-item.mx-red-button-layer .layer_choices li.choice.selected button.choice-item,
li.layers-list-item.mx-red-button-layer .layer_choices li.choice.mxactive button.choice-item,
li.layers-list-item.mx-red-button-layer .layer_choices button.choice-item[aria-pressed="true"]{
    box-shadow: 0 0 0 3px rgba(255,255,255,.9), 0 0 0 6px rgba(198,40,40,.55) !important;
    transform: translateY(-1px) !important;
    filter: brightness(1.03);
}
li.layers-list-item.mx-red-button-layer .layer_choices li.choice.mx-disabled button.choice-item,
li.layers-list-item.mx-red-button-layer .layer_choices li.choice.not-available button.choice-item,
li.layers-list-item.mx-red-button-layer .layer_choices button.choice-item[aria-disabled="true"]{
    opacity: 0.45 !important;
    cursor: not-allowed !important;
}
li.layers-list-item.mx-red-button-layer .layer_choices li.choice.active button.choice-item{
    background: #b71c1c !important;
}

@media (max-width: 1024px){
    .mkl_pc_viewer.mx-desc-below .mx-wc-description{
        margin-top: 40px;
    }
}

@media (max-width: 1060px){
    .mx-desc-tab{ padding: 10px 12px !important; font-size: 10px !important; letter-spacing: 0.2px !important; }
}

@media (max-width: 960px){
    .mkl_pc_viewer button.reset-configuration.mx-reset-in-viewer .mx-reset-icon{
        display: inline-block !important;
        fill: var(--mx-red) !important;
    }
    .mkl_pc_viewer button.reset-configuration.mx-reset-in-viewer span{
        display: none !important;
    }
    .mkl_pc_viewer button.reset-configuration.mx-reset-in-viewer{
        width: 40px;
        height: 40px;
        padding: 6px;
        justify-content: center;
        gap: 0;
        max-width: none;
        white-space: nowrap;
        border: none !important;
        border-radius: 0;
        background-color: transparent !important;
    }
}

@media (max-width: 850px){
    .mx-desc-tabs{
        flex-wrap: wrap !important;
    }
    .mx-desc-tab{
        flex: 1 1 auto !important;
        text-align: center !important;
        padding: 10px 12px !important;
        font-size: 10px !important;
        white-space: normal !important;
        letter-spacing: 0.2px !important;
    }
    .mx-desc-tab.active{
        border-bottom: 2px solid var(--mx-red) !important;
    }
}

@media (max-width: 768px){
    :root{
        --mx-gap: 12px;
        --mx-tile: 90px;
        --mx-grid-max: calc(3 * var(--mx-tile) + 2 * var(--mx-gap));
    }

    .configurator-choices{
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 10px;
    }
    .configurator-choice{ padding: 10px; }
    .configurator-choice-image{ width: 60px; height: 60px; }
    .configurator-choice-name{ font-size: 12px; }

    .pc_configurator_form{ grid-template-columns: 1fr !important; }

    .mkl_pc_container .mx-variant-header{
        top: 10px;
        left: 12px;
        right: 60px !important;
        padding: 10px 16px;
        border-radius: 14px;
        max-width: calc(100% - 80px) !important;
    }
    .mkl_pc_container .mkl_pc_viewer.mx-has-variant{ padding-top: 110px; }

    .mkl_pc_viewer button.reset-configuration.mx-reset-in-viewer{
        top: 10px;
        right: 12px;
    }

    .mx-manufacturer-bar{ gap: 8px; }
    .mx-selected-manufacturer-label{
        height: 36px;
        font-size: 12px;
        padding: 0 12px;
        min-width: 100px;
    }

    .mx-evolutionsstufe-layer .layer_choices li.choice button.choice-item .choice-name,
    .mx-edition-layer .layer_choices li.choice .choice-name{ font-size: 9px !important; }

    .mx-range-layer .mx-range-wrap{ padding: 20px 24px !important; }
    .mx-range-layer .mx-range-slider-container{ padding: 0 36px !important; }
    .mx-range-layer .mx-range-value{ min-width: 100px !important; height: 50px !important; font-size: 28px !important; }

    .mx-performance-pill{ min-width: 100px !important; height: 36px !important; font-size: 13px !important; gap: 6px !important; }
    .mx-performance-icon{ width: 24px !important; height: 24px !important; }
    .mx-performance-layer > .layer-item .layer-name,
    .mx-drehrichtung-layer > .layer-item .layer-name{ font-size: 18px !important; }

    .mx-aufnahme-container{ padding: 0 !important;
    }

    .mx-wc-description{ width: 100%; margin: 40px auto 0; box-sizing: border-box; }
    .mx-desc-panel{ padding: 20px; font-size: 14px; }

    .mx-edition-layer .mx-edition-summary img{
        object-fit: contain !important;
        object-position: right center !important;
    }

    .mx-range-layer .mx-range-wrap,
    .mx-aufnahme-container,
    .mx-manufacturer-bar,
    .mx-edition-layer .mx-edition-summary,
    li.layers-list-item.mx-generic-radio-layer .layer_choices{
        width: 100% !important;
        max-width: 100% !important;
    }

    .mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices{
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

@media (max-width: 480px){
    :root{
        --mx-gap: 8px;
        --mx-tile: 84px;
        --mx-grid-max: calc(3 * var(--mx-tile) + 2 * var(--mx-gap));
    }

    .configurator-choices{
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }

    .mkl_pc_container .mx-variant-header{
        right: 55px !important;
        max-width: calc(100% - 70px) !important;
        padding: 8px 12px;
    }

    .mx-manufacturer-bar{
        gap: 6px;
    }
    .mx-selected-manufacturer-label{
        height: 34px;
        font-size: 12px;
        padding: 0 12px;
    }

    .mx-range-layer .mx-range-wrap{ padding: 16px 20px !important; }
    .mx-range-layer .mx-range-slider-container{ padding: 0 32px !important; }
    .mx-range-layer .mx-range-value{ min-width: 80px !important; height: 44px !important; font-size: 24px !important; }

    .mx-wc-description{ width: 100%; margin: 32px auto 0; box-sizing: border-box; }
    .mx-desc-tab{ padding: 12px 16px; font-size: 11px; }
    .mx-desc-panel{ padding: 16px; }
}

@media (max-width: 380px){
    .mx-desc-tab{ padding: 10px 14px; font-size: 10px; }
    .mx-manufacturer-bar-prefix{ font-size: 17px !important; }
    .mx-selected-manufacturer-label{ font-size: 11px !important; padding: 0 8px !important; }
    .mx-reset-manufacturer{ font-size: 13px !important; letter-spacing: 0.02em !important; padding: 10px 12px !important; }
}

/* ── iPhone 16 / neuere iPhones (390–430px): SafeArea + Grid-Fix ── */
@media (max-width: 430px) {
    :root {
        --mx-gap: 8px;
        --mx-tile: 80px;
        --mx-grid-max: calc(3 * var(--mx-tile) + 2 * var(--mx-gap));
    }

    /* SafeArea-Insets für iPhone mit Dynamic Island / Notch berücksichtigen */
    .mkl_pc .mkl_pc_container .mkl_pc_toolbar section.choices {
        padding-left: max(12px, env(safe-area-inset-left)) !important;
        padding-right: max(12px, env(safe-area-inset-right)) !important;
    }

    /* Tiles auf kleinen iPhones: volle Spaltenbreite */
    .mx-evolutionsstufe-layer .layer_choices li.choice,
    .mx-edition-layer .layer_choices li.choice,
    .mx-aufnahme-container .mx-aufnahme-tile,
    .mx-dreh-tile,
    .mx-schlitz-tile,
    .mx-schlitzwinkel-tile,
    .mx-besatz-tile,
    .mx-edition-no-summary-tile {
        max-width: 100% !important;
        width: 100% !important;
    }
}

@media (min-width: 961px){
    .mkl_pc_container .mx-variant-header{
        right: 240px !important;
        max-width: calc(100% - 280px) !important;
    }
}
@media (max-width: 960px){
    .mkl_pc_container .mx-variant-header{
        right: 60px !important;
        max-width: calc(100% - 90px) !important;
    }
}

body:not(.single-product) .wd-content-layout {
    padding-block: 0;
}

/* iOS Safari Fix: transform:translateZ(0) auf li.choice / .choice-item
   bricht auf echten iOS-Geräten (iPhone 16, Safari) das Grid-Layout —
   Kacheln rutschen zusammen weil Safari aspect-ratio:1/1 nach GPU-Promotion
   falsch neu berechnet. Deshalb: GPU-Promotion NUR auf Bilder beschränken. */
.choice-item,
.layer_choices li.choice {
    transition: opacity 0.1s ease, background-color 0.1s ease !important;
}

/* GPU-Beschleunigung nur für Bilder — kein Layout-Einfluss */
.mx-variant-image,
.mx-evo-image,
.mx-edition-image,
.mx-aufnahme-tile-img,
.mx-dreh-tile-img,
.mx-schlitz-tile-img,
.mx-schlitzwinkel-tile-img,
.mx-besatz-tile-img,
.mx-edition-no-summary-tile-img {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

@media (min-width: 661px) and (max-width: 700px) {
    .mx-manufacturer-bar {
        /* no override needed */
    }
}

@media (min-width: 481px){
    .mx-selected-manufacturer-label{
        min-width: 120px;
    }
}

@media (max-width: 480px){
    .mx-manufacturer-bar{
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 10px;
    }

    .mx-reset-manufacturer,
    .mx-selected-manufacturer-label{
        flex: 1 1 auto;
        width: 100%;
        max-width: 100%;
        white-space: normal;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .mkl_pc_container .mkl_pc_viewer.mx-has-variant #mx_variant_image{
        margin-bottom: 15px;
    }

    .mx-edition-summary{
        box-sizing: border-box !important;
        height: 70px !important;
        max-width: calc(100% - 32px) !important;
        width: calc(100% - 32px) !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        background-position: right center !important;
    }

    /* Unter 660px: 3 gleiche Spalten, volle Breite, alle Tiles gleich groß */
    .mx-evolutionsstufe-layer .layer_choices ul,
    .mx-edition-layer .layer_choices ul,
    .mx-aufnahme-tiles,
    .mx-aufnahme-container .mx-aufnahme-tiles,
    .mx-dreh-tiles {
        grid-template-columns: repeat(3, 1fr) !important;
        justify-content: unset !important;
    }

    /* Tiles: volle Grid-Zelle ausfüllen */
    .mx-evolutionsstufe-layer .layer_choices li.choice,
    .mx-edition-layer .layer_choices li.choice,
    .mx-aufnahme-container .mx-aufnahme-tile,
    .mx-dreh-tile {
        max-width: 100% !important;
        width: 100% !important;
    }
}

    .mkl_pc_footer {
        display: none !important;
    }

.mx-aufnahme-container .mx-aufnahme-tiles {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--mx-gap) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.mx-aufnahme-container .mx-aufnahme-tile {
    flex: unset !important;
    min-width: unset !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
}

@media (min-width: 661px) {
    .mx-aufnahme-container .mx-aufnahme-tile {
        max-width: var(--mx-tile) !important;
    }
}

@media (max-width: 500px) {
    .mx-aufnahme-tile-label {
        font-size: 9px !important;
    }
}

.mx-aufnahme-tiles {
    margin: 0 auto 12px auto !important;
}
.mx-aufnahme-container .mx-aufnahme-options.mx-aufnahme-radio-group {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
}
@media (max-width: 768px) {
    .mx-aufnahme-container { padding: 0 !important; }
}

.mx-range-layer .mx-range-wrap,
.mx-aufnahme-container,
.mx-evolutionsstufe-layer .layer_choices,
.mx-edition-layer .layer_choices,
.mx-edition-layer .mx-edition-summary,
li.layers-list-item.mx-generic-radio-layer .layer_choices,
.mx-manufacturer-bar {
    width: calc(100% - 2 * var(--mkl_pc-wsb-spacing, 0px)) !important;
    max-width: calc(100% - 2 * var(--mkl_pc-wsb-spacing, 0px)) !important;
    margin-left: var(--mkl_pc-wsb-spacing, 0px) !important;
    margin-right: var(--mkl_pc-wsb-spacing, 0px) !important;
    box-sizing: border-box !important;
}

.mx-dreh-tile{
    max-width: 100% !important;
    width: auto !important;
}
/* === SCHLITZUNGSMUSTER: MM Radio + G/S-Line Tiles === */
.mx-schlitz-layer > .layer-item {
    display: flex !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
}
.mx-schlitz-layer > .layer-item .layer-name {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--mx-blue) !important;
}
.mx-schlitz-layer .layer_choices,
.mx-schlitz-layer .layer_choices .choices-list,
.mx-schlitz-layer .layer_choices ul,
.mx-schlitz-layer .layer_choices li.choice {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Container — gleiche Breite wie mx-aufnahme-container */
.mx-schlitz-container {
    background: transparent !important;
    padding: 0 !important;
    width: calc(100% - 2 * var(--mkl_pc-wsb-spacing, 0px)) !important;
    max-width: calc(100% - 2 * var(--mkl_pc-wsb-spacing, 0px)) !important;
    margin-left: var(--mkl_pc-wsb-spacing, 0px) !important;
    margin-right: var(--mkl_pc-wsb-spacing, 0px) !important;
    box-sizing: border-box !important;
}

/* Radio-Karte: volle Container-Breite, identisch zu mx-aufnahme-options.mx-aufnahme-radio-group */
.mx-schlitz-mm-group {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 0 !important;
    background: #fff !important;
    border-radius: 16px !important;
    padding: 14px 0 !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.10) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

/* MM option: dot oben, label unten */
.mx-schlitz-mm-group .mx-aufnahme-option {
    flex-direction: column !important;
    gap: 6px !important;
    padding: 4px 20px !important;
}

/* Tiles-Wrapper: per JS gesteuert via .show()/.hide() */
.mx-schlitz-tiles {
    display: none;
    gap: var(--mx-gap) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 20px auto 20px auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}
/* Sichtbar-Klasse überschreibt display:none */
.mx-schlitz-tiles.mx-schlitz-visible {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
}

/* Tile: exakt wie mx-aufnahme-tile inkl. Größenbegrenzung */
.mx-schlitz-tile {
    flex: unset !important;
    min-width: unset !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    position: relative !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
}

@media (min-width: 661px) {
    .mx-schlitz-tile {
        max-width: var(--mx-tile) !important;
    }
}

/* Bild-States */
.mx-schlitz-tile .mx-schlitz-tile-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block !important;
    z-index: 1 !important;
    opacity: 0.5 !important;
    filter: grayscale(40%) !important;
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease !important;
}
.mx-schlitz-tile.active .mx-schlitz-tile-img {
    opacity: 1 !important;
    filter: none !important;
    transform: translateY(-2px) !important;
}
.mx-schlitz-tile.disabled {
    cursor: not-allowed !important;
}
.mx-schlitz-tile.disabled .mx-schlitz-tile-img {
    opacity: 0.2 !important;
    filter: grayscale(80%) !important;
}
.mx-schlitz-tile:hover:not(.disabled):not(.active) .mx-schlitz-tile-img {
    opacity: 0.75 !important;
}

@media (max-width: 660px) {
    .mx-schlitz-tiles.mx-schlitz-visible {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .mx-schlitz-tile {
        max-width: 100% !important;
    }
}
/* ============================================================
   SCHLITZUNGSWINKEL: Bildkacheln (G-CUT / X-CUT)
   ============================================================ */
.mx-schlitzwinkel-layer > .layer-item {
    display: flex !important;
    margin-bottom: 8px !important;
    padding: 0 !important;
}
.mx-schlitzwinkel-layer > .layer-item .layer-name {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: var(--mx-blue) !important;
}
.mx-schlitzwinkel-layer .layer_choices,
.mx-schlitzwinkel-layer .layer_choices .choices-list,
.mx-schlitzwinkel-layer .layer_choices ul,
.mx-schlitzwinkel-layer .layer_choices li.choice,
.mx-schlitzwinkel-layer .mx-range-wrap {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

.mx-schlitzwinkel-container {
    background: transparent !important;
    padding: 0 !important;
    width: calc(100% - 2 * var(--mkl_pc-wsb-spacing, 0px)) !important;
    max-width: calc(100% - 2 * var(--mkl_pc-wsb-spacing, 0px)) !important;
    margin-left: var(--mkl_pc-wsb-spacing, 0px) !important;
    margin-right: var(--mkl_pc-wsb-spacing, 0px) !important;
    box-sizing: border-box !important;
}

.mx-schlitzwinkel-tiles {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--mx-gap) !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

.mx-schlitzwinkel-tile {
    flex: unset !important;
    min-width: unset !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    justify-content: flex-end !important;
    position: relative !important;
    padding: 0 !important;
    border: none !important;
    outline: none !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
}

@media (min-width: 661px) {
    .mx-schlitzwinkel-tile {
        max-width: var(--mx-tile) !important;
    }
}

.mx-schlitzwinkel-tile .mx-schlitzwinkel-tile-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block !important;
    z-index: 1 !important;
    opacity: 0.5 !important;
    filter: grayscale(40%) !important;
    transition: opacity 0.15s ease, filter 0.15s ease !important;
}
.mx-schlitzwinkel-tile.active .mx-schlitzwinkel-tile-img {
    opacity: 1 !important;
    filter: none !important;
}
.mx-schlitzwinkel-tile.disabled {
    cursor: not-allowed !important;
}
.mx-schlitzwinkel-tile.disabled .mx-schlitzwinkel-tile-img {
    opacity: 0.2 !important;
    filter: grayscale(80%) !important;
}
.mx-schlitzwinkel-tile:hover:not(.disabled):not(.active) .mx-schlitzwinkel-tile-img {
    opacity: 0.75 !important;
}

@media (max-width: 660px) {
    .mx-schlitzwinkel-tiles {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .mx-schlitzwinkel-tile {
        max-width: 100% !important;
    }
}

/* ============================================================
   GENERIC RADIO LAYER — 1:1 identisch mit Aufnahme-Radio-Stil
   ============================================================ */

/* Originale Choice-Buttons ausblenden */
li.layers-list-item.mx-generic-radio-layer .layer_choices .choices-list {
    display: none !important;
}

/* Wrapper: full-width wie bei Aufnahme */
li.layers-list-item.mx-generic-radio-layer .layer_choices {
    display: block !important;
    width: 100% !important;
}

/* Radio-Gruppe: exakt wie .mx-aufnahme-options.mx-aufnahme-radio-group */
.mx-generic-radio-group {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;

    background: #fff !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.10) !important;

    padding: 14px 0 !important;
    margin: 0 !important;

    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Separator: identisch mit .mx-aufnahme-radio-sep */
.mx-generic-radio-sep {
    display: block !important;
    width: 1px !important;
    height: 28px !important;
    background: #D1D5DB !important;
    flex-shrink: 0 !important;
    align-self: center !important;
    margin: 0 4px !important;
}

/* Item: identisch mit .mx-aufnahme-radio-group .mx-aufnahme-option */
.mx-generic-radio-item {
    display: inline-flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 4px 20px !important;
    background: none !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: background 0.15s ease !important;
    flex: 1 1 0 !important;
    min-width: 0 !important;
}

.mx-generic-radio-item:hover:not(.disabled) {
    background: #F3F4F6 !important;
}

/* Aktiver Dot */
.mx-generic-radio-item.active .mx-aufnahme-radio-dot {
    border-color: var(--mx-red) !important;
}

.mx-generic-radio-item.active .mx-aufnahme-radio-dot::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 9px !important;
    height: 9px !important;
    border-radius: 50% !important;
    background: var(--mx-red) !important;
}

/* Aktives Label */
.mx-generic-radio-item.active .mx-aufnahme-radio-label {
    color: var(--mx-red) !important;
}

/* Disabled */
.mx-generic-radio-item.disabled {
    opacity: 0.38 !important;
    cursor: not-allowed !important;
}

.mx-generic-radio-item.disabled .mx-aufnahme-radio-label {
    color: #9CA3AF !important;
}

/* Mobile */
@media (max-width: 480px) {
    .mx-generic-radio-group {
        padding: 10px 0 !important;
    }
    .mx-generic-radio-item {
        padding: 4px 12px !important;
    }
}

/* ============================================================
   GENERIC DROPDOWN — ab 5+ Optionen automatisch statt Radio
   ============================================================ */

li.layers-list-item.mx-generic-radio-layer .mx-generic-dropdown-wrap {
    width: 100% !important;
    box-sizing: border-box !important;
}

.mx-generic-dropdown-wrap {
    position: relative !important;
    width: 100% !important;
}

/* Pfeil-Icon via Pseudo-Element */
.mx-generic-dropdown-wrap::after {
    content: '' !important;
    position: absolute !important;
    right: 18px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    border-top: 6px solid var(--mx-red) !important;
    pointer-events: none !important;
}

.mx-generic-dropdown {
    display: block !important;
    width: 100% !important;
    padding: 20px 44px 20px 20px !important;
    min-height: 58px !important;
    background: #fff !important;
    border: none !important;
    border-radius: 16px !important;
    box-shadow: 0 2px 12px rgba(0,0,0,.10) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--mx-blue) !important;
    cursor: pointer !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    box-sizing: border-box !important;
    transition: box-shadow 0.15s ease !important;
    outline: none !important;
}

.mx-generic-dropdown:hover,
.mx-generic-dropdown:focus {
    box-shadow: 0 2px 16px rgba(0,0,0,.16) !important;
}

.mx-generic-dropdown option:disabled {
    color: #9CA3AF !important;
}

@media (max-width: 480px) {
    .mx-generic-dropdown {
        padding: 12px 40px 12px 16px !important;
        font-size: 13px !important;
    }
}
/* ============================================================
   BESATZ-TILE-LAYER — Custom Image-Tiles für Spiralrundbürste & Tellerbürste
   1:1 identisch mit Drehrichtungs-Tile-Stil
   ============================================================ */

/* Originale layer_choices komplett ausblenden — Custom Tiles übernehmen */
li.layers-list-item.mx-besatz-tile-layer .layer_choices,
li.layers-list-item.mx-besatz-tile-layer .layer_choices .choices-list,
li.layers-list-item.mx-besatz-tile-layer .layer_choices ul,
li.layers-list-item.mx-besatz-tile-layer .layer_choices li.choice {
    display: none !important;
    visibility: hidden !important;
    height: 0 !important;
    overflow: hidden !important;
    position: absolute !important;
    left: -9999px !important;
}

/* Tile-Grid: exakt wie .mx-dreh-tiles */
.mx-besatz-tiles {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: var(--mx-gap) !important;
    width: calc(100% - 2 * var(--mkl_pc-wsb-spacing, 0px)) !important;
    max-width: calc(100% - 2 * var(--mkl_pc-wsb-spacing, 0px)) !important;
    margin: 0 var(--mkl_pc-wsb-spacing, 0px) !important;
    padding: 0 !important;
    box-sizing: border-box !important;
}

/* Einzelne Kachel: quadratisch, exakt wie .mx-dreh-tile */
.mx-besatz-tile {
    flex: unset !important;
    min-width: unset !important;
    max-width: var(--mx-tile) !important;
    width: auto !important;
    height: auto !important;
    aspect-ratio: 1 / 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
    border: none !important;
    outline: none !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    background: transparent !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    align-items: stretch !important;
}

.mx-besatz-tile-img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 8px !important;
    display: block !important;
    z-index: 1 !important;
    opacity: 0.5 !important;
    filter: grayscale(40%) !important;
    transition: opacity 0.2s ease, filter 0.2s ease, transform 0.2s ease !important;
}

.mx-besatz-tile.active .mx-besatz-tile-img {
    opacity: 1 !important;
    filter: none !important;
    transform: translateY(-2px) !important;
}

.mx-besatz-tile:hover:not(.disabled):not(.active) .mx-besatz-tile-img {
    opacity: 0.75 !important;
}

.mx-besatz-tile.disabled {
    cursor: not-allowed !important;
}
.mx-besatz-tile.disabled .mx-besatz-tile-img {
    opacity: 0.2 !important;
    filter: grayscale(80%) !important;
}
.mx-besatz-tile.disabled .mx-besatz-tile-label {
    opacity: 0.4 !important;
}

@media (max-width: 660px) {
    .mx-besatz-tiles {
        grid-template-columns: repeat(3, 1fr) !important;
    }
    .mx-besatz-tile {
        max-width: 100% !important;
    }
}

/* ================================================================
   SCHLITZUNGSMUSTER INFO-POPUP (Entgratwalze)
   ================================================================ */

/* Info icon wrap */
.mx-schlitz-info-wrap {
    align-items: center !important;
    margin-left: 4px !important;
    cursor: pointer !important;
    vertical-align: middle !important;
}

/* Popup – fixed to body, positioned by JS */
.mx-schlitz-popup {
    position: fixed !important;
    z-index: 999999 !important;
    background: var(--mx-red) !important;
    border-radius: 16px !important;
    width: 832px;
    padding: 24px 28px 22px !important;
    box-sizing: border-box !important;
    box-shadow: 0 6px 30px rgba(0,0,0,0.35) !important;
    display: none;
}

/* Right-pointing arrow – JS sets --schlitz-arrow-top */
.mx-schlitz-popup-arrow {
    position: absolute !important;
    top: var(--schlitz-arrow-top, 50%) !important;
    right: -30px !important;
    transform: translateY(-50%) !important;
    width: 0 !important;
    height: 0 !important;
    border-top: 32px solid transparent !important;
    border-bottom: 32px solid transparent !important;
    border-left: 32px solid var(--mx-red) !important;
    border-right: none !important;
    background: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* Close button – simple × only */
.mx-schlitz-popup-close {
    position: absolute !important;
    top: 10px !important;
    right: 14px !important;
    background: none !important;
    border: none !important;
    color: #fff !important;
    font-size: 24px !important;
    line-height: 1 !important;
    cursor: pointer !important;
    padding: 0 !important;
    width: auto !important;
    height: auto !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    opacity: 0.8;
    transition: opacity 0.15s ease !important;
}
.mx-schlitz-popup-close:hover {
    opacity: 1 !important;
    background: none !important;
}

/* 3-column layout */
.mx-schlitz-popup-columns {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 0 !important;
}

/* Each column */
.mx-schlitz-popup-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 0 16px !important;
}

/* Vertical dividers */
.mx-schlitz-popup-col + .mx-schlitz-popup-col {
    border-left: 1px solid rgba(255,255,255,0.35) !important;
}

/* Column header */
.mx-schlitz-popup-header {
    color: #fff !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 8px !important;
    line-height: 1.3 !important;
}

/* Lamella image – NO white background */
.mx-schlitz-popup-img-wrap {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    flex: 1 !important;
    min-height: 0 !important;
    background: none !important;
    border: none !important;
    padding: 0 !important;
}
.mx-schlitz-popup-img-wrap img {
    max-width: 130px !important;
    max-height: 180px !important;
    object-fit: contain !important;
}

/* Horizontal divider line below image */
.mx-schlitz-popup-divider {
    width: 80% !important;
    height: 1px !important;
    background: rgba(255,255,255,0.4) !important;
    margin: 8px auto !important;
    flex-shrink: 0 !important;
}

/* Bottom row: description left + Blech SVG right */
.mx-schlitz-popup-bottom {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    gap: 8px !important;
    flex-shrink: 0 !important;
}

/* Description text */
.mx-schlitz-popup-desc {
    color: #fff !important;
    font-size: 10px !important;
    font-weight: 800 !important;
    letter-spacing: 0.3px !important;
    line-height: 1.3 !important;
    text-align: left !important;
    flex: 1 !important;
}

/* Blech SVG */
.mx-schlitz-popup-blech {
    flex-shrink: 0 !important;
}
.mx-schlitz-popup-blech img {
    width: 55px !important;
    height: auto !important;
}

/* Invisible backdrop for closing */
.mx-schlitz-popup-backdrop {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 999998 !important;
    display: none;
}

/* ── Responsive ── */
@media (max-width: 1400px) {
    .mx-schlitz-popup { width: 680px !important; padding: 20px 20px 18px !important; }
    .mx-schlitz-popup-img-wrap img { max-width: 110px !important; max-height: 150px !important; }
}
@media (max-width: 1100px) {
    .mx-schlitz-popup { width: 560px !important; padding: 18px 16px 16px !important; }
    .mx-schlitz-popup-header { font-size: 11px !important; }
    .mx-schlitz-popup-img-wrap img { max-width: 90px !important; max-height: 130px !important; }
    .mx-schlitz-popup-blech img { width: 45px !important; }
    .mx-schlitz-popup-desc { font-size: 9px !important; }
}
@media (max-width: 780px) {
    .mx-schlitz-popup { width: 92vw !important; max-width: 560px !important; }
    .mx-schlitz-popup-arrow { display: none !important; }
}
@media (max-width: 500px) {
    .mx-schlitz-popup-columns { grid-template-columns: 1fr !important; gap: 16px !important; }
    .mx-schlitz-popup-col + .mx-schlitz-popup-col { border-left: none !important; border-top: 1px solid rgba(255,255,255,0.35) !important; padding-top: 14px !important; }
    .mx-schlitz-popup { padding: 16px 14px 14px !important; }
}