:root {
  --catalog-scroll: 0px;
  --ink: #080b10;
  --ink-2: #101720;
  --ink-3: #172230;
  --paper: #e9edf0;
  --surface: #f8fafb;
  --white: #fff;
  --text: #0d1117;
  --muted: #687281;
  --line: rgba(13, 17, 23, .12);
  --blue: #16c7ff;
  --blue-2: #4b7cff;
  --blue-soft: #dff7ff;
  --danger: #e94a67;
  --shadow-sm: 0 8px 24px rgba(11, 20, 32, .08);
  --shadow-lg: 0 24px 70px rgba(4, 11, 20, .18);
  --radius: 20px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(180deg, #dfe5e9 0, var(--paper) 380px, #f2f4f5 100%);
  font-family: "Space Grotesk", "Noto Sans JP", "Hiragino Sans", "Yu Gothic", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  -webkit-text-size-adjust: 100%;
}

.catalog-page .nv-header {
  border-bottom-color: rgba(22, 199, 255, .13);
  background: rgba(7, 10, 15, .94);
}

.catalog-page .nv-header::after {
  background: linear-gradient(90deg, transparent, var(--blue) 35%, var(--blue-2) 70%, transparent);
}

.catalog-page .nv-logo-text::before,
.catalog-page .nv-logo-text::after {
  display: none;
}

.catalog-page .nv-logo-accent {
  color: var(--blue);
  text-shadow: 0 0 14px rgba(22, 199, 255, .6);
}

.catalog-page .nv-header-blog,
.catalog-page .nv-header-price {
  border-color: rgba(22, 199, 255, .34);
  background: rgba(16, 23, 32, .92);
  box-shadow: inset 0 0 14px rgba(22, 199, 255, .035);
}

.catalog-page .nv-header-blog span,
.catalog-page .nv-header-price span {
  text-shadow: none;
}

button,
input {
  font: inherit;
}

button,
.catalog-card {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
input:focus-visible,
.catalog-card:focus-visible {
  outline: 3px solid rgba(22, 199, 255, .42);
  outline-offset: 3px;
}

.sr-only,
.noscript {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.catalog-scroll-progress {
  position: fixed;
  z-index: 999;
  top: var(--nv-header-total-h, 0px);
  right: 0;
  left: 0;
  height: 3px;
  overflow: hidden;
  background: rgba(255, 255, 255, .08);
  pointer-events: none;
}

.catalog-scroll-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  box-shadow: 0 0 16px rgba(22, 199, 255, .72);
  transform: scaleX(0);
  transform-origin: left;
  will-change: transform;
}

/* Loading */
.loading-screen {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-content: center;
  gap: 18px;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(rgba(22, 199, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 199, 255, .05) 1px, transparent 1px),
    var(--ink);
  background-size: 28px 28px;
  transition: opacity .42s ease, visibility .42s ease;
}

.loading-screen::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(22, 199, 255, .1), transparent 65%);
  animation: loading-scan 1.4s linear infinite;
}

.loading-screen.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-screen p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, .68);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .28em;
}

.loading-mark {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 6px;
  height: 42px;
}

.loading-mark span {
  width: 5px;
  height: 10px;
  border-radius: 8px;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(22, 199, 255, .5);
  animation: loading-bars .72s ease-in-out infinite alternate;
}

.loading-mark span:nth-child(2) {
  height: 28px;
  animation-delay: .1s;
}

.loading-mark span:nth-child(3) {
  height: 18px;
  animation-delay: .2s;
}

@keyframes loading-bars {
  to { height: 42px; background: #87eaff; }
}

@keyframes loading-scan {
  from { transform: translateY(-45%); }
  to { transform: translateY(45%); }
}

/* Hero */
.hero {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 30%, rgba(22, 199, 255, .17), transparent 24%),
    radial-gradient(circle at 16% 92%, rgba(75, 124, 255, .13), transparent 32%),
    linear-gradient(145deg, #05070b 0%, #0c1119 54%, #101a27 100%);
}

.hero::before {
  content: "CATALOG / 2026";
  position: absolute;
  z-index: -1;
  right: -20px;
  bottom: 6px;
  color: rgba(255, 255, 255, .025);
  font-size: clamp(70px, 13vw, 190px);
  font-weight: 900;
  letter-spacing: -.08em;
  white-space: nowrap;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(22, 199, 255, .78), transparent);
  box-shadow: 0 0 18px rgba(22, 199, 255, .55);
}

.hero-grid {
  position: absolute;
  z-index: -2;
  inset: -80px;
  opacity: .42;
  background-image:
    linear-gradient(rgba(137, 158, 183, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(137, 158, 183, .08) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: linear-gradient(90deg, #000, transparent 86%);
  transform: perspective(500px) rotateX(18deg) translateY(calc(var(--catalog-scroll) * .08));
  transform-origin: center top;
}

.hero-scan {
  position: absolute;
  z-index: -1;
  top: -35%;
  bottom: -35%;
  left: 52%;
  width: 1px;
  background: linear-gradient(transparent, rgba(22, 199, 255, .88), transparent);
  box-shadow: 0 0 42px 10px rgba(22, 199, 255, .08);
  transform: rotate(21deg);
  animation: hero-scan 5.4s ease-in-out infinite;
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 96px 0 70px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0 0 22px;
  color: rgba(255, 255, 255, .46);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
}

.eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border: 1px solid rgba(22, 199, 255, .28);
  border-radius: 999px;
  color: #dff9ff;
  background: rgba(22, 199, 255, .08);
}

.eyebrow i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(22, 199, 255, .08), 0 0 12px rgba(22, 199, 255, .8);
  animation: status-pulse 1.8s ease-in-out infinite;
}

.hero h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(52px, 6.2vw, 88px);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: -.062em;
}

.hero-title-line {
  display: block;
  color: var(--white);
  white-space: nowrap;
}

