/* HOUSE OF AFRERA V4.0 — SHARED HEADER REPAIR / 23 NOV 2026
   One final header rule across all pages. No payment, data, or authentication changes. */
@media (min-width:1221px) {
  html body header.hoa-site-header.header {
    display:grid!important;
    grid-template-columns:minmax(235px,25%) minmax(0,1fr) max-content!important;
    align-items:center!important;
    justify-content:initial!important;
    column-gap:clamp(12px,1.5vw,25px)!important;
    height:94px!important;
    min-height:94px!important;
    padding-inline:clamp(18px,2.4vw,44px)!important;
  }
  html body header.hoa-site-header.header > a.brand {
    grid-column:1!important;grid-row:1!important;
    justify-self:start!important;
    font-size:clamp(20px,1.65vw,27px)!important;
    white-space:nowrap!important;
  }
  /* The desktop A appears in the nav, not beside the wordmark. */
  html body header.hoa-site-header.header > a.header-monogram {display:none!important;}
  html body header.hoa-site-header.header > nav.nav {
    grid-column:2!important;grid-row:1!important;
    display:flex!important;
    width:100%!important;min-width:0!important;
    align-items:center!important;
    justify-content:space-between!important;
    gap:clamp(6px,.8vw,14px)!important;
    position:static!important;inset:auto!important;transform:none!important;
    padding:0!important;margin:0!important;
    white-space:nowrap!important;
  }
  html body header.hoa-site-header.header > nav.nav > a {
    display:inline-flex!important;align-items:center!important;justify-content:center!important;
    width:auto!important;min-width:0!important;flex:0 0 auto!important;
    margin:0!important;padding:8px 0!important;
    font-size:clamp(9px,.75vw,11.7px)!important;
    letter-spacing:.065em!important;
    line-height:1.2!important;
  }
  html body header.hoa-site-header.header > nav.nav > a.hoa-nav-monogram {
    display:grid!important;place-items:center!important;
    flex:0 0 52px!important;
    width:52px!important;min-width:52px!important;height:58px!important;
    margin:0!important;padding:0!important;
    position:static!important;inset:auto!important;transform:none!important;
    background:transparent!important;border:0!important;
  }
  html body header.hoa-site-header.header > nav.nav > a.hoa-nav-monogram img {
    width:52px!important;height:52px!important;
    max-width:52px!important;max-height:52px!important;
    object-fit:contain!important;
    display:block!important;
  }
  html body header.hoa-site-header.header > a.top-action {
    grid-column:3!important;grid-row:1!important;
    justify-self:end!important;
    position:static!important;inset:auto!important;transform:none!important;
    display:inline-flex!important;white-space:nowrap!important;
    margin:0!important;padding:14px 16px!important;
    font-size:10px!important;
  }
  html body header.hoa-site-header.header > button.menu-button{display:none!important;}
}
@media (max-width:1220px) {
  html body header.hoa-site-header.header > nav.nav {display:none!important;}
  html body header.hoa-site-header.header > a.header-monogram {display:grid!important;}
  html body header.hoa-site-header.header > button.menu-button {display:block!important;}
  html body nav.mobile-menu:not([hidden]) {display:block!important;}
  html body nav.mobile-menu[hidden] {display:none!important;}
}
/* Avoid Safari overpainting empty image cards: card media must remain a normal image. */
html body .g6-page .g6-card img {display:block;max-width:100%;object-fit:cover;}
