/*------------------------------------------------------------------------------*/
/*----------------------------------LOGIN PAGE----------------------------------*/
/*------------------------------------------------------------------------------*/

.page-customer-account #content .no-account {
    text-align: left !important;
}
body#authentication .registration-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

body#authentication .title-registration {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold !important;
    color: #0074c5;
}

body#authentication .registration-content {
    max-width: 790px;
    padding: 35px 0 0 45px;
    margin: 0 auto;
    background-image: url('/modules/hoscustomregistration/views/img/registration-step1.png');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    height: 520px;
}

/* Make email and password fields have same width */
.login-form-modern .form-group {
    width: 100%;
    max-width: 350px;
    position: relative;
}

.login-form-modern .input-group-wrapper {
    width: 100%;
}

.login-form-modern .form-control {
    width: 100%;
    font-size: 17px;
    text-align: left;
    letter-spacing: 0px;
    color: #000000;
    padding: 5px;
    border-radius: 5px;
    border-color: #7fc2f1;
    height: 30px;
}

.login-form-modern .password-toggle {
    position: absolute;
    right: -35px;
    top: 24px;
    cursor: pointer;
    color: #0074C5;
    z-index: 10;
}

.login-form-modern .toggle-password {
    font-size: 20px;
}

.login-form-modern .password-group .input-group {
    width: 100%;
    display: flex;
}

.login-form-modern .password-group .input-group .form-control {
    flex: 1;
    width: 100%;
}

.login-form-modern .password-group .input-group-addon {
    width: auto;
    flex-shrink: 0;
}

.login-form-modern .form-control::placeholder {
    color: #C1BDBD;
}

.login-form-modern .form-group label {
    margin: 0 0 0 5px !important;
    font-size: 17px;
    color: #000000;
}

/* Style the login button to match registration */
.login-form-modern .login-button {
    background-color: #ED5D3E;
    border-color: #ED5D3E;
    padding: 4px 33px;
    border-radius: 6px !important;
    color: #FFFFFF;
    min-width: 140px;
    height: 33px;
    margin: 10px 0;
}

.login-form-modern .login-button:hover {
    background-color: #d94b2c;
    border-color: #d94b2c;
}

.login-form-modern .create-account-link{
    color: #ED5D3E !important;
    text-decoration: none;
}

/* Style the login container */
.login-container {
    padding: 0;
}

.login-container .row {
    margin: 0;
}

.login-container .col-md-6 {
    padding: 0;
}

/* Style the forgot password and create account links */
.login-form-modern .forgot-link, 
.login-form-modern .create-account-link {
    color: #0074C5;
    text-decoration: none;
}

.login-form-modern .forgot-link:hover, 
.login-form-modern .create-account-link:hover {
    text-decoration: underline;
}

.login-form-modern .divider {
    border-top: 2px solid #fffb03;
    margin: 15px 0;
    max-width: 150px;
}

/* Center text elements */
.login-form-modern .text-center {
    text-align: left !important;
    width: 100%;
    max-width: 350px;
}

/* Fix visibility toggle alignment */
.login-form-modern .password-group .input-group {
    width: 100%;
}

.login-form-modern .password-toggle {
    height: 34px;
    line-height: 34px;
    cursor: pointer;
}

/* No account section */
.login-form-modern .no-account {
    margin-top: 10px;
    max-width: 350px;
}

.login-form-modern .no-account p {
    margin-bottom: 0px;
    font-size: 12px;
}

.page-customer-account #content .forgot-password{
    margin: 0;
    padding: 0;
    text-align: left !important;
}
/*------------------------------------------------------------------------------*/
/*------------------------------------HEADER------------------------------------*/
select, .form-control-select{
    background-image: none;
}
.upload_form_custom .input-group-btn{
    line-height: 15px;
}
.upload_form_custom .input-group-addon{
    text-align: center;
}
#scalapayPopUpTriggerMain > scalapay-widget{
	text-align: center;
}
#payment-option-3-container > label > img{
	height: 25px;
}
#payment-option-4-container > label > img{
	height: 21px;
}

.hos-header-nav a{
    color:#DADCE0!important;
    min-width: 110px;
    margin-right: 24px;
}
.hos-header-nav .menu-topbar .dropdown-menu{
    margin-top: 2px;
}
.hos-header-nav .menu-topbar a{
    margin-right: 0px;
    padding: 10px 10px;
}
.hos-header-nav a:hover{
    text-decoration:underline;
}
.hos-header-nav .social-top a{
	margin-right:5px;
}
.hos-header-nav i{
    margin-left: 8px;
}
.home-hos-productabs{

}
#header .header-btn-w .header-btn{
    display: flex;
    align-items: center;
}
#header .header-btn-w{
	padding:0px 0.8rem;
}
#header .header-btn-w .header-btn .title{
    font-size: 14px;
    line-height: 16px;
	margin-top:0px;
}
#iqitmegamenu-wrapper > div.container.container-iqitmegamenu{
    margin-top: -25px;
    padding-bottom: 15px;
}
#header .desktop-header-style-2 .col-header-center .search-widget{
	margin-left:0px;
}
@media(max-width: 675px){
    .ps-shoppingcart .cart-products-count-btn{
        top: -12px!important;
        right: -8px!important;
		background: #F2F2F2;
    	color: #14191F;
    }

    .mobile-menu__content {
        order: 2;
    }
}
/*------------------------------------------------------------------------------*/
/*-------------------------------------MENU-------------------------------------*/
/*------------------------------------------------------------------------------*/
.col-mobile-menu-push #_mobile_iqitmegamenu-mobile{
    width: 100%;;
}
.conteiner-menu-hos{
    font-size: 16px;
    font-weight: 500;
    color: #10223A;
    padding:16px 0px;
}
.cbp-hrmenu ul{
    line-height: 30px;
    font-size: 13px;
}
.cbp-hrmenu ul {
    line-height: 30px;
    font-size: 13px;
}
.cbp-hrmenu .cbp-hrsub-tabs-names li a{
    font-weight: 600;
}


/*------------------------------------------------------------------------------*/
/*-----------------------------------HOMEPAGE-----------------------------------*/
/*------------------------------------------------------------------------------*/
.home-hos-productabs .nav-tabs{
    margin-bottom: 40px;
    border: 0px;
}
.home-hos-productabs .nav-tabs .nav-item{
    border: 1px solid #C1C1C1;
    border-radius: 25px;
    font-size: 14px;
    line-height: 16px;
    color: #072943!important;
}
.home-hos-productabs .nav-tabs .nav-link{
    padding: 12px 23px;
    text-transform: none;
    font-weight:400;
}
.home-hos-productabs .nav-tabs .nav-link.active{
    font-weight: 500;
}
#roja45quotationspro_buttons_block{
    display: none;
}
@media(max-width: 767px){
    .home-hos-soluzionitecnologiche .elementor-image-box-wrapper{
        display: flex;
    }
    .spedizioni-footer-hos .elementor-image-box-wrapper {
        display: flex;
    }
    .spedizioni-footer-hos  .elementor-widget-image-box .elementor-image-box-content{
        padding-left:20px;
    }
    #add-to-cart-or-refresh  div.col-add-qty{
        flex:0.3;
    }
}

.user-not-logged-product{
    margin-top: 15px;
}


