/* Final rules own component colours and dimensions, independent of theme presets. */
body:not(.wp-admin) footer.wp-block-template-part :is(h1,h2,h3,h4,h5,h6,.wp-block-site-title){color:#fff!important}
body:not(.wp-admin) footer.wp-block-template-part .wp-block-social-links{display:flex!important;gap:12px!important;align-items:center!important;width:auto!important;flex-wrap:wrap!important;margin:20px 0!important}
body:not(.wp-admin) footer.wp-block-template-part .wp-block-social-link{width:44px!important;height:44px!important;flex:0 0 44px!important;padding:0!important;border-radius:50%!important;overflow:hidden;display:flex!important;align-items:center;justify-content:center;background:var(--wp--preset--color--rockwalls-blue,#3f5da3)!important}
body:not(.wp-admin) footer.wp-block-template-part .wp-block-social-link a{width:44px!important;height:44px!important;display:flex!important;align-items:center;justify-content:center;padding:0!important;box-sizing:border-box;font-size:24px!important}
body:not(.wp-admin) footer.wp-block-template-part .wp-block-social-link svg{display:block!important;width:23px!important;height:23px!important;flex:none;fill:#fff!important}
body:not(.wp-admin) .wp-block-post-template{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important;padding:0!important}
body:not(.wp-admin) .wp-block-post-template>li{width:auto!important;margin:0!important;min-width:0!important;display:flex!important}
body:not(.wp-admin) .post-main-area{background:#fff!important;border:1px solid #e1e6ef!important;box-shadow:0 6px 22px #24365908;border-radius:16px!important;padding:28px!important;width:100%;box-sizing:border-box;display:flex;flex-direction:column;transition:box-shadow .2s,transform .2s;border-top:3px solid var(--wp--preset--color--rockwalls-blue,#3f5da3)!important}
body:not(.wp-admin) .post-main-area .wp-block-post-title,body:not(.wp-admin) .post-main-area .wp-block-post-title a{color:var(--wp--preset--color--rockwalls-ink,#263453)!important;font-size:22px!important;line-height:1.35!important;text-decoration:none!important;margin:0 0 18px!important}
body:not(.wp-admin) .post-main-area .wp-block-post-excerpt,body:not(.wp-admin) .post-main-area .wp-block-post-excerpt p{color:var(--wp--preset--color--rockwalls-muted,#626b7c)!important;font-size:16px!important;line-height:1.65!important}
body:not(.wp-admin) .post-main-area .wp-block-post-date{color:var(--wp--preset--color--rockwalls-blue,#3f5da3)!important;font-size:13px!important;font-weight:500;margin-top:auto;padding-top:20px}
.post-main-area:hover{transform:translateY(-4px);box-shadow:0 14px 36px #24365918!important}
body:not(.wp-admin) .rwc-page-banner{background:#f2f5fb!important;min-height:160px!important;padding:40px 24px!important;border-bottom:1px solid #e1e6ef;box-sizing:border-box}
.rwc-page-banner>img,.rwc-page-banner>.wp-block-cover__background{display:none!important}.rwc-page-banner :is(h1,h2,.wp-block-post-title,.wp-block-query-title){color:var(--wp--preset--color--rockwalls-ink,#263453)!important;font-size:clamp(30px,4vw,48px)!important;line-height:1.15!important;text-align:left!important;margin:0!important}.rwc-page-banner>.wp-block-cover__inner-container{max-width:1240px;width:100%}
body:not(.wp-admin) .rwc-native-extra{background:#fff!important;padding:64px 24px!important}
body:not(.wp-admin) .rwc-native-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px!important;border:0!important;margin:32px 0!important}
body:not(.wp-admin) .rwc-native-benefits article{border:1px solid #e1e6ef!important;background:#f7f9fd;padding:26px!important;border-radius:16px;min-width:0}
.rwc-native-benefits article>b{display:inline-flex;width:36px;height:36px;align-items:center;justify-content:center;border-radius:10px;background:#e6ecf8;color:var(--wp--preset--color--rockwalls-blue,#3f5da3)!important}.rwc-native-benefits article h3{margin:18px 0 10px!important;font-size:21px!important}.rwc-native-benefits article p{margin:0!important;color:var(--wp--preset--color--rockwalls-muted,#626b7c)}
body:not(.wp-admin) .rwc-native-actions{gap:12px!important}.rwc-native-actions a{margin:0!important;padding:13px 18px!important;border-radius:9px!important;font-size:15px!important;min-height:46px;box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;text-decoration:none!important}.rwc-native-actions .rwc-site-link{background:#f4f6fb!important;border:1px solid #e1e6ef!important}
body:not(.wp-admin) .rwc-native-consult{border-radius:20px;background:#edf2fc!important;border:1px solid #dce4f4!important;padding:36px!important;margin-top:44px!important}.rwc-native-consult :is(h2,p){color:var(--wp--preset--color--rockwalls-ink,#263453)!important}.rwc-native-consult h2{font-size:30px!important}
body.single-product #content{max-width:1320px!important;width:calc(100% - 48px)!important;padding:0!important}
body.single-product #content div.product{padding:0!important;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr)!important;grid-template-areas:"gallery summary" "calculator summary" "details summary" "related related";column-gap:32px;row-gap:20px;align-items:start}
body.single-product div.product>.images{grid-area:gallery;height:auto!important;border-radius:16px;overflow:hidden;background:#f5f7fb}
body.single-product .woocommerce-product-gallery__wrapper{margin:0!important}
body.single-product .woocommerce-product-gallery__image img:not(.zoomImg){max-height:none!important;aspect-ratio:4/3;height:auto!important;object-fit:cover!important;width:100%!important}
body.single-product div.product>.summary{grid-area:summary;padding:26px!important;box-shadow:0 10px 40px #24365908}
body.single-product div.product>.woocommerce-tabs{grid-area:details;margin:0!important}.single-product .woocommerce-tabs .panel{padding:12px 0!important}.single-product .woocommerce-tabs ul.tabs{margin-bottom:10px!important;padding:0!important;border:0!important}.single-product .woocommerce-tabs ul.tabs li{border:0!important;border-radius:8px!important;background:#f2f5fb!important;padding:0 14px!important;margin:0 6px 0 0!important}.single-product .woocommerce-tabs ul.tabs li.active{background:var(--wp--preset--color--rockwalls-blue,#3f5da3)!important}.single-product .woocommerce-tabs ul.tabs li.active a{color:#fff!important}.single-product .woocommerce-tabs ul.tabs:before,.single-product .woocommerce-tabs ul.tabs li:before,.single-product .woocommerce-tabs ul.tabs li:after{display:none!important}
body.single-product div.product>.related{grid-area:related;margin:30px 0 0!important}.single-product .related>h2{font-size:26px!important}
.rwc-area-calculator{grid-area:calculator;background:#f3f6fc;border:1px solid #e1e6ef;padding:24px;border-radius:16px;box-sizing:border-box;min-width:0}.rwc-calc-heading>span{font-size:11px;font-weight:700;letter-spacing:.1em;color:var(--wp--preset--color--rockwalls-blue,#3f5da3)}.rwc-area-calculator h2{font-size:23px!important;line-height:1.3;margin:8px 0 18px!important}.rwc-calc-fields{display:grid;grid-template-columns:1fr 1fr 100px;gap:12px}.rwc-calc-fields label{font-size:13px;font-weight:500;color:var(--wp--preset--color--rockwalls-muted,#626b7c)}.rwc-calc-fields input,.rwc-calc-fields select{display:block;width:100%;min-width:0;box-sizing:border-box;padding:10px;border:1px solid #dce3ef;border-radius:8px;background:#fff;color:var(--wp--preset--color--rockwalls-ink,#263453);font-size:16px;margin-top:6px;min-height:44px}.rwc-calc-result{display:block;margin:18px 0 8px;color:var(--wp--preset--color--rockwalls-ink,#263453);font-size:19px;font-weight:700;line-height:1.4}.rwc-calc-note{font-size:12px!important;line-height:1.6!important;color:var(--wp--preset--color--rockwalls-muted,#626b7c);margin:0!important}
.rwc-copy-sku{border:0!important;background:transparent!important;color:var(--wp--preset--color--rockwalls-muted,#626b7c)!important;font-size:13px!important;padding:8px 0!important;margin:0 0 12px!important;cursor:pointer;display:inline-flex;gap:8px}.rwc-copy-sku:hover{color:var(--wp--preset--color--rockwalls-blue,#3f5da3)!important}.rwc-copy-status{font-size:12px;color:var(--wp--preset--color--rockwalls-blue,#3f5da3);margin-left:10px}
body.single-product .summary .rwc-product-help{padding:14px!important;margin:14px 0!important}.single-product .rwc-product-help h3{font-size:15px!important}.single-product .rwc-product-help .rwc-site-link{margin:0!important;padding:8px 0!important;border:0!important;background:transparent!important;font-size:14px!important;min-height:0!important}
body:not(.wp-admin) :is(.rwc-site-button,.woocommerce .button,.rwc-filters button,.rwc-variants a,.rwc-cart-link){transition:background .18s,box-shadow .18s,transform .18s}
@media(hover:hover){.rwc-site-button:hover,.rwc-filters button:hover{transform:translateY(-2px);box-shadow:0 6px 18px #3f5da326}.rwc-variants a:hover{box-shadow:0 0 0 2px #3f5da326}}
@media(max-width:1000px){body:not(.wp-admin) .wp-block-post-template{grid-template-columns:repeat(2,minmax(0,1fr))!important}body:not(.wp-admin) .rwc-native-benefits{grid-template-columns:1fr!important}.rwc-calc-fields{grid-template-columns:1fr 1fr}.rwc-calc-fields label:last-child{grid-column:1/-1}}
@media(max-width:781px){body.single-product #content{width:calc(100% - 32px)!important;padding:0!important}body.single-product #content div.product{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"gallery" "summary" "calculator" "details" "related";gap:20px}body.single-product div.product>.summary{padding:22px!important}.rwc-area-calculator{padding:20px}.rwc-native-actions a{flex:1 1 100%!important}body:not(.wp-admin) .rwc-native-extra{padding:40px 20px!important}body:not(.wp-admin) .rwc-native-consult{padding:24px!important}.rwc-page-banner{min-height:130px!important}.rwc-page-banner :is(h1,h2){font-size:32px!important}}
@media(max-width:700px){body:not(.wp-admin) .wp-block-post-template{grid-template-columns:minmax(0,1fr)!important;gap:18px!important}body:not(.wp-admin) .post-main-area{padding:24px!important}.rwc-native-benefits article{padding:22px!important}body:not(.wp-admin) footer.wp-block-template-part .wp-block-columns{display:flex!important;flex-direction:column!important;gap:28px!important}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}body:not(.wp-admin) *,body:not(.wp-admin) *:before,body:not(.wp-admin) *:after{animation:none!important;transition:none!important}.post-main-area:hover{transform:none}}
body.single-product #content>.wp-block-columns{max-width:none!important;width:100%!important;margin-left:0!important;margin-right:0!important}
/* Avoid animation libraries hiding useful content until a scroll observer fires. */
body:not(.wp-admin) .post-main-area{visibility:visible!important;animation:none!important}
body:not(.wp-admin) .post-main-area .wp-block-post-excerpt__excerpt{display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
body.single-product div.product>.summary{position:static!important;top:auto!important;transform:none!important;align-self:start}
.rwc-calc-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 140px}
body:not(.wp-admin) .post-main-area .wp-block-post-excerpt{margin:0!important}body:not(.wp-admin) .post-main-area .wp-block-post-excerpt p{margin:0!important}
@media(max-width:1000px){.rwc-calc-fields{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}}
@media(max-width:700px){.blog-area>.wp-block-heading,.home .blog-section h3,.home .blog-main h3{font-size:30px!important;line-height:1.2!important}}

/* Keep the purchase panel in the document, before the related products. */
body.single-product div.product{isolation:isolate}
body.single-product div.product>.related{position:relative;clear:both;z-index:auto}
.rwc-header .rwc-main-nav{background:#f3f6fc;border:1px solid #e2e8f3;border-radius:14px;padding:5px;gap:2px}
.rwc-header .rwc-main-nav a{border-radius:9px;padding:11px 13px;transition:background .18s,color .18s}
.rwc-header .rwc-main-nav a[aria-current=page],.rwc-header .rwc-mobile-menu nav a[aria-current=page]{background:var(--wp--preset--color--rockwalls-blue,#3f5da3);color:#fff!important;box-shadow:0 3px 10px #3f5da31a}
body:not(.wp-admin) :is(.rwc-category,.rwc-mobile-panel,.rwc-shop-guide,.rwc-sort,.rwc-faq details,.rwc-all-characteristics,.rwc-product-description)>summary{display:flex!important;align-items:center;gap:12px;list-style:none!important;position:relative;cursor:pointer;min-height:44px;box-sizing:border-box;line-height:1.5}
body:not(.wp-admin) :is(.rwc-category,.rwc-mobile-panel,.rwc-shop-guide,.rwc-sort,.rwc-faq details,.rwc-all-characteristics,.rwc-product-description)>summary::marker{content:''}
body:not(.wp-admin) :is(.rwc-category,.rwc-mobile-panel,.rwc-shop-guide,.rwc-sort,.rwc-faq details,.rwc-all-characteristics,.rwc-product-description)>summary::-webkit-details-marker{display:none}
body:not(.wp-admin) :is(.rwc-category,.rwc-mobile-panel,.rwc-shop-guide,.rwc-sort,.rwc-faq details,.rwc-all-characteristics,.rwc-product-description)>summary::before{content:none!important;display:none!important}
body:not(.wp-admin) :is(.rwc-category,.rwc-mobile-panel,.rwc-shop-guide,.rwc-sort,.rwc-faq details,.rwc-all-characteristics,.rwc-product-description)>summary::after{content:''!important;display:block!important;position:static!important;width:7px;height:7px;flex:0 0 7px;border-right:2px solid var(--wp--preset--color--rockwalls-blue,#3f5da3);border-bottom:2px solid var(--wp--preset--color--rockwalls-blue,#3f5da3);transform:rotate(45deg)!important;margin-left:auto;margin-right:4px;transition:transform .16s;box-sizing:content-box}
body:not(.wp-admin) :is(.rwc-category,.rwc-mobile-panel,.rwc-shop-guide,.rwc-sort,.rwc-faq details,.rwc-all-characteristics,.rwc-product-description)[open]>summary::after{transform:rotate(225deg)!important}
body:not(.wp-admin) .rwc-shop-guide[open]>.rwc-tip-grid{position:static!important;max-height:none!important;box-shadow:none;margin-top:12px;animation:none!important}
.rwc-faq-list{min-height:0!important}.rwc-faq details{height:auto;overflow:visible}
.rwc-back-top{position:fixed;right:24px;bottom:24px;z-index:60;width:44px;height:44px;border:1px solid #dfe6f2;border-radius:12px;background:#fff;color:var(--wp--preset--color--rockwalls-blue,#3f5da3);padding:10px;cursor:pointer;box-shadow:0 4px 20px #26345318;display:flex;align-items:center;justify-content:center}
.rwc-back-top[hidden]{display:none!important}.rwc-back-top svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}.rwc-back-top:hover{background:var(--wp--preset--color--rockwalls-blue,#3f5da3);color:#fff}
@media(max-width:600px){.rwc-back-top{right:12px;bottom:12px}.rwc-header-inner{gap:8px}.rwc-calc-result{font-size:17px}}
/* Related products: each item is a separate card, rather than loose columns. */
body.single-product .related.products{border-top:1px solid #e4e9f2;padding-top:28px!important}
body.single-product .related.products>ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px!important;align-items:stretch;margin:20px 0 0!important;padding:0!important}
body.single-product .related.products>ul.products::before,body.single-product .related.products>ul.products::after{display:none!important;content:none!important}
body.single-product .related.products>ul.products>li.product{float:none!important;width:auto!important;min-width:0;margin:0!important;padding:0 0 16px!important;display:flex!important;flex-direction:column;background:#fff;border:1px solid #dfe5ef;border-radius:16px;overflow:hidden;box-shadow:0 4px 16px #26345308;box-sizing:border-box;transition:border-color .18s,box-shadow .18s}
body.single-product .related.products>ul.products>li.product>a.woocommerce-loop-product__link{display:flex;flex-direction:column;flex:1;min-width:0;text-decoration:none!important}
body.single-product .related.products li.product img{display:block;width:100%!important;aspect-ratio:4/3;height:auto!important;object-fit:cover;margin:0 0 16px!important;border-bottom:1px solid #edf0f6}
body.single-product .related.products li.product .woocommerce-loop-product__title{padding:0 18px!important;margin:0 0 10px!important;font-size:18px!important;line-height:1.4!important;color:var(--wp--preset--color--rockwalls-ink,#263453)!important}
body.single-product .related.products li.product .price{padding:0 18px!important;margin:0 0 16px!important;font-size:23px!important;line-height:1.3!important;color:var(--wp--preset--color--rockwalls-ink,#263453)!important}
body.single-product .related.products li.product .button{display:flex!important;align-items:center;justify-content:center;align-self:stretch!important;margin:0 16px!important;padding:12px 10px!important;min-height:44px;box-sizing:border-box;font-size:14px!important;line-height:1.4!important;text-align:center}
@media(hover:hover){body.single-product .related.products>ul.products>li.product:hover{border-color:#9cafd7;box-shadow:0 8px 26px #26345314}}
@media(max-width:1000px){body.single-product .related.products>ul.products{grid-template-columns:repeat(2,minmax(0,1fr));gap:18px!important}}
@media(max-width:600px){body.single-product .related.products>ul.products{gap:12px!important}body.single-product .related.products li.product .woocommerce-loop-product__title{padding:0 12px!important;font-size:16px!important}body.single-product .related.products li.product .price{padding:0 12px!important;font-size:19px!important}body.single-product .related.products li.product .button{margin:0 10px!important;font-size:13px!important}}
@media(max-width:380px){body.single-product .related.products>ul.products{grid-template-columns:minmax(0,1fr)}}
