:root {
  color-scheme: light;
  --page: #f5f5f7;
  --surface: #ffffff;
  --surface-soft: #fbfbfd;
  --ink: #1d1d1f;
  --ink-secondary: #424245;
  --muted: #6e6e73;
  --quiet: #86868b;
  --line: #d2d2d7;
  --line-soft: #e8e8ed;
  --blue: #0071e3;
  --blue-hover: #0077ed;
  --green: #248a3d;
  --green-soft: #eaf6ed;
  --wood: #8a5135;
  --black: #000000;
  --focus: #0071e3;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-standard: cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 2px 8px rgb(0 0 0 / 4%), 0 14px 34px rgb(0 0 0 / 5%);
  --shadow-float: 0 18px 60px rgb(0 0 0 / 16%);
  --content: 1360px;
  --radius: 8px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  letter-spacing: 0;
}

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

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--page);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.47;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.dialog-open {
  overflow: hidden;
}

button,
input,
select {
  color: inherit;
  font: inherit;
}

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

button,
a {
  touch-action: manipulation;
}

button {
  border: 0;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-weight: 700;
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.section-inner {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.top-sentinel {
  position: absolute;
  top: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 64px;
  background: rgb(255 255 255 / 84%);
  border-bottom: 1px solid transparent;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  transition: border-color 220ms ease, box-shadow 220ms ease;
}

.site-header.is-scrolled {
  border-bottom-color: rgb(0 0 0 / 10%);
  box-shadow: 0 1px 10px rgb(0 0 0 / 5%);
}

.header-inner {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) auto minmax(150px, 1fr);
  align-items: center;
  width: min(calc(100% - 48px), var(--content));
  min-height: 64px;
  margin-inline: auto;
  gap: 30px;
}

.brand {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-width: 0;
  gap: 11px;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  color: #ffffff;
  background: var(--black);
  border-radius: 7px;
  font-family: "Songti SC", "STSong", serif;
  font-size: 18px;
  font-weight: 700;
  place-items: center;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 14px;
  line-height: 1.2;
}

.brand small {
  margin-top: 3px;
  color: var(--quiet);
  font-size: 9px;
  line-height: 1.1;
}

.header-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
}

.header-nav a {
  position: relative;
  min-height: 44px;
  padding: 12px 2px;
  color: var(--ink-secondary);
  font-size: 12px;
  font-weight: 500;
}

.header-nav a::after {
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 1px;
  background: var(--ink);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 180ms ease, transform 220ms var(--ease-out);
}

.header-nav a:hover::after,
.header-nav a:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  min-height: 36px;
  padding: 7px 15px;
  color: #ffffff;
  background: var(--blue);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  gap: 6px;
  transition: background-color 180ms ease, transform 180ms var(--ease-out);
}

.header-contact:hover {
  background: var(--blue-hover);
  transform: translateY(-1px);
}

.header-contact strong {
  color: inherit;
  font-weight: 700;
}

.catalog-heading {
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}

.heading-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(380px, 0.7fr);
  align-items: end;
  min-height: 202px;
  padding-block: 31px 27px;
  gap: 42px;
}

.heading-copy-block {
  max-width: 780px;
}

