:root {
  --primary: #235dff;
  --primary-deep: #1847cf;
  --primary-soft: #edf3ff;
  --text: #131f3a;
  --text-soft: #667089;
  --line: #e8eef8;
  --surface: #ffffff;
  --surface-alt: #f7faff;
  --footer: #111c32;
  --footer-line: rgba(255, 255, 255, 0.12);
  --shadow-lg: 0 24px 80px rgba(39, 77, 162, 0.12);
  --shadow-md: 0 14px 40px rgba(39, 77, 162, 0.1);
  --radius-xl: 12px;
  --radius-lg: 10px;
  --radius-md: 6px;
  --container: 1280px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: var(--font-sans-local);
  background:
    radial-gradient(circle at 10% 0%, rgba(35, 93, 255, 0.08), transparent 24%),
    radial-gradient(circle at 90% 0%, rgba(126, 112, 255, 0.08), transparent 26%),
    #ffffff;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(226, 233, 246, 0.85);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
}

.header-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  min-width: 48px;
  min-height: 48px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 12px;
  color: #ffffff;
  background: linear-gradient(145deg, #2e74ff 0%, #2fd0ff 100%);
  box-shadow: 0 10px 25px rgba(35, 93, 255, 0.28);
  font-size: 1.35rem;
}

.brand-copy {
  display: grid;
  gap: 3px;
}

.brand-copy strong {
  font-size: 1.08rem;
  line-height: 1;
}

.brand-copy small {
  color: var(--text-soft);
  font-size: 0.72rem;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 34px;
  flex: 1;
}

.site-nav a {
  position: relative;
  font-size: 0.96rem;
  font-weight: 500;
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--primary);
}

.site-nav a.active::after,
.site-nav a:hover::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -10px;
  height: 2px;
  border-radius: 999px;
  background: var(--primary);
}

.support-button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.support-button {
  min-height: 40px;
  padding: 0 18px;
  border: 0;
  outline: none;
  appearance: none;
  cursor: pointer;
  color: #ffffff;
  background: linear-gradient(135deg, #2b66ff 0%, #1d4dff 100%);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 18px rgba(35, 93, 255, 0.16);
}

.button {
  min-height: 40px;
  padding: 0 30px;
  border: 1px solid transparent;
  font-weight: 500;
}

.button:hover,
.support-button:hover {
  transform: translateY(-1px);
}

.button-primary {
  color: #ffffff;
  background: linear-gradient(135deg, #2b66ff 0%, #1d4dff 100%);
  box-shadow: 0 14px 30px rgba(35, 93, 255, 0.24);
}

.button-secondary {
  border-color: #cfd9ee;
  background: #ffffff;
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  margin-left: auto;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
}

.hero-section {
  padding: 44px 0 26px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: 28px;
  align-items: center;
}

.hero-copy {
  padding: 18px 0 8px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--text-soft);
  font-size: 1rem;
  font-weight: 500;
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.22;
  letter-spacing: -0.03em;
}

.hero-copy h1 span {
  color: var(--primary);
}

.hero-lead {
  margin: 24px 0 0;
  color: #4f5c77;
  font-size: 1rem;
  line-height: 1.85;
}

/* 首页单独收一档字号，避免首屏和首页卡片视觉过重。 */
body[data-page="home"] .hero-copy h1 {
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
}

body[data-page="home"] .hero-lead {
  font-size: 0.96rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 32px;
}

.hero-visual {
  position: relative;
  padding: 28px;
}

.hero-visual img {
  position: relative;
  z-index: 2;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}

.hero-glow {
  position: absolute;
  inset: 12px 0 auto auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(35, 93, 255, 0.18), transparent 70%);
  filter: blur(8px);
}

.search-panel {
  margin-top: 12px;
  padding: 16px 18px 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-md);
}

.search-box {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: center;
}

.search-box i {
  color: #a4afc6;
  font-size: 1.05rem;
}

.search-box input {
  min-width: 0;
  min-height: 54px;
  border: 0;
  outline: none;
  color: var(--text);
  background: transparent;
}

.hot-searches {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 14px;
  color: var(--text-soft);
  font-size: 0.94rem;
}

.hot-searches a {
  padding: 0;
  color: #3e4c69;
}

.category-section,
.product-section,
.dual-panel-section,
.article-section,
.brand-section {
  padding: 24px 0 34px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 16px;
}

.category-card,
.product-card,
.info-panel,
.article-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-md);
}

.category-card {
  padding: 24px 14px 20px;
  text-align: center;
}

.category-card > a {
  display: block;
  color: inherit;
}

.category-icon {
  display: inline-grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin-bottom: 16px;
  border-radius: 16px;
  font-size: 1.55rem;
}

