/**
 * Auto-Moto catalog — dark automotive surface + red/yellow accents
 */
body.auto-page {
  --brand-accent: #1d1d1b;
  --brand-accent-dark: #111110;
  --brand-surface: #f6f4f1;
  --lm-red: #d0122d;
}

body.auto-page .auto-hero {
  background: var(--brand-surface);
  border-bottom: 4px solid var(--lm-red);
  padding: 56px 0 48px;
  position: relative;
  overflow: hidden;
  color: #1a1a2e;
}

body.auto-page .auto-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 88% 22%, rgba(208, 18, 45, 0.12), transparent 55%),
    linear-gradient(135deg, #f7f4ef 0%, #efe8e2 48%, #e4ddd4 100%);
  pointer-events: none;
}

.auto-hero .container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.auto-hero__logo { height: 72px; width: auto; max-width: min(100%, 420px); margin-bottom: 16px; border-radius: 12px; }
.auto-hero__eyebrow {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--lm-red);
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.auto-hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 0 0 12px;
}
.auto-hero__title span { color: var(--brand-accent); }
.auto-hero__subtitle { font-size: var(--text-lg); margin: 0 0 12px; color: #334; }
.auto-hero__badge {
  display: inline-block;
  background: #fff;
  border: 1px solid #c5d0e6;
  border-radius: 999px;
  padding: 4px 12px;
  font-size: var(--text-xs);
  font-weight: 700;
  margin-bottom: 12px;
}
.auto-hero__desc { color: var(--text-muted); line-height: 1.7; margin: 0 0 20px; }
.auto-hero__stats { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 20px; }
.auto-hero__stat {
  background: #fff;
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
  min-width: 110px;
}
.auto-hero__stat strong { display: block; font-size: var(--text-lg); color: var(--brand-accent); }
.auto-hero__stat span { font-size: var(--text-sm); color: var(--text-muted); }
.auto-hero__visual img {
  width: 100%;
  aspect-ratio: 3 / 2;
  max-height: 420px;
  object-fit: cover;
  object-position: center 46%;
  border-radius: var(--radius-lg);
  background: #141311;
  box-shadow: 0 16px 40px rgba(17, 17, 16, 0.22);
}

.auto-trust-bar { background: #003399; color: #fff; padding: 22px 0; }
.auto-trust-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.auto-trust-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-align: start;
}
.auto-trust-item__icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffde00;
}
.auto-trust-item__icon .bd-icon {
  color: #ffde00;
  width: 24px;
  height: 24px;
}
.auto-trust-item strong { display: block; font-size: var(--text-sm); margin-bottom: 4px; color: #fff; }
.auto-trust-item span { font-size: var(--text-xs); opacity: 0.88; line-height: 1.45; color: rgba(255, 255, 255, 0.9); }

.auto-quick-series-wrap {
  background: #fff;
  border-bottom: 1px solid var(--gray-200);
  padding: 14px 0;
}
.auto-quick-series {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.auto-quick-series__item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  background: #fafafa;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.auto-quick-series__item:hover {
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}
.auto-quick-series__tag {
  font-size: 11px;
  font-weight: 700;
  color: var(--lm-red);
  background: #ffe8ea;
  padding: 2px 8px;
  border-radius: 999px;
  width: fit-content;
}
.auto-quick-series__hint { font-size: var(--text-xs); color: var(--text-muted); }

.auto-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  padding: 12px 16px;
  background: #f4f0ea;
  border-bottom: 1px solid #ddd4c8;
  position: sticky;
  top: var(--header-height, 72px);
  z-index: 20;
}
.auto-cat-nav__item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: #fff;
  border: 1px solid #d0d8ea;
  border-radius: 999px;
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  color: #1a1a2e;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.auto-cat-nav__item .bd-icon {
  color: var(--brand-accent);
  width: 18px;
  height: 18px;
}
.auto-cat-nav__item:hover,
.auto-cat-nav__item.active {
  border-color: var(--brand-accent);
  color: var(--brand-accent);
  background: #eef3ff;
}

