/* ==========================================================================
   LOKALE DSGVO-KONFORME SCHRIFTART: FREDOKA BOLD
   ========================================================================== */
@font-face {
  font-family: 'Fredoka Local';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/fredoka-v17-latin-700.woff2') format('woff2');
}

/* ==========================================================================
   BASIS-LAYOUT & DYNAMISCHES GRID
   ========================================================================== */

/* Basis-Layout: Untereinander auf dem Handy */
.config-grid-layout { 
    display: grid; 
    grid-template-columns: 1fr; 
    gap: 20px; 
}

/* Tablet & Desktop: Zwei Spalten nebeneinander */
@media (min-width: 768px) { 
    .config-grid-layout { 
        grid-template-columns: 1fr 1fr; 
        align-items: stretch; /* Zwingt beide Hauptspalten auf exakt die gleiche Höhe */
    } 
    
    /* Zwingt die rechte Spalte (Perlen + Notizen), sich über die volle Höhe zu strecken */
    .config-grid-layout > div:last-child {
        display: flex;
        flex-direction: column;
        gap: 15px;
        height: 100%;
    }
    
    /* Macht die Anmerkungs-Box flexibel */
    .config-grid-layout > div:last-child .stak-config-box:last-child {
        display: flex;
        flex-direction: column;
        flex: 1; /* Füllt den verbleibenden Platz nach unten komplett aus */
    }
    
    /* Das Textfeld füllt jetzt den gesamten, neu gewonnenen Platz elastisch aus */
    #stak-customer-notes {
        flex: 1;
        height: auto !important; /* Überschreibt die feste Höhe aus dem Template */
        min-height: 82px;
    }
}

/* ==========================================================================
   KOMPONENTEN & FIXES (VORSCHAU, WARENKORB & DRAG-AND-DROP)
   ========================================================================== */

/* Fix für die Anhängern-Vorschau (Handy-Scrollen) */
#preview-container {
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: flex-start; 
    overflow-x: auto;
    -webkit-overflow-scrolling: touch; /* Sanftes Scrollen für iPhone */
    padding: 0 40px; 
    position: relative;
}

.stak-live-watermark {
    position: absolute;
    inset: 0 0 auto;
    height: 180px;
    z-index: 20;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    overflow: hidden;
    border-radius: 15px;
    pointer-events: none;
    user-select: none;
    opacity: var(--stak-watermark-opacity, 0.10);
}

.stak-live-watermark span {
    color: #7f3f4d;
    font-size: var(--stak-watermark-font-size, 14px);
    font-weight: 700;
    line-height: 1.15;
    text-align: center;
    white-space: nowrap;
    transform: rotate(-16deg);
}

@media (max-width: 520px) {
    .stak-live-watermark {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .stak-live-watermark span:nth-child(3) {
        display: none;
    }
}

/* Verhindert, dass die Perlen auf dem Handy zusammengedrückt werden */
#live-chain {
    background-color: white !important;
    display: flex !important;
    visibility: visible !important;
}

/* Verhindert, dass Lazy Loading das Bild im Warenkorb "leer" lässt */
.skip-lazy {
    opacity: 1 !important;
    display: block !important;
}

/* Verhindert Text-Markierung beim Verschieben (Drag & Drop) */
#parts-list-ui div { 
    touch-action: none; 
    user-select: none; 
    -webkit-user-select: none; 
}

/* Sichtbare Einfügeposition beim Drag & Drop im Reihenfolge-Manager. */
#parts-list-ui .stak-sort-item {
    overflow: visible;
}

#parts-list-ui .stak-sort-item.stak-is-dragging {
    opacity: 0.48 !important;
}

#parts-list-ui .stak-sort-item.stak-drop-before,
#parts-list-ui .stak-sort-item.stak-drop-after {
    box-shadow: 0 0 0 2px rgba(255, 59, 136, 0.20) !important;
}

#parts-list-ui .stak-sort-item.stak-drop-before::before,
#parts-list-ui .stak-sort-item.stak-drop-after::before {
    content: "";
    position: absolute;
    top: -6px;
    bottom: -6px;
    width: 5px;
    border-radius: 999px;
    background: var(--stak-accent, #ff3b88);
    box-shadow: 0 0 0 2px #fff, 0 0 9px rgba(255, 59, 136, 0.55);
    pointer-events: none;
    z-index: 80;
}

#parts-list-ui .stak-sort-item.stak-drop-before::before {
    left: -9px;
}

#parts-list-ui .stak-sort-item.stak-drop-after::before {
    right: -9px;
}

#parts-list-ui .stak-sort-item.stak-drop-blocked {
    box-shadow: inset 0 0 0 2px #d63638 !important;
    opacity: 0.72;
}

/* Klick-Effekt für Buttons */
#btn-add-linse:active, #btn-add-rund:active, #btn-add-hexagon:active, 
button[onclick="addLetterPart()"]:active, button[onclick="addMotivPart()"]:active { 
    transform: scale(0.96); 
    background-color: #f0f0f0 !important; 
    transition: transform 0.1s; 
}
    
/* Macht die Konfigurator-Details im Warenkorb lesbarer */
.wc-item-meta {
    display: block;
    margin-top: 5px;
}

.wc-item-meta li {
    display: block !important; /* Erzwingt Zeilenumbruch pro Detail */
    margin-bottom: 2px;
}

.wc-item-meta li strong {
    color: #555; /* Etwas dunkler für besseren Kontrast */
}

/* Verhindert, dass die Pfeile den Klick am Desktop "verschlucken" */
.move-left, .move-right, .remove-part {
    user-select: none;
    -webkit-user-drag: none;
    pointer-events: auto !important;
}

/* ==========================================================================
   BUCHSTABENART: KUNSTSTOFF, SILIKON UND HOLZ
   ========================================================================== */

.stak-letter-material-wrap {
    margin-bottom: 15px;
}

.stak-letter-material-label {
    display: block;
    margin: 0 0 5px;
    font-size: 11px;
    font-weight: 700;
    color: #666;
}

.stak-letter-material-select {
    width: 100%;
    min-height: 44px;
    padding: 10px 38px 10px 12px;
    border: 1px solid var(--stak-accent);
    border-radius: 8px;
    background: #fff;
    color: #333;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.25;
    box-sizing: border-box;
}

.stak-letter-material-select:focus {
    outline: 2px solid var(--stak-accent);
    outline-offset: 1px;
}

.stak-letter-material-price-hint {
    min-height: 17px;
    margin-top: 5px;
    padding: 0 2px;
    color: #777;
    font-size: 11px;
    line-height: 1.35;
}

@media (max-width: 480px) {
    .stak-letter-material-select {
        min-height: 46px;
        font-size: 15px;
    }
}

/* Holz-Buchstaben in heller Buchenoptik – vollständig per CSS, ohne Bilddatei. */
.stak-letter-bead.stak-letter-bead-wood {
    background-color: #d8b37a !important;
    background-image:
        repeating-linear-gradient(8deg, rgba(105, 70, 36, 0.13) 0, rgba(105, 70, 36, 0.13) 1px, transparent 1px, transparent 6px),
        linear-gradient(135deg, #f0d5a5 0%, #d8b37a 48%, #c89659 100%) !important;
    border-color: #9f7445 !important;
    color: #3e2a18 !important;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.28), inset 0 5px 8px rgba(255,255,255,.18), 0 1px 2px rgba(69,42,20,.16) !important;
    text-shadow: 0 1px 0 rgba(255,255,255,.42) !important;
}

/* ==========================================================================
   WARENKORB: RESPONSIVE KONFIGURATOR-VORSCHAU
   Nur der Konfigurator erhält die größere Thumbnail-Darstellung.
   ========================================================================== */
.woocommerce-cart tr.stak-configurator-cart-item td.product-thumbnail {
    width: clamp(260px, 24vw, 380px) !important;
    min-width: clamp(260px, 24vw, 380px) !important;
    max-width: clamp(260px, 24vw, 380px) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    vertical-align: middle !important;
    overflow: visible !important;
}

.woocommerce-cart tr.stak-configurator-cart-item .stak-cart-preview-wrap {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 auto !important;
}

.woocommerce-cart tr.stak-configurator-cart-item img.stak-cart-preview-image {
    display: block !important;
    width: clamp(240px, 21vw, 340px) !important;
    max-width: 100% !important;
    min-width: 0 !important;
    height: auto !important;
    margin: 12px auto !important;
    object-fit: contain !important;
    border-radius: 8px !important;
    border: 1px solid #eee !important;
    background: #fff !important;
    float: none !important;
}

@media screen and (max-width: 768px) {
    .woocommerce-cart tr.stak-configurator-cart-item td.product-thumbnail {
        width: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        padding-left: 10px !important;
        padding-right: 10px !important;
        overflow: visible !important;
    }

    .woocommerce-cart tr.stak-configurator-cart-item img.stak-cart-preview-image {
        width: min(92vw, 520px) !important;
        max-width: min(92vw, 520px) !important;
        min-width: 0 !important;
        margin: 16px auto !important;
    }
}


/* Produkt-Dropdowns mit Vorschaubild – 6.2.2 */
.stak-native-select-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
    overflow: hidden !important;
}

