@font-face {
	font-weight: normal;
	font-style: normal;
	font-family: "woodmart-font";
	src: url("//pavonegaruti.it/2025/wp-content/themes/woodmart/fonts/woodmart-font-1-400.woff2?v=7.6.0") format("woff2");
}

:root {
	--wd-text-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-text-font-weight: 400;
	--wd-text-color: rgb(0,0,0);
	--wd-text-font-size: 14px;
	--wd-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-title-font-weight: 600;
	--wd-title-color: #242424;
	--wd-entities-title-font: "Poppins", Arial, Helvetica, sans-serif;
	--wd-entities-title-font-weight: 500;
	--wd-entities-title-color: #333333;
	--wd-entities-title-color-hover: rgb(51 51 51 / 65%);
	--wd-alternative-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-widget-title-font: "Cabin", Arial, Helvetica, sans-serif;
	--wd-widget-title-font-weight: 600;
	--wd-widget-title-transform: uppercase;
	--wd-widget-title-color: #333;
	--wd-widget-title-font-size: 16px;
	--wd-header-el-font: "Lato", Arial, Helvetica, sans-serif;
	--wd-header-el-font-weight: 700;
	--wd-header-el-transform: uppercase;
	--wd-header-el-font-size: 13px;
	--wd-primary-color: rgb(0,0,0);
	--wd-alternative-color: #fbbc34;
	--wd-link-color: #333333;
	--wd-link-color-hover: #242424;
	--btn-default-bgcolor: #f7f7f7;
	--btn-default-bgcolor-hover: #efefef;
	--btn-accented-font-family: "Cabin", Arial, Helvetica, sans-serif;
	--btn-accented-bgcolor: rgb(229,229,229);
	--btn-accented-bgcolor-hover: rgb(158,158,158);
	--wd-form-brd-width: 2px;
	--notices-success-bg: #459647;
	--notices-success-color: #fff;
	--notices-warning-bg: #E0B252;
	--notices-warning-color: #fff;
}
:is(.shop-content-area.wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg, :is(.shop-content-area.wd-builder-off,.wd-wishlist-content,.related-and-upsells,.cart-collaterals,.wd-shop-product,.wd-fbt) .wd-products-with-bg :is(.wd-product,.wd-cat) {
	--wd-prod-bg:rgb(255,255,255);
	--wd-bordered-bg:rgb(255,255,255);
}
.woodmart-woocommerce-layered-nav .wd-scroll-content {
	max-height: 223px;
}
.wd-popup.wd-age-verify {
	--wd-popup-width: 500px;
}
.wd-popup.wd-promo-popup {
	background-color: #111111;
	background-image: none;
	background-repeat: no-repeat;
	background-size: contain;
	background-position: left center;
	--wd-popup-width: 800px;
}
.page-title-default {
	background-color: #0a0a0a;
	background-image: none;
	background-size: cover;
	background-position: center center;
}
.footer-container {
	background-color: rgb(0,0,0);
	background-image: none;
}
html .product-image-summary-wrap .product_title, html .wd-single-title .product_title, html .product-image-summary-wrap .summary-inner > .price, html .product-image-summary-wrap .summary-inner > .price > .amount, html .product-image-summary-wrap .summary-inner > .price > .price > .amount, html .product-image-summary-wrap .summary-inner > .price ins .amount, html .wd-single-price .price, html .wd-single-price .price > .amount, html .wd-single-price .price > ins .amount {
	font-family: "Cabin", Arial, Helvetica, sans-serif;
	font-weight: 700;
	font-size: 18px;
	color: rgb(0,0,0);
}
.page .main-page-wrapper {
	background-color: rgb(237,237,237);
	background-image: none;
}
.woodmart-archive-shop:not(.single-product) .main-page-wrapper {
	background-color: rgb(237,237,237);
	background-image: none;
}
.single-product .main-page-wrapper {
	background-color: rgb(211,211,211);
	background-image: none;
}
.wd-popup.popup-quick-view {
	--wd-popup-width: 920px;
}
:root{
--wd-container-w: 1222px;
--wd-form-brd-radius: 0px;
--btn-default-color: #333;
--btn-default-color-hover: #333;
--btn-accented-color: #333;
--btn-accented-color-hover: #333;
--btn-default-brd-radius: 35px;
--btn-default-box-shadow: none;
--btn-default-box-shadow-hover: none;
--btn-accented-brd-radius: 35px;
--btn-accented-box-shadow: none;
--btn-accented-box-shadow-hover: none;
--wd-brd-radius: 0px;
--wd-cat-brd-radius: 0px;
}

@media (min-width: 1239px) {
.platform-Windows .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}

@media (min-width: 1222px) {
html:not(.platform-Windows) .wd-section-stretch > .elementor-container {
margin-left: auto;
margin-right: auto;
}
}


/* === 0. Hide SALE badge === */
.woocommerce span.onsale {
  display: none !important;
}/* 1. Always show description above Add to Cart */
.fade-in-block,
.hover-content-wrap,
.hover-content,
.hover-content-inner {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  max-height: none !important;
  height: auto !important;
  transform: none !important;
  pointer-events: auto !important;
  position: static !important;
  overflow: visible !important;
}

/* 2. Move description above cart button */
.product-grid-item .product-element-bottom {
  display: flex !important;
  flex-direction: column !important;
}
.product-grid-item .fade-in-block {
  order: 2;
  margin-top: 10px;
}
.product-grid-item .wd-add-btn {
  order: 3;
}

/* 3. Hide quick view, magnifier icons */
.product-image-link .wd-action-btn,
.wd-buttons,
.quick-view,
.wd-quick-view {
  display: none !important;
  visibility: hidden !important;
}

/* 4. Remove all hover transforms, backgrounds, shadows */
.product-grid-item,
.product-grid-item:hover,
.wd-product,
.wd-product:hover,
.product-wrapper,
.product-wrapper:hover {
  transform: none !important;
  transition: none !important;
  background-color: #ffffff !important;
  box-shadow: none !important;
  opacity: 1 !important;
  filter: none !important;
}

/* 5. Remove hover-induced extra layer */
.product-grid-item::before,
.product-grid-item::after,
.product-wrapper::before,
.product-wrapper::after,
.product-grid-item:hover::before,
.product-grid-item:hover::after,
.product-wrapper:hover::before,
.product-wrapper:hover::after {
  content: none !important;
  display: none !important;
  background: none !important;
  box-shadow: none !important;
  opacity: 0 !important;
  transition: none !important;
}

/* 6. Disable JS hover classes */
.wd-hover-fw-button,
.wd-hover-with-fade,
.hover-ready,
.hover-active,
.hover-enable,
.hover-enabled,
.hovered {
  background: none !important;
  box-shadow: none !important;
  transform: none !important;
  transition: none !important;
  pointer-events: auto !important;
}

/* 7. Prevent image zoom */
.product-image-link img,
.product-image-link:hover img {
  transform: none !important;
  transition: none !important;
}

/* 8. Ensure Add to Cart clickable */
.wd-add-btn,
.wd-add-btn * {
  pointer-events: auto !important;
}

/* 9. Style clean description text */
.hover-content-inner {
  margin-top: 10px !important;
  font-size: 14px !important;
  color: #444 !important;
  line-height: 1.4 !important;
}
/* 🔧 1. Remove hover image zoom effect and background overlays */
.wd-product:hover,
.product-wrapper:hover,
.wd-product.hover-ready:hover,
.product-grid-item:hover,
.product-grid-item .hover-img,
.product-grid-item .hover-img img {
  transform: none !important;
  box-shadow: none !important;
  background: none !important;
  transition: none !important;
  opacity: 1 !important;
  z-index: 1 !important;
}

/* ❌ 2. Completely hide the secondary hover image */
.product-grid-item .hover-img {
  display: none !important;
  visibility: hidden !important;
}

/* ❌ 3. Hide the Quick View button and magnifying icon */
.wd-buttons,
.quick-view,
.wd-quick-view-icon,
.product-image-link .wd-action-btn {
  display: none !important;
  visibility: hidden !important;
}

/* ✅ 4. Always show the description and place it above Add to Cart */
.product-element-bottom {
  display: flex;
  flex-direction: column;
}

.fade-in-block {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
  max-height: none !important;
  margin: 10px 0;
  order: 2;
}

.wd-add-btn {
  order: 3;
}

/* 🚫 5. Reset image container bottom margin that pushes layout */
.content-product-imagin {
  margin-bottom: 0 !important;
}
/* 🚫 Fully prevent hover image from loading or rendering at all */
.product-grid-item .hover-img,
.product-grid-item .hover-img img {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/* 💣 Completely disable .hover-img visibility and block JS interference */
.product-grid-item .hover-img,
.product-grid-item .hover-img img {
  display: none !important;
  visibility: hidden !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
  z-index: -9999 !important;
}

/* 🛑 Block JS from activating hover effects via class changes */
.product-grid-item.hover-ready:hover .hover-img,
.product-grid-item.hover-active:hover .hover-img {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
/* 🚫 1. Kill all theme + JS hover effects */
.wd-product:hover,
.product-grid-item:hover,
.product-wrapper:hover,
.wd-hover-fw-button:hover,
.wd-hover-with-fade:hover,
.hover-ready:hover,
.hover-active:hover,
.hover-enabled:hover,
.hovered:hover {
  background: #fff !important;
  box-shadow: none !important;
  outline: none !important;
  filter: none !important;
  transform: none !important;
  transition: none !important;
  opacity: 1 !important;
  z-index: auto !important;
}

/* 🧼 2. Reset child wrappers to prevent background flashes */
.product-wrapper,
.product-wrapper:hover {
  background: #fff !important;
  box-shadow: none !important;
  transition: none !important;
  opacity: 1 !important;
}

/* 💡 3. Force container stacking and prevent reflow flicker */
.product-grid-item,
.product-grid-item * {
  backface-visibility: hidden !important;
  perspective: none !important;
  will-change: auto !important;
}

/* 🚫 4. Completely suppress .hover-img again, in case JS reactivates it */
.hover-img,
.hover-img img {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  position: absolute !important;
  top: -9999px !important;
  left: -9999px !important;
  z-index: -9999 !important;
}
.wd-product-cats a {
    background-color: #000;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 8px;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
}
.product-element-bottom {
    display: flex;
    flex-direction: column;
}

.wd-product-cats {
    order: -1; /* Moves it above the title */
    margin-bottom: 8px; /* Optional spacing */
}

.wd-product-cats a {
    background-color: #000;
    color: #fff;
    padding: 4px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
}
.wd-product-cats a {
    background-color: #000;
    color: #fff;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    font-size: 10px; /* Smaller size */
    font-weight: bold;
    display: inline-block;
    text-decoration: none;
}
.wd-nav-tabs > li {
  border: 1px solid #ccc;
  border-radius: 50px; /* Rounded pill shape */
  padding: 0px 20px;
  margin: -25px;
	margin-bottom: 10px;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
}

.wd-nav-tabs > li.wd-active,
.wd-nav-tabs > li:hover {
  background-color: #000;
  border-color: #000;
}

.wd-nav-tabs > li .tab-label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.wd-nav-tabs > li.wd-active .tab-label,
.wd-nav-tabs > li:hover .tab-label {
  color: #fff;
}
.wd-nav-tabs.wd-style-underline .wd-nav-link::after {
  display: none !important;
}

.wd-nav-tabs .wd-nav-link {
  text-decoration: none !important;
  border: none !important;
}
/* Style single product Add to Cart button */
.single_add_to_cart_button.button.alt {
  background-color: #000 !important; /* solid black */
  color: #fff !important;            /* white text */
  border-radius: 0 !important;       /* squared edges */
  border: none !important;
  padding: 12px 24px;                /* optional: adjust size */
  text-transform: uppercase;
  font-weight: 600;
}

/* Hover effect */
.single_add_to_cart_button.button.alt:hover {
  background-color: #333 !important;
  color: #fff !important;
}
/* Target general horizontal dividers inside WooCommerce product pages */
.single-product hr,
.single-product .elementor-divider hr,
.single-product .woocommerce-product-details__short-description hr,
.single-product .woocommerce-tabs hr {
  border: none;
  border-top: 2px dotted #000000;
  width: 60vw;
  max-width: 60vw;
  margin-left: -50vw;
  left: 60%;
  position: relative;
}
/* Remove border and outline from the outer button container */
.variations_form .variable-items-wrapper .button-variable-item {
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
}

/* Also remove it when focused (keyboard nav) */
.variations_form .variable-items-wrapper .button-variable-item:focus {
  outline: none !important;
  box-shadow: none !important;
}

/* Optional: keep clean solid styling for inner span */
.variations_form .variable-items-wrapper .variable-item-span.variable-item-span-button {
  background-color: #000 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 0 !important;
}
/* Hide the default price above the button */
.single-product .product .summary .price {
  display: none !important;
}
.pill-tags {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
  margin-top: 4px;
}

.pill {
  display: inline-block;
  background-color: #eee;
  color: #555;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.65rem;
  line-height: 1;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 0.3px;
}

.pill:hover {
  background-color: #ddd;
  cursor: default;
}
/* REMOVE THE PRODUCT TABS PALAK PANEER */
.page-id-998 li[data-atts],
.page-id-998 li[data-atts] > a.wd-nav-link,
.page-id-998 li[data-atts] > a.wd-nav-link > .tab-label {
  all: unset !important;  /* Reset everything */
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  color: inherit !important;
  cursor: default !important;
  display: inline !important;
  border-radius: 0 !important;
}

/* Remove any pseudo-elements like before/after */
.page-id-998 li[data-atts]::before,
.page-id-998 li[data-atts]::after,
.page-id-998 li[data-atts] > a.wd-nav-link::before,
.page-id-998 li[data-atts] > a.wd-nav-link::after {
  content: none !important;
  display: none !important;
}
.page-id-998 li[data-atts] {
  display: none !important;
}
/*IMAGE PRODUCT SIZES REDUCED AND ARROW REMOVED*/
.woocommerce div.product div.images .woocommerce-product-gallery__image {
    max-width: 450px;
    margin: 0 auto;
}
.woocommerce div.product div.images img {
    width: 100% !important;
    height: auto !important;
    display: block;
}
/* Completely hide product gallery arrows in Woodmart */
.woocommerce div.product .wd-arrow-inner,
.woocommerce div.product .wd-arrow,
.woocommerce div.product .wd-carousel-arrows,
.woocommerce div.product .wd-swiper-btn {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}
.woocommerce-product-gallery__wrapper .wd-carousel-item {
  margin-right: 15px;
}

/* Remove margin from the last item to avoid extra space */
.woocommerce-product-gallery__wrapper .wd-carousel-item:last-child {
  margin-right: 0;
}
/* Hide default hover description block */
body.home .wd-more-desc {
  display: none !important;
}

/* Clamp short description to 3 lines */
body.home .custom-short-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.5;
  font-size: 14px;
  margin-top: 1px;
  color: #444;
  min-height: 4.5em;
}

/* Style pills inside short description */
body.home .custom-short-description .pill {
  background-color: #eee;
  border-radius: 20px;
  padding: 4px 10px;
  margin-right: 6px;
	margin-top: 15px;
  font-size: 9px;
  display: inline-block;
  white-space: nowrap;
}
/* Hide the original dotted line below the pills */
.product-element-bottom .fade-in-block {
  border-top: none !important; /* remove original dotted line */
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Add dotted border ABOVE the ingredients */
.product-element-bottom .custom-short-description {
  border-top: 1px dotted #999;
  padding-top: 12px;
  margin-top: 12px;
}
.product-element-bottom .fade-in-block {
    border: none !important;
    margin: 0 !important;
    padding: 0 !important;
    height: 0 !important; /* collapse space */
    overflow: hidden !important;
}
.product-grid-item .custom-short-description {
  position: relative !important;
  z-index: 10 !important;
  padding-bottom: 40px !important; /* increased from 20px to 40px */
  background: #fff;
}

.product-grid-item .pill-tags {
  position: relative;
  z-index: 10;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

/* Keep hover containers open */
.fade-in-block,
.hover-content,
.hover-content-inner,
.wd-more-desc,
.hover-content-wrap {
  height: auto !important;
  overflow: visible !important;
  position: static !important;
  z-index: auto !important;
}
.woocommerce-product-details__short-description {
  position: relative;
  overflow: hidden; /* impedisce agli elementi figli di uscire visivamente */
  max-width: 100%;  /* assicurati che non abbia larghezza maggiore del previsto */
}

.woocommerce-product-details__short-description hr.linea-dentro {
  width: 70%;
  margin: 15px auto;
  border: none;
  border-top: 1px solid #ccc;
  display: block;
}
/* Make product title on single product pages larger */
.woocommerce div.product .product_title {
  font-size: 2.5em; /* You can adjust this value */
  font-weight: bold;
}
/* 1. Kill the empty description container completely */
.wcz-product-long-desc.wcz-longdescdiv-none,
.wcz-product-long-desc.wcz-longdescdiv-none .wcz-inner {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 2. Remove space under product section */
.woocommerce div.product {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 3. Remove spacing on outer wrappers */
.single-product .site-main,
.single-product .content-area,
.single-product main,
.single-product .entry-content,
.single-product .product {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* 4. Kill any <div> that's empty and creating space */
.single-product div:empty {
  display: none !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* 5. Bonus: cross-sell spacing adjust if needed */
.woocommerce .cross-sells {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* Completely remove empty tab wrapper and its spacing */
.product-tabs-wrapper {
  display: none !important;
  margin: 0 !important;
  padding: 0 !important;
  height: 0 !important;
}
.search-button-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  position: relative;
}

.search-expand-btn {
  padding: 5px 16px;
  font-size: 12px;
  border: 2px solid #000;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  text-transform: uppercase;
  height: auto;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}


/* Barra nascosta di default */
.search-expand-form {
  opacity: 0;
  width: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  white-space: nowrap;
}

/* Barra visibile al click */
.search-button-wrapper.active .search-expand-form {
  opacity: 1;
  width: 220px;
}

/* Input */
.search-expand-form input {
  padding: 6px 10px;
  font-size: 13px;
  border: 1px solid #ccc;
  border-radius: 3px;
  width: 100%;
  box-sizing: border-box;
}
.woocommerce-variation-add-to-cart .price:before {
    display: none;
}
/* Nascondi il prezzo range solo nel quick view */
.elementor-lightbox .summary .price,
.dialog-widget .summary .price { display:none !important; }

/* Bottone principale nel quick view */
.elementor-lightbox .single_add_to_cart_button,
.dialog-widget .single_add_to_cart_button{
  width:100%;
  display:block;
  text-align:center;
  background:#000;
  color:#fff;
  border:0;
  border-radius:28px;
  padding:16px 22px;
  font-weight:700;
  letter-spacing:.02em;
}

/* Swatches/bottoni formato neri */
.elementor-lightbox .variable-item-span-button,
.dialog-widget .variable-item-span-button{
  background:#000; color:#fff; border-radius:14px; padding:8px 12px;
}
.elementor-lightbox .variable-item.selected .variable-item-span-button,
.dialog-widget .variable-item.selected .variable-item-span-button{
  outline:2px solid #000;
}

/* Spaziatura più ariosa */
.elementor-lightbox .summary { gap: 12px; }
/* Bottone nero nella card */
.pa-archive-atc{
  width:100%; display:block; text-align:center; cursor:pointer;
  background:#000; color:#fff; border:0; border-radius:18px;
  padding:14px 18px; font-weight:700; letter-spacing:.02em;
  transition:opacity .2s ease;
}
.pa-archive-atc:disabled{ opacity:.6; cursor:not-allowed; }
.pa-archive-atc.is-loading{ opacity:.6; pointer-events:none; }

/* Se vuoi nascondere eventuali link ATC standard nella card dei variabili */
.product.type-variable .add_to_cart_button{ display:none !important; }
/* Bottone nero nelle card */
.pa-archive-atc{
  width:100%; display:block; text-align:center; cursor:pointer;
  background:#000; color:#fff; border:0; border-radius:18px;
  padding:14px 18px; font-weight:700; letter-spacing:.02em;
  transition:opacity .2s ease;
}
.pa-archive-atc:disabled{ opacity:.6; cursor:not-allowed; }
.pa-archive-atc.is-loading{ opacity:.6; pointer-events:none; }

/* Evita doppioni di pulsanti standard */
.product.type-variable .add_to_cart_button{ display:none !important; }
/* ========== CARD / GRIGLIA (NON quick view) ========== */

/* --- Plugin Variation Swatches (testo) --- */
.products .product .variable-items-wrapper .variable-item:not(.selected) .variable-item-span-button{
  background:#fff !important;
  color:#000 !important;
  border:2px solid #000 !important;
  border-radius:8px !important;
  box-shadow:none !important;
}
.products .product .variable-items-wrapper .variable-item.selected .variable-item-span-button{
  background:#000 !important;
  color:#fff !important;
  border:2px solid #000 !important;
}
/* elimina eventuali effetti default */
.products .product .variable-items-wrapper .variable-item .variable-item-span-button::after{
  display:none !important;
}

/* --- Swatches nativi Woodmart (testo) --- */
.products .product .wd-swatches .wd-swatch{
  background:#fff !important;
  color:#000 !important;
  border:2px solid #000 !important;
  border-radius:8px !important;
}
.products .product .wd-swatches .wd-swatch.selected{
  background:#000 !important;
  color:#fff !important;
  border-color:#000 !important;
}

/* opzionale: un filo di spazio tra i bottoni */
.products .product .variable-items-wrapper .variable-item,
.products .product .wd-swatches .wd-swatch{ margin:4px 6px !important; }
/* DEFAULT nero SOLO se il wrapper NON ha già una selezione
   – compatibile anche dove i plugin usano aria-pressed/checked */
.products .product .variable-items-wrapper:not(.pa-has-selected):not(:has(.variable-item.selected, .variable-item.active, [aria-pressed="true"], [aria-checked="true"]))
  .variable-item:first-child .variable-item-span-button{
  background:#000 !important; color:#fff !important; border-color:#000 !important;
}
.products .product .wd-swatches:not(.pa-has-selected):not(:has(.wd-swatch.selected, .wd-swatch.active, [aria-pressed="true"], [aria-checked="true"]))
  .wd-swatch:first-child{
  background:#000 !important; color:#fff !important; border-color:#000 !important;
}
/* —— CARD/GRID: swatches SEMPRE squadrati —— */

/* Azzeriamo qualsiasi variabile di raggio usata dal tema dentro i wrapper swatches */
.products .product .variable-items-wrapper,
.products .product .wd-swatches{
  --wd-brd-radius: 0 !important;
}

/* Variation Swatches (testo) */
.products .product .variable-items-wrapper .variable-item,
.products .product .variable-items-wrapper .variable-item .variable-item-span-button,
.products .product .variable-items-wrapper .variable-item .variable-item-span{
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}
.products .product .variable-items-wrapper .variable-item .variable-item-span-button::before,
.products .product .variable-items-wrapper .variable-item .variable-item-span-button::after{
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
}

/* Swatches nativi Woodmart */
.products .product .wd-swatches .wd-swatch,
.products .product .wd-swatches .wd-swatch .wd-swatch-text{
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}
.products .product .wd-swatches .wd-swatch::before,
.products .product .wd-swatches .wd-swatch::after{
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
}

/* Ultima rete: qualsiasi discendente/pseudo dentro ai wrapper swatches */
.products .product .variable-items-wrapper *,
.products .product .variable-items-wrapper *::before,
.products .product .variable-items-wrapper *::after,
.products .product .wd-swatches *,
.products .product .wd-swatches *::before,
.products .product .wd-swatches *::after{
  border-radius: 0 !important;
}
/* Nascondi 'Svuota' finché non c'è una selezione esplicita nella card */
.products .product a.reset_variations { display:none !important; }
.products .product.pa-has-selected a.reset_variations,
.products .product .pa-has-selected a.reset_variations { display:inline-flex !important; }
/* === CARD/GRIGLIA: swatches ULTRA compatti su UNA riga === */

/* wrapper in riga, spaziature minime */
.products .product .variable-items-wrapper,
.products .product .wd-swatches{
  display:flex !important;
  flex-wrap: nowrap !important;
  align-items:center;
  gap:6px !important;                 /* ancora meno spazio tra chip */
}

/* chip: testo piccolo, padding ridotto, bordo sottile */
.products .product .variable-items-wrapper .variable-item .variable-item-span-button,
.products .product .variable-items-wrapper .variable-item.selected .variable-item-span-button,
.products .product .wd-swatches .wd-swatch .wd-swatch-text,
.products .product .wd-swatches .wd-swatch.selected .wd-swatch-text{
  font-size:12px !important;          /* prova 11px se serve ancora più piccolo */
  line-height:1 !important;
  padding:4px 8px !important;         /* riduci/accresci qui */
  border-width:1.5px !important;
  white-space:nowrap !important;
  min-width:auto !important;
  min-height:auto !important;
}

/* elimina margini/altezza fissi dei chip */
.products .product .variable-items-wrapper .variable-item,
.products .product .wd-swatches .wd-swatch{
  margin:0 !important;
  min-width:0 !important;
  min-height:0 !important;
}

/* su schermi molto stretti permetti la seconda riga */
@media (max-width: 430px){
  .products .product .variable-items-wrapper,
  .products .product .wd-swatches{ flex-wrap: wrap !important; }
}
/* HOME: card prodotto con raggio più piccolo (es. 10px) */
.home .wd-products .product-grid-item .product-wrapper{
  border-radius:10px !important;
}

/* taglia anche le parti interne (immagine/top) così non “sbordano” */
.home .wd-products .product-grid-item .product-wrapper .product-element-top,
.home .wd-products .product-grid-item .product-wrapper .product-image-link,
.home .wd-products .product-grid-item .product-wrapper .product-img,
.home .wd-products .product-grid-item .product-wrapper .product-thumbnail{
  border-radius:10px !important;
  overflow:hidden;
}

/* se il tema applica l’ombra sul wrapper esterno della card */
.home .wd-products .product-grid-item{
  border-radius:10px !important;
  overflow:visible; /* lascia le ombre, ma angoli più retti */
}
/* ================ KILL SWITCH HOVER/OMBRE WOODMART (CARD PRODOTTO) ================ */

/* 0) stesso raggio anche in hover (regolalo come vuoi) */
:root { --card-radius: 16px; }
.wd-products .product-grid-item,
.wd-products .product-grid-item .product-wrapper,
.wd-products .product-grid-item .product-element-top,
.wd-products .product-grid-item .product-image-link,
.wd-products .product-grid-item .product-thumbnail,
.wd-products .product-grid-item .product-img,
.wd-products .product-grid-item .product-image-link img,
.wd-products .product-grid-item .hover-mask,
.wd-products .product-grid-item .hover-content{
  border-radius: var(--card-radius) !important;
  overflow: hidden;
}

/* 1) azzera variabili di ombra del tema */
.wd-products .product-grid-item,
.wd-products .product-grid-item .product-wrapper{
  --wd-shadow: none !important;
  --wd-hover-shadow: none !important;
  --wd-box-shadow: none !important;
}

/* 2) niente trasformazioni/transizioni/filtri (normale e hover) */
.wd-products .product-grid-item .product-wrapper,
.wd-products .product-grid-item .product-element-top,
.wd-products .product-grid-item .product-image-link,
.wd-products .product-grid-item .product-image-link img,
.wd-products .product-grid-item .hover-mask,
.wd-products .product-grid-item .hover-content,
.wd-products .product-grid-item:hover .product-wrapper,
.wd-products .product-grid-item:hover .product-element-top,
.wd-products .product-grid-item:hover .product-image-link,
.wd-products .product-grid-item:hover .product-image-link img,
.wd-products .product-grid-item:hover .hover-mask,
.wd-products .product-grid-item:hover .hover-content{
  transition: none !important;
  transform: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

/* 3) rimuovi box-shadow/dropshadow ovunque (normale e hover) */
.wd-products .product-grid-item,
.wd-products .product-grid-item * ,
.wd-products .product-grid-item:hover,
.wd-products .product-grid-item:hover * {
  box-shadow: none !important;
}

/* 4) spegni overlay/pseudo che creano effetto in hover */
.wd-products .product-grid-item::before,
.wd-products .product-grid-item::after,
.wd-products .product-grid-item .product-wrapper::before,
.wd-products .product-grid-item .product-wrapper::after,
.wd-products .product-grid-item .product-element-top::before,
.wd-products .product-grid-item .product-element-top::after,
.wd-products .product-grid-item .product-image-link::before,
.wd-products .product-grid-item .product-image-link::after{
  content: none !important;
}

/* 5) alcune classi “hover shadow” del tema */
.wd-hover-shadow,
.wd-hover-base .product-wrapper,
.hover-shadow{
  box-shadow: none !important;
  transform: none !important;
}
/* Rendi le pagine categoria WooCommerce full width */
body.tax-product_cat .main-page-wrapper > .container,
body.post-type-archive-product .main-page-wrapper > .container {
  max-width: 100% !important;
  width: 100% !important;
  padding-left: 15px !important;
  padding-right: 15px !important;
}
/* ============================
   Variation buttons – Woodmart / WVS
   ============================ */

/* Stato di default (NON selezionato) */
.single-product
.variable-items-wrapper.button-variable-items-wrapper
.variable-item.button-variable-item {
  background: #fff !important;
  color: #111 !important;
  border: 2px solid #111 !important;
  box-shadow: none !important;
}

/* Forza anche gli elementi interni del bottone */
.single-product .variable-items-wrapper .variable-item.button-variable-item .variable-item-contents,
.single-product .variable-items-wrapper .variable-item.button-variable-item .variable-item-span,
.single-product .variable-items-wrapper .variable-item.button-variable-item .variable-item-span.variable-item-span-button {
  background: transparent !important;
  color: #111 !important;
  box-shadow: none !important;
}

/* SELEZIONATO */
.single-product .variable-items-wrapper .variable-item.button-variable-item.selected,
.single-product .variable-items-wrapper .variable-item.button-variable-item[aria-checked="true"],
.single-product .variable-items-wrapper .variable-item.button-variable-item.wvs-selected {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

.single-product .variable-items-wrapper .variable-item.button-variable-item.selected .variable-item-contents,
.single-product .variable-items-wrapper .variable-item.button-variable-item.selected .variable-item-span,
.single-product .variable-items-wrapper .variable-item.button-variable-item[aria-checked="true"] .variable-item-span,
.single-product .variable-items-wrapper .variable-item.button-variable-item.wvs-selected .variable-item-span {
  color: #fff !important;
  background: transparent !important;
}

/* Hover (opzionale): inversione sui non selezionati */
.single-product
.variable-items-wrapper .variable-item.button-variable-item:not(.selected):not([aria-checked="true"]):not(.wvs-selected):hover {
  background: #111 !important;
  color: #fff !important;
}

/* Stato disabilitato (opzionale) */
.single-product .variable-items-wrapper .variable-item.button-variable-item.disabled,
.single-product .variable-items-wrapper .variable-item.button-variable-item.is-disabled {
  background: #f2f2f2 !important;
  color: #aaa !important;
  border-color: #ddd !important;
  cursor: not-allowed !important;
  opacity: 0.6 !important;
}

/* (Opzionale) angoli squadrati */
.single-product .variable-item.button-variable-item,
.single-product .variable-item-span.variable-item-span-button {
  border-radius: 0 !important;
}
/* NIENTE inversione colori al passaggio del mouse
   per i bottoni NON selezionati */
.single-product
.variable-items-wrapper .variable-item.button-variable-item:not(.selected):not([aria-checked="true"]):not(.wvs-selected):hover,
.single-product
.variable-items-wrapper .variable-item.button-variable-item:not(.selected):not([aria-checked="true"]):not(.wvs-selected):focus,
.single-product
.variable-items-wrapper .variable-item.button-variable-item:not(.selected):not([aria-checked="true"]):not(.wvs-selected):focus-visible {
  background: #fff !important;
  color: #111 !important;
  border-color: #111 !important;
  box-shadow: none !important; /* o metti una leggerissima ombra se vuoi feedback */
}
/* Rende full-width le sezioni correlate/upsell sotto il prodotto */
.single-product .wd-related-wrapper,
.single-product .wd-upsells-wrapper,
.single-product .related,
.single-product .upsells {
  /* esci dal container e stendi a tutta viewport */
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* Se dentro c'è un .container, impedisci che restringa */
.single-product .wd-related-wrapper .container,
.single-product .wd-upsells-wrapper .container,
.single-product .related .container,
.single-product .upsells .container {
  max-width: 100% !important;
  padding-left: 24px;   /* bordo respirazione ai lati */
  padding-right: 24px;
}

/* Spaziatura sopra/sotto (facoltativa) */
.single-product .wd-related-wrapper,
.single-product .wd-upsells-wrapper {
  padding-top: 32px;
  padding-bottom: 32px;
}
/* Nasconde la riga "Tags:" nella pagina prodotto */
.single-product .product-tags,
.single-product .product_meta .tagged_as { 
  display: none !important; 
}
/* --- MOBILE: bottone add-to-cart solo icona, centrato, dimensione fissa --- */
@media (max-width: 767px){

  /* wrapper: allinea a destra e togli padding/pill */
  .products .product .wd-add-btn{
    display:flex !important;
    justify-content:flex-end !important;
    align-items:center !important;
    background:transparent !important;
    padding:0 !important;
  }

  /* link-bottone: forma tonda e NESSUN testo */
  .products .product .wd-add-btn .add_to_cart_button{
    width:48px !important;
    height:48px !important;
    min-width:0 !important;        /* << impedisce il "pill" largo */
    max-width:48px !important;
    border-radius:9999px !important;
    padding:0 !important; margin:8px 8px 10px 0 !important;
    display:inline-flex !important; align-items:center !important; justify-content:center !important;
    background:#e6e6e6 !important;  /* colore del bottone */
    position:relative !important;
    overflow:hidden !important;

    /* nasconde qualsiasi testo nudo */
    font-size:0 !important;
    color:transparent !important;
    text-indent:200% !important;
    white-space:nowrap !important;
    line-height:0 !important;
  }

  /* nascondi ogni nodo di testo/elemento interno e pseudo del tema */
  .products .product .wd-add-btn .add_to_cart_button > *,
  .products .product .wd-add-btn .add_to_cart_button .wd-add-btn-text,
  .products .product .wd-add-btn .add_to_cart_button .wd-add-btn-icon{
    display:none !important;
  }
  .products .product .wd-add-btn .add_to_cart_button:after{
    content:none !important;
    display:none !important;
  }

  /* icona SVG centrata (niente baseline) */
  .products .product .wd-add-btn .add_to_cart_button::before{
    content:"";
    position:absolute; top:50%; left:50%;
    transform:translate(-50%,-50%);
    width:22px; height:22px; display:block;
    background: no-repeat center / contain;
    background-image: url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23111">\
<path d="M7 18a2 2 0 1 0 0 4 2 2 0 0 0 0-4Zm10 0a2 2 0 1 0 0 4 2 2 0 0 0 0-4ZM6.21 6l-.94-2H2v2h2l3.6 7.59-.95 1.72A2 2 0 0 0 8.53 18H20v-2H8.53l.63-1.14h7.45a2 2 0 0 0 1.75-1.03l3.58-6.49A1 1 0 0 0 21.06 6H6.21Z"/>\
</svg>');
  }
}
.pg-related-recipes{margin:40px 0 10px;}
.pg-rr__title{
  font-size:22px; line-height:1.2; margin:0 0 14px;
}
.pg-rr__grid{
  display:grid; gap:18px; grid-template-columns:repeat(auto-fill,minmax(240px,1fr));
}
.pg-rr__card{
  background:#fff; border-radius:14px; overflow:hidden;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  transition:transform .2s ease, box-shadow .2s ease;
  padding:12px; text-align:center;
}
.pg-rr__card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,0,0,.08);
}
.pg-rr__thumb{display:block; border-radius:10px; overflow:hidden;}
.pg-rr__img{width:100%; height:180px; object-fit:cover; display:block;}
.pg-rr__img--placeholder{background:#f3f3f3;}
.pg-rr__name{font-size:16px; margin:10px 0 8px;}
.pg-rr__name a{color:inherit; text-decoration:none;}
.pg-rr__btn{display:inline-block; margin:6px auto 2px;}
/* spaziatura con elementi Woodmart sottostanti */
.single-product .pg-related-recipes + *{margin-top:10px;}
/* Contenitore e titolo allineati a Woodmart */
.pg-related-recipes{ margin:60px 0 30px; }
.pg-rr__title{ font-size:22px; line-height:1.2; margin:0 0 25px; font-weight:600; }

/* Griglia responsive: 3/2/1 colonne */
.pg-rr__grid{
  display:grid; gap:25px;
  grid-template-columns:repeat(3,1fr);
}
@media (max-width:1024px){ .pg-rr__grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:600px){ .pg-rr__grid{ grid-template-columns:1fr; } }

/* Card */
.pg-rr__card{
  background:#fff; border-radius:20px; overflow:hidden;
  box-shadow:0 2px 12px rgba(0,0,0,.06);
  transition:transform .25s ease, box-shadow .25s ease;
  padding:20px; text-align:center;
}
.pg-rr__card:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 28px rgba(0,0,0,.08);
}

.pg-rr__thumb{ display:block; border-radius:12px; overflow:hidden; }
.pg-rr__img{ width:100%; height:200px; object-fit:cover; display:block; }
.pg-rr__name{ font-size:17px; margin:14px 0 8px; font-weight:500; }
.pg-rr__name a{ color:inherit; text-decoration:none; }

/* Bottone stile Woodmart */
.pg-rr__btn{
  display:inline-block; margin-top:8px; padding:10px 24px;
  border-radius:4px; text-transform:uppercase; font-size:13px; letter-spacing:.5px;
}
.pg-search__title { font-size: clamp(28px,3vw,48px); font-weight: 800; margin: 6px 0 22px; }
.pg-block__title { font-size: 18px; font-weight: 700; margin: 0 0 14px; }
.pg-search__layout { display: grid; grid-template-columns: 1fr 380px; gap: 28px; }
@media (max-width: 992px){ .pg-search__layout { grid-template-columns: 1fr; } }
.pg-grid { display: grid; gap: 18px; }
.pg-grid--products { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.pg-grid--posts { grid-template-columns: 1fr; }
.pg-card { background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 6px 20px rgba(0,0,0,.06); display:flex; flex-direction:column; }
.pg-card__media { display:block; aspect-ratio:1/1; overflow:hidden; }
.pg-card__media img { width:100%; height:100%; object-fit:cover; display:block; }
.pg-card__body { padding:14px 16px; display:flex; flex-direction:column; gap:10px; }
.pg-card__title { margin:0; font-size:16px; line-height:1.2; }
.pg-card__price { font-weight:700; }
.pg-card--post .pg-card__media { aspect-ratio:16/9; }
.pg-card--product .pg-card__excerpt { display:none !important; }
.post-date, .entry-meta, .woodmart-post-date, .woodmart-entry-meta, .woodmart-post-date-label { display:none !important; }
mark.pg-hl { background:#fff3a1; padding:0 .2em; border-radius:3px; }
.pg-pagination { margin: 18px 0 0; }
.pg-pagination ul { display:flex; gap:8px; list-style:none; padding:0; }
.pg-pagination a, .pg-pagination span { padding:6px 10px; border:1px solid #eee; border-radius:8px; display:block; }
/* Nasconde il title hero di Woodmart SOLO nelle pagine di ricerca */
body.search .page-title,
body.search .title-wrapper,
body.search .wd-title-wrapper,
body.search .page-title .entry-title,
body.search .page-title-default,
body.search .title-size-large,
body.search .title-background,
body.search .title-gradient {
  display: none !important;
}

/* Recupera un po' di spazio in alto */
body.search .main-page-wrapper,
body.search .site-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
/* ====== LAYOUT GENERALE ====== */
.pg-search__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px; /* colonna dx più stretta */
  gap: 50px;
  align-items: start;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .pg-search__layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ====== GRIGLIA PRODOTTI ====== */
.pg-grid--products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 25px;
}

/* ====== GRIGLIA RICETTE ====== */
.pg-grid--posts {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* ====== CARD BASE ====== */
.pg-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.pg-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

/* ====== CARD PRODOTTO ====== */
.pg-card--product {
  text-align: center;
  padding-bottom: 10px;
}
.pg-card--product .pg-card__media {
  display: block;
  aspect-ratio: 1/1;
  overflow: hidden;
}
.pg-card--product img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pg-card__body {
  padding: 14px;
}
.pg-card__title {
  font-size: 16px;
  font-weight: 600;
  margin: 6px 0;
  line-height: 1.25;
}
.pg-card__price {
  font-weight: 700;
  margin-bottom: 5px;
}

/* ====== CARD RICETTA ====== */
.pg-card--post {
  display: flex;
  flex-direction: row;
  gap: 15px;
  align-items: flex-start;
  border-radius: 14px;
  padding: 12px;
}
.pg-card--post .pg-card__media {
  flex: 0 0 100px;
  border-radius: 10px;
  overflow: hidden;
}
.pg-card--post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.pg-card--post .pg-card__body {
  flex: 1;
  padding: 0;
}
.pg-card--post .pg-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 4px;
}
.pg-card--post .pg-card__excerpt {
  font-size: 14px;
  line-height: 1.45;
  color: #444;
}

/* ====== TITOLI E DETTAGLI ====== */
.pg-search__title {
  font-size: clamp(28px, 3vw, 46px);
  font-weight: 800;
  margin-bottom: 30px;
}

.pg-block__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
}

mark.pg-hl {
  background: #fff3a1;
  padding: 0 0.2em;
  border-radius: 3px;
}
/* Card ricetta con immagine sopra */
.pg-card--post { display:flex; flex-direction:column; border-radius:16px; overflow:hidden; }
.pg-card--post .pg-card__media { aspect-ratio: 16/9; overflow:hidden; }
.pg-card--post .pg-card__media img { width:100%; height:100%; object-fit:cover; display:block; }
.pg-card--post .pg-card__body { padding:16px 18px; display:flex; flex-direction:column; gap:8px; }

/* Se la card NON ha .pg-card__media, niente spazio extra */
.pg-card--post:not(:has(.pg-card__media)) { border-radius:16px; }
.pg-card--post:not(:has(.pg-card__media)) .pg-card__body { padding:16px 18px; }

/* Griglia ricette: una colonna (e compatta) */
.pg-grid--posts { display:grid; grid-template-columns: 1fr; gap:22px; }

/* (Opzionale) due colonne su desktop largo */
@media (min-width: 1200px) {
  .pg-grid--posts { grid-template-columns: 1fr; } /* lascia 1 colonna nella sidebar stretta */
}
/* Titoli */
.pg-search__title { font-size: clamp(28px,3vw,46px); font-weight: 800; margin: 0 0 28px; }
.pg-block__title { font-size: 20px; font-weight: 800; margin: 36px 0 16px; text-transform: uppercase; }

/* Griglia prodotti (sopra) */
.pg-grid--products {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 25px;
}

/* Card prodotto */
.pg-card { background:#fff; border-radius:16px; overflow:hidden; box-shadow:0 4px 14px rgba(0,0,0,.06); }
.pg-card__media { display:block; aspect-ratio:1/1; overflow:hidden; }
.pg-card__media img { width:100%; height:100%; object-fit:cover; display:block; }
.pg-card__body { padding:14px; display:flex; flex-direction:column; gap:10px; }
.pg-card__title { font-size:16px; font-weight:600; line-height:1.25; margin:6px 0; }
.pg-card__price { font-weight:700; }

/* Paginazione */
.pg-pagination { margin: 16px 0 8px; }
.pg-pagination ul { display:flex; gap:8px; list-style:none; padding:0; }

/* Sezione ricette (sotto, full-width) */
.pg-recipes { margin-top: 10px; }
.pg-grid--recipes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

/* Card ricetta */
.pg-card--post { display:flex; flex-direction:column; border-radius:16px; overflow:hidden; }
.pg-card--post .pg-card__title--top { margin: 0; padding: 16px 18px 10px; font-size:16px; font-weight:800; line-height:1.25; }
.pg-card--post .pg-card__media { aspect-ratio: 16/9; overflow:hidden; }
.pg-card--post .pg-card__media img { width:100%; height:100%; object-fit:cover; display:block; }
.pg-card--post .pg-card__body { padding: 12px 18px 16px; }
.pg-card--post .pg-card__excerpt { font-size:14px; line-height:1.5; color:#444; }

/* Evidenziazione */
mark.pg-hl { background:#fff3a1; padding:0 .2em; border-radius:3px; }
.search-expand-form {
  display: flex !important;
  align-items: center;
  gap: 8px;
}

.search-expand-form input[name="s"] {
  border: 1px solid #ccc;
  border-radius: 6px;
  padding: 10px 14px;
  font-size: 16px;
  background: #f7f9fc;
  outline: none;
  transition: all 0.2s ease;
}

.search-expand-form input[name="s"]:focus {
  border-color: #000;
  background: #fff;
}

.search-expand-form button[type="submit"] {
  padding: 10px 20px;
  border: 2px solid #000;
  background: #000;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.2s ease;
}

.search-expand-form button[type="submit"]:hover {
  background: transparent;
  color: #000;
}
/* Mostra sempre il prezzo del prodotto */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
  display: block !important;
  opacity: 1 !important;
}
/* Nasconde il link "Svuota" sotto le varianti */
form.variations_form .reset_variations {
  display: none !important;
}
/* Mostra sempre il prezzo */
.woocommerce div.product p.price,
.woocommerce div.product span.price { display:block !important; opacity:1 !important; }

/* Nascondi "Svuota" se ti dà fastidio */
form.variations_form .reset_variations { display:none !important; }
/* Cart: nascondi sidebar/widgets e allarga il contenuto */
body.woocommerce-cart .main-sidebar,
body.woocommerce-cart .sidebar,
body.woocommerce-cart .widget-area,
body.woocommerce-cart .site-content .sidebar-container {
  display: none !important;
}

/* Porta il contenuto a tutta larghezza (Woodmart layout) */
body.woocommerce-cart .site-content .main-page-wrapper .container .row,
body.woocommerce-cart .main-page-wrapper .container .row-content {
  display: block !important;
}
body.woocommerce-cart .site-content .main-page-wrapper .content-area {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
}
/* Box soglia spedizione */
.pg-free-ship {
  margin: 12px 0 18px;
  padding: 14px 16px;
  background: #f6f7f9;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.pg-free-ship__msg {
  margin: 0 0 10px;
  font-weight: 600;
}
.pg-free-ship__msg.success { color: #0a7a3d; }

/* Barra progresso */
.pg-free-ship__bar {
  height: 8px;
  background: #e7e9ee;
  border-radius: 999px;
  overflow: hidden;
}
.pg-free-ship__bar > span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #111, #555);
  border-radius: inherit;
  transition: width .25s ease;
}
.pg-free-ship__bar > span {
  background: linear-gradient(270deg, #111, #555, #111);
  background-size: 200% 100%;
  animation: moveGradient 3s linear infinite;
}
@keyframes moveGradient {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}
/* Cart – allinea e dai spazio al blocco coupon */
body.woocommerce-cart .cart .actions .coupon{
  display:flex;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

/* Input coupon più largo e leggibile */
body.woocommerce-cart .cart .actions .coupon .input-text,
#coupon_code{
  min-width: 240px;
  padding: 10px 14px;
  height: 46px;
  line-height: 24px;
}

/* Bottoni coerenti (pill) e stessa altezza */
body.woocommerce-cart .cart .actions .button{
  height: 46px;
  line-height: 46px;
  padding: 0 18px;
  border-radius: 999px;
  white-space: nowrap;
}

/* Su schermi piccoli: impila gli elementi */
@media (max-width: 768px){
  body.woocommerce-cart .cart .actions .coupon{
    flex-direction: column;
    align-items: stretch;
  }
  body.woocommerce-cart .cart .actions .coupon .input-text{
    min-width: 100%;
  }
  body.woocommerce-cart .cart .actions .button{
    width: 100%;
  }
}
/* Layout coupon più ordinato */
body.woocommerce-cart .cart .actions .coupon{
  display:flex; align-items:center; gap:12px; flex-wrap:wrap;
}
body.woocommerce-cart .cart .actions .coupon .input-text,
#coupon_code{ min-width:280px; padding:10px 14px; height:46px; }
body.woocommerce-cart .cart .actions .button{
  height:46px; line-height:46px; padding:0 18px; border-radius:999px; white-space:nowrap;
}
@media (max-width:768px){
  body.woocommerce-cart .cart .actions .coupon{ flex-direction:column; align-items:stretch; }
  body.woocommerce-cart .cart .actions .coupon .input-text{ min-width:100%; }
  body.woocommerce-cart .cart .actions .button{ width:100%; }
}
