:root {
  --ink:#123b60;
  --muted:#526b80;
  --paper:#f2f7fb;
  --accent:#17466f;
  --line:#d4e2ed;
  --radius:28px;
}

* {
  box-sizing:border-box;
}

html {
  scroll-behavior:smooth;
  scroll-padding-top:95px;
}

body {
  margin:0;
  color:var(--ink);
  background:#fff;
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  -webkit-font-smoothing:antialiased;
}

a {
  color:inherit;
  text-decoration:none;
}

button {
  font:inherit;
  cursor:pointer;
}

button,a,summary {
  -webkit-tap-highlight-color:transparent;
}

a:focus-visible,button:focus-visible,summary:focus-visible,model-viewer:focus-visible {
  outline:3px solid #076ac8;
  outline-offset:5px;
}

button {
  color:inherit;
}

p {
  line-height:1.6;
}

h1,h2,h3,p {
  margin:0;
}

h2 {
  font-size:clamp(36px,4.8vw,64px);
  font-weight:650;
  letter-spacing:-.055em;
  line-height:1.08;
}

h3 {
  font-size:26px;
  letter-spacing:-.035em;
  line-height:1.2;
}

.wrap {
  width:min(1200px,calc(100% - 80px));
  margin-inline:auto;
}

.section {
  padding-block:112px;
}

.eyebrow {
  font-size:12px;
  font-weight:650;
  letter-spacing:.14em;
  margin-bottom:24px;
  line-height:1.5;
}

.muted {
  color:#7590a5;
}

.skip {
  position:fixed;
  top:-100px;
  left:20px;
  background:white;
  padding:15px;
  z-index:100;
}

.skip:focus {
  top:12px;
}

.header {
  position:sticky;
  top:0;
  z-index:20;
  background:rgb(255 255 255 / 90%);
  backdrop-filter:blur(20px);
  border-bottom:1px solid var(--line);
}

.nav {
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:76px;
  gap:20px;
}

.brand {
  display:inline-flex;
  align-items:center;
}

.brand img {
  display:block;
  width:54px;
  height:54px;
  object-fit:contain;
}

.nav-links {
  display:flex;
  gap:30px;
  font-size:13px;
}

.nav-links a:hover,.text-link:hover {
  color:#2474ac;
}

.button {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:25px;
  min-height:52px;
  padding:14px 25px;
  border-radius:30px;
  background:var(--accent);
  color:#fff;
  font-size:14px;
  font-weight:600;
  line-height:1.3;
  transition:background .2s,transform .2s;
}

.button:hover {
  background:#0d3455;
  transform:translateY(-2px);
}

.button span {
  font-size:19px;
}

.button-small {
  font-size:12px;
  min-height:38px;
  padding:9px 18px;
  gap:18px;
}

.text-link {
  font-size:14px;
  font-weight:600;
  display:inline-flex;
  align-items:center;
  gap:16px;
  min-height:44px;
}

.brand-bar {
  background:#e8f2f9;
  border-bottom:1px solid var(--line);
}

.brand-bar-inner {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  min-height:72px;
}

.brand-bar-label {
  font-size:13px;
  font-weight:650;
  text-transform:uppercase;
  letter-spacing:.04em;
}

.brand-bar-names {
  display:flex;
  gap:24px;
  align-items:center;
  color:#17466f;
  white-space:nowrap;
  font-size:17px;
  letter-spacing:-.025em;
}

.brand-bar-field {
  font-size:12px;
  color:var(--muted);
  text-align:right;
}

