/*
 Theme Name:   LilacBeauty Child
 Theme URI:    https://wdtlilac.wpengine.com/demo-2/
 Description:  LilacBeauty Child Theme
 Author:       the WeDesignTech team
 Author URI:   https://wedesignthemes.com/
 Template:     lilac-beauty
 Version:      1.0.0
 Text Domain:  lilac-beauty-child
*/

    .wdt-no-header-builder-content .no-header .no-header-logo > a > img, .elementor-widget-wdt-logo div.wdt-logo-container a img {
		width:234px !important;
        height: 109px !important;
    }

/* Contenitore immagini prodotto nella lista */
.custom-prod-archive img {
    width: 311px !important;          /* Larghezza fissa */
    height: 311px !important;         /* Altezza fissa */
    object-fit: contain !important;   /* Mantiene le proporzioni senza distorcere */
    background-color: #ffffff;        /* Sfondo uniforme #fcf7ee */
    padding: 10px;                     /* Spazio interno per non tagliare l'immagine */
    border-radius: 0;                  /* Rimuove eventuali angoli arrotondati */
    display: block;
    margin: 0 auto;                    /* Centra l'immagine */
	
}

/* Evita che i container si deformino con immagini più alte */
.custom-prod-archive ul.products li.product {
    text-align: center;
}


.add-request-quote-button.button{
	text-transform: none !important;
}


.woocommerce table.cart img{
    max-width:100px;
}

th.product-subtotal, td.product-subtotal,
th.product-quantity, td.product-quantity{
    display: none !important;
}

.woocommerce div.product div.images img,
.related img{
    mix-blend-mode: multiply;
}

/* Nasconde la PRIMA occorrenza del pulsante preventivo */
.single-product .summary .yith-ywraq-add-to-quote:first-of-type {
    display: none !important;
}


/* Nasconde il testo personalizzato quando è attivo il messaggio di YITH */
.yith_ywraq_add_item_browse_message + .custom-preventivo-text,
.yith_ywraq_add_item_browse_message ~ .custom-preventivo-text {
    display: none !important;
}

/* Primo livello: cat-parent */
ul.product-categories > li.cat-parent > a {
  font-weight: bold;
  text-decoration: underline !important;
}

/* Sottomenu (children): normali e senza decoration */
ul.product-categories ul.children li a {
  font-weight: normal;
  text-decoration: none;
}
@media (max-width: 1540px) {
    .wdt-header-menu .wdt-primary-nav > li > a {
        padding: 8px 14px !important;
    }
}

#header .wdt-header-menu ul li.has-mega-menu ul li.menu-item-object-wdt_mega_menus li a {
    font-family: 'Roboto Condensed' !important;
}

.white-link .elementor-element.elementor-element-529dcb5 .wdt-content-item span{
	color: #ffffff !important;
}

/* ============================================================
   SMV – Header Fix (child theme style.css)
   ============================================================ */

/* FIX 1 – Sticky visibile SOLO quando il tema aggiunge wdt-header-scroll */
.sticky-header-active.wdt-header-scroll {
    visibility: visible !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    top: 0 !important;
}

/* FIX 2 – Bottone "Cerca" nell'overlay: leggibilità */
.search-overlay button[type="submit"] {
    background-color: #c0392b;
    color: #ffffff !important;
    border: none;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s ease;
    white-space: nowrap;
}
.search-overlay button[type="submit"]:hover,
.search-overlay button[type="submit"]:focus {
    background-color: #922b21;
    color: #ffffff !important;
    outline: 2px solid #ffffff;
}

/* FIX 3 – Overlay: nascosta di default, visibile solo se .active */
.search-overlay {
    display: none;
}
.search-overlay.active {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
}

/* FIX 4 – Nasconde la copia dell'overlay nell'header sticky */
.sticky-header-active .search-overlay,
.wdt-header-scroll .search-overlay,
.wdt-header-top .search-overlay {
    display: none !important;
}