.hero-title-accent {
  color: transparent;
  background: linear-gradient(96deg, #fff 0%, #c9f5ff 24%, var(--blue) 62%, #7194ff 100%);
  background-size: 180% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  animation: title-light 4.8s ease-in-out infinite;
}

.hero-metrics {
  display: flex;
  gap: 12px;
  margin-top: 34px;
}

.hero-metrics div {
  position: relative;
  min-width: 112px;
  padding: 13px 14px 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 13px;
  background: rgba(255, 255, 255, .045);
}

.hero-metrics div::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 0 10px rgba(22, 199, 255, .8);
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--white);
  font-size: 24px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  line-height: 1;
}

.hero-metrics span {
  margin-top: 6px;
  color: rgba(255, 255, 255, .42);
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}

.hero-scroll-cue {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 28px;
  color: rgba(255, 255, 255, .34);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
}

.hero-scroll-cue i {
  position: relative;
  width: 36px;
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, .2);
}

.hero-scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateX(-100%);
  animation: cue-line 1.6s ease-in-out infinite;
}

.hero-visual {
  position: absolute;
  z-index: 1;
  top: 142px;
  right: max(4vw, calc((100vw - 1260px) / 2));
  width: min(34vw, 420px);
  aspect-ratio: 1;
  transform: translateY(calc(var(--catalog-scroll) * .06));
  will-change: transform;
}

.catalog-disc {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(22, 199, 255, .14) 0 2%, transparent 3%),
    repeating-conic-gradient(from 0deg, rgba(22, 199, 255, .34) 0 1deg, transparent 1deg 14deg);
  box-shadow:
    inset 0 0 0 32px rgba(255, 255, 255, .015),
    0 0 70px rgba(22, 199, 255, .05);
  animation: disc-breathe 4s ease-in-out infinite;
}

.catalog-disc::before,
.catalog-disc::after {
  content: "";
  position: absolute;
  border-radius: 50%;
}

.catalog-disc::before {
  inset: 8%;
  border: 1px dashed rgba(22, 199, 255, .36);
  animation: disc-spin 22s linear infinite;
}

.catalog-disc::after {
  inset: 22%;
  border: 1px solid rgba(255, 255, 255, .1);
  background: rgba(7, 11, 17, .72);
}

.orbit {
  position: absolute;
  z-index: 2;
  border-radius: 50%;
}

.orbit-one {
  inset: 14%;
  border-top: 2px solid var(--blue);
  border-right: 2px solid transparent;
  animation: disc-spin 7s linear infinite;
}

.orbit-two {
  inset: 30%;
  border-bottom: 1px solid rgba(109, 142, 255, .92);
  border-left: 1px solid transparent;
  animation: disc-spin-reverse 5s linear infinite;
}

.tool-symbol {
  position: relative;
  z-index: 4;
  display: grid;
  text-align: center;
}

.tool-symbol strong {
  color: var(--white);
  font-size: clamp(48px, 7vw, 88px);
  font-weight: 300;
  letter-spacing: -.08em;
  line-height: .9;
}

.tool-symbol span {
  margin-top: 10px;
  color: var(--blue);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .22em;
  white-space: nowrap;
}

.visual-label {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 8%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 9px;
  color: rgba(255, 255, 255, .62);
  background: #0d141e;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .12em;
  animation: label-float 3.2s ease-in-out infinite;
}

.visual-label span {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 7px;
  color: var(--ink);
  background: var(--blue);
  letter-spacing: 0;
}

body.catalog-ready .hero-copy {
  animation: hero-copy-in .7s cubic-bezier(.16, 1, .3, 1) both;
}

body.catalog-ready .hero-visual {
  animation: hero-visual-in .9s .12s cubic-bezier(.16, 1, .3, 1) both;
}

/* Search and categories */
.catalog-controls {
  position: sticky;
  z-index: 30;
  top: var(--nv-header-total-h, 0px);
  border-bottom: 1px solid rgba(11, 18, 28, .1);
  background: rgba(236, 240, 243, .96);
  box-shadow: 0 14px 34px rgba(8, 15, 24, .08);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.control-inner {
  display: grid;
  grid-template-columns: minmax(0, 680px) auto;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 14px 0 9px;
}

.search-box {
  position: relative;
  display: grid;
  grid-template-columns: 22px 1fr auto;
  align-items: center;
  gap: 11px;
  min-height: 50px;
  padding: 0 12px 0 16px;
  overflow: hidden;
  border: 1px solid rgba(11, 18, 28, .12);
  border-radius: 15px;
  background: var(--white);
  box-shadow: 0 8px 22px rgba(8, 15, 24, .05);
  transition: border-color .22s ease, box-shadow .22s ease, transform .22s ease;
}

.search-box::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), var(--blue-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}

.search-box:focus-within {
  border-color: rgba(22, 199, 255, .72);
  box-shadow: 0 10px 30px rgba(22, 199, 255, .12);
  transform: translateY(-1px);
}

.search-box:focus-within::after {
  transform: scaleX(1);
}

.search-box svg {
  width: 21px;
  fill: none;
  stroke: #188caf;
  stroke-width: 2;
  stroke-linecap: round;
  transition: transform .25s ease;
}

.search-box:focus-within svg {
  transform: rotate(-8deg) scale(1.08);
}

.search-box input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--text);
  background: transparent;
  font-size: 13px;
  font-weight: 650;
}

.search-box input::placeholder {
  color: #929ba6;
}

.search-box button {
  display: none;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 10px;
  color: #5d6672;
  background: #edf1f3;
  cursor: pointer;
}

.search-box.has-value button {
  display: grid;
}

.result-indicator {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: #5e6875;
  white-space: nowrap;
}

.result-indicator strong {
  color: var(--text);
  font-size: 25px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
}

.result-indicator span {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .04em;
}

.category-shell {
  overflow: hidden;
}

