/*
Theme Name: Bridge Child
Theme URI: http://demo.qodeinteractive.com/bridge/
Description: A child theme of Bridge Theme
Author: Qode Interactive
Author URI: http://www.qodethemes.com/
Version: 1.0.0
Template: bridge
*/
@import url("../bridge/style.css");
@import 'assets/css/icomoon.css';
body.single-product {
background: 
    linear-gradient(to left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 100%), 
    url('assets/images/bg/bg.jpg') no-repeat center center fixed;
  background-size: cover;
  background-position: center; /* Centra l’immagine */
}
body, .wrapper, .content, .full_width, .overlapping_content .content > .container, .more_facts_holder, .comment_holder .comment #respond textarea, .comment_holder .comment #respond input[type='text'], .comment_holder .comment #respond input[type='email'], .content .container {
    background-color: unset;
}

@font-face {
  font-family: 'DIN1451Alt';
  src: url('assets/fonts/din1451alt.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'BebasNeue-Regular';
  src: url('assets/fonts/BebasNeue-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
.iconPopUp {
  position: absolute;
  background: white;
  border: 1px solid #ccc;
  padding: 20px;
  top: 70px !important;
  width: 100%;
  left: 0 !important;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.iconPopUp h3{
  font-size: 1.2rem;
  letter-spacing: 0px;
  margin-bottom: 1rem;
}
.iconPopUp .iconContainer {
  width: 100%;
}
.closePopupBtn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: transparent;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #333;
  padding: 0;
  line-height: 1;
}

.closePopupBtn:hover {
  color: #000;
}
.hide{
	display: none;
}
/*hide product image*/
.variations_form.cart {
	margin-top: 15px !important;
}
.woocommerce-product-gallery {
    display: none !important;
}
.qode-single-product-summary {
	width: 100% !important;
}
.woocommerce-product-attributes-item__label {
	width: 30% !important;
	letter-spacing: 0 !important;
}

.woocommerce-variation-price .woocommerce-Price-amount {
	font-size: calc(1vw + 1.1rem) !important;
	color: #000000 !important;
	font-weight: bold !important;
}
.woocommerce-variation-price {
	margin-top: 3rem;
	margin-bottom: 3rem;
}
#customPlateMessage img {
		max-width: 50px;
		max-height: 28px;
	}

@media only screen and (max-width: 500px) {
    .container_inner {
        width: 100% !important;
		padding-left: 1rem !important;
		padding-right: 1rem !important;
    }
	#customPlateMessage {
		width: 88vw !important;
	}
}

.variations select {
	width: 200px !important;
	padding: 0.5rem;
}
.mainContainer {
	display: flex;
	justify-content: start;
	margin-bottom: 1rem;
}

.itemContent {
	cursor: pointer;
	transition: all 0.3s ease-in-out;	
}
.itemContent:hover {
	transform: scale(1.1);
	opacity: 0.9;
}
.itemContent div:last-child{
	font-size: 12px;
	text-align: center;
	width: 100%;
}
.itemContent.selected > div:first-child,.itemContent.selected img{
	border: 3px solid #000000 !important;
}

.materialItem,.textureItem {
	border: 1px solid #e1e1e1;	
	width: 50px; 
	height: 50px; 
	border-radius: 5px; 
	margin: 0.5rem;
}
.innerSelection {
	color: #cc0000;
	font-weight: 600;
}
.textureItem {	
	width: 100px; 
}
.fontContainer .itemContent div:last-child, .buchiContainer .itemContent div:last-child, .ventoseContainer .itemContent div:last-child{
	font-size: 1.2rem;
	font-weight: 600;
}
.fontContainer .itemContent, .buchiContainer .itemContent, .ventoseContainer .itemContent{
	margin: 0.5rem;
}

.filtersReset {
	margin-bottom: 2.5rem;
	border-top: 1px solid #e1e1e1;
	border-bottom: 1px solid #e1e1e1;
	padding: 1rem 0;
}

.filtersResetButton {
	height: 46px; 
	min-width: 120px;
	background: #cc0000;
	color: #ffffff;
	border: 0px;	
}

.larghezzaContainer .itemContent,.altezzaContainer .itemContent,
.spessoreContainer .itemContent, .coloreContainer .itemContent, 
.arrotondaBordiContainer .itemContent, .fontColorContainer .itemContent{
	margin: 0.5rem;
	border:1px solid #e1e1e1;
	border-radius: 5px;
	display: flex;
	width: 80px;
	height: 50px;
	align-items: center;
	justify-content: center;	
}
.larghezzaContainer .itemContent div, .altezzaContainer .itemContent div, .spessoreContainer .itemContent div, .coloreContainer .itemContent div, .arrotondaBordiContainer .itemContent div{
	font-size: 1.3rem;	
}
.larghezzaContainer .itemContent div:after,.altezzaContainer .itemContent div:after,.spessoreContainer .itemContent div:after,.arrotondaBordiContainer .itemContent div:after{
	content: ' cm';
	font-size: 0.8rem;	
}

.plateDynamicOutput {
	-webkit-box-shadow: 0px 6px 19px -6px #000000; 
	box-shadow: 0px 6px 19px -6px #000000;
	line-height: 45px;
}
.mainContainer {
	transition: all 0.3s ease-in-out;
	height: 105px;
    max-width: 600px;
	overflow-x: auto; /* Mostra l'overflow orizzontale con una barra di scorrimento */
    overflow-y: Hidden !important;
	margin-bottom: 0;
	user-select:none;
}

.mainContainer::-webkit-scrollbar {
    height: 5px; /* Altezza della scrollbar orizzontale */
}

.mainContainer::-webkit-scrollbar-track {
    background: #f1f1f1; /* Colore della traccia */
    border-radius: 10px;
}

.mainContainer::-webkit-scrollbar-thumb {
    background: #888; /* Colore della barra */
    border-radius: 10px;
}


/* .variations {
	display: none !important;
} */
.buttonProductsVariations > div > .mainContainer {
	height: 0;
}
.buttonProductsVariations > div:first-child > .mainContainer {
	height: auto;
}
.buttonProductsVariations > div[inert] {
	opacity: 0.5;
}
.inertClass {
	opacity: 0.4;
}
.reset_variations{
	display: none !important;
}
.buttonProductsVariations > div > label:hover {
	cursor: pointer;
	color: #cc0000;
}
.buttonProductsVariations > div > label {
	font-weight: 600;
	color: #222222;
}
.containerPlate {
	width: 100%;
	height: fit-content;
	border-radius: 10px;
}
.variations .label {
	font-weight: 600;
	color: #000;
}
.variations td {
	padding-left: 0;
}
.plateDynamicOutput {
	position: relative;
	width: 100%; 
	aspect-ratio: 525 / 109;
	display: flex; 
	align-items: center; 
	justify-content: center; 
	border-radius: 10px;
	border: 4px solid #444444; 
	margin-bottom: 2rem; 
	font-weight: 600; 
	font-size: 40px; 
	color: #000000; 
	padding: 15px; 
	box-sizing: border-box;  
	transform-origin: top left; 
	max-width: 600px; 
	overflow: hidden;
	transition: all 0.3s ease-in-out;
}
.plateText{
    position: relative;
    width: 100%;
    z-index: 2;
    text-align:center;
    line-height: 1.1;
    word-break: break-word;
    font-weight: 600;
    font-family: din1451alt;
    text-transform: uppercase;
    /* 🔧 Cambiato da flex a inline-block */
    display: inline-block;
    width: 100%;
    letter-spacing: 4px;
    margin-top: 2px;
    margin-left: 6px;
    text-shadow: 
      2px 2px 3px rgba(0,0,0,0.7), 
     -2px -2px 3px rgba(255,255,255,0.7),
      1px 1px 0 rgba(0,0,0,0.6),
     -1px -1px 0 rgba(255,255,255,0.7);
	 filter: blur(0.05rem); /* 👈 leggero blur solo sul testo */
}

.plateText img {
  filter: 
      drop-shadow(2px 2px 3px rgba(0,0,0,0.7))
      drop-shadow(-2px -2px 3px rgba(255,255,255,0.9));
	    display: inline-block;
  vertical-align: middle;
  white-space: normal;
}
.detailsDimension {
	display: block;
	width: 100%;
	font-size: 1.5rem;
	font-weight: bold;
}
.plateOverlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: transparent;
  opacity: 0.9; /* opacità quasi totale */
  pointer-events: none;
  z-index: 1;
}

