/* =========================================================
   O500 TOP HEADER — CLEAN FINAL CSS
   Внешний вид сохранён: premium blue, mobile menu, tooltips
========================================================= */

:root {
  --o500top-header-height: 128px;
  --o500top-blue: #1f5fa8;
  --o500top-blue-dark: #163b7a;
  --o500top-blue-deep: #102e61;
  --o500top-text: #101828;
  --o500top-muted: #7a8495;
  --o500top-line: rgba(17, 24, 39, 0.08);
}

.o500top-header,
.o500top-header * {
  box-sizing: border-box;
}

.o500top-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 99999;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(35, 148, 216, 0.16);
  color: var(--o500top-text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

.o500top-header a {
  color: inherit;
  text-decoration: none;
}

.o500top-spacer {
  height: var(--o500top-header-height);
}

.o500top-line {
  height: 3px;
  background: linear-gradient(90deg, #102e61 0%, #1f5fa8 45%, #5f8fc3 100%);
}

.o500top-wrap {
  width: min(1500px, calc(100% - 36px));
  margin: 0 auto;
}

.o500top-toggle,
.o500top-burger,
.o500top-mobile-actions,
.o500top-address--mobile,
.o500top-phone-mobile {
  display: none;
}

/* =========================================================
   MAIN ROW
========================================================= */

.o500top-main {
  min-height: 68px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.o500top-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 205px;
}

.o500top-logo {
  width: 48px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 16px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.9), transparent 36%),
    linear-gradient(135deg, #102e61 0%, #1f5fa8 55%, #184f91 100%);
  box-shadow:
    0 14px 30px rgba(22, 59, 122, 0.22),
    inset 0 1px 0 rgba(255,255,255,0.18);
}

.o500top-logo svg {
  width: 34px;
  height: 34px;
  display: block;
  color: #ffffff;
}

.o500top-name {
  font-size: 27px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.055em;
}

.o500top-name span {
  color: var(--o500top-blue);
}

.o500top-right {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
}

.o500top-phone {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 3px;
  white-space: nowrap;
  font-size: 15px;
  line-height: 1.15;
  font-weight: 600;
}

.o500top-phone span {
  color: var(--o500top-muted);
  font-size: 12px;
  font-weight: 400;
}

/* =========================================================
   ADDRESS
========================================================= */

.o500top-address {
  justify-self: center;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  max-width: 420px;
  color: var(--o500top-text);
  text-align: center;
  text-decoration: none;
  line-height: 1.15;
}

.o500top-address:hover,
.o500top-address:focus {
  color: var(--o500top-blue-dark);
  outline: none;
}

.o500top-address__metro {
  color: var(--o500top-blue);
  font-size: 13px;
  line-height: 1.15;
  font-weight: 650;
}

.o500top-address__street {
  color: #5f6f86;
  font-size: 12px;
  line-height: 1.15;
  font-weight: 400;
}

@media (min-width: 1021px) {
  .o500top-address {
    justify-self: end;
    align-items: flex-end;
    text-align: right;
    margin-right: 40px;
  }
}

/* =========================================================
   NAVIGATION
========================================================= */

.o500top-navrow {
  min-height: 57px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(17, 24, 39, 0.06);
}

@media (min-width: 1021px) {
  .o500top-navrow {
    overflow: visible;
  }
}

.o500top-nav {
  justify-self: end;
  min-width: 0;
  margin-right: 60px;
}

.o500top-menu {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  margin: 0;
  padding: 0;
}

.o500top-menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--o500top-text);
  font-size: 15px;
  line-height: 1.2;
  font-weight: 500;
  white-space: nowrap;
  transition: color .2s ease;
}

.o500top-menu a::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 5px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--o500top-blue);
  opacity: 0;
  transform: translateX(-50%) scale(.4);
  transition: opacity .2s ease, transform .2s ease;
}

.o500top-menu a:hover,
.o500top-menu a:focus {
  color: var(--o500top-blue-dark);
  outline: none;
}

.o500top-menu a:hover::before,
.o500top-menu a:focus::before {
  opacity: 1;
  transform: translateX(-50%) scale(1);
}

.o500top-menu .is-sale {
  color: #000000;
  font-weight: 500;
}

/* =========================================================
   ICONS / SEARCH / CART
========================================================= */

.o500top-icons {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  overflow: visible;
}

