/* ROBIX HEADER — BALANCED ORIGINAL STYLE */

@media (min-width:901px) {
  body > header.rx-shared-header {
    --rx-header-logo-width:200px!important;
    --rx-header-logo-height:53px!important;
  }

  body > header.rx-shared-header > .container.nav {
    display:grid!important;
    grid-template-columns:minmax(170px,1fr) auto minmax(320px,1fr)!important;
    align-items:center!important;
    width:min(1280px,calc(100% - 48px))!important;
    height:86px!important;
    min-height:86px!important;
    gap:16px!important;
    padding:0!important;
    margin:0 auto!important;
  }

  body > header.rx-shared-header .logo {
    display:inline-flex!important;
    justify-self:start!important;
    align-items:center!important;
    margin:0!important;
  }

  body > header.rx-shared-header nav.nav-links {
    display:flex!important;
    visibility:visible!important;
    opacity:1!important;
    position:static!important;
    justify-self:center!important;
    align-items:center!important;
    flex-wrap:nowrap!important;
    gap:25px!important;
    margin:0!important;
    padding:0!important;
    white-space:nowrap!important;
    overflow:visible!important;
  }

  body > header.rx-shared-header nav.nav-links a {
    display:inline-block!important;
    font-size:14px!important;
    font-weight:750!important;
    color:#263047!important;
    text-decoration:none!important;
  }

  body > header.rx-shared-header .nav-actions {
    display:flex!important;
    position:static!important;
    justify-self:end!important;
    align-items:center!important;
    justify-content:flex-end!important;
    flex-wrap:nowrap!important;
    gap:9px!important;
    padding:0!important;
    margin:0!important;
  }

  body > header.rx-shared-header .nav-actions button.rx-search-trigger,
  body > header.rx-shared-header .nav-actions button.rx-account-button,
  body > header.rx-shared-header .nav-actions button.cart-btn {
    display:inline-flex!important;
    position:static!important;
    align-items:center!important;
    justify-content:center!important;
    width:auto!important;
    min-width:0!important;
    height:46px!important;
    gap:8px!important;
    padding:0 13px!important;
    border:1px solid #e4e9f2!important;
    border-radius:13px!important;
    background:#fff!important;
  }

  body > header.rx-shared-header .rx-search-trigger::after {
    content:"Пошук";
    color:#263047;
    font-size:13px;
    font-weight:750;
  }

  body > header.rx-shared-header .cart-label,
  body > header.rx-shared-header .rx-account-label {
    display:inline!important;
    visibility:visible!important;
    color:#263047!important;
    font-size:13px!important;
    font-weight:750!important;
  }

  body > header.rx-shared-header .badge {
    position:static!important;
    min-width:23px!important;
    width:23px!important;
    height:23px!important;
    margin:0!important;
  }
}

@media (min-width:901px) and (max-width:1150px) {
  body > header.rx-shared-header {
    --rx-header-logo-width:175px!important;
    --rx-header-logo-height:47px!important;
  }

  body > header.rx-shared-header > .container.nav {
    grid-template-columns:minmax(155px,1fr) auto minmax(290px,1fr)!important;
    gap:9px!important;
  }

  body > header.rx-shared-header nav.nav-links {
    gap:13px!important;
  }

  body > header.rx-shared-header nav.nav-links a {
    font-size:12px!important;
  }

  body > header.rx-shared-header .nav-actions {
    gap:5px!important;
  }

  body > header.rx-shared-header .nav-actions button {
    padding-left:8px!important;
    padding-right:8px!important;
  }
}

@media (max-width:900px) {
  body > header.rx-shared-header > .container.nav {
    display:flex!important;
    flex-direction:row!important;
    align-items:center!important;
    justify-content:space-between!important;
    width:calc(100% - 32px)!important;
    height:66px!important;
    min-height:66px!important;
    padding:0!important;
    gap:8px!important;
  }

  body > header.rx-shared-header nav.nav-links {
    display:none!important;
  }

  body > header.rx-shared-header .nav-actions {
    margin-left:auto!important;
  }

  body > header.rx-shared-header .cart-label,
  body > header.rx-shared-header .rx-account-label {
    display:none!important;
  }

  body > header.rx-shared-header .rx-search-trigger::after {
    content:none!important;
  }
}
