:root {
  --scrollbar-track: #eef3f8;
  --scrollbar-thumb: #9eafc7;
  --scrollbar-thumb-hover: #6f86a6;
  --scrollbar-thumb-active: #1b6fd8;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  scrollbar-width: thin;
}

*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

*::-webkit-scrollbar-track {
  background: var(--scrollbar-track);
}

*::-webkit-scrollbar-thumb {
  background: var(--scrollbar-thumb);
  border: 2px solid var(--scrollbar-track);
  border-radius: 999px;
}

*::-webkit-scrollbar-thumb:hover {
  background: var(--scrollbar-thumb-hover);
}

*::-webkit-scrollbar-thumb:active {
  background: var(--scrollbar-thumb-active);
}

body {
  overflow-x: hidden;
}

body.syn-modal-open {
  overflow: hidden;
}

/* ---------- API 表单状态 ---------- */
.syn-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#newsletter [data-newsletter-status],
#contact [data-contact-status] {
  transition: color 160ms ease;
}

#newsletter [data-newsletter-status].is-error,
#contact [data-contact-status].is-error {
  color: var(--color-danger, #dc2626);
}

#newsletter [data-newsletter-status].is-success,
#contact [data-contact-status].is-success {
  color: var(--color-success, #14b87e);
}

#contact [data-contact-status]:empty {
  display: none;
}

/* ---------- 筛选按钮 ---------- */
.syn-filter {
  background: transparent;
}

.syn-filter > span.absolute {
  display: none;
}

.syn-filter[aria-pressed="true"] {
  color: #fff !important;
  background: #1b6fd8;
  box-shadow: 0 4px 12px rgba(27, 111, 216, 0.3);
}

.syn-filter[aria-pressed="false"] {
  color: #4a5568 !important;
}

/* Utility display classes on product cards can override the native hidden rule. */
#products .syn-product-filtered-out {
  display: none !important;
}

/* ---------- 导航紧凑 ---------- */
.syn-nav-compact {
  max-width: 1120px !important;
  border-radius: 0 0 18px 18px !important;
  box-shadow: 0 10px 34px rgba(30, 60, 114, 0.12) !important;
}

/* ---------- 产品详情弹窗（线上新版设计） ---------- */
.syn-pmodal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.syn-pmodal[hidden] {
  display: none;
}

.syn-pmodal .syn-pmodal__backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  cursor: default;
  background: rgba(13, 17, 23, 0.45);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 180ms ease;
}

.syn-pmodal.is-open .syn-pmodal__backdrop {
  opacity: 1;
}

.syn-pmodal__shell {
  position: relative;
  width: 100%;
  max-height: 92vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(32px) saturate(180%);
  -webkit-backdrop-filter: blur(32px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.95);
  box-shadow: rgba(13, 17, 23, 0.22) 0px 24px 64px;
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.syn-pmodal.is-open .syn-pmodal__shell {
  opacity: 1;
  transform: translateY(0);
}

.syn-pmodal__grabber {
  display: block;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 4px;
  border-radius: 9999px;
  background: rgba(13, 17, 23, 0.18);
  z-index: 3;
}

.syn-pmodal__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid #ffffffeb;
  background: #ffffffd1;
  color: #4a5568;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: inset 0 1px #ffffffe6, 0 1px 4px #00000014;
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: background 0.2s;
}

.syn-pmodal__close:hover {
  background: #fffffff2;
}

.syn-pmodal__visual {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: radial-gradient(rgba(27, 111, 216, 0.1) 0%, rgba(27, 111, 216, 0.024) 55%, rgb(255, 255, 255) 100%);
}

.syn-pmodal__visual-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(36px) saturate(140%);
  transform: scale(1.15);
  opacity: 0.7;
}

.syn-pmodal__visual-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(rgba(27, 111, 216, 0.063) 0%, rgba(27, 111, 216, 0.02) 55%, rgba(255, 255, 255, 0.35) 100%);
}

.syn-pmodal__visual-main {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 40px 96px;
}

.syn-pmodal__visual-main img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  filter: drop-shadow(rgba(27, 60, 114, 0.18) 0px 30px 60px) drop-shadow(rgba(0, 0, 0, 0.08) 0px 12px 24px);
}

.syn-pmodal__seal {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow: rgba(30, 60, 114, 0.12) 0px 4px 24px, rgba(255, 255, 255, 0.9) 0px 1px 0px inset;
  display: none;
  place-items: center;
}

.syn-pmodal__seal svg {
  position: absolute;
  inset: 0;
}

.syn-pmodal__thumbs {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 40px 16px 16px;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  background: linear-gradient(to top, rgba(13, 17, 23, 0.35) 0%, rgba(13, 17, 23, 0.12) 50%, rgba(13, 17, 23, 0) 100%);
}

.syn-pmodal__thumbs button {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  padding: 0;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid transparent;
  background: rgba(255, 255, 255, 0.9);
  cursor: pointer;
  transition: border-color 150ms ease;
}