/*------------------------------------------------------------------------------*/
/*-----------------------------------CATEGORY-----------------------------------*/
/*------------------------------------------------------------------------------*/
.elementor-description-hos .h1.page-title{
   /* font-size: 32px;*/
    font-size: 2.5rem;
    line-height: 37px;
    /*font-weight: 500;*/
    color: #0074C5;
}
#category #wrapper{
    background: #FAFAFA;
}
.swiper-wrapper {
    -ms-flex-wrap: initial !important;
    flex-wrap: nowrap !important;
}
.elementor-section-slidered .swiper-wrapper{
    -ms-flex-wrap: initial !important;
}
.sub-categories-slider .elementor-widget-wrap, .categories-slider-home .elementor-widget-wrap{
    width: 100vw;
    padding-bottom: 25px;
    padding-left: 8px;
    padding-right: 8px;
}
.sub-categories-slider .swiper-container-horizontal>.swiper-pagination-bullets, .categories-slider-home .swiper-container-horizontal>.swiper-pagination-bullets{
    bottom:0px;
    padding-bottom: 10px;
}
.products-nb-per-page{
    display: none!important;
}
#content-wrapper .section-title{
    font-size: 24px;
    text-transform: none;
    line-height: 28px;
    color: #212426;
}

/* SOLO pagina prodotti bando */
body.page-category .c2pb-bandoprodotti-deadline {
  margin-bottom: 8px;
  font-size: 15px;
}

body.page-category .c2pb-bandoprodotti-deadline .c2pb-v2-deadline-date {
  font-weight: 500;
}

/* Titolo "Scadenza:" */
body.page-category .c2pb-bandoprodotti-deadline strong {
  color: #0074C5;
}

/* Pagina prodotti bando - riga scadenza/stato/azioni */
body.page-category .c2pb-bandoprodotti-headline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
}

body.page-category .c2pb-bandoprodotti-deadline {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.4;
}

body.page-category .c2pb-bandoprodotti-deadline strong {
  color: #0074C5;
  font-weight: 600;
}

body.page-category .c2pb-bandoprodotti-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
}

/* Pill stato */
body.page-category .c2pb-bandoprodotti-actions .c2pb-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  padding: 6px 16px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  white-space: nowrap;
}

body.page-category .c2pb-bandoprodotti-actions .c2pb-status--attivo {
  background: #31C192;
}

body.page-category .c2pb-bandoprodotti-actions .c2pb-status--inarrivo {
  background: #F66D51;
}

body.page-category .c2pb-bandoprodotti-actions .c2pb-status--scaduto {
  background: #ee0606;
}

/* Bottoni icone temporanei */
body.page-category .c2pb-bandoprodotti-actions .c2pb-iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 0;
  background: transparent;
  color: #9AA3AE;
  padding: 0;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
}

body.page-category .c2pb-bandoprodotti-actions .c2pb-iconbtn:hover {
  color: #0074C5;
}

body.page-category .c2pb-bandoprodotti-actions .c2pb-svg {
  width: 18px;
  height: 18px;
  display: block;
}

body.page-category .c2pb-bandoprodotti-actions .c2pb-favorite-toggle {
  color: #9AA3AE;
}

body.page-category .c2pb-bandoprodotti-actions .c2pb-favorite-toggle:hover,
body.page-category .c2pb-bandoprodotti-actions .c2pb-favorite-toggle.is-active {
  color: #003E87;
}

@media(max-width: 990px){
    .elementor-description-hos .h1.page-title{
        font-size: 23px;
        line-height: 26px;
    }
    #amazzing_filter .compact-toggle .compact-toggle-icon, #amazzing_filter .compact-toggle-text{
        background: #0D6ED0;
    }
    .hr-category{
        display: none;
    }
    .products-selection{
        border:0px;
    }
    .product-miniature-default li.product-flag{
        font-size: 16px;
        line-height: 18px;
        font-weight: 600!important;
    }
    #js-product-list-top > div{
        display: block;
        text-align: center;
        margin: auto;
    }
    .products-selection .products-sort-nb-dropdown{
        display: block;
        margin-top: 10px;
    }
    #content-wrapper .section-title{
        font-size: 34px;
        line-height: 37px;
        padding: 60px 20px 0px 20px;
        text-align: center;
    }
    .iqit-accordion .title{
        background: #0074C5;
        font-size: 18px;
        line-height: 21px;
        font-weight: 500;
    }
}


/*------------------------------------------------------------------------------*/
/*-----------------------------------AMAZZING-----------------------------------*/
/*------------------------------------------------------------------------------*/
#amazzing_filter.block .title_block{
    font-size: 14px;
    line-height: 24px;
    font-weight: 400;
    color: #191919;
}
.af_subtitle{
    font-size: 18px;
    line-height: 21px;
    color: #191919;
    font-weight: 500;
}
.selectedFilters .cf{
    display: inline-block;
    background: #F2F5F8;
    color: #10223A;
    font-size: 14px;
    line-height: 16px;
    margin-right: 8px;
}
.selectedFilters .clearAll{
    display: none;
}
.u-times:before{
    color: #1879D9;
}
.active > .af-checkbox-label:before{
    background: #1879D9;
    color: #fff;
    padding: 2px;
    width: 16px;
    height: 16px;
    line-height: 13px;
    font-size: 14px;
    left: 1px;
    top: 0px;
}
.select-title .select-title-name{
    max-width: initial;
}
.af_filter{
    border-bottom: 1px solid #EAEAEA;
}
.compact-toggle-text{
    font-size: 15px;
    border-radius: 0px 5px 0px 0px;
}
.has-compact-filter #amazzing_filter .compact-toggle{
    border-radius: 0px 0px 0px 5px;
}
.compact-toggle .compact-toggle-icon{
    border-radius: 5px;
}


/*------------------------------------------------------------------------------*/
/*---------------------------------PRODUCTLIST----------------------------------*/
/*------------------------------------------------------------------------------*/
.mepa{
    font-size: 12px;
    line-height: 24px;
    color:#7C7D7E;
}
.product-miniature-grid .product-functional-buttons{
    max-width: 100%;
    width: 100%;
}
.swiper-pagination-clickable .swiper-pagination-bullet{
    width: 17px;
    height: 4px;
    border-radius: 1px;
}
.swiper-pagination-clickable .swiper-pagination-bullet-active{
    width: 32px!important;
}
.product-miniature-grid .product-functional-buttons{
    background: transparent;
}
.product-miniature-grid .product-functional-buttons a{
    background: #f2f5f8;
    border-radius: 4px;
    padding: 8px 30px;
    margin: 0px 5px;
}
.product-miniature-grid .product-functional-buttons a:hover{
    opacity: 1!important;
    background: #3183d7!important;
    color: #fff!important;
}
.product-functional-buttons-links{
    display: flex;
    justify-content: center;
    column-gap: 10px;
}
.product-functional-buttons-links{
    display: flex;
    justify-content: center;
}
.product-miniature-grid .product-functional-buttons i{
    font-size: 16px;
    height: 18px;
    width: 18px;
}
.product-miniature-grid .product-functional-buttons i.fa-heart{
    color:#103b7d !important;
}
.product-functional-buttons-links > a{
    display: flex;
    align-items: center;
    color: #103b7d !important;
}
.product-functional-buttons-links > a:hover{
    background: #103b7d !important;
    color: #fff !important;
}
.btn-product-list.add-to-cart{
    background: #f3f5f8;
    color: #f55d3e;
}
.btn-product-list.add-to-cart:hover{
    background: #f55d3e;
    color: #ffffff;
}
.product-functional-buttons-links { }
.products-grid .product-add-cart{
    margin: initial;
}
.btn-product-list.add-to-cart{
    border: none 1px;
    border-radius: 4px;
    padding: 8px 30px;
}
.plus-service-hos{
    font-size: 14px;
    line-height: 19px;
    font-weight: 500;
}
.plus-service-hos > i{
    font-size: 16px;
}

