/* CLAUDE fix (Oct 2026): keep product photos visible even if a script errors before the gallery fades in */
.woocommerce-product-gallery{opacity:1!important}

/* CLAUDE fix (Oct 2026): one title per page. Hide the theme page header when the page content already has its own hero title */
.rr-page-content:has(.entry-content .rr-display) > .rr-page-header{display:none}

/* CLAUDE: premium motion layer v1 (Rebel Reaper). Remove this whole block to turn it off. */
@media (prefers-reduced-motion:no-preference){
  .rr-product-image{overflow:hidden}
  .rr-product-image img{transition:transform .9s cubic-bezier(.2,.7,.2,1),filter .6s ease}
  .rr-product-card{transition:transform .5s cubic-bezier(.2,.7,.2,1)}
  @media (hover:hover){
    .rr-product-card:hover .rr-product-image img{transform:scale(1.07)}
    .rr-product-card:hover{transform:translateY(-4px)}
    .rr-editorial-card{transition:filter .6s ease}
    .rr-editorial-card:hover{filter:brightness(1.08) contrast(1.04)}
    .rr-button,.wp-block-button__link{transition:transform .25s ease,box-shadow .25s ease,background-color .25s ease,color .25s ease}
    .rr-button:hover,.wp-block-button__link:hover{transform:translateY(-2px);box-shadow:0 10px 24px rgba(0,0,0,.28)}
  }
  @supports (animation-timeline:view()){
    @keyframes rr-claude-rise{from{opacity:0;transform:translateY(54px) scale(.985)}to{opacity:1;transform:none}}
    @keyframes rr-claude-hero-bg{from{background-position:64% 22%}to{background-position:64% 62%}}
    @keyframes rr-claude-hero-copy{from{opacity:1;transform:none}to{opacity:0;transform:translateY(-12vh)}}
    @keyframes rr-claude-slide-l{from{opacity:0;transform:translateX(-60px)}to{opacity:1;transform:none}}
    @keyframes rr-claude-pan{from{background-position:50% 0%}to{background-position:50% 100%}}
    @keyframes rr-claude-pan2{from{background-position:center 15%}to{background-position:center 85%}}
    .rr-hero{animation:rr-claude-hero-bg linear both;animation-timeline:scroll(root);animation-range:0 100vh}
    .rr-hero-content{animation:rr-claude-hero-copy linear both;animation-timeline:scroll(root);animation-range:0 70vh}
    .rr-editorial-vest{animation:rr-claude-pan linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
    .rr-editorial-shirt{animation:rr-claude-pan linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
    .rr-collection-banner{animation:rr-claude-pan2 linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
    .rr-checkout-band{animation:rr-claude-pan2 linear both;animation-timeline:view();animation-range:cover 0% cover 100%}
    .rr-hs-promises>*,.rr-fit-section h3,.rr-store-review-grid>*{animation:rr-claude-rise both cubic-bezier(.2,.7,.2,1);animation-timeline:view();animation-range:entry 0% entry 45%}
    .rr-home-shop .rr-product-card:nth-child(odd),.rr-shop-shell .rr-product-card:nth-child(4n+1),.rr-shop-shell .rr-product-card:nth-child(4n+2){animation:rr-claude-rise both cubic-bezier(.2,.7,.2,1);animation-timeline:view();animation-range:entry 0% entry 40%}
    .rr-home-shop .rr-product-card:nth-child(even),.rr-shop-shell .rr-product-card:nth-child(4n+3),.rr-shop-shell .rr-product-card:nth-child(4n){animation:rr-claude-rise both cubic-bezier(.2,.7,.2,1);animation-timeline:view();animation-range:entry 8% entry 48%}
    .rr-editorial-card h2,.rr-collection-banner h2,.rr-checkout-band h2,.rr-home-shop>h2,.rr-store-reviews>h2{animation:rr-claude-slide-l both cubic-bezier(.2,.7,.2,1);animation-timeline:view();animation-range:entry 0% entry 50%}
  }
}