.auto-shop-chrome {
  position: sticky;
  top: var(--header-height, 72px);
  z-index: 40;
}
.auto-shop-parents {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  background: #161616;
  padding: 0 8px;
}
.auto-shop-parents::-webkit-scrollbar { display: none; }
.auto-shop-parents a {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 14px;
  white-space: nowrap;
}
.auto-shop-parents a:hover,
.auto-shop-parents a:focus-visible {
  color: #fff;
}
.auto-shop-parents a.is-current {
  color: #fff;
  box-shadow: inset 0 -2px 0 #d0122d;
}
body.auto-page .breadcrumbs-wrap {
  padding-bottom: 8px;
}
.auto-cat-bar {
  position: relative;
  top: auto;
  z-index: 1;
  background: #d0122d;
}
.auto-cat-bar .auto-cat-nav {
  position: static;
  background: transparent;
  border: 0;
}
body.auto-page .auto-cat-nav--shop {
  display: flex;
  flex-wrap: nowrap;
  gap: 0;
  justify-content: center;
  padding: 0 8px;
  overflow-x: auto;
  scrollbar-width: none;
  background: #d0122d;
  border: 0;
}
body.auto-page .auto-cat-nav--shop::-webkit-scrollbar { display: none; }
body.auto-page .auto-cat-nav--shop .auto-cat-nav__item {
  background: transparent;
  border: 0;
  border-radius: 0;
  color: #fff;
  padding: 13px 15px;
  font-size: 0.82rem;
  font-weight: 800;
  white-space: nowrap;
}
body.auto-page .auto-cat-nav--shop .auto-cat-nav__item .bd-icon { display: none; }
body.auto-page .auto-cat-nav--shop .auto-cat-nav__item:hover,
body.auto-page .auto-cat-nav--shop .auto-cat-nav__item.active,
body.auto-page .auto-cat-nav--shop .auto-cat-nav__item.is-open {
  background: #111;
  color: #fff;
  border-color: transparent;
}
.auto-subnav {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: #fff;
  border-bottom: 1px solid #eee;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.12);
  padding: 22px 20px 28px;
  max-height: min(78vh, 640px);
  overflow: auto;
}
.auto-subnav__inner { max-width: 1180px; margin: 0 auto; }
.auto-subnav__all {
  display: inline-block;
  margin-bottom: 16px;
  color: #d0122d;
  font-weight: 800;
  text-decoration: none;
}
.auto-subnav__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px 16px;
}
.auto-subnav__tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  text-decoration: none;
  color: #5b5b5b;
  font-size: 0.9rem;
  font-weight: 600;
}
.auto-subnav__tile img {
  width: 100%;
  max-width: 160px;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}
