/* MOHAB Collection Series Showcase (3-1 ~ 3-8 Universal) — Shopline 3.0 */
.mohab-col {
  --mc-surface: #f4f2ee;
  --mc-line: #e3e0da;
  --mc-ink: #1d1d1f;
  --mc-ink-2: #6e6e73;
  --mc-ink-3: #86868b;
  --mc-green: #384521;
  --mc-gold: #d28f26;
  --mc-nav-h: 48px;
  --mc-ease: cubic-bezier(0.22, 1, 0.36, 1);
  background: #ffffff;
  color: var(--mc-ink);
  font-family: "DIN Condensed", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", sans-serif;
}
.mohab-col *,
.mohab-col *::before,
.mohab-col *::after {
  box-sizing: border-box;
}
.mohab-col a {
  text-decoration: none;
  color: inherit;
}

/* 1. Top Series Banner (36:9 wide on desktop, aligned to 6% site gutter) */
.mohab-col__hero {
  position: relative;
  width: 100%;
  min-height: 280px;
  aspect-ratio: 36 / 9;
  max-height: 460px;
  overflow: hidden;
  background: radial-gradient(circle at 60% 20%, #2c373c 0%, #13171b 70%, #0b0d10 100%);
  display: flex;
  align-items: flex-end;
}
.mohab-col__hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.mohab-col__hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.56) 0%, rgba(0, 0, 0, 0.08) 70%),
    linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.16) 55%, rgba(0, 0, 0, 0.1) 100%);
}
.mohab-col__hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 72px 6% 40px;
  color: #ffffff;
}
.mohab-col__eyebrow {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}
.mohab-col__title {
  margin: 8px 0 0;
  font-size: clamp(36px, 4.6vw, 76px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: #ffffff;
}
.mohab-col__sub {
  margin: 12px 0 0;
  max-width: 640px;
  font-size: clamp(15px, 1.25vw, 19px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
}

/* 2. Body container aligned to 6% gutter */
.mohab-col__body {
  padding: 44px 6% 110px;
}

/* 8-Series Quick Navigation Bar */
.mohab-col__series-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--mc-line);
}
.mohab-col__pill {
  padding: 9px 16px;
  border: 1px solid rgba(56, 69, 33, 0.28) !important;
  border-radius: 8px;
  background: #ffffff;
  color: var(--mc-green) !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1;
  text-transform: uppercase;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}
.mohab-col__pill:hover {
  border-color: var(--mc-green) !important;
  background: rgba(56, 69, 33, 0.07);
}
.mohab-col__pill.is-active {
  border-color: var(--mc-green) !important;
  background: var(--mc-green) !important;
  color: #ffffff !important;
}

/* Main 2-column layout: Sticky Vehicle Filter + 2-up Product Grid */
.mohab-col__layout {
  display: grid;
  grid-template-columns: clamp(260px, 19vw, 360px) minmax(0, 1fr);
  gap: clamp(28px, 2.6vw, 44px);
  align-items: start;
}

/* Sticky Vehicle Filter Sidebar */
.mohab-col__filter {
  position: sticky;
  top: calc(var(--mc-nav-h) + 24px);
  padding: 22px 22px 18px;
  border: 1px solid var(--mc-line);
  border-radius: 6px;
  background: #ffffff;
}
.mohab-col__filter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.mohab-col__filter-title {
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mc-ink-3);
}
.mohab-col__filter-total {
  font-size: 12px;
  color: var(--mc-ink-3);
}
.mohab-col__option {
  display: grid;
  grid-template-columns: 16px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 11px 0;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.3;
  color: var(--mc-ink);
  transition: color 0.15s ease;
}
.mohab-col__option + .mohab-col__option {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.mohab-col__option:hover {
  color: var(--mc-green);
}
.mohab-col__option input {
  margin: 0;
  accent-color: var(--mc-gold);
  cursor: pointer;
  width: 15px;
  height: 15px;
}
.mohab-col__count {
  font-size: 12px;
  color: var(--mc-ink-3);
  font-variant-numeric: tabular-nums;
}

/* 3D Configurator Promo Card inside sidebar */
.mohab-col__promo {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--mc-line);
}
.mohab-col__promo-text {
  margin: 0 0 10px;
  font-size: 13px;
  line-height: 1.45;
  color: var(--mc-ink-2);
}
.mohab-col__promo-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 9px 14px;
  border-radius: 4px;
  background: var(--mc-green);
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.2s ease;
}
.mohab-col__promo-btn:hover {
  background: var(--mc-gold);
}

/* Product Grid */
.mohab-col__results {
  min-width: 0;
}
.mohab-col__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

