.thumbnail-top img{
width:100%;
/* margin-top: 20px;*/
}
.addtocartattrproductlist .with-quantity-field .add-to-cart  {
padding: 10px;
}

.btn-primary.disabled:hover, .btn-primary:disabled:hover {
    background-color: #1e715c;
}

.pagination .current a {
    color: #1e715c;
}

div#cart-subtotal-products span.value {
    display: none !important;
}

div#js-product-list-header {
    display: none !important;
}

div#subcategories {
    display: none !important;
}


.product-line-info.product-price.h5 .current-price .price {
    display: none !important;
}

.page-content.page-order-confirmation.card {
    display: none !important;
}

.highlighted-informations.no-variants {
    display:none!important;
}

#wrapper {
    background: #ffffff;
}

#header .header-nav {
    position: fixed;
    bottom: 0;
    z-index: 1000;
    width: 100%;
    background-color: white;
    border-top: 1px solid #eee;
}

section#js-checkout-summary {
    display: none !important;
}

/*#header .header-nav .cart-preview.active {
    background: #1e715c;
}*/

#header .header-nav .blockcart {
    height: 50px;
}

.tastohome {
    width: 55px;
    text-align: center;
    padding: .75rem;
    /*background: #1e715c;*/
    height:50px;
}

.tastohome a {
    color: white !important;
}

/* Disabilita la tendina dei risultati di ricerca */
ul#ui-id-1 {
  display: none !important;
}

.block-categories {
    display: none !important;
}

#authentication nav.breadcrumb {
    display: none;
}

/* Stile POTENZIATO per centrare il logo nella pagina di login */
.login-logo-container {
  display: flex;
  justify-content: center; /* Comanda l'allineamento orizzontale al centro */
  margin-bottom: 2rem;
}

body#authentication {
    text-align: center;
}

select.form-control.form-control-select.attribute_group.addtocartattrproductlist-attribute-value {
    width: 100%;
    text-align: center;
}

/*.js-product.product.col-xs-12.col-sm-6.col-xl-4 {
    box-shadow: 2px 2px 5px rgba(0.1, 0.1, 0.1, 0.1);
    margin-bottom: 25px;
}*/

.btn-primary, .btn-primary:hover {
    color: #fff;
    /*background-color: #559808;*/
    border-color: transparent;
}

.btn-primary.active.focus, .btn-primary.active:focus, .btn-primary.active:hover, .btn-primary:active.focus, .btn-primary:active:focus, .btn-primary:active:hover, .open>.btn-primary.dropdown-toggle.focus, .open>.btn-primary.dropdown-toggle:focus, .open>.btn-primary.dropdown-toggle:hover {
    color: #fff;
    background-color: #5f8335!important;
    border-color: transparent;
}

.btn-primary.disabled:hover, .btn-primary:disabled:hover {
    background-color: #5f8335!important;
}

.product-line-grid-right .cart-line-product-actions, .product-line-grid-right .product-price {
    line-height: 20px;
    color: #232323;
}

.btn-primary.active, .btn-primary:active, .open>.btn-primary.dropdown-toggle {
    color: #fff;
    background-color: #5f8335!important;
    border-color: transparent;
    background-image: none;
}

.block-categories {
    display: none !important;
}

div#menu-icon {
    display: none !important;
}

.row.sort-by-row {
    display: none !important;
}

/*.product-variants.js-product-variants.addtocartattrproductlist-product-variants {
    margin-bottom: 30px;
}*/

.product-miniature .thumbnail-container .product-thumbnail img {
    border-bottom-right-radius: 20px;
    border-bottom-left-radius: 20px;
  }
  
  
  
  
/*Paola 14_01_2025*/

/*Home*/
#header .logo {
    max-width: 100px;
}
body {
    font-family: Poppins, sans-serif;
}
#wrapper {
    padding-bottom: 50px;
}
.products-selection {
    margin-bottom: 10px;
}

.btn-primary, .btn-primary:hover, .btn-primary:active, .btn-primary:focus {
    background-color: #417505;
}
#header .header-nav .cart-preview.active {
    background: #417505;
}
#header a:hover {
    color: #417505;
    text-decoration: none;
}
.pagination .current a {
    color: #417505;
}
a {
    color: #325a04;
}

