/* =========================================
   上海上诚磁力泵独立站 - 全局样式
   ========================================= */

:root {
  --color-primary: #1e40af;
  --color-primary-dark: #1e3a8a;
  --color-primary-light: #3b82f6;
  --color-accent: #dc2626;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-heading: #111827;
  --color-bg: #ffffff;
  --color-bg-alt: #f8fafc;
  --color-border: #e2e8f0;
  --color-card: #ffffff;
  --color-success: #059669;
  --color-warning: #d97706;
  --font-base: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 4px;
  --radius: 8px;
  --radius-lg: 12px;
  --max-width: 1280px;
  --section-py: 72px;
  --header-height: 72px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: var(--font-base);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--color-primary-dark);
}

h1, h2, h3, h4, h5, h6 {
  margin: 0 0 0.6em;
  line-height: 1.3;
  color: var(--color-heading);
  font-weight: 700;
}

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin: 0 0 1em;
}

ul, ol {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

li {
  margin-bottom: 0.35em;
}

/* 布局容器 */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-py) 0;
}

.section-alt {
  background: var(--color-bg-alt);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: 2rem;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--color-text-light);
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  color: #fff;
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

.btn-secondary:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
  border-color: var(--color-accent);
}

.btn-accent:hover {
  background: #b91c1c;
  border-color: #b91c1c;
  color: #fff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.1rem;
}

.btn:disabled,
.btn.disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* 头部 */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  color: var(--color-heading);
}

.site-logo {
  width: 130px;
  height: auto;
  max-height: 56px;
  object-fit: contain;
  display: block;
}

.main-nav {
  display: none;
}

.main-nav ul {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: var(--color-text);
  font-weight: 500;
  font-size: 0.95rem;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--color-primary);
}

.header-contact {
  display: none;
  align-items: center;
  gap: 16px;
}

.header-phone {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-primary);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: 0.3s;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: var(--header-height);
  left: 0;
  right: 0;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-lg);
}

.mobile-nav.active {
  display: block;
}

.mobile-nav ul {
  list-style: none;
  margin: 0;
  padding: 16px 20px;
}

.mobile-nav li {
  border-bottom: 1px solid var(--color-border);
}

.mobile-nav a {
  display: block;
  padding: 14px 0;
  color: var(--color-text);
  font-weight: 500;
}

/* 首页 Hero */
.hero {
  position: relative;
  background: linear-gradient(135deg, #f0f4ff 0%, #ffffff 100%);
  padding: 80px 0 96px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  gap: 48px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(30, 64, 175, 0.08);
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 2.25rem;
  line-height: 1.25;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-text-light);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 36px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.875rem;
  color: var(--color-text);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-image {
  max-height: 360px;
  width: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* 产品卡片 */
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.product-card {
  position: relative;
  background: var(--color-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.product-card-image {
  aspect-ratio: 4 / 3;
  background: var(--color-bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  border-bottom: 1px solid var(--color-border);
}

.product-card-image img {
  max-height: 180px;
  width: auto;
  object-fit: contain;
}

.product-card-body {
  padding: 24px;
}

.product-card-model {
  display: inline-block;
  padding: 3px 10px;
  background: rgba(30, 64, 175, 0.08);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 10px;
}

.product-card-title {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.product-card-desc {
  font-size: 0.95rem;
  color: var(--color-text-light);
  margin-bottom: 14px;
  line-height: 1.6;
}

.product-card-media {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 18px;
}

.product-card-media strong {
  color: var(--color-text);
}

/* 产品卡片整体可点击 */
.product-card {
  cursor: pointer;
}

.product-card-title a {
  text-decoration: none;
  color: inherit;
}

.product-card-title a:hover {
  color: var(--color-primary);
}

/* 快速选型 */
.selection-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.selection-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.selection-card h3 {
  font-size: 1.15rem;
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.selection-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.selection-tag {
  padding: 8px 14px;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  border-radius: 999px;
  font-size: 0.9rem;
  color: var(--color-text);
  transition: all 0.2s ease;
}

.selection-tag:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
}

/* 优势 */
.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.feature-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 28px;
}

.feature-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.feature-card p {
  color: var(--color-text-light);
  margin: 0;
  font-size: 0.95rem;
}

/* 行业 */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.industry-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px 12px;
  text-align: center;
  font-weight: 600;
  color: var(--color-text);
}

/* 表单 */
.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* 表格 */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

th, td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  white-space: nowrap;
}

th {
  background: var(--color-bg-alt);
  font-weight: 600;
  color: var(--color-heading);
}

tr:last-child td {
  border-bottom: none;
}

tr:nth-child(even) td {
  background: rgba(248, 250, 252, 0.5);
}

/* 产品详情 */
.product-hero {
  background: var(--color-bg-alt);
  padding: 48px 0;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--color-text-light);
}

.breadcrumb a:hover {
  color: var(--color-primary);
}

.product-hero-grid {
  display: grid;
  gap: 40px;
}

.product-hero-image {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-hero-image img {
  max-height: 320px;
  width: auto;
}

.product-hero-info h1 {
  font-size: 1.75rem;
  margin-bottom: 12px;
}

.product-hero-model {
  display: inline-block;
  padding: 4px 12px;
  background: rgba(30, 64, 175, 0.08);
  color: var(--color-primary);
  font-weight: 700;
  border-radius: 999px;
  margin-bottom: 16px;
}

.product-hero-desc {
  color: var(--color-text-light);
  margin-bottom: 24px;
}

.product-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.product-section {
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
}

.product-section:last-child {
  border-bottom: none;
}

.product-section h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-primary);
  display: inline-block;
}

.product-section h3 {
  font-size: 1.2rem;
  margin: 24px 0 12px;
}

.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin: 0 0 10px;
  color: var(--color-primary);
}

