/* DIFILL B — pagine WooCommerce: shop, categorie, scheda prodotto, carrello, pagamento, account.
   Lastre chiare (avorio e pannello), giunti in ottone, un'apertura scura per i titoli delle categorie.
   Tutto e' limitato a body.dfl-shop: le altre pagine del sito non cambiano. */

/* ---------- base della pagina ---------- */
body.dfl-shop,
body.dfl-shop.ast-separate-container {
  background: var(--avorio);
  background-image: none;
  color: var(--antracite);
  font-family: var(--f);
  font-stretch: 100%;
  text-transform: none;
  letter-spacing: normal;
  -webkit-font-smoothing: antialiased;
}
body.dfl-shop #content :where(button, input, select, textarea, .button, a, p, span, li, label, th, td, legend, mark) {
  text-transform: none;
  letter-spacing: normal;
}
body.dfl-shop #content :where(h1, h2, h3, h4, h5, h6) {
  font-family: var(--f);
  font-stretch: 110%;
  font-weight: 400;
  text-transform: none;
  letter-spacing: -0.01em;
  color: var(--antracite);
}
body.dfl-shop #content a { color: var(--antracite); }
body.dfl-shop #content a:hover { color: var(--oro-ink); }
body.dfl-shop #content :focus-visible { outline: 2px solid var(--oro-ink); outline-offset: 3px; }

/* contenitori di Astra: niente riquadri bianchi sul marmo, solo la lastra */
body.dfl-shop #content > .ast-container {
  max-width: calc(var(--maxw) + 2 * var(--gutter));
  padding-inline: var(--gutter);
}
body.dfl-shop.ast-separate-container #content #primary,
body.dfl-shop #content #primary { margin-block: 0; padding: 0; }
body.dfl-shop.ast-separate-container #content .ast-woocommerce-container,
body.dfl-shop.ast-separate-container #content .ast-article-single,
body.dfl-shop.ast-separate-container #content .site-main > .ast-row,
body.dfl-shop.ast-separate-container #content .ast-article-post {
  background: transparent;
  padding: 0;
  box-shadow: none;
}
body.dfl-shop #content { padding-bottom: var(--section); }

/* ---------- apertura delle categorie: la lastra di pietra lavica e' in base.css (uguale in tutto il sito) ---------- */
body.dfl-shop #content section.ast-archive-description :is(.ast-archive-title, h1) { order: 2; }
body.dfl-shop #content section.ast-archive-description { display: flex; flex-direction: column; }
body.dfl-shop #content section.ast-archive-description .ast-breadcrumbs-wrapper { order: 1; }
body.dfl-shop #content section.ast-archive-description > :not(h1):not(.ast-breadcrumbs-wrapper) { order: 3; margin-top: 18px; max-width: 40em; color: #D6CFC2; }
body.dfl-shop #content section.ast-archive-description a { color: var(--testo-2); }
body.dfl-shop #content section.ast-archive-description a:hover { color: var(--oro-chiaro); }

/* briciole di pane */
body.dfl-shop #content .ast-breadcrumbs-wrapper,
body.dfl-shop #content .woocommerce-breadcrumb { font-size: .875rem; color: var(--grigio); }
body.dfl-shop #content .ast-breadcrumbs .trail-items { display: flex; flex-wrap: wrap; gap: 2px 0; margin: 0; padding: 0; }
body.dfl-shop #content .ast-breadcrumbs .trail-items li::after { color: var(--oro); }
body.dfl-shop #content section.ast-archive-description .ast-breadcrumbs-wrapper,
body.dfl-shop #content section.ast-archive-description .trail-end { color: var(--testo-2); }
body.dfl-shop #content section.ast-archive-description .ast-breadcrumbs a { color: var(--testo-2); }
body.dfl-shop #content section.ast-archive-description .ast-breadcrumbs a:hover { color: var(--oro-chiaro); }

/* ---------- barra sopra la griglia: risultati e ordinamento ---------- */
body.dfl-shop #content .woocommerce-result-count { margin: 0 0 28px; color: var(--grigio); font-size: .9375rem; }
body.dfl-shop #content .woocommerce-ordering { margin: 0 0 28px; }
body.dfl-shop #content .woocommerce-ordering select { min-width: 220px; }

/* ---------- campi dei moduli ---------- */
body.dfl-shop #content :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="password"], input[type="search"], input[type="url"], textarea, select),
body.dfl-shop #content .wc-block-components-textarea {
  min-height: 48px;
  padding: 10px 14px;
  border: 1px solid #CFC6B8;
  border-radius: 0;
  background-color: #FFFDF9;
  color: var(--antracite);
  font: 400 1rem/1.4 var(--f);
  box-shadow: none;
}
body.dfl-shop #content textarea { min-height: 140px; }
body.dfl-shop #content select {
  appearance: none; -webkit-appearance: none;
  padding-right: 40px;
  background-image: linear-gradient(45deg, transparent 50%, var(--antracite) 50%), linear-gradient(135deg, var(--antracite) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
}
body.dfl-shop #content :is(input, textarea, select):focus { outline: 2px solid var(--oro-ink); outline-offset: 0; border-color: var(--oro-ink); }
body.dfl-shop #content label { color: var(--antracite); font-weight: 500; }

/* campi del carrello e del pagamento (blocchi WooCommerce): l'etichetta sta dentro il campo e sale
   quando si scrive, quindi il testo va spinto in basso come fa WooCommerce, non centrato */
body.dfl-shop #content .wc-block-components-text-input input:is([type="text"], [type="email"], [type="tel"], [type="number"], [type="password"], [type="url"]) {
  height: 54px; min-height: 0; padding: 16px 14px;
  border: 1px solid #CFC6B8; border-radius: 0; background-color: #FFFDF9; color: var(--antracite);
  font: 400 1rem/25px var(--f); box-shadow: none;
}
body.dfl-shop #content .wc-block-components-text-input:is(.is-active) input,
body.dfl-shop #content .wc-block-components-text-input input:-webkit-autofill { padding: 24px 14px 6px; }
body.dfl-shop #content .wc-block-components-text-input label { left: 15px; top: 27px; color: var(--grigio); font-weight: 400; }
body.dfl-shop #content .wc-block-components-text-input.is-active label,
body.dfl-shop #content .wc-block-components-text-input input:-webkit-autofill + label { top: 7px; }
body.dfl-shop #content .wc-blocks-components-select .wc-blocks-components-select__container { border-radius: 0; background: #FFFDF9; }
body.dfl-shop #content .wc-blocks-components-select .wc-blocks-components-select__select {
  height: 54px; min-height: 0; padding: 20px 40px 0 14px;
  border: 1px solid #CFC6B8; border-radius: 0; background: none; color: var(--antracite);
  font: 400 1rem/25px var(--f);
}
body.dfl-shop #content .wc-blocks-components-select .wc-blocks-components-select__label { left: 15px; top: 7px; color: var(--grigio); font-weight: 400; }
body.dfl-shop #content .wc-blocks-components-select .wc-blocks-components-select__expand { fill: var(--antracite); }