.stak-rich-select {
    position: relative;
    width: 100%;
    min-width: 0;
    z-index: 20;
}

.stak-rich-select.is-open { z-index: 1000; }

.stak-rich-select-trigger,
.stak-rich-select-option {
    width: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 1px solid var(--stak-accent);
    background: #fff;
    color: #333;
    text-align: left;
}

.stak-rich-select-trigger {
    min-height: 48px;
    padding: 6px 9px;
    border-radius: 8px;
    cursor: pointer;
}

.stak-rich-select-current {
    display: flex;
    align-items: center;
    gap: 9px;
    min-width: 0;
    flex: 1;
}

.stak-rich-select-arrow { flex: 0 0 auto; font-size: 18px; line-height: 1; }

.stak-rich-select-menu {
    display: none;
    position: absolute;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    width: 100%;
    max-height: min(330px, 48vh);
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    border: 1px solid var(--stak-accent);
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0,0,0,.18);
}

.stak-rich-select.is-open .stak-rich-select-menu { display: block; }

.stak-rich-select-option {
    min-height: 54px;
    padding: 7px 9px;
    border: 0;
    border-bottom: 1px solid #eee;
    border-radius: 0;
    cursor: pointer;
}

.stak-rich-select-option:last-child { border-bottom: 0; }
.stak-rich-select-option:hover,
.stak-rich-select-option[aria-selected="true"] { background: #f7f7f7; }
.stak-rich-select-option:disabled { opacity: .48; cursor: not-allowed; }

.stak-rich-select-image {
    width: 38px;
    height: 38px;
    min-width: 38px;
    object-fit: contain;
    border-radius: 6px;
    background: #fff;
}

.stak-rich-select-image-placeholder {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #eee;
}

.stak-rich-select-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.stak-rich-select-name { font-size: 12px; font-weight: 700; line-height: 1.2; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.stak-rich-select-status { margin-top: 2px; font-size: 10px; line-height: 1.15; color: #777; }
.stak-rich-select-check { flex: 0 0 auto; font-weight: 700; }

#clip-variant-select + .stak-rich-select { margin-bottom: 15px; }

@media (max-width: 600px) {
    .stak-rich-select-menu {
        max-height: min(280px, 42vh);
        max-width: calc(100vw - 34px);
    }
    .stak-rich-select-trigger { min-height: 44px; padding: 5px 7px; }
    .stak-rich-select-option { min-height: 48px; padding: 5px 7px; }
    .stak-rich-select-image { width: 32px; height: 32px; min-width: 32px; }
    .stak-rich-select-name { font-size: 11px; }
    .stak-rich-select-status { font-size: 9px; }
}

/* In vorhandenen Flex-Zeilen teilt sich das Rich-Dropdown den Platz sauber. */
.stak-rich-select { flex: 1 1 0; }


/* Motivauswahl: breite Bildliste mit Suche, geschlossene Auswahl ohne Miniaturbild. */
.stak-rich-select--motiv-main .stak-rich-select-trigger {
    min-height: 40px;
}
.stak-rich-select--motiv-main .stak-rich-select-menu {
    width: min(560px, calc(100vw - 32px));
    right: auto;
    max-height: min(520px, 68vh);
}
.stak-rich-select--motiv-main .stak-rich-select-option {
    min-height: 74px;
    padding: 8px 10px;
}
.stak-rich-select--motiv-main .stak-rich-select-image {
    width: 58px;
    height: 58px;
    min-width: 58px;
}
.stak-rich-select--motiv-main .stak-rich-select-name {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 13px;
}
.stak-rich-select--motiv-main .stak-rich-select-status { font-size: 11px; }
.stak-rich-select-search-wrap {
    position: sticky;
    top: 0;
    z-index: 3;
    padding: 9px;
    background: #fff;
    border-bottom: 1px solid #eee;
}
.stak-rich-select-search {
    display: block;
    width: 100%;
    min-height: 42px;
    box-sizing: border-box;
    padding: 8px 11px;
    border: 1px solid var(--stak-accent);
    border-radius: 8px;
    background: #fff;
    color: #333;
    font: inherit;
}
.stak-rich-select-search:focus {
    outline: 2px solid color-mix(in srgb, var(--stak-accent) 28%, transparent);
    outline-offset: 1px;
}
.stak-rich-select-option[hidden] { display: none !important; }
#motiv-preview-img.stak-motiv-preview-change { animation: stakMotivPreviewIn .18s ease-out; }
@keyframes stakMotivPreviewIn {
    from { opacity: .2; transform: scale(.96); }
    to { opacity: 1; transform: scale(1); }
}

@media (max-width: 600px) {
    .stak-rich-select--motiv-main.stak-legacy-popup.is-open .stak-rich-select-menu {
        position: fixed;
        z-index: 100000;
        top: 8vh;
        left: 12px;
        right: 12px;
        width: auto;
        max-width: none;
        max-height: 84vh;
        border-radius: 12px;
        box-shadow: 0 14px 46px rgba(0,0,0,.28);
    }
    .stak-rich-select--motiv-main .stak-rich-select-option {
        min-height: 72px;
        padding: 7px 9px;
    }
    .stak-rich-select--motiv-main .stak-rich-select-image {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }
    .stak-rich-select--motiv-main .stak-rich-select-name { font-size: 12px; }
    .stak-rich-select--motiv-main .stak-rich-select-status { font-size: 10px; }
}

/* Motiv- und Variantenauswahl: Desktop-Dialog, mobil als Bottom Sheet. */
html.stak-motiv-sheet-open,
body.stak-motiv-sheet-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
}

body.stak-motiv-sheet-open {
    touch-action: none;
}

/* Der Dialog selbst und seine scrollbaren Listen bleiben bedienbar. */
body.stak-motiv-sheet-open .stak-rich-select.is-open .stak-rich-select-menu,
body.stak-motiv-sheet-open .stak-rich-select.is-open .stak-rich-select-dialog-options,
body.stak-motiv-sheet-open .stak-rich-select.is-open .stak-rich-select-bead-options {
    touch-action: pan-y;
}

body.stak-motiv-sheet-open::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 99998;
    background: rgba(0, 0, 0, .46);
    animation: stakSheetBackdropIn .2s ease-out;
}
:is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant).is-open {
    z-index: 99999;
}
:is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-menu,
:is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant).is-open .stak-rich-select-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 99999;
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: min(900px, calc(100vw - 48px));
    max-width: none;
    height: min(78vh, 720px);
    max-height: calc(100vh - 48px);
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(0, 0, 0, .34);
    transform: translate(-50%, -48%) scale(.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .2s ease-out, opacity .2s ease-out, visibility 0s linear .2s;
}
:is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant).is-open .stak-rich-select-menu {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .2s ease-out, opacity .2s ease-out;
}
.stak-rich-select-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex: 0 0 auto;
    min-height: 66px;
    padding: 12px 20px;
    border-bottom: 1px solid #e9e9e9;
    background: #fff;
    font-size: 18px;
}
.stak-rich-select-sheet-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f1f1f1;
    color: #333;
    font: 700 27px/1 sans-serif;
    cursor: pointer;
}
.stak-rich-select-sheet-close:hover,
.stak-rich-select-sheet-close:focus-visible {
    background: #e7e7e7;
    outline: none;
}
.stak-rich-select-dialog-options {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 10px 14px 16px;
    background: #fff;
}
:is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-option {
    min-height: 86px;
    margin: 0;
    padding: 10px 14px;
    border-radius: 12px;
}
:is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-option + .stak-rich-select-option {
    margin-top: 6px;
}
:is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-option:hover:not(:disabled),
:is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-option[aria-selected="true"] {
    background: color-mix(in srgb, var(--stak-accent) 10%, #fff);
}
:is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-image {
    width: 66px;
    height: 66px;
    min-width: 66px;
    border-radius: 10px;
}
:is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-name {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    font-size: 15px;
    line-height: 1.35;
}
:is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-status {
    margin-top: 4px;
    font-size: 12px;
}

@media (max-width: 600px) {
    :is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-menu,
    :is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant).is-open .stak-rich-select-menu {
        top: auto;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: min(88vh, 760px);
        height: min(88svh, 760px);
        max-height: calc(100vh - 20px);
        max-height: calc(100svh - 20px);
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -14px 45px rgba(0, 0, 0, .3);
        transform: translateY(105%);
        opacity: 1;
        transition: transform .24s ease-out, visibility 0s linear .24s;
    }
    :is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant).is-open .stak-rich-select-menu {
        transform: translateY(0);
        transition: transform .24s ease-out;
    }
    .stak-rich-select-sheet-header {
        min-height: 58px;
        padding: max(10px, env(safe-area-inset-top)) 16px 10px;
        font-size: 16px;
    }
    .stak-rich-select-sheet-close {
        width: 38px;
        height: 38px;
        font-size: 25px;
    }
    .stak-rich-select-dialog-options {
        padding: 6px 8px max(12px, env(safe-area-inset-bottom));
    }
    :is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-option {
        min-height: 74px;
        padding: 8px 10px;
        border-radius: 9px;
    }
    :is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-option + .stak-rich-select-option {
        margin-top: 2px;
    }
    :is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-image {
        width: 54px;
        height: 54px;
        min-width: 54px;
    }
    :is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-name { font-size: 12px; }
    :is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-status { font-size: 10px; }
}
@keyframes stakSheetBackdropIn { from { opacity: 0; } to { opacity: 1; } }

