﻿*:focus {
	outline: none;
}

body {
	min-height: 100vh;
	margin: 0;
	cursor: default;
	width: 100%;
	display: flex;
	flex-direction: column;
	flex: 1;
	touch-action: pan-x pan-y;
}
body,
input,
select,
textarea {
	font-size: 18px;
	line-height: 1.6;
}

select,
textarea,
input[type="date"],
input[type="text"],
input[type="password"],
.modal-content input[type="text"],
.modal-content input[type="password"] {
	color: #000;
	border: 1px #999 solid;
	width: 100%;
	font-size: 16px;
	padding: 0 10px;
	box-sizing: border-box;
}

#cerca > div {
	margin-bottom: 20px;
	padding-bottom: 20px;
	position: relative;
}
#cerca > div > div:last-of-type {
	display: flex;
	align-items: center;
	white-space: nowrap;
}
#cerca > div > div:last-of-type button{
	margin-left: 15px;
}
form:has(#cerca) > div:last-of-type {
	display: flex;
	align-items: center;
}
form:has(#cerca) label:has(#ricorda) {
	margin-left: 20px;
}
form:has(#cerca) #caratteristica a {
	display: flex;
	align-items: center;
	margin-bottom: 20px;
}
form:has(#cerca) #caratteristica a img {
	margin-right: 10px;
	width: 25px;
}

form {
	display: block;
	width: 100%;
	height: 100% !important;
}

.disabled a {
	color: #999 !IMPORTANT;
	text-decoration: line-through !IMPORTANT;
}
.disabled img {
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}
.disabled img:hover {
    filter: grayscale(0%);
}
.disabled[type="button"]{
	background: #ddd;
	color: #000;
	margin: 15px 0;
	cursor: default;
}

span {
	font-size: inherit;
	line-height: inherit;
	font-family: inherit;
	font-weight: inherit;
}

.correlate a {
	text-transform: unset !IMPORTANT;
	font-weight: normal !IMPORTANT;
}
.correlate li:hover {
	text-decoration: underline;
	background: none !IMPORTANT;
	box-shadow: none;
}

h1,
h2,
h3,
ul,
p {
	margin: 0;
	padding: 0;
}

h1, h2 {
	/*display: flex;*/
	display: flow-root;
	width: fit-content;
	position: relative;
	box-sizing: border-box;
}

h1:has(+ button) {
	display: inline-block !IMPORTANT;
}
h1 {
	font-size: 35px;
	text-shadow: -1px 1px 5px rgba(204, 204, 204, 1);
	margin-bottom: 20px;
}
section > section > h1 {
	margin-bottom: unset;
	color: unset;
}

h2,
.prezzo:not(strong) {
	font-size: 25px;
	font-weight: bold;
}
article h2,
aside h2 {
	margin-bottom: 15px;
	text-shadow: -1px 1px 5px rgba(204, 204, 204, 1);
}

h3 {
	font-size: 18px;
	align-items: center;
	width: fit-content;
	position: relative;
}
h3 a {
	display: inline-table;
}

hr {
	margin-bottom: 15px;
}

p {
	margin-bottom: 10px;
}

/*
*:has(.right) {
	position:relative;
}*/

footer {
	width: 100%;
	padding: 50px 15px 30px 15px;
	box-sizing: border-box;
	display: table;
	text-align: center;
	/*z-index: 1;*/
}
footer a{
	display:inline-flex;
}

.modal h2 {
	margin-bottom:10px;
}

.modal {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: grid;
	place-items: center;
	background: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.2s;
	z-index: 4;
	overflow-y: scroll;
	scrollbar-width: none;
	-ms-overflow-style: none;
}
.modal::-webkit-scrollbar {
    display: none;
}
.modal.show {
	opacity: 1;
	visibility: visible;
}
.box,
.modal-content:not(:has(.spinner)) {
	padding: 20px;
	border-radius: 10px;
	position: relative;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.2);
	margin-bottom: 20px;
}
.modal-content {
	max-width: 800px;
	margin: 20px;
	box-sizing: border-box;
}
.modal-content:has(table){
	width: calc(100% - 40px);
	overflow-x: hidden;
	max-height: calc(100% - 40px);
	display: flex;
	flex-direction: column;
	position: relative;
}
.modal-content:has(table)::-webkit-scrollbar {
	display: none;
}
.modal-content:has(table) header{
	position: sticky;
	top: -20px;
}
.scroll-wrapper {
	overflow-x: auto;
}

.modal-content section,
.modal-content iframe {
	overflow-x: hidden;
	overflow-y: auto;
	max-height: 75vh;
}

.modal-content iframe {
	width: 100%;
	max-width: 800px;
	border: none;
}