.eyebrow,
.section-label {
  margin: 0 0 12px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

h1 {
  margin-bottom: 12px;
  font-size: clamp(39px, 4vw, 52px);
  line-height: 1.03;
}

.heading-copy {
  max-width: 690px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(14px, 1.3vw, 17px);
  line-height: 1.48;
}

.catalog-summary {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 15px 0 2px;
  border-top: 1px solid var(--line);
}

.catalog-summary div {
  min-width: 0;
  padding: 0 18px;
  border-right: 1px solid var(--line-soft);
}

.catalog-summary div:first-child {
  padding-left: 0;
}

.catalog-summary div:last-child {
  padding-right: 0;
  border-right: 0;
}

.catalog-summary dt {
  font-size: clamp(24px, 2.3vw, 30px);
  font-weight: 700;
  line-height: 1.1;
}

.catalog-summary dd {
  margin: 7px 0 0;
  color: var(--quiet);
  font-size: 11px;
}

.catalog-workspace {
  display: block;
  min-height: 900px;
  padding-block: 34px 96px;
}

.category-panel {
  position: relative;
  margin-bottom: 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

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

.category-panel-heading h2 {
  margin: 0;
  font-size: 24px;
  line-height: 1.2;
}

.category-panel-heading .section-label {
  margin-bottom: 6px;
}

.category-panel-heading > span {
  color: var(--quiet);
  font-size: 12px;
}

.category-rail-shell {
  position: relative;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  gap: 12px;
}

.category-list {
  display: flex;
  min-width: 0;
  padding: 4px 2px 8px;
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: inline proximity;
}

.category-list::-webkit-scrollbar,
.mobile-categories::-webkit-scrollbar,
.subfilters::-webkit-scrollbar,
.thumbnail-list::-webkit-scrollbar {
  display: none;
}

.rail-button {
  display: grid;
  width: 44px;
  height: 44px;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 50%;
  box-shadow: 0 2px 10px rgb(0 0 0 / 6%);
  font-size: 29px;
  line-height: 1;
  cursor: pointer;
  place-items: center;
  transition: background-color 160ms ease, color 160ms ease, transform 180ms var(--ease-out);
}

.rail-button:hover {
  color: #ffffff;
  background: var(--ink);
  transform: scale(1.04);
}

.category-button {
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 9px 16px 9px 17px;
  color: var(--ink-secondary);
  white-space: nowrap;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: 999px;
  box-shadow: 0 1px 4px rgb(0 0 0 / 3%);
  font-size: 13px;
  cursor: pointer;
  scroll-snap-align: start;
  gap: 10px;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms var(--ease-out), box-shadow 180ms ease;
}

.category-button small {
  display: grid;
  min-width: 24px;
  height: 24px;
  color: var(--quiet);
  background: var(--page);
  border-radius: 50%;
  font-size: 10px;
  place-items: center;
}

.category-button:hover {
  border-color: var(--line);
  box-shadow: 0 6px 18px rgb(0 0 0 / 7%);
  transform: translateY(-2px);
}

.category-button[aria-pressed="true"] {
  color: #ffffff;
  background: var(--ink);
  border-color: var(--ink);
  box-shadow: 0 8px 22px rgb(0 0 0 / 14%);
}

.category-button[aria-pressed="true"] small {
  color: var(--ink);
  background: #ffffff;
}

.category-help {
  display: none;
}

.catalog-content {
  min-width: 0;
}

.catalog-toolbar {
  position: sticky;
  top: 76px;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  margin: 0 -12px;
  padding: 12px;
  background: rgb(245 245 247 / 86%);
  border: 1px solid rgb(210 210 215 / 70%);
  border-radius: 8px;
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 10px 34px rgb(0 0 0 / 6%);
  gap: 12px;
}

.search-field {
  position: relative;
  display: block;
  min-width: 0;
}

.search-symbol {
  position: absolute;
  top: 50%;
  left: 16px;
  z-index: 1;
  color: var(--quiet);
  font-size: 24px;
  line-height: 1;
  transform: translateY(-53%);
  pointer-events: none;
}

.search-field input,
.sort-field select {
  min-height: 48px;
  background: rgb(255 255 255 / 94%);
  border: 1px solid transparent;
  border-radius: 7px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.search-field input {
  width: 100%;
  padding: 0 50px 0 48px;
  font-size: 14px;
}

.search-field input:hover,
.sort-field select:hover {
  background: #ffffff;
  border-color: var(--line);
}

.search-field input:focus,
.sort-field select:focus {
  background: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgb(0 113 227 / 12%);
  outline: 0;
}

.search-field input::placeholder {
  color: var(--quiet);
}

.search-clear {
  position: absolute;
  top: 50%;
  right: 8px;
  display: grid;
  width: 32px;
  height: 32px;
  padding: 0;
  color: #ffffff;
  background: var(--quiet);
  border-radius: 50%;
  cursor: pointer;
  opacity: 0;
  transform: translateY(-50%) scale(0.84);
  pointer-events: none;
  place-items: center;
  transition: opacity 150ms ease, transform 180ms var(--ease-out), background-color 150ms ease;
}

.search-clear.is-visible {
  opacity: 1;
  transform: translateY(-50%) scale(1);
  pointer-events: auto;
}

.search-clear:hover {
  background: var(--ink);
}

.sort-field {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sort-field > span {
  color: var(--quiet);
  font-size: 11px;
}

.sort-field select {
  min-width: 170px;
  padding: 0 36px 0 14px;
  font-size: 13px;
}

.mobile-categories {
  display: none;
}

.subfilters {
  display: flex;
  min-height: 70px;
  padding-block: 18px;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.filter-chip {
  min-height: 36px;
  padding: 7px 14px;
  color: var(--ink-secondary);
  white-space: nowrap;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease, transform 180ms var(--ease-out);
}

.filter-chip:hover {
  border-color: var(--ink-secondary);
  transform: translateY(-1px);
}

.filter-chip[aria-pressed="true"] {
  color: #ffffff;
  background: var(--blue);
  border-color: var(--blue);
  font-weight: 600;
}

.results-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  min-height: 94px;
  margin-bottom: 24px;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 18px;
}

.results-kicker {
  margin: 0 0 4px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
}

.results-heading h2 {
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}

.results-heading > p {
  margin: 0;
  color: var(--quiet);
  font-size: 11px;
  text-align: right;
}

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

.product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid transparent;
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  content-visibility: auto;
  contain-intrinsic-size: 0 560px;
  flex-direction: column;
  transition: border-color 220ms ease, box-shadow 260ms ease, transform 260ms var(--ease-out);
}

.product-card.reveal-item {
  opacity: 0;
  transform: translateY(18px);
}

.product-card.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms var(--ease-out), transform 520ms var(--ease-out), border-color 220ms ease, box-shadow 260ms ease;
}

.product-card:hover {
  border-color: var(--line-soft);
  box-shadow: 0 5px 14px rgb(0 0 0 / 5%), 0 24px 54px rgb(0 0 0 / 10%);
  transform: translateY(-4px);
}

.product-image-button {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--surface-soft);
  border-bottom: 1px solid var(--line-soft);
  cursor: pointer;
}

.product-image-frame {
  display: grid;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 12px;
  overflow: hidden;
  place-items: center;
}

.product-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(1);
  transition: transform 620ms var(--ease-out);
}

