h1,h2,h3,h4,h5,h6 {
  color: #23A8E0;
}

body.catalog-category-view h1#page-title-heading {
  margin-bottom: 15px !important;
  }
  
  #amasty-shopby-product-list {
    margin-top: 30px !important;
  }
  
  body.catalog-category-view .column.main {
    /* opacity: 0; */
    transition: 500ms !important;
  }

body {
  font-size: 1.5rem !important;
  line-height: 1.7 !important;
}

.page-layout-2columns-left .column.main h1 {
  text-align: center;
  margin-top: 0;
  color: #686969;
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.header-whatsapp-wrapper {
  height: 100%;
  color: #231F20;
}
.header-whatsapp-wrapper strong {
  font-size: 15px;
  font-weight: bold;
  color: #38B049;
}

.header-spedizione_rapida-wrapper,
.header-ordinaltelefono-wrapper {
  background-position: left top;
  background-repeat: no-repeat;
  padding-left: 53px;
  min-height: 50px;
  font-size: 15.4px;
  line-height: 1;
  color: #606161;
}
.header-spedizione_rapida-wrapper p,
.header-ordinaltelefono-wrapper p {
  margin: 0;
}
.header-spedizione_rapida-wrapper strong,
.header-ordinaltelefono-wrapper strong {
  display: block;
  color: #23A8E0;
}
.header-spedizione_rapida-wrapper {
  background-image: url(../images/spedizione-rapida.png);
}
.header-ordinaltelefono-wrapper {
  background-image: url(../images/ordinaltelefono.png);
}


.minicart-wrapper .action.showcart:before,
.minicart-wrapper .action.showcart.active:before {
  content: "";
  width: 50px;
  height: 50px;
  background-image: url(../images/minicart.svg);
  background-position: center;
  background-size: 29px;
  background-repeat: no-repeat;
}

.minicart-wrapper .action.showcart .counter.qty {
    bottom: 22px;
}

#mini-cart .update-cart-item {
  display: none!important;
} 

.header-ordinaltelefono-wrapper a {
    color: #22a8e0;
}



.swiper-slide {
  height: auto!important;
}
.slider-wrapper-row.row.no-gutters,
.newsletter_e_banner-row,
.promo_in_corso_row.row.no-gutters {
  margin-left:-15px;
  margin-right:-15px;
  margin-bottom: 10px;
}
.slider-wrapper-col-left,
.promo_in_corso_left {
  max-width: calc(69.5% - 2px - 0.5rem);
  /* background: green; */
}
.slider-wrapper-col-right,
.promo_in_corso_right {
  /* background: red; */
  max-width: calc(30.5% + 2px + 0.5rem);
}
.slider-wrapper-row .swiper-home-full {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}
.slider-wrapper-row .slide-HP {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.slider-wrapper-row .collegamento img {
  opacity: 0;
  width: 100%;
}

.swiper-container.laterale .swiper-wrapper {
  height: 0;
  padding-bottom: 76.3%;
  background: green;
}
.swiper-container.laterale .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;
}


.newsletter-home {
  background: orange;
  width: 100%;
  height: 100%;
  padding: 22px;
  color: #000;
}
.newsletter-home .newsletter-home-sconto {
  color: #fff;
  line-height: 1;
  font-weight: 700;
}
.newsletter-home .newsletter-home-sconto .numero {
  font-size: 115px;
  margin-right: -3px;
}
.newsletter-home .newsletter-home-sconto .percentuale {
  font-size: 80px;
  margin-left: -3px;
}
.newsletter-home .newsletter-home-sconto .ricevi {
  font-size: 31px;
  display: block;
  line-height: 24px
}
.newsletter-home .newsletter-home-sconto .iscriviti {
  font-size: 18px;
}
body.cms-index-index .newsletter-home .newsletter-home-sconto .iscriviti.home {
  display: inline-block;
}
body.cms-index-index .newsletter-home .newsletter-home-sconto .iscriviti.pagineinterne {
  display: none;
}
.newsletter_e_banner-row {
  margin-bottom: 35px;
}
.newsletter_e_banner-row .newsletter_e_banner-col-right p {
  margin: 0;
}


body:not(.cms-index-index) .newsletter-home .newsletter-home-sconto .iscriviti.home {
  display: none;
}
body:not(.cms-index-index) .newsletter-home .newsletter-home-sconto .iscriviti.pagineinterne {
  font-size: 24px;
  display: inline-block;
}
body:not(.cms-index-index) .newsletter-home .newsletter-home-sconto .ricevi br {
  display: none;
}
body:not(.cms-index-index) .newsletter-home-wrapper {
  border-left: 1px solid #fff;
}