.o500top-search-link,
.o500top-modern-icon {
  position: relative;
  overflow: visible;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(17, 24, 39, 0.07);
  border-radius: 14px;
  box-shadow: 0 8px 22px rgba(17, 24, 39, 0.055);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background-color .2s ease;
}

.o500top-modern-icon {
  background: rgba(255, 255, 255, 0.86);
  padding: 0;
}

.o500top-search-link {
  color: var(--o500top-blue);
  background: rgba(31, 95, 168, 0.08);
  border-color: rgba(31, 95, 168, 0.18);
}

.o500top-search-link:hover,
.o500top-search-link:focus,
.o500top-modern-icon:hover,
.o500top-modern-icon:focus {
  transform: translateY(-2px);
  background: #ffffff;
  border-color: rgba(35, 148, 216, 0.24);
  box-shadow: 0 14px 30px rgba(17, 24, 39, 0.11);
  outline: none;
}

.o500top-search-link:hover,
.o500top-search-link:focus {
  color: var(--o500top-blue-dark);
  border-color: rgba(31, 95, 168, 0.32);
}

.o500top-modern-icon img {
  width: 20px;
  height: 20px;
  display: block;
  object-fit: contain;
}

.o500top-modern-icon--whatsapp {
  background: rgba(37, 211, 102, 0.08);
}

.o500top-modern-icon--telegram {
  background: rgba(34, 158, 217, 0.08);
}

.o500top-modern-icon--phone {
  background: rgba(22, 163, 74, 0.08);
}

.o500top-modern-icon--mail {
  background: rgba(234, 67, 53, 0.07);
}

.o500top-modern-icon--account {
  background: rgba(37, 99, 235, 0.08);
}

.o500top-cart-form {
  margin: 0;
  padding: 0;
  display: inline-flex;
}

.o500top-modern-icon--cart {
  color: var(--o500top-blue);
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.95), transparent 38%),
    linear-gradient(135deg, rgba(31,95,168,0.12), rgba(22,59,122,0.08));
  border-color: rgba(31, 95, 168, 0.20);
}

.o500top-modern-icon--cart:hover,
.o500top-modern-icon--cart:focus {
  color: var(--o500top-blue-dark);
  background: #ffffff;
  border-color: rgba(31, 95, 168, 0.34);
}

.o500top-cart-svg {
  display: block;
}

button.o500top-modern-icon {
  font: inherit;
  appearance: none;
}

/* =========================================================
   TOOLTIP
========================================================= */

.o500top-search-link::after,
.o500top-modern-icon::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  z-index: 50;
  padding: 6px 10px;
  border-radius: 10px;
  background: #101828;
  color: #ffffff;
  font-size: 12px;
  line-height: 1;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.18);
  transform: translateX(-50%) translateY(6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.o500top-search-link::before,
.o500top-modern-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 5px);
  z-index: 49;
  width: 8px;
  height: 8px;
  background: #101828;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(-50%) translateY(6px) rotate(45deg);
  transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}

.o500top-search-link:hover::after,
.o500top-search-link:hover::before,
.o500top-search-link:focus-visible::after,
.o500top-search-link:focus-visible::before,
.o500top-modern-icon:hover::after,
.o500top-modern-icon:hover::before,
.o500top-modern-icon:focus-visible::after,
.o500top-modern-icon:focus-visible::before {
  opacity: 1;
  visibility: visible;
}

.o500top-search-link:hover::after,
.o500top-search-link:focus-visible::after,
.o500top-modern-icon:hover::after,
.o500top-modern-icon:focus-visible::after {
  transform: translateX(-50%) translateY(0);
}

.o500top-search-link:hover::before,
.o500top-search-link:focus-visible::before,
.o500top-modern-icon:hover::before,
.o500top-modern-icon:focus-visible::before {
  transform: translateX(-50%) translateY(0) rotate(45deg);
}

/* =========================================================
   CIRCLE CTA
========================================================= */

.o500top-circle {
  position: relative;
  width: 94px;
  height: 94px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  isolation: isolate;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 34%),
    linear-gradient(135deg, #1f5fa8 0%, #184f91 55%, #102e61 100%);
  color: #ffffff;
  box-shadow:
    0 18px 42px rgba(22, 59, 122, 0.24),
    inset 0 0 0 1px rgba(255,255,255,0.18) !important;
  text-align: center;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.18;
  letter-spacing: .01em;
  text-shadow: 0 1px 1px rgba(0,0,0,0.08);
  animation: o500CalmGlow 4.8s ease-in-out infinite;
  transition: transform .2s ease, box-shadow .2s ease;
}

