/* Native staging product pages; Woo and WHOLS own data, eligibility and price HTML. */
body.single-product #main { --theme-container-width:calc(100% - 40px); --theme-normal-container-max-width:1340px; }
body.single-product #main .product-entry-wrapper { gap:48px; }
body.single-product #main .entry-summary { min-inline-size:0; }
body.single-product #main .entry-summary h1 { font-size:32px; line-height:1.25; font-weight:700; }
body.single-product #main .tg-retail-price-label { margin:0 0 6px; font-size:14px; line-height:1.5; color:#646B58; }
body.single-product #main .entry-summary .price { margin:0 0 24px; line-height:1.5; }
body.single-product #main .entry-summary .product_meta { font-size:14px; line-height:1.7; }
body.single-product #main .entry-summary .product_meta > span { font-size:14px; line-height:1.7; text-transform:none; }
body.single-product #main .pwb-single-product-brands img { inline-size:150px; block-size:auto; object-fit:contain; }
body.single-product #main .tg-product-secondary-actions { display:flex; flex-wrap:wrap; gap:12px 24px; margin-block:16px; }
body.single-product #main .tg-product-secondary-actions :is(.jet-wishlist-button__link,.jet-compare-button__link) { min-block-size:32px; padding:4px 0; border:0; border-radius:0; font-size:14px; color:#646B58; background:transparent; }
body.single-product #main .tg-product-secondary-actions :is(.jet-wishlist-button__plane,.jet-compare-button__plane) { background:transparent; }
body.single-product #main .tg-product-secondary-actions a:hover { background:transparent; color:#4B5928; text-decoration:underline; text-underline-offset:3px; }
body.single-product #main :is(a,button,input):focus-visible { outline:3px solid #869745; outline-offset:3px; }
body.single-product #main .woocommerce-tabs { margin-block-start:56px; }
body.single-product #main .woocommerce-Tabs-panel { line-height:1.8; }
body.single-product #main :is(.related,.upsells) > h2 { font-size:26px; line-height:1.3; font-weight:700; }
body.single-product #main :is(.related,.upsells).products { inline-size:min(1340px,calc(100% - 40px)); max-inline-size:1340px; margin-inline:auto; }
body.single-product #main :is(.related,.upsells) .ct-media-container { aspect-ratio:1; max-block-size:220px; }
body.single-product #main :is(.related,.upsells) .ct-media-container img { object-fit:contain; }
body.single-product #main :is(.related,.upsells) .woocommerce-loop-product__title { font-size:18px; line-height:1.45; font-weight:600; }
body.single-product #main :is(.related,.upsells) .price { line-height:1.6; margin-block:12px; }
body.single-product #main :is(.related,.upsells) li.product { min-inline-size:0; }
@media(max-width:767px) {
  body.single-product #main .product-entry-wrapper { gap:28px; }
  body.single-product #main .entry-summary h1 { font-size:25px; }
}

/* Imported supplier headings keep their hierarchy without dominating the description. */
body.single-product #main .woocommerce-Tabs-panel :is(h1,h2) { font-size:24px; line-height:1.35; margin-block:28px 12px; }
body.single-product #main .woocommerce-Tabs-panel h3 { font-size:20px; line-height:1.4; margin-block:24px 10px; }
body.single-product #main .woocommerce-Tabs-panel :is(h4,h5,h6) { font-size:16px; line-height:1.5; margin-block:16px 6px; }
body.single-product #main .entry-summary .whols_loop_custom_price { font-size:24px; line-height:1.4; }
body.single-product #main .entry-summary .whols_loop_custom_price :is(.whols_label,.whols_label_right,.woocommerce-Price-amount,bdi) { font-size:inherit; line-height:inherit; }

/* Keep native WHOLS table semantics and values; add a clear, restrained grid. */
body.single-product #main .entry-summary .whols_shop_table { inline-size:100%; border:1px solid #C8CEBE; border-collapse:separate; border-spacing:0; border-radius:4px; margin-block:12px 20px; font-size:14px; line-height:1.5; color:#45483E; }
body.single-product #main .entry-summary .whols_shop_table :is(th,td) { padding:11px 14px; text-align:start; border:0; font-size:14px; line-height:1.5; }
body.single-product #main .entry-summary .whols_shop_table th { background:#EDF0E4; color:#4B5928; font-weight:700; border-block-end:1px solid #C8CEBE; }
body.single-product #main .entry-summary .whols_shop_table :is(th,td) + :is(th,td) { border-inline-start:1px solid #DCE0D2; }
body.single-product #main .entry-summary .whols_shop_table tbody tr + tr td { border-block-start:1px solid #DCE0D2; }
body.single-product #main .entry-summary .whols_shop_table tbody tr:nth-child(odd) { background:#F7F8F3; }
body.single-product #main .entry-summary .whols_shop_table tbody tr:nth-child(even) { background:#FFF; }
body.single-product #main .entry-summary .whols_shop_table :is(.woocommerce-Price-amount,bdi) { font-size:14px; line-height:1.5; }
body.single-product #main .tg-recommended-retail { display:flex; flex-wrap:wrap; gap:4px 10px; margin-block:16px 24px; font-size:14px; line-height:1.6; color:#646B58; }
body.single-product #main .tg-recommended-retail strong { color:#45483E; font-weight:600; }
body.single-product #main .tg-product-secondary-actions :is(.jet-wishlist-button__state,.jet-compare-button__state) { gap:7px; }
body.single-product #main .tg-product-secondary-actions :is(.jet-wishlist-button__state,.jet-compare-button__state)::before { content:""; display:inline-block; flex:0 0 16px; inline-size:16px; block-size:16px; background:currentColor; mask-repeat:no-repeat; mask-size:contain; mask-position:center; }
body.single-product #main .tg-product-secondary-actions .jet-wishlist-button__state::before { mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E"); }
body.single-product #main .tg-product-secondary-actions .jet-compare-button__state::before { mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4 7h16m-4-4 4 4-4 4M20 17H4m4-4-4 4 4 4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); }
@media(any-pointer:coarse) { body.single-product #main .tg-product-secondary-actions :is(.jet-wishlist-button__link,.jet-compare-button__link) { min-block-size:44px; } }
/* This compact two-column tier table keeps its headers on narrow screens. */
body.single-product #main .entry-summary .whols_shop_table thead { display:table-header-group; }
body.single-product #main .entry-summary .whols_shop_table tbody { display:table-row-group; }
body.single-product #main .entry-summary .whols_shop_table tr { display:table-row; }
body.single-product #main .entry-summary .whols_shop_table :is(th,td) { display:table-cell; }
body.single-product #main .entry-summary .whols_shop_table td::before { display:none; }
/* A clearer stock badge on the native detail gallery only. */
body.single-product #main .product-entry-wrapper .ct-product-gallery-container > .out-of-stock-badge { font-size:14px; line-height:1.4; font-weight:700; padding:8px 14px; block-size:auto; min-block-size:36px; }
