
:root {
    /* Akzentfarbe (für SVGs, Buttons, aktive Elemente) */
    --dillymenu-accent-color: #E69491;
    
    /* Slider Gradient Breiten */
    --dillymenu-slider-gradient-width: 50px;
    
    /* Slider Gradient Farbe (sollte zur Tab-Bar-Hintergrundfarbe passen) */
    --dillymenu-slider-gradient-color: var(--dillymenu-tabbar-bg);
    
    /* Card-Farben */
    --dillymenu-card-bg-light: #FDF5EB;
    --dillymenu-card-bg-light-hover: #ffffff;
    --dillymenu-card-text-light: #623B4D;

    
    /* Tab-Bar Farben (normal) - Light Mode */
    --dillymenu-tabbar-bg: #ffffff;
    --dillymenu-tabbar-button-bg: transparent;
    --dillymenu-tabbar-button-text: #1C2327;
    --dillymenu-tabbar-button-border: rgba(0, 0, 0, 0.1);
    
    /* Tab-Bar Farben (aktiv) */
    --dillymenu-tabbar-active-bg: var(--dillymenu-accent-color);
    --dillymenu-tabbar-active-text: #ffffff;
    --dillymenu-tabbar-active-border: var(--dillymenu-accent-color);
    
    /* Tab-Bar Farben (fixiert) - gleich wie normal */
    --dillymenu-tabbar-fixed-bg: #ffffff;
    
    /* Modal Farben */
    --dillymenu-modal-bg: #ffffff;
    --dillymenu-modal-text: #1C2327;
    --dillymenu-modal-hover: #ffeed9;
    --dillymenu-modal-border: rgba(204, 204, 204, 0.25);
    
    /* Sidepanel Farben */
    --dillymenu-sidepanel-bg: #ffffff;
    --dillymenu-sidepanel-text: #1C2327;
    
    /* Skeleton Loader */
    --dillymenu-skeleton-color: #F9DEBF;
    
    /* Button Text (für Tageskarte-Button) / Allgemeiner Text */
    --dillymenu-button-text-light: #1C2327;
    --dillymenu-text: #1C2327;
    
    /* Weitere Standard-Farben */
    --dillymenu-border-color: #cccccc;
    --dillymenu-shadow: rgba(0, 0, 0, 0.1);
    --dillymenu-overlay: rgba(0, 0, 0, 0.5);

    /* Category-Toggle Table-View Farben */
    --dillymenu-category-toggle-table-view-bg: #ffffff;
    --dillymenu-category-toggle-table-view-text: #1C2327;
    --dillymenu-category-toggle-table-view-border: rgba(0, 0, 0, 0.1);
    --dillymenu-category-toggle-table-view-hover: rgba(0, 0, 0, 0.02);

    
    /* Table-View Farben */
    --dillymenu-table-bg: #ffffff;
    --dillymenu-table-text: #1C2327;
    --dillymenu-table-text-secondary: rgba(28, 35, 39, 0.7);
    --dillymenu-table-border: rgba(0, 0, 0, 0.1);
    --dillymenu-table-border-light: rgba(0, 0, 0, 0.05);
    --dillymenu-table-hover: rgba(0, 0, 0, 0.02);
    
    /* Preloader/Loading Circle Farben */
    --dillymenu-preloader-bg: rgba(255, 112, 0, 0.2);
    --dillymenu-preloader-active: var(--dillymenu-accent-color);
    --dillymenu-preloader-overlay: rgba(0, 0, 0, 0.0);
    
    /* Modal-Inhalt (Allergene/Features Popup) */
    --dillymenu-modal-content-border: #888888;
    --dillymenu-modal-close: #aaaaaa;
    --dillymenu-modal-close-hover: #000000;
    --dillymenu-box-shadow-medium: 0 2px 5px rgba(0, 0, 0, 0.1);
    --dillymenu-box-shadow-strong: 0 4px 6px rgba(0, 0, 0, 0.2);
    --dillymenu-box-shadow-modal: 0 10px 40px rgba(0, 0, 0, 0.3);
    
    /* Toggle-Switch (Filter) */
    --dillymenu-toggle-track: #cccccc;
    --dillymenu-toggle-thumb: #ffffff;
    
    /* Ingredients-Footer (Light-Mode bei Filter) */
    --dillymenu-ingredients-footer-color: #6b7280;
    --dillymenu-ingredients-footer-light-color: rgba(255, 255, 255, 0.75);
    --dillymenu-ingredients-footer-light-border: rgba(255, 255, 255, 0.2);
    
    /* Price-Table-Row (Tabellen-View) */
    --dillymenu-price-table-row-border: rgba(255, 255, 255, 0.5);
    --dillymenu-price-table-row-border-first: rgba(255, 255, 255, 0);
    
    /* Skeleton-Gradient (Animation) */
    --dillymenu-skeleton-gradient-start: #ddc3a2;
    --dillymenu-skeleton-gradient-end: #ffeed9;
    
    /* Load-More-Button */
    --dillymenu-load-more-bg: var(--dillymenu-accent-color);
    --dillymenu-load-more-text: #ffffff;
    --dillymenu-load-more-hover: var(--dillymenu-card-text-light);
    
    /* Scrollbar (Product-Detail) */
    --dillymenu-scrollbar-thumb: rgba(0, 0, 0, 0.3);
    --dillymenu-scrollbar-thumb-hover: rgba(0, 0, 0, 0.5);
    
    /* Scroll-Margin beim Klick auf Kategorie (pixelgenau: Abstand oben beim Scroll-Ziel) */
    --dillymenu-scroll-margin-top: 170px;
    --dillymenu-scroll-margin-top-mobile: 150px;
    
    /* Legacy Support */
    --primary-color: var(--dillymenu-accent-color);
    --border-color: var(--dillymenu-border-color);
}


            /* Akzentfarbe für alle SVGs */
            .dillymenu-filter-icon-svg line,
            .dillymenu-filter-icon-svg path,
            .dillymenu-filter-icon-svg circle,
            .dillymenu-filter-icon-svg rect,
            .dillymenu-icon-svg path,
            .dillymenu-icon-svg line,
            .dillymenu-icon-svg circle,
            svg.dillymenu-icon {
                stroke: var(--dillymenu-accent-color) !important;
                fill: var(--dillymenu-accent-color) !important;
            }

            /* Akzentfarbe für alle SVGs */
            .feature-icon line,
            .feature-icon path,
            .feature-icon circle,
            .feature-icon rect,
            .feature-icon path,
            .feature-icon line,
            .feature-icon circle,
            svg.dillymenu-feature-icon-svg {
                stroke: var(--dillymenu-accent-color) !important;
                /* fill: var(--dillymenu-accent-color) !important; */
            }


            .dillymenu-detail-contains .product-features .feature-icon svg{
                width: 30px !important;
                height: 30px !important;
            }

            .dillymenu-detail-contains .product-features .feature-icon .cls-2{
                stroke-width: 2px !important;
            }

   