.hero {
  position:relative;
  overflow:hidden;
  text-align:center;
  padding-block:72px 84px;
  color:#fff;
  background:radial-gradient(circle at 50% 120%,#326d99 0%,#17466f 44%,#0b263f 100%);
}

.hero::before {
  content:"";
  position:absolute;
  width:min(88vw,1100px);
  aspect-ratio:1;
  left:50%;
  top:18%;
  border:1px solid rgb(255 255 255 / 17%);
  border-radius:50%;
  transform:translateX(-50%);
  box-shadow:0 0 0 105px rgb(255 255 255 / 3%),0 0 0 210px rgb(255 255 255 / 2%);
  pointer-events:none;
}

.hero-inner {
  position:relative;
  z-index:1;
}

.hero-kicker {
  margin-bottom:24px;
  color:#c9ddec;
  font-size:13px;
  font-weight:650;
  letter-spacing:.12em;
  text-transform:uppercase;
}

h1 {
  font-size:clamp(42px,5.8vw,76px);
  line-height:1.05;
  letter-spacing:-.045em;
  font-weight:700;
}

.hero-copy {
  max-width: 670px;
  margin-inline: auto;
  font-size:19px;
  color:#d2e1ec;
  margin-top:25px;
  line-height:1.5;
}

.hero-actions {
  display:flex;
  justify-content:center;
  gap:28px;
  align-items:center;
  margin-top:28px;
}

.hero .button {
  background:#fff;
  color:var(--accent);
}

.hero .button:hover {
  background:#e5f2fa;
}

.hero .text-link {
  color:#fff;
}

.hero .text-link:hover {
  color:#c9ddec;
}

.hero-kicker,.hero h1,.hero-copy,.hero-actions {
  animation:hero-enter .85s both;
}

.hero h1 { animation-delay:.08s; }
.hero-copy { animation-delay:.18s; }
.hero-actions { animation-delay:.28s; }

@keyframes hero-enter {
  from { opacity:0; transform:translateY(28px); }
  to { opacity:1; transform:translateY(0); }
}

.benefits {
  /* Follows the paper-coloured catalogue now: white keeps the two sections apart. */
  background:#fff;
}

.section-intro {
  font-size:19px;
  max-width:600px;
  color:var(--muted);
  margin-top:25px;
}

.benefit-grid {
  display:flex;
  gap:22px;
  margin-top:20px;
  overflow-x:auto;
  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;
  scrollbar-width:none;
  border-radius:var(--radius);
}

.benefit-grid::-webkit-scrollbar {
  display:none;
}

.benefit-controls {
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:10px;
  margin-top:28px;
}

.benefit-position {
  margin-right:12px;
  color:var(--muted);
  font-size:13px;
  font-variant-numeric:tabular-nums;
}

.benefit-arrow {
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:50%;
  background:#fff;
  color:var(--ink);
  font-size:22px;
}

.benefit-arrow:not(:disabled):hover {
  background:var(--accent);
  color:#fff;
}

.benefit-arrow:disabled {
  opacity:.4;
  cursor:default;
}

.benefit-card {
  position:relative;
  flex:0 0 min(72%,780px);
  scroll-snap-align:start;
  background:#dceaf5;
  border-radius:var(--radius);
  padding:55px;
  min-height:390px;
  overflow:hidden;
}

.benefit-card:nth-child(2) { background:#e3edf8; }
.benefit-card:nth-child(3) { background:#d5e6f2; }

.benefit-card::after {
  content:"";
  position:absolute;
  width:300px;
  height:300px;
  border:1px solid rgb(23 70 111 / 18%);
  border-radius:50%;
  right:-75px;
  bottom:-120px;
  box-shadow:0 0 0 45px rgb(23 70 111 / 5%),0 0 0 95px rgb(23 70 111 / 3%);
  pointer-events:none;
  transition:transform .5s;
}

.benefit-card:hover::after {
  transform:translate(-24px,-24px) scale(1.08);
}

.feature-icon {
  display:flex;
  align-items:center;
  font-size:26px;
  height:42px;
  color:var(--accent);
  font-weight:550;
  margin-bottom:23px;
  letter-spacing:-1px;
}

.benefit-card h3 {
  position:relative;
  z-index:1;
  max-width:520px;
  font-size:clamp(36px,4vw,54px);
  margin-bottom:20px;
}

.benefit-card p {
  position:relative;
  z-index:1;
  max-width:500px;
  font-size:18px;
  color:var(--muted);
}

.audience {
  display:grid;
  grid-template-columns:1.2fr 1fr;
  gap:80px;
}

.audience h2 {
  font-size:clamp(36px,4.2vw,56px);
}

.audience-copy article {
  padding:28px 0;
  border-top:1px solid var(--line);
}

.audience-copy article:first-child {
  padding-top:0;
  border-top:0;
}

.small-label {
  font-size:12px;
  letter-spacing:.1em;
  color:var(--muted);
  font-weight:650;
}

.audience-copy h3 {
  margin:16px 0;
}

.audience-copy p {
  font-size:16px;
  color:var(--muted);
}

.about-section {
  background:var(--accent);
  color:#fff;
}

.about-layout {
  display:grid;
  grid-template-columns:.9fr 1.1fr;
  gap:80px;
}

.about-section .eyebrow {
  color:#c5dceb;
}

.about-copy {
  font-size:18px;
  line-height:1.6;
}

.about-copy p + p {
  margin-top:22px;
}

.about-link {
  display:inline-flex;
  align-items:center;
  gap:16px;
  min-height:44px;
  margin-top:25px;
  border-bottom:1px solid #b6d3e6;
  font-size:15px;
  font-weight:650;
}

.about-link:hover {
  color:#c5dceb;
}

.parts-section {
  background:var(--paper);
}

.section-heading {
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:32px;
  margin-bottom:48px;
}

.section-heading>p {
  font-size:16px;
  color:var(--muted);
}

/* One catalogue grid: every card shares the same layout. */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: 24px 18px;
}
.product-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  scroll-margin-top: 100px;
}
.product-gallery {
  position: relative;
  aspect-ratio: 4 / 5;
  min-width: 0;
  background: #eaf2f8;
  border-radius: 18px;
}
.gallery-top {
  position: absolute;
  inset: 14px 14px auto;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}
.pill {
  padding: 5px 9px;
  border-radius: 12px;
  background: #fff;
  font-size: 12px;
  letter-spacing: .03em;
}
.gallery-count {
  font-size: 12px;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.gallery-slides {
  position: absolute;
  inset: 34px 0 54px;
  touch-action: pan-y;
}
.gallery-slide {
  width: 100%;
  height: 100%;
}
.gallery-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  mix-blend-mode: darken;
}
[hidden] {
  display: none !important;
}
.gallery-steps {
  display: none;
}
.gallery-steps button {
  border: 0;
  border-radius: 10px;
  background: transparent;
}
.gallery-steps button:active {
  background: #fff;
}
.gallery-controls {
  position: absolute;
  inset: auto 12px 8px;
}
.gallery-selectors {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(0, 1fr);
  gap: 3px;
}
.gallery-selectors button {
  min-width: 0;
  min-height: 44px;
  border: 0;
  border-radius: 10px;
  padding: 6px 3px;
  background: transparent;
  font-size: 13px;
  white-space: nowrap;
}
.gallery-selectors button[aria-pressed=true] {
  background: #fff;
  box-shadow: 0 2px 8px #00000006;
}
.model-slide model-viewer {
  width: 100%;
  height: 100%;
}
.model-status, .model-error {
  position: absolute;
  inset: 40% 12px auto;
  text-align: center;
  font-size: 12px;
  line-height: 1.5;
}
.no-js {
  position: absolute;
  inset: auto 10px 5px;
  font-size: 10px;
}
.no-js a {
  text-decoration: underline;
}
.product-info {
  padding: 18px 16px 10px;
}
.part-number {
  margin-bottom: 9px;
  font-size: 21px;
  line-height: 1.3;
  letter-spacing: -.02em;
  font-weight: 650;
}
.product-info h3 {
  min-height: 2.8em;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -.02em;
  font-weight: 500;
}
.product-summary {
  margin: 8px 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}
.product-info .button {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 0;
  border-radius: 11px;
  gap: 10px;
  font-size: 13px;
}
.product-info .button:disabled {
  background: #eaf2f8;
  color: #77787e;
  cursor: default;
  transform: none;
}
.product-details summary {
  display: block;
  min-height: 44px;
  padding: 12px 0;
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
}
.product-details summary {
  cursor: pointer;
  list-style: none;
  padding-right: 16px;
  position: relative;
}
.product-details summary::-webkit-details-marker {
  display: none;
}
.product-details summary::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 10px;
  font-size: 17px;
}
.product-details[open] summary::after {
  content: '−';
}
.product-description {
  border-top: 1px solid var(--line);
  padding: 12px 0;
  font-size: 13px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.product-description p + p {
  margin-top: 12px;
}
.specs {
  margin: 16px 0;
}
.specs > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 12px;
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
}
.specs dt {
  color: var(--muted);
}
.specs dd {
  margin: 0;
}
/* Closing tile of the grid: the rest of the range lives in the store. */
.more-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-self: stretch;
  padding: 28px 22px;
  border-radius: 18px;
  background: var(--accent);
  color: #fff;
  transition: background .2s;
}
.more-card:hover {
  background: #0d3455;
}
.more-number {
  font-size: 40px;
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: 1.05;
}
.more-text {
  font-size: 16px;
  line-height: 1.45;
  color: #d2e1ec;
}
.more-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: auto;
  font-size: 14px;
  font-weight: 650;
}

