/* MOHAB Header & Mega Menu — Shopline 3.0 */
.mohab-hd-root {
  --mh-bg: #ffffff;
  --mh-bg-alt: #f5f5f7;
  --mh-ink: #1d1d1f;
  --mh-ink-2: #6e6e73;
  --mh-ink-3: #86868b;
  --mh-line-soft: rgba(0, 0, 0, 0.08);
  --mh-green: #384521;
  --mh-accent: #d28f26;
  --mh-nav-h: 48px;
  --mh-maxw-wide: 1500px;
  font-family: "DIN Condensed", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}
.mohab-hd-root *,
.mohab-hd-root *::before,
.mohab-hd-root *::after {
  box-sizing: border-box;
}
.mohab-hd-root a {
  color: inherit;
  text-decoration: none;
}
.mohab-hd-root .mh-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.5);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.mohab-hd-root .mh-nav {
  position: relative;
  height: var(--mh-nav-h);
  display: flex;
  align-items: center;
  gap: 32px;
  padding: 0 50px;
}
.mohab-hd-root .mh-nav__logo {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
}
.mohab-hd-root .mh-nav__logo img {
  height: 30px;
  width: auto;
  display: block;
}
.mohab-hd-root .mh-nav__logo-text {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: #fff;
}
.mohab-hd-root .mh-nav__logo .mh-nav__logo-dark {
  display: none;
  color: var(--mh-ink);
}
.mohab-hd-root .mh-nav__list {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mohab-hd-root .mh-nav__item {
  display: flex;
}
.mohab-hd-root .mh-nav__link {
  position: relative;
  display: inline-block;
  padding: 12px 14px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.15s ease;
  white-space: nowrap;
}
.mohab-hd-root .mh-nav__link--highlight {
  color: var(--mh-accent);
}
.mohab-hd-root .mh-nav__link::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--mh-green);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
}
.mohab-hd-root .mh-nav__link:hover,
.mohab-hd-root .mh-nav__link.is-active {
  color: var(--mh-green);
}
.mohab-hd-root .mh-nav__link:hover::after,
.mohab-hd-root .mh-nav__link.is-active::after {
  transform: scaleX(1);
}
.mohab-hd-root .mh-nav__actions {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 8px;
}
.mohab-hd-root .mh-nav__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.15s ease, background 0.15s ease;
}
.mohab-hd-root .mh-nav__icon:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.mohab-hd-root .mh-nav__signin {
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  color: #fff;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.mohab-hd-root .mh-nav__signin:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.mohab-hd-root .mh-nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background: none;
  border: 0;
  cursor: pointer;
}
.mohab-hd-root .mh-nav__burger span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.mohab-hd-root .mh-nav__burger.is-open span:first-child {
  transform: translateY(3.25px) rotate(45deg);
}
.mohab-hd-root .mh-nav__burger.is-open span:last-child {
  transform: translateY(-3.25px) rotate(-45deg);
}

/* Hover / open state: light frosted header */
.mohab-hd-root .mh-header:hover,
.mohab-hd-root .mh-header.is-open {
  background: rgba(255, 255, 255, 0.84);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.7);
}
.mohab-hd-root .mh-header:hover .mh-nav__logo-light,
.mohab-hd-root .mh-header.is-open .mh-nav__logo-light { display: none; }
.mohab-hd-root .mh-header:hover .mh-nav__logo-dark,
.mohab-hd-root .mh-header.is-open .mh-nav__logo-dark { display: block; }
.mohab-hd-root .mh-header:hover .mh-nav__link,
.mohab-hd-root .mh-header.is-open .mh-nav__link { color: rgba(0, 0, 0, 0.72); }
.mohab-hd-root .mh-header:hover .mh-nav__link:hover,
.mohab-hd-root .mh-header.is-open .mh-nav__link:hover,
.mohab-hd-root .mh-header.is-open .mh-nav__link.is-active { color: var(--mh-green); }
.mohab-hd-root .mh-header:hover .mh-nav__link--highlight,
.mohab-hd-root .mh-header.is-open .mh-nav__link--highlight { color: var(--mh-accent); }
.mohab-hd-root .mh-header:hover .mh-nav__icon,
.mohab-hd-root .mh-header.is-open .mh-nav__icon { color: rgba(0, 0, 0, 0.82); }
.mohab-hd-root .mh-header:hover .mh-nav__signin,
.mohab-hd-root .mh-header.is-open .mh-nav__signin { color: var(--mh-ink); border-color: rgba(0, 0, 0, 0.55); }
.mohab-hd-root .mh-header:hover .mh-nav__burger span,
.mohab-hd-root .mh-header.is-open .mh-nav__burger span { background: var(--mh-ink); }