.product-card:hover .product-image-frame img,
.product-image-button:focus-visible .product-image-frame img {
  transform: scale(1.025);
}

.product-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 5px 9px;
  color: var(--green);
  background: rgb(255 255 255 / 88%);
  border: 1px solid rgb(36 138 61 / 20%);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 10px;
  font-weight: 650;
}

.product-card-body {
  display: flex;
  min-height: 222px;
  padding: 20px;
  flex: 1;
  flex-direction: column;
}

.product-category {
  margin: 0 0 7px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 500;
}

.product-card h3 {
  display: -webkit-box;
  min-height: 52px;
  margin: 0;
  overflow: hidden;
  font-size: 18px;
  line-height: 1.46;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-tags {
  display: flex;
  min-height: 30px;
  margin-top: 10px;
  gap: 6px;
  overflow: hidden;
}

.product-tags span {
  height: fit-content;
  padding: 4px 7px;
  color: var(--muted);
  white-space: nowrap;
  background: var(--page);
  border-radius: 4px;
  font-size: 10px;
}

.product-card-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  gap: 12px;
}

.price-block small {
  display: block;
  margin-bottom: 3px;
  color: var(--quiet);
  font-size: 10px;
}

.card-price {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.05;
}

.card-price::before {
  margin-right: 2px;
  color: var(--wood);
  content: "¥";
  font-size: 14px;
  font-weight: 600;
}

.detail-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 7px 13px;
  color: var(--blue);
  white-space: nowrap;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  gap: 5px;
  transition: color 160ms ease, background-color 160ms ease, transform 180ms var(--ease-out);
}

.detail-button::after {
  content: "›";
  font-size: 18px;
  line-height: 1;
  transform: translateX(0);
  transition: transform 180ms var(--ease-out);
}

.detail-button:hover {
  color: #ffffff;
  background: var(--blue);
  transform: translateY(-1px);
}

.detail-button:hover::after {
  transform: translateX(2px);
}

