/* 00980-HEADER-FINAL-PREMIUM-POLISH · standalone Header 56–100 (hf00979 canonical classes) */
.hf00979-header{container-type:inline-size;container-name:hf00979-header}
.hf00979-header,.hf00979-header *{box-sizing:border-box;min-width:0}
.hf00979-header .hf00979-menu-link,.hf00979-header .hf00979-button,.hf00979-header .hf00979-icon-button,.hf00979-header .hf00979-phone,.hf00979-header .hf00979-search{transition:transform .18s ease,background-color .18s ease,color .18s ease,border-color .18s ease,box-shadow .18s ease}
.hf00979-header .hf00979-menu-link:hover,.hf00979-header .hf00979-menu-link:focus-visible{background:var(--hf00979-local-menu-hover-bg,var(--hf00979-surface2))!important;color:var(--hf00979-local-menu-hover-text,var(--hf00979-text))!important;transform:translateY(-1px);outline:none}
.hf00979-header .hf00979-button:hover,.hf00979-header .hf00979-button:focus-visible{background:var(--hf00979-local-btn-hover-bg,var(--hf00979-accent))!important;color:var(--hf00979-local-btn-hover-text,var(--hf00979-on-accent))!important;transform:translateY(-1px);outline:none}
.hf00979-header .hf00979-icon-button:hover,.hf00979-header .hf00979-icon-button:focus-visible{background:var(--hf00979-local-icon-hover-bg,var(--hf00979-accent))!important;color:var(--hf00979-local-icon-hover-text,var(--hf00979-on-accent))!important;transform:translateY(-1px);outline:none}
.hf00979-header .hf00979-phone,.hf00979-header .hf00979-phone *{white-space:nowrap!important;word-break:normal!important;overflow-wrap:normal!important}
.hf00979-header .hf00979-phone:hover,.hf00979-header .hf00979-phone:focus-visible{transform:translateY(-1px);outline:none}
.hf00979-header .hf00979-search:hover{transform:translateY(-1px)}
.hf00979-header .st-logo__title,.hf00979-header .st-logo__subtitle,.hf00979-header .hf00979-menu-link,.hf00979-header .st-menu__text{white-space:nowrap!important}
.hf00979-header .hf00979-box,.hf00979-header .hf00979-level,.hf00979-header .hf00979-menu,.hf00979-header .hf00979-search-block{max-width:100%!important}

@container hf00979-header (max-width: 1100px){
 .hf00979-header{padding:9px 11px!important}
 .hf00979-header .hf00979-grid{grid-template-columns:1fr auto!important;gap:10px!important}
 .hf00979-header .hf00979-grid>.hf00979-menu,.hf00979-header .hf00979-grid>.hf00979-search-block,.hf00979-header .hf00979-grid>.hf00979-box:has(.hf00979-menu),.hf00979-header .hf00979-grid>.hf00979-box:has(.hf00979-search){grid-column:1/-1!important}
 .hf00979-header .hf00979-menu .st-menu__list{justify-content:flex-start!important;gap:5px!important}
 .hf00979-header .hf00979-menu-link{font-size:12px!important;padding:6px 8px!important}
 .hf00979-header .hf00979-media{width:130px!important}
}
@container hf00979-header (max-width: 720px){
 .hf00979-header{padding:8px 9px!important;border-radius:18px!important}
 .hf00979-header .hf00979-grid{display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important}
 .hf00979-header .hf00979-logo{order:1;flex:1 1 170px!important}
 .hf00979-header .hf00979-actions,.hf00979-header .st-block--button,.hf00979-header .hf00979-phone-block{order:2;flex:0 0 auto!important}
 .hf00979-header .hf00979-menu,.hf00979-header .hf00979-search-block,.hf00979-header .hf00979-box:has(.hf00979-menu),.hf00979-header .hf00979-box:has(.hf00979-search){order:3;flex:1 1 100%!important;width:100%!important}
 .hf00979-header .hf00979-menu .st-menu__list{justify-content:flex-start!important;flex-wrap:wrap!important}
 .hf00979-header .hf00979-search{width:100%!important}
 .hf00979-header .hf00979-media{display:none!important}
 .hf00979-header .hf00979-phone{font-size:clamp(11px,2.6cqi,13px)!important;padding:6px 8px!important}
}
@container hf00979-header (max-width: 460px){
 .hf00979-header .st-logo__subtitle{display:none!important}
 .hf00979-header .hf00979-logo-mark{width:35px!important;height:35px!important}
 .hf00979-header .st-logo__title{font-size:18px!important}
 .hf00979-header .hf00979-button{min-height:36px!important;padding:8px 10px!important;font-size:12px!important}
 .hf00979-header .hf00979-icon-button{width:35px!important;height:35px!important}
 .hf00979-header .hf00979-menu-link{font-size:11px!important;padding:5px 7px!important;min-height:28px!important}
 .hf00979-header .hf00979-promo{padding:6px 8px!important}
}
@container hf00979-header (max-width: 340px){
 .hf00979-header .hf00979-phone-block{flex:1 1 100%!important;order:3!important}
 .hf00979-header .hf00979-phone{font-size:10.5px!important}
 .hf00979-header .hf00979-menu{order:4!important}
 .hf00979-header .hf00979-menu .st-menu__list{gap:3px!important}
 .hf00979-header .hf00979-menu-link{font-size:10px!important;padding:5px!important}
}

