/* =========================================================
   天津伟琴科技有限公司 · 全站样式
   设计方向：白底 + 暖纸色 + 墨绿主色 + 陶土点缀（编辑部式极简）
   ========================================================= */

/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-primary);
  background: #ffffff;
  line-height: 1.75;
  letter-spacing: 0.01em;
  min-height: 100vh;
}
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; border: none; outline: none; }
button { cursor: pointer; background: none; }
::selection { background: var(--primary); color: #fff; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--ink);
  letter-spacing: 0.03em;
  line-height: 1.4;
}

/* ===== Variables ===== */
:root {
  --font-sans: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Segoe UI", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", STSong, SimSun, serif;

  --primary: #0e5c50;
  --primary-dark: #0a453d;
  --primary-light: #17786a;
  --primary-soft: #e9f2ef;
  --accent: #b97644;
  --accent-soft: #f7efe7;
  --success: #2f7a58;
  --warning: #a9761f;
  --danger: #b4443a;
  --price: #b04a33;

  --ink: #15211e;
  --text-primary: #22302b;
  --text-secondary: #5e6c66;
  --text-light: #8c968f;
  --text-tertiary: #a3aca6;
  --text-muted: #8c968f;
  --text-dark: #15211e;

  --bg-white: #ffffff;
  --bg-paper: #faf8f4;
  --bg-gray: #f3f1ec;
  --bg-secondary: #f6f4ef;
  --bg-dark: #15211e;

  --border: #e5e1d8;
  --border-color: #e5e1d8;
  --border-strong: #cfc9bd;

  --shadow-sm: 0 1px 2px rgba(21, 33, 30, 0.04);
  --shadow: 0 2px 8px rgba(21, 33, 30, 0.06);
  --shadow-md: 0 10px 28px rgba(21, 33, 30, 0.08);
  --shadow-lg: 0 18px 48px rgba(21, 33, 30, 0.1);

  --radius: 2px;
  --radius-lg: 3px;
  --radius-xl: 4px;
  --max-width: 1180px;
  --header-height: 72px;
}

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  height: var(--header-height);
}
.header-inner {
  max-width: var(--max-width); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 24px; height: 100%; gap: 20px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-family: var(--font-serif);
  font-size: 17px; font-weight: 600; color: var(--ink);
  letter-spacing: 0.06em; cursor: pointer; white-space: nowrap;
}
.logo::before {
  content: ''; width: 9px; height: 9px; flex-shrink: 0;
  background: var(--accent); transform: rotate(45deg);
}
.logo-icon {
  width: 34px; height: 34px; background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 700;
  border-radius: 2px;
}
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative; padding: 8px 12px;
  font-size: 14px; font-weight: 400; color: var(--text-secondary);
  letter-spacing: 0.04em; transition: color 0.2s;
  white-space: nowrap; border-radius: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; left: 12px; right: 12px; bottom: 1px;
  height: 1px; background: var(--primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--ink); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }
.header-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; white-space: nowrap; }
.header-user {
  font-size: 13px; color: var(--primary); font-weight: 500;
  max-width: 100px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 9px 20px; border-radius: var(--radius-lg);
  font-size: 14px; font-weight: 500; letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  gap: 6px; line-height: 1.5; white-space: nowrap;
}
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-outline { border-color: var(--border-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn-accent { background: var(--accent); color: #fff; border-color: var(--accent); }
.btn-accent:hover { background: #a3673a; border-color: #a3673a; }
.btn-danger { background: var(--danger); color: #fff; border-color: var(--danger); }
.btn-danger:hover { background: #99382f; border-color: #99382f; }
.btn-success { background: var(--success); color: #fff; border-color: var(--success); }
.btn-success:hover { background: #266547; border-color: #266547; }
.btn-lg { padding: 13px 30px; font-size: 15px; }
.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-block { width: 100%; }
.link-arrow {
  font-size: 13px; color: var(--primary); font-weight: 500;
  letter-spacing: 0.06em; white-space: nowrap;
  border-bottom: 1px solid transparent; transition: border-color 0.2s;
}
.link-arrow:hover { border-color: var(--primary); }

/* Mobile menu */
.mobile-menu-btn {
  display: none; background: none; border: none; font-size: 22px;
  color: var(--ink); padding: 4px;
}

/* ===== Main Content ===== */
.main-content { min-height: calc(100vh - var(--header-height) - 300px); }
.page { display: none; }
.page.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

/* ===== Hero ===== */
.hero {
  background: var(--bg-paper);
  border-bottom: 1px solid var(--border);
  padding: 78px 0 72px; position: relative; overflow: hidden;
  color: var(--text-primary);
}
.hero::before {
  content: ''; position: absolute; top: -220px; right: -140px;
  width: 560px; height: 560px; border-radius: 50%;
  border: 1px solid var(--border); pointer-events: none;
}
.hero::after {
  content: ''; position: absolute; bottom: -260px; left: 32%;
  width: 420px; height: 420px; border-radius: 50%;
  border: 1px solid rgba(14, 92, 80, 0.12); pointer-events: none;
}
.hero-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 24px;
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.02fr 0.98fr;
  gap: 64px; align-items: center;
}
.hero-eyebrow {
  font-size: 11.5px; letter-spacing: 0.24em; color: var(--accent);
  font-weight: 600; margin-bottom: 20px; text-transform: uppercase;
}
.hero h1 {
  font-size: 54px; font-weight: 600; margin-bottom: 22px;
  letter-spacing: 0.1em; line-height: 1.2;
}
.hero p {
  font-size: 15.5px; color: var(--text-secondary);
  max-width: 520px; line-height: 1.95; margin-bottom: 34px;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 38px; }
.hero-meta {
  display: flex; flex-wrap: wrap; align-items: center;
  border-top: 1px solid var(--border); padding-top: 20px;
}
.hero-meta span {
  font-size: 12px; color: var(--text-light); letter-spacing: 0.08em;
  padding-right: 18px; margin-right: 18px;
  border-right: 1px solid var(--border);
}
.hero-meta span:last-child { border-right: none; padding-right: 0; margin-right: 0; }
.hero-figure { position: relative; }
.hero-figure::before {
  content: ''; position: absolute; inset: 14px -14px -14px 14px;
  border: 1px solid var(--accent); opacity: 0.55; pointer-events: none;
}
.hero-figure img {
  width: 100%; height: 400px; object-fit: cover;
  border: 1px solid var(--border); position: relative; z-index: 1;
  filter: saturate(0.92);
}
.hero-stats { display: flex; gap: 40px; flex-wrap: wrap; }

/* ===== Section Common ===== */
.section { padding: 80px 0; }
.section-gray {
  background: var(--bg-paper);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.section-title {
  font-size: 32px; font-weight: 600; text-align: center;
  margin-bottom: 14px; letter-spacing: 0.08em; color: var(--ink);
}
.section-desc {
  font-size: 15px; color: var(--text-secondary); text-align: center;
  margin-bottom: 52px; max-width: 640px; margin-left: auto; margin-right: auto;
  line-height: 1.9;
}
.section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 32px; padding-bottom: 16px;
  border-bottom: 1px solid var(--border); gap: 20px;
}
.section-header h2 { font-size: 26px; font-weight: 600; letter-spacing: 0.06em; }
.section-header a {
  font-size: 13px; color: var(--primary); font-weight: 500;
  letter-spacing: 0.06em;
}
.section-header a:hover { text-decoration: underline; }

/* Editorial section head */
.section-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 24px; margin-bottom: 40px; padding-bottom: 18px;
  border-bottom: 1px solid var(--border);
}
.section-kicker {
  font-size: 11px; letter-spacing: 0.24em; color: var(--accent);
  font-weight: 600; margin-bottom: 10px; text-transform: uppercase;
}
.section-head h2 { font-size: 30px; font-weight: 600; letter-spacing: 0.08em; }
.section-head p { font-size: 14px; color: var(--text-secondary); margin-top: 6px; }

/* ===== Section Banner (兼容旧结构) ===== */
.section-banner {
  overflow: hidden; margin-bottom: 40px;
  position: relative; height: 200px;
  border: 1px solid var(--border);
}
.section-banner img { width: 100%; height: 100%; object-fit: cover; }
.section-banner-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.94) 0%, rgba(255, 255, 255, 0.7) 55%, rgba(255, 255, 255, 0.1) 100%);
  display: flex; align-items: flex-start; justify-content: center; flex-direction: column;
  padding: 0 48px; color: var(--ink);
}
.section-banner-overlay h2 { font-size: 28px; font-weight: 600; }
.section-banner-overlay p { font-size: 14px; color: var(--text-secondary); margin-top: 8px; }

/* ===== Feature Cards ===== */
.feature-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 0; border-top: 1px solid var(--border); border-left: 1px solid var(--border);
  background: var(--bg-white);
}
.feature-card {
  background: var(--bg-white); padding: 0;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  transition: background 0.25s; overflow: hidden;
}
.feature-card:hover { background: var(--bg-paper); box-shadow: none; }
.feature-card-img {
  width: 100%; height: 200px; object-fit: cover;
  background: var(--bg-gray); filter: grayscale(0.18);
  transition: filter 0.35s, transform 0.6s;
}
.feature-card:hover .feature-card-img { filter: none; transform: scale(1.02); }
.feature-card-body { padding: 26px 30px 32px; }
.feature-card-body h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.feature-card-body p { font-size: 13.5px; color: var(--text-secondary); line-height: 1.85; }

/* ===== Category Tabs ===== */
.category-tabs {
  display: flex; gap: 30px; margin-bottom: 36px; flex-wrap: wrap;
  border-bottom: 1px solid var(--border);
}
.category-tab {
  position: relative; padding: 10px 0 12px; border-radius: 0;
  font-size: 14px; font-weight: 400; letter-spacing: 0.04em;
  background: none; border: none; color: var(--text-secondary);
  transition: color 0.2s;
}
.category-tab::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -1px;
  height: 1.5px; background: var(--primary);
  transform: scaleX(0); transform-origin: left; transition: transform 0.25s;
}
.category-tab:hover { color: var(--ink); border: none; }
.category-tab.active { color: var(--ink); font-weight: 600; background: none; }
.category-tab.active::after { transform: scaleX(1); }

/* ===== Product Grid ===== */
.product-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0; background: var(--bg-white);
  border-top: 1px solid var(--border); border-left: 1px solid var(--border);
}
.product-card {
  background: var(--bg-white); overflow: hidden; cursor: pointer;
  display: flex; flex-direction: column; position: relative;
  transition: background 0.25s;
  border-right: 1px solid var(--border); border-bottom: 1px solid var(--border);
  border-radius: 0;
}
.product-card:hover { background: var(--bg-paper); transform: none; box-shadow: none; }
.product-img {
  width: 100%; aspect-ratio: 4 / 3; background: var(--bg-paper);
  display: flex; align-items: center; justify-content: center;
  font-size: 44px; color: var(--text-light);
  position: relative; overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%; object-fit: contain; padding: 12px;
  transition: transform 0.5s ease;
}
.product-card:hover .product-img img { transform: scale(1.04); }
.product-tag {
  position: absolute; top: 12px; left: 12px;
  padding: 3px 9px; border-radius: 0; font-size: 10.5px; font-weight: 600;
  background: rgba(255, 255, 255, 0.92); color: var(--primary);
  border: 1px solid var(--border);
  letter-spacing: 0.1em;
}
.product-info {
  padding: 18px 20px 22px; display: flex; flex-direction: column;
  flex: 1; min-height: 0;
}
.product-name {
  font-size: 14px; font-weight: 500; color: var(--ink);
  line-height: 1.65; margin-bottom: 12px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; text-overflow: ellipsis; min-height: 44px;
}
.product-desc {
  font-size: 12px; color: var(--text-light); margin-bottom: 10px;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.product-merchant {
  font-size: 12px; color: var(--primary); margin-bottom: 8px;
  cursor: pointer; display: flex; align-items: center; gap: 4px;
  opacity: 0.9; transition: opacity 0.2s;
}
.product-merchant:hover { opacity: 1; text-decoration: underline; }
.product-bottom {
  display: flex; align-items: baseline; justify-content: space-between;
  margin-top: auto; gap: 8px;
}
.product-price {
  font-family: Georgia, "Times New Roman", "DIN Alternate", serif;
  font-size: 21px; font-weight: 700; color: var(--price);
  letter-spacing: 0; line-height: 1.2;
}
.product-price .yen { font-size: 13px; font-weight: 600; margin-right: 2px; }
.product-price .price-range { font-size: 13px; font-weight: 600; }
.product-original-price {
  font-size: 12px; color: var(--text-light);
  text-decoration: line-through; white-space: nowrap;
}

/* ===== Mall Card (mall.html 使用的卡片结构) ===== */
.card-img-wrap {
  width: 100%; aspect-ratio: 4 / 3; background: var(--bg-paper);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; position: relative;
}
.card-img-wrap img {
  width: 100%; height: 100%; object-fit: contain; padding: 12px;
  transition: transform 0.5s ease;
}
.product-card:hover .card-img-wrap img { transform: scale(1.04); }
.card-body {
  padding: 18px 20px 22px; display: flex; flex-direction: column;
  gap: 6px; flex: 1;
}
.card-title {
  font-size: 14px; font-weight: 500; color: var(--ink); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden; min-height: 44px;
}
.card-desc {
  font-size: 12px; color: var(--text-light);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.card-footer {
  display: flex; align-items: baseline; gap: 10px;
  margin-top: auto; padding-top: 8px;
}
.card-price {
  font-family: Georgia, "Times New Roman", "DIN Alternate", serif;
  font-size: 20px; font-weight: 700; color: var(--price);
}
.card-original-price {
  font-size: 12px; color: var(--text-light); text-decoration: line-through;
}

/* ===== Product Detail ===== */
.product-detail { padding: 40px 0; }
.product-detail-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px;
  background: var(--bg-white); padding: 40px;
  border: 1px solid var(--border); border-radius: var(--radius-xl);
}
.product-detail-img {
  aspect-ratio: 1; background: var(--bg-paper); border-radius: 2px;
  display: flex; align-items: center; justify-content: center;
  font-size: 72px; color: var(--text-light); overflow: hidden;
}
.product-detail-img img { width: 100%; height: 100%; object-fit: contain; border-radius: 2px; padding: 16px; }
.product-detail-info { display: flex; flex-direction: column; }
.product-detail-info h1 { font-size: 26px; font-weight: 600; margin-bottom: 12px; line-height: 1.5; }
.product-detail-info .detail-desc { color: var(--text-secondary); margin-bottom: 16px; font-size: 14px; }
.detail-price-box {
  background: var(--bg-paper); padding: 18px 22px;
  border-left: 2px solid var(--accent);
  border-radius: 0; margin-bottom: 22px;
}
.detail-price-box .label { font-size: 12px; color: var(--text-light); letter-spacing: 0.1em; }
.detail-price-box .price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px; font-weight: 700; color: var(--price); line-height: 1.3;
}
.detail-price-box .original-price {
  font-size: 13px; color: var(--text-light);
  text-decoration: line-through; margin-top: 2px;
}
.detail-merchant {
  display: flex; align-items: center; gap: 14px; padding: 16px 18px;
  background: var(--bg-white); border: 1px solid var(--border);
  border-radius: 2px; margin-bottom: 22px;
  cursor: pointer; transition: border-color 0.2s, background 0.2s;
}
.detail-merchant:hover { background: var(--bg-paper); border-color: var(--border-strong); }
.detail-merchant-logo {
  width: 42px; height: 42px; border-radius: 2px;
  background: var(--primary); color: #fff; display: flex;
  align-items: center; justify-content: center;
  font-weight: 600; font-family: var(--font-serif);
}
.detail-merchant-name { font-weight: 600; font-size: 15px; color: var(--ink); }
.detail-merchant-label { font-size: 12px; color: var(--text-light); }
.detail-specs { margin-bottom: 24px; }
.detail-spec-row {
  display: flex; padding: 11px 0; border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.detail-spec-row .label { width: 110px; color: var(--text-light); flex-shrink: 0; letter-spacing: 0.04em; }
.detail-spec-row .value { color: var(--text-primary); }
.detail-actions { display: flex; gap: 12px; margin-top: auto; }
.detail-actions .btn { flex: 1; padding: 14px; font-size: 15px; }

/* ===== News ===== */
.news-list { display: flex; flex-direction: column; }
.news-card {
  display: flex; gap: 32px; background: transparent;
  padding: 28px 0; border: none;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s; cursor: pointer;
}
.news-card:first-child { border-top: 1px solid var(--border); }
.news-card:hover { background: var(--bg-paper); box-shadow: none; }
.news-card-img {
  width: 280px; height: 170px; border-radius: 0;
  background: var(--bg-gray); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; color: var(--text-light); overflow: hidden;
}
.news-card-img img {
  width: 100%; height: 100%; object-fit: cover; border-radius: 0;
  transition: transform 0.55s ease;
}
.news-card:hover .news-card-img img { transform: scale(1.04); }
.news-card-body { flex: 1; display: flex; flex-direction: column; padding: 4px 0; }
.news-tag {
  display: inline-flex; align-items: center; width: fit-content;
  padding: 0 0 0 9px; border-left: 2px solid currentColor;
  font-size: 11px; font-weight: 600; letter-spacing: 0.16em;
  margin-bottom: 12px; text-transform: uppercase;
}
.news-tag.ai { color: var(--primary); background: none; }
.news-tag.tech { color: var(--accent); background: none; }
.news-tag.industry { color: var(--warning); background: none; }
.news-card-body h3 { font-size: 20px; font-weight: 600; margin-bottom: 10px; line-height: 1.5; }
.news-card-body p { font-size: 13.5px; color: var(--text-secondary); flex: 1; line-height: 1.85; }
.news-meta {
  display: flex; gap: 22px; flex-wrap: wrap;
  font-size: 12px; color: var(--text-light); margin-top: 14px;
  letter-spacing: 0.04em;
}

/* News Detail */
.news-detail { padding: 36px 0 56px; }
.news-detail-inner {
  max-width: 820px; margin: 0 auto; background: var(--bg-white);
  border-radius: var(--radius-xl); padding: 48px 52px;
  border: 1px solid var(--border);
}
.news-detail-inner h1 { font-size: 28px; font-weight: 600; margin-bottom: 20px; line-height: 1.55; }
.news-detail-meta {
  display: flex; gap: 24px; flex-wrap: wrap; padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 28px; font-size: 13px; color: var(--text-light);
}
.news-detail-meta span { display: flex; align-items: center; gap: 6px; }
.news-detail-content { font-size: 15px; line-height: 2; color: var(--text-primary); }
.news-detail-content p { margin-bottom: 16px; }

/* Publish Form */
.publish-form { max-width: 720px; margin: 0 auto; }

/* ===== Merchant ===== */
.merchant-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px;
}
.merchant-card {
  background: var(--bg-white); border-radius: var(--radius-xl);
  border: 1px solid var(--border); transition: border-color 0.25s, background 0.25s;
  cursor: pointer; overflow: hidden; display: flex; flex-direction: column;
  text-align: center; text-decoration: none; color: inherit;
}
.merchant-card:hover {
  transform: none; box-shadow: none;
  border-color: var(--primary); background: var(--bg-paper);
}
.merchant-card-logo {
  aspect-ratio: 4 / 3; width: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.merchant-card-logo img { transition: transform 0.6s ease; }
.merchant-card:hover .merchant-card-logo img { transform: scale(1.04); }
.merchant-card-logo::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.14) 0%, transparent 62%);
}
.merchant-card-icon {
  width: 80px; height: 80px; border-radius: 4px;
  background: rgba(255, 255, 255, 0.18); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 12px; position: relative; z-index: 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.merchant-card-icon-text { font-size: 34px; font-weight: 700; color: #fff; line-height: 1; }
.merchant-card-sub {
  font-size: 12px; font-weight: 500; color: rgba(255, 255, 255, 0.85);
  position: relative; z-index: 1; letter-spacing: 0.2em;
}
.merchant-card-info { padding: 20px 18px 22px; text-align: center; }
.merchant-card-name {
  font-size: 15px; font-weight: 500; line-height: 1.6;
  color: var(--ink); margin-bottom: 8px;
}
.merchant-card-link {
  font-size: 12px; color: var(--primary); font-weight: 500;
  letter-spacing: 0.08em;
}
.merchant-card:hover .merchant-card-link { text-decoration: underline; }

/* Merchant Detail */
.merchant-detail { padding: 40px 0 60px; }
.merchant-detail-card {
  background: var(--bg-white); border-radius: var(--radius-xl); padding: 44px;
  border: 1px solid var(--border);
}
.merchant-detail-header {
  display: flex; align-items: center; gap: 24px; margin-bottom: 32px;
  padding-bottom: 26px; border-bottom: 1px solid var(--border);
}
.merchant-detail-logo {
  width: 84px; height: 84px; border-radius: 3px;
  display: flex; align-items: center; justify-content: center;
  font-size: 30px; font-weight: 700; color: #fff;
  overflow: hidden; flex-shrink: 0;
}
.merchant-detail-header h1 { font-size: 26px; font-weight: 600; margin-bottom: 4px; }
.merchant-detail-header .slogan { color: var(--text-secondary); font-size: 14px; }
.merchant-detail-card .product-grid { margin-top: 4px; }

/* ===== Join Form ===== */
.join-section { padding: 64px 0 80px; }
.form-card {
  max-width: 760px; margin: 0 auto; background: var(--bg-white);
  border-radius: var(--radius-xl); padding: 44px 48px;
  border: 1px solid var(--border);
}
.form-card h2 { font-size: 26px; font-weight: 600; margin-bottom: 10px; }
.form-card .form-desc { color: var(--text-secondary); margin-bottom: 34px; font-size: 14px; }
.form-group { margin-bottom: 22px; }
.form-label {
  display: block; font-size: 13px; font-weight: 600; margin-bottom: 8px;
  color: var(--text-primary); letter-spacing: 0.04em;
}
.form-label .required { color: var(--danger); margin-left: 2px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--border);
  border-radius: 2px; font-size: 14px; color: var(--text-primary);
  background: var(--bg-white); transition: border-color 0.2s, box-shadow 0.2s;
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-tertiary); }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 92, 80, 0.08);
}
.form-textarea { resize: vertical; min-height: 110px; line-height: 1.8; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-hint { font-size: 12px; color: var(--text-light); margin-top: 6px; }

/* ===== About ===== */
.about-hero {
  background: var(--bg-paper);
  color: var(--ink); padding: 78px 0 70px; text-align: center;
  border-bottom: 1px solid var(--border);
}
.about-hero h1 { font-size: 38px; font-weight: 600; margin-bottom: 0; letter-spacing: 0.08em; }
.about-hero h1::after {
  content: ''; display: block; width: 48px; height: 2px;
  background: var(--accent); margin: 22px auto 0;
}
.about-hero p { font-size: 15px; color: var(--text-secondary); max-width: 600px; margin: 16px auto 0; }
.about-content { padding: 64px 0 80px; }
.about-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: start; }
.about-text h2 { font-size: 24px; font-weight: 600; margin-bottom: 18px; }
.about-text p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.95; margin-bottom: 18px; }
.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border: 1px solid var(--border); }
.value-card {
  padding: 24px 20px; background: var(--bg-white); border-radius: 0;
  border: none; text-align: center; transition: background 0.25s;
}
.value-card:hover { background: var(--bg-paper); }
.value-card .icon { font-size: 24px; margin-bottom: 10px; }
.value-card h4 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.value-card p { font-size: 12.5px; color: var(--text-secondary); line-height: 1.7; }