#dillymenu_results{
    display: none;
    margin-bottom: 100px;
}

/* Allergene & Zusatzstoffe Footer – klein, dezent wie AGB/Impressum */
.dillymenu-ingredients-footer {
    margin-top: 2.5rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--dillymenu-border-color);
    font-size: 0.75rem;
    line-height: 1.5;
    color: var(--dillymenu-ingredients-footer-color);
    max-width: 100%;
}
.dillymenu-ingredients-footer-section {
    margin: 0 0 0.5rem 0;
}
.dillymenu-ingredients-footer-section:last-of-type {
    margin-bottom: 0.75rem;
}
.dillymenu-ingredients-footer-note {
    margin: 0;
    font-style: italic;
    opacity: 0.95;
}
body.dillymenu-filter-text-light .dillymenu-ingredients-footer {
    color: var(--dillymenu-ingredients-footer-light-color);
    border-top-color: var(--dillymenu-ingredients-footer-light-border);
}

#dillymenu_results h2,
h2[id^="scrollto-category-"] {
    display: flex;
    gap: 20px;
    align-items: end;
    margin-bottom: 40px;
    margin-top: 0px;
}

#dillymenu_results .h2-content{
    white-space: nowrap; /* Verhindert Zeilenumbruch */
    font-weight: bold;
    flex: 0 0 auto; /* Nimmt nur so viel Platz wie nötig */
}

#dillymenu_results .h2-divider{
    border-bottom: 1px solid var(--dillymenu-border-color);
    flex: 1; /* Nimmt die restliche verfügbare Breite */
    margin-bottom: 10px;
}

.dillymenu-front-category {
    display: grid;
    grid-template-columns: repeat(var(--dillymenu-columns-desktop, 4), 1fr);
    gap: 40px; /* Abstand zwischen den Elementen */
    margin-bottom: 20px;
}

/* Table-View Styles - Minimalistisch, Grid-Layout */
.dillymenu-front-category-table {
    margin-bottom: 20px;
}

.dillymenu-table-view {
    display: grid;
    grid-template-columns: repeat(var(--dillymenu-table-columns, 2), 1fr);
    gap: 0;
    width: 100%;
    margin-bottom: 20px;
    padding: 0px;
    background-color: var(--dillymenu-table-bg);
}

.dillymenu-table-row {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 30px;
    cursor: pointer;
    transition: background-color 0.2s ease;
    background-color: var(--dillymenu-table-bg);
}

.dillymenu-table-row:hover {
    background-color: var(--dillymenu-table-hover);
}

.dillymenu-table-content {
    flex: 1 1 auto;
    min-width: 0;
}

.dillymenu-table-name-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 0px;
    flex-wrap: wrap;
}

.dillymenu-table-name {
    font-weight: 500;
    font-size: 1em;
    color: var(--dillymenu-table-text);
    line-height: 1.15;
}

.dillymenu-table-badges {
    display: inline-flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
    line-height: 1.15;
}

.dillymenu-table-badges .ingredient-icon,
.dillymenu-table-badges .feature-icon {
    opacity: 0.8;
}

.dillymenu-table-description {
    color: var(--dillymenu-table-text-secondary);
    font-size: 0.9em;
    line-height: 1.5;
    margin-top: 0px;
}

.dillymenu-table-description p {
    margin: 0;
    color: var(--dillymenu-table-text-secondary);
}

.dillymenu-table-price {
    flex: 0 0 auto;
    width: 5.5em;
    min-width: 5.5em;
    font-weight: 400;
    color: var(--dillymenu-table-text);
    text-align: right;
    white-space: nowrap;
    font-size: 1em;
}

/* Fußnote Styles */
.dillymenu-category-footnote {
    margin-top: 20px;
    padding: 15px;
    background-color: color-mix(in srgb, var(--dillymenu-accent-color) 5%, transparent);
    border-left: 3px solid var(--dillymenu-accent-color);
    font-size: 0.9em;
    color: var(--dillymenu-card-text-color, inherit);
}

.dillymenu-category-footnote p {
    padding-bottom: 0 !important;
    margin: 0;
}


.dillymenu-addons-available{
    border: 1.5px solid var(--dillymenu-accent-color);
    color: var(--dillymenu-accent-color);
    width: 145px;
    font-size: 0.9em !important;
    line-height: 1.25 !important;
    padding: 4px 6px 2px 6px;
    text-align: center;
    align-self: end;
    cursor: pointer;
    position: relative;
}

/* Produkt-Container */
.dillymenu-front-product {
    display: -webkit-box;      /* Ältere iOS/Android */
    display: -ms-flexbox;      /* IE 10 */
    display: flex;             /* Moderne Browser */
    align-items: stretch; /* Beide Spalten auf gleiche Höhe bringen */
    gap: 0px; /* Abstand zwischen Bild und Content */
    padding: 0px;
    box-shadow: var(--dillymenu-box-shadow-medium);
    border-radius: 0px;
    -webkit-box-orient: vertical; /* Ältere iOS/Android */
    -webkit-box-direction: normal; /* Ältere iOS/Android */
    -ms-flex-direction: column;    /* IE10 */
    flex-direction: column;        /* Moderne Browser */
}

/* Card-Layout */
.dillymenu-front-product {
    background: var(--dillymenu-card-bg-light);
    color: var(--dillymenu-card-text-light);
}

.dillymenu-front-product:hover {
    background: var(--dillymenu-card-bg-light-hover);
}

