:root {
  --color_template: #1378a1;
  --color_template_2: #2aa9dc;
  --color_template_3: #1E292D;
  
}

html { 
  margin: 0px;
  padding: 0px; 
   
}
.color_template{
  color: var(--color_template) !important;
}

body { 
  color: #333; 
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  overflow-x: hidden;
  margin: 0px;
  padding: 0px; 
  width: 100%;
  height: 100%; 
  position: relative;   

}
h1{
line-height: 1em;
}
figure {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}



.popup {
  position: relative;
  background: #FFF;
  padding: 0px;
  width: auto;
  max-width: 700px;
  margin: 20px auto;
  box-sizing: border-box;
}

.white-popup {
position: relative;
background: #FFF;
padding: 0px;
width: auto;
max-width: 700px;
margin: 20px auto;
box-sizing: border-box;
}

a {
  text-decoration: none;
  color: #22A0D0;
  transition: all 0.3s;
}
a:hover {
  color: #333;
}
a.active {
  /*color: #A47A32;*/
}



/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

a.button, input.button, button.button {
  background-color: #f8b332;
  color: #fff !important;
  padding: 15px 15px !important;
  text-align: center !important;
  width: 100%;
  display: inline-block;
  border: 0px;
  box-sizing: border-box;
}


input[type=number].default,input[type=date].default,input[type=text].default, select.default{
width: 100%;
height: 46px;
line-height: 22px;
border: 4px solid #f8b332;
padding: 0 15px;
font-weight: normal;
font-size: 14px;
background-color: #ffffff;
-webkit-appearance: none;
-moz-appearance: none;
text-indent: 1px;
text-overflow: '';
box-sizing: border-box;
}
label.required{
color: #000000;
font-size: 10px;
letter-spacing: 1px;
font-weight: normal;
text-transform: uppercase;
padding: 0 0 15px 0;
margin: 0;
display: inline-block;
}
input[type=number].default_grey, input[type=password].default_grey, input[type=email].default_grey, input[type=text].default_grey, select.default_grey {
    width: 100%;
    background-color: #F5F5F5;
    border: 1px solid #F5F5F5;
    height: 45px;
    line-height: normal;
    display: inline-block;
    color: #000;
    box-sizing: border-box;
    font-size: 13px;
    font-weight: normal;
    padding: 10px 15px;

}

textarea.default_grey{

    width: 100%;
    background-color: #F5F5F5;
    border: 1px solid #F5F5F5;
    min-height: 145px;
    line-height: normal;
    display: inline-block;
    color: #000;
    box-sizing: border-box;
    font-size: 13px;
    font-weight: normal;
    padding: 10px 15px;
}

.input_search {
border-radius: 10px;
background-image: url(../img/search.svg);
background-repeat: no-repeat;
background-position: left 15px center;
background-size: 18px 18px;
padding-left: 45px !important;


}

input.input_search:focus{
    outline: none;
}

.css-checkbox + label {
  display: block;
  margin: 0.2em;
  cursor: pointer;
  padding: 0.2em;
}

.css-checkbox {
  opacity: 0;
}

.css-checkbox + label:before {
  content: "\2713";
  border: 2px solid #999;
  border-radius: 3px;
  display: inline-block;
  width: 20px;
  height: 20px;
  padding-left: 4px;
  margin-right: 10px;
  vertical-align: bottom;
  color: transparent;
  transition: .2s;
  box-sizing: border-box;
  font-size: 12px;
  font-weight: 600;  
}

.css-checkbox + label:active:before {
  transform: scale(0);
}

.css-checkbox:checked + label:before {
  background-color: var(--color_template);
  border-color: var(--color_template);
  color: #fff;
}

.css-checkbox:disabled + label:before {
  transform: scale(1);
  border-color: #aaa;
}

.css-checkbox:checked:disabled + label:before {
  transform: scale(1);
  background-color: var(--color_template_2);
  border-color: var(--color_template_2);
}



.scrollup{
    position: fixed;
    display: none;
    width: 60px;
    height: 60px;
    bottom: 10px;

    left: 50%;
    transform: translateX(-50%);

    background-image: url(../img/scrollup.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-color: var(--color_template);
    border-radius: 100%;
    cursor: pointer;
    z-index: 2;
}
#cookieChoiceInfo a {
color: #fff !important;
margin-top: 10px !important;
}

/*a.simple-menu{
display: block;
padding: 19px;
box-sizing: border-box;
}*/

#sidr, #carrello_laterale, #pagine_laterale{
display: none;
}
#carrello_laterale.sidr{
width: 95%;
background-color: #fff;
padding: 20px ;
box-sizing: border-box;
}

#pagine_laterale.sidr{
width: 95%;
background-color: #fff;
padding: 20px ;
box-sizing: border-box;

}


#layer_sidr, #layer_sidr_carrello, #layer_search, #layer_sidr_pagine{
position: fixed;
display: none;
width: 100%;
height: 100%;
background-image: url(../img/bg_layer_slide.png);
top: 0px;
left: 0px;
right: 0px;
bottom: 0px;
z-index: 9;
}

#layer_search{
background-image: none;
background-color: rgba(0,0,0,0.8);
} 




.carrello_laterale_item{
display: inline-block;
width: 100%;
margin-bottom: 20px;
padding-bottom: 20px;
border-bottom: 1px solid #EFEFEF;
}
.carrello_laterale_item_img{
display: inline-block;
width: 65px;
vertical-align: middle;
}
.carrello_laterale_item_text{
font-size: 10px;
display: inline-block;
width: calc(100% - 70px);
padding: 0px 25px;
vertical-align: middle;
line-height: 1.3em;
box-sizing: border-box;
}
.carrello_laterale_item_text strong{
font-weight: 500;
font-size: 13px;
}