/* ===== Auth Pages ===== */
.auth-page {
  min-height: calc(100vh - var(--header-height) - 300px);
  display: flex; align-items: center; justify-content: center;
  padding: 64px 24px; background: var(--bg-white);
}
.auth-card {
  width: 100%; max-width: 440px; background: var(--bg-white);
  border-radius: var(--radius-xl); padding: 44px 44px 40px;
  border: 1px solid var(--border); border-top: 2px solid var(--primary);
}
.auth-card h2 { font-size: 26px; font-weight: 600; margin-bottom: 8px; text-align: center; }
.auth-card .auth-subtitle { color: var(--text-light); margin-bottom: 30px; text-align: center; font-size: 13px; }
.auth-card .form-group { margin-bottom: 18px; }
.auth-footer { text-align: center; margin-top: 22px; font-size: 13.5px; color: var(--text-secondary); }
.auth-footer a { color: var(--primary); font-weight: 500; }
.auth-footer a:hover { text-decoration: underline; }

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-paper); color: var(--text-secondary);
  padding: 56px 0 0; border-top: 1px solid var(--border);
}
.footer-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 36px; border-bottom: 1px solid var(--border);
}
.footer-brand .logo { color: var(--ink); margin-bottom: 14px; font-size: 16px; }
.footer-brand p { font-size: 13px; line-height: 1.9; color: var(--text-light); }
.footer-col h4 {
  color: var(--ink); font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; margin-bottom: 16px;
}
.footer-col a {
  display: block; font-size: 13px; color: var(--text-secondary);
  margin-bottom: 10px; transition: color 0.2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-bottom {
  padding: 22px 0; text-align: center; font-size: 12.5px;
  color: var(--text-light); line-height: 2;
}
.footer-bottom a { color: var(--text-secondary); margin: 0 8px; }
.footer-bottom a:hover { color: var(--primary); }

/* ===== Content Pages (售后服务/协议/隐私) ===== */
.content-page { padding: 48px 0 64px; }
.content-page-inner {
  max-width: 820px; margin: 0 auto; background: var(--bg-white);
  border-radius: var(--radius-xl); padding: 48px 52px;
  border: 1px solid var(--border);
}
.content-page-inner h1 {
  font-size: 30px; font-weight: 600; margin-bottom: 28px;
  padding-bottom: 18px; border-bottom: 1px solid var(--border);
}
.content-page-inner h2 {
  font-size: 19px; font-weight: 600; margin: 28px 0 12px;
  padding-left: 12px; border-left: 2px solid var(--accent);
  color: var(--ink);
}
.content-page-inner p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.95; margin-bottom: 12px; }