.plateDynamicOutput > *:not(.plateOverlay) {
  position: relative;
  z-index: 2;
}
.borderPlate {
	position: absolute;
	z-index:1;
    aspect-ratio: 525 / 109;
	height: 100%;
	box-sizing: border-box;
	border-radius: 10px;
	box-shadow: 
    inset 2px 2px 5px rgba(255, 255, 255, 0.7), /* Lati in luce */
    inset -2px -2px 5px rgba(0, 0, 0, 0.5),    /* Lati in ombra */
    2px 2px 5px rgba(0, 0, 0, 0.3);           /* Ombra esterna */
    background: linear-gradient(145deg, rgba(0,0,0,0.1), rgba(255,255,255,0.1));
}

.generalAlignment {
  display: flex;
  justify-content: center; /* Allinea gli elementi al centro */
  align-items: center; /* Allinea verticalmente */
  margin-left: 2rem;
  margin-top: -2rem;
}

/* Stile della lista ul */
.generalAlignment ul {
  display: flex; /* Dispone gli li in linea orizzontale */
  padding: 0; /* Rimuove il padding del browser */
  margin: 0; /* Rimuove il margine del browser */
  list-style-type: none; /* Rimuove i punti dell'elenco */
}

/* Stile per gli li */
.generalAlignment ul li {
  margin: 0 10px;
  cursor: pointer;
}

