/* ==========================================================================
   Storefront styles: home, shop, search, product page, content pages,
   contact/feedback, sitemap. Builds on the tokens and components in app.css.
   Anything sitting on a brand-colored background uses var(--on-brand) so
   light (Walker yellow) and dark (Kubota orange) primaries both read well.
   ========================================================================== */

.pt-0 { padding-top: 0 !important; }
.cluster--center { justify-content: center; }
.eyebrow {
  display: inline-block; margin: 0 0 6px; font-size: .78rem; font-weight: 750; letter-spacing: .1em;
  text-transform: uppercase; color: var(--text-muted);
}

/* Readable links on light surfaces regardless of brand color (yellow brands
   would otherwise produce low-contrast link text). */
.prose a, .home-cta a, .feature a, .how-step a, .notice a, .search-tips a,
.exact-hit a, .contact-list a, .page-header__lead a, .pdp-section a, .trust a {
  color: color-mix(in srgb, var(--brand) 30%, var(--text));
  text-decoration: underline; text-decoration-color: color-mix(in srgb, var(--brand) 70%, transparent);
  text-decoration-thickness: 2px; text-underline-offset: 3px;
}
.prose a:hover, .home-cta a:hover, .feature a:hover, .how-step a:hover, .notice a:hover, .search-tips a:hover,
.exact-hit a:hover, .contact-list a:hover, .page-header__lead a:hover, .pdp-section a:hover, .trust a:hover {
  color: var(--text); text-decoration-color: var(--brand);
}
.prose a.btn, .notice a.btn, .exact-hit a.btn, .trust a.btn, .pdp-section a.btn, .home-cta a.btn { text-decoration: none; color: var(--btn-fg); }

/* --------------------------------------------------------------- home hero */

.home-hero .container { padding-block: clamp(36px, 7vw, 96px) clamp(72px, 9vw, 128px); }
.home-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.home-hero h1 { max-width: 17ch; margin-bottom: 16px; font-size: clamp(2rem, 1.3rem + 3vw, 3.6rem); line-height: 1.05; }
.home-hero .hero__lead { margin-bottom: 26px; font-size: clamp(1.02rem, .95rem + .35vw, 1.22rem); color: rgb(255 255 255 / 86%); }
.home-hero .hero__eyebrow {
  padding: 6px 12px 6px 10px; border-radius: var(--r-pill); background: rgb(255 255 255 / 10%); border: 1px solid rgb(255 255 255 / 16%);
  color: #fff; letter-spacing: .06em; font-size: .76rem; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.home-hero .hero__eyebrow .icon { color: var(--brand); }
.home-hero__search { max-width: 620px; }
.home-hero__search .input { border-color: transparent; color: var(--text); box-shadow: 0 18px 40px rgb(0 0 0 / 28%); }
.home-hero__search .input:focus { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-ring), 0 18px 40px rgb(0 0 0 / 28%); }
.home-hero__points { list-style: none; padding: 0; margin: 20px 0 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: rgb(255 255 255 / 90%); font-size: .93rem; font-weight: 600; }
.home-hero__points li { display: inline-flex; align-items: center; gap: 7px; }
.home-hero__points .icon { color: var(--brand); }
.home-hero__points a { color: #fff; text-decoration: underline; text-decoration-color: rgb(255 255 255 / 40%); text-underline-offset: 3px; }

.home-hero__panel { min-width: 0; }
.home-widget { color: #fff; min-width: 0; }
.home-widget > * {
  background: rgb(14 18 26 / 52%) !important; border: 1px solid rgb(255 255 255 / 16%) !important; border-radius: var(--r-xl) !important;
  -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
  box-shadow: 0 30px 70px rgb(0 0 0 / 35%), inset 0 1px 0 rgb(255 255 255 / 10%) !important;
}
.home-cta {
  padding: clamp(22px, 3vw, 32px); color: var(--text); border: 0; box-shadow: var(--shadow-lg); border-radius: var(--r-xl);
  background: linear-gradient(180deg, var(--surface), var(--surface-2));
}
.home-cta h2 { font-size: 1.35rem; margin-bottom: 6px; }
.home-cta__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 14px;
  background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-brand);
}
.home-cta__help { margin: 14px 0 0; text-align: center; font-size: .92rem; color: var(--text-muted); }

@media (max-width: 900px) {
  .home-hero__grid { grid-template-columns: 1fr; }
  .home-hero h1 { max-width: none; }
}
@media (max-width: 520px) {
  .home-hero__search .btn { padding-inline: 14px; }
  .home-hero__search .input { padding-right: 96px; font-size: 1rem; }
  .home-hero__points { flex-direction: column; gap: 8px; }
}

