:root {
  color-scheme: light;
  --ink: #182235;
  --ink-deep: #111821;
  --muted: #61708a;
  --muted-light: #93a0b3;
  --orange: #ff531c;
  --orange-deep: #ed3f08;
  --line: rgba(112, 133, 164, 0.2);
  --surface: rgba(255, 255, 255, 0.68);
  --surface-strong: rgba(255, 255, 255, 0.9);
  --shadow-soft: 8px 10px 22px rgba(86, 105, 136, 0.15), -8px -8px 20px rgba(255, 255, 255, 0.94);
  --shadow-raised: 18px 22px 44px rgba(81, 99, 129, 0.17), -14px -14px 32px rgba(255, 255, 255, 0.92);
  --shadow-pressed: inset 4px 5px 10px rgba(98, 116, 143, 0.16), inset -4px -4px 10px rgba(255, 255, 255, 0.88);
  --content: 1320px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  background: #e9eef5;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 5%, rgba(255, 255, 255, 0.98), transparent 31%),
    radial-gradient(circle at 84% 22%, rgba(222, 232, 245, 0.8), transparent 38%),
    linear-gradient(145deg, #f8fafc 0%, #e9eff7 48%, #f7f9fc 100%);
  font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
select {
  font: inherit;
}

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

button:focus-visible,
a:focus-visible,
select:focus-visible {
  outline: 3px solid rgba(255, 83, 28, 0.34);
  outline-offset: 3px;
}

.app-shell {
  position: relative;
  min-height: 100vh;
  overflow: clip;
  background:
    radial-gradient(ellipse at 30% 24%, rgba(255, 255, 255, 0.76), transparent 30%),
    radial-gradient(ellipse at 70% 70%, rgba(218, 228, 241, 0.5), transparent 38%);
}

.site-header {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px clamp(36px, 5vw, 84px) 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  color: var(--ink-deep);
  text-decoration: none;
}

.brand-latin {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 2.05rem;
  font-weight: 500;
  letter-spacing: 0.29em;
  line-height: 1;
}

.brand-a {
  position: relative;
  display: inline-block;
  color: transparent;
}

.brand-a::before {
  position: absolute;
  inset: 0;
  color: var(--ink-deep);
  content: "A";
}

.brand-a::after {
  position: absolute;
  right: 22%;
  bottom: -2%;
  left: 22%;
  height: 28%;
  background: linear-gradient(180deg, rgba(255, 95, 45, 0.15), #ff7344);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  content: "";
  filter: blur(0.4px);
}

.brand-zh {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  white-space: nowrap;
}

.menu-button,
.icon-button,
.round-button {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #405371;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(225, 233, 244, 0.88));
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}

.menu-button {
  width: 64px;
  height: 64px;
  padding: 18px 15px;
}

.menu-button span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 99px;
  background: #455875;
}

.menu-button span + span {
  margin-top: 5px;
}

.page-shell {
  width: min(var(--content), calc(100% - 72px));
  margin: 0 auto;
  padding: 10px 0 54px;
}

body.light-lab-page-active {
  height: 100svh;
  overflow: hidden;
}

body.light-lab-page-active .app-shell {
  display: grid;
  height: 100svh;
  min-height: 0;
  grid-template-rows: auto minmax(0, 1fr);
  overflow: hidden;
}

body.light-lab-page-active #previewRoot {
  min-width: 0;
  min-height: 0;
}

.light-lab-page {
  position: relative;
  width: min(var(--content), calc(100% - 72px));
  height: calc(100% - 14px);
  min-height: 0;
  margin: 0 auto 14px;
  overflow: hidden;
  border: 1px solid rgba(31, 44, 61, .18);
  border-radius: 26px;
  background: #0a0d0f;
  box-shadow: 0 24px 58px rgba(56, 73, 101, .22);
}

.light-lab-frame {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  opacity: 0;
  background: #0a0d0f;
  transition: opacity 220ms ease;
}

.light-lab-frame.is-ready { opacity: 1; }

.light-lab-loading {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  gap: 10px;
  color: #d5d9dc;
  background:
    radial-gradient(circle at center, rgba(222, 177, 99, .11), transparent 30%),
    #0a0d0f;
  text-align: center;
  transition: opacity 180ms ease;
}

.light-lab-loading.is-hidden { opacity: 0; pointer-events: none; }
.light-lab-loading > span { width: 44px; height: 1px; margin: 0 auto 4px; overflow: hidden; background: rgba(255,255,255,.16); }
.light-lab-loading > span::after { display: block; width: 45%; height: 100%; background: #f4c978; content: ""; animation: lab-loading 900ms ease-in-out infinite alternate; }
.light-lab-loading strong { font-size: .86rem; font-weight: 600; }
.light-lab-loading a { min-height: 32px; color: #aeb4b8; font-size: .68rem; }
@keyframes lab-loading { to { transform: translateX(122%); } }

.page-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
  gap: 48px;
  align-items: end;
  margin: 8px 0 32px;
}

.page-kicker,
.eyebrow {
  margin: 0 0 10px;
  color: var(--orange-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.page-intro h1,
.contact-copy h1 {
  margin: 0;
  color: var(--ink-deep);
  font-size: clamp(2.25rem, 4vw, 4.2rem);
  font-weight: 640;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.page-intro > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
  white-space: pre-line;
}

.filter-bar {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  width: min(1010px, 100%);
  margin: 0 auto 24px;
}

.filter-control {
  position: relative;
}

.filter-control label {
  position: absolute;
  top: 50%;
  left: 22px;
  z-index: 2;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1rem;
  font-weight: 600;
  pointer-events: none;
  transform: translateY(-50%);
}

.filter-control:first-child label {
  color: var(--orange-deep);
}

.filter-control select {
  width: 100%;
  height: 59px;
  padding: 8px 45px 8px 102px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 20px;
  color: #75839a;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.91), rgba(228, 235, 245, 0.78));
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  text-overflow: ellipsis;
}

.filter-control:first-child select {
  border-color: rgba(255, 116, 70, 0.23);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(255, 238, 232, 0.82));
  box-shadow: 8px 10px 22px rgba(236, 70, 18, 0.13), -8px -8px 20px rgba(255, 255, 255, 0.96);
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(340px, 0.68fr);
  gap: clamp(28px, 4vw, 58px);
}

.showcase-panel,
.spec-summary {
  min-width: 0;
  min-height: 590px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: rgba(255, 255, 255, 0.24);
}

.showcase-panel {
  position: relative;
  display: grid;
  padding: 18px clamp(24px, 3vw, 44px) 24px;
  align-content: center;
  overflow: hidden;
  border-radius: 42px;
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.7);
}

.showcase-panel::before,
.showcase-panel::after {
  position: absolute;
  top: 45%;
  left: 50%;
  border: 1px solid rgba(158, 177, 202, 0.18);
  border-radius: 50%;
  content: "";
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.showcase-panel::before {
  width: min(570px, 74%);
  aspect-ratio: 1;
}

.showcase-panel::after {
  width: min(720px, 94%);
  aspect-ratio: 1;
}

.product-stage {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(90px, 1fr) minmax(230px, 2.2fr) minmax(90px, 1fr);
  align-items: center;
  min-height: 405px;
}

.product-main,
.product-side {
  position: relative;
  display: grid;
  place-items: center;
}

.product-main {
  width: min(405px, 100%);
  aspect-ratio: 1;
  justify-self: center;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.product-main::before {
  position: absolute;
  inset: 15%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 248, 225, 0.96), rgba(255, 173, 89, 0.34) 50%, transparent 73%);
  content: "";
  filter: blur(17px);
}

.product-main img,
.product-side img {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-side {
  width: min(185px, 112%);
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.34);
  box-shadow: inset 8px 8px 18px rgba(165, 180, 201, 0.12), inset -10px -10px 20px rgba(255, 255, 255, 0.88), 0 15px 28px rgba(91, 110, 139, 0.14);
  opacity: 0.76;
}

.product-side:first-child {
  justify-self: start;
  transform: translateX(-20%);
}

.product-side:last-child {
  justify-self: end;
  transform: translateX(20%);
}

.round-button {
  position: absolute;
  bottom: 5%;
  z-index: 4;
  width: 54px;
  height: 54px;
  font-size: 1.6rem;
}

.round-button.prev {
  left: 1%;
}

.round-button.next {
  right: 1%;
}

.product-identity {
  position: relative;
  z-index: 3;
  display: grid;
  justify-items: center;
  gap: 7px;
  margin-top: -8px;
  text-align: center;
}

.product-identity strong {
  min-width: 210px;
  padding: 11px 22px;
  border-radius: 999px;
  color: #563117;
  background: linear-gradient(112deg, #ff7128 0%, #ffe34f 54%, #fff9e9 100%);
  box-shadow: 0 10px 22px rgba(255, 123, 28, 0.24), inset 0 1px rgba(255, 255, 255, 0.68);
  font-size: 1.08rem;
  font-weight: 600;
}

.product-identity span {
  color: #52627c;
  font-size: 0.84rem;
  font-weight: 600;
}

.product-position {
  color: var(--muted-light);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.spec-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 50px);
  border-radius: 36px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(229, 236, 246, 0.68));
  box-shadow: var(--shadow-raised);
}

.spec-summary h1 {
  min-height: 3.15em;
  margin: 0;
  color: var(--ink-deep);
  font-size: clamp(1.65rem, 2.3vw, 2.4rem);
  line-height: 1.3;
  text-align: center;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 28px;
}

.metric {
  min-width: 0;
  padding: 20px 12px;
  border-radius: 18px;
  background: linear-gradient(145deg, #ffffff, #e7edf6);
  box-shadow: var(--shadow-soft);
  text-align: center;
}

.metric span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.metric strong {
  display: block;
  margin-top: 6px;
  color: var(--ink-deep);
  font-size: 1.25rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}

.tag {
  padding: 8px 13px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 999px;
  color: #52627c;
  background: rgba(255, 255, 255, 0.62);
  box-shadow: 4px 5px 12px rgba(82, 100, 129, 0.12);
  font-size: 0.76rem;
}

.company-page {
  padding-bottom: 44px;
}

.section-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 22px;
}

.section-jump button {
  min-height: 44px;
  padding: 9px 15px;
  border: 1px solid rgba(255, 255, 255, 0.84);
  border-radius: 14px;
  color: #52627c;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 5px 7px 15px rgba(80, 98, 126, 0.12);
  cursor: pointer;
}

.section-jump button[aria-pressed="true"] {
  color: var(--orange-deep);
  border-color: rgba(255, 83, 28, 0.22);
  background: rgba(255, 245, 240, 0.84);
}

.company-layout {
  display: grid;
  grid-template-columns: minmax(230px, 0.3fr) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.company-sidebar {
  display: grid;
  gap: 8px;
}

.company-sidebar button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-height: 58px;
  padding: 12px 16px;
  border: 0;
  border-bottom: 1px solid var(--line);
  color: #506079;
  background: transparent;
  cursor: pointer;
  font-weight: 600;
  text-align: left;
}

.company-sidebar button::after {
  content: "+";
  color: #8a98aa;
  font-size: 1.2rem;
}

.company-sidebar button[aria-selected="true"] {
  color: var(--orange-deep);
}

.company-sidebar button[aria-selected="true"]::after {
  content: "−";
}

.company-content {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow-raised);
}