.auto-subnav__tile:hover { color: #111; }
.auto-subnav__cols {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px 28px;
}
.auto-subnav__col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.auto-subnav__col-img {
  width: 100%;
  max-width: 140px;
  aspect-ratio: 1;
  object-fit: contain;
  margin-bottom: 8px;
}
.auto-subnav__col h3 {
  margin: 0 0 10px;
  font-size: 1rem;
  color: #222;
}
.auto-subnav__col ul { list-style: none; margin: 0; padding: 0; }
.auto-subnav__col a {
  display: block;
  padding: 4px 0;
  color: #6a6a6a;
  text-decoration: none;
}
.auto-subnav__col a:hover { color: #d0122d; }
.auto-leaf-chip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 8px 0 0;
  font-size: 0.9rem;
  color: #333;
}
.auto-leaf-chip button {
  border: 1px solid #d0122d;
  background: #fff;
  color: #d0122d;
  border-radius: 999px;
  padding: 4px 10px;
  font-weight: 700;
  cursor: pointer;
}

.auto-why-grid, .auto-steps, .auto-highlights, .auto-iran-grid, .auto-supply-grid, .auto-industries-grid {
  display: grid;
  gap: 16px;
}
.auto-why-grid { grid-template-columns: repeat(2, 1fr); }
.auto-steps { grid-template-columns: repeat(5, 1fr); }
.auto-highlights {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}

.auto-highlight-card {
  height: 100%;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
}

.auto-highlight-card__media {
  position: relative;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  background: linear-gradient(180deg, #fff 0%, #eef2f9 100%);
  overflow: hidden;
}

.auto-highlight-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 16px;
  box-sizing: border-box;
}

.auto-highlight-card__media img.is-broken {
  opacity: 0.4;
  padding: 28%;
}

.auto-highlight-card__body {
  gap: 6px;
  padding: 14px 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
  border-top: 3px solid var(--lm-red);
  min-height: 0;
}

.auto-highlight-card__tr {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
  min-height: 1.1em;
}

.auto-highlight-card h3 {
  font-size: 0.95rem;
  line-height: 1.35;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.7em;
}

.auto-highlight-card .auto-price {
  min-height: 1.7rem;
  margin: 2px 0 4px;
}

.auto-highlight-card__desc,
.auto-highlight-card__body > p.auto-highlight-card__desc {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.6em;
  flex: 0 0 auto;
}

.auto-highlight-card__body > p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-muted);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.6em;
}

.auto-highlight-card__usecase {
  font-size: 0.78rem !important;
  min-height: 2.5em !important;
  -webkit-line-clamp: 2 !important;
  margin: 0;
}

.auto-highlight-card__foot {
  margin-top: auto;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 0 0 auto;
}

.auto-highlight-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 0;
  padding-top: 0;
}

.auto-highlight-card__actions .btn {
  width: 100%;
  min-width: 0;
  justify-content: center;
  min-height: 40px;
  padding: 8px 6px;
  font-size: 0.75rem;
  white-space: nowrap;
}

.auto-series-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  height: 100%;
  min-height: 100%;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.auto-series-card:hover {
  border-color: var(--brand-accent);
  box-shadow: var(--shadow-sm);
}

.auto-series-card__media {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 100%;
  aspect-ratio: 1 / 1;
  background: linear-gradient(180deg, #fff 0%, #f3f5fa 100%);
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid rgba(15, 23, 42, 0.06);
  color: inherit;
  text-decoration: none;
  cursor: pointer;
}
button.auto-series-card__media {
  padding: 0;
  font: inherit;
  text-align: inherit;
  appearance: none;
}
.auto-highlight-card__media {
  display: block;
  color: inherit;
  text-decoration: none;
}

.auto-series-card__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  padding: 12px;
  box-sizing: border-box;
}

.auto-series-card__img.is-broken {
  opacity: 0.35;
  padding: 28%;
}

.auto-series-card__img--photo {
  padding: 0;
  background: #fff;
}

.auto-series-card__price--quote,
.auto-price--quote .auto-price__label {
  color: var(--lm-red);
  font-weight: 700;
}

.auto-series-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
  min-height: 0;
}

.auto-series-card__body strong {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 3.9em;
  font-size: var(--text-sm);
  line-height: 1.3;
  margin: 0;
}

.auto-series-card__price {
  display: inline-block;
  margin-top: 6px;
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--brand-accent);
}

