/* ===== 北京莱汪宇科技有限公司 - 静态站点全局样式 ===== */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --ink: #0f172a;
  --ink-2: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --line-2: #cbd5e1;
  --bg: #f8fafc;
  --bg-2: #f1f5f9;
  --card: #ffffff;
  --success: #16a34a;
  --warning: #d97706;
  --danger: #dc2626;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.12);
  --max-width: 1240px;
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: "HarmonyOS Sans", "Noto Sans SC", "Microsoft YaHei", "PingFang SC", Arial, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  letter-spacing: .01em;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
ul, ol { list-style: none; }

/* ===== Top Bar ===== */
.top-bar {
  background: var(--ink);
  color: #cbd5e1;
  font-size: 13px;
  height: 36px;
}
.top-bar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.top-bar a { color: var(--primary); }
.top-bar a:hover { text-decoration: underline; }
.top-bar-left { display: flex; align-items: center; gap: 16px; }
.top-bar-right { display: flex; align-items: center; gap: 16px; }

/* ===== Header / Nav ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.main-nav {
  max-width: var(--max-width);
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  padding: 0 24px;
  gap: 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
  color: var(--ink);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-text strong { font-size: 18px; }
.brand-text small { font-size: 11px; color: var(--muted); font-weight: 400; }
.nav-links {
  display: flex;
  gap: 4px;
  flex: 1;
  font-weight: 600;
  font-size: 15px;
}
.nav-links a {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  color: var(--ink-2);
  transition: all .2s;
}
.nav-links a:hover { color: var(--primary); background: var(--primary-light); }
.nav-links a.active { color: var(--primary); background: var(--primary-light); }
.nav-shop-btn {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--primary);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all .2s;
  white-space: nowrap;
}
.nav-shop-btn:hover { background: var(--primary-dark); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 8px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 10px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--line);
  padding: 12px 24px 20px;
  gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-weight: 500;
  color: var(--ink-2);
}
.mobile-menu a:hover, .mobile-menu a.active { background: var(--primary-light); color: var(--primary); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  font-weight: 600;
  font-size: 15px;
  transition: all .2s;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); box-shadow: 0 4px 12px rgba(37,99,235,.3); }
.btn-outline { background: transparent; color: var(--primary); border: 2px solid var(--primary); }
.btn-outline:hover { background: var(--primary-light); }
.btn-ghost { background: var(--bg-2); color: var(--ink); }
.btn-ghost:hover { background: #e2e8f0; }
.btn-lg { padding: 14px 28px; font-size: 16px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* ===== Hero (资讯首页) ===== */
.hero {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 64px 24px;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.hero-eyebrow {
  color: #60a5fa;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero h1 { font-size: 40px; line-height: 1.2; margin: 16px 0 16px; max-width: 600px; }
.hero h1 .hl { color: #60a5fa; }
.hero-lead { color: #cbd5e1; font-size: 16px; line-height: 1.8; max-width: 560px; }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.hero-actions .btn-primary { background: var(--primary); }
.hero-actions .btn-outline { border-color: rgba(255,255,255,.4); color: #fff; }
.hero-actions .btn-outline:hover { background: rgba(255,255,255,.1); }

/* Hero card */
.hero-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 28px;
  width: 320px;
  backdrop-filter: blur(8px);
}
.hero-card h3 { font-size: 15px; color: #93c5fd; margin-bottom: 16px; font-weight: 600; }
.hero-card-item { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: 14px; }
.hero-card-item:last-child { border-bottom: 0; }
.hero-card-item span:first-child { color: #cbd5e1; }
.hero-card-item span:last-child { color: #fff; font-weight: 600; }

/* ===== Section ===== */
.section { padding: 56px 24px; max-width: var(--max-width); margin: 0 auto; }
.section.bg-light { background: #fff; max-width: none; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-left: 24px; padding-right: 24px; }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: 28px; margin-bottom: 8px; }
.section-head p { color: var(--muted); font-size: 15px; }
.eyebrow { color: var(--primary); font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase; }

/* ===== Category Filter ===== */
.cat-filter {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 28px;
}
.cat-pill {
  padding: 8px 18px;
  border: 1.5px solid var(--line);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  background: #fff;
  cursor: pointer;
  transition: all .2s;
  white-space: nowrap;
}
.cat-pill:hover { border-color: var(--primary); color: var(--primary); }
.cat-pill.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ===== News Card Grid (资讯) ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.news-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.news-card .tag {
  display: inline-flex;
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  width: fit-content;
}
.news-card h3 {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .summary {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  font-size: 12px;
  color: var(--muted);
}
.news-card .price-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: #fef2f2;
  color: var(--danger);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
}

/* ===== QR Payment Modal ===== */
.qr-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.qr-overlay.show { display: flex; }
.qr-modal {
  background: #fff;
  border-radius: var(--radius);
  padding: 28px 24px 20px;
  width: 100%;
  max-width: 250px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  animation: qrPop .25s ease;
}
@keyframes qrPop { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.qr-modal .qr-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.qr-modal .qr-price {
  font-size: 24px;
  font-weight: 800;
  color: var(--danger);
  margin-bottom: 14px;
}
.qr-modal .qr-img {
  width: 140px;
  height: 140px;
  margin: 0 auto 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  object-fit: cover;
}
.qr-modal .qr-hint {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 16px;
  line-height: 1.5;
}
.qr-modal .qr-btn-cancel {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--line);
  background: var(--bg-2);
  color: var(--ink-2);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.qr-modal .qr-btn-cancel:hover { background: #e2e8f0; }

/* ===== Shop Hero ===== */
.shop-hero {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #fff;
  padding: 56px 24px;
  text-align: center;
}
.shop-hero h1 { font-size: 38px; font-weight: 800; margin-bottom: 10px; }
.shop-hero p { font-size: 16px; color: rgba(255,255,255,.85); }

/* ===== Shop Stats Bar ===== */
.shop-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.shop-stat-item {
  text-align: center;
  padding: 24px 16px;
  position: relative;
}
.shop-stat-item + .shop-stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 20%;
  height: 60%; width: 1px;
  background: var(--line);
}
.shop-stat-item .label { font-size: 14px; color: var(--muted); font-weight: 500; }

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.product-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .25s, box-shadow .25s;
  display: flex;
  flex-direction: column;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.product-card .pc-img-wrap { overflow: hidden; height: 200px; background: var(--bg); }
.product-card .pc-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.product-card:hover .pc-img-wrap img { transform: scale(1.06); }
.product-card .pc-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-card .pc-tag {
  display: inline-flex;
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  width: fit-content;
}
.product-card .pc-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .pc-price { font-size: 20px; font-weight: 800; color: var(--danger); }
.product-card .pc-merchant { font-size: 12px; color: var(--muted); }
.product-card .pc-actions {
  margin-top: auto;
  display: flex;
  gap: 8px;
}
.product-card .pc-btn-cart, .product-card .pc-btn-buy {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: none;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
}
.product-card .pc-btn-cart {
  background: var(--bg-2);
  color: var(--ink);
}
.product-card .pc-btn-cart:hover { background: #e2e8f0; }
.product-card .pc-btn-buy {
  background: var(--primary);
  color: #fff;
}
.product-card .pc-btn-buy:hover { background: var(--primary-dark); }

/* ===== Merchant Section ===== */
.merchant-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.merchant-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow .25s;
}
.merchant-card:hover { box-shadow: var(--shadow-md); }
.merchant-card h3 { font-size: 17px; font-weight: 700; margin-bottom: 6px; }
.merchant-card .m-city { font-size: 13px; color: var(--primary); font-weight: 600; margin-bottom: 12px; }
.merchant-card .m-profile { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }
.merchant-card .m-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.merchant-card .m-tag {
  background: var(--primary-light);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.merchant-card .m-contact { font-size: 13px; color: var(--ink-2); margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); }

/* ===== Cart Drawer ===== */
.cart-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  z-index: 200;
}
.cart-overlay.show { display: block; }
.cart-drawer {
  position: fixed;
  top: 0; right: 0;
  width: 400px;
  max-width: 100%;
  height: 100%;
  background: #fff;
  z-index: 201;
  transform: translateX(100%);
  transition: transform .3s;
  display: flex;
  flex-direction: column;
}
.cart-drawer.show { transform: translateX(0); }
.cart-header {
  padding: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cart-header h2 { font-size: 18px; font-weight: 700; }
.cart-close { background: none; border: none; font-size: 24px; color: var(--muted); cursor: pointer; }
.cart-body { flex: 1; overflow-y: auto; padding: 16px 20px; }
.cart-item {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.cart-item img { width: 64px; height: 48px; object-fit: cover; border-radius: 6px; background: var(--bg); }
.cart-item .ci-title { font-size: 14px; font-weight: 600; line-height: 1.4; }
.cart-item .ci-price { font-size: 14px; color: var(--danger); font-weight: 700; }
.cart-item .ci-remove { font-size: 12px; color: var(--danger); cursor: pointer; }
.cart-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.cart-footer { padding: 20px; border-top: 1px solid var(--line); }
.cart-total { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.cart-total span:last-child { font-size: 22px; font-weight: 800; color: var(--danger); }
.cart-footer .btn { width: 100%; }

/* ===== Footer ===== */
.site-footer {
  background: var(--ink);
  color: #94a3b8;
  padding: 48px 24px 24px;
  margin-top: auto;
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px;
  margin-bottom: 32px;
}
.footer-col h4 { color: #e2e8f0; font-size: 15px; font-weight: 600; margin-bottom: 14px; }
.footer-col p { font-size: 13px; line-height: 1.7; margin-bottom: 4px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: #94a3b8; transition: color .2s; }
.footer-col ul li a:hover { color: #fff; }
.footer-col strong { color: #fff; font-size: 16px; display: block; margin-bottom: 8px; }
.footer-admin-btn {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  margin-top: 8px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}
.footer-bottom p { margin-bottom: 4px; }
.footer-bottom a { color: #64748b; }
.footer-bottom a:hover { color: #94a3b8; }

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .news-grid, .product-grid { grid-template-columns: repeat(2, 1fr); }
  .merchant-grid { grid-template-columns: repeat(2, 1fr); }
  .shop-stats { grid-template-columns: repeat(2, 1fr); }
  .shop-stat-item:nth-child(3)::before { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-card { width: 100%; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .top-bar { font-size: 12px; }
  .top-bar-left span:nth-child(n+2) { display: none; }
  .hero h1 { font-size: 28px; }
  .section { padding: 36px 16px; }
  .section-head h2 { font-size: 22px; }
  .news-grid, .product-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .merchant-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .cart-drawer { width: 100%; }
}
@media (max-width: 480px) {
  .news-grid, .product-grid { grid-template-columns: 1fr; }
  .shop-stats { grid-template-columns: 1fr; }
  .shop-stat-item::before { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== Auth Modal ===== */
.auth-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9998;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.auth-overlay.show { display: flex; }
.auth-modal {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 28px 28px;
  width: 100%;
  max-width: 380px;
  position: relative;
  box-shadow: var(--shadow-lg);
  animation: qrPop .25s ease;
}
.auth-close {
  position: absolute;
  top: 12px; right: 16px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}
.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--line);
}
.auth-tab {
  flex: 1;
  text-align: center;
  padding: 10px;
  font-size: 16px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
}
.auth-tab.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}
.auth-form .form-group { margin-bottom: 16px; }
.auth-form label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink-2);
}
.auth-form input {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-size: 15px;
  transition: all .2s;
}
.auth-form input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(37,99,235,.12);
}
.auth-submit {
  width: 100%;
  margin-top: 8px;
}

/* ===== Product Detail Page ===== */
.breadcrumb {
  background: var(--bg-2);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.breadcrumb-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  font-size: 13px;
  color: var(--muted);
}
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-inner span { margin: 0 6px; color: var(--line-2); }

.product-detail {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px;
  display: grid;
  grid-template-columns: 480px 1fr;
  gap: 48px;
  align-items: start;
}
.pd-gallery {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
}
.pd-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pd-info { display: flex; flex-direction: column; gap: 20px; }
.pd-tag {
  display: inline-flex;
  background: var(--primary-light);
  color: var(--primary);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 700;
  width: fit-content;
}
.pd-title { font-size: 26px; font-weight: 800; line-height: 1.4; color: var(--ink); }
.pd-price-box {
  background: linear-gradient(135deg, #fef2f2, #fff5f5);
  border: 1px solid #fecaca;
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  align-items: baseline;
  gap: 16px;
}
.pd-price-label { font-size: 14px; color: var(--muted); }
.pd-price { font-size: 36px; font-weight: 800; color: var(--danger); }
.pd-summary h3, .pd-merchant-box h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; color: var(--ink); }
.pd-summary p { font-size: 14px; color: var(--ink-2); line-height: 1.8; }
.pd-merchant-box {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
}
.pd-merchant-info { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pd-merchant-info strong { font-size: 16px; color: var(--ink); }
.pd-merchant-info span { font-size: 13px; color: var(--primary); font-weight: 600; }
.pd-merchant-profile { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 10px; }
.pd-merchant-contact { font-size: 13px; color: var(--ink-2); padding-top: 10px; border-top: 1px solid var(--line); }
.pd-actions { display: flex; gap: 12px; margin-top: 8px; }
.pd-actions .btn { flex: 1; }

.pd-desc-section {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 56px;
}
.pd-desc-section h2 { font-size: 22px; font-weight: 700; margin-bottom: 20px; padding-bottom: 12px; border-bottom: 2px solid var(--primary); }
.pd-desc-content { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.pd-spec-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.pd-spec-table th, .pd-spec-table td { padding: 12px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.pd-spec-table th { background: var(--bg-2); font-weight: 600; color: var(--muted); width: 140px; }
.pd-desc-text h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; }
.pd-desc-text p { font-size: 14px; color: var(--ink-2); line-height: 1.9; margin-bottom: 10px; }

/* ===== Product Detail Responsive ===== */
@media (max-width: 1024px) {
  .product-detail { grid-template-columns: 1fr; gap: 24px; }
  .pd-gallery { max-width: 400px; }
}
@media (max-width: 768px) {
  .product-detail { padding: 24px 16px; }
  .pd-title { font-size: 20px; }
  .pd-price { font-size: 28px; }
  .pd-actions { flex-direction: column; }
}

/* ===== Auth Agreement Checkbox ===== */
.auth-agreement {
  margin: 12px 0 16px;
  padding: 10px 12px;
  background: var(--bg);
  border-radius: var(--radius-sm);
}
.agreement-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-2);
  cursor: pointer;
  line-height: 1.5;
}
.agreement-check input[type="checkbox"] {
  margin-top: 2px;
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
  flex-shrink: 0;
}
.agreement-check a {
  color: var(--primary);
  text-decoration: none;
}
.agreement-check a:hover { text-decoration: underline; }

/* ===== Product Card Merchant Link ===== */
.product-card .pc-merchant {
  font-size: 12px;
  color: var(--muted);
  transition: color .2s;
}
.product-card .pc-merchant:hover { color: var(--primary); }

/* ===== Merchant Card Link & View Button ===== */
.merchant-card h3 a { color: var(--ink); transition: color .2s; }
.merchant-card h3 a:hover { color: var(--primary); }
.m-view-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 8px 16px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: all .2s;
}
.m-view-btn:hover { background: var(--primary); color: #fff; }

/* ===== Merchant Detail Page ===== */
.merchant-detail {
  background: linear-gradient(135deg, #0f172a, #1e293b);
  color: #fff;
  padding: 48px 24px;
}
.merchant-detail-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}
.md-header {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 32px;
}
.md-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}
.md-info { flex: 1; }
.md-name { font-size: 28px; font-weight: 800; margin-bottom: 6px; }
.md-city { font-size: 14px; color: #93c5fd; font-weight: 600; margin-bottom: 10px; }
.md-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.md-tag {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: #cbd5e1;
  padding: 3px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
}
.md-section { margin-bottom: 24px; }
.md-section h3 { font-size: 16px; color: #93c5fd; margin-bottom: 8px; font-weight: 600; }
.md-section p { font-size: 14px; color: #cbd5e1; line-height: 1.8; }
.md-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.md-contact-item { display: flex; flex-direction: column; gap: 4px; }
.md-contact-label { font-size: 12px; color: #64748b; font-weight: 600; }
.md-contact-value { font-size: 15px; color: #e2e8f0; }

/* Merchant Detail Responsive */
@media (max-width: 768px) {
  .md-header { flex-direction: column; text-align: center; }
  .md-contact-grid { grid-template-columns: 1fr; gap: 12px; }
  .md-name { font-size: 22px; }
}