.carrello_laterale_totals{
text-align: left;
font-size: 16px !important;
display: inline-block;
width: 100%;
margin-bottom: 5px;

}
.carrello_laterale_totals span{
float: right;
font-weight: 700;
font-size: 18px;
}

.carrello_laterale_totals span b{
font-size: 12px;
}

.carrello_laterale_modifica{
font-size: 10px;
letter-spacing: 1px;
text-transform: uppercase;
}
.carrello_laterale_elimina{
font-size: 10px;
letter-spacing: 1px;
text-transform: uppercase;
}

.carrello_laterale_price{
font-weight: 700;
font-size: 12px;
}
.carrello_laterale_price strong{
font-weight: 700;
font-size: 18px;
}

#carrello_laterale_top{
position: absolute;
top: 20px;
height: calc(100% - 300px);
bottom: 0px;
width: calc(100% - 20px);
overflow: auto;
padding-right: 20px;
box-sizing: border-box;
}
#carrello_laterale_top p.title{
font-size: 20px;
}

p.title {
  font-size: 30px;
  text-align: left;
  line-height: 35px;
  color: #4A4A4A;
}

a.profile_item {
display: inline-block;
width: 100%;
margin: 1% 0%;
background-color: #F5F5F5;
border: 1px solid  #F5F5F5;
color: #333;
padding: 30px ;
box-sizing: border-box;
font-size: 17px;
}
a.profile_item p.title{
text-align: left;
padding-top: 0px;

margin-top: 0px;
margin-bottom: 15px;
} 
a.profile_item:hover {
background-color: #fff;
}


.subtitle{
clear: both;
padding: 16px 0;
font-size: 10px !important;
color: #000;
letter-spacing: 1px;
line-height: 10px;
border-top: 1px solid #EFEFEF;
border-bottom: 1px solid #EFEFEF;
text-align: center;
text-transform: uppercase;
}


#carrello_laterale_bottom{
position: absolute;
bottom: 10px;
width: calc(100% - 40px);
height: 240px;


}

.flex{
position: relative;
}

.flex_order_reverse{
flex-direction: row-reverse;

}

.flex_center{
 align-items: center;
justify-content: center;
} 


#header{
top: 0px;
width: 100%;
z-index: 4;
box-sizing:border-box;
transition: all 0.3s;
position: sticky;
}
#header_top{
background-color: #fff;
position: relative;
padding: 20px 0px ;
}


#box_search{
display: none;
position: absolute;
top: 0px;
bottom: 0px;
left: 0px;
right: 0px;
width: 100%;
height: 100%;
background-color: #fff;
z-index: 99;
border-bottom: 1px solid #F5F5F5;


/*transition-property: all;
transition-duration: .3s;
transition-timing-function: ease;*/

}
#box_search input{
border: 0px ;


position: absolute;
top: 50%;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
}

.position_search_close{
position: absolute;
top: 50%;
-ms-transform: translateY(-50%);
transform: translateY(-50%);
font-size: 24px;
right: 15px;
}


#header_bottom{
background-color: var(--color_template_2);
position: relative;
padding-bottom: 0px;
}



.open_menu_mobile img{
width: 28px;
}


a.menu_prodotti_header_item{
padding: 10px 0px 0px 0px;

width: 100%;
text-align: center;
border-bottom: 3px solid #fff;
}
a.menu_prodotti_header_item img{
width: 100%;
opacity: 0.8;
transition: all 0.3s;
}

a.menu_prodotti_header_item:hover img, a.menu_prodotti_header_item.active img{
opacity: 1;
}

a.menu_prodotti_header_item.active{
border-bottom: 3px solid var(--color_template);
opacity: 1;
}


 

#logo{
display: none;
}
#logo_mobile{
text-align: center;
}
#logo_mobile img{
width: 100%;
max-width: 125px;
transition: all 0.3s;
}
#menu_desktop{
 display: none;
}



a.open_sottomenu_mobile{
display: inline-block;
width: 100%;
box-sizing: border-box;
font-size: 14px;
padding: 15px ;
text-transform: uppercase;
background-image: url(../img/right.svg);
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 24px 24px;
color: #333;
}

a.open_voci_menu_mobile{
display: inline-block;
width: 100%;
box-sizing: border-box;
font-size: 14px;
padding: 15px ;
text-transform: uppercase;
background-repeat: no-repeat;
background-position: right 10px center;
background-size: 24px 24px;
font-weight: bold;
color: #2AA9DC;
}

a.back_mobile{
background-image: none;
}

#menu_mobile_ajax u a{
color: #333;
font-size: 13px;
}


a.link_mobile{
display: inline-block;
width: 100%;
box-sizing: border-box;
font-size: 14px;
padding: 15px ;
text-transform: uppercase;
color: #333;
}


#sidr a.sublink{
background-color: #FAFAFA; text-transform: none; letter-spacing: normal;
font-size: 14px;
}

a.menu_mobile_back{
background-color: #FAFAFA;
background-image: url(../img/icon_back_menu_mobile.png);
background-position: left 25px center !important;
text-align: center;
}


.div_15{
width: 100%;
}
.div_20{
width: 100%;
}
.div_70{
width: 100%;
}

.div_25{
/*width: calc(25% - 25px);*/
width: 100%;
}
.div_33{
/*width: calc(33% - 25px);*/
width: 100%;
}