/* 6.2.7: bewusste Variantenauswahl statt automatischer Vorauswahl */
.stak-rich-select--motiv-variant .stak-rich-select-placeholder {
    opacity: .72;
    font-weight: 600;
}

/* 6.3.4: Mobile Motive etwas größer; Zwischenräume steuert weiterhin nur „visueller Abstand“. */
.stak-renderchain-motiv-slot {
    overflow: visible;
}

@media (max-width: 600px) {
    #live-chain .stak-renderchain-motiv-slot {
        width: 56px !important;
        height: 56px !important;
        flex-basis: 56px !important;
    }

    #live-chain .stak-renderchain-motiv-slot img.stak-renderchain-product-image {
        width: 56px !important;
        height: 56px !important;
        max-width: 56px !important;
        max-height: 56px !important;
        object-fit: contain !important;
        object-position: center !important;
    }
}


/* 6.3.8: Motivauswahl verwendet denselben Dialog wie die Variantenauswahl. */
:is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-search-wrap {
    position: relative;
    top: auto;
    flex: 0 0 auto;
    padding: 10px 14px;
}
.stak-rich-select-motiv-options {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 10px 14px 16px;
}
@media (max-width: 600px) {
    :is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant) .stak-rich-select-search-wrap { padding: 8px; }
    .stak-rich-select-motiv-options { padding: 6px 8px max(12px, env(safe-area-inset-bottom)); }
}


/* Kompakter mobiler Bedienbereich – 6.3.10 */
.stak-config-actions { position: relative; }
.stak-action-icon { line-height: 1; }

@media (max-width: 600px) {
    #anhaenger-konfigurator {
        padding: 12px !important;
    }

    .stak-config-actions {
        display: grid !important;
        grid-template-columns: repeat(12, minmax(0, 1fr));
        align-items: center;
        gap: 6px !important;
        margin: 0 0 9px !important;
        padding: 0 !important;
    }

    .stak-config-actions .stak-action {
        box-sizing: border-box;
        min-width: 0;
        width: 100%;
        min-height: 36px;
        padding: 5px 7px !important;
        margin: 0 !important;
        justify-content: center !important;
        font-size: 11px !important;
        line-height: 1.1;
        gap: 4px !important;
        white-space: normal;
        text-align: center;
        box-shadow: none !important;
    }

    .stak-config-actions .stak-action-clear { grid-column: 1 / 5; grid-row: 1; }
    .stak-config-actions .stak-action-load  { grid-column: 5 / 9; grid-row: 1; }

    .stak-config-actions .stak-action-set-save { grid-column: 1 / 7; grid-row: 2; }
    .stak-config-actions .stak-action-set-import { grid-column: 7 / 13; grid-row: 2; }
    .stak-config-actions .stak-action-set-save,
    .stak-config-actions .stak-action-set-import {
        min-height: 44px;
        align-self: stretch;
        line-height: 1.25;
        overflow-wrap: anywhere;
    }
    .stak-config-actions #st-set-notice {
        grid-column: 1 / -1;
        grid-row: 5;
        min-width: 0;
        overflow-wrap: anywhere;
    }

    .stak-config-actions .stak-action-undo,
    .stak-config-actions .stak-action-redo {
        position: static;
        width: 32px !important;
        height: 32px;
        min-height: 32px;
        padding: 0 !important;
        border-radius: 10px !important;
        background: #fff !important;
        font-size: 20px !important;
        line-height: 1 !important;
    }

    .stak-config-actions .stak-action-undo { grid-column: 9 / 11; grid-row: 1; justify-self: center; }
    .stak-config-actions .stak-action-redo { grid-column: 11 / 13; grid-row: 1; justify-self: center; }

    .stak-config-actions .stak-action-undo .stak-action-label,
    .stak-config-actions .stak-action-redo .stak-action-label { display: none; }

    .stak-config-actions .stak-action-help {
        grid-column: 1 / 7;
        grid-row: 3;
        min-height: 34px;
        padding-block: 4px !important;
        font-size: 11px !important;
    }

    .stak-config-actions .stak-action-prices {
        grid-column: 7 / 13;
        grid-row: 3;
        min-height: 34px;
        padding-block: 4px !important;
        font-size: 11px !important;
    }

    .stak-config-actions .stak-action-help > span {
        width: 16px !important;
        height: 16px !important;
        flex: 0 0 16px;
        font-size: 9px !important;
    }

    .stak-config-actions .stak-action-preview {
        grid-column: 1 / -1;
        grid-row: 4;
        width: max-content;
        max-width: 100%;
        min-height: 32px;
        padding: 4px 13px !important;
        justify-self: center;
    }
}


/* ========================================================================== 
   6.3.12 – KOMPAKTER REIHENFOLGE-MANAGER AUF SMARTPHONES
   Die sichtbaren Karten werden kleiner; alle wichtigen Touch-Ziele bleiben
   mindestens etwa 42–44 px groß.
   ========================================================================== */
@media (max-width: 767px) {
    #parts-manager {
        padding: 12px 10px !important;
        margin-bottom: 16px !important;
        border-radius: 13px !important;
    }

    #parts-manager > label {
        margin-bottom: 6px !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
    }

    #parts-list-ui {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 8px !important;
        padding: 4px !important;
        align-items: stretch !important;
    }

    #parts-list-ui .stak-sort-item {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 84px !important;
        padding: 6px 4px !important;
        border-radius: 9px !important;
        cursor: grab;
    }

    #parts-list-ui .stak-sort-item-letter {
        min-height: 76px !important;
        gap: 2px !important;
    }

    #parts-list-ui .stak-sort-item-letter strong {
        font-size: 17px !important;
        line-height: 1 !important;
    }

    #parts-list-ui .stak-sort-item-letter span {
        font-size: 8px !important;
        line-height: 1.1 !important;
        margin-top: 3px !important;
    }

    #parts-list-ui .move-buttons {
        width: 100% !important;
        justify-content: center !important;
        gap: 3px !important;
        margin: 0 0 3px !important;
    }

    #parts-list-ui .move-left,
    #parts-list-ui .move-right {
        width: 42px !important;
        min-width: 0 !important;
        height: 32px !important;
        min-height: 32px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 6px !important;
        font-size: 11px !important;
        line-height: 32px !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
    }

    #parts-list-ui .stak-sort-product-image {
        width: 28px !important;
        height: 28px !important;
    }

    #parts-list-ui .remove-part {
        position: absolute !important;
        left: 50% !important;
        bottom: -7px !important;
        transform: translateX(-50%) !important;
        width: 44px !important;
        height: 28px !important;
        min-width: 44px !important;
        min-height: 28px !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 999px !important;
        color: #fff !important;
        font-size: 14px !important;
        line-height: 28px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 10 !important;
        cursor: pointer !important;
        touch-action: manipulation !important;
    }

    #parts-list-ui .stak-sort-item-product {
        margin-bottom: 7px !important;
    }
}