/* ---------- pulsanti ---------- */
body.dfl-shop #content :where(.button,
button.button,
input.button,
a.button,
.wc-block-components-button:not(.is-link), #respond input[type="submit"]),
body.dfl-shop #content .wc-block-components-button:not(.is-link) {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 22px;
  border: 1px solid var(--antracite); border-radius: 0;
  background: transparent; color: var(--antracite);
  font: 500 .9375rem/1.2 var(--f); font-stretch: 112%;
  text-transform: none; letter-spacing: .01em; text-decoration: none;
  box-shadow: none;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
body.dfl-shop #content :where(.button,
button.button,
input.button,
a.button,
.wc-block-components-button:not(.is-link), #respond input[type="submit"]):hover,
body.dfl-shop #content .wc-block-components-button:not(.is-link):hover {
  background: var(--antracite); border-color: var(--antracite); color: var(--avorio);
}

/* azione principale: oro DIFILL (testo lavica, 5,6:1) */
body.dfl-shop #content :is(.single_add_to_cart_button, .button.alt, .checkout-button, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, [id="place_order"]),
body.dfl-shop #content :is(.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button) {
  min-height: 54px; padding: 0 30px;
  border-color: var(--oro); background: var(--oro); color: var(--lavica);
}
body.dfl-shop #content :is(.single_add_to_cart_button, .button.alt, .checkout-button, .wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button, [id="place_order"]):hover,
body.dfl-shop #content :is(.wc-block-cart__submit-button, .wc-block-components-checkout-place-order-button):hover {
  border-color: var(--oro-chiaro); background: var(--oro-chiaro); color: var(--lavica);
}
body.dfl-shop #content .button.disabled,
body.dfl-shop #content .button:disabled,
body.dfl-shop #content .single_add_to_cart_button.disabled { opacity: .45; cursor: not-allowed; }
body.dfl-shop #content .added_to_cart { display: inline-block; margin-top: 8px; font-size: .875rem; color: var(--oro-ink); }

/* ---------- griglia prodotti (shop, categorie, correlati) ---------- */
body.dfl-shop #content ul.products {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 36px 16px;
  margin: 0; padding: 0;
}
body.dfl-shop #content ul.products::before,
body.dfl-shop #content ul.products::after { content: none; display: none; }
@media (min-width: 768px) {body.dfl-shop #content ul.products { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 20px; } }
@media (min-width: 1100px) {body.dfl-shop #content ul.products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 52px 24px; } }
body.dfl-shop #content ul.products li.product {
  width: auto !important; margin: 0 !important; padding: 0; float: none !important; clear: none !important;
  display: flex; flex-direction: column; text-align: left;
  background: transparent; box-shadow: none;
}
body.dfl-shop #content ul.products li.product .astra-shop-thumbnail-wrap { position: relative; margin: 0 0 14px; }
body.dfl-shop #content ul.products li.product .astra-shop-thumbnail-wrap > a:not(.ast-on-card-button) {
  position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden;
  background: var(--pannello);
  box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .5s var(--ease);
}
body.dfl-shop #content ul.products li.product .astra-shop-thumbnail-wrap img {
  position: absolute; inset: 0; margin: auto !important;
  width: auto; height: auto; max-width: 78%; max-height: 80%;
  object-fit: contain; mix-blend-mode: multiply;
  transition: transform 1s var(--ease);
}
body.dfl-shop #content ul.products li.product .astra-shop-thumbnail-wrap img.woocommerce-placeholder { max-width: 50%; opacity: .35; }
body.dfl-shop #content ul.products li.product .astra-shop-thumbnail-wrap > a:not(.ast-on-card-button):hover { box-shadow: inset 0 0 0 1px var(--oro); }
body.dfl-shop #content ul.products li.product .astra-shop-thumbnail-wrap > a:not(.ast-on-card-button):hover img { transform: scale(1.05); }
/* pulsante "aggiungi" di Astra sopra l'immagine (se attivo in Astra): piccola icona nell'angolo del pannello */
body.dfl-shop #content ul.products li.product .astra-shop-thumbnail-wrap > a.ast-on-card-button {
  position: absolute; top: 10px; right: 10px; z-index: 2; display: grid; place-items: center;
  width: 44px; height: 44px; padding: 0; border: 1px solid #CFC6B8; border-radius: 0; background: var(--avorio); color: var(--antracite);
}
body.dfl-shop #content ul.products li.product .astra-shop-thumbnail-wrap > a.ast-on-card-button:hover { border-color: var(--antracite); }

/* Smush (caricamento differito delle immagini) impone alle immagini non ancora caricate la larghezza
   dell'originale (1000 px) con !important: su telefono la pagina scorreva di lato. La sua variabile
   --smush-image-width permette di dargli la misura giusta senza toccare il plugin. */
body.dfl-shop #content :is(img.lazyload, img.lazyloading) { --smush-image-width: auto; }

