.mn-catalog-root {
  clear: both;
  margin: -10px 0 38px;
  color: #1f2933;
}

.mn-catalog-root__hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 620px);
  gap: 30px;
  align-items: stretch;
  padding: 0;
  margin-bottom: 28px;
  border: 1px solid #d8dee6;
  border-radius: 14px;
  background: #fff;
  overflow: visible;
  box-shadow: 0 14px 34px rgba(23, 33, 43, 0.08);
}

.mn-catalog-root__hero::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 8px;
  background: #7a2e20;
}

.mn-catalog-root__hero-copy {
  padding: 34px 30px 32px 38px;
  background: linear-gradient(135deg, #f7faf8 0%, #edf3f1 100%);
}

.mn-catalog-root__eyebrow {
  margin: 0 0 9px;
  color: #7a2e20;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.mn-catalog-root__title {
  margin: 0;
  color: #17212b;
  font-size: 40px;
  line-height: 1.04;
  letter-spacing: -0.035em;
}

.mn-catalog-root__intro {
  max-width: 620px;
  margin: 14px 0 0;
  color: #4a5563;
  font-size: 17px;
  line-height: 1.5;
}

.mn-catalog-root__hero-bullets {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.mn-catalog-root__hero-bullets span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(37,56,76,.09);
  color: #25384c;
  font-size: 12px;
  font-weight: 800;
}

.mn-catalog-root__finder {
  display: grid;
  align-content: center;
  gap: 14px;
  padding: 32px 32px 32px 0;
}

.mn-catalog-root__search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 78px;
  gap: 10px;
}

.mn-catalog-root__search input[type="search"] {
  width: 100%;
  min-height: 58px;
  padding: 0 18px;
  border: 1px solid #b8c1cc;
  border-radius: 10px;
  background: #fff;
  color: #17212b;
  font-size: 17px;
}

.mn-catalog-root__search input[type="search"]:focus {
  border-color: #25384c;
  box-shadow: 0 0 0 4px rgba(37, 56, 76, 0.13);
  outline: none;
}

.mn-catalog-root__search button {
  min-height: 58px;
  border: 1px solid #7a2e20;
  border-radius: 10px;
  background: #7a2e20;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  cursor: pointer;
}

.mn-catalog-root__vehicle-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(190px, 250px);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid #dce3ea;
  border-radius: 12px;
  background: #f6f8fa;
}

.mn-catalog-root__vehicle-label {
  color: #4a5563;
  font-size: 14px;
  font-weight: 700;
}

.mn-catalog-root .mn-catalog-root__vehicle-button,
.mn-catalog-root__vehicle-fallback {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid #25384c;
  border-radius: 10px;
  background: #25384c;
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
}

.mn-catalog-root__section {
  margin-top: 28px;
}

.mn-catalog-root__section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 13px;
}

.mn-catalog-root__section-heading h2 {
  margin: 0;
  color: #17212b;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.015em;
}

.mn-catalog-root__popular-grid,
.mn-catalog-root__category-grid {
  display: grid;
  gap: 12px;
}

.mn-catalog-root__popular-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mn-catalog-root__category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.mn-catalog-root__category-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  grid-template-rows: auto auto;
  gap: 4px 13px;
  align-items: center;
  border: 1px solid #d8dee6;
  background: #fff;
  color: #17212b;
  text-decoration: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.mn-catalog-root__category-card:hover,
.mn-catalog-root__category-card:focus {
  border-color: #7a2e20;
  box-shadow: 0 12px 28px rgba(23, 33, 43, 0.12);
  color: #17212b;
  outline: none;
  transform: translateY(-1px);
}

.mn-catalog-root__category-media {
  grid-row: 1 / 3;
  display: flex;
  width: 62px;
  aspect-ratio: 1;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 8px;
  background: #e8edf2;
  color: #25384c;
  font-size: 24px;
  font-weight: 900;
}

.mn-catalog-root__category-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mn-catalog-root__category-name {
  min-width: 0;
  color: #17212b;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.22;
}

.mn-catalog-root__category-count {
  color: #657384;
  font-size: 13px;
  line-height: 1.25;
}

.mn-catalog-root__category-card--popular {
  min-height: 92px;
  padding: 14px;
  border-radius: 12px;
}

.mn-catalog-root__category-card--popular .mn-catalog-root__category-count {
  display: none;
}

.mn-catalog-root__category-card--category {
  grid-template-columns: 36px minmax(0, 1fr);
  min-height: 50px;
  padding: 7px 9px;
  border-radius: 8px;
  background: #fff;
}

.mn-catalog-root__category-card--category .mn-catalog-root__category-media {
  width: 36px;
  border-radius: 6px;
  font-size: 16px;
}

.mn-catalog-root__category-card--category .mn-catalog-root__category-name {
  font-size: 12.5px;
  line-height: 1.15;
}

.mn-catalog-root__category-card--category .mn-catalog-root__category-count {
  font-size: 10.5px;
}

.mn-catalog-root__latest-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.mn-catalog-root__latest-card {
  display: grid;
  gap: 7px;
  padding: 10px;
  min-height: 260px;
  border: 1px solid #e1e6ec;
  border-radius: 8px;
  background: #fff;
  color: #17212b;
  text-decoration: none;
}

.mn-catalog-root__latest-card:hover {
  border-color: #7a2e20;
  box-shadow: 0 10px 24px rgba(23,33,43,.08);
  color: #17212b;
}