@media (max-width: 380px) {
    #parts-list-ui {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

/* ========================================================================== 
   6.3.13 – FESTES, KOMPAKTES MOBIL-GRID FÜR DEN REIHENFOLGE-MANAGER
   Rein visuelle Anpassung: Drag & Drop, Pfeile, Löschen und Regeln bleiben
   vollständig in der bestehenden JavaScript-Logik.
   ========================================================================== */
@media (max-width: 767px) {
    #parts-manager {
        padding: 10px 8px !important;
    }

    #parts-list-ui {
        grid-template-columns: repeat(auto-fill, 76px) !important;
        justify-content: center !important;
        align-items: start !important;
        gap: 8px !important;
        padding: 3px 0 8px !important;
    }

    #parts-list-ui .stak-sort-item {
        width: 76px !important;
        min-width: 76px !important;
        max-width: 76px !important;
        min-height: 78px !important;
        padding: 5px 3px !important;
        box-sizing: border-box !important;
    }

    #parts-list-ui .stak-sort-item-letter {
        min-height: 78px !important;
    }

    #parts-list-ui .stak-sort-item-letter strong {
        font-size: 16px !important;
    }

    #parts-list-ui .stak-sort-item-letter span {
        font-size: 8px !important;
        margin-top: 2px !important;
    }

    #parts-list-ui .move-buttons {
        gap: 4px !important;
        margin-bottom: 2px !important;
    }

    #parts-list-ui .move-left,
    #parts-list-ui .move-right {
        width: 34px !important;
        height: 34px !important;
        min-width: 34px !important;
        min-height: 34px !important;
        line-height: 34px !important;
        font-size: 11px !important;
    }

    #parts-list-ui .stak-sort-product-image {
        width: 27px !important;
        height: 27px !important;
    }

    #parts-list-ui .remove-part {
        bottom: -8px !important;
        width: 42px !important;
        min-width: 42px !important;
        height: 28px !important;
        min-height: 28px !important;
    }

    #parts-list-ui .stak-sort-item-product {
        margin-bottom: 8px !important;
    }
}

@media (max-width: 359px) {
    #parts-list-ui {
        grid-template-columns: repeat(auto-fill, 72px) !important;
        gap: 7px !important;
    }

    #parts-list-ui .stak-sort-item {
        width: 72px !important;
        min-width: 72px !important;
        max-width: 72px !important;
    }

    #parts-list-ui .move-left,
    #parts-list-ui .move-right {
        width: 32px !important;
        min-width: 32px !important;
    }
}

/* ========================================================================== 
   6.3.14 – DICHTER, INHALTSBASIERTER REIHENFOLGE-MANAGER AUF MOBILGERÄTEN
   Nur Darstellung: bestehende Drag-, Pfeil-, Lösch- und Undo/Redo-Logik bleibt.
   ========================================================================== */
@media (max-width: 767px) {
    #parts-manager {
        min-height: 0 !important;
        height: auto !important;
        padding: 10px 8px 12px !important;
    }

    #parts-manager > label {
        display: block !important;
        margin: 0 0 8px !important;
    }

    #parts-list-ui {
        display: grid !important;
        grid-template-columns: repeat(auto-fit, 68px) !important;
        grid-auto-rows: max-content !important;
        justify-content: start !important;
        align-content: start !important;
        align-items: start !important;
        gap: 8px !important;
        width: 100% !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 0 2px 2px !important;
        overflow: visible !important;
    }

    #parts-list-ui .stak-sort-item {
        width: 68px !important;
        min-width: 68px !important;
        max-width: 68px !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 5px 3px !important;
        align-self: start !important;
    }

    #parts-list-ui .stak-sort-item-letter {
        height: 68px !important;
        min-height: 68px !important;
        padding: 5px 3px !important;
        gap: 0 !important;
    }

    #parts-list-ui .stak-sort-item-letter strong {
        font-size: 18px !important;
        line-height: 1 !important;
    }

    /* Das Material wird bereits zentral im Bereich „Namen hinzufügen“ angezeigt. */
    #parts-list-ui .stak-sort-item-letter span {
        display: none !important;
    }

    #parts-list-ui .stak-sort-item-product {
        min-height: 92px !important;
        margin: 0 0 8px !important;
        padding: 4px 2px 12px !important;
        justify-content: flex-start !important;
    }

    #parts-list-ui .move-buttons {
        width: 100% !important;
        gap: 3px !important;
        margin: 0 0 4px !important;
    }

    #parts-list-ui .move-left,
    #parts-list-ui .move-right {
        width: 30px !important;
        min-width: 30px !important;
        height: 36px !important;
        min-height: 36px !important;
        line-height: 36px !important;
        font-size: 11px !important;
    }

    #parts-list-ui .stak-sort-product-image {
        width: 28px !important;
        height: 28px !important;
        margin: 0 !important;
    }

    #parts-list-ui .remove-part {
        bottom: -7px !important;
        width: 40px !important;
        min-width: 40px !important;
        height: 27px !important;
        min-height: 27px !important;
        line-height: 27px !important;
        font-size: 13px !important;
    }
}

@media (max-width: 359px) {
    #parts-list-ui {
        grid-template-columns: repeat(auto-fit, 64px) !important;
        gap: 7px !important;
    }

    #parts-list-ui .stak-sort-item {
        width: 64px !important;
        min-width: 64px !important;
        max-width: 64px !important;
    }

    #parts-list-ui .stak-sort-item-letter {
        height: 64px !important;
        min-height: 64px !important;
    }

    #parts-list-ui .move-left,
    #parts-list-ui .move-right {
        width: 28px !important;
        min-width: 28px !important;
    }
}

/* ========================================================================== 
   6.3.15 – TATSÄCHLICH KOMPAKTE MOBILE REIHENFOLGE-KARTEN
   Ausschließlich Darstellung. Die vorhandenen Klick-, Drag-, Lösch- und
   Undo/Redo-Handler bleiben unverändert.
   ========================================================================== */
@media (max-width: 767px) {
    #parts-manager {
        padding: 8px 6px 10px !important;
    }

    #parts-manager > label {
        margin-bottom: 6px !important;
        line-height: 1.2 !important;
    }

    #parts-list-ui {
        grid-template-columns: repeat(auto-fill, 56px) !important;
        gap: 6px !important;
        padding: 0 !important;
        justify-content: start !important;
    }

    #parts-list-ui .stak-sort-item {
        width: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        padding: 3px 2px !important;
        border-radius: 8px !important;
    }

    #parts-list-ui .stak-sort-item-letter {
        width: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        height: 58px !important;
        min-height: 58px !important;
        padding: 2px !important;
    }

    #parts-list-ui .stak-sort-item-letter strong {
        font-size: 15px !important;
        line-height: 1 !important;
    }

    #parts-list-ui .stak-sort-item-product {
        width: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        min-height: 76px !important;
        padding: 3px 1px 10px !important;
        margin-bottom: 5px !important;
    }

    #parts-list-ui .move-buttons {
        gap: 2px !important;
        margin-bottom: 2px !important;
    }

    #parts-list-ui .move-left,
    #parts-list-ui .move-right {
        width: 25px !important;
        min-width: 25px !important;
        height: 27px !important;
        min-height: 27px !important;
        padding: 0 !important;
        border-radius: 5px !important;
        font-size: 10px !important;
        line-height: 27px !important;
    }

    #parts-list-ui .stak-sort-product-image {
        width: 25px !important;
        height: 25px !important;
    }

    #parts-list-ui .remove-part {
        bottom: -5px !important;
        width: 30px !important;
        min-width: 30px !important;
        height: 23px !important;
        min-height: 23px !important;
        padding: 0 !important;
        font-size: 11px !important;
        line-height: 23px !important;
    }
}

@media (max-width: 359px) {
    #parts-list-ui {
        grid-template-columns: repeat(auto-fill, 52px) !important;
        gap: 5px !important;
    }

    #parts-list-ui .stak-sort-item,
    #parts-list-ui .stak-sort-item-letter,
    #parts-list-ui .stak-sort-item-product {
        width: 52px !important;
        min-width: 52px !important;
        max-width: 52px !important;
    }

    #parts-list-ui .stak-sort-item-letter {
        height: 56px !important;
        min-height: 56px !important;
    }

    #parts-list-ui .move-left,
    #parts-list-ui .move-right {
        width: 23px !important;
        min-width: 23px !important;
    }
}