/* la seconda immagine che Astra mostra al passaggio del mouse: la teniamo nello stesso pannello */
body.dfl-shop #content ul.products li.product .astra-shop-thumbnail-wrap .show-on-hover { opacity: 0; transition: opacity .6s var(--ease); }
body.dfl-shop #content ul.products li.product .astra-shop-thumbnail-wrap > a:hover .show-on-hover { opacity: 1; }
body.dfl-shop #content ul.products li.product,
body.dfl-shop #content ul.products li.product :is(.astra-shop-summary-wrap, .woocommerce-loop-product__title, .ast-loop-product__link) { text-align: left; }
body.dfl-shop #content ul.products li.product .astra-shop-summary-wrap { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 0; flex: 1; }
body.dfl-shop #content ul.products li.product .ast-woo-product-category { order: 0; margin: 0; font-size: .8125rem; color: var(--grigio); opacity: 1; }
body.dfl-shop #content ul.products li.product .ast-loop-product__link { order: 1; }
body.dfl-shop #content ul.products li.product .woocommerce-loop-product__title {
  margin: 0; padding: 0;
  font-weight: 500; font-stretch: 110%; font-size: 1.0625rem; line-height: 1.3; letter-spacing: 0;
  color: var(--antracite);
}
body.dfl-shop #content ul.products li.product .price {
  order: 2; margin: 2px 0 0; color: var(--antracite);
  font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums;
}
body.dfl-shop #content ul.products li.product .price del { color: var(--grigio); font-weight: 400; opacity: 1; }
body.dfl-shop #content ul.products li.product .price ins { text-decoration: none; }
body.dfl-shop #content ul.products li.product .button {
  order: 3; margin-top: auto; min-height: 44px; padding: 0 16px; font-size: .875rem;
}
body.dfl-shop #content ul.products li.product .astra-shop-summary-wrap .button { margin-top: 12px; }
body.dfl-shop #content ul.products li.product .onsale {
  position: absolute; top: 12px; left: 12px; right: auto; margin: 0; min-width: 0; min-height: 0;
  padding: 4px 10px; border-radius: 0; background: var(--oro); color: var(--lavica);
  font: 600 .75rem/1.4 var(--f); letter-spacing: .02em;
}
body.dfl-shop #content ul.products li.product .star-rating { display: none; }

/* ---------- categorie nella pagina Shop: le lastre del catalogo della home, in versione chiara ----------
   numero di articoli in alto, oggetto al centro, nome in basso; tra le lastre il giunto in ottone */
body.dfl-shop #content ul.products:not(:has(> li.product:not(.product-category))) {
  gap: 0; border-top: 1px solid var(--giunto); border-left: 1px solid var(--giunto);
}
body.dfl-shop #content ul.products li.product-category { background: var(--pannello); border-right: 1px solid var(--giunto); border-bottom: 1px solid var(--giunto); }
body.dfl-shop #content ul.products li.product-category > a {
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto; height: 100%;
  min-height: clamp(250px, 28vw, 400px); padding: clamp(16px, 2vw, 26px);
  text-decoration: none; color: var(--antracite); overflow: hidden;
  transition: background-color .5s var(--ease);
}
body.dfl-shop #content ul.products li.product-category .dfl-cat-count {
  grid-row: 1; justify-self: start;
  font-weight: 300; font-size: 1.375rem; line-height: 1; color: var(--oro-ink); font-variant-numeric: tabular-nums;
}
body.dfl-shop #content ul.products li.product-category > a > img {
  grid-row: 2; justify-self: center; align-self: center; position: static;
  width: auto; height: auto; max-width: 82%; max-height: clamp(120px, 17vw, 230px); margin: 16px 0;
  object-fit: contain; mix-blend-mode: multiply; background: none;
  transition: transform 1s var(--ease);
}
body.dfl-shop #content ul.products li.product-category .dfl-cat-noimg { grid-row: 2; }
body.dfl-shop #content ul.products li.product-category .woocommerce-loop-category__title {
  grid-row: 3; position: static; margin: 0; padding: 0; background: none; text-align: left;
  font-weight: 400; font-stretch: 125%; font-size: clamp(1.2rem, 1rem + .9vw, 1.8rem); line-height: 1.05; letter-spacing: -0.02em;
  color: var(--antracite);
}
body.dfl-shop #content ul.products li.product-category > a:hover,
body.dfl-shop #content ul.products li.product-category > a:focus-visible { background: var(--avorio-2); }
body.dfl-shop #content ul.products li.product-category > a:hover > img,
body.dfl-shop #content ul.products li.product-category > a:focus-visible > img { transform: scale(1.04); }
body.dfl-shop #content ul.products li.product-category > a:focus-visible { outline-offset: -3px; }

/* introduzione sopra le categorie */
body.dfl-shop #content .dfl-shop-intro { margin: 0 0 28px; max-width: 44em; color: var(--grigio); font-size: 1.0625rem; }

/* filtro per categoria (pagine delle categorie e ricerca) */
body.dfl-shop #content .dfl-catbar { margin: 0 0 28px; }
body.dfl-shop #content .dfl-catbar ul {
  display: flex; gap: 8px; margin: 0; padding: 0 0 6px; list-style: none;
  overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--oro) transparent;
}
@media (min-width: 900px) { body.dfl-shop #content .dfl-catbar ul { flex-wrap: wrap; overflow: visible; padding: 0; } }
body.dfl-shop #content .dfl-catbar li { flex: none; margin: 0; }
body.dfl-shop #content .dfl-catbar a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px;
  border: 1px solid #CFC6B8; background: transparent; color: var(--antracite); white-space: nowrap; text-decoration: none;
  font: 500 .9375rem/1.2 var(--f); font-stretch: 105%;
  transition: border-color .3s var(--ease), background-color .3s var(--ease), color .3s var(--ease);
}
body.dfl-shop #content .dfl-catbar a span { color: var(--grigio); font-weight: 400; font-variant-numeric: tabular-nums; }
body.dfl-shop #content .dfl-catbar a:hover { border-color: var(--antracite); color: var(--antracite); }
body.dfl-shop #content .dfl-catbar a[aria-current="page"] { border-color: var(--antracite); background: var(--antracite); color: var(--avorio); }
body.dfl-shop #content .dfl-catbar a[aria-current="page"] span { color: #CFC8BB; }

/* articoli senza prezzo */
body.dfl-shop #content .price .dfl-price-request { font-weight: 500; color: var(--grigio); font-size: .9375rem; }
body.dfl-shop.single-product #content .summary .price .dfl-price-request { font-size: 1.125rem; }