/* value props: a floating card overlapping the hero */
.value-band { position: relative; z-index: 2; margin-top: clamp(-80px, -6vw, -44px); }
.value-band__card {
  background: var(--surface); border-radius: var(--r-xl); padding: clamp(18px, 2.6vw, 28px); gap: clamp(14px, 2vw, 28px);
  box-shadow: var(--shadow-lg); border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
}
.value-band .feature__icon { background: var(--brand); color: var(--on-brand); border-radius: 14px; box-shadow: var(--shadow-brand); }
.value-band .feature h3 { font-family: var(--font); font-weight: 750; }
@media (min-width: 901px) { .value-band .feature + .feature { border-left: 1px solid var(--border); padding-left: clamp(14px, 2vw, 28px); } }

/* --------------------------------------------------------------- machine image cards */

.machine-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.machine-card {
  position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: var(--ink); box-shadow: var(--shadow); color: #fff;
}
.machine-card .stock-photo { position: absolute; inset: 0; transition: transform .8s var(--ease); }
.machine-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(0 0 0 / 78%)); z-index: 0; }
.machine-card:hover { text-decoration: none; box-shadow: var(--shadow-lg); }
.machine-card:hover .stock-photo { transform: scale(1.07); }
.machine-card__label {
  position: absolute; left: 16px; right: 16px; bottom: 16px; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  font-family: var(--font-display); font-weight: 750; font-size: 1.12rem; line-height: 1.2; text-shadow: 0 1px 8px rgb(0 0 0 / 40%);
}
.machine-card__label .icon { width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--brand); color: var(--on-brand); flex-shrink: 0; transition: transform .25s var(--ease); }
.machine-card:hover .machine-card__label .icon { transform: translateX(3px); }
@media (max-width: 1000px) { .machine-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } .machine-card { aspect-ratio: 4 / 3; } }
@media (max-width: 520px) { .machine-cards { gap: 10px; } .machine-card { aspect-ratio: 1; border-radius: var(--r-lg); } .machine-card__label { left: 12px; right: 12px; bottom: 12px; font-size: .95rem; } .machine-card__label .icon { display: none; } }

/* --------------------------------------------------------------- category tiles */

.cat-tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.cat-tile {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; min-height: 76px;
  background: var(--surface); border: 1px solid color-mix(in srgb, var(--border) 85%, transparent); border-radius: var(--r-lg); color: var(--text);
  box-shadow: var(--shadow-xs); transition: border-color .2s, box-shadow .25s var(--ease), transform .25s var(--ease);
}
.cat-tile:hover { text-decoration: none; border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); box-shadow: var(--shadow); transform: translateY(-2px); }
.cat-tile__icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 14px; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 800; font-size: .95rem; letter-spacing: .02em;
  background: linear-gradient(145deg, var(--ink), color-mix(in srgb, var(--ink) 70%, var(--brand))); color: var(--brand);
  transition: background .25s, color .25s;
}
.cat-tile:hover .cat-tile__icon { background: var(--brand); color: var(--on-brand); }
.cat-tile__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.cat-tile__name { font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.cat-tile__count { font-size: .85rem; color: var(--text-muted); }
.cat-tile__arrow { color: var(--text-subtle); transition: transform .2s; }
.cat-tile:hover .cat-tile__arrow { transform: translateX(3px); color: var(--text); }
@media (max-width: 520px) { .cat-tiles { grid-template-columns: 1fr 1fr; gap: 10px; } .cat-tile { padding: 12px; gap: 10px; } .cat-tile__arrow { display: none; } .cat-tile__icon { width: 38px; height: 38px; font-size: .82rem; } }
@media (max-width: 359px) { .cat-tiles { grid-template-columns: 1fr; } }

/* featured parts: a horizontal, swipeable rail (5 cards visible on desktop) */
.product-rail {
  --rail-cols: 5; display: grid; grid-auto-flow: column; grid-template-columns: none;
  grid-auto-columns: calc((100% - (var(--rail-cols) - 1) * clamp(12px, 1.6vw, 20px)) / var(--rail-cols));
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; overscroll-behavior-x: contain;
  margin: -12px calc(var(--gutter) * -1) 0; padding: 12px var(--gutter) 24px; scroll-padding-inline: var(--gutter); scrollbar-width: none;
}
.product-rail::-webkit-scrollbar { display: none; }
.product-rail > * { scroll-snap-align: start; }
.product-rail:focus-visible { outline: 3px solid var(--brand-ring); outline-offset: -3px; }
@media (max-width: 1100px) { .product-rail { --rail-cols: 4; } }
@media (max-width: 860px) { .product-rail { --rail-cols: 2.6; } }
@media (max-width: 560px) { .product-rail { --rail-cols: 1.7; } }

/* --------------------------------------------------------------- how it works */

.how-band { padding-block: clamp(36px, 6vw, 80px); background: var(--surface); border-block: 1px solid var(--border); }
.how-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.how-split__media { position: relative; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 5 / 4; box-shadow: var(--shadow-lg); background: var(--ink); }
.how-split__badge {
  position: absolute; left: 18px; bottom: 18px; display: flex; flex-direction: column; padding: 14px 18px; border-radius: 16px;
  background: var(--brand); color: var(--on-brand); box-shadow: var(--shadow-lg); line-height: 1.2;
}
.how-split__badge strong { font-family: var(--font-display); font-size: 1.4rem; font-weight: 800; }
.how-split__badge span { font-size: .88rem; font-weight: 650; opacity: .9; }
.how-split__body h2 { margin-bottom: 22px; font-size: clamp(1.5rem, 1.1rem + 1.4vw, 2.2rem); }
.how-split__body > .btn { margin-top: 26px; }
.how-steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0; position: relative; }
.how-step { position: relative; display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding: 0 0 22px; background: none; border: 0; }
.how-step:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 46px; bottom: 4px; width: 2px; background: linear-gradient(var(--brand), color-mix(in srgb, var(--brand) 10%, transparent)); }
.how-step h3 { margin: 8px 0 4px; font-size: 1.1rem; }
.how-step p { margin: 0; color: var(--text-muted); font-size: .96rem; }
.how-step__num {
  width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; font-weight: 800; font-size: 1.1rem;
  background: var(--ink); color: var(--brand); box-shadow: var(--shadow);
}
@media (max-width: 900px) { .how-split { grid-template-columns: 1fr; } .how-split__media { aspect-ratio: 16 / 9; } }