.modal-content:has(section) section {
	margin-right: -10px;
	position: relative;
}

.modal-content:has(iframe) section {
	overflow-y: hidden;
	padding-right: unset;
}

.modal-content:has(input),
.modal-content:has(iframe) {
	width: calc(100% - 40px);
	box-sizing: border-box;
	padding: 20px;
}

/*.modal-content:has(input) {*/
.modal-content:has(input:not([type="hidden"])) {
	max-width: 580px;
}
/*.modal-content:has(h1:not(header h1)) {
	max-width: 400px;
}*/
.box header,
.modal-content header {
	border-radius: 10px 10px 0 0;
	position: static;
	margin-top: -20px;
	margin-left: -20px;
	margin-bottom: 20px;
	padding: 5px 20px 5px 20px;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
}
/*.box header h1,
.modal-content header h1 {
	font-size: unset;
	font-weight: normal;
	text-shadow: none;
	margin:unset;
	float: left;
}*/
.box header h1,
.modal-content header h1 {
	font-size: unset;
	font-weight: normal;
	text-shadow: none;
	margin: unset;
	display: flex;
	align-items: center;
}

/*.box header h1 font,
.modal-content header h1 font {
	display: inline-flex !important;
	align-items: center !important;
}*/

.box header h1 font img,
.modal-content header h1 font img {
	/* scala l’immagine all’altezza del testo e la centra */ 
    /*display: inline-block !important;*/
	vertical-align: middle !important;
	height: 1em;
	width: auto;
	margin-right: 0.3em !important;
}

.close-button {
	margin-right: -10px;
	cursor: pointer;
	margin-left: auto;
}
.editable {
	position: relative;
}

#tooltip {
	position: absolute;
	box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.1);
	z-index: 5;
	opacity: 0;
	transition: opacity 0.3s;
}

table {
	border-spacing: 0;
	border-collapse: separate;
	cursor: default;
	width: 100%;
	overflow-x: auto;
	display: block;
	padding-bottom: 10px;
}

table thead,
table tbody {
	display: table;
	width: 100%;
}
table td,
table th {
	padding: 3px 13px;
	text-align: left;
	border-bottom: 1px #000 dashed;
	border-left: 1px #000 dashed;
}
table .center {
	width: 0;
	text-align: center
}
table.pointer tr:has(td):hover{
	cursor: pointer;
}

/*.articolo {
	overflow: hidden;
	width: 100%;
	padding-bottom: 15px;
}
.articolo:not(:first-of-type) {
	border-top: 1px #ccc solid;
	padding-top: 20px;
}
.articolo:last-of-type {
	padding-bottom: unset;
}
.articolo div:first-of-type {
	float: left;
	margin-right: 20px;
}
.articolo > div:first-of-type:has(img) {
	min-width: 260px;
	text-align: center;
}
.articolo div:first-of-type img {
	max-height: 220px;
	max-width: 280px;
}
.articolo h2 a,
.articolo h2 {
	color: unset;
	text-decoration: unset !IMPORTANT;
	margin: 0;
}*/
.articolo {
	width: 100%;
	padding-bottom: 15px;
	display: flow-root; /* sostituisce overflow: hidden */
}

.articolo:not(:first-of-type) {
	border-top: 1px #ccc solid;
	padding-top: 20px;
}

.articolo:last-of-type {
	padding-bottom: unset;
}

.articolo div:first-of-type {
	float: left;
	margin-right: 20px;
}

#acquisto .articolo div:first-of-type {
	display: flex;
	align-items: center;
	justify-content: center;
}

.articolo > div:first-of-type:has(img) {
	min-width: 260px;
	text-align: center;
}

.articolo div:first-of-type img {
	max-height: 220px !IMPORTANT;
	max-width: 280px;
	width: auto !IMPORTANT;
}

.articolo h2 a,
.articolo h2 {
	color: unset;
	text-decoration: unset !important;
	margin: 0;
}

.blocco {
	padding: 10px 5px;
	width: 100%;
	box-sizing: border-box;
}

