:root {
  color-scheme: light;
  --blue: #0867c5;
  --blue-deep: #034d96;
  --blue-soft: #e9f3fd;
  --ink: #10151b;
  --muted: #65717d;
  --line: #dfe5ea;
  --page: #f3f5f7;
  --white: #ffffff;
  --radius-lg: 26px;
  --radius-md: 16px;
  --shadow: 0 22px 55px rgba(28, 54, 76, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 12%, rgba(196, 222, 244, 0.32), transparent 27rem),
    var(--page);
  font-family: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  height: 72px;
  padding: 0 clamp(48px, 6.5vw, 124px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  border-bottom: 1px solid rgba(11, 35, 55, 0.08);
  background: rgba(247, 249, 250, 0.86);
  backdrop-filter: saturate(180%) blur(20px);
}

.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.brand img {
  width: 122px;
  height: 35px;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.brand span {
  padding-left: 16px;
  border-left: 1px solid #cbd3d9;
  color: #6b7680;
  font-size: 13px;
  letter-spacing: 0.08em;
}

.contact-link {
  transition: color 180ms ease;
}

.contact-link:hover {
  color: var(--blue);
}

.header-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 25px;
}

.contact-link {
  font-size: 14px;
  font-weight: 600;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0;
  color: #8b949d;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.language-switch i {
  width: 1px;
  height: 12px;
  background: #d3d9de;
}

.language-switch .active {
  color: var(--ink);
  font-weight: 700;
}

.icon-button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d8dee3;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.82);
  cursor: pointer;
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.icon-button:hover {
  transform: translateY(-1px);
  border-color: #a9b8c5;
  background: #fff;
}

.icon-button svg {
  width: 17px;
  fill: none;
  stroke: #1f2a33;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.hero {
  padding: 73px clamp(48px, 8.5vw, 163px) 45px;
  text-align: center;
}

.eyebrow {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--blue);
}

.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 5px rgba(8, 103, 197, 0.09);
}

.eyebrow b {
  font-size: 11px;
  letter-spacing: 0.22em;
}

.hero h1 {
  margin: 0;
  font-size: clamp(46px, 3.35vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.055em;
  font-weight: 670;
}

.hero > p {
  margin: 20px auto 0;
  color: #626e79;
  font-size: 17px;
  line-height: 1.8;
  letter-spacing: 0.015em;
}

.hero-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin-top: 21px;
  color: #919ba4;
  font-size: 12px;
}

.hero-meta i {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #aab2b9;
}

.catalog-shell {
  width: min(1600px, calc(100% - 96px));
  margin: 0 auto 100px;
}

.catalog-toolbar {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-tabs {
  display: flex;
  gap: 4px;
  padding: 5px;
  border: 1px solid rgba(24, 52, 75, 0.06);
  border-radius: 999px;
  background: #e5e9ed;
}

.category-tab {
  height: 43px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 20px;
  color: #59636d;
  border: 0;
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  transition: color 200ms ease, background 200ms ease, box-shadow 200ms ease;
}

.category-tab em {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: #7d8993;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.56);
  font-size: 10px;
  font-style: normal;
}

.category-tab.active {
  color: #fff;
  background: #14191f;
  box-shadow: 0 5px 12px rgba(13, 21, 28, 0.18);
}

.category-tab.active em {
  color: #d4e9fa;
  background: rgba(255, 255, 255, 0.13);
}

.catalog-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #77828c;
  font-size: 12px;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #27a86f;
  box-shadow: 0 0 0 5px rgba(39, 168, 111, 0.1);
}

.subfilters {
  height: 0;
  display: flex;
  gap: 24px;
  align-items: center;
  overflow: hidden;
  opacity: 0;
  transition: height 220ms ease, opacity 180ms ease, margin 220ms ease;
}

.subfilters.visible {
  height: 42px;
  margin: 5px 0 10px;
  opacity: 1;
}

.subfilter {
  padding: 0 0 8px;
  color: #87919a;
  border: 0;
  border-bottom: 1px solid transparent;
  background: transparent;
  cursor: pointer;
  font-size: 12px;
}