/* Mega menu panels */
.mohab-hd-root .mh-menu {
  position: fixed;
  top: var(--mh-nav-h);
  left: 0;
  right: 0;
  z-index: 950;
  background: #fff;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.34s cubic-bezier(0.32, 0.72, 0, 1), opacity 0.22s ease, visibility 0.22s;
}
.mohab-hd-root .mh-menu.is-open {
  opacity: 1;
  visibility: visible;
  clip-path: inset(0 0 0 0);
}
.mohab-hd-root .mh-header.is-switching .mh-menu {
  clip-path: inset(0 0 0 0);
  transition: opacity 0.12s ease, visibility 0.12s ease;
}
.mohab-hd-root .mh-menu__inner {
  max-width: var(--mh-maxw-wide);
  margin: 0 auto;
  padding: 36px 28px 44px;
}

/* Vehicles panel */
.mohab-hd-root .mh-menu__grid {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 16px;
}
.mohab-hd-root .mh-menu__item {
  display: flex;
  flex: 1 1 0;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.mohab-hd-root .mh-menu__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--mh-bg-alt);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.mohab-hd-root .mh-menu__media:has(img) {
  background: transparent;
}
.mohab-hd-root .mh-menu__media img {
  width: 90%;
  height: 90%;
  object-fit: contain;
  display: block;
}
.mohab-hd-root .mh-menu__title {
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  color: var(--mh-ink);
}
.mohab-hd-root .mh-menu__actions {
  display: flex;
  justify-content: center;
  gap: 18px;
}
.mohab-hd-root .mh-menu__btn {
  color: var(--mh-ink-2);
  font-size: 13px;
  font-weight: 500;
  transition: color 0.2s ease;
}
.mohab-hd-root .mh-menu__btn:hover {
  color: var(--mh-green);
  text-decoration: underline;
}

/* Products Yakima-style panel */
.mohab-hd-root .mh-menu[data-panel="product"] .mh-menu__inner {
  max-width: none;
  padding: 0;
}
.mohab-hd-root .mh-product-nav {
  display: grid;
  grid-template-columns: clamp(300px, 26vw, 500px) minmax(0, 1fr);
  align-items: stretch;
}
.mohab-hd-root .mh-product-nav__feature {
  position: relative;
  display: block;
  min-height: 440px;
  overflow: hidden;
  background: var(--mh-bg-alt);
}
.mohab-hd-root .mh-product-nav__feature-media {
  position: absolute;
  inset: 0;
}
.mohab-hd-root .mh-product-nav__feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mohab-hd-root .mh-product-nav__feature:hover .mh-product-nav__feature-media img {
  transform: scale(1.05);
}
.mohab-hd-root .mh-product-nav__cols {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 36px 36px;
  padding: 44px 52px;
  align-content: center;
}
.mohab-hd-root .mh-product-nav__col {
  display: flex;
  flex-direction: column;
}
.mohab-hd-root .mh-product-nav__group {
  margin: 0 0 10px;
  line-height: 1.2;
}
.mohab-hd-root .mh-product-nav__group a {
  font-size: 19px;
  font-weight: 700;
  color: var(--mh-ink);
}
.mohab-hd-root .mh-product-nav__group a:hover {
  color: var(--mh-green);
  text-decoration: underline;
}
.mohab-hd-root .mh-product-nav__item {
  font-size: 15px;
  line-height: 1.35;
  padding: 5px 0;
  color: var(--mh-ink-2);
}
.mohab-hd-root .mh-product-nav__item:hover {
  color: var(--mh-green);
  text-decoration: underline;
}