.customTextContainer {
	display: flex;
	align-items: center;
	justify-content: start;
}
.woocommerce-variation-add-to-cart .wapf {
	display: none !important;
}

.testDiv { 
	display: flex; 
	flex-direction: row; 
	align-items: flex-start; 
}
#customPlate {
	max-width: 30vw;
	padding-left: 3rem;
	margin-top: 0.7rem;
}
#customPlate h2 {
	font-size: calc(0.8vw + 1rem) !important;
	letter-spacing: 0 !important;
	line-height: calc(0.8vw + 1rem);
}
.productDefault {
	margin-top: 1rem;
}

.productDefault h6 {
	letter-spacing: 0;
	font-weight: bold;
}

.productDefault img {
	margin-left: -1rem;
}

.single-product .title_outer {
	display: none;
}

.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item) {
    border-radius: 10px;
    width: 60px;
    height: 60px;
	border:1px solid #e1e1e1;
	-webkit-box-shadow: unset;
    box-shadow: unset;
	
}
.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item) img,.woo-variation-swatches .wvs-style-squared.variable-items-wrapper .variable-item:not(.radio-variable-item) span {
    border: 0;
	border-radius: 10px;
}
.woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected, .woo-variation-swatches .variable-items-wrapper .variable-item:not(.radio-variable-item).selected:hover {
    -webkit-box-shadow: var(--wvs-selected-item-box-shadow, 0 0 0 2px #000);
    box-shadow: var(--wvs-selected-item-box-shadow, 0 0 0 2px #000);
}

.variations > tbody > tr > td.label label:before{
	content: '+ ';
}

.variations ul[data-attribute_name="attribute_pa_forma"] > li {
	width: 150px !important;
}

.variations ul[data-attribute_name="attribute_pa_forma"] > li > div::before {
	background-size: 25% !important;
}

  /* Ul chiuse di default */
  .variations tr:not(:first-child) ul {
    height: 0;
    overflow: hidden;
    transition: height 0.3s ease;
  }

  /* Classe che le apre */
  .variations tr:not(:first-child) ul.open {
    height: auto; /* oppure puoi mettere un max-height grande per animazione */
    overflow: visible;
  }
  
#plateCloneContainer {
  position: fixed;
  top: 100px;
  right: 30px;
  width: 400px; /* ridimensiona come preferisci */
  display: none; /* nascosto di default */
  z-index: 9999999;
  padding: 1.5rem;
  border-radius: 10px;
  background: rgba(0,0,0,0.7);
  box-shadow: 0px 6px 15px -6px #000000;
}
#plateCloneContainer,#plateCloneContainer .containerPlate,#plateCloneContainer .borderPlate,#plateCloneContainer .plateDynamicOutput{
	border-radius: 10px;
}

