/* Верхняя плашка. Шапка остаётся #site-header (z-index: 50), cookie-диалог — 80. */
:root {
  --topbar-offset: 34px;
}

#site-header {
  top: var(--topbar-offset, 34px);
}

.site-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(7, 7, 9, 0.94);
  color: #d4d4d8;
  border-bottom: 1px solid rgba(229, 184, 105, 0.38);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  backdrop-filter: blur(16px) saturate(1.2);
  font-family: var(--font-sans, Inter, ui-sans-serif, system-ui, sans-serif);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.site-topbar-inner {
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  min-height: 34px;
  padding: 6px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-topbar-meta,
.site-topbar-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  min-width: 0;
}

.site-topbar-actions {
  flex-shrink: 0;
  gap: 14px;
}

.site-topbar a {
  color: inherit;
  text-decoration: none;
}

.site-topbar a:hover,
.site-topbar a:focus-visible {
  color: var(--color-amber, #e5b869);
}

.site-topbar a:focus-visible {
  outline: 1px solid var(--color-amber, #e5b869);
  outline-offset: 3px;
  border-radius: 4px;
}

.site-topbar-address {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-topbar-hours {
  flex-shrink: 0;
  color: #f5f5f7;
  white-space: nowrap;
}

.site-topbar-hours::before {
  content: "·";
  margin-right: 10px;
  color: rgba(229, 184, 105, 0.85);
}

.site-topbar-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-amber, #e5b869);
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-topbar-phone-label {
  color: #a1a1aa;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 10px;
}

.site-topbar-vk {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.site-topbar-vk svg {
  display: block;
  width: 14px;
  height: 14px;
}

@media (min-width: 768px) {
  .site-topbar-inner {
    padding-inline: 32px;
  }
}

@media (max-width: 719px) {
  .site-topbar {
    font-size: 11px;
  }

  .site-topbar-address,
  .site-topbar-phone-label,
  .site-topbar-vk span {
    display: none;
  }

  .site-topbar-hours::before {
    content: none;
    margin: 0;
  }

  .site-topbar-inner {
    gap: 8px;
    padding-inline: 12px;
  }

  .site-topbar-actions {
    gap: 10px;
  }
}