.hidehome {
  display: none;
}
.showhome {
  display: inline;
}
body:not(.cms-index-index) .hidehome {
  display: inline;
}
body:not(.cms-index-index) .showhome {
  display: none;
}
.block.newsletter .form.subscribe {
  display: flex;
  width: 100%;
  flex-direction: row;
  flex-wrap: wrap;
}
.block.newsletter .field.newsletter {
  width: 100%;
  flex: 0 0 100%;
}
.block.newsletter .field.newsletter .control label {
  width: 100%;
}
.block.newsletter .field.privacy,
.block.newsletter .actions {
  width: 50%;
  margin: 0;
}
.block.newsletter .field.privacy {
  width: 57%;
  font-size: 93%;
  display: flex;
  align-items: center;
  color: #fff;
}
.block.newsletter .field.privacy a {
  color: #fff;
}
.block.newsletter .field.privacy a:hover {
  color: #000;
}

.block.newsletter .field.privacy .checkbox {
  margin: -4px 4px 0 0;
}
.block.newsletter .actions {
  width: 43%;
}
.block.newsletter .action.subscribe {
  margin: 0;
  float: right;
  border-radius: 5px;
  font-size: 14px;
  font-weight: normal;
  text-transform: none;
  padding: 6px 22px;
  line-height: 1;
}
body:not(.cms-index-index) .block.newsletter {
  width: 90%;
  max-width: 90%;
  margin: 0!important;
  display: block;
  float: right;
}
body:not(.cms-index-index) .block.newsletter .field.newsletter {
  order:1;
  width: calc(100% - 120px);
  flex: 0 0 calc(100% - 120px);
  margin: 0;
}
body:not(.cms-index-index) .block.newsletter .actions {
  order:2;
  width: 110px;
  display: flex;
  align-items: center;
  padding: 0 10px 2px 10px;
}
body:not(.cms-index-index) .block.newsletter .action.subscribe {
  background-color: #859D3C;
  border-color: #859D3C;
  font-size: 15px;
  padding: 10px 35px;
  border-radius: 7px;
}
body:not(.cms-index-index) .block.newsletter .action.subscribe:hover {
  background-color: #1979c3;
  border-color: #1979c3;
}
body:not(.cms-index-index) .block.newsletter .field.privacy {
  order:3;
}



.consiglio_per_te-swiper {
  width: calc(100% + 30px);
  overflow: hidden;
  margin-bottom: -50px;
}
.consiglio_per_te-swiper .product-items {
  margin-top: -20px;
  margin-bottom: 65px;
}



.promo_left {
  background: green;
}
.promo_right {
  background: red;
}
.pre-footer-icons {
  background: #23A8E0;
  color: #fff;
  font-size: 14.5px;
  font-weight: bold;
}




/* Menu Override */
@media only screen and (min-width: 769px) {
  .nav-sections-item-content .navigation .level0 > a.level-top.giallo {
    padding: 0 25px;
    padding-left: 45px;
  }
  .nav-sections-item-content .navigation .level0 > a.level-top.cuore {
    background-image: url(../images/cuore.svg);
    background-size: 26.5px;
    background-position: 11px calc(50% - 1px);
    background-repeat: no-repeat;
  }

  .nav-sections-item-content .navigation > ul > li.level0.level-top .level1 > a,
  .nav-sections-item-content .navigation > ul > li.level0.level-top.menu-with-block.menu-with-block > .submenu > li > .submenu > li > a {
    border-bottom: 1px solid #ccc;
    color: #24a8e0;
    font-size: 110%;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom:6px;
  }
  .nav-sections-item-content .navigation > ul > li.level0.level-top .level1 > a span {
    text-decoration: none;
  }
  .nav-sections-item-content .navigation > ul > li.level0.level-top > .submenu {
    display: none!important;
    padding: 0 10px;
    flex-wrap: wrap;
    left: 0!important;
  }
  .nav-sections-item-content .navigation > ul > li.level0.level-top > .submenu > .level1,
  .nav-sections-item-content .navigation > ul > li.level0.level-top.menu-with-block.menu-with-block > .submenu > li > .submenu > li {
    width: 25%;
    padding: 10px;
  }
  .nav-sections-item-content .navigation > ul > li.level0.level-top.menu-with-block > .submenu > .first {
    width: 75%;
    padding: 0;
  }
  .nav-sections-item-content .navigation > ul > li.level0 .submenu .submenu {
    position: unset!important;
    display: block!important;
    box-shadow: none;
    border:none;
    padding: 0;
  }
  .nav-sections-item-content .navigation > ul > li.level0.level-top:hover > .submenu,
  .nav-sections-item-content .navigation > ul > li.level0.level-top.menu-with-block.menu-with-block > .submenu .submenu {
    display: flex!important;
    width: 100%;
  }
  .nav-sections-item-content .navigation > ul > li.level0.level-top.menu-with-block.menu-with-block > .submenu .submenu {
    padding: 0;
    flex-wrap: wrap;
    left: 0!important;
  }
}