/* ========================================================================== 
   6.3.16 – MOBILE SORTIERKARTEN NOCH KOMPAKTER
   Nur optische Anpassung; Drag & Drop, Pfeil- und Löschlogik bleiben gleich.
   ========================================================================== */
@media (max-width: 767px) {
    #parts-list-ui {
        grid-template-columns: repeat(auto-fill, 48px) !important;
        gap: 5px !important;
    }

    #parts-list-ui .stak-sort-item,
    #parts-list-ui .stak-sort-item-letter,
    #parts-list-ui .stak-sort-item-product {
        width: 48px !important;
        min-width: 48px !important;
        max-width: 48px !important;
    }

    #parts-list-ui .stak-sort-item-letter {
        height: 50px !important;
        min-height: 50px !important;
        padding: 1px !important;
    }

    #parts-list-ui .stak-sort-item-letter strong {
        font-size: 13px !important;
        line-height: 1 !important;
    }

    #parts-list-ui .stak-sort-item-product {
        min-height: 66px !important;
        padding: 2px 1px 8px !important;
        margin-bottom: 3px !important;
    }

    #parts-list-ui .move-buttons {
        gap: 2px !important;
        margin: 0 0 1px !important;
    }

    #parts-list-ui .move-left,
    #parts-list-ui .move-right {
        position: relative !important;
        width: 21px !important;
        min-width: 21px !important;
        height: 22px !important;
        min-height: 22px !important;
        border-radius: 4px !important;
        font-size: 9px !important;
        line-height: 22px !important;
    }

    /* Unsichtbar vergrößerte Trefferfläche, obwohl der Button klein aussieht. */
    #parts-list-ui .move-left::before,
    #parts-list-ui .move-right::before {
        content: "";
        position: absolute;
        inset: -7px -3px;
    }

    #parts-list-ui .stak-sort-product-image {
        width: 23px !important;
        height: 23px !important;
    }

    #parts-list-ui .remove-part {
        left: auto !important;
        right: -3px !important;
        bottom: -4px !important;
        transform: none !important;
        width: 21px !important;
        min-width: 21px !important;
        height: 21px !important;
        min-height: 21px !important;
        padding: 0 !important;
        border-radius: 50% !important;
        font-size: 10px !important;
        line-height: 21px !important;
    }

    #parts-list-ui .remove-part::before {
        content: "";
        position: absolute;
        inset: -7px;
    }
}

@media (max-width: 359px) {
    #parts-list-ui {
        grid-template-columns: repeat(auto-fill, 46px) !important;
        gap: 4px !important;
    }

    #parts-list-ui .stak-sort-item,
    #parts-list-ui .stak-sort-item-letter,
    #parts-list-ui .stak-sort-item-product {
        width: 46px !important;
        min-width: 46px !important;
        max-width: 46px !important;
    }
}


/* ========================================================================== 
   6.3.17 – MOBILE PERLENAUSWAHL ALS DIALOG + KOMPAKTE FORMENREIHE
   ========================================================================== */
.stak-beads-once-hint { display: none; }

/* Die Farbauswahl verwendet denselben stabilen Dialog wie Motive/Varianten. */
:is(.stak-rich-select--motiv-main, .stak-rich-select--motiv-variant, .stak-rich-select--bead-color).is-open { z-index: 99999; }
:is(.stak-rich-select--bead-color) .stak-rich-select-menu,
:is(.stak-rich-select--bead-color).is-open .stak-rich-select-menu {
    display: flex;
    flex-direction: column;
    position: fixed;
    z-index: 99999;
    top: 50%; left: 50%; right: auto; bottom: auto;
    width: min(900px, calc(100vw - 48px));
    height: min(78vh, 720px);
    max-height: calc(100vh - 48px);
    margin: 0;
    overflow: hidden;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 22px 70px rgba(0,0,0,.34);
    transform: translate(-50%, -48%) scale(.97);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform .2s ease-out, opacity .2s ease-out, visibility 0s linear .2s;
}
:is(.stak-rich-select--bead-color).is-open .stak-rich-select-menu {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition: transform .2s ease-out, opacity .2s ease-out;
}
.stak-rich-select--bead-color .stak-rich-select-option {
    min-height: 86px;
    margin: 0 0 6px;
    padding: 10px 14px;
    border-radius: 12px;
}
.stak-rich-select--bead-color .stak-rich-select-image {
    width: 66px; height: 66px; min-width: 66px; border-radius: 10px;
}
.stak-rich-select--bead-color .stak-rich-select-name { font-size: 15px; white-space: normal; }
.stak-rich-select--bead-color .stak-rich-select-status { font-size: 12px; }

@media (max-width: 600px) {
    .stak-beads-box { padding: 14px !important; }
    .stak-beads-box > label { margin-bottom: 9px !important; }
    #color-main-select + .stak-rich-select, #crochet-variant-select + .stak-rich-select { width: 100%; margin-bottom: 5px; }
    .stak-rich-select--bead-color .stak-rich-select-trigger {
        min-height: 46px;
        padding: 8px 12px;
        border-radius: 9px;
    }
    .stak-rich-select--bead-color .stak-rich-select-menu,
    .stak-rich-select--bead-color.is-open .stak-rich-select-menu {
        top: auto; left: 0; right: 0; bottom: 0;
        width: 100%;
        height: min(88vh, 760px);
        height: min(88svh, 760px);
        max-height: calc(100vh - 20px);
        max-height: calc(100svh - 20px);
        border-radius: 18px 18px 0 0;
        box-shadow: 0 -14px 45px rgba(0,0,0,.3);
        transform: translateY(105%);
        opacity: 1;
        transition: transform .24s ease-out, visibility 0s linear .24s;
    }
    .stak-rich-select--bead-color.is-open .stak-rich-select-menu {
        transform: translateY(0);
        transition: transform .24s ease-out;
    }
    .stak-rich-select-bead-options {
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        overscroll-behavior: contain;
        -webkit-overflow-scrolling: touch;
        padding: 6px 8px max(12px, env(safe-area-inset-bottom));
    }
    .stak-rich-select--bead-color .stak-rich-select-option {
        min-height: 74px;
        margin-bottom: 2px;
        padding: 8px 10px;
        border-radius: 9px;
    }
    .stak-rich-select--bead-color .stak-rich-select-image {
        width: 54px; height: 54px; min-width: 54px;
    }
    .stak-rich-select--bead-color .stak-rich-select-name { font-size: 12px; }
    .stak-rich-select--bead-color .stak-rich-select-status { font-size: 10px; }

    .stak-beads-once-hint {
        display: block;
        margin: 5px 0 7px;
        text-align: center;
        font-size: 11px;
        line-height: 1.2;
        color: #777;
    }
    .stak-bead-options[hidden] {
        display: none !important;
    }
    .stak-bead-options {
        display: grid !important;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 7px !important;
    }
    .stak-bead-option {
        width: 100% !important;
        min-width: 0 !important;
        min-height: 104px;
        padding: 7px 4px !important;
        flex-direction: column !important;
        justify-content: center !important;
        gap: 4px !important;
        text-align: center !important;
    }
    .stak-bead-option img {
        width: 48px !important;
        height: 48px !important;
        min-width: 48px !important;
    }
    .stak-bead-option > div {
        align-items: center !important;
        text-align: center !important;
        min-width: 0;
    }
    .stak-bead-option > div > span:first-child {
        font-size: 10px !important;
        line-height: 1.15 !important;
        white-space: normal;
    }
    .stak-bead-option > div > span:nth-child(2) { display: none !important; }
    .stak-bead-option > div > span[id^="stock-"] {
        font-size: 8px !important;
        line-height: 1.1 !important;
    }
}


/* ========================================================================== 
   6.3.19 – GUTHABEN-HINWEIS SICHER INNERHALB DER VORSCHAU
   ========================================================================== */
@media (max-width: 600px) {
    /* Nur den Hinweis positionieren – die Anhängernvorschau bleibt unangetastet. */
    #stak-price-note {
        left: 12px !important;
        right: 12px !important;
        bottom: 7px !important;
        transform: none !important;
        width: auto !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        font-size: 11px !important;
        line-height: 1.08 !important;
        overflow: hidden !important;
    }

    #stak-price-note > span {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        overflow-wrap: normal !important;
        word-break: normal !important;
    }

    #stak-price-note p {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: inherit !important;
        text-align: center !important;
        white-space: normal !important;
    }
}