/* Premium polish 00980 — authored CSS only, no runtime repair. */
.hf00979-header{--hf00980-focus:var(--hf00979-accent);min-height:64px}
.hf00979-header>.hf00979-level{position:relative}
.hf00979-header .hf00979-logo{min-height:42px}
.hf00979-header .hf00979-logo-copy{max-width:min(280px,44cqi)}
.hf00979-header .st-logo__title,.hf00979-header .st-logo__subtitle{max-width:100%;overflow:hidden;text-overflow:ellipsis}
.hf00979-header .hf00979-menu-link{letter-spacing:-.01em}
.hf00979-header .hf00979-search{min-height:42px;box-shadow:inset 0 0 0 1px rgba(255,255,255,.04)}
.hf00979-header .hf00979-button:hover,.hf00979-header .hf00979-button:focus-visible{transform:translateY(-2px);box-shadow:0 10px 24px rgba(15,23,42,.14)}
.hf00979-header .hf00979-icon-button:hover,.hf00979-header .hf00979-icon-button:focus-visible{transform:translateY(-2px) scale(1.02)}
.hf00979-header .hf00979-phone:hover,.hf00979-header .hf00979-phone:focus-visible{transform:translateY(-1px);filter:brightness(1.03)}
.hf00979-header .hf00979-menu-link:focus-visible,.hf00979-header .hf00979-button:focus-visible,.hf00979-header .hf00979-icon-button:focus-visible,.hf00979-header .hf00979-phone:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--hf00980-focus) 28%,transparent);outline:none}
.hf00979-header.hf00979-a-market .hf00979-search{min-height:46px}
.hf00979-header.hf00979-a-market .hf00979-actions{gap:6px!important}
.hf00979-header.hf00979-a-luxury .st-logo__title{letter-spacing:-.03em}
.hf00979-header.hf00979-family-H06,.hf00979-header.hf00979-family-H10{backdrop-filter:saturate(1.08)}
.hf00979-header.hf00979-family-H15{border-radius:0!important}
@container hf00979-header (min-width: 1200px){
 .hf00979-header{padding:11px 16px!important}
 .hf00979-header .hf00979-level{min-height:48px}
}
@container hf00979-header (max-width: 720px){
 .hf00979-header{min-height:58px}
 .hf00979-header .hf00979-logo-copy{max-width:56cqi}
 .hf00979-header .hf00979-actions{gap:6px!important}
 .hf00979-header.hf00979-a-market .hf00979-search{min-height:42px}
}
@container hf00979-header (max-width: 460px){
 .hf00979-header{padding:7px 8px!important}
 .hf00979-header .hf00979-logo{gap:8px!important}
 .hf00979-header .hf00979-logo-copy{max-width:50cqi}
 .hf00979-header .hf00979-actions{gap:5px!important}
 .hf00979-header .hf00979-search{min-height:38px!important;padding:7px 9px!important}
 .hf00979-header.hf00979-a-market .hf00979-actions .hf00979-icon-button:nth-child(2){display:none!important}
}
@container hf00979-header (max-width: 340px){
 .hf00979-header{padding:6px 7px!important}
 .hf00979-header .hf00979-logo-copy{max-width:46cqi}
 .hf00979-header .hf00979-button{padding:7px 9px!important}
 .hf00979-header .hf00979-icon-button{width:34px!important;height:34px!important}
}