.image-fallback {
  display: grid;
  width: 100%;
  height: 100%;
  color: var(--quiet);
  background: var(--page);
  font-size: 12px;
  place-items: center;
}

.empty-state {
  padding: 88px 20px;
  background: var(--surface);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  text-align: center;
}

.empty-state strong {
  font-size: 20px;
}

.empty-state p {
  margin: 8px 0 20px;
  color: var(--muted);
}

.factory-band {
  padding-block: 104px;
  color: #f5f5f7;
  background: #101010;
}

.factory-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.84fr) minmax(350px, 0.82fr) minmax(380px, 1fr);
  align-items: start;
  gap: 68px;
}

.factory-band .eyebrow {
  color: #2997ff;
}

.factory-intro h2 {
  margin-bottom: 18px;
  font-size: clamp(34px, 4vw, 50px);
  line-height: 1.1;
}

.factory-intro p:last-child {
  margin: 0;
  color: #a1a1a6;
  font-size: 16px;
  line-height: 1.65;
}

.factory-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  border-top: 1px solid #333336;
  border-left: 1px solid #333336;
}

.factory-stats div {
  min-height: 118px;
  padding: 22px;
  border-right: 1px solid #333336;
  border-bottom: 1px solid #333336;
}

.factory-stats dt {
  color: #ffffff;
  font-size: 31px;
  font-weight: 650;
}

.factory-stats dd {
  margin: 6px 0 0;
  color: #86868b;
  font-size: 11px;
}

.capability-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.capability-item {
  display: flex;
  align-items: center;
  min-height: 54px;
  padding: 14px 15px;
  color: #d2d2d7;
  background: #1d1d1f;
  border: 1px solid #333336;
  border-radius: 7px;
  font-size: 12px;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 220ms var(--ease-out);
}

.capability-item:hover {
  color: #ffffff;
  background: #252527;
  border-color: #4a4a4e;
  transform: translateY(-2px);
}

.contact-band {
  padding-block: 30px;
  background: var(--surface);
  border-bottom: 1px solid var(--line-soft);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 36px;
}

.contact-layout h2 {
  margin-bottom: 8px;
  font-size: clamp(27px, 3vw, 38px);
  line-height: 1.12;
}

.contact-layout p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.contact-tools {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
}

.contact-qr {
  display: grid;
  grid-template-columns: 88px auto;
  align-items: center;
  margin: 0;
  gap: 10px;
}

.contact-qr img {
  width: 88px;
  height: 88px;
  padding: 4px;
  object-fit: contain;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: 7px;
}

.contact-qr figcaption {
  display: grid;
  color: var(--muted);
  font-size: 12px;
  gap: 5px;
}

.contact-qr figcaption strong {
  color: var(--ink);
  font-size: 13px;
}

.contact-actions {
  flex-direction: column;
  align-items: stretch;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 200ms var(--ease-out), box-shadow 200ms ease;
}

.primary-button {
  color: #ffffff;
  background: var(--blue);
  border: 1px solid var(--blue);
}

.secondary-button {
  color: var(--blue);
  background: #ffffff;
  border: 1px solid var(--blue);
}

.primary-button:hover,
.secondary-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgb(0 113 227 / 18%);
}

.primary-button:hover {
  background: var(--blue-hover);
}

.secondary-button:hover {
  color: #ffffff;
  background: var(--blue);
}

.site-footer {
  padding-block: 26px;
  color: var(--quiet);
  background: var(--page);
  font-size: 11px;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

.footer-layout p {
  margin: 0;
}

.product-dialog {
  width: min(1240px, calc(100vw - 40px));
  max-width: none;
  height: min(880px, calc(100dvh - 40px));
  max-height: none;
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow-float);
}

.product-dialog[open] {
  animation: dialog-enter 360ms var(--ease-out) both;
}