.company-content-head {
  padding: 23px 26px 18px;
  border-bottom: 1px solid var(--line);
}

.company-content-head h2 {
  margin: 0;
  color: var(--ink-deep);
  font-size: 1.7rem;
}

.company-items {
  display: grid;
}

.company-item + .company-item {
  border-top: 1px solid var(--line);
}

.company-item-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: 56px;
  padding: 14px 26px;
  border: 0;
  color: #33435c;
  background: transparent;
  cursor: pointer;
  font-weight: 650;
  text-align: left;
}

.company-item-trigger::after {
  content: "⌄";
  color: #718097;
  font-size: 1.2rem;
}

.company-item-trigger[aria-expanded="true"] {
  color: var(--orange-deep);
  background: rgba(255, 246, 242, 0.66);
}

.company-item-trigger[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.company-item-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.66fr);
  gap: 26px;
  padding: 4px 26px 26px;
}

.company-item-body.no-image {
  grid-template-columns: minmax(0, 1fr);
}

.company-text {
  margin: 0;
  color: #43536b;
  font-size: 0.94rem;
  line-height: 1.82;
  white-space: pre-line;
}

.company-images {
  display: grid;
  gap: 10px;
  align-content: start;
}

.company-images img {
  display: block;
  width: 100%;
  max-height: 360px;
  border-radius: 18px;
  object-fit: contain;
  background: rgba(255, 255, 255, 0.75);
}

.other-page .page-intro {
  align-items: center;
  margin-bottom: 24px;
}

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

.category-card {
  position: relative;
  display: grid;
  min-height: 220px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(228, 235, 245, 0.76));
  box-shadow: var(--shadow-soft);
  cursor: pointer;
  text-align: left;
}

.category-card img {
  width: 100%;
  height: 100%;
  min-height: 220px;
  object-fit: cover;
}

.category-card span {
  position: absolute;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 11px 13px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 14px;
  color: var(--ink-deep);
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 20px rgba(48, 62, 82, 0.15);
  font-weight: 650;
  backdrop-filter: blur(14px);
}