/* ========================================================================== */
/* ==== VERSIONE PRECEDENTE — DISATTIVATA (INTERAMENTE COMMENTATA) ========= */
/* ========================================================================== *
   (ATTENZIONE: in questo blocco NON compaiono sequenze di chiusura commento.
   È tutto testo, così il browser lo ignora davvero.)

   ---------------------------------------------------------------------------
   INIZIO WISHLIST E ADD TO CART SEMPRE VISIBILI SOTTO (solo visibilità, NO layout)
   ---------------------------------------------------------------------------

   1) Sempre visibili (senza toccare la distribuzione)
   .product-miniature .product-functional-buttons,
   .js-product-miniature .product-functional-buttons,
   .products-grid .product-functional-buttons {
     opacity: 1 !important;
     visibility: visible !important;
   }

   2) Neutralizza hover del tema (solo visibilità)
   .product-miniature:hover .product-functional-buttons,
   .product-miniature .thumbnail-container:hover .product-functional-buttons {
     opacity: 1 !important;
     visibility: visible !important;
   }

   3) Mirato al blocco add-to-cart
   .hos-product-add-cart { opacity: 1 !important; visibility: visible !important; }

   4) Bucare eventuali inline (senza cambiare il display del tema)
   .product-functional-buttons[style*="opacity:0"],
   .product-functional-buttons[style*="opacity: 0"] { opacity: 1 !important; }
   .product-functional-buttons[style*="visibility:hidden"],
   .product-functional-buttons[style*="visibility: hidden"] { visibility: visible !important; }
   .product-functional-buttons[style*="display:none"],
   .product-functional-buttons[style*="display: none"] { display: initial !important; }

   === Layout “SOTTO alla disponibilità” — solo con body.c2-fixed-btns ===
   .c2-fixed-btns .product-miniature .product-functional-buttons {
     position: static !important;
     opacity: 1 !important;
     visibility: visible !important;
     transform: none !important;
     pointer-events: auto !important;
   }
   .c2-fixed-btns .product-miniature:hover .product-functional-buttons,
   .c2-fixed-btns .product-miniature .thumbnail-container:hover .product-functional-buttons {
     opacity: 1 !important; visibility: visible !important; transform: none !important;
   }
   .c2-fixed-btns .product-functional-buttons[style*="opacity:0"],
   .c2-fixed-btns .product-functional-buttons[style*="opacity: 0"] { opacity: 1 !important; }
   .c2-fixed-btns .product-functional-buttons[style*="visibility:hidden"],
   .c2-fixed-btns .product-functional-buttons[style*="visibility: hidden"] { visibility: visible !important; }
   .c2-fixed-btns .product-functional-buttons[style*="display:none"],
   .c2-fixed-btns .product-functional-buttons[style*="display: none"] { display: initial !important; }

   Tenere prezzo + “IVA esclusa” sulla stessa riga
   .c2-fixed-btns .product-miniature .product-price-and-shipping { display: block; }

   Badge disponibilità a capo sotto al prezzo
   .c2-fixed-btns .product-miniature .product-price-and-shipping .c2-stock-badge {
     display: block; margin-top: .25rem;
   }

   Bottoni spostati in .product-description (sotto disponibilità)
   .c2-fixed-btns .product-miniature .product-description .product-functional-buttons{
     position: static !important; transform: none !important; margin-top: 8px; width: 100%;
     opacity: 1 !important; visibility: visible !important; pointer-events: auto !important;
   }
   .c2-fixed-btns .product-miniature .product-description .product-functional-buttons .product-functional-buttons-links{
     display: flex; justify-content: center; gap: .5rem;
   }

   ---------------------------------------------------------------------------
   FINE WISHLIST E ADD TO CART SEMPRE VISIBILI SOTTO
   ---------------------------------------------------------------------------
* ========================================================================== */


/* ========================================================================== */
/* ==== VERSIONE ATTIVA — OVERLAY IN ALTO A DESTRA SULL’IMMAGINE ============ */
/* ========================================================================== */

/* INIZIO WISHLIST E ADD TO CART SEMPRE VISIBILI SOPRA IMMAGINE DX (solo visibilità, NO layout) */

/* 1) Sempre visibili (non tocchiamo la distribuzione del tema) */
.product-miniature .product-functional-buttons,
.js-product-miniature .product-functional-buttons,
.products-grid .product-functional-buttons {
  opacity: 1 !important;
  visibility: visible !important;
}

/* 2) Neutralizza hover del tema (solo visibilità) */
.product-miniature:hover .product-functional-buttons,
.product-miniature .thumbnail-container:hover .product-functional-buttons {
  opacity: 1 !important;
  visibility: visible !important;
}

/* 3) Mirato al blocco add-to-cart */
.hos-product-add-cart { opacity: 1 !important; visibility: visible !important; }

/* 4) Bucare eventuali inline */
.product-functional-buttons[style*="opacity:0"],
.product-functional-buttons[style*="opacity: 0"] { opacity: 1 !important; }
.product-functional-buttons[style*="visibility:hidden"],
.product-functional-buttons[style*="visibility: hidden"] { visibility: visible !important; }
.product-functional-buttons[style*="display:none"],
.product-functional-buttons[style*="display: none"] { display: initial !important; }

/* ===== SOLO PER IL TUO IP (body.c2-fixed-btns): overlay in alto a destra ===== */

/* Il contenitore immagine ospita l’assoluto */
body.c2-fixed-btns .product-miniature .thumbnail-container{
  position: relative !important;
  overflow: visible !important;
}

/* Posizionamento overlay in alto a destra */
body.c2-fixed-btns .product-miniature .product-functional-buttons{
  position: absolute !important;
  top: 22%;
  right: 8px;
  left: auto !important;
  bottom: auto !important;
  transform: none !important;
  z-index: 9999 !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;

  display: flex !important;
  gap: 8px;
  background: transparent !important;
}

/* Se inline c’è display:none → forza flex */
body.c2-fixed-btns .product-functional-buttons[style*="display:none"],
body.c2-fixed-btns .product-functional-buttons[style*="display: none"]{
  display: flex !important;
}

/* Riga interna sempre flex */
body.c2-fixed-btns .product-functional-buttons .product-functional-buttons-links{
  display: flex !important;
  gap: 8px;
}

/* Anche su hover non devono spostarsi */
body.c2-fixed-btns .product-miniature:hover .product-functional-buttons,
body.c2-fixed-btns .product-miniature .thumbnail-container:hover .product-functional-buttons{
  opacity: 1 !important; visibility: visible !important; transform: none !important;
}

/* Fix allineamento a DESTRA e larghezze automatiche */
body.c2-fixed-btns .product-miniature .product-functional-buttons{
  left: auto !important;
  right: 8px !important;
  width: auto !important;
  max-width: none !important;
  transform: none !important;
}
body.c2-fixed-btns .product-miniature .product-functional-buttons .product-functional-buttons-links{
  display: flex !important;
  justify-content: flex-end !important;
  gap: 8px;
}

/* ===== Overlay COMPATTO (più in alto e bottoni quadrati) ===== */

/* Un filo più in alto e ravvicinati */
body.c2-fixed-btns .product-miniature .thumbnail-container .product-functional-buttons{
  top: 4px !important;     /* prima 8px */
  right: 6px !important;   /* prima 8px */
  gap: 6px !important;     /* prima 8px */
}

/* Bottoni quadrati compatti (~38px) */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons .product-functional-buttons-links a{
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  border-radius: 10px !important;
  background: #f2f5f8 !important;
  box-shadow: 0 2px 6px rgba(0,0,0,.08) !important;
  border: 0 !important;
}

/* Icone leggermente più piccole e allineate */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons i{
  font-size: 16px !important;
  line-height: 1 !important;
  width: 16px !important;
  height: 16px !important;
}

/* Hover coerente */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons .product-functional-buttons-links a:hover{
  background: #3183d7 !important;
  color: #fff !important;
}