input[type="checkbox"] {
	background-color: #fff;
	appearance: none;
	-webkit-appearance: none;
	width: 16px;
	height: 16px;
	cursor: pointer;
	border-radius: 3px;
	position: relative;
	outline: none;
	transform: translateY(25%);
}
input[type="checkbox"]:checked::before {
	color: white;
	content: '✓';
	font-size: 14px;
	font-weight: bold;
	display: flex;
	align-items: center;
	justify-content: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

input[type=password]::-ms-reveal,
input[type=password]::-ms-clear,
input[type=password]::-webkit-clear-button,
input[type=password]::-webkit-password-toggle-button,
input[type=password]::-webkit-password-toggle-list-button,
input[type=password]::-webkit-password-toggle-lens {
	display: none !important;
	pointer-events: none;
}

input[type=password] {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

label:has(input[type="checkbox"]) {
	cursor: pointer;
}
.suggestions {
	display: none;
	position: absolute;
	list-style: none;
	padding: 0;
	margin: 0;
	z-index: 2;
}

#password {
	padding-right: 40px;
}

.toggle_password {
	border: none !IMPORTANT;
	background: none !IMPORTANT;
	cursor: pointer !IMPORTANT;
	margin-left: -35px !IMPORTANT;
	height: fit-content !IMPORTANT;
	padding: unset !IMPORTANT;
	vertical-align: bottom;
}

.intestazione {
	border-bottom: 1px #ddd solid;
	background: #faf8f4;
	margin-bottom: 20px;
	margin-top: -10px;
	width: 100%;
	display: flow-root;
	padding-bottom: 10px;
	z-index: 2 !IMPORTANT;
}
.intestazione small:first-of-type {
	background: url(../images/ricerca.png) no-repeat 15px 10px;
	background-color: #fff;

	cursor: text;
	float: right;
	margin-left: 15px;
	background: #fff;
	border-radius: 20px;
	width: 100%;
	max-width: 200px;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	padding: 5px 15px 5px 40px;
	box-sizing: border-box;
	position: sticky;
	top: 0;
}
.intestazione a {
	display: inline-block;
}

.sticky {
	position: -webkit-sticky;
	position: sticky;
	z-index: 1;
	padding-top: 10px;
}
.sticky > img {
	padding-top: 10px;
}
h1.sticky,
h2.sticky {
	width: 100%;
}
aside.sticky {
	z-index: 0;
}

.preferiti {
	cursor: pointer;
	margin-bottom: -5px;
	margin-left: 15px;
}

.visualizzazione {
	margin-top: 30px;
	margin-bottom: 40px;
	display: block;
	position: relative;
}
.visualizzazione > span,
.visualizzazione > div img{
	cursor: pointer;
	position: relative;
}

.disposizione {
	float: right;
}
.disposizione img{
	margin-left: 3px;
	border-radius: 5px;
	padding: 5px;
}
.prodotti ul {
	padding:0
}
.prodotti ul a span,
section:has(> figure) h1 span {
	text-transform: none;
	display: inline-block;
}
.prodotti ul a font {
	text-transform: none;
}
.prodotti li {
	transition: background-color 0.3s;
	line-height: 1.2;
	/*border-radius: 10px;
	overflow: hidden;*/
}

.prodotti li > a,
.prodotti li > span,
.prodotti.elenco li a,
.prodotti.elenco li > div > div > span{
	font-weight: bold !IMPORTANT;
}

.prodotti li img{
	width: unset;
	height: unset;
}
/*
selezione dei testi
* {
	user-select: none;
	-webkit-user-select: none;
	-webkit-tap-highlight-color: transparent;
}*/

nav {
	list-style-type: none;
	display: flex;
	align-items: start;
}

ul {
	margin-bottom: 15px;
	padding-left: 20px;
	width: auto;
}


span {
	display: inline-block;
}

div {
	position: relative
}


*[onmouseup="list(this)"] {
	cursor: pointer !IMPORTANT;
	margin-left: 0 !IMPORTANT;
	margin-right: 0 !IMPORTANT;
	padding-left: 5px !IMPORTANT;
}


.right:not(strong) {
	float: right;
	text-align: right;
	top: 0;
	right: 0;
}

.right .option {
	text-align: left;
}


.opzioni {
	margin-bottom:20px;
}
.opzioni > div:first-of-type:has(img) {
	min-width: 120px;
	text-align: center;
}
.opzioni div:first-of-type img {
	max-height: 100px;
	margin-bottom:15px;
}
.opzioni tr:hover {
	color: unset;
}
.opzioni table input {
	text-align: center;
}
.opzioni td:not(:first-of-type) {
	width:80px;
}


.destra {
	float: right;
	clear: right;
	margin-left: 15px;
	margin-bottom: 10px;
}

.sinistra {
	float: left;
	clear: left;
	margin-right: 15px;
	margin-bottom: 10px;
}

.centro {
	display: block;
	margin: 0 auto;
	clear: both;
}

.esteso {
	display: block;
	width: 100%;
	clear: both;
}


header {
	padding: 0;
	position: sticky;
	top: 0;
	z-index: 3;
}
header nav {
	width: 100%;
	margin: 0 auto;
	position: relative;
}
header nav ul {
	margin: 0;
	padding: 0 !important;
	display: flex;
	align-items: center;
	overflow: visible;
	margin-top: 5px;
	margin-bottom: 5px;
	list-style: none;
}
header nav ul li {
	margin: 0;
	padding: 0 !important;
	margin-right: 40px;
	display: inline;
	text-transform: uppercase;
	font-weight: bold !important;
	padding-top: 10px;
	position: relative;
}
header nav li:has(ul) {
	display: flex;
	padding: 0 25px !important;
	padding-top: 15px !important;
	padding-bottom: 15px !important;
	margin-top: 0px;
	margin-left: -25px;
	margin-right: 15px;
	border-radius: 5px 5px 0 0;
	position: relative;
}
header nav li:has(ul) ul {
	margin: 0;
	padding: 0 !important;
	display: flex;
	align-items: flex-start;
	overflow: visible;
	flex-direction: column;
	list-style: none;
	background: #fff;
	position: absolute;
	left: 0;
	margin-top: 40px;
	z-index: 1;
	border-radius: 0 0 5px 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.5s ease, opacity 0.5s ease;
}
header nav li:has(ul):hover ul {
	max-height: 100vh;
	opacity: 1;
}
header nav li:has(ul) ul li {
	margin: unset;
	margin-bottom: 20px;
	white-space: nowrap;
	width: auto !important;
	position: relative;
	padding-left: 35px !important;
}
header nav li:has(ul) ul li:first-of-type{
	margin-top: 10px;
}
header nav li:has(ul) ul li::after {
	content: '';
	position: absolute;
	top: 15px;
	left: 0;
	transform: translateY(-15px);
	width: 24px;
	height: 24px;
	mask: url('../images/argomenti.png') no-repeat;
	-webkit-mask: url('../images/argomenti.png') no-repeat;
	background-color: #009900;
	transition: background-color 0.3s ease;
}

header nav ul li ul{
	margin-left: -20px;
}
header nav ul li ul li{
	margin-left: 20px;
	margin-right: 20px;
}
header nav ul li:has(span) div img{
	margin-bottom: 10px;
	cursor: pointer;
	border: 1px transparent solid;
	padding: 3px;
	transition: border-color 0.3s;
	max-height: 16px;
	width: unset;
}
header nav ul li:has(span) div:first-of-type {
	z-index: 2;
	position: absolute;
	margin-top: -11px;
	display: flex;
	align-items: center;
	cursor: pointer;
}
header nav ul li:has(span) div:first-of-type span {
	margin-top: -10px;
}
header nav ul li:has(span) div:nth-of-type(2),
header nav li:has(ul) div:nth-of-type(2) {
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	transition: max-height 0.5s ease, opacity 0.5s ease;
}
header nav ul li:has(span):hover div:nth-of-type(2),
header nav li:has(ul):hover div:nth-of-type(2) {
	max-height: 100vh;
	opacity: 1;
	transition: max-height 0.5s ease, opacity 0.5s ease;
}
header nav ul li:has(span) div:nth-of-type(2) {
	background: #fff;
	padding: 0;
	position: absolute;
	padding: 0 25px;
	padding-top: 50px;
	left: -25px;
	margin-top: -25px;
	z-index: 1;
	border-radius: 5px;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}
header nav img{
	max-height:60px;
	width: unset;
	height: unset;
}
header nav li:not(:first-child) a {
	text-decoration: none;
	float: left;
	line-height: 1.2;
	position: relative;
}
header nav li:not(:first-child) a::after  {
	content: '';
	position: absolute;
	bottom: -10px;
	left: 0;
	width: 0;
	height: 2px;
	transition: width 0.3s ease;
}
header nav li:not(:first-child) a:hover::after,
header nav li:not(:first-child) a.selected::after {
	width: 100%;
}
header aside{
	position: absolute;
	width: fit-content !important;
	top: 20px;
	right: 30px;
}
header nav aside img{
	display: flex;
	float: left;
	cursor: pointer;
	height: 38px;
	margin-left: 25px;
}
header nav aside a {
	position: relative;
	display: flex;
	float: left;
}
header nav aside div {
	position: relative;
	cursor: pointer;
	display: inline-block;
	float: left;
}

main {
	display: flex;
	flex-direction: column;
	flex: 1;
	width: 100%;
}
main > section {
	padding-bottom: 30px !IMPORTANT;
	padding-top: 20px !IMPORTANT;
}
main::before, main::after {
	position: fixed;
	top: 0;
	width: 50%;
	height: 100%;
	background-size: cover;
}
main {
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
}

main::before {
	left: 0;
	background-position: left center;
}
main::after {
	right: 0;
	background-position: right center;
}

section,
article {
	margin: 0 auto;
	position: relative;
}
section > section {
	width: fit-content !IMPORTANT;
	flex: 1;
	display:inline-table;

}
section > div{
	flex-direction: column;
	margin-bottom: 5px;
}
section > div p,
section > section p,
.testi div {
	margin:0;
}

aside {
	right: 0;
	padding-top: unset !IMPORTANT;
}

.caratteristiche {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 44px;
	margin: 15px 0 !IMPORTANT;
}
.caratteristiche li {
	width: fit-content;
	position:relative !IMPORTANT;
}

.abbinati {
	padding: 5px 10px;
	border: 1px #ccc solid;
	margin: 0;
	margin-top: 10px;
	position: relative;
	clear: both;
	width: 100%;
	box-sizing: border-box;
	display: table;
}
.abbinati a{
	text-transform: uppercase;
}
.abbinati div {
	font-size:16px;
	margin-top:5px;
}
.abbinati strong{
	color: #000;
}
.abbinati span:nth-of-type(1){
	color: #990000;
}
.abbinati img{
	float:left;
	margin-right:10px;
	max-height: 70px;
}

.scroll {
	overflow: hidden;
	display: block;	
}
.scroll::-webkit-scrollbar {
	display: none;
}
.scroll ul {
	margin: 0;
	display: flex;
	scroll-behavior: smooth;
	-ms-overflow-style: none;
	scrollbar-width: none;
	overflow: hidden !IMPORTANT;
	max-width: 100vw;
	box-sizing: border-box;
	gap: 2%;
}
.scroll li {
	flex: 0 0 16%;
	height: fit-content;
	padding:0;
}

section:has(article):has(aside) aside h2 {
	text-transform: uppercase;
	font-size: inherit;
}
section:has(article) article:not(article:last-of-type) {
	margin-bottom: 30px;
}
section:has(article):has(aside) aside nav > ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	margin-bottom: 20px;
	width: 100% !IMPORTANT;
}
section:has(article):has(aside) aside nav ul ul {
	list-style-type: none;
	margin: 0;
	margin-top: 10px;
	overflow: hidden;
	transition: height 0.5s ease-in-out;
	padding:0;
}
section:has(article):has(aside) aside nav ul ul li {
	margin: 0;
	margin-top: 10px;
}
section:has(article):has(aside) aside nav ul ul li:last-of-type {
	margin-bottom: 10px;
}
section:has(article):has(aside) aside nav ul img {
	float: right;
	cursor: pointer;
	box-shadow: -1px 1px 5px rgba(0, 0, 0, 0.1);
	margin-top:5px;
}
section:has(article):has(aside) aside nav ul li {
	margin-bottom: 10px;
	display: block;
	align-items: center;
	justify-content: space-between;
}