.syn-pmodal__thumbs button.is-active {
  border-color: var(--color-accent, #1b6fd8);
}

.syn-pmodal__thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.syn-pmodal__content {
  flex: 1;
  overflow-y: auto;
  padding: 24px 28px 28px;
}

.syn-pmodal__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0;
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgb(27, 111, 216);
}

.syn-pmodal__eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgb(27, 111, 216);
}

.syn-pmodal__title {
  margin: 8px 0 0;
  font-family: var(--font-sans), sans-serif;
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--color-heading, #0d1117);
}

.syn-pmodal__subtitle {
  margin: 4px 0 0;
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted, #8a95a3);
}

.syn-pmodal__badge-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  min-height: 26px;
}

.syn-pmodal__badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-sans), sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 4px 10px;
  border-radius: 9999px;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--color-accent, #1b6fd8) 0%, var(--color-success, #14b87e) 100%);
  color: #fff;
  box-shadow: rgba(27, 111, 216, 0.3) 0px 2px 8px, rgba(255, 255, 255, 0.45) 0px 1px 0px inset;
}

.syn-pmodal__desc {
  margin: 16px 0 0;
  font-size: 14px;
  line-height: 1.625;
  color: var(--color-body, #4a5568);
}

.syn-pmodal__specs {
  margin-top: 24px;
  border-top: 1px solid rgba(13, 17, 23, 0.08);
}

.syn-pmodal__spec-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(13, 17, 23, 0.06);
}

.syn-pmodal__spec-row .k {
  font-family: var(--font-mono), monospace;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted, #8a95a3);
}

.syn-pmodal__spec-row .v {
  font-family: var(--font-sans), sans-serif;
  font-size: 13px;
  color: var(--color-heading, #0d1117);
}

.syn-pmodal__verify {
  margin-top: 24px;
  border-radius: 16px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: rgba(20, 184, 126, 0.06);
  border: 1px solid rgba(20, 184, 126, 0.18);
}

.syn-pmodal__verify svg {
  color: rgb(20, 184, 126);
  flex-shrink: 0;
  margin-top: 2px;
}

.syn-pmodal__verify-text p {
  margin: 0;
  font-family: var(--font-sans), sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-heading, #0d1117);
}

.syn-pmodal__verify-text a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 4px;
  font-family: var(--font-sans), sans-serif;
  font-size: 12px;
  color: rgb(20, 184, 126);
  text-decoration: none;
}

.syn-pmodal__verify-text a:hover {
  text-decoration: underline;
}

.syn-pmodal__actions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.syn-pmodal__contact,
.syn-pmodal__whatsapp {
  width: 100%;
  min-width: 0;
  min-height: 40px;
  padding: 10px 18px;
  border: 0;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans), sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  background: #1b6fd8;
  box-shadow: 0 4px 14px rgba(27, 111, 216, 0.3);
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.syn-pmodal__contact:hover {
  background: #155db8;
  box-shadow: 0 5px 16px rgba(27, 111, 216, 0.36);
}

.syn-pmodal__contact:active {
  transform: scale(0.98);
}

.syn-pmodal__whatsapp {
  gap: 7px;
  background: #25d366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.syn-pmodal__whatsapp:hover {
  background: #1fb958;
  box-shadow: 0 5px 16px rgba(37, 211, 102, 0.36);
}

.syn-pmodal__whatsapp:active {
  transform: scale(0.98);
}

.syn-pmodal__whatsapp[aria-disabled="true"] {
  opacity: 0.52;
  cursor: not-allowed;
  box-shadow: none;
}

.syn-pmodal__disclaimer {
  margin: 24px 0 0;
  font-family: var(--font-mono), monospace;
  font-size: 9px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-muted, #8a95a3);
}

@media (min-width: 768px) {
  .syn-pmodal {
    align-items: center;
  }

  .syn-pmodal__shell {
    width: 980px;
    max-width: 92vw;
    flex-direction: row;
    border-radius: 20px;
  }

  .syn-pmodal__grabber {
    display: none;
  }

  .syn-pmodal__visual {
    width: 54%;
    flex-shrink: 0;
    min-height: 0;
  }

  .syn-pmodal__seal {
    display: grid;
  }

  .syn-pmodal__content {
    padding: 32px;
  }
}

@media (max-width: 767px) {
  .syn-pmodal__visual {
    min-height: 300px;
  }

  .syn-pmodal__visual-main {
    padding: 24px 24px 88px;
  }

  .syn-pmodal__content {
    padding: 20px 22px 24px;
  }

  .syn-pmodal__title {
    font-size: 26px;
  }
}

/* ---------- 订阅弹窗 ---------- */
#signup-popup {
  opacity: 0;
  transition: opacity 220ms ease;
}

#signup-popup[hidden] {
  display: none;
}

#signup-popup.is-open {
  opacity: 1;
}

/* ---------- 独立验真页结果卡片（核验反馈界面） ---------- */
#verify-result-region {
  width: 100%;
}

#verify-result-region:empty {
  display: none;
}