/* ===== Breadcrumb ===== */
.breadcrumb {
  padding: 18px 0; font-size: 12.5px; color: var(--text-light);
  letter-spacing: 0.04em;
}
.breadcrumb a { color: var(--text-secondary); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 8px; color: var(--text-tertiary); }

/* ===== Back Button ===== */
.back-btn {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 13.5px; color: var(--text-secondary); margin-bottom: 20px;
  cursor: pointer; transition: color 0.2s;
}
.back-btn:hover { color: var(--primary); }

/* ===== Toast ===== */
.toast-container { position: fixed; top: 88px; right: 24px; z-index: 9999; }
.toast {
  padding: 12px 20px; border-radius: 2px; margin-bottom: 8px;
  font-size: 13.5px; font-weight: 500; color: #fff;
  animation: slideIn 0.3s ease; min-width: 200px;
  box-shadow: var(--shadow-md); letter-spacing: 0.02em;
}
.toast-success { background: var(--success); }
.toast-error { background: var(--danger); }
.toast-info { background: var(--primary); }
@keyframes slideIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }

/* ===== Cart Badge ===== */
.cart-badge { position: relative; }
.cart-badge .count {
  position: absolute; top: -7px; right: -9px;
  background: var(--price); color: #fff; font-size: 10px;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-weight: 600;
}