.faq-item p {
  margin: 0;
  color: var(--color-text-light);
}

/* 文章 */
.article-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: box-shadow 0.2s ease;
}

.article-card:hover {
  box-shadow: var(--shadow);
}

.article-card h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.article-card p {
  color: var(--color-text-light);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.article-card-meta {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

.article-content {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 0;
}

.article-content h2 {
  font-size: 1.5rem;
  margin-top: 32px;
}

.article-content p {
  margin-bottom: 1.2em;
}

/* 关于 / 联系 */
.info-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 24px;
}

.info-card h2 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-bottom: 18px;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(30, 64, 175, 0.08);
  color: var(--color-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.contact-text strong {
  display: block;
  margin-bottom: 2px;
}

.contact-text span,
.contact-text a {
  color: var(--color-text-light);
}

/* 页脚 */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  padding: 56px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-logo {
  width: 150px;
  height: auto;
  max-height: 60px;
  object-fit: contain;
  display: block;
  margin-bottom: 16px;
  background: #fff;
  padding: 8px 12px;
  border-radius: var(--radius);
}

.footer-col h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-col li {
  margin-bottom: 10px;
}

.footer-col a {
  color: #cbd5e1;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: center;
  font-size: 0.875rem;
  color: #94a3b8;
}

/* 移动端底部栏 */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid var(--color-border);
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.08);
  z-index: 999;
  display: flex;
}

.mobile-bottom-bar a {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px 0;
  font-size: 0.75rem;
  color: var(--color-text);
  border-right: 1px solid var(--color-border);
}

.mobile-bottom-bar a:last-child {
  border-right: none;
}

.mobile-bottom-bar a.accent {
  background: var(--color-primary);
  color: #fff;
}