/* 00980 authored Header text/layout authority against legacy Site Canvas header safety. */
.hf00979-header .st-block--text{min-height:0!important}
.hf00979-header .st-block--text>.st-text-edit{
  display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
  min-height:0!important;height:auto!important;padding:0!important;border-radius:0!important;
  overflow:visible!important;box-sizing:border-box!important;writing-mode:horizontal-tb!important;
  text-orientation:mixed!important;word-break:normal!important;overflow-wrap:normal!important
}
.hf00979-header .st-block--heading{width:100%!important;min-width:0!important;max-width:100%!important;flex:1 1 auto!important;overflow:visible!important}
.hf00979-header .st-block--heading>.st-text-edit{
  display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
  min-height:0!important;height:auto!important;padding:0!important;white-space:normal!important;
  word-break:normal!important;overflow-wrap:normal!important
}
.hf00979-header .hf00979-box>.hf00979-menu{flex:1 1 auto!important;width:auto!important}
.hf00979-header .hf00979-box>.hf00979-search-block{flex:1 1 auto!important;width:auto!important}
.hf00979-header .hf00979-box>.hf00979-logo,.hf00979-header .hf00979-box>.hf00979-actions,.hf00979-header .hf00979-box>.hf00979-phone-block,.hf00979-header .hf00979-box>.st-block--button{flex:0 0 auto!important;width:auto!important}
@container hf00979-header (max-width:720px){
 .hf00979-header .hf00979-grid>.hf00979-copy{flex:1 1 100%!important;width:100%!important;max-width:100%!important;margin:0!important}
 .hf00979-header .hf00979-grid>.hf00979-box:not(.hf00979-actions){max-width:100%!important}
}
.hf00979-header .hf00979-box>.hf00979-copy{flex:1 1 auto!important;width:auto!important;min-width:0!important;max-width:100%!important}
@container hf00979-header (max-width:340px){
 .hf00979-header.hf00979-family-H05.hf00979-v-B .hf00979-box{padding:6px 7px!important;gap:4px!important}
 .hf00979-header.hf00979-family-H05.hf00979-v-B .st-logo__subtitle{display:none!important}
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row>.hf00979-box:first-child{display:none!important}
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row>.hf00979-box{padding:6px!important}
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-phone-block{display:none!important}
}
@container hf00979-header (max-width:820px){
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row{
   display:grid!important;grid-template-columns:86px minmax(0,1fr) auto!important;
   grid-template-areas:"label brand button" "menu menu menu"!important;
   align-items:stretch!important;gap:0!important
 }
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row>.hf00979-box:nth-child(1){grid-area:label!important;width:86px!important;display:flex!important}
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row>.hf00979-box:nth-child(2){grid-area:brand!important;width:100%!important;flex-direction:row!important;align-items:center!important}
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row>.hf00979-box:nth-child(3){grid-area:menu!important;width:100%!important;grid-column:auto!important}
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row>.st-block--button{grid-area:button!important;align-self:stretch!important}
}
@container hf00979-header (max-width:340px){
 .hf00979-header .hf00979-menu .st-menu__list{gap:2px!important}
 .hf00979-header .hf00979-menu-link{font-size:9.5px!important;padding:4px!important}
}
@container hf00979-header (max-width:820px){
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row>.hf00979-box:nth-child(1){grid-area:auto!important;grid-column:1!important;grid-row:1!important}
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row>.hf00979-box:nth-child(2){grid-area:auto!important;grid-column:2!important;grid-row:1!important}
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row>.hf00979-box:nth-child(3){grid-area:auto!important;grid-column:1 / -1!important;grid-row:2!important;width:100%!important}
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row>.st-block--button{grid-area:auto!important;grid-column:3!important;grid-row:1!important}
}
@container hf00979-header (max-width:460px){
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-phone-block{display:none!important}
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row{grid-template-columns:minmax(0,1fr) auto!important}
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row>.hf00979-box:nth-child(1){display:none!important}
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row>.hf00979-box:nth-child(2){grid-column:1!important;grid-row:1!important}
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row>.st-block--button{grid-column:2!important;grid-row:1!important}
 .hf00979-header.hf00979-family-H15.hf00979-v-C .hf00979-row>.hf00979-box:nth-child(3){grid-column:1/-1!important;grid-row:2!important}
}