/* LISTING */
.action.primary,
.action.primary:visited {
  text-transform: uppercase;
  background: #E67524;
  border-color: #E67524;
  transition: all 0.3s ease-out;
}
.action.primary:hover,
.action.primary:active {
  outline: none;
  background: #1979c3;
  border-color: #1979c3;
}

.product-items .action.primary,
.product-items .action.primary:visited {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #F8981C;
  border-color: #F8981C;
  border-radius: 3px;
  outline: none;
}
.action.primary.disabled,
.action.primary[disabled],
fieldset[disabled] .action.primary {
    background: #ccc;
    border-color: #ccc;
    width: 100%;
    white-space: nowrap;
}
.label-product.label-sale {
  position: absolute;
  width: 40px;
  height: 40px;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #f98419;
  color: #fff;
  top: 7px;
  right: 7px;
  z-index: 10;
  font-weight: bold;
}
/* Product Overrides */
.product_main_grid .sinistra {
  order: 2;
}
.product_main_grid .centro {
  order: 1;
}
.product_main_grid .destra {
  order: 3;
}
.sidebar-product.destra > div,
.sidebar-product.destra .iconcine-wrapper {
  display: block;
  background: #F9FAFA;
  margin: 0;
}
.sidebar-product.destra > div p {
  margin: 0;
}
#minicart-content-wrapper .per_spedizione_gratuita {
    background: #e02367;
    color: #fff;
    height: auto;
    font-size: 15px !important;
}
.alert_spedizione_gratuita {
  background: #e02367;
  margin-bottom: 15px;
  font-size: 14px;
  text-transform: uppercase;
  color: #fff;
  padding: 16px 50px 13px 15px;
  line-height: 15px;
  background-image: url(../images/clock.png);
  background-size: 32px;
  background-position: calc(100% - 15px) center;
  background-repeat: no-repeat;
  min-height: 40px;
}
.alert_spedizione_gratuita #cart_mancanti_per_spedizione_gratuita_formatted {
  font-size: 24px;
  display: inline-block;
  margin-top: -10px;
}
.spedizione_gratuita_ok {
  display: block;
  color: #fff;
  /* background: #77294a;
  height: 50px;
  padding: 10px 11px; */
  font-size: 14px;
  margin-top: -2px !important;
  border-radius: 10px;
}
.block-minicart .spedizione_gratuita_ok {
  background: none;
  height: auto !important;
  padding: 0 0 15px 0;
  margin: 0;
}

.checkout-index-index .field._required:nth-child(13) {
  background: aliceblue;
  padding: 15px 0 15px 10px;
  margin: 20px 0 20px 0 !important;
  border: 1px solid #c6ced4;
}