/* --------------------------------------------------------------- why buy from us (dark photo band) */

.why { position: relative; isolation: isolate; color: #fff; background: var(--ink); overflow: hidden; }
.why__media { position: absolute; inset: 0; z-index: -1; }
.why__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(110deg, color-mix(in srgb, var(--ink) 97%, transparent) 30%, color-mix(in srgb, var(--ink) 80%, transparent)); }
.why__inner { padding-block: clamp(44px, 7vw, 96px); }
.why__head { max-width: 640px; margin-bottom: clamp(24px, 4vw, 44px); }
.why__head h2 { color: #fff; font-size: clamp(1.6rem, 1.1rem + 1.8vw, 2.5rem); text-wrap: balance; }
.why__head p { color: rgb(255 255 255 / 75%); font-size: 1.05rem; margin: 0; }
.why-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.why-grid li {
  display: flex; flex-direction: column; gap: 6px; padding: 22px; border-radius: var(--r-lg);
  background: rgb(255 255 255 / 5%); border: 1px solid rgb(255 255 255 / 10%); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background .25s, border-color .25s, transform .25s var(--ease);
}
.why-grid li:hover { background: rgb(255 255 255 / 8%); border-color: color-mix(in srgb, var(--brand) 50%, transparent); transform: translateY(-2px); }
.why-grid strong { font-size: 1.05rem; color: #fff; }
.why-grid li > span:last-child { color: rgb(255 255 255 / 70%); font-size: .93rem; }
.why-grid__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--brand) 18%, transparent); color: var(--brand); margin-bottom: 8px; }
@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .why-grid { grid-template-columns: 1fr; } .why-grid li { padding: 16px; flex-direction: row; flex-wrap: wrap; column-gap: 14px; } .why-grid__icon { margin: 0; } .why-grid li > strong { align-self: center; flex: 1; } .why-grid li > span:last-child { flex-basis: 100%; } }

/* --------------------------------------------------------------- dealership / trust */

.trust {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 0; padding: 0; overflow: hidden;
  margin-top: clamp(36px, 6vw, 72px); border-radius: var(--r-xl); box-shadow: var(--shadow-lg);
}
.trust__media { min-height: 280px; background: var(--ink); }
.trust__copy { padding: clamp(24px, 4vw, 52px); align-self: center; }
.trust h2 { margin-bottom: 12px; font-size: clamp(1.5rem, 1.1rem + 1.3vw, 2.1rem); }
.trust__copy p { color: var(--text-muted); font-size: 1.02rem; }
.trust__copy .cluster { margin-top: 22px; }
.trust__hours { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; font-size: .9rem; }
.trust__list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.trust__list li { display: flex; gap: 14px; align-items: flex-start; }
.trust__list .icon { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: var(--surface-2); color: var(--text); flex-shrink: 0; }
.trust__list strong { display: block; }
.trust__list span { color: var(--text-muted); font-size: .93rem; }
@media (max-width: 820px) { .trust { grid-template-columns: 1fr; } .trust__media { min-height: 0; aspect-ratio: 16 / 9; } }

