/* RubyRose V10.39 — admin-controlled header size and scroll behavior. */
html body header.site-header.biagiotti-header{
  width:100%!important;
  height:var(--rr-header-height-desktop,84px)!important;
  min-height:var(--rr-header-height-desktop,84px)!important;
  transition:transform .34s cubic-bezier(.2,.72,.25,1),background-color .25s ease,box-shadow .25s ease!important;
  will-change:transform;
}
html body header.site-header.biagiotti-header .header-inner.biagiotti-header-inner.rr-header-v9{
  height:100%!important;
  min-height:100%!important;
  padding-top:0!important;
  padding-bottom:0!important;
}
html body header.site-header.biagiotti-header .centered-brand .rr-wordmark-logo-header{
  width:min(var(--rr-header-logo-width,150px),22vw)!important;
  max-width:var(--rr-header-logo-width,150px)!important;
}
html body header.site-header.biagiotti-header .rr-search-btn,
html body header.site-header.biagiotti-header .account-pill,
html body header.site-header.biagiotti-header .cart-pill,
html body header.site-header.biagiotti-header .mobile-menu-btn{
  width:calc(var(--rr-header-icon-size,24px) + 18px)!important;
  height:calc(var(--rr-header-icon-size,24px) + 18px)!important;
}
html body header.site-header.biagiotti-header .rr-search-btn svg,
html body header.site-header.biagiotti-header .account-pill svg,
html body header.site-header.biagiotti-header .cart-pill svg{
  width:var(--rr-header-icon-size,24px)!important;
  height:var(--rr-header-icon-size,24px)!important;
}
html body.header-scroll-static header.site-header.biagiotti-header,
html body.header-scroll-static header.site-header.biagiotti-header.is-scrolled{
  position:relative!important;
  inset:auto!important;
  transform:none!important;
}
html body.header-scroll-fixed.header-sticky-on header.site-header.biagiotti-header,
html body.header-scroll-fixed.header-sticky-on header.site-header.biagiotti-header.is-scrolled,
html body.header-scroll-auto_hide.header-sticky-on header.site-header.biagiotti-header,
html body.header-scroll-auto_hide.header-sticky-on header.site-header.biagiotti-header.is-scrolled{
  position:sticky!important;
  top:0!important;
  right:auto!important;
  left:auto!important;
  z-index:1000!important;
}
html body.header-scroll-fixed header.site-header.biagiotti-header{transform:translateY(0)!important}
html body.header-scroll-auto_hide header.site-header.biagiotti-header.rr-header-hidden{
  transform:translateY(calc(-100% - 2px))!important;
  box-shadow:none!important;
  pointer-events:none!important;
}
html body.header-scroll-auto_hide header.site-header.biagiotti-header.rr-header-visible{
  transform:translateY(0)!important;
}

/* تطبيق إعدادات لوحة الإدارة على الهيدر الحقيقي بعد كل الطبقات القديمة. */
html body header.site-header.biagiotti-header,
html body header.site-header.biagiotti-header .header-actions,
html body header.site-header.biagiotti-header .main-nav a,
html body header.site-header.biagiotti-header .rr-header-lang-single{
  color:var(--rr-header-text,#2e1f28)!important;
  font-family:var(--rr-header-font,"Jost",sans-serif)!important;
}
html body header.site-header.biagiotti-header .main-nav a,
html body .mobile-nav-panel a,
html body .mobile-nav-panel button{font-size:var(--rr-header-font-size,12px)!important}
html body header.site-header.biagiotti-header .rr-wordmark-logo-header{background:var(--rr-header-logo,#f05473)!important}
html body.header-mode-solid header.site-header.biagiotti-header,
html body.header-mode-solid header.site-header.biagiotti-header.is-scrolled{background:var(--rr-header-bg,#fffaf6)!important}
html body.header-mode-transparent header.site-header.biagiotti-header:not(.is-scrolled){background:transparent!important;border-bottom-color:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
html body.header-mode-transparent.header-scroll-static header.site-header.biagiotti-header:not(.is-scrolled),
html body.header-mode-transparent.header-scroll-fixed header.site-header.biagiotti-header:not(.is-scrolled),
html body.header-mode-transparent.header-scroll-auto_hide header.site-header.biagiotti-header:not(.is-scrolled){position:absolute!important;top:0!important;right:0!important;left:0!important}
html body.header-mode-transparent.header-scroll-static header.site-header.biagiotti-header,
html body.header-mode-transparent.header-scroll-static header.site-header.biagiotti-header.is-scrolled{position:absolute!important;top:0!important;right:0!important;left:0!important;background:transparent!important;border-bottom-color:transparent!important;box-shadow:none!important}
html body.header-mode-transparent.header-scroll-fixed header.site-header.biagiotti-header.is-scrolled,
html body.header-mode-transparent.header-scroll-auto_hide header.site-header.biagiotti-header.is-scrolled{position:fixed!important;top:0!important;right:0!important;left:0!important;background:var(--rr-header-bg,#fffaf6)!important}

@media(max-width:760px){
  html body header.site-header.biagiotti-header{
    height:var(--rr-header-height-mobile,64px)!important;
    min-height:var(--rr-header-height-mobile,64px)!important;
  }
  html body header.site-header.biagiotti-header .centered-brand .rr-wordmark-logo-header{
    width:min(var(--rr-header-logo-width,150px),34vw,132px)!important;
    max-width:min(var(--rr-header-logo-width,150px),132px)!important;
  }
  html body header.site-header.biagiotti-header .rr-search-btn,
  html body header.site-header.biagiotti-header .cart-pill,
  html body header.site-header.biagiotti-header .mobile-menu-btn{
    width:calc(min(var(--rr-header-icon-size,24px),28px) + 14px)!important;
    height:calc(min(var(--rr-header-icon-size,24px),28px) + 14px)!important;
  }
}

@media(prefers-reduced-motion:reduce){
  html body header.site-header.biagiotti-header{transition:none!important}
}