.product-dialog::backdrop {
  background: rgb(0 0 0 / 56%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: backdrop-enter 260ms ease both;
}

.dialog-shell {
  display: grid;
  height: 100%;
  grid-template-rows: auto minmax(0, 1fr);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 62px;
  padding: 9px 15px 9px 24px;
  background: rgb(255 255 255 / 88%);
  border-bottom: 1px solid var(--line-soft);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
}

.dialog-header > div {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.dialog-label {
  color: var(--blue);
  font-size: 10px;
  font-weight: 700;
}

#dialogCategory {
  color: var(--quiet);
  font-size: 11px;
}

.icon-button {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 auto;
  padding: 0;
  color: var(--ink);
  background: #e8e8ed;
  border-radius: 50%;
  font-size: 27px;
  line-height: 1;
  cursor: pointer;
  place-items: center;
  transition: color 160ms ease, background-color 160ms ease, transform 180ms var(--ease-out);
}

.icon-button:hover {
  color: #ffffff;
  background: var(--ink);
  transform: rotate(4deg) scale(1.04);
}

.dialog-content {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  min-height: 100%;
}

.detail-media {
  position: sticky;
  top: 0;
  align-self: start;
  min-width: 0;
  min-height: 100%;
  padding: 28px;
  background: var(--page);
  border-right: 1px solid var(--line-soft);
}

.detail-main-image {
  display: grid;
  width: 100%;
  height: min(590px, 62vh);
  min-height: 400px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  place-items: center;
}

.detail-main-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: translateZ(0);
}

.thumbnail-list {
  display: flex;
  margin-top: 12px;
  padding-bottom: 3px;
  gap: 8px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.thumbnail-button {
  width: 66px;
  height: 66px;
  flex: 0 0 auto;
  padding: 3px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 180ms var(--ease-out);
}

.thumbnail-button:hover {
  transform: translateY(-2px);
}

.thumbnail-button[aria-pressed="true"] {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgb(0 113 227 / 15%);
}

.thumbnail-button img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.detail-video {
  margin-top: 14px;
  overflow: hidden;
  background: #000000;
  border-radius: var(--radius);
}

.detail-video video {
  width: 100%;
  max-height: 420px;
}

.video-fallback {
  display: grid;
  min-height: 120px;
  padding: 20px;
  color: #ffffff;
  background: #1d1d1f;
  place-content: center;
  text-align: center;
}

.video-fallback strong,
.video-fallback span {
  display: block;
}

.video-fallback span {
  margin-top: 5px;
  color: #a1a1a6;
  font-size: 12px;
}

.detail-info {
  min-width: 0;
  padding: 40px 38px 64px;
}

.detail-subtitle {
  margin: 0 0 8px;
  color: var(--quiet);
  font-size: 10px;
  font-weight: 600;
}

.detail-info h2 {
  margin-bottom: 14px;
  font-size: clamp(28px, 3vw, 38px);
  line-height: 1.18;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 24px;
  gap: 6px;
}

.detail-tags span {
  padding: 5px 8px;
  color: var(--muted);
  background: var(--page);
  border-radius: 4px;
  font-size: 10px;
}

.detail-price-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  padding-block: 20px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  gap: 16px;
}

.detail-price-label {
  display: block;
  margin-bottom: 4px;
  color: var(--quiet);
  font-size: 11px;
}

.detail-price {
  font-size: 44px;
  font-weight: 700;
  line-height: 1;
}

.detail-price::before {
  margin-right: 3px;
  color: var(--wood);
  content: "¥";
  font-size: 19px;
  font-weight: 600;
}

.price-unit {
  margin-left: 5px;
  color: var(--quiet);
  font-size: 12px;
  font-weight: 500;
}

.stock-badge {
  padding: 6px 10px;
  color: var(--green);
  white-space: nowrap;
  background: var(--green-soft);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
}

.detail-note {
  margin: 9px 0 0;
  color: var(--quiet);
  font-size: 11px;
}

.variant-panel {
  display: grid;
  margin-top: 28px;
  gap: 19px;
}

