/* WanaRyd Custom — consolidated site CSS (moved out of Code Snippets 2026-10-13).
   One cached file instead of eight inline <style> blocks. Sections note the original snippet. */

/* #36 Mobile fix: product image went white on touch (hover rule set opacity:0) */
.woocommerce div.product .woocommerce-product-gallery__image:hover > a img.wp-post-image,.woocommerce-product-gallery__image:hover > a img.wp-post-image,.woocommerce-product-gallery__image:hover img.wp-post-image{opacity:1!important}

/* #101 Product gallery zoom button: hide WooCommerce's duplicate circle span */
.woocommerce-product-gallery__trigger > span{display:none!important}

/* #103 Header cart badge: white circle, red count */
.wc-block-mini-cart__badge{background-color:#fff!important;color:#c8102e!important;font-weight:700!important;box-shadow:0 1px 3px rgba(0,0,0,.25)}.wc-block-mini-cart__badge:empty{display:none!important}

/* #97 Homepage mobile hero: full-bleed (main has 12px side padding below 782px) */
@media (max-width:781px){.wanaryd-mobile-banner{margin-left:-12px!important;margin-right:-12px!important;width:calc(100% + 24px)!important;max-width:none!important}.wanaryd-mobile-banner .wp-block-cover{width:100%!important}}

/* #61 Wheel finish switcher: label inside the dropdown */
/* perfmatters-no-delay: frontend-lib */.wwfs-switcher{margin-top:18px !important;}.wwfs-switcher__label{display:none !important;}.wwfs-switcher__text{display:flex !important;flex-direction:column !important;line-height:1.15 !important;}.wwfs-switcher__text::before{content:"Finish Options";display:block;font-size:11px;font-weight:400;color:#6b7280;text-transform:none;letter-spacing:0;margin-bottom:1px;}

/* #99 Bike filter on product pages: orange accents when "may not fit" */
body.single-product .bikefilter.no_bike_fits .bikechosen{border-left-color:#f97316!important}body.single-product .bikefilter.no_bike_fits .bikechooser_wrap{border-left-color:#f97316!important}body.single-product .bikefilter.no_bike_fits .bikechosen_change{color:#f97316!important}body.single-product .bikefilter.no_bike_fits .bikefits_text b{color:#f97316}

/* #59 Archives: hide the empty "Category:" title band (scoped to Woo archives) */
body.archive.woocommerce .wp-block-group:has(> .wp-block-query-title){display:none !important;}

/* #60 Archives: lock products-wrapper padding-top at first paint (scoped to Woo archives) */
body.archive.woocommerce .wp-block-group.has-global-padding:has(> .wc-block-store-notices){padding-top:12px !important;}

/* #29 Homepage tweaks (scoped to body.home) */
body.home .wp-block-woocommerce-product-price{text-align:center!important}body.home .wp-block-woocommerce-product-price .wc-block-components-product-price,body.home .wp-block-woocommerce-product-price .price{justify-content:center!important;text-align:center!important;display:block!important;width:100%!important}@media(max-width:781px){body.home .wr-cat-grid .wr-cat-card:nth-child(3),body.home .wr-cat-grid .wr-cat-card:nth-child(6){display:none!important}body.home .wr-brands{display:grid!important;grid-template-columns:repeat(3,1fr)!important;gap:20px 12px!important;align-items:center!important;padding:14px 12px 40px!important}body.home .wr-brands>.wp-block-column{flex:none!important;width:auto!important;margin:0!important;min-height:64px;display:flex!important;align-items:center;justify-content:center}body.home .wr-brands>.wp-block-column:nth-child(3n+2){transform:translateY(24px)}body.home .wr-brands img{max-height:44px!important;width:auto!important;object-fit:contain}body.home .wanaryd-mobile-banner{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important;max-width:none!important;width:100%!important}body.home .wanaryd-mobile-banner .wp-block-cover{border-radius:0!important;width:100%!important;max-width:none!important;margin:0!important}
}}