.category-icon.blue { color: #3488ff; background: rgba(52, 136, 255, 0.1); }
.category-icon.purple { color: #7a57ff; background: rgba(122, 87, 255, 0.1); }
.category-icon.indigo { color: #3f5bff; background: rgba(63, 91, 255, 0.1); }
.category-icon.teal { color: #0cb090; background: rgba(12, 176, 144, 0.12); }
.category-icon.sky { color: #216dff; background: rgba(33, 109, 255, 0.08); }
.category-icon.primary { color: #1f60ff; background: rgba(31, 96, 255, 0.1); }
.category-icon.violet { color: #6a55ff; background: rgba(106, 85, 255, 0.1); }
.category-icon.cyan { color: #1c7fff; background: rgba(28, 127, 255, 0.08); }

.category-card h3,
.product-body h3,
.article-body h3,
.info-panel h2,
.brand-section h2,
.site-footer h3 {
  margin: 0;
  font-size: 1.02rem;
}

.product-body h3 a,
.article-body h3 a {
  color: inherit;
  text-decoration: none;
}

.category-card p {
  margin: 8px 0 0;
  color: var(--text-soft);
  font-size: 0.86rem;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.section-heading h2,
.brand-section h2 {
  font-size: clamp(1.6rem, 2.4vw, 2rem);
}

body[data-page="home"] .section-heading h2,
body[data-page="home"] .brand-section h2,
body[data-page="home"] .info-panel h2 {
  font-size: clamp(1.45rem, 2.1vw, 1.8rem);
}

.section-heading p {
  margin: 8px 0 0;
  color: var(--text-soft);
}

.section-heading.compact {
  margin-bottom: 18px;
}

.section-link,
.panel-link {
  color: var(--primary);
  font-weight: 700;
  white-space: nowrap;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.product-card {
  overflow: hidden;
}

.product-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-bottom: 1px solid #eff4fc;
}

.product-body {
  padding: 14px 14px 16px;
}

.product-body p {
  margin: 8px 0 0;
  min-height: 42px;
  color: var(--text-soft);
  font-size: 0.86rem;
  line-height: 1.6;
}

.product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.product-tags span,
.article-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}

.product-tags span:nth-child(1) {
  color: #698832;
  background: #f3f8d8;
}

.product-tags span:nth-child(2) {
  color: #2a74b1;
  background: #e8f4ff;
}

.product-footer {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.product-footer strong {
  color: #ff5a5a;
  font-size: 1.2rem;
}

.product-footer small {
  color: var(--text-soft);
  font-size: 0.8rem;
}

.product-footer div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.product-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  border: 1px solid #d7e3ff;
  border-radius: 10px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}

.alt-section {
  padding-top: 8px;
}

.dual-panel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.info-panel {
  padding: 26px 28px;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcff 100%);
}

.icon-link-grid,
.process-flow {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}

.icon-link-grid a,
.process-flow div {
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 8px 4px;
  text-align: center;
}

.icon-link-grid i,
.process-flow i {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  color: var(--primary);
  background: #edf3ff;
  font-size: 1.15rem;
}

.icon-link-grid span,
.process-flow span {
  font-size: 0.9rem;
  font-weight: 500;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.article-card {
  overflow: hidden;
}

.article-card > a {
  display: flex;
  height: 100%;
  flex-direction: column;
  color: inherit;
}

body[data-page="home"] .article-card {
  display: flex;
  flex-direction: column;
}

.article-card img {
  aspect-ratio: 4 / 2.3;
  object-fit: cover;
}

.article-body {
  padding: 16px 16px 18px;
}

body[data-page="home"] .article-body {
  display: flex;
  flex: 1;
  flex-direction: column;
}

.article-body h3 {
  margin-top: 12px;
  font-size: 1.1rem;
  line-height: 1.55;
}

body[data-page="home"] .product-body h3,
body[data-page="home"] .article-body h3,
body[data-page="home"] .category-card h3 {
  font-size: 1rem;
}

.article-body p {
  margin: 10px 0 0;
  color: var(--text-soft);
  line-height: 1.8;
}

.article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 14px;
  color: #8b97b0;
  font-size: 0.86rem;
}

body[data-page="home"] .article-meta {
  margin-top: auto;
  padding-top: 14px;
}

.article-badge.green { color: #3d7a28; background: #eaf6e3; }
.article-badge.blue { color: #2c6fe8; background: #e8f0ff; }
.article-badge.mint { color: #0e9075; background: #def7f0; }
.article-badge.purple { color: #6c59ef; background: #ece8ff; }

.brand-section {
  padding-bottom: 56px;
  text-align: center;
}

.brand-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
  margin-top: 28px;
}

.brand-list span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 54px;
  padding: 0 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #ffffff;
  color: #6b7287;
  font-weight: 700;
}

.friend-link-section {
  padding: 0 0 10px;
}

.friend-link-card {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
  padding: 24px;
  border: 1px solid #e5ecfb;
  border-radius: 24px;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  box-shadow: var(--shadow-md);
}

.friend-link-card a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid #d8e4ff;
  border-radius: 999px;
  color: #4d5a77;
  background: #ffffff;
  transition: transform 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.friend-link-card a:hover {
  color: var(--primary);
  border-color: #bcd0ff;
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(35, 93, 255, 0.12);
}

.site-footer {
  padding-top: 34px;
  color: rgba(255, 255, 255, 0.88);
  background:
    radial-gradient(circle at 20% 0%, rgba(42, 98, 255, 0.24), transparent 22%),
    linear-gradient(180deg, #152340 0%, #0f172a 100%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 0.92fr;
  gap: 24px;
  padding-bottom: 28px;
}

.footer-brand-mark .brand-copy small,
.site-footer ul,
.site-footer p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.92rem;
}

.contact-list,
.site-footer ul {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.contact-list li,
.site-footer li {
  margin-top: 12px;
  line-height: 1.8;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.social-links a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

/* 二维码区域使用规则网格模拟占位，方便后续替换成真实联系二维码。 */
.qr-card {
  width: 138px;
  padding: 10px;
  border-radius: 12px;
  background: #ffffff;
}

.qr-card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.qr-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 6px;
}

.qr-grid span {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 3px;
  background: #111827;
}

.qr-grid span:nth-child(2n) {
  background: #2f61ff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 0 30px;
  border-top: 1px solid var(--footer-line);
  font-size: 0.88rem;
}

.footer-bottom div {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom a,
.site-footer a:hover {
  color: #ffffff;
}

body.is-menu-open {
  overflow: hidden;
}

@media (max-width: 1280px) {
  .category-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .article-grid,
  .brand-list,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: 84px;
    left: 16px;
    right: 16px;
    display: none;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow-md);
  }

  .site-nav.is-open {
    display: grid;
  }

  .site-nav a {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .site-nav a.active::after,
  .site-nav a:hover::after {
    display: none;
  }

  .support-button {
    display: none;
  }

  .hero-grid,
  .dual-panel-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    padding: 10px 0 0;
  }

  .icon-link-grid,
  .process-flow {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 24px), var(--container));
  }

  .header-bar {
    min-height: 74px;
  }

  .hero-section {
    padding-top: 26px;
  }

  .search-box {
    grid-template-columns: 1fr;
  }

  .search-box i {
    display: none;
  }

  .search-box input {
    min-height: 48px;
    padding: 0 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #ffffff;
  }

  .category-grid,
  .article-grid,
  .brand-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-footer div {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  .brand-copy strong {
    font-size: 0.96rem;
  }

  .brand-copy small {
    font-size: 0.66rem;
  }

  .hero-copy h1 {
    font-size: 2rem;
  }

  .hero-lead {
    font-size: 1rem;
  }

  .hero-actions,
  .product-footer div,
  .footer-bottom div {
    width: 100%;
  }

  .button,
  .button-primary,
  .button-secondary,
  .support-button {
    width: 100%;
  }

  .category-grid,
  .icon-link-grid,
  .process-flow,
  .article-grid,
  .brand-list {
    grid-template-columns: 1fr;
  }

  .info-panel {
    padding: 22px 18px;
  }
}

.page-main {
  padding: 16px 0 32px;
}

.page-section {
  padding: 10px 0 40px;
}

.page-section-tight {
  padding-top: 6px;
}

.page-hero {
  padding: 18px 0 10px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.9fr);
  gap: 24px;
  align-items: end;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: #7b88a3;
  font-size: 0.92rem;
}

.page-hero h1 {
  margin: 18px 0 0;
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.page-hero p {
  margin: 12px 0 0;
  color: var(--text-soft);
  font-size: 0.98rem;
}

body[data-page="products"] .page-hero h1,
body[data-page="articles"] .page-hero h1,
body[data-page="services"] .page-hero h1,
body[data-page="about"] .page-hero h1,
body[data-page="contact"] .page-hero h1 {
  font-size: clamp(1.45rem, 2.2vw, 1.9rem);
}

body[data-page="products"] .page-hero p,
body[data-page="articles"] .page-hero p,
body[data-page="services"] .page-hero p,
body[data-page="about"] .page-hero p,
body[data-page="contact"] .page-hero p {
  font-size: 0.84rem;
}

.page-search {
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body[data-page="products"] .page-search,
body[data-page="articles"] .page-search {
  padding: 4px 4px 4px 14px;
  border: 1px solid #e3ebf8;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: none;
}

body[data-page="products"] .page-search input,
body[data-page="articles"] .page-search input {
  min-height: 38px;
  font-size: 0.94rem;
}

body[data-page="products"] .page-search .button,
body[data-page="articles"] .page-search .button {
  min-height: 36px;
  padding: 0 16px;
  border-radius: 10px;
  box-shadow: none;
  font-size: 0.92rem;
}

.filter-panel,
.content-card,
.sidebar-card,
.service-hero-card,
.value-strip {
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.filter-panel {
  padding: 24px 28px;
}

.filter-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
}

.filter-row + .filter-row {
  margin-top: 20px;
}

.filter-label {
  color: #3a4968;
  font-weight: 700;
  line-height: 1.2;
}

.chip-row,
.tag-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #35415d;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  line-height: 1.2;
  white-space: nowrap;
}

body[data-page="products"] .chip,
body[data-page="articles"] .chip {
  min-height: 38px;
  padding: 0 15px;
  font-size: 0.86rem;
}

body[data-page="articles"] .chip {
  min-height: 34px;
  padding: 0 13px;
}

.chip.active {
  color: #ffffff;
  background: linear-gradient(135deg, #2b66ff 0%, #1d4dff 100%);
  box-shadow: 0 12px 26px rgba(35, 93, 255, 0.18);
}

.chip-outline {
  border-color: #d7e3ff;
  background: #ffffff;
}

body[data-page="articles"] .chip.active,
body[data-page="articles"] .chip-outline {
  box-shadow: none;
}

.price-range {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.price-range input {
  width: 132px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid #d7e3ff;
  border-radius: 8px;
  outline: none;
  line-height: 42px;
}

.listing-toolbar,
.sidebar-title-row,
.post-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.listing-toolbar {
  margin: 26px 0 20px;
}

body[data-page="products"] .listing-toolbar,
body[data-page="articles"] .listing-toolbar {
  font-size: 0.92rem;
}

.listing-toolbar p {
  margin: 0;
  color: var(--text-soft);
}

.listing-toolbar strong {
  color: #ff4d4f;
}

.toolbar-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.view-toggle,
.pagination {
  display: flex;
  align-items: center;
  gap: 10px;
}

.view-toggle {
  padding: 6px;
  border: 1px solid #dbe6fb;
  border-radius: 10px;
  background: #ffffff;
}

.view-toggle button,
.pagination button,
.pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  min-width: 40px;
  padding: 0 14px;
  border: 1px solid #d7e3ff;
  border-radius: 8px;
  color: #5d6a86;
  background: #ffffff;
}

.view-toggle button.active,
.pagination a.active {
  color: var(--primary);
  border-color: #bfd2ff;
  background: #eff5ff;
}

.compact-pagination span {
  min-width: 56px;
  text-align: center;
  color: #5d6a86;
  font-weight: 700;
}

.page-pagination {
  justify-content: center;
  margin-top: 28px;
  flex-wrap: wrap;
}

.page-pagination .page-status,
.page-pagination .page-index,
.page-pagination .page-pre,
.page-pagination .page-numbar,
.page-pagination .page-next,
.page-pagination .page-last {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.page-pagination .page-status {
  min-height: 40px;
  padding: 0 4px;
  color: #5d6a86;
  font-weight: 700;
}

.page-pagination .page-numbar {
  gap: 8px;
}

.page-pagination .page-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid #d7e3ff;
  border-radius: 8px;
  color: #5d6a86;
  background: #ffffff;
}

.page-pagination .page-num-current {
  color: var(--primary);
  border-color: #bfd2ff;
  background: #eff5ff;
}

.product-grid-page {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.detail-grid,
.article-layout,
.post-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 292px;
  gap: 24px;
  align-items: start;
  margin-top: 14px;
}

.detail-main,
.post-detail-main {
  display: grid;
  gap: 20px;
}

.detail-hero-card {
  display: grid;
  grid-template-columns: minmax(360px, 0.92fr) minmax(0, 1fr);
  gap: 24px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.detail-gallery > img,
.post-hero-image,
.post-inline-image {
  border-radius: 12px;
}

.detail-thumbs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.detail-thumbs button {
  padding: 6px;
  border: 1px solid #dde8fb;
  border-radius: 8px;
  background: #ffffff;
}

.detail-thumbs button.active {
  border-color: #7ea7ff;
  box-shadow: 0 10px 22px rgba(35, 93, 255, 0.16);
}

.detail-summary h1,
.post-header h1 {
  margin: 0;
  font-size: clamp(1.75rem, 2.4vw, 1.7rem);
}

.detail-summary h1 small {
  margin-left: 8px;
  color: #7d8cab;
  font-size: 1rem;
  font-weight: 500;
}

.detail-summary p,
.post-header p,
.content-rich p,
.service-card p,
.service-timeline p,
.service-hero-copy p {
  color: var(--text-soft);
  line-height: 1.95;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.tag.warm { color: #ff6038; background: #fff1eb; }
.tag.orange { color: #ff8a00; background: #fff5e6; }
.tag.blue { color: #2b66ff; background: #edf3ff; }
.tag.green { color: #119b73; background: #e7fbf5; }
.tag.light { color: #4b67b2; background: #f1f5ff; }

body[data-page="products"] .detail-summary .product-highlight-tags {
  gap: 10px;
  margin-top: 10px;
}

body[data-page="products"] .detail-summary .product-highlight-tags .tag {
  min-height: 34px;
  padding: 0 14px;
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 999px;
}

.detail-price,
.sidebar-price {
  margin-top: 2px;
  color: #ff3f45;
  font-size: 1.85rem;
  font-weight: 800;
}

.detail-price small,
.sidebar-price small {
  color: var(--text-soft);
  font-size: 1rem;
}

.spec-list,
.price-list,
.contact-mini-list,
.mini-product-list,
.mini-article-list,
.ranking-list,
.author-stats,
.service-pill-grid,
.service-card-grid,
.service-timeline,
.case-card-grid {
  padding: 0;
  margin: 0;
  list-style: none;
}

.spec-list {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  color: #55627c;
}

.spec-list li,
.price-list li,
.contact-mini-list li {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sidebar-contact-qr {
  margin-top: 16px;
  padding: 10px;
  border-radius: 14px;
  background: #f3f7ff;
}

.sidebar-contact-qr img {
  display: block;
  width: 100%;
  max-width: 180px;
  height: auto;
  margin: 0 auto;
  border-radius: 12px;
}

.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.button-ghost {
  border-color: #dbe6fb;
  background: #ffffff;
  color: var(--text);
}

.tabs {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef3fc;
}

.tabs button {
  min-height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 10px;
  color: #62708b;
  background: transparent;
}

.tabs button.active {
  color: var(--primary);
  background: #eef4ff;
  font-weight: 700;
}

.tab-panel {
  padding-top: 22px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.feature-grid article,
.service-card,
.case-card-grid article,
.content-note {
  border: 1px solid #ebf1fb;
  border-radius: 12px;
  background: linear-gradient(180deg, #ffffff 0%, #fafcff 100%);
}

.feature-grid article {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.feature-grid i {
  color: var(--primary);
  font-size: 1.2rem;
}

.detail-case-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sidebar-stack {
  display: grid;
  align-content: start;
  gap: 28px;
}

/* 详情页右栏在视觉稿里更松，单独拉开模块层级，避免小栏位显得拥挤。 */
.detail-sidebar,
.post-detail-sidebar {
  display: grid;
  align-content: start;
  gap: 22px;
}

.sidebar-card {
  display: grid;
  gap: 18px;
  padding: 24px 22px;
}

.sidebar-card h3 {
  font-size: 1.2rem;
  margin: 0;
}

body[data-page="products"] .sidebar-card h3,
body[data-page="articles"] .sidebar-card h3 {
  font-size: 1.08rem;
}

body[data-page="product-detail"] .detail-summary h1,
body[data-page="product-detail"] .sidebar-card h3 {
  font-size: 1.12rem;
}

body[data-page="product-detail"] .detail-summary h1 {
  line-height: 1.45;
}

body[data-page="product-detail"] .detail-summary h1 small {
  font-size: 0.88rem;
}

body[data-page="product-detail"] .detail-summary p,
body[data-page="product-detail"] .spec-list li,
body[data-page="product-detail"] .price-list li,
body[data-page="product-detail"] .contact-mini-list li {
  font-size: 0.9rem;
}

body[data-page="product-detail"] .detail-price,
body[data-page="product-detail"] .sidebar-price {
  font-size: 1.55rem;
}

body[data-page="product-detail"] .detail-price small,
body[data-page="product-detail"] .sidebar-price small {
  font-size: 0.88rem;
}

body[data-page="product-detail"] .detail-actions .button,
body[data-page="product-detail"] .sidebar-card .button {
  min-height: 36px;
  padding: 0 14px;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 600;
}

body[data-page="product-detail"] .detail-actions {
  gap: 10px;
}

body[data-page="product-detail"] .detail-actions .button {
  min-width: 112px;
}

body[data-page="product-detail"] .detail-actions .button-primary,
body[data-page="product-detail"] .sidebar-card .button-primary {
  box-shadow: 0 8px 16px rgba(35, 93, 255, 0.12);
}

body[data-page="product-detail"] .detail-actions .button-secondary,
body[data-page="product-detail"] .sidebar-card .button-secondary,
body[data-page="product-detail"] .detail-actions .button-ghost {
  border-color: #d9e3f5;
}

body[data-page="product-detail"] .detail-actions .button-ghost {
  min-width: 98px;
  color: #5a6784;
}

body[data-page="product-detail"] .detail-actions .button-ghost {
  gap: 8px;
}

body[data-page="product-detail"] .detail-actions .button-ghost i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  line-height: 1;
  transform: translateY(0);
}

.sidebar-card .button {
  width: 100%;
}

.detail-sidebar .sidebar-card,
.post-detail-sidebar .sidebar-card {
  gap: 20px;
}

.price-list,
.contact-mini-list {
  display: grid;
  gap: 12px;
  color: #55627c;
}

.qr-card-wide {
  width: 100%;
}

.mini-product-list,
.mini-article-list,
.ranking-list {
  display: grid;
  gap: 14px;
}

.mini-product,
.mini-article,
.ranking-list a {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 12px;
  align-items: center;
}

.mini-product img,
.mini-article img {
  border-radius: 12px;
}

.mini-product strong,
.mini-article strong,
.ranking-list strong {
  display: block;
  line-height: 1.6;
}

.mini-product span,
.mini-article span,
.ranking-list small {
  color: #ff4d4f;
  font-weight: 700;
}

.ranking-list a {
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
}

.ranking-list strong {
  line-height: 1.75;
}

.ranking-list small {
  display: block;
  margin-top: 4px;
}

/* 文章详情右栏改成纯标题列表，减少窄侧栏里的横向挤压。 */
.mini-article-list-compact .mini-article {
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
}

.mini-article-list-compact .mini-article strong {
  font-size: 0.88rem;
  line-height: 1.75;
}

.mini-article-list-compact .mini-article span {
  font-size: 0.8rem;
  font-weight: 600;
}

.post-prev-next {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.post-prev-next article {
  min-width: 0;
}

.post-prev-next strong {
  display: block;
  color: #5d6a86;
  font-size: 0.82rem;
  font-weight: 700;
}

.post-prev-next span {
  display: block;
  margin-top: 8px;
  color: var(--text-soft);
  font-size: 0.9rem;
  line-height: 1.7;
}

.post-prev-next a {
  color: inherit;
  text-decoration: none;
}

.content-card {
  padding: 24px 28px;
}

.case-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.case-card-grid article {
  padding: 22px 18px;
  text-align: center;
}

.case-card-grid span {
  display: block;
  margin-top: 10px;
  color: var(--text-soft);
}

.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 12px;
}

.faq-list details {
  border: 1px solid #ebf1fb;
  border-radius: 12px;
  padding: 18px 20px;
}

.faq-list summary {
  cursor: pointer;
  font-weight: 700;
}

.faq-list p {
  margin: 14px 0 0;
  color: var(--text-soft);
  line-height: 1.85;
}

.category-pills {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

body[data-page="articles"] .category-pills {
  gap: 10px;
}

.article-main-list {
  display: grid;
  align-content: start;
  gap: 18px;
}

.article-list-card {
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: 18px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.article-list-card img {
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.article-list-content {
  display: grid;
  align-content: center;
  gap: 10px;
}

.article-list-content h2 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.4;
}

.article-list-content h2 a {
  color: inherit;
  text-decoration: none;
}

body[data-page="articles"] .article-list-content h2 {
  font-size: 1.35rem;
}

.article-list-content .article-badge {
  justify-self: start;
}

.article-list-content p {
  margin: 0;
  color: var(--text-soft);
  line-height: 1.85;
}

body[data-page="products"] .product-body h3 {
  font-size: 0.96rem;
}

body[data-page="articles"] .ranking-list strong {
  font-size: 0.96rem;
  line-height: 1.65;
}

.muted span,
.muted a {
  color: #6f7b94;
  background: #f5f7fb;
  text-decoration: none;
}

.rank {
  display: inline-grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  color: #ffffff;
  background: linear-gradient(135deg, #ff6b6b 0%, #ff9b52 100%);
  font-weight: 700;
  margin-top: 2px;
}

.ranking-list a:nth-child(n + 3) .rank {
  background: linear-gradient(135deg, #8d9bbb 0%, #c4cfdf 100%);
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.tag-cloud span,
.tag-cloud a {
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  color: #64708a;
  background: #f5f7fb;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

body[data-page="articles"] .tag-cloud span,
body[data-page="articles"] .tag-cloud a {
  min-height: 30px;
  padding: 0 10px;
  font-size: 0.82rem;
}

.post-header {
  display: grid;
  gap: 12px;
}

.post-header .article-badge {
  justify-self: start;
}

.article-meta-strong {
  color: #55627c;
  font-weight: 500;
}

.article-meta-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

.post-hero-image {
  width: 100%;
  margin-top: 18px;
}

.content-rich {
  display: grid;
  gap: 22px;
  margin-top: 22px;
}

.content-rich h2 {
  margin: 0;
  font-size: 1.6rem;
}

.content-note {
  padding: 20px 22px;
}

.content-note ul {
  margin: 0;
  padding-left: 20px;
  color: #44536f;
  line-height: 2;
}

.post-inline-image {
  margin-top: 8px;
}

.code-block {
  margin: 0;
  padding: 18px 20px;
  overflow: auto;
  border-radius: 12px;
  color: #dde8ff;
  background: #0f1f3b;
}

.author-card p {
  margin: 0;
}

.author-profile {
  display: flex;
  align-items: center;
  gap: 14px;
}

.author-profile img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
  flex-shrink: 0;
}

.author-profile strong {
  display: block;
  font-size: 1.2rem;
}

.author-profile span {
  color: var(--text-soft);
}

.author-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.author-stats div {
  text-align: center;
}

.author-stats strong {
  display: block;
  font-size: 1.15rem;
}

.author-stats span {
  color: var(--text-soft);
}

.toc-card ol {
  display: grid;
  gap: 16px;
  padding-left: 20px;
  margin: 0;
}

.toc-card li.active {
  color: var(--primary);
  font-weight: 700;
}

.service-hero-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 28px;
  padding: 26px 28px;
  align-items: center;
}

.service-hero-card img {
  border-radius: 12px;
}

.service-hero-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 2.6vw, 2.4rem);
}

.service-pill-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 24px;
}

.service-pill-grid article {
  display: grid;
  gap: 8px;
}

.service-pill-grid i,
.service-card i,
.service-timeline i,
.value-strip i {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: var(--primary);
  background: #edf3ff;
  font-size: 1.3rem;
}

.centered-heading {
  justify-content: center;
  text-align: center;
}

.service-section-block {
  margin-top: 34px;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 14px;
  padding: 28px 18px;
}

body[data-page="services"] .service-card {
  justify-items: center;
  align-content: start;
  text-align: center;
  gap: 12px;
  padding: 24px 16px;
}

body[data-page="services"] .service-card h3 {
  font-size: 1.02rem;
}

body[data-page="services"] .service-card p {
  font-size: 0.92rem;
  line-height: 1.8;
}

.service-card a {
  color: var(--primary);
  font-weight: 700;
}

.service-timeline {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}

.service-timeline article {
  padding: 22px 18px;
  border: 1px solid #ebf1fb;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.service-timeline strong {
  display: block;
  margin-top: 14px;
  font-size: 1rem;
}

body[data-page="services"] .service-timeline article {
  text-align: center;
}

.value-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 30px;
}

.value-strip article {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 26px 20px;
}

.value-strip article + article {
  border-left: 1px solid #edf3ff;
}

.value-strip strong {
  display: block;
  font-size: 1rem;
}

.value-strip span {
  color: var(--text-soft);
  line-height: 1.7;
}

@media (max-width: 1280px) {
  .product-grid-page,
  .service-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .detail-grid,
  .article-layout,
  .post-detail-layout,
  .service-hero-card {
    grid-template-columns: 1fr;
  }

  .value-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .value-strip article:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 980px) {
  .page-hero-grid,
  .detail-hero-card,
  .filter-row,
  .article-list-card,
  .service-timeline,
  .service-pill-grid,
  .feature-grid,
  .detail-case-grid,
  .case-card-grid {
    grid-template-columns: 1fr;
  }

  .filter-label {
    padding-top: 0;
  }

  .product-grid-page,
  .service-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-list-card img {
    min-height: 220px;
  }
}

@media (max-width: 760px) {
  .filter-panel,
  .content-card,
  .sidebar-card,
  .service-hero-card {
    padding: 20px 18px;
  }

  .toolbar-actions,
  .listing-toolbar,
  .sidebar-title-row,
  .post-title-row,
  .detail-actions {
    flex-direction: column;
    align-items: flex-start;
  }

  .view-toggle,
  .pagination,
  .price-range,
  .author-stats {
    width: 100%;
  }

  .page-pagination {
    justify-content: flex-start;
    gap: 8px;
  }

  .page-pagination .page-status {
    width: 100%;
    min-height: auto;
    padding: 0;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .page-pagination .page-index,
  .page-pagination .page-pre,
  .page-pagination .page-numbar,
  .page-pagination .page-next,
  .page-pagination .page-last {
    gap: 8px;
  }

  .page-pagination a,
  .page-pagination .page-num {
    min-width: 36px;
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.9rem;
  }

  .product-grid-page,
  .service-card-grid,
  .value-strip,
  .author-stats {
    grid-template-columns: 1fr;
  }

  .value-strip article + article {
    border-left: 0;
    border-top: 1px solid #edf3ff;
  }
}

body.is-modal-open {
  overflow: hidden;
}

.purchase-modal[hidden] {
  display: none !important;
}

.favorite-modal[hidden] {
  display: none !important;
}

.purchase-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.favorite-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
}

.purchase-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.48);
  backdrop-filter: blur(8px);
}

.favorite-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.42);
  backdrop-filter: blur(6px);
}

.purchase-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px;
  border: 1px solid #dbe4f5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 42px rgba(15, 23, 42, 0.16);
}

.favorite-modal-dialog {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  padding: 24px 22px 22px;
  border: 1px solid #dbe4f5;
  border-radius: 18px;
  background: #ffffff;
  box-shadow: 0 24px 42px rgba(15, 23, 42, 0.16);
}

.favorite-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid #dbe4f5;
  border-radius: 10px;
  background: #ffffff;
  color: #22314f;
  font-size: 0.88rem;
}

.favorite-modal-eyebrow {
  margin: 0;
  color: #6f7b94;
  font-size: 0.9rem;
  font-weight: 700;
}

.favorite-modal-dialog h3 {
  margin: 10px 0 0;
  font-size: 1.3rem;
  line-height: 1.35;
}

.favorite-modal-lead {
  margin: 12px 0 0;
  color: #69758f;
  line-height: 1.8;
}

.favorite-modal-shortcut {
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  color: #21409a;
  background: #eef4ff;
  font-weight: 700;
}

.purchase-modal-header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
}

.purchase-modal-eyebrow {
  margin: 0;
  color: #6f7b94;
  font-size: 0.96rem;
  font-weight: 700;
}

.purchase-modal-header h2 {
  margin: 10px 0 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.25;
}

.purchase-modal-lead {
  max-width: 620px;
  margin: 14px 0 0;
  color: #69758f;
  font-size: 0.92rem;
  line-height: 1.8;
}

.purchase-modal-close {
  min-width: 52px;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid #dbe4f5;
  border-radius: 14px;
  color: #22314f;
  background: #ffffff;
  font-size: 0.94rem;
}

.purchase-contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 22px;
}

.purchase-contact-card {
  display: flex;
  align-items: start;
  gap: 12px;
  padding: 18px 16px;
  border: 1px solid #dfe6f6;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: var(--shadow-md);
}

.purchase-contact-card i {
  color: #4a5f88;
  font-size: 1.35rem;
}

.purchase-contact-card strong {
  display: block;
  font-size: 0.96rem;
}

.purchase-contact-card span,
.purchase-contact-card small {
  display: block;
  margin-top: 6px;
  color: #73809a;
  font-size: 0.9rem;
}

.purchase-contact-card-qr {
  justify-content: space-between;
}

.purchase-contact-card-qr img {
  width: 88px;
  height: 88px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.purchase-form {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid #dfe6f6;
  border-radius: 14px;
  background: linear-gradient(180deg, #f5f8ff 0%, #eef3ff 100%);
}

.purchase-form-page {
  margin-top: 24px;
}

.purchase-form-head h3 {
  margin: 0;
  font-size: 1.08rem;
}

.purchase-form-head p {
  margin: 8px 0 0;
  color: #73809a;
  font-size: 0.9rem;
}

.purchase-form label {
  display: grid;
  gap: 10px;
}

.purchase-form label span {
  font-weight: 700;
  font-size: 0.92rem;
}

.purchase-form input,
.purchase-form textarea {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid #d7e1f3;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.88);
  color: #1f2d49;
  font: inherit;
  box-sizing: border-box;
}

.purchase-form textarea {
  min-height: 108px;
  padding: 14px;
  resize: vertical;
}

.purchase-submit {
  width: 100%;
  min-height: 42px;
  font-size: 0.92rem;
}

@media (max-width: 760px) {
  .purchase-modal {
    padding: 12px;
  }

  .purchase-modal-dialog {
    padding: 16px;
    border-radius: 16px;
  }

  .purchase-modal-header,
  .purchase-contact-grid {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .purchase-modal-close {
    min-width: 0;
    width: 100%;
    min-height: 44px;
    border-radius: 12px;
  }
}