/* legacy single-column steps (kept for brand overrides) */
.how__head { text-align: center; max-width: 640px; margin: 0 auto 24px; }

/* --------------------------------------------------------------- shop */

.category-desc { white-space: normal; }
.shop-layout { padding-top: 12px; }
.shop-sidebar .card { padding: 8px; }
.shop-sidebar__title { display: flex; align-items: center; gap: 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--text-muted); margin: 10px 12px 8px; }
.cat-nav { list-style: none; margin: 0; padding: 0; max-height: min(65vh, 640px); overflow-y: auto; }
.cat-nav a {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; min-height: 40px;
  border-radius: var(--r); color: var(--text); font-weight: 550; font-size: .94rem;
}
.cat-nav a:hover { background: var(--surface-2); text-decoration: none; }
.cat-nav a.is-active { background: var(--brand-soft); font-weight: 700; box-shadow: inset 3px 0 0 var(--brand); }
.cat-nav__count { font-size: .78rem; color: var(--text-muted); background: var(--surface-2); padding: 1px 8px; border-radius: var(--r-pill); font-variant-numeric: tabular-nums; }
.cat-nav a.is-active .cat-nav__count { background: var(--surface); }
.shop-sidebar__foot { border-top: 1px solid var(--border); margin-top: 8px; padding: 12px; }
.shop-sidebar__foot p { margin-bottom: 10px; }

.cat-pills { display: none; margin: 0 calc(var(--gutter) * -1) 6px; padding: 4px var(--gutter) 10px; overflow-x: auto; scrollbar-width: none; }
.cat-pills::-webkit-scrollbar { display: none; }
.cat-pills .pills { flex-wrap: nowrap; }
.cat-pills .pill { white-space: nowrap; min-height: 40px; }
@media (max-width: 960px) {
  .cat-pills { display: block; }
  .shop-sidebar { display: none; }
}

.shop-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; min-height: 40px; }
.shop-toolbar__count { margin: 0; }
.shop-sort { display: flex; align-items: center; gap: 8px; }
.shop-sort__label { font-size: .9rem; color: var(--text-muted); font-weight: 600; white-space: nowrap; }
.shop-sort .select { width: auto; min-width: 190px; }
@media (max-width: 420px) { .shop-sort { width: 100%; } .shop-sort .select { flex: 1; min-width: 0; } }

.store-search-inline { max-width: 520px; margin: 18px auto 0; text-align: left; }

/* --------------------------------------------------------------- search */

.search-page__box { max-width: 760px; margin-bottom: 24px; }
.search-section { margin-top: 28px; }
.search-section .section-head h2 { display: flex; align-items: center; gap: 10px; font-size: 1.25rem; }