/* paginazione */
body.dfl-shop #content .woocommerce-pagination { margin-top: clamp(48px, 6vw, 80px); text-align: left; }
body.dfl-shop #content .woocommerce-pagination ul.page-numbers { display: inline-flex; flex-wrap: wrap; gap: 8px; border: 0; margin: 0; }
body.dfl-shop #content .woocommerce-pagination ul.page-numbers li { border: 0; float: none; }
body.dfl-shop #content .woocommerce-pagination .page-numbers :is(a, span) {
  display: inline-grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px;
  border: 1px solid #CFC6B8; border-radius: 0; background: transparent; color: var(--antracite);
  font: 500 .9375rem var(--f); font-variant-numeric: tabular-nums;
}
body.dfl-shop #content .woocommerce-pagination .page-numbers a:hover { border-color: var(--antracite); background: transparent; color: var(--antracite); }
body.dfl-shop #content .woocommerce-pagination .page-numbers span.current { border-color: var(--antracite); background: var(--antracite); color: var(--avorio); }

/* ---------- avvisi ---------- */
body.dfl-shop #content :is(.woocommerce-message, .woocommerce-info, .woocommerce-error, .wc-block-components-notice-banner) {
  margin: 0 0 28px; padding: 16px 20px 16px 22px;
  border: 0; border-left: 2px solid var(--oro); border-radius: 0;
  background: var(--pannello); color: var(--antracite); font-size: .9375rem;
  box-shadow: none;
}
body.dfl-shop #content .woocommerce-error { border-left-color: #A3402F; }
body.dfl-shop #content :is(.woocommerce-message, .woocommerce-info, .woocommerce-error)::before { display: none; }
body.dfl-shop #content :is(.woocommerce-message, .woocommerce-info) .button { float: right; min-height: 40px; margin-left: 16px; }

/* ---------- scheda prodotto ---------- */
/* intestazione di Astra sopra il prodotto: il tema vi lascia solo le briciole di pane (inc/shop.php) */
body.dfl-shop.single-product #content #primary > .entry-header { margin: 0; padding: 28px 0 0; background: none; text-align: left; }
body.dfl-shop.single-product #content .ast-breadcrumbs-wrapper { margin: 0; }
body.dfl-shop.single-product #content div.product {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 36px;
  margin-top: 24px; background: transparent; padding: 0;
}
@media (min-width: 900px) {body.dfl-shop.single-product #content div.product { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: clamp(40px, 5vw, 88px); row-gap: 0; }
}
body.dfl-shop.single-product #content div.product > * { grid-column: 1 / -1; min-width: 0; }
@media (min-width: 900px) {body.dfl-shop.single-product #content div.product > .woocommerce-product-gallery { grid-column: 1; grid-row: 1; }
body.dfl-shop.single-product #content div.product > .summary { grid-column: 2; grid-row: 1; }
}
body.dfl-shop.single-product #content div.product > :is(.woocommerce-product-gallery, .summary) { width: auto !important; float: none !important; margin: 0 !important; }
body.dfl-shop.single-product #content div.product > .onsale { display: none; }

/* galleria: il prodotto su un pannello chiaro */
body.dfl-shop.single-product #content .woocommerce-product-gallery { position: relative; }
body.dfl-shop.single-product #content .woocommerce-product-gallery .flex-viewport,
body.dfl-shop.single-product #content .woocommerce-product-gallery__wrapper { background: var(--pannello); }
body.dfl-shop.single-product #content .woocommerce-product-gallery__image { display: grid; place-items: center; aspect-ratio: 1 / 1; padding: clamp(24px, 6%, 64px); }
body.dfl-shop.single-product #content .woocommerce-product-gallery__image a { display: contents; }
body.dfl-shop.single-product #content .woocommerce-product-gallery__image img {
  width: auto !important; height: auto !important; max-width: 100%; max-height: 100%;
  object-fit: contain; mix-blend-mode: multiply; margin: 0 auto;
}
body.dfl-shop.single-product #content .woocommerce-product-gallery__trigger {
  top: 14px; right: 14px; width: 44px; height: 44px; border-radius: 0;
  background: var(--avorio); box-shadow: inset 0 0 0 1px #CFC6B8; z-index: 9;
}
body.dfl-shop.single-product #content .flex-control-thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin: 10px 0 0; padding: 0; }
body.dfl-shop.single-product #content .flex-control-thumbs li { width: auto !important; margin: 0 !important; float: none !important; background: var(--pannello); aspect-ratio: 1 / 1; display: grid; place-items: center; }
body.dfl-shop.single-product #content .flex-control-thumbs img { width: 76% !important; height: auto; mix-blend-mode: multiply; opacity: .55; transition: opacity .3s; }
body.dfl-shop.single-product #content .flex-control-thumbs img.flex-active,
body.dfl-shop.single-product #content .flex-control-thumbs img:hover { opacity: 1; }

/* riepilogo */
body.dfl-shop.single-product #content .summary { display: flex; flex-direction: column; align-items: stretch; }
body.dfl-shop.single-product #content .summary > * { margin-top: 0; }
body.dfl-shop.single-product #content .summary .single-product-category { margin-bottom: 14px; font-size: .9375rem; }
body.dfl-shop.single-product #content .summary .single-product-category a { color: var(--oro-ink); }
body.dfl-shop.single-product #content .summary .product_title {
  margin: 0 0 20px; padding: 0;
  font-weight: 300; font-stretch: 125%;
  font-size: clamp(2rem, 1.3rem + 2.2vw, 3.3rem); line-height: 1.02; letter-spacing: -0.03em;
}
body.dfl-shop.single-product #content .summary p.price,
body.dfl-shop.single-product #content .summary span.price {
  margin: 0 0 24px; color: var(--antracite);
  font-weight: 500; font-size: 1.5rem; font-variant-numeric: tabular-nums;
}
body.dfl-shop.single-product #content .summary .woocommerce-product-details__short-description { margin-bottom: 24px; color: var(--grigio); max-width: 34em; }

/* ordine nel riepilogo: il messaggio Klarna scende sotto il prezzo */
body.dfl-shop.single-product #content .summary > * { order: 10; }
body.dfl-shop.single-product #content .summary > .single-product-category { order: 1; }
body.dfl-shop.single-product #content .summary > .product_title { order: 2; }
body.dfl-shop.single-product #content .summary > .price { order: 3; }
body.dfl-shop.single-product #content .summary > #payment-method-message { order: 4; margin: -12px 0 24px; font-size: .875rem; color: var(--grigio); }
body.dfl-shop.single-product #content .summary > #payment-method-message:empty { display: none; }

