/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : 14 gen 2025, 15:12:50
    Author     : Utente
*/

.upsell-zg-mobile-thumbnail-background{
    
}

/* Bild ausgrauen, wenn Checkbox deaktiviert ist */
/*
input[type="checkbox"]:not(:checked) + label img {
    opacity: 0.3;
    filter: grayscale(100%);
}
*/

/***************************************************
 *
 *
 Alex KI-Design - START 18/02/2025
 *
 *
 ***************************************************/

/* Gesamt-Container für das Modul */
.recommended-products-zg {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 20px;
}
/* Container für die gesamte empfohlene Produktauswahl, richtet alle Elemente vertikal aus. */

/* Empfohlene Sektion über den Produkten */
.recommended-section-zg {
    text-align: left;
    margin-bottom: 15px;
}
/* Überschrift oder Text über den empfohlenen Produkten, links ausgerichtet. */

/* Produktanzeige */
.product-display-zg {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
/* Horizontale Anordnung der empfohlenen Produkte mit gleichmäßigen Abständen zwischen ihnen. */

/* Einzelnes Produkt */
.single-product-zg {
    text-align: center;
    max-width: 120px;
    position: relative;
}
/* Stil für jedes einzelne Produkt mit Begrenzung der maximalen Breite. */

/* Wrapper für Produktbild */
.product-wrapper-zg {
    display: inline-block;
    padding: 8px;
    border-radius: 10px;
    background-color: var(--grey3);
    box-shadow: 0 0 6px var(--grey5);
}
/* Hintergrund und abgerundete Ecken für das Produktbild mit leichtem Schatteneffekt. */

/* Produktbild */
.single-product-zg img {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    object-fit: fill;
    mix-blend-mode: darken;
}
/* Stil für die Produktbilder, sorgt für ein abgerundetes, gleichmäßiges Erscheinungsbild. */

/* Plus-Symbol zwischen den Produkten */
.plus-symbol-zg {
    font-size: 22px;
    font-weight: bold;
    color: var(--charcoal-grey);
}
/* "+" Zeichen zwischen den Produkten, um die Kombination zu verdeutlichen. */

/* Stil für den Button */
.add-to-cart-btn-zg {
    display: inline-block;
    background-color: var(--sandstone); /* Peticare Braun */
    color: var(--darkest);
    font-size: var(--xs);
    font-weight: bold;
    line-height: 53px;
    width:100%;
    text-transform: uppercase;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background 0.15s ease-in-out, transform 0.1s ease-in-out;
    margin-bottom:20px;
}
/* Standard-Stil für den Button, mit weichen Übergängen bei Farbe und Skalierung. */

/* Hover-Effekt */
.add-to-cart-btn-zg:hover {
    background-color: var(--sandstone);
    transform: scale(1.05);
}
/* Button wird leicht größer, wenn er mit der Maus überfahren wird. */

/* Aktiver Zustand */
.add-to-cart-btn-zg:active {
    background-color: var(--charcoal-grey);
    transform: scale(1);
}
/* Button wird dunkler, wenn er geklickt wird. */


/* Hintergrund verschwommen machen, wenn das Pop-up geöffnet ist */
.popup-blur *:not(.popup-overlay-zg):not(.popup-overlay-zg *) {
     filter: blur(1px);
    transition: filter 0.1s ease-in-out;
    pointer-events: none;
}

.popup-blur::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3); /* Hintergrund abdunkeln */
    backdrop-filter: blur(3px); /* Weicher Blur-Effekt */
    z-index: 999; /* Überlagert alles außer dem Pop-up */
}
/* Sobald das Pop-up geöffnet wird, wird der Hintergrund leicht verschwommen. */

/* Hintergrund-Overlay für das Pop-up */
.popup-overlay-zg {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: auto;
    background: white;
    transition: bottom 0.3s ease-in-out;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}
/* Das Pop-up erscheint von unten und ist flexibel in der Höhe. */


/* Kopfbereich des Pop-ups */
.popup-header {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--grey5);
}

.popup-header h3 {
    font-size: var(--sm);
    /*font-weight: ;*/
    color: var(--darkest); 
    text-transform: uppercase;
    margin: 0;
    padding: 5px 20px;
}

/* Kopfbereich des Pop-ups mit Überschrift und Schließen-Button. */

/* Schließen-Button (X) */
.close-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--charcoal-grey);
    font-weight: bold;
    transition: transform 0.2s ease-in-out, color 0.2s ease-in-out;
}

.close-btn:hover {
    color: var(--sandstone);
    transform: scale(1.2);
}
/* X-Button wird beim Überfahren leicht größer und rot. */


/* Produkt-Container */
.popup-product {
    display: flex;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid var(--grey5);
}
/* Container für jedes Produkt innerhalb des Pop-ups. */

/* Produktbild */
.popup-product img {
    width: 60px;
    height: 60px;
    margin-right: 10px;
    border-radius: 5px;
}
/* Stil für Produktbilder innerhalb des Pop-ups, mit gleichmäßiger Größe. */

/* Produktinfo */
.popup-info {
    flex-grow: 1;
    text-align: left;
    font-size: var(--sm);
}
/* Textinfos zum Produkt mit flexibler Breite. */

/* Streichpreis */
.popup-info del {
    color: var(--red);
}
/* Stil für den Streichpreis, wird in Rot angezeigt. */


/* "In den Warenkorb"-Button */
.popup-confirm {
    background: var(--sandstone); /* Peticare Braun */
    color: var(--darkest);
    border: none;
    border-radius: 2px;
    line-height: 53px;
    font-size: var(--xs);
    width: 100%;
    cursor: pointer;
    font-weight: bold;
    text-transform: uppercase;
    margin-top: 15px;
}
/* Haupt-Button im Pop-up zum Hinzufügen der Produkte in den Warenkorb. */


/* Stil für die Checkboxen */
.popup-product input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--sandstone);
    border-radius: 4px;
}

/* Fix für mobile Ansicht (größere Touch-Fläche für Checkbox) */
@media (max-width: 500px) {
    .popup-product input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }

    .close-btn {
        font-size: 28px;
    }
}
/* Größere Checkboxen für mobile Geräte für bessere Bedienbarkeit. */


/* Gesamtpreis-Anzeige */
.popup-total {
    width: 100%;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
    margin-top: 10px;
}
/* Stellt den Gesamtpreis mittig und fett dar. */

/* Zusatzprodukte ausgegraut, wenn sie nicht ausgewählt sind */
.popup-product.inactive {
    opacity: 0.5;
    transition: opacity 0.3s ease-in-out;
}
/* Produkte, die nicht ausgewählt sind, werden leicht ausgegraut. */

/* Aktivierte Zusatzprodukte */
.popup-product.active {
    opacity: 1;
}
/* Wenn die Checkbox aktiviert ist, wird das Produkt normal angezeigt. */

.main-product-price {
    /*visibility:hidden;*/
    display:none;
}
.zg-visible {
    /*visibility:visible;*/
    display:block;
}

#zg-submit-button-count{
    display:none;
}
.zg-visible-inline{
    display:inline !important;
}