/* Se il tema dilata l’interno, resta a dx e compatto */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons .product-functional-buttons-links{
  display: flex !important;
  justify-content: flex-end !important;
  gap: 6px !important;
}

/* Micro-allineamento verticale icone (cuore/carrello) */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons .product-functional-buttons-links a{
  line-height: 1 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons i,
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons i::before{
  font-size: 16px !important;
  line-height: 1 !important;
  display: block !important;
  width: 16px !important;
  height: 16px !important;
  margin: 0 !important;
  vertical-align: middle !important;
  position: static !important;
  transform: none !important;
}
body.c2-fixed-btns .product-functional-buttons i.fa-heart,
body.c2-fixed-btns .product-functional-buttons i.fa-shopping-cart,
body.c2-fixed-btns .product-functional-buttons i.u-shopping-cart,
body.c2-fixed-btns .product-functional-buttons i.icon-cart{
  font-size: 16px !important;
}

/* ——— FORCE QUADRATE & COMPACT OVERLAY BUTTONS (IP test) ——— */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons .product-functional-buttons-links > a,
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons a.btn-product-list,
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons a.add-to-cart,
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons a.wishlist-btn,
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons a.iqitwishlist-btn {
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  min-width: 0 !important;
  max-width: none !important;
  border-radius: 10px !important;
  box-sizing: border-box !important;
  white-space: normal !important;   /* evita “pillole” larghe */
  overflow: hidden !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}

/* annulla ogni padding aggiuntivo sugli elementi interni */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons .product-functional-buttons-links > a > * {
  padding: 0 !important;
  margin: 0 !important;
}

/* icone normalizzate (stessa altezza/larghezza) */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons i,
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons i::before {
  font-size: 16px !important;
  width: 16px !important;
  height: 16px !important;
  line-height: 1 !important;
  display: block !important;
}

/* se qualche regola globale rimette padding ai link dei bottoni, buchi anche lì */
body.c2-fixed-btns .product-miniature-grid .product-functional-buttons a,
body.c2-fixed-btns .btn-product-list.add-to-cart {
  padding: 10px !important;
  min-width: 0 !important;
}

/* ===== Center & toggle-safe for wishlist/cart icons (IP test) ===== */

/* Link wishlist: contenitore quadrato, centrato */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons .btn-iqitwishlist-add{
  display: inline-grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  position: relative !important;
  padding: 0 !important;
  border-radius: 10px !important;
}

/* I due <i> del cuore: sovrapposti e centrati */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons .btn-iqitwishlist-add i{
  position: absolute !important;
  inset: 0 !important;            /* top/right/bottom/left:0 */
  margin: auto !important;
  width: 16px !important;
  height: 16px !important;
  line-height: 1 !important;
  display: block !important;
}

/* Stato di default: mostra SOLO l’icona "not-added" */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons .btn-iqitwishlist-add i.added{
  display: none !important;
}

/* Quando il link diventa .added → nascondi "not-added", mostra "added" */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons .btn-iqitwishlist-add.added i.not-added{
  display: none !important;
}
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons .btn-iqitwishlist-add.added i.added{
  display: block !important;
}

/* Bottone carrello: stesso box quadrato, solo icona centrata */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons .btn-product-list.add-to-cart{
  display: inline-grid !important;
  place-items: center !important;
  width: 38px !important;
  height: 38px !important;
  padding: 0 !important;
  min-width: 0 !important;
  border-radius: 10px !important;
}

/* Nascondi input qty (se presente nell’overlay) */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons .input-group-add-cart .input-qty{
  display: none !important;
}

/* Normalizza l’icona del carrello */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons .btn-product-list.add-to-cart i{
  width: 16px !important;
  height: 16px !important;
  line-height: 1 !important;
  font-size: 16px !important;
  display: block !important;
}

/* Evita testi/spinner che riallineano verticalmente il bottone */
body.c2-fixed-btns .product-miniature .thumbnail-container
.product-functional-buttons .btn-product-list.add-to-cart .spinner-icon{
  display: none !important;
}

/* ===== C2: badge wishlist & qty carrello — SOLO PER IP TEST ===== */
body.c2-fixed-btns .product-miniature .thumbnail-container
  .product-functional-buttons .product-functional-buttons-links a {
  position: relative; /* serve per il badge */
}

/* Badge “flag” wishlist (piccolo pallino con check) */
body.c2-fixed-btns .c2-wl-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #0d6efd;         /* blu */
  color: #fff;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  pointer-events: none;
}

/* Badge quantità carrello */
body.c2-fixed-btns .c2-cart-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #f55d3e;         /* arancio/rosso brand */
  color: #fff;
  font-size: 11px;
  line-height: 16px;
  text-align: center;
  font-weight: 700;
  box-shadow: 0 1px 3px rgba(0,0,0,.2);
  pointer-events: none;
}

/* Stato “cuore blu” quando in wishlist (facile da leggere nel CSS) */
body.c2-fixed-btns .c2-in-wishlist i.fa-heart {
  color: #0d6efd !important;
}

/* Accessibilità: nascondi testo badge agli screen reader (decorazione) */
body.c2-fixed-btns .c2-wl-badge::after,
body.c2-fixed-btns .c2-cart-badge::after { content: ""; }



/* FINE WISHLIST E ADD TO CART SEMPRE VISIBILI SOPRA IMMAGINE DX */
/* ========================================================================== */





/*------------------------------------------------------------------------------*/
/*---------------------------------PRODUCTPAGE----------------------------------*/
/*------------------------------------------------------------------------------*/
#productdaas-accordion .card{
    border-bottom: 1px solid #fff;
}
.iqit-accordion .title{
    padding: 15px 12px;
    background: #0074C5;
    border-bottom: 0px;
}
.product-features>dl.data-sheet dd.value, .product-features>dl.data-sheet dt.name{
    border:0px;
    padding: 10px 25px;
}
.product-features .name:nth-of-type(odd), .product-features .value:nth-of-type(odd) {
    background-color: #f0f0f0;
}
#attachments > section div.attachment{
    margin: 20px 0px;
}
.nome-allegato-hos{
    margin: 0px 15px 0px 10px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 500;
    color: #212426;
}
.product_header_container, .product_p_price_container, .product-additional-info{
    border: 0px;
}
.product_header_container{
    padding:0px;
    margin:0px;
}
#add-to-cart-or-refresh button.add-to-cart{
    box-shadow: 0px 3px 6px #21242648;
    border-radius: 14px;
}
.hos-container-after-desc{
    margin:20px 0px 5px 0px;
}
#col-product-info{
    position: sticky;
    z-index: 1;
    top: 30px;
    transition: top 300ms ease 0s;
}
.button-action-hos{
    column-gap: 2%;
    justify-content: end;
}
.button-action-hos > div{
    flex: 1;
}
.button-action-hos button{
    padding: 10px;
    background: #fff;
    border: 1px solid #C1C1C1;
    border-radius: 8px;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 14px !important;
    max-width: 373px;
    float: right;
}
.button-action-hos button:hover{
    border:1px solid #1879D9;
    background: #fff;
}
.product-quantity .qty .input-group{
    border-radius: 14px 0px 0px 14px;
    border-right: 0px;
}
.bootstrap-touchspin .input-group-btn-vertical{
    border: solid 1px #e3e3e3;
    border-radius: 0px 14px 14px 0px;
    border-left: 0px;
}
.bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-up, .bootstrap-touchspin .input-group-btn-vertical .bootstrap-touchspin-down{
    border: 0px;
    border-radius: 14px;
    background:transparent;
}
#add-to-cart-or-refresh .js-product-add-to-cart .product-quantity{
    display: flex;
    justify-content: space-between;
}
#add-to-cart-or-refresh .js-product-add-to-cart .product-quantity > div.col-add-btn{
    flex: 1;
}
#add-to-cart-or-refresh button.add-to-cart{
    width: 100%;
}
.hos-container-after-desc a{
    color:#1879D9!important;
    font-size: 12px;
    line-height: 24px;
	padding-right:10px;
	font-weight:500;
}
.hos-container-after-desc a:hover{
    text-decoration: underline;
}
.disponibilita-hos{
    font-size: 16px;
    line-height: 24px;
    color:#282E33;
}
#product-availability{
    align-items: baseline;
    column-gap: 8px;
}
#product-availability .delivery-information {
    font-size: 14px;
    line-height: 24px;
    color:#56595C;
    font-weight: normal;
}
#sezione-prezzo{
    column-gap: 15px;
}
.product-discount .regular-price{
    font-size: 16px;
    line-height: 18px;
    color: #7C7D7E;
}
/*#product.roja45-quotable-product .disponibilita-hostinato{
	display:none;
}*/


