/* @group BOX STORE */
.box.boxstore{
	border: 1px solid var(--border-color);
}
.boxstore .boxico{
	border: none;
	order: 1;
	display: flex;
	justify-content: center;
	flex-direction: column;
	aspect-ratio: 1/1;
}
.boxstore-picture{
	display: contents;
}
 .box.boxstore:hover .boxico img{
	transform: none;
 }
.boxstore .boxtesto{
	font-size: .9rem;
	display: none;
}
.boxstore .boxcontent{
	order: 2;
	padding: .5rem;
}
.boxstore .boxcontent a{
   width: 100%;
   height: 100%;
   display: flex;
   flex-flow: column;
}
.boxstore .boxlink{
	text-align: center;
	padding: 0 .5rem .5rem;
	order: 3;
}
.boxprezzo{
	/* SILVIA: queste impostazioni posizionano in basso al box. Modificare solo se consapevoli */
	display: flex;
	order:3;
	margin-top: auto;
	margin-bottom: 1rem;
}
.boxprezzo .prezzo .piccolo{
	color: var(--txt-light);
}
.boxprezzo .prezzo,
.boxprezzo .barrato{
	/* il 50% affianca il prezzo al prezzo scontato. NON rimuovere */
	width: 50%;
	font-weight: 600;
	/* SILVIA: modificare font-size: solo se consapevoli */
	font-size: clamp(1rem, 0.9rem + 0.5vw, 1.5rem);
}
#minus-btn{
	/* diminuisci quantita */
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}
#plus-btn{
	/* aumenta quantita */
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
}
/* @end */

/* @group BOXICO SWAP IMAGE - immagini di anteprima che si scambiano in hover  */
.swap-on-hover img{
	display: inline-block;
	-webkit-backface-visibility: hidden;
	backface-visibility: hidden;
}
.swap-on-hover .swap-on-hover__front-image{
 	-webkit-transition: 0.5s opacity ease-in-out;
	transition: 0.5s opacity ease-in-out;
	z-index: 1;
	cursor: pointer;
}
.swap-on-hover .swap-on-hover__back-image{
	position: absolute;
	top: auto;
	left: 0;
	opacity: 0;
}
.swap-on-hover:hover .swap-on-hover__back-image,
.swap-on-hover:hover a .swap-on-hover__back-image{
  opacity: 1;
}
.swap-on-hover:hover .swap-on-hover__front-image,
.swap-on-hover:hover a .swap-on-hover__front-image{
  opacity: 0;
}
/* @end */

/* @group SCHEDA  */
#store-slidecont1{
	margin: 1rem 0;
}
.schedatitolo .heading{
	text-align: left;
	margin-top: 0;
	margin-bottom: 2rem;
}
.schedatitolo .heading h1{
	text-align: left;
	letter-spacing: .1rem;
	margin-top: 3.6rem;
	font-weight: 500;
	text-transform: uppercase;
}
.schedatitolo h1 .marca{
	font-size: .9rem;
	color: var(--txt-light);
	text-shadow: none;
	display: block;
	text-transform: uppercase;
}
#schedadescr-cont,
#schedaimg-cont{
	z-index: 1;
}
#schedadescr-cont .toggletext{
	margin-top: 1rem;
}
.button-cont {
	display: flex;
	justify-content: space-evenly !important;
}
#schedadescr-cont .button-cont .btn .fas{
	display: none;
}

.scheda-note{
	margin: 2rem 0;
}

.scheda-anteprima{
	margin-bottom: var(--margin-bottom-base);
	font-size: 1.6rem;
    font-weight: 200;
}

.descrbreve img{
	margin-right: .5rem;
}
.descrbreve .toggletext{
	margin-top: 2rem;
}
.schedaprezzo, #shop-prezzo{
	font-size: 1.5rem;
	font-weight: 500;
}
#schedashop-cont .row{
	display: flex;
    align-items: center;
}
.qty_input,#qty_input{
	width: 4rem !important;
	text-align: center;
	padding: .1rem;
}
/* @end */

/* FORMATTAZIONE SCELTA TAGLIE COME PERUSELLI */
.listabottoni .checkbox-cont{
	float: left;
	text-align: center !important;
	line-height: 1.8;
	margin: 0 10px 10px 0;
	padding: 0 5px;
	height: 40px;
	min-width: 55px;
}
.listabottoni-lg .checkbox-cont{
	width: 130px;
	white-space: nowrap;	   /* SILVIA: NON RIMUOVERE se non sai a cosa serve */
	overflow: hidden;		   /* SILVIA: NON RIMUOVERE se non sai a cosa serve */
	text-overflow: ellipsis;   /* SILVIA: NON RIMUOVERE se non sai a cosa serve */
}
.listabottoni .checkmark{
	border-radius: 0;
	border: 1px solid var(--border-color);
	background-color: transparent;
	height: 100%;
	width: 100%;
}
.listabottoni .checkbox-cont:hover input ~ .checkmark{
   z-index: -1;
}
.listabottoni .checkbox-cont input:checked ~ .checkmark{
	background-color: transparent;
	border: 2px solid var(--theme-primary);
}
.listabottoni .checkbox-cont input:checked ~ .checkmark::after{
    display: none;
}
/* @end */

/* @group #storepanel */
#storepanel{
	/* NON rendenderlo MAI invisibile!!!! */
	margin-bottom: var(--margin-bottom-base);
}
#storepanel .panel-filtro{
	display: inline-block;
}
#storepanel .panel-filtro label{
	display: block;
}
.doubleview{
	margin-right: 15px;
}
/* @end */