section:has(article):has(aside) aside nav:first-of-type ul li {
	position: relative;
	padding-left: 35px;
}
section:has(article):has(aside) aside nav:first-of-type ul li::after {
	content: '';
	position: absolute;
	top: 15px;
	left: 0;
	transform: translateY(-15px);
	width: 24px;
	height: 24px;
	mask: url('../images/argomenti.png') no-repeat;
	-webkit-mask: url('../images/argomenti.png') no-repeat;
	background-color: #006600;
	transition: background-color 0.3s ease;
}
section:has(article):has(aside) aside nav:first-of-type ul li:hover::after,
section:has(article):has(aside) aside nav:first-of-type ul li.selected::after {
	background-color: #0d46c0;
}
section:has(article):has(aside) aside nav:first-of-type ul li.selected {
	color: #0d46c0 !important;
}
section:has(article):has(aside) aside nav ul li:has(img):hover > a {
	text-decoration: underline;
}
section:has(article):has(aside) aside nav:first-of-type ul li a {
	color: #006600;
}
section:has(article):has(aside) aside > nav:not(:first-of-type) li {
	display: inline-flex;
	float: left;
	margin: 0;
	margin-right: 10px;
	margin-top: 5px;
	margin-bottom: 5px;
	position: relative;
}

.argomenti ul {
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}
.argomenti li {
	display: flex;
	position: relative;
	align-items: center;
}
.argomenti li:has(span),
.argomenti li a,
section:has(article):has(aside) aside > nav:not(:first-of-type) li a{
	padding:8px 15px;
	background-color:#e9e9e9;
	font-size:15px;
	transition: background-color 0.2s;
	white-space: nowrap;
}
.argomenti a:hover,
section:has(article):has(aside) aside > nav:not(:first-of-type) li a:hover{
	text-decoration: none;
}
.argomenti li span:nth-of-type(2){
	margin-left:5px;
}
.argomenti a:hover,
section:has(article):has(aside) aside > nav:not(:first-of-type) li:hover a {
	background-color: #0d46c0;
	color: #e9e9e9 !IMPORTANT;
}
.argomenti .selected a,
section:has(article):has(aside) aside > nav:not(:first-of-type) .selected a {
	background-color: #009900 !IMPORTANT;
	color: #fff !IMPORTANT;
	font-weight: normal;
}