.category-tabs {
  display: flex;
  gap: 7px;
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 0 0 12px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x proximity;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 36px;
  padding: 0 12px;
  overflow: hidden;
  border: 1px solid rgba(13, 17, 23, .1);
  border-radius: 11px;
  color: #596575;
  background: rgba(255, 255, 255, .74);
  font-size: 10px;
  font-weight: 850;
  scroll-snap-align: start;
  cursor: pointer;
  transition: color .22s ease, border-color .22s ease, background .22s ease, transform .22s ease;
}

.category-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, #0c121a, #152334);
  transform: translateY(105%);
  transition: transform .3s cubic-bezier(.16, 1, .3, 1);
}

.category-tab > * {
  position: relative;
  z-index: 1;
}

.category-label {
  color: inherit;
  white-space: nowrap;
}

.category-count {
  display: grid;
  place-items: center;
  min-width: 21px;
  height: 21px;
  padding: 0 5px;
  border-radius: 7px;
  color: #5f6874;
  background: rgba(13, 17, 23, .06);
  font-size: 8px;
  transition: color .22s ease, background .22s ease;
}

.category-tab:hover {
  border-color: rgba(22, 199, 255, .38);
  transform: translateY(-2px);
}

.category-tab[aria-selected="true"] {
  color: var(--white);
  border-color: #111923;
}

.category-tab[aria-selected="true"]::before {
  transform: translateY(0);
}

.category-tab[aria-selected="true"] .category-count {
  color: #061017;
  background: var(--blue);
  box-shadow: 0 0 14px rgba(22, 199, 255, .32);
}

/* Catalog */
.catalog-section {
  width: min(1260px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0 72px;
  scroll-margin-top: calc(var(--nv-header-total-h, 0px) + 112px);
}

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

.section-kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 7px;
  color: #697481;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .2em;
}

.section-kicker span {
  width: 22px;
  height: 2px;
  background: var(--blue);
  box-shadow: 0 0 8px rgba(22, 199, 255, .5);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 47px);
  font-weight: 900;
  letter-spacing: -.05em;
  line-height: 1;
}

.section-guide {
  margin: 0;
  color: #7d8793;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.catalog-card {
  --card-order: 0;
  position: relative;
  display: flex;
  min-width: 0;
  overflow: hidden;
  contain: layout paint style;
  border: 1px solid rgba(13, 17, 23, .09);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  opacity: 0;
  transform: translateY(18px) scale(.985);
  transition:
    border-color .25s ease,
    box-shadow .25s ease,
    transform .25s ease;
}

.catalog-card::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: -20%;
  bottom: -20%;
  left: -60%;
  width: 32%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-18deg);
  transition: left .58s ease;
  pointer-events: none;
}

.catalog-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  animation: card-in .48s calc(var(--card-order) * 38ms) ease both;
}

.catalog-card:hover {
  border-color: rgba(22, 199, 255, .42);
  box-shadow: 0 20px 46px rgba(6, 17, 30, .16);
  transform: translateY(-6px);
}

.catalog-card:hover::after {
  left: 130%;
}

.catalog-card:active {
  transform: scale(.98);
}

.card-image {
  position: relative;
  flex: 0 0 52%;
  min-width: 0;
  overflow: hidden;
  aspect-ratio: 4 / 3;
  background:
    linear-gradient(110deg, #e5eaed 8%, #f7f9fa 18%, #e5eaed 33%);
  background-size: 200% 100%;
  animation: image-loading 1.1s linear infinite;
}

.card-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border-right: 1px solid rgba(13, 17, 23, .07);
  pointer-events: none;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  opacity: 0;
  transform: scale(1.035);
  transition: opacity .32s ease, transform .58s cubic-bezier(.16, 1, .3, 1);
}

.card-image img.is-loaded {
  opacity: 1;
  transform: scale(1);
}

.card-image.is-settled {
  background: #f4f6f7;
  animation: none;
}

.catalog-card:hover .card-image img {
  transform: scale(1.035);
}

.page-badge {
  position: absolute;
  z-index: 2;
  top: 10px;
  left: 10px;
  max-width: calc(100% - 20px);
  padding: 6px 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  color: rgba(255, 255, 255, .84);
  background: rgba(8, 11, 16, .9);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .08em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.expand-badge {
  position: absolute;
  z-index: 2;
  right: 9px;
  bottom: 9px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 10px;
  color: #041017;
  background: var(--blue);
  box-shadow: 0 7px 18px rgba(22, 199, 255, .28);
  font-size: 15px;
  font-weight: 900;
  transition: transform .25s ease, border-radius .25s ease;
}

.catalog-card:hover .expand-badge {
  border-radius: 50%;
  transform: rotate(45deg);
}

.card-body {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  flex-direction: column;
  padding: 15px 14px;
}

.card-body::before {
  content: "";
  position: absolute;
  top: 0;
  right: 14px;
  left: 14px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue), transparent);
  transform: scaleX(.28);
  transform-origin: left;
  transition: transform .3s ease;
}

.catalog-card:hover .card-body::before {
  transform: scaleX(1);
}

.card-category {
  margin: 0 0 8px;
  overflow: hidden;
  color: #086d8e;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .06em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card-code {
  margin: 0 0 5px;
  color: #202936;
  font-size: 10px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: .05em;
}