/* varianti (tabella WooCommerce e pulsanti di Variation Swatches) */
body.dfl-shop.single-product #content form.cart { margin: 0 0 8px; padding: 22px 0 0; border-top: 1px solid var(--oro); }
body.dfl-shop.single-product #content table.variations { margin: 0 0 12px; border: 0; }
body.dfl-shop.single-product #content table.variations tr { display: block; margin-bottom: 18px; }
body.dfl-shop.single-product #content table.variations :is(th, td) { display: block; padding: 0; border: 0; background: none; text-align: left; }
body.dfl-shop.single-product #content table.variations th.label label { display: inline-block; margin-bottom: 8px; font-weight: 500; font-size: .9375rem; color: var(--grigio); }
body.dfl-shop.single-product #content table.variations th.label label::first-letter { text-transform: uppercase; }
body.dfl-shop.single-product #content .variable-items-wrapper { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; }
body.dfl-shop.single-product #content .variable-items-wrapper .variable-item:not(.radio-variable-item) {
  min-width: 44px; height: auto; min-height: 44px; margin: 0 !important; padding: 0 14px;
  border-radius: 0 !important; background: var(--pannello);
  box-shadow: inset 0 0 0 1px #CFC6B8 !important;
  color: var(--antracite); font: 500 .9375rem var(--f);
  transition: box-shadow .3s var(--ease), background-color .3s var(--ease);
}
body.dfl-shop.single-product #content .variable-items-wrapper .variable-item:not(.radio-variable-item):hover { box-shadow: inset 0 0 0 1px var(--antracite) !important; }
body.dfl-shop.single-product #content .variable-items-wrapper .variable-item.selected:not(.radio-variable-item),
body.dfl-shop.single-product #content .variable-items-wrapper .variable-item[aria-checked="true"]:not(.radio-variable-item) {
  background: #FFFFFF; box-shadow: inset 0 0 0 2px var(--oro-ink) !important;
}
body.dfl-shop.single-product #content .variable-item .variable-item-span { padding: 0; font-size: .9375rem; color: var(--antracite); }
body.dfl-shop.single-product #content .variable-item .variable-item-span::first-letter { text-transform: uppercase; }
body.dfl-shop.single-product #content .reset_variations { display: inline-block; margin-top: 10px; font-size: .875rem; color: var(--grigio); }
body.dfl-shop.single-product #content .single_variation_wrap .woocommerce-variation-price .price { display: block; margin: 4px 0 16px; font-size: 1.5rem; }
body.dfl-shop.single-product #content .woocommerce-variation-availability,
body.dfl-shop.single-product #content .stock { color: var(--grigio); font-size: .9375rem; }

/* quantita' e aggiungi al carrello */
body.dfl-shop.single-product #content :is(form.cart:not(.variations_form), .woocommerce-variation-add-to-cart) { display: flex; flex-wrap: wrap; align-items: stretch; gap: 10px; }
/* il "clearfix" di WooCommerce (::before e ::after) dentro un flex diventa due elementi vuoti con il loro spazio:
   spostava la quantita' di 10 px e stringeva il pulsante */
body.dfl-shop.single-product #content :is(form.cart, .woocommerce-variation-add-to-cart)::before,
body.dfl-shop.single-product #content :is(form.cart, .woocommerce-variation-add-to-cart)::after { content: none; display: none; }
body.dfl-shop.single-product #content form.cart .quantity {
  display: inline-flex; align-items: stretch; flex: none; width: auto; margin: 0 !important;
  border: 1px solid #CFC6B8; background: #FFFDF9;
}
body.dfl-shop.single-product #content form.cart .quantity input.qty {
  width: 52px; min-height: 52px; margin: 0 !important; padding: 0; border: 0; background: transparent; text-align: center; font-weight: 500;
  -moz-appearance: textfield;
}
body.dfl-shop.single-product #content form.cart .quantity input.qty::-webkit-inner-spin-button,
body.dfl-shop.single-product #content form.cart .quantity input.qty::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
/* i pulsanti - e + di Astra (prima "ast-qty-placeholder", poi "minus"/"plus" dopo lo script) */
body.dfl-shop.single-product #content form.cart .quantity :is(.minus, .plus, .ast-qty-placeholder) {
  display: inline-grid; place-items: center; flex: none; width: 44px; min-height: 52px; margin: 0 !important; padding: 0;
  border: 0 !important; border-radius: 0; background: none; color: var(--antracite); font-size: 1.25rem; line-height: 1; text-decoration: none;
}
body.dfl-shop.single-product #content form.cart .quantity :is(.minus, .plus, .ast-qty-placeholder):hover { background: var(--avorio-2); color: var(--antracite); }
body.dfl-shop.single-product #content form.cart .single_add_to_cart_button { flex: 1 1 220px; width: auto; margin: 0 !important; }
/* su telefono quantita' sopra, pulsante a tutta larghezza: stessa misura di "Richiedi un preventivo" */
@media (max-width: 599px) {
  body.dfl-shop.single-product #content form.cart .single_add_to_cart_button { flex-basis: 100%; }
}
body.dfl-shop.single-product #content .wcpay-express-checkout-wrapper { margin-top: 10px; }

/* meta e pagamenti */
body.dfl-shop.single-product #content .product_meta {
  display: grid; gap: 4px; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--bordo-chiaro);
  font-size: .875rem; color: var(--grigio);
}
body.dfl-shop.single-product #content .product_meta > span { display: block; }
body.dfl-shop.single-product #content .ast-single-product-payments { margin: 22px 0 0; padding: 14px 16px 16px; border: 1px solid var(--bordo-chiaro); border-radius: 0; }
body.dfl-shop.single-product #content .ast-single-product-payments legend { padding: 0 8px; font-size: .8125rem; font-weight: 500; color: var(--grigio); }

