/* CONTENITORE PRINCIPALE */
.blog-wrapper {
  max-width: 1290px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #fff;
  margin-top: 20px;
}

/* TITOLO */
.blog-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
}

/* GRID 4 COLONNE */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
}

/* CARD */
.blog-card {
  background: #fff;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* IMMAGINE */
.blog-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* CONTENUTO */
.blog-content {
  padding: 15px;
}

/* TITOLO ARTICOLO */
.blog-card-title {
  font-size: 16px;
  margin-bottom: 10px;
}

.blog-card-title a {
  text-decoration: none;
  color: #222;
}

/* DATA */
.blog-date {
  font-size: 13px;
  color: #777;
  margin-bottom: 10px;
}

/* LINK */
.blog-read-more {
  font-size: 14px;
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .blog-grid {
    grid-template-columns: 1fr;
  }
}







:root {
  --gradient-start: 0%;
}



/* Base styles (ancora & button) */
.bandini-custom-add-to-cart a.button.add_to_cart_button.product_type_simple,
.bandini-custom-add-to-cart a.button.add_to_cart_button.product_type_simple.ajax_add_to_cart,
.bandini-custom-add-to-cart button.single_add_to_cart_button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 10px 20px;
	border-radius: 30px;
	background-color: color-mix(in srgb, #19615A 10%, transparent);
	color: #000;
	font-weight: 500;
	text-decoration: none;
	overflow: hidden;
	transition: background-size 0.4s ease, border-color 0.3s ease, color 0.3s ease;

	/* Backgrounds */
	background-image:
		radial-gradient(circle, #19615A 50%, transparent 51%),
		linear-gradient(to right, #19615A 0%, #19615A 100%);
	background-repeat: no-repeat;
	background-position:
		-7px center,
		left top;
	background-size:
		51px 51px,
		var(--gradient-start) 100%;
	padding-left: 60px; /* spazio per l'icona */
}

/* Hover */
.bandini-custom-add-to-cart a.button.add_to_cart_button.product_type_simple:hover,
.bandini-custom-add-to-cart a.button.add_to_cart_button.product_type_simple.ajax_add_to_cart:hover,
.bandini-custom-add-to-cart button.single_add_to_cart_button:hover {
	background-size:
		45px 45px,
		100% 100%;
	border-color: #fff;
	color: #fff;
	background-image:
		radial-gradient(circle, #19615A 50%, transparent 51%),
		linear-gradient(to right, #19615A 0%, #19615A 100%);
}

/* Icona base (solo per <a> dei loop: usa ::before con Font Awesome) */
.bandini-custom-add-to-cart a.button.add_to_cart_button.product_type_simple::before,
.bandini-custom-add-to-cart a.button.add_to_cart_button.product_type_simple.ajax_add_to_cart::before {
	content: '\f07a'; /* Font Awesome cart icon */
	font-family: "Font Awesome 5 Free";
	font-weight: 900;
	font-size: 16px;
	position: absolute;
	left: 9px;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	z-index: 1;
}

/* Stato loading (solo anchor ajax) */
.bandini-custom-add-to-cart a.button.add_to_cart_button.product_type_simple.ajax_add_to_cart.loading::before {
	content: '\e01c'; /* WooCommerce loading icon */
	font-family: WooCommerce;
	font-weight: 400;
	font-size: 16px;
	left: 11px;
	color: #fff;
	animation: spin 2s linear infinite;
}

/* Stato added (solo anchor ajax) */
.bandini-custom-add-to-cart a.button.add_to_cart_button.product_type_simple.ajax_add_to_cart.added::before {
	content: '\e017'; /* WooCommerce added icon */
	font-family: WooCommerce;
	font-weight: 400;
	font-size: 16px;
	left: 11px;
	color: #fff;
}

/* Rimuovi ::after di WooCommerce (solo scope) */
.bandini-custom-add-to-cart a.button.add_to_cart_button.product_type_simple::after,
.bandini-custom-add-to-cart a.button.add_to_cart_button.product_type_simple.ajax_add_to_cart::after,
.bandini-custom-add-to-cart a.button.add_to_cart_button.product_type_simple.ajax_add_to_cart.loading::after,
.bandini-custom-add-to-cart a.button.add_to_cart_button.product_type_simple.ajax_add_to_cart.added::after,
.bandini-custom-add-to-cart button.single_add_to_cart_button::after {
	content: none !important;
	display: none !important;
}

/* Testo interno (se c'è <span>) */
.bandini-custom-add-to-cart a.button.add_to_cart_button.product_type_simple span,
.bandini-custom-add-to-cart a.button.add_to_cart_button.product_type_simple.ajax_add_to_cart span,
.bandini-custom-add-to-cart button.single_add_to_cart_button span {
	flex: 1;
	text-align: left;
	padding-left: 20px;
	z-index: 2;
	white-space: nowrap;
}

.elementor.elementor-9 {
  background: #fff;
  border-radius: 4px;
  padding: 1rem;
}

.elementor-widget-sidebar ul {
  margin: 3rem;
  padding-left: 0;
  list-style: none;
}

.elementor-widget-sidebar li {
  position: relative;
  padding-left: 18px;
  font-size:14px;
  line-height:26px;
  margin-bottom:1rem;
}

.elementor-widget-sidebar li::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
}

.widget-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
}

.js-product.item-inner {
  background: #fff;
  padding: 1rem;
  border-radius: 6px;
}

.row.row-product {
  background: #fff;
  border-radius: 6px;
}

#description {
  background: #fff;
  padding: 2rem;
  border-radius: 6px;
}

.bandini-description{
    margin-top:2rem;
}

.container {
    max-width:1290px;
    padding-left: 0;
    padding-right: 0
}


@media (max-width: 1024px) {
	.container,
	.container-fluid {
		padding-right: 20px;
		padding-left: 20px;
	}


}

@media (max-width: 767px) {
	.container,
	.container-fluid {
		padding-right: 10px;
		padding-left: 10px;
	}
}

h1.titolocat {
  font-weight: 400;
}

.category-description,
.category-additional-description {
  margin-bottom: 30px;
  font-weight: 400;
  color: #000;
  letter-spacing: 0.05rem;
  line-height: 2.6rem;
  font-size: 1.4rem
}
.category-additional-description {
  font-size: 1.2rem;
}

.nav-products-list-top {
  display: none;
}

.bandini-outofstock-button {
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  font-style: normal;
  line-height: 1;
  letter-spacing: -0.2px;

  display: inline-block;
  padding: 0.618em 1em;
  margin: 0;

  color: #515151;
  background-color: #fff;

  border: 2px solid #19615A;
  border-radius: 30px;

  cursor: pointer;
  text-decoration: none;

  transition: all 0.2s;
}