.div_40{
/*width: calc(33% - 25px);*/
width: 100%;
}
.div_50{
/*width: calc(50% - 25px);*/
width: 100%;
}
.div_60{
/*width: calc(66% - 25px);*/
width: 100%;
}

.div_66{
/*width: calc(66% - 25px);*/
width: 100%;
}
.div_75 {
/*width: calc(75% - 25px);*/
width: 100%;
}
.div_100 {
/*width: calc(75% - 25px);*/
width: 100%;
}

.padding{
padding: 20px ;
box-sizing: border-box;
}
.padding_page{
padding: 20px ;
box-sizing: border-box;
line-height: 1.6em;
}

.div_rounded{
background: #f3f3f3;
border-radius: 50%;
width: 151px;
height: 151px;
padding-top: 30px;
box-sizing: border-box;
margin: 0 auto;
text-align: center;
position: relative;
margin-bottom: 75px;
}
.div_rounded img{
/*width: 100%;*/
}
.div_rounded span{
 position: absolute;
 left: 50%;
 margin-left: -50%;
 top: 75%;
 font-size: 16px;
 font-family: 'Playfair Display', serif;
 width: 100%;
 text-align: center;
}

/*----------------------------*/


.container_1800{
margin: 0px auto;
/*padding: 0px 15px;
box-sizing: border-box;*/
}
.container_1540{
padding: 0px 15px;
box-sizing: border-box;
margin: 0px auto;
}

.container_1440{
padding: 0px 15px;
box-sizing: border-box;
margin: 0px auto;
}
.container_1200{
padding: 0px 15px;
box-sizing: border-box;
margin: 0px auto;
}
.container_780{
padding: 0px 15px;
box-sizing: border-box;
margin: 0px auto;
}


.swiper {
width: 100%;
height: 100%;
}

.swiper-slide {
text-align: center;
font-size: 18px;
background: #fff;

/* Center slide text vertically */
display: -webkit-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
-webkit-justify-content: center;
justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
}

.swiper-slide img {
width: 100%;
/*display: block;
height: 100%;
object-fit: cover;*/
}



/*--- Previous & Next Buttons ---*/
.swiper-button-next, .swiper-button-prev {
background-color: #fff;
padding: 10px ;
border-radius: 100%;
width: 19px;
height: 19px;
opacity: 0.2;
transition: 0.3s;
}
.swiper-button-next::after, .swiper-button-prev::after{
font-size: 0px !important;
}
.swiper-button-prev{
background-image: url(../img/slide_left.svg);
}
.swiper-button-next{
background-image: url(../img/slide_right.svg);
}

.swiper-button-prev:hover, .swiper-button-next:hover {
opacity: 1;
}

/*--- Pagination Bullets ---*/

/*.swiper-pagination-bullets {
bottom: 18px !important;
}

.swiper-pagination-bullet {
width: 10px !important;
height: 10px !important;
border: 2px solid #fff;
border-radius: 50% !important;
background-color: transparent !important;
opacity: 1 !important;
}

.swiper-pagination-bullet-active {
background-color: #fff !important;
}*/

/*--- Progress Bar ---*/

.carousel-progress {
position: relative;
width: 100%;
height: 4px;
margin-top: -4px;
background-color: #f5f5f5;
z-index: 1 !important;
}

.progress {
position: absolute;
height: 4px;
background-color: #f8b231;
  animation-name: progress;
  animation-duration: 3.5s;
  animation-timing-function: linear;
  animation-iteration-count: 1;
}

@keyframes progress {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

a.link_menu, a.item_sottomenu_categoria, a.item_sottomenu_sottocategoria{
text-transform: lowercase;
}

a.link_menu::first-letter, a.item_sottomenu_categoria::first-letter, a.item_sottomenu_sottocategoria::first-letter{
text-transform: uppercase;
}

#menu_profilo{
text-align: right;
}

#menu_profilo a, #menu_profilo span {
display: inline-block;
position: relative;
transition: transform .8s;
vertical-align: top;
color: #1e292d;
text-align: center;
font-size: 11px;
line-height: 1.5em;
margin: 0px 5px;
}
#menu_profilo a img, #menu_profilo span img{
width: 28px;
}
#menu_profilo a:hover img,  #menu_profilo span:hover img{
transform: scale(1.1);

}


#menu_profilo span.icon_profilo #box_account{
  text-align: left;
  position: absolute;
  top: -20px;
  width: 300px;
  margin-left: -275px;
  z-index: 9;
  display: none;
  opacity: 0;
  visibility: hidden;
  -webkit-transition: all 1.2s;
  -moz-transition: all 1.2s;
  -ms-transition: all 1.2s;
  -o-transition: all 1.2s;
  transition: all 1.2s; 
  color: #333;
  background-color: #fff;

  line-height: 1.5em;
  border: 1px solid #ccc;

  box-sizing: border-box;
  box-shadow: 0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12);    
  
}

#menu_profilo span.icon_profilo:hover #box_account {
  display: inline-block;
  opacity: 1;
  visibility: visible;
}


#box_account .item{
padding:  15px;
border-bottom: 1px solid #e0e0e0;
}

#box_account .item a{
color: #333;
font-size: 15px;
display: inline-block;
width: 100%;
padding: 5px 0px ;
text-align: left;
margin: 0px;
}
#box_account .item a:hover{
color: var(--color_template);
}

.icon_carrello{
position: absolute;
background-color: #2aa9dc;
color: #fff;
width: 22px;
height: 22px;
line-height: 22px;
border-radius: 100%;
text-align: center;
font-size: 11px;
top: -12px;
right: 0px;
}



