/* ==========================================================
   Part 31 — the desktop header, redrawn (js/header.js).
   Applies only to .header.hx above 1100px (below, the phone header shows).
   Colours and fonts come from css/brand.css tokens only.
   ========================================================== */
@media (min-width:1101px){
  .header.two-rows.hx{
    display:grid;grid-template-columns:1fr auto 1fr;grid-template-rows:92px 46px;align-items:center;
    height:auto;padding:0 4vw;
    background:linear-gradient(rgba(12,10,8,.58),rgba(12,10,8,.22) 70%,rgba(12,10,8,0));
    backdrop-filter:none;-webkit-backdrop-filter:none;
    transition:background .45s ease,box-shadow .45s ease
  }
  .header.two-rows.hx.scrolled{background:var(--bg);box-shadow:0 1px 0 rgba(var(--fg),.08)}

  /* logo: centred, no tab, no shadow */
  .header.two-rows.hx .logo{position:static;grid-column:2;grid-row:1;justify-self:center;
    width:auto;height:70px;padding:0;background:none;box-shadow:none;display:flex;align-items:center}
  .header.two-rows.hx .logo img{height:100%;width:auto}

  /* row 1, left: the house */
  .header.two-rows.hx .nav{position:static;grid-column:1;grid-row:1;justify-self:start;height:92px;display:flex;align-items:center}
  .header.two-rows.hx .nav > li > a{padding:36px 34px 36px 0;letter-spacing:.24em}

  /* row 1, right: search + rendez-vous */
  .header.two-rows.hx .hx-right{grid-column:3;grid-row:1;justify-self:end;display:flex;align-items:center;gap:30px;list-style:none;margin:0;padding:0}
  .header.two-rows.hx .hx-right .search{margin:0;width:22px;height:22px}
  .header.two-rows.hx .hx-right .search svg{width:15px;height:15px;stroke-width:1.6}
  .hx-cta{display:inline-block;padding:9px 18px;border:1px solid rgba(var(--fg),.55);
    font:500 12px/1 var(--font-menu);letter-spacing:.24em;text-transform:uppercase;color:var(--ink);transition:background .35s,color .35s,border-color .35s}
  .hx-cta:hover{background:var(--fgc);border-color:var(--fgc);color:var(--bgd)}

  /* the socials live in the footer now */
  .header.two-rows.hx .social-top{display:none}

  /* full-width hairline between the rows */
  .header.two-rows.hx::after{left:4vw;right:4vw;top:92px}

  /* row 2: the furniture, centred */
  .header.two-rows.hx .nav2{position:static;grid-column:1 / -1;grid-row:2;justify-self:center;height:46px;display:flex;align-items:center;gap:0}
  .header.two-rows.hx .nav2 li a{padding:14px 22px;letter-spacing:.22em;color:var(--sub)}
  .header.two-rows.hx .nav2 li:first-child a{padding-left:22px}
  .header.two-rows.hx .nav2 li a:hover{color:var(--ink)}
  .header.two-rows.hx .nav2 li a.current{color:var(--gold)}
}
/* the header is taller than the old one: what sticks under it or scrolls to an anchor follows its height (--hdr, set in js/header.js) */
@media (min-width:1101px){
  .hx-on .gz-bar{top:var(--hdr,138px)}                              /* furniture pages: tool bar (Part 10) */
  .hx-on .di-box{top:calc(var(--hdr,138px) + 28px)}                 /* piece pages: price box (Part 11) */
  .hx-on .sm-photo{top:calc(var(--hdr,138px) + 28px)}               /* Sur mesure: materials photo */
  .hx-on .cx-room{scroll-margin-top:calc(var(--hdr,138px) + 70px)}  /* collection pages: room tabs */
  .hx-on .px-form{scroll-margin-top:var(--hdr,138px)}               /* quote form anchor */
}
@media (min-width:1101px) and (max-width:1300px){
  .header.two-rows.hx .nav > li > a{padding-right:24px;letter-spacing:.2em}
  .header.two-rows.hx .nav2 li a{padding:14px 14px;letter-spacing:.18em}
}