/* Actual Builder slot specificity: authored headers outrank legacy max-content rules. */
#st-site-header-slot .hf00979-header .st-block--heading,
.site-root #st-site-header-slot .hf00979-header .st-block--heading{width:100%!important;min-width:0!important;max-width:100%!important;flex:1 1 auto!important}
#st-site-header-slot .hf00979-header .st-block--heading>.st-text-edit,
.site-root #st-site-header-slot .hf00979-header .st-block--heading>.st-text-edit{display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;height:auto!important;padding:0!important;white-space:normal!important}
#st-site-header-slot .hf00979-header .st-block--text>.st-text-edit,
.site-root #st-site-header-slot .hf00979-header .st-block--text>.st-text-edit{width:100%!important;min-width:0!important;max-width:100%!important;min-height:0!important;height:auto!important;padding:0!important}
@container hf00979-header (max-width:820px){
 .hf00979-header.hf00979-family-H12.hf00979-v-A .hf00979-promo{display:none!important}
 .hf00979-header.hf00979-family-H12.hf00979-v-A .hf00979-row{display:grid!important;grid-template-columns:auto minmax(0,1fr) auto!important;align-items:center!important;gap:8px!important}
 .hf00979-header.hf00979-family-H12.hf00979-v-A .hf00979-row>.hf00979-search-block{grid-column:auto!important;order:initial!important;width:100%!important}
 .hf00979-header.hf00979-family-H12.hf00979-v-A .hf00979-row>.hf00979-logo,.hf00979-header.hf00979-family-H12.hf00979-v-A .hf00979-row>.hf00979-actions{order:initial!important}
 .hf00979-header.hf00979-family-H12.hf00979-v-A .hf00979-subrow{display:grid!important;grid-template-columns:auto minmax(0,1fr)!important;align-items:center!important;gap:8px!important}
 .hf00979-header.hf00979-family-H12.hf00979-v-A .hf00979-subrow>.hf00979-menu{grid-column:auto!important;width:100%!important;order:initial!important}
 .hf00979-header.hf00979-family-H12.hf00979-v-A .hf00979-subrow>.hf00979-copy{display:none!important}
 .hf00979-header.hf00979-family-H05.hf00979-v-B .hf00979-row{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;align-items:stretch!important;gap:7px!important}
 .hf00979-header.hf00979-family-H05.hf00979-v-B .hf00979-row>.hf00979-box:nth-child(1){grid-column:1!important;grid-row:1!important;width:100%!important}
 .hf00979-header.hf00979-family-H05.hf00979-v-B .hf00979-row>.hf00979-box:nth-child(2){grid-column:1/-1!important;grid-row:2!important;width:100%!important}
 .hf00979-header.hf00979-family-H05.hf00979-v-B .hf00979-row>.hf00979-box:nth-child(3){grid-column:2!important;grid-row:1!important;width:auto!important}
 .hf00979-header.hf00979-family-H05.hf00979-v-B .hf00979-row>.hf00979-box:nth-child(3) .hf00979-phone-block{display:none!important}
}
@container hf00979-header (max-width:460px){
 .hf00979-header.hf00979-family-H12.hf00979-v-A .hf00979-row{grid-template-columns:minmax(0,1fr) auto!important}
 .hf00979-header.hf00979-family-H12.hf00979-v-A .hf00979-row>.hf00979-logo{grid-column:1!important;grid-row:1!important}
 .hf00979-header.hf00979-family-H12.hf00979-v-A .hf00979-row>.hf00979-actions{grid-column:2!important;grid-row:1!important}
 .hf00979-header.hf00979-family-H12.hf00979-v-A .hf00979-row>.hf00979-search-block{grid-column:1/-1!important;grid-row:2!important}
}
@container hf00979-header (max-width:340px){
 .hf00979-header .hf00979-box:has(.hf00979-phone-block){flex-wrap:wrap!important}
 .hf00979-header .hf00979-box>.hf00979-phone-block{flex:1 1 100%!important;width:100%!important;max-width:100%!important}
 .hf00979-header .hf00979-box>.hf00979-phone-block>.hf00979-phone{width:100%!important;max-width:100%!important;justify-content:center!important;font-size:10.5px!important;padding:5px 7px!important}
}
@container hf00979-header (max-width:820px){
 .hf00979-header.hf00979-family-H12.hf00979-v-A .hf00979-subrow>.st-block--button{grid-column:1!important;grid-row:1!important;order:initial!important;width:auto!important}
 .hf00979-header.hf00979-family-H12.hf00979-v-A .hf00979-subrow>.hf00979-menu{grid-column:2!important;grid-row:1!important;order:initial!important;width:100%!important;min-width:0!important}
}
@container hf00979-header (max-width:340px){
 .hf00979-header.hf00979-family-H14.hf00979-v-C .hf00979-meta>.hf00979-copy{display:none!important}
 .hf00979-header.hf00979-family-H14.hf00979-v-C .hf00979-meta{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;gap:6px!important}
 .hf00979-header.hf00979-family-H14.hf00979-v-C .hf00979-meta>.hf00979-logo{grid-column:1!important;width:100%!important}
 .hf00979-header.hf00979-family-H14.hf00979-v-C .hf00979-meta>.hf00979-utility{grid-column:2!important;width:auto!important}
 .hf00979-header.hf00979-family-H14.hf00979-v-C .hf00979-box:has(.hf00979-phone-block)>.hf00979-phone-block{display:none!important}
}