.faq-section {
  background:var(--paper);
}

.faq-layout {
  display:grid;
  grid-template-columns:1fr 1.1fr;
  gap:70px;
}

.faq-layout h2 {
  font-size:clamp(34px,3.5vw,48px);
}

.faq-list details {
  border-bottom:1px solid var(--line);
}

.faq-list summary {
  padding:23px 36px 23px 0;
  font-size:16px;
  line-height:1.4;
  font-weight:550;
  cursor:pointer;
  list-style:none;
  position:relative;
}

.faq-list summary::-webkit-details-marker {
  display:none;
}

.faq-list summary::after {
  content:'+';
  position:absolute;
  right:3px;
  font-size:24px;
  font-weight:300;
  top:17px;
}

.faq-list details[open] summary::after {
  content:'−';
}

.faq-list details p {
  padding:0 20px 24px 0;
  color:var(--muted);
  font-size:14px;
}

.closing {
  text-align:center;
  padding-block:115px;
}

.closing .eyebrow {
  color:var(--accent);
}

.closing h2 {
  font-size:clamp(36px,4.7vw,64px);
}

.closing h2 span {
  color:#7692a7;
}

.closing p:not(.eyebrow) {
  font-size:18px;
  color:var(--muted);
  margin:28px 0;
}

.closing-note {
  display:block;
  font-size:12px;
  color:var(--muted);
  margin-top:23px;
}