/* ========================================================================== 
   6.3.20 – MOBILE VORSCHAU: KETTE FREI UNTER DER LÄNGENANZEIGE
   ========================================================================== */
@media (max-width: 600px) {
    /* Das frühere untere Innenpolster verkleinerte den Flex-Inhaltsbereich und
       schob die komplette Anhänger nach oben. Der Hinweis bleibt absolut unten,
       daher darf er die Zentrierung der Anhänger nicht beeinflussen. */
    #preview-container {
        padding: 0 20px !important;
        align-items: center !important;
    }

    #live-chain {
        transform: translateY(7px);
    }

    /* Hinweis bleibt innerhalb des Rahmens und überlagert die Anhänger nicht. */
    #stak-price-note {
        bottom: 6px !important;
    }
}

/* ========================================================================== 
   6.3.21 – DESTAKOP-DIALOGE KOMPAKTER
   ========================================================================== */
@media (min-width: 601px) {
    :is(
        .stak-rich-select--motiv-main,
        .stak-rich-select--motiv-variant,
        .stak-rich-select--bead-color
    ) .stak-rich-select-menu,
    :is(
        .stak-rich-select--motiv-main,
        .stak-rich-select--motiv-variant,
        .stak-rich-select--bead-color
    ).is-open .stak-rich-select-menu {
        width: min(720px, calc(100vw - 64px));
    }
}


/* ========================================================================== 
   7.0.1 – DESTAKOP-REIHENFOLGE UND PREISHINWEIS
   ========================================================================== */
@media (min-width: 768px) {
    /* Kompaktere Sortierkarten-Bedienung auf Desktop/Laptop. */
    #parts-list-ui .stak-sort-item-product {
        min-height: 132px !important;
        padding: 10px 10px 34px !important;
    }

    #parts-list-ui .move-buttons {
        gap: 6px !important;
        margin: 0 0 8px !important;
    }

    #parts-list-ui .move-left,
    #parts-list-ui .move-right {
        width: 32px !important;
        min-width: 32px !important;
        height: 28px !important;
        min-height: 28px !important;
        padding: 0 !important;
        border-radius: 5px !important;
        font-size: 11px !important;
        line-height: 28px !important;
    }

    #parts-list-ui .remove-part {
        position: absolute !important;
        left: auto !important;
        right: 8px !important;
        bottom: 8px !important;
        transform: none !important;
        width: 30px !important;
        min-width: 30px !important;
        height: 28px !important;
        min-height: 28px !important;
        padding: 0 !important;
        border-radius: 5px !important;
        font-size: 13px !important;
        line-height: 28px !important;
    }

    /* Der Guthabenhinweis bleibt vollständig innerhalb des gestrichelten
       Vorschaurahmens und liegt nicht mehr auf dessen unterer Linie. */
    #stak-price-note {
        bottom: 9px !important;
        transform: none !important;
    }

    #stak-price-note > span {
        background: #fff !important;
        border-radius: 6px !important;
        padding: 2px 9px !important;
    }
}


/* 7.0.27 – Firefox/Android: feste Dialoge unabhängig vom Dokument stabil halten. */
@media (max-width: 600px) {
    :is(
        .stak-rich-select--motiv-main,
        .stak-rich-select--motiv-variant,
        .stak-rich-select--bead-color
    ) .stak-rich-select-menu {
        contain: layout paint;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }
}


/* ==========================================================================
   7.0.29 – PREISÜBERSICHT & GUTHABEN
   ========================================================================== */
.stak-price-modal[hidden] {
    display: none !important;
}
.stak-price-modal {
    position: fixed;
    inset: 0;
    z-index: 10020;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 18px;
    background: rgba(0, 0, 0, .76);
}
.stak-price-modal.is-open {
    display: flex;
}
.stak-price-modal-card {
    position: relative;
    width: min(94vw, 600px);
    max-height: min(86vh, 760px);
    overflow-y: auto;
    padding: 24px;
    border: 2px solid var(--stak-accent);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 20px 70px rgba(0,0,0,.28);
    color: var(--stak-text-color, #333);
}
.stak-price-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    display: grid;
    place-items: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #f4f4f4;
    color: #333;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
}
.stak-price-modal-title {
    margin: 0 48px 18px 0 !important;
    color: var(--stak-accent) !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}
