@charset "UTF-8";

.site-header {
  --header-bg: #f5f7f8;
  --header-bg-soft: #eef2f4;
  --header-line: rgba(17,24,39,.08);
  --header-muted: #6e7681;
  --header-white: #171b20;
  --header-red: #e30014;
  --header-red-dark: #bd0011;
  --header-focus: #ff4b5a;
  --header-container-offset: max(20px, (100vw - 1320px) / 2);
  --header-logo-start: calc(var(--header-container-offset) + 64px);
  --header-protector-width: 428px;
  position: relative;
  z-index: 80;
  width: 100%;
  background: linear-gradient(180deg, #edf1f3 0%, #f7f9fa 55%, #fbfcfd 100%);
  color: var(--header-white);
  border-bottom: 1px solid rgba(17,24,39,.08);
  box-shadow: 0 12px 34px rgba(16,24,40,.075);
  isolation: isolate;
  overflow: visible;
}

/* One fixed protector spans both desktop header rows.
   If there is enough space before the logo, it sticks to the left edge.
   Otherwise it stays aligned to the logo-start line and hides beyond the viewport. */
.site-header::before {
  content: "";
  position: absolute;
  top: 8px;
  left: min(0px, calc(var(--header-logo-start) - var(--header-protector-width)));
  width: var(--header-protector-width);
  height: 130px;
  pointer-events: none;
  z-index: 1;
  background: url("../img/protector-light.png") left top / 428px 130px no-repeat;
}
.site-header *,
.site-header *::before,
.site-header *::after { box-sizing: border-box; }

.header-container {
  width: min(100% - 40px, 1320px);
  margin-inline: auto;
}

.header-top {
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(17,24,39,.065);
  background: transparent;
}

.header-top-inner {
  position: relative;
  z-index: 2;
  min-height: 54px;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 32px;
}

.primary-navigation { min-width: 0; display: flex; align-items: stretch; }
.primary-menu,
.primary-menu ul,
.mobile-menu,
.mobile-menu ul,
.zsgp-language ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.primary-menu {
  display: flex;
  align-items: stretch;
  gap: 4px;
  min-width: 0;
}

.primary-menu > li { position: relative; display: flex; align-items: stretch; }
.primary-menu > li > a {
  position: relative;
  min-height: 54px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #2b3036;
  font-size: 12.5px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: .065em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 10px 10px 0 0;
  transition: color .18s ease, background-color .18s ease;
}
.primary-menu > li:first-child > a { padding-left: 0; }
.primary-menu > li > a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 0;
  height: 3px;
  border-radius: 999px 999px 0 0;
  background: var(--header-red);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}
.primary-menu > li:first-child > a::after { left: 0; }
.primary-menu > li:hover > a,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a { color: #111317; background: transparent; }
.primary-menu > li:hover > a::after,
.primary-menu > li.current-menu-item > a::after,
.primary-menu > li.current-menu-ancestor > a::after { transform: scaleX(1); }

.primary-menu .sub-menu {
  position: absolute;
  z-index: 120;
  top: calc(100% - 1px);
  left: 0;
  min-width: 240px;
  padding: 9px;
  background: rgba(255,255,255,.985);
  border: 1px solid rgba(17,24,39,.08);
  border-radius: 12px;
  box-shadow: 0 20px 48px rgba(16,24,40,.16), 0 3px 10px rgba(16,24,40,.05);
  opacity: 0;
  visibility: hidden;
  transition: opacity .18s ease, visibility .18s ease;
}
.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu { opacity: 1; visibility: visible; }
.primary-menu .sub-menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  color: #16181c;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-decoration: none;
}
.primary-menu .sub-menu a:hover,
.primary-menu .sub-menu a:focus-visible { color: var(--header-red); background: #f6f7f8; }

.header-top-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-left: auto;
}