.coming-soon {
  position: relative;
  display: grid;
  min-height: calc(100vh - 110px);
  padding: 40px;
  place-items: center;
  overflow: hidden;
  text-align: center;
}

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

.coming-soon::before {
  width: min(620px, 76vw);
  aspect-ratio: 1;
  border: 1px solid rgba(135, 158, 189, 0.18);
  box-shadow: inset 18px 18px 44px rgba(138, 158, 187, 0.08), inset -20px -20px 48px rgba(255, 255, 255, 0.72);
}

.coming-soon::after {
  width: min(310px, 42vw);
  aspect-ratio: 1;
  background: radial-gradient(circle at 38% 32%, #fff, rgba(255, 235, 216, 0.72) 36%, rgba(255, 116, 53, 0.16) 64%, transparent 72%);
  filter: blur(8px);
}

.coming-soon-content {
  position: relative;
  z-index: 2;
}

.coming-soon-content p:first-child {
  margin: 0 0 15px;
  color: var(--orange-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.coming-soon-content h1 {
  max-width: 12em;
  margin: 0;
  color: var(--ink-deep);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 620;
  letter-spacing: -0.05em;
  line-height: 1.18;
}

.contact-page {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(0, 1.35fr);
  gap: clamp(32px, 5vw, 78px);
  align-items: center;
  min-height: calc(100vh - 130px);
  padding-top: 0;
}

.contact-copy {
  padding: 28px 0;
}

.contact-text {
  margin: 30px 0 0;
  color: #43536b;
  font-size: 1.02rem;
  line-height: 2;
  white-space: pre-line;
}

.contact-visual {
  position: relative;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: var(--shadow-raised);
}

.contact-visual::before {
  position: absolute;
  top: -12%;
  right: 8%;
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 132, 64, 0.18);
  content: "";
  filter: blur(38px);
}

.contact-visual img {
  position: relative;
  display: block;
  width: 100%;
  height: auto;
  border-radius: 20px;
  object-fit: contain;
  background: white;
}

dialog {
  padding: 0;
  border: 0;
}

dialog::backdrop {
  background: rgba(8, 14, 24, 0.5);
  backdrop-filter: blur(7px);
}

.site-menu {
  width: min(430px, calc(100vw - 24px));
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0 0 0 auto;
  background: transparent;
}

.menu-panel {
  min-height: 100%;
  padding: 30px;
  background: rgba(245, 248, 252, 0.95);
  box-shadow: -24px 0 60px rgba(20, 32, 49, 0.2);
  backdrop-filter: blur(24px);
}

.dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

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

.dialog-header p {
  color: var(--orange-deep);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.dialog-header h2 {
  margin-top: 4px;
  font-size: 1.65rem;
}

.icon-button {
  width: 48px;
  height: 48px;
  font-size: 1.9rem;
  line-height: 1;
}

.page-menu {
  display: grid;
  gap: 8px;
  margin-top: 30px;
}

.page-menu a {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  min-height: 58px;
  border-bottom: 1px solid var(--line);
  color: #3f506a;
  text-decoration: none;
}

.page-menu a::before {
  color: #9aa5b5;
  content: attr(data-order);
  font-size: 0.74rem;
}

.page-menu a[aria-current="page"] {
  color: var(--orange-deep);
  font-weight: 700;
}

.view-mode-panel {
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.view-mode-panel > p {
  margin: 0 0 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 650;
  letter-spacing: 0.12em;
}

.view-mode-switch {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.view-mode-switch button {
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.76);
  background: rgba(8, 14, 24, 0.36);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.1), 0 10px 24px rgba(0, 0, 0, 0.18);
  cursor: pointer;
  text-align: left;
}

.view-mode-switch button span,
.view-mode-switch button small {
  display: block;
}

.view-mode-switch button span {
  font-weight: 700;
}

.view-mode-switch button small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.66rem;
}

.view-mode-switch button[aria-pressed="true"] {
  border-color: rgba(255, 210, 116, 0.62);
  color: #fff7c2;
  background: rgba(255, 194, 77, 0.11);
  box-shadow: 0 0 22px rgba(255, 190, 65, 0.24), inset 0 0 16px rgba(255, 224, 135, 0.08);
}

.view-mode-switch button[aria-pressed="true"] small {
  color: rgba(255, 247, 194, 0.7);
}

.view-mode-switch button:focus-visible {
  outline: 2px solid #ffd77f;
  outline-offset: 3px;
}

.gallery-dialog {
  width: 90vw;
  max-width: 1400px;
  height: 90vh;
  max-height: 90vh;
  margin: auto;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(246, 249, 253, 0.97);
  box-shadow: 0 30px 90px rgba(7, 16, 29, 0.34);
}

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

.gallery-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.gallery-dialog-body {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 1fr);
  min-height: 0;
}

.gallery-copy {
  padding: 28px;
  overflow: auto;
  color: #43536b;
  font-size: 0.96rem;
  line-height: 1.85;
  white-space: pre-line;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 20px;
  overflow: auto;
  background: rgba(230, 237, 246, 0.55);
}

.gallery-grid img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 18px;
  object-fit: contain;
  background: white;
}

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

  .brand {
    gap: 10px;
  }

  .brand-latin {
    font-size: 1.38rem;
    letter-spacing: 0.25em;
  }

  .brand-zh {
    font-size: 0.73rem;
  }

  .menu-button {
    width: 52px;
    height: 52px;
    padding: 15px 12px;
  }

  .page-shell {
    width: auto;
    padding: 9px 18px max(28px, env(safe-area-inset-bottom));
  }

  .light-lab-page {
    width: 100%;
    height: 100%;
    margin: 0;
    border: 0;
    border-top: 1px solid rgba(31, 44, 61, .16);
    border-radius: 0;
    box-shadow: none;
  }

  .page-intro {
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 8px 0 20px;
  }

  .page-intro h1,
  .contact-copy h1 {
    font-size: 2rem;
  }

  .page-intro > p:last-child {
    display: -webkit-box;
    overflow: hidden;
    font-size: 0.88rem;
    line-height: 1.65;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
  }

  .filter-bar {
    gap: 8px;
    margin-bottom: 16px;
  }

  .filter-control label {
    top: 10px;
    left: 11px;
    font-size: 0.76rem;
    transform: none;
  }

  .filter-control select {
    height: 55px;
    padding: 24px 7px 5px 8px;
    border-radius: 17px;
    font-size: 0.62rem;
  }

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

  .showcase-panel,
  .spec-summary {
    min-height: 0;
  }

  .showcase-panel {
    width: calc(100% + 36px);
    margin-left: -18px;
    padding: 0 18px 8px;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
  }

  .showcase-panel::before {
    width: 310px;
  }

  .showcase-panel::after {
    width: 380px;
  }

  .product-stage {
    grid-template-columns: minmax(40px, 0.7fr) minmax(188px, 2.2fr) minmax(40px, 0.7fr);
    min-height: 320px;
  }

  .product-main {
    width: 246px;
    max-width: 100%;
  }

  .product-side {
    width: 112px;
  }

  .product-side:first-child {
    transform: translateX(-58%);
  }

  .product-side:last-child {
    transform: translateX(58%);
  }

  .round-button {
    bottom: 1%;
    width: 45px;
    height: 45px;
  }

  .round-button.prev {
    left: 18px;
  }

  .round-button.next {
    right: 18px;
  }

  .product-identity {
    margin-top: -4px;
  }

  .product-identity strong {
    min-width: 178px;
    padding: 9px 18px;
    font-size: 1rem;
  }

  .spec-summary {
    padding: 17px;
    border-radius: 25px;
  }

  .spec-summary .eyebrow {
    display: none;
  }

  .spec-summary h1 {
    min-height: auto;
    font-size: 1.22rem;
    text-align: center;
  }

  .metric-grid {
    gap: 10px;
    margin-top: 14px;
  }

  .metric {
    padding: 11px 6px;
  }

  .metric strong {
    font-size: 1.05rem;
  }

  .tag-list {
    justify-content: center;
    margin-top: 12px;
  }

  .tag {
    padding: 6px 10px;
    font-size: 0.68rem;
  }

  .company-page .page-intro {
    margin-bottom: 14px;
  }

  .section-jump {
    flex-wrap: nowrap;
    gap: 8px;
    margin-right: -18px;
    margin-bottom: 14px;
    padding-right: 18px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .section-jump button {
    flex: 0 0 auto;
    min-height: 40px;
    padding: 7px 11px;
    font-size: 0.78rem;
  }

  .company-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .company-sidebar {
    display: none;
  }

  .company-sidebar button {
    flex: 0 0 auto;
    min-height: 44px;
    padding: 8px 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    font-size: 0.76rem;
  }

  .company-sidebar button::after {
    display: none;
  }

  .company-content {
    border-radius: 22px;
  }

  .company-content-head {
    padding: 17px 18px 13px;
  }

  .company-content-head h2 {
    font-size: 1.25rem;
  }

  .company-item-trigger {
    min-height: 50px;
    padding: 12px 18px;
    font-size: 0.88rem;
  }

  .company-item-body {
    grid-template-columns: 1fr;
    gap: 14px;
    max-height: 390px;
    padding: 4px 18px 18px;
    overflow: auto;
  }

  .company-text {
    font-size: 0.82rem;
    line-height: 1.72;
  }

  .company-images img {
    max-height: 230px;
  }

  .other-page .page-intro {
    margin-bottom: 15px;
  }

  .other-page .page-intro > p:last-child {
    display: block;
    overflow: visible;
    -webkit-line-clamp: initial;
  }

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

  .category-card {
    min-height: 150px;
    border-radius: 18px;
  }

  .category-card img {
    min-height: 150px;
  }

  .category-card span {
    right: 8px;
    bottom: 8px;
    left: 8px;
    padding: 8px 9px;
    border-radius: 11px;
    font-size: 0.76rem;
  }

  .coming-soon {
    min-height: calc(100vh - 85px);
    padding: 24px;
  }

  .coming-soon-content h1 {
    font-size: 2.65rem;
  }

  .contact-page {
    grid-template-columns: 1fr;
    gap: 18px;
    align-content: start;
    min-height: auto;
    padding-top: 16px;
  }

  .contact-copy {
    padding: 0;
  }

  .contact-text {
    margin-top: 18px;
    font-size: 0.88rem;
    line-height: 1.8;
  }

  .contact-visual {
    padding: 12px;
    border-radius: 22px;
  }

  .contact-visual img {
    border-radius: 14px;
  }

  .gallery-dialog {
    width: calc(100vw - 22px);
    height: 90vh;
    border-radius: 24px;
  }

  .gallery-header {
    padding: 15px 16px;
  }

  .gallery-dialog-body {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .gallery-copy {
    padding: 18px;
    overflow: visible;
    font-size: 0.84rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    overflow: visible;
    padding: 12px;
  }

  .menu-panel {
    padding: 24px 20px;
  }
}

@media (max-width: 350px) {
  .brand-zh {
    display: none;
  }

  .product-main {
    width: 224px;
  }
}

/* 第二版互動預覽：玻璃篩選、產品規格與簡潔摺疊 */
.menu-button,
.icon-button,
.round-button,
.spec-table-button,
.section-jump button,
.filter-trigger {
  position: relative;
  overflow: hidden;
  border-color: rgba(255, 255, 255, 0.76);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.66), rgba(210, 220, 234, 0.36));
  box-shadow: 8px 12px 24px rgba(58, 78, 108, 0.14), inset 1px 1px 0 rgba(255, 255, 255, 0.92), inset -1px -1px 0 rgba(116, 137, 166, 0.16);
  backdrop-filter: blur(18px) saturate(135%);
}