#plateCloneContainer .containerPlate {
  transform-origin: top right;
  	background: #ffffff;
}
#plateCloneContainer .plateText{
	letter-spacing: 2px;
	margin-top: 2px;
	margin-left: 3px;
	 filter: blur(0.04rem);
}
#plateCloneContainer .plateText img {
  filter: 
      drop-shadow(1px 1px 2px rgba(0,0,0,0.4))
      drop-shadow(-1px -1px 2px rgba(255,255,255,0.6));
}
#plateCloneContainer .plateDynamicOutput {
  box-shadow: 0px 6px 15px -6px #000000;
  border: 4px solid #444444;
  padding: 10px;
}  
.imgIcons {
	display: inline-block;
	text-align:center;
	line-height: 12px;
	margin: 0.5rem;
}
/* ★ INIZIO BLOCCO AGGIUNTO ★ */
/* Stile per i pulsanti di scelta (Configura / File) */
.buttonChoicesContainer {
	width: 100%;	
	margin-bottom: 2rem !important;
}

.buttonChoicesContainer .btnChoice {
	background: #f0f0f0;
	color: #777;
	border: 1px solid #ccc;
	padding: 10px 15px;
	cursor: pointer;
	font-size: 1rem;
	font-weight: bold;
	transition: all 0.2s ease;
	border-radius: 10px;
	
}

.buttonChoicesContainer .btnChoice:hover {
	background: #e0e0e0;
}

/* Stile per il pulsante ATTIVO (preso dal tuo .filtersResetButton) */
.buttonChoicesContainer .btnChoice.active {
	background: #cc0000;
	color: #ffffff;
	border-color: #cc0000;
}

/* Stile per il contenitore di upload */
.customFileUploadContainer {
	border: 2px dashed #ccc;
	padding: 20px;
	margin-bottom: 2rem;
	text-align: left;
	background: #f9f9f9;
	border-radius: 10px;
}

.customFileUploadContainer label {
	font-weight: 900;
	font-size: 1.2rem;
	display: block;
	margin-bottom: 5px;
}

.customFileUploadContainer p {
	font-size: 0.9rem;
	color: #555;
	margin-bottom: 15px;
}

.customFileUploadContainer input[type="file"] {
	width: 100%;
}

/* ★ INIZIO BLOCCO AGGIUNTO ★ */

/* 1. Nasconde il bottone <input type="file"> di default */
.customFileUploadContainer input[type="file"] {
  display: none; 
}

/* 2. Stile per la NUOVA label che sembra un bottone */
.custom-file-upload-label-button {
  /* Rende la label un blocco cliccabile */
   padding: 10px 20px;
display: flex;
justify-content: center;
align-items: center;
border-radius: 10px;
  
  /* Stile (preso dal tuo .filtersResetButton) */
  background: #cc0000;
  color: #ffffff;
  border: 0; 
  min-width: 120px;
  max-width: 200px;
  font-weight: bold;
  text-align: center;
  line-height: 26px; /* Altezza (46px) - padding (10+10) = 26px */
  
  cursor: pointer;
  transition: background 0.2s ease;
  vertical-align: middle; /* Allinea al testo accanto */
}

.custom-file-upload-label-button:hover {
  background: #a80000; /* Un rosso più scuro al hover */
}

/* 3. Stile per il testo del nome file */
#custom-file-name {
  margin-left: 15px; 
  font-style: italic; 
  color: #555;
  vertical-align: middle;
}
/* ★ FINE BLOCCO AGGIUNTO ★ */

#custom_file_upload {
	padding: 1rem;
	color: #8bc34a;
	border-radius: 10px;
	
}