#menu_page{
text-align: right;

}
#menu_page a {
font-size: 15px;
padding: 10px 25px;
display: inline-block;
color: #fff;
transition: transform .8s;
background-color: #22A0D0;
margin: 0px -2px;

}
#menu_page a img{
width: 16px;
margin-right: 3px;
vertical-align: middle;
}

#menu_page a:hover{
background-color: var(--color_template);
}
#menu_page a:hover img{
transform: scale(1.1);
}

.title_rounded{
display: inline-block;
width: 100%;
text-align: center;
color: #fff;
font-size: 23px;
font-weight: 700;
padding: 7px ;
box-sizing: border-box;
background-color: #f8b332;
border-radius: 5px;
margin-bottom: 10px;
}

.padding_20{
padding: 10px 0px;
box-sizing: border-box;
}

.margin_30{
margin-top: 30px;
margin-bottom: 30px;
}



.item_prodotto{

box-shadow: 0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);
border-radius: 8px;
padding: 15px ;
box-sizing: border-box;
width: 100%;
display: inline-block;
margin-right: 2px;
position: relative;
}
.item_prodotto a {
color: #333;
}

.item_prodotto:hover{

box-shadow: 0 4px 5px -2px rgba(0,0,0,.2), 0 7px 10px 1px rgba(0,0,0,.14), 0 2px 16px 1px rgba(0,0,0,.12)
}




.swiper-slide .item_prodotto{
box-shadow:  none;
border: 1px solid #c5c5c5;
}

.swiper-slide .item_prodotto:hover{
box-shadow:  none;
border: 1px solid #999;

}
.item_prodotto_preferiti{
position: absolute;
right: 10px;
top: 10px;
background-color: #efefef;
padding: 7px;
border-radius: 4px;
width: 34px;
height: 34px;
box-sizing: border-box;
background-image: url(../img/wish.svg);
background-repeat: no-repeat;
background-size: contain;
background-origin: content-box;
}
.item_prodotto_preferiti.active, .item_prodotto_preferiti:hover{
background-image: url(../img/wish_active.svg);
}


/* Badge sconto a pillola (stile unificato, colore #CB321E) */
.item_prodotto_sconto,
.item_prodotto_promo{
position: absolute;
left: 10px;
top: 10px;
z-index: 2;
background-color: #CB321E;
padding: 5px 10px;
border-radius: 999px;
line-height: 1;
box-sizing: border-box;
font-size: 12px;
font-weight: bold;
letter-spacing: 0.3px;
text-transform: uppercase;
white-space: nowrap;
color: #fff;
text-align: center;
}
.item_prodotto_promo span{
font-size: 11px;
vertical-align: baseline;
}


.item_prodotto_carrello{
position: absolute;
right: 10px;
bottom: 25px;
background-color: #f8b332;
padding: 7px;
border-radius: 4px;
width: 34px;
height: 34px;
box-sizing: border-box;
}
.item_prodotto_carrello img{
width: 100%;
}
.item_prodotto_carrello:hover{
cursor: pointer;
}


.item_prodotto_img img {
  width: 100%;
  max-height: 200px;
  object-fit: contain;
}

.item_prodotto_code{
font-size: 10px;
text-align: left;
width: 100%;
display: inline-block;
height: 25px;
/*background-color: green;*/
}

.item_prodotto_name{
min-height: 75px;
/*background-color: red;*/
font-size: 13px;
text-align: left;
width: 100%;
display: inline-block;
}

.item_prodotto_price{
min-height: 40px;
font-size: 14px;
text-align: left;
width: 100%;
display: inline-block;
color: #333333;
}
.item_prodotto_price s{
color: #999;
font-size: 14px;
}

.item_prodotto_price strong{
font-weight: 700;
font-size: 20px;
}

.item_prodotto_risparmio{
position: absolute;
right: 10px;
bottom: 10px;
display: block;
font-size: 11px;
color: #999;
font-weight: 700;
text-align: right
}

#box_newsletter{
display: inline-block;
width: 100%;
background-color: #127098;
text-align: center;
padding: 20px ;
box-sizing: border-box;
color: var(--color_template);
font-size: 18px;
/* border-bottom: 3px solid  var(--color_template_3);*/
}
#box_newsletter a{
color: #fff;
}

#footer{
background-color: #1378a1;
display: inline-block;
width: 100%;
padding: 40px 0px;
box-sizing: border-box;
}
.item_footer{
text-align: center;
color: #333;
font-size: 18px;
line-height: 1.5em;
padding: 0px 10px ;
box-sizing: border-box;
}
.item_footer img{
width: 90px;
}

.item_footer span{
font-size: 18px;
color: #1378a1;
display: inline-block;
width: 100%;
margin-top: 10px;

}
#menu_footer{
text-align: center;
}

#menu_footer span{
font-size: 18px;
color: #f8b12d;
display: inline-block;
width: 100%;
margin-bottom: 10px;
}
#menu_footer a {
display: inline-block;
width: 100%;
color: #FFF;
padding: 7px 0px;
font-size: 12px;
}
#menu_footer a:hover {
text-decoration: underline;
}


#box_social{
text-align: center;
color: #f8b12d;
font-size: 20px;
}
#logo_footer{
text-align: center;
}


#box_social span, #box_social a{
display: inline-block;
vertical-align: middle;
margin-right: 10px;

}
a.social img{
width: 50px;
height: 50px;
}

#bread{
display: inline-block;
width: 100%;
padding: 20px 0px ;
border-bottom: 2px solid #e0e0e0

}
#bread a{
color: #333;
margin-right: 5px;
/*border-bottom: 2px solid #fff ;*/
}

