/**
 * myT3.love – bulli-galerie.css
 * Thumbnails vertikal links, Stage rechts
 */

/* ── Wrapper ─────────────────────────────────────────── */
.myt3-gallery {
    position: relative;
    width: 100%;
    padding-left: 82px; /* Platz für Thumbnails */
}

/* ── Thumbnail-Spalte – absolut links ────────────────── */
.myt3-gallery__thumbs-wrap {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 70px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

/* Scroll-Schatten oben */
.myt3-gallery__thumbs-wrap::before,
.myt3-gallery__thumbs-wrap::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 48px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.2s ease;
}
.myt3-gallery__thumbs-wrap::before {
    top: 0;
    background: linear-gradient(to bottom, #fff 0%, transparent 100%);
}
.myt3-gallery__thumbs-wrap::after {
    bottom: 0;
    background: linear-gradient(to top, #fff 0%, transparent 100%);
}
.myt3-gallery__thumbs-wrap.can-scroll-up::before    { opacity: 1; }
.myt3-gallery__thumbs-wrap.can-scroll-down::after   { opacity: 1; }



/* Scroll-Container */
.myt3-gallery__thumbs {
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: scroll;
    overflow-x: hidden;
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;   /* IE/Edge */
    flex: 1;
    padding: 4px 2px;
}
.myt3-gallery__thumbs::-webkit-scrollbar {
    display: none;              /* Chrome/Safari */
}

/* Thumbnails */
.myt3-thumb {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    background: #f5f5f5;
    overflow: hidden;
    cursor: pointer;
    padding: 3px;
    transition: border-color 0.15s, transform 0.12s;
    user-select: none;
}
.myt3-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    pointer-events: none;
}
.myt3-thumb:hover {
    border-color: #bbb;
    transform: scale(1.04);
}
.myt3-thumb.active {
    border-color: #1a1a1a;
}


/* ── Stage ───────────────────────────────────────────── */
.myt3-gallery__stage {
    position: relative;
    width: 100%;
    background: #f5f5f5;
    border-radius: 12px;
    overflow: hidden;
}

/* Product-wrap trägt aspect-ratio → bestimmt Stage-Höhe */
.myt3-gallery__product-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #fff;
    border: 1.5px solid var(--bk-border, #e8e8e8);
    border-radius: 10px;
    padding: 6px;
    overflow: hidden;
}



.myt3-gallery__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Konfigurator-Overlay */
.myt3-gallery__product-wrap .bulli-vorschau__konfiguratorflaeche {
    position: absolute;
    pointer-events: none;
    overflow: hidden;
    aspect-ratio: 1;
}
.myt3-gallery__product-wrap .bulli-vorschau__konfiguratorflaeche > div.elementor-1304 {
    position: absolute;
    inset: 0 !important;
    text-align: center;
    display: flex;
    align-items: center;
}
.myt3-gallery__product-wrap .bulli-vorschau__konfiguratorflaeche > div > div.elementor-element {
    max-height: 100% !important;
    margin: 0 auto !important;
}
.myt3-gallery__product-wrap .bulli-vorschau__konfiguratorflaeche .elementor,
.myt3-gallery__product-wrap .bulli-vorschau__konfiguratorflaeche .elementor-section-wrap,
.myt3-gallery__product-wrap .bulli-vorschau__konfiguratorflaeche .elementor-section,
.myt3-gallery__product-wrap .bulli-vorschau__konfiguratorflaeche .elementor-container,
.myt3-gallery__product-wrap .bulli-vorschau__konfiguratorflaeche .elementor-widget-wrap,
.myt3-gallery__product-wrap .bulli-vorschau__konfiguratorflaeche .elementor-widget {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* ── Logo-Knockout (Stanze) + Logo-Overlay ──────────────────
   Maske stanzt das Logo aus dem Design → Shirt scheint durch.
   Logo-Ebene liegt deckungsgleich oben drauf, folgt der Fläche per JS.
   Gilt für Galerie-Stage UND Lightbox. */
.bulli-vorschau__konfiguratorflaeche.has-logo {
    -webkit-mask-image: url(../assets/myt3love-knockout-mask.svg);
            mask-image: url(../assets/myt3love-knockout-mask.svg);
    -webkit-mask-size: 100% 100%;   mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
    -webkit-mask-position: center;  mask-position: center;
}
.bulli-vorschau__logo {
    position: absolute;
    pointer-events: none;
    aspect-ratio: 1;
    z-index: 3;
}
.bulli-vorschau__logo img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}


/* ── Preview-Thumbs (Dein Design) im Thumb-Strip ──────────── */
.myt3-thumb--preview { position: relative; }
.myt3-thumb__pv {
    position: relative; width: 100%; aspect-ratio: 1/1;
    overflow: hidden; background: #fff; display: block;
}
.myt3-thumb__pvbg { width: 100%; height: 100%; object-fit: contain; display: block; }

.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche {
    position: absolute; pointer-events: none; overflow: hidden; aspect-ratio: 1;
}
/* Elementor-Container im Mini-Thumb stapeln (wie im Cart) */
.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche .elementor,
.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche .elementor-section,
.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche .elementor-container,
.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche .elementor-widget-wrap,
.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche .elementor-widget,
.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche .e-con,
.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche .e-con-inner {
    width: 100% !important; height: 100% !important;
    max-width: 100% !important; max-height: 100% !important;
    padding: 0 !important; margin: 0 !important;
}
.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche .e-con.e-parent,
.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche > .elementor-1304,
.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche > .elementor { position: relative !important; }
.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche .e-con.e-child,
.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche .elementor-section:not(:first-child),
.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche .elementor-column {
    position: absolute !important; top: 0 !important; left: 0 !important;
    width: 100% !important; height: 100% !important;
}
.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche svg {
    width: 100% !important; height: 100% !important;
    max-width: 100% !important; max-height: 100% !important; display: block;
}
/* Hintergrund-Layer MUSS die rechte Hälfte des Design-Quadrats bleiben (50%).
   Die .e-con-100%-Regel oben würde ihn sonst über die ganze Fläche ziehen –
   höhere Spezifität (.e-con.bulli-pa_hintergrundbild) holt die 50% zurück. */
.myt3-thumb--preview .bulli-vorschau__konfiguratorflaeche .e-con.bulli-pa_hintergrundbild {
    left: 50% !important; right: 0 !important;
    width: 50% !important; max-width: 50% !important;
}

/* Front-Ansicht ohne Hintergrund: ACF-Feld `hintergrund_ausblenden` setzt die
   Marker-Klasse .bulli-front-no-bg an der Galerie-Wurzel (#myt3Gallery). Dann
   wird auf der FRONT-Seite der Hintergrund-Layer ausgeblendet — sowohl in den
   Preview-Thumbs (is-front im Markup) als auch auf der Stage (is-front von JS
   gesetzt). Rückseite bleibt unberührt. Für beidseitig bedruckte Produkte,
   deren Front keinen Szenen-Hintergrund haben soll. */
.myt3-gallery.bulli-front-no-bg .bulli-vorschau__konfiguratorflaeche.is-front .bulli-pa_hintergrundbild {
    display: none !important;
}
/* …und die Knockout-Maske auf der Front entfernen — das Logo ist dort
   ausgeblendet, also soll das Design nicht mehr logo-förmig ausgestanzt sein. */
.myt3-gallery.bulli-front-no-bg .bulli-vorschau__konfiguratorflaeche.is-front {
    -webkit-mask-image: none !important;
            mask-image: none !important;
}
.myt3-thumb__badge {
    position: absolute; bottom: 3px; left: 3px; z-index: 5; /* über dem Design-Overlay */
    font-family: "Roboto Mono", monospace; font-size: 7px; font-weight: 700;
    text-transform: uppercase; letter-spacing: 0.04em; line-height: 1.3;
    background: var(--e-global-color-accent, #c2362b); color: #fff;
    padding: 1px 4px; border-radius: 3px; pointer-events: none;
}


/* ── Pfeile (vereinheitlicht) ────────────────────────── */
/* Basis: gilt für Thumbnail-Scroll UND Stage-Navigation  */
.myt3-thumb-arrow,
.myt3-stage-arrow {
    width: 32px;
    height: 32px;
    background: rgba(255,255,255,0.92);
    border: 1.5px solid #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.2s, border-color 0.15s, box-shadow 0.15s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 0;
    backdrop-filter: blur(4px);
}
.myt3-thumb-arrow svg,
.myt3-stage-arrow svg {
    width: 13px;
    height: 13px;
    stroke: #444;
    fill: none;
    stroke-width: 2.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    display: block;
}
.myt3-thumb-arrow:hover,
.myt3-stage-arrow:hover {
    border-color: #1a1a1a;
    box-shadow: 0 2px 12px rgba(0,0,0,0.14);
}
.myt3-thumb-arrow:hover svg,
.myt3-stage-arrow:hover svg { stroke: #1a1a1a; }

/* Thumb-Scroll Arrows */
.myt3-thumb-arrow {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    pointer-events: none;
}
.myt3-thumb-arrow--up   { top: 4px; }
.myt3-thumb-arrow--down { bottom: 4px; }
.myt3-gallery__thumbs-wrap.can-scroll-up   .myt3-thumb-arrow--up   { opacity: 1; pointer-events: all; }
.myt3-gallery__thumbs-wrap.can-scroll-down .myt3-thumb-arrow--down { opacity: 1; pointer-events: all; }

/* Stage Arrows */
.myt3-stage-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 4;
}
.myt3-gallery__stage:hover .myt3-stage-arrow { opacity: 1; }
.myt3-stage-arrow--prev { left: 10px; }
.myt3-stage-arrow--next { right: 10px; }
.myt3-stage-arrow:hover { transform: translateY(-50%) scale(1.06); }
.myt3-stage-arrow.is-disabled { opacity: 0 !important; pointer-events: none; }


/* ── Spinner ─────────────────────────────────────────── */
.myt3-gallery__spinner {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.55);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.15s ease;
    border-radius: 12px;
}
.myt3-gallery__spinner.visible { opacity: 1; }
.myt3-gallery__spinner::after {
    content: '';
    width: 28px;
    height: 28px;
    border: 3px solid rgba(0, 0, 0, 0.1);
    border-top-color: var(--e-global-color-accent, #222);
    border-radius: 50%;
    animation: myt3Spin 0.65s linear infinite;
}
@keyframes myt3Spin { to { transform: rotate(360deg); } }


/* ── Front / Back Toggle ─────────────────────────────── */
.myt3-gallery__toggle {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(8px);
    border-radius: 10px;
    padding: 4px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.myt3-toggle-btn {
    padding: 7px 14px;
    border: none;
    border-radius: 7px;
    background: transparent;
    color: #666;
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s;
    white-space: nowrap;
    letter-spacing: 0.02em;
}
.myt3-toggle-btn:hover { color: #111; background: rgba(0,0,0,0.04); }
.myt3-toggle-btn.active { background: #1a1a1a; color: #fff; }


/* ── Swipe-Indikator (Mobile) ────────────────────────── */
.myt3-gallery__stage::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    pointer-events: none;
}


/* ── Responsive ──────────────────────────────────────── */
/* Mobile: Thumbnails UNTER der Stage, horizontal scrollbar */
@media (max-width: 1024px) {
    .myt3-gallery {
        padding-left: 0;
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .myt3-gallery__stage {
        order: 1;
    }

    .myt3-gallery__thumbs-wrap {
        position: static;
        order: 2;
        width: 100%;
        height: auto;
        flex-direction: row;
        overflow: visible;
    }

    .myt3-gallery__thumbs {
        flex-direction: row;
        gap: 8px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x proximity;
        -webkit-overflow-scrolling: touch;
        padding: 4px 2px;
        flex: none;
        width: 100%;
    }

    .myt3-thumb {
        width: 64px;
        height: 64px;
        scroll-snap-align: start;
    }

    /* Vertikale Scroll-Arrows + Fades auf Mobile aus */
    .myt3-thumb-arrow { display: none; }
    .myt3-gallery__thumbs-wrap::before,
    .myt3-gallery__thumbs-wrap::after { display: none; }

    /* Stage-Arrows auf Mobile immer sichtbar (kein Hover) */
    .myt3-stage-arrow { opacity: 1; }
}

@media (max-width: 600px) {
    .myt3-thumb { width: 56px; height: 56px; }
}


/* ════════════════════════════════════════════════════════
   LIGHTBOX
   ════════════════════════════════════════════════════════ */

.myt3-lb {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
}
.myt3-lb.is-open {
    opacity: 1;
    pointer-events: all;
}

/* Backdrop */
.myt3-lb__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(6px);
}

/* Dialog */
.myt3-lb__dialog {
    position: relative;
    z-index: 1;
    width: min(90vw, 90vh);
    max-width: 900px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

/* Stage */
.myt3-lb__stage {
    width: 100%;
    aspect-ratio: 1 / 1;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.myt3-lb__img-wrap {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transform-origin: center center;
    position: relative;
}

.myt3-lb__img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

/* Konfigurator-Overlay im Lightbox */
.myt3-lb__konfig-wrap {
    position: absolute;
    inset: 0;
    pointer-events: none;
    /* % Werte des Overlays beziehen sich auf diesen Container */
}
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche {
    position: absolute;
    pointer-events: none;
    overflow: hidden;
    aspect-ratio: 1;
}
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche > div.elementor-1304 {
    position: absolute;
    inset: 0 !important;
    text-align: center;
    display: flex;
    align-items: center;
}
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche > div > div.elementor-element {
    max-height: 100% !important;
    margin: 0 auto !important;
}
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche .elementor,
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche .elementor-section-wrap,
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche .elementor-section,
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche .elementor-container,
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche .elementor-widget-wrap,
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche .elementor-widget {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Close Button */
.myt3-lb__close {
    position: absolute;
    top: -44px;
    right: 0;
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.15s, border-color 0.15s;
    padding: 0;
}
.myt3-lb__close:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.4);
}

/* Nav Pfeile */
.myt3-lb__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    z-index: 10;
    transition: background 0.15s, border-color 0.15s;
    padding: 0;
    opacity: 1;
    user-select: none;
}
.myt3-lb__nav:hover {
    background: rgba(255,255,255,0.22);
    border-color: rgba(255,255,255,0.4);
}
/* Pfeile relativ zum Dialog, nicht zur Stage */
.myt3-lb__dialog { overflow: visible; }
.myt3-lb__prev { left: -52px; }
.myt3-lb__next { right: -52px; }
.myt3-lb__nav.is-disabled {
    opacity: 0.2;
    pointer-events: none;
}

/* Responsive – Pfeile auf Mobile innerhalb */
@media (max-width: 700px) {
    .myt3-lb__prev { left: 8px; }
    .myt3-lb__next { right: 8px; }
}

/* Toggle */
.myt3-lb__toggle-wrap .myt3-gallery__toggle {
    position: static;
    transform: none;
    background: rgba(255,255,255,0.12);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.15);
}
.myt3-lb__toggle-wrap .myt3-toggle-btn {
    color: rgba(255,255,255,0.7);
}
.myt3-lb__toggle-wrap .myt3-toggle-btn:hover {
    color: #fff;
    background: rgba(255,255,255,0.1);
}
.myt3-lb__toggle-wrap .myt3-toggle-btn.active {
    background: rgba(255,255,255,0.9);
    color: #111;
}

/* Counter */
.myt3-lb__counter {
    color: rgba(255,255,255,0.5);
    font-size: 12px;
    letter-spacing: 0.05em;
}

/* Body-Lock */
body.myt3-lb-open {
    overflow: hidden;
}

/* Zoom-Cursor */
.myt3-gallery__product-wrap {
    cursor: zoom-in;
}

/* Responsive – Pfeile auf Mobile nach innen */
@media (max-width: 600px) {
    .myt3-lb__prev { left: 8px; }
    .myt3-lb__next { right: 8px; }
    .myt3-lb__dialog { width: 96vw; }
}

/* Lightbox Konfig-Overlay – gleiche Positionierungslogik wie Stage */
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche {
    position: absolute;
    pointer-events: none;
    overflow: hidden;
    aspect-ratio: 1;
}
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche > div.elementor-1304 {
    position: absolute;
    inset: 0 !important;
    text-align: center;
    display: flex;
    align-items: center;
}
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche > div > div.elementor-element {
    max-height: 100% !important;
    margin: 0 auto !important;
}
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche .elementor,
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche .elementor-section-wrap,
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche .elementor-section,
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche .elementor-container,
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche .elementor-widget-wrap,
.myt3-lb__konfig-wrap .bulli-vorschau__konfiguratorflaeche .elementor-widget {
    width: 100% !important;
    height: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}


/* ─────────────────────────────────────────────────────────
   Konfig-Vorschau-Box (in der Thumbs-Spalte unten)
   ───────────────────────────────────────────────────────── */
/* Ausgeblendet auf Wunsch (Front/Back-Thumb-Box). Zum Reaktivieren diese
   eine Zeile entfernen. Vollständig raus: im Elementor-Produkttemplate den
   #myt3KonfigVorschau-Block löschen. */
#myt3KonfigVorschau,
.myt3-konfig-vorschau { display: none !important; }

.myt3-konfig-vorschau {
    position: absolute;
    left: 15px;
    bottom: 15px;
    z-index: 5;
    padding: 8px 10px;
    background: #fff;
    border: 1px solid var(--e-global-color-c102761);
    border-radius: var(--br);
    display: flex;
    align-items: center;
    gap: 10px;
}

.myt3-konfig-vorschau__title {
    font-family: var(--e-global-typography-accent-font-family), Sans-serif;
    font-size: var(--e-global-typography-accent-font-size);
    font-weight: var(--e-global-typography-accent-font-weight);
    text-transform: var(--e-global-typography-accent-text-transform);
    color: #555;
    text-align: left;
    line-height: 1.2;
    flex: 0 0 auto;
}

.myt3-konfig-vorschau__thumbs {
    display: flex;
    flex-direction: row;
    gap: 6px;
}

.myt3-konfig-thumb {
    width: 56px;
    aspect-ratio: 1;
    padding: 5px;
    border: 1.5px solid #e8e8e8;
    border-radius: 6px;
    background: #fafaf7;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.18s ease, transform 0.18s ease;
}

.myt3-konfig-thumb:hover {
    border-color: #999;
    transform: translateY(-1px);
}

.myt3-konfig-thumb.active {
    border-color: #111;
}

.myt3-konfig-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

@media (max-width: 1024px) {
    .myt3-konfig-vorschau {
        left: 10px;
        bottom: 10px;
        padding: 6px 8px;
        gap: 8px;
    }

    .myt3-konfig-thumb {
        width: 40px;
        padding: 3px;
    }
}
