/* ZARIAH Studio — unified premium storefront header.
   Shared header presentation only; existing navigation links and cart hooks remain intact. */
:root{--zs-header-paper:#fbf8f3;--zs-header-ink:#302a25;--zs-header-muted:#766d64;--zs-header-line:#e9e1d7;--zs-header-gold:#b99768}
body:not(.admin-body) header:not(.zbag-head){
  position:sticky!important;top:0!important;z-index:100!important;
  background:rgba(251,248,243,.97)!important;
  border-bottom:1px solid var(--zs-header-line)!important;
  box-shadow:0 3px 18px rgba(50,40,30,.035)!important;
  backdrop-filter:blur(14px)!important;-webkit-backdrop-filter:blur(14px)!important;
}
body:not(.admin-body) header:not(.zbag-head) .hdr-inner,
body:not(.admin-body) header.site-header,
body:not(.admin-body) body:has(.product-layout)>header{
  width:min(1440px,100%)!important;min-height:88px!important;height:auto!important;
  margin:0 auto!important;padding:14px clamp(22px,4.2vw,64px)!important;
  display:flex!important;align-items:center!important;justify-content:space-between!important;
  gap:clamp(20px,3vw,48px)!important;box-sizing:border-box!important;
}
body:not(.admin-body) header:not(.zbag-head)>.brand,
body:not(.admin-body) header:not(.zbag-head)>.logo,
body:not(.admin-body) header .hdr-inner>.brand,
body:not(.admin-body) header .hdr-inner>.logo{
  order:0!important;flex:0 0 auto!important;margin:0 auto 0 0!important;
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  justify-content:center!important;text-decoration:none!important;line-height:.88!important;
  color:var(--zs-header-ink)!important;white-space:nowrap!important;
}
body:not(.admin-body) header .brand,
body:not(.admin-body) header .logo{font-family:'Cormorant Garamond',Georgia,serif!important}
body:not(.admin-body) header .brand{font-size:clamp(28px,2.5vw,37px)!important;letter-spacing:.13em!important;font-weight:400!important}
body:not(.admin-body) header .logo-name{font-size:clamp(29px,2.5vw,38px)!important;letter-spacing:.13em!important;font-weight:400!important}
body:not(.admin-body) header .brand small,
body:not(.admin-body) header .logo-studio{display:block!important;margin:6px 0 0 2px!important;font:500 8px/1.2 Inter,Arial,sans-serif!important;letter-spacing:.46em!important;text-transform:uppercase!important;color:var(--zs-header-muted)!important}
body:not(.admin-body) header:not(.zbag-head) nav{
  order:1!important;flex:0 1 auto!important;min-width:0!important;
  display:flex!important;align-items:center!important;justify-content:center!important;
  gap:clamp(14px,2.05vw,30px)!important;margin:0 auto!important;padding:0!important;
  border:0!important;background:transparent!important;overflow:visible!important;
}
body:not(.admin-body) header:not(.zbag-head) nav a{
  flex:0 0 auto!important;padding:9px 0!important;margin:0!important;
  color:#62584f!important;text-decoration:none!important;
  font:500 9px/1.4 Inter,Arial,sans-serif!important;letter-spacing:.14em!important;
  text-transform:uppercase!important;white-space:nowrap!important;
  border:0!important;background:transparent!important;transition:color .2s ease!important;
}
body:not(.admin-body) header:not(.zbag-head) nav a:hover,
body:not(.admin-body) header:not(.zbag-head) nav a[aria-current="page"],
body:not(.admin-body) header:not(.zbag-head) nav a.active{color:var(--zs-header-gold)!important}
body:not(.admin-body) header:not(.zbag-head) .hdr-right{
  order:2!important;flex:0 0 auto!important;display:flex!important;align-items:center!important;
  justify-content:flex-end!important;gap:14px!important;margin-left:auto!important;
}
body:not(.admin-body) header .z-cart-nav{
  display:inline-flex!important;align-items:center!important;gap:7px!important;
  padding:10px 14px!important;border:1px solid #d8c8b3!important;
  color:var(--zs-header-ink)!important;background:transparent!important;
}
body:not(.admin-body) header .z-cart-count,
body:not(.admin-body) header [data-cart-count]{font-variant-numeric:tabular-nums!important}
body:not(.admin-body) header .btn-wa{
  display:inline-flex!important;align-items:center!important;justify-content:center!important;
  min-height:40px!important;padding:0 17px!important;background:#302a25!important;
  color:#fff!important;border:1px solid #302a25!important;font-size:9px!important;
  letter-spacing:.13em!important;text-transform:uppercase!important;
}
body:not(.admin-body) header .hamburger,
body:not(.admin-body) header .menu-toggle{
  color:var(--zs-header-ink)!important;border:1px solid var(--zs-header-line)!important;
  background:transparent!important;border-radius:0!important;min-width:40px!important;min-height:40px!important;
}
@media(max-width:900px){
 body:not(.admin-body) header:not(.zbag-head) .hdr-inner,
 body:not(.admin-body) header.site-header,
 body:not(.admin-body) body:has(.product-layout)>header{
  min-height:76px!important;padding:12px 22px!important;gap:16px!important
 }
 body:not(.admin-body) header:not(.zbag-head) nav{gap:clamp(10px,1.6vw,16px)!important}
 body:not(.admin-body) header:not(.zbag-head) nav a{font-size:8px!important;letter-spacing:.09em!important}
}
@media(max-width:640px){
 body:not(.admin-body):has(#hamburger) header:not(.zbag-head) nav,
 body:not(.admin-body):has(#menuToggle) header:not(.zbag-head) nav{display:none!important}
 body:not(.admin-body) header:not(.zbag-head) .hdr-inner,
 body:not(.admin-body) header.site-header,
 body:not(.admin-body) body:has(.product-layout)>header{
  min-height:68px!important;padding:10px 16px!important;gap:10px!important;
  flex-direction:row!important;align-items:center!important
 }
 body:not(.admin-body) header .brand{font-size:28px!important}
 body:not(.admin-body) header .logo-name{font-size:29px!important}
 body:not(.admin-body) header:not(.zbag-head) nav{
  flex:1 1 auto!important;justify-content:flex-start!important;gap:16px!important;
  overflow-x:auto!important;overflow-y:hidden!important;white-space:nowrap!important;
  scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important;
  padding:7px 0!important
 }
 body:not(.admin-body) header:not(.zbag-head) nav::-webkit-scrollbar{display:none!important}
 body:not(.admin-body) header:not(.zbag-head) nav a{font-size:8px!important;letter-spacing:.08em!important}
 body:not(.admin-body) header:not(.zbag-head) .hdr-right{gap:8px!important}
 body:not(.admin-body) header .btn-wa,
 body:not(.admin-body) header .z-wishlist-label{display:none!important}
 body:not(.admin-body) header .z-cart-nav{padding:8px 9px!important;font-size:8px!important}
}


/* DESKTOP REDESIGN V2 — one-row editorial header.
   Scoped to desktop only; mobile header fix and all commerce hooks remain untouched. */
@media (min-width:1024px){
  :root{
    --zs-header-paper:#fbf8f3;
    --zs-header-ink:#302a25;
    --zs-header-muted:#786e64;
    --zs-header-line:#e7ded3;
    --zs-header-gold:#ad8c60;
  }

  /* Main storefront + collection catalogue headers */
  body:not(.admin-body) header.hdr,
  body:not(.admin-body) header:has(>.hdr-inner){
    position:relative!important;
    top:auto!important;left:auto!important;right:auto!important;
    width:100%!important;height:auto!important;min-height:0!important;
    margin:0!important;padding:0!important;
    background:var(--zs-header-paper)!important;
    border-bottom:1px solid var(--zs-header-line)!important;
    box-shadow:0 5px 24px rgba(48,42,37,.045)!important;
    backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
    z-index:100!important;overflow:visible!important;
  }
  body:not(.admin-body) header.hdr>.hdr-inner,
  body:not(.admin-body) header:has(>.hdr-inner)>.hdr-inner{
    display:grid!important;
    grid-template-columns:minmax(190px,250px) minmax(0,1fr) minmax(190px,250px)!important;
    grid-template-areas:"brand nav actions"!important;
    align-items:center!important;
    column-gap:clamp(20px,3vw,48px)!important;
    width:min(1480px,calc(100% - 112px))!important;
    max-width:1480px!important;min-height:104px!important;height:auto!important;
    margin:0 auto!important;padding:18px 0!important;
    box-sizing:border-box!important;
  }
  body:not(.admin-body) header.hdr>.hdr-inner>.logo,
  body:not(.admin-body) header:has(>.hdr-inner)>.hdr-inner>.logo{
    grid-area:brand!important;justify-self:start!important;
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    position:static!important;inset:auto!important;transform:none!important;
    width:max-content!important;max-width:100%!important;margin:0!important;padding:0!important;
    text-align:left!important;text-decoration:none!important;line-height:.9!important;
  }
  body:not(.admin-body) header.hdr .logo-name,
  body:not(.admin-body) header:has(>.hdr-inner) .logo-name{
    display:block!important;font:400 43px/.88 'Cormorant Garamond',Georgia,serif!important;
    letter-spacing:.17em!important;color:var(--zs-header-ink)!important;
    text-transform:uppercase!important;white-space:nowrap!important;
  }
  body:not(.admin-body) header.hdr .logo-studio,
  body:not(.admin-body) header:has(>.hdr-inner) .logo-studio{
    display:block!important;margin:7px 0 0 3px!important;
    font:500 9px/1 Inter,Arial,sans-serif!important;letter-spacing:.52em!important;
    color:var(--zs-header-muted)!important;text-align:left!important;text-transform:uppercase!important;
  }
  body:not(.admin-body) header.hdr>.hdr-inner>nav[aria-label="Main navigation"],
  body:not(.admin-body) header:has(>.hdr-inner)>.hdr-inner>nav,
  body:not(.admin-body) header:has(>.hdr-inner)>.hdr-inner>.nav{
    grid-area:nav!important;justify-self:center!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    position:static!important;inset:auto!important;transform:none!important;
    width:100%!important;min-width:0!important;max-width:none!important;
    margin:0!important;padding:0!important;border:0!important;background:transparent!important;
    overflow:visible!important;
  }
  body:not(.admin-body) header.hdr .nav-links,
  body:not(.admin-body) header:has(>.hdr-inner) .nav-links{
    display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
    justify-content:center!important;gap:clamp(16px,2vw,30px)!important;
    width:auto!important;min-width:0!important;margin:0!important;padding:0!important;
    list-style:none!important;white-space:nowrap!important;
  }
  body:not(.admin-body) header.hdr .nav-links>li,
  body:not(.admin-body) header:has(>.hdr-inner) .nav-links>li{
    display:block!important;flex:0 0 auto!important;margin:0!important;padding:0!important;
  }
  body:not(.admin-body) header.hdr nav a,
  body:not(.admin-body) header:has(>.hdr-inner) nav a,
  body:not(.admin-body) header:has(>.hdr-inner) .nav a{
    display:inline-flex!important;align-items:center!important;min-height:40px!important;
    padding:0!important;margin:0!important;border:0!important;background:transparent!important;
    color:#62584f!important;text-decoration:none!important;
    font:500 10px/1.3 Inter,Arial,sans-serif!important;
    letter-spacing:.13em!important;text-transform:uppercase!important;white-space:nowrap!important;
    transition:color .2s ease!important;
  }
  body:not(.admin-body) header.hdr nav a:hover,
  body:not(.admin-body) header:has(>.hdr-inner) nav a:hover,
  body:not(.admin-body) header:has(>.hdr-inner) .nav a:hover{color:var(--zs-header-gold)!important}
  body:not(.admin-body) header.hdr>.hdr-inner>.hdr-right,
  body:not(.admin-body) header:has(>.hdr-inner)>.hdr-inner>.hdr-right{
    grid-area:actions!important;justify-self:end!important;
    display:flex!important;flex-flow:row nowrap!important;align-items:center!important;
    justify-content:flex-end!important;gap:10px!important;
    position:static!important;inset:auto!important;transform:none!important;
    width:auto!important;min-width:0!important;margin:0!important;padding:0!important;
  }
  body:not(.admin-body) header.hdr .z-wishlist-trigger,
  body:not(.admin-body) header:has(>.hdr-inner) .z-wishlist-trigger{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    min-height:42px!important;height:42px!important;padding:0 13px!important;
    border:1px solid #d9cfc2!important;border-radius:0!important;
    background:transparent!important;color:var(--zs-header-ink)!important;
    font:500 9px/1 Inter,Arial,sans-serif!important;letter-spacing:.08em!important;
  }
  body:not(.admin-body) header.hdr .btn-wa,
  body:not(.admin-body) header:has(>.hdr-inner) .btn-wa{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    min-height:42px!important;padding:0 16px!important;
    border:1px solid var(--zs-header-ink)!important;border-radius:0!important;
    background:var(--zs-header-ink)!important;color:#fff!important;
    font:500 9px/1 Inter,Arial,sans-serif!important;letter-spacing:.11em!important;
    text-transform:uppercase!important;white-space:nowrap!important;
  }
  body:not(.admin-body) header.hdr .hamburger,
  body:not(.admin-body) header:has(>.hdr-inner) .hamburger{display:none!important}

  /* Collection landing + product-detail pages use their own lightweight header markup. */
  body:not(.admin-body) header.site-header,
  body:not(.admin-body):has(.product-layout)>header:not(.zbag-head){
    display:grid!important;grid-template-columns:minmax(190px,250px) minmax(0,1fr) minmax(150px,220px)!important;
    align-items:center!important;gap:30px!important;
    width:100%!important;min-height:104px!important;height:auto!important;
    margin:0!important;padding:18px max(56px,calc((100% - 1360px)/2))!important;
    box-sizing:border-box!important;position:relative!important;top:auto!important;
    background:var(--zs-header-paper)!important;border-bottom:1px solid var(--zs-header-line)!important;
    box-shadow:0 5px 24px rgba(48,42,37,.045)!important;
  }
  body:not(.admin-body) header.site-header>.brand,
  body:not(.admin-body):has(.product-layout)>header>.brand{
    justify-self:start!important;align-self:center!important;margin:0!important;
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    text-align:left!important;font:400 43px/.88 'Cormorant Garamond',Georgia,serif!important;
    letter-spacing:.15em!important;color:var(--zs-header-ink)!important;white-space:nowrap!important;
  }
  body:not(.admin-body) header.site-header>.brand small,
  body:not(.admin-body):has(.product-layout)>header>.brand small{
    margin:7px 0 0 3px!important;text-align:left!important;
    font:500 9px/1 Inter,Arial,sans-serif!important;letter-spacing:.5em!important;color:var(--zs-header-muted)!important;
  }
  body:not(.admin-body) header.site-header>nav,
  body:not(.admin-body):has(.product-layout)>header>nav{
    justify-self:center!important;display:flex!important;align-items:center!important;justify-content:center!important;
    gap:clamp(18px,2.2vw,32px)!important;margin:0!important;padding:0!important;
    border:0!important;background:transparent!important;white-space:nowrap!important;
  }
  body:not(.admin-body) header.site-header>nav a,
  body:not(.admin-body):has(.product-layout)>header>nav a{
    display:inline-flex!important;align-items:center!important;min-height:40px!important;
    padding:0!important;color:#62584f!important;text-decoration:none!important;
    font:500 10px/1.3 Inter,Arial,sans-serif!important;letter-spacing:.13em!important;
    text-transform:uppercase!important;white-space:nowrap!important;
  }
}


/* DESKTOP EDITORIAL HEADER V3 — homepage header rebuilt as a clean 4-zone system.
   Desktop only. Keeps the existing announcement ticker, logo text, URLs and JS hooks. */
@media (min-width:1024px){
  body:not(.admin-body) header.hdr{
    position:relative!important;inset:auto!important;top:auto!important;
    width:100%!important;height:auto!important;min-height:0!important;
    margin:0!important;padding:0!important;overflow:visible!important;
    background:#fbf8f3!important;border:0!important;
    border-bottom:1px solid #e8dfd5!important;
    box-shadow:0 8px 26px rgba(43,36,30,.045)!important;
    z-index:200!important;
  }
  body:not(.admin-body) header.hdr>.hdr-inner{
    width:min(1500px,calc(100% - 112px))!important;max-width:1500px!important;
    min-height:112px!important;height:auto!important;margin:0 auto!important;
    padding:18px 0!important;box-sizing:border-box!important;
    display:grid!important;
    grid-template-columns:minmax(190px,240px) minmax(0,1fr) auto minmax(190px,230px)!important;
    grid-template-areas:"brand nav bag actions"!important;
    align-items:center!important;column-gap:clamp(18px,2.2vw,34px)!important;
  }
  body:not(.admin-body) header.hdr .logo{
    grid-area:brand!important;justify-self:start!important;align-self:center!important;
    display:flex!important;flex-direction:column!important;align-items:flex-start!important;
    position:static!important;inset:auto!important;transform:none!important;
    width:max-content!important;max-width:100%!important;margin:0!important;padding:0!important;
    text-align:left!important;line-height:.88!important;
  }
  body:not(.admin-body) header.hdr .logo-name{
    color:#302a25!important;font:400 46px/.88 'Cormorant Garamond',Georgia,serif!important;
    letter-spacing:.16em!important;text-transform:uppercase!important;white-space:nowrap!important;
  }
  body:not(.admin-body) header.hdr .logo-studio{
    display:block!important;margin:8px 0 0 3px!important;
    color:#887764!important;font:500 9px/1 Inter,Arial,sans-serif!important;
    letter-spacing:.54em!important;text-align:left!important;text-transform:uppercase!important;
  }
  /* Flatten nav wrapper so the primary links and bag occupy independent grid zones. */
  body:not(.admin-body) header.hdr> .hdr-inner>nav[aria-label="Main navigation"]{
    display:contents!important;
  }
  body:not(.admin-body) header.hdr .nav-links{
    grid-area:nav!important;justify-self:center!important;
    display:flex!important;align-items:center!important;justify-content:center!important;
    flex-flow:row nowrap!important;gap:clamp(17px,1.9vw,29px)!important;
    width:auto!important;margin:0!important;padding:0!important;list-style:none!important;
    white-space:nowrap!important;
  }
  body:not(.admin-body) header.hdr .nav-links>li{
    display:block!important;flex:0 0 auto!important;margin:0!important;padding:0!important;
  }
  body:not(.admin-body) header.hdr .nav-links>li>.mnav-cart-link{
    display:none!important;
  }
  body:not(.admin-body) header.hdr .nav-links a{
    display:inline-flex!important;align-items:center!important;position:relative!important;
    min-height:42px!important;padding:0!important;margin:0!important;
    color:#62584f!important;background:transparent!important;border:0!important;
    font:500 10px/1.2 Inter,Arial,sans-serif!important;
    letter-spacing:.13em!important;text-transform:uppercase!important;white-space:nowrap!important;
    transition:color .2s ease!important;
  }
  body:not(.admin-body) header.hdr .nav-links a:after{
    content:""!important;position:absolute!important;left:0!important;right:100%!important;
    bottom:5px!important;height:1px!important;background:#b99768!important;
    transition:right .25s ease!important;
  }
  body:not(.admin-body) header.hdr .nav-links a:hover{color:#a17d51!important}
  body:not(.admin-body) header.hdr .nav-links a:hover:after{right:0!important}
  body:not(.admin-body) header.hdr .z-cart-nav{
    grid-area:bag!important;justify-self:end!important;
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    gap:8px!important;min-width:76px!important;height:42px!important;padding:0 13px!important;
    margin:0!important;border:1px solid #d9cbbc!important;background:transparent!important;
    color:#302a25!important;text-decoration:none!important;
    font:500 9px/1 Inter,Arial,sans-serif!important;letter-spacing:.11em!important;
    text-transform:uppercase!important;white-space:nowrap!important;
  }
  body:not(.admin-body) header.hdr .z-cart-nav:hover{
    border-color:#b99768!important;background:#f5eee5!important;
  }
  body:not(.admin-body) header.hdr .z-cart-count{
    display:inline-grid!important;place-items:center!important;min-width:18px!important;height:18px!important;
    padding:0 4px!important;border-radius:50%!important;background:#b99768!important;color:#fff!important;
    font:500 9px/1 Inter,Arial,sans-serif!important;
  }
  body:not(.admin-body) header.hdr .hdr-right{
    grid-area:actions!important;justify-self:end!important;
    display:flex!important;align-items:center!important;justify-content:flex-end!important;
    flex-flow:row nowrap!important;gap:10px!important;margin:0!important;padding:0!important;
  }
  body:not(.admin-body) header.hdr .z-wishlist-trigger{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    gap:7px!important;min-width:98px!important;height:42px!important;padding:0 12px!important;
    border:1px solid #d9cbbc!important;border-radius:0!important;
    background:transparent!important;color:#302a25!important;
    font:500 9px/1 Inter,Arial,sans-serif!important;letter-spacing:.08em!important;
  }
  body:not(.admin-body) header.hdr .z-wishlist-trigger svg{
    width:16px!important;height:16px!important;fill:none!important;stroke:currentColor!important;
    stroke-width:1.5!important;
  }
  body:not(.admin-body) header.hdr .btn-wa{
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    min-width:170px!important;height:42px!important;padding:0 15px!important;margin:0!important;
    border:1px solid #302a25!important;border-radius:0!important;
    background:#302a25!important;color:#fff!important;
    font:500 9px/1 Inter,Arial,sans-serif!important;letter-spacing:.12em!important;
    text-transform:uppercase!important;white-space:nowrap!important;
  }
  body:not(.admin-body) header.hdr .btn-wa:hover{
    background:#4a4038!important;border-color:#4a4038!important;
  }
  body:not(.admin-body) header.hdr .hamburger{display:none!important}

  /* The old fixed-header compensation created an oversized gap above the hero. */
  body:not(.admin-body) .hero{margin-top:34px!important}
}
@media (min-width:1024px) and (max-width:1199px){
  body:not(.admin-body) header.hdr>.hdr-inner{
    width:calc(100% - 56px)!important;
    grid-template-columns:170px minmax(0,1fr) auto 185px!important;
    column-gap:14px!important;
  }
  body:not(.admin-body) header.hdr .logo-name{font-size:39px!important}
  body:not(.admin-body) header.hdr .nav-links{gap:14px!important}
  body:not(.admin-body) header.hdr .nav-links a{font-size:9px!important;letter-spacing:.09em!important}
  body:not(.admin-body) header.hdr .btn-wa{min-width:150px!important;font-size:8px!important}
}

/* Consistent one-row desktop navigation for simple editorial page headers.
   Existing mobile menu breakpoints and link destinations remain untouched. */
@media (min-width: 1024px){
  body:not(.admin-body) header:not(.zbag-head){
    flex-wrap:nowrap!important;
  }
  body:not(.admin-body) header:not(.zbag-head) nav{
    flex-wrap:nowrap!important;
    white-space:nowrap!important;
    min-width:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scrollbar-width:none!important;
  }
  body:not(.admin-body) header:not(.zbag-head) nav::-webkit-scrollbar{display:none!important}
  body:not(.admin-body) header:not(.zbag-head) nav a{
    flex:0 0 auto!important;
  }
}
