
/* v3.3 product detail redesign — isolated to single product pages */
.single-product .rc-woo-content{background:#f6f7f9;padding-top:22px;padding-bottom:65px;max-width:none;width:100%}
.single-product .rc-woo-content>.woocommerce{width:min(1360px,calc(100% - 56px));margin:auto}
.rc4-product{color:#172033}.rc4-breadcrumb{margin:0 0 18px;font-size:12px}.rc4-breadcrumb .woocommerce-breadcrumb{margin:0!important}
.rc4-product-layout{display:grid;grid-template-columns:minmax(0,1.13fr) minmax(0,1fr) minmax(265px,.72fr);align-items:start;gap:20px}
.rc4-gallery-panel,.rc4-info-panel,.rc4-buy-panel,.rc4-details{background:#fff;border:1px solid #e5e9ef;border-radius:13px;box-shadow:0 5px 20px #16213b08}
.rc4-gallery-panel{position:relative;padding:18px;min-width:0}.rc4-photo-badge{position:absolute;top:29px;left:29px;z-index:5;background:#192b42;color:white;padding:7px 10px;border-radius:6px;font-size:11px;font-weight:700}
.woocommerce div.product.rc4-product div.images{width:100%;float:none;margin:0!important}.rc4-gallery-panel .woocommerce-product-gallery__wrapper{border-radius:8px;overflow:hidden;background:#fff}.rc4-gallery-panel .woocommerce-product-gallery__image img{width:100%!important;max-height:480px;object-fit:contain;display:block}.rc4-gallery-panel .flex-control-thumbs{display:flex!important;flex-wrap:wrap;gap:9px;margin-top:15px!important}.rc4-gallery-panel .flex-control-thumbs li{width:calc(20% - 8px)!important;float:none!important;border:1px solid #e1e6ed;border-radius:7px;overflow:hidden;padding:4px}.rc4-gallery-panel .flex-control-thumbs li img{height:68px;object-fit:contain}.rc4-gallery-panel .flex-control-thumbs li img.flex-active{outline:2px solid #df1725;outline-offset:-2px;border-radius:4px}
.rc4-info-panel{padding:27px;min-width:0}.rc4-info-panel .summary{float:none!important;width:100%!important;margin:0!important}.rc4-info-panel .product_title{font-size:clamp(23px,2vw,30px);line-height:1.28;font-weight:800;letter-spacing:-.6px;margin:5px 0 12px}.rc4-product-meta{display:flex;gap:12px;flex-wrap:wrap;font-size:12px;color:#60718a;margin-bottom:8px}.rc4-used-tag{color:#bd1421;font-size:12px;font-weight:800;margin-bottom:10px}
.rc4-info-panel .woocommerce-product-rating{margin:12px 0!important}.rc4-info-panel .price{font-size:30px!important;font-weight:800;color:#d71020!important;margin:15px 0 20px!important}.rc4-info-panel .woocommerce-product-details__short-description{color:#44546a;line-height:1.75;border-top:1px solid #e7ebf1;padding-top:15px;margin:18px 0}.rc4-info-panel .woocommerce-product-details__short-description p{margin:0 0 9px}.rc4-info-panel .stock{font-weight:700;font-size:13px;color:#17834b!important}.rc4-info-panel .stock.out-of-stock{color:#c8212e!important}
.rc4-info-panel form.cart{margin:22px 0!important;padding:17px 0;border-top:1px solid #e7ebf1;display:flex;align-items:center;flex-wrap:wrap;gap:10px}.rc4-info-panel form.cart .quantity{margin:0!important}.rc4-info-panel form.cart .qty{height:48px;width:75px;border:1px solid #dce2ea;border-radius:7px}.rc4-info-panel form.cart button.single_add_to_cart_button{min-height:48px;padding:13px 20px!important;flex:1;white-space:normal;font-size:14px;font-weight:800}.rc4-info-panel .product_meta{padding-top:15px;border-top:1px solid #e7ebf1;color:#6b7688;font-size:12px;line-height:2}.rc4-info-panel .product_meta>span{display:block}.rc4-info-panel .product_meta a{color:#a90e19}.rc4-purchase-anchor{scroll-margin-top:20px}
.rc4-buy-panel{padding:0 21px 21px;overflow:hidden;position:sticky;top:18px}.rc4-buy-head{margin:0 -21px 18px;padding:16px 21px;background:#18253b;color:#fff;font-size:15px;font-weight:800}.rc4-buy-price{font-size:27px;font-weight:850;color:#d71020;line-height:1.3}.rc4-buy-price del{font-size:14px;color:#9da5b1}.rc4-buy-price ins{text-decoration:none}.rc4-buy-stock{font-size:13px;margin:10px 0;color:#14854b}.rc4-buy-stock .stock{color:inherit}.rc4-buy-jump{display:block;text-align:center;background:#db1221;color:white;border-radius:7px;padding:13px;margin:17px 0;font-size:13px;font-weight:800}.rc4-buy-jump:hover{background:#b90b19;color:white}.rc4-buy-divider{border-top:1px solid #e6eaf0;margin:19px 0}.rc4-benefit{display:flex;align-items:flex-start;gap:12px;margin:18px 0}.rc4-benefit>span{color:#d71322;font-size:19px;min-width:20px;line-height:1}.rc4-benefit strong{display:block;font-size:12px;line-height:1.4}.rc4-benefit small{display:block;color:#647184;font-size:11px;margin-top:4px;line-height:1.5}.rc4-call{display:block;text-align:center;border:1px solid #d7e0ea;border-radius:7px;padding:11px;font-size:12px;font-weight:750;margin-top:22px}
.rc4-details{margin-top:23px;padding:28px}.rc4-details .woocommerce-tabs ul.tabs{padding:0!important;display:flex;flex-wrap:wrap;gap:20px;border-bottom:1px solid #e1e6ed;margin-bottom:25px!important}.rc4-details .woocommerce-tabs ul.tabs:before,.rc4-details .woocommerce-tabs ul.tabs li:before,.rc4-details .woocommerce-tabs ul.tabs li:after{display:none!important}.rc4-details .woocommerce-tabs ul.tabs li{background:transparent!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important}.rc4-details .woocommerce-tabs ul.tabs li a{padding:12px 3px!important;font-size:14px;color:#667185!important}.rc4-details .woocommerce-tabs ul.tabs li.active a{border-bottom:3px solid #d71020;color:#152033!important}.rc4-details .woocommerce-Tabs-panel{line-height:1.85;color:#35445a}.rc4-details .woocommerce-Tabs-panel h2{font-size:23px;color:#18243a}.rc4-details table.shop_attributes{border:1px solid #e2e7ed!important;border-radius:8px;overflow:hidden}.rc4-details table.shop_attributes tr:nth-child(even){background:#f7f9fc}.rc4-details table.shop_attributes th,.rc4-details table.shop_attributes td{border:1px solid #e2e7ed!important;padding:11px 15px!important;text-align:left;font-size:13px;font-style:normal!important}.rc4-details table.shop_attributes th{width:32%;color:#52657d;font-weight:650}.rc4-details .related.products{margin-top:35px}.rc4-details .related.products>h2{font-size:23px;margin-bottom:20px}.rc4-used-details{border:1px solid #d8e6de;border-left:4px solid #27995e;background:#f6fcf8;padding:19px 22px;border-radius:9px;margin:20px 0 26px}.rc4-used-details h2{font-size:19px;margin:0 0 10px}.rc4-used-details p{font-size:13px;margin:7px 0;line-height:1.7}
@media(max-width:1150px){.rc4-product-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.rc4-buy-panel{grid-column:2;position:static}.rc4-gallery-panel{grid-row:span 2}.rc4-info-panel{grid-column:2}}
@media(max-width:760px){.single-product .rc-woo-content>.woocommerce{width:calc(100% - 24px)}.rc4-product-layout{display:block}.rc4-gallery-panel,.rc4-info-panel,.rc4-buy-panel{margin-bottom:14px}.rc4-gallery-panel{padding:12px}.rc4-info-panel{padding:20px}.rc4-buy-panel{padding-bottom:17px}.rc4-details{padding:17px}.rc4-info-panel .product_title{font-size:24px}.rc4-gallery-panel .woocommerce-product-gallery__image img{max-height:350px}.rc4-details .woocommerce-tabs ul.tabs{gap:12px}.rc4-details .woocommerce-tabs ul.tabs li a{font-size:12px!important}.rc4-details table.shop_attributes th{width:42%}}

/* v3.7: denser JMT-inspired product layout and sticky section navigation */
.single-product .rc-woo-content>.woocommerce{width:min(1660px,calc(100% - 44px));max-width:1660px}
.rc4-product-layout{grid-template-columns:minmax(0,1.18fr) minmax(0,1.12fr) minmax(285px,.72fr);gap:18px}
.rc4-gallery-panel,.rc4-info-panel,.rc4-buy-panel{border-radius:10px}
.rc4-gallery-panel .woocommerce-product-gallery__image img{max-height:410px;object-fit:contain}
.rc4-info-panel .summary>.price{display:none!important}
.rc4-info-panel .product_title{font-size:clamp(21px,1.7vw,27px)}
.rc4-buy-panel{top:75px}
.rc4-buy-panel .rc4-buy-jump{background:#d80c20;color:white}
.rc4-details{padding:26px;margin-top:22px}
.rc4-details .related.products ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin:0!important;padding:0!important}
.rc4-details .related.products ul.products:before,.rc4-details .related.products ul.products:after{display:none!important}
.rc4-details .related.products ul.products li.product{float:none!important;width:auto!important;margin:0!important;min-width:0;padding:14px!important;border:1px solid #e2e7ef;border-radius:9px;background:white;display:flex;flex-direction:column;gap:7px}
.rc4-details .related.products ul.products li.product img{height:185px!important;object-fit:contain!important;margin:0 auto 10px!important}
.rc4-details .related.products ul.products li.product .button{margin-top:auto!important;text-align:center}
.rc37-sticky-nav{position:sticky;top:0;z-index:80;display:flex;align-items:center;gap:4px;overflow-x:auto;white-space:nowrap;background:#fff;border:1px solid #e4e9f0;box-shadow:0 3px 12px #10243a10;border-radius:8px;padding:7px 12px;margin:0 0 16px;scrollbar-width:thin}
.rc37-sticky-nav a{padding:10px 14px;color:#33445b;font-size:13px;font-weight:650;border-radius:5px;text-decoration:none}
.rc37-sticky-nav a:hover,.rc37-sticky-nav a:focus{background:#fff0f2;color:#c70b20}
#rc37-gallery,#rc37-description,#rc37-specs,#rc37-reviews,#rc37-related{scroll-margin-top:85px}
@media(max-width:1150px){.rc4-product-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.rc4-details .related.products ul.products{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.single-product .rc-woo-content>.woocommerce{width:calc(100% - 24px)}.rc4-product-layout{display:block}.rc37-sticky-nav{margin-bottom:12px}.rc4-details .related.products ul.products{grid-template-columns:repeat(2,minmax(0,1fr))}.rc4-details .related.products ul.products li.product img{height:130px!important}}

/* v3.8 — Ardes-inspired clean information hierarchy */
.single-product .rc-woo-content{background:#f4f6f9}
.rc4-product-layout{grid-template-columns:minmax(0,1.12fr) minmax(0,1fr) minmax(310px,.77fr);gap:14px}
.rc4-gallery-panel,.rc4-info-panel{padding:19px}
.rc4-gallery-panel .woocommerce-product-gallery__image img{max-height:440px}
.rc4-info-panel .product_title{font-size:clamp(20px,1.55vw,27px);line-height:1.35}
.rc4-info-panel .woocommerce-product-details__short-description{border:0;padding:0;margin:14px 0;line-height:1.6}
.rc4-info-panel .woocommerce-product-details__short-description ul{padding-left:18px}
.rc4-info-panel .product_meta{margin-top:18px}
.rc38-more{display:block;border:1px solid #d3dce8;color:#b7091c;text-align:center;padding:11px;margin:14px 0 0;border-radius:6px;font-size:13px;font-weight:700}
.rc4-buy-panel{position:sticky;top:74px}
.rc38-cart-area{margin:18px 0}.rc38-cart-area form.cart{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin:0!important}
.rc38-cart-area .quantity{margin:0!important}.rc38-cart-area .qty{height:46px;width:62px;border:1px solid #cdd5df;border-radius:5px;text-align:center}
.rc38-cart-area button.single_add_to_cart_button{background:#db1023!important;color:white!important;min-height:46px;flex:1;border-radius:5px!important;font-weight:800!important}
.rc38-cart-area .variations{width:100%}.rc38-cart-area .variations select{max-width:100%}
.rc38-cart-area .woocommerce-variation-add-to-cart{display:flex;gap:8px;align-items:center;flex-wrap:wrap}
.rc38-specs{margin:0 0 28px;scroll-margin-top:85px}.rc38-specs h2{font-size:23px;margin:0 0 16px;padding-bottom:10px;border-bottom:2px solid #e20b22}
.rc38-specs table{width:100%;border-collapse:collapse;table-layout:fixed;font-size:13px}
.rc38-specs th,.rc38-specs td{padding:13px 16px;border-bottom:1px solid #e1e6ed;vertical-align:top;text-align:left;overflow-wrap:anywhere}
.rc38-specs th{width:31%;background:#f0f3f7;color:#33445b;font-weight:700}
.rc38-specs tr:nth-child(even) td{background:#f9fafc}
.rc37-sticky-nav{border-radius:0;background:#18263d;padding:4px 12px}
.rc37-sticky-nav a{color:#fff}.rc37-sticky-nav a:hover,.rc37-sticky-nav a:focus{background:#dc1024;color:#fff}
.rc4-details .related.products ul.products li.product{align-items:stretch}
.rc4-details .related.products ul.products li.product img{max-width:100%;height:170px!important}
@media(max-width:1150px){.rc4-product-layout{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.rc4-buy-panel{position:static;grid-column:2}}
@media(max-width:760px){.rc4-product-layout{display:block}.rc4-buy-panel{position:static}.rc38-specs th{width:40%}.rc38-specs th,.rc38-specs td{padding:10px;font-size:12px}}

/* v4.0: editorial description and full-width, easy-to-scan specifications */
.rc40-description{margin:0 0 30px;scroll-margin-top:90px}
.rc40-description>h2{font-size:23px;line-height:1.35;margin:0 0 17px;padding:0 0 12px;border-bottom:2px solid #e20b22;color:#12233c}
.rc40-description-body{font-size:15px;line-height:1.8;color:#27364b;overflow-wrap:anywhere}
.rc40-description-body h2,.rc40-description-body h3,.rc40-description-body h4{font-size:17px;line-height:1.45;margin:22px 0 10px;color:#15243a}
.rc40-description-body p{margin:0 0 14px}.rc40-description-body ul{padding-left:24px;margin:0 0 18px}
.rc38-specs{margin-bottom:32px}.rc38-specs table{border-collapse:collapse;border:1px solid #e4e7ee}
.rc38-specs th,.rc38-specs td{background:#fff;border-bottom:1px solid #e9e8f0;padding:13px 18px;line-height:1.55}
.rc38-specs tr:nth-child(odd) th,.rc38-specs tr:nth-child(odd) td{background:#f5f2fc}
.rc38-specs tr:nth-child(even) th,.rc38-specs tr:nth-child(even) td{background:#fff}
.rc38-specs th{width:31%;font-weight:650;color:#26344b}
.rc4-details .rc38-tabs-wrap{margin-top:12px}
@media(max-width:760px){.rc40-description>h2,.rc38-specs h2{font-size:20px}.rc38-specs th,.rc38-specs td{padding:11px 10px}.rc38-specs th{width:42%}}

/* v4.0.1: navigation appears only after the visitor scrolls into product content. */
.single-product .rc37-sticky-nav{position:fixed!important;top:0!important;left:50%;width:min(1380px,calc(100vw - 24px));max-width:100%;margin:0!important;box-sizing:border-box;z-index:999;opacity:0;visibility:hidden;pointer-events:none;transform:translate(-50%,-110%);transition:opacity .2s ease,transform .2s ease,visibility .2s ease}
.single-product.rc41-nav-visible .rc37-sticky-nav{opacity:1;visibility:visible;pointer-events:auto;transform:translate(-50%,0)}
.single-product #rc37-gallery,.single-product #rc37-description,.single-product #rc37-specs,.single-product #rc37-reviews,.single-product #rc37-related{scroll-margin-top:75px}
@media(max-width:760px){.single-product .rc37-sticky-nav{width:100%;left:0;transform:translateY(-110%)}.single-product.rc41-nav-visible .rc37-sticky-nav{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.single-product .rc37-sticky-nav{transition:none}}
/* v4.2: scroll-aware product navigation and purchase card */
.single-product .rc37-sticky-nav{justify-content:flex-start;gap:3px;border-radius:0;background:#fff!important;border:0;border-bottom:1px solid #dce4ef;box-shadow:0 5px 16px #13233d1c;padding:5px 14px}
.single-product .rc37-sticky-nav a{color:#33445b!important;border-radius:0;border-bottom:3px solid transparent;padding:12px 14px;font-weight:650;transition:color .15s,border-color .15s}
.single-product .rc37-sticky-nav a:hover,.single-product .rc37-sticky-nav a:focus-visible,.single-product .rc37-sticky-nav a.is-active{background:#f5f8fc!important;color:#d30c20!important;border-bottom-color:#d30c20}
.single-product .rc4-buy-panel{position:sticky;top:80px;align-self:start;max-height:calc(100vh - 95px);overflow-y:auto;scrollbar-width:thin}
.single-product #rc37-gallery,.single-product #rc37-description,.single-product #rc37-specs,.single-product #rc37-reviews,.single-product #rc37-related{scroll-margin-top:90px}
@media(max-width:1150px){.single-product .rc4-buy-panel{position:static;max-height:none;overflow:visible}}
@media(max-width:760px){.single-product .rc37-sticky-nav a{padding:10px 11px;font-size:12px}.single-product .rc4-buy-panel{position:static;max-height:none;overflow:visible}}

/* v4.3: product sections share a sticky purchase sidebar */
@media(min-width:1151px){
.single-product .rc4-product{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,340px);gap:0 18px;align-items:start}
.single-product .rc4-breadcrumb,.single-product .rc37-sticky-nav{grid-column:1/-1}
.single-product .rc4-product-layout{grid-column:1;grid-row:3;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:14px}
.single-product .rc4-buy-panel{grid-column:2;grid-row:3 / span 2;position:sticky;top:64px;max-height:calc(100vh - 80px);overflow-y:auto;z-index:12}
.single-product .rc4-details{grid-column:1;grid-row:4;margin-top:20px;min-width:0}
}
.rc4-buy-panel{position:relative}
.rc43-promo-label{display:inline-block;background:#dc1024;color:#fff;font-size:11px;font-weight:800;padding:6px 10px;border-radius:5px;margin-bottom:9px}
.rc43-discount{position:absolute;top:59px;right:14px;border-radius:50%;background:#ba1423;color:#fff;padding:12px 7px;font-size:13px;font-weight:850;box-shadow:0 3px 8px #0002}
.rc43-savings{color:#d10c20;font-weight:800;font-size:13px;margin:7px 0 10px}
.rc4-buy-price{padding-right:45px}