.checkout-shipping-method .amcheckout-wrapper {
  padding: 5px 0 !important;
}
.payment-group .amcheckout-wrapper {
  padding: 5px 0 !important;
}
button.action.primary.checkout.amasty {
  width: 90% !important;
}
.amcheckout-step-container .amcheckout-shipping-methods .amcheckout-method {
  width: 100%;
  margin: 0;
}
.amcheckout-step-container .amcheckout-title+.amcheckout-content>.amcheckout-wrapper {
  padding: 5px 15px;
}
.amcheckout-step-container .amcheckout-summary-container .minicart-items .product-item-details {
  padding-left: 60px;
  font-size: 13px;
  text-transform: lowercase;
}
.payment-method._active {
  padding: 0;
  margin: 0 0 5px !important;
  border: none !important;
  background: #fde2b2 !important;
}
tr.row.amcheckout-method.-selected {
  background: #fce2b2;
}
.am-checkout .field {
  margin: 5px 0 !important;
}
.payment-method {
  margin: 2px 0 4px !important;
}
.amcheckout-main-container.-modern .amcheckout-block:not(:first-of-type) {
  margin: 10px 0 0 !important;
}
tr.row.amcheckout-method.-selected {
  border: none;
}
.form-login label.label {
  width: 15% !important;
}
.header-ordinaltelefono-wrapper2.w-100 {
  background: #fbab18;
  margin: 0 auto 5px!important;
  text-align: center;
  padding: 7px 0;
  color: #fff;
  font-size: 17px;
}
.header-ordinaltelefono-row.text-center2 p {
  margin: 0;
}
.header-ordinaltelefono-row.text-center2 a {
  color: #ffffff;
  font-weight: 700;
}
.nav-sections {
  margin-bottom: 3px !important;
}
mark, .mark {
  background-color: #f9f9f9 !important;
}
.table-checkout-shipping-method tbody td {
 border: none !important;
  width: 33%;
}
#minicart-content-wrapper .per_spedizione_gratuita {
  border-top: 1px solid #ecb6c9 !important;
  padding-top: 13px !important;
  margin: 0 -20px -25px !important;
  min-height: 60px;
}
.sfondo_inevidenza p.titolo_inevidenza {
    font-size: 17.5px;
    color: #444;
}
  .sfondo_inevidenza, .sfondo_inevidenza a, .sfondo_inevidenza a:visited {
    color: #353535;
    font-size: 1.4rem;
  }
  .sfondo_inevidenza {
    min-height: 212px;
}
}
.alert_spedizione_gratuita .riga1 {
  font-weight: bold;
  font-size: 18px;
}
.sidebar-product.destra .iconcine-wrapper {
  padding: 15px 40px 20px;
}
.sidebar-product.destra .iconcine {
  min-height: 60px;
  color: #23A8E0;
  font-size: 18px;
  width: 100%;
  margin: 18px auto;
  display: flex;
  align-items: center;
  font-weight: 700;
  line-height: 1;
}
.sidebar-product.destra .iconcine:before {
  background-size: 60px;
  background-position: left center;
  background-repeat: no-repeat;
  content: "";
  display: block;
  width: 70px;
  height: 60px;
}
.sidebar-product.destra .iconcine.prodotti-originali:before {
  background-image: url(../images/prodotti-originali.svg);
}
.sidebar-product.destra .iconcine.resi-facili:before {
  background-image: url(../images/resi-facili.png);
}
.sidebar-product.destra .iconcine.campioncini:before {
  background-image: url(../images/campioncini.svg);
}

.catalog-product-view .product-item-info {
  max-width: 100% !important;
  width: 100% !important;
}
.catalog-product-view .product-item:hover .product-item-info {
  box-shadow: 0 2px 11px -2px;
}

.widget .block-title {
  margin: 20px 0 50px;
}
.minicart-items li.item.product.product-item {
  width: 100%;
}
.detail-category-name {
  font-size: 13px;
  color: #545555;
  margin-top:15px;
  font-weight: bold;
}
.detail-category-name a {
  color: #23A8E0;
}
.detail-category-name a:hover {
  color: #38B049;
}
.risparmi-prodotto {
  display: block;
  color: #5E5F5F;
  font-size: 13px;
  font-weight: 800;
  margin-top: 4px;
}
.gallery-placeholder {
  width: 100%!important;
}
.gallery-placeholder__image,
.fotorama__stage .fotorama__stage__frame .fotorama__img {
  /* height: 100%!important; */
  width: auto;
}

.field.qty label {
  display: none!important;
}
.related_wrapper:hover {
  position: relative;
  z-index: 10;
}