/*CART*/
#blockcart-content input.block-cart-product-quantity, #cart .js-cart-line-product-quantity, #request-summary-products div.quote-product-quantity input{
    border-radius: 14px 0px 0px 14px;
    border-right: 0px;
}
.ps-shoppingcart .cart-products-count-btn{
    top: 0px;
    right: -22px;
}
#cart .addtocartfromurl_content{
    padding: 40px 15px;
}
.request-quote-card{
    display: none;
}
#save_this_cart_button, #save_this_cart_content{
    border: 1px solid #0e6ed0!important;
    color: #0e6ed0;
}
#save_this_cart_button, #share_this_cart_button{
    border: 1px solid #0e6ed0!important;
    color: #0e6ed0!important;
}

@media(max-width:675px){
	#main > div > div.cart-grid-body > div.cart-container > div > ul li.cart-item div.product-line-actions > div{
		display: flex;
    	justify-content: space-around!important;
	}
    #add-to-cart-or-refresh button.add-to-cart{
        padding: 16px 10px;
    }
}

/*Accessories Crosselling*/
.product-accessories.pm-csoc .product-miniature{
    padding: 10px;
    margin: 15px;
}
.product-accessories.pm-csoc .product-brand{
    font-size: 14px;
    line-height: 16px;
    margin-bottom:10px;
}
.product-accessories.pm-csoc .product-title{
    font-size: 1.2857142857rem;
    font-style: normal;
    font-weight: bold;
    text-transform: none;
}
.product-accessories.pm-csoc .mepa{
    font-size: 12px;
    line-height: 24px;
    color: #7C7D7E;
}
.product-accessories.pm-csoc img{
    width: 100%;
}
.product-accessories.pm-csoc .product-flags .product-flag{
    border-radius: 8px;
    font-weight: 500;
}
.product-accessories.pm-csoc .product-flags{
    padding-left: 10px;
    padding-top: 10px;
}
.products .product-miniature .product-flags .quote{
    border-radius: 8px;
    font-weight: 500;
    background: #1879d9;
}
.product-accessories.pm-csoc .product-price-and-shipping{
    font-size: 18px;
    line-height: 24px;
}
.product-accessories.pm-csoc .price{
    font-weight: bold;
}
.product-accessories.pm-csoc .regular-price{
    text-decoration: line-through;
    color: #7c7d7e;
}
.product-accessories.pm-csoc .step-title.h3{
    font-size: 24px;
    text-transform: none;
    line-height: 28px;
    color: #212426;
    font-weight: normal;
}

@media (max-width: 990px) {
    .product-accessories.pm-csoc .step-title.h3{
        font-size: 34px;
        line-height: 37px;
        padding: 60px 20px 0px 20px;
        text-align: center;
    }
}

/*REQUEST QUOTATIONS*/
#quote_summary{
    display: flex;
    justify-content: center;
}
.btn.btn-secondary, .btn.btn-primary{
    border-radius: 8px;
}
#roja45quotationspro-modal .modal-header{
    display: block;
}
.roja45quotationspro_button_container .qty{
    min-width: 88px;
}
.roja45quotationspro_button_container input.quote_quantity_wanted{
    border-radius: 14px 0 0 14px!important;
    border-right: 0px;
}
#roja45quotationspro_buttons_block > div.add-box-quote{
    width: 100%!important;
}
.roja45quotationspro_button_container .btn.add-to-quote{
    box-shadow: 0 3px 6px #21242648;
    border-radius: 14px;
    width: 100%;
    padding:14px 21px;
}
#roja45quotationspro_buttons_block > div.add{
    width:100%;
}
#request-summary-products div.flex-row.header > div.quote-delete, #request-summary-products div.request-product.flex-row > div.quote-delete {
    max-width: 70px;
}
.field-quote-bottom{
    max-width: 450px;
}
#module-roja45quotationspro-QuotationsProFront .quotationspro_request_column_container label.control-label{
    font-size: 16px;
    line-height: 26px;
    font-weight: 500;
}
#module-roja45quotationspro-QuotationsProFront .roja45quotationspro_button_container .quotationspro_request_column_container .col_quote_quantity{
    max-width: 80px;
}
.block-title-quotation{
    font-size: 15px;
}
.block-desc-quotation{
    font-size: 14px;
}
#quotationspro_request_form > div.table-responsive-sm > table.table-hos > tbody > tr{
    border-bottom: 1px solid #dee2e6;
}
#quotationspro_request_form > div.table-responsive-sm > table > tbody > tr td.flex-cell.quote-product-quantity input{
    padding: 12px 2px;
    text-align: center;
}
#quote_summary tbody td{
    vertical-align: text-bottom;
    border-top: 0px;
}
.form-request-roja{
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 60px;
}
.quotationspro_request.notes{
    background: #f8f8f8;
}
.quotationspro_request .customer-copy-checkbox{
    display: none;
}
#roja45_customer_quotes > div > div > div.flex-row.header > div.flex-cell{
    font-size: 12px;
    line-height: 14px;
    display: flex;
    padding: 10px 0px;
    align-items: center;
    justify-content: end;
    text-transform: initial;
}
@media (min-width: 991px){
    .request-summary-container{
        width: 975px!important;
    }

#request-summary-content .flex-table .flex-row .flex-cell{
        flex:0.2;
    }
    div.quote-product-description{
        flex:1!important;
    }
}



/*ACCOUNT PAGE*/
#module-iqitwishlist-view div.product-add-cart div.input-group-add-cart > input{
	flex:1;
}
span.link-item{
    display: flex;
    align-items: center;
    column-gap: 10px;
}

#content-wrapper .page-title {
    text-align: center;
}

.page-customer-account #content {
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
/*11-04-24*/
.hos-header-nav .link-header .dropdown:hover > div{
    opacity: 1!important;
    visibility: visible!important;
    transform: initial;
}
#quantity_wanted, #quote_quantity_wanted{
    border: 1px solid #e3e3e3;
}
.banner-btn .elementor-button{
    border-radius: 14px;
    width: 259px;
    height: 50px;
    background: #1879D9 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px rgba(33,36,38,0.48);
}

.banner2-btn .elementor-button{
    border-radius: 14px;
    width: 179px;
    height: 50px;
    background: #0D6ED0 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px rgba(33,36,38,0.48);
}
.banner2mobile-btn .elementor-button{
    border-radius: 14px;
    width: 295px;
    height: 50px;
    background: #0D6ED0 0% 0% no-repeat padding-box;
    box-shadow: 0px 3px 6px rgba(33,36,38,0.48);
}
.contattacimobile-btn .elementor-button{
    border-radius: 14px;
    width: 295px;
    height: 50px;
    background: #0D6ED0 0% 0% no-repeat padding-box;
}
.contattacidesktop-btn .elementor-button{
    border-radius: 14px;
    width: 179px;
    height: 50px;
    background: #0D6ED0 0% 0% no-repeat padding-box;
}