.menu-button::before,
.icon-button::before,
.round-button::before,
.spec-table-button::before,
.section-jump button::before,
.filter-trigger::before {
  position: absolute;
  inset: 1px 16% 52% 5%;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.66), transparent);
  content: "";
  pointer-events: none;
}

.filter-label {
  position: absolute;
  top: 50%;
  left: 22px;
  z-index: 6;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  pointer-events: none;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.42);
  transform: translateY(-50%);
}

.filter-control:first-child .filter-label {
  color: #ffffff;
}

.filter-trigger {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  height: 59px;
  padding: 8px 20px 8px 102px;
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 20px;
  color: rgba(255, 255, 255, 0.96);
  background: linear-gradient(145deg, rgba(29, 41, 59, 0.86), rgba(62, 75, 94, 0.7));
  box-shadow: 9px 13px 26px rgba(35, 48, 68, 0.24), inset 1px 1px 0 rgba(255, 255, 255, 0.25), inset -1px -1px 0 rgba(0, 0, 0, 0.18);
  cursor: pointer;
  text-align: left;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.24);
}

.filter-trigger > span {
  position: relative;
  z-index: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-trigger > i {
  position: relative;
  z-index: 2;
  width: 8px;
  height: 8px;
  border-right: 2px solid rgba(255, 255, 255, 0.84);
  border-bottom: 2px solid rgba(255, 255, 255, 0.84);
  transform: rotate(45deg) translateY(-2px);
  transition: transform 180ms ease;
}

.filter-trigger[aria-expanded="true"] > i {
  transform: rotate(225deg) translate(-2px, -2px);
}

.filter-control:first-child .filter-trigger {
  border-color: rgba(255, 255, 255, 0.76);
  background: linear-gradient(145deg, rgba(38, 43, 55, 0.88), rgba(77, 67, 68, 0.7));
}

.filter-options {
  position: absolute;
  top: calc(100% + 9px);
  left: 0;
  z-index: 40;
  width: max(100%, 280px);
  max-height: min(420px, 60vh);
  padding: 10px;
  overflow-y: auto;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(208, 221, 234, 0.64), rgba(173, 188, 203, 0.48));
  box-shadow: 0 24px 58px rgba(36, 49, 68, 0.27), inset 1px 1px 0 rgba(255, 255, 255, 0.62);
  backdrop-filter: blur(24px) saturate(125%);
}