.product-ingredients{
    display: inline-block;
    margin-left: 6px;
    font-weight: 300;
}

/* Linke Spalte: Bild-Container – festes aspect-ratio verhindert Layout-Shift beim Lazy-Load */
.dillymenu-front-product-image {
    position: relative;
    width: 100%;
    aspect-ratio: var(--dillymenu-product-image-aspect, 4/3);
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.dillymenu-front-product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important; /* Bild skalieren und zuschneiden */
    object-position: center;
    margin-bottom: 0px !important;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    cursor: pointer;
}


.dillymenu-price-table{
    background-color: transparent !important;
}

.dillymenu-price-right-column{
    text-align: right !important;
    padding-right: 0px !important;
    width: 50% !important;
    font-size: 0.75em;
    font-weight: bold !important;
}

.dillymenu-detail-price-addons{
    margin-top: 40px;
}

.dillymenu-addons-table-row{
    font-size: 1.1em;
    font-weight: 400 !important;
}

.dillymenu-price-left-column{
    text-align: left !important;
    padding-left: 0px !important;
    width: 50% !important;
    font-size: 0.75em;
    font-weight: 400 !important;
}


.dillymenu-price-table-row{
    padding-bottom: 10px !important;
    padding-top: 10px !important;
    border-top: 1px solid var(--dillymenu-price-table-row-border) !important;
}

.dillymenu-price-table-row:first-child {
    border-top: 1px solid var(--dillymenu-price-table-row-border-first) !important;
}



/* Modal Button - wird verwendet wenn kein Menü ausgewählt */
#open-menus-modal {
    width: 100%;
    text-align: center;
    background: transparent;
    border: none;
    padding: 0px;
    margin-bottom: 30px;
    font-size: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    box-shadow: none !important;
}

.dillymenu-front-category-wrapper {
    margin-top: 80px;
    scroll-margin-top: var(--dillymenu-scroll-margin-top);
}

.dillymenu-table-category-wrapper{
    margin-top: 40px;
}


/* Tabellen-Ansicht: Toggle Collapse (Plus/Minus) */
.dillymenu-table-category-toggle {
    background: var(--dillymenu-category-toggle-table-view-bg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    cursor: pointer;
    margin-bottom: 0;
    padding: 0px 30px !important;
    border: none;
    text-align: left;
    color: var(--dillymenu-category-toggle-table-view-text);
}
.dillymenu-table-category-toggle h2 {
    margin-bottom: 30px !important;
    margin-top: 30px !important;
    flex: 1;
    min-width: 0;
}
.dillymenu-table-toggle-icon {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.5em;
    height: 1.5em;
    font-size: 1.5em;
    line-height: 1;
    font-weight: 300;
    color: inherit;
}
.dillymenu-table-category-toggle .dillymenu-table-toggle-icon::before {
    content: '−';
}
.dillymenu-table-category-wrapper.dillymenu-category-collapsed .dillymenu-table-category-toggle .dillymenu-table-toggle-icon::before {
    content: '+';
}
.dillymenu-table-category-wrapper.dillymenu-category-collapsed .dillymenu-table-category-toggle h2 {
    margin-bottom: 40px;
}

/* Content-Bereich: sanft auf-/zuklappen */
.dillymenu-table-category-content {
    overflow: hidden;
    max-height: 5000px;
    opacity: 1;
    transition:
        max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.3s ease-out;
}
.dillymenu-table-category-wrapper.dillymenu-category-collapsed .dillymenu-table-category-content {
    max-height: 0;
    opacity: 0;
    transition:
        max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.25s ease-in;
}

#open-menus-modal h2 {
    display: inline-flex;
    gap: 15px;
    align-items: center;
    background: transparent !important;
    color: var(--dillymenu-button-text-light, #1C2327) !important;
    font-weight: 900 !important;
    font-size: 1.1em;
    margin: 0;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: none !important;
    margin-left: 30px;
    line-height: 1.25 !important;
}

#open-menus-modal h2::after {
    content: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="18.663" height="10.235" viewBox="0 0 18.663 10.235"><g transform="translate(-4.25 -7.75)"><g transform="translate(4.25 7.75)"><path d="M.514.514A.9.9,0,0,1,1.69.427l.1.087L9.582,8.3l7.79-7.79A.9.9,0,0,1,18.547.427l.1.087a.9.9,0,0,1,.087,1.176l-.087.1L10.22,10.22a.9.9,0,0,1-1.176.087l-.1-.087L.514,1.792A.9.9,0,0,1,.514.514Z" transform="translate(-0.25 -0.25)" fill="%231C2327"/></g></g></svg>');
    transform: rotate(0deg);
    z-index: 3;
    color: var(--dillymenu-button-text-light, #1C2327);
    margin-left: 8px;
    transition: transform 0.3s ease;
}

#open-menus-modal h3 {
    font-weight: 300 !important;
    font-size: 0.95em;
    margin: 0;
    background: transparent !important;
    color: var(--dillymenu-button-text-light, #1C2327) !important;
    width: 100%;
    box-sizing: border-box;
}

/* Heutige Öffnungszeiten unter dem Untertitel */
#open-menus-modal .dillymenu-today-hours {
    font-size: 0.8em;
    font-weight: 400;
    margin: 0;
    padding: 0 32px 12px 32px;
    color: color-mix(in srgb, var(--dillymenu-button-text-light, #1C2327) 75%, transparent);
    opacity: 0.9;
}

.menus-modal-content
{
    position: relative;
    text-align: center;
    background: var(--dillymenu-modal-bg);
    padding:0px;
    border-radius:0px;
    max-width:500px;
    min-width:300px;
    color: var(--dillymenu-modal-text);
    margin:auto;
    box-shadow:0 0 10px var(--dillymenu-overlay);
}

.menus-modal-content h3 {
    padding-top: 15px;
    padding-bottom: 15px;
    color: var(--dillymenu-modal-text);
    padding-bottom: 15px;
    margin-bottom: 0px !important;
}

.select-dillymenu-container{
    display: flex;
    flex-direction: column;
    gap: 0px;
    list-style: none;
    padding: 0px;
    margin: 0px;
}

.select-dillymenu-container a{
    width: 100%;
    padding: 10px 20px;
}

.select-dillymenu-container li{
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 0px;
    align-items: center;
    background: var(--dillymenu-modal-bg);
    border-bottom: 1px solid var(--dillymenu-modal-border);
    align-self: center;
    width: 100%;
    justify-content: center;
    cursor:pointer;
    transition: background-color 0.2s ease;
}

.select-dillymenu-container li:first-child{
    border-top: 1px solid var(--dillymenu-modal-border);
}

.select-dillymenu-container li a strong{
    font-size: 1.2em;
    color: var(--dillymenu-modal-text);
}

.select-dillymenu-container li a span{
    font-size: 1.0em;
    color: color-mix(in srgb, var(--dillymenu-modal-text) 70%, transparent);
}

/* Heutige Öffnungszeiten im Select-Menu-Modal unter dem Untertitel */
.select-dillymenu-container li a .dillymenu-today-hours-modal {
    display: block;
    font-size: 0.8em;
    margin-top: 0px;
    color: color-mix(in srgb, var(--dillymenu-modal-text) 60%, transparent);
}

.select-dillymenu-container li.selected, .select-dillymenu-container li:hover, .select-dillymenu-container li:active, .select-dillymenu-container li:focus{
    background: var(--dillymenu-modal-hover) !important;
}

#open-menus-modal:hover h2 {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--dillymenu-shadow);
}

#open-menus-modal:hover h2::after {
    transform: translateY(2px);
}