.o500top-circle span {
  position: relative;
  z-index: 3;
}

.o500top-circle::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: 50%;
  background: linear-gradient(
    120deg,
    transparent 0%,
    transparent 36%,
    rgba(255,255,255,0.18) 44%,
    rgba(255,255,255,0.36) 50%,
    rgba(255,255,255,0.12) 56%,
    transparent 66%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: o500Shine 6.5s ease-in-out infinite;
  pointer-events: none;
  clip-path: circle(50% at 50% 50%);
}

.o500top-circle--online::before {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: 1;
  border: 2px solid rgba(31, 95, 168, 0.42);
  border-radius: 50%;
  animation: o500SoftPulseRing 3.6s ease-out infinite;
  pointer-events: none;
}

.o500top-circle--diagnostic {
  width: 104px;
  height: 104px;
  background:
    radial-gradient(circle at 30% 25%, rgba(255,255,255,0.22), transparent 34%),
    linear-gradient(135deg, #2a6fb8 0%, #1f5fa8 50%, #163b7a 100%);
  font-size: 10.5px;
}

.o500top-circle:hover,
.o500top-circle:focus {
  transform: translateY(-3px) scale(1.025);
  box-shadow:
    0 24px 54px rgba(35, 148, 216, 0.30),
    inset 0 0 0 1px rgba(255,255,255,0.22);
  outline: none;
}

@keyframes o500CalmGlow {
  0%, 100% {
    box-shadow:
      0 18px 42px rgba(35, 148, 216, 0.22),
      inset 0 0 0 1px rgba(255,255,255,0.18);
  }

  50% {
    box-shadow:
      0 22px 48px rgba(35, 148, 216, 0.30),
      0 0 22px rgba(35, 148, 216, 0.16),
      inset 0 0 0 1px rgba(255,255,255,0.22);
  }
}

@keyframes o500SoftPulseRing {
  0% {
    transform: scale(1);
    opacity: 0.42;
  }

  70% {
    transform: scale(1.055);
    opacity: 0.12;
  }

  100% {
    transform: scale(1.075);
    opacity: 0;
  }
}

@keyframes o500Shine {
  0% {
    transform: translateX(-120%);
    opacity: 0;
  }

  8% {
    opacity: 1;
  }

  24% {
    transform: translateX(120%);
    opacity: .95;
  }

  25%, 100% {
    transform: translateX(120%);
    opacity: 0;
  }
}

/* =========================================================
   TABLET / MOBILE MENU
========================================================= */

@media (max-width: 1020px) {
  :root {
    --o500top-header-height: 72px;
  }

  .o500top-floating,
  .o500top-phone,
  .o500top-address--desktop {
    display: none;
  }

  .o500top-line {
    height: 2px;
  }

  .o500top-wrap {
    width: min(100% - 22px, 1500px);
  }

  .o500top-main {
    min-height: 70px;
    gap: 12px;
  }

  .o500top-brand {
    min-width: 0;
    gap: 10px;
  }

  .o500top-logo {
    width: 43px;
    height: 39px;
    border-radius: 14px;
  }

  .o500top-logo svg {
    width: 30px;
    height: 30px;
  }

  .o500top-name {
    font-size: 24px;
    letter-spacing: -0.05em;
  }

  .o500top-burger {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(17, 24, 39, 0.10);
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(17, 24, 39, 0.06);
    cursor: pointer;
  }

  .o500top-burger span,
  .o500top-burger span::before,
  .o500top-burger span::after {
    display: block;
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: var(--o500top-text);
    transition: transform .2s ease, opacity .2s ease;
  }

  .o500top-burger span {
    position: relative;
  }

  .o500top-burger span::before,
  .o500top-burger span::after {
    content: "";
    position: absolute;
    left: 0;
  }

  .o500top-burger span::before {
    top: -6px;
  }

  .o500top-burger span::after {
    top: 6px;
  }

  .o500top-toggle:checked ~ .o500top-main .o500top-burger span {
    background: transparent;
  }

  .o500top-toggle:checked ~ .o500top-main .o500top-burger span::before {
    transform: translateY(6px) rotate(45deg);
  }

  .o500top-toggle:checked ~ .o500top-main .o500top-burger span::after {
    transform: translateY(-6px) rotate(-45deg);
  }

  .o500top-navrow {
    position: fixed;
    top: var(--o500top-header-height);
    left: 0;
    right: 0;
    z-index: 99990;
    display: none;
    grid-template-columns: 1fr;
    gap: 14px;
    width: 100%;
    max-height: calc(100vh - var(--o500top-header-height));
    padding: 16px 16px 20px;
    overflow-y: auto;
    overflow-x: hidden;
    background:
      radial-gradient(circle at 15% 0%, rgba(35, 148, 216, 0.10), transparent 28%),
      linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    border-top: 1px solid rgba(35, 148, 216, 0.12);
    border-bottom: 1px solid rgba(35, 148, 216, 0.14);
    box-shadow: 0 24px 55px rgba(17, 24, 39, 0.12);
  }

  .o500top-toggle:checked ~ .o500top-navrow {
    display: grid;
  }

  .o500top-mobile-actions {
    order: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    padding: 2px 0 4px;
  }

  .o500top-mobile-actions .o500top-circle {
    width: 82px;
    height: 82px;
    color: #ffffff !important;
    font-size: 10.8px;
    line-height: 1.15;
    animation-duration: 5.6s;
  }

  .o500top-mobile-actions .o500top-circle span {
    color: #ffffff !important;
  }

  .o500top-mobile-actions .o500top-circle--diagnostic {
    width: 92px;
    height: 92px;
    font-size: 9.3px;
  }

  .o500top-address--mobile,
  .o500top-phone-mobile {
    width: min(100%, 420px);
    max-width: 420px;
    margin: 0 auto;
    padding: 11px 14px;
    border: 1px solid rgba(31, 95, 168, 0.16);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.88);
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.045);
    text-align: center;
    line-height: 1.15;
  }

  .o500top-address--mobile {
    order: 2;
    display: inline-flex;
    justify-self: center;
    align-items: center;
  }

  .o500top-address--mobile .o500top-address__metro {
    color: var(--o500top-blue);
    font-size: 12.5px;
    font-weight: 600;
  }

  .o500top-address--mobile .o500top-address__street {
    font-size: 11.5px;
  }

  .o500top-phone-mobile {
    order: 3;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }

  .o500top-phone-mobile__number {
    color: #101828;
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -0.01em;
  }

  .o500top-phone-mobile__time {
    color: #667085;
    font-size: 11.5px;
    font-weight: 400;
  }

  .o500top-nav {
    order: 4;
    justify-self: stretch;
    width: min(100%, 560px);
    margin: 0 auto;
  }

  .o500top-menu {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
    width: 100%;
  }

  .o500top-menu li {
    width: 100%;
  }

  .o500top-menu a {
    width: 100%;
    min-height: 45px;
    justify-content: center;
    padding: 11px 12px;
    border: 1px solid var(--o500top-line);
    border-radius: 15px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(17, 24, 39, 0.045);
    text-align: center;
    white-space: normal;
    font-size: 14px;
  }

  .o500top-menu a::before {
    display: none;
  }

  .o500top-menu .is-sale {
    background: rgba(31, 95, 168, 0.08);
    border-color: rgba(31, 95, 168, 0.16);
  }

  .o500top-search-link {
    order: 5;
  }

  .o500top-icons {
    order: 6;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .o500top-search-link,
  .o500top-modern-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    min-height: 40px;
    border-radius: 15px;
  }

  .o500top-modern-icon img {
    width: 21px;
    height: 21px;
  }
}

