/* ===== Product pages: homepage look (2026-11-14) ===== */

/* Page = soft tint. */
body.single-product,
body.single-product #content,
body.single-product .site-content{background:#F7F3F6 !important;}
body.single-product .ast-woocommerce-container,
body.single-product #primary,
body.single-product .site-main,
body.single-product div.product{background:transparent !important;}
body.single-product .orpa-footer-plus{margin-top:0 !important;}
body.single-product #primary{margin-top:24px !important;margin-bottom:24px !important;}

/* Gallery + details: two white rounded cards. */
body.single-product div.product > .woocommerce-product-gallery,
body.single-product div.product > .summary{
	background:#fff !important;border-radius:18px;padding:22px !important;box-sizing:border-box;box-shadow:0 1px 2px rgba(43,16,51,.04);
}
body.single-product div.product > .woocommerce-product-gallery .flex-viewport,
body.single-product div.product > .woocommerce-product-gallery img{border-radius:12px;}

/* Discount badge on the main photo: pink pill, like the cards. */
body.single-product div.product > .ast-onsale-card,
body.single-product div.product > .onsale{
	background:#A5397A !important;color:#fff !important;border-radius:999px !important;padding:7px 11px !important;
	font-size:13px !important;font-weight:700 !important;line-height:1 !important;min-width:0 !important;min-height:0 !important;
	width:auto !important;height:auto !important;box-shadow:none !important;top:36px !important;left:36px !important;z-index:5;
}

/* Description / Reviews tabs: one white card. */
body.single-product div.product > .woocommerce-tabs{
	clear:both;background:#fff;border-radius:18px;padding:10px 30px 26px !important;margin-top:24px !important;box-sizing:border-box;box-shadow:0 1px 2px rgba(43,16,51,.04);
}
body.single-product .woocommerce-tabs ul.tabs{margin-top:0 !important;}

/* Related products + Recently viewed: white cards with homepage-style product cards. */
body.single-product section.related{
	clear:both;background:#fff;border-radius:18px;padding:22px 26px 26px !important;margin-top:24px !important;box-sizing:border-box;box-shadow:0 1px 2px rgba(43,16,51,.04);
}
body.single-product section.related > h2{font-size:22px !important;font-weight:500 !important;margin:0 0 16px !important;color:#1F2430;}
/* no gap here: Astra lays related cards out with % widths, a gap wraps the 4th */
body.single-product section.related ul.products{margin-bottom:0 !important;}
body.single-product section.related ul.products li.product{
	position:relative;background:#fff !important;border:1px solid #EFE6EC !important;border-radius:14px !important;
	box-shadow:none !important;transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;overflow:hidden;margin-bottom:0 !important;
}
body.single-product section.related ul.products li.product:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(43,16,51,.09) !important;border-color:#E3D2DE !important;}
body.single-product section.related ul.products li.product img{border-radius:10px;}
body.single-product section.related ul.products li.product .woocommerce-loop-product__title{text-decoration:none !important;}
body.single-product section.related ul.products li.product .ast-onsale-card{
	background:#A5397A !important;color:#fff !important;border-radius:999px !important;padding:6px 9px !important;font-size:12px !important;font-weight:700 !important;line-height:1 !important;
	right:auto !important;bottom:auto !important;width:auto !important;height:auto !important;min-width:0 !important;min-height:0 !important;max-width:max-content !important;box-shadow:none !important;
}
body.single-product section.related ul.products li.product .oa-save{
	display:inline-block;font-size:12px;font-weight:600;line-height:1.2;color:#1E7B3C;background:#EAF6EE;padding:3px 8px;border-radius:999px;margin:2px 0 8px;
}
body.single-product section.related ul.products li.product .orpa-wishlist-button.is-loop{
	position:absolute !important;top:18px !important;right:18px !important;left:auto !important;bottom:auto !important;
	width:36px !important;height:36px !important;min-height:36px !important;padding:0 !important;margin:0 !important;gap:0 !important;
	border-radius:50% !important;justify-content:center !important;z-index:3;background:rgba(255,255,255,.92) !important;border:1px solid #EFE6EC !important;box-shadow:0 2px 8px rgba(0,0,0,.06);
}
body.single-product section.related ul.products li.product .orpa-wishlist-button.is-loop .orpa-wishlist-button-label{display:none !important;}
body.single-product section.related ul.products li.product .orpa-wishlist-button.is-loop .orpa-wishlist-heart{width:18px !important;height:18px !important;margin:0 !important;}

@media (max-width:921px){
	body.single-product div.product > .woocommerce-product-gallery{margin-bottom:14px !important;}
}
@media (max-width:640px){
	body.single-product #primary{margin-top:12px !important;}
	body.single-product div.product > .woocommerce-product-gallery,
	body.single-product div.product > .summary{padding:14px !important;border-radius:14px;}
	body.single-product div.product > .woocommerce-tabs{padding:6px 16px 18px !important;border-radius:14px;margin-top:14px !important;}
	body.single-product section.related{padding:16px 12px 16px !important;border-radius:14px;margin-top:14px !important;}
	body.single-product section.related ul.products li.product .orpa-wishlist-button.is-loop{top:12px !important;right:12px !important;width:32px !important;height:32px !important;min-height:32px !important;}
}

/* Astra pins the sale span with left AND right, which stretched the badge. */
body.single-product div.product > .ast-onsale-card,
body.single-product div.product > .onsale{right:auto !important;bottom:auto !important;display:inline-block !important;max-width:max-content !important;transform:none !important;}

/* No white strip between the purple nav and the tinted page. */
body.single-product .elementor-element-532bc27 > .elementor-container > .elementor-column > .elementor-widget-wrap{padding-bottom:0 !important;}

/* Astra prints the sale badge twice per card on product pages; show one. */
ul.products li.product .astra-shop-thumbnail-wrap .ast-onsale-card ~ .ast-onsale-card{display:none !important;}

/* Phones (≤767px): keep the earlier rule from the Product Page module — no
   badge on the main photo (the "Save N%" chip beside the price says it), but
   that rule also hid the badges on Related / Recently viewed cards. Show one
   badge per card there. */
@media (max-width:767px){
	body.single-product div.product > .ast-onsale-card,
	body.single-product div.product > .onsale{display:none !important;}
	body.single-product section.related ul.products li.product .astra-shop-thumbnail-wrap .ast-onsale-card:not(.ast-onsale-card ~ .ast-onsale-card){display:block !important;}
}
