/* Standard store: blocchi WooCommerce aggiunti ai template Shop/Prodotto (inc/std-woo.php). */

/* Pagamenti (shortcode dk_payment_methods format="brands") nel blocco spedizione */
.shipping .card-icons .dk-pay-brands { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.shipping .card-icons .dk-pay-brand { display: inline-grid; place-items: center; width: 44px; height: 28px; border-radius: 4px; background: #fafafa; }
.shipping .card-icons .dk-pay-brand svg { width: 34px; height: 22px; }
.shipping__link { text-decoration: underline; white-space: nowrap; }

/* Upsell / correlati con la card del tema */
.bx-std-products { margin: 60px 0; }
.bx-std-products__title { margin-bottom: 24px; }
.bx-std-products ul.products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.bx-std-products ul.products > li { width: auto; margin: 0; float: none; }
@media (max-width: 991px) { .bx-std-products ul.products { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; } }

/* Recensioni (comments_template di WooCommerce; il CSS generico di WC è disattivato) */
.product-reviews { margin: 60px 0; }
.product-reviews .woocommerce-Reviews-title { margin-bottom: 20px; }
.product-reviews .commentlist { list-style: none; margin: 0 0 30px; padding: 0; }
.product-reviews .commentlist li { padding: 16px 0; border-bottom: 1px solid var(--border, #e5e5e5); }
.product-reviews .commentlist img.avatar { float: left; width: 40px; height: 40px; border-radius: 50%; margin-right: 12px; }
.product-reviews .comment-text { overflow: hidden; }
.product-reviews #respond { max-width: 720px; }
.product-reviews #respond p { margin-bottom: 14px; }
.product-reviews #respond label { display: block; margin-bottom: 6px; font-weight: 600; }
.product-reviews #respond input[type="text"],
.product-reviews #respond input[type="email"],
.product-reviews #respond textarea,
.product-reviews #respond select { width: 100%; padding: 10px 12px; border: 1px solid var(--border, #ddd); border-radius: 6px; background: #fff; }
.product-reviews #respond .comment-form-cookies-consent label { display: inline; font-weight: 400; }
.product-reviews p.stars a { display: inline-block; margin-right: 6px; }

/* The sticky gallery ends with the detail columns, before recommendations. */
body.single-product #main > div.product[id^="product-"] {display:block;}
.single-product .product__main {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,430px);gap:60px;position:relative;}
.single-product .product__main > .product__gallery {min-width:0;}
.single-product .product__recommendations {clear:both;min-width:0;margin-top:60px;}
.single-product .product__recommendations .product-cards {margin-bottom:0;}
@media(max-width:1200px){.single-product .product__main{gap:24px;}}
@media(max-width:768px){.single-product .product__main{display:block}.single-product .product__recommendations{margin-top:40px;}}

/* Curated recommendations share the shop cards and stop below the gallery. */
.single-product .product__recommendations .bx-std-products {margin:0 0 60px;}
.single-product .product__recommendations ul.products {grid-template-columns:repeat(3,minmax(0,1fr));align-items:stretch;}
.single-product .product__recommendations ul.products > li {min-width:0;display:flex;}
.single-product .product__recommendations .product-card {width:100%;height:100%;}
.single-product .product__recommendations .product-card__image-wrapper img {width:100%;height:auto;aspect-ratio:1;object-fit:contain;}
.bx-product-report {display:grid;gap:8px;padding:20px 0;margin:24px 0;border-block:1px solid #dbe5eb;font-size:16px;line-height:1.5;}
.bx-product-report a {color:#286d9b;text-decoration:underline;text-underline-offset:3px;}
.bx-product-report small {font-size:14px;color:#454e55;}
.bx-product-report a:focus-visible {outline:2px solid #286d9b;outline-offset:4px;}
@media(max-width:991px){.single-product .product__recommendations ul.products{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:480px){.single-product .product__recommendations ul.products{grid-template-columns:1fr;gap:24px;}.single-product .product__recommendations .product-card__image-wrapper img{max-height:260px;}}
.single-product #main .bx-std-products ul.products > li.product {width:100%!important;max-width:none;margin:0!important;padding:0;float:none;gap:0;grid-template-columns:none;}
.single-product #main .bx-std-products ul.products > li.product .product-card {width:100%;max-width:none;}
