:root {
  --h-bg: #eef2f7;
  --h-paper: #ffffff;
  --h-paper-soft: #f7f9fc;
  --h-border: #d8e2ef;
  --h-text: #133B5C;
  --h-muted: #5f7389;
  --h-primary: #0f3a66;
  --h-primary-2: #1a4d82;
  --h-accent: #ff6a00;
  --h-accent-2: #ff8a3d;
  --h-success: #4f8f18;
  --h-shadow-sm: 0 8px 20px rgba(11, 33, 56, 0.08);
  --h-shadow-md: 0 16px 38px rgba(8, 27, 47, 0.12);
  --h-r-xl: 24px;
  --h-r-lg: 18px;
  --h-r-md: 14px;
}

.home-section {
  margin-top: 20px;
  padding: 14px;
  border-radius: 8px;
  border: 1px solid var(--h-border);
  background: #ffffff;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.section-head h2 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 20px !important;
  font-weight: 600;
  color: var(--h-text);
  text-transform: uppercase;
  letter-spacing: 0.25px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.section-head h2::before {
  content: "";
  width: 4px;
  height: 24px;
  border-radius: 12px;
  background: linear-gradient(180deg, var(--h-accent), var(--h-accent-2));
}

.section-head a {
  text-decoration: none;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
  border-radius: 8px;
  background: #133B5C;
  padding: 7px 12px;
}

.section-head a:hover {
  opacity: 0.92;
}

.home-hero {
  margin-top: 6px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr);
  gap: 14px;
}

.hero-main-card,
.hero-side-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--h-r-xl);
  background: #0a1a2f;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: var(--h-shadow-md);
}

.hero-main-card {
  min-height: 470px;
}

.hero-side-card {
  min-height: 228px;
}

.hero-main-card img,
.hero-side-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.hero-main-card:hover img,
.hero-side-card:hover img {
  transform: scale(1.05);
}

.hero-main-card::after,
.hero-side-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(170deg, rgba(15, 58, 102, 0.26), rgba(10, 26, 47, 0.08) 45%, rgba(5, 12, 20, 0.32));
}

.hero-overlay,
.hero-side-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  color: #fff;
  padding: 18px;
  background: linear-gradient(180deg, rgba(5, 14, 24, 0) 10%, rgba(5, 14, 24, 0.9) 82%);
}

.hero-meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.45px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.26);
  background: rgba(13, 30, 49, 0.55);
}

.hero-overlay h1 {
  margin: 0;
  max-width: 90%;
  font-family: "Oswald", sans-serif;
  font-size: clamp(1.6rem, 1rem + 2.4vw, 3rem);
  line-height: 1.04;
  font-weight: 600;
}

.hero-side-overlay h3 {
  margin: 0;
  font-size: 1.16rem;
  line-height: 1.26;
  font-weight: 700;
}

.hero-side-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.brand-section {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 255, 0.94));
}

.brand-strip {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 12px;
}

.brand-pill {
  text-decoration: none;
  color: var(--h-text);
  border: 1px solid #dfe8f3;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 12px 8px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.brand-pill:hover {
  box-shadow: 0 12px 20px rgba(12, 34, 57, 0.1);
}

.brand-logo {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  overflow: hidden;
  background: #fff;
  border: 1px solid #e2e9f3;
  box-shadow: inset 0 0 0 6px #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-name {
  font-size: 0.9rem;
  font-weight: 700;
}

.quick-cat-section {
  padding: 12px;
}

.quick-cat-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.quick-cat-chip {
  text-decoration: none;
  border: 2px solid #133B5C;
  color: #133B5C;
  border-radius: 12px;
  background: #f8fbff;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.quick-cat-chip:hover {
  background: #133B5C;
  color: #fff;
  transform: translateY(-2px);
}

.quick-cat-label {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.1;
}

.quick-cat-count {
  min-width: 20px;
  height: 20px;
  border-radius: 999px;
  border: 1px solid #1b4d80;
  background: #1b4d80;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 700;
}

.h-scroll-wrap {
  position: relative;
}
.h-scroll-wrap.no-overflow .h-nav {
  display: none !important;
}

.h-track {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  overflow: visible;
  padding-bottom: 0;
}

.h-track::-webkit-scrollbar {
  display: none;
}

.mobile-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 10px;
  border: 1px solid #d9e5f2;
  background: #ffffff;
  padding: 12px;
  text-decoration: none;
  color: var(--h-text);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.mobile-card:hover {
  border-color: #bccfe3;
  box-shadow: 0 12px 24px rgba(10, 31, 52, 0.1);
}