.card-title {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: var(--text);
  font-size: 14px;
  font-weight: 850;
  letter-spacing: -.025em;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.card-summary {
  display: -webkit-box;
  min-height: 2.8em;
  margin: auto 0 0;
  padding-top: 9px;
  overflow: hidden;
  color: #626d79;
  font-size: 9px;
  font-weight: 520;
  line-height: 1.42;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.has-image-error .card-image {
  background:
    linear-gradient(135deg, rgba(22, 199, 255, .1), transparent),
    #e9edef;
}

.has-image-error .card-image::before {
  content: "NO IMAGE";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #8a949f;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
}

@keyframes image-loading {
  to { background-position-x: -200%; }
}

@keyframes card-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Pagination */
.catalog-pagination {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) auto minmax(120px, 1fr);
  align-items: center;
  gap: 12px;
  width: min(540px, 100%);
  margin: 28px auto 0;
}

.catalog-pagination[hidden] {
  display: none;
}

.load-more {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 50px;
  padding: 10px 15px;
  overflow: hidden;
  border: 1px solid rgba(13, 17, 23, .13);
  border-radius: 14px;
  color: var(--white);
  background: var(--ink-2);
  box-shadow: var(--shadow-sm);
  font-size: 11px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
}

.load-more::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, transparent, rgba(22, 199, 255, .16), transparent);
  transform: translateX(-110%);
  transition: transform .45s ease;
}

.load-more span {
  position: relative;
  z-index: 1;
}

.load-more:hover {
  border-color: rgba(22, 199, 255, .6);
  box-shadow: 0 14px 36px rgba(9, 23, 38, .18);
  transform: translateY(-2px);
}

.load-more:hover::before {
  transform: translateX(110%);
}

.load-more:disabled {
  color: #8f98a3;
  border-color: rgba(13, 17, 23, .06);
  background: #dce1e4;
  box-shadow: none;
  cursor: default;
  transform: none;
}

.page-status {
  min-width: 66px;
  margin: 0;
  color: #6d7784;
  font-size: 11px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: .08em;
  text-align: center;
}

/* Empty and footer */
.empty-state {
  width: min(430px, 100%);
  margin: 50px auto 0;
  padding: 36px 24px;
  border: 1px solid rgba(13, 17, 23, .09);
  border-radius: 20px;
  background: rgba(255, 255, 255, .72);
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.empty-state[hidden] {
  display: none;
}

.empty-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 14px;
  border: 1px solid rgba(22, 199, 255, .36);
  border-radius: 50%;
  color: #087da2;
  background: var(--blue-soft);
  font-size: 19px;
  font-weight: 900;
}

.empty-state h3 {
  margin: 0;
  font-size: 18px;
}

.empty-state p {
  margin: 9px 0 18px;
  color: var(--muted);
  font-size: 11px;
}

.empty-state button {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 11px;
  color: var(--white);
  background: var(--ink-2);
  font-size: 10px;
  font-weight: 900;
  cursor: pointer;
}

.catalog-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(24px, calc((100vw - 1260px) / 2));
  color: rgba(255, 255, 255, .48);
  background:
    linear-gradient(90deg, rgba(22, 199, 255, .05), transparent 38%),
    var(--ink);
}

.footer-brand {
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .1em;
}

.footer-brand span {
  margin-left: 10px;
  color: var(--blue);
  font-size: 8px;
}

.catalog-footer p {
  max-width: 520px;
  margin: 0;
  font-size: 9px;
  line-height: 1.7;
  text-align: right;
}

/* Modal */
.catalog-modal {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: var(--white);
  background: transparent;
}

.catalog-modal::backdrop {
  background: rgba(2, 5, 9, .86);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.modal-shell {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(1180px, calc(100vw - 34px));
  height: min(90dvh, 850px);
  margin: 5dvh auto;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 22px;
  background: #090e15;
  box-shadow: 0 40px 100px rgba(0, 0, 0, .5);
  animation: modal-in .36s cubic-bezier(.16, 1, .3, 1) both;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 15px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  background: #0c121b;
}

.modal-header p,
.modal-header h2 {
  margin: 0;
}

.modal-header p {
  margin-bottom: 4px;
  color: var(--blue);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}

.modal-header h2 {
  max-width: 760px;
  overflow: hidden;
  font-size: 19px;
  font-weight: 850;
  letter-spacing: -.025em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.modal-close {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  color: var(--white);
  background: rgba(255, 255, 255, .05);
  font-size: 20px;
  cursor: pointer;
  transition: border-color .22s ease, color .22s ease, transform .22s ease;
}

.modal-close:hover {
  color: var(--blue);
  border-color: rgba(22, 199, 255, .48);
  transform: rotate(90deg);
}

.modal-body {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(310px, .75fr);
  min-height: 0;
  overflow: hidden;
}

.modal-image-panel {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(22, 199, 255, .04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22, 199, 255, .04) 1px, transparent 1px),
    #e9edef;
  background-size: 28px 28px;
}

.zoom-stage {
  width: 100%;
  height: 100%;
  padding: 28px;
  overflow: auto;
  overscroll-behavior: contain;
}

.zoom-stage img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform-origin: center;
  transition: transform .2s ease;
}

.zoom-controls {
  position: absolute;
  right: 16px;
  bottom: 16px;
  display: flex;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  background: rgba(8, 12, 18, .9);
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
}

.zoom-controls button {
  min-width: 40px;
  height: 40px;
  border: 0;
  border-right: 1px solid rgba(255, 255, 255, .09);
  color: var(--white);
  background: transparent;
  font-size: 15px;
  cursor: pointer;
}

.zoom-controls button:last-child {
  border-right: 0;
}

.zoom-controls button:nth-child(2) {
  min-width: 66px;
  color: var(--blue);
  font-size: 9px;
  font-weight: 900;
}

.modal-info {
  min-height: 0;
  padding: 24px 22px;
  overflow-y: auto;
  border-left: 1px solid rgba(255, 255, 255, .08);
  background:
    linear-gradient(145deg, rgba(22, 199, 255, .04), transparent 32%),
    #101720;
}

.modal-block + .modal-block {
  margin-top: 24px;
}