.exact-hit {
  display: grid; grid-template-columns: 136px minmax(0, 1fr) auto; gap: 20px; align-items: center;
  padding: 18px; border: 2px solid color-mix(in srgb, var(--success) 45%, var(--border)); box-shadow: var(--shadow);
}
.exact-hit--replaced { border-color: color-mix(in srgb, var(--info) 40%, var(--border)); }
.exact-hit__media { width: 136px; aspect-ratio: 1; background: #fff; border-radius: var(--r); display: grid; place-items: center; overflow: hidden; border: 1px solid var(--border); }
.exact-hit__media img { max-height: 100%; object-fit: contain; }
.exact-hit__body { min-width: 0; display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.exact-hit__title { font-size: 1.3rem; margin: 2px 0 0; overflow-wrap: anywhere; }
.exact-hit__title a { color: var(--text); text-decoration: none; }
.exact-hit__title a:hover { text-decoration: underline; }
.exact-hit__meta { --gap: 10px; }
.exact-hit__note { margin: 4px 0 0; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.exact-hit__buy { display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.exact-hit__form { display: flex; gap: 8px; align-items: stretch; }
@media (max-width: 760px) {
  .exact-hit { grid-template-columns: 88px minmax(0, 1fr); gap: 14px; padding: 14px; }
  .exact-hit__media { width: 88px; }
  .exact-hit__buy { grid-column: 1 / -1; flex-direction: row; flex-wrap: wrap; align-items: center; justify-content: space-between; }
  .exact-hit__title { font-size: 1.1rem; }
}

.link-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 10px; }
.link-card {
  display: flex; align-items: center; gap: 12px; padding: 12px 14px; min-height: 64px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--r-lg); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.link-card:hover { text-decoration: none; border-color: var(--border-strong); box-shadow: var(--shadow-sm); }
.link-card__icon { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: var(--surface-2); flex-shrink: 0; }
.link-card:hover .link-card__icon { background: var(--brand); color: var(--on-brand); }
.link-card__body { display: flex; flex-direction: column; min-width: 0; flex: 1; }
.link-card__label { font-weight: 650; line-height: 1.3; overflow-wrap: anywhere; }
.link-card__meta { font-size: .84rem; color: var(--text-muted); }
.link-card__arrow { color: var(--text-subtle); }

.search-empty { margin-top: 8px; }
.search-empty__intro { text-align: center; margin-bottom: 20px; color: var(--text-subtle); }
.search-empty__intro h2 { color: var(--text); margin-top: 8px; }
.search-tips h3 { display: flex; align-items: center; gap: 8px; font-size: 1rem; }
.search-tips p { margin: 0; font-size: .94rem; }

/* --------------------------------------------------------------- product page */

.pdp-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: clamp(16px, 3vw, 28px); }
.pdp-top .breadcrumbs { margin-bottom: 0; }
.pdp-admin { flex-shrink: 0; }

.pdp { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 48px); margin-top: 18px; align-items: start; }
.pdp__image {
  aspect-ratio: 1 / 1; display: grid; place-items: center; padding: clamp(14px, 3vw, 32px); background: #fff; overflow: hidden;
}
.pdp__image img { max-height: 100%; width: auto; object-fit: contain; }
.pdp__placeholder { flex-direction: column; gap: 10px; font-size: .9rem; font-weight: 600; }
.pdp__placeholder .icon { width: 30%; height: 30%; }
.pdp__image-note { margin: 8px 2px 0; }

.pdp__info { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.pdp__sku { display: flex; align-items: center; gap: 6px; }
.pdp__sku .sku { font-size: .95rem; }
.pdp__sku .sku strong { color: var(--text); font-weight: 700; }
.pdp__title { margin: -8px 0 0; font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.15rem); overflow-wrap: anywhere; }

.pdp__buybox { padding: clamp(16px, 2.5vw, 22px); display: flex; flex-direction: column; gap: 16px; box-shadow: var(--shadow-sm); }
.pdp__price-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.pdp__form { display: flex; gap: 10px; align-items: stretch; flex-wrap: wrap; }
.pdp__form .qty-stepper { min-height: 52px; }
.pdp__form .qty-stepper button { width: 44px; }
.pdp__add { flex: 1; min-width: 180px; }
.pdp__assurances { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; font-size: .92rem; color: var(--text-muted); }
.pdp__assurances li { display: flex; align-items: center; gap: 8px; }
.pdp__assurances a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* Flex, not an auto-fill grid: boxes grow to fill every row, so no empty grey cell shows when there are only two facts. */
.pdp__specs { display: flex; flex-wrap: wrap; gap: 1px; margin: 0; background: var(--border); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.pdp__specs > div { flex: 1 1 150px; background: var(--surface); padding: 12px 14px; }
.pdp__specs dt { font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); }
.pdp__specs dd { margin: 2px 0 0; font-weight: 650; overflow-wrap: anywhere; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; min-height: 36px; border-radius: var(--r-pill);
  background: var(--surface-2); color: var(--text); font-size: .88rem; font-weight: 600; border: 1px solid transparent;
}
.chip:hover { text-decoration: none; border-color: var(--border-strong); background: var(--surface); }

@media (max-width: 860px) {
  .pdp { grid-template-columns: 1fr; }
  .pdp__image { aspect-ratio: 4 / 3; max-height: 420px; }
}
@media (max-width: 420px) {
  .pdp__form { flex-direction: column; }
  .pdp__form .qty-stepper { align-self: stretch; }
  .pdp__form .qty-stepper input { flex: 1; }
  .pdp__add { width: 100%; }
}

/* Superseded / discontinued notices */
.notice { border-radius: var(--r-lg); padding: clamp(16px, 2.5vw, 22px); border: 1px solid var(--border); background: var(--surface-2); }
.notice--info { background: var(--info-soft); border-color: color-mix(in srgb, var(--info) 28%, white); }
.notice--muted { background: var(--surface); border-color: var(--border-strong); }
.notice__head { display: flex; gap: 12px; align-items: flex-start; }
.notice__head > .icon { width: 1.6em; height: 1.6em; flex-shrink: 0; margin-top: 2px; color: var(--info); }
.notice--muted .notice__head > .icon { color: var(--warning); }
.notice__title { display: block; font-size: 1.12rem; margin-bottom: 4px; line-height: 1.35; }
.notice .search-box .input { background: var(--surface); border-color: var(--border-strong); }

.replacement {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 16px; padding: 14px;
  background: var(--surface); border-radius: var(--r); border: 1px solid var(--border); box-shadow: var(--shadow-xs);
}
.replacement__info { display: flex; flex-direction: column; flex: 1 1 200px; min-width: 0; }
.replacement__title { font-weight: 700; color: var(--text) !important; text-decoration: none !important; overflow-wrap: anywhere; }
.replacement__title:hover { text-decoration: underline !important; }
.replacement .pdp__form { flex: 1 1 100%; }

.chain { margin-top: 14px; font-size: .9rem; }
.chain__label { display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 6px; }
.chain__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.chain__list li { display: inline-flex; align-items: center; gap: 6px; }
.chain__list .sku { color: var(--text); }

.pdp-details { display: grid; gap: 18px; margin-top: clamp(24px, 4vw, 40px); }
.pdp-section .panel-title { margin-bottom: 10px; }
.usage-list { list-style: none; margin: 14px 0 0; padding: 0; columns: 3 220px; column-gap: 28px; }
.usage-list li { break-inside: avoid; padding: 6px 0; border-bottom: 1px dashed var(--border); display: flex; flex-direction: column; }
.usage-list__meta { font-size: .82rem; color: var(--text-muted); }
.usage-list.is-collapsed li:nth-child(n+13) { display: none; }
.usage-toggle { margin-top: 14px; }

.pdp-help { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px; align-items: center; background: var(--surface-2); }
.pdp-help__icon { width: 52px; height: 52px; border-radius: 14px; background: var(--surface); display: grid; place-items: center; color: var(--text); box-shadow: var(--shadow-xs); }
.pdp-help__title { font-size: 1.05rem; margin-bottom: 2px; }
@media (max-width: 860px) { .pdp-help { grid-template-columns: auto minmax(0, 1fr); } .pdp-help .cluster { grid-column: 1 / -1; } }

/* --------------------------------------------------------------- long-form content */

.content-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: start; margin-top: 8px; }
.content-nav { position: sticky; top: calc(var(--header-offset) + 16px); }
.content-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.content-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 42px; border-radius: var(--r); color: var(--text-muted); font-weight: 600; }
.content-nav a:hover { background: var(--surface); color: var(--text); text-decoration: none; }
.content-nav a.is-active { background: var(--surface); color: var(--text); box-shadow: inset 3px 0 0 var(--brand), var(--shadow-xs); }
.content-body { padding: clamp(20px, 4vw, 48px); }
.content-updated { margin: 32px 0 0; padding-top: 16px; border-top: 1px solid var(--border); font-size: .85rem; color: var(--text-subtle); }
@media (max-width: 900px) {
  .content-layout { grid-template-columns: 1fr; gap: 14px; }
  .content-nav { position: static; margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter); overflow-x: auto; scrollbar-width: none; }
  .content-nav::-webkit-scrollbar { display: none; }
  .content-nav ul { flex-direction: row; gap: 6px; }
  .content-nav a { white-space: nowrap; border: 1px solid var(--border); background: var(--surface); border-radius: var(--r-pill); padding: 8px 14px; }
  .content-nav a.is-active { background: var(--accent); color: #fff; box-shadow: none; border-color: var(--accent); }
}