.subfilter.active {
  color: var(--blue);
  border-color: var(--blue);
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 41, 64, 0.055);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
  opacity: 0;
  transform: translateY(12px);
  animation: card-in 500ms cubic-bezier(.22,.8,.3,1) forwards;
  transition: transform 260ms ease, box-shadow 260ms ease, border-color 260ms ease;
}

.product-card:hover {
  z-index: 2;
  transform: translateY(-5px);
  border-color: rgba(8, 103, 197, 0.13);
  box-shadow: var(--shadow);
}

@keyframes card-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-visual {
  position: relative;
  height: 287px;
  display: grid;
  place-items: center;
  overflow: hidden;
  margin: 8px 8px 0;
  border-radius: 20px;
  background:
    radial-gradient(circle at 50% 62%, rgba(255, 255, 255, 0.98) 0 19%, rgba(245, 248, 250, 0.95) 47%, rgba(232, 238, 243, 0.9) 100%);
}

.product-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255,255,255,.5), transparent 35%),
    linear-gradient(rgba(39, 79, 107, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(39, 79, 107, 0.035) 1px, transparent 1px);
  background-size: auto, 32px 32px, 32px 32px;
  mask-image: linear-gradient(to bottom, transparent, #000 40%, #000);
}

.series-label {
  position: absolute;
  top: 18px;
  left: 19px;
  z-index: 3;
  color: #697784;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.view-cue {
  position: absolute;
  top: 16px;
  right: 17px;
  z-index: 3;
  min-width: 37px;
  height: 22px;
  display: grid;
  place-items: center;
  color: #70808e;
  border: 1px solid rgba(94, 118, 137, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  backdrop-filter: blur(8px);
  font-size: 9px;
  letter-spacing: 0.06em;
}

.sensor-glow {
  position: absolute;
  width: 180px;
  height: 55px;
  bottom: 23px;
  border-radius: 50%;
  background: rgba(70, 108, 138, 0.13);
  filter: blur(18px);
}

.product-image {
  z-index: 2;
  width: 81%;
  height: 86%;
  object-fit: contain;
  filter: drop-shadow(0 20px 18px rgba(29, 43, 54, 0.19));
  transform: translateY(5px);
  transition: transform 350ms cubic-bezier(.2,.7,.2,1);
}

.product-card:hover .product-image {
  transform: translateY(-1px) scale(1.025);
}

.product-card[data-model="FM800H"] .product-image {
  width: 190px;
  height: 350px;
  transform: translateY(-38px);
  object-position: 50% 51%;
}

.product-card[data-model="PFSX"] .product-image {
  width: 330px;
  height: 430px;
  transform: translateY(-65px);
  filter: drop-shadow(0 22px 17px rgba(26, 48, 65, 0.27)) contrast(0.94);
}

/* TT1000 的源图为细长方形主体置于透明方形画布中，单独留出安全边距，
   避免在桌面窄断点或图片尚在解码时贴近容器裁切边缘。 */
.product-card[data-model="PK86X TT1000"] .product-image {
  width: 74%;
  height: 82%;
  object-position: 50% 50%;
  transform: translateY(-2px);
}

.product-card[data-model="PK86X TT1000"]:hover .product-image {
  transform: translateY(-5px) scale(1.025);
}

.product-card[data-model="PFSX"]:hover .product-image {
  transform: translateY(-67px) scale(1.025);
}

.product-card[data-model="FM800H"]:hover .product-image {
  transform: translateY(-40px) scale(1.025);
}

.product-content {
  padding: 22px 25px 24px;
}

.model-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.product-model {
  margin: 0;
  font-size: 23px;
  line-height: 1;
  letter-spacing: -0.035em;
}

.category-name {
  padding-top: 4px;
  color: #87929c;
  font-size: 10px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.product-name {
  min-height: 23px;
  margin: 8px 0 0;
  color: #3d4953;
  font-size: 14px;
  font-weight: 600;
}

.product-pitch {
  height: 40px;
  margin: 13px 0 0;
  overflow: hidden;
  color: #75808a;
  font-size: 12px;
  line-height: 1.65;
}

.product-tags {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 15px;
  overflow: hidden;
}

.product-tags span {
  padding: 5px 9px;
  color: #5e6d79;
  border: 1px solid #e2e8ed;
  border-radius: 999px;
  background: #f7f9fa;
  font-size: 9px;
  line-height: 1;
  white-space: nowrap;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 19px;
  margin-top: 20px;
}

.primary-button {
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 17px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #0873dc, #045aaa);
  box-shadow: 0 7px 16px rgba(8, 103, 197, 0.2);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(8, 103, 197, 0.26);
}

.primary-button.unavailable,
.primary-button.unavailable:hover {
  color: #88949e;
  background: #e7ebee;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.primary-button.unavailable svg {
  display: none;
}

.primary-button svg,
.secondary-button svg,
.viewer-copy > a svg {
  width: 15px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 600;
}

.secondary-button svg {
  width: 13px;
  transition: transform 180ms ease;
}

.secondary-button:hover svg {
  transform: translateX(3px);
}

.empty-state {
  min-height: 400px;
  padding-top: 100px;
  text-align: center;
}

.empty-state > span,
.empty-state > b {
  font-size: 28px;
}

.empty-state p {
  color: var(--muted);
}

.empty-state button {
  padding: 10px 18px;
  color: #fff;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  cursor: pointer;
}

.search-overlay,
.viewer-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  justify-content: center;
  background: rgba(17, 26, 34, 0.36);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.search-overlay.open,
.viewer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.search-panel {
  width: min(760px, calc(100% - 48px));
  height: fit-content;
  margin-top: 130px;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 23px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 32px 100px rgba(13, 31, 47, 0.25);
  transform: translateY(-18px) scale(0.98);
  transition: transform 250ms ease;
}

.search-overlay.open .search-panel {
  transform: translateY(0) scale(1);
}

.search-field {
  height: 64px;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 18px;
  border: 1px solid #d8e0e6;
  border-radius: 16px;
  background: #f6f8fa;
}

.search-field svg {
  width: 22px;
  flex: 0 0 auto;
  fill: none;
  stroke: #4f5b65;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.search-field input {
  width: 100%;
  color: var(--ink);
  border: 0;
  outline: 0;
  background: transparent;
  font-size: 18px;
}

.search-field kbd {
  padding: 5px 7px;
  color: #84909a;
  border: 1px solid #dbe1e6;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 1px 1px rgba(0,0,0,.05);
  font-size: 10px;
}

.quick-search {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 17px 4px 2px;
}

.quick-search > span {
  margin-right: 5px;
  color: #8b959d;
  font-size: 11px;
}

.quick-search button {
  padding: 7px 11px;
  color: #56636e;
  border: 1px solid #e0e6eb;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  font-size: 11px;
}

.viewer-overlay {
  align-items: center;
}

.viewer-modal {
  position: relative;
  width: min(1120px, calc(100% - 80px));
  min-height: 660px;
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 35px 110px rgba(11, 28, 42, 0.32);
  transform: translateY(22px) scale(0.97);
  transition: transform 300ms cubic-bezier(.2,.7,.2,1);
}

.viewer-overlay.open .viewer-modal {
  transform: translateY(0) scale(1);
}

.viewer-close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 4;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  padding: 0;
  color: #4f5d68;
  border: 1px solid #dce3e8;
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  cursor: pointer;
}

.viewer-close svg {
  width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.7;
}

.viewer-stage {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  cursor: grab;
  background:
    radial-gradient(circle at 50% 43%, #fff 0 15%, #eef3f7 49%, #dfe7ed 100%);
}

.viewer-stage:active {
  cursor: grabbing;
}

.stage-grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(60, 91, 113, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(60, 91, 113, 0.06) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle, #000 0, transparent 70%);
}

.viewer-badge {
  position: absolute;
  top: 25px;
  left: 28px;
  z-index: 3;
  color: #4f6475;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
}

.viewer-object {
  position: relative;
  width: 460px;
  height: 460px;
  display: grid;
  place-items: center;
  transform-style: preserve-3d;
}

.viewer-object img {
  position: relative;
  z-index: 2;
  width: 72%;
  height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 32px 25px rgba(22, 42, 56, 0.23));
  transform: rotateY(var(--rotate-y, -7deg)) rotateX(var(--rotate-x, 1deg));
  transition: transform 80ms linear;
}

.orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  border: 1px solid rgba(8, 103, 197, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(70deg);
}

.orbit::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -3px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px var(--blue);
}

.orbit-one {
  width: 400px;
  height: 400px;
}

.orbit-two {
  width: 310px;
  height: 310px;
  transform: translate(-50%, -50%) rotateY(73deg);
}

.drag-tip {
  position: absolute;
  bottom: 24px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 13px;
  color: #657684;
  border: 1px solid rgba(79, 105, 125, 0.15);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  transform: translateX(-50%);
  backdrop-filter: blur(8px);
  font-size: 10px;
}

.drag-tip svg {
  width: 14px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.4;
}

.viewer-copy {
  padding: 82px 58px 45px;
  display: flex;
  flex-direction: column;
  border-left: 1px solid #e6ebef;
}

.viewer-kicker {
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.13em;
}

.viewer-copy h2 {
  margin: 15px 0 7px;
  font-size: 42px;
  line-height: 1;
  letter-spacing: -0.05em;
}

.viewer-copy p {
  margin: 0;
  color: #6b7781;
  font-size: 15px;
}

.viewer-copy dl {
  margin: 56px 0 0;
}

.viewer-copy dl div {
  padding: 17px 0;
  border-top: 1px solid #e7ebef;
}

.viewer-copy dt {
  margin-bottom: 5px;
  color: #919ba4;
  font-size: 10px;
}

.viewer-copy dd {
  margin: 0;
  color: #2c3740;
  font-size: 13px;
  font-weight: 600;
}

.viewer-copy > a {
  height: 47px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: auto;
  color: #fff;
  border-radius: 999px;
  background: var(--blue);
  font-size: 12px;
  font-weight: 650;
}

body.modal-open {
  overflow: hidden;
}

@media (max-width: 1450px) {
  .site-header {
    padding-inline: 56px;
  }

  .catalog-shell {
    width: calc(100% - 72px);
  }

  .product-visual {
    height: 252px;
  }
}

@media (max-width: 1220px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1024px) {
  .site-header {
    padding-inline: 28px;
  }

  .hero {
    padding: 58px 28px 38px;
  }

  .catalog-shell {
    width: calc(100% - 48px);
  }

  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .viewer-modal {
    width: calc(100% - 40px);
    min-height: 610px;
  }

  .viewer-copy {
    padding-inline: 38px;
  }
}

@media (max-width: 760px) {
  .site-header {
    height: 60px;
    padding: 0 16px;
  }

  .brand {
    gap: 0;
  }

  .brand img {
    width: 96px;
    height: 29px;
  }

  .brand span,
  .contact-link {
    display: none;
  }

  .header-actions {
    gap: 14px;
  }

  .language-switch {
    gap: 6px;
    font-size: 11px;
  }

  .icon-button {
    width: 34px;
    height: 34px;
  }

  .hero {
    padding: 43px 20px 30px;
  }

  .eyebrow {
    margin-bottom: 14px;
  }

  .eyebrow b {
    font-size: 9px;
    letter-spacing: .18em;
  }

  .hero h1 {
    font-size: clamp(34px, 10vw, 44px);
    letter-spacing: -.045em;
  }

  .hero > p {
    max-width: 350px;
    margin-top: 14px;
    font-size: 13px;
    line-height: 1.65;
  }

  .hero-meta {
    gap: 10px;
    margin-top: 16px;
    font-size: 10px;
  }

  .catalog-shell {
    width: calc(100% - 24px);
    margin-bottom: 54px;
  }

  .catalog-toolbar {
    height: auto;
    display: block;
    margin-bottom: 14px;
  }

  .category-tabs {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 3px;
    padding: 4px;
  }

  .category-tab {
    width: 100%;
    height: 40px;
    justify-content: center;
    gap: 6px;
    padding: 0 8px;
    font-size: 12px;
  }

  .category-tab em {
    min-width: 18px;
    height: 18px;
    font-size: 9px;
  }

  .catalog-status {
    justify-content: center;
    margin-top: 11px;
    font-size: 10px;
  }

  .subfilters,
  .subfilters.visible {
    width: 100%;
    gap: 19px;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .subfilters::-webkit-scrollbar {
    display: none;
  }

  .subfilters.visible {
    height: 43px;
    margin: 0 0 13px;
  }

  .subfilter {
    flex: 0 0 auto;
    padding-bottom: 7px;
    font-size: 11px;
    white-space: nowrap;
  }

  .product-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .product-card {
    border-radius: 21px;
  }

  .product-card:hover {
    transform: translateY(0);
  }

  .product-visual {
    height: clamp(225px, 67vw, 285px);
    margin: 6px 6px 0;
    border-radius: 17px;
  }

  .product-content {
    padding: 18px 19px 20px;
  }

  .product-model {
    font-size: 22px;
  }

  .product-name {
    min-height: 0;
    font-size: 13px;
  }

  .product-pitch {
    height: auto;
    min-height: 38px;
    margin-top: 10px;
    font-size: 11px;
  }

  .product-tags {
    margin-top: 12px;
  }

  .card-actions {
    justify-content: space-between;
    gap: 12px;
    margin-top: 17px;
  }

  .primary-button {
    min-width: 112px;
    height: 40px;
  }

  .search-panel {
    width: calc(100% - 24px);
    margin-top: 78px;
    padding: 11px;
    border-radius: 19px;
  }

  .search-field {
    height: 52px;
    gap: 10px;
    padding: 0 13px;
    border-radius: 13px;
  }

  .search-field svg {
    width: 19px;
  }

  .search-field input {
    min-width: 0;
    font-size: 16px;
  }

  .search-field kbd {
    display: none;
  }

  .quick-search {
    flex-wrap: wrap;
    gap: 7px;
    padding: 13px 2px 2px;
  }

  .quick-search > span {
    width: 100%;
    margin: 0 0 1px;
  }

  .viewer-overlay {
    align-items: center;
    padding: 8px;
  }

  .viewer-modal {
    width: 100%;
    max-height: calc(100dvh - 16px);
    min-height: 0;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(300px, 48dvh) auto;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 23px;
  }

  .viewer-close {
    position: fixed;
    top: 20px;
    right: 20px;
  }

  .viewer-stage {
    min-height: 300px;
  }

  .viewer-badge {
    top: 18px;
    left: 19px;
    font-size: 8px;
  }

  .viewer-object {
    width: min(84vw, 350px);
    height: min(84vw, 350px);
  }

  .orbit-one {
    width: 92%;
    height: 92%;
  }

  .orbit-two {
    width: 72%;
    height: 72%;
  }

  .drag-tip {
    bottom: 14px;
  }

  .viewer-copy {
    padding: 25px 21px 21px;
    border-top: 1px solid #e6ebef;
    border-left: 0;
  }

  .viewer-copy h2 {
    margin: 10px 0 5px;
    font-size: 32px;
  }

  .viewer-copy p {
    font-size: 13px;
  }

  .viewer-copy dl {
    margin-top: 19px;
  }

  .viewer-copy dl div {
    padding: 10px 0;
  }

  .viewer-copy > a {
    min-height: 45px;
    margin-top: 17px;
  }

  .empty-state {
    min-height: 300px;
    padding-top: 70px;
  }
}

@media (max-width: 380px) {
  .site-header {
    padding-inline: 13px;
  }

  .brand img {
    width: 86px;
  }

  .header-actions {
    gap: 10px;
  }

  .hero {
    padding-inline: 16px;
  }

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

  .catalog-shell {
    width: calc(100% - 18px);
  }

  .category-tab {
    padding-inline: 4px;
    font-size: 11px;
  }

  .product-content {
    padding-inline: 17px;
  }

  .secondary-button {
    font-size: 11px;
  }
}