.mn-catalog-root__latest-image {
  display: flex;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1.18;
  background: #f5f7f9;
  overflow: hidden;
}

.mn-catalog-root__latest-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mn-catalog-root__latest-meta {
  color: #7b8794;
  font-size: 11px;
}

.mn-catalog-root__latest-title {
  color: #1269c7;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.mn-catalog-root__latest-stock {
  color: #3a7a2e;
  font-size: 12px;
  font-weight: 800;
}

.mn-catalog-root__latest-price {
  margin-top: auto;
  color: #17212b;
  font-size: 16px;
  font-weight: 900;
}

.mn-catalog-root__guide {
  margin-top: 24px;
  padding: 13px 15px;
  border: 1px solid #d8dee6;
  border-radius: 8px;
  background: #f7faf9;
  color: #4a5563;
  font-size: 14px;
  line-height: 1.45;
}

.mn-catalog-root-page .mn-catalog-root__default-loop-hidden {
  display: none !important;
}

.mn-catalog-root-page #secondary,
.mn-catalog-root-page .secondary,
.mn-catalog-root-page .sidebar,
.mn-catalog-root-page .widget-area,
.mn-catalog-root-page .shop-sidebar,
.mn-catalog-root-page .woocommerce-sidebar,
.mn-catalog-root-page aside[role="complementary"] {
  display: none !important;
}

.mn-catalog-root-page #primary,
.mn-catalog-root-page .primary,
.mn-catalog-root-page .content-area,
.mn-catalog-root-page .site-main,
.mn-catalog-root-page .woocommerce-content,
.mn-catalog-root-page .main-content {
  width: 100% !important;
  max-width: 100% !important;
}

.mn-catalog-root-page .mn-catalog-root__force-hide-sidebar {
  display: none !important;
}

.mn-catalog-root-page .mn-catalog-root__fullwidth-main {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.mn-catalog-root-page .th-layout__item.th-layout__item--sidebar,
.mn-catalog-root-page .th-layout__item--sidebar .th-sidebar,
.mn-catalog-root-page .th-layout__item--sidebar .th-sidebar__body {
  display: none !important;
}

.mn-catalog-root-page .th-layout,
.mn-catalog-root-page .th-layout__body,
.mn-catalog-root-page .th-layout__content {
  width: 100% !important;
  max-width: 100% !important;
}

.mn-catalog-root-page .th-layout__item:not(.th-layout__item--sidebar) {
  width: 100% !important;
  max-width: 100% !important;
  flex: 0 0 100% !important;
}

@media (max-width: 1000px) {
  .mn-catalog-root__hero {
    grid-template-columns: 1fr;
  }

  .mn-catalog-root__finder {
    padding: 0 28px 28px 38px;
  }

  .mn-catalog-root__popular-grid,
  .mn-catalog-root__category-grid,
  .mn-catalog-root__latest-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .mn-catalog-root {
    margin-top: 0;
  }

  .mn-catalog-root__hero-copy,
  .mn-catalog-root__finder {
    padding: 20px;
  }

  .mn-catalog-root__title {
    font-size: 30px;
  }

  .mn-catalog-root__search,
  .mn-catalog-root__vehicle-panel {
    grid-template-columns: 1fr;
  }

  .mn-catalog-root__search button {
    width: 100%;
  }

  .mn-catalog-root__popular-grid,
  .mn-catalog-root__category-grid,
  .mn-catalog-root__latest-grid {
    grid-template-columns: 1fr;
  }
}

/* Optional image hero configured from Settings → Catalog Root. */
.mn-catalog-root__hero--image {
  min-height: 360px;
  align-items: end;
  background-size: cover;
  background-position: center;
  border-color: rgba(23, 33, 43, 0.12);
  isolation: isolate;
}

.mn-catalog-root__hero--image::before {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  background: linear-gradient(90deg, rgba(9, 15, 20, 0.76) 0%, rgba(9, 15, 20, 0.54) 46%, rgba(9, 15, 20, 0.24) 100%);
  z-index: -1;
}

.mn-catalog-root__hero--image .mn-catalog-root__hero-copy {
  background: transparent;
  padding: 46px 34px 42px 42px;
}

.mn-catalog-root__hero--image .mn-catalog-root__eyebrow,
.mn-catalog-root__hero--image .mn-catalog-root__title,
.mn-catalog-root__hero--image .mn-catalog-root__intro {
  color: #fff;
  text-shadow: 0 2px 14px rgba(0,0,0,.38);
}

.mn-catalog-root__hero--image .mn-catalog-root__eyebrow {
  color: #f5d9bd;
}

.mn-catalog-root__hero--image .mn-catalog-root__finder {
  padding: 34px 34px 34px 0;
}

.mn-catalog-root__hero--image .mn-catalog-root__search,
.mn-catalog-root__hero--image .mn-catalog-root__vehicle-panel {
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

.mn-catalog-root__hero--image .mn-catalog-root__vehicle-panel {
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.92);
}

@media (max-width: 1000px) {
  .mn-catalog-root__hero--image {
    min-height: 0;
  }

  .mn-catalog-root__hero--image .mn-catalog-root__finder {
    padding: 0 28px 30px 38px;
  }
}

@media (max-width: 560px) {
  .mn-catalog-root__hero--image .mn-catalog-root__hero-copy,
  .mn-catalog-root__hero--image .mn-catalog-root__finder {
    padding: 22px;
  }
}