.filter-control:nth-child(2) .filter-options {
  left: 50%;
  transform: translateX(-50%);
}

.filter-control:last-child .filter-options {
  right: 0;
  left: auto;
}

.filter-options[hidden] {
  display: none;
}

.filter-options button {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 24px;
  gap: 16px;
  align-items: center;
  width: 100%;
  min-height: 52px;
  padding: 10px 14px 10px 18px;
  border: 0;
  border-radius: 17px;
  color: rgba(255, 255, 255, 0.92);
  background: transparent;
  cursor: pointer;
  font-weight: 560;
  text-align: left;
  text-shadow: 0 1px 6px rgba(24, 37, 54, 0.28);
}

.filter-options button:hover,
.filter-options button:focus-visible,
.filter-options button[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.28);
}

.filter-options button i {
  opacity: 0;
  font-style: normal;
  text-align: center;
}

.filter-options button[aria-selected="true"] i {
  opacity: 1;
}

.spec-summary {
  border-color: rgba(255, 255, 255, 0.94);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.72), rgba(224, 233, 245, 0.72));
  box-shadow:
    0 18px 45px rgba(66, 88, 120, 0.2),
    0 0 26px rgba(150, 196, 255, 0.24),
    inset 2px 2px 2px rgba(255, 255, 255, 0.96),
    inset -3px -3px 8px rgba(113, 139, 176, 0.16);
}

.spec-summary::after {
  height: 1px;
  margin-top: auto;
  background: linear-gradient(90deg, transparent, rgba(147, 199, 255, 0.86), transparent);
  box-shadow: 0 0 12px rgba(104, 180, 255, 0.58);
  content: "";
}

.product-focus {
  --drag-x: 0px;
  position: relative;
  display: grid;
  width: 100%;
  place-items: center;
  touch-action: pan-y;
  user-select: none;
}

.product-focus .product-main img {
  transform: translateX(var(--drag-x));
  transition: transform 180ms ease;
}

.product-focus.is-dragging,
.product-focus.is-dragging .product-main {
  cursor: grabbing;
}

.product-focus.is-dragging .product-main img {
  transition: none;
}

.product-focus .round-button {
  position: absolute;
  top: 50%;
  bottom: auto;
  transform: translateY(-50%);
}

.product-focus .round-button.prev {
  right: auto;
  left: -34px;
}

.product-focus .round-button.next {
  right: -34px;
  left: auto;
}

.spec-title-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  align-items: end;
}

.spec-title-line h1 {
  min-width: 0;
}

.spec-table-button {
  align-self: end;
  min-width: 94px;
  min-height: 44px;
  margin-top: 10px;
  padding: 9px 18px;
  border: 1px solid rgba(255, 255, 255, 0.88);
  border-radius: 16px;
  color: #445773;
  cursor: pointer;
  font-weight: 650;
}

.company-layout {
  display: block;
}