#open-menus-modal:active h2 {
    transform: translateY(0);
}

.dillymenu-front-product-image img.loaded {
    opacity: 1;
}

/* Rechte Spalte: Content */
.dillymenu-front-product-content {
    flex: 1; /* Nimmt den restlichen Platz ein */
    display: flex;
    flex-direction: column;
    justify-content: start;
    padding-right: 1.25vw;
    padding-bottom: 1.25vw;
    padding-left: 1.25vw;
    padding-top: 1.25vw;
    gap: 2.5px;
}

.dillymenu-front-product-content h3 {
    font-family: "dunbar-tall", sans-serif;
    margin: 0 0 0px;
    font-size: 1.25em !important;
    cursor: pointer;
    line-height: 1.25 !important;
    font-weight: 600 !important;
    transition: opacity 0.15s ease-in-out;
}

.dillymenu-front-product-content h3 {
    color: var(--dillymenu-card-text-light);
}

.dillymenu-front-product-content h3:hover{
    opacity: 0.75;
}

.dillymenu-front-product-content p {
    margin: 0 0 0px;
    font-size: 1em;
    line-height: 1.5em;
    padding-bottom: 0px;
}

.dillymenu-front-product-content p {
    color: var(--dillymenu-card-text-light);
}
.dillymenu-front-product:hover .dillymenu-front-product-content p {

}

.dillymenu-front-product-content span.dillymenu-price {
    font-size: 1.2em;
    color: var(--dillymenu-accent-color, #FF7000);
    font-weight: bold;
    align-self: end;
    cursor: pointer;
    transition: opacity 0.15s ease-in-out;
}

/* Karten (Grid + Passend dazu): Wrapper für Merkmale + Preis, 2 Spalten, Preis rechtsbündig */
.dillymenu-card-features-price {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    width: 100%;
    min-height: 0;
    margin-top: 15px;
}
.dillymenu-card-features-price .dillymenu-card-features {
    flex: 1 1 auto;
    min-width: 0;
    text-align: left;
}
.dillymenu-card-features-price .dillymenu-card-price {
    flex: 0 0 auto;
    text-align: right;
}
.dillymenu-card-features-price .dillymenu-card-price .dillymenu-price {
    white-space: nowrap;
}

.dillymenu-front-product-content span:hover {
    opacity: 0.75;
}

.dillymenu-front-product:hover .dillymenu-front-product-content span {

}

#custom-tooltip {
    display: none;
    transition: opacity 0.2s ease-in-out;
}

#custom-tooltip.show {
    display: block;
}




/* Über Produktdetail (z-index: 99999999) legen, damit Klick auf Merkmale/Allergene sichtbar ist */
.ingredient-modal, .feature-modal {
    display: none;
    position: fixed;
    z-index: 100000000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dillymenu-overlay);
}

.ingredient-modal-content, .feature-modal-content {
    background-color: var(--dillymenu-modal-bg);
    margin: 10% auto;
    padding: 20px;
    border: 1px solid var(--dillymenu-modal-content-border);
    width: 90%;
    max-width: 500px;
    box-shadow: var(--dillymenu-box-shadow-strong);
    position: relative;
    border-radius: 5px;
    color: var(--dillymenu-modal-text);
}

.ingredient-modal-content h3, .feature-modal-content h3{
    color: var(--dillymenu-modal-text);
}

.close-modal {
    color: var(--dillymenu-modal-close);
    position: absolute;
    top: 10px;
    right: 15px;
    font-weight: bold;
    float:right; cursor:pointer; font-size:20px;
}

.close-modal:hover,
.close-modal:focus {
    color: var(--dillymenu-modal-close-hover);
    text-decoration: none;
    cursor: pointer;
}



/* Toggle-Switch Container */
.dillymenu-front-toggle-wrapper {
    display: flex; /* Flexbox für horizontale Ausrichtung */
    align-items: center; /* Vertikal zentrieren */
    margin-bottom: 10px; /* Abstand zwischen Zeilen */
}

/* Minimalistischer Toggle-Switch */
.dillymenu-front-toggle {
    position: relative;
    display: inline-block;
    width: 1.85em; /* Breite proportional zur Schriftgröße */
    height: 1em;
}
.dillymenu-front-toggle input {
    display: none; /* Checkbox verstecken */
}
.dillymenu-front-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0;
    right: 0; bottom: 0;
    background-color: var(--dillymenu-toggle-track);
    border-radius: 1em;
    transition: background-color 0.2s;
}
.dillymenu-front-slider:before {
    position: absolute;
    content: "";
    height: 0.8em;
    width: 0.8em;
    left: 0.1em;
    bottom: 0.1em;
    background-color: var(--dillymenu-toggle-thumb);
    border-radius: 50%;
    transition: transform 0.2s;
}
input:checked + .dillymenu-front-slider {
    background-color: var(--dillymenu-accent-color);
}
input:checked + .dillymenu-front-slider:before {
    transform: translateX(0.9em); /* Toggle nach rechts schieben */
}