/* schede: informazioni aggiuntive e recensioni */
body.dfl-shop.single-product #content .woocommerce-tabs { margin-top: clamp(56px, 7vw, 104px); padding: 0; }
body.dfl-shop.single-product #content .woocommerce-tabs ul.tabs {
  display: flex; flex-wrap: wrap; gap: 0 28px; margin: 0 0 28px; padding: 0;
  border: 0; border-bottom: 1px solid var(--oro); background: none; overflow: visible;
}
body.dfl-shop.single-product #content .woocommerce-tabs ul.tabs::before,
body.dfl-shop.single-product #content .woocommerce-tabs ul.tabs::after { display: none; border: 0; }
body.dfl-shop.single-product #content .woocommerce-tabs ul.tabs li {
  margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
}
body.dfl-shop.single-product #content .woocommerce-tabs ul.tabs li::before,
body.dfl-shop.single-product #content .woocommerce-tabs ul.tabs li::after { display: none; }
body.dfl-shop.single-product #content .woocommerce-tabs ul.tabs li a {
  display: block; padding: 12px 0; margin-bottom: -1px;
  border-bottom: 2px solid transparent; color: var(--grigio);
  font-weight: 500; font-stretch: 110%; font-size: 1rem;
}
body.dfl-shop.single-product #content .woocommerce-tabs ul.tabs li.active a { color: var(--antracite); border-bottom-color: var(--antracite); }
body.dfl-shop.single-product #content .woocommerce-tabs .panel { margin: 0; padding: 0; background: none; box-shadow: none; }
body.dfl-shop.single-product #content .woocommerce-tabs .panel > h2:first-child { display: none; }
body.dfl-shop.single-product #content table.shop_attributes { max-width: 760px; margin: 0; border: 0; border-top: 1px solid var(--bordo-chiaro); }
body.dfl-shop.single-product #content table.shop_attributes :is(th, td) {
  padding: 14px 0; border: 0; border-bottom: 1px solid var(--bordo-chiaro); background: none !important;
  font-style: normal; text-align: left; vertical-align: top;
}
body.dfl-shop.single-product #content table.shop_attributes th { width: 36%; padding-right: 20px; font-weight: 500; color: var(--grigio); }
body.dfl-shop.single-product #content table.shop_attributes th::first-letter,
body.dfl-shop.single-product #content table.shop_attributes td p::first-letter { text-transform: uppercase; }
body.dfl-shop.single-product #content table.shop_attributes td p { margin: 0; padding: 0; }

/* prodotti correlati */
body.dfl-shop.single-product #content :is(.related, .upsells).products { margin-top: clamp(64px, 8vw, 120px); padding-top: 28px; border-top: 1px solid var(--oro); }
body.dfl-shop.single-product #content :is(.related, .upsells).products > h2 {
  margin: 0 0 clamp(28px, 4vw, 44px);
  font-weight: 300; font-stretch: 125%; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); line-height: 1; letter-spacing: -0.025em;
}

/* ---------- richiesta di preventivo ---------- */
.dfl-quote { margin-top: 12px; }
.dfl-quote-toggle { width: 100%; }
body.dfl-shop #content .dfl-quote-toggle[aria-expanded="true"] { background: var(--antracite); color: var(--avorio); }
.dfl-quote-note { margin: 10px 0 0; font-size: .875rem; color: var(--grigio); }
.js .dfl-quote-panel:not(.is-open) { display: none; }
.dfl-quote-panel { margin-top: 16px; padding: 24px clamp(18px, 3vw, 28px) 28px; background: var(--pannello); border-top: 1px solid var(--oro); }
.dfl-quote-panel h3 { margin: 0 0 6px; font-size: 1.25rem; }
.dfl-quote-for { margin: 0 0 20px; font-size: .9375rem; color: var(--grigio); }
.dfl-quote-form { display: grid; gap: 16px; }
.dfl-quote-row { display: grid; gap: 16px; }
@media (min-width: 560px) { .dfl-quote-row { grid-template-columns: 1fr 1fr; } }
.dfl-field { display: grid; gap: 6px; margin: 0; }
body.dfl-shop #content .dfl-field > span { font-weight: 500; font-size: .9375rem; color: var(--antracite); }
.dfl-field small { font-weight: 400; color: var(--grigio); }
body.dfl-shop #content .dfl-field :is(input, select, textarea) { width: 100%; }
.dfl-check { display: flex; gap: 10px; align-items: flex-start; font-size: .875rem; line-height: 1.5; }
body.dfl-shop #content .dfl-check input { flex: none; width: 20px; height: 20px; min-height: 0; margin: 1px 0 0; padding: 0; accent-color: var(--antracite); }
body.dfl-shop #content .dfl-check span { font-weight: 400; color: var(--grigio); }
body.dfl-shop #content .dfl-check a { text-decoration: underline; }
.dfl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
body.dfl-shop #content .dfl-quote-form .dfl-btn-send { justify-self: start; border-color: var(--oro); background: var(--oro); color: var(--lavica); min-height: 54px; padding: 0 30px; }
body.dfl-shop #content .dfl-quote-form .dfl-btn-send:hover { border-color: var(--oro-chiaro); background: var(--oro-chiaro); color: var(--lavica); }
.dfl-quote-msg { margin: 16px 0 0; padding: 16px 20px; border-left: 2px solid var(--oro); background: var(--pannello); font-size: .9375rem; }
.dfl-quote-msg.is-error { border-left-color: #A3402F; }
.dfl-quote-msg strong { display: block; margin-bottom: 2px; }

/* ---------- carrello e pagamento (blocchi WooCommerce) ---------- */
body.dfl-shop #content .wp-block-woocommerce-cart,
body.dfl-shop #content .wp-block-woocommerce-checkout { font-family: var(--f); }
body.dfl-shop #content .wc-block-components-sidebar-layout .wc-block-components-main,
body.dfl-shop #content .wc-block-components-sidebar { background: transparent; }
body.dfl-shop #content .wc-block-components-totals-wrapper,
body.dfl-shop #content .wc-block-cart-items,
body.dfl-shop #content .wc-block-cart-items td,
body.dfl-shop #content .wc-block-cart-items th { border-color: var(--bordo-chiaro) !important; }
body.dfl-shop #content .wc-block-cart-items__header { color: var(--grigio); font-size: .8125rem; font-weight: 500; }
body.dfl-shop #content .wc-block-cart-item__image img { background: var(--pannello); mix-blend-mode: multiply; }
body.dfl-shop #content .wc-block-components-product-name { color: var(--antracite); font-weight: 500; font-stretch: 110%; }
body.dfl-shop #content .wc-block-components-totals-item__label,
body.dfl-shop #content .wc-block-components-totals-footer-item { color: var(--antracite); }
body.dfl-shop #content .wc-block-components-totals-footer-item .wc-block-components-totals-item__value { font-weight: 600; }
body.dfl-shop #content .wc-block-components-quantity-selector { border-radius: 0; border-color: #CFC6B8; }
body.dfl-shop #content .wc-block-components-quantity-selector::after { border-radius: 0; border-color: #CFC6B8; }
body.dfl-shop #content .wc-block-components-text-input input,
body.dfl-shop #content .wc-block-components-combobox .wc-block-components-combobox-control input { border-radius: 0 !important; }
body.dfl-shop #content .wc-block-components-radio-control__option,
body.dfl-shop #content .wc-block-components-radio-control-accordion-option { border-radius: 0 !important; }
body.dfl-shop #content .wc-block-components-checkout-step__title,
body.dfl-shop #content .wc-block-cart__totals-title { font-family: var(--f); font-stretch: 110%; font-weight: 500; text-transform: none; letter-spacing: 0; }

/* carrello e pagamento classici (se in futuro si usano gli shortcode) */
body.dfl-shop #content table.shop_table { border: 0; border-top: 1px solid var(--oro); border-radius: 0; background: transparent; }
body.dfl-shop #content table.shop_table :is(th, td) { border-color: var(--bordo-chiaro); background: transparent; }
body.dfl-shop #content .cart-collaterals .cart_totals,
body.dfl-shop #content #order_review,
body.dfl-shop #content .woocommerce-checkout-review-order { background: var(--pannello); border: 0; }

/* ---------- account ---------- */
body.dfl-shop #content .woocommerce-MyAccount-navigation ul { margin: 0; padding: 0; border-top: 1px solid var(--oro); list-style: none; }
body.dfl-shop #content .woocommerce-MyAccount-navigation li { border-bottom: 1px solid var(--bordo-chiaro); }
body.dfl-shop #content .woocommerce-MyAccount-navigation a { display: block; padding: 12px 0; font-weight: 500; }
body.dfl-shop #content .woocommerce-MyAccount-navigation .is-active a { color: var(--oro-ink); }
body.dfl-shop #content :is(.woocommerce-form-login, .woocommerce-form-register, .lost_reset_password) {
  margin: 0; padding: clamp(22px, 3vw, 36px); border: 0; border-top: 1px solid var(--oro); border-radius: 0; background: var(--pannello);
}
body.dfl-shop.woocommerce-account #content #customer_login h2 { font-weight: 300; font-stretch: 125%; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); letter-spacing: -0.02em; }
body.dfl-shop.woocommerce-account #content .entry-header .entry-title,
body.dfl-shop.woocommerce-cart #content .entry-header .entry-title,
body.dfl-shop.woocommerce-checkout #content .entry-header .entry-title {
  font-weight: 300; font-stretch: 125%; font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.6rem); line-height: 1; letter-spacing: -0.025em;
}