.accordion-border{
    border-top:1px solid #dadce0;
    border-bottom:1px solid #dadce0;
}
.elementor-accordion .elementor-accordion-title .elementor-accordion-icon .fa:before {
    content: "\f107";
}
.elementor-accordion .elementor-accordion-title{
    padding-left:0px;
    padding-right:0px;
}
.header-top .form-search-control{
    border-radius:8px !important;
}
.header-top{
    padding:0px;
}
#header .header-nav{
    max-height:40px;
}
.cbp-horizontal .cbp-tab-title{
    font-family: Ubuntu;
    font-weight: 600;
}
.cbp-horizontal > ul > li > a, .cbp-horizontal > ul > li > a:not([href]):not([tabindex]){
    border-left:0px;
}
.cbp-hrmenu .cbp-submenu-aindicator{
    font-size:8px;
}

@media screen and (max-width: 768px){
    #header .header-nav{
        background-color:#10223A;
    }
}

#iqitmegamenu-horizontal {
    padding:0 0 0 507%;
}
.product-miniature-default li.product-flag:first-child {
    border-radius: 8px;
    font-weight:500;
}
.product-miniature-default .product-flags {
    padding-left:10px;
    padding-top:10px;
}
.product-miniature-default .regular-price {
    font-size:16px;
    line-height:18px;
    padding-left:10px;
    color:#7C7D7E !Important;
}
.products-grid .product-miniature-default .product-brand {
    font-size:14px;
    line-height:16px;
    padding-top:10px;
}
.product-miniature-grid .product-functional-buttons {
    border-radius:8px;
}

.menu-topbar{
    column-gap: 20px;
    padding-left: 25px;
}
.menu-topbar > div.dropdown.show{
    color:#F55D3E;
}
.menu-topbar button{
    font-size: 14px;
    line-height: 16px;
    text-transform: uppercase;
    background: none;
    padding: 0px;
    border-color: transparent;
    color:#fff;
    font-family: Ubuntu;
    font-weight: 300;
}
.menu-topbar button:hover, .menu-topbar button:active, .menu-topbar button:focus{
    text-decoration: none;
    background:transparent!important;
    border-color:transparent;
    color:#F55D3E!important;
}
.menu-topbar .dropdown-menu .dropdown-item:hover{
    background: #f6fbff;
    color: #0074c5 !important;
    text-decoration: none;
}
.show>.btn-secondary.dropdown-toggle{
    background:transparent!important;
}
.cbp-hrmenu ul{
    line-height: 26px!important;
}

#wrapper .breadcrumb li:hover, #wrapper .breadcrumb li:hover > a{
    color: #0074C5!important;
    text-decoration: underline!important;
}
#wrapper .breadcrumb li:last-child{
    color: #0074C5!important;
}
/*PREVENTIVI*/
#module-roja45quotationspro-QuotationsProFront #quote_summary{
    width: 100% !important;
    max-width: 950px!important;
    margin:auto!important;
}
#module-roja45quotationspro-QuotationsProFront .quote_quantity_wanted {
    border:1px solid #dedede;
}
#module-roja45quotationspro-QuotationsProFront #request-summary-products div.quote-product-quantity.roja45quotationspro_button_container > div > div > input{
    width: 65px;
}
.quotationspro_request .customer-copy-checkbox{
    display: none;
}
#roja45_customer_quotes > div > div > div.flex-row.header > div.flex-cell{
    font-size: 12px;
    line-height: 14px;
    display: flex;
    padding: 10px 0px;
    align-items: center;
    justify-content: end;
    text-transform: initial;
}
@media (min-width: 991px){
    .request-summary-container{
        width: 975px!important;
    }

#request-summary-content .flex-table .flex-row .flex-cell{
        flex:0.2;
    }
    div.quote-product-description{
        flex:1!important;
    }
}



/*EXTRA PAGE*/
#authentication #inner-wrapper, #registration #inner-wrapper{
    max-width: 900px;
}



/**/
#product-user-btn > a.btn-prd-login{
    background: #f55d3e;
    color: #fff;
    padding: 10px 10px;
    width: 100%;
    display: block;
    border-radius: 5px;
    font-size: 16px;
    text-align: center;
}
#product-user-btn > a.btn-prd-login:hover{
    background: #7e0000;
}
.btn-accedi-prd{
    text-decoration: underline;
}




/*-----------*/
.mobile-menu__tab{
    min-height: unset;
    height: 35px;
}
.mobile-menu__header-wrapper{
    padding: 0 !important;
}
.elementor-displayBelowMobileMenu .elementor-accordion .elementor-accordion-item:last-child{
    padding-bottom: 50px;
}

#hos-iubenda-btn-wrapper{
    position: relative;
    z-index: 50;
}
#hos-whatsapp-btn-wrapper{
    position: relative;
    z-index: 50;
}
#hos-backtotop-btn-wrapper{
    position: relative;
    z-index: 50;
}

.login-container {
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.login-form-modern {
    padding: 74px 30px 30px 30px;
}

.login-form-modern .form-group {
    margin-bottom: 5px;
}

.login-form-modern label {
    display: block;
    margin-bottom: 5px;
    font-weight: normal;
}

.password-group {
    position: relative;
}

.password-toggle {
    cursor: pointer;
    color: #0078d7;
    background: transparent;
    border: none;
}

.login-button:hover {
    background-color: #d35400;
}

.forgot-password {
    margin-top: 15px;
}

.forgot-link {
    color: #0078d7;
    text-decoration: none;
    font-size: 14px;
}

.divider {
    border-bottom: 1px solid #e1e1e1;
    margin: 20px 0;
}

.no-account {
    margin-top: 15px;
}

.no-account p {
    margin-bottom: 5px;
    color: #555;
}

.create-account-link {
    color: #e67e22;
    font-weight: bold;
    text-decoration: none;
}

.login-illustration {
    background-image: url('../img/login-illustration.jpg');
    background-size: cover;
    background-position: center;
    height: 100%;
    min-height: 400px;
}

@media (max-width: 767px) {
    .login-form-modern {
        padding: 20px 15px;
    }
}

/* Stili login form per adattarlo allo stile del form di registrazione */

body#authentication #content-wrapper .page-title {
    padding:0;
    margin:0;
}
body#authentication .registration-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

body#authentication .title-registration {
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    font-weight: bold !important;
    color: #0074c5;
}

body#authentication .registration-content {
    max-width: 790px;
    padding: 35px 0 0 45px;
    margin: 0 auto;
    background-image: url('/modules/hoscustomregistration/views/img/login.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    height: 520px;
}

/* Assicura che i campi email e password abbiano la stessa larghezza */
.login-form-modern .form-group {
    width: 100%;
    max-width: 350px;
    position: relative;
}

.login-form-modern .password-field-container {
    width: 100%;
    position: relative;
}

/* Stili per il login form con lo sfondo della registration page */
body#authentication section.login-form {
    max-width: 800px;
    padding: 0px 0 0 45px;
    margin: 0 auto;
    background-image: url(/modules/hoscustomregistration/views/img/login.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    height: 440px;
}

/* Rimuovo i vecchi stili per evitare conflitti */
body#authentication .registration-container,
body#authentication .registration-content {
    background-image: none;
    padding: 0;
    height: auto;
}

/* Assicura che i campi email e password abbiano la stessa larghezza */
.login-form-modern .form-group {
    width: 100%;
    max-width: 350px;
    position: relative;
}