/* Product Card */
.mohab-col__card {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--mc-line);
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  transition: transform 0.45s var(--mc-ease), box-shadow 0.45s var(--mc-ease), border-color 0.3s ease;
}
.mohab-col__card[hidden] {
  display: none !important;
}
.mohab-col__card:hover {
  transform: translateY(-5px);
  border-color: rgba(56, 69, 33, 0.35);
  box-shadow: 0 22px 46px rgba(18, 22, 16, 0.1);
}

.mohab-col__media {
  position: relative;
  display: block;
  aspect-ratio: 16 / 10;
  background: var(--mc-surface);
  overflow: hidden;
}
.mohab-col__img-primary {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 3%;
  object-fit: contain;
  display: block;
  opacity: 1;
  transform: scale(1);
  transition: transform 0.65s var(--mc-ease), opacity 0.45s var(--mc-ease);
  z-index: 1;
}
.mohab-col__img-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  object-fit: var(--mc-hover-fit, contain);
  background: var(--mc-surface);
  display: block;
  opacity: 0;
  transform: scale(1.06);
  transition: transform 0.7s var(--mc-ease), opacity 0.45s var(--mc-ease);
  z-index: 2;
}
.mohab-col__card:hover .mohab-col__media:not(.has-hover-img) .mohab-col__img-primary {
  transform: scale(1.05);
}
.mohab-col__card:hover .mohab-col__media.has-hover-img .mohab-col__img-primary {
  opacity: 0;
  transform: scale(1.04);
}
.mohab-col__card:hover .mohab-col__media.has-hover-img .mohab-col__img-hover {
  opacity: 1;
  transform: scale(1.01);
}
.mohab-col__badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 3;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(15, 18, 16, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s var(--mc-ease) 0.08s, transform 0.45s var(--mc-ease) 0.08s;
  pointer-events: none;
}
.mohab-col__card:hover .mohab-col__media.has-hover-img .mohab-col__badge {
  opacity: 1;
  transform: translateY(0);
}
.mohab-col__placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--mc-ink-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.mohab-col__card-body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
}
.mohab-col__card-title {
  margin: 0;
  font-size: clamp(22px, 1.9vw, 28px);
  font-weight: 900;
  line-height: 1.08;
  text-transform: uppercase;
  color: var(--mc-green) !important;
}
.mohab-col__card-title a {
  color: var(--mc-green) !important;
  transition: color 0.2s ease;
}
.mohab-col__card:hover .mohab-col__card-title a {
  color: var(--mc-gold) !important;
}
.mohab-col__card-sub {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--mc-ink-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mohab-col__fitment-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}
.mohab-col__fit-pill {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  background: rgba(210, 143, 38, 0.12);
  color: var(--mc-gold);
}
.mohab-col__card-foot {
  margin-top: auto;
  padding-top: 18px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.mohab-col__price {
  font-size: 19px;
  font-weight: 700;
  color: var(--mc-green);
}
.mohab-col__price * {
  color: var(--mc-green) !important;
  font-size: 19px !important;
  font-weight: 700 !important;
}
.mohab-col__price s,
.mohab-col__price del,
.mohab-col__price [class*="origin"] {
  color: var(--mc-ink-3) !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  margin-left: 6px;
}

.mohab-col__cta {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 10px 18px;
  border: 1px solid var(--mc-ink-3) !important;
  border-radius: 2px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--mc-ink-2) !important;
  background: transparent;
  transition: color 0.3s var(--mc-ease), border-color 0.3s var(--mc-ease);
  z-index: 1;
}
.mohab-col__cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--mc-green);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s var(--mc-ease);
  z-index: -1;
}
.mohab-col__cta svg {
  transition: transform 0.3s var(--mc-ease);
}
.mohab-col__card:hover .mohab-col__cta {
  border-color: var(--mc-green) !important;
  color: #ffffff !important;
}
.mohab-col__card:hover .mohab-col__cta::before {
  transform: scaleX(1);
}
.mohab-col__card:hover .mohab-col__cta svg {
  transform: translateX(4px);
}

.mohab-col__empty {
  padding: 48px 24px;
  border: 1px dashed var(--mc-line);
  border-radius: 8px;
  text-align: center;
  color: var(--mc-ink-2);
  font-size: 15px;
}
.mohab-col__empty[hidden] {
  display: none;
}
.mohab-col__reset {
  margin-left: 8px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--mc-gold);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 1080px) {
  .mohab-col__layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .mohab-col__filter {
    position: static;
  }
}
@media (max-width: 720px) {
  .mohab-col__hero {
    aspect-ratio: auto;
    min-height: 240px;
  }
  .mohab-col__hero-inner {
    padding: 72px 6% 28px;
  }
  .mohab-col__body {
    padding: 28px 6% 72px;
  }
  .mohab-col__pill {
    padding: 7px 12px;
    font-size: 12px;
  }
  .mohab-col__grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