/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 520px) {
  :root {
    --o500top-header-height: 86px;
  }

  .o500top-main {
    min-height: 84px;
  }

  .o500top-address:not(.o500top-address--mobile) {
    max-width: 150px;
    gap: 1px;
  }

  .o500top-address:not(.o500top-address--mobile) .o500top-address__metro,
  .o500top-address:not(.o500top-address--mobile) .o500top-address__street {
    font-size: 9.5px;
    line-height: 1.15;
    font-weight: 400;
  }

  .o500top-logo {
    width: 39px;
    height: 36px;
    border-radius: 13px;
  }

  .o500top-logo svg {
    width: 27px;
    height: 27px;
  }

  .o500top-name {
    font-size: 22px;
  }

  .o500top-burger {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }

  .o500top-navrow {
    padding: 14px 12px 18px;
  }

  .o500top-mobile-actions {
    gap: 12px;
  }

  .o500top-mobile-actions .o500top-circle {
    width: 76px;
    height: 76px;
    font-size: 10px;
  }

  .o500top-mobile-actions .o500top-circle--diagnostic {
    width: 84px;
    height: 84px;
    font-size: 8.7px;
  }

  .o500top-menu {
    grid-template-columns: 1fr;
  }

  .o500top-menu a {
    min-height: 43px;
    font-size: 14px;
  }
}

