/*
 Theme Name:   Elektrix Child
 Theme URI:    https://elektrix.wpengine.com/
 Description:  Elektrix Child Theme
 Author:       the WeDesignTech team
 Author URI:   https://wedesignthemes.com/
 Template:     elektrix
 Version:      1.0.0
 Text Domain:  elektrix-child
*/

.wdt-product-image-gallery-holder.wdt-product-vertical-thumb-left {
    flex-direction: row !important;
    -webkit-flex-direction: row !important;
    -ms-flex-direction: row !important;
}

.wdt-icon-box-style-a .wdt-icon-box-holder .wdt-content-item .wdt-content-detail-group .wdt-content-title h5 {
    text-transform: inherit !important;
}


.wdt-image-box-style-b .wdt-image-box-holder .wdt-content-item .wdt-content-detail-group .wdt-content-title h5 a {
    text-transform: inherit !important;
}

/*
===============================================
CSS COMPLETO CUSTOM FIELDS + ELEMENTOR WIDGETS
===============================================
Aggiungi questo CSS nel file style.css del tuo tema
o nel Customizer WordPress (Aspetto > Personalizza > CSS aggiuntivo)
*/

/* ===== RESET E BASE ===== */
.custom-galleria *,
.table-wrapper *,
.custom-titolo-parte-1,
.custom-titolo-2,
.custom-titolo-3,
.custom-titolo-4,
.custom-titolo-5,
.custom-testo-parte-1,
.custom-elenco-puntato-1,
.custom-testo-3-prima-galleria,
.custom-testo-4 {
    box-sizing: border-box;
}

/* ===== GALLERIA ===== */
.custom-galleria {
    display: grid;
    gap: 15px;
    margin: 30px 0;
    padding: 0;
}

/* Colonne Galleria - Base (sovrascritte da Elementor) */
.custom-galleria.columns-1 {
    grid-template-columns: 1fr;
}

.custom-galleria.columns-2 {
    grid-template-columns: repeat(2, 1fr);
}

.custom-galleria.columns-3 {
    grid-template-columns: repeat(3, 1fr);
}

.custom-galleria.columns-4 {
    grid-template-columns: repeat(4, 1fr);
}

.custom-galleria.columns-5 {
    grid-template-columns: repeat(5, 1fr);
}

.custom-galleria.columns-6 {
    grid-template-columns: repeat(6, 1fr);
}

.custom-galleria .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    background: #f8f9fa;
}

.custom-galleria .gallery-item a {
    display: block;
    position: relative;
    cursor: zoom-in;
}

.custom-galleria .gallery-item a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 1;
}

.custom-galleria .gallery-item:hover a::before {
    background: rgba(0, 0, 0, 0.1);
}

.custom-galleria .gallery-item a::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 24px;
    color: white;
    background: rgba(0, 0, 0, 0.7);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 2;
}

.custom-galleria .gallery-item:hover a::after {
    transform: translate(-50%, -50%) scale(1);
}

.custom-galleria .gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

/* Animazioni Hover Galleria */
.custom-galleria.hover-zoom .gallery-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.custom-galleria.hover-zoom .gallery-item:hover img {
    transform: scale(1.1);
}