.company-content {
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.company-content-head {
  padding: 8px 0 12px;
  border-bottom: 0;
  text-align: center;
}

.company-page .section-jump {
  margin-bottom: 0;
}

.company-content-head h2 {
  font-size: clamp(1.9rem, 3vw, 2.7rem);
  font-weight: 480;
}

.company-items {
  display: block;
}

.company-item + .company-item {
  border-top: 0;
}

.company-item-trigger {
  min-height: 74px;
  padding: 18px 10px;
  border-bottom: 1px solid rgba(94, 112, 139, 0.18);
  color: #4a586d;
  font-size: 1.08rem;
  font-weight: 480;
}

.company-item-trigger::after {
  content: "+";
  color: #626b76;
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
}

.company-item-trigger[aria-expanded="true"] {
  color: var(--orange-deep);
  background: transparent;
}

.company-item-trigger[aria-expanded="true"]::after {
  content: "−";
  transform: none;
}

.company-item-body {
  padding: 24px 10px 34px;
  border-bottom: 1px solid rgba(94, 112, 139, 0.18);
}

.company-images {
  overflow: hidden;
  border-radius: 18px;
}

.company-images img {
  height: 100%;
  min-height: 260px;
  max-height: 430px;
  object-fit: cover;
  background: transparent;
}

.category-card span {
  display: none;
}

.category-card {
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.category-card:hover {
  box-shadow: 12px 18px 34px rgba(65, 84, 113, 0.22), -8px -8px 20px rgba(255, 255, 255, 0.88);
  transform: translateY(-3px);
}

.gallery-dialog[data-mode="product"] .gallery-dialog-body {
  grid-template-columns: minmax(210px, 0.28fr) minmax(0, 1fr);
}

.gallery-dialog[data-mode="product"] .gallery-grid {
  grid-template-columns: 1fr;
  gap: 5px;
}

.gallery-dialog[data-mode="product"] .gallery-grid img {
  height: auto;
  aspect-ratio: auto;
  background: transparent;
}

.gallery-dialog[data-mode="category"] .gallery-dialog-body {
  grid-template-columns: minmax(240px, 0.32fr) minmax(0, 1fr);
}

.gallery-dialog[data-mode="category"] .gallery-grid {
  display: block;
  align-content: center;
  padding: 20px 0;
  overflow: hidden;
  background: transparent;
}

.marquee-track,
.marquee-set {
  display: flex;
  width: max-content;
  align-items: center;
}

.marquee-track {
  animation: category-marquee-ltr 42s linear infinite;
}

.marquee-set {
  gap: 5px;
  padding-right: 5px;
}

.gallery-dialog[data-mode="category"] .marquee-set img {
  width: min(32vw, 360px);
  height: min(54vh, 440px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  border-radius: 0;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.gallery-dialog[data-mode="category"] .marquee-track:hover {
  animation-play-state: paused;
}

@keyframes category-marquee-ltr {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.spec-dialog {
  width: min(900px, 90vw);
  max-width: none;
  height: min(820px, 90vh);
  max-height: 90vh;
  margin: auto;
  overflow: hidden;
  border-radius: 30px;
  background: rgba(239, 245, 252, 0.94);
  box-shadow: 0 32px 90px rgba(7, 16, 29, 0.36), inset 1px 1px 0 rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(24px) saturate(125%);
}

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

.spec-dialog-header {
  padding: 22px 26px;
  border-bottom: 1px solid var(--line);
}

.spec-list {
  padding: 16px 24px 30px;
  overflow-y: auto;
}

.spec-accordion {
  border-bottom: 1px solid rgba(100, 120, 149, 0.2);
}

.spec-accordion summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  min-height: 62px;
  padding: 12px 6px;
  color: #36465e;
  cursor: pointer;
  font-weight: 650;
  list-style: none;
}

.spec-accordion summary::-webkit-details-marker {
  display: none;
}

.spec-accordion summary::after {
  color: #6c7b91;
  content: "+";
  font-size: 1.55rem;
  font-weight: 300;
}

.spec-accordion[open] summary::after {
  content: "−";
}

.spec-accordion summary em {
  font-size: 0.74rem;
  font-style: normal;
  font-weight: 600;
}

.spec-accordion.is-out-of-stock summary,
.spec-accordion.is-out-of-stock summary em {
  color: #aeb6c1;
}

.spec-accordion dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0 0 18px;
  overflow: hidden;
  border: 1px solid rgba(102, 123, 153, 0.16);
  border-radius: 18px;
  background: rgba(100, 121, 151, 0.12);
}

.spec-accordion dl > div {
  display: grid;
  grid-template-columns: minmax(120px, 0.48fr) minmax(0, 1fr);
  gap: 12px;
  min-height: 48px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.68);
}

.spec-accordion dt,
.spec-accordion dd {
  margin: 0;
}

.spec-accordion dt {
  color: #718098;
  font-size: 0.78rem;
}

.spec-accordion dd {
  color: #273750;
  font-size: 0.86rem;
  font-weight: 620;
  text-align: right;
}

@media (max-width: 720px) {
  .filter-label {
    top: 9px;
    left: 11px;
    font-size: 0.76rem;
    transform: none;
  }

  .filter-trigger {
    height: 55px;
    padding: 23px 8px 5px;
    border-radius: 17px;
    font-size: 0.62rem;
  }

  .filter-trigger > i {
    width: 7px;
    height: 7px;
  }

  .filter-options {
    width: min(82vw, 300px);
    min-width: 0;
    border-radius: 22px;
  }

  .filter-options button {
    min-height: 48px;
    font-size: 0.82rem;
  }

  .spec-table-button {
    min-width: 86px;
    min-height: 42px;
    margin-top: 9px;
    padding: 8px 15px;
    border-radius: 14px;
    font-size: 0.82rem;
  }

  .product-focus .round-button.prev {
    left: -18px;
  }

  .product-focus .round-button.next {
    right: -18px;
  }

  .spec-title-line {
    gap: 8px;
    align-items: center;
  }

  .spec-title-line h1 {
    text-align: left;
  }

  .company-content-head {
    padding: 8px 0;
  }

  .company-content-head h2 {
    font-size: 1.5rem;
  }

  .company-item-trigger {
    min-height: 62px;
    padding: 15px 3px;
    font-size: 0.94rem;
  }

  .company-item-trigger::after {
    font-size: 1.6rem;
  }

  .company-item-body {
    max-height: 430px;
    padding: 18px 3px 28px;
  }

  .company-images img {
    min-height: 220px;
    max-height: 320px;
  }

  .gallery-dialog[data-mode="product"] .gallery-dialog-body,
  .gallery-dialog[data-mode="category"] .gallery-dialog-body {
    grid-template-columns: 1fr;
  }

  .gallery-dialog[data-mode="product"] .gallery-grid {
    padding: 5px;
  }

  .gallery-dialog[data-mode="category"] .gallery-grid {
    min-height: 290px;
    padding: 8px 0;
  }

  .gallery-dialog[data-mode="category"] .marquee-set img {
    width: 70vw;
    height: min(46vh, 360px);
  }

  .spec-dialog {
    width: calc(100vw - 22px);
    height: 90vh;
    border-radius: 24px;
  }

  .spec-dialog-header {
    padding: 15px 16px;
  }

  .spec-list {
    padding: 8px 14px 22px;
  }

  .spec-accordion summary {
    min-height: 58px;
    font-size: 0.86rem;
  }

  .spec-accordion dl {
    grid-template-columns: 1fr;
  }
}

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

  .gallery-dialog[data-mode="category"] .gallery-grid {
    overflow-x: auto;
  }
}

/* 第三版產品互動：淺色控制、深色清單、立體轉輪與深色綜合選單 */
.filter-label {
  color: #64748b;
  text-shadow: none;
}

.filter-control:first-child .filter-label {
  color: var(--orange-deep);
}

.filter-trigger {
  color: #65748a;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(224, 232, 243, 0.78));
  box-shadow: 8px 11px 24px rgba(67, 87, 116, 0.16), -7px -7px 20px rgba(255, 255, 255, 0.92), inset 1px 1px 0 rgba(255, 255, 255, 0.96);
  text-shadow: none;
}

.filter-control:first-child .filter-trigger {
  border-color: rgba(255, 126, 73, 0.25);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 235, 226, 0.82));
  box-shadow: 8px 11px 24px rgba(225, 86, 31, 0.14), -7px -7px 20px rgba(255, 255, 255, 0.94), inset 1px 1px 0 rgba(255, 255, 255, 0.96);
}

.filter-trigger > i {
  border-color: #64748b;
}

.filter-options {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(8, 14, 24, 0.7);
  box-shadow: 0 24px 58px rgba(8, 14, 24, 0.34), inset 1px 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(24px) saturate(125%);
}

.filter-options button {
  color: #fff;
  text-shadow: 0 1px 7px rgba(0, 0, 0, 0.5);
}

.filter-options button:hover,
.filter-options button:focus-visible,
.filter-options button[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.2);
}

.product-stage {
  --drag-x: 0px;
  --main-scale: 1;
  --main-rotate: 0deg;
  --prev-scale: 0.82;
  --next-scale: 0.82;
  --prev-shift: -20%;
  --next-shift: 20%;
  --prev-opacity: 0.66;
  --next-opacity: 0.66;
  perspective: 1100px;
}

.product-focus .product-main img {
  transform: translateX(var(--drag-x)) scale(var(--main-scale)) rotateY(var(--main-rotate));
  transform-style: preserve-3d;
  transition: transform 240ms cubic-bezier(.2,.75,.25,1);
}

.product-stage .product-side {
  transition: transform 240ms cubic-bezier(.2,.75,.25,1), opacity 240ms ease, filter 240ms ease;
}

.product-stage .product-side:first-child {
  opacity: var(--prev-opacity);
  transform: translateX(var(--prev-shift)) scale(var(--prev-scale)) rotateY(14deg);
}

.product-stage .product-side:last-child {
  opacity: var(--next-opacity);
  transform: translateX(var(--next-shift)) scale(var(--next-scale)) rotateY(-14deg);
}

.product-stage.is-dragging .product-main img,
.product-stage.is-dragging .product-side {
  transition: none;
}

