/* ======================================== */
/* TOP HEADER */
/* ======================================== */

/* SAFE skip navigation removal */

a[href="#skipNavigation"],
a[href="#skipnavigation"],
.mod_skipNavigation,
.skip-navigation {
  display: none !important;
}

/* PREVENT HORIZONTAL SCROLL */

html,
body {
  overflow-x: hidden;
}

/* ======================================== */
/* HEADER */
/* ======================================== */

.top-header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;
  height: 60px;

  background: #fff;

  border-bottom: 1px solid #ddd;

  z-index: 100000;
}

.header-inner {
  max-width: 1200px;

  margin: 0 auto;

  height: 100%;

  padding: 0 20px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ======================================== */
/* LEFT */
/* ======================================== */

.logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-area img {
  height: 36px;
  width: auto;

  display: block;
}

.site-title {
  font-size: 20px;
  font-weight: bold;

  color: #1a1a1a;
}

/* ======================================== */
/* RIGHT */
/* ======================================== */

.header-right {
  display: flex;
  align-items: center;
  gap: 15px;

  position: relative;

  z-index: 100000;
}

/* ======================================== */
/* SEARCH ICON */
/* ======================================== */

.search-icon {
  width: 20px;
  height: 20px;

  display: flex;
  align-items: center;
  justify-content: center;

  position: relative;

  cursor: pointer;

  overflow: hidden;

  flex-shrink: 0;
}

/* REMOVE GENERATED ICONS */

.search-icon::before,
.search-icon::after,
.search-icon-inside::before,
.search-icon-inside::after {
  display: none !important;
  content: none !important;
}

/* ICON IMAGE / SVG */

.search-icon img,
.search-icon svg,
.search-icon-inside img,
.search-icon-inside svg {
  width: 18px !important;
  height: 18px !important;

  min-width: 18px !important;
  min-height: 18px !important;

  max-width: 18px !important;
  max-height: 18px !important;

  object-fit: contain;

  display: block !important;
}

/* ======================================== */
/* SEARCH WRAPPER */
/* ======================================== */

.search-wrapper {
  position: relative;
}

/* ======================================== */
/* DESKTOP SEARCH */
/* ======================================== */

.search-desktop {
  display: none;

  position: absolute;

  top: 50%;
  right: 35px;

  transform: translateY(-50%);

   width: min(260px, calc(100vw - 140px));

  z-index: 9999;
}

/* ACTIVE SEARCH */

.search-wrapper.active .search-desktop {
  display: block;

  width: min(260px, calc(100vw - 140px));
}

/* SEARCH INPUT */

.search-desktop input {
  width: 100%;
  height: 40px;

  padding: 0 42px 0 14px;

  border: 1px solid #c7c7c7;
  border-radius: 8px;

  background: #fff;

  font-size: 14px;
  color: #222;

  outline: none;

  box-sizing: border-box;

  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
}

/* SEARCH ICON INSIDE */

.search-icon-inside {
  display: none !important;
}

/* ======================================== */
/* HAMBURGER */
/* ======================================== */

.menu-toggle {
  display: none;

  width: 22px;
  height: 22px;

  cursor: pointer;

  position: relative;

  z-index: 100000;
}

.menu-toggle span {
  display: block;

  width: 100%;
  height: 3px;

  background: #000;

  margin: 5px 0;

  transition: all 0.3s ease;
}

/* CROSS */

.menu-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ======================================== */
/* MOBILE */
/* ======================================== */

@media (max-width: 800px) {

  .menu-toggle {
    display: block;
  }

  .header-inner {
    padding: 0 16px;
  }

  .logo-area img {
    height: 32px;
  }

  .site-title {
    font-size: 18px;
  }

  /* HIDE SEARCH ON MOBILE */

  .search-wrapper,
  .search-desktop,
  .search-icon {
    display: none !important;
  }

}

/* ======================================== */
/* SMALL SCREEN */
/* ======================================== */

@media (max-width: 550px) {

  .site-title {
    display: none !important;
  }

  .header-inner {
    padding: 0 14px;
  }

}

/* ======================================== */
/* NAVIGATION */
/* ======================================== */

.mod_navigation {
  z-index: 99999;
}