/* ===== Mall Search Bar ===== */
.mall-search-bar {
  display: flex; gap: 0; max-width: 560px; margin: 0 auto 40px;
  border: 1px solid var(--border-strong); border-radius: 2px;
  overflow: hidden; background: var(--bg-white); transition: border-color 0.2s;
}
.mall-search-bar:focus-within { border-color: var(--primary); }
.mall-search-input {
  flex: 1; padding: 13px 16px; border: none; background: transparent;
  font-size: 14px; outline: none; color: var(--text-primary);
}
.mall-search-input::placeholder { color: var(--text-tertiary); }
.mall-search-btn {
  padding: 0 28px; background: var(--ink); color: #fff; border: none;
  border-radius: 0; font-size: 13.5px; letter-spacing: 0.08em;
  cursor: pointer; white-space: nowrap; transition: background 0.2s;
}
.mall-search-btn:hover { background: var(--primary); }

/* ===== Loading / Empty States ===== */
.loading-state {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  padding: 56px 0; color: var(--text-secondary); font-size: 13.5px;
}
.loading-spinner, .spinner {
  width: 24px; height: 24px; border: 2px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 72px 0; color: var(--text-secondary);
}
.empty-icon { font-size: 44px; margin-bottom: 16px; opacity: 0.6; }

