/* Skin WooCommerce: negozio, scheda, carrello, checkout, account. */
.gdg-body .woocommerce,.gdg-body .woocommerce-page #primary{max-width:var(--gdg-wrap);margin:0 auto;padding:clamp(24px,5vw,56px) var(--gdg-gutter)}
.gdg-body .woocommerce-products-header__title,.gdg-body .product_title,.gdg-body h1.entry-title{font-family:var(--gdg-font-display);font-weight:800;font-size:clamp(1.8rem,4vw,3rem);line-height:1.1}
.gdg-body ul.products{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(230px,100%),1fr));gap:clamp(18px,3vw,30px);margin:0;padding:0;list-style:none}
.gdg-body ul.products::before,.gdg-body ul.products::after{display:none}
.gdg-body ul.products li.product{width:auto!important;float:none!important;margin:0!important;background:#fff;border:1px solid var(--gdg-line);border-radius:var(--gdg-radius);padding:14px;box-shadow:var(--gdg-shadow);transition:transform .35s ease}
.gdg-body ul.products li.product img{border-radius:10px;aspect-ratio:1;object-fit:cover;width:100%;height:auto}
.gdg-body .woocommerce-loop-product__title{font-family:var(--gdg-font-display);font-weight:700;font-size:1rem!important;letter-spacing:.03em}
.gdg-body .price,.gdg-body .amount{color:var(--gdg-gold);font-weight:700}
.gdg-body span.onsale{background:var(--gdg-gold-vivid);color:var(--gdg-ink);border-radius:99px;min-height:0;min-width:0;line-height:1;padding:8px 14px}
.gdg-body div.product{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:clamp(24px,4vw,56px)}
.gdg-body div.product div.images,.gdg-body div.product div.summary{width:auto!important;float:none!important}
.gdg-body div.product div.images img{border-radius:var(--gdg-radius)}
.gdg-body div.product .woocommerce-tabs,.gdg-body div.product .related,.gdg-body div.product .upsells{grid-column:1/-1}
.gdg-product-facts{margin:18px 0}
.gdg-body .quantity .qty{min-height:48px;border:1px solid var(--gdg-line);border-radius:10px;padding:0 8px}
.gdg-body table.shop_table{border:1px solid var(--gdg-line);border-radius:var(--gdg-radius);border-collapse:separate;overflow:hidden;background:#fff}
.gdg-body input.input-text,.gdg-body select,.gdg-body textarea{font:inherit;padding:12px 14px;border:1px solid #877B6C;border-radius:10px;background:#fff;min-height:48px;width:100%}
.gdg-body .woocommerce-info,.gdg-body .woocommerce-message{border-top-color:var(--gdg-gold);background:rgba(212,168,75,.12)}
.gdg-body .woocommerce-error{border-top-color:var(--gdg-warn)}
.gdg-body #payment{background:var(--gdg-cream);border-radius:var(--gdg-radius)}
.gdg-body #place_order{width:100%;float:none}
.gdg-when{margin:18px 0;padding:18px;border:1px solid var(--gdg-line);border-radius:var(--gdg-radius);background:#fff}
.gdg-when h3{font-family:var(--gdg-font-display)}

/* Scheda prodotto resa dal plugin */
.gdg-single{padding-top:clamp(24px,5vw,56px);padding-bottom:clamp(40px,7vw,90px)}
.gdg-single__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:clamp(24px,5vw,64px);align-items:start}
.gdg-single__media{display:grid;gap:16px}
.gdg-single__img{border-radius:var(--gdg-radius);overflow:hidden;background:var(--gdg-cream);box-shadow:var(--gdg-shadow)}
.gdg-single__img img{width:100%;height:auto}
.gdg-single__img--ph{aspect-ratio:1;display:grid;place-items:center;color:var(--gdg-gold);font-family:var(--gdg-font-sign);font-size:2.4rem}
.gdg-single__info .price{font-size:1.6rem;margin:.2em 0 .6em}
.gdg-single__info form.cart{display:flex;gap:14px;align-items:center;flex-wrap:wrap;margin:22px 0}
.gdg-shop{padding-top:clamp(24px,5vw,56px);padding-bottom:clamp(40px,7vw,90px)}
.gdg-shop .woocommerce-ordering select{max-width:100%}

/* ---- Direzione A sulle pagine WooCommerce ---- */
.gdg-body ul.products li.product{border:1px solid rgba(133,96,15,.3);box-shadow:none;position:relative}
.gdg-body ul.products li.product::before{content:"";position:absolute;inset:5px;border:1px solid rgba(212,168,75,.3);border-radius:10px;pointer-events:none}
.gdg-body ul.products li.product img{aspect-ratio:1;object-fit:cover}
.gdg-body .woocommerce-loop-product__title{text-transform:uppercase;font-size:.85rem!important;letter-spacing:.08em}
.gdg-body .woocommerce-result-count,.gdg-body .woocommerce-ordering{margin-bottom:22px}
.gdg-body .woocommerce-ordering select{min-height:44px;width:auto;padding-right:36px}
.gdg-body .woocommerce-pagination .page-numbers{display:flex;gap:8px;justify-content:center;list-style:none;padding:0;margin:32px 0 0}
.gdg-body .woocommerce-pagination .page-numbers li a,.gdg-body .woocommerce-pagination .page-numbers li span{display:grid;place-items:center;min-width:42px;height:42px;border-radius:50%;border:1px solid var(--gdg-line);text-decoration:none}
.gdg-body .woocommerce-pagination .page-numbers li .current{background:var(--gdg-ink);color:var(--gdg-ivory);border-color:var(--gdg-ink)}
/* carrello e checkout */
.gdg-body .woocommerce h2,.gdg-body .woocommerce h3{font-family:var(--gdg-font-display);font-weight:700;letter-spacing:.04em}
.gdg-body .woocommerce form .form-row label{font-weight:700;font-size:.85rem;letter-spacing:.03em}
.gdg-body .woocommerce-checkout #customer_details,.gdg-body .woocommerce-checkout-review-order{background:#fff;border:1px solid rgba(133,96,15,.3);border-radius:var(--gdg-radius);padding:clamp(16px,3vw,28px)}
.gdg-body .woocommerce-checkout-review-order{margin-top:16px}
.gdg-body table.shop_table th{font-family:var(--gdg-font-display);letter-spacing:.06em;font-size:.8rem;text-transform:uppercase}
.gdg-body .cart_totals h2{font-size:1.1rem}
.gdg-body a.checkout-button,.gdg-body #place_order{background:var(--gdg-gold-vivid)!important;border-color:var(--gdg-gold-vivid)!important;color:var(--gdg-ink)!important}
.gdg-body a.checkout-button:hover,.gdg-body #place_order:hover{background:var(--gdg-ink)!important;border-color:var(--gdg-ink)!important;color:var(--gdg-ivory)!important}
.gdg-body .woocommerce-MyAccount-navigation ul{list-style:none;padding:0;display:flex;flex-wrap:wrap;gap:8px 18px}
.gdg-body .woocommerce-MyAccount-navigation a{text-decoration:none;font-weight:700;letter-spacing:.06em;text-transform:uppercase;font-size:.8rem}
.gdg-body .woocommerce-MyAccount-navigation .is-active a{color:var(--gdg-gold)}
.gdg-body .woocommerce-notices-wrapper{margin-bottom:12px}

/* Mobile: bersagli tattili e form */
.gdg-body table.shop_table td.product-remove a.remove{display:grid;place-items:center;min-width:44px;min-height:44px;font-size:1.4rem}
.gdg-body .show-password-input{min-width:44px;min-height:44px}
.gdg-body .woocommerce form .form-row{min-width:0}
.gdg-body .woocommerce form .form-row label .optional{white-space:normal}
.gdg-body .woocommerce-checkout #customer_details .col-1,.gdg-body .woocommerce-checkout #customer_details .col-2{float:none;width:100%}
@media (max-width:600px){
  .gdg-body table.shop_table_responsive tr td{padding:10px 12px}
  .gdg-body .woocommerce-cart-form .actions .button,.gdg-body .coupon .button{width:100%;margin-top:10px}
  .gdg-body .coupon{display:grid;gap:8px}
  .gdg-body .woocommerce-ordering select{width:100%}
}

.gdg-body a.shipping-calculator-button,.gdg-body td.product-name a,.gdg-body .woocommerce-cart-form a:not(.button):not(.remove){display:inline-block;padding:10px 0}
.gdg-body a.showcoupon{display:inline-block;padding:10px 0}
.gdg-when .gdg-note{font-size:.9rem}
