.catalog-page {
  --sans: "Inter", "Segoe UI", system-ui, sans-serif;
  --bg: #f8fbfe;
  --heading: #102c4c;
  --text: #163650;
  --muted: #46627d;
  --primary-bg: #145593;
  --primary-hover: #0f4274;
  background: var(--bg);
  font-size: 16px;
}
.catalog-page .wrap { width: min(1240px, calc(100% - 72px)); }
.catalog-page :is(h1, h2, .brand) { font-family: var(--sans); }
.catalog-page .ruo-banner { background: #16578f; color: white; padding-block: 8px; font-size: .875rem; letter-spacing: .015em; }
.catalog-page .site-header { border-top: 0; }
.catalog-page .nav { min-height: 74px; }
.catalog-page .brand { font-size: clamp(1.05rem, 2vw, 1.42rem); letter-spacing: -.045em; font-weight: 600; }
.catalog-page .brand strong { color: #145593; }
.catalog-page nav { margin-left: auto; margin-right: 18px; }
.catalog-page nav a { font-size: .92rem; }
.catalog-page nav a[aria-current] { color: #145593; box-shadow: 0 2px #2469a6; padding-bottom: 5px; }
.catalog-page .bag { background: #edf5fc; }
.catalog-hero { position: relative; isolation: isolate; overflow: hidden; background: #ecf5fd; border-bottom: 1px solid #ccdeee; }
.hero-art { position: absolute; inset: 0 0 0 42%; z-index: -1; }
.hero-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 58%; }
.hero-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, #ecf5fd, #ecf5fd00 23%); }
.catalog-hero-inner { min-height: 400px; display: flex; align-items: center; }
.catalog-intro { width: 51%; max-width: 590px; padding-block: 48px; }
.catalog-intro h1 { font-size: clamp(2.8rem, 5.4vw, 5.15rem); font-weight: 735; line-height: 1; color: var(--heading); letter-spacing: -.072em; }
.catalog-intro p { max-width: 460px; margin: 20px 0 22px; font-size: clamp(1rem, 1.5vw, 1.14rem); color: var(--muted); line-height: 1.65; }
.catalog-intro .button { padding-inline: 19px; }
.catalog-listing { padding-block: 36px 60px; scroll-margin-top: 15px; }
.catalog-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin: 0 0 18px; }
.catalog-heading h2 { font-size: clamp(1.55rem, 3vw, 2rem); font-weight: 720; letter-spacing: -.043em; }
.catalog-heading p { color: var(--muted); font-size: .88rem; white-space: nowrap; }
#catalog-products { display: grid; gap: 15px; }
.catalog-row { display: grid; grid-template-columns: minmax(240px, 30%) minmax(0, 1fr) 176px; overflow: hidden; background: white; border: 1px solid #d5e3ef; border-radius: 12px; box-shadow: 0 3px 10px #15395b06; }
.catalog-specimen { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 38%; align-items: center; min-height: 200px; gap: 6px; width: 100%; appearance: none; border: 0; padding: 13px; background: linear-gradient(150deg, #f0f8ff, #dcecfb); color: var(--heading); text-align: left; }
.catalog-specimen:hover { background: linear-gradient(150deg, #e6f2fe, #d3e8fa); }
.catalog-specimen:focus-visible { outline-offset: -4px; }
.structure-preview { min-width: 0; display: grid; gap: 3px; text-align: center; }
.structure-preview.component-preview { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px; }
.structure-preview img { display: block; width: 100%; height: 142px; object-fit: contain; mix-blend-mode: multiply; }
.component-preview img { height: 53px; }
.catalog-vial { width: 100%; height: 172px; display: block; object-fit: cover; border-radius: 6px; object-position: center; box-shadow: 0 6px 16px #1d456f25; }
.catalog-information { padding: 23px 24px 20px; min-width: 0; display: flex; flex-direction: column; justify-content: center; align-items: start; }
.catalog-information h3 { color: var(--heading); font-weight: 730; font-size: clamp(1.2rem, 2.3vw, 1.78rem); line-height: 1.15; letter-spacing: -.035em; }
.catalog-facts { display: flex; flex-wrap: wrap; gap: 6px 9px; margin: 12px 0 10px; }
.catalog-facts span { display: inline-block; background: #edf5fc; padding: 3px 9px; border-radius: 5px; color: #285577; font-size: .875rem; }
.catalog-action { font-weight: 680; font-size: .91rem; }
.catalog-buy { padding: 17px 15px; align-self: stretch; display: flex; align-items: stretch; justify-content: center; flex-direction: column; gap: 8px; border-left: 1px solid #dce8f3; background: #f8fbfe; }
.catalog-price { color: var(--heading); font-weight: 750; font-size: 1.58rem; line-height: 1.15; letter-spacing: -.03em; }
.catalog-availability { color: var(--muted); font-size: .875rem; }
.catalog-quantity { display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 1px; border: 1px solid #c6d9ea; border-radius: 6px; overflow: hidden; background: white; text-align: center; }
.catalog-quantity button { min-height: 38px; border: 0; background: #edf5fc; font-size: 1.15rem; color: #164975; }
.catalog-quantity button:focus-visible { outline-offset: -3px; }
.catalog-quantity button:hover:not(:disabled) { background: #dcecf9; }
.catalog-add { min-height: 39px; font-size: .9rem; padding: 5px 10px; }
.catalog-footer { padding: 23px 0; border-top: 1px solid var(--line); background: #ebf4fc; }
.catalog-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.catalog-footer .wrap div { flex-grow: 1; }
.catalog-footer p { margin-top: 5px; color: var(--muted); font-size: .91rem; }
.catalog-footer a { font-size: .92rem; }
.catalog-page #panel[data-structure] { width: min(850px, calc(100% - 28px)); }
.structure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); gap: 14px; }
.structure-detail { margin: 0; min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; }
.structure-detail img { display: block; width: 100%; max-height: 325px; object-fit: contain; background: white; }
.structure-detail figcaption { padding: 12px; display: grid; gap: 5px; background: #f2f8fd; overflow-wrap: anywhere; }
.structure-detail a { justify-self: start; font-size: .92rem; }
.structure-caption { color: var(--muted); }
.structure-notes { margin-block: 10px; padding-left: 22px; color: var(--muted); }
@media (max-width: 950px) {
  .catalog-page .wrap { width: calc(100% - 40px); }
  .catalog-row { grid-template-columns: minmax(195px, 33%) 1fr 146px; }
  .catalog-information { padding-inline: 16px; }
  .catalog-buy { padding-inline: 11px; }
}
@media (max-width: 760px) {
  .catalog-page .nav { min-height: 64px; }
  .catalog-page .brand img { width: 43px; height: 42px; }
  .catalog-page nav { margin: 0; }
  .catalog-page nav a[aria-current] { box-shadow: none; }
  .catalog-hero-inner { min-height: 360px; }
  .catalog-intro { width: 69%; padding-block: 30px; }
  .hero-art { left: 22%; }
  .hero-art::after { background: linear-gradient(90deg, #ecf5fd, #ecf5fdf0 25%, #ecf5fd00 66%); }
  .catalog-intro h1 { font-size: clamp(2.45rem, 8vw, 3.5rem); }
  .catalog-row { grid-template-columns: minmax(140px, 43%) minmax(0, 1fr); }
  .catalog-buy { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto auto; align-items: center; justify-content: initial; gap: 8px 12px; border-left: 0; border-top: 1px solid var(--line); padding: 10px; }
  .catalog-quantity { min-width: 91px; }
  .catalog-price { font-size: 1.14rem; }
}
@media (max-width: 460px) {
  .catalog-page .wrap { width: calc(100% - 28px); }
  .catalog-hero-inner { min-height: 344px; }
  .catalog-intro { width: 79%; }
  .catalog-intro p { font-size: .94rem; margin-block: 13px 15px; }
  .catalog-listing { padding-block: 28px 37px; }
  .catalog-specimen { min-height: 168px; gap: 4px; padding: 6px; }
  .catalog-vial { height: 130px; border-radius: 4px; }
  .structure-preview img { height: 76px; }
  .component-preview img { height: 29px; }
  .catalog-information { padding: 12px 10px; }
  .catalog-facts { margin-block: 8px 6px; gap: 4px; }
  .catalog-facts span { font-size: .75rem; padding: 2px 5px; }
  .catalog-action, .catalog-availability { font-size: .8rem; }
  .catalog-add { font-size: .8rem; }
}
.structure-thumbnail { display: grid; align-content: center; min-width: 0; }
.structure-name { overflow-wrap: anywhere; padding: 0 1px; font-size: .75rem; line-height: 1.25; font-weight: 650; }
.catalog-row { scroll-margin-top: 12px; }
.catalog-row:target { outline: 2px solid #316eaa; outline-offset: 4px; }
@media (max-width: 460px) {
  .structure-name { font-size: .66rem; }
}