/* Text neben dem Toggle */
.dillymenu-front-toggle-label {
    margin-left: 5px; /* Abstand zwischen Toggle und Text */
    font-size: 1em; /* Schriftgröße bleibt sauber */
    color: var(--dillymenu-button-text-light);
}

/* Dark/Light Mode für Filter-Texte */
body.dillymenu-filter-text-light .dillymenu-front-toggle-label {
    color: var(--dillymenu-tabbar-active-text) !important;
}

body.dillymenu-filter-text-dark .dillymenu-front-toggle-label {
    color: var(--dillymenu-button-text-light) !important;
}

/* SVG Icon Styles */
.dillymenu-filter-icon-svg {
    width: 80px;
    height: auto;
    display: inline-block;
}


/* Sidepanel Style */
.dillymenu-front-sidepanel {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 400px;
    background-color: var(--dillymenu-sidepanel-bg);
    overflow-y: auto !important; /* Scroll erzwingen */
    overflow-x: hidden; /* Horizontaler Scroll vermeiden */
    transform: translateX(100%); /* Standard: komplett außerhalb */
    transition: transform 0.4s ease-in-out;
    padding: 60px 20px;
    color: var(--dillymenu-sidepanel-text);
    box-shadow: var(--dillymenu-box-shadow-medium);
    z-index: 9999999; /* Über alles legen */
}

.dillymenu-front-sidepanel.open {
    transform: translateX(0); /* Slide-In: Zeige das Panel */
}

.dillymenu-no-results {
    text-align: center;
    margin: 40px 0;
    font-size: 1.2em;
    color: var(--dillymenu-modal-text);
    font-weight: bold;
}

.dillymenu-front-closebtn {
    position: absolute;
    top: 10px;
    right: 25px;
    font-size: 24px;
    padding:5px;
    color: var(--dillymenu-sidepanel-text);
    border: none;
    outline: none;
    cursor: pointer;
    background:transparent !important;
}


.dillymenu-front-closebtn:hover {
    color: var(--dillymenu-accent-color);
}
.dillymenu-front-sidepanel h3 {
    margin-bottom: 20px;
}

#dillymenu_special_features{
    display: flex;
    text-align: center;
    margin: 20px 0;
    gap: 20px;
    justify-content: center;
}

#open_sidepanel{
    background: transparent !important;
    margin: 0px !important;
    padding: 0px !important;
    border: none !important;
    cursor: pointer;
}

#dillymenu-close-product{
    background: transparent !important;
    margin: 0px !important;
    padding: 0px !important;
    border: none !important;
    cursor: pointer;
}

#dillymenu-close-product img{
    width: 50px;
    margin-bottom: 50px;
}

#dillymenu-close-product:hover{
    opacity: 0.7;
}

img.dillymenu-filter-icon{
    padding: 0px !important;
    margin: 0px !important;
    margin-bottom: 0px !important;
    width: 80px !important;
}

#open_sidepanel:hover{
    opacity: 0.7;
}

#dillymenu_special_features .dillymenu-front-toggle-wrapper{
    display: inline-flex;
}

.dillymenu-front-search{
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}

.dillymenu-search-wrap {
    position: relative;
    flex: 1;
    min-width: 0;
}

#dillymenu_search{
    border-radius: 40px !important;
    padding-left: 20px;
    padding-right: 40px;
    width: 100%;
    box-sizing: border-box;
}