.stak-price-modal-list {
    display: grid;
    gap: 7px;
}
.stak-price-modal-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 11px 13px;
    border: 1px solid color-mix(in srgb, var(--stak-accent) 22%, #ddd);
    border-radius: 11px;
    background: #fff;
}
.stak-price-modal-row.is-allowance {
    border-width: 2px;
    background: color-mix(in srgb, var(--stak-accent) 7%, #fff);
}
.stak-price-modal-label {
    min-width: 0;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 700;
}
.stak-price-modal-label-line {
    display: flex;
    align-items: center;
    gap: 7px;
    min-width: 0;
    flex-wrap: wrap;
}
.stak-price-allowance-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    max-width: 100%;
    padding: 3px 7px;
    border: 1px solid color-mix(in srgb, var(--stak-accent) 35%, #d7c9a7);
    border-radius: 999px;
    background: #fff8dc;
    color: #8a6816;
    font-size: 10px !important;
    line-height: 1.2 !important;
    font-weight: 800 !important;
    white-space: nowrap;
}
.stak-price-modal-label small {
    display: block;
    margin-top: 3px;
    color: #777;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 400;
}
.stak-price-modal-value {
    color: var(--stak-accent);
    font-size: 14px;
    line-height: 1.2;
    text-align: right;
    white-space: nowrap;
}
.stak-price-modal-footnote {
    margin: 14px 2px 0 !important;
    color: #777;
    font-size: 11px !important;
    line-height: 1.4 !important;
    text-align: center;
}
.stak-price-modal-footnote .stak-price-allowance-badge {
    margin-right: 4px;
    vertical-align: middle;
}

@media (max-width: 600px) {
    .stak-price-modal {
        align-items: flex-end;
        padding: 10px 8px max(8px, env(safe-area-inset-bottom));
    }
    .stak-price-modal-card {
        width: 100%;
        max-height: min(84vh, 84svh);
        padding: 19px 13px 16px;
        border-radius: 18px 18px 12px 12px;
    }
    .stak-price-modal-title {
        margin-right: 42px !important;
        font-size: 20px !important;
    }
    .stak-price-modal-close {
        top: 9px;
        right: 9px;
        width: 36px;
        height: 36px;
    }
    .stak-price-modal-row {
        gap: 8px;
        padding: 9px 10px;
    }
    .stak-price-modal-label {
        font-size: 13px;
    }
    .stak-price-modal-value {
        font-size: 13px;
    }
}

/* 7.0.38: echte WooCommerce-Variantenbilder für Buchstabenperlen. */
.stak-letter-product-image,
.stak-sort-letter-image {
    object-fit: contain !important;
    max-width: none !important;
    box-sizing: border-box;
}

.stak-letter-product-image {
    flex-shrink: 0 !important;
    position: relative;
    z-index: 2;
}

/* ==========================================================================
   7.0.40 – PREISAUFSCHLÜSSELUNG NEBEN DEM KONFIGURATOR
   ========================================================================== */
.stak-configurator-layout {
    width: min(100%, calc(var(--stak-container-width-desktop) + 342px));
    max-width: calc(var(--stak-container-width-desktop) + 342px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, var(--stak-container-width-desktop)) minmax(280px, 320px);
    align-items: start;
    justify-content: center;
    gap: 22px;
    box-sizing: border-box;
}
.stak-price-breakdown {
    position: sticky;
    top: 90px;
    width: 100%;
    min-width: 0;
    padding: 22px;
    border: 2px solid var(--stak-border);
    border-radius: var(--stak-radius);
    background: var(--stak-bg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    color: var(--stak-text-color, #333);
    box-sizing: border-box;
}
.stak-price-breakdown-title {
    margin: 0 0 17px !important;
    color: var(--stak-heading-color, var(--stak-accent)) !important;
    font-size: 20px !important;
    line-height: 1.25 !important;
    font-weight: 800 !important;
}
.stak-price-breakdown-list {
    display: grid;
    gap: 0;
}
.stak-price-breakdown-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid color-mix(in srgb, var(--stak-border) 55%, transparent);
    font-size: 13px;
    line-height: 1.35;
}
.stak-price-breakdown-row span {
    min-width: 0;
    overflow-wrap: anywhere;
}
.stak-price-breakdown-row strong {
    color: var(--stak-heading-color, #333);
    font-size: 13px;
    white-space: nowrap;
}
.stak-price-breakdown-row.is-negative strong {
    color: #2d7d46;
}
.stak-price-breakdown-total {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: end;
    gap: 12px;
    margin-top: 17px;
    padding-top: 17px;
    border-top: 2px solid var(--stak-accent);
    font-weight: 800;
}
.stak-price-breakdown-total span {
    font-size: 15px;
}
#display-price {
    color: var(--stak-accent);
    font-size: 30px;
    line-height: 1;
    white-space: nowrap;
}
.stak-price-breakdown-cart {
    width: 100%;
    margin-top: 20px;
    padding: 15px 18px;
    border: 0;
    border-radius: 12px;
    background: var(--stak-accent);
    color: #fff;
    font: inherit;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.25;
    cursor: pointer;
    box-sizing: border-box;
}
.stak-price-breakdown-cart:disabled {
    cursor: not-allowed;
}

@media (max-width: 1100px) {
    .stak-configurator-layout {
        width: min(100%, var(--stak-container-width-desktop));
        max-width: var(--stak-container-width-desktop);
        display: flex;
        flex-direction: column;
        gap: 18px;
    }
    .stak-price-breakdown {
        position: static;
        top: auto;
    }
}

@media (max-width: 600px) {
    .stak-configurator-layout {
        gap: 14px;
    }
    .stak-price-breakdown {
        padding: 18px 16px;
        border-radius: 16px;
    }
    .stak-price-breakdown-title {
        font-size: 18px !important;
    }
    .stak-price-breakdown-row {
        gap: 8px;
        padding: 9px 0;
        font-size: 12px;
    }
    .stak-price-breakdown-row strong {
        font-size: 12px;
    }
    #display-price {
        font-size: 28px;
    }
    .stak-price-breakdown-cart {
        margin-top: 16px;
        font-size: 16px;
    }
}



/* ========================================================================== 
   7.0.44 – KOMPAKTER REIHENFOLGE-MANAGER AUF DESTAKOP
   Nur die Bedienkarten werden verkleinert. Die eigentlichen Produkt- und
   Buchstabenbilder behalten bewusst ihre bisherige Größe.
   ========================================================================== */
@media (min-width: 768px) {
    #parts-list-ui {
        gap: 8px !important;
        padding: 6px !important;
        align-items: flex-start !important;
    }

    #parts-list-ui .stak-sort-item {
        width: 58px !important;
        min-width: 58px !important;
        max-width: 58px !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 4px 3px !important;
        align-self: flex-start !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
    }

    #parts-list-ui .stak-sort-item-letter {
        min-height: 0 !important;
        padding-top: 5px !important;
        padding-bottom: 5px !important;
    }

    /* 34px-Buchstabenbild und 30px-Produktbild bleiben unverändert. */
    #parts-list-ui .stak-sort-letter-image {
        width: 34px !important;
        height: 34px !important;
    }

    #parts-list-ui .stak-sort-product-image {
        width: 30px !important;
        height: 30px !important;
    }

    #parts-list-ui .move-buttons {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        gap: 3px !important;
        margin: 0 0 3px !important;
    }

    #parts-list-ui .move-left,
    #parts-list-ui .move-right {
        width: 24px !important;
        min-width: 24px !important;
        height: 26px !important;
        min-height: 26px !important;
        padding: 0 !important;
        border-radius: 5px !important;
        font-size: 10px !important;
        line-height: 26px !important;
    }

    #parts-list-ui .remove-part {
        position: absolute !important;
        left: auto !important;
        right: 3px !important;
        bottom: 3px !important;
        transform: none !important;
        width: 20px !important;
        min-width: 20px !important;
        height: 20px !important;
        min-height: 20px !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 5px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        font-size: 9px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        z-index: 5 !important;
    }

    #parts-list-ui .stak-sort-item-product {
        margin: 0 !important;
    }
}

#st-set-save, #stak-set-import { background: var(--stak-bg, #fdfdfd); color: var(--stak-accent, #e91e63); border: 2px solid var(--stak-border, #e91e63); padding: 8px 20px; border-radius: 30px; font-weight: bold; cursor: pointer; font-size: 13px; max-width: 100%; }
#st-set-notice:empty { display: none; }


