/* Presentation polish: keep the product artwork in the product canvas and stabilize changing copy. */
#parts-store .kbd-bg3-side {
  z-index: 0;
  opacity: .15;
  mix-blend-mode: multiply;
  filter: saturate(.78) drop-shadow(0 14px 22px rgba(35, 27, 18, .12));
}
#parts-store .kbd-bg3-stage { z-index: 0; }
#parts-store .kbd-bg3 .kbd-box {
  position: relative;
  isolation: isolate;
  background: linear-gradient(145deg, rgba(255,255,255,.62), rgba(250,248,243,.48));
  border: 1px solid rgba(105, 87, 64, .10);
  box-shadow: 0 18px 42px rgba(45, 35, 25, .055), inset 0 1px rgba(255,255,255,.64);
  -webkit-backdrop-filter: blur(7px) saturate(1.05);
  backdrop-filter: blur(7px) saturate(1.05);
}
#parts-store .kbd-bg3 .kbd-card { background: rgba(255,255,255,.91); }
#parts-store .kbd-bg3 .kbd-phead { min-height: 48px; }
#parts-store .kbd-bg3 .kbd-ptitle {
  min-height: 2.25em;
  display: flex;
  align-items: center;
  line-height: 1.18;
}

/* The headline changes, while its two-line slot and supporting copy stay anchored. */
.hero-band .hero-text-slide { min-height: 204px; }
.hero-band .hero-slide-heading {
  min-height: 2.2em;
  max-height: 2.2em;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}
.hero-band .hero-text-sub { min-height: 3.1em; }

@media (max-width: 768px) {
  #parts-store .kbd-bg3-side {
    display: block !important;
    opacity: .10;
  }
  #parts-store .kbd-bg3-has-cut .kbd-phead { min-height: 48px; }
  #parts-store .kbd-bg3 .kbd-ptitle { min-height: 2.2em; }
  .hero-band .hero-text-slide { min-height: 150px; }
  .hero-band .hero-text-sub { min-height: 2.8em; }
}
@media (prefers-reduced-motion: reduce) {
  #parts-store .kbd-bg3-cut, #parts-store .kbd-pcut { animation: none !important; }
}


/* Mobile store: let the floating cart be the single persistent cart action. */
@media (max-width: 768px) {
  #parts-store .kbd-bg3-cut { display: block !important; z-index: 0 !important; opacity: .52 !important; filter: saturate(1.08) contrast(1.04) drop-shadow(0 12px 22px rgba(10,28,56,.22)); }
  #parts-store .kbd-head .kbd-btns { display: none !important; }
  #parts-store .kbd-head { padding-top: 22px; }
  #parts-store .kbd-head .kbd-row { row-gap: 12px; }
}

/* Customer thank-you strip: keep the moving message legible above its soft veil. */
#rest-stop .rest-stop-band { position: relative; isolation: isolate; }
#rest-stop .rest-stop-note,
#rest-stop .rest-stop-hint {
  position: relative;
  z-index: 31;
  pointer-events: none;
}
#rest-stop .rest-stop-note-track span {
  color: #26364a;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255,255,255,.86), 0 2px 8px rgba(28,52,92,.16);
}
#rest-stop .rest-stop-hint {
  color: #34445b;
  font-weight: 600;
  text-shadow: 0 1px 0 rgba(255,255,255,.88), 0 2px 7px rgba(28,52,92,.12);
}

