/* Tutorshub Marketplace 8.8.3 — controlled luxury sticky-header scroll states. */
:root{--th-scroll-progress:0%;--th-scroll-gold:#f5c75c;--th-scroll-gold-deep:#d99a22}

body:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact,.th-header-scroll-gold-line) .site-header.th84-header.th-hf-header{
  isolation:isolate!important;will-change:background-color,box-shadow,backdrop-filter!important;
  transition:background-color .34s ease,background-image .34s ease,border-color .34s ease,box-shadow .34s ease,backdrop-filter .34s ease!important;
}
body:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact,.th-header-scroll-gold-line) .site-header.th84-header.th-hf-header>.th-header-scroll-line{
  position:absolute!important;z-index:2147482990!important;left:0!important;bottom:-1px!important;display:block!important;
  width:var(--th-scroll-progress)!important;height:2px!important;pointer-events:none!important;
  background:linear-gradient(90deg,#b87713 0%,#f5c75c 45%,#fff0b3 72%,#d99a22 100%)!important;
  box-shadow:0 0 12px rgba(245,199,92,.5)!important;opacity:.84!important;
  transition:width .12s linear,opacity .25s ease!important;
}
body:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact) .site-header.th84-header.th-hf-header :is(.th84-nav,.th84-logo-img,.th84-mobile-logo-img,.th84-links a,.th84-actions>a,.th-language-switch,.mobile-toggle){
  transition-property:height,min-height,max-height,transform,background-color,border-color,box-shadow,color,filter,opacity!important;
  transition-duration:.32s!important;transition-timing-function:cubic-bezier(.2,.75,.2,1)!important;
}

/* Light collections become pearl glass; dark collections become deep sapphire glass. */
body:not(.th-luxury-dark):is(.th-header-scroll-luxury-glass,.th-header-scroll-compact) .site-header.th84-header.th-hf-header.is-luxury-scrolled:is(.th-pair-signature-white,.th-pair-aurora-glass,.th-pair-editorial-luxe){
  background:linear-gradient(105deg,rgba(255,255,255,.9),rgba(244,248,253,.84))!important;
  border-bottom-color:rgba(11,53,101,.12)!important;box-shadow:0 18px 48px rgba(3,28,62,.16),inset 0 1px 0 rgba(255,255,255,.94)!important;
  -webkit-backdrop-filter:blur(24px) saturate(1.35)!important;backdrop-filter:blur(24px) saturate(1.35)!important;
}
body:not(.th-luxury-dark):is(.th-header-scroll-luxury-glass,.th-header-scroll-compact) .site-header.th84-header.th-hf-header.is-luxury-scrolled:is(.th-pair-neo-grid,.th-pair-studio-blue),
body.th-luxury-dark:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact) .site-header.th84-header.th-hf-header.is-luxury-scrolled{
  background:linear-gradient(112deg,rgba(3,14,29,.92),rgba(11,39,69,.88) 64%,rgba(21,55,81,.86))!important;
  border-bottom-color:rgba(245,199,92,.2)!important;box-shadow:0 18px 54px rgba(0,0,0,.36),0 6px 24px rgba(3,25,51,.25),inset 0 1px 0 rgba(255,255,255,.08)!important;
  -webkit-backdrop-filter:blur(26px) saturate(1.3)!important;backdrop-filter:blur(26px) saturate(1.3)!important;
}

body.th-luxury-dark:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact) .site-header.th84-header.th-hf-header.is-luxury-scrolled .th84-links a{
  color:#dfe9f6!important;text-shadow:0 1px 12px rgba(0,0,0,.22)!important;
}
body.th-luxury-dark:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact) .site-header.th84-header.th-hf-header.is-luxury-scrolled .th84-links a:is(:hover,:focus-visible,.is-active){
  color:#ffe395!important;text-shadow:0 0 18px rgba(245,199,92,.28)!important;
}
body:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact) .site-header.th84-header.th-hf-header.is-luxury-scrolled .th84-actions>a{
  box-shadow:0 10px 28px rgba(3,26,55,.16),inset 0 1px 0 rgba(255,255,255,.16)!important;
}
body.th-luxury-dark:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact) .site-header.th84-header.th-hf-header.is-luxury-scrolled .th84-outline{
  border-color:rgba(245,199,92,.28)!important;background:rgba(255,255,255,.07)!important;
}

@media(min-width:1241px){
  html body.th-header-scroll-luxury-glass .site-header.th84-header.th-hf-header.is-luxury-scrolled .th84-nav{
    height:max(66px,calc(var(--th-hf-header-height) - 10px))!important;min-height:max(66px,calc(var(--th-hf-header-height) - 10px))!important;
  }
  html body.th-header-scroll-compact .site-header.th84-header.th-hf-header.is-luxury-scrolled .th84-nav{
    height:max(62px,calc(var(--th-hf-header-height) - 16px))!important;min-height:max(62px,calc(var(--th-hf-header-height) - 16px))!important;
  }
  body:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact) .site-header.th84-header.th-hf-header.is-luxury-scrolled .th84-logo-img{
    transform:scale(.94)!important;transform-origin:left center!important;
  }
  body.th-header-scroll-compact .site-header.th84-header.th-hf-header.is-luxury-scrolled .th84-logo-img{transform:scale(.9)!important}
  body:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact) .site-header.th84-header.th-hf-header.is-luxury-scrolled .th-language-switch{transform:scale(.96)!important}
}

@media(max-width:1240px){
  html body.th-header-scroll-luxury-glass .site-header.th84-header.th-hf-header.is-luxury-scrolled .th84-nav{
    height:max(64px,calc(var(--th-mobile-header-height) - 5px))!important;min-height:max(64px,calc(var(--th-mobile-header-height) - 5px))!important;
  }
  html body.th-header-scroll-compact .site-header.th84-header.th-hf-header.is-luxury-scrolled .th84-nav{
    height:max(60px,calc(var(--th-mobile-header-height) - 10px))!important;min-height:max(60px,calc(var(--th-mobile-header-height) - 10px))!important;
  }
  body:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact) .site-header.th84-header.th-hf-header.is-luxury-scrolled .th84-mobile-logo-img{
    transform:scale(.95)!important;transform-origin:left center!important;
  }
  body:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact) .site-header.th84-header.th-hf-header.is-luxury-scrolled .mobile-toggle{
    transform:scale(.94)!important;box-shadow:0 8px 24px rgba(0,0,0,.2),0 0 0 1px rgba(245,199,92,.14)!important;
  }
  body:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact) .site-header.th84-header.th-hf-header.menu-open .mobile-toggle{transform:none!important}
}

/* Progress-only mode preserves the selected collection's original dimensions. */
body.th-header-scroll-gold-line .site-header.th84-header.th-hf-header.is-luxury-scrolled{
  box-shadow:0 12px 36px rgba(3,28,62,.14)!important;
}
body.th-header-scroll-gold-line .site-header.th84-header.th-hf-header>.th-header-scroll-line{height:3px!important;opacity:1!important}

@media(prefers-reduced-motion:reduce){
  body:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact,.th-header-scroll-gold-line) .site-header.th84-header.th-hf-header,
  body:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact,.th-header-scroll-gold-line) .site-header.th84-header.th-hf-header :is(.th84-nav,.th84-logo-img,.th84-mobile-logo-img,.th84-links a,.th84-actions>a,.th-language-switch,.mobile-toggle),
  body:is(.th-header-scroll-luxury-glass,.th-header-scroll-compact,.th-header-scroll-gold-line) .site-header.th84-header.th-hf-header>.th-header-scroll-line{transition:none!important}
}