/* ===== Pagination ===== */
.pagination {
  display: flex; align-items: center; justify-content: center; gap: 6px;
  margin-top: 40px; flex-wrap: wrap;
}
.page-btn {
  min-width: 38px; height: 38px; padding: 0 12px;
  border: 1px solid var(--border); background: var(--bg-white);
  border-radius: 2px; font-size: 13.5px;
  cursor: pointer; transition: all 0.2s; color: var(--text-primary);
}
.page-btn:hover:not(:disabled):not(.active) {
  border-color: var(--primary); color: var(--primary);
}
.page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.page-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.page-ellipsis { padding: 0 4px; color: var(--text-tertiary); }

/* ===== Card Merchant Link ===== */
.card-merchant {
  display: inline-block; font-size: 12px; color: var(--primary);
  margin-bottom: 4px; transition: color 0.2s;
}
.card-merchant:hover { color: var(--primary-dark); text-decoration: underline; }

/* ===== Detail Classify Tag ===== */
.detail-classify {
  display: inline-block; font-size: 11px; padding: 3px 10px;
  background: var(--primary-soft); color: var(--primary);
  border-radius: 0; margin-bottom: 14px; letter-spacing: 0.1em;
}
.detail-original-price {
  font-size: 13px; color: var(--text-light);
  text-decoration: line-through; margin-left: 8px;
}
.detail-content-section { margin-top: 44px; padding-top: 36px; border-top: 1px solid var(--border); }
.detail-content-section h2 { font-size: 20px; margin-bottom: 18px; color: var(--ink); }
.detail-content-body { line-height: 1.95; color: var(--text-secondary); font-size: 14.5px; }
.detail-content-body img { max-width: 100%; border-radius: 2px; margin: 12px 0; }