.footer {
  background:var(--paper);
  padding:45px 0 22px;
}

.footer-top {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  padding-bottom:32px;
}

.footer-top p {
  font-size:13px;
  color:var(--muted);
}

.footer-seller {
  display:grid;
  gap:4px;
  padding-bottom:24px;
  font-size:13px;
  line-height:1.5;
  color:var(--muted);
}
.footer-seller-name {
  font-weight:650;
  color:var(--ink);
}
.footer-seller-contacts {
  display:flex;
  flex-wrap:wrap;
  gap:0 20px;
}
.footer-seller-contacts a {
  display:inline-flex;
  align-items:center;
  min-height:44px;
  font-weight:600;
  color:var(--ink);
}
.footer-seller-contacts a:hover {
  color:#2474ac;
}

.footer-bottom {
  display:flex;
  gap:30px;
  justify-content:space-between;
  border-top:1px solid var(--line);
  padding-top:22px;
  color:var(--muted);
  font-size:12px;
  line-height:1.6;
}

@media(min-width:1500px) {
  .hero {
    padding-block:88px 100px;
  }
}

/* Three short steps fit side by side on desktop: no carousel to page through. */
@media(min-width:1001px) {
  .benefit-controls { display:none; }
  .benefit-grid {
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    margin-top:48px;
    overflow:visible;
  }
  .benefit-card {
    min-height:0;
    padding:40px 36px;
  }
  .benefit-card h3 {
    font-size:clamp(26px,2.4vw,32px);
  }
  .benefit-card p {
    font-size:16px;
  }
}

@media(max-width:1000px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .wrap {
    width:calc(100% - 48px);
  }
  .nav-links {
    gap:20px;
  }
  .benefit-card {
    padding:40px;
  }
  .benefit-card h3 {
    font-size:clamp(36px,4vw,48px);
  }
  .audience {
    gap:40px;
  }
  .about-layout {
    gap:40px;
  }
  .faq-layout {
    gap:36px;
  }
  .section {
    padding-block:85px;
  }
}