#bread a:hover{
/*border-bottom: 2px solid red ;*/
}

#bread a::after{
content: " > ";
display: inline-block;
margin-left: 8px;
}

#bread a.active{
font-weight: bold;
}
#bread a.active::after{
content: "   ";
}

.grid_prodotto{
width: calc(50% - 12px);
display: inline-block;
margin: 5px;
vertical-align: top;
}
.grid_prodotto a{
display: block;
}

#box_thumb{
float: left;
width: 100%;
box-sizing: border-box;
text-align: center;
background-color: #eee;
}
#box_thumb div{
display: none;
}
#box_thumb div.thumb_video{
display: inline-block;
}

.thumb div a img{
margin-bottom: 15px;
margin-top: 15px;
} 
#box_immagine_prodotto{
float: left;
/*width: calc(100% - 70px);*/
width: 100%;
box-sizing: border-box;
padding: 0px ;

}
#box_immagine_prodotto .swiper-slide a img{
/*border-top-left-radius: 10px;
border-top-right-radius: 10px;*/
}

#ajax_carrello{
width: 100% !important;
border-radius: 5px;
font-weight: 500;
padding: 13px 0px !important;

}

#dettaglio_effettua_login {
width: 100% !important;
border-radius: 5px;
font-weight: 500;
padding: 13px 0px !important;
background-color: red;
display: block;
}


.item_border{
margin-top:25px; 
border:1px solid #EAE7E4; 
box-sizing:border-box; 
border-radius: 5px; 
text-align: left; 
padding: 14px ;
display: flex;
align-items:center;
background-image: url(../img/arrow_right.svg);
background-position: right 15px center;
background-repeat: no-repeat;
background-size: 16px 16px;
color: #333;
}

.item_border div:first-child{
width: 10%;
padding: 0px 10px ;
}
.item_border div:last-child{
width: 90%;
}

.ajax_laterale:hover{
cursor: pointer;
background-color: #EAE7E4;
}

#pagine_laterale p{
padding-left: 0px;
padding-right: 0px;
margin-left: 0px;
margin-right: 0px;
font-size: 14px;
color: #333;
line-height: 1.5em;
}

#pagine_laterale p.title{
font-size: 18px;
font-weight: 500;
padding-top: 20px;
padding-bottom: 20px;
border-bottom:  1px solid #EAE7E4;

}
#pagine_laterale h3{
font-size: 15px;
}

h3.title_border{
font-size: 24px;
font-weight: 500;
padding: 16px 0px;
border-bottom: 1px solid #e0e0e0;
margin-bottom: 15px;
color: #f8b332;
}

h1.title_border{
font-weight: 500;
font-size: 28px;
padding: 16px 0px;
border-bottom: 1px solid #e0e0e0;
margin-bottom: 15px;
color: #f8b332;
}

a.product_tab_item {
padding: 12px 20px;
border-bottom:  2px solid var(--color_template);
font-size: 14px;
font-weight: bold;
display: inline-block;
}

#product_tab{
display: inline-block;
width: 100%;
background-color: #f0f0f0;
padding: 40px 0px ;
line-height: 1.5em;
}

#header_marchi{
display: inline-block;
width: 100%;
position: relative;
}

#logo_marchi{
width: 150px;
height: 150px;
border-radius: 100%;
border: 2px solid #333 ;
position: absolute;
right: 0px;
top: 0px;
}

#logo_marchi img{
width: 100%;
}


#menu_marchi{
border-radius: 5px;
background-color: #f4f4f4;
text-align: center;

}

#menu_marchi a{
padding: 15px 20px ;
font-size: 14px;
text-transform: uppercase;
font-weight: 500;
display: inline-block;
color: #333;
margin-right: -3px;
}
#menu_marchi a:hover, #menu_marchi a.active{
background-color: #ddd;
color: var(--color_template);
}

a.marche_lettera{
 display: inline-block;
 width: 19%;
 padding: 10px;
 box-sizing: border-box;
 
 border-radius: 5px;
 text-align: center;
 font-size: 16px;
 margin-bottom: 10px;
}

a.marche_lettera:hover, a.marche_lettera.active{
background-color: #e5e5e5;
}


.item_filtro{
display: inline-block;
width: 100%;
padding: 15px 15px 30px 15px;
box-sizing: border-box;
margin-bottom: 35px;
box-shadow: 0 2px 1px -1px rgba(0,0,0,.2),0 1px 1px 0 rgba(0,0,0,.14),0 1px 3px 0 rgba(0,0,0,.12);
border-radius: 8px;
background-color: #f8f8f8;

}

.item_filtro h3{
margin-top: 0px;
}
.item_filtro label{
margin-top: -5px;
margin-bottom: -5px;

}

.menu_page a {
  display: block;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #666;
  font-size: 20px;
}
.menu_page a:hover, .menu_page a.active {
color: #22A0D0;
}
.page_text{
  font-size: 17px;
  line-height: 1.5em;  
  padding: 0px 20px ;
  box-sizing: border-box;
}


.box_white{
background-color: #fff;
margin-top: 25px;
margin-right: 2%;
padding: 30px ;
box-sizing: border-box;

}
.box_white:last-child{
margin-right: 0%;

}

.box_carrello{
 display: flex;
 border-bottom: 1px solid #EFEFEF ;
 background-color:#fff;
 width: 100%;
 box-sizing: border-box;

 font-size: 13px;
 color: #333;
}