/* About / Community / Support split panels */
.mohab-hd-root .mh-menu__split {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: start;
}
.mohab-hd-root .mh-menu__links {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.mohab-hd-root .mh-menu__link {
  display: inline-block;
  padding: 7px 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--mh-ink);
}
.mohab-hd-root .mh-menu__link:hover {
  color: var(--mh-green);
  text-decoration: underline;
}
.mohab-hd-root .mh-menu__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.mohab-hd-root .mh-menu__card {
  display: block;
}
.mohab-hd-root .mh-menu__card-media {
  display: block;
  aspect-ratio: 16 / 10;
  margin-bottom: 12px;
  border-radius: 8px;
  overflow: hidden;
  background: var(--mh-bg-alt);
}
.mohab-hd-root .mh-menu__card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}
.mohab-hd-root .mh-menu__card:hover .mh-menu__card-media img {
  transform: scale(1.04);
}
.mohab-hd-root .mh-menu__card-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--mh-ink);
}
.mohab-hd-root .mh-menu__card:hover .mh-menu__card-title {
  color: var(--mh-green);
  text-decoration: underline;
}
.mohab-hd-root .mh-menu__card-tagline {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: var(--mh-ink-2);
}

@keyframes mh-item-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.mohab-hd-root .mh-menu.is-open .mh-menu__item,
.mohab-hd-root .mh-menu.is-open .mh-menu__link,
.mohab-hd-root .mh-menu.is-open .mh-menu__card,
.mohab-hd-root .mh-menu.is-open .mh-product-nav__col {
  animation: mh-item-in 0.4s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.mohab-hd-root .mh-backdrop {
  position: fixed;
  top: var(--mh-nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 900;
  background: rgba(0, 0, 0, 0.22);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s;
}
.mohab-hd-root .mh-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

/* Mobile drawer */
.mohab-hd-root .mh-mobile-menu {
  position: fixed;
  top: var(--mh-nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 940;
  background: var(--mh-bg);
  overflow-y: auto;
  padding: 8px 24px 40px;
}
.mohab-hd-root .mh-mobile-menu__inner {
  max-width: 640px;
  margin: 0 auto;
}
.mohab-hd-root .mh-mobile-group {
  border-bottom: 1px solid var(--mh-line-soft);
}
.mohab-hd-root .mh-mobile-group summary {
  list-style: none;
  cursor: pointer;
  padding: 18px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--mh-ink);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mohab-hd-root .mh-mobile-group summary::after {
  content: "+";
  font-size: 22px;
  color: var(--mh-ink-3);
  transition: transform 0.2s ease;
}
.mohab-hd-root .mh-mobile-group[open] summary::after {
  transform: rotate(45deg);
}
.mohab-hd-root .mh-mobile-group__links {
  display: flex;
  flex-direction: column;
  padding: 0 0 18px;
  gap: 2px;
}
.mohab-hd-root .mh-mobile-group__links a {
  padding: 9px 0;
  font-size: 16px;
  color: var(--mh-ink-2);
}
.mohab-hd-root .mh-mobile-menu__quick {
  display: flex;
  gap: 28px;
  margin-top: 24px;
}
.mohab-hd-root .mh-mobile-menu__quick a {
  font-size: 16px;
  font-weight: 600;
  color: var(--mh-accent);
}
.mohab-hd-root .mh-mobile-menu__contact {
  display: inline-block;
  margin-top: 24px;
  padding: 11px 24px;
  border-radius: 980px;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: var(--mh-accent);
}

@media (max-width: 1100px) {
  .mohab-hd-root .mh-nav { padding: 0 24px; gap: 16px; }
  .mohab-hd-root .mh-nav__list { gap: 0; }
  .mohab-hd-root .mh-nav__link { padding: 12px 9px; font-size: 13px; }
  .mohab-hd-root .mh-product-nav { grid-template-columns: 1fr; }
  .mohab-hd-root .mh-product-nav__feature { display: none; }
}
@media (max-width: 860px) {
  .mohab-hd-root .mh-nav__list,
  .mohab-hd-root .mh-nav__actions,
  .mohab-hd-root .mh-menu { display: none; }
  .mohab-hd-root .mh-nav { justify-content: space-between; }
  .mohab-hd-root .mh-nav__burger { display: flex; }
}
/* 自动隐藏 Fashion 主题自带的默认白色页头，置顶 MOHAB 透明导航栏 */
[id*="shopline-section"][id*="header"]:not(:has(.mohab-hd-root)),
.shopline-section:has(> header:not(.mh-header)),
.shopline-section:has(.header-wrapper),
.shopline-section:has(sticky-header) {
  display: none !important;
}
.mohab-hd-root .mh-header {
  z-index: 9999 !important;
}
.mohab-hd-root .mh-menu {
  z-index: 9990 !important;
}
.mohab-hd-root .mh-backdrop {
  z-index: 9980 !important;
}
.mohab-hd-root .mh-mobile-menu {
  z-index: 9985 !important;
}