.minicart-wrapper .product-item-details {
  display: flex;
  flex-wrap: wrap;
  padding-left: 5px;
  line-height: 1.1;
}
.minicart-wrapper .product-item-details .parte_sinistra {
  width: 80%;
}
.minicart-wrapper .product-item-details .parte_destra {
  width: 20%;
  text-align: right;
}
.minicart-wrapper .product-item-details .parte_inferiore {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.block-minicart .subtotal .label {
  display: none;
}


@media only screen and (max-width: 768px) {
  .product_main_grid .sinistra {
    order: 2;
    text-align: center;
  }
  .product_main_grid .centro {
    order: 1;
  }
  .product_main_grid .destra {
    order: 3;
  }
  .product-info-main .price-box {
    flex-direction: column-reverse;
  }
  .product-info-main .special-price,
  .product-options-bottom .special-price {
    margin: 10px 0 0;
  }
  .product-info-main .special-price .price-container .price-label,
  .product-options-bottom .special-price .price-container .price-label {
    display: none;
  }
  .box-tocart .fieldset {
    display: flex;
    justify-content: center;
  }
  .breadcrumbs {
    display: none;
  }
  .minicart-wrapper {
    position: unset;
  }
  .minicart-wrapper .block-minicart {
    min-width: calc(100% - 40px);
    max-width: calc(100% - 40px);
    left: 50%;
    right: unset;
    transform: translateX(-50%);
  }
}

/* Footer Override */
.custom-footer-wrapper {
  background: #3D403F;
  border-top:1px solid white;
  border-bottom:1px solid white;
  background: #505557;
  color: white;
}
.customwishlist {
  background: white;
  border-radius: 50%;
  border: 2px solid #dddddd;
}
.pulsantiera-tris .customwishlist:before {
  background-image: url(../images/new-icons/cuore.svg);
}
.pulsantiera-tris .delivery:before, .pulsantiera-tris .inviadunamico:before, .pulsantiera-tris .customwishlist:before {
  content: "";
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  background-repeat: no-repeat;
  background-size: 28px;
  background-position: center;
}

/* Media queries generali per mobile */
@media only screen and (max-width: 768px) {
  .page-header {
    padding: 0;
  }
  body.cms-index-index .page-header {
    margin-bottom: 0;
  }
  .header.content {
    max-width: 100%;
    margin-left: 0!important;
    margin-right: 0!important;
    padding-right: 0;
    padding-top: 5px;
    padding-bottom: 5px;
  }
  .header-ordinaltelefono-wrapper2.w-100 {
    background: #23a8e0;
    color: #fff;
    font-size: 14px;
  }
  .logo {
    margin: 0 3px 0 35px;
    max-width: 60% !important;
  }
  .page-layout-2columns-left .column.main h1 {
    margin-bottom: 10px;
    font-size: 20px;
  }
  .minicart-wrapper .action.showcart:before, .minicart-wrapper .action.showcart.active:before {
    width: 40px;
    height: 40px;
  }
  .minicart-wrapper .action.showcart .counter.qty {
    height: 20px;
    line-height: 20px;
    min-width: 20px;
    font-size: 90%;
    right: -5px;
    bottom: 0px;
  }
  .ui-menu-divider {
    display: none;
  }
  .navigation > ul {
    padding: 5px 20px;
  }
  .navigation .submenu {
    flex-direction: column;
  }
  .navigation .level0 > .submenu {
    /* border: 1px solid #fff; */
    margin: 0 -8px -1px;
    background: #4ac5f9;
  }
  .navigation .submenu > li.level1 {
    margin-bottom: 10px;
    padding: 10px 0;
  }
  .navigation .menu-with-block .submenu > li.level2 {
    margin-bottom: 10px;
    padding: 0 0 5px 0;
  }
  .navigation .submenu > li > a.level1,
  .navigation .menu-with-block .submenu > li > a.level2 {
    border-bottom: 1px solid #fff!important;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
    padding-bottom: 8px;
  }
  .navigation .float-right {
    display: block;
    float: none;
    clear: both;
    width: 100%;
  }
  .navigation .submenu:not(.level0) li.tuttiprodotti {
    display: none!important;
  }
  .allprods {
    font-size: 90%;
    padding-top: 16px!important;
  }
  .toolbar-products {
    justify-content:center;
  }
  .toolbar-products .modes {
    display: none;
  }
  .block.filter .filter-title {
    text-align: center;
    margin-bottom: 20px;
  }
  .filter-title strong {
    /* position: fixed; */
    /* right: -5px; */
    /* z-index: 10; */
    /* left: unset; */
    /* top: -65px; */
    /* position: unset; */
    /* margin-top: -47px; */
    /* float: right; */
  }
  .filter.active .filter-title strong {
    float: none;
    margin-top: unset;
    position: absolute;
  }
  .filter.active .filter-title strong:after {
    font-size: 30px;
    color: #fff;
  }
  .filter .filter-current-subtitle:before {
    font-size: 30px;
    top: 50%;
    transform: translate(0, -50%);
  }
  .filter .filter-current {
    margin: 5px 0px 20px;
  }
  .filter-actions {
    margin: -45px 0px 25px;
  }
  .slider-wrapper-row.row.no-gutters,
  .newsletter_e_banner-col-left {
    margin-bottom: 5px;
  }
  .slider-wrapper-col-left,
  .promo_in_corso_left {
    width: 100%;
    max-width: 100%;
  }
  .promo_in_corso_left {
    border: 1px solid transparent;
  }
  .slider-wrapper-col-right,
  .promo_in_corso_right {
    display: none;
  }
  .newsletter-home .newsletter-home-sconto .numero {
    font-size: 50px;
  }
  .newsletter-home .newsletter-home-sconto .percentuale {
    font-size: 30px;
    margin-left: 0;
  }
  .newsletter-home .newsletter-home-sconto .ricevi {
    font-size: 21px;
  }
  .newsletter-home .newsletter-home-sconto .ricevi br {
    display: none;
  }
  body:not(.cms-index-index) .newsletter-home {
    padding: 10px;
  }
  body:not(.cms-index-index) .newsletter-home .newsletter-home-sconto .ricevi {
    font-size: 17px;
  }
  body:not(.cms-index-index) .newsletter-home .newsletter-home-sconto .iscriviti.pagineinterne {
    font-size: 13px;
  }
  body:not(.cms-index-index) .newsletter-home-wrapper {
    border: none;
  }
  body:not(.cms-index-index) .block.newsletter {
    width: 100%;
    max-width: 100%;
    margin: 10px auto!important;
    float: none;
  }
  body:not(.cms-index-index) .block.newsletter .action.subscribe {
    padding: 10px 15px;
  }
  body:not(.cms-index-index) .block.newsletter .actions {
    padding: 0 0px 2px 10px;
    justify-content: flex-end;
    width: 95px;
  }
  body:not(.cms-index-index) .block.newsletter .field.privacy {
    width: auto;
    margin: 10px auto 0;
  }
  body:not(.cms-index-index) .block.newsletter .field.newsletter {
    width: calc(100% - 95px);
    flex: 0 0 calc(100% - 95px);
  }
  .block-search .search .control {
    border: none;
    margin: 0;
    padding: 0;
    position: absolute;
    top:100%;
    left: 0;
    min-height: 90px;
    width: 100%;
    display: none;
    padding: 10px;
    background: rgb(255,255,255);
    background: -webkit-linear-gradient(rgba(216, 216, 216,1) 62%, rgba(255,255,255,0) 100%);
    background: -o-linear-gradient(rgba(216, 216, 216,1) 62%, rgba(255,255,255,0) 100%);
    background: linear-gradient(rgba(216, 216, 216,1) 62%, rgba(255,255,255,0) 100%);
  }
  .block-search .-opened .search .control  {
    display: block;
  }
  .block-search .search .control input {
    position: unset;
    margin: 0;
  }
  .form .search-autocomplete {
    max-height: 62vh;
  }
  .amsearch-item-container {
    display: none;
  }
  .amsearch-results {
    padding: 0;
  }
  .amasty-xsearch-block-header {
    display: none;
  }
  .amsearch-form-container .search-autocomplete .amsearch-results .amsearch-leftside {
    background-color: #ffffff;
  }
  .product-item:hover {
    margin-bottom: 0;
  }
  .product-item-actions {
    display: block;
  }
  .product-items .action.primary,
  .product-items .action.primary:visited {
    padding: 7px;
    font-size: 12px;
  }
  .swiper-wrapper .product-item-info {
    padding: 15px 0px 70px 0;
  }
  .page-products .products-grid .product-item {
    margin-bottom: 0;
  }
  .product-items:not(.swiper-wrapper) {
    font-size: 0;
    display: flex;
    flex-wrap: wrap;
  }
  .product-item .price-box .price {
    margin: 0 3px;
  }
  .iconcine_responsive {
    width: 45%;
    max-width: 45%;
    font-size: 11px;
    line-height: 1;
  }
  .footer.content {
    padding-bottom: 0;
    margin: 0!important;
  }
  .footer.content .footer_3 {
    order: 1;
  }
  .footer.content .footer_1_2_col {
    order: 2;
    flex-wrap:wrap;
    text-align: center;
    padding: 0;
  }
  .footer.content .footer_1_2_col {
    margin: 20px 0;
  }
  .footer.content .footer_1_2_col .custom_footer_block {
    width: 100%!important;
    max-width: 100%!important;
    margin-bottom: 10px;
  }
  .footer.content .footer_1_2_col .custom_footer_block ul,
  .footer.content .footer_1_2_col .custom_footer_block ol {
    display: none;
  }
  .footer.content .footer_4_5_col {
    order: 3;
  }
}

.cart.table-wrapper .col.price, .order-items.table-wrapper .col.price, .cart.table-wrapper .col.qty, .order-items.table-wrapper .col.qty, .cart.table-wrapper .col.subtotal, .order-items.table-wrapper .col.subtotal, .cart.table-wrapper .col.msrp, .order-items.table-wrapper .col.msrp {
  text-align: center;
}
.details-qty.qty {
  width: 50%;
  display: flex;
  align-items: center;
}
.control.qty {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 3px 3px;
  grid-template-areas:
      "input ."
      "input .";
  align-items: center;
  justify-items: center
}
.control.qty input {
  grid-area: input;
  margin: 0!important;
}
.more, .less {
    width: 18px;
    text-align: center;
    background: #f5f5f5;
    height: 100%;
    cursor: pointer;
    font-size: 14px;
}
.box-tocart .control.qty,
.details-qty.qty .control.qty {
  margin: 0;
  width: 66px!important;
}
.box-tocart .more,
.box-tocart .less {
  font-size: 18px;
}

/* MINI CART */

#minicart-content-wrapper .minicart-items-wrapper {
	flex: 100%;
order: 1;
margin-top: 20px;
margin-bottom: 10px;
height: 250px !important;
}