.product-stage.is-dragging .product-side {
  filter: drop-shadow(0 18px 24px rgba(62, 81, 109, 0.18));
}

.product-identity strong {
  display: grid;
  place-items: center;
  text-align: center;
}

.product-identity .spec-table-button {
  position: absolute;
  top: 0;
  left: calc(50% + 128px);
  align-self: auto;
  margin: 0;
}

.spec-title-line {
  display: block;
}

.spec-accordion dd {
  text-align: left;
}

.menu-panel {
  color: #fff;
  background: rgba(8, 14, 24, 0.5);
  box-shadow: -24px 0 60px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(24px) saturate(120%);
}

.site-menu .dialog-header p,
.site-menu .dialog-header h2,
.site-menu .page-menu a,
.site-menu .page-menu a::before {
  color: #fff;
}

.site-menu .icon-button {
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  background: rgba(8, 14, 24, 0.42);
}

.site-menu .page-menu a {
  padding: 0 14px;
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 14px;
}

.site-menu .page-menu a[aria-current="page"] {
  color: #fff7c2;
  background: rgba(255, 214, 75, 0.12);
  box-shadow: 0 0 24px rgba(255, 209, 58, 0.34), inset 0 0 18px rgba(255, 222, 101, 0.12);
  text-shadow: 0 0 9px rgba(255, 220, 90, 0.98), 0 0 20px rgba(255, 188, 48, 0.72);
}

.site-menu .page-menu a[aria-current="page"]::before {
  color: #fff2a8;
  text-shadow: 0 0 8px rgba(255, 216, 75, 0.9);
}

@media (max-width: 720px) {
  .product-identity .spec-table-button {
    left: calc(50% + 100px);
  }
}

.spec-summary .spec-title-line h1 {
  text-align: center;
}

/* 方案 4 正式套用至原始可調色燈具頁：暗色液態玻璃 × Glowing Neumorphism */
body.product-theme-dark-glow {
  color-scheme: dark;
  color: #f7f7fb;
  background:
    radial-gradient(circle at 34% -8%, rgba(137, 136, 162, 0.38), transparent 42%),
    radial-gradient(circle at 100% 82%, rgba(61, 65, 95, 0.34), transparent 46%),
    #151621;
}

body.product-theme-dark-glow .app-shell {
  overflow: visible;
  background:
    radial-gradient(circle at 35% 0, rgba(137, 136, 162, 0.25), transparent 40%),
    radial-gradient(circle at 88% 68%, rgba(75, 77, 105, 0.2), transparent 42%);
}

body.product-theme-dark-glow .brand,
body.product-theme-dark-glow .brand-a::before {
  color: #f8f8fc;
}

body.product-theme-dark-glow .menu-button,
body.product-theme-dark-glow .round-button,
body.product-theme-dark-glow .spec-table-button {
  border-color: rgba(246, 248, 255, 0.46);
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  box-shadow:
    0 -5px 18px rgba(222, 232, 255, 0.2),
    0 7px 20px rgba(255, 179, 93, 0.16),
    0 16px 34px rgba(0, 0, 0, 0.32),
    inset 1px 1px 0 rgba(255, 255, 255, 0.22),
    inset -1px -1px 0 rgba(0, 0, 0, 0.26);
}

body.product-theme-dark-glow .menu-button span {
  background: #fff;
}

body.product-theme-dark-glow .page-shell.product-page {
  color: #f7f7fb;
}

body.product-theme-dark-glow .filter-label {
  color: rgba(244, 245, 252, 0.76);
}

body.product-theme-dark-glow .filter-control:first-child .filter-label {
  color: #ffbe63;
}

body.product-theme-dark-glow .filter-trigger,
body.product-theme-dark-glow .filter-control:first-child .filter-trigger {
  border-color: rgba(246, 248, 255, 0.42);
  color: rgba(244, 245, 252, 0.76);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035));
  box-shadow:
    0 -5px 18px rgba(222, 232, 255, 0.17),
    0 7px 20px rgba(255, 179, 93, 0.12),
    0 16px 34px rgba(0, 0, 0, 0.3),
    inset 1px 1px 0 rgba(255, 255, 255, 0.18);
}

body.product-theme-dark-glow .filter-control:first-child .filter-trigger {
  border-color: rgba(255, 200, 126, 0.6);
  box-shadow:
    0 -4px 16px rgba(245, 236, 222, 0.14),
    0 7px 22px rgba(255, 164, 70, 0.25),
    0 17px 36px rgba(0, 0, 0, 0.34),
    inset 1px 1px 0 rgba(255, 246, 230, 0.23);
}

body.product-theme-dark-glow .filter-trigger > i {
  border-color: rgba(246, 248, 255, 0.72);
}

body.product-theme-dark-glow .filter-options {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(8, 10, 18, 0.82);
}

body.product-theme-dark-glow .product-layout,
body.product-theme-dark-glow .showcase-panel,
body.product-theme-dark-glow .product-stage {
  overflow: visible;
}

body.product-theme-dark-glow .showcase-panel,
body.product-theme-dark-glow .spec-summary {
  border: 0;
  color: #f7f7fb;
  background: rgba(255, 255, 255, 0.045);
  box-shadow:
    0 -7px 26px rgba(213, 222, 248, 0.08),
    0 9px 34px rgba(255, 171, 83, 0.07),
    0 24px 58px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(28px) saturate(112%);
}

body.product-theme-dark-glow .showcase-panel {
  border-radius: 52px 26px 52px 26px;
}

body.product-theme-dark-glow .showcase-panel::before,
body.product-theme-dark-glow .showcase-panel::after {
  border-color: rgba(187, 197, 229, 0.12);
}

body.product-theme-dark-glow .product-main {
  width: 320px;
  height: 320px;
  max-width: 70%;
  max-height: 320px;
  padding: 0;
  align-self: center;
}

body.product-theme-dark-glow .product-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  margin: auto;
  object-fit: contain;
}

body.product-theme-dark-glow .product-side {
  overflow: hidden;
  border-color: rgba(243, 246, 255, 0.4);
  background: rgba(255, 255, 255, 0.04);
  box-shadow:
    0 -5px 18px rgba(223, 232, 255, 0.1),
    0 8px 24px rgba(255, 177, 93, 0.08),
    0 18px 34px rgba(0, 0, 0, 0.28),
    inset 1px 1px 0 rgba(255, 255, 255, 0.14);
}

body.product-theme-dark-glow .product-identity > strong {
  color: #25180d;
  box-shadow:
    0 -4px 16px rgba(255, 247, 216, 0.18),
    0 8px 28px rgba(255, 166, 70, 0.28),
    inset 0 1px rgba(255, 255, 255, 0.55);
}

body.product-theme-dark-glow .product-identity > span,
body.product-theme-dark-glow .product-position {
  color: rgba(244, 245, 252, 0.72);
}