.paginazione {
	padding: 10px;
	display: flex;
	align-items: center;
	/*overflow: hidden;*/
	margin: 0 auto;
	margin-bottom: 30px;
	width: fit-content;
	height: auto;
	color: #000;
	margin-top: 40px;
	border-top: 1px #009900 solid;
	padding-top: 10px;
}
.paginazione button,
.paginazione select,
.paginazione a {
	font-size: 16px;
	background-color: transparent !IMPORTANT;
	width: unset;
	padding: 4px !IMPORTANT;
	min-width: 60px !IMPORTANT;
	display: inline-block;
	text-align: center;
	margin: 0 5px 0 5px;
	cursor: pointer;
	color: #006600 !IMPORTANT;
	border: none;
	box-shadow: inset 0 0 0 1px #ccc !IMPORTANT;
	transition: background-color 0.5s, box-shadow 0.5s;
	text-decoration: none  !IMPORTANT;
}
.paginazione > div {
	position: relative;
	box-shadow: inset 0 0 0 1px #ccc !IMPORTANT;
	transition: background-color 0.5s, box-shadow 0.5s;
	display: inline-block;
	font-size: 16px;
	color: #006600 !IMPORTANT;
}
.paginazione span {
	font-size: 16px;
	padding: 4px !IMPORTANT;
	min-width: 60px !IMPORTANT;
	display: inline-block;
	text-align: center;
	color: #006600 !IMPORTANT;
	border: none;
}
.paginazione div div{
	min-width: 66px !IMPORTANT;
	text-align: center;
}
.paginazione .option {
	padding-right: 0;

}
.paginazione button,
.paginazione a,
.paginazione span {
	padding-left: 20px;
	padding-right: 20px;
	font-weight:bold;
}
.paginazione span:hover {
	box-shadow: inset 0 0 0 1px #006600;
}
.paginazione button:hover,
.paginazione a:hover {
	background-color: #006600 !IMPORTANT;
	color:#fff !IMPORTANT;
}
.paginazione button:disabled,
.paginazione a:disabled {
	display:none;
}