.modal-label {
  margin: 0 0 9px;
  color: rgba(255, 255, 255, .4);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.code-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.code-chip {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 5px 8px;
  border: 1px solid rgba(22, 199, 255, .15);
  border-radius: 8px;
  color: #dceaf2;
  background: rgba(255, 255, 255, .055);
  font-size: 9px;
  font-weight: 800;
}

.code-more {
  color: var(--blue);
}

.translation {
  color: rgba(235, 242, 247, .72);
  font-size: 12px;
  line-height: 1.8;
  white-space: pre-line;
}

.translation-block {
  padding-top: 2px;
}

.source-detail {
  padding: 13px;
  border: 1px solid rgba(22, 199, 255, .16);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
}

.source-detail img {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 10px;
  border-radius: 9px;
  background: var(--white);
}

.modal-nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 14px;
  padding: 10px 18px max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: #080d13;
}

.modal-nav button {
  min-height: 38px;
  border: 0;
  color: rgba(255, 255, 255, .7);
  background: transparent;
  font-size: 10px;
  font-weight: 850;
  cursor: pointer;
}

.modal-nav button:first-child {
  text-align: left;
}

.modal-nav button:last-child {
  text-align: right;
}

.modal-nav button:disabled {
  opacity: .22;
}

.modal-nav span {
  color: var(--blue);
  font-size: 8px;
  font-variant-numeric: tabular-nums;
  font-weight: 900;
  letter-spacing: .1em;
}

body.modal-open {
  overflow: hidden;
}