@media (prefers-reduced-motion: reduce) {body.dfl-shop #content *,
body.dfl-shop #content *::before,
body.dfl-shop #content *::after { transition-duration: .01ms !important; }
}

/* ---------- pagine senza apertura scura: un po' d'aria sotto l'header ---------- */
body.dfl-shop:is(.woocommerce-cart, .woocommerce-checkout, .woocommerce-account) #content { padding-top: clamp(40px, 6vw, 88px); }

/* ---------- blocchi di WordPress dentro carrello e account (pulsanti, prodotti) ---------- */
body.dfl-shop #content :is(.wp-block-button__link, .wc-block-components-product-button__button) {
  min-height: 48px; padding: 12px 22px; border-radius: 0;
  font: 500 .9375rem/1.2 var(--f); font-stretch: 112%; text-transform: none; letter-spacing: .01em;
}
body.dfl-shop #content :is(.wc-block-components-product-image, .wc-block-grid__product-image) {
  position: relative; display: block; aspect-ratio: 4 / 5; margin: 0 0 14px; background: var(--pannello); overflow: hidden;
}
/* immagine posizionata nel pannello: le altezze in % dentro una griglia non si risolvono */
body.dfl-shop #content :is(.wc-block-components-product-image, .wc-block-grid__product-image) img {
  position: absolute; inset: 0; width: auto !important; height: auto; max-width: 78%; max-height: 80%; margin: auto;
  object-fit: contain; mix-blend-mode: multiply;
}