.badge {
	border: 2px #fff solid;
	font-size: 13px;
	font-weight: bold;
	position: absolute;
	bottom: -4px;
	right: -5px;
	background-color: #009900;
	color: white;
	border-radius: 50%;
	width: 20px;
	height: 20px;
	text-align: center;
	line-height: 18px;
	cursor: pointer;
	pointer-events: none;
}
.badge:not([data-value]),
.badge[data-value]:not([data-value="0"]) {
	background-color: #990000;
}

.acquisto {
	position: relative;
	width: 100% !IMPORTANT;
}
.acquisto {
	display:flex;
	flex-direction:column;
}
.acquisto ul {
	list-style: none;
	padding: 0;
	margin: 0;
}
.acquisto ul > ul > li {
	display: flex;
	align-items: center;
}
.acquisto li > div{
	width: fit-content;
}
.pezzi {
	margin-top: 10px;
}

#opzioni > div:first-of-type:has(span:nth-of-type(2)) > span {
	cursor: pointer !IMPORTANT;
}

#prezzi ul li {
	display:block;
	margin-bottom: 15px;
}

.caratteristiche strong,
.caratteristiche span{
	display:inline-flex;
	width: fit-content;
}

.product-selector {
	margin: 15px 0;
}
.product-selector .numeratore{

	margin-right: 10px;
	margin-bottom: 10px;
}
.prodotti .numeratore {
	float: unset;
	margin-top: 10px;
	margin-bottom: 10px;
	max-width: 100%;
}
.prodotti .numeratore span:not(:is(button span)) {
	float: unset;
	margin: 0 10px;
	cursor: pointer;
}
.numeratore {
	float: left;
	margin: 0 auto;
	display: flex;
	flex-direction: row;
	align-items: center;
	box-shadow: 0 0 0 1px #ccc !IMPORTANT;
	color: #000;
	background: #FFF;
	width: fit-content;
	height: 45px;
}
.numeratore button {
	height:100%;
	padding: 0 10px !IMPORTANT;
	background-color: transparent !IMPORTANT;

}
.numeratore input {
	border: 0 !IMPORTANT;
	width: 40px !IMPORTANT;
	padding: 0 !IMPORTANT;
	color: #000;
	font-weight: bold;
	min-width: 35px;
	text-align: center;
	margin: 0;
	margin-top: -3px;
}
.box .numeratore {
	margin-left: 1px;
	margin-bottom: 1px;
}

