/* FastRig 3.2.0 - visual-only. Keep commerce controls and notices native. */
body:is(.fr32-product,.fr32-catalog) { --fr32-green:#84cc00; --fr32-orange:#ff6500; --fr32-price:#ff9852; --fr32-ink:#f5f6f5; --fr32-muted:#c3c8ca; --fr32-panel:rgba(12,15,16,.94); --fr32-edge:rgba(255,255,255,.14); }
/* Product detail: preserve the existing gallery, variation forms, hooks and sidebars. */
body.fr32-product #content .singular-main-block > .wrapper { width:100%!important; max-width:1440px!important; margin-inline:auto!important; padding-inline:clamp(14px,3vw,36px)!important; box-sizing:border-box; }
body.fr32-product #content #primary { min-width:0; padding-block:32px 54px; }
body.fr32-product #content #primary:only-child { width:100%!important; max-width:100%!important; flex:1 1 100%!important; }
body.fr32-product #content #primary div.product[id^="product-"] { display:grid!important; grid-template-columns:minmax(0,1fr) minmax(0,1.04fr); align-items:start; gap:24px 28px; color:var(--fr32-ink); width:100%; min-width:0; }
body.fr32-product #content #primary div.product[id^="product-"] > :not(.woocommerce-product-gallery):not(.summary):not(.onsale) { grid-column:1/-1; min-width:0; }
body.fr32-product #content #primary div.product[id^="product-"]::before,body.fr32-product #content #primary div.product[id^="product-"]::after { content:none!important; display:none!important; }
body.fr32-product #content div.product[id^="product-"] > :is(.woocommerce-product-gallery,.summary) { float:none!important; clear:none!important; width:100%!important; max-width:100%!important; min-width:0; margin:0!important; box-sizing:border-box; background:var(--fr32-panel)!important; border:1px solid var(--fr32-edge)!important; border-radius:16px!important; box-shadow:none!important; }
body.fr32-product #content div.product[id^="product-"] > .woocommerce-product-gallery { position:relative; grid-column:1; padding:clamp(12px,1.5vw,22px)!important; }
body.fr32-product #content div.product[id^="product-"] > .summary { grid-column:2; padding:clamp(20px,3vw,40px)!important; border-top:2px solid var(--fr32-orange)!important; }
/* Do not override FlexSlider track widths, zoom image or JS-controlled viewport height. */
body.fr32-product #content .woocommerce-product-gallery .woocommerce-product-gallery__image > a { display:block; background:#fff; border-radius:10px; overflow:hidden; }
body.fr32-product #content .woocommerce-product-gallery .woocommerce-product-gallery__image > a > img:not(.zoomImg) { display:block; width:100%!important; max-width:100%!important; height:auto!important; aspect-ratio:1/1; object-fit:contain; box-sizing:border-box; padding:12px; background:#fff; border-radius:10px; box-shadow:none!important; }
body.fr32-product #content .woocommerce-product-gallery .flex-control-thumbs { display:grid!important; grid-template-columns:repeat(6,minmax(0,1fr)); gap:9px; margin:14px 0 0!important; padding:0!important; list-style:none; }
body.fr32-product #content .woocommerce-product-gallery .flex-control-thumbs li { float:none!important; width:100%!important; min-width:0; margin:0!important; padding:0!important; }
body.fr32-product #content .woocommerce-product-gallery .flex-control-thumbs img { display:block; width:100%; height:auto; aspect-ratio:1; object-fit:contain; background:white; border:2px solid transparent; border-radius:7px; opacity:.76!important; box-sizing:border-box; }
body.fr32-product #content .woocommerce-product-gallery .flex-control-thumbs img:is(.flex-active,:hover,:focus-visible) { border-color:var(--fr32-green); opacity:1!important; }
body.fr32-product #content .woocommerce-product-gallery .woocommerce-product-gallery__trigger { top:30px!important; right:30px!important; box-shadow:none!important; }
body.fr32-product #content .summary :is(.fstrg-breadcrumbs,.woocommerce-breadcrumb) { margin:0 0 20px!important; font-size:13px!important; line-height:1.6; color:var(--fr32-muted)!important; overflow-wrap:anywhere; }
body.fr32-product #content .summary :is(.fstrg-breadcrumbs,.woocommerce-breadcrumb) a { color:var(--fr32-muted)!important; text-decoration:none; }
body.fr32-product #content .summary h1.product_title { color:#fff!important; font-size:clamp(26px,2.7vw,42px)!important; line-height:1.18!important; font-weight:750!important; letter-spacing:-.025em; text-transform:none!important; text-shadow:none!important; margin:0 0 18px!important; overflow-wrap:anywhere; }
body.fr32-product #content .summary :is(p.price,span.price,.price .amount,.price .woocommerce-Price-currencySymbol) { color:var(--fr32-price)!important; text-shadow:none!important; font-size:clamp(27px,2.6vw,38px)!important; font-weight:750!important; line-height:1.2; }
body.fr32-product #content .summary .price { display:block; margin:0 0 18px!important; }
body.fr32-product #content .summary .price del,body.fr32-product #content .summary .price del :is(.amount,.woocommerce-Price-currencySymbol) { color:#b8bdbf!important; font-size:18px!important; opacity:1; }
body.fr32-product #content .summary .price ins { text-decoration:none; }
body.fr32-product #content .summary .frs-saving { font-size:14px; margin:0 0 16px; }
body.fr32-product #content .summary .woocommerce-product-details__short-description { color:var(--fr32-muted); font-size:15px; line-height:1.75; margin:18px 0; }
body.fr32-product #content .summary .stock { font-size:14px!important; font-weight:650; text-shadow:none!important; margin:12px 0; }
body.fr32-product #content .summary .stock.in-stock { color:var(--fr32-green)!important; }
body.fr32-product #content .summary .stock.available-on-backorder { color:var(--fr32-price)!important; }
body.fr32-product #content .summary .stock.out-of-stock { color:#ff9a9a!important; }
body.fr32-product #content .summary form.cart { margin:24px 0!important; padding:20px 0; border-block:1px solid var(--fr32-edge); }
body.fr32-product #content .summary form.cart:not(.variations_form):not(.grouped_form) { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
body.fr32-product #content .summary form.cart .quantity { margin:0 10px 0 0!important; }
body.fr32-product #content .summary form.cart .quantity input.qty { min-height:48px; width:72px; background:#171b1c!important; color:white!important; border:1px solid var(--fr32-edge)!important; border-radius:8px; font-size:16px; box-shadow:none!important; }
body.fr32-product #content .summary .single_add_to_cart_button { min-height:48px; padding:13px 24px!important; border-radius:8px!important; font-size:15px!important; font-weight:750; text-shadow:none!important; box-shadow:none!important; white-space:normal; }
body.fr32-product #content .summary .single_add_to_cart_button:not(:disabled):not(.disabled):not([aria-disabled="true"]) { color:#111!important; background:var(--fr32-green)!important; border:1px solid var(--fr32-green)!important; }
body.fr32-product #content .summary .single_add_to_cart_button:not(:disabled):not(.disabled):not([aria-disabled="true"]):hover { background:#a4e02c!important; }
body.fr32-product #content .summary :is(.yith-wcwl-add-to-wishlist,.tinv-wraper,.woosw-btn) { max-width:100%; }
body.fr32-product #content .summary :is(.yith-wcwl-add-to-wishlist a.add_to_wishlist,.tinvwl_add_to_wishlist_button,.woosw-btn) { color:var(--fr32-price)!important; background:#171b1c!important; border:1px solid rgba(255,101,0,.65)!important; border-radius:8px!important; box-shadow:none!important; text-shadow:none!important; padding:12px 15px; min-height:44px; font-size:14px!important; }
body.fr32-product #content .summary .variations { width:100%; margin:0 0 16px; }
body.fr32-product #content .summary .variations select { background:#181c1d!important; color:#fff!important; border:1px solid var(--fr32-edge)!important; border-radius:7px; min-height:44px; max-width:100%; }
body.fr32-product #content .summary .product_meta { display:grid; gap:9px; margin:20px 0 0!important; color:var(--fr32-muted)!important; font-size:13px!important; line-height:1.65; overflow-wrap:anywhere; }
body.fr32-product #content .summary .product_meta a { color:var(--fr32-green)!important; }
/* Native description, additional information and review tabs. No tab JS replacement. */
body.fr32-product #content div.product .woocommerce-tabs { grid-column:1/-1; clear:both; background:var(--fr32-panel)!important; border:1px solid var(--fr32-edge); border-radius:15px; padding:clamp(16px,2.5vw,30px)!important; margin:0!important; min-width:0; }
body.fr32-product #content div.product .woocommerce-tabs ul.tabs { display:flex!important; flex-wrap:wrap; gap:8px; margin:0 0 22px!important; padding:0 0 12px!important; border-bottom:1px solid var(--fr32-edge); }
body.fr32-product #content div.product .woocommerce-tabs ul.tabs::before,body.fr32-product #content div.product .woocommerce-tabs ul.tabs li::before,body.fr32-product #content div.product .woocommerce-tabs ul.tabs li::after { content:none!important; display:none!important; }
body.fr32-product #content div.product .woocommerce-tabs ul.tabs li { margin:0!important; padding:0!important; border:1px solid transparent!important; border-radius:7px!important; background:transparent!important; box-shadow:none!important; }
body.fr32-product #content div.product .woocommerce-tabs ul.tabs li a { display:block; padding:10px 14px!important; color:var(--fr32-muted)!important; font-size:15px!important; text-shadow:none!important; }
body.fr32-product #content div.product .woocommerce-tabs ul.tabs li.active { background:#222824!important; border-color:rgba(132,204,0,.5)!important; }
body.fr32-product #content div.product .woocommerce-tabs ul.tabs li.active a { color:var(--fr32-green)!important; }
body.fr32-product #content div.product .woocommerce-tabs .panel { color:#e3e6e7; margin:0!important; font-size:16px; line-height:1.8; overflow-wrap:anywhere; }
body.fr32-product #content div.product .woocommerce-tabs .panel :is(h2,h3,h4) { color:white!important; text-shadow:none!important; line-height:1.35; }
body.fr32-product #content div.product .woocommerce-tabs .panel img { max-width:100%; height:auto; }
body.fr32-product #content div.product .woocommerce-tabs .panel table { width:100%; max-width:100%; border-collapse:collapse; }
body.fr32-product #content div.product .woocommerce-tabs .panel :is(th,td) { padding:12px; border:1px solid var(--fr32-edge); color:#e2e5e5; background:rgba(255,255,255,.025); overflow-wrap:anywhere; }
body.fr32-product #content div.product .woocommerce-tabs .panel a { color:var(--fr32-green); }
body.fr32-product #content div.product :is(.related,.up-sells) { grid-column:1/-1; width:100%; min-width:0; margin:6px 0 0; }
body.fr32-product #content div.product :is(.related,.up-sells) > h2 { color:white!important; font-size:26px!important; margin:0 0 18px!important; text-shadow:none!important; }
/* Grid: fixed maximum of four columns, rather than auto-fill across an ultrawide. */
body.fr32-catalog #content :is(.singular-main-block,.archive-main-block) > .wrapper { max-width:1660px!important; width:100%!important; margin-inline:auto!important; box-sizing:border-box; padding-inline:clamp(12px,2vw,24px)!important; }
body.fr32-catalog #content #fr31-showroom { max-width:1660px!important; padding-inline:0!important; }
body.fr32-catalog #content :is(#primary,.fr31-primary,main) { min-width:0!important; }
body.fr32-catalog #content ul.products,body.fr32-product #content :is(.related,.up-sells) ul.products { display:grid!important; grid-template-columns:repeat(4,minmax(0,1fr))!important; grid-auto-flow:row!important; grid-auto-columns:auto!important; gap:16px!important; width:100%!important; max-width:100%!important; margin:0 0 24px!important; padding:0!important; list-style:none; align-items:stretch; }
body.fr32-catalog #content ul.products::before,body.fr32-catalog #content ul.products::after,body.fr32-product #content :is(.related,.up-sells) ul.products::before,body.fr32-product #content :is(.related,.up-sells) ul.products::after { display:none!important; content:none!important; }
body.fr32-catalog #content ul.products > li.product,body.fr32-product #content :is(.related,.up-sells) ul.products > li.product { display:flex!important; flex-direction:column; min-width:0!important; width:auto!important; max-width:none!important; height:auto!important; margin:0!important; float:none!important; clear:none!important; grid-column:auto!important; grid-row:auto!important; padding:12px!important; background:var(--fr32-panel)!important; border:1px solid var(--fr32-edge)!important; border-radius:12px!important; box-shadow:none!important; box-sizing:border-box; text-align:left!important; }
body.fr32-catalog #content ul.products > li.product:hover,body.fr32-product #content :is(.related,.up-sells) ul.products > li.product:hover { border-color:rgba(132,204,0,.55)!important; }
body.fr32-catalog #content ul.products > li.product .product-card,body.fr32-product #content :is(.related,.up-sells) ul.products > li.product .product-card { background:transparent!important; border:0!important; padding:0!important; display:flex; flex-direction:column; flex:1; box-shadow:none!important; }
body.fr32-catalog #content ul.products > li.product :is(a.woocommerce-LoopProduct-link,a.woocommerce-loop-product__link),body.fr32-product #content :is(.related,.up-sells) ul.products > li.product :is(a.woocommerce-LoopProduct-link,a.woocommerce-loop-product__link) { display:flex; flex-direction:column; flex:1; min-width:0; }
body.fr32-catalog #content ul.products > li.product :is(.woocommerce-loop-product__title,.product-title,.product-name),body.fr32-product #content :is(.related,.up-sells) ul.products > li.product :is(.woocommerce-loop-product__title,.product-title,.product-name) { color:#fff!important; font-size:15px!important; line-height:1.45!important; font-weight:650; text-align:left!important; text-shadow:none!important; overflow-wrap:anywhere; }
body.fr32-catalog #content ul.products > li.product :is(.price,.price .amount,.price .woocommerce-Price-currencySymbol),body.fr32-product #content :is(.related,.up-sells) ul.products > li.product :is(.price,.price .amount,.price .woocommerce-Price-currencySymbol) { color:var(--fr32-price)!important; text-shadow:none!important; font-size:19px!important; font-weight:750; }
body.fr32-catalog #content ul.products > li.product .price del :is(.amount,.woocommerce-Price-currencySymbol),body.fr32-product #content :is(.related,.up-sells) ul.products > li.product .price del :is(.amount,.woocommerce-Price-currencySymbol) { color:#b8bdbf!important; font-size:13px!important; }
body.fr32-catalog #content ul.products > li.product .price,body.fr32-product #content :is(.related,.up-sells) ul.products > li.product .price { margin-top:auto!important; }
body.fr32-catalog #content ul.products > li.product :is(a.button,a.add_to_cart_button):not(.disabled):not([aria-disabled="true"]),body.fr32-product #content :is(.related,.up-sells) ul.products > li.product :is(a.button,a.add_to_cart_button):not(.disabled):not([aria-disabled="true"]) { background:var(--fr32-green)!important; color:#111!important; border-radius:7px!important; border:1px solid var(--fr32-green)!important; box-shadow:none!important; text-shadow:none!important; text-align:center; white-space:normal; margin:10px 0 0!important; min-height:42px; }
body.fr32-product #content :is(.related,.up-sells) ul.products > li.product :is(a.woocommerce-LoopProduct-link,a.woocommerce-loop-product__link) > img { display:block; width:100%!important; height:auto!important; aspect-ratio:4/3; object-fit:contain; background:#fff; padding:10px; border-radius:8px; box-shadow:none!important; box-sizing:border-box; }
body.fr32-product #content :is(.related,.up-sells) ul.products > li.product :is(.product-card,.product-image,.product-img,img) { box-shadow:none!important; text-shadow:none!important; }
/* Focus outlines are visible, not removed. */
body.fr32-product #content :is(.summary,.woocommerce-tabs) :is(a,button,input,select,textarea):focus-visible { outline:2px solid var(--fr32-green); outline-offset:3px; }
@media(max-width:1300px) { body.fr32-catalog #content ul.products,body.fr32-product #content :is(.related,.up-sells) ul.products { grid-template-columns:repeat(3,minmax(0,1fr))!important; } }
@media(max-width:950px) { body.fr32-catalog #content ul.products,body.fr32-product #content :is(.related,.up-sells) ul.products { grid-template-columns:repeat(2,minmax(0,1fr))!important; gap:12px!important; } body.fr32-product #content .woocommerce-product-gallery .flex-control-thumbs { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media(max-width:767px) { body.fr32-product #content #primary { padding-block:16px 30px; } body.fr32-product #content #primary div.product[id^="product-"] { grid-template-columns:minmax(0,1fr); gap:16px; } body.fr32-product #content div.product[id^="product-"] > :is(.woocommerce-product-gallery,.summary) { grid-column:1; padding:16px!important; } body.fr32-product #content .summary h1.product_title { font-size:27px!important; } body.fr32-product #content .summary .single_add_to_cart_button { flex:1 1 140px; } body.fr32-product #content .woocommerce-product-gallery .woocommerce-product-gallery__trigger { top:22px!important; right:22px!important; } body.fr32-catalog #content ul.products > li.product,body.fr32-product #content :is(.related,.up-sells) ul.products > li.product { padding:8px!important; } body.fr32-catalog #content ul.products > li.product :is(.woocommerce-loop-product__title,.product-title,.product-name),body.fr32-product #content :is(.related,.up-sells) ul.products > li.product :is(.woocommerce-loop-product__title,.product-title,.product-name) { font-size:13px!important; } }
@media(max-width:340px) { body.fr32-catalog #content ul.products,body.fr32-product #content :is(.related,.up-sells) ul.products { grid-template-columns:minmax(0,1fr)!important; } }
body.fr32-product #content #primary div.product[id^="product-"] { position:relative; }
body.fr32-product #content #primary div.product[id^="product-"] > .onsale { position:absolute; z-index:3; top:24px; left:24px; right:auto; margin:0; }