.custom-galleria.hover-lift .gallery-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.custom-galleria.hover-rotate .gallery-item:hover {
    transform: rotate(2deg) scale(1.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* ===== TABELLA ===== */
.table-wrapper {
    overflow-x: auto;
    margin: 30px 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    background: white;
    border: 1px solid #e9ecef;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    min-width: 300px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.custom-table th,
.custom-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e9ecef;
    vertical-align: top;
}

.custom-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: none;
    position: sticky;
    top: 0;
    z-index: 10;
}

.custom-table th:first-child {
    border-top-left-radius: 12px;
}

.custom-table th:last-child {
    border-top-right-radius: 12px;
}

.custom-table tbody tr {
    transition: background-color 0.2s ease;
}

.custom-table tbody tr:hover {
    background-color: #f8f9fa;
}

.custom-table tbody tr:nth-child(even) {
    background-color: #fbfbfb;
}

.custom-table tbody tr:nth-child(even):hover {
    background-color: #f1f3f4;
}

.custom-table tbody tr:last-child td:first-child {
    border-bottom-left-radius: 12px;
}

.custom-table tbody tr:last-child td:last-child {
    border-bottom-right-radius: 12px;
}

.custom-table tbody tr:last-child td {
    border-bottom: none;
}

.custom-table td {
    color: #495057;
    font-size: 15px;
    line-height: 1.5;
}

/* Comportamenti Responsive Tabella */
.table-wrapper.responsive-scroll {
    overflow-x: auto;
}

.table-wrapper.responsive-stack {
    overflow-x: visible;
}

.table-wrapper.responsive-collapse .custom-table {
    font-size: 14px;
}

.table-wrapper.responsive-collapse .custom-table th,
.table-wrapper.responsive-collapse .custom-table td {
    padding: 8px 12px;
}

/* Stack Responsive per Tabelle */
@media (max-width: 768px) {
    .responsive-stack .custom-table,
    .responsive-stack .custom-table thead,
    .responsive-stack .custom-table tbody,
    .responsive-stack .custom-table th,
    .responsive-stack .custom-table td,
    .responsive-stack .custom-table tr {
        display: block;
    }

    .responsive-stack .custom-table thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    .responsive-stack .custom-table tr {
        border: 1px solid #ddd;
        margin-bottom: 15px;
        border-radius: 8px;
        background: white;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }

    .responsive-stack .custom-table td {
        border: none;
        border-bottom: 1px solid #eee;
        position: relative;
        padding: 12px 15px 12px 45% !important;
        text-align: right;
    }

    .responsive-stack .custom-table td:last-child {
        border-bottom: none;
    }

    .responsive-stack .custom-table td:before {
        content: attr(data-label) ": ";
        position: absolute;
        left: 15px;
        top: 12px;
        width: 40%;
        padding-right: 10px;
        white-space: nowrap;
        font-weight: 600;
        color: #333;
        text-align: left;
    }
}

/* ===== TITOLI ===== */
.custom-titolo-parte-1,
.custom-titolo-2,
.custom-titolo-3,
.custom-titolo-4,
.custom-titolo-5 {
    margin: 40px 0 20px 0;
    color: #2c3e50;
    font-weight: 700;
    line-height: 1.3;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.custom-titolo-parte-1 {
    font-size: 2.5em;
}

.custom-titolo-2,
.custom-titolo-3,
.custom-titolo-4,
.custom-titolo-5 {
    font-size: 2em;
}

/* ===== TESTI ===== */
.custom-testo-parte-1,
.custom-elenco-puntato-1,
.custom-testo-3-prima-galleria,
.custom-testo-4 {
    margin: 25px 0;
    line-height: 1.7;
    color: #495057;
    font-size: 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.custom-testo-parte-1 p,
.custom-elenco-puntato-1 p,
.custom-testo-3-prima-galleria p,
.custom-testo-4 p {
    margin-bottom: 1.2em;
}

.custom-testo-parte-1 ul,
.custom-elenco-puntato-1 ul,
.custom-testo-3-prima-galleria ul,
.custom-testo-4 ul {
    padding-left: 25px;
    margin: 15px 0;
}

.custom-testo-parte-1 ol,
.custom-elenco-puntato-1 ol,
.custom-testo-3-prima-galleria ol,
.custom-testo-4 ol {
    padding-left: 25px;
    margin: 15px 0;
}

.custom-testo-parte-1 li,
.custom-elenco-puntato-1 li,
.custom-testo-3-prima-galleria li,
.custom-testo-4 li {
    margin-bottom: 8px;
    position: relative;
}

.custom-testo-parte-1 ul li::marker,
.custom-elenco-puntato-1 ul li::marker,
.custom-testo-3-prima-galleria ul li::marker,
.custom-testo-4 ul li::marker {
    color: #667eea;
}

.custom-testo-parte-1 strong,
.custom-elenco-puntato-1 strong,
.custom-testo-3-prima-galleria strong,
.custom-testo-4 strong {
    color: #2c3e50;
    font-weight: 600;
}

.custom-testo-parte-1 a,
.custom-elenco-puntato-1 a,
.custom-testo-3-prima-galleria a,
.custom-testo-4 a {
    color: #667eea;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.custom-testo-parte-1 a:hover,
.custom-elenco-puntato-1 a:hover,
.custom-testo-3-prima-galleria a:hover,
.custom-testo-4 a:hover {
    color: #764ba2;
    border-bottom-color: #764ba2;
}

/* ===== ELEMENTOR SPECIFIC OVERRIDES ===== */
/* Elementor può sovrascrivere questi stili con i suoi controlli */

/* Widget Container Styling */
.elementor-widget-custom_titolo_parte_1,
.elementor-widget-custom_titolo_2,
.elementor-widget-custom_titolo_3,
.elementor-widget-custom_titolo_4,
.elementor-widget-custom_titolo_5,
.elementor-widget-custom_testo_parte_1,
.elementor-widget-custom_elenco_puntato_1,
.elementor-widget-custom_testo_3_prima_galleria,
.elementor-widget-custom_testo_4,
.elementor-widget-custom_galleria,
.elementor-widget-custom_tabella {
    /* I controlli Elementor sovrascriveranno questi stili */
}

/* Galleria Grid Override per Elementor */
.elementor-widget-custom_galleria .custom-galleria {
    /* Grid columns impostato dai controlli Elementor */
}

/* Tabella Responsive Elementor */
.elementor-widget-custom_tabella .table-wrapper {
    /* Stili impostati dai controlli Elementor */
}

/* ===== PERSONALIZZAZIONI LIGHTBOX ===== */
.glightbox-clean .gslide-description {
    background: rgba(0, 0, 0, 0.75);
    border-radius: 8px;
    padding: 12px 16px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Lightbox2 Customizations */
.lb-data {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ===== ANIMAZIONI ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-galleria .gallery-item {
    animation: fadeInUp 0.6s ease forwards;
}

.custom-galleria .gallery-item:nth-child(1) {
    animation-delay: 0.1s;
}

.custom-galleria .gallery-item:nth-child(2) {
    animation-delay: 0.2s;
}

.custom-galleria .gallery-item:nth-child(3) {
    animation-delay: 0.3s;
}

.custom-galleria .gallery-item:nth-child(4) {
    animation-delay: 0.4s;
}

.custom-galleria .gallery-item:nth-child(5) {
    animation-delay: 0.5s;
}

.custom-galleria .gallery-item:nth-child(6) {
    animation-delay: 0.6s;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
    .custom-galleria.columns-6 {
        grid-template-columns: repeat(4, 1fr);
    }

    .custom-galleria.columns-5 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .custom-galleria.columns-3,
    .custom-galleria.columns-4,
    .custom-galleria.columns-5,
    .custom-galleria.columns-6 {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .custom-galleria .gallery-item img {
        height: 200px;
    }

    .custom-table th,
    .custom-table td {
        padding: 12px 15px;
        font-size: 14px;
    }

    .custom-titolo-parte-1 {
        font-size: 2em;
    }

    .custom-titolo-2,
    .custom-titolo-3,
    .custom-titolo-4,
    .custom-titolo-5 {
        font-size: 1.6em;
    }

    .custom-testo-parte-1,
    .custom-elenco-puntato-1,
    .custom-testo-3-prima-galleria,
    .custom-testo-4 {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .custom-galleria {
        grid-template-columns: 1fr !important;
        gap: 15px;
    }

    .custom-galleria .gallery-item img {
        height: 250px;
    }

    .custom-table th,
    .custom-table td {
        padding: 10px 12px;
        font-size: 13px;
    }

    .table-wrapper {
        margin: 20px -15px;
        border-radius: 0;
    }

    .custom-table {
        border-radius: 0;
    }

    .custom-titolo-parte-1,
    .custom-titolo-2,
    .custom-titolo-3,
    .custom-titolo-4,
    .custom-titolo-5 {
        margin: 30px 0 15px 0;
    }

    .custom-testo-parte-1,
    .custom-elenco-puntato-1,
    .custom-testo-3-prima-galleria,
    .custom-testo-4 {
        margin: 20px 0;
        font-size: 14px;
        line-height: 1.6;
    }
}

/* ===== ACCESSIBILITÀ ===== */
@media (prefers-reduced-motion: reduce) {
    .custom-galleria .gallery-item,
    .custom-galleria .gallery-item img,
    .custom-galleria .gallery-item a::before,
    .custom-galleria .gallery-item a::after,
    .custom-table tbody tr {
        transition: none;
        animation: none;
    }
}

/* Focus per accessibilità */
.custom-galleria .gallery-item a:focus {
    outline: 3px solid #667eea;
    outline-offset: 2px;
    border-radius: 12px;
}

.custom-table:focus-within {
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

/* ===== UTILITÀ ELEMENTOR ===== */
/* Classi helper per Elementor */
.elementor-widget-custom_galleria .custom-galleria.hover-zoom .gallery-item {
    transform-origin: center;
}

.elementor-widget-custom_galleria .custom-galleria.hover-lift .gallery-item {
    transform-origin: bottom;
}

.elementor-widget-custom_galleria .custom-galleria.hover-rotate .gallery-item {
    transform-origin: center;
}

/* Text Alignment Classes */
.text-left {
    text-align: left;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

/* ===== STAMPA ===== */
@media print {
    .custom-galleria .gallery-item a::after {
        display: none;
    }

    .custom-galleria .gallery-item:hover {
        transform: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    .custom-table {
        box-shadow: none;
        border: 1px solid #ccc;
    }

    .custom-table th {
        background: #f0f0f0 !important;
        color: black !important;
    }

    .elementor-widget-custom_galleria,
    .elementor-widget-custom_tabella {
        break-inside: avoid;
    }
}


/*!* Product Card Style - Universale per qualsiasi template ID *!*/

/* Selettore generico per loop items */
[data-elementor-type="loop-item"].product {
    background: #ffffff;
    border: 1px solid #e0e6ed;
    border-radius: 12px;
    padding: 15px;
    max-width: 280px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    overflow: hidden;
}

/*[data-elementor-type="loop-item"].product:hover {*/
/*	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);*/
/*	transform: translateY(-2px);*/
/*}*/

/*!* Grid container - 3 colonne responsive *!*/
/*.elementor-loop-container.elementor-grid {*/
/*	display: grid;*/
/*	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));*/
/*	gap: 20px;*/
/*	justify-items: center;*/
/*}*/

/*!* Titolo principale (primo heading) - es: KT 0133E *!*/
/*[data-elementor-type="loop-item"] .elementor-widget-heading:first-of-type .elementor-heading-title {*/
/*	font-size: 14px !important;*/
/*	font-weight: 700 !important;*/
/*	color: #333 !important;*/
/*	margin: 0 0 15px 0 !important;*/
/*	text-align: center !important;*/
/*	line-height: 1.2 !important;*/
/*}*/

/*[data-elementor-type="loop-item"] .elementor-widget-heading:first-of-type .elementor-heading-title a {*/
/*	color: #333 !important;*/
/*	text-decoration: none !important;*/
/*}*/

/*!* Immagine prodotto *!*/
/*[data-elementor-type="loop-item"] .elementor-widget-theme-post-featured-image,*/
/*[data-elementor-type="loop-item"] .elementor-widget-image {*/
/*	text-align: center;*/
/*	margin-bottom: 15px !important;*/
/*}*/

/*[data-elementor-type="loop-item"] .elementor-widget-theme-post-featured-image img,*/
/*[data-elementor-type="loop-item"] .elementor-widget-image img {*/
/*	max-width: 100% !important;*/
/*	height: auto !important;*/
/*	border-radius: 8px !important;*/
/*	max-height: 200px !important;*/
/*	object-fit: contain !important;*/
/*}*/

/* Badge Durezza (se presente) */
[data-elementor-type="loop-item"] .durezzashop {
    text-align: center !important;
    margin-bottom: 15px !important;
}

[data-elementor-type="loop-item"] .durezzashop .elementor-heading-title {
    background: #0066cc !important;
    color: white !important;
    padding: 6px 12px !important;
    border-radius: 20px !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    display: inline-block !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

[data-elementor-type="loop-item"] .durezzashop .elementor-heading-title a {
    color: white !important;
    text-decoration: none !important;
}

/*!* Titolo del prodotto (WooCommerce product title) *!*/
/*[data-elementor-type="loop-item"] .elementor-widget-woocommerce-product-title .product_title {*/
/*	font-size: 16px !important;*/
/*	font-weight: 600 !important;*/
/*	color: #333 !important;*/
/*	margin: 0 0 10px 0 !important;*/
/*	text-align: center !important;*/
/*	line-height: 1.3 !important;*/
/*	min-height: 40px !important;*/
/*	display: flex !important;*/
/*	align-items: center !important;*/
/*	justify-content: center !important;*/
/*}*/

/* Categoria - MOSTRA SOLO L'ULTIMA */
[data-elementor-type="loop-item"] .elementor-widget-heading:not(.elementor-widget-woocommerce-product-title):not(:first-of-type):not(.durezzashop) {
    text-align: center !important;
    margin-bottom: 15px !important;
}

[data-elementor-type="loop-item"] .elementor-widget-heading:not(.elementor-widget-woocommerce-product-title):not(:first-of-type):not(.durezzashop) .elementor-heading-title {
    font-size: 12px !important;
    font-weight: 500 !important;
    color: #666 !important;
    margin: 0 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

/* NASCONDI tutte le categorie tranne l'ultima */
[data-elementor-type="loop-item"] .elementor-widget-heading:not(.elementor-widget-woocommerce-product-title):not(:first-of-type):not(.durezzashop) .elementor-heading-title a {
    display: none !important;
}

[data-elementor-type="loop-item"] .elementor-widget-heading:not(.elementor-widget-woocommerce-product-title):not(:first-of-type):not(.durezzashop) .elementor-heading-title a:last-of-type {
    display: inline !important;
    color: #666 !important;
    text-decoration: none !important;
}

/* Nascondi le virgole e spazi extra */
[data-elementor-type="loop-item"] .elementor-widget-heading:not(.elementor-widget-woocommerce-product-title):not(:first-of-type):not(.durezzashop) .elementor-heading-title {
    font-size: 0 !important; /* Nascondi tutto il testo */
}

[data-elementor-type="loop-item"] .elementor-widget-heading:not(.elementor-widget-woocommerce-product-title):not(:first-of-type):not(.durezzashop) .elementor-heading-title a:last-of-type {
    font-size: 12px !important; /* Rimostra solo l'ultimo link */
}

/*!*!* Prezzo *!*!*/
/*[data-elementor-type="loop-item"] .elementor-widget-woocommerce-product-price {*/
/*	text-align: center !important;*/
/*}*/

[data-elementor-type="loop-item"] .elementor-widget-woocommerce-product-price .price {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #0066cc !important;
    margin: 0 !important;
}

[data-elementor-type="loop-item"] .elementor-widget-woocommerce-product-price .price .woocommerce-Price-amount {
    font-size: 18px !important;
    font-weight: 700 !important;
}

/*!* Aggiungi "+iva" dopo il prezzo *!*/
/*[data-elementor-type="loop-item"] .elementor-widget-woocommerce-product-price .price::after {*/
/*    content: " +iva" !important;*/
/*    font-size: 12px !important;*/
/*    font-weight: 400 !important;*/
/*    color: #666 !important;*/
/*    margin-left: 4px !important;*/
/*}*/

/*!* Container e layout fix *!*/
[data-elementor-type="loop-item"] .elementor-container {
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

[data-elementor-type="loop-item"] .elementor-column {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

[data-elementor-type="loop-item"] .elementor-widget-wrap {
    gap: 5px !important;
}

/*!* Responsive *!*/
@media (max-width: 768px) {
    [data-elementor-type="loop-item"].product {
        max-width: 100% !important;
        margin: 0 auto 20px !important;
    }

    .elementor-loop-container.elementor-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .elementor-loop-container.elementor-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 18px !important;
    }
}

@media (min-width: 1025px) {
    .elementor-loop-container.elementor-grid {
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 20px !important;
    }
}

/*!* Hover effects *!*/
[data-elementor-type="loop-item"] .elementor-widget-heading:first-of-type .elementor-heading-title a:hover,
[data-elementor-type="loop-item"] .elementor-widget-woocommerce-product-title .product_title:hover {
    color: #0066cc !important;
    transition: color 0.3s ease !important;
}

[data-elementor-type="loop-item"] .elementor-widget-theme-post-featured-image img:hover,
[data-elementor-type="loop-item"] .elementor-widget-image img:hover {
    transform: scale(1.02) !important;
    transition: transform 0.3s ease !important;
}

/* Badge durezza hover */
[data-elementor-type="loop-item"] .durezzashop .elementor-heading-title:hover {
    background: #0052a3 !important;
    transform: translateY(-1px) !important;
    transition: all 0.3s ease !important;
}

/*!* Per prodotti fuori stock - opacità ridotta *!*/
/*[data-elementor-type="loop-item"].outofstock {*/
/*	opacity: 0.7 !important;*/
/*}*/

/*[data-elementor-type="loop-item"].outofstock::after {*/
/*	content: "ESAURITO" !important;*/
/*	position: absolute !important;*/
/*	top: 50% !important;*/
/*	left: 50% !important;*/
/*	transform: translate(-50%, -50%) !important;*/
/*	background: rgba(255, 0, 0, 0.9) !important;*/
/*	color: white !important;*/
/*	padding: 8px 16px !important;*/
/*	border-radius: 20px !important;*/
/*	font-weight: bold !important;*/
/*	font-size: 12px !important;*/
/*	letter-spacing: 1px !important;*/
/*	z-index: 10 !important;*/
/*}*/

/*!* Fix per contenuti troppo lunghi *!*/
/*[data-elementor-type="loop-item"] .elementor-widget-woocommerce-product-title .product_title {*/
/*	overflow: hidden !important;*/
/*	text-overflow: ellipsis !important;*/
/*	display: -webkit-box !important;*/
/*	-webkit-line-clamp: 2 !important;*/
/*	-webkit-box-orient: vertical !important;*/
/*}*/

/*!* Uniforma altezza delle card *!*/
/*[data-elementor-type="loop-item"].product {*/
/*	display: flex !important;*/
/*	flex-direction: column !important;*/
/*	min-height: 400px !important;*/
/*}*/

/*[data-elementor-type="loop-item"] .elementor-widget-woocommerce-product-price {*/
/*	margin-top: auto !important;*/
/*}*/

.wdt-header-icons-list-item div[class*="menu-icon"] i, .wdt-header-icons-list > div.wdt-header-icons-list-item .wdt-shop-menu-cart-icon {
    width: 35px !important;
    max-width: 35px !important;
    min-width: 35px !important;
    max-height: 35px !important;
    min-height: 35px !important;
}

boyd .wdt-shop-product-search-container .wdtShopSearchForm .wdt-shop-product-search-item-holder,
body .wdtShopSearchForm .wdt-shop-product-search-item-holder > .wdt-shop-product-search-item .wdt-shop-search-field.wdt-shop-search-submit-field {
    width: 35px !important;
    height: 35px !important;
}

body .wdtShopSearchForm .wdt-shop-search-field, .wdtShopSearchForm .wdt-shop-search-field + .select2-container.select2-container--default .select2-selection--single, .wdtShopSearchForm .wdt-shop-search-field + .select2-container.select2-container--default .select2-selection--multiple {
    height: 35px !important;
}

.suggested-product-list {
    display: none !important;
}

.elementor-element-87968a5 .elementor-widget-container,
.elementor-element-dab2f42 .elementor-widget-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    max-width: 400px;
}

.elementor-element-87968a5 p,
.elementor-element-dab2f42 p {
    margin: 0;
    line-height: 1.8;
    text-decoration: none;
}

#footer .elementor-widget-text-editor p > a {
    background-image: none !important;
}

.elementor-widget-text-editor .elementor-widget-container h2, div h2, .wdt-heading-holder h2.wdt-heading-title-wrapper .wdt-heading-title, .wdt-grid-banner-style-a .wdt-image-box-holder .wdt-content-item .wdt-content-detail-group .wdt-content-title h5 {
    text-transform: none !important;
}

.woocommerce div.product .summary.wdt-product-summary > div.product-buy-now {
    display: none;
}

.cross-sells {
    display: none !important;
}

.page-id-2370 .elementor-406 .elementor-element.elementor-element-9a8449d:not(.elementor-motion-effects-element-type-background), .page-id-2370 .elementor-406 .elementor-element.elementor-element-9a8449d > .elementor-motion-effects-container > .elementor-motion-effects-layer{
    background-color: transparent !important;
}

.page-id-2370 .elementor-406 .elementor-element.elementor-element-9a8449d{
    padding: 60px 80px 0px 80px !important;
}

.wdtShopSearchForm .wdt-shop-product-search-item-holder > .wdt-shop-product-search-item:last-child{
    background-color: transparent !important;
}

.wdtShopSearchForm .wdt-shop-product-search-item-holder > .wdt-shop-product-search-item .wdt-shop-search-field.wdt-shop-search-submit-field{
    background-color: #4f7eff !important;
}

.wdt-header-menu ul li ul.children > li > a, .wdt-header-menu ul li ul.sub-menu > li > a, .wdt-header-menu ul li.has-mega-menu ul li.menu-item-object-wdt_mega_menus li a,
.wdt-icon-box-style-b .wdt-icon-box-holder.wdt-rc-template-ico-standard .wdt-content-item .wdt-content-title h5,
.wdt-image-box-style-a .wdt-image-box-holder .wdt-content-item .wdt-content-detail-group .wdt-content-title h5{
    text-transform: none !important;
}

.area-clienti a span{
    color:#0D54A0;
}

.wpdm-download-link.download-on-click.btn.btn-primary,
.inddl.btn.btn-primary.btn-xs{
    border-radius: 20px !important;
    font-weight: 600 !important;
}

.inddl.btn.btn-primary.btn-xs.black{
    background:#000 !important;
}

.main-title-section-wrapper.dark-bg-breadcrumb.aligncenter{
    display:none !important;
}

.area-installatori a{
    background-color: var(--wdtPrimaryColor) !important;
    color: var(--wdtAccentTxtColor) !important;
    text-align: center !important;
    border-radius: var(--wdtRadius_Part) !important;
    padding: 15px 30px !important;
}

.area-installatori{
    padding-left: 20px !important;
}

.wdt-testimonial-style-c .wdt-testimonial-holder .wdt-content-item .wdt-content-title h5:after{
    content: "" !important;
}

.wdt-heading-subtitle{
    text-transform: uppercase !important;
}

.wdt-grid-banner-style-a .wdt-image-box-holder .wdt-content-item .wdt-content-detail-group .wdt-content-title h5{
    font-size:20px !important;
}

.wdt-carousel-pagination-wrapper{
    display: none !important;
}

.wdtShopSearchForm .wdt-shop-product-search-item-holder:only-child .wdt-shop-search-field.wdt-shop-search-keyword-field, .wdtShopSearchForm .select2-container--default .select2-selection--single, .wdtShopSearchForm .select2-container--default .select2-selection--multiple{
    color:black !important;
}

.commententries{
    display: none !important;
}

.entry-post-navigation.type3{
    display: none !important;
}

.single-wpdmpro .post-meta{
    display: none !important;
}

.chaty-i-trigger .chaty-channel{
    bottom: 140px !important;
    right: -2px;
}
/*.wdt-heading-subtitle{*/
/*    text-transform: none !important;*/
/*}*/

#chaty-widget-0 .chaty-i-trigger .chaty-channel .chaty-svg {
    width: 64px !important;
    height: 64px !important;
}

.aipkit_popup_position-bottom-right{
    bottom: 90px !important;
}

#chaty-widget-0 .chaty-i-trigger .chaty-channel {
    width: 64px !important;
    height: 64px !important;
}

@media only screen and (min-width: 1280px) and (max-width: 1366px){
    .wdt-header-menu .wdt-primary-nav > li > a{
        padding: 8px 15px;
    }

    .elementor-element-148c277 .wdt-content-item{
        right: 100px !important;
    }
}

@media (max-width: 480px) {

    .elementor-widget-wdt-heading.wdt-inview-section.wdt-item-is-inview .wdt-heading-holder .wdt-heading-title-wrapper .wdt-heading-title{
        padding:0 !important;
        left: 30px !important;
    }

    .elementor-widget-wdt-heading.wdt-inview-section.wdt-item-is-inview .wdt-heading-holder > .wdt-heading-title-wrapper .wdt-heading-title{
        text-align: center !important;
    }

    #chaty-widget-0 .chaty-i-trigger .chaty-channel {
        width: 54px !important;
        height: 54px !important;
    }

    #chaty-widget-0 .chaty-i-trigger .chaty-channel .chaty-svg {
        width: 54px !important;
        height: 54px !important;
    }

    .chaty-i-trigger .chaty-channel {
        bottom: 130px !important;
        right: -7px;
    }

    .elementor-21 .elementor-element.elementor-element-cbe2cdc .wdt-content-item .wdt-content-title h5,
    .elementor-21 .elementor-element.elementor-element-9307637 .wdt-content-item .wdt-content-title h5{
        font-size: 12px !important;
    }

    .elementor-21 .elementor-element.elementor-element-cbe2cdc .wdt-content-item .wdt-content-subtitle,
    .elementor-21 .elementor-element.elementor-element-9307637 .wdt-content-item .wdt-content-subtitle{
        font-size: 9px !important;
    }

    .wdt-accordian-style-a .wdt-accordion-toggle-holder .wdt-accordion-toggle-title-holder .wdt-accordion-toggle-icon{
        display: block !important;
    }

    .wdt-cursor-wrapper.type-2 .wdt-cursor-outer,
    .wdt-cursor-wrapper.type-2 .wdt-cursor-inner{
        visibility: hidden !important;
    }

    .area-installatori a {
        background-color: var(--wdtPrimaryColor) !important;
        color: var(--wdtAccentTxtColor) !important;
        text-align: center !important;
        border-radius: var(--wdtRadius_Part) !important;
        padding: 5px 0px !important;
        width: 100% !important;
        min-width: 197px !important;
        max-width: 197px !important;
        margin-top: 10px !important;
    }

    .wdt-slider-1-heading .wdt-heading-holder .wdt-heading-subtitle-wrapper .wdt-heading-subtitle, .wdt-slider-1-heading .wdt-heading-holder .wdt-heading-title-wrapper .wdt-heading-title, .wdt-slider-1-heading .wdt-heading-holder .wdt-heading-content-wrapper{
        color:#29539B;
    }

    .elementor-widget-text-editor .elementor-widget-container h5, div h5, .wdt-heading-holder h5.wdt-heading-title-wrapper .wdt-heading-title{
        font-size: 12px !important;
    }

    .elementor-widget-text-editor .elementor-widget-container h4, div h4, .wdt-heading-holder h4.wdt-heading-title-wrapper .wdt-heading-title{
        font-size:20px !important;
    }

    .wdt-carousel-holder .wdt-carousel-pagination-wrapper .wdt-carousel-arrow-pagination > div:hover:before{
        display: none !important;
    }

    .wdt-carousel-pagination-wrapper{
        display: block !important;
    }

    .elementor-element-997340b .wdt-content-icon-wrapper:first-child{
        height: 75px !important;
    }

    .wdtShopSearchForm, .wdt-shop-product-search-item-holder {
        display: block !important;
    }

    .area-installatori{
        margin-bottom:40px !important
    }

    .elementor-element-cbe2cdc.wdt-icon-box-style-a.wdt-icon-box-style-a-height{
        margin-bottom: -5px !important;
    }

    li.menu-item{
        font-weight: 600 !important;
    }

    .elementor-heading-title.elementor-size-default{
        font-size: 15px !important;
    }

    .elementor-element-24efa5c .wdt-content-title h5{
        font-size: 15px !important;
    }

    .wdtShopSearchForm .wdt-shop-product-search-item-holder {
        padding: 0 10px !important;
    }

    .elementor-3697 .elementor-element.elementor-element-4c0d418 .wdt-content-item .wdt-content-title h5{
        font-size:20px !important;
    }
}