.testi {
	display: flex;
	flex-wrap: wrap;
	flex-direction:column;
	align-items: center;
	clear: both;
	width: 100% !IMPORTANT;
	margin-bottom: 20px !IMPORTANT;
}
.testi section{
	font-size: 20px;
}
.testi:not(:has(section)) nav{
	margin-bottom:unset;
}
.testi nav{
	width:100%;
	margin-bottom:30px;
	display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: start;
}
.testi > section{
	display:inline-block;
	width:100% !IMPORTANT;
}
.testi > section:not(:first-of-type) {
	/*display: none;*/
	position: absolute;
	left: -9999px;
}
.testi h3 {
	display:none !IMPORTANT;
}
.testi nav ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	display:flow;
    padding: 0;
    margin: 0;
	width:100%;
}
.testi h3,
.testi nav li {
    position: relative;
    margin-right: 50px;
    padding: 5px 0;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    padding-left: 42px;
    color: #009900;
    height: fit-content;
    list-style: none;
    white-space: nowrap;
	display: inline-table;
    vertical-align: top;
	min-height:30px;
}
.testi h3::before,
.testi nav li::before {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: #0d46c0;
	transition: width 0.2s ease;
}
.testi nav li.selected::before {
	width: 100%;
}
.testi h3::after,
/*.testi nav li::after*/
.testi nav li:not(.list)::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
	width: 24px;
	height: 24px;
	background-size: cover;
	mask: url('../images/argomenti.png') no-repeat;
	-webkit-mask: url('../images/argomenti.png') no-repeat;
	background-color: #009900;
	transition: background-color 0.5s ease;
}
.testi nav li.selected::after {
	background-color: #0d46c0;
}
.testi nav li.selected {
	color: #0d46c0 !important;
}
.testi nav li:hover::after {
	background-color: #0d46c0;
}
.testi nav li:hover {
	color: #0d46c0;
}

header nav,
main > section{
	width: 1330px;
	padding: 0 30px;
	box-sizing: border-box;
}

section:has(article):has(aside) article {
	display: flex-inline;
	width: 73% !IMPORTANT;
	float: left;
}
section:has(article):has(aside) article:nth-of-type(2) {
	width: 100% !IMPORTANT;
}
section:has(article):has(aside) aside {
	float: right;
	font-size: inherit;
	width: 25%;
	/*top: 110px;*/
}
section:not(:has(section)) > ul,
section:not(:has(section)) ol {
	margin-left: 0;
	padding-left: 0;
	list-style-position: inside;
}
section:not(:has(section)) ul ul ul{
	list-style-type: disc;
}
section:not(:has(section)) ul ul ul li::marker {
	color: #990000;
}

.menu {
	position: fixed;
	list-style: none;
	padding: 15px 30px;
	box-sizing: border-box;
	right: 0;
	top: 0;
	margin: 0;
	z-index: 4;
	line-height: 2.3;
	width: 300px;
	height: 100vh;
	box-shadow: none;
	transform: translateX(100%);
	transition: transform 0.5s ease, box-shadow 0.5s ease, box-shadow 2s ease;
	overflow-y: auto;
}
.menu > ul{
	list-style: none;
}
.menu.show {
    transform: translateX(0);
	box-shadow:-5px 0px 5px rgba(0, 0, 0, 0.2);
}

.prodotti:not(.scroll) ul {
	display: flex;
	flex-wrap: wrap;
	gap: 2%;
}
.prodotti.scroll ul {
	padding: 0;
	list-style: none;
	overflow: auto;
}
.prodotti li {
	width: 100%;
	max-width: 31.96%;
	display: inline-block;
	text-align: center !IMPORTANT;
	margin-bottom: 30px;
	vertical-align: top;
	position: relative;
	height: auto;
	float: left;
	box-sizing: border-box;
}
.prodotti:not(.scroll) li:nth-child(3n) {
	margin-right: 0;
}
.prodotti:not(.scroll) li:nth-child(3n+1) {
	clear: left;
}
.prodotti li img {
	max-width: 100%;
	max-height: 250px;
	display: block;
	margin: auto;
}