.prose { max-width: 72ch; font-size: 1.02rem; line-height: 1.72; color: color-mix(in srgb, var(--text) 88%, var(--text-muted)); overflow-wrap: break-word; }
.prose > :first-child { margin-top: 0; }
.prose > :last-child { margin-bottom: 0; }
.prose .lead { font-size: 1.14rem; line-height: 1.65; color: var(--text); }
.prose h2 { font-size: 1.35rem; margin: 2em 0 .6em; padding-top: .2em; color: var(--text); scroll-margin-top: 110px; }
.prose h3 { font-size: 1.08rem; margin: 1.6em 0 .5em; color: var(--text); }
.prose p, .prose ul, .prose ol, .prose address, .prose .table-wrap { margin: 0 0 1.1em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .35em 0; padding-left: .2em; }
.prose li::marker { color: var(--text-subtle); }
.prose strong { color: var(--text); }
.prose hr { margin: 2em 0; }
.prose .table { font-size: .95rem; }
.prose--compact { font-size: .98rem; line-height: 1.65; max-width: none; }

.prose-toc { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 1.6em; padding: 14px; background: var(--surface-2); border-radius: var(--r); font-size: .9rem; }
.prose-toc a { padding: 4px 10px; border-radius: var(--r-pill); background: var(--surface); text-decoration: none !important; color: var(--text) !important; font-weight: 600; border: 1px solid var(--border); }
.prose-toc a:hover { border-color: var(--border-strong); }

