/* Golden Records 1.3.35 — MOBILE HEADER ONLY.
   This stylesheet is loaded last. No hero, catalog, product or desktop rules.
   Existing search and nav JavaScript are deliberately reused unchanged. */
@media (max-width: 760px) {
  body.gr-site .gr-header .gr-header-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto;
    grid-template-areas:
      "brand actions"
      "search search"
      "contacts contacts";
    column-gap: 10px;
    row-gap: 10px;
    align-items: center;
    width: 100%;
    min-height: 0;
    padding-block: 12px 11px;
    flex-wrap: nowrap;
  }

  body.gr-site .gr-header .gr-logo {
    grid-area: brand;
    display: block;
    width: auto;
    min-width: 0;
    margin: 0;
    flex: none;
    order: initial;
  }
  body.gr-site .gr-header .gr-logo a,
  body.gr-site .gr-header .gr-logo .custom-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    min-width: 0;
  }
  body.gr-site .gr-header .gr-logo a > span:last-child { min-width: 0; }
  body.gr-site .gr-header .gr-logo strong {
    display: block;
    font-size: clamp(14px, 4.1vw, 20px);
    letter-spacing: .055em;
    line-height: 1.1;
    white-space: nowrap;
  }
  body.gr-site .gr-header .gr-logo small {
    display: block;
    font-size: clamp(6.7px, 1.8vw, 9px);
    line-height: 1.3;
    letter-spacing: .065em;
    white-space: nowrap;
  }
  body.gr-site .gr-header .gr-logo-disc {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
  }
  body.gr-site .gr-header .gr-logo img.custom-logo {
    display: block;
    max-width: min(100%, 210px);
    max-height: 46px;
    width: auto;
    height: auto;
    object-fit: contain;
  }

  body.gr-site .gr-header .gr-header-actions {
    grid-area: actions;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: none;
    order: initial;
    gap: 6px;
    margin: 0;
    max-width: none;
    flex-wrap: nowrap;
    white-space: nowrap;
  }
  body.gr-site .gr-header .gr-header-actions a {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    min-width: 32px;
    height: 38px;
    min-height: 38px;
    padding: 0;
    gap: 0;
  }
  body.gr-site .gr-header .gr-header-actions a svg {
    display: block;
    width: 21px;
    height: 21px;
  }
  body.gr-site .gr-header .gr-header-actions .gr-action-label { display: none; }
  body.gr-site .gr-header .gr-header-actions a b {
    position: absolute;
    top: 1px;
    right: -5px;
    min-width: 13px;
    padding: 0 3px;
    line-height: 14px;
    font-size: 9px;
    border-radius: 1px;
  }

  body.gr-site .gr-header .gr-search {
    grid-area: search;
    display: block;
    width: 100%;
    min-width: 0;
    max-width: none;
    margin: 0;
    order: initial;
    flex: none;
  }
  body.gr-site .gr-header .gr-smart-search { width: 100%; }
  body.gr-site .gr-header .gr-smart-search > input[type="search"] {
    height: 42px !important;
    min-height: 42px !important;
    padding-left: 13px !important;
    font-size: 12px !important;
  }
  body.gr-site .gr-header .gr-smart-search > button[type="submit"] {
    height: 42px !important;
    min-height: 42px !important;
  }

  body.gr-site .gr-header .gr-header-contacts {
    grid-area: contacts;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: none;
    flex-wrap: nowrap;
    width: 100%;
    min-width: 0;
    margin: 0;
    order: initial;
    gap: 8px;
    text-align: left;
  }
  body.gr-site .gr-header .gr-header-contacts .gr-phone {
    font-size: clamp(12px, 3.2vw, 14px);
    font-weight: 600;
    white-space: nowrap;
    line-height: 1.2;
  }
  body.gr-site .gr-header .gr-social-header {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: 0;
    margin: 0;
    font-size: clamp(9px, 2.5vw, 11px);
    line-height: 1.4;
    white-space: nowrap;
  }
  body.gr-site .gr-header .gr-social-header > span:last-child { display: none; }
  body.gr-site .gr-header .gr-social-header > * + *::before { margin: 0 4px; }

  body.gr-site .gr-nav .gr-nav-row {
    display: grid;
    grid-template-columns: minmax(0,1fr) auto auto;
    align-items: stretch;
    column-gap: 6px;
    row-gap: 0;
    min-height: 46px;
    flex-wrap: nowrap;
  }
  body.gr-site .gr-nav a.gr-nav-catalog {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-width: 0;
    width: auto;
    min-height: 46px;
    padding: 0 8px;
    white-space: nowrap;
    font-size: 10px;
    letter-spacing: .055em;
    line-height: 1.15;
    flex: none;
  }
  body.gr-site .gr-nav .gr-nav-catalog-total { font-size: 9px; white-space: nowrap; }
  body.gr-site .gr-nav .gr-menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: center;
    min-width: 60px;
    min-height: 40px;
    height: 40px;
    padding: 6px 9px;
    margin: 3px 0;
    background: transparent;
    color: #dfbd78;
    border: 1px solid rgba(184,150,85,.55);
    border-radius: 0;
    font-size: 12px;
    line-height: 1;
  }
  body.gr-site .gr-nav .gr-nav-sale {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
    width: auto;
    min-width: 0;
    min-height: 40px;
    max-width: none;
    margin: 3px 0;
    padding: 0 9px;
    background: #7a232e;
    border: 1px solid #a05a5d;
    color: #f7e8cc;
    white-space: nowrap;
    text-align: center;
    font-size: 10px;
    letter-spacing: .045em;
    line-height: 1;
  }
  body.gr-site .gr-nav .gr-nav-sale-desktop { display: none; }
  body.gr-site .gr-nav .gr-nav-sale-mobile { display: inline; }
  body.gr-site .gr-nav #gr-menu-panel {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: 100%;
    margin: 0;
  }
}
@media (max-width: 380px) {
  body.gr-site .gr-header .gr-header-row { column-gap: 5px; row-gap: 8px; }
  body.gr-site .gr-header .gr-logo a { gap: 6px; }
  body.gr-site .gr-header .gr-logo-disc { width: 29px; height: 29px; flex-basis: 29px; }
  body.gr-site .gr-header .gr-logo strong { font-size: 12px; letter-spacing: .04em; }
  body.gr-site .gr-header .gr-logo small { font-size: 6.2px; letter-spacing: .025em; }
  body.gr-site .gr-header .gr-header-actions { gap: 3px; }
  body.gr-site .gr-header .gr-header-actions a { width: 29px; min-width: 29px; }
  body.gr-site .gr-header .gr-header-actions a svg { width: 19px; height: 19px; }
  body.gr-site .gr-header .gr-social-header { font-size: 9px; }
  body.gr-site .gr-nav .gr-nav-catalog-total { display: none; }
  body.gr-site .gr-nav a.gr-nav-catalog { font-size: 9px; padding-inline: 5px; }
  body.gr-site .gr-nav .gr-menu-toggle { min-width: 54px; padding-inline: 7px; }
  body.gr-site .gr-nav .gr-nav-sale { padding-inline: 6px; font-size: 9px; }
}
@media (min-width: 761px) {
  body.gr-site .gr-nav .gr-nav-sale-mobile { display: none; }
}
