/* Golden Records v1.3.7 — header matched to the supplied approved Главная.html.
   This file is loaded last; it affects the shared header and nav only. */
body.gr-site .gr-topbar { background:#0a0c0b; color:#d6d1c9; }
body.gr-site .gr-topbar-inner {min-height:34px;gap:18px;}
body.gr-site .gr-topbar-promises {
    display:flex;align-items:center;gap:clamp(12px,1.75vw,24px);
    min-width:0;flex:1 1 auto;font-size:11px;white-space:nowrap;
}
body.gr-site .gr-topbar-promise {display:inline-flex;align-items:center;gap:4px;white-space:nowrap;}
body.gr-site .gr-topbar-star {color:#dfbd78;flex:none;}
body.gr-site .gr-topbar-promises strong {color:#dfbd78;font-weight:500;}
body.gr-site .gr-top-links {flex:0 0 auto;white-space:nowrap;gap:0;}
body.gr-site .gr-mail-icon {color:#dfbd78;}

/* Approved one-line desktop composition: logo | 370px search | phone/social | accounts. */
@media (min-width:1201px) {
 body.gr-site .gr-header-row {min-height:77px;padding-block:12px;gap:clamp(13px,1.3vw,19px);flex-wrap:nowrap;justify-content:space-between;}
 body.gr-site .gr-logo {flex:0 0 auto;}
 body.gr-site .gr-logo a {gap:14px;}
 body.gr-site .gr-logo strong {font-size:26px;letter-spacing:.12em;white-space:nowrap;}
 body.gr-site .gr-logo small {font-size:9px;letter-spacing:.2em;white-space:nowrap;}
 body.gr-site .gr-logo-disc {width:44px;height:44px;flex-basis:44px;}
 body.gr-site .gr-search {flex:1 1 370px;max-width:370px;min-width:180px;margin:0;}
 body.gr-site .gr-smart-search {height:38px;min-height:38px;max-height:38px;box-shadow:none;}
 body.gr-site .gr-smart-search > input[type="search"] {height:36px!important;min-height:36px!important;padding:0 12px!important;font-size:12px!important;line-height:1.4!important;}
 body.gr-site .gr-smart-search > button[type="submit"] {position:relative!important;inset:auto!important;width:38px!important;min-width:38px!important;height:36px!important;}
 body.gr-site .gr-smart-search > button .gr-ui-icon {width:17px;height:17px;}
 body.gr-site .gr-header-contacts {flex:0 0 235px;width:235px;min-width:0;text-align:right;}
 body.gr-site .gr-header-contacts .gr-phone {font-size:15px;font-weight:600;line-height:1.22;}
 body.gr-site .gr-header .gr-social {font-size:10.5px;line-height:1.45;margin-top:3px;}
 body.gr-site .gr-header-actions {flex:0 0 auto;gap:13px;margin:0;font-size:11.5px;white-space:nowrap;}
 body.gr-site .gr-header-actions a {gap:5px;}
 body.gr-site .gr-header-actions svg {width:19px;height:19px;}
}
body.gr-site .gr-header .gr-social-header {display:flex;align-items:center;justify-content:flex-end;flex-wrap:nowrap;gap:0;white-space:nowrap;color:#dfbd78;}
body.gr-site .gr-header .gr-social-header > * {flex:0 0 auto;}
body.gr-site .gr-header .gr-social-header > * + *::before {content:'•';margin:0 4px;color:#b89655;}

/* Reference six-link navigation; keep the existing catalog and sale URLs. */
@media (min-width:1201px) {
 body.gr-site .gr-nav-row {min-height:44px;gap:clamp(15px,1.45vw,24px);flex-wrap:nowrap;}
 body.gr-site .gr-nav a.gr-nav-catalog {flex:0 0 225px;width:225px;min-width:225px;justify-content:center;gap:5px;padding-inline:12px;min-height:44px;}
 body.gr-site .gr-nav #gr-menu-panel {display:block;min-width:0;flex:1 1 auto;}
 body.gr-site .gr-nav .gr-menu {gap:clamp(11px,1.2vw,21px);flex-wrap:nowrap;justify-content:flex-start;}
 body.gr-site .gr-nav .gr-menu > li {min-width:0;white-space:nowrap;}
 body.gr-site .gr-nav :is(a,.gr-nav-label) {font-size:10.5px;letter-spacing:.11em;}
 body.gr-site .gr-nav .gr-nav-label {color:#eee8dc;font-weight:600;text-transform:uppercase;}
 body.gr-site .gr-nav a.gr-nav-sale {display:inline-flex;align-items:center;justify-content:center;background:#7a232e;border:1px solid rgba(255,255,255,.18);padding:7px 12px;color:#f7e8cc;white-space:nowrap;flex:0 0 auto;}
 body.gr-site .gr-nav a.gr-nav-sale:hover {background:#8b303a;color:#fff;}
}
/* Tablet: preserve search and menus without squeezing them into the desktop row. */
@media (min-width:901px) and (max-width:1200px) {
 body.gr-site .gr-header-row {flex-wrap:wrap;gap:10px 18px;padding-block:13px;}
 body.gr-site .gr-logo {flex:0 0 auto;}
 body.gr-site .gr-search {flex:1 1 300px;max-width:none;order:2;}
 body.gr-site .gr-header-contacts {flex:0 0 230px;order:3;}
 body.gr-site .gr-header-actions {order:4;margin-left:auto;}
 body.gr-site .gr-header .gr-social-header {justify-content:flex-end;}
 body.gr-site .gr-nav-row {gap:12px;}
 body.gr-site .gr-nav a.gr-nav-catalog {padding-inline:13px;}
 body.gr-site .gr-nav .gr-menu {column-gap:12px;row-gap:7px;}
 body.gr-site .gr-nav a.gr-nav-sale {background:#7a232e;border:1px solid #9c5554;padding:6px 8px;}
}
/* Small screens: do not clip the admin menu, search, or topbar content. */
@media (max-width:900px) {
 body.gr-site .gr-topbar-promises {gap:12px;overflow-x:auto;scrollbar-width:none;}
 body.gr-site .gr-topbar-promises::-webkit-scrollbar {display:none;}
 body.gr-site .gr-top-links {font-size:10px;}
 body.gr-site .gr-search {max-width:100%;}
 body.gr-site .gr-smart-search > input[type="search"] {height:40px!important;min-height:40px!important;font-size:12px!important;}
 body.gr-site .gr-smart-search > button[type="submit"] {height:40px!important;}
 body.gr-site .gr-header .gr-social-header {justify-content:inherit;flex-wrap:wrap;}
 body.gr-site .gr-nav .gr-nav-label {font-size:12px;display:block;color:#eee8dc;padding:10px 6px;text-transform:uppercase;}
}
@media (max-width:580px) {
 body.gr-site .gr-topbar-inner {gap:8px;}
 body.gr-site .gr-topbar-promises {font-size:10px;}
 body.gr-site .gr-top-links {display:none;}
 body.gr-site .gr-header .gr-social-header {font-size:10px;}
}
