/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Feb 26 2026 | 15:50:57 */
a:focus, button:focus, input:focus, select:focus, textarea:focus {
    outline: none !important;
}

header {
	position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
	width: 100%;
}

.dgwt-wcas-style-pirx.dgwt-wcas-search-wrapp.dgwt-wcas-search-focused input[type=search].dgwt-wcas-search-input:hover, .dgwt-wcas-tpd-image, .dgwt-wcas-overlay-mobile, .dgwt-wcas-open-pirx .dgwt-wcas-style-pirx.dgwt-wcas-style-pirx-compact .dgwt-wcas-sf-wrapp, .dgwt-wcas-open-pirx.dgwt-wcas-overlay-mobile-on .dgwt-wcas-om-bar button.dgwt-wcas-om-return {
	background:black;
}

.dgwt-wcas-om-bar .dgwt-wcas-om-return svg path {
	fill: white !important;
}

.dgwt-wcas-suggestion-selected {
    background-color: #eeeeee4f;
}

.archive.tax-product_cat.term-novita-2026.term-331 .wp-block-column .wp-block-cover.to-new-category {
	display: none !important;
}

.to-new-category:hover {
	cursor: pointer;
	span {
		background: #000000 !important;
	}
}

input.wpcf7-text, textarea.wpcf7-textarea {
    background: transparent;
    border: 1px solid white;
    border-radius: 12px;
	font-family: 'Inter';
    font-size: 16px;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: white;
    color: black;
    border-radius: 12px;
    padding: 10px 15px;
    text-transform: uppercase;
    font-weight: 700;
}

.heart a:before {
	content: "";
	display: block;
	width: 25px;
	height: 25px;
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 64 64' xmlns='http://www.w3.org/2000/svg' stroke-width='3' stroke='white' fill='none'%3E%3Cpath d='M9.06,25C7.68,17.3,12.78,10.63,20.73,10c7-.55,10.47,7.93,11.17,9.55a.13.13,0,0,0,.25,0c3.25-8.91,9.17-9.29,11.25-9.5C49,9.45,56.51,13.78,55,23.87c-2.16,14-23.12,29.81-23.12,29.81S11.79,40.05,9.06,25Z'/%3E%3C/svg%3E");
	}
.heart a {
	display: flex !important;
	gap: 5px;
	flex-direction: row;
	justify-content: center;
}

.icon-back {
	width: 30px;
}

.press-to-back {
	width: max-content;
	border-radius: 12px;
	padding: 5px 15px;
	cursor: pointer;
	margin-left: -5px;
	border: 1px solid white;
}
.press-to-back:hover, .press-to-back:active {
	background-color: #222222;
}

.product-card-custom img {
	max-height: 300px!important;
	height: auto!important;
}

header.wp-block-template-part > .wp-block-group.alignfull {
    background-color: rgba(0, 0, 0, 0.6) !important;
    
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); 

    position: sticky;
    top: 0;
    z-index: 9999;
    
    background-image: none !important;
}

header.wp-block-template-part .wp-block-navigation-item__label,
header.wp-block-template-part .wp-block-navigation__responsive-container-open svg {
    color: #ffffff !important;
    fill: #ffffff !important;
}

/* Pagina singolo prodotto */

ul.tabs.wc-tabs {display: none;}

.wc-block-components-product-image img {
    aspect-ratio: 1 / 1 !important;
    object-fit: contain !important;
    background-color: transparent; 
}

.product-img-card {
    background: white;
    border-radius: 18px 18px 0 0 !important;
}
.product-img-card.border-radius {
	border-radius: 20px!important;
}

div#tab-description {
	h2 {
		display: none
	}
	iframe {
		width: 100%; 
		min-height: 650px;
		border: 0.5px solid #ffffff7d;
        border-radius: 20px;
	}
}

.blockUI.blockOverlay {
	background-color: black!important;
	opacity: 0.85;
}

