:root {
  --header-h: 70px;
}
@media (max-width: 1199px) {
  :root { --header-h: 90px; }
}
@media (max-width: 1200px) {
  :root { --header-h: 80px; }
}
@media (max-width: 360px) {
  :root { --header-h: 60px; }
}

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  color: var(--c-header-text);
  background: var(--c-header-overlay);
  z-index: 1000;
}

.header-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
}

.header-wrap .text,
.header-wrap .phone {
  text-align: center;
}

.header-wrap .text {
  height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.logo {
  position: relative;
  display: flex;
  align-items: center;
  height: auto;
  flex-direction: column;
}

header .logo {
  align-items: flex-end;
  cursor: pointer;
}

header .logo.front {
  cursor: default;
}

header .logo .thumb img {
  height: 120px;
  width: auto;
  border-radius: 15px;
}

.logo .thumb {
  margin-right: 0
}

.logo .thumb img {
  height: 100px;
  width: auto;
  border-radius: 15px;
}

.logo .thumb .logo-svg-inline {
  display: inline-block;
  line-height: 0;
}
.logo .thumb .logo-svg-inline svg {
  height: 100px;
  width: auto;
  border-radius: 0;
}

.logo .text span:first-child {
  display: block;
  font-size: 24px;
  line-height: 24px;
  font-family: var(--ff-heading);
  font-weight: 700;
}

.logo .text span:last-child {
  line-height: 18px;
  font-size: 15px;
}

.logo a {
  position: absolute;
  display: block;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.social-links {
  text-align: center;
}

.social-links a svg {
  width: 37px;
  height: 37px;
  fill: var(--c-header-text)}
  
  .social-links a:hover {
    opacity: .75
  }
  
  .btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--r-btn);
    color: var(--c-btn-text);
    font-weight: 500;
    transition: all .25s ease-out;
    position: relative;
    overflow: hidden;
    border: none;
    z-index: 0;
    cursor: pointer
  }
  
  .btn--green {
    background-color: transparent;
    box-shadow: 0 8px 15px 0 rgba(47, 46, 33, 0.2)
  }
  
  .btn--green:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-image: -moz-linear-gradient(0deg, var(--c-primary) 0%, var(--c-primary) 100%);
    background-image: -webkit-linear-gradient(0deg, var(--c-primary) 0%, var(--c-primary) 100%);
    background-image: -ms-linear-gradient(0deg, var(--c-primary) 0%, var(--c-primary) 100%);
    transition: all .25s ease-out;
  }
  
  .btn--green:before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-color: var(--c-primary);
    transition: opacity .25s ease-out;
  }
  
  .btn--green:hover:after {
    filter: brightness(90%);
  }
  
  .btn--border {
    color: var(--c-header-btn-text);
    border-width: 1px;
    border-color: var(--c-header-btn-border);
    border-style: solid
  }
  
  .btn--border:hover {
    background: var(--c-header-btn-hover-bg);
    color: var(--c-header-btn-hover-text)
  }
  
  .header-btns .btn {
    height: 38px;
    width: 195px;
    background-color: var(--c-btn-ghost-bg);
    backdrop-filter: blur(8px);
  }
  
  .header-btns .btn+.btn {
    margin-left: 20px
  }
  
  .phone a {
    color: var(--c-header-link);
    font-size: 18px;
    font-family: "Circe", sans-serif;
  }
  
  .phone a:hover {
    color: var(--c-accent);
  }
  
  .phone-dropdown {
    position: relative;
    display: inline-block;
  }
  
  .phone-dropdown-content {
    position: absolute;
    left: 0;
    background-color: var(--c-dropdown-bg);
    min-width: 200px;
    padding: 8px;
    z-index: 100;
    border-radius: var(--r-md);
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
    transition: all .25s ease-out;
  }
  
  .phone-dropdown.open .phone-dropdown-content {
    opacity: 1;
    transform: scaleY(1);
  }
  
  .phone-main {
    color: var(--c-black);
    text-decoration: none;
  }
  
  .phone-secondary {
    display: block;
    color: var(--c-text-muted);
    text-decoration: none;
  }
  
  .phone-main::after {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: rotate(45deg);
    margin-left: 7px;
    vertical-align: middle;
    position: relative;
    bottom: 2px;
    transition: transform 0.2s ease;
  }
  
  .phone-dropdown.open .phone-main::after {
    transform: rotate(-135deg);
    bottom: 0;
  }
  
  .nxp-slide-cart-menu-link {
    opacity: 0;
    transition: all .25s ease-out;
  }
  .nxp-slide-cart-menu-link.show {
    opacity: 1;
  }
  
  #mega-menu-topHeader-menu {
    opacity: 0 !important;
    transition: opacity .25s ease-out !important;
  }
  #mega-menu-topHeader-menu.show {
    opacity: 1 !important;
  }
  
  .headerMenuWrap.fixed {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.2);
  }
  
  .headerMenuWrap {
    background-color: var(--c-fixed-menu-bg);
    transition: background-color .25s ease-out;
    backdrop-filter: blur(8px);
    max-width: 1360px;
    margin: auto;
    border-radius: var(--r-md);
  }
  
  .headerMenuWrap .menu {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 10px 0;
  }
  
  .headerMenuWrap .menu .menu-item {
    display: inline-block;
  }
  
  .headerMenuWrap .menu a {
    color: var(--c-header-link);
    text-decoration: none;
    font-size: 21px;
    padding: 5px 20px;
  }
  
  .first-screen.page-top-block {
    min-height: 0;
    padding-top: 200px;
  }
  
  .mob-features {
    display: none;
  }
  
  .mob-features .main-features-wrap .item {
    color: var(--c-black);
  }
  
  .header .header-btns .btn span.mob {
    display: none
  }
  
  #footer .btn--border,
  .header-btns .btn {
    color: var(--c-header-btn-text);
    border-color: var(--c-header-btn-border);
  }
  
  .header-btns .btn:hover {
    color: var(--c-btn-text);
    background-color: var(--c-accent);
  }
  
  /* === Header Style Variants (10) === */
  .header-style-classic{} /* default */
  
  .header-style-glass .header{
    background:rgba(0,0,0,.35); backdrop-filter:blur(20px);
  }
  .header-style-glass.header-scrolled .header{
    background:var(--c-header-bg); backdrop-filter:blur(15px);
  }
  
  .header-style-gradient .header{
    background:#ffffff;
  }
  .header-style-gradient.header-scrolled .header{
    background:var(--c-header-bg);
  }
  
  .header-style-bordered .header{
    background:transparent; border-bottom:1px solid rgba(255,255,255,.15);
  }
  .header-style-bordered.header-scrolled .header{
    background:var(--c-header-bg); border-bottom-color:var(--c-border);
  }
  
  .header-style-dark .header{
    background:var(--c-dark);
  }
  .header-style-dark .header .mega-menu>li>a{color:var(--c-header-text);}
  .header-style-dark .header a{color:var(--c-header-text);}
  
  .header-style-compact .header-wrap{padding-bottom:0;}
  .header-style-compact .header .logo{height:60px;}
  .header-style-compact .logo .thumb .logo-svg-inline svg{height:70px;}
  .header-style-compact .btn{padding:8px 18px;font-size:13px;}
  .header-style-compact .headerMenuWrap{padding:4px 0;}
  .header-style-compact .mega-menu>li>a{padding:8px 14px !important;font-size:14px;}
  
  .header-style-wide .header .container{max-width:100%;padding:0 40px;}
  .header-style-wide .header-wrap{gap:20px;}
  
  .header-style-centered .header-wrap{flex-wrap:wrap;justify-content:center;gap:0;}
  .header-style-centered .header .logo{justify-content:center;flex:0 0 100%;padding-top:10px;}
  .header-style-centered .header .logo .text{text-align:center;}
  .header-style-centered .social-links,.header-style-centered .header-btns,.header-style-centered .phone{flex:0 0 auto;margin:0 12px;}
  .header-style-centered .headerMenuWrap .container{display:flex;justify-content:center;}
  
  .header-style-elevated .header{
    box-shadow:0 4px 20px rgba(0,0,0,.08);
  }
  .header-style-elevated.header-scrolled .header{
    box-shadow:0 4px 30px rgba(0,0,0,.15);
  }
  
  .header-style-accent .headerMenuWrap{
    background:var(--c-primary);
  }
  .header-style-accent .header .mega-menu>li>a{
    color:var(--c-btn-text);
  }
  .header-style-accent .mega-indicator::after{color:var(--c-btn-text);}
  
  .header-style-simple .header-wrap{gap:0;}
  .header-style-simple .social-links{display:none;}
  .header-style-simple .header .phone{font-size:14px;}
  .header-style-simple .header-btns .btn{padding:10px 20px;font-size:14px;}
}