/* ===== Cart Page ===== */
.cart-page { max-width: var(--max-width); margin: 0 auto; padding: 40px 24px 96px; }
.cart-header {
  display: flex; align-items: baseline; justify-content: space-between;
  padding-bottom: 16px; margin-bottom: 8px; border-bottom: 1px solid var(--border);
  gap: 16px;
}
.cart-header h1 { font-size: 30px; font-weight: 600; letter-spacing: 0.08em; }
.cart-total-count { font-size: 12.5px; color: var(--text-light); letter-spacing: 0.04em; }
.cart-list { display: flex; flex-direction: column; }
.cart-select-all {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 0; border-bottom: 1px solid var(--border); gap: 16px;
}
.cart-checkbox-label {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; color: var(--text-secondary); cursor: pointer;
}
.cart-checkbox-label input[type="checkbox"] {
  width: 16px; height: 16px; accent-color: var(--primary); cursor: pointer;
}
.btn-text-danger {
  font-size: 13px; color: var(--danger); background: none; border: none;
  padding: 4px 2px; transition: opacity 0.2s;
}
.btn-text-danger:hover { opacity: 0.75; }
.cart-item {
  display: flex; align-items: center; gap: 20px;
  background: transparent; border-radius: 0; padding: 20px 0;
  border-bottom: 1px solid var(--border); box-shadow: none;
  transition: background 0.2s;
}
.cart-item:hover { background: var(--bg-paper); box-shadow: none; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name {
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  margin-bottom: 4px; cursor: pointer;
}
.cart-item-name:hover { color: var(--primary); }
.cart-item-sku { font-size: 12px; color: var(--text-light); margin-bottom: 4px; }
.cart-item-price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px; font-weight: 700; color: var(--text-primary);
  white-space: nowrap;
}
.cart-item-price .yen { font-size: 12px; font-weight: 600; }
.cart-item-qty {
  font-size: 13.5px; color: var(--text-secondary); font-weight: 500;
  flex-shrink: 0; min-width: 42px; text-align: center;
}
.cart-item-subtotal {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px; font-weight: 700; color: var(--price);
  min-width: 96px; text-align: right; white-space: nowrap;
}
.cart-item-subtotal .yen { font-size: 12px; font-weight: 600; }
.cart-item-delete {
  width: 30px; height: 30px; border-radius: 2px; background: none;
  color: var(--text-light); font-size: 13px; flex-shrink: 0;
  border: 1px solid transparent; transition: all 0.2s;
}
.cart-item-delete:hover { color: var(--danger); border-color: var(--border); }
.cart-delete-btn {
  font-size: 13px; color: var(--text-light); cursor: pointer; background: none;
  border: none; padding: 4px 8px; transition: color 0.15s;
}
.cart-delete-btn:hover { color: var(--danger); }
.cart-footer {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; margin-top: 24px; padding: 20px 24px;
  background: var(--bg-paper); border: 1px solid var(--border);
}
.cart-footer-left { display: flex; align-items: center; gap: 12px; }
.cart-footer-right { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.cart-summary { font-size: 13.5px; color: var(--text-secondary); }
.cart-summary b { color: var(--ink); font-weight: 600; }
.cart-total-price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px; font-weight: 700; color: var(--price);
  margin-left: 4px;
}
.cart-total-price .yen { font-size: 14px; font-weight: 600; }
.cart-bottom {
  background: var(--bg-paper); border-top: 1px solid var(--border);
  padding: 14px 24px; display: flex; align-items: center;
  justify-content: space-between; gap: 16px;
}
.cart-bottom-left { display: flex; align-items: center; gap: 12px; }
.cart-bottom-left input[type="checkbox"] {
  width: 17px; height: 17px; accent-color: var(--primary); cursor: pointer;
}
.cart-select-all-text { font-size: 13.5px; color: var(--text-secondary); cursor: pointer; }
.cart-bottom-right { display: flex; align-items: center; gap: 20px; }
.cart-total { font-size: 13.5px; color: var(--text-secondary); }
.cart-checkout-btn {
  background: var(--primary); color: #fff; border: none;
  padding: 11px 34px; border-radius: 2px; font-size: 15px;
  font-weight: 500; letter-spacing: 0.06em;
  cursor: pointer; transition: background 0.2s;
}
.cart-checkout-btn:hover { background: var(--primary-dark); }
.cart-checkout-btn:disabled { background: #b9c8c4; cursor: not-allowed; }
.cart-empty {
  text-align: center; padding: 88px 0; color: var(--text-light);
}
.cart-empty-icon { font-size: 52px; margin-bottom: 18px; opacity: 0.35; }
.cart-empty p { font-size: 15px; margin-bottom: 18px; }
.cart-empty a { color: var(--primary); text-decoration: none; font-weight: 500; }
.cart-empty a:hover { text-decoration: underline; }
.cart-unlogin { text-align: center; padding: 88px 0; color: var(--text-light); }
.cart-unlogin p { font-size: 15px; margin-bottom: 18px; }
.cart-unlogin a { color: var(--primary); text-decoration: none; font-weight: 500; }

/* ===== Checkout Page ===== */
.checkout-page { background: var(--bg-secondary); min-height: 60vh; padding: 24px 0 56px; }
.checkout-loading { text-align: center; padding: 88px 0; color: var(--text-light); }
.checkout-loading .spinner {
  width: 34px; height: 34px; border: 2px solid var(--border);
  border-top-color: var(--primary); border-radius: 50%;
  animation: spin 0.8s linear infinite; margin: 0 auto 16px;
}
.checkout-section {
  background: #fff; border-radius: var(--radius-xl); padding: 28px 32px;
  margin-bottom: 16px; box-shadow: none; border: 1px solid var(--border);
}
.checkout-section-title {
  font-family: var(--font-serif); font-size: 17px; font-weight: 600;
  color: var(--ink); margin-bottom: 22px;
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 14px; border-bottom: 1px solid var(--border);
  letter-spacing: 0.06em;
}
.checkout-section-title svg { color: var(--primary); }

/* Address Form */
.checkout-address-form { display: flex; flex-direction: column; gap: 16px; }
.checkout-form-row { display: flex; gap: 16px; }
.checkout-form-group { display: flex; flex-direction: column; gap: 6px; }
.checkout-form-group label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.checkout-form-group .required { color: var(--danger); }
.checkout-form-group input,
.checkout-form-group textarea {
  border: 1px solid var(--border); border-radius: 2px; padding: 11px 14px;
  font-size: 14px; color: var(--text-primary); transition: border-color 0.2s, box-shadow 0.2s;
  outline: none; font-family: inherit; resize: vertical; background: #fff;
}
.checkout-form-group input:focus,
.checkout-form-group textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(14, 92, 80, 0.08);
}
.checkout-form-group input::placeholder,
.checkout-form-group textarea::placeholder { color: var(--text-tertiary); }

