:root {
  --zsgp-red: #e30014;
  --zsgp-red-dark: #bd0011;
  --zsgp-black: #08090b;
  --zsgp-graphite: #15171b;
  --zsgp-ink: #1d2026;
  --zsgp-muted: #6f7580;
  --zsgp-line: #e6e8ec;
  --zsgp-surface: #ffffff;
  --zsgp-soft: #f5f6f7;
  --zsgp-focus: #1677ff;
  --zsgp-shell: 1320px;
  --zsgp-shadow: 0 14px 40px rgba(6, 8, 12, 0.12);
}

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

.zsgp-shell {
  width: min(calc(100% - 40px), var(--zsgp-shell));
  margin-inline: auto;
}

.zsgp-header,
.zsgp-header *,
.zsgp-header *::before,
.zsgp-header *::after {
  box-sizing: border-box;
}

.zsgp-header {
  position: relative;
  z-index: 700;
  width: 100%;
  color: var(--zsgp-ink);
  background: var(--zsgp-surface);
  font-family: inherit;
}

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

.zsgp-header svg {
  display: block;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.zsgp-header__utility {
  min-height: 34px;
  color: rgba(255, 255, 255, 0.78);
  background: var(--zsgp-black);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.zsgp-header__utility-inner {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
  line-height: 1.35;
}

.zsgp-header__identity {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 9px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.zsgp-header__identity span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.zsgp-header__status-dot {
  flex: 0 0 auto;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--zsgp-red);
  box-shadow: 0 0 0 4px rgba(227, 0, 20, 0.14);
}

.zsgp-language ul {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.zsgp-language a,
.zsgp-language span {
  min-width: 34px;
  min-height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.07em;
}

.zsgp-language a:hover,
.zsgp-language a:focus-visible,
.zsgp-language span[aria-current="page"] {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.zsgp-header__main {
  position: relative;
  background: var(--zsgp-black);
}

.zsgp-header__main-inner {
  min-height: 96px;
  display: grid;
  grid-template-columns: auto minmax(300px, 1fr) auto;
  align-items: center;
  gap: clamp(22px, 3vw, 50px);
}

.zsgp-header__logo {
  display: inline-flex;
  align-items: center;
  min-width: 215px;
  min-height: 52px;
  border-radius: 8px;
}

.zsgp-header__logo img {
  display: block;
  width: 215px;
  height: 47px;
  object-fit: contain;
}

.zsgp-header__logo-text {
  color: #fff;
  font-size: 20px;
  font-weight: 800;
}

.zsgp-search {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: stretch;
  min-width: 0;
  height: 52px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.zsgp-search__icon {
  position: absolute;
  z-index: 1;
  left: 16px;
  top: 50%;
  color: #69707b;
  transform: translateY(-50%);
  pointer-events: none;
}

.zsgp-search__input {
  min-width: 0;
  width: 100%;
  height: 50px;
  padding: 0 16px 0 48px;
  border: 0;
  outline: 0;
  border-radius: 0;
  background: transparent;
  color: var(--zsgp-ink);
  font: inherit;
  font-size: 14px;
  -webkit-appearance: none;
  appearance: none;
}

.zsgp-search__input::placeholder {
  color: #7b818b;
  opacity: 1;
}

.zsgp-search__input::-webkit-search-cancel-button {
  margin-right: 5px;
}

.zsgp-search__submit {
  min-width: 100px;
  min-height: 50px;
  padding: 0 20px;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: var(--zsgp-red);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.025em;
  cursor: pointer;
  transition: background-color 160ms ease;
}

.zsgp-search__submit:hover {
  background: var(--zsgp-red-dark);
}

.zsgp-header__actions {
  display: flex;
  align-items: stretch;
  justify-content: flex-end;
  gap: 8px;
}

.zsgp-action,
.zsgp-icon-button {
  border: 0;
  color: #fff;
  background: transparent;
  font: inherit;
}

.zsgp-action {
  position: relative;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 10px;
  border-radius: 8px;
  transition: background-color 160ms ease;
}

.zsgp-action:hover,
.zsgp-action:focus-visible,
.zsgp-contact[open] > .zsgp-action {
  background: rgba(255, 255, 255, 0.08);
}

.zsgp-action__icon {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.zsgp-action__copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.zsgp-action__copy small {
  color: rgba(255, 255, 255, 0.58);
  font-size: 10px;
  line-height: 1.2;
  white-space: nowrap;
}

.zsgp-action__copy strong {
  max-width: 145px;
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.zsgp-action__chevron {
  color: rgba(255, 255, 255, 0.52);
  transition: transform 160ms ease;
}

.zsgp-contact {
  position: relative;
}

.zsgp-contact > summary {
  list-style: none;
  cursor: pointer;
}

.zsgp-contact > summary::-webkit-details-marker {
  display: none;
}

.zsgp-contact[open] .zsgp-action__chevron {
  transform: rotate(180deg);
}

.zsgp-contact__panel {
  position: absolute;
  z-index: 20;
  top: calc(100% + 13px);
  right: 0;
  width: min(330px, calc(100vw - 32px));
  padding: 18px;
  border: 1px solid var(--zsgp-line);
  border-radius: 10px;
  background: #fff;
  box-shadow: var(--zsgp-shadow);
}

.zsgp-contact__panel::before {
  content: "";
  position: absolute;
  right: 42px;
  top: -7px;
  width: 12px;
  height: 12px;
  border-top: 1px solid var(--zsgp-line);
  border-left: 1px solid var(--zsgp-line);
  background: #fff;
  transform: rotate(45deg);
}

.zsgp-contact__title {
  margin: 0 0 12px;
  color: var(--zsgp-ink);
  font-size: 16px;
  font-weight: 800;
}

.zsgp-contact__group {
  display: grid;
  gap: 4px;
  padding: 12px 0;
  border-top: 1px solid var(--zsgp-line);
}

.zsgp-contact__group > span {
  color: var(--zsgp-muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.zsgp-contact__group a {
  width: fit-content;
  color: var(--zsgp-ink);
  font-size: 15px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.zsgp-contact__group a:hover {
  color: var(--zsgp-red);
}

.zsgp-action--icon {
  min-width: 48px;
  justify-content: center;
}

.zsgp-action--cart {
  padding-right: 3px;
}

.zsgp-header__cart-count {
  flex: 0 0 auto;
  min-width: 23px;
  height: 23px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 5px;
  border-radius: 999px;
  color: #fff;
  background: var(--zsgp-red);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
}

.zsgp-header__mobile-search,
.zsgp-header__menu-toggle {
  display: none;
}

.zsgp-header__navline {
  background: #fff;
  border-bottom: 1px solid var(--zsgp-line);
  box-shadow: 0 7px 20px rgba(8, 9, 11, 0.04);
}

.zsgp-header__navline-inner {
  min-height: 58px;
  display: flex;
  align-items: stretch;
  gap: 24px;
}

.zsgp-catalog-link {
  flex: 0 0 auto;
  min-width: 230px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  margin-block: -1px;
  padding-inline: 22px;
  color: #fff !important;
  background: var(--zsgp-red);
  font-size: 13px;
  font-weight: 800;
  transition: background-color 160ms ease;
}

.zsgp-catalog-link:hover {
  background: var(--zsgp-red-dark);
}

.zsgp-primary-nav {
  min-width: 0;
  flex: 1;
}

.zsgp-primary-nav__list,
.zsgp-primary-nav__list ul {
  padding: 0;
  margin: 0;
  list-style: none;
}

.zsgp-primary-nav__list {
  min-height: 58px;
  display: flex;
  align-items: stretch;
  gap: clamp(6px, 1.2vw, 20px);
}

.zsgp-primary-nav__list > li {
  position: relative;
  display: flex;
  align-items: stretch;
}

.zsgp-primary-nav__list > li > a {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  padding: 0 9px;
  color: #30343a;
  font-size: 13px;
  font-weight: 750;
  white-space: nowrap;
}

.zsgp-primary-nav__list > li > a::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  bottom: 0;
  height: 2px;
  background: var(--zsgp-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.zsgp-primary-nav__list > li:hover > a,
.zsgp-primary-nav__list > li > a:focus-visible,
.zsgp-primary-nav__list > .current-menu-item > a,
.zsgp-primary-nav__list > .current-menu-ancestor > a {
  color: var(--zsgp-red);
}

.zsgp-primary-nav__list > li:hover > a::after,
.zsgp-primary-nav__list > li > a:focus-visible::after,
.zsgp-primary-nav__list > .current-menu-item > a::after,
.zsgp-primary-nav__list > .current-menu-ancestor > a::after {
  transform: scaleX(1);
}

.zsgp-primary-nav__list .sub-menu {
  position: absolute;
  z-index: 20;
  left: 0;
  top: calc(100% - 1px);
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--zsgp-line);
  border-radius: 0 0 10px 10px;
  background: #fff;
  box-shadow: var(--zsgp-shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(7px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.zsgp-primary-nav__list li:hover > .sub-menu,
.zsgp-primary-nav__list li:focus-within > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.zsgp-primary-nav__list .sub-menu a {
  display: block;
  padding: 11px 12px;
  border-radius: 6px;
  color: #30343a;
  font-size: 13px;
  font-weight: 650;
  white-space: nowrap;
}

.zsgp-primary-nav__list .sub-menu a:hover,
.zsgp-primary-nav__list .sub-menu a:focus-visible {
  color: var(--zsgp-red);
  background: var(--zsgp-soft);
}

.zsgp-header__brands {
  background: #fbfbfc;
  border-bottom: 1px solid var(--zsgp-line);
}

.zsgp-header__brands-scroll {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.zsgp-header__brands-scroll::-webkit-scrollbar {
  display: none;
}

.zsgp-header__brands-label {
  flex: 0 0 auto;
  color: var(--zsgp-muted);
  font-size: 11px;
  font-weight: 700;
}

.zsgp-header__brands a {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 5px 10px;
  border: 1px solid #dfe2e6;
  border-radius: 999px;
  color: #3a3e45;
  background: #fff;
  font-size: 11px;
  font-weight: 750;
  transition: border-color 150ms ease, color 150ms ease, background-color 150ms ease;
}

.zsgp-header__brands a:hover,
.zsgp-header__brands a:focus-visible {
  color: var(--zsgp-red);
  border-color: rgba(227, 0, 20, 0.35);
  background: #fff7f8;
}

.zsgp-icon-button {
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 8px;
  cursor: pointer;
}

.zsgp-icon-button:hover,
.zsgp-icon-button:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.zsgp-header :where(a, button, summary, input):focus-visible {
  outline: 3px solid var(--zsgp-focus);
  outline-offset: 2px;
}

.zsgp-drawer {
  position: fixed;
  z-index: 1000;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 420px);
  pointer-events: none;
  visibility: hidden;
}

.zsgp-drawer[aria-hidden="true"] {
  display: grid;
}

.zsgp-drawer__overlay {
  grid-column: 1 / -1;
  grid-row: 1;
  background: rgba(0, 0, 0, 0.58);
  opacity: 0;
  transition: opacity 180ms ease;
}

.zsgp-drawer__panel {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  min-height: 100%;
  display: grid;
  grid-template-rows: auto 1fr;
  color: var(--zsgp-ink);
  background: #fff;
  transform: translateX(100%);
  transition: transform 200ms ease;
  outline: 0;
  overflow: hidden;
}

.zsgp-drawer.is-open {
  pointer-events: auto;
  visibility: visible;
}

.zsgp-drawer.is-open .zsgp-drawer__overlay {
  opacity: 1;
}

.zsgp-drawer.is-open .zsgp-drawer__panel {
  transform: translateX(0);
}

.zsgp-drawer__head {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(10px, env(safe-area-inset-top)) 18px 10px;
  border-bottom: 1px solid var(--zsgp-line);
  background: var(--zsgp-black);
  color: #fff;
}

.zsgp-drawer__head strong {
  font-size: 18px;
}

.zsgp-drawer__body {
  min-height: 0;
  padding: 18px 18px max(28px, env(safe-area-inset-bottom));
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

.zsgp-drawer__catalog {
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 8px;
  color: #fff !important;
  background: var(--zsgp-red);
  font-size: 14px;
  font-weight: 800;
}

.zsgp-mobile-nav__list,
.zsgp-mobile-nav__list ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.zsgp-mobile-nav__list {
  margin-top: 14px;
  border-top: 1px solid var(--zsgp-line);
}

.zsgp-mobile-nav__list > li {
  border-bottom: 1px solid var(--zsgp-line);
}

.zsgp-mobile-nav__list a {
  min-height: 50px;
  display: flex;
  align-items: center;
  padding: 11px 4px;
  color: #292d33;
  font-size: 15px;
  font-weight: 750;
}

.zsgp-mobile-nav__list .sub-menu {
  padding: 0 0 10px 14px;
}

.zsgp-mobile-nav__list .sub-menu a {
  min-height: 44px;
  color: var(--zsgp-muted);
  font-size: 13px;
  font-weight: 650;
}

.zsgp-drawer__section {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--zsgp-line);
}

.zsgp-drawer__label {
  display: block;
  margin-bottom: 10px;
  color: var(--zsgp-muted);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.zsgp-drawer__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.zsgp-drawer__chips a {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid var(--zsgp-line);
  border-radius: 999px;
  background: var(--zsgp-soft);
  font-size: 12px;
  font-weight: 700;
}

.zsgp-drawer__contacts {
  display: grid;
  gap: 8px;
}

.zsgp-drawer__contacts .zsgp-drawer__label {
  margin-bottom: 2px;
}

.zsgp-drawer__contacts a {
  min-height: 52px;
  display: grid;
  align-content: center;
  gap: 3px;
  padding: 8px 12px;
  border: 1px solid var(--zsgp-line);
  border-radius: 8px;
  font-size: 14px;
  font-weight: 750;
  overflow-wrap: anywhere;
}

.zsgp-drawer__contacts small {
  color: var(--zsgp-muted);
  font-size: 10px;
  font-weight: 650;
}

.zsgp-drawer__footer-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 20px;
}

.zsgp-drawer__footer-actions > a {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px;
  border: 1px solid var(--zsgp-line);
  border-radius: 8px;
  font-size: 12px;
  font-weight: 800;
  text-align: center;
}

.zsgp-language--mobile {
  margin-top: 18px;
}

.zsgp-language--mobile ul {
  gap: 8px;
}

.zsgp-language--mobile a,
.zsgp-language--mobile span {
  min-width: 48px;
  min-height: 44px;
  color: var(--zsgp-ink);
  border: 1px solid var(--zsgp-line);
  background: #fff;
}

.zsgp-language--mobile span[aria-current="page"] {
  color: #fff;
  border-color: var(--zsgp-red);
  background: var(--zsgp-red);
}

html.zsgp-drawer-open,
body.zsgp-drawer-open {
  overflow: hidden;
  overscroll-behavior: none;
}

body.admin-bar .zsgp-drawer {
  top: 32px;
}

body.admin-bar .zsgp-drawer__panel {
  height: calc(100vh - 32px);
  height: calc(100dvh - 32px);
}

@media (max-width: 1180px) {
  .zsgp-header__main-inner {
    grid-template-columns: 180px minmax(250px, 1fr) auto;
    gap: 18px;
  }

  .zsgp-header__logo,
  .zsgp-header__logo img {
    min-width: 0;
    width: 180px;
    height: auto;
  }

  .zsgp-action--contact .zsgp-action__copy,
  .zsgp-action--cart .zsgp-action__copy {
    display: none;
  }

  .zsgp-primary-nav__list {
    gap: 3px;
  }

  .zsgp-primary-nav__list > li > a {
    padding-inline: 7px;
    font-size: 12px;
  }
}

@media (max-width: 991px) {
  .zsgp-shell {
    width: min(calc(100% - 28px), var(--zsgp-shell));
  }

  .zsgp-header__utility {
    display: none;
  }

  .zsgp-header__main-inner {
    min-height: 72px;
    grid-template-columns: 46px 1fr auto;
    gap: 12px;
  }

  .zsgp-header__menu-toggle {
    display: inline-flex;
  }

  .zsgp-header__logo {
    justify-self: start;
    width: auto;
    min-width: 0;
  }

  .zsgp-header__logo img {
    width: min(172px, 38vw);
    height: auto;
  }

  .zsgp-header__main-inner > .zsgp-search,
  .zsgp-action--contact,
  .zsgp-action--icon {
    display: none;
  }

  .zsgp-header__actions {
    gap: 0;
  }

  .zsgp-action--cart {
    min-width: 52px;
    justify-content: center;
  }

  .zsgp-header__cart-count {
    position: absolute;
    top: 4px;
    right: 0;
    min-width: 20px;
    height: 20px;
    font-size: 10px;
  }

  .zsgp-header__mobile-search {
    display: block;
    padding-bottom: 14px;
  }

  .zsgp-header__mobile-search .zsgp-search {
    height: 48px;
  }

  .zsgp-header__mobile-search .zsgp-search__input,
  .zsgp-header__mobile-search .zsgp-search__submit {
    height: 46px;
    min-height: 46px;
  }

  .zsgp-header__navline {
    display: none;
  }

  .zsgp-header__brands-scroll {
    width: 100%;
    padding-inline: 14px;
  }

  .zsgp-header__brands-label {
    display: none;
  }
}

@media (max-width: 782px) {
  body.admin-bar .zsgp-drawer {
    top: 46px;
  }

  body.admin-bar .zsgp-drawer__panel {
    height: calc(100vh - 46px);
  height: calc(100dvh - 46px);
  }
}

@media (max-width: 575px) {
  .zsgp-shell {
    width: min(calc(100% - 24px), var(--zsgp-shell));
  }

  .zsgp-header__main-inner {
    min-height: 66px;
    gap: 9px;
  }

  .zsgp-header__logo img {
    width: min(154px, 42vw);
  }

  .zsgp-icon-button,
  .zsgp-action--cart {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
  }

  .zsgp-header__mobile-search {
    padding-bottom: 12px;
  }

  .zsgp-search__submit {
    min-width: 78px;
    padding-inline: 13px;
    font-size: 12px;
  }

  .zsgp-search__input {
    padding-left: 43px;
    font-size: 13px;
  }

  .zsgp-search__icon {
    left: 14px;
  }

  .zsgp-header__brands-scroll {
    min-height: 42px;
    padding-inline: 12px;
  }

  .zsgp-header__brands a {
    min-height: 30px;
  }

  .zsgp-drawer {
    grid-template-columns: 36px minmax(0, 1fr);
  }
}

@media (max-width: 359px) {
  .zsgp-header__logo img {
    width: 132px;
  }

  .zsgp-search__submit {
    min-width: 69px;
    padding-inline: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .zsgp-header *,
  .zsgp-header *::before,
  .zsgp-header *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