/* ★ FINE BLOCCO AGGIUNTO ★ */

/* 🎨 GRIGLIA TARGHE PRECONFIGURATE */
.targhe-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* 2 colonne */
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.targa-item {
    display: block;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.targa-item:hover {
    transform: translateY(-5px);
}

/* style.css */

.targa-image {
    width: 100%;
    /* Impostiamo un rapporto d'aspetto rettangolare (es. 4:3 o 3:2) 
       così le caselle sono tutte alte uguali */
    aspect-ratio: 3 / 2; 
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transition: box-shadow 0.3s ease;
    background: #ffffff; /* Sfondo bianco per riempire gli spazi vuoti */
    position: relative;
    
    /* Centra l'immagine nel box */
    display: flex;
    align-items: center;
    justify-content: center;
}

.targa-image img {
    width: 100%;
    height: 100%; /* Occupa tutto lo spazio disponibile */
    
    /* MAGIA: contain mostra TUTTA l'immagine adattandola, 
       senza tagliare nulla e senza deformarla */
    object-fit: contain; 
    
    display: block;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.targa-item:hover .targa-image {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}


.targa-item:hover .targa-image img {
    transform: scale(1.05);
}

.targa-title {
    margin-top: 0.8rem;
    font-size: 1rem;
    font-weight: 600;
    color: #222;
    text-align: center;
    letter-spacing: 0;
}

.targa-item:hover .targa-title {
    color: #cc0000;
}

/* 🔍 LIGHTBOX per ingrandire le immagini */
.targa-lightbox {
    display: none;
    position: fixed;
    z-index: 999999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
}

.targa-lightbox.active {
    display: flex;
}

.targa-lightbox img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.targa-lightbox-close {
    position: absolute;
    top: 20px;
    right: 40px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: color 0.3s ease;
}

.targa-lightbox-close:hover {
    color: #cc0000;
}

/* ★ STILE ANTEPRIMA UPLOAD ★ */
#custom-file-preview {
    max-width: 250px;       /* Larghezza massima contenuta */
    max-height: 250px;      /* Altezza massima */
    width: auto;
    height: auto;
    border-radius: 10px;
    border: 2px solid #e1e1e1;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    object-fit: contain;
    background-color: #fff; /* Sfondo bianco per vedere bene i PNG trasparenti */
    padding: 5px;
}

/* style.css - Regole per prodotti STANDARD (non simulatore) */


/* 3. BLOCCA LA SELEZIONE DEL MATERIALE */
/* Rende la lista dei materiali non cliccabile. 
   L'utente vedrà quale è selezionato ma non potrà cambiarlo o deselezionarlo. */
.standard-product-mode .variations ul[data-attribute_name="attribute_pa_materiale-targa"] {
    pointer-events: none !important; /* Blocca il click del mouse */
    opacity: 0.8; /* Opzionale: lo rende leggermente opaco per far capire che è fisso */
}

/* Opzionale: Nasconde il cursore mano sui materiali bloccati */
.standard-product-mode .variations ul[data-attribute_name="attribute_pa_materiale-targa"] li {
    cursor: default !important;
}

/* style.css */

/* --- BLOCCO SELEZIONE PER PRODOTTI STANDARD --- */

/* Blocca Materiale E Dimensione */
.standard-product-mode .variations ul[data-attribute_name="attribute_pa_materiale-targa"],
.standard-product-mode .variations ul[data-attribute_name="attribute_pa_dimensione-in-mm"] {
    pointer-events: none !important; /* Blocca il click */
    opacity: 0.8; /* Feedback visivo che è fisso */
    cursor: default !important;
}

/* --- STILI CROPPER.JS PERSONALIZZATI --- */
.cropper-view-box,
.cropper-face {
    border: 3px dashed red !important;
    border-radius: 0 !important;
    outline: none !important;
}

/* Nasconde la griglia interna per mantenere la UI più pulita */
.cropper-dashed, .cropper-center {
    display: none !important; 
}

/* Scurisce l'area fuori dal ritaglio */
.cropper-modal {
    background-color: rgba(0, 0, 0, 0.7) !important;
}
#remove-crop-btn {
	padding: 0.5rem;
    border-radius: 10px;
}
#save-crop-btn {
	background: #8bc34a;
	padding: 0.5rem;
    border-radius: 10px;
	border: 0px;
	color: #ffffff !important;
	margin: 0 auto;
}
#cropper-modal {
	text-align: center;
}
/* ★ INIZIO: EFFETTO GLITTER SUL TESTO ★ */
.plateText {
    --text-color: #000000; /* Variabile di partenza */
}