.header-contact { position: relative; z-index: 140; }
.header-contact > summary { list-style: none; }
.header-contact > summary::-webkit-details-marker { display: none; }
.contact-toggle {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 11px;
  border: 1px solid rgba(17,24,39,.07);
  border-radius: 11px;
  cursor: pointer;
  color: #171b20;
  background: rgba(255,255,255,.58);
  box-shadow: 0 3px 10px rgba(16,24,40,.025);
  user-select: none;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.contact-toggle:hover,
.header-contact[open] .contact-toggle { background: #fff; border-color: rgba(227,0,20,.14); box-shadow: 0 7px 18px rgba(16,24,40,.06); }
.contact-icon { display: grid; place-items: center; color: var(--header-red); }
.contact-icon svg,
.contact-chevron { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.contact-toggle-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.contact-toggle-text small { color: var(--header-muted); font-size: 10px; line-height: 1; text-transform: uppercase; letter-spacing: .08em; }
.contact-toggle-text strong { color: #171b20; font-size: 14px; line-height: 1.2; font-weight: 750; white-space: nowrap; }
.contact-chevron { color: #7b848f; transition: transform .18s ease; }
.header-contact[open] .contact-chevron { transform: rotate(180deg); }

.contact-panel {
  position: absolute;
  z-index: 160;
  top: calc(100% + 10px);
  right: 0;
  width: min(330px, calc(100vw - 32px));
  padding: 19px;
  background: rgba(255,255,255,.985);
  color: #16181c;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 24px 68px rgba(0,0,0,.34), 0 2px 10px rgba(0,0,0,.08);
  transform-origin: top right;
  animation: contact-panel-in .18s ease both;
}
.contact-panel::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 26px;
  width: 12px;
  height: 12px;
  background: #fff;
  border: 0;
  transform: rotate(45deg);
  box-shadow: -2px -2px 4px rgba(0,0,0,.025);
}
.contact-group + .contact-group { margin-top: 14px; padding-top: 14px; border-top: 1px solid #eceef0; }
.contact-group { display: grid; gap: 7px; }
.contact-group > span { color: #6c727c; font-size: 11px; font-weight: 750; letter-spacing: .06em; text-transform: uppercase; }
.contact-link {
  width: fit-content;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #111317;
  font-size: 16px;
  line-height: 1.25;
  font-weight: 800;
  text-decoration: none;
}
.contact-link-icon {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: #f2f4f6;
  color: var(--header-red);
}
.contact-link-icon svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-link:hover { color: var(--header-red); }
.contact-link:hover .contact-link-icon { background: rgba(227,0,20,.08); }

.header-language { display: flex; align-items: center; padding: 2px; border: 1px solid rgba(17,24,39,.06); border-radius: 10px; background: rgba(255,255,255,.46); }
.header-language .zsgp-language ul { display: flex; align-items: center; gap: 5px; }
.header-language .zsgp-language a,
.header-language .zsgp-language span {
  min-width: 32px;
  min-height: 32px;
  display: grid;
  place-items: center;
  color: #6e7681;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
}
.header-language .zsgp-language span[aria-current="page"] { color: #171b20; border-color: rgba(17,24,39,.08); border-radius: 8px; background: rgba(17,24,39,.05); }
.header-language .zsgp-language a:hover { color: #171b20; }

.header-main { position: relative; z-index: 10; overflow: visible; background: transparent; }
.header-main-inner {
  position: relative;
  z-index: 2;
  min-height: 98px;
  display: grid;
  grid-template-columns: minmax(200px, 250px) minmax(360px, 1fr) minmax(250px, 292px);
  align-items: center;
  gap: clamp(24px, 2.9vw, 46px);
}

.header-main-inner > * {
  position: relative;
  z-index: 1;
}

.header-logo { display: inline-flex; align-items: center; width: fit-content; max-width: 100%; padding: 6px 0; text-decoration: none; }
.header-logo img { display: block; width: min(210px, 100%); height: auto; max-height: 52px; object-fit: contain; }
.header-logo-text { color: #171b20; font-size: 22px; font-weight: 850; }

.header-search {
  min-width: 0;
  min-height: 52px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto;
  align-items: stretch;
  overflow: hidden;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(17,24,39,.075);
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(16,24,40,.06);
  transition: box-shadow .18s ease, background-color .18s ease;
}
.search-icon { display: grid; place-items: center; color: #727780; }
.search-icon svg,
.search-submit svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.search-input {
  min-width: 0;
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0 8px 0 0;
  background: transparent;
  color: #15171a;
  font: inherit;
  font-size: 15px;
  line-height: 1.4;
}
.search-input::placeholder { color: #858a93; opacity: 1; }
.search-submit {
  min-width: 112px;
  border: 0;
  padding: 0 22px;
  cursor: pointer;
  background: var(--header-red);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 850;
  letter-spacing: .05em;
  text-transform: uppercase;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.search-submit:hover { background: var(--header-red-dark); }
.search-submit:hover svg { transform: translateX(2px); }
.search-submit svg { transition: transform .18s ease; }
.search-submit:active { background: var(--header-red-dark); }

.header-commerce-actions {
  min-width: 0;
  display: grid;
  grid-template-columns: 50px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
}

.header-wishlist-slot {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  position: relative;
  border: 1px solid rgba(17,24,39,.07);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 24px rgba(16,24,40,.045);
  color: #171b20;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease, color .18s ease;
}

.header-wishlist-placeholder {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.header-wishlist-placeholder svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.header-wishlist-slot:hover {
  color: var(--header-red);
  background: rgba(255,255,255,.94);
  border-color: rgba(227,0,20,.12);
  box-shadow: 0 13px 28px rgba(16,24,40,.07);
}

.header-wishlist-slot:focus-within {
  border-color: rgba(227,0,20,.24);
  box-shadow: 0 0 0 3px rgba(227,0,20,.08), 0 10px 24px rgba(16,24,40,.055);
}

/* Shortcode integration point. The wrapper stays stable when the real wishlist module is injected later. */
.header-wishlist-slot > a,
.header-wishlist-slot > button {
  width: 100%;
  height: 100%;
}

 .header-cart {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 12px;
  padding: 9px 11px;
  border: 1px solid rgba(17,24,39,.06);
  border-radius: 14px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 10px 24px rgba(16,24,40,.045);
  color: #171b20;
  text-decoration: none;
  transition: background-color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.cart-icon { display: grid; place-items: center; color: #171b20; }
.cart-icon svg { fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.cart-copy { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cart-copy small { color: var(--header-muted); font-size: 10px; line-height: 1; letter-spacing: .07em; text-transform: uppercase; }
.cart-copy strong { overflow: hidden; color: #171b20; font-size: 14px; line-height: 1.2; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; text-overflow: ellipsis; white-space: nowrap; }
.cart-count,
.zsgp-header__cart-count {
  min-width: 30px;
  height: 30px;
  padding: 0 7px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--header-red);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  font-weight: 850;
}
.header-cart:hover { background: rgba(255,255,255,.92); border-color: rgba(227,0,20,.10); box-shadow: 0 13px 28px rgba(16,24,40,.07); }
.header-cart:hover .cart-copy strong { color: #171b20; }
.header-cart:hover .cart-icon { color: var(--header-red); }

.menu-toggle,
.mobile-search-wrap,
.mobile-drawer { display: none; }

.screen-reader-text {
  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;
}

.site-header a:focus-visible,
.site-header button:focus-visible,
.site-header summary:focus-visible,
.site-header input:focus-visible {
  outline: 2px solid var(--header-focus);
  outline-offset: 3px;
}
.header-search:focus-within { background: #fff; border-color: rgba(227,0,20,.26); box-shadow: 0 0 0 3px rgba(227,0,20,.08), 0 10px 24px rgba(16,24,40,.08); }
.search-input:focus-visible { outline: 0; }

@media (max-width: 1100px) {
  .site-header {
    --header-container-offset: 16px;
    --header-logo-start: calc(var(--header-container-offset) + 64px);
  }
  .header-container { width: min(100% - 32px, 1320px); }
  .header-top-inner { gap: 18px; }
  .primary-menu > li > a { padding-inline: 10px; font-size: 12px; letter-spacing: .06em; }
  .primary-menu > li > a::after { left: 10px; right: 10px; }
  .contact-toggle-text small { display: none; }
  .header-main-inner { grid-template-columns: 180px minmax(280px, 1fr) 230px; gap: 20px; }
  .cart-copy small { display: none; }
}

@media (max-width: 767px) {

  /* Mobile smart-sticky header: stays available without permanently occupying the viewport. */
  .site-header {
    position: sticky;
    top: 0;
    z-index: 9990;
    transition: transform .2s cubic-bezier(.22,.8,.28,1), box-shadow .2s ease;
  }
  .site-header.is-mobile-scroll-hidden {
    transform: translate3d(0, calc(-100% - 2px), 0);
    box-shadow: none;
    will-change: transform;
  }
  body.header-menu-open .site-header {
    transform: none !important;
    transition: none;
    will-change: auto;
  }
  .admin-bar .site-header { top: 46px; }

  .site-header {
    --mobile-logo-shift: clamp(-18px, calc(100vw - 390px), 0px);
  }
  .site-header::before { display: none; }
  .header-container { width: min(100% - 28px, 1320px); }
  .header-top { display: none; }
  .header-main-inner {
    min-height: 76px;
    grid-template-columns: 48px minmax(0, 1fr) 108px;
    gap: 12px;
  }
  .menu-toggle {
    width: 48px;
    height: 48px;
    display: grid;
    place-content: center;
    gap: 5px;
    padding: 0;
    border: 1px solid rgba(17,24,39,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 8px 20px rgba(16,24,40,.075);
    color: #171b20;
    cursor: pointer;
  }
  .menu-toggle span { display: block; width: 20px; height: 2px; background: currentColor; }
  .header-logo {
    justify-self: center;
    max-width: none;
    transform: translateX(var(--mobile-logo-shift));
  }
  .header-logo img {
    width: 184px;
    min-width: 184px;
    max-width: none;
    max-height: 42px;
  }
  .header-main-inner > .header-search { display: none; }

  .header-commerce-actions {
    width: 108px;
    justify-self: end;
    grid-template-columns: 48px 48px;
    gap: 10px;
  }
  .header-wishlist-slot {
    width: 48px;
    height: 48px;
    border-color: rgba(17,24,39,.10);
    background: rgba(255,255,255,.95);
    box-shadow: 0 8px 20px rgba(16,24,40,.075);
  }
  .header-cart {
    width: 48px;
    height: 48px;
    justify-self: end;
    display: grid;
    grid-template-columns: 1fr;
    place-items: center;
    position: relative;
    border: 1px solid rgba(17,24,39,.10);
    border-radius: 14px;
    background: rgba(255,255,255,.95);
    box-shadow: 0 8px 20px rgba(16,24,40,.075);
  }
  .header-cart .cart-copy { display: none; }
  .header-cart .cart-icon { grid-area: 1 / 1; }
  .header-cart .cart-count,
  .header-cart .zsgp-header__cart-count {
    position: absolute;
    top: -6px;
    right: -6px;
    min-width: 21px;
    height: 21px;
    padding: 0 5px;
    font-size: 10px;
    border: 2px solid #ffffff;
  }
  .mobile-search-wrap { display: block; padding-bottom: 14px; }
  .mobile-search { min-height: 52px; grid-template-columns: 42px minmax(0,1fr) 52px; border-radius: 14px; background: #fff; box-shadow: 0 10px 24px rgba(16,24,40,.07); }
  .mobile-search .search-submit { min-width: 50px; width: 50px; padding: 0; display: grid; place-items: center; }
  .mobile-search .search-submit svg { display: block; }

  .mobile-drawer {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: block;
    visibility: hidden;
    pointer-events: none;
  }
  .mobile-drawer[aria-hidden="false"] { visibility: visible; pointer-events: auto; }
  .drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17,24,39,.42);
    backdrop-filter: blur(3px);
    opacity: 0;
    transition: opacity .22s ease;
  }
  .mobile-drawer[aria-hidden="false"] .drawer-overlay { opacity: 1; }
  .drawer-panel {
    position: absolute;
    inset: 0 auto 0 0;
    width: min(92vw, 404px);
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: linear-gradient(180deg, #fbfcfd 0%, #eef2f4 100%);
    color: #171b20;
    transform: translateX(-100%);
    transition: transform .24s ease;
    box-shadow: 28px 0 72px rgba(15,23,42,.28);
  }
  .drawer-panel::before {
    content: "";
    position: absolute;
    top: auto;
    bottom: 0;
    left: 0;
    right: auto;
    width: 428px;
    height: 130px;
    background: url("../img/protector-light.png") left bottom / 428px 130px no-repeat;
    pointer-events: none;
    z-index: 0;
  }
  .mobile-drawer[aria-hidden="false"] .drawer-panel { transform: translateX(0); }
  .drawer-header {
    position: relative;
    z-index: 1;
    min-height: 78px;
    padding: max(14px, env(safe-area-inset-top)) 18px 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid rgba(17,24,39,.07);
    background: rgba(255,255,255,.62);
    backdrop-filter: blur(8px);
  }
  .drawer-brand { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
  .drawer-brand-link { display: inline-flex; width: fit-content; max-width: 100%; border-radius: 8px; text-decoration: none; }
  .drawer-brand-link img { display: block; width: 154px; height: auto; max-height: 34px; object-fit: contain; object-position: left center; }
  .drawer-brand span { display: inline-flex; align-items: center; gap: 7px; color: #69727d; font-size: 10px; line-height: 1; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }
  .drawer-brand span::before { content: ""; width: 18px; height: 2px; border-radius: 999px; background: var(--header-red); }
  .drawer-close {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(17,24,39,.10);
    border-radius: 12px;
    background: rgba(255,255,255,.88);
    color: #171b20;
    box-shadow: 0 4px 12px rgba(16,24,40,.04);
    cursor: pointer;
  }
  .drawer-close svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
  .drawer-body {
    position: relative;
    z-index: 1;
    flex: 1;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 14px 18px max(154px, calc(130px + env(safe-area-inset-bottom) + 24px));
  }
  .mobile-navigation { padding: 7px; border: 1px solid rgba(17,24,39,.065); border-radius: 16px; background: rgba(255,255,255,.82); box-shadow: 0 14px 30px rgba(16,24,40,.05); }
  .mobile-menu > li { position: relative; border-bottom: 1px solid rgba(17,24,39,.07); border-radius: 9px; }
  .mobile-menu > li:last-child { border-bottom: 0; }
  .mobile-menu > li.current-menu-item,
  .mobile-menu > li.current-menu-ancestor { background: linear-gradient(90deg, rgba(227,0,20,.07), rgba(227,0,20,.025)); }
  .mobile-menu a {
    position: relative;
    min-height: 54px;
    display: flex;
    align-items: center;
    padding: 0 38px 0 14px;
    color: #171b20;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: .035em;
    text-transform: uppercase;
    text-decoration: none;
  }
  .mobile-menu > li > a::after {
    content: "";
    position: absolute;
    right: 13px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-top: 1.5px solid #8c949e;
    border-right: 1.5px solid #8c949e;
    transform: translateY(-50%) rotate(45deg);
  }
  .mobile-menu > li.menu-item-has-children > a::after { transform: translateY(-65%) rotate(135deg); }
  .mobile-menu .sub-menu { padding: 0 8px 10px 18px; }
  .mobile-menu .sub-menu li { border-left: 2px solid #d7dde3; }
  .mobile-menu .sub-menu a { min-height: 42px; padding: 0 12px; color: #616a75; font-size: 13px; font-weight: 700; text-transform: none; letter-spacing: 0; }
  .mobile-menu a:hover,
  .mobile-menu a:focus-visible { color: #ff5260; }
  .drawer-section { margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(17,24,39,.08); }
  .drawer-section h2 { margin: 0 0 12px; display: flex; align-items: center; gap: 8px; color: #6f7883; font-size: 11px; line-height: 1.2; letter-spacing: .08em; text-transform: uppercase; }
  .drawer-section h2::before { content: ""; width: 18px; height: 2px; border-radius: 999px; background: var(--header-red); }
  .drawer-navigation { margin-top: 0; padding-top: 0; border-top: 0; }
  .drawer-navigation h2 { margin-bottom: 12px; }
  .drawer-contacts { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .drawer-contacts > h2 { grid-column: 1 / -1; }
  .drawer-contacts a {
    min-height: 60px;
    display: grid;
    grid-template-columns: 38px minmax(0,1fr);
    align-items: center;
    gap: 10px;
    padding: 9px 11px;
    border: 1px solid rgba(17,24,39,.07);
    border-radius: 12px;
    background: rgba(255,255,255,.82);
    color: #171b20;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(16,24,40,.035);
    transition: border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
  }
  .drawer-contacts a:hover { border-color: rgba(227,0,20,.12); background: #fff; box-shadow: 0 9px 22px rgba(16,24,40,.055); }
  .drawer-contact-icon {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(227,0,20,.08);
    color: var(--header-red);
  }
  .drawer-contact-icon svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .drawer-contact-copy { min-width: 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; }
  .drawer-contacts small { color: #727b86; font-size: 9px; line-height: 1; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
  .drawer-contacts strong { overflow-wrap: anywhere; color: #171b20; font-size: 14px; line-height: 1.25; }
  .drawer-language { margin-top: 18px; padding: 7px; border: 1px solid rgba(17,24,39,.065); border-radius: 14px; background: rgba(255,255,255,.78); box-shadow: 0 10px 24px rgba(16,24,40,.035); }
  .drawer-language .zsgp-language ul { display: flex; gap: 8px; }
  .drawer-language .zsgp-language a,
  .drawer-language .zsgp-language span {
    min-width: 46px;
    min-height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(17,24,39,.12);
    color: #616973;
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
  }
  .drawer-language .zsgp-language span[aria-current="page"] { border-color: var(--header-red); color: #171b20; background: rgba(227,0,20,.12); }
  body.header-menu-open { overflow: hidden; touch-action: none; }
  .admin-bar .mobile-drawer { top: 46px; }
  .admin-bar .drawer-panel { min-height: calc(100dvh - 46px); }
}

@media (max-width: 380px) {
  .header-container { width: min(100% - 20px, 1320px); }
  .site-header { --mobile-logo-shift: -26px; }
  .header-main-inner { grid-template-columns: 44px minmax(0,1fr) 96px; gap: 8px; }
  .header-commerce-actions { width: 96px; grid-template-columns: 44px 44px; gap: 8px; }
  .menu-toggle,
  .header-wishlist-slot,
  .header-cart { width: 44px; height: 44px; }
  .header-logo img {
    width: 176px;
    min-width: 176px;
    max-width: none;
  }
  .mobile-search-wrap { padding-bottom: 10px; }
}


@media (max-width: 600px) {
  .admin-bar .site-header { top: 0; }
}


@keyframes contact-panel-in {
  from { opacity: 0; transform: scale(.985); }
  to { opacity: 1; transform: scale(1); }
}

@media (min-width: 768px) {
  .site-header { background: #f1f4f6; }
}

@media (max-width: 767px) {
  .menu-toggle,
  .header-wishlist-slot,
  .header-cart,
  .drawer-close { transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background-color .18s ease; }
  .menu-toggle:hover,
  .header-wishlist-slot:hover,
  .header-cart:hover,
  .drawer-close:hover { box-shadow: 0 11px 24px rgba(16,24,40,.09); }
  .menu-toggle:active,
  .header-wishlist-slot:active,
  .header-cart:active,
  .drawer-close:active { transform: scale(.97); }
  .mobile-menu > li > a::after { transition: transform .18s ease, border-color .18s ease; }
  .mobile-menu > li > a:hover::after { border-color: var(--header-red); transform: translate(2px, -50%) rotate(45deg); }
  .mobile-menu > li.menu-item-has-children > a:hover::after { transform: translate(2px, -65%) rotate(135deg); }
  .drawer-panel { transition-timing-function: cubic-bezier(.22,.8,.28,1); }
  .mobile-drawer[aria-hidden="false"] .drawer-navigation,
  .mobile-drawer[aria-hidden="false"] .drawer-contacts,
  .mobile-drawer[aria-hidden="false"] .drawer-language { animation: drawer-content-in .28s ease both; }
  .mobile-drawer[aria-hidden="false"] .drawer-contacts { animation-delay: .04s; }
  .mobile-drawer[aria-hidden="false"] .drawer-language { animation-delay: .08s; }
}

@keyframes drawer-content-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header { transform: none !important; }
  .site-header.is-mobile-scroll-hidden { transform: none !important; }
  .site-header *,
  .site-header *::before,
  .site-header *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* Light theme additions */
.primary-menu > li:hover > a,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a { color: #111317; background: transparent; }
.header-language .zsgp-language a:hover { color: #111317; }
.header-main-inner { border-top: 0; }
.header-top-inner { position: relative; }


/* Rev 5.1: dropdown visibility and protector clipping are separated. */
.site-header { overflow: visible; }
.header-top { overflow: visible; }
.header-top-inner { overflow: visible; }
.header-main { overflow: visible; }
.header-contact[open] { z-index: 400; }
.contact-panel { z-index: 420; }


/* Rev 5.2 — unified visual system and one desktop protector across both rows. */
@media (min-width: 768px) {
  .header-top-inner,
  .header-main-inner { position: relative; z-index: 2; }
  .site-header::before { display: block; }
}
@media (max-width: 767px) {
  .site-header::before { display: none; }
  .drawer-panel::before { opacity: 1; }
}

/* Rev 5.4: protector is rendered above the common header gradient and below interactive content.
   Row-level translucent backgrounds are intentionally removed so the tread remains visually continuous. */
@media (min-width: 768px) {
  .header-top,
  .header-main { background: transparent; }

  .header-top-inner,
  .header-main-inner { z-index: 2; }
}