/* Gemeinsamer Verschluss, unabhängige Stränge. */
.stak-configurator-layout, .stak-configurator-layout *, .stak-configurator-layout *::before, .stak-configurator-layout *::after { box-sizing:border-box; }
#anhaenger-konfigurator .config-grid-layout, #anhaenger-konfigurator .config-grid-layout > div, #anhaenger-konfigurator .sk-config-box { min-width:0; max-width:100%; }
#anhaenger-konfigurator .sk-config-box { width:100%; }
#anhaenger-konfigurator #live-chain { display:flex; align-items:center; gap:0; min-width:max-content; padding:20px 10px; }
#anhaenger-konfigurator #preview-container { height:auto !important; min-height:200px; padding-top:45px !important; padding-bottom:30px !important; }
:is(#anhaenger-konfigurator, .stak-snapshot) .stak-closure { width:80px; height:70px; object-fit:contain; flex:none; position:relative; z-index:2; }
:is(#anhaenger-konfigurator, .stak-snapshot) .stak-start-cord { width:12px; height:3px; flex:none; align-self:center; background:#d1d1d1; border-radius:2px; }
:is(#anhaenger-konfigurator, .stak-snapshot) .stak-branches { display:flex; flex-direction:column; gap:6px; position:relative; }
:is(#anhaenger-konfigurator, .stak-snapshot) .stak-branch { display:flex; align-items:center; min-height:65px; width:max-content; min-width:35px; position:relative; padding-left:0; }
:is(#anhaenger-konfigurator, .stak-snapshot) .stak-double { padding-left:26px; gap:4px; }
:is(#anhaenger-konfigurator, .stak-snapshot) .stak-double .stak-branch { min-height:55px; }
:is(#anhaenger-konfigurator, .stak-snapshot) .stak-branch-cord { position:absolute; height:3px; background:#d1d1d1; top:50%; transform:translateY(-50%); left:0; right:12px; z-index:1; }
:is(#anhaenger-konfigurator, .stak-snapshot) .stak-fork-cord { position:absolute; left:0; top:0; width:26px; height:100%; display:block; overflow:visible; pointer-events:none; z-index:1; }
.stak-second-toggle { display:flex; align-items:center; gap:8px; font-weight:700; margin:8px 0 12px; }
.stak-strand-tabs { display:flex; flex-wrap:wrap; gap:8px; }
.stak-strand-tabs > .stak-second-toggle { margin:0; min-height:44px; padding:8px 10px; border:1px solid var(--stak-accent); border-radius:20px; color:var(--stak-accent); background:#fff; font-size:13px; font-weight:600; white-space:nowrap; cursor:pointer; }
.stak-strand-tabs > .stak-second-toggle input { width:16px; height:16px; margin:0; accent-color:var(--stak-accent); flex:none; }
.stak-strand-tabs button { border:1px solid var(--stak-accent); border-radius:20px; padding:9px 12px; color:var(--stak-accent); background:#fff; cursor:pointer; }
.stak-strand-tabs button[aria-pressed="true"] { background:var(--stak-accent); color:white; }
.stak-strand-tabs button[hidden] { display:none !important; }
#stak-active-strand { margin:10px 0 0; font-size:12px; }
#anhaenger-konfigurator #length-badge { font-size:11px !important; max-width:calc(100% - 30px); text-align:right; white-space:pre-line; }

.stak-snapshot, .stak-snapshot * { box-sizing:border-box; }

:is(#anhaenger-konfigurator, .stak-snapshot) .stak-common { display:flex; align-items:center; position:relative; min-height:65px; width:max-content; padding:0; flex:none; }
.stak-common-controls { margin:12px 0 16px; padding:12px; border:1px solid var(--stak-border); border-radius:10px; }
.stak-common-controls p { font-size:12px; margin:0 0 10px; }
.stak-common-controls small { display:block; margin-top:10px; line-height:1.4; }
#stak-common-controls[hidden], #stak-safety-second[hidden] { display:none !important; }
#stak-mobile-strand-controls:empty { display:none !important; }
@media (max-width:768px) {
    #stak-mobile-strand-controls { margin-bottom:14px; }
    #stak-mobile-strand-controls .stak-strand-tabs { flex-wrap:nowrap; }
    #stak-mobile-strand-controls .stak-strand-tabs button { flex:1; min-width:0; min-height:44px; padding:8px 6px; font-size:13px; white-space:nowrap; }
    #stak-mobile-strand-controls .stak-second-toggle { padding:8px 6px; gap:5px; }
    #stak-mobile-strand-controls #stak-active-strand { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
}

/* Verschlussfreier Doppelstrang ohne vorgelagerten Verzweigungsplatz. */
#stak-mobile-strand-controls { margin-bottom:14px; width:100%; }

/* ST Core is the design interface; product beads and snapshot glyphs stay separate. */
.stak-ui {
    min-width: 0;
    color: var(--stak-text-color);
    font-family: var(--st-font-body, inherit);
    line-height: 1.5;
}
.stak-ui #anhaenger-konfigurator,
.stak-ui :is(.sk-config-box, #parts-manager, .stak-price-breakdown, .stak-common-controls) {
    color: var(--stak-text-color) !important;
    background: var(--stak-box-bg) !important;
    border: var(--st-component-border-width, var(--st-border-width, 1px)) var(--st-component-border-style, solid) var(--stak-border) !important;
    border-radius: var(--stak-radius) !important;
}
.stak-ui #anhaenger-konfigurator { transform: none; }
.stak-ui #anhaenger-konfigurator,
.stak-ui .stak-price-breakdown {
    padding: var(--st-spacing-lg, 24px) !important;
    box-shadow: var(--st-component-shadow, var(--st-shadow-card, none)) !important;
}
.stak-ui .sk-config-box { padding: var(--st-component-padding, var(--st-spacing-md, 16px)) !important; }
.stak-ui :is(h2, h3, .sk-config-box > label, #parts-manager > label) {
    color: var(--stak-heading-color) !important;
    font-family: var(--st-font-heading, inherit) !important;
}
.stak-ui .stak-configurator-title { font-size: clamp(24px, 4vw, 34px); line-height: 1.12; margin: 0; text-align: left; }
.stak-ui button { font-family: var(--st-font-button, inherit) !important; }
.stak-ui :is(input, select, textarea) {
    font-family: var(--st-font-body, inherit) !important;
    color: var(--stak-text-color) !important;
    background: var(--st-surface-input, #fff) !important;
    border-color: var(--st-border-color, var(--stak-border)) !important;
    border-radius: var(--st-radius-input, 14px) !important;
}
.stak-ui :is(button, input, select, textarea):focus-visible {
    outline: 2px solid var(--st-border-focus, var(--stak-accent)) !important;
    outline-offset: 3px;
}
.stak-ui input[type="checkbox"] { accent-color: var(--stak-accent); }
.stak-ui button {
    color: var(--st-text-on-primary, #fff) !important;
    background: var(--stak-accent) !important;
    border-color: var(--stak-accent) !important;
    border-radius: var(--st-radius-button, 999px) !important;
    font-weight: 700;
    transition: box-shadow var(--st-transition-fast, 160ms ease), opacity var(--st-transition-fast, 160ms ease);
}
.stak-ui button:hover:not(:disabled) { box-shadow: var(--st-shadow-hover, none); }
.stak-ui button:disabled { opacity: .45 !important; cursor: not-allowed; }
.stak-ui :is(.stak-action, .stak-strand-tabs button, .stak-dialog-close, .stak-price-modal-close, .stak-rich-select-sheet-close) {
    color: var(--stak-heading-color) !important;
    background: var(--st-surface-soft, #fdf2f6) !important;
    border-color: var(--st-border-color, var(--stak-border)) !important;
}
.stak-ui .stak-strand-tabs button[aria-pressed="true"] {
    color: var(--st-text-on-primary, #fff) !important;
    background: var(--stak-accent) !important;
    border-color: var(--stak-accent) !important;
}
.stak-ui :is(#btn-clear-name, .remove-part) { background: var(--stak-delete) !important; border-color: var(--stak-delete) !important; }
.stak-ui :is(.stak-rich-select-trigger, .stak-rich-select-option) {
    font-family: var(--st-font-body, inherit) !important;
    color: var(--stak-text-color) !important;
    background: var(--st-surface-input, #fff) !important;
    border-color: var(--st-border-color, var(--stak-border)) !important;
    border-radius: var(--st-radius-input, 14px) !important;
}
.stak-ui .stak-rich-select-trigger { min-height: 44px; }
.stak-ui :is(.stak-rich-select-menu, .stak-rich-select-sheet-header, .stak-rich-select-search-wrap, .stak-rich-select-dialog-options) {
    color: var(--stak-text-color);
    background: var(--st-surface-dialog, #fff);
    border-color: var(--st-border-color, var(--stak-border));
}
.stak-ui .stak-rich-select-menu { box-shadow: var(--st-shadow-dialog, 0 20px 60px #0003); }
.stak-ui .stak-rich-select-option:is(:hover, [aria-selected="true"]) { background: var(--st-surface-soft, #fdf2f6) !important; }
.stak-ui :is(.stak-rich-select-status, .stak-letter-material-price-hint, .stak-letter-material-label, .stak-price-modal-footnote, .stak-price-modal-label small) { color: var(--st-text-muted, var(--stak-text-color)); }
.stak-ui :is(.stak-rich-select-name, .stak-price-modal-value) { overflow-wrap: anywhere; white-space: normal; }
.stak-ui :is(.stak-price-modal-card, .stak-dialog-card) {
    color: var(--stak-text-color) !important;
    background: var(--st-surface-dialog, #fff) !important;
    border: var(--st-border-width, 1px) solid var(--st-border-color, var(--stak-border)) !important;
    border-radius: var(--st-radius-card, var(--stak-radius)) !important;
    box-shadow: var(--st-shadow-dialog, none) !important;
    font-family: var(--st-font-body, inherit) !important;
    box-sizing: border-box;
}
.stak-ui :is(.stak-price-breakdown-row, .stak-price-breakdown-total, .stak-price-modal-row) { border-color: var(--st-border-color, var(--stak-border)) !important; }
.stak-ui #display-price { color: var(--st-color-price, var(--stak-accent)) !important; }
.stak-ui .stak-price-breakdown-row.is-negative { color: var(--st-color-success, #4f8a62); }
.stak-ui #length-warning { color: var(--stak-delete) !important; border-color: var(--stak-delete) !important; background: var(--st-surface-soft, #fff5f5) !important; }
.stak-ui #length-badge { color: var(--stak-heading-color) !important; border-color: var(--st-border-color, var(--stak-border)) !important; background: var(--st-surface-soft, #fff) !important; }
.stak-ui .config-grid-layout { gap: var(--st-spacing-md, 16px); }
@media (max-width: 768px) {
    .stak-ui #anhaenger-konfigurator, .stak-ui .stak-price-breakdown { padding: var(--st-spacing-md, 16px) !important; }
    .stak-ui .config-grid-layout { grid-template-columns: minmax(0, 1fr); }
    .stak-ui .stak-dialog-card { padding: 20px 16px !important; }
}
.stak-ui .stak-bead-option {
    color: var(--stak-text-color) !important;
    background: var(--st-surface-input, #fff) !important;
    border-color: var(--st-border-color, var(--stak-border)) !important;
    border-radius: var(--st-radius-input, 14px) !important;
}
.stak-ui .stak-bead-option span { color: var(--st-text-muted, var(--stak-text-color)) !important; }
.stak-ui .stak-bead-option span:first-child { color: var(--stak-text-color) !important; }
.stak-ui .stak-action-help > span { background: var(--stak-accent) !important; color: var(--st-text-on-primary, #fff) !important; }

/* Same heading card as the Greifring configurator, without introductory text. */
.stak-configurator-head {
    padding: 22px 24px;
    margin-bottom: 14px;
    color: var(--stak-text-color);
    background: var(--st-surface-card, #fff);
    border: var(--st-border-width, 1px) var(--st-border-style, solid) var(--st-border-color, var(--stak-border));
    border-radius: var(--st-radius-card, 24px);
    box-shadow: var(--st-shadow-card, 0 12px 34px rgba(59,45,56,.08));
    box-sizing: border-box;
}
.stak-configurator-kicker {
    margin: 0 0 4px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--st-color-price, var(--st-text-link, var(--stak-accent)));
}