/* ★ ANIMAZIONE RIFLESSO LUCE (SHIMMER) ★ */
@keyframes glitterShimmer {
    0% { background-position: -200% center, center, top left; }
    100% { background-position: 200% center, center, top left; }
}

/* ★ INIZIALIZZAZIONE VARIABILI GLITTER ★ */
.plateText {
    --text-color: #000000;
    --color-opacity: 65%;
    --glitter-blend-mode: hard-light;
}

/* ★ EFFETTO GLITTER SUL TESTO (Dinamico e Intelligente) ★ */
.plateText.glitter-effect {
    color: transparent !important;
    background-color: transparent !important;
    
    background-image: 
        linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 45%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.4) 55%, transparent 70%),
        linear-gradient(color-mix(in srgb, var(--text-color, #000000) var(--color-opacity, 65%), transparent), color-mix(in srgb, var(--text-color, #000000) var(--color-opacity, 65%), transparent)),
        url('https://ideatarga.sviluppo.host/wp-content/themes/bridge-child/assets/images/glitter/glitter.jpg') !important;
    
    background-size: 200% auto, 100% 100%, 40px auto !important; 
    background-repeat: no-repeat, no-repeat, repeat !important;
    
    /* Usa la variabile per adattare la fusione al colore chiaro/scuro */
    background-blend-mode: color-dodge, var(--glitter-blend-mode, hard-light), normal !important; 
    
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    
    animation: glitterShimmer 5s infinite linear !important;
    
    filter: brightness(1.2) contrast(1.4) 
            drop-shadow(-1.5px -1.5px 0px rgba(255, 255, 255, 0.6)) 
            drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.4)) !important; 
            
    text-shadow: none !important; 
}