.box_carrello div{
 width: 50%;
 vertical-align: middle;
 padding: 10px ;
 box-sizing: border-box;
}
.carrello_box_div_desktop{
display: none;
}
.carrello_box_div_mobile{
width: 100% !important;
text-align: left;
font-size: 12px !important;
}
#quantita_carrello_form{
text-align: left;
padding: 0px 10px ;
}
#quantita_carrello{
width:50px; 
text-align:center;
height: 30px;
}


#checkout_dx{
background-color: #fff;
padding: 20px ;
box-sizing: border-box;
}
#checkout_sx .step{
display: inline-block;
width: 100%;
margin-bottom: 10px;
background-color: #fff;
padding: 15px;
box-sizing: border-box;
}
#checkout_sx .step p.title{
font-size: 22px;

text-align: center;
margin: 5px 0px;
}

.checkout_metodo_sx{
border-bottom: 1px solid #cbcbcb;
padding-bottom: 20px;
}


.step_box{
display: inline-block;
width: 100%;
border-top:  1px solid #cbcbcb;
margin-top: 15px;
padding-top: 15px;
padding-bottom: 30px;

}

h4{

font-size: 18px;
font-weight: normal;
color: #666;

}
.step_box_input{
/*width: calc(50% - 25px);*/
display: inline-block;
width: 100%;
margin-bottom: 10px;
vertical-align: top;
}
.step_box_input label{
font-size: 11px;
display: inline-block;
width: 100%;
margin-bottom: 5px;
text-transform: uppercase;
}
#checkout_totals{
margin-top: 10px;
clear: both;
padding: 16px 0;
font-size: 14px;
color: #666;
letter-spacing: 1px;
line-height: 1.6em;
border-top: 1px solid #EFEFEF;
border-bottom: 1px solid #EFEFEF;
text-align: left;

}

 .item_indirizzo{
 display: inline-block;
 width: 100%;
 margin-bottom: 15px;
 border: 1px solid #ddd ;
 /*border-radius: 5px;*/
 padding: 15px ;
 box-sizing: border-box;
 font-size: 13px;
 /*box-shadow: 0 2px 1px 0 rgba(0,0,0,.16);*/
 min-height: 190px;
 vertical-align: top;
 }
.item_indirizzo.active {
 /*background-color: #ddd;*/
 border: 1px solid #000 ;
 background-image: url(../img/icon_prev_black.png);
 background-position: right 20px center;
 background-repeat: no-repeat;
}  

table.border{
  width: 100%;
}
table.border tr td {
  padding-top: 9px;
  padding-bottom: 9px;
}
table.border tr td {
border-bottom: 1px solid #EFEFEF;
}

table#ordini{
background-color: #fff;
}
table:not(#ordini){
max-width: 600px;
margin-right: auto;
margin-left: 0px;
} 

/*table:not(#ordini) tr td{
font-size: 11px;

padding-top: 5px;
padding-bottom: 5px;
}*/

table#ordini tr td {
border-top: 1px solid #EFEFEF;
padding-top: 10px;
padding-bottom: 9px;
padding-left: 10px;
padding-right: 10px;

}
table#ordini tr:first-child td{
border-top: 0px solid #EFEFEF;
border-bottom: 1px solid #EFEFEF;
}

table#ordini tr:last-child td {
border-top: 1px solid #EFEFEF;
border-bottom: 1px solid #EFEFEF;

}


table#ordini tr.no_border td {
border-top: 0px !important;
}


.grid_wishlist{
width: calc(50% - 40px);
display: inline-block;
margin: 20px;
vertical-align: top;
}



#box_filtri {
display: none;
}

#filtri_order_desktop{
display: none;
}

#filtri_mobile_header {
display:flex; align-items: center; justify-content: center;
background-color: #f0f0f0;
color: var(--color_template);
}

#filtri_mobile_header a{
text-align: center;
display: inline-block;
width: 100%;
color: var(--color_template);
font-size: 15px;
padding: 15px ;
text-transform: uppercase;
font-weight: 500;
box-sizing: border-box;
}
#filtri_mobile_header a:hover, #filtri_mobile_header a.active{
background-color: #e0e0e0;
}

#filtri_mobile_header i{
margin-right: 5px;
}

/*#filtri_order_mobile{
display: none;
}*/

#filtri_order_mobile label{
display: inline-block;
width: 100%;
font-size: 15px;
padding: 7px 0px ;
}

#immagine_base{
width: 398px;
height: 398px;
margin: 0px auto;
border: 1px solid #000 ;
background-repeat: no-repeat;
background-position: center center;
position: relative;
font-size: 20px;
}

.area_etichetta{
position: absolute;
background-color: #efefef0a;
border: 1px solid black;
font-size: 100%;
text-align: center;
}

.fit {
    display: inline-block;
    white-space: nowrap;
}
.js .fit {
    display: inline-block;
    white-space: nowrap;
}
.item_colore{
display: block;
width: 36px;
height: 36px;
border-radius: 5px;
padding: 2px ;
border: 2px solid #efefef;
display: inline-block;
}
.item_colore.active{
border: 2px solid red;
}

#box_prodotto{
background-color: #F8F8F8;
padding: 20px ;
box-sizing: border-box;
width: calc(100% + 40px);
display: inline-block;
margin-left: -20px;
}

#swiper_offerte .swiper-slide, #swiper_venduti .swiper-slide, #swiper_banner .swiper-slide, .swiper_carousel .swiper-slide  {
width: 60%;
position: relative;
}

.grid_categoria{
width: calc(50% - 40px);
display: inline-block;
margin: 20px;
vertical-align: top;
border: 1px solid #ccc ;
box-sizing: border-box;
position: relative;
}
.grid_categoria a{
display: block;
}