.login-form-modern .password-field-container {
    width: 100%;
    position: relative;
}

/* Responsive */
@media (max-width: 768px) {

    body#authentication section.login-form {
        max-width: 800px;
        /* padding: 0px 0 0 45px; */
        margin: 0 auto;
        background-image: none;
        padding: 0 !important;
        height: auto !important;
        position: relative;
    }
    
    .login-form-modern .form-group label{
        font-size: 17px;
    }
    
    /* Stile per il link "Hai dimenticato la password?" */
    .forgot-password .forgot-link {
        font-size: 15px;
    }

    .login-form-modern .no-account p{
        font-size: 15px;
    }
    .login-form-modern .create-account-link{
        font-size: 15px;
    }
}

/* INIZIO FILTRO SINISTRA */
/* ===== AMAZZING FILTER — forza apertura + bold figli quando il PADRE è selezionato ===== */

/* 0) Bold sull'elemento direttamente selezionato (padri o figli) */
#left-column #amazzing_filter .af_categories label.af-checkbox-label > input:checked ~ .name {
  font-weight: 700 !important;
}

/* 1) Quando il PADRE è selezionato (classe messa dal JS):
      - apri SEMPRE i contenitori delle figlie
      - neutralizza transizioni/clip/opacity usate dal tema
*/
#left-column #amazzing_filter .af_categories li.af-parent-checked > ul,
#left-column #amazzing_filter .af_categories li.af-parent-checked > .child-categories,
#left-column #amazzing_filter .af_categories li.af-parent-checked > .subitems,
#left-column #amazzing_filter .af_categories li.af-parent-checked > .af-subitems {
  display: block !important;
  height: auto !important;
  max-height: none !important;
  overflow: visible !important;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  pointer-events: auto !important;
  position: static !important;   /* se il tema usa absolute per nascondere */
  clip: auto !important;         /* se il tema usa clip-path/clip */
}

/* 2) Bold a TUTTE le figlie (e nipoti) del padre selezionato */
#left-column #amazzing_filter .af_categories li.af-parent-checked li label.af-checkbox-label .name,
#left-column #amazzing_filter .af_categories li.af-parent-checked li .name {
  font-weight: 600 !important;
}




/* FINE FILTRO SINISTRA */

/* INIZIO PRODOTTO NON DISPONIBILE CARRELLO */
/* =========================================================
   CARRELLO / CHECKOUT — Evidenze
   - c2-unbuyable  = prodotto NON acquistabile
   - c2-cat-ok     = riga evidenziata per categoria “abilitabile”
   ========================================================= */

/* Prodotto NON acquistabile (prioritario) */
.product-line-grid.c2-unbuyable,
.product-line-grid.c2-oos-line { /* alias retro-compatibilità */
  background: rgba(245, 93, 62, 0.08) !important;  /* rosa tenue trasparente */
  border: 2px solid #f55d3e !important;            /* bordo rosso */
  border-radius: 8px;
}

/* Badge esplicativo nella riga */
.c2-unbuyable-badge,
.product-line-grid.c2-oos-line .c2-oos-badge { /* alias retro-compatibilità */
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  margin-top: .25rem;
  padding: .25rem .5rem;
  border-radius: 6px;
  background: #ffe9e6;
  color: #7e0000;
  font-weight: 500;
  font-size: .9rem;
}
.c2-unbuyable-badge::before,
.product-line-grid.c2-oos-line .c2-oos-badge::before { content: "⚠"; }

/* Input quantità “spento” quando non acquistabile */
.is-unbuyable-input,
.product-line-grid.c2-oos-line .js-cart-line-product-quantity.is-oos-input { /* alias */
  opacity: .55;
  cursor: not-allowed;
}

/* Categoria “abilitabile” (verde tenue) */
.product-line-grid.c2-cat-ok {
  background: rgba(0, 128, 0, 0.06) !important; /* verde molto leggero */
  border-radius: 8px;
}

/* Se è sia cat-ok che unbuyable → prevale il rosso (non acquistabile) */
.product-line-grid.c2-cat-ok.c2-unbuyable {
  background: rgba(245, 93, 62, 0.08) !important;
  border-color: #f55d3e !important;
}




/* FINE PRODOTTO NON DISPONIBILE CARRELLO */

/* =========================================================
   HiSocialConnect - OTP / Magic Link (Override pulito)
   File: themes/warehousechild/assets/css/custom.css
   ========================================================= */

/* ===== 1) BOTTONI OTP + MAGIC LINK (solo nella pagina login) ===== */

#authentication .hi-social-connect-buttons-block{
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;

  width: 100% !important;
  max-width: 420px !important;          /* come la textbox */
  margin: 12px auto 0 auto !important;  /* centrato nella colonna */
  box-sizing: border-box !important;
}

#authentication .hi-social-connect-button{
  border: 1px solid #F55D3E !important;
  color: #0074c5 !important;
  background: none !important;

  height: 32px !important;
  padding: 0 8px !important;
  font-size: 12px !important;

  flex: 1 1 0 !important;
  width: 0 !important;                 /* forza metà/metà */
  max-width: none !important;
  box-shadow: none !important;
}

#authentication .hi-social-connect-button:hover{
  background: #FFE6D9 !important;
}

#authentication .hi-social-connect-button-inner{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

/* Icona (SVG come <img>): colore via filter */
#authentication .hi-social-connect-item-icon{
  position: static !important;
  width: 14px !important;
  height: 14px !important;

  filter: brightness(0) saturate(100%)
          invert(41%) sepia(92%)
          saturate(1237%) hue-rotate(334deg)
          brightness(98%) contrast(97%) !important;
}

#authentication .hi-social-connect-button-text{
  white-space: nowrap !important;
  font-size: 12px !important;
}

/* ===== 2) MOBILE: bottoni uno sotto l’altro ===== */
@media (max-width: 767px){

  #authentication .hi-social-connect-buttons-block{
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    margin-top: 16px !important;
  }

  #authentication .hi-social-connect-button{
    width: 100% !important;

    height: auto !important;          /* lascia respirare */
    /*min-height: 56px !important;       ✅ più alto */

    padding: 14px 16px !important;    /* ✅ spazio sopra/sotto */

    font-size: 15px !important;       /* più leggibile */
    line-height: 1.2 !important;
    border-radius: 10px !important;   /* più moderno */
  }

  #authentication .hi-social-connect-button-inner{
    gap: 12px !important;
  }

  #authentication .hi-social-connect-item-icon{
    width: 20px !important;
    height: 20px !important;
  }

  #authentication .hi-social-connect-button-text{
    font-size: 15px !important;
  }
}


/* ===== 3) POPUP OTP + MAGIC LINK (Magnific Popup) ===== */

.mfp-bg{
  background: rgba(0,0,0,.78) !important;
  opacity: 1 !important;
}

.mfp-content .mfp-white-popup{
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #fff !important;
  padding: 0 !important;
  box-shadow: 0 18px 60px rgba(0,0,0,.28) !important;
}

.hi-social-connect-otp-modal-header,
.hi-social-connect-magic-link-modal-header{
  background: #0074c5 !important;
  padding: 18px 22px !important;
}

.c2-hsc-modal-header{
  display: flex !important;
  align-items: flex-start !important;
  gap: 6px !important;
}

.c2-hsc-modal-icon{
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  filter: brightness(0) invert(1);
}

.c2-hsc-modal-header h2{
  margin: 0 !important;
  color: #fff !important;
  font-size: 22px !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
}

.hi-social-connect-otp-modal-body,
.hi-social-connect-magic-link-modal-body{
  padding: 18px 22px 8px 22px !important;
}

