/* Shared EVATECH public header. Uses the approved Homepage/Configurator visual language. */
.site-header-v4,
.site-header-v4 * { box-sizing: border-box; }

.site-header-v4 {
  position: sticky !important;
  top: 0;
  z-index: 1000;
  width: 100%;
  padding: 0 !important;
  background: rgba(255,255,255,.97) !important;
  border-bottom: 1px solid #e9e9e9;
  box-shadow: 0 4px 18px rgba(0,0,0,.07);
  color: #151515;
  font-family: Arial,sans-serif;
  backdrop-filter: blur(14px);
}

.site-header-v4 > .container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

.site-header-v4 .about-info {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 10px 4px;
}

.site-header-v4 .logo { flex: 0 0 auto; }
.site-header-v4 .logo__image {
  display: block;
  width: 150px;
  max-width: none;
  height: auto;
}

.site-header-v4 .about-info__menu {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 18px;
  width: auto;
}

.site-header-v4 .menu__nav-list {
  display: flex;
  width: auto;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(12px,1.35vw,24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-header-v4 .nav__list-item { list-style: none; }
.site-header-v4 .nav__list-link {
  color: #151515;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.site-header-v4 .nav__list-link:hover,
.site-header-v4 .nav__list-link:focus-visible { color: #e11d1d; }

.site-header-v4 .about-info__social {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

.site-header-v4 .cart-link {
  position: relative;
  display: inline-flex;
  min-width: 42px;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border: 1px solid #d5d5d5;
  border-radius: 9px;
  color: #111;
  text-decoration: none;
}
.site-header-v4 .cart-link__icon { display: block; }
.site-header-v4 .cart-link__badge {
  position: absolute;
  top: -7px;
  right: -7px;
  min-width: 18px;
  padding: 2px 6px;
  border-radius: 99px;
  background: #e11d1d;
  color: #fff;
  font-size: 12px;
  line-height: 1.2;
  text-align: center;
}

.site-header-v4 .social-btn {
  display: inline-flex;
  width: auto;
  min-width: 112px;
  height: 42px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 16px;
  border: 0;
  border-radius: 9px;
  background: #111;
  color: #fff;
  font: 800 13px/1 Arial,sans-serif;
  cursor: pointer;
}
.site-header-v4 .social-btn #arow { width: 12px; height: 7px; }
.site-header-v4 .social__list {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 10;
  display: grid;
  width: 230px;
  gap: 9px;
  padding: 16px;
  border: 1px solid #e5e5e5;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(0,0,0,.14);
  transition: opacity .2s ease,transform .2s ease,visibility .2s ease;
}
.site-header-v4 .social__list.fadeOut {
  visibility: hidden;
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}
.site-header-v4 .social__list.fadeIn {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.site-header-v4 .social__list a {
  color: #111 !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}
.site-header-v4 .about__info-icon { display: flex; gap: 14px; margin-top: 2px; }

.site-header-v4 .header__actions {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-left: auto;
}
.site-header-v4 .mobile-cart { margin: 0; }
.site-header-v4 .burger-btn {
  display: none;
  width: 46px;
  height: 46px;
  padding: 13px;
  border-radius: 12px;
  background: #111;
  object-fit: contain;
  cursor: pointer;
}

/* The Homepage keeps its approved desktop CTA arrangement. */
@media (min-width: 1180px) {
  .site-header-v4.home-v4-header .about-info__social { display: none; }
  .site-header-v4.home-v4-header .header__actions { display: flex; }
  .site-header-v4.home-v4-header .burger-btn { display: none; }
}

@media (max-width: 1179px) {
  .site-header-v4 .about-info__menu { display: none; }
  .site-header-v4 .header__actions { display: flex; }
  .site-header-v4 .mobile-cart { display: inline-flex; }
  .site-header-v4 .burger-btn { display: block; }
  .site-header-v4 .home-v4-header__configure { display: none; }
}

@media (max-width: 700px) {
  .site-header-v4 > .container { padding: 0 10px; }
  .site-header-v4 .about-info { min-height: 72px; gap: 10px; padding: 8px 0; }
  .site-header-v4 .logo__image { width: 170px; }
  .site-header-v4 .header__actions { gap: 10px; }
  .site-header-v4 .burger-btn { width: 48px; height: 48px; border-radius: 13px; }
}

@media (max-width: 430px) {
  .site-header-v4 .logo__image { width: min(150px,40vw); }
  .site-header-v4 .home-v4-header__phone { display: none; }
  .site-header-v4 .cart-link { min-width: 44px; min-height: 44px; }
}

/* Shared mobile drawer used by every public page. */
.header__menu-mobile {
  position: fixed;
  z-index: 9999;
  top: 0;
  right: 0;
  width: min(100%,430px);
  height: 100dvh;
  overflow-y: auto;
  padding: 24px;
  background: #fff;
  box-shadow: -18px 0 45px rgba(0,0,0,.18);
  color: #111;
  font-family: Arial,sans-serif;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform .25s ease,visibility .25s ease;
}
.header__menu-mobile--active { visibility: visible; transform: translateX(0); }
.header__menu-top { display: flex; align-items: center; justify-content: space-between; }
.header__menu-logo { display: block; width: 170px; max-width: 55%; }
.header__menu-logo img { display: block; width: 100%; height: auto; }
.close-btn { width: 44px; height: 44px; padding: 12px; cursor: pointer; }
.header__menu-items {
  display: grid;
  gap: 0;
  margin: 28px 0 24px;
  padding: 0;
  border-top: 1px solid #e7e7e7;
  list-style: none;
}
.header__menu-item { list-style: none; }
.header__menu-item a {
  display: block;
  padding: 14px 2px;
  border-bottom: 1px solid #e7e7e7;
  color: #111;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}
.header__menu-item a:hover,
.header__menu-item a:focus-visible { color: #e11d1d; }
.header__menu-social { display: grid; gap: 12px; padding: 0; }
.header__menu-icon { display: flex; gap: 14px; }
.header_menu-link { color: #111 !important; font-size: 15px; text-decoration: none; }
.header_menu-text { margin: 4px 0 0; color: #555; font-size: 14px; }