.tastohome {
    background: #417505;
}




.h1, .h2, .h3 {
    font-weight: 500;
}
.h5, .h6 {
    font-weight: 500;
}
.pagination a {
    font-weight: 500;
}
.addtocartattrproductlist-product-variants .product-variants-item .control-label{
    font-size:14px;
}
select.form-control.form-control-select.attribute_group.addtocartattrproductlist-attribute-value {
    font-size: 14px;
    color: #333333a6;
}

.js-product.product.col-xs-12.col-sm-6.col-xl-4 {
    box-shadow: 0px 0px 5px 5px rgb(0 0 0 / 4%);
}
#products .products, .featured-products .products, .product-accessories .products {
    margin: 0px;
}
.addtocartattrproductlist-product-variants .product-variants-item{
    text-align: center;
}
.product-miniature .product-title{
    margin-bottom:-10px;
}
#products .products, .featured-products .products, .product-accessories .products {
    column-count: 3;
    gap: 15px;
}
.js-product.product.col-xs-12.col-sm-6.col-xl-4 {
    flex-grow: 1;
    width: 32%;
}
.product-variants.js-product-variants.addtocartattrproductlist-product-variants {
    margin-bottom: 15px;
}

.product-miniature .thumbnail-container {
    margin-bottom: 5px;
}
.thumbnail-top img {
    margin-top: 15px;
}
#search_filters, #search_filters_brands, #search_filters_suppliers {
    background: #f7f7f7;
}
.custom-checkbox input[type=checkbox]+span {
    background-color: #fff;
}
#search_filters ul li{
    border-bottom:1px solid #eee;
    padding-top:5px;
    padding-bottom:5px;
}
#search_filters ul li:last-child{
    border-bottom:0px;
}


/*Carrello*/
#cart #wrapper {
    padding-top: 5%;
}
.card.cart-summary{
        background-color: #f7f7f7;
}
form .form-control-label {
    font-weight: 500;
}

#subcategories ul li .subcategory-name:hover, .block-categories .arrows .arrow-down:hover, .block-categories .arrows .arrow-right:hover, .block-categories .collapse-icons .add:hover, .block-categories .collapse-icons .remove:hover, .cart-grid-body a.label:hover {
    color: #417505;
}
#summary_error ol{
    margin-bottom: 0rem;
}
.card-block.checkout .btn-primary {
    margin-top: 15px;
}
#cart .checkout_form .input_wrapper{
    margin-bottom:0px;
}
#cart .checkout_form .input_wrapper p{
    margin-bottom:0px;
    margin-top: 5px;
}
#cart #customfieldsblock_summary {
    padding: 15px 15px;
    margin: 20px 0;
}

/*Checkout*/
#checkout #wrapper{
    padding-top:5%;
    padding-bottom:5%;
}
body#checkout section.checkout-step.-reachable.-current .step-number {
    background-color: #5f8335;
}
.done {
    color: #5f8335;
}
body#checkout section.checkout-step .address-item.selected {
    border: #355f04 3px solid;
}
.custom-radio input[type=radio]:checked+span {
    background-color: #335b04;
}
#header .top-menu a[data-depth="0"]:hover, a:hover {
    color: #325a04;
}
body#checkout a:hover {
    color: #264403;
}
body#checkout #header .header-nav {
    padding: 10px 0;
    border-top: 1px solid #eee;
}

body#checkout #header .header-nav .row{
    display: flex;
    align-content: center;
    align-items: center;
}

/*MEDIA*/
@media (max-width: 640px) {
.thumbnail-top img {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
}
    #category #left-column #search_filters_wrapper {
        margin-right: 0px;
        margin-left: 0px;
        display: block !important;
    }
      #category #left-column #search_filters .facet ul li {
        padding: 5px 15px;
    }
    .js-product.product.col-xs-12.col-sm-6.col-xl-4 {
    width: 100%;
}
.card.cart-summary {
    padding: 15px;
}