@media(max-width:720px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 12px; }
  .product-card, .product-gallery, .more-card { border-radius: 12px; }
  .product-info { padding: 13px 10px 5px; }
  .part-number { font-size: 18px; }
  .product-info h3 { font-size: 14px; min-height: 4.2em; }
  .product-summary { font-size: 13px; min-height: 3em; margin-bottom: 10px; }
  .product-info .button { font-size: 13px; padding: 9px 5px; gap: 6px; }
  .product-info .button span { font-size: 16px; }
  .gallery-top { inset: 10px 9px auto; }
  .pill { font-size: 12px; padding: 4px 7px; }
  .gallery-count { font-size: 12px; }
  .gallery-controls { inset: auto 5px 5px; }
  /* 7 numbered buttons in a half-width card are ~20px wide: keep 3D, step with ← / →. */
  .gallery-selectors button:not([data-select="0"]) { display: none; }
  .gallery-controls { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; }
  .gallery-selectors, .gallery-steps { display: contents; }
  .gallery-selectors button, .gallery-steps button { min-height: 44px; font-size: 14px; }
  .product-details summary { font-size: 13px; padding-right: 22px; }
  .product-description { font-size: 13px; }
  .more-card { padding: 20px 14px; }
  .more-number { font-size: 30px; }
  .more-text { font-size: 14px; }
  .more-action { font-size: 13px; }

  html {
    scroll-padding-top:78px;
  }
  .wrap {
    width:calc(100% - 36px);
  }
  .nav {
    height:64px;
    gap:10px;
  }
  .brand img {
    width:46px;
    height:46px;
  }
  .nav-links {
    display:none;
  }
  .button-small {
    gap:12px;
    padding:9px 14px;
  }
  .brand-bar-inner {
    min-height:0;
    padding-block:14px;
    flex-wrap:wrap;
    gap:5px 14px;
  }
  .brand-bar-label {
    width:100%;
    font-size:12px;
  }
  .brand-bar-names {
    gap:15px;
    font-size:14px;
  }
  .brand-bar-field {
    font-size:12px;
    text-align:left;
  }
  .hero {
    padding-block:52px 60px;
  }
  .hero-kicker {
    font-size:12px;
    margin-bottom:20px;
  }
  h1 {
    font-size:clamp(33px,7.8vw,52px);
  }
  .hero-copy {
    font-size:16px;
    margin-top:22px;
  }
  .hero-actions {
    gap:12px;
    flex-direction:column;
    margin-top:25px;
  }
  .button {
    font-size:13px;
  }
  .section {
    padding-block:65px;
  }
  .eyebrow {
    font-size:12px;
    margin-bottom:19px;
  }
  h2 {
    font-size:39px;
  }
  .section-intro {
    font-size:16px;
    margin-top:22px;
  }
  .benefit-grid {
    gap:16px;
    margin-top:16px;
  }
  .benefit-card {
    flex-basis:88%;
    min-height:335px;
    padding:28px;
  }
  .benefit-card h3 {
    font-size:28px;
  }
  .feature-icon {
    margin-bottom:18px;
  }
  .benefit-card p {
    max-width:490px;
    font-size:15px;
  }
  .audience {
    grid-template-columns:1fr;
    gap:36px;
  }
  .audience h2 {
    font-size:39px;
  }
  .audience-copy h3 {
    font-size:25px;
  }
  .audience-copy p {
    font-size:15px;
  }
  .about-layout {
    grid-template-columns:1fr;
    gap:28px;
  }
  .about-copy {
    font-size:16px;
  }
  .about-copy p + p {
    margin-top:18px;
  }
  .section-heading {
    align-items:start;
    flex-direction:column;
    gap:22px;
    margin-bottom:30px;
  }
  .section-heading>p {
    font-size:14px;
  }
  .faq-layout {
    grid-template-columns:1fr;
    gap:24px;
  }
  .faq-layout h2 {
    font-size:38px;
  }
  .faq-list summary {
    font-size:15px;
  }
  .closing {
    padding-block:75px;
  }
  .closing h2 {
    font-size:36px;
  }
  .closing p:not(.eyebrow) {
    font-size:16px;
  }
  .footer-top {
    flex-direction:column;
    align-items:start;
    gap:14px;
  }
  .footer-top p {
    font-size:14px;
  }
  .footer-top>.text-link {
    font-size:14px;
  }
  .footer-bottom {
    flex-direction:column;
    gap:12px;
  }
  .footer-bottom span:nth-child(2) {
    max-width:300px;
  }
}