.auto-series-card__thumbs,
.auto-drawer__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.auto-series-card__thumb {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}
.auto-series-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.auto-series-card__thumb.is-active,
.auto-drawer__thumb.is-active,
.auto-series-card__swatch.is-active,
.auto-drawer__swatch.is-active {
  border-color: var(--lm-red);
  box-shadow: 0 0 0 2px rgba(208, 18, 45, 0.25);
}
.auto-series-card__swatches,
.auto-drawer__swatches,
.auto-drawer__sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.auto-series-card__swatch,
.auto-drawer__swatch {
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 2px solid #fff;
  box-shadow: 0 0 0 1px #c5c5c5;
  padding: 0;
  cursor: pointer;
}
.auto-series-card__sizes {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}
.auto-series-card__badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: var(--lm-red);
  background: #fff1f2;
  border-radius: 999px;
  padding: 2px 8px;
}
.auto-series-card__name {
  margin: 0;
  font-size: var(--text-sm);
  line-height: 1.4;
  overflow-wrap: break-word;
  word-break: normal;
  unicode-bidi: isolate;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.auto-series-card__note {
  margin: 0;
  font-size: 12px;
  color: var(--text-muted);
}
.auto-series-card__desc,
.auto-drawer__desc {
  margin: 0;
  font-size: 13px;
  line-height: 1.7;
  color: #334;
  overflow-wrap: break-word;
  unicode-bidi: isolate;
}
.auto-series-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.auto-series-card__specs,
.auto-drawer__specs {
  margin: 8px 0 0;
  display: grid;
  gap: 0;
}
.auto-series-card__specs div,
.auto-drawer__spec {
  display: grid;
  grid-template-columns: 5.5em minmax(0, 1fr);
  align-items: baseline;
  gap: 8px;
  font-size: 12px;
  padding: 5px 0;
  border-bottom: 1px solid #eee;
  unicode-bidi: isolate;
}
.auto-series-card__specs dt,
.auto-drawer__spec dt {
  margin: 0;
  flex: 0 0 auto;
  color: var(--text-muted);
}
.auto-series-card__specs dd,
.auto-drawer__spec dd {
  margin: 0;
  min-width: 0;
  text-align: start;
  overflow-wrap: anywhere;
}
.auto-series-card__features,
.auto-drawer__features {
  margin: 6px 0 0;
  padding-inline-start: 1.15em;
  font-size: 12px;
  color: #334;
}
.auto-series-card__foot {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 10px;
}
.auto-series-card__foot .auto-price {
  margin: 0;
  min-height: 46px;
  justify-content: flex-end;
}
.auto-series-card__detail {
  margin-top: 0;
  width: 100%;
  background: #fff;
  border: 1px solid #d0d0d0;
  color: #1d1d1b;
  white-space: normal;
  line-height: 1.3;
  text-align: center;
}
.auto-series-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: auto;
  padding-top: 10px;
}
.auto-series-card__cta { flex: 1; min-width: 110px; justify-content: center; }

.auto-drawer {
  position: fixed;
  inset: 0;
  z-index: 80;
}
.auto-drawer[hidden] { display: none !important; }
.auto-drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(17, 17, 16, 0.55);
}
.auto-drawer__panel {
  position: relative;
  margin: 4vh auto;
  width: min(980px, calc(100% - 24px));
  max-height: 92vh;
  overflow: auto;
  background: #fff;
  border-radius: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding: 24px;
  box-shadow: 0 16px 48px rgba(0,0,0,0.2);
}
.auto-drawer__close {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: #f3efe8;
  font-size: 24px;
  cursor: pointer;
}
.auto-drawer__media > img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: #f6f4f1;
  border-radius: 12px;
}
.auto-drawer__thumbs {
  margin-top: 8px;
}
.auto-drawer__thumb {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}
.auto-drawer__thumb img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}
.auto-drawer__sku { margin: 0 0 4px; font-size: 12px; color: var(--text-muted); }
.auto-drawer__info h2 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.4;
  overflow-wrap: break-word;
  unicode-bidi: isolate;
}
.auto-drawer__label { margin: 14px 0 6px; font-weight: 700; font-size: 13px; }
.auto-drawer__size {
  min-width: 44px;
  height: 36px;
  border: 1px solid #d0d0d0;
  background: #fff;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}
.auto-drawer__size.is-active {
  border-color: var(--lm-red);
  background: #fff1f2;
  color: var(--lm-red);
}
.auto-drawer__specs { margin: 12px 0 0; }
.auto-drawer__box { margin: 12px 0 0; font-size: 13px; color: #334; }
.auto-drawer__actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
body.auto-drawer-open { overflow: hidden; }

.auto-series-card__link {
  display: block;
  margin-top: auto;
  padding-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--lm-red);
}

.auto-series-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.auto-catalog-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 1.25rem;
}