/* 通用辅助 */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-0 { margin-bottom: 0; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* 平板 */
@media (min-width: 768px) {
  :root {
    --section-py: 88px;
  }

  h1 { font-size: 2.75rem; }
  h2 { font-size: 2rem; }

  .hero-title {
    font-size: 2.75rem;
  }

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

  .selection-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .industry-grid {
    grid-template-columns: repeat(4, 1fr);
  }

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

  .product-hero-grid {
    grid-template-columns: 1fr 1.2fr;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
  }
}

/* PC */
@media (min-width: 1024px) {
  h1 { font-size: 3rem; }

  .site-logo {
    width: 165px;
    max-height: 64px;
  }

  .main-nav,
  .header-contact {
    display: flex;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding: 110px 0 130px;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 1fr;
  }

  .hero-title {
    font-size: 3rem;
  }

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

  .feature-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .mobile-bottom-bar {
    display: none;
  }
}

/* 大屏 */
@media (min-width: 1280px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* ============================================================
   右侧悬浮在线客服组件（.scpv-float-wrap）
   - 固定右侧、随页面滚动保持悬浮
   - 默认窄条：仅显示“在线客服 / 客服电话”两个按钮
   - 鼠标悬停向左展开详情（在线客服面板 / 电话号码）
   - 移动端自动简化为右下角横向图标，不遮挡正文
   ============================================================ */
.scpv-float-wrap {
  position: fixed;
  right: 12px;
  top: 35%;
  z-index: 2147483000;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-family: -apple-system, BlinkMacSystemFont, "Microsoft YaHei", Arial, sans-serif;
  user-select: none;
}

.scpv-float-wrap a.scp-fi {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 60px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 6px rgba(0, 0, 0, .04);
  color: #6b7280;
  text-decoration: none;
  transition: color .15s, box-shadow .15s, transform .15s;
  position: relative;
}

.scpv-float-wrap a.scp-fi:hover {
  color: #2c5282;
  box-shadow: 0 4px 10px rgba(0, 0, 0, .08);
  transform: translateY(-1px);
}

.scpv-float-wrap a.scp-fi svg {
  width: 18px;
  height: 18px;
  display: block;
}

.scpv-float-wrap a.scp-fi span.scp-t {
  display: block;
  font-size: 11px;
  margin-top: 4px;
  line-height: 1.2;
}

/* 在线客服：鼠标悬停向左展开小型面板 */
.scpv-float-wrap .scp-chat .scp-panel {
  position: absolute;
  right: 56px;
  top: 0;
  width: 196px;
  background: #fff;
  border: 1px solid #e5e7eb;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .08);
  border-radius: 4px;
  padding: 12px 14px;
  text-align: left;
  opacity: 0;
  visibility: hidden;
  transform: translateX(6px);
  transition: opacity .18s, transform .18s, visibility .18s;
}

.scpv-float-wrap .scp-chat:hover .scp-panel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

.scpv-float-wrap .scp-panel-title {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: #1e3a5f;
  margin-bottom: 6px;
}

.scpv-float-wrap .scp-panel-desc {
  display: block;
  font-size: 12px;
  line-height: 1.6;
  color: #6b7280;
}

.scpv-float-wrap .scp-panel-link {
  display: block;
  margin-top: 8px;
  font-size: 12px;
  color: #2c5282;
}

/* 客服电话：鼠标悬停向左显示号码 */
.scpv-float-wrap .scp-phone .scp-num {
  position: absolute;
  right: 56px;
  top: 50%;
  transform: translateY(-50%);
  background: #f3f4f6;
  color: #1e3a5f;
  font-size: 16px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity .15s, transform .15s;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: .5px;
}

.scpv-float-wrap .scp-phone:hover .scp-num {
  opacity: 1;
  transform: translateY(-50%) translateX(-4px);
}

/* 窄屏适配 */
@media (min-width: 769px) and (max-width: 1100px) {
  .scpv-float-wrap {
    right: 6px;
  }

  .scpv-float-wrap a.scp-fi {
    width: 44px;
  }
}

/* 移动端：简化为右下角横向图标，不遮挡正文 */
@media (max-width: 768px) {
  .scpv-float-wrap {
    right: 6px;
    top: auto;
    bottom: 16px;
    flex-direction: row;
    gap: 6px;
  }

  .scpv-float-wrap a.scp-fi {
    width: 50px;
    height: 50px;
  }

  .scpv-float-wrap a.scp-fi svg {
    width: 20px;
    height: 20px;
  }

  .scpv-float-wrap a.scp-fi span.scp-t {
    font-size: 10px;
    margin-top: 2px;
  }

  .scpv-float-wrap .scp-phone .scp-num {
    display: none;
  }

  .scpv-float-wrap .scp-chat .scp-panel {
    display: none;
  }
}


/* ===== 技术文章分页 ===== */
.pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
}

.pagination .page-num,
.pagination .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: #fff;
  color: var(--color-text);
  font-size: 0.95rem;
  text-decoration: none;
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}

.pagination .page-num:hover,
.pagination .page-link:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.pagination .page-num.current {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #fff;
  font-weight: 700;
}