@media(max-width:359px) {
  .wrap {
    width:calc(100% - 28px);
  }
  h1 {
    font-size:30px;
  }
  h2,.audience h2 {
    font-size:34px;
  }
  .brand-bar-field {
    width:100%;
  }
}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior:auto;
  }
  .benefit-grid {
    scroll-behavior:auto;
  }
  *,*::before,*::after {
    animation:none!important;
    transition:none!important;
  }
}

/* ---------- Stock & price search (top of page, shared part-search.js) ---------- */
.visually-hidden { position:absolute !important; width:1px; height:1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; }
.part-search { background:var(--paper); border-bottom:1px solid var(--line); padding-block:36px; scroll-margin-top:95px; }
.ps-form { display:grid; gap:14px; max-width:880px; margin-inline:auto; }
.ps-line { display:grid; grid-template-columns:minmax(0,1fr); gap:12px; align-items:end; }
.ps-line .button { width:100%; border:0; }
@media(min-width:721px) {
  .ps-line { grid-template-columns:minmax(0,1fr) auto; }
  .ps-line .button { width:auto; min-width:150px; min-height:58px; }
}
.ps-line .button:disabled { opacity:.6; cursor:progress; transform:none; }
.ps-title { font-size:20px; font-weight:650; letter-spacing:-.02em; line-height:1.3; }
.inline-link { text-decoration:underline; text-underline-offset:3px; }
.ps-field { display:grid; gap:8px; }
.ps-field > label > span { font-size:12px; font-weight:650; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.ps-field input { width:100%; min-height:58px; padding:0 22px; border:1px solid var(--line); border-radius:30px; background:#fff; font:inherit; font-size:18px; letter-spacing:.02em; color:var(--ink); box-shadow:0 10px 30px -22px rgb(18 59 96 / 45%); }
.ps-field input::placeholder { color:#8aa1b3; }
.ps-field input:focus { outline:none; border-color:var(--accent); box-shadow:0 0 0 4px rgb(23 70 111 / 12%); }
.ps-combo { position:relative; }
.ps-suggest { position:absolute; z-index:30; left:0; right:0; top:calc(100% + 8px); margin:0; padding:8px; list-style:none; background:#fff; border:1px solid var(--line); border-radius:20px; box-shadow:0 24px 50px -24px rgb(18 59 96 / 45%); max-height:min(360px,60vh); overflow-y:auto; }
.ps-suggest li { display:flex; gap:14px; align-items:baseline; padding:11px 14px; border-radius:12px; cursor:pointer; }
.ps-suggest li[aria-selected="true"], .ps-suggest li:hover { background:var(--paper); }
.ps-suggest .mono { flex:none; font-weight:650; font-size:16px; letter-spacing:.02em; }
.ps-suggest mark { background:none; color:#076ac8; }
.ps-suggest .ps-s-name { color:var(--muted); font-size:14px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; min-width:0; }
.ps-examples { font-size:13px; color:var(--muted); display:flex; flex-wrap:wrap; align-items:center; gap:6px 8px; padding-left:22px; }
.ps-examples button { border:1px solid var(--line); background:#fff; border-radius:20px; padding:4px 12px; font-weight:650; color:var(--accent); }
.ps-examples button:hover { border-color:var(--accent); }
.ps-error { color:#a3262e; background:#fdecec; border-radius:14px; padding:10px 16px; font-size:15px; }

.ps-results { max-width:880px; margin:22px auto 0; display:grid; gap:14px; scroll-margin-top:100px; }
.ps-results-head { display:flex; flex-wrap:wrap; gap:4px 16px; align-items:baseline; justify-content:space-between; padding-inline:6px; }
.ps-results-head h3 { font-size:20px; }
.ps-note, .ps-wait { font-size:13px; color:var(--muted); }
.ps-wait { padding:16px 6px; }
.ps-item { background:#fff; border:1px solid var(--line); border-radius:22px; padding:20px; display:grid; gap:14px; }
.ps-item.is-not_found { background:transparent; border-style:dashed; }
.ps-row { display:grid; grid-template-columns:64px minmax(0,1fr); gap:12px 16px; align-items:center; }
.ps-row > .ps-price, .ps-row > .ps-cta { grid-column:2; }
.ps-row.no-thumb { grid-template-columns:minmax(0,1fr); }
.ps-row.no-thumb > .ps-price, .ps-row.no-thumb > .ps-cta { grid-column:1; }
@media(min-width:721px) {
  .ps-row { grid-template-columns:64px minmax(0,1fr) 170px 160px; }
  .ps-row.no-thumb { grid-template-columns:minmax(0,1fr) 170px 160px; }
  .ps-row > .ps-price, .ps-row > .ps-cta, .ps-row.no-thumb > .ps-price, .ps-row.no-thumb > .ps-cta { grid-column:auto; }
  .ps-row > .ps-price { text-align:right; }
  .ps-row > .ps-cta { justify-self:stretch; width:100%; }
}
.ps-thumb { width:64px; height:64px; border-radius:14px; background:var(--paper); overflow:hidden; display:block; }
.ps-thumb img { width:100%; height:100%; object-fit:contain; display:block; }
a.ps-thumb:hover { outline:2px solid #076ac8; }
.ps-main { display:grid; gap:6px; min-width:0; }
.ps-label { font-size:12px; font-weight:650; letter-spacing:.14em; text-transform:uppercase; color:var(--muted); }
.ps-main h3, .ps-main h4 { font-size:17px; letter-spacing:-.01em; line-height:1.35; display:flex; flex-wrap:wrap; gap:2px 10px; align-items:baseline; }
.ps-main h4 { font-size:16px; margin:0; }
.ps-main .mono { font-weight:700; letter-spacing:.01em; }
.ps-name { font-weight:500; color:var(--muted); }
.ps-stock { display:flex; flex-wrap:wrap; gap:6px 10px; align-items:center; font-size:13px; }
.ps-badge { display:inline-flex; align-items:center; gap:6px; padding:4px 11px; border-radius:20px; font-weight:650; font-size:12px; }
.ps-badge::before { content:""; width:7px; height:7px; border-radius:50%; background:currentColor; }
.ps-badge.ok { color:#14744a; background:#e2f4ea; }
.ps-badge.warn { color:#8a5a00; background:#fdf0d8; }
.ps-badge.wait { color:#076ac8; background:#e3f0fb; }
.ps-badge.no { color:var(--muted); background:#edf2f6; }
.ps-eta { color:var(--muted); }
.ps-help { font-size:14px; color:var(--muted); }
.ps-price { display:grid; gap:2px; }
.ps-price b { font-size:21px; font-weight:700; letter-spacing:-.03em; }
.ps-unit, .ps-total, .ps-price-hint { font-size:12px; color:var(--muted); }
.ps-price-hint { font-weight:650; }
.ps-cta { justify-self:start; }
.ps-reps { border-top:1px solid var(--line); padding-top:12px; display:grid; gap:10px; }
.ps-rep { padding:12px; margin-inline:-8px; border-radius:16px; background:var(--paper); }
.ps-item.is-replacement .ps-reps .ps-label { color:#14744a; }
.ps-foot { display:flex; flex-wrap:wrap; gap:12px 20px; align-items:center; justify-content:space-between; padding:6px 6px 0; font-size:14px; color:var(--muted); }
.part-search.is-loading .ps-results { opacity:.7; }
@media(max-width:720px) {
  .part-search { padding-block:24px; }
  .ps-examples { padding-left:4px; }
  .ps-item { padding:16px; border-radius:18px; }
}

/* ---------- Card price (data/prices.json) in place of the «Наличие и цена» button ---------- */
.price-cta {
  display: grid;
  gap: 4px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--paper);
  transition: border-color .2s, background .2s;
}
.price-cta:hover {
  border-color: var(--accent);
  background: #e8f2f9;
}
.price-value {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.02em;
  line-height: 1.2;
  white-space: nowrap;
}
.price-arrow {
  font-size: 16px;
  font-weight: 500;
}
.price-note {
  font-size: 12px;
  line-height: 1.4;
  color: var(--muted);
}
.price-stock { font-weight: 650; }
.price-stock.is-ok { color: #14744a; }
.price-stock.is-wait { color: #8a5a00; }
.price-stock.is-no { color: var(--muted); }
@media(max-width:720px) {
  .price-cta { padding: 8px 10px; }
  .price-value { font-size: 18px; }
}