.card-block.checkout {
    padding-bottom: 5px;
}
body#checkout section.checkout-step.-current.-reachable.-complete .step-number, body#checkout section.checkout-step.-reachable.-current .step-number{
    margin-left:0px;
}
body#checkout section.checkout-step .step-title {
    font-size: 19px;
}
body#checkout section.checkout-step .radio-block {
    width: 100%;
}
body#checkout section.checkout-step .delivery-options .delivery-option{
    justify-content: left;
}
body#checkout #header .header-nav {
    padding: 0px 0;
}
body#checkout #header .header-nav .row {
    display: block;
}
#cart header-top.hidden-md-up{
    display:none;
}
#search_filter_controls{
    display:none;
}
.product-miniature .thumbnail-container {
    width: 100%;
}
#search_widget {
    margin-bottom: 0px;
}
}

@media (min-width: 641px) and (max-width: 767px) {
  .thumbnail-top img {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
}
    #category #left-column #search_filters_wrapper {
        margin-right: 0px;
        margin-left: 0px;
        display: block !important;
    }
   
    #category #left-column #search_filters .facet ul li {
        padding: 5px 15px;
    }
      .js-product.product.col-xs-12.col-sm-6.col-xl-4 {
    width: 100%;
}
.card.cart-summary {
    padding: 15px;
}
.card-block.checkout {
    padding-bottom: 5px;
}
body#checkout section.checkout-step.-current.-reachable.-complete .step-number, body#checkout section.checkout-step.-reachable.-current .step-number{
    margin-left:0px;
}
body#checkout section.checkout-step .step-title {
    font-size: 19px;
}
body#checkout section.checkout-step .radio-block {
    width: 100%;
}
body#checkout section.checkout-step .delivery-options .delivery-option{
    justify-content: left;
}
body#checkout #header .header-nav {
    padding: 0px 0;
}
body#checkout #header .header-nav .row {
    display: block;
}
#cart header-top.hidden-md-up{
    display:none;
}
#search_filter_controls{
    display:none;
}
.product-miniature .thumbnail-container {
    width: 100%;
}
#search_widget {
    margin-bottom: 0px;
}
}

@media (min-width: 768px) and (max-width: 991px ) {
    .thumbnail-top img {
    aspect-ratio: 1 / 1;
    width: 100%;
    height: auto;
}
#products .products, .featured-products .products, .product-accessories .products{
    margin-left: -15px;
    margin-right: -15px;
}
#left-column{
    padding-left:0px;
}
.addtocartattrproductlist .with-quantity-field .add-to-cart {
    padding: 10px 5px;
}
.btn-primary.add-to-cart .textFitted .testo, .btn-primary.add-to-cart .testo{
        display:none!important;
    }
      #category #left-column #search_filters .facet ul li {
        padding: 5px 15px;
    }
       .add-to-cart .testo{
        display:none;
    }
}

@media (min-width: 992px) {
 
 
 
 /*resize automatico testo btn add to cart*/

/* 1. Il contenitore (Bottone) */
.btn-primary.add-to-cart {
    position: relative;             /* Riferimento per l'icona */
    padding-left: 33px !important;  /* Creiamo spazio fisico vuoto a sinistra per l'icona */
    padding-right: 5px;             /* Spazio a destra */
    display: flex !important;
    align-items: center;            /* Centra verticalmente il contenuto */
    justify-content: center;
    overflow: hidden;               /* Per sicurezza */
}

/* 2. L'Icona (Fissa e intoccabile) */
.btn-primary.add-to-cart i {
    position: absolute;             /* Esce dal flusso normale */
    left: 10px;                     /* Si piazza fissa a sinistra */
    top: 50%;                       /* Si centra verticalmente */
    transform: translateY(-50%);    /* Correzione precisa del centro */
    font-size: 20px !important;     /* Forza la dimensione (così non diventa 6px) */
    width: auto !important;
    margin: 0 !important;
    z-index: 2;
}

/* 3. Il Testo (Il bersaglio dello script) */
.btn-primary.add-to-cart .testo {
    display: block !important;      /* Deve essere un blocco per essere misurato */
    width: 100%;                    /* Occupa tutto lo spazio rimasto (tolto il padding) */
    height: 100%;                   
    white-space: nowrap;            /* Impedisce di andare a capo */
    
    /* Centratura del testo */
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Fix specifico per la classe generata dallo script se presente */
.btn-primary.add-to-cart .textFitted {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100% !important;
}
.btn-primary.add-to-cart .textFitted .testo{
       font-size:11px
}

/*/resize automatico testo btn add to cart*/
 
}