.product-tech-table table {
	width: 100%;
	border-collapse: collapse;
	tr {
		border-bottom: 0.5px solid #e5e7eb;
		border-top: 0.5px solid #e5e7eb;		
	}
}
.product-tech-table th {
	padding: 0.5rem;
	text-align: left;
	font-weight: 600;
	white-space: nowrap;
}
.product-tech-table td {
	padding: 0.5rem;
	text-align: right;
}
.line-head {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 10px;
}
.info-product {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}
.custom-img-product {
	.wp-block-woocommerce-product-gallery {
		background-color: white;
		border-radius: 20px;
		flex-direction: column-reverse;
		img.attachment-woocommerce_single.size-woocommerce_single {
			object-fit: contain !important;
		}
		.wc-block-product-gallery-thumbnails {
			height: 100px;
		}
	}
}
.grp-filter {
    border: 1px solid white;
    border-radius: 12px;
	padding: 20px 20px 0 20px!important;
	div#preset_92 {
		input[type="checkbox"]:not(:checked) {
			accent-color: #000000;
		}
		.yith-wcan-filter {
			margin-bottom: 20px;
		}
		background-color: transparent;
		h4.filter-title {
			font-size: 16px;
			color: #E30613 !important;
			margin: 10px 0 5px 0 !important;
		}
		li.filter-item label a {
			color: white !important;
		}
		li.filter-item.color.active a {
			background: white;
			.term-label {
				color: black !important;
			}
		}
		li.filter-item.color a.tooltip-added {
			width: 100%;
			border: 1px solid white;
			border-radius: 12px;
			display:flex;
			flex-direction: column;
            flex-wrap: nowrap;
            align-content: center;
            align-items: center;
			padding: 3px 0;
			.term-color {
				width: 85%;
				border-radius: 12px;
			}
			.term-label {
				color: white;
				text-transform: uppercase;
				font-size: 10px;
				font-weight: 600;
			}
		}
	}
}

.yith-ywraq-add-button {
	.add-request-quote-button.button {
		padding: 12px 25px;
		border-radius: 20px;
		border: 1px solid white;
		text-transform: uppercase;
		font-weight: 500;
		text-decoration: none;
		color: white!important;
	}
	.add-request-quote-button.button:hover {
		background-color: rgb(227, 6, 19) !important;
		border: 1px solid rgb(227, 6, 19) !important;
		color: black!important;
	}
	img.ajax-loading {
		display: none;
	}
}
.yith_ywraq_add_item_browse_message {
	margin-top: 15px;
	a {
		padding: 12px 25px;
		border-radius: 20px;
		border: 1px solid white;
		text-transform: uppercase;
		font-weight: 500;
		text-decoration: none;
		color: white!important;
	}
}
.yith_ywraq_add_item_browse_message a:hover {
	background-color: rgb(227, 6, 19) !important;
	border: 1px solid rgb(227, 6, 19) !important;
	color: black!important;
}
.yith-wcan-filter {
	border-bottom: 1px solid #ffffffd1;
    padding-bottom: 20px;
}
.yith-wcan-filter#filter_92_5 {
	border-bottom: none;
}

/* 1. Rimuove lo stile di default e crea il box base */
.filter-item input[type="checkbox"] {
    -webkit-appearance: none; /* Per Safari/Chrome */
    appearance: none;
    background-color: #000; /* Sfondo nero */
    border: 1px solid #fff; /* Bordo bianco */
    width: 18px;            /* Larghezza del box */
    height: 18px;           /* Altezza del box */
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    position: relative;
    margin-right: 8px;      /* Spazio tra box e testo */
    border-radius: 2px;     /* Opzionale: leggermente arrotondato */
}

/* 2. Crea la "spunta" (il tick) usando un pseudo-elemento */
.filter-item input[type="checkbox"]::after {
    content: "";
    position: absolute;
    display: none; /* Nascosta di default */
    /* Dimensioni e forma della spunta */
    left: 5px;
    top: 2px;
    width: 4px;
    height: 9px;
    border: solid #fff; /* Colore della spunta bianco */
    border-width: 0 2px 2px 0; /* Crea una forma a "L" */
    transform: rotate(45deg); /* Ruota la "L" per fare la spunta */
}

/* 3. Mostra la spunta quando il checkbox è selezionato */
.filter-item input[type="checkbox"]:checked::after {
    display: block;
}

/* Opzionale: stile al passaggio del mouse per feedback visivo */
.filter-item input[type="checkbox"]:hover {
    opacity: 0.8;
}

/* Form di ricerca Fibo Search */

.dgwt-wcas-search-wrapp {
    margin-bottom: -10px;
    margin-top: 10px;
	.dgwt-wcas-sf-wrapp {
		padding: 0 !important;
		input.dgwt-wcas-search-input {
			border-radius: 12px !important;
			font-size: 16px !important;
			padding: 10px 10px 10px 30px !important;
		}
		button.dgwt-wcas-search-submit {
			left: 3px !important;
			top: 8px !important;
		}
	}
}

/* Pagina Lista dei desideri */