.hi-social-connect-otp-modal-footer,
.hi-social-connect-magic-link-modal-footer{
  padding: 10px 22px 22px 22px !important;
}

.hi-social-connect-action-buttons{
  margin-top: 2px !important;
}

.mfp-wrap .mfp-close{
  color: #fff !important;
  opacity: 1 !important;
  font-size: 44px !important;
  line-height: 44px !important;
  width: 56px !important;
  height: 56px !important;
  right: 10px !important;
  top: 6px !important;
}

/* =========================================================
   HiSocialConnect - OTP/MagicLink dentro POPUP login (hospopuplogin)
   Target: #hos-popup-login
   Desktop: affiancati | Mobile: in colonna
   ========================================================= */

/* ===== 0) CARD POPUP (solo estetica/struttura) ===== */
#hos-popup-login.open{
  width: 600px !important;
  height: 400px !important;
  border-radius: 22px !important;
  box-shadow: 0 18px 60px rgba(0,0,0,.28) !important;
  overflow: hidden !important;
}

/* IMPORTANTISSIMO:
   il padding NON va su #content.page-content (che contiene anche il titolo),
   altrimenti il titolo non potrà mai arrivare ai bordi.
*/
#hos-popup-login.open #content.page-content{
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Titolo: header blu FULL-WIDTH */
#hos-popup-login.open #hos-popup-title{
  display: block !important;
  width: 600px !important;
  margin: 0 !important;
  box-sizing: border-box !important;

  padding: 18px 22px !important;
  background: #0074c5 !important;
  color: #fff !important;

  font-weight: 700 !important;
  font-size: 22px !important;
  line-height: 1.15 !important;
  text-align: left !important;
}

/* “Respiro” e allineamento del contenuto SOTTO al titolo */
#hos-popup-login.open .login-form,
#hos-popup-login.open .hi-social-connect-buttons-block,
#hos-popup-login.open hr,
#hos-popup-login.open .no-account{
  max-width: 520px !important;     /* cambia qui se vuoi più stretto/largo */
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 22px !important;
  padding-right: 22px !important;
  box-sizing: border-box !important;
}

/* Spazio in fondo al popup (senza toccare il titolo) */
#hos-popup-login.open .no-account{
  padding-bottom: 18px !important;
}


/* ===== 1) BOTTONI OTP + MAGIC LINK (Desktop affiancati) ===== */
#hos-popup-login .hi-social-connect-buttons-block{
  display: flex !important;
  flex-direction: row !important;          /* ✅ affiancati */
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;

  width: 100% !important;
  max-width: 420px !important;             /* allineato alla textbox */
  margin: 12px auto 0 auto !important;
  box-sizing: border-box !important;
}

#hos-popup-login .hi-social-connect-button{
  flex: 1 1 0 !important;
  width: 0 !important;                     /* ✅ metà/metà */
  border: 1px solid #F55D3E !important;
  color: #0074c5 !important;
  background: none !important;

  height: 32px !important;
  padding: 0 8px !important;
  font-size: 12px !important;
  line-height: 1 !important;
  border-radius: 6px !important;
  box-shadow: none !important;
}

#hos-popup-login .hi-social-connect-button:hover{
  background: #FFE6D9 !important;
}

#hos-popup-login .hi-social-connect-button-inner{
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
}

#hos-popup-login .hi-social-connect-item-icon{
  position: static !important;
  width: 14px !important;
  height: 14px !important;

  filter: brightness(0) saturate(100%)
          invert(41%) sepia(92%)
          saturate(1237%) hue-rotate(334deg)
          brightness(98%) contrast(97%) !important;
}

#hos-popup-login .hi-social-connect-button-text{
  white-space: nowrap !important;
  font-size: 12px !important;
}


/* =========================================================
   FIX MOBILE - Popup login (NON tocca desktop)
   ========================================================= */
@media (max-width: 767px){

  /* Card popup: responsive */
  #hos-popup-login.open{
    width: 92vw !important;
    max-width: 92vw !important;
    height: auto !important;
    max-height: 88vh !important;
    overflow: hidden !important;  /* il contenuto scrolla dentro */
    border-radius: 18px !important;
  }

  /* Titolo: full width della card */
  #hos-popup-login.open #hos-popup-title{
    width: 100% !important;        /* IMPORTANTISSIMO */
    padding: 16px 16px !important;
    font-size: 20px !important;
  }

  /* Contenuto sotto al titolo: fluido */
  #hos-popup-login.open .login-form,
  #hos-popup-login.open .hi-social-connect-buttons-block,
  #hos-popup-login.open hr,
  #hos-popup-login.open .no-account{
    max-width: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Se diventa troppo alto: scroll sul contenuto */
  #hos-popup-login.open #content.page-content{
    max-height: 88vh !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  /* (Opzionale) form: riduco un filo la griglia bootstrap che su mobile “spacca” */
  #hos-popup-login.open .login-form .col-md-4,
  #hos-popup-login.open .login-form .col-md-8{
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  #hos-popup-login.open .login-form label{
    margin-bottom: 6px !important;
  }

  #hos-popup-login .hi-social-connect-button{
    min-height: 52px !important;
    height: auto !important;
    padding: 14px 14px !important;   /* ↑ spazio verticale */
    line-height: 1.2 !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
  }

  #hos-popup-login .hi-social-connect-button-inner{
    padding-top: 2px !important;
    padding-bottom: 2px !important;
  }

    /* Link registrazione più grande */
  #hos-popup-login .no-account a{
    font-size: 16px !important;
    font-weight: 600 !important;
    line-height: 1.25 !important;
    display: inline-block !important;
    padding: 8px 0 !important;
  }

  #hos-popup-login .btn.btn-secondary, .btn.btn-primary{
    border-radius: 8px;
    font-size: medium !important;
}

}



/* ===== 3) Spaziature sotto bottoni e sezione finale ===== */
#hos-popup-login hr{
  margin: 18px 0 14px 0 !important;
}

#hos-popup-login .no-account{
  margin-bottom: 10px !important;
}

/* =========================================================
   Popup condivisione bando - pagina prodotti bando
   ========================================================= */

/* Popup condivisione bando - pagina prodotti bando */
#c2pb-share-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 9998;
}

#c2pb-share-popup {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
  width: 650px;
  max-width: 95%;
}

.c2pb-share-box {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
}

.c2pb-share-header {
  background: #0B4B99;
  padding: 30px;
  text-align: center;
  position: relative;
}

.c2pb-share-title {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}

.c2pb-share-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  background: red;
  border-radius: 50%;
  border: none;
  cursor: pointer;
}

.c2pb-share-close span {
  position: absolute;
  width: 20px;
  height: 3px;
  background: #fff;
  top: 20px;
  left: 12px;
}

.c2pb-share-close span:first-child {
  transform: rotate(45deg);
}

.c2pb-share-close span:last-child {
  transform: rotate(-45deg);
}

.c2pb-share-body {
  padding: 25px;
}

.c2pb-share-row {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.c2pb-share-input {
  flex: 1;
  height: 50px;
  border-radius: 12px;
  border: 2px solid #DFF1FF;
  padding: 10px;
}

.c2pb-share-btn {
  background: #F66D51;
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 10px 20px;
  font-weight: 600;
}

.c2pb-share-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.c2pb-share-whatsapp {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.c2pb-share-whatsapp-icon {
  width: 50px;
  height: 50px;
  background: #25D366 url("/modules/addtocartfromurl/views/img/whatsapp.png") center center no-repeat;
  background-size: 50px 50px;
  border-radius: 10px;
}

.c2pb-share-btn.is-success {
  background: #31C192 !important;
  color: #fff;
}


/* =========================================================
   FINE Popup condivisione bando - pagina prodotti bando
   ========================================================= */