#minicart-content-wrapper .block-content {
	display: flex;
	flex-basis: min-content;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
}

.block-minicart .items-total {
	margin: 0px;
	flex: 0 1 calc(50%);
	order: 2;
}

.block-minicart .subtotal {
	margin: 0px;
	flex: 0 1 calc(50%);
	order: 3;
  }


  #minicart-content-wrapper .actions {
	flex: 1 1 100%;
	order: 0;
  }

  .block-minicart .block-content > .actions {
    margin-top: 0;
    margin-bottom: 0;
  }

  .block-minicart .items-total {
    align-self: center;
  }

  #minicart-content-wrapper .per_spedizione_gratuita {
    margin-top: 10px !important;
  }

  @media only screen and (max-width: 767px) {

	.minicart-wrapper {
		z-index: 9999 !important;
	}

	.minicart-wrapper .block-minicart {
		height: auto !important;
	}

  #minicart-content-wrapper .minicart-items-wrapper {
  height: 200px !important;
  }

  .minicart-wrapper .action.close {
    top: 0px !important;
    right: 0px !important;
    width: 32px !important;
    height: 32px !important;
  }

	}


	@media (max-width: 479px) {

    #minicart-content-wrapper .minicart-items-wrapper {
      height: 200px !important;
      }

	.minicart-wrapper .block-minicart {
		height: auto !important;
	}

  .minicart-wrapper .action.close {
    top: 0px !important;
    right: 0px !important;
    width: 32px !important;
    height: 32px !important;
  }

}