.variant-group {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

.variant-group legend,
.detail-section-heading {
  margin-bottom: 10px;
  color: var(--quiet);
  font-size: 11px;
  font-weight: 600;
}

.variant-options {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.variant-option {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 15px;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  gap: 7px;
  transition: color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease, transform 180ms var(--ease-out);
}

.variant-option:hover:not(:disabled) {
  border-color: var(--ink-secondary);
  transform: translateY(-1px);
}

.variant-option[aria-pressed="true"] {
  color: var(--ink);
  background: #ffffff;
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgb(0 113 227 / 15%);
  font-weight: 650;
}

.variant-option:disabled {
  color: #a1a1a6;
  background: var(--page);
  border-style: dashed;
  cursor: not-allowed;
}

.color-swatch {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  background: var(--swatch);
  border: 1px solid #a1a1a6;
  border-radius: 50%;
  box-shadow: inset 0 0 0 2px #ffffff;
}

.detail-section {
  margin-top: 32px;
}

.detail-section h3 {
  margin-bottom: 12px;
  font-size: 19px;
}

.spec-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
  font-size: 13px;
}

.spec-table th,
.spec-table td {
  padding: 12px 4px;
  border-bottom: 1px solid var(--line-soft);
  vertical-align: top;
}

.spec-table th {
  width: 38%;
  padding-right: 16px;
  color: var(--quiet);
  font-weight: 500;
  text-align: left;
}

.spec-table td {
  color: var(--ink);
  font-weight: 550;
  text-align: right;
}

.detail-description {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.detail-contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 28px;
  gap: 9px;
}

.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 45;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  color: #ffffff;
  background: rgb(29 29 31 / 88%);
  border-radius: 50%;
  box-shadow: 0 10px 30px rgb(0 0 0 / 18%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px) scale(0.9);
  pointer-events: none;
  place-items: center;
  transition: opacity 180ms ease, transform 220ms var(--ease-out), background-color 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.back-to-top:hover {
  background: var(--blue);
  transform: translateY(-2px) scale(1.02);
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 82px;
  z-index: 100;
  min-width: 220px;
  padding: 12px 16px;
  color: #ffffff;
  background: rgb(29 29 31 / 92%);
  border-radius: 7px;
  box-shadow: 0 12px 34px rgb(0 0 0 / 18%);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  font-size: 12px;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 220ms var(--ease-out);
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(20px);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 620ms var(--ease-out), transform 620ms var(--ease-out);
}

@keyframes dialog-enter {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes backdrop-enter {
  from { opacity: 0; }
  to { opacity: 1; }
}

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

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

  .capability-list {
    grid-column: 1 / -1;
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .section-inner,
  .header-inner {
    width: min(calc(100% - 32px), var(--content));
  }

  .header-inner {
    grid-template-columns: 1fr auto;
  }

  .header-nav {
    display: none;
  }

  .heading-layout {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-block: 30px 25px;
    gap: 22px;
  }

  .catalog-summary {
    max-width: 620px;
  }

  .category-panel {
    display: none;
  }

  .catalog-workspace {
    padding-top: 24px;
  }

  .mobile-categories {
    display: flex;
    margin-top: 18px;
    padding-bottom: 4px;
    gap: 8px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scrollbar-width: none;
  }

  .mobile-category-button {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    padding: 8px 15px;
    color: var(--ink-secondary);
    white-space: nowrap;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
    cursor: pointer;
    transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
  }

  .mobile-category-button[aria-pressed="true"] {
    color: #ffffff;
    background: var(--ink);
    border-color: var(--ink);
    font-weight: 600;
  }

  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-media {
    position: static;
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
  }

  .detail-main-image {
    height: min(620px, 66vh);
  }
}

@media (max-width: 700px) {
  html {
    scroll-padding-top: 72px;
  }

  .section-inner,
  .header-inner {
    width: min(calc(100% - 24px), var(--content));
  }

  .site-header,
  .header-inner {
    min-height: 58px;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    font-size: 17px;
  }

  .brand strong {
    font-size: 13px;
  }

  .brand small {
    display: none;
  }

  .header-contact {
    min-height: 34px;
    padding: 7px 11px;
    font-size: 11px;
  }

  .header-contact span {
    display: none;
  }

  .header-contact strong {
    white-space: nowrap;
  }

  .header-inner {
    gap: 10px;
  }

  .heading-layout {
    padding-block: 20px 18px;
    gap: 17px;
  }

  h1 {
    margin-bottom: 9px;
    font-size: 32px;
  }

  .heading-copy {
    font-size: 14px;
    line-height: 1.42;
  }

  .catalog-summary {
    padding-top: 13px;
  }

  .catalog-summary div {
    padding-inline: 12px;
  }

  .catalog-summary dt {
    font-size: 23px;
  }

  .catalog-workspace {
    padding-block: 14px 64px;
  }

  .catalog-toolbar {
    top: 66px;
    grid-template-columns: 1fr;
    margin-inline: -4px;
    padding: 6px;
    gap: 8px;
  }

  .search-field input {
    min-height: 44px;
  }

  .mobile-categories {
    margin-top: 8px;
  }

  .sort-field {
    display: none;
  }

  .subfilters {
    min-height: 50px;
    padding-block: 7px;
  }

  .results-heading {
    align-items: start;
    min-height: 64px;
    margin-bottom: 12px;
    padding-block: 10px;
  }

  .results-heading h2 {
    font-size: 23px;
  }

  .results-heading > p {
    max-width: 140px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .product-card {
    display: grid;
    grid-template-columns: minmax(135px, 42%) minmax(0, 1fr);
    contain-intrinsic-size: 0 232px;
  }

  .product-image-button {
    border-right: 1px solid var(--line-soft);
    border-bottom: 0;
  }

  .product-image-frame {
    height: 100%;
    min-height: 230px;
    padding: 8px;
    aspect-ratio: auto;
  }

  .product-card-body {
    min-height: 230px;
    padding: 16px 14px;
  }

  .product-card h3 {
    min-height: 46px;
    font-size: 15px;
  }

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

  .product-tags span:nth-child(n + 3) {
    display: none;
  }

  .product-card-footer {
    align-items: center;
    padding-top: 12px;
  }

  .card-price {
    font-size: 22px;
  }

  .detail-button {
    min-height: 36px;
    padding-inline: 9px;
    font-size: 11px;
  }

  .product-card-badge {
    top: 9px;
    left: 9px;
  }

  .factory-band {
    padding-block: 64px;
  }

  .factory-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .factory-intro p:last-child {
    font-size: 14px;
  }

  .capability-list {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-band {
    padding-block: 14px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .contact-layout p:last-child {
    display: none;
  }

  .contact-layout .eyebrow {
    display: none;
  }

  .contact-layout h2 {
    margin: 0;
    font-size: 25px;
  }

  .contact-actions {
    justify-content: stretch;
  }

  .contact-tools {
    display: grid;
    grid-template-columns: 82px minmax(0, 1fr);
    align-items: center;
    justify-content: stretch;
    gap: 12px;
  }

  .contact-qr {
    display: block;
  }

  .contact-qr img {
    width: 82px;
    height: 82px;
  }

  .contact-qr figcaption {
    display: none;
  }

  .contact-actions {
    gap: 7px;
  }

  .contact-actions .primary-button,
  .contact-actions .secondary-button {
    min-height: 40px;
    padding-block: 7px;
    font-size: 12px;
  }

  .contact-actions > * {
    width: 100%;
  }

  .footer-layout {
    flex-direction: column;
    gap: 8px;
  }

  .product-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    margin: 0;
    border-radius: 0;
  }

  .dialog-header {
    position: sticky;
    top: 0;
    z-index: 4;
    min-height: 56px;
    padding: 8px 10px 8px 15px;
  }

  .dialog-label {
    display: none;
  }

  .detail-media {
    padding: 12px;
  }

  .detail-main-image {
    height: min(510px, 61vh);
    min-height: 320px;
  }

  .detail-info {
    padding: 28px 18px 50px;
  }

  .detail-info h2 {
    font-size: 27px;
  }

  .detail-price {
    font-size: 36px;
  }

  .detail-contact {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
  }

  .toast {
    right: 12px;
    bottom: 72px;
    left: 12px;
    min-width: 0;
    text-align: center;
  }
}

@media (max-width: 390px) {
  h1 {
    font-size: 30px;
  }

  .catalog-summary div {
    padding-inline: 8px;
  }

  .catalog-summary dt {
    font-size: 21px;
  }

  .catalog-summary dd {
    font-size: 10px;
  }

  .product-card {
    grid-template-columns: 41% minmax(0, 1fr);
  }

  .product-image-frame,
  .product-card-body {
    min-height: 236px;
  }

  .product-card-body {
    padding-inline: 12px;
  }

  .detail-button {
    font-size: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal],
  .product-card.reveal-item {
    opacity: 1;
    transform: none;
  }
}
