/* SOL.MEBEL header layout hotfix v6.
   The normal site container is 1180px, too narrow for the desktop nav,
   phone number and owner editor button together.  Header gets its own width. */
@media (min-width: 761px) {
  .site-header .header-inner {
    width: min(1570px, calc(100vw - 48px));
    max-width: none;
    gap: clamp(10px, 1vw, 18px);
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  .site-header .brand { flex: 0 0 auto; }
  .site-header .nav {
    flex: 1 1 auto;
    min-width: 0;
    justify-content: center;
    flex-wrap: nowrap;
    gap: clamp(11px, 1.2vw, 23px);
  }
  .site-header .nav a { white-space: nowrap; }
  .site-header .header-actions {
    flex: 0 0 auto;
    gap: clamp(7px, .8vw, 12px);
    flex-wrap: nowrap;
    white-space: nowrap;
  }
}
/* On narrower laptop screens show nav on its own centered row rather than overlap. */
@media (min-width: 761px) and (max-width: 1090px) {
  .site-header .header-inner { flex-wrap: wrap; row-gap: 8px; padding: 10px 0; }
  .site-header .brand { flex: 1 1 auto; }
  .site-header .nav { flex: 1 1 100%; order: 3; justify-content: center; }
}
@media (max-width: 760px) {
  .site-header .header-inner { width: var(--container); }
}