/* Product Items */
.checkout-product-item {
  display: flex; align-items: center; gap: 16px; padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.checkout-product-item:last-child { border-bottom: none; }
.checkout-product-index {
  width: 28px; height: 28px; border-radius: 2px;
  background: var(--bg-paper); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; color: var(--text-secondary); flex-shrink: 0;
}
.checkout-product-info { flex: 1; min-width: 0; }
.checkout-product-title {
  font-size: 14.5px; font-weight: 500; color: var(--ink);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.checkout-product-meta { display: flex; gap: 16px; margin-top: 6px; font-size: 12.5px; color: var(--text-light); }
.checkout-product-price {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px; font-weight: 700; color: var(--price);
  white-space: nowrap;
}

/* Summary */
.checkout-summary { background: var(--bg-paper); }
.checkout-summary-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 8px 0; font-size: 13.5px; color: var(--text-secondary);
}
.checkout-summary-total {
  border-top: 1px dashed var(--border-strong); margin-top: 10px; padding-top: 18px;
}
.checkout-summary-total span:first-child { font-size: 14.5px; font-weight: 600; color: var(--ink); }
.checkout-summary-total span:last-child {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px; font-weight: 700; color: var(--price);
}
.text-success { color: var(--success); }

/* Actions */
.checkout-actions {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 28px; gap: 16px;
}
.checkout-actions .btn-accent { min-width: 220px; justify-content: center; }

/* Small spinner for button */
.spinner-sm {
  display: inline-block; width: 16px; height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #fff;
  border-radius: 50%; animation: spin 0.8s linear infinite;
  vertical-align: middle;
}

/* ===== 商家卡片图片支持 ===== */
.merchant-card-logo { position: relative; }
.merchant-card-logo img {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.merchant-card-logo:has(img)::after { z-index: 0; }

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .nav-links a { padding: 8px 9px; font-size: 13px; }
  .nav-links a::after { left: 9px; right: 9px; }
  .logo { font-size: 16px; }
  .hero-inner { gap: 48px; }
  .hero h1 { font-size: 48px; }
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero h1 { font-size: 42px; }
  .hero-figure img { height: 320px; }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: var(--header-height); left: 0; right: 0;
    background: #fff; padding: 10px 24px 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md); gap: 0;
  }
  .nav-links.open a { padding: 12px 2px; border-bottom: 1px solid var(--border); }
  .nav-links.open a::after { display: none; }
  .mobile-menu-btn { display: block; }
}
@media (max-width: 768px) {
  .section { padding: 56px 0; }
  .section-head { flex-direction: column; align-items: flex-start; gap: 12px; }
  .section-head h2 { font-size: 26px; }
  .section-title { font-size: 27px; }
  .section-desc { margin-bottom: 36px; }
  .hero { padding: 56px 0 52px; }
  .hero h1 { font-size: 34px; }
  .hero p { font-size: 14.5px; }
  .hero-figure img { height: 240px; }
  .hero-meta span { font-size: 11px; padding-right: 12px; margin-right: 12px; }
  .product-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .merchant-grid { grid-template-columns: 1fr; }
  .product-detail-grid { grid-template-columns: 1fr; padding: 24px; gap: 28px; }
  .news-card { flex-direction: column; gap: 16px; padding: 22px 0; }
  .news-card-img { width: 100%; height: 200px; }
  .news-card-body h3 { font-size: 18px; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .detail-actions { flex-direction: column; }
  .form-card { padding: 32px 24px; }
  .content-page-inner, .news-detail-inner { padding: 30px 24px; }
  .merchant-detail-card { padding: 28px 22px; }
  .cart-footer { flex-direction: column; align-items: stretch; }
  .cart-footer-right { justify-content: space-between; }
  .cart-item { flex-wrap: wrap; gap: 12px; }
  .cart-item-info { flex-basis: 100%; }
  .cart-item-subtotal { margin-left: auto; }
  .checkout-section { padding: 22px 20px; }
  .checkout-form-row { flex-direction: column; gap: 12px; }
  .checkout-actions { flex-direction: column; }
  .checkout-actions .btn-accent { width: 100%; }
  .checkout-product-item { gap: 10px; }
  .checkout-product-title { font-size: 14px; }
  .section-banner-overlay { padding: 0 24px; }
}
@media (max-width: 480px) {
  .product-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; }
  .hero-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
  .hero-meta span { border-right: none; padding-right: 0; margin-right: 0; }
  .about-values { grid-template-columns: 1fr; }
  .cart-footer-right { flex-direction: column; align-items: flex-start; gap: 12px; }
}