.prodotti.elenco ul:not(.correlate) li {
	max-width: unset;
	text-align: left !important;
	margin-right: unset;
	margin: 0 !important;
	margin-bottom: 10px;
	padding: 20px !important;
	box-sizing: border-box !important;
	border-radius: 5px;
}
.prodotti.elenco ul:not(.correlate) li:hover {
	background: #fbfbfb !important;
}
.prodotti.elenco ul:not(.correlate) li:hover .numeratore {
	opacity: 1;
	transition: max-height 0.7s ease, opacity 0.7s ease;
}
.prodotti.elenco ul:not(.correlate) li > div > div > span:first-of-type {
	margin-top: 15px;
}
.prodotti.elenco ul:not(.correlate) li > div:not(.numeratore) {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 15px;
	max-width: 100%;
	box-sizing: border-box;
}
.prodotti.elenco ul:not(.correlate) li > div:not(.numeratore) > a {
	width: 150px;
	display: flex;
	justify-content: center;
	align-items: center;
}
.prodotti.elenco ul:not(.correlate) li > div:not(.numeratore) > a > img {
	max-height: 130px;
	display: block;
	flex-shrink: 0;
	align-self: flex-start;
	margin: 0;
}
.prodotti.elenco ul:not(.correlate) li > div:not(.numeratore) > div {
	flex: 1 1 0;
	min-width: 0;
	box-sizing: border-box;
	margin: 0;
}

.prodotti.elenco .numeratore {
	float: right;
	margin: 0 !important;
	margin-right: 20px !important;
	box-sizing: border-box;
	opacity: 0;
	overflow: hidden;
	
}

aside figure {
	margin: 10px 0 15px 0;
	position: relative;
	display: flex;
}
aside figure img {
	width: 100%;
	margin:0 !IMPORTANT;
	opacity: 0;
	display:none;
	transition: opacity 0.3s ease;
}
aside figure img.selected{
	display: unset;
	opacity: unset;
}

section:has(> figure) {
	display: flex;
}
section:has(> figure) figure {
	position: sticky;
	top: 110px;
	align-self: flex-start;
	display: flex;
	flex-direction: column;
	width: 50%;
	height: calc(97vh - 110px);
	margin-left: 0;
	margin-right: 30px;
	margin-bottom: 0;
	overflow: hidden;
	box-sizing: border-box;
	min-height: 0;
	/*max-height:	750px;*/
	max-height:	600px;
}
section:has(> figure):not(:has(div:nth-of-type(2) img:nth-of-type(2))):not(:has(video)) > figure {
	height: unset;
}
section:has(> figure):not(:has(div:nth-of-type(2) img:nth-of-type(2))):not(:has(video)) > figure img{
	height:	calc(97vh - 110px);
	max-height: 600px !IMPORTANT;
}
/*figure > div:nth-of-type(2):has(img):not(:has(img:nth-of-type(n+2))),
figure > div:nth-of-type(2):has(video):not(:has(video:nth-of-type(n+2))) {
	display: none;
}*/
figure > div:nth-of-type(2):has(img):not(:has(video)):not(:has(img:nth-of-type(n+2))),
figure > div:nth-of-type(2):has(video):not(:has(img)):not(:has(video:nth-of-type(n+2))) {
	display: none;
}
section:has(> figure) figure div:nth-child(2) img:not(:last-child) {
	margin-right: 1%;
}
section:has(> figure) {
	padding-bottom: 30px;
	display: flex;
}
section:has(> figure) > section {
	width: unset;
	display: table;
	padding: 0 !IMPORTANT;
	margin:0;
}

figure > div:nth-of-type(1) {
	flex: 0 0 79%;
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
	min-height: 0;
	margin-bottom: 2%;
	max-height: 600px;
}
figure > div:nth-of-type(2) {
	white-space: nowrap;
	overflow: hidden;
	width: 100%;
	padding: 0;
	overflow-x: auto;
	scrollbar-width: none;
	text-align: center;
	font-size: 0; /* elimina tutti gli spazi vuoti tra gli elementi inline/inline-block */
}
figure > div:nth-of-type(1) img,
figure > div:nth-of-type(1) video {
	max-width: 100%;
	max-height: 100% !IMPORTANT;
	object-fit: contain;
	transition: opacity 0.3s ease-in-out;
}
figure > div:nth-of-type(2) img,
figure > div:nth-of-type(2) video {
	max-height: 100%;
	max-width: 100%;
	border: 2px #ccc solid;
	border-radius: 5px;
	padding: 3px;
	background: #f0f0f0;
	cursor: pointer;
	margin-right: 5px !IMPORTANT;
	box-sizing: border-box;
	transition: border-color 0.2s;
	object-fit: contain;
	width: auto;
	height: auto;
}
figure > div:nth-of-type(2)::-webkit-scrollbar {
	display: none;
}

.scroll button:nth-of-type(2) {
	display: none;
}
.scroll:has(li:nth-of-type(6)) button:nth-of-type(2) {
	display: unset;
}

.prodotti .preferiti {
	max-height: 20px;
	position: absolute;
	top: 15px;
	right: 15px;
	border-radius: 5px;
	opacity: 0;
	transition: opacity 3s;
}
.prodotti li:hover .preferiti {
	opacity: unset;
}