/* Stessa applicazione per le Emoji */
.plateText.glitter-effect img.emoji-inline {
    background-color: transparent !important;
    background-image: 
        linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.4) 45%, rgba(255, 255, 255, 0.9) 50%, rgba(255, 255, 255, 0.4) 55%, transparent 70%),
        linear-gradient(color-mix(in srgb, var(--text-color, #000000) var(--color-opacity, 65%), transparent), color-mix(in srgb, var(--text-color, #000000) var(--color-opacity, 65%), transparent)),
        url('https://ideatarga.sviluppo.host/wp-content/themes/bridge-child/assets/images/glitter/glitter.jpg') !important;
    
    background-size: 200% auto, 100% 100%, 40px auto !important;
    background-repeat: no-repeat, no-repeat, repeat !important;
    background-blend-mode: color-dodge, var(--glitter-blend-mode, hard-light), normal !important;
    
    animation: glitterShimmer 5s infinite linear !important;
    
    filter: brightness(1.2) contrast(1.4) 
            drop-shadow(-1.5px -1.5px 0px rgba(255, 255, 255, 0.6)) 
            drop-shadow(2px 2px 2px rgba(0, 0, 0, 0.4)) !important;
}
/* 📱 RESPONSIVE */
@media only screen and (max-width: 768px) {
    .targhe-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .targa-lightbox-close {
        top: 10px;
        right: 20px;
        font-size: 30px;
    }
}

/* =======================================================
   LAYOUT A DUE COLONNE CARRELLO (FIX PER TEMA BRIDGE)
   ======================================================= */
@media only screen and (min-width: 769px) {
    
    /* Blocchiamo i comportamenti flex del tema se presenti */
    .woocommerce-cart .woocommerce {
        display: flex !important; 
    }
	.woocommerce-cart .woocommerce-notices-wrapper {
		display: none;
	}

.woocommerce-cart .woocommerce-cart-form {
        width: 72% !important; /* Prima era 65% */
        float: left !important;
        margin-right: 3% !important;
        clear: none !important;
    }

    /* 2. Stringiamo leggermente i totali al 25% */
    .woocommerce-cart .cart-collaterals {
        width: 25% !important; /* Prima era 32% */
        float: right !important;
        margin-top: 0 !important;
        clear: none !important;
        padding: 20px;
        background-color: #f9f9f9;
        border-radius: 8px;
    }
    
    .woocommerce-cart .cart-collaterals .cart_totals {
        width: 100% !important;
        float: none !important;
    }

    /* 3. Evitiamo che il footer o altri elementi si incastrino in mezzo (Clearfix) */
    .woocommerce-cart .woocommerce::after {
        content: "";
        display: table;
        clear: both;
    }
}
.woocommerce-cart table.cart tbody tr td, .woocommerce-checkout .checkout table tbody tr td {
    vertical-align: top;
}
.coupon {
    display: none;
}
/* Regolazioni per l'immagine custom nel carrello classico */
.woocommerce-cart table.cart img {
    border-radius: 5px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* =======================================================
   ALLINEAMENTO ATTRIBUTI PRODOTTO (CARRELLO E CASSA)
   ======================================================= */
.woocommerce-cart table.cart td.product-name dl.variation,
.woocommerce-checkout table.shop_table td.product-name dl.variation {
    display: grid !important;
    grid-template-columns: max-content auto; /* Il titolo prende lo spazio necessario, il valore prende il resto */
    gap: 4px 10px; /* 4px di spazio verticale tra le righe, 10px di spazio orizzontale tra titolo e valore */
    align-items: center; /* Allinea il testo verticalmente al centro */
    text-align: left; /* Forza il testo a sinistra per una migliore leggibilità */
    margin-top: 15px;
}

/* Stile per i Titoletti (es. "Materiale Targa:") */
.woocommerce-cart table.cart td.product-name dl.variation dt,
.woocommerce-checkout table.shop_table td.product-name dl.variation dt {
    font-weight: bold !important;
    color: #222 !important; 
    margin: 0 !important;
    padding: 0 !important;
}

/* Stile per i Valori (es. "Alluminio") */
.woocommerce-cart table.cart td.product-name dl.variation dd,
.woocommerce-checkout table.shop_table td.product-name dl.variation dd {
    margin: 0 !important;
    padding: 0 !important;
}

/* Annulla i margini dei paragrafi interni di WooCommerce */
.woocommerce-cart table.cart td.product-name dl.variation dd p,
.woocommerce-checkout table.shop_table td.product-name dl.variation dd p {
    margin: 0 !important;
    display: inline-block;
}

.woocommerce-cart table.shop_table, 
.woocommerce-cart table.cart {
    width: 100% !important;
    max-width: 100% !important;
    table-layout: auto; /* Permette alle colonne di adattarsi al contenuto */
}

@media only screen and (min-width: 1400px) {
    .qode_grid_1300 .carousel-inner .slider_content_outer, .qode_grid_1300 .container_inner, .qode_grid_1300 .container_inner nav.content_menu, .qode_grid_1300 .elementor-container .elementor-widget-wrap>.qode_elementor_container_inner, .qode_grid_1300 .elementor-row .elementor-widget-wrap>.qode_elementor_container_inner, .qode_grid_1300 .footer_bottom_border.in_grid, .qode_grid_1300 .footer_top_border.in_grid, .qode_grid_1300 .full_width .parallax_content, .qode_grid_1300 .grid_section .section_inner, .qode_grid_1300 .qode_elementor_container_inner, .qode_grid_1300 .title_border_in_grid_holder, .qode_grid_1300 div[data-element_type=container].qode_elementor_container_inner, .qode_grid_1300 nav.content_menu ul, .qode_grid_1300.boxed .section .section_inner, .qode_grid_1300.boxed nav.content_menu.fixed {
        width: 85%;
    }
}