.dillymenu-search-clear {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    padding: 0;
    border: none;
    background: transparent;
    color: var(--dillymenu-text, #1C2327);
    font-size: 22px;
    line-height: 1;
    cursor: pointer;
    opacity: 0.5;
    display: none;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: opacity 0.2s;
}

.dillymenu-search-clear:hover {
    opacity: 1;
}

.dillymenu-search-wrap.has-text .dillymenu-search-clear {
    display: flex;
}

/* Preloader-Overlay */
.dillymenu-front-preloader {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: var(--dillymenu-preloader-overlay);
    display: none; /* Standardmäßig ausgeblendet */
    z-index: 10000; /* Über alles */
    display: flex; /* Flexbox aktivieren */
    justify-content: center; /* Horizontal zentrieren */
    align-items: center; /* Vertikal zentrieren */
}

/* Ladeanimation */
.dillymenu-front-loader {
    border: 5px solid var(--dillymenu-preloader-bg);
    border-top: 5px solid var(--dillymenu-preloader-active);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

/* Ladeanimation-Spin */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


/* Allgemeines Skeleton Loading */
.dillymenu-skeleton {
    background: linear-gradient(90deg, var(--dillymenu-skeleton-gradient-start) 25%, var(--dillymenu-skeleton-color) 50%, var(--dillymenu-skeleton-gradient-end) 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: 0px;
}

@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Skeleton: gleiches aspect-ratio wie geladenes Bild → kein Layout-Shift beim Laden */
.dillymenu-front-product-image.skeleton {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: var(--dillymenu-skeleton-color, #F9DEBF);
    border-radius: 0px;
    animation: skeleton-loading 1.5s infinite;
}

/* Skeleton Loader für Text-Content */
.dillymenu-skeleton-line {
    height: 20px;
    margin: 5px 0;
    width: 100%;
    background-color: var(--dillymenu-skeleton-color, #F9DEBF);
    background: linear-gradient(90deg, 
        color-mix(in srgb, var(--dillymenu-skeleton-color, #F9DEBF) 80%, transparent) 25%, 
        var(--dillymenu-skeleton-color, #F9DEBF) 50%, 
        color-mix(in srgb, var(--dillymenu-skeleton-color, #F9DEBF) 120%, transparent) 75%);
    border-radius: 4px;
    animation: skeleton-loading 1.5s infinite;
}

.dillymenu-skeleton-line.small {
    width: 30%;
    animation: skeleton-loading 1.5s infinite;
}

.dillymenu-load-more {
    display: block;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: var(--dillymenu-load-more-bg);
    color: var(--dillymenu-load-more-text);
    border: none;
    cursor: pointer;
    border-radius: 0px;
    font-size: 1em;
    border-radius: 0px !important;
}

.dillymenu-load-more:hover {
    background-color: var(--dillymenu-load-more-hover);
}


.dillymenu-front-category > button.dillymenu-load-more {
    grid-column: span 2; /* Spanne 2 Spalten */
}

/* Product Detail Seite */
.dillymenu-front-product-detail {
    padding: 20px;
    background-color: var(--dillymenu-modal-bg);
    color: var(--dillymenu-modal-text);
    /* Scroller-Styling */
    scrollbar-width: thin;
    scrollbar-color: var(--dillymenu-scrollbar-thumb) transparent;
}

/* Webkit-Scrollbar für besseres Aussehen */
.dillymenu-front-product-detail::-webkit-scrollbar {
    width: 8px;
}

.dillymenu-front-product-detail::-webkit-scrollbar-track {
    background: transparent;
}

.dillymenu-front-product-detail::-webkit-scrollbar-thumb {
    background-color: var(--dillymenu-scrollbar-thumb);
    border-radius: 4px;
}

.dillymenu-front-product-detail::-webkit-scrollbar-thumb:hover {
    background-color: var(--dillymenu-scrollbar-thumb-hover);
}

.dillymenu-detail-top {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 Spalten */
    gap: 40px; /* Abstand zwischen den Elementen */
}

.dillymenu-detail-image img {
    max-width: 100%;
}

.dillymenu-detail-thumbnails{
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 2 Spalten */
    gap: 10px;
}

.dillymenu-detail-thumbnails img {
    cursor: pointer;
    opacity: 0.7;
}

.dillymenu-detail-thumbnails img:hover {
    opacity: 1;
}

.dillymenu-detail-content {
    flex: 1;
}

.dillymenu-detail-content h1 {
    font-size: 2.5em;
    margin-bottom: 0px;
    color: var(--dillymenu-modal-text);
}

.dillymenu-detail-content p {
    margin-bottom: 20px;
    color: var(--dillymenu-modal-text);
}

.dillymenu-detail-contains {
    margin-bottom: 20px;
    color: var(--dillymenu-modal-text);
}

.dillymenu-detail-price {
    font-size: 1.8em;
    font-weight: bold;
    color: var(--dillymenu-modal-text);
}
.dillymenu-detail-price .dillymenu-price-single {
    text-align: right;
}

.dillymenu-detail-recommendations h2 {
    margin: 40px 0 20px;
    color: var(--dillymenu-modal-text);
}

.dillymenu-recommendations-list {
    display: grid;
    grid-template-columns: repeat(var(--dillymenu-columns-desktop, 4), 1fr);
    gap: 40px;
}

/* Container für das Hauptbild */
#dillymenu-detail-image-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-height: 400px; /* Setze eine maximale Höhe für die Galerie */
}

/* Hauptbild */
#dillymenu-detail-image {
    width: 100%;
    height: auto;
    transition: opacity 0.5s ease-in-out;
}

/* Fade-Out für das alte Bild */
#dillymenu-detail-image.fade-out {
    opacity: 0;
}

/* Aktives Thumbnail */
.dillymenu-product-thumbnail {
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
    opacity: 0.5;
}

.dillymenu-product-thumbnail.active {
    opacity: 1;
}

.dillymenu-product-thumbnail > img:nth-child(2){
    display: none !important;
    opacity: 0 !important;
}


/* categories */

/* Container für den Slider */
/* Sticky Slider-Wrapper */

/* Platzhalter für Originalposition */
.slider-placeholder {
    height: 50px; /* Höhe des Sliders berücksichtigen */
}

#dillymenu_controls{
    margin-bottom: 30px;
}


.product-features > div.feature-icon{
    display: inline-block !important;
}

.feature-icon img, .feature-label-without-icon {
    cursor: pointer;
    transition: opacity 0.3s ease-in-out;
    display:inline-block !important;
    width: 30px !important;
    height: 30px !important;
    margin-bottom: 0px !important;
    margin:5px !important;
}

.feature-icon img:hover, .feature-label-without-icon:hover {
    opacity: 0.8;
}

.dillymenu-category-slider-wrapper {
    position: relative; /* Standard: normale Position - bleibt IMMER so */
    z-index: 1000;
    padding: 10px 0;
    box-sizing: border-box;
    background-color: transparent;
    /* KEINE Änderungen beim Scrollen - bleibt immer im normalen Flow */
}

/* Kompakter Slider-Wrapper (innerhalb, für Sticky-Modus); top wird per JS aus <header>-Höhe gesetzt */
.dillymenu-category-slider-compact-wrapper {
    position: fixed;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 9999;
    background-color: var(--dillymenu-tabbar-fixed-bg);
    padding: 5px 0;
    box-shadow: var(--dillymenu-box-shadow-medium);
    display: none !important; /* Standardmäßig versteckt */
    transition: top 0.3s ease;
    top: 0; /* wird per JavaScript auf header-Höhe gesetzt */
}

.dillymenu-category-slider-compact-wrapper.dillymenu-compact-visible {
    display: block !important; /* Wird per JavaScript angezeigt */
}

/* Kompakter Slider hat die gleichen Styles wie der normale */
.dillymenu-category-slider-compact-wrapper .dillymenu-category-slider {
    padding-left: 10px;
    padding-right: 10px;
}

/* Alte Regeln entfernt - wir haben jetzt zwei separate Slider */

.dillymenu-category-slider {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 12px;
    padding: 5px 0;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.dillymenu-category-slider::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Kompakter Slider-Wrapper wird per JavaScript gesteuert */

.dillymenu-category-slider-item {
    flex: 0 0 auto;
    border-radius: 0px;
    cursor: pointer;
    text-align: center;
    border: 2px solid var(--dillymenu-tabbar-button-border);
    background-color: var(--dillymenu-tabbar-button-bg);
    padding: 0px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.slider-category-title{
    padding: 12px 24px;
    max-width: auto;
    color: var(--dillymenu-tabbar-button-text);
}

.dillymenu-category-slider-item.active {
    background: var(--dillymenu-tabbar-active-bg);
    border: 2px solid var(--dillymenu-tabbar-active-border);
}

.dillymenu-category-slider-item.active .slider-category-title {
    color: var(--dillymenu-tabbar-active-text);
}

.dillymenu-category-slider-item.has_image.active > .slider-category-title{
    background: var(--dillymenu-tabbar-active-bg);
}

.dillymenu-slider-dots {
    text-align: center;
    margin-top: 10px;
}

.dillymenu-slider-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    background: var(--dillymenu-border-color);
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
}

.dillymenu-slider-dot.active {
    background: var(--dillymenu-accent-color);
}


/* Verlauf-Effekt hinzufügen */

/* Verlauf nur, wenn die Klasse "dillymenu-slider-overflowed" vorhanden ist */

body > .dillymenu-category-slider-wrapper > .dillymenu-category-slider{
    padding-bottom: 0px !important;
}

/* Standard-Verlauf für Slider */
.dillymenu-category-slider-wrapper.dillymenu-slider-overflowed::after,
.dillymenu-category-slider-wrapper.dillymenu-slider-overflowed::before {
    content: '';
    position: absolute;
    top: 0;
    width: var(--dillymenu-slider-gradient-width); /* Responsive Verlauf-Breite */
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

/* Verlauf rechts anzeigen (am Anfang) */
.dillymenu-category-slider-wrapper.dillymenu-slider-overflowed.at-start::after {
    right: 0;
    background: linear-gradient(to left, var(--dillymenu-slider-gradient-color), transparent); /* Verlauf - Light Mode */
}
.dillymenu-category-slider-wrapper.dillymenu-slider-overflowed.at-start::before {
    content: ''; /* > */
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%);
    font-size: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dillymenu-accent-color);
}

/* Verlauf links anzeigen (am Ende) */
.dillymenu-category-slider-wrapper.dillymenu-slider-overflowed.at-end::before {
    left: 0;
    background: linear-gradient(to right, var(--dillymenu-slider-gradient-color), transparent); /* Verlauf - Light Mode */
}
.dillymenu-category-slider-wrapper.dillymenu-slider-overflowed.at-end::after {
    content: ''; /* < */
    position: absolute;
    top: 50%;
    left: 0px;
    transform: translateY(-50%);
    font-size: 20px;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dillymenu-accent-color);
}

/* Padding für body > .dillymenu-category-slider-wrapper */
body > .dillymenu-category-slider-wrapper {
    padding-left: 10px;
    padding-right: 10px;
}

.dillymenu-backtomenu{
    margin-bottom: 20px;
}

.dillymenu-backtomenu:hover{
    opacity: 0.8;
}

.dillymenu-backtomenu:active{
    opacity: 0.6;
}

.dillymenu-backtomenu:focus{
    opacity: 0.6;
}

.dillymenu-backtomenu svg{
    width: 50px;
}

/* Mobile Anpassungen */
@media only screen and (max-width: 800px){
    .dillymenu-front-category-wrapper {
        scroll-margin-top: var(--dillymenu-scroll-margin-top-mobile);
    }
    
    /* Tab-Navigation 100% Breite ohne Margin/Padding - NUR für normalen Wrapper */
    body > .dillymenu-category-slider-wrapper,
    .container-wrap .dillymenu-category-slider-wrapper,
    .container-wrap .dillymenu-category-slider-wrapper.at-end {
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        left: 0 !important;
        right: 0 !important;
        margin-left: -30px !important;
        width: calc(100vw + 5px) !important;
    }
    
    /* Kompakter Wrapper auf Mobile auch 100% Breite */
    .dillymenu-category-slider-compact-wrapper {
        width: 100% !important;
        left: 0 !important;
        right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* Slider selbst auch 100% Breite */
    .dillymenu-category-slider {
        padding-left: 30px;
        padding-right: 30px;
    }

    /* Verlauf-Breite bei Mobile auf 30px reduzieren */
    .dillymenu-category-slider-wrapper.dillymenu-slider-overflowed::after,
    .dillymenu-category-slider-wrapper.dillymenu-slider-overflowed::before {
        --dillymenu-slider-gradient-width: 30px;
    }

    .dillymenu-front-product-content h3{
        font-size: 1.0em !important;
        line-height: 1.25 !important;
        padding-bottom: 0px !important;
    }

    .dillymenu-front-product-content p{
        font-size: 0.8em !important;
    }

    .dillymenu-front-product-content{
        gap: 5px !important;
    }

    .dillymenu-front-product-content span.dillymenu-price{
        font-size: 0.8em !important;
    }

    #open-menus-modal h3{
        font-size: 1.0em;
    }



    .dillymenu-detail-top {
        display: flex; /* Flexbox aktivieren */
        flex-direction: column; /* Elemente untereinander anordnen */
        align-items: stretch; /* Spalten in voller Breite zueinander ausrichten */
        gap: 10px; /* Abstand zwischen den Elementen */
    }

    /* Hintergrund-Overlay für Modal-Effekt */
    #dillymenu-modal-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: var(--dillymenu-overlay);
        backdrop-filter: blur(3px);
        z-index: 999999 !important; /* Sehr hoch, damit es über allem liegt */
        display: none; /* Standardmäßig versteckt */
    }
    
    #dillymenu-front-wrapper-productview{
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 100% !important;
        max-width: 1200px;
        height: 100vh !important;
        max-height: 100vh !important;
        z-index: 99999999 !important; /* Extrem hoch, damit es über allem liegt, auch über dem Header */
        background-color: var(--dillymenu-modal-bg);
        border-radius: 0px !important;
        box-shadow: var(--dillymenu-box-shadow-modal);
        overflow: hidden; /* Verhindert iframe-ähnliches Aussehen */
        margin-top: 0;
        display: none; /* Standardmäßig versteckt */
    }
    
    /* Content-Bereich mit Scroller */
    #dillymenu-front-wrapper-productview .dillymenu-front-product-detail {
        max-height: 100vh !important;
        overflow-y: auto;
        overflow-x: hidden;
        padding: 30px !important;
    }

    .dillymenu-backtomenu{
        margin-bottom: 10px;
    }

    #dillymenu-close-product img{
        width: 30px;
        margin-bottom: 20px;
    }

    .dillymenu-recommendations-list {
        display: grid;
        grid-template-columns: repeat(var(--dillymenu-columns-mobile, 2), 1fr);
        gap: 20px;
    }

    .dillymenu-front-sidepanel {
        width: 60%;
    }

    .dillymenu-front-category {
        display: grid;
        grid-template-columns: repeat(var(--dillymenu-columns-mobile, 2), 1fr);
        gap: 20px; /* Abstand zwischen den Elementen */
        margin-bottom: 20px;
    }

    .dillymenu-front-product {
        display: flex; /* Flexbox aktivieren */
        flex-direction: column; /* Elemente untereinander anordnen */
        align-items: stretch; /* Spalten in voller Breite zueinander ausrichten */
        gap: 0px; /* Abstand zwischen Bild und Content */
        padding: 0px;
        background: var(--dillymenu-card-bg-light);
        color: var(--dillymenu-card-text-light);
        box-shadow: var(--dillymenu-box-shadow-medium);
        border-radius: 0px;
    }

    .dillymenu-front-product-content {
        flex: 1; /* Nimmt den restlichen Platz ein */
        display: flex;
        flex-direction: column;
        justify-content: start;
        padding-right: 2vw;
        padding-bottom: 2vw;
        padding-left: 2vw;
        padding-top: 2vw;
    }

    .dillymenu-front-product-image {
        position: relative;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .dillymenu-front-product-image.skeleton {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: var(--dillymenu-skeleton-color, #F9DEBF);
        border-radius: 0px;
        animation: skeleton-loading 1.5s infinite;
    }

    #dillymenu_results h2{
        display: flex;
        gap: 20px;
        align-items: end;
        margin-bottom: 20px;
        margin-top: 40px;
    }

    #dillymenu_special_features{
        display: none;
    }

    .feature-icon img, .feature-label-without-icon {
        width: 15px !important;
        height: 15px !important;
        margin-bottom: 0px !important;
        margin:2.5px !important;
    }

    .dillymenu-detail-content h1{
        line-height: 1.25 !important;
    }

    .dillymenu-table-view{
        grid-template-columns: 1fr;
        padding: 0px;
    }

}



/* ipad small desktops */
@media only screen and (min-width: 801px) and (max-width: 1300px){
    .dillymenu-recommendations-list {
        display: grid;
        grid-template-columns: repeat(var(--dillymenu-columns-tablet, 2), 1fr);
        gap: 40px;
    }

    .dillymenu-front-category {
        display: grid;
        grid-template-columns: repeat(var(--dillymenu-columns-tablet, 2), 1fr);
        gap: 40px; /* Abstand zwischen den Elementen */
        margin-bottom: 20px;
    }

    .dillymenu-front-product {
        display: flex; /* Flexbox aktivieren */
        flex-direction: column; /* Elemente untereinander anordnen */
        align-items: stretch; /* Spalten in voller Breite zueinander ausrichten */
        gap: 0px; /* Abstand zwischen Bild und Content */
        padding: 0px;
        background: var(--dillymenu-card-bg-light);
        color: var(--dillymenu-card-text-light);
        box-shadow: var(--dillymenu-box-shadow-medium);
        border-radius: 0px;
    }

    .dillymenu-front-product-content {
        flex: 1; /* Nimmt den restlichen Platz ein */
        display: flex;
        flex-direction: column;
        justify-content: start;
        padding-right: 2vw;
        padding-bottom: 2vw;
        padding-left: 2vw;
        padding-top: 2vw;
    }

    .dillymenu-front-product-image {
        position: relative;
        overflow: hidden;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }

    .dillymenu-front-product-image.skeleton {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        background-color: var(--dillymenu-skeleton-color, #F9DEBF);
        border-radius: 0px;
        animation: skeleton-loading 1.5s infinite;
    }

    #dillymenu_results h2{
        display: flex;
        gap: 20px;
        align-items: end;
        margin-bottom: 20px;
        margin-top: 40px;
    }

}



/* Desktop Modal Styles */
#dillymenu-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--dillymenu-overlay);
    backdrop-filter: blur(3px);
    z-index: 999999 !important; /* Sehr hoch, damit es über allem liegt */
    display: none;
}

#dillymenu-front-wrapper-productview {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    z-index: 99999999 !important; /* Extrem hoch, damit es über allem liegt, auch über dem Header */
    background-color: var(--dillymenu-modal-bg);
    border-radius: 10px;
    box-shadow: var(--dillymenu-box-shadow-modal);
    overflow: hidden; /* Verhindert iframe-ähnliches Aussehen */
    display: none;
}