/* Brand wordmark balances the red bull across the open stage. */
.sr-bullband .sr-brand-lockup {
  position: absolute;
  z-index: 2;
  left: 4.5%;
  top: 320px;
  max-width: 54%;
  color: #ffe45c;
  font-family: 'Prompt', sans-serif;
  font-size: clamp(19px, 3.4vw, 42px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: .015em;
  white-space: nowrap;
  -webkit-text-stroke: 1px #cf3e2d;
  paint-order: stroke fill;
  text-shadow: 0 2px 0 #0a2c64, 0 5px 16px rgba(2, 13, 37, .58);
  pointer-events: none;
}
@media (max-width: 767px) {
  .sr-bullband .sr-brand-lockup {
    left: 4%;
    top: 212px;
    max-width: 48%;
    font-size: clamp(15px, 5.2vw, 22px);
    -webkit-text-stroke-width: .75px;
  }
}


/* Search UI stays on top when the lower navy background starts at this group. */
#harvesters .sr-search-wrap { position: relative; z-index: 3; }
#harvesters .sr-search { position: relative; z-index: 3; }

/* Flatten the catalogue search controls into the navy section without losing contrast. */
#tractors .sr-search-wrap, #harvesters .sr-search-wrap, #excavators .sr-search-wrap { position: relative; z-index: 4; }
#tractors .sr-search, #harvesters .sr-search, #excavators .sr-search { box-shadow: none !important; border: 1px solid rgba(255,255,255,.2) !important; }
#tractors .sr-search button, #harvesters .sr-search button, #excavators .sr-search button { box-shadow: none !important; transform: none !important; }
/* Premium line icon for the persistent store cart. */
#parts-store .kbd-cart-icon { width: 18px; height: 18px; flex: 0 0 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -4px; }
#parts-store .kbd-cart-float { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1px solid rgba(255,255,255,.72); box-shadow: 0 8px 24px rgba(4,18,43,.25), inset 0 1px 0 rgba(255,255,255,.2); }
#parts-store .kbd-cart-float .kbd-badge { box-shadow: 0 2px 8px rgba(0,0,0,.2); }

/* Let the original page background show through the customer photo lounge. */
.sr-hem { -webkit-mask-image: linear-gradient(180deg, #000 0, #000 var(--hem-gap-start, 100000px), transparent var(--hem-gap-start, 100000px), transparent var(--hem-gap-end, 100000px), #000 var(--hem-gap-end, 100000px), #000 100%); mask-image: linear-gradient(180deg, #000 0, #000 var(--hem-gap-start, 100000px), transparent var(--hem-gap-start, 100000px), transparent var(--hem-gap-end, 100000px), #000 var(--hem-gap-end, 100000px), #000 100%); }
@media (max-width: 767px) {
  #sr-sec-rec .sr-grid-h { grid-template-columns: repeat(6, minmax(0, 1fr)) !important; gap: 8px; }
  #sr-sec-rec .sr-grid-h > .sr-card-h:nth-of-type(1), #sr-sec-rec .sr-grid-h > .sr-card-h:nth-of-type(2) { grid-column: span 3; }
  #sr-sec-rec .sr-grid-h > .sr-card-h:nth-of-type(3), #sr-sec-rec .sr-grid-h > .sr-card-h:nth-of-type(4), #sr-sec-rec .sr-grid-h > .sr-card-h:nth-of-type(5) { grid-column: span 2; }
  #sr-sec-rec .sr-grid-h > .sr-rec-more { grid-column: 1 / -1; }
  #sr-sec-rec .sr-card-h:nth-of-type(n+3):nth-of-type(-n+5) .sr-card-body { padding: 7px 6px 8px; }
  #sr-sec-rec .sr-card-h:nth-of-type(n+3):nth-of-type(-n+5) .sr-card-h h3,
  #sr-sec-rec .sr-grid-h > .sr-card-h:nth-of-type(n+3):nth-of-type(-n+5) h3 { font-size: 10px; line-height: 1.25; }
}
/* Exact recommendation-card rhythm: 2, 3, popup, popup, 3, 2, 1, CTA. */
#sr-sec-rec .sr-grid-h { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)) !important; align-items: stretch; }
#sr-sec-rec .sr-grid-h > article.sr-card-h:nth-of-type(1),
#sr-sec-rec .sr-grid-h > article.sr-card-h:nth-of-type(2),
#sr-sec-rec .sr-grid-h > article.sr-card-h:nth-of-type(9),
#sr-sec-rec .sr-grid-h > article.sr-card-h:nth-of-type(10) { grid-column: span 3; min-width: 0; }
#sr-sec-rec .sr-grid-h > article.sr-card-h:nth-of-type(3),
#sr-sec-rec .sr-grid-h > article.sr-card-h:nth-of-type(4),
#sr-sec-rec .sr-grid-h > article.sr-card-h:nth-of-type(5),
#sr-sec-rec .sr-grid-h > article.sr-card-h:nth-of-type(6),
#sr-sec-rec .sr-grid-h > article.sr-card-h:nth-of-type(7),
#sr-sec-rec .sr-grid-h > article.sr-card-h:nth-of-type(8) { grid-column: span 2; min-width: 0; }
#sr-sec-rec .sr-grid-h > article.sr-card-h:nth-of-type(11),
#sr-sec-rec .sr-grid-h > .kb-if,
#sr-sec-rec .sr-grid-h > .sr-rec-more { grid-column: 1 / -1; width: 100%; min-width: 0; }