[data-verify-zone] input.is-verified {
  border-color: var(--color-success, #14b87e) !important;
}

[data-verify-zone] input.is-warning {
  border-color: #bf7618 !important;
}

[data-verify-zone] input.is-error {
  border-color: var(--color-danger, #dc2626) !important;
}

.result {
  width: 100%;
  margin-top: 18px;
  padding: 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.92);
  animation: syn-result-in 350ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

.result--verified {
  border: 1.5px solid rgba(20, 184, 126, 0.3);
  box-shadow: 0 8px 32px rgba(20, 184, 126, 0.1);
}

.result--warning {
  border: 1.5px solid rgba(191, 118, 24, 0.32);
  box-shadow: 0 8px 32px rgba(191, 118, 24, 0.1);
}

.result--error {
  border: 1.5px solid rgba(220, 38, 38, 0.25);
  box-shadow: 0 8px 32px rgba(220, 38, 38, 0.08);
}

@keyframes syn-result-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.result__heading {
  margin-bottom: 24px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.result__icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  font-size: 17px;
  font-weight: 700;
}

.result__icon--verified {
  color: var(--color-success, #14b87e);
  border: 1px solid rgba(20, 184, 126, 0.25);
  background: rgba(20, 184, 126, 0.12);
}

.result__icon--warning {
  color: #bf7618;
  border: 1px solid rgba(191, 118, 24, 0.28);
  background: rgba(191, 118, 24, 0.1);
}

.result__icon--error {
  color: var(--color-danger, #dc2626);
  border: 1px solid rgba(220, 38, 38, 0.25);
  background: rgba(220, 38, 38, 0.1);
}

.result__eyebrow {
  margin: 0 0 4px;
  color: var(--color-success, #14b87e);
  font-family: var(--font-mono), monospace;
  font-size: 9px;
  line-height: 1.45;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.result--warning .result__eyebrow {
  color: #bf7618;
}

.result--error .result__eyebrow {
  color: var(--color-danger, #dc2626);
}

.result__title {
  margin: 0;
  color: var(--color-heading, #0d1117);
  font-family: var(--font-sans), sans-serif;
  font-size: 20px;
  line-height: 1.45;
  font-weight: 600;
}

.result__details {
  margin: 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  display: grid;
  gap: 16px;
}

.result__details div {
  display: grid;
  gap: 4px;
}

.result__details dt,
.counterfeit-note strong {
  color: var(--color-muted, #8a95a3);
  font-family: var(--font-mono), monospace;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.result__details dd {
  margin: 0;
  color: var(--color-heading, #0d1117);
  font-family: var(--font-mono), monospace;
  font-size: 12px;
  line-height: 1.6;
}

.result__details .result__note {
  color: var(--color-body, #4a5568);
  font-family: var(--font-sans), sans-serif;
}

.result__reset {
  margin-top: 24px;
  padding: 0;
  border: 0;
  color: var(--color-muted, #8a95a3);
  background: transparent;
  font-family: var(--font-mono), monospace;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  cursor: pointer;
}

.result__reset:hover {
  color: var(--color-body, #4a5568);
}

.result__error-copy {
  margin-bottom: 20px;
  color: var(--color-body, #4a5568);
  font-family: var(--font-sans), sans-serif;
  font-size: 13px;
  line-height: 1.65;
}

.result__error-copy p,
.counterfeit-note p {
  margin: 0;
}

.result__error-copy ul {
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.result__error-copy li::before {
  content: '•';
  margin-right: 9px;
  color: rgba(220, 38, 38, 0.55);
}

.counterfeit-note {
  padding: 14px 16px;
  border: 1px solid rgba(220, 38, 38, 0.17);
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.045);
  color: var(--color-body, #4a5568);
  font-family: var(--font-sans), sans-serif;
  font-size: 12px;
  line-height: 1.6;
}

.counterfeit-note strong {
  display: block;
  margin-bottom: 7px;
  color: rgba(220, 38, 38, 0.68);
}

.counterfeit-note a,
.counterfeit-note b {
  color: var(--color-accent, #1b6fd8);
  font-weight: 600;
}

@media (max-width: 520px) {
  .result {
    padding: 22px 18px;
    border-radius: 16px;
  }

  .result__heading {
    gap: 12px;
  }

  .result__title {
    font-size: 17px;
  }
}

/* ---------- toast ---------- */
.syn-toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 100;
  max-width: min(360px, calc(100vw - 32px));
  padding: 13px 16px;
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  background: rgba(7, 17, 31, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  box-shadow: 0 14px 40px rgba(7, 17, 31, 0.28);
  transform: translateY(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.syn-toast.is-visible {
  transform: translateY(0);
  opacity: 1;
}

@media (max-width: 767px) {
  .syn-toast {
    right: 16px;
    bottom: 16px;
  }
}

/* ---------- 移动端横向滚动卡片（产品区） ---------- */
#products div.md\:hidden.no-scrollbar > div > div[style*="width:78vw"],
#new-catalog div.md\:hidden.no-scrollbar > div > div[style*="width:78vw"] {
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.syn-sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}