/* Motion */
@keyframes hero-copy-in {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes hero-visual-in {
  from { opacity: 0; transform: translateY(28px) scale(.92); }
  to { opacity: 1; transform: translateY(calc(var(--catalog-scroll) * .06)) scale(1); }
}

@keyframes hero-scan {
  0%, 100% { left: 46%; opacity: .2; }
  50% { left: 88%; opacity: .8; }
}

@keyframes status-pulse {
  50% { opacity: .45; transform: scale(.72); }
}

@keyframes title-light {
  0%, 100% { background-position: 0 50%; }
  50% { background-position: 100% 50%; }
}

@keyframes cue-line {
  50%, 100% { transform: translateX(100%); }
}

@keyframes disc-spin {
  to { transform: rotate(360deg); }
}

@keyframes disc-spin-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes disc-breathe {
  50% { box-shadow: inset 0 0 0 32px rgba(255, 255, 255, .02), 0 0 85px rgba(22, 199, 255, .11); }
}

@keyframes label-float {
  50% { transform: translateY(-8px); }
}

@keyframes modal-in {
  from { opacity: 0; transform: translateY(20px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

/* Tablet */
@media (max-width: 1120px) {
  .catalog-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .hero-visual {
    opacity: .72;
  }

  .catalog-card {
    display: block;
  }

  .card-image {
    width: 100%;
  }

  .card-image::after {
    border-right: 0;
    border-bottom: 1px solid rgba(13, 17, 23, .07);
  }

  .card-summary {
    margin-top: 6px;
  }
}

@media (max-width: 820px) {
  .hero-copy,
  .control-inner,
  .category-tabs,
  .catalog-section {
    width: min(100% - 28px, 1260px);
  }

  .hero {
    min-height: 480px;
  }

  .hero-copy {
    padding: 72px 0 54px;
  }

  .hero h1 {
    font-size: clamp(39px, 10vw, 64px);
  }

  .hero-visual {
    top: auto;
    right: -64px;
    bottom: 28px;
    width: 280px;
    opacity: .45;
  }

  .control-inner {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 13px;
  }

  .section-heading {
    align-items: start;
  }

  .modal-shell {
    width: 100%;
    height: 100dvh;
    margin: 0;
    border: 0;
    border-radius: 0;
  }

  .modal-body {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(46dvh, 1fr) auto;
    overflow-y: auto;
  }

  .modal-image-panel {
    min-height: 46dvh;
  }

  .modal-info {
    overflow: visible;
    border-top: 1px solid rgba(255, 255, 255, .08);
    border-left: 0;
  }

  .modal-nav {
    position: sticky;
    bottom: 0;
  }
}

/* Smartphone */
@media (max-width: 560px) {
  .catalog-scroll-progress {
    height: 2px;
  }

  .hero {
    min-height: 392px;
  }

  .hero::before {
    right: -6px;
    bottom: 10px;
    font-size: 72px;
  }

  .hero-grid {
    background-size: 30px 30px;
    mask-image: linear-gradient(90deg, #000, transparent 96%);
  }

  .hero-copy {
    width: calc(100% - 28px);
    padding: 42px 0 34px;
  }

  .eyebrow {
    gap: 9px;
    margin-bottom: 17px;
    font-size: 7px;
    letter-spacing: .11em;
  }

  .eyebrow span {
    gap: 6px;
    padding: 6px 8px;
  }

  .hero h1 {
    font-size: clamp(28px, 8.65vw, 42px);
    line-height: 1.08;
    letter-spacing: -.052em;
  }

  .hero-metrics {
    gap: 7px;
    margin-top: 24px;
  }

  .hero-metrics div {
    flex: 1 1 0;
    min-width: 0;
    padding: 11px 9px 10px;
    border-radius: 11px;
  }

  .hero-metrics strong {
    font-size: 19px;
  }

  .hero-metrics span {
    font-size: 7px;
    letter-spacing: .06em;
  }

  .hero-scroll-cue {
    margin-top: 19px;
    font-size: 7px;
  }

  .hero-visual {
    right: 10px;
    bottom: 12px;
    width: 148px;
    opacity: .42;
  }

  .visual-label {
    display: none;
  }

  .control-inner {
    grid-template-columns: 1fr auto;
    gap: 8px;
    width: calc(100% - 20px);
    padding: 9px 0 7px;
  }

  .search-box {
    min-height: 45px;
    padding-left: 13px;
    border-radius: 13px;
  }

  .search-box input {
    font-size: 12px;
  }

  .result-indicator {
    display: grid;
    justify-items: end;
    gap: 1px;
  }

  .result-indicator strong {
    font-size: 18px;
    line-height: 1;
  }

  .result-indicator span {
    font-size: 7px;
  }

  .category-tabs {
    width: calc(100% - 20px);
    gap: 6px;
    padding-bottom: 9px;
  }

  .category-tab {
    min-height: 38px;
    padding: 0 10px;
    border-radius: 10px;
    font-size: 9px;
  }

  .category-count {
    min-width: 19px;
    height: 19px;
    font-size: 7px;
  }

  .catalog-section {
    width: calc(100% - 20px);
    padding: 26px 0 45px;
  }

  .section-heading {
    align-items: end;
    gap: 10px;
    margin-bottom: 15px;
  }

  .section-kicker {
    margin-bottom: 5px;
    font-size: 6px;
  }

  .section-heading h2 {
    font-size: 27px;
  }

  .section-guide {
    max-width: 90px;
    padding-bottom: 2px;
    font-size: 7px;
    line-height: 1.45;
    text-align: right;
  }

  .catalog-grid {
    gap: 9px;
  }

  .catalog-card {
    border-radius: 15px;
  }

  .card-image {
    aspect-ratio: 4 / 3;
  }

  .page-badge {
    top: 7px;
    left: 7px;
    max-width: calc(100% - 14px);
    padding: 5px 6px;
    border-radius: 7px;
    font-size: 6px;
  }

  .expand-badge {
    right: 7px;
    bottom: 7px;
    width: 29px;
    height: 29px;
    border-radius: 9px;
    font-size: 13px;
  }

  .card-body {
    min-height: 132px;
    padding: 11px 10px 12px;
  }

  .card-body::before {
    right: 10px;
    left: 10px;
  }

  .card-category {
    margin-bottom: 6px;
    font-size: 7px;
  }

  .card-code {
    margin-bottom: 4px;
    font-size: 8px;
  }

  .card-title {
    font-size: 11.5px;
    line-height: 1.38;
  }

  .card-summary {
    min-height: 2.7em;
    padding-top: 7px;
    font-size: 7.5px;
    line-height: 1.38;
  }

  .catalog-pagination {
    grid-template-columns: 1fr auto 1fr;
    gap: 7px;
    margin-top: 20px;
  }

  .load-more {
    min-height: 43px;
    padding-inline: 8px;
    border-radius: 12px;
    font-size: 9px;
  }

  .page-status {
    min-width: 45px;
    font-size: 9px;
  }

  .catalog-footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 27px 18px;
  }

  .catalog-footer p {
    text-align: left;
  }

  .modal-header {
    padding: max(12px, env(safe-area-inset-top)) 13px 12px;
  }

  .modal-header h2 {
    font-size: 15px;
  }

  .modal-close {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .modal-image-panel {
    min-height: 43dvh;
  }

  .zoom-stage {
    padding: 14px;
  }

  .zoom-controls {
    right: 10px;
    bottom: 10px;
  }

  .zoom-controls button {
    min-width: 36px;
    height: 36px;
  }

  .modal-info {
    padding: 19px 16px;
  }

  .translation {
    font-size: 11px;
    line-height: 1.72;
  }

  .modal-nav {
    padding-inline: 13px;
  }

  .modal-nav button {
    font-size: 9px;
  }

  .modal-nav span {
    font-size: 7px;
  }
}

@media (max-width: 374px) {
  .hero-copy {
    width: calc(100% - 24px);
  }

  .hero h1 {
    font-size: 27px;
  }

  .card-body {
    min-height: 126px;
    padding-inline: 9px;
  }

  .card-title {
    font-size: 10.5px;
  }

  .card-summary {
    font-size: 7px;
  }
}

/* Safari: keep motion, remove costly live blur layers. */
@supports (-webkit-touch-callout: none) {
  .catalog-controls,
  .catalog-modal::backdrop {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .catalog-controls {
    background: rgba(236, 240, 243, .985);
  }

  .hero-grid {
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Online quote cart */
.catalog-page {
  padding-bottom: 92px;
}

.catalog-card {
  flex-direction: column;
}

.card-image {
  flex: 0 0 auto;
  width: 100%;
}

.card-body {
  min-height: 270px;
}

.card-summary {
  margin-top: 8px;
}

.card-quote {
  position: relative;
  z-index: 5;
  display: grid;
  gap: 8px;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(13, 17, 23, .08);
  cursor: default;
}

.card-quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.card-quantity-row label {
  color: #53606d;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .06em;
}

.quantity-stepper {
  display: grid;
  grid-template-columns: 38px 50px 38px;
  overflow: hidden;
  border: 1px solid rgba(8, 109, 142, .22);
  border-radius: 10px;
  background: #fff;
}

.quantity-stepper button,
.quantity-stepper input {
  width: 100%;
  height: 38px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: #17212c;
  background: transparent;
  font: inherit;
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.quantity-stepper button {
  color: #086d8e;
  cursor: pointer;
}

.quantity-stepper button:first-child {
  border-right: 1px solid rgba(8, 109, 142, .12);
}

.quantity-stepper button:last-child {
  border-left: 1px solid rgba(8, 109, 142, .12);
}

.quantity-stepper input {
  appearance: textfield;
}

.quantity-stepper input::-webkit-inner-spin-button,
.quantity-stepper input::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.card-add-cart {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  color: #031017;
  background: linear-gradient(135deg, var(--blue), #8af5cf);
  box-shadow: 0 8px 18px rgba(22, 199, 255, .18);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: .04em;
  cursor: pointer;
}

.card-quote.is-in-cart .card-add-cart {
  color: #fff;
  background: #101923;
  box-shadow: inset 0 0 0 1px rgba(22, 199, 255, .4);
}

.card-quote-excluded {
  gap: 3px;
  padding: 10px;
  border: 1px solid rgba(232, 127, 32, .2);
  border-radius: 10px;
  background: #fff8ed;
}

.card-quote-excluded strong {
  color: #a44a00;
  font-size: 9px;
}

.card-quote-excluded span {
  color: #6d5946;
  font-size: 8px;
  line-height: 1.5;
}

.card-quote-excluded a {
  margin-top: 3px;
  color: #086d8e;
  font-size: 8px;
  font-weight: 900;
}

.cart-dock {
  position: fixed;
  z-index: 70;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  width: min(390px, calc(100vw - 36px));
  animation: cart-dock-in .48s cubic-bezier(.16, 1, .3, 1) both;
}

.cart-dock-button {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 68px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(125deg, rgba(8, 14, 22, .98), rgba(15, 28, 38, .98));
  box-shadow: 0 18px 50px rgba(2, 8, 14, .34), inset 0 1px 0 rgba(255, 255, 255, .08);
  text-align: left;
  cursor: pointer;
}

.cart-dock.has-items .cart-dock-button {
  border-color: rgba(22, 199, 255, .52);
  box-shadow: 0 18px 50px rgba(2, 8, 14, .42), 0 0 28px rgba(22, 199, 255, .13);
}

.cart-dock-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 13px;
  color: #061018;
  background: var(--blue);
}

.cart-dock-icon svg {
  width: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cart-dock-copy {
  display: grid;
  gap: 2px;
  min-width: 0;
}

.cart-dock-copy small {
  color: var(--blue);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .14em;
}

.cart-dock-copy strong {
  font-size: 13px;
  font-weight: 900;
}

.cart-dock-count {
  display: grid;
  place-items: center;
  min-width: 34px;
  height: 34px;
  padding: 0 7px;
  border-radius: 999px;
  color: #071018;
  background: #8af5cf;
  font-size: 12px;
  font-weight: 950;
}

.cart-dock-total {
  grid-column: 2 / 4;
  margin-top: -6px;
  color: rgba(255, 255, 255, .52);
  font-size: 8px;
}

.cart-dock-total b {
  color: #fff;
}

.cart-drawer {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  color: #f7fbff;
  background: transparent;
}

.cart-drawer::backdrop {
  background: rgba(1, 5, 9, .76);
  -webkit-backdrop-filter: blur(7px);
  backdrop-filter: blur(7px);
}

.cart-drawer-shell {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(510px, 100%);
  height: 100dvh;
  margin-left: auto;
  border-left: 1px solid rgba(255, 255, 255, .1);
  background: #090f16;
  box-shadow: -30px 0 80px rgba(0, 0, 0, .35);
  animation: cart-drawer-in .38s cubic-bezier(.16, 1, .3, 1) both;
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: max(18px, env(safe-area-inset-top)) 18px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.cart-drawer-header p,
.cart-drawer-header h2 {
  margin: 0;
}

.cart-drawer-header p {
  margin-bottom: 3px;
  color: var(--blue);
  font-size: 7px;
  font-weight: 900;
  letter-spacing: .15em;
}

.cart-drawer-header h2 {
  font-size: 22px;
  font-weight: 900;
}

.cart-drawer-header button {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .05);
  font-size: 20px;
  cursor: pointer;
}

.cart-drawer-body {
  min-height: 0;
  padding: 14px 16px;
  overflow-y: auto;
}

.cart-flow {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 5px;
  margin-bottom: 14px;
}

.cart-flow span {
  display: grid;
  justify-items: center;
  gap: 5px;
  color: rgba(255, 255, 255, .38);
  font-size: 7px;
  font-weight: 850;
  text-align: center;
}

.cart-flow b {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
}

.cart-flow .is-current {
  color: #fff;
}

.cart-flow .is-current b {
  color: #041017;
  border-color: var(--blue);
  background: var(--blue);
}

.cart-list {
  display: grid;
  gap: 9px;
}

.cart-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 11px;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, .09);
  border-radius: 14px;
  background: rgba(255, 255, 255, .045);
}

.cart-item > img {
  width: 92px;
  height: 76px;
  border-radius: 10px;
  background: #eef1f2;
  object-fit: contain;
}

.cart-item-copy {
  min-width: 0;
}

.cart-item-copy p,
.cart-item-copy h3 {
  margin: 0;
}

.cart-item-copy p {
  color: var(--blue);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .08em;
}

.cart-item-copy h3 {
  display: -webkit-box;
  margin-top: 4px;
  overflow: hidden;
  font-size: 11px;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.cart-item-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 9px;
}

.quantity-stepper-small {
  grid-template-columns: 32px 42px 32px;
  border-color: rgba(255, 255, 255, .13);
  background: rgba(0, 0, 0, .2);
}

.quantity-stepper-small button,
.quantity-stepper-small input {
  height: 32px;
  color: #fff;
}

.quantity-stepper-small button {
  color: var(--blue);
}

.cart-remove {
  border: 0;
  color: #ff9aaa;
  background: transparent;
  font-size: 8px;
  font-weight: 900;
  cursor: pointer;
}

.cart-empty {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 50px 18px;
  color: rgba(255, 255, 255, .58);
  text-align: center;
}

.cart-empty[hidden] {
  display: none;
}

.cart-empty > span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 4px;
  border: 1px dashed rgba(22, 199, 255, .34);
  border-radius: 50%;
  color: var(--blue);
  font-size: 25px;
}

.cart-empty strong {
  color: #fff;
  font-size: 13px;
}

.cart-empty p {
  max-width: 290px;
  margin: 0;
  font-size: 10px;
  line-height: 1.7;
}

.cart-drawer-footer {
  padding: 14px 16px max(16px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(255, 255, 255, .09);
  background: #0d151e;
}

.cart-login-state {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, .1);
  border-radius: 9px;
  color: rgba(255, 255, 255, .6);
  background: rgba(255, 255, 255, .035);
  font-size: 9px;
  font-weight: 850;
}

.cart-login-state i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #8a949f;
}

.cart-login-state.is-logged-in {
  color: #dfffc2;
  border-color: rgba(184, 255, 92, .25);
  background: rgba(184, 255, 92, .07);
}

.cart-login-state.is-logged-in i {
  background: #b8ff5c;
  box-shadow: 0 0 12px rgba(184, 255, 92, .65);
}

.cart-summary {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
}

.cart-summary span {
  color: rgba(255, 255, 255, .48);
  font-size: 9px;
}

.cart-summary strong {
  font-size: 14px;
}

.cart-summary b {
  color: var(--blue);
  font-size: 21px;
}

.cart-drawer-footer > p {
  margin: 7px 0 11px;
  color: rgba(255, 255, 255, .5);
  font-size: 8px;
  line-height: 1.55;
}

.cart-quote-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 0 16px;
  border-radius: 12px;
  color: #041017;
  background: linear-gradient(135deg, var(--blue), #8af5cf);
  font-size: 11px;
  font-weight: 950;
  text-decoration: none;
}

.cart-quote-button span {
  font-size: 18px;
}

.cart-quote-button.is-disabled {
  opacity: .35;
  pointer-events: none;
}

.cart-member-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 10px;
}

.cart-member-links a,
.cart-member-links button {
  padding: 0;
  border: 0;
  color: rgba(255, 255, 255, .58);
  background: transparent;
  font-size: 8px;
  font-weight: 850;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.cart-member-links button {
  color: #ff9aaa;
}

.cart-member-links button:disabled {
  opacity: .3;
}

.cart-toast {
  position: fixed;
  z-index: 100;
  bottom: 102px;
  left: 50%;
  max-width: calc(100vw - 32px);
  padding: 11px 14px;
  border: 1px solid rgba(22, 199, 255, .42);
  border-radius: 11px;
  color: #fff;
  background: rgba(7, 15, 23, .96);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .3);
  font-size: 10px;
  font-weight: 850;
  opacity: 0;
  transform: translate(-50%, 10px);
  transition: opacity .2s ease, transform .2s ease;
  pointer-events: none;
}

.cart-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.modal-purchase {
  margin-top: 24px;
  padding: 14px;
  border: 1px solid rgba(22, 199, 255, .22);
  border-radius: 14px;
  background: rgba(22, 199, 255, .055);
}

.modal-purchase-controls {
  display: grid;
  gap: 9px;
}

.modal-purchase-controls[hidden],
.modal-gel-notice[hidden] {
  display: none;
}

.modal-purchase-controls label {
  color: rgba(255, 255, 255, .6);
  font-size: 9px;
  font-weight: 850;
}

.modal-purchase .quantity-stepper {
  width: 100%;
  grid-template-columns: 46px 1fr 46px;
  border-color: rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .2);
}

.modal-purchase .quantity-stepper button,
.modal-purchase .quantity-stepper input {
  height: 42px;
  color: #fff;
}

.modal-purchase .quantity-stepper button {
  color: var(--blue);
}

.modal-add-cart {
  min-height: 46px;
  border: 0;
  border-radius: 11px;
  color: #041017;
  background: linear-gradient(135deg, var(--blue), #8af5cf);
  font-size: 10px;
  font-weight: 950;
  cursor: pointer;
}

.modal-gel-notice strong {
  color: #ffc470;
  font-size: 12px;
}

.modal-gel-notice p {
  margin: 5px 0 8px;
  color: rgba(255, 255, 255, .62);
  font-size: 10px;
}

.modal-gel-notice a {
  color: var(--blue);
  font-size: 10px;
  font-weight: 900;
}

body.cart-open {
  overflow: hidden;
}

@keyframes cart-dock-in {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes cart-drawer-in {
  from { opacity: 0; transform: translateX(36px); }
  to { opacity: 1; transform: translateX(0); }
}

@media (max-width: 560px) {
  .catalog-page {
    padding-bottom: 82px;
  }

  .catalog-card {
    display: flex;
  }

  .card-body {
    min-height: 238px;
    padding: 10px 9px 9px;
  }

  .card-summary {
    min-height: 3.9em;
    -webkit-line-clamp: 3;
  }

  .card-quote {
    gap: 6px;
    padding-top: 8px;
  }

  .card-quantity-row {
    display: grid;
    gap: 5px;
  }

  .card-quantity-row label {
    font-size: 7px;
  }

  .quantity-stepper-card {
    width: 100%;
    grid-template-columns: 31px minmax(34px, 1fr) 31px;
    border-radius: 8px;
  }

  .quantity-stepper-card button,
  .quantity-stepper-card input {
    height: 33px;
    font-size: 11px;
  }

  .card-add-cart {
    min-height: 35px;
    border-radius: 8px;
    font-size: 7.5px;
  }

  .card-quote-excluded {
    padding: 8px;
  }

  .cart-dock {
    right: 10px;
    bottom: max(8px, env(safe-area-inset-bottom));
    width: calc(100vw - 20px);
  }

  .cart-dock-button {
    min-height: 62px;
    border-radius: 16px;
  }

  .cart-drawer-shell {
    height: min(92dvh, 760px);
    margin-top: 8dvh;
    border-top: 1px solid rgba(255, 255, 255, .1);
    border-left: 0;
    border-radius: 22px 22px 0 0;
    animation-name: cart-sheet-in;
  }

  .cart-drawer-header {
    padding-top: 16px;
  }

  .cart-item {
    grid-template-columns: 78px minmax(0, 1fr);
  }

  .cart-item > img {
    width: 78px;
    height: 70px;
  }

  .modal-purchase {
    margin-top: 18px;
  }
}

@media (max-width: 374px) {
  .card-body {
    min-height: 230px;
    padding-inline: 8px;
  }

  .card-quantity-row label {
    display: none;
  }

  .cart-item {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .cart-item > img {
    width: 64px;
    height: 62px;
  }
}

@keyframes cart-sheet-in {
  from { opacity: 0; transform: translateY(34px); }
  to { opacity: 1; transform: translateY(0); }
}

@supports (-webkit-touch-callout: none) {
  .cart-drawer::backdrop {
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cart-dock,
  .cart-drawer-shell,
  .cart-toast {
    animation: none !important;
    transition: none !important;
  }
}
