/* GadgetTechLab v5.0 — refined WooCommerce single-product presentation.
   All rules are scoped to the single product page. WooCommerce owns the
   product/gallery data; the theme does not fabricate external image URLs. */
body.single-product .g4-woo-layout{padding-top:25px;padding-bottom:68px;background:#fff}
body.single-product .g4-woo-layout .g4-shell{max-width:1240px}
body.single-product .g4-woo-crumb{padding:0 0 23px;max-width:100%;min-width:0}
body.single-product .woocommerce-breadcrumb{font-size:11px!important;font-weight:400;line-height:1.9;color:#7a879a!important;overflow-wrap:anywhere;margin:0!important}
body.single-product .woocommerce-breadcrumb a{color:#52627a;text-decoration:none}
body.single-product .woocommerce-breadcrumb a:hover{color:#c87805;text-decoration:underline}
body.single-product .g4-woo-single{background:#fff;border:1px solid #e8edf2;border-radius:12px;padding:clamp(16px,2.25vw,29px);box-shadow:0 14px 44px rgba(13,32,61,.045);min-width:0}
body.single-product .g4-woo-single .woocommerce{min-width:0}
body.single-product .g4-woo-single div.product{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(0,.98fr);gap:0 clamp(22px,3.7vw,49px);align-items:start;min-width:0}
body.single-product .g4-woo-single div.product::before,body.single-product .g4-woo-single div.product::after{display:none!important}
body.single-product .g4-woo-single div.product div.images,body.single-product .g4-woo-single div.product .woocommerce-product-gallery{grid-column:1;grid-row:1;float:none!important;width:100%!important;margin:0!important;min-width:0;max-width:100%}
body.single-product .g4-woo-single div.product div.summary{grid-column:2;grid-row:1;float:none!important;width:100%!important;margin:0!important;min-width:0;max-width:100%;padding:5px 0 0}
body.single-product .g4-woo-single div.product .woocommerce-tabs,
body.single-product .g4-woo-single div.product .related,
body.single-product .g4-woo-single div.product .upsells,
body.single-product .g4-woo-single div.product > .clear,
body.single-product .g4-woo-single div.product > .woocommerce-notices-wrapper{grid-column:1/-1;min-width:0}
body.single-product .g4-woo-single div.product > .clear{display:none}
body.single-product .g4-woo-single .woocommerce-product-gallery{position:relative}
body.single-product .g4-woo-single .woocommerce-product-gallery .flex-viewport,
body.single-product .g4-woo-single .woocommerce-product-gallery:not(.g4-gallery-fallback) > .woocommerce-product-gallery__wrapper{background:#fbfcfe;border:1px solid #e9edf3;border-radius:10px;overflow:hidden;box-shadow:inset 0 0 0 1px #fff}
body.single-product .g4-woo-single .woocommerce-product-gallery .woocommerce-product-gallery__wrapper{padding:0!important;border:none!important;background:transparent!important;border-radius:0!important;min-width:0}
body.single-product .g4-woo-single .woocommerce-product-gallery .woocommerce-product-gallery__image{margin:0!important;padding:0!important;background:#fbfcfe;min-width:0}
body.single-product .g4-woo-single .woocommerce-product-gallery .woocommerce-product-gallery__image a{display:flex;justify-content:center;align-items:center;width:100%;min-height:0;text-decoration:none;background:#fbfcfe}
body.single-product .g4-woo-single .woocommerce-product-gallery .woocommerce-product-gallery__image img:not(.zoomImg){
 display:block!important;width:100%!important;height:clamp(295px,37vw,535px)!important;max-height:535px!important;max-width:100%!important;
 object-fit:contain!important;object-position:center center!important;margin:0!important;padding:18px!important;
 box-sizing:border-box!important;background:#fbfcfe;filter:none!important;transform:none!important;
}
/* Woo zoom creates an extra, absolute positioned copy; don't constrain it. */
body.single-product .g4-woo-single .woocommerce-product-gallery .zoomImg{padding:0!important;max-height:none!important;max-width:none!important;object-fit:initial!important;background:transparent!important}
body.single-product .g4-woo-single .woocommerce-product-gallery .woocommerce-product-gallery__trigger{top:14px;right:14px;left:auto;width:34px;height:34px;background:#fff;color:#122849;border:1px solid #e4e9ef;border-radius:8px;box-shadow:0 5px 16px rgba(20,35,53,.1);z-index:9}
body.single-product .g4-woo-single .woocommerce-product-gallery .flex-control-nav.flex-control-thumbs,
body.single-product .g4-woo-single .woocommerce-product-gallery .g4-gallery-fallback-thumbs{list-style:none!important;display:flex!important;gap:10px;overflow-x:auto;scrollbar-width:thin;max-width:100%;margin:12px 0 0!important;padding:4px 1px 8px!important;float:none!important;align-items:stretch;flex-wrap:nowrap}
body.single-product .g4-woo-single .woocommerce-product-gallery .flex-control-thumbs li{flex:0 0 77px!important;width:77px!important;min-width:0;float:none!important;list-style:none!important;margin:0!important;padding:0!important}
body.single-product .g4-woo-single .woocommerce-product-gallery .flex-control-thumbs li img,
body.single-product .g4-woo-single .woocommerce-product-gallery .g4-gallery-fallback-thumbs img{display:block!important;width:77px!important;height:78px!important;padding:6px!important;object-fit:contain!important;background:#f9fbfd;border:1px solid #e5ebf2;border-radius:7px;opacity:1!important;transition:border-color .18s,box-shadow .18s;box-sizing:border-box}
body.single-product .g4-woo-single .woocommerce-product-gallery .flex-control-thumbs li img:hover,
body.single-product .g4-woo-single .woocommerce-product-gallery .flex-control-thumbs li img.flex-active{border-color:#ff9900!important;box-shadow:0 0 0 2px rgba(255,153,0,.12)}
body.single-product .g4-woo-single .woocommerce-product-gallery .g4-gallery-fallback-thumbs button{background:none;border:0;padding:0;margin:0;cursor:pointer;flex:none}
body.single-product .g4-woo-single .woocommerce-product-gallery .g4-gallery-fallback-thumbs button[aria-current="true"] img{border-color:#ff9900;box-shadow:0 0 0 2px rgba(255,153,0,.14)}
body.single-product .g4-woo-single .woocommerce-product-gallery.g4-gallery-fallback > .woocommerce-product-gallery__wrapper{border:1px solid #e9edf3!important;border-radius:10px!important;overflow:hidden}
body.single-product .g4-woo-single .woocommerce-product-gallery.g4-gallery-fallback .woocommerce-product-gallery__image[hidden]{display:none!important}
body.single-product .g4-woo-single .woocommerce-product-gallery .flex-direction-nav a{opacity:1;border-radius:50%;background:rgba(255,255,255,.95);box-shadow:0 4px 14px rgba(15,27,47,.1)}
body.single-product .g4-woo-single div.product .product_title,
body.single-product .g4-woo-single div.product h1.product_title{margin:0 0 17px!important;font-size:27px!important;font-weight:600!important;letter-spacing:-.025em!important;line-height:1.28;color:#142746;overflow-wrap:anywhere}
body.single-product .g4-woo-single div.product .woocommerce-product-rating{margin:0 0 17px;display:flex;gap:9px;flex-wrap:wrap;align-items:center;color:#637289;font-size:12px}
body.single-product .g4-woo-single div.product .summary .price{margin:0 0 16px;color:#18314e;font-size:18px!important;font-weight:600}
body.single-product .g4-woo-single div.product .summary .woocommerce-product-details__short-description{font-size:13px;line-height:1.86;color:#586b80;border-bottom:1px solid #e8edf2;padding:0 0 16px;margin:0 0 18px;overflow-wrap:anywhere}
body.single-product .g4-woo-single div.product .summary .woocommerce-product-details__short-description p{margin:0 0 9px}
body.single-product .g4-woo-single div.product form.cart{display:flex;flex-wrap:wrap;align-items:stretch;gap:12px;margin:17px 0 22px;padding:16px;border:1px solid #e7edf4;border-radius:14px;background:#fbfcfe;box-shadow:0 10px 28px rgba(15,34,58,.04)}
body.single-product .g4-woo-single div.product form.cart .quantity{float:none;margin:0;display:flex;align-items:stretch;flex:0 0 auto}
body.single-product .g4-woo-single div.product form.cart .quantity input.qty{border:1px solid #d8e1ec;border-radius:10px;background:#fff;min-width:84px;width:84px;height:48px;padding:8px 12px;color:#24354e;font-size:14px;font-weight:600;text-align:center;box-shadow:inset 0 1px 1px rgba(12,24,40,.03)}
body.single-product .g4-woo-single div.product form.cart .single_add_to_cart_button,
body.single-product .g4-woo-single div.product form.cart a.single_add_to_cart_button{
 display:inline-flex!important;gap:8px;align-items:center;justify-content:center;min-height:48px!important;
 background:linear-gradient(180deg,#ffb132 0%,#ff9900 100%)!important;border-radius:10px!important;border:1px solid #f09a00!important;color:#132743!important;
 font-size:13px!important;font-weight:600!important;padding:12px 26px!important;margin:0!important;
 text-decoration:none;line-height:1.5;white-space:nowrap;text-align:center;box-shadow:0 10px 22px rgba(255,153,0,.18)!important;
}
body.single-product .g4-woo-single div.product form.cart .single_add_to_cart_button:hover,
body.single-product .g4-woo-single div.product form.cart a.single_add_to_cart_button:hover{background:linear-gradient(180deg,#ffa91a 0%,#ea8d00 100%)!important;transform:translateY(-1px)}
body.single-product .g4-woo-single div.product form.cart .single_add_to_cart_button:focus-visible,
body.single-product .g4-woo-single div.product form.cart .quantity input.qty:focus-visible{outline:2px solid rgba(255,153,0,.35);outline-offset:2px}
body.single-product .g4-woo-single div.product .summary .variations{width:100%;margin:0 0 12px}
body.single-product .g4-woo-single div.product .summary .variations th,
body.single-product .g4-woo-single div.product .summary .variations td{padding:6px 10px 6px 0;vertical-align:middle}
body.single-product .g4-woo-single div.product .summary select{max-width:100%;border:1px solid #dce3ec;border-radius:6px;padding:9px;background:white}
body.single-product .g4-woo-single div.product .product_meta{font-size:11px;line-height:1.85;color:#6c7c8f;border-top:1px solid #e8edf2;margin-top:18px;padding-top:15px;overflow-wrap:anywhere}
body.single-product .g4-woo-single div.product .product_meta > span{display:block;margin-bottom:4px}
body.single-product .g4-woo-single div.product .product_meta a{color:#1e446f;text-decoration:none}
body.single-product .g4-woo-single .g4-affiliate-disclosure{font-size:11px;line-height:1.7;color:#64748a;padding:11px 13px;margin:8px 0;border-left:2px solid #ff9900;background:#fafbfc;border-radius:0 5px 5px 0}
body.single-product .g4-woo-single div.product .woocommerce-tabs{margin-top:38px;padding:23px 0 0;border-top:1px solid #e8edf2;min-width:0}
body.single-product .g4-woo-single div.product .woocommerce-tabs ul.tabs{display:flex;flex-wrap:wrap;gap:5px;padding:0!important;margin:0 0 25px!important;border-bottom:1px solid #e5eaf0}
body.single-product .g4-woo-single div.product .woocommerce-tabs ul.tabs::before,
body.single-product .g4-woo-single div.product .woocommerce-tabs ul.tabs::after{display:none!important}
body.single-product .g4-woo-single div.product .woocommerce-tabs ul.tabs li{border:0!important;border-bottom:2px solid transparent!important;background:transparent!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:0 14px -1px 0!important}
body.single-product .g4-woo-single div.product .woocommerce-tabs ul.tabs li::before,
body.single-product .g4-woo-single div.product .woocommerce-tabs ul.tabs li::after{display:none!important}
body.single-product .g4-woo-single div.product .woocommerce-tabs ul.tabs li.active{border-bottom-color:#ff9900!important}
body.single-product .g4-woo-single div.product .woocommerce-tabs ul.tabs li a{font-size:12px;font-weight:600;padding:12px 7px!important;color:#657289!important}
body.single-product .g4-woo-single div.product .woocommerce-tabs ul.tabs li.active a{color:#102a4a!important}
body.single-product .g4-woo-single div.product .woocommerce-tabs .panel{padding:0 4px 8px;margin:0!important;max-width:100%;min-width:0;color:#4b5a6e;font-size:13px;line-height:1.85;overflow-wrap:anywhere}
body.single-product .g4-woo-single div.product .woocommerce-tabs .panel img{max-width:100%;height:auto}
body.single-product .g4-woo-single div.product .woocommerce-tabs .panel table{max-width:100%;border-collapse:collapse}
body.single-product .g4-woo-single div.product .woocommerce-tabs .panel table td,body.single-product .g4-woo-single div.product .woocommerce-tabs .panel table th{padding:10px;border-bottom:1px solid #e9edf2;text-align:left}
body.single-product .g4-woo-single div.product .related,body.single-product .g4-woo-single div.product .upsells{margin-top:35px;padding:22px 0 0;border-top:1px solid #e9edf2}
body.single-product .g4-woo-single div.product .related > h2,
body.single-product .g4-woo-single div.product .upsells > h2{font-size:22px!important;margin:0 0 20px!important;color:#112a4a}
body.single-product .g4-woo-single div.product .related ul.products,body.single-product .g4-woo-single div.product .upsells ul.products{margin-top:0!important}
body.single-product .g4-woo-single div.product .related ul.products li.product img,body.single-product .g4-woo-single div.product .upsells ul.products li.product img{object-fit:contain!important;background:#f8fafc}
body.single-product .g4-woo-single div.product :is(img,video,iframe){max-width:100%}
body.single-product .g4-woo-single div.product :is(.summary,.woocommerce-tabs,.related,.upsells){overflow-wrap:anywhere}
@media(max-width:900px){
 body.single-product .g4-woo-single div.product{column-gap:22px}
 body.single-product .g4-woo-single .woocommerce-product-gallery .woocommerce-product-gallery__image img:not(.zoomImg){height:clamp(260px,39vw,420px)!important}
}
@media(max-width:700px){
 body.single-product .g4-woo-layout{padding:15px 0 48px}
 body.single-product .g4-woo-crumb{padding-bottom:14px}
 body.single-product .g4-woo-single{padding:13px;border-radius:9px}
 body.single-product .g4-woo-single div.product{display:block}
 body.single-product .g4-woo-single div.product div.images,
 body.single-product .g4-woo-single div.product .woocommerce-product-gallery{margin-bottom:22px!important}
 body.single-product .g4-woo-single .woocommerce-product-gallery .woocommerce-product-gallery__image img:not(.zoomImg){height:min(86vw,405px)!important;max-height:405px!important;padding:12px!important}
 body.single-product .g4-woo-single .woocommerce-product-gallery .flex-control-thumbs li{width:66px!important;flex-basis:66px!important}
 body.single-product .g4-woo-single .woocommerce-product-gallery .flex-control-thumbs li img,
 body.single-product .g4-woo-single .woocommerce-product-gallery .g4-gallery-fallback-thumbs img{height:68px!important;width:66px!important}
 body.single-product .g4-woo-single div.product .product_title{font-size:25px!important;margin-bottom:13px!important}
 body.single-product .g4-woo-single div.product .summary .woocommerce-product-details__short-description{font-size:12.5px}
 body.single-product .g4-woo-single div.product form.cart{gap:10px;padding:12px}
 body.single-product .g4-woo-single div.product form.cart .quantity{width:100%}
 body.single-product .g4-woo-single div.product form.cart .quantity input.qty{width:100%;min-width:0;height:46px}
 body.single-product .g4-woo-single div.product form.cart .single_add_to_cart_button{min-width:130px;flex:1;width:100%}
 body.single-product .g4-woo-single div.product .woocommerce-tabs{margin-top:29px}
 body.single-product .g4-woo-single div.product .woocommerce-tabs ul.tabs li{margin-right:8px!important}
}
@media(max-width:370px){body.single-product .g4-woo-single .woocommerce-product-gallery .woocommerce-product-gallery__image img:not(.zoomImg){height:280px!important}}
@media(prefers-reduced-motion:reduce){body.single-product .g4-woo-single *{scroll-behavior:auto!important;transition:none!important}}
/* Reset legacy list markers in tab navigation without affecting product text. */
body.single-product .g4-woo-single div.product .woocommerce-tabs ul.tabs,
body.single-product .g4-woo-single div.product .woocommerce-tabs ul.tabs li{list-style:none!important}
body.single-product .g4-woo-single div.product .woocommerce-tabs ul.tabs li::marker{content:''}