@media (max-width: 360px) {
  :root {
    --o500top-header-height: 92px;
  }

  .o500top-main {
    min-height: 90px;
  }

  .o500top-address:not(.o500top-address--mobile) {
    max-width: 130px;
  }

  .o500top-address:not(.o500top-address--mobile) .o500top-address__metro,
  .o500top-address:not(.o500top-address--mobile) .o500top-address__street {
    font-size: 9px;
  }

  .o500top-name {
    font-size: 20px;
  }

  .o500top-brand {
    gap: 8px;
  }

  .o500top-mobile-actions {
    flex-direction: column;
    gap: 10px;
  }

  .o500top-mobile-actions .o500top-circle,
  .o500top-mobile-actions .o500top-circle--diagnostic {
    width: 82px;
    height: 82px;
  }
}

/* =========================================================
   MOBILE TOOLTIP OFF
========================================================= */

@media (max-width: 720px) {
  .o500top-search-link::after,
  .o500top-search-link::before,
  .o500top-modern-icon::after,
  .o500top-modern-icon::before {
    display: none;
  }
}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {
  .o500top-menu a,
  .o500top-menu a::before,
  .o500top-modern-icon,
  .o500top-burger span,
  .o500top-burger span::before,
  .o500top-burger span::after,
  .o500top-circle,
  .o500top-circle::before,
  .o500top-circle::after {
    animation: none;
    transition: none;
  }
}

/* =========================================================
   O500 TOP HEADER — POSITION FIX AFTER CLEANUP
   Возвращает точную раскладку под текущий HTML
========================================================= */

.o500top-header {
  top: 0;
  left: 0;
  right: 0;
  bottom: auto;
}

@media (min-width: 1021px) {
  .o500top-main {
    grid-template-columns: auto 1fr auto;
  }

  .o500top-address--desktop {
    display: inline-flex;
    justify-self: end;
    align-items: flex-end;
    text-align: right;
    margin-right: 40px;
  }

  .o500top-navrow {
    grid-template-columns: minmax(0, 1fr) auto auto;
    overflow: visible;
  }

  .o500top-nav {
    grid-column: 1;
    justify-self: end;
    margin-right: 60px;
  }

  .o500top-search-link {
    grid-column: 2;
    justify-self: end;
  }

  .o500top-icons {
    grid-column: 3;
    justify-self: end;
  }

  .o500top-mobile-actions,
  .o500top-address--mobile,
  .o500top-phone-mobile {
    display: none !important;
  }
}

@media (max-width: 1020px) {
  .o500top-address--desktop,
  .o500top-phone {
    display: none !important;
  }

  .o500top-navrow {
    grid-template-columns: 1fr;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .o500top-mobile-actions {
    order: 1;
  }

  .o500top-address--mobile {
    order: 2;
  }

  .o500top-phone-mobile {
    order: 3;
  }

  .o500top-nav {
    order: 4;
  }

  .o500top-search-link {
    order: 5;
    justify-self: center;
  }

  .o500top-icons {
    order: 6;
  }
}
/* =========================================================
   MOBILE: ICONS ABOVE MENU
   Иконки соцсетей / корзины видны сразу
========================================================= */

@media (max-width: 1020px) {
  .o500top-navrow {
    align-content: start;
    gap: 10px;
  }

  .o500top-mobile-actions {
    order: 1;
  }

  .o500top-icons {
    order: 2;
    justify-self: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 8px;
    max-width: calc(100vw - 24px);
    overflow-x: auto;
    padding: 2px 0 6px;
  }

  .o500top-search-link {
    order: 3;
    justify-self: center;
  }

  .o500top-address--mobile {
    order: 4;
  }

  .o500top-phone-mobile {
    order: 5;
  }

  .o500top-nav {
    order: 6;
  }
}
@media (max-width: 1020px) {
  .o500top-icons .o500top-search-link {
    order: -20;
  }

  .o500top-icons .o500top-modern-icon--whatsapp {
    order: -10;
  }
}

/* Корзина — тёмно-изумрудный цвет */
.o500top-header .o500top-modern-icon--cart {
  color: #006B5F;
}

.o500top-header .o500top-modern-icon--cart:hover,
.o500top-header .o500top-modern-icon--cart:focus {
  color: #004D40;
}


.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}