/* Product recommendations: independent of the typography of the main product. */
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"],body.rdm-storefront.single-product .related.products,body.rdm-storefront.single-product .up-sells.products{box-sizing:border-box;width:100%!important;max-width:1200px!important;clear:both;margin:52px auto 56px!important;padding:30px 0 0!important;border-top:1px solid #2d3b58}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"]>h2,body.rdm-storefront.single-product :is(.related,.up-sells)>h2{font-size:clamp(22px,2.4vw,30px)!important;line-height:1.25!important;letter-spacing:-.025em!important;margin:0 0 24px!important;color:#f3f6ff!important;text-align:left!important}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] ul.wc-block-product-template,body.rdm-storefront.single-product :is(.related,.up-sells) ul.products{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:20px!important;align-items:stretch!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;list-style:none!important}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] ul::before,body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] ul::after,body.rdm-storefront.single-product :is(.related,.up-sells) ul.products::before,body.rdm-storefront.single-product :is(.related,.up-sells) ul.products::after{display:none!important}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] li.product,body.rdm-storefront.single-product :is(.related,.up-sells) li.product{box-sizing:border-box!important;display:flex!important;flex-direction:column!important;float:none!important;width:auto!important;min-width:0!important;max-width:none!important;height:auto!important;margin:0!important;padding:14px!important;border:1px solid #303d5a!important;border-radius:20px!important;background:linear-gradient(155deg,#17223c,#11192c)!important;box-shadow:0 8px 24px #03081624!important;overflow:hidden;transition:border-color .18s ease,transform .18s ease}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] li.product:hover,body.rdm-storefront.single-product :is(.related,.up-sells) li.product:hover{border-color:#6885ba!important;transform:translateY(-3px)}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] li.product :is(h2,h3,.wp-block-post-title,.woocommerce-loop-product__title),body.rdm-storefront.single-product :is(.related,.up-sells) li.product :is(h2,h3,.woocommerce-loop-product__title){font-family:Onest,system-ui,sans-serif!important;font-size:16px!important;font-weight:700!important;line-height:1.4!important;letter-spacing:-.01em!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;text-align:left!important;margin:14px 0 10px!important;padding:0!important;min-height:4.2em!important;max-height:4.2em!important;display:-webkit-box!important;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden;color:#edf3ff!important}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] li.product .wp-block-post-title a,body.rdm-storefront.single-product :is(.related,.up-sells) li.product .woocommerce-loop-product__title a{font:inherit!important;letter-spacing:inherit!important;color:inherit!important;text-decoration:none!important}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-image,body.rdm-storefront.single-product :is(.related,.up-sells) .woocommerce-LoopProduct-link{position:relative;min-width:0}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-image{flex:none;height:200px!important;max-height:200px!important;aspect-ratio:auto!important;margin:0!important;overflow:hidden;border-radius:13px;background:radial-gradient(ellipse at center,#26334b,#0c1425)}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-image>a{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;height:100%!important;margin:0!important;padding:20px 9px 8px!important;box-sizing:border-box}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-image img,body.rdm-storefront.single-product :is(.related,.up-sells) li.product a>img{display:block!important;object-fit:contain!important;object-position:center!important;width:100%!important;height:100%!important;max-height:200px!important;aspect-ratio:auto!important;margin:0!important;border-radius:8px!important}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .rdm-badges{top:8px!important;left:8px!important;right:8px!important;gap:4px!important;justify-content:flex-start;flex-wrap:wrap;pointer-events:none}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .rdm-pill{font:700 10px/1.2 Onest,system-ui,sans-serif!important;padding:4px 6px!important;white-space:nowrap}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-image__inner-container{position:absolute!important;inset:0!important;pointer-events:none}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-sale-badge{position:absolute!important;inset:auto 8px 8px auto!important;margin:0!important;padding:5px 8px!important;border-radius:7px!important;font-size:10px!important;line-height:1.2!important}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wp-block-woocommerce-product-price,body.rdm-storefront.single-product :is(.related,.up-sells) li.product .price{margin:auto 0 0!important;padding:0!important;min-height:28px!important;text-align:left!important}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-price,body.rdm-storefront.single-product :is(.related,.up-sells) li.product .price{font:800 19px/1.35 Onest,system-ui,sans-serif!important;color:#87e2e5!important;text-align:left!important}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-price del{font-size:12px!important;font-weight:500!important;color:#a3b0c9!important;margin-right:5px}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-price ins{font:inherit!important;color:inherit!important;background:none!important;text-decoration:none!important}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-price :is(del,ins){white-space:nowrap}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wp-block-woocommerce-product-button{display:block!important;width:100%!important;margin:14px 0 0!important}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-button__button,body.rdm-storefront.single-product :is(.related,.up-sells) li.product .button{box-sizing:border-box!important;display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:43px!important;max-width:none!important;margin:0!important;padding:10px 12px!important;border:1px solid #3d7087!important;border-radius:11px!important;background:#245b70!important;color:#f0fbff!important;-webkit-text-fill-color:#f0fbff!important;font:750 13px/1.3 Onest,system-ui,sans-serif!important;letter-spacing:0!important;text-decoration:none!important;white-space:normal!important;box-shadow:none!important}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-button__button:hover{background:#2e7289!important;border-color:#88d5e9!important}
body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] :is(a,button):focus-visible{outline:3px solid #82dfff!important;outline-offset:3px}
@media(max-width:900px){body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] ul.wc-block-product-template,body.rdm-storefront.single-product :is(.related,.up-sells) ul.products{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:16px!important}}
@media(max-width:550px){body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"],body.rdm-storefront.single-product .related.products,body.rdm-storefront.single-product .up-sells.products{margin:32px auto 36px!important;padding-top:24px!important}body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] ul.wc-block-product-template,body.rdm-storefront.single-product :is(.related,.up-sells) ul.products{gap:12px!important}body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] li.product,body.rdm-storefront.single-product :is(.related,.up-sells) li.product{padding:10px!important;border-radius:15px!important}body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] li.product :is(h2,h3,.wp-block-post-title,.woocommerce-loop-product__title){font-size:14px!important;margin-top:11px!important}body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-image{height:155px!important;max-height:155px!important}body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-price{font-size:17px!important}body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .rdm-badges{top:5px!important;left:5px!important;right:5px!important;gap:3px!important}body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .rdm-pill{font-size:8px!important;padding:3px 4px!important}body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] .wc-block-components-product-button__button{font-size:12px!important;min-height:42px!important;padding:9px 6px!important}}
@media(max-width:340px){body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] ul.wc-block-product-template,body.rdm-storefront.single-product :is(.related,.up-sells) ul.products{grid-template-columns:1fr!important}}
@media(prefers-reduced-motion:reduce){body.rdm-storefront.single-product [data-collection="woocommerce/product-collection/related"] li.product{transition:none!important;transform:none!important}}

/* Keep metadata and legal links inside the page on narrow screens. */
@media(max-width:650px){body.single-product .wp-block-group.is-layout-flex:has(>.taxonomy-product_tag){flex-wrap:wrap!important;gap:8px 16px!important;max-width:100%!important}body.single-product .wp-block-group:has(>.taxonomy-product_tag)>.wp-block-post-terms{min-width:0!important;max-width:100%!important;overflow-wrap:anywhere}body.single-product .r-foot-b{flex-direction:column!important;align-items:flex-start!important;gap:16px!important}body.single-product .r-foot-b>span:last-child{display:flex!important;flex-wrap:wrap!important;gap:8px 14px!important;max-width:100%!important;min-width:0!important}body.single-product .r-foot-b a{margin:0!important;white-space:normal!important;overflow-wrap:anywhere!important}}