.auto-catalog-search {
  display: block;
  flex: 1 1 240px;
  max-width: 420px;
  min-width: 0;
}

.auto-catalog-brand {
  flex: 0 1 220px;
  min-width: 0;
}

.auto-catalog-brand select {
  width: 100%;
  min-height: 46px;
  min-width: 0;
  padding: 0.7rem 1rem;
  border: 1px solid #d0d8ea;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  color: inherit;
}

.auto-catalog-search input {
  width: 100%;
  min-height: 46px;
  padding: 0.7rem 1rem;
  border: 1px solid #d0d8ea;
  border-radius: 999px;
  background: #fff;
  font: inherit;
  color: inherit;
}

.auto-catalog-search input:focus {
  outline: 2px solid rgba(0, 51, 153, 0.25);
  border-color: var(--brand-accent);
}

.auto-catalog-empty {
  margin: 0 0 1rem;
  padding: 0.85rem 1rem;
  background: #fff8f8;
  border: 1px solid #f5c2c7;
  border-radius: var(--radius);
  color: #8a1020;
  font-size: var(--text-sm);
}

.auto-catalog-meta {
  flex: 1 1 100%;
  margin: 0;
  color: #5c584f;
  font-size: var(--text-sm);
}

.auto-series-more {
  display: flex;
  justify-content: center;
  margin: 1rem 0 0;
}

.auto-series-more__btn {
  min-width: 12rem;
}

.auto-cat-nav {
  top: var(--header-height, 72px);
  backdrop-filter: blur(8px);
  background: rgba(244, 240, 234, 0.94);
}

.auto-moto-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1100px) {
  .auto-highlights {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .auto-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .auto-highlights {
    grid-template-columns: 1fr;
  }

  .auto-catalog-search {
    max-width: none;
  }
}
.auto-iran-grid, .auto-supply-grid { grid-template-columns: repeat(3, 1fr); }
.auto-iran-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.auto-industries-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }

.auto-iran {
  position: relative;
  background:
    radial-gradient(ellipse 50% 40% at 100% 0%, rgba(227, 6, 19, 0.06), transparent 55%),
    radial-gradient(ellipse 45% 35% at 0% 100%, rgba(0, 51, 153, 0.07), transparent 50%),
    linear-gradient(180deg, #f7f9fc 0%, #eef3fa 100%);
  overflow: hidden;
}

.auto-iran::before {
  content: '';
  position: absolute;
  inset-inline-end: -40px;
  top: 40px;
  width: 180px;
  height: 8px;
  background: linear-gradient(90deg, #000 0 33%, #e30613 33% 66%, #ffde00 66%);
  opacity: 0.35;
  border-radius: 4px;
  pointer-events: none;
}

.auto-why-card, .auto-step, .auto-supply-card, .auto-industry-card {
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 18px;
}

.auto-iran-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #d7e0ef;
  border-radius: 18px;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 10px 28px rgba(10, 31, 77, 0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  animation: autoIranIn 0.55s ease both;
  animation-delay: calc(var(--iran-i, 0) * 70ms);
}

.auto-iran-card:hover {
  transform: translateY(-6px);
  border-color: #003399;
  box-shadow: 0 18px 40px rgba(0, 51, 153, 0.14);
}

.auto-iran-card__media {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0a1f4d;
}

.auto-iran-card__media::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 28%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.18));
  pointer-events: none;
}

.auto-iran-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.auto-iran-card:hover .auto-iran-card__media img {
  transform: scale(1.04);
}

.auto-iran-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 22px;
  flex: 1;
}

