/* The mini-cart belongs to the store; this does not clear its data or affect checkout. */
html:not(:has(> head link[rel="canonical"][href^="https://novame.ru/shop/"])) > body .nvm-cartbar {
  display: none !important;
}
@media (max-width: 1100px) {
  body:not(.nvm-page--home)[data-nvm-atlas-v2]:has(#nvm-main [data-nvm-detail-hero]) #nvm-site-header .nvm-menu-trigger {
    width: auto; min-width: 44px; padding: 8px 13px; gap: 8px;
  }
  body:not(.nvm-page--home)[data-nvm-atlas-v2]:has(#nvm-main [data-nvm-detail-hero]) #nvm-site-header .nvm-menu-trigger[aria-expanded="false"] .nvm-menu-trigger__label {
    display: inline;
  }
  body:not(.nvm-page--home)[data-nvm-atlas-v2]:has(#nvm-main [data-nvm-detail-hero]) #nvm-site-header .nvm-menu-trigger[aria-expanded="false"] .nvm-menu-trigger__bars {
    display: block; flex: 0 0 22px; inline-size: 22px; block-size: 22px;
  }
  body:not(.nvm-page--home)[data-nvm-atlas-v2]:has(#nvm-main [data-nvm-detail-hero]) #nvm-site-header .nvm-menu-trigger[aria-expanded="true"] .nvm-menu-trigger__label {
    display: none;
  }
}
@media (max-width: 600px) {
  html:has(> head link[rel="canonical"][href^="https://novame.ru/shop/"]) body .nvm-cartbar.is-visible:has(> span > .nvm-cartbar-n) {
    box-sizing: border-box; inset-inline: 16px; margin-inline: auto; width: max-content;
    max-width: calc(100% - 32px); gap: 14px; padding: 7px 8px 7px 13px;
    background: #292a27; color: #f8f3eb; border-radius: 17px;
  }
  html:has(> head link[rel="canonical"][href^="https://novame.ru/shop/"]) body .nvm-cartbar.is-visible > span:has(> .nvm-cartbar-n) {
    display: flex; flex-direction: column; gap: 2px; min-width: 0; font-size: 12px;
  }
  html:has(> head link[rel="canonical"][href^="https://novame.ru/shop/"]) body .nvm-cartbar.is-visible > span > .nvm-cartbar-n {
    display: block; white-space: nowrap; padding: 0; border-radius: 0;
    background: none; color: inherit; text-align: start; font-size: 14px; font-variant-numeric: tabular-nums;
  }
  html:has(> head link[rel="canonical"][href^="https://novame.ru/shop/"]) body .nvm-cartbar.is-visible:has(> span > .nvm-cartbar-n) > a {
    flex: none; padding-inline: 13px; min-height: 44px;
    border-radius: 12px; font-size: 14px; white-space: nowrap;
  }
}

/* Compact header: match the approved 5Г alignment through the legacy Atlas cutoff without replacing Atlas positioning or the native menu. */
@media (max-width: 700px) {
  body:not(.nvm-page--home)[data-nvm-atlas-v2]:has(#nvm-main [data-nvm-detail-hero]) #nvm-site-header {
    background-color: #292a27;
  }
  body:not(.nvm-page--home)[data-nvm-atlas-v2]:has(#nvm-main [data-nvm-detail-hero]) #nvm-site-header .nvm-header-main__row {
    height: auto;
    min-height: 71px;
    padding-inline: 0;
    gap: 12px;
    transform: none;
  }
  body:not(.nvm-page--home)[data-nvm-atlas-v2]:has(#nvm-main [data-nvm-detail-hero]) #nvm-site-header .nvm-header-logo__image {
    width: 128px;
    height: auto;
    filter: none;
  }
}
@media (max-width: 360px) {
  body:not(.nvm-page--home)[data-nvm-atlas-v2]:has(#nvm-main [data-nvm-detail-hero]) #nvm-site-header .nvm-header-logo__image {
    width: 104px;
  }
}