.prose-callout { display: flex; gap: 14px; margin: 1.6em 0; padding: 16px 18px; border-radius: var(--r); background: var(--brand-soft); border-left: 4px solid var(--brand); }
.prose-callout p { margin: 4px 0 0; }
.prose-callout strong { display: block; }
.prose-callout--warning { background: var(--warning-soft); border-left-color: var(--warning); }

.prose-steps { list-style: none; padding-left: 0 !important; counter-reset: pstep; }
.prose-steps li { counter-increment: pstep; position: relative; padding: 2px 0 10px 48px; margin: 0 0 6px; min-height: 36px; }
.prose-steps li::before {
  content: counter(pstep); position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem; background: var(--brand); color: var(--on-brand);
}

.policy-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 0 0 1.8em; }
.policy-summary__item { padding: 16px; border-radius: var(--r); background: var(--surface-2); border: 1px solid var(--border); display: flex; flex-direction: column; gap: 4px; }
.policy-summary__value { font-size: 1.45rem; font-weight: 800; color: var(--text); letter-spacing: -.02em; line-height: 1.1; }
.policy-summary__label { font-size: .88rem; color: var(--text-muted); line-height: 1.4; }
@media (max-width: 640px) { .policy-summary { grid-template-columns: 1fr; } .policy-summary__item { flex-direction: row; align-items: baseline; gap: 12px; } .policy-summary__value { min-width: 96px; font-size: 1.2rem; } }

/* --------------------------------------------------------------- contact / feedback */

.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px; align-items: start; margin-top: 8px; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-form .form-grid { margin-top: 10px; }
.contact-form__actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-call {
  display: flex; align-items: center; gap: 16px; padding: 20px; border: 0;
  background: var(--brand); color: var(--on-brand); box-shadow: 0 10px 24px color-mix(in srgb, var(--brand) 30%, transparent);
  transition: transform .2s, box-shadow .2s;
}
.contact-call:hover { text-decoration: none; transform: translateY(-2px); background: var(--brand-hover); }
.contact-call > span:last-child { display: flex; flex-direction: column; }
.contact-call__icon { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: color-mix(in srgb, var(--on-brand) 14%, transparent); flex-shrink: 0; }
.contact-call__label { font-size: .85rem; font-weight: 700; opacity: .85; text-transform: uppercase; letter-spacing: .06em; }
.contact-call__number { font-size: 1.6rem; font-weight: 800; letter-spacing: -.01em; line-height: 1.2; }
.contact-call__hours { font-size: .9rem; opacity: .85; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.contact-list li { display: flex; gap: 12px; align-items: flex-start; }
.contact-list li > .icon { margin-top: 3px; color: var(--text-muted); }
.contact-list strong { display: block; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--text-muted); margin-bottom: 2px; }
.contact-list a { overflow-wrap: anywhere; }
.quick-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.quick-links a { display: flex; align-items: center; gap: 10px; padding: 10px 4px; min-height: 42px; color: var(--text); font-weight: 600; border-bottom: 1px solid var(--border); }
.quick-links li:last-child a { border-bottom: 0; }
.quick-links a:hover { text-decoration: none; color: var(--text); background: var(--surface-2); }

.contact-sent { text-align: center; padding: 24px 8px; }
.contact-sent__icon { color: var(--success); margin-bottom: 8px; }

/* Honeypot: hidden from people and assistive tech, still submitted by bots */
.hp-field { position: absolute !important; left: -10000px; top: auto; width: 1px; height: 1px; overflow: hidden; }

/* --------------------------------------------------------------- sitemap */

.sitemap-groups { margin-top: 8px; }
.sitemap-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.sitemap-parts { list-style: none; margin: 0; padding: 0; columns: 3 280px; column-gap: 28px; font-size: .92rem; }
.sitemap-parts li { break-inside: avoid; padding: 4px 0; }
.sitemap-parts a { color: var(--text); }
.sitemap-parts .sku { margin-right: 4px; }
.usage-toggle[hidden] { display: none; }