/* ---------- carrello vuoto ---------- */
body.dfl-shop #content .wp-block-woocommerce-empty-cart-block { max-width: var(--maxw); margin-inline: auto; text-align: center; }
body.dfl-shop #content .wp-block-woocommerce-empty-cart-block > h1 {
  margin: 0 auto 18px; max-width: 16em;
  font-weight: 300; font-stretch: 125%; font-size: clamp(2.3rem, 1.2rem + 3.6vw, 4.6rem); line-height: 1.02; letter-spacing: -0.03em;
  text-wrap: balance;
}
body.dfl-shop #content .wp-block-woocommerce-empty-cart-block > p { margin: 0 auto; max-width: 34em; color: var(--grigio); font-size: 1.125rem !important; line-height: 1.55; }
body.dfl-shop #content .wp-block-woocommerce-empty-cart-block > p:empty { display: none; }
body.dfl-shop #content .wp-block-woocommerce-empty-cart-block .wp-block-buttons { justify-content: center; gap: 12px; margin: 32px 0 0; }
body.dfl-shop #content .wp-block-woocommerce-empty-cart-block .wp-block-buttons .wp-block-button__link {
  min-height: 54px; padding: 0 30px; display: inline-flex; align-items: center;
  border: 1px solid var(--antracite); background: transparent; color: var(--antracite);
}
body.dfl-shop #content .wp-block-woocommerce-empty-cart-block .wp-block-buttons .wp-block-button:first-child .wp-block-button__link { border-color: var(--oro); background: var(--oro); color: var(--lavica); }
body.dfl-shop #content .wp-block-woocommerce-empty-cart-block .wp-block-buttons .wp-block-button:first-child .wp-block-button__link:hover { border-color: var(--oro-chiaro); background: var(--oro-chiaro); }
body.dfl-shop #content .wp-block-woocommerce-empty-cart-block .wp-block-buttons .wp-block-button:not(:first-child) .wp-block-button__link:hover { background: var(--antracite); color: var(--avorio); }
@media (max-width: 599px) { body.dfl-shop #content .wp-block-woocommerce-empty-cart-block .wp-block-buttons .wp-block-button { flex: 1 1 100%; } body.dfl-shop #content .wp-block-woocommerce-empty-cart-block .wp-block-buttons .wp-block-button__link { width: 100%; justify-content: center; } }
/* separatore a puntini: diventa un giunto in ottone */
body.dfl-shop #content .wp-block-woocommerce-empty-cart-block hr.wp-block-separator {
  width: 100%; max-width: none; height: 0; margin: clamp(56px, 7vw, 96px) 0 clamp(28px, 4vw, 40px); border: 0; border-top: 1px solid var(--oro); background: none; opacity: 1;
}
body.dfl-shop #content .wp-block-woocommerce-empty-cart-block hr.wp-block-separator::before { content: none; }
body.dfl-shop #content .wp-block-woocommerce-empty-cart-block > h2 {
  margin: 0 0 clamp(28px, 4vw, 44px); text-align: left;
  font-weight: 300; font-stretch: 125%; font-size: clamp(1.9rem, 1.2rem + 2.2vw, 3rem); line-height: 1; letter-spacing: -0.025em;
}
/* prodotti suggeriti: stesse schede della griglia */
body.dfl-shop #content .wc-block-grid__products {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 16px; margin: 0; padding: 0; list-style: none; text-align: left;
}
@media (min-width: 900px) { body.dfl-shop #content .wc-block-grid__products { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 44px 24px; } }
body.dfl-shop #content .wc-block-grid__product {
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px; max-width: none; width: auto; margin: 0; padding: 0;
  border: 0; text-align: left; flex: none;
}
body.dfl-shop #content .wc-block-grid__product-link { display: block; width: 100%; text-decoration: none; }
body.dfl-shop #content .wc-block-grid__product-title { margin: 0; color: var(--antracite); font: 500 1.0625rem/1.3 var(--f); font-stretch: 110%; }
body.dfl-shop #content .wc-block-grid__product-price { margin: 2px 0 0; color: var(--antracite); font-weight: 600; font-size: 1rem; font-variant-numeric: tabular-nums; }
body.dfl-shop #content .wc-block-grid__product-add-to-cart { margin: 12px 0 0; }
body.dfl-shop #content .wc-block-grid__product-add-to-cart .wp-block-button__link {
  min-height: 44px; padding: 0 16px; font-size: .875rem; display: inline-flex; align-items: center;
  border: 1px solid var(--antracite); background: transparent; color: var(--antracite);
}
body.dfl-shop #content .wc-block-grid__product-add-to-cart .wp-block-button__link:hover { background: var(--antracite); color: var(--avorio); }
body.dfl-shop #content .wc-block-grid__product-link:hover .wc-block-grid__product-image { box-shadow: inset 0 0 0 1px var(--oro); }

/* recensioni: pulsante del modulo come gli altri */
body.dfl-shop.single-product #content #respond input#submit {
  min-height: 48px; padding: 0 22px; border: 1px solid var(--antracite); border-radius: 0; background: transparent; color: var(--antracite);
  font: 500 .9375rem/1.2 var(--f); font-stretch: 112%; text-transform: none; letter-spacing: .01em; cursor: pointer;
}
body.dfl-shop.single-product #content #respond input#submit:hover { background: var(--antracite); color: var(--avorio); }
body.dfl-shop.single-product #content #review_form_wrapper { border-radius: 0; }

/* pulsante del preventivo: stessa altezza di "Aggiungi al carrello" */
body.dfl-shop #content .dfl-quote-toggle { min-height: 54px; }

/* ---------- barra "aggiungi al carrello" di Astra (compare scorrendo la scheda prodotto) ----------
   In alto finirebbe sotto l'header fisso: la portiamo in basso, su pietra lavica. */
body.dfl-shop div.ast-sticky-add-to-cart,
body.dfl-shop div.ast-sticky-add-to-cart.top {
  top: auto; bottom: 0; transform: translate(0, 100%);
  background: var(--lavica); box-shadow: 0 -1px 0 var(--oro);
}
body.dfl-shop div.ast-sticky-add-to-cart.is-active { transform: translate(0, 0); }
body.dfl-shop div.ast-sticky-add-to-cart .ast-container { max-width: calc(var(--maxw) + 2 * var(--gutter)); padding-inline: var(--gutter); }
body.dfl-shop div.ast-sticky-add-to-cart .ast-sticky-add-to-cart-content { color: var(--avorio); font-family: var(--f); }
body.dfl-shop div.ast-sticky-add-to-cart .ast-sticky-add-to-cart-title { color: var(--avorio); font-weight: 500; font-stretch: 110%; text-transform: none; letter-spacing: 0; }
body.dfl-shop div.ast-sticky-add-to-cart .price { color: var(--avorio); }
body.dfl-shop.woocommerce div.ast-sticky-add-to-cart .button.alt {
  min-height: 48px; padding: 0 24px; border: 1px solid var(--oro); border-radius: 0;
  background: var(--oro); color: var(--lavica);
  font: 500 .9375rem/1.2 var(--f); font-stretch: 112%; text-transform: none; letter-spacing: .01em;
}
body.dfl-shop.woocommerce div.ast-sticky-add-to-cart .button.alt:hover { border-color: var(--oro-chiaro); background: var(--oro-chiaro); color: var(--lavica); }
body.dfl-shop.woocommerce div.ast-sticky-add-to-cart .button.alt { white-space: nowrap; }
body.dfl-shop div.ast-sticky-add-to-cart .ast-qty-placeholder { color: var(--avorio); }
body.dfl-shop div.ast-sticky-add-to-cart .quantity { border-color: rgba(242, 237, 228, .35); }
/* spazio a destra per il selettore della lingua (GTranslate), che e' fisso in basso a destra */
@media (min-width: 768px) { body.dfl-shop div.ast-sticky-add-to-cart .ast-container { padding-right: calc(var(--gutter) + 110px); } }
/* su telefono il selettore della lingua sale sopra la barra quando questa compare */
@media (max-width: 767px) {
  body.dfl-shop:has(.ast-sticky-add-to-cart.is-active) #gt_float_wrapper { bottom: 96px !important; transition: bottom .3s var(--ease); }
}
/* anche il pulsante "torna su" di Astra non deve finire sopra la barra */
body.dfl-shop:has(.ast-sticky-add-to-cart.is-active) #ast-scroll-top { bottom: 96px; }