body.product-theme-dark-glow .spec-summary {
  border-radius: 32px;
}

body.product-theme-dark-glow .spec-summary .eyebrow {
  color: #ffc578;
}

body.product-theme-dark-glow .spec-summary h1,
body.product-theme-dark-glow .metric strong {
  color: #fff;
}

body.product-theme-dark-glow .metric {
  border: 1px solid rgba(241, 245, 255, 0.28);
  color: #fff;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.045));
  box-shadow:
    0 -3px 12px rgba(221, 231, 255, 0.1),
    0 5px 14px rgba(255, 173, 87, 0.08),
    inset 1px 1px 0 rgba(255, 255, 255, 0.13);
}

body.product-theme-dark-glow .metric span,
body.product-theme-dark-glow .tag {
  color: rgba(244, 245, 252, 0.72);
}

body.product-theme-dark-glow .tag {
  border-color: rgba(241, 245, 255, 0.28);
  background: rgba(255, 255, 255, 0.055);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18), 0 0 12px rgba(255, 181, 101, 0.06);
}

@media (max-width: 900px) {
  body.product-theme-dark-glow .site-header {
    padding: 15px 16px 10px;
  }

  body.product-theme-dark-glow .page-shell {
    width: auto;
    padding: 4px 14px max(18px, env(safe-area-inset-bottom));
  }

  body.product-theme-dark-glow .filter-bar {
    gap: 7px;
    margin-bottom: 10px;
  }

  body.product-theme-dark-glow .filter-trigger {
    min-height: 58px;
  }

  body.product-theme-dark-glow .product-layout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body.product-theme-dark-glow .showcase-panel,
  body.product-theme-dark-glow .spec-summary {
    width: auto;
    min-height: 0;
    margin: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.product-theme-dark-glow .showcase-panel {
    padding: 0 0 6px;
  }

  body.product-theme-dark-glow .product-stage {
    grid-template-columns: 70px minmax(170px, 1fr) 70px;
    min-height: clamp(300px, 42vh, 355px);
  }

  body.product-theme-dark-glow .product-main {
    width: clamp(180px, 44vw, 300px);
    height: clamp(180px, 44vw, 300px);
    max-width: none;
    max-height: none;
  }

  body.product-theme-dark-glow .product-side {
    width: 66px;
    transform: none;
  }

  body.product-theme-dark-glow .product-side:first-child {
    justify-self: start;
    transform: translateX(var(--prev-shift)) scale(var(--prev-scale)) rotateY(14deg);
  }

  body.product-theme-dark-glow .product-side:last-child {
    justify-self: end;
    transform: translateX(var(--next-shift)) scale(var(--next-scale)) rotateY(-14deg);
  }

  body.product-theme-dark-glow .product-focus .round-button.prev {
    left: -4px;
  }

  body.product-theme-dark-glow .product-focus .round-button.next {
    right: -4px;
  }

  body.product-theme-dark-glow .product-identity {
    gap: 3px;
    margin-top: -2px;
  }

  body.product-theme-dark-glow .product-identity > strong {
    min-width: 166px;
    padding: 7px 16px;
  }

  body.product-theme-dark-glow .product-identity .spec-table-button {
    left: calc(50% + 94px);
    min-width: 76px;
    min-height: 38px;
    padding: 6px 9px;
  }

  body.product-theme-dark-glow .spec-summary {
    padding: 11px 16px 14px;
    border-top: 1px solid rgba(239, 243, 255, 0.18);
  }

  body.product-theme-dark-glow .spec-summary .eyebrow {
    display: none;
  }

  body.product-theme-dark-glow .spec-summary h1 {
    font-size: 1.08rem;
  }

  body.product-theme-dark-glow .metric-grid {
    gap: 10px;
    margin-top: 10px;
  }

  body.product-theme-dark-glow .metric {
    min-height: 62px;
    padding: 8px 10px;
    border-radius: 16px;
  }

  body.product-theme-dark-glow .tag-list {
    gap: 6px;
    margin-top: 10px;
  }

  body.product-theme-dark-glow .tag {
    padding: 5px 10px;
    font-size: 0.66rem;
  }
}

@media (max-width: 420px) and (max-height: 760px) {
  body.product-theme-dark-glow .product-stage {
    min-height: 280px;
  }

  body.product-theme-dark-glow .product-main {
    width: 168px;
    height: 168px;
    max-width: none;
    max-height: none;
  }
}

/* 可調色系列確認版：保留既有版型，只更新液態玻璃控制元件比例 */
body.product-theme-dark-glow .filter-label {
  font-size: 1.5rem;
  line-height: 1;
}

body.product-theme-dark-glow .filter-trigger > span {
  font-size: 1.5rem;
  line-height: 1.15;
}

body.product-theme-dark-glow .filter-trigger,
body.product-theme-dark-glow .filter-control:first-child .filter-trigger {
  box-shadow:
    0 -2px 9px rgba(222, 232, 255, 0.07),
    0 6px 16px rgba(255, 179, 93, 0.08),
    0 14px 30px rgba(0, 0, 0, 0.3),
    inset 0 1px rgba(255, 255, 255, 0.1);
}

body.product-theme-dark-glow .filter-control:first-child .filter-trigger {
  box-shadow:
    0 -2px 9px rgba(245, 236, 222, 0.07),
    0 6px 17px rgba(255, 164, 70, 0.14),
    0 14px 30px rgba(0, 0, 0, 0.31),
    inset 0 1px rgba(255, 246, 230, 0.12);
}

body.product-theme-dark-glow .filter-trigger::before {
  inset: 1px 12% 66% 6%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.18), transparent);
  opacity: 0.42;
}

body.product-theme-dark-glow .spec-dialog-header h2 {
  color: #fff;
  -webkit-text-stroke: 0.7px #10131a;
  paint-order: stroke fill;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

body.product-theme-dark-glow .product-identity > strong {
  justify-self: center;
  text-align: center;
}

body.product-theme-dark-glow .product-identity .spec-table-button {
  left: calc(50% + 122px);
  min-width: 67px;
  width: 67px;
  min-height: 34px;
  height: 34px;
  padding: 4px 8px;
  border-radius: 17px;
  font-size: 0.78rem;
}

@media (max-width: 900px) {
  body.product-theme-dark-glow .filter-label {
    font-size: 1.14rem;
  }

  body.product-theme-dark-glow .filter-trigger > span {
    font-size: 0.93rem;
  }

  body.product-theme-dark-glow .product-identity .spec-table-button {
    left: calc(50% + 96px);
    min-width: 56px;
    width: 56px;
    min-height: 31px;
    height: 31px;
    padding: 3px 6px;
    border-radius: 16px;
    font-size: 0.72rem;
  }
}