.cart-advice .progress{
	margin-bottom: 2px;
}
/* @group STORE CART */
#cart{
	font-size: 13px;
	margin: 0 10px 10px 10px;
	padding: 0;
	width: 200px;
}
#cart .bottom{
	height: 30px;
	margin: 0;
	padding: 0;
}
#cart .evidword{
	text-align: center;
}
#cart .top{
	color: white;
	font-weight: bold;
	letter-spacing: 1px;
	margin: 0;
	padding: 15px 0 15px 6px;
}
#cart table th, #cart table td{
	font-size: .9rem;
	padding: 4px;
}
#cartvedi .quantita{
	background-color: var(--bg-light);
	border: 1px solid var(--border-color);
}
#cartvedi em, #cartvedi a em{
	color: var(--text-light);
	font-style: normal;
}
.shop-quantita{
	width: 80px !important;
	text-align: right;
	display: inline-block;
}
.um{
	text-transform: uppercase;
	color: var(--txt-light);
	line-height: 1.6;
}
.cartdescr{
   overflow: hidden;
   text-overflow: ellipsis;
}
#cart-cont{
	float: right;
	margin-top: -6px;
}
.cartsummary{
	position: absolute;
	min-width: 240px;
	right: 42px;
	background-color: var(--body-bg);
	color: var(--body-color);
	font-size: .9rem;
	padding: 10px;
	z-index: 100;
	top: 4px;
}

#one-step-checkout{
	padding: 2rem 0;
}
#one-step-checkout .fullrow{
	margin-bottom: 2rem;
}

#one-step-checkout select{
	 width: 90%;
}
#tblriepilogo.table > tbody > tr > td{
	font-size: .9rem;
	line-height: 1.2;
}
.rowborder{
	border-bottom: var(--border-color) 1px dotted;
	margin-bottom: 2px;
}
/* @end */


/* @group CARTELLA COLORE */
.boxcolori-cont{
	/*https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Grids*/
   display: grid;
   grid-template-columns: repeat(15, 1fr);
   grid-gap: 20px;
   grid-auto-rows: 40px;
}
.boxcolore img{
   margin: 0 auto;
   max-width: 100%;
}
.boxcolore p{
	font-size: .8rem;
    text-transform: uppercase;
    line-height: 1.1;
    margin: 4px 0 10px;
	text-overflow: ellipsis;
	overflow: hidden;
	white-space: nowrap;
	width: 100px;
}
.boxcolore:hover p{
   overflow: visible;
   width: auto;
   position: absolute;
   z-index: 2;
   background-color: white;
   padding-right: 30px;
   padding-left: 30px;
}
.box.boxcolore{
	border: 1px solid var(--border-color);
	max-width: 120px;
}
.boxcolore .boxico{
	border-bottom: 1px solid var(--border-color);
}
.boxcolore .boxcontent{
	padding-bottom: 20px;
	padding-top: 10px;
	font-weight: 600;
	font-size: .9rem;
	color: var(--text-light);
}
.boxcolore .prezzo{
	margin: 6px 0 10px 0;
	font-size: 15px;
	font-weight: 800;
}
.boxcolore .shop-quantita{
	padding-bottom: 2px;
	width: 70px;
}
/* @end */

/*dl.zone, .zone{
	padding: 15px;
   width: 650px;
   display: block;
}
.zone{
	background-color: #fafafa;
	box-shadow: 1px 1px 6px #cccccc;
	top: 34px;
}
.zone::after{
	top: -6px;
	border-bottom: 6px solid #fafafa;
}
.dl-horizontal dt{
	float: left;
	width: 30%;
	overflow: hidden;
	text-transform: uppercase;
	text-align: left;
}
.dl-horizontal dd{
   margin-left: 35%;
}
.zone .text-danger{
	color: #333333;
	font-size: 14px;
}
.zone a{
	text-transform: uppercase;
	font-weight: 300;
}
.zone a.active{
	font-weight: bold;
}
.zone h5{
	margin-top: 0;
	padding-top: 0;
	padding-bottom: 6px;
}
.zone li{
	width: 50%;
	font-weight: 300;
	line-height: 1.7;
	float: left;
}
.zone li.active a{
	color: black !important;
	font-weight: 400;
}
.zone li a:link, .zone li a:visited{
	color: #777777;
}
.zone li a:hover, .zone li a:active{
	color: black;
}*/
/* @end */


/* DESKTOP 1280 */
/*@media (min-width: 1200px) and (max-width: 1599px){
}*/

/* BREAKPOINT LARGE - lg - tablet oriz */
/*@media (min-width: 992px) and (max-width: 1199px){
}*/

/* BREAKPOINT MEDIUM - md - tablet vert */
/*@media (min-width: 768px) and (max-width: 991px){
}*/

/* SOLO TABLET E DESKTOP, NO SMARTPHONE!!! */
/* @media (min-width: 992px){
} */

/* BREAKPOINT SMARTPHONE - COLLAPSE MENU - xs + sm + md */
@media (max-width: 991px){
   .schedatitolo .heading h2{
		font-size: 1.8em;
	}
	.boxstore .boxlink{
		display: block;
	}
	.shop-quantita{
		width: 40px !important;
		-moz-appearance: textfield;
		appearance: textfield;
	}
	.cartdescr{
		max-width: 150px;
	}
}

/* Smartphone */
@media (max-width: 767px){
	.schedatitolo .heading h1 {  
    margin-top: .4rem;  
   }
}