.grid_categoria img{
display: block;
width: 100%;
}
.grid_categoria p{
padding: 0px 15px;
box-sizing: border-box;
}
.link_cookie{
position: fixed;
z-index: 9;
display: none;
width: 60px;
height: 60px;
bottom: 20px;
left: 20px;
background-image: url(../img/cookie.svg);
background-repeat: no-repeat;
background-position: center center;
background-color: #f8b332;
border-radius: 100%;
cursor: pointer;
display: block;
}

.whatsappButton{
    position: fixed;
    z-index: 9;
    width: 60px;
    height: 60px;
    bottom: 20px;
    right: 20px;

    background-image: url(../img/whatsap.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #1DAA61;
    border-radius: 100%;
    cursor: pointer;
}

#top_info{
padding: 10px ;
display: inline-block;
width: 100%;
color: #fff;
text-align: center;
font-weight: bold;
background-color: #f8b332;
box-sizing: border-box;
}
#top_info span{
font-size: 16px !important;
}

.table-container {
  width: 100%;
  overflow-x: auto;
}

.promo-table {
  width: 100%;
  border-collapse: collapse;

}

.promo-header {
  background-color: #f2f2f2;
  border: 1px solid #ddd;
  padding: 12px;
  text-align: left;
}

.promo-row {
}

.promo-cell {
  border: 1px solid #ddd;
  padding: 12px;
}

@media (max-width: 600px) {
  .promo-cell, .promo-header {
    padding: 8px;
  }
}


/* Layer ghost sotto la maschera: mostra fuori area con opacità */
.ghost-layer {
position: absolute;
z-index: 1; /* sotto la maschera */
/* ghost interattivo: NON disabilitare pointer-events */
}

/* Maschera 200x200 sopra: ritaglia l’area stampabile */
.maschera {
position: absolute;
overflow: hidden;
border: 2px solid #0a84ff;
/*box-shadow: 0 0 0 2000px rgba(0,0,0,0.15) inset;*/
background: #fff;
z-index: 2;
}

/* Wrapper immagine (principale dentro maschera) e ghost */
.img-wrapper, .img-wrapper-ghost {
position: absolute; top: 0; left: 0;
/* width/height impostati da JS */
}

.img-wrapper img, .img-wrapper-ghost img {
width: 100%; height: 100%;
display: block;
-webkit-user-drag: none;
user-select: none;
pointer-events: none; /* interazioni su wrapper, non sull’immagine */

}
.img-wrapper-ghost img {
opacity: 0;
}
/* Il ghost è attenuato, regolabile a piacere */
.img-wrapper-ghost { opacity: 1; }

/* Rendere evidenti gli handle di resize anche fuori maschera (jQuery UI fornisce base, qui aumentiamo visibilità) */
.ui-resizable-handle {
background: rgba(10,132,255,0.8);
border: 1px solid #fff;
width: 10px; height: 10px;
box-sizing: border-box;
}
.ui-resizable-n, .ui-resizable-s { width: 100%; height: 8px; left: 0; }
.ui-resizable-e, .ui-resizable-w { height: 100%; width: 8px; top: 0; }
.ui-resizable-ne, .ui-resizable-se, .ui-resizable-sw, .ui-resizable-nw { width: 12px; height: 12px; }

.pannello {
padding: 12px; background: #fff;
}
.controls {
margin-top: 8px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}

.uploader { display:flex; align-items:center; gap:12px; margin-top:10px}
.link-btn { border:1px solid #ccc; border-radius:8px; padding:10px 14px; background:#fff; cursor:pointer; }
.link-btn i{
font-size: 18px;
color: #333;
margin-bottom: 5px;
}

#state-filled { display:flex; align-items:center; gap:12px; }
#state-filled img { width:68px; height:68px; border-radius:6px; object-fit:cover; box-shadow:0 0 0 1px #ddd inset; }



#container_news_list{

}

.item_news{
display: inline-block;
width: 100%;
margin-bottom: 1%;
vertical-align: top;
}

.item_news_img{
display: block;
margin-bottom: 20px;
}

.item_news span{
font-weight: 300;
font-size: 13px;
color: #666;
}
.item_news_title {
color: #333;
font-size: 18px;
font-weight: 600;
display: inline-block;
width: 100%;
margin: 15px 0px;
}
.item_news p{
border-top:  1px solid #F0F0F0;
font-size: 13px;
padding: 15px 0px ;
font-weight: 300;
}
.item_news p img{
vertical-align: middle;
width:16px;
margin-left: 7px;

}
.item_news_sx{
margin-bottom: 25px;
font-size: 16px;
}

.item_news_sx strong{
display: inline-block;
width: 100%;
margin-bottom: 10px;
}

.menu_news a{
display: inline-block;
width: 100%;
border-bottom: 1px solid #f0f0f0 ;
padding: 10px 0px;
}

a.item_tag {
background-color: var(--giallo);
border:  0px solid #f0f0f0;
border-radius: 4px;
font-size: 14px;
padding: 7px 15px ;
display: inline-block;
margin-bottom: 10px;
margin-right: 5px;

}
a.item_tag:hover {
background-color: #f0f0f0;
}

input.input_search{
font-size: 14px;
display: inline-block;
width: 100%;
padding: 10px ;
box-sizing: border-box;
color: #666;
border-top: 0px solid #f0f0f0;
border-left: 0px solid #f0f0f0;
border-right: 0px solid #f0f0f0;

border-bottom: 1px solid #f0f0f0;

border-radius: 0px;
}
.padding_medium {
  padding: 12px;
  box-sizing: border-box;
}
.bg_grey {
  background-color: #F8F8F8;
}