.product-item-link {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2em
}

.product-item-discount {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: #f98419;
  padding: 1rem;
  font-size: 1.5rem;
  line-height: 2.5rem;
  font-weight: 700;
  color: white;
  z-index: 1;
  border-radius: 100%;
  min-width: 4.75rem;
}

.modals-wrapper {
  position: relative;
  z-index: 9999!important;
}

.account .sidebar .content ul.nav {
  flex-wrap: nowrap;
  flex-direction: column;
}

.amblog-index-post #maincontent .columns .column.main{
  display: flex !important;
  flex-direction: column-reverse !important;
}


.sidebar .amblog-item.amblog-recent-post{
  display: flex;
  flex-direction: column;
  .thumbnail{
    display:flex;
    justify-content: center;
    img.img{
      min-width: 50%;
    }
  }
}

.amblog-thesis{
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}


.widget.block.block-static-block{
  margin: 0 !important;
}


div.col-md-5.px-sm-3.pr-lg-0 > div[data-content-type="html"]{
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  a[href="/consigli-del-farmacista.html"]{
    margin-top: -30px;
  }
}

.account.customer-blog-posts.amblog-index-account .main .tabs-wrap{
  display: none;
}

.header-spedizionegratuita-wrapper{
  @media screen and (min-width:768px) {
    display: none;
  }
  .spedizione-gratuita-text{
    font-weight: 500;
  }
}