/* Keep typed text clear of the absolutely positioned search buttons. */
.home-hero__search .input, .search-page__box .input, .store-search-inline .input, .notice .search-box .input { padding-right: 112px; }
.search-box:not(.search-box--lg).store-search-inline .input, .notice .search-box .input { padding-right: 96px; }

/* ==========================================================================
   Design refresh: page headers, content pages, rails, shop, search, contact
   ========================================================================== */

/* Store page headers become a soft branded banner with the brand mark as a watermark. */
.page-header {
  position: relative; overflow: hidden; isolation: isolate; margin-top: clamp(14px, 2.4vw, 24px); margin-bottom: 18px;
  padding: clamp(18px, 3.4vw, 36px) clamp(18px, 3.4vw, 40px);
  border-radius: var(--r-xl); border: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  background:
    radial-gradient(520px 260px at 100% 0%, color-mix(in srgb, var(--brand) 16%, transparent), transparent 70%),
    linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface-2) 60%, var(--surface)));
  box-shadow: var(--shadow-sm);
}
.page-header::after {
  content: ""; position: absolute; z-index: -1; right: -28px; bottom: -40px; width: 220px; height: 220px; opacity: .07;
  background: url("/brand/mark.svg") center / contain no-repeat; transform: rotate(-12deg);
}
.page-header .breadcrumbs { margin-bottom: 10px; }
.page-header__lead { font-size: 1.04rem; }
@media (max-width: 520px) { .page-header { border-radius: var(--r-lg); } .page-header::after { width: 150px; height: 150px; } }

/* Content pages (about, shipping, returns, legal): dark header band, optionally with a photo */
.page-hero .container { padding-block: clamp(28px, 5vw, 64px) clamp(30px, 5vw, 60px); }
.page-hero h1 { margin-bottom: 10px; font-size: clamp(1.9rem, 1.3rem + 2.4vw, 3rem); max-width: 22ch; }
.page-hero .hero__lead { margin: 0; max-width: 62ch; }
.page-hero .breadcrumbs, .page-hero .breadcrumbs a { color: rgb(255 255 255 / 72%); }
.page-hero .breadcrumbs a:hover, .page-hero .breadcrumbs [aria-current] { color: #fff; }
.page-hero .breadcrumbs li + li::before { border-color: rgb(255 255 255 / 50%); }
.page-hero.hero--photo .container { padding-block: clamp(40px, 8vw, 110px) clamp(36px, 6vw, 72px); }
.page-content .content-layout { margin-top: clamp(20px, 3vw, 36px); }
.content-body { border-radius: var(--r-xl); }
.content-nav a.is-active { box-shadow: inset 3px 0 0 var(--brand), var(--shadow-sm); }
.prose h2 { display: flex; align-items: center; gap: 10px; }
.prose h2::before { content: ""; width: 4px; height: .95em; border-radius: 4px; background: var(--brand); flex-shrink: 0; }
.prose-callout { border-radius: 14px; }

/* Featured rail controls (store.js shows them when the rail overflows) */
.rail-nav { display: inline-flex; gap: 6px; }
.rail-nav[hidden] { display: none; }
.rail-nav .btn { width: 42px; padding: 0; border-radius: 50%; }

/* Shop */
.shop-sidebar .card { padding: 10px; border-radius: var(--r-lg); }
.cat-nav a { border-radius: 10px; }
.shop-toolbar { padding: 10px 12px 10px 16px; background: var(--surface); border: 1px solid color-mix(in srgb, var(--border) 80%, transparent); border-radius: 14px; box-shadow: var(--shadow-xs); }

/* Search */
.search-page__box .input { background: var(--surface); box-shadow: var(--shadow); }
.exact-hit { border-radius: var(--r-xl); }
.link-card { border-radius: 14px; box-shadow: var(--shadow-xs); }
.link-card:hover { border-color: color-mix(in srgb, var(--brand) 45%, var(--border)); box-shadow: var(--shadow); }

/* Contact */
.contact-call { border-radius: var(--r-xl); background: linear-gradient(135deg, var(--brand), var(--brand-hover)); }
.contact-media { border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow); background: var(--ink); }

/* Phones: section heads stack, rails are swiped instead of paged */
@media (max-width: 640px) {
  .section-head { flex-wrap: wrap; align-items: flex-end; gap: 6px 12px; }
  .section-head > div:first-child { flex: 1 1 100%; }
  .section-head > .btn, .section-head > .cluster { margin-left: -10px; }
  .rail-nav { display: none !important; }
}
@media (max-width: 900px) { .content-nav a.is-active { box-shadow: none; } }