.mobile{
display: block !important; 
}
.tablet{
display: none !important;
}
.desktop{
display: none !important;
}
.mobile_inline{
display: inline-block !important;
}
.desktop_inline{
display: none !important;
}

/* ===== menu_slide (pannello categorie laterale) ===== */
#ms_overlay{position:fixed;inset:0;background:rgba(0,0,0,.45);opacity:0;visibility:hidden;z-index:9998}
body.ms_ready #ms_overlay{transition:opacity .25s ease}
#ms_overlay.open{opacity:1;visibility:visible}
#ms_panel{position:fixed;top:0;left:0;height:100vh;width:420px;max-width:92vw;background:#fff;box-shadow:4px 0 20px rgba(0,0,0,.15);transform:translateX(-100%);z-index:9999;display:flex;flex-direction:column;font-family:inherit}
body.ms_ready #ms_panel{transition:transform .3s ease}
#ms_panel.open{transform:translateX(0)}
#ms_panel .ms_head{display:flex;align-items:center;gap:10px;padding:15px 18px;border-bottom:1px solid #e8e8e8;min-height:60px;box-sizing:border-box}
#ms_panel .ms_head .ms_title{flex:1;font-size:16px;font-weight:600;color:#222}
#ms_panel .ms_head button{background:transparent;border:0;cursor:pointer;font-size:18px;color:#444;padding:6px 10px;line-height:1}
#ms_panel .ms_head button:hover{color:var(--color_template,#F8B332)}
#ms_panel .ms_screens{position:relative;flex:1;overflow:hidden}
#ms_panel .ms_screen{position:absolute;inset:0;overflow-y:auto;-webkit-overflow-scrolling:touch;background:#fff;transition:transform .3s ease}
#ms_panel .ms_screen_cat{transform:translateX(0)}
#ms_panel .ms_screen_cat.shifted{transform:translateX(-100%)}
#ms_panel .ms_screen_sub{transform:translateX(100%);z-index:2}
#ms_panel .ms_screen_sub.open{transform:translateX(0)}
#ms_panel .ms_row{display:flex;align-items:center;gap:12px;padding:14px 18px;border-bottom:1px solid #f0f0f0;color:#222;text-decoration:none;font-size:14px}
#ms_panel .ms_row:hover{background:#fafafa;color:var(--color_template,#F8B332)}
#ms_panel .ms_cat_link{flex:1;display:flex;align-items:center;gap:12px;padding:14px 18px;color:#222;text-decoration:none;font-size:14px}
#ms_panel .ms_cat_link:hover{background:#fafafa;color:var(--color_template,#F8B332)}
#ms_panel .ms_row_cat{padding:0;gap:0}
#ms_panel .ms_icon{width:32px;height:32px;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--color_template,#F8B332);font-size:18px}
#ms_panel .ms_icon img{max-width:100%;max-height:100%;object-fit:contain}
#ms_panel .ms_label{flex:1}
#ms_panel .ms_open_sub{background:transparent;border:0;cursor:pointer;padding:14px 18px;color:#999;font-size:14px;border-left:1px solid #f0f0f0;align-self:stretch}
#ms_panel .ms_open_sub:hover{color:var(--color_template,#F8B332);background:#fafafa}
#ms_panel .ms_sub_all_text{color:#1378a1}
#ms_panel .ms_quick_link{font-weight:600;text-transform:uppercase;font-size:13px;color:#2AA9DC}
#ms_panel .ms_quick_link:hover{color:#2AA9DC}
.ms_trigger{cursor:pointer;background:transparent;border:0;font-family:inherit}
.ms_trigger.ms_trigger_desktop{font-size:15px;padding:10px 15px;display:inline-block;text-align:center;color:#fff;text-transform:uppercase;vertical-align:top}
.ms_trigger.ms_trigger_desktop:hover{background-color:var(--color_template)}
.ms_trigger.ms_trigger_desktop i{margin-right:5px;color:#f8b332}
.ms_trigger.ms_trigger_mobile{display:inline-flex;align-items:center;padding:0;line-height:1;color:inherit}
.ms_trigger.ms_trigger_mobile i{font-size:20px;margin-right:15px;color:var(--color_template_3)}

#menu_desktop .open_menu_interno{display:none !important}

/*--- Slider home dentro il contenitore + zoom che si stringe (2026-09-21) ---*/

.home_slider_box {
margin-top: 15px;
margin-bottom: 15px;
}

.home_slider_box #swiper_home {
border-radius: 16px;
overflow: hidden;
}

.home_slider_box #swiper_home .swiper-slide {
overflow: hidden;
}

.home_slider_box #swiper_home .swiper-slide img {
width: 100%;
transform: scale(1.08);
transition: transform 0s linear 0.5s;
}

.home_slider_box #swiper_home .swiper-slide-active img {
transform: scale(1);
transition: transform 1.5s cubic-bezier(0, 0, 0.3, 1);
}

.home_slider_box .carousel-progress {
margin-top: 8px;
border-radius: 4px;
overflow: hidden;
}

/*--- Banner sotto lo slider home: due per riga su mobile (2026-09-21) ---*/

@media only screen and (max-width: 1023px) {
  .home_banner_box {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 10px;
  }

  .home_banner_box .div_25 {
  width: auto;
  padding: 5px 0px;
  }

  .home_banner_box img {
  display: block;
  }
}

/*--- Meno spazio tra slider home e banner sotto (2026-09-21) ---*/

.home_slider_box {
margin-bottom: 0px;
}

.home_slider_box + .container_1540 {
margin-top: 5px;
}