.auto-iran-card__body h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #0a1f4d;
  line-height: 1.35;
}

.auto-iran-card__body p {
  margin: 0;
  font-size: var(--text-sm);
  color: var(--text-muted);
  line-height: 1.7;
  flex: 1;
}

.auto-why-card__icon,
.auto-iran-card__icon,
.auto-industry-card__icon,
.auto-supply-card__icon,
.auto-category-block__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: #eef3ff;
  color: var(--brand-accent);
}

.auto-iran-card__icon {
  margin-bottom: 4px;
  width: 40px;
  height: 40px;
  background: linear-gradient(145deg, #eef3ff, #dce6f8);
  border: 1px solid #c9d7ef;
}

.auto-iran-card--tone-1 .auto-iran-card__icon { color: #003399; }
.auto-iran-card--tone-2 .auto-iran-card__icon { color: #b00510; background: linear-gradient(145deg, #ffe8ea, #ffd4d7); border-color: #f3b4b8; }
.auto-iran-card--tone-3 .auto-iran-card__icon { color: #8a7400; background: linear-gradient(145deg, #fff8d6, #ffe9a8); border-color: #f0d97a; }
.auto-iran-card--tone-4 .auto-iran-card__icon { color: #003399; }

.auto-why-card__icon .bd-icon,
.auto-iran-card__icon .bd-icon,
.auto-industry-card__icon .bd-icon,
.auto-supply-card__icon .bd-icon,
.auto-category-block__icon .bd-icon {
  color: inherit;
  width: 24px;
  height: 24px;
}

.auto-iran-card--link { text-decoration: none; color: inherit; }
.auto-industry-card--link { text-decoration: none; color: inherit; }

.auto-iran-card__models {
  display: inline-flex;
  align-self: flex-start;
  margin-top: 4px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f0f4fb;
  border: 1px solid #d5deee;
  color: #003399;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.auto-iran-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  font-size: var(--text-sm);
  font-weight: 800;
  color: var(--brand-accent);
}

.auto-iran-card:hover .auto-iran-card__cta {
  color: var(--lm-red);
}

.auto-iran__note {
  margin: 28px auto 0;
  max-width: 46rem;
  text-align: center;
  color: var(--text-muted);
  font-size: var(--text-sm);
  line-height: 1.7;
}

@keyframes autoIranIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .auto-iran-card,
  .auto-iran-card__media img {
    animation: none !important;
    transition: none !important;
  }
}
.auto-step__num {
  display: inline-flex;
  width: 32px; height: 32px;
  align-items: center; justify-content: center;
  background: var(--brand-accent); color: #fff;
  border-radius: 50%; font-weight: 800; margin-bottom: 10px;
}
.auto-highlight-card__badge { color: var(--lm-red); font-weight: 800; font-size: var(--text-xs); }
.auto-price {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  margin: 8px 0 4px;
}
.auto-price strong {
  font-size: 1.2rem;
  color: var(--brand-accent);
  font-weight: 800;
  unicode-bidi: isolate;
  direction: ltr;
}
.auto-price span { font-size: var(--text-xs); color: var(--text-muted); }

.auto-quote-box {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 24px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 28px;
}
.auto-quote-box__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.auto-quote-box__list li { padding-inline-start: 22px; position: relative; font-size: var(--text-sm); }
.auto-quote-box__list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0; top: 0.45em;
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--lm-red);
}
.auto-quote-box__tip {
  display: none !important;
}
.auto-quote-box__actions { display: flex; flex-direction: column; gap: 12px; }

.auto-catalog-group {
  margin: 8px 0 28px;
  padding: 18px 20px;
  border-right: 4px solid var(--lm-red);
  background: #fff;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
}
.auto-catalog-group__title {
  margin: 0 0 6px;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
  font-family: var(--font-display);
}
.auto-catalog-group__desc {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.6;
}
.auto-category-block {
  margin-bottom: 40px;
  scroll-margin-top: 80px;
  content-visibility: auto;
  contain-intrinsic-size: 0 820px;
}
.auto-catalog-meta.is-loading,
.auto-catalog-loading {
  color: var(--text-muted);
}
.auto-category-block__head {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 20px;
  margin-bottom: 16px;
  align-items: center;
}
.auto-category-block__visual img {
  width: 100%; border-radius: var(--radius); object-fit: contain; max-height: 120px; background: #f3f5fa;
}
.auto-series-card--featured { border-color: #f5a3a8; background: #fff8f8; }
.auto-series-card__body > span:not(.auto-series-card__price):not(.auto-series-card__link) {
  font-size: var(--text-xs);
  color: var(--text-muted);
}

.auto-faq__item { background: #fff; border: 1px solid var(--gray-200); border-radius: var(--radius); margin-bottom: 8px; }
.auto-faq__item summary { padding: 14px 18px; cursor: pointer; font-weight: 700; }
.auto-faq__item p { padding: 0 18px 14px; margin: 0; color: var(--text-muted); font-size: var(--text-sm); }

.auto-rate-note {
  display: none !important;
}

.auto-sticky-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: var(--z-dropdown);
  background: #001a4d; color: #fff;
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}
.auto-sticky-cta.is-visible { transform: translateY(0); }
.auto-sticky-cta__text { display: flex; flex-direction: column; gap: 2px; }
.auto-sticky-cta__text span { font-size: 11px; opacity: 0.75; }
.auto-sticky-cta__actions { display: flex; gap: 8px; }
.auto-sticky-cta__actions .btn { padding: 10px 14px; font-size: var(--text-sm); }

.auto-official-note { margin-top: 24px; font-size: var(--text-sm); color: var(--text-muted); text-align: center; }
.auto-official-note a { color: var(--brand-accent); }

@media (max-width: 1024px) {
  .auto-hero .container { grid-template-columns: 1fr; min-width: 0; }
  .auto-hero__visual { order: -1; }
  .auto-hero__visual img { max-height: 280px; }
  .auto-trust-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .auto-steps { grid-template-columns: repeat(3, 1fr); }
  .auto-why-grid, .auto-iran-grid, .auto-supply-grid { grid-template-columns: repeat(2, 1fr); }
  .auto-quote-box, .auto-category-block__head { grid-template-columns: 1fr; }
  .auto-quick-series { grid-template-columns: 1fr 1fr; }
  .auto-series-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
}
@media (max-width: 768px) {
  body.auto-page { overflow-x: clip; }
  .auto-hero { padding: 32px 0 28px; }
  .auto-hero__title { font-size: clamp(1.35rem, 7vw, 2rem); }
  .auto-hero .hero__actions,
  .auto-hero .hero__actions--center,
  .cta-banner .hero__actions { flex-wrap: wrap; }
  .auto-hero .hero__actions .btn,
  .cta-banner .hero__actions .btn { flex: 1 1 140px; }
  .auto-hero__stat { flex: 1 1 calc(50% - 12px); min-width: 0; }
  .auto-trust-bar__inner, .auto-steps, .auto-why-grid, .auto-iran-grid, .auto-supply-grid, .auto-highlights, .auto-quick-series { grid-template-columns: 1fr; }
  .auto-series-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .auto-series-card__actions { flex-direction: column; }
  .auto-series-card__cta { min-width: 0; width: 100%; }
  .auto-catalog-toolbar { flex-direction: column; align-items: stretch; }
  .auto-catalog-search,
  .auto-catalog-brand { max-width: none; width: 100%; flex: 1 1 auto; }
  .auto-cat-nav {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    justify-content: flex-start;
    scrollbar-width: none;
    padding-inline: 12px;
  }
  .auto-cat-nav::-webkit-scrollbar { display: none; }
  .auto-cat-nav__item { flex: 0 0 auto; }
  body.auto-page .auto-cat-nav--shop { justify-content: flex-start; }
  .auto-subnav__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
  .auto-category-block__visual { max-width: 140px; }
  .auto-sticky-cta {
    bottom: calc(56px + env(safe-area-inset-bottom, 0px));
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
  }
  .auto-sticky-cta__text { min-width: 0; }
  .auto-sticky-cta__text span { display: none; }
  .auto-sticky-cta__actions .btn { padding: 10px 12px; }
  .auto-drawer__panel {
    grid-template-columns: 1fr;
    width: 100%;
    margin: 0;
    max-height: 100dvh;
    border-radius: 16px 16px 0 0;
    padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px));
  }
  body.auto-page .footer { padding-bottom: calc(148px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 360px) {
  .auto-series-grid { grid-template-columns: 1fr; }
  .auto-trust-bar__inner,
  .auto-steps { grid-template-columns: 1fr; }
}

.auto-series-card__permalink { color: inherit; text-decoration: none; }
.auto-series-card__permalink:hover { text-decoration: underline; }
.am-hub { padding: 28px 0 64px; }
.am-hub__lead { max-width: 42rem; margin: 0 0 28px; color: #334; line-height: 1.7; }
.am-hub__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.am-hub__card {
  display: flex; flex-direction: column; gap: 12px;
  background: #fff; border-radius: 18px; padding: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,.06); color: inherit;
  border-top: 6px solid #d0122d;
}
.am-hub__card--car { border-top-color: #1d6f8a; }
.am-hub__shot {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  line-height: 0;
}
.am-hub__shot:hover img { filter: brightness(1.08); }
.am-hub__shot:focus-visible { outline: 2px solid #d0122d; outline-offset: 3px; }
.am-hub__card--car .am-hub__shot:focus-visible { outline-color: #1d6f8a; }
.am-hub__card img { width: 100%; height: 188px; object-fit: contain; background: #0b0b0b; border-radius: 12px; }
.am-hub__card h2 { margin: 0; font-size: 1.5rem; }
.am-hub__card p { margin: 0; color: #445; line-height: 1.6; }
.am-hub__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.am-hub__chips a, .am-hub__go {
  border-radius: 999px; padding: 8px 14px; font-size: .9rem; text-decoration: none; font-weight: 700;
}
.am-hub__go { display: inline-block; background: #1d1d1b; color: #fff; align-self: flex-start; }
.am-hub__card--car .am-hub__go { background: #16324f; }
.am-hub__chips a { border: 1px solid #ddd; color: #222; background: #fafafa; }
@media (max-width: 800px) {
  .am-hub__grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body.auto-page main .container[style] { display: block !important; }
}
.am-pdp {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}
.am-pdp__main {
  width: 100%;
  height: auto;
  background: #f6f4f1;
  border-radius: 16px;
}
.am-pdp__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.am-pdp__thumbs button {
  width: 72px;
  height: 72px;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 10px;
  background: #fff;
  overflow: hidden;
  cursor: pointer;
}
.am-pdp__thumbs button.is-active {
  border-color: #d0122d;
  box-shadow: 0 0 0 2px rgba(208, 18, 45, 0.25);
}
.am-pdp__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.am-pdp__price { margin: 8px 0 12px; font-size: 1.35rem; }
.am-pdp__specs { margin: 0 0 12px; }
.am-pdp__specs div {
  display: grid;
  grid-template-columns: 6.5em minmax(0, 1fr);
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}
.am-pdp__specs dt { margin: 0; color: #667; }
.am-pdp__specs dd { margin: 0; }
.am-pdp__note { color: #556; font-size: 14px; line-height: 1.7; }
.am-pdp__facts-title { margin: 16px 0 8px; font-size: 1.05rem; }
.am-pdp__facts { margin: 0 0 12px; padding-inline-start: 1.2em; }
.am-pdp__facts li { margin: 0 0 6px; line-height: 1.6; }
@media (max-width: 720px) {
  .am-pdp { display: block; }
}
