.catalog-page {
  --catalog-ink: #111417;
  --catalog-muted: #70777d;
  --catalog-line: #d4d5d1;
  --catalog-paper: #f1f1ed;
  overflow-x: clip;
  background: var(--catalog-paper);
}

.catalog-page .site-header {
  position: relative;
  border-color: #d0d2ce;
  background: var(--catalog-paper);
  color: var(--catalog-ink);
}

.catalog-page .site-header::after { background: #b98821; }
.catalog-page .nav-links a { color: var(--catalog-ink); }
.catalog-page .nav-links a:hover,
.catalog-page .nav-links a.active { border-color: #b98821; }
.catalog-page .brand-wordmark { color: var(--catalog-ink); text-shadow: none; }
.catalog-page .brand-wordmark span { color: #b78318; }
.catalog-page .brand-wordmark strong {
  border-color: #9ea19d;
  color: var(--catalog-ink);
}
.catalog-page .header-contact {
  border-color: #575c5f;
  color: var(--catalog-ink);
}
.catalog-page .header-contact:hover { border-color: #9a6e10; color: #8a620d; }

.catalog-page .catalog-intro {
  min-height: 430px;
  border-bottom: 1px solid var(--catalog-line);
  background: var(--catalog-paper);
  color: var(--catalog-ink);
}

.catalog-page .catalog-intro::after {
  content: "YD";
  right: 2vw;
  bottom: -.3em;
  color: rgba(17,20,23,.025);
  font-size: 310px;
  letter-spacing: 0;
}

.catalog-page .catalog-intro .section-kicker { color: #946a0a; }
.catalog-page .catalog-intro-summary {
  padding-top: 24px;
  border-top: 1px solid #aaaead;
}
.catalog-page .catalog-intro-summary strong { color: var(--catalog-ink); }
.catalog-page .catalog-intro-summary p { color: #666e73; }
.catalog-page .catalog-back { color: #697075; }
.catalog-page .catalog-back span { color: #9a6e10; }

.catalog-page .transition-catalog-paper {
  height: 92px;
  margin: -46px 0;
  background: linear-gradient(180deg,rgba(241,241,237,0),var(--catalog-paper) 48%,rgba(241,241,237,0));
}

.catalog-page .collection {
  padding: 88px 4vw 84px;
  background: var(--catalog-paper);
}

.catalog-page .transition-paper-footer {
  height: 52px;
  margin: -26px 0;
  background: linear-gradient(180deg,rgba(241,241,237,0),#e8e9e5 52%,rgba(232,233,229,0));
}

.catalog-page .footer {
  border-top: 1px solid #c7c9c5;
  background: #e8e9e5;
  color: var(--catalog-ink);
}
.catalog-page .footer-wordmark span { color: #b78318; }
.catalog-page .footer-wordmark strong {
  border-color: #9ea19d;
  color: var(--catalog-ink);
}
.catalog-page .footer p { color: #686f74; }
.catalog-page .footer div strong { color: #8d650d; }
.catalog-page .footer button { color: var(--catalog-ink); }
.catalog-page .footer .legal { border-color: #c4c6c2; }

.catalog-page .live-status {
  border-color: #c8cbc8;
  background: rgba(248,248,245,.9);
  color: #747b7f;
}
.catalog-page .live-status.is-online { border-color: #add6bf; color: #176f46; }
.catalog-page .live-status.has-update { border-color: #111417; background: #111417; color: #fff; }

.catalog-page .section-heading {
  margin-bottom: 72px;
}

.catalog-page .section-heading h2 {
  max-width: 760px;
}

.catalog-level-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  color: var(--catalog-muted);
  font-size: 9px;
  text-transform: uppercase;
}

.catalog-level-label span {
  color: #a57612;
  font-variant-numeric: tabular-nums;
}

.catalog-level-label p { margin: 0; }
.category-level { margin-top: 54px; }

.brand-tabs {
  display: grid;
  grid-template-columns: repeat(5,minmax(0,1fr));
  border-top: 1px solid var(--catalog-ink);
  border-bottom: 1px solid var(--catalog-ink);
}

.brand-tab {
  position: relative;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 7px 12px;
  min-height: 132px;
  padding: 22px 20px;
  border: 0;
  border-right: 1px solid var(--catalog-line);
  background: transparent;
  color: var(--catalog-muted);
  text-align: left;
  transition: background .35s ease,color .35s ease;
}

.brand-tab:last-child { border-right: 0; }
.brand-tab::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: -1px;
  height: 2px;
  background: #bd8b22;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s cubic-bezier(.16,1,.3,1);
}

.brand-tab > span {
  grid-row: 1 / 3;
  padding-top: 4px;
  color: #9b7a32;
  font-size: 9px;
}

.brand-tab strong {
  color: var(--catalog-ink);
  font-size: clamp(23px,2.2vw,33px);
  font-weight: 520;
  line-height: 1;
}

.brand-tab small {
  font-size: 10px;
  text-transform: uppercase;
}

.brand-tab:hover { background: rgba(255,255,255,.42); }
.brand-tab.active { background: #e8e8e3; color: #353a3d; }
.brand-tab.active::after { transform: scaleX(1); }

.catalog-page .catalog-tools {
  align-items: center;
  margin-bottom: 0;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--catalog-line);
}

.catalog-page .filters { gap: 5px; }
.catalog-page .filter {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid transparent;
  background: transparent;
  color: #666d72;
  font-size: 10px;
}

.catalog-page .filter span {
  margin-left: 7px;
  color: #92989c;
  font-size: 8px;
}

.catalog-page .filter:hover { color: var(--catalog-ink); }
.catalog-page .filter.active {
  border-color: var(--catalog-ink);
  background: var(--catalog-ink);
  color: #fff;
}

.catalog-page .filter.active span { color: #c7c9ca; }
.catalog-page .search-box {
  min-width: 270px;
  border: 0;
  border-bottom: 1px solid #aaaead;
  background: transparent;
}

.catalog-page .search-box input { background: transparent; }
.catalog-page .catalog-status { padding: 16px 0 22px; }
.catalog-page .catalog-source { margin-bottom: 32px; background: #e8e8e3; }

.catalog-page .product-grid {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 1px;
  border: 1px solid var(--catalog-line);
  background: var(--catalog-line);
}

.catalog-page .product-card {
  min-width: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #f8f8f5;
  color: var(--catalog-ink);
  text-align: left;
  opacity: 0;
  animation: catalogCardIn .68s cubic-bezier(.16,1,.3,1) forwards;
  animation-delay: calc(min(var(--card-index),8) * 55ms);
}

.product-card-main {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}

.catalog-page .product-image {
  aspect-ratio: 1.24;
  background: #e7e8e4;
}

.catalog-page .product-image::before {
  inset: 27% 14% 1%;
  background: radial-gradient(circle,rgba(255,255,255,.78),transparent 67%);
}

.catalog-page .product-image img {
  padding: 22px;
  transition: opacity .16s ease,transform .7s cubic-bezier(.16,1,.3,1);
}

.catalog-page .product-image img.is-changing {
  opacity: 0;
  transform: translateY(8px) scale(.975);
}

.catalog-page .product-card-offroad .product-image {
  background: #f7f7f4;
}

.catalog-page .product-card-offroad .product-image::before {
  display: none;
}

.catalog-page .product-card-offroad .product-image img {
  padding: 0;
  object-fit: cover;
}

.catalog-page .product-card-offroad:hover .product-image img {
  transform: scale(1.025);
}

.catalog-page .product-card:hover .product-image img {
  transform: translateY(-4px) scale(1.035);
}

.catalog-page .view-label {
  display: grid;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 16px;
}

.product-availability {
  position: absolute;
  right: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 7px 9px;
  border: 1px solid rgba(17,20,23,.18);
  background: rgba(248,248,245,.88);
  color: #111417;
  font-size: 8px;
  font-weight: 700;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.catalog-page .product-body { padding: 20px 20px 15px; }
.catalog-page .product-meta { font-size: 8px; }
.catalog-page .product-body h3 {
  margin: 18px 0 0;
  font-size: clamp(22px,2.15vw,31px);
  font-weight: 520;
  letter-spacing: 0;
}

.product-variant-panel {
  display: grid;
  grid-template-columns: auto minmax(0,1fr);
  gap: 15px;
  align-items: center;
  min-height: 70px;
  margin: 0 20px;
  padding: 14px 0;
  border-top: 1px solid var(--catalog-line);
}

.product-swatches { display: flex; gap: 8px; align-items: center; }
.color-swatch {
  position: relative;
  width: 17px;
  height: 17px;
  padding: 0;
  border: 3px solid #f8f8f5;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px #aeb1af;
  transition: transform .2s ease,box-shadow .2s ease;
}

.color-swatch:hover { transform: scale(1.12); }
.color-swatch.active { box-shadow: 0 0 0 1px #15181a,0 0 0 4px #f8f8f5,0 0 0 5px #15181a; }
.product-color { min-width: 0; margin: 0; }
.product-color span,.product-color strong { display: block; }
.product-color span { margin-bottom: 4px; color: #8a9093; font-size: 8px; text-transform: uppercase; }
.product-color strong { overflow: hidden; color: #4d5458; font-size: 10px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }

.catalog-page .product-bottom {
  margin: 0 20px;
  padding: 17px 0 21px;
  border-top: 1px solid var(--catalog-line);
}

.catalog-page .product-bottom strong { font-size: 17px; }
.catalog-page .product-bottom > button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: var(--catalog-ink);
  font-size: 9px;
  font-weight: 700;
  text-transform: uppercase;
}

.catalog-page .product-bottom > button span { color: #a57612; font-size: 12px; }
.catalog-page .product-bottom > button:hover { color: #8a6410; }

.dialog-colors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 5px;
}

.dialog-colors[hidden] { display: none; }
.dialog-color-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 0 11px 0 8px;
  border: 1px solid #bfc2c0;
  background: transparent;
  color: #62696d;
  font-size: 9px;
}

.dialog-color-option i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px rgba(0,0,0,.18);
}

.dialog-color-option.active { border-color: #111; color: #111; }

@keyframes catalogCardIn {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: none; }
}

@media (max-width: 1050px) {
  .catalog-page .product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .brand-tab { min-height: 118px; padding: 18px 14px; }
  .brand-tab::after { left: 14px; right: 14px; }
}

@media (max-width: 760px) {
  .brand-tabs { grid-template-columns: 1fr; }
  .brand-tab { border-right: 0; border-bottom: 1px solid var(--catalog-line); }
  .brand-tab:last-child { border-bottom: 0; }
  .catalog-page .product-grid { grid-template-columns: 1fr; }
  .catalog-page .catalog-tools { align-items: stretch; }
  .catalog-page .search-box { min-width: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .catalog-page .product-card { opacity: 1; animation: none; }
}
/* Preorder terms share the product detail flow without replacing specifications. */
#dialog-preorder {margin:24px 0;padding:20px 0;border-block:1px solid #d9dcd9;color:#303632}
#dialog-preorder[hidden] {display:none}
#dialog-preorder h3 {font-size:18px;line-height:1.4;margin:0 0 12px}
#dialog-preorder p {font-size:14px;line-height:1.6;margin:10px 0}
#dialog-preorder summary {cursor:pointer;font-size:14px;padding:10px 0}
#dialog-preorder table {width:100%;border-collapse:collapse;font-size:14px}
#dialog-preorder th,#dialog-preorder td {padding:9px 0;border-bottom:1px solid #e2e5e2;text-align:left;font-weight:400}
#dialog-preorder td {text-align:right;white-space:nowrap}
#dialog-preorder .spec-warning {color:#814a16}
#dialog-supply {margin:24px 0;padding:20px 0;border-block:1px solid #d9dcd9;color:#303632}
#dialog-supply[hidden] {display:none}
#dialog-supply h3 {font-size:18px;line-height:1.4;margin:0 0 12px}
#dialog-supply p {font-size:14px;line-height:1.6;margin:10px 0}
#dialog-supply summary {cursor:pointer;font-size:14px;padding:10px 0}
#dialog-supply table {width:100%;border-collapse:collapse;font-size:14px}
#dialog-supply th,#dialog-supply td {padding:9px 0;border-bottom:1px solid #e2e5e2;text-align:left;font-weight:400}
#dialog-supply td {text-align:right;white-space:nowrap}
#dialog-supply .spec-warning {color:#814a16}

.catalog-page .catalog-intro {min-height:300px}
.catalog-page .collection {padding-top:36px}
.catalog-page .catalog-intro h1 {font-size:64px;line-height:1.08}
.catalog-types {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));border-block:1px solid var(--catalog-line)}
.catalog-type:last-child {border-right:0}
#dialog-usd-quotation table {width:100%;border-collapse:collapse;font-size:14px}
#dialog-usd-quotation th,#dialog-usd-quotation td {padding:10px 0;border-bottom:1px solid #d9dcd9;font-weight:400;text-align:left}
#dialog-usd-quotation td {text-align:right;white-space:nowrap}
#dialog-usd-quotation .spec-warning {color:#814a16}
.catalog-type-placeholder {height:132px;display:grid;place-items:center;font-weight:700;color:var(--catalog-muted)}
.product-photo-pending {display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;min-height:220px;color:#777;background:#f1f2f0}
.product-photo-pending strong {font-size:24px;font-weight:600}
.product-photo-pending span {font-size:12px}
.commercial-terms {margin:20px 0;padding:16px 0;border-block:1px solid #d9dcd9;color:#303632}
.commercial-terms[hidden] {display:none}
.commercial-terms h3 {font-size:16px;line-height:1.4;margin:0 0 10px}
.commercial-terms p {font-size:14px;line-height:1.7;margin:8px 0;overflow-wrap:anywhere}
.product-image > .product-photo-pending {position:absolute;inset:0;min-height:0}
.product-card-polaris-offroad .product-swatches {display:none}
.product-photo-pending[hidden],#dialog-image[hidden] {display:none!important}
#dialog-photo-pending {height:100%;min-height:300px;font-size:14px;text-align:center}
.catalog-type {position:relative;display:grid;grid-template-rows:132px auto auto;justify-items:center;gap:8px;padding:16px 12px 20px;border:0;border-right:1px solid var(--catalog-line);background:transparent;color:var(--catalog-ink);transition:background .2s ease}
.catalog-type:last-child {border-right:0}
.catalog-type img {width:100%;height:132px;object-fit:contain;mix-blend-mode:multiply;transition:transform .25s ease}
.catalog-type span {font-size:16px;font-weight:600;text-align:center;line-height:1.4}
.catalog-type small {font-size:11px;color:var(--catalog-muted)}
.catalog-type.active {background:#e5e7e3}
.catalog-type.active::after {content:"";position:absolute;inset:auto 16px -1px;height:2px;background:#ad7b19}
.catalog-type:hover img {transform:translateY(-3px)}
.catalog-type:focus-visible,.brand-tab:focus-visible {outline:2px solid #926a20;outline-offset:-4px}
.catalog-page #brand-label {margin-top:32px}
.catalog-page .brand-tabs {display:flex;flex-wrap:wrap;border-color:var(--catalog-line)}
.catalog-page .brand-tab {flex:1 1 160px;grid-template-columns:1fr;justify-items:center;align-content:center;gap:12px;min-height:106px;padding:20px;text-align:center}
.catalog-page .brand-tab strong {font-size:27px;font-weight:700;white-space:nowrap}
.catalog-page .brand-mark-can-am strong {font-weight:800;text-transform:lowercase}
.catalog-page .brand-mark-cfmoto strong {font-style:italic;font-weight:800}
.catalog-page .brand-mark-sea-doo strong {font-weight:800}
.catalog-page .brand-mark-china-oem strong {font-size:22px;font-weight:500}
.catalog-page .brand-tab small {font-size:11px;text-transform:none}
.catalog-page .collection .section-heading {margin:36px 0 24px;gap:28px;align-items:end}
.catalog-page .collection .section-heading h2 {font-size:36px;line-height:1.15}
.catalog-page .collection .section-heading > p {font-size:14px;line-height:1.7;max-width:520px}
.catalog-page .product-grid {animation:catalog-results .25s ease-out}
@keyframes catalog-results {from{opacity:.55;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(max-width:700px){
  .catalog-page .catalog-intro {min-height:260px}
  .catalog-page .catalog-intro h1 {font-size:42px}
  .catalog-types {grid-template-columns:repeat(2,minmax(0,1fr))}
  .catalog-type {grid-template-rows:96px auto auto;padding:12px 8px 16px;border-bottom:1px solid var(--catalog-line)}
  .catalog-type:nth-child(2n) {border-right:0}
  .catalog-type:nth-child(3n):not(:nth-child(2n)) {border-right:1px solid var(--catalog-line)}
  .catalog-type:nth-last-child(-n+2) {border-bottom:0}
  .catalog-type img {height:96px}
  .catalog-type-placeholder {height:96px}
  .catalog-type:last-child:nth-child(odd) {grid-column:1 / -1}
  .catalog-type span {font-size:14px}
  .catalog-page .brand-tab {flex:1 1 44%;min-height:88px;padding:14px 8px;border-bottom:1px solid var(--catalog-line)}
  .catalog-page .brand-tab strong {font-size:23px}
  .catalog-page .brand-mark-china-oem strong {font-size:19px}
  .catalog-page .collection .section-heading {margin-top:28px;gap:12px}
  .catalog-page .collection .section-heading h2 {font-size:30px}
}
@media(prefers-reduced-motion:reduce){
  .catalog-type,.catalog-type img {transition:none}
  .catalog-page .product-grid {animation:none}
}

.catalog-page .catalog-intro { height: auto; min-height: 0; padding-bottom: 24px; border-bottom: 0; }
.catalog-page .category-level { margin-top: 0; }
.catalog-filter-select { flex: 1; min-width: 0; }
.catalog-filter-toggle { display: none; }
@media (max-width: 820px) {
  .catalog-page .collection { padding-top: 28px; }
  .catalog-page .catalog-tools { display: grid; grid-template-columns: minmax(0,1fr); gap: 12px; padding-bottom: 0; border: 0; }
  .catalog-page .catalog-filter-toggle {
    display: flex; align-items: center; gap: 12px; width: 100%; min-height: 48px;
    padding: 12px 0; border: 0; border-bottom: 1px solid var(--catalog-line);
    background: transparent; color: var(--catalog-ink); text-align: left; font: inherit; font-size: 14px;
  }
  .catalog-filter-toggle svg { width: 16px; height: 16px; flex-shrink: 0; }
  #catalog-filter-label { min-width: 0; overflow-wrap: anywhere; }
  #catalog-filter-count { margin-left: auto; color: var(--catalog-muted); font-size: 12px; font-variant-numeric: tabular-nums; }
  .catalog-filter-toggle svg:last-child { transition: transform .18s ease; }
  .catalog-filter-toggle[aria-expanded=true] svg:last-child { transform: rotate(180deg); }
  .catalog-page .catalog-filter-select #catalog-filters { display: none; }
  .catalog-page .catalog-filter-select.is-open #catalog-filters {
    display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 4px;
    max-width: none; margin-top: 8px; padding: 6px; border: 1px solid var(--catalog-line);
    border-radius: 6px; background: #fafbf8; animation: catalogFilterIn .16s ease-out;
  }
  .catalog-page #catalog-filters .filter {
    display: flex; align-items: center; justify-content: space-between; gap: 8px;
    min-width: 0; min-height: 42px; padding: 10px; border-radius: 3px; font-size: 14px;
    text-align: left; white-space: normal; overflow-wrap: anywhere; line-height: 1.4;
  }
  .catalog-page #catalog-filters .filter span { margin-left: 0; flex-shrink: 0; font-size: 12px; }
  .catalog-page .search-box kbd { display: none; }
  .catalog-page .catalog-filter-toggle:focus-visible { outline: 2px solid #926a20; outline-offset: 3px; }
}
@keyframes catalogFilterIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .catalog-filter-toggle svg:last-child { transition: none; } .catalog-page .catalog-filter-select.is-open #catalog-filters { animation: none; } }
