h1.product-title {
  text-transform: uppercase;
  color: var(--wp--custom--color--accent);
  font-size: var(--wp--preset--font-size--xx-large);
}

a.added_to_cart {
  font-size: var(--wp--preset--font-size--x-small);
  text-transform: uppercase;
  margin-top: 0;
}

.wp-block-button.wc-block-components-product-button .wc-block-components-product-button__button {
  border: 1px solid var(--wp--custom--color--accent) !important;
  width: auto; 

}


.wc-block-mini-cart {
  color: var(--wp--preset--color--base-content);
}

.wp-block-woocommerce-customer-account a .wc-block-customer-account__account-icon {
  width: 1.5rem;
  height: 1.5rem;
  min-height: 1.5rem;
  min-width: 1.5rem;
}

.wc-block-mini-cart__icon {
  width: 2rem;
  height: 2rem;
}

.wc-block-customer-account__account-icon {
  color: var(--wp--preset--color--base-content);
}
/* Mini cart */

.wc-block-mini-cart__badge {
  background-color: var(--wp--custom--color--primary);
  color: var(--wp--preset--color--primary-content);
  font-family: var(--wp--preset--font-family--heading);
  font-size: 16px;
  margin-left: -0.3rem;
}

.wp-block-navigation__responsive-container-open {
  color: var(--wp--preset--color--base-content);

}
/* END Mini cart */


li .wc-block-components-product-price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--wp--preset--spacing--30);
}

/* Stile per il prezzo originale */
.wc-block-components-product-price del {
  color: var(--wp--custom--color--accent);
  font-size: var(--wp--preset--font-size--x-small);
  font-weight: var(--wp--custom--font-weight--medium);
  text-decoration: line-through;

}

/* .wc-block-components-product-price ins {} */

.woocommerce.wc-block-product-results-count .woocommerce-result-count {
  font-family: var(--wp--preset--font-family--heading);
  font-size: var(--wp--preset--font-size--x-small);
  text-transform: uppercase;

}
.collection-product-title,
.collection-product-title a {
  text-transform: uppercase;
  letter-spacing: 0.025rem;
  text-overflow: ellipsis;
  width: calc(100%);     
  white-space: nowrap;
  overflow: hidden;
}


/* Pagination */

.wp-block-query-pagination,
.wp-block-query-pagination-numbers {
  margin: var(--wp--preset--spacing--70) 0 var(--wp--preset--spacing--50);
  font-family: var(--wp--preset--font-family--heading);
  font-size: var(--wp--preset--font-size--small);
}

.wp-block-query-pagination-numbers {
  display: flex;
  gap: var(--wp--preset--spacing--50);
}

.wp-block-query-pagination-numbers .page-numbers.current,
.wp-block-query-pagination-numbers a {

  border: 1px solid var(--wp--preset--color--base-6);
  padding: var(--wp--preset--spacing--small) var(--wp--preset--spacing--50);
}

.wp-block-query-pagination-numbers .page-numbers.current {
  background-color: var(--wp--custom--color--accent);
  border: 1px solid var(--wp--custom--color--accent);
  color: var(--wp--custom--color--primary-content);
}

.wp-block-query-pagination-numbers a:hover {
  border: 1px solid var(--wp--custom--color--accent);
  background-color: var(--wp--preset--color--base-2);
  color: var(--wp--custom--color--accent);
}

.wp-block-query-pagination-next:hover {
  color: var(--wp--custom--color--accent);
  font-weight: 700;
}

/* END Pagination */

/* Collection layout */
.wc-block-catalog-sorting_container,
.wp-block-woocommerce-product-collection {
  /* margin: var(--wp--preset--spacing--small) 0; */
  padding: var(--wp--preset--spacing--small) 0;

  border-top: 1px solid var(--wp--preset--color--base-4);

}

.wc-block-product-template__responsive.columns-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr));
  gap: var(--wp--preset--spacing--small);
}

.wc-block-product-template__responsive.columns-3 li {
  background-color: var(--wp--custom--color--base1);
  padding: var(--wp--preset--spacing--medium) var(--wp--preset--spacing--small);
}


.wc-block-product-template__responsive.columns-3 img {
  max-width: 100%;
  height: auto;
  max-height: 14rem; 
  object-fit: contain !important; 
  object-position: center; 
}

@media (min-width: 669px) {

  .wc-block-product-template__responsive.columns-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: var(--wp--preset--spacing--small);
  }

}

@media (min-width: 1098px) {

  .wc-block-product-template__responsive.columns-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr));

  }
}
/* END Collection layout */


/* Tabelle etichette colonne */

.woocommerce table.shop_table th {
  font-size: var(--wp--preset--font-size--x-small);
  font-family: var(--wp--preset--font-family--heading);
  font-weight: var(--wp--custom--font-weight--medium);

  text-transform: uppercase;
  letter-spacing: 0.025rem;
  color: var(--wp--custom--color--base5);
}

#add_payment_method #payment div.payment_box,
.woocommerce-cart #payment div.payment_box,
.woocommerce-checkout #payment div.payment_box
#add_payment_method #payment,
.woocommerce-cart #payment,
.woocommerce-checkout #payment {
  background-color: transparent;
}

.wc-block-featured-category .wp-block-button__link:hover {
  background-color: var(--wp--custom--color--primary);
  border-color: var(--wp--custom--color--primary);
}

.wc-block-featured-category .wp-block-button:hover a {
  color: var(--wp--custom--color--primary-content);

}