.woocommerce.ywraq-wrapper {
	max-width: 800px;
	input.raq-send-request {
		padding: 12px 25px;
		border-radius: 20px;
		border: 1px solid white;
		text-transform: uppercase;
		font-weight: 500;
		text-decoration: none;
		color: white!important;
		background: none;
		cursor: pointer;
	}
	input.raq-send-request:hover {
		background-color: rgb(227, 6, 19) !important;
		border: 1px solid rgb(227, 6, 19) !important;
		color: black!important;
	}
	table.shop_table.cart {
		tr.cart_item {
			td {
				border-bottom: 1px solid white !important;
    			border-top: 1px solid white !important;
			}
			td.product-name {
				width: 60%;
				a {
					font-size: 26px;
					color: rgb(227, 6, 19);
					text-decoration: none;
					font-weight: 500;
				}
			}
			td.product-thumbnail a {
				width: 100px;
				height: 100px;
				display: block;
				background: white;
				border-radius: 20px;
				img {
					max-width: 100px;
				}
			}
			td.product-quantity {
				input.input-text.qty {
					background: none;
					border: 1px solid white;
					padding: 9px 20px;
					color: white;
					border-radius: 16px;
				}
			}
		}
		td.actions {
			input.button {
				padding: 10px 10px;
				border-radius: 16px;
				border: 1px solid white;
				background: none;
				color: white;
				cursor: pointer;
			}
			input.button:hover {
				background-color: rgb(227, 6, 19) !important;
				border: 1px solid rgb(227, 6, 19) !important;
				color: black!important;
			}
		}
	}
	input#rqa-name, input#rqa-email, textarea#rqa-message {
		background: none!important;
		border: 1px solid #ffffff57;
		border-radius: 16px;
		color: white;
		padding: 10px 20px;
		font-size: 16px;
	}
	.ywraq-privacy-wrapper p {
		font-size: 14px;
	}
}

@media (min-width: 769px) {
	.hidden-desktop {
		display: none !important;
	}
}

/* Personalizzazione per Totem */

@media (min-width: 769px) and (max-width: 1100px) {
	.card-home-info {
		min-height: 400px !important;
	}

	.dgwt-wcas-sf-wrapp {
		width: 200px;
	}
	
	.product-card-custom {
		h3 a {
			font-size: 16px;
		}
		div.wp-block-button {
			width: 100% !important;
		}
	}
	
	.grp-filter {
		position: sticky;
		top: 125px;
		align-self: flex-start;
		div#preset_92 {
			li.filter-item label a {
				font-size: 14px!important;
			}
		}
	}
	
	.col-sidebar {
		flex-basis: 30% !important;
	}
}

@media (max-width: 768px) {
	
	.list-correlati {
		>li {
			flex-basis: 47%;
		}
	}
	
	.product-card-custom {
		h3 {
			min-height: 50px;
			display: flex;
			flex-direction: column;
			justify-content: center;
			a {
				font-size: 18px;
			}
		}
		.wp-block-buttons {
			display: none;
		}
	}
	
	.hidden-mobile {
		display: none;
	}
	
	body.woocommerce-shop div.wp-block-group.is-style-ext-preset--group--natural-1--template.has-global-padding.is-layout-constrained.wp-block-group-is-layout-constrained, body.product-template-default.single.single-product main {
		padding-top: 100px !important;
		.press-to-back {
			border: none;
			padding: 0;
			margin: -20px 0;
		}
	}
	
	.card-home-info {
		min-height: 200px!important;
	}
	
	header:has(div.has-modal-open.is-menu-open) {
		position: static;

		> .wp-block-group {
			position: static !important;
			backdrop-filter: none!important;
			.has-background-background-color {
				background-color: black!important;
			}
		}
	}
	
	figure.wp-block-video.alignfull.mobile-hero-video {
		padding-top: 70px !important;
		video {
			height: 250px;
			object-fit: cover;
		}
	}
	
	.badge-ce {
		border-top-right-radius: 100px !important;
    	border-bottom-right-radius: 100px !important;
	}
	
	.reassicurance .wp-block-columns:not(.is-not-stacked-on-mobile) {
		>.wp-block-column {
			flex-basis: 50%!important;
		}
	}
	
	footer .mobile-column {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
	}

	div#tab-description {
		h2 {display: none}
		iframe {min-height: 350px}
	}
	.woocommerce.ywraq-wrapper {
    	table.shop_table.cart {
			tr.cart_item {
				td.product-name {
					border: none !important;
					width: 100%;
                    box-sizing: border-box;
					a {
						font-size: 20px;
					}
				}
				td.product-remove {
					a {
						text-align: right;
						width: 100%;
						font-size: 14px;
						display: flex!important;
						justify-content: flex-end;
						gap: 5px;
						color: #b3b3b3 !important;
					}
					a::before {
						content: "Rimuovi";
					}
				}
			}
		}
	}
	.yith-ywraq-mail-form-wrapper {
		padding: 25px 0 !important;
	}
	.column-reverse-mobile {
		flex-direction: column-reverse;
	}
	.yith-ywraq-add-button .add-request-quote-button.button, .yith_ywraq_add_item_browse_message a {
			width: 100%;
			display: block;
			text-align: center;
			box-sizing: border-box;
	}
}