/* Content-Bereich mit Scroller */
#dillymenu-front-wrapper-productview .dillymenu-front-product-detail {
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px;
}

@media only screen and (min-width: 1200px) and (max-width: 5000px) {
    /* Alte Slider-Regeln entfernt - wir haben jetzt zwei separate Slider */

    .dillymenu-category-slider-item.has_image{
        width: 240px;
        gap: 12px;
    }



    .slider-category-image{
        height: 150px;
        width: 100%;
        background-size: cover;
        background-position: center center;
        background-repeat: no-repeat;
    }

    .slider-category-title{
        text-overflow-ellipsis: ellipsis;
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        max-width: 240px;
        padding: 0px 20px;
    }

    
    #dillymenu-category-slider-compact .slider-category-title{
        padding: 10px 20px;
    }

    .dillymenu-category-slider-item.has_image{
        border: 0px solid var(--border-color);
    }

    .dillymenu-category-slider-item.has_image.active{
        background: transparent;
        border: none;
    }

    body > .dillymenu-category-slider-wrapper > div > .dillymenu-category-slider-item{
        width: auto;
        gap: 0px;
    }

    body > .dillymenu-category-slider-wrapper > div > div > .slider-category-image{
        display: none;
    }

    body > .dillymenu-category-slider-wrapper > div > .dillymenu-category-slider-item.has_image.active{
        border: 2px solid var(--primary-color) !important;
    }
    body > .dillymenu-category-slider-wrapper > div > .dillymenu-category-slider-item{
        border: 2px solid var(--border-color);
    }

    body > .dillymenu-category-slider-wrapper > div > div > .slider-category-title{
        padding: 10px 20px;
        text-overflow-ellipsis: none;
        text-overflow: inherit;
        white-space: nowrap;
        overflow: inherit;
        max-width: auto;
    }
}