.mobile-card img {
  width: 100%;
  height: 132px;
  object-fit: contain;
  margin-top: 6px;
}

.mobile-card h3 {
  margin: 10px 0 8px;
  font-family: "Oswald", sans-serif;
  font-size: 1.05rem;
  line-height: 1.2;
  font-weight: 500;
}

.mobile-card p {
  margin: auto 0 0;
  color: #1f3951;
  font-size: 0.88rem;
  font-weight: 700;
}

.spec-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
  font-weight: 800;
  font-size: 0.88rem;
  border-radius: 10px;
  padding: 7px 9px;
  background: var(--h-success);
}

.h-nav {
  position: absolute;
  top: 44%;
  transform: translateY(-50%);
  z-index: 2;
  width: 30px;
  height: 30px;
  border: 0;
  border-radius: 50%;
  color: #fff;
  background: #133B5C;
  box-shadow: 0 10px 18px rgba(8, 24, 40, 0.22);
  cursor: pointer;
  pointer-events: auto;
}

.h-nav.prev { left: -6px; }
.h-nav.next { right: -6px; }

.top-brand-products {
  background: linear-gradient(145deg, #ffffff, #f7fbff);
}

.brand-product-block + .brand-product-block {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid #dbe7f3;
}

.brand-mini-head {
  margin-bottom: 10px;
}

.brand-mini-head h3 {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--h-text);
  letter-spacing: 0.2px;
  text-transform: uppercase;
}

.compare-section {
  background: linear-gradient(145deg, #ffffff, #f5f9ff);
}

.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.cmp-card {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--h-text);
  border-radius: var(--h-r-md);
  border: 1px solid #dbe7f3;
  background: #fff;
  padding: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cmp-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(11, 31, 52, 0.09);
}

.cmp-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.cmp-item img {
  width: 52px;
  height: 58px;
  object-fit: contain;
}

.cmp-item span {
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  line-height: 1.2;
  font-weight: 500;
}

.cmp-vs {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0f1822;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
}

.content-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.split-full {
  grid-column: 1 / -1;
}

.list-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.list-cards.two-col {
  grid-template-columns: 1fr 1fr;
}

.list-card {
  text-decoration: none;
  color: var(--h-text);
  border-radius: 14px;
  border: 1px solid #dce7f3;
  background: linear-gradient(165deg, #fff, #f5f9fe);
  padding: 10px;
  display: grid;
  grid-template-columns: 1fr 164px;
  align-items: center;
  gap: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.list-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(10, 31, 52, 0.08);
}

.list-copy h4 {
  margin: 0 0 7px;
  font-family: "Oswald", sans-serif;
  font-size: 1.1rem;
  line-height: 1.23;
  font-weight: 500;
}

.list-copy p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.35;
  color: var(--h-muted);
}

.list-card img {
  width: 100%;
  height: 96px;
  border-radius: 11px;
  object-fit: cover;
}

.js-home-motion .home-hero,
.js-home-motion .home-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.js-home-motion .home-hero.is-in,
.js-home-motion .home-section.is-in {
  opacity: 1;
  transform: none;
}

@media (max-width: 1260px) {
  .brand-strip { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .quick-cat-strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .h-track { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 1024px) {
  .home-shell {
    padding: 16px 12px 34px;
  }

  .home-hero {
    grid-template-columns: 1fr;
  }

  .hero-main-card {
    min-height: 340px;
  }

  .hero-side-card {
    min-height: 200px;
  }

  .hero-side-grid {
    grid-template-columns: 1fr 1fr;
  }

  .brand-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-cat-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .compare-grid,
  .content-split,
  .list-cards.two-col {
    grid-template-columns: 1fr;
  }

  .h-track {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .home-section {
    border-radius: 16px;
    padding: 12px;
  }

  .section-head h2::before {
    height: 20px;
  }

  .hero-side-grid {
    grid-template-columns: 1fr;
  }

  .hero-overlay h1 {
    max-width: 100%;
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .brand-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .brand-logo {
    width: 72px;
    height: 72px;
  }

  .h-track { gap: 10px; }

  .h-track {
    grid-template-columns: 1fr;
  }

  .mobile-card { min-height: 260px; }

  .mobile-card img {
    height: 112px;
  }

  .h-nav {
    display: none;
  }

  .cmp-item span {
    font-size: 1rem;
  }

  .list-card {
    grid-template-columns: 1fr 114px;
    gap: 10px;
  }

  .list-copy h4 {
    font-size: 1rem;
  }

  .list-card img {
    height: 76px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .js-home-motion .home-hero,
  .js-home-motion .home-section {
    opacity: 1;
    transform: none;
  }
}
