/* ============================================================
   格瑞五金商城 - 公共样式 common.css
   说明：所有页面共用。站点头部/页脚、颜色、按钮、卡片、表单、
        标签、弹窗、提示、进度条等基础组件。语义化 class。
   视觉基准：与商城前台（React 版）保持一致
        主色 #1a1a1a  页脚 #2a2a2a  强调色 rose #e11d48
        卡片圆角 14px  容器最大宽度 1280px
   ============================================================ */

/* ---------- 变量 ---------- */
:root {
  --c-bg: #f5f5f5;
  --c-card: #ffffff;
  --c-border: #e2e8f0;          /* slate-200 */
  --c-border-soft: #f1f5f9;     /* slate-100 */
  --c-hover: #f8fafc;           /* slate-50  */
  --c-primary: #1a1a1a;
  --c-primary-2: #3a3a3a;
  --c-footer: #2a2a2a;
  --c-rose: #e11d48;            /* rose-600 */
  --c-rose-2: #be123c;          /* rose-700 */
  --c-text: #1e293b;            /* slate-800 */
  --c-text-2: #475569;          /* slate-600 */
  --c-text-3: #64748b;          /* slate-500 */
  --c-text-4: #94a3b8;          /* slate-400 */
  --c-ring: #94a3b8;            /* slate-400（输入框聚焦环，对齐 React --ring） */
  --radius: 14px;               /* 对齐 React rounded-xl */
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(26,26,26,.08);
  --shadow-md: 0 4px 12px rgba(26,26,26,.10), 0 2px 4px rgba(26,26,26,.06);
  --shadow-lg: 0 8px 24px rgba(26,26,26,.12), 0 4px 8px rgba(26,26,26,.08);
}

/* ---------- 重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  background: var(--c-bg);
  color: var(--c-text);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font-family: inherit; font-size: 14px; }

/* ---------- 布局 ---------- */
.container { width: 100%; margin: 0 auto; padding-left: 16px; padding-right: 16px; }
@media (min-width: 640px)  { .container { max-width: 640px; } }
@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1180px; }}
@media (min-width: 1280px) { .container { max-width: 1280px; } }

/* 页面主体：手机端底部留出底部导航高度 */
.page { min-height: 100vh; background: var(--c-bg); padding-bottom: 60px; }
@media (min-width: 768px) { .page { padding-bottom: 0px; } }
.page-body { padding-top: 16px; padding-bottom: 16px; }

/* ============================================================
   站点头部（深色，与商城前台完全一致）
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: #4A4A4A; color: #fff;
  box-shadow: var(--shadow-md);
}
/* 顶部工具条 */
.site-header__top { border-bottom: 1px solid rgba(255,255,255,.1); }
.site-header__top-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 36px; font-size: 12px; color: rgba(255,255,255,.7);
}
.site-header__top-left { display: none; align-items: center; gap: 16px; }
@media (min-width: 768px) { .site-header__top-left { display: flex; }}
.site-header__top-left span { display: inline-flex; align-items: center; gap: 4px; }
.site-header__top-left svg { width: 12px; height: 12px; }
.site-header__top-right { display: flex; align-items: center; gap: 16px; }
.site-header__top a:hover { color: #fff; }

/* 主导航行 */
.site-header__main { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 94px; }
@media (min-width: 1024px) { .site-header__main { gap: 32px; } }

.site-logo { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.site-logo__badge {
  width: 36px; height: 36px; border-radius: 4px; background: #fff; color: #1a1a1a;
  font-weight: 700; font-size: 18px; display: flex; align-items: center; justify-content: center;
}
.site-logo__text { display: none; flex-direction: column; }
@media (min-width: 640px) { .site-logo__text { display: flex; } }
.site-logo__cn { font-size: 18px; font-weight: 700; line-height: 1.2; }
.site-logo__en { font-size: 10px; color: rgba(255,255,255,.6); line-height: 1.2; }

.site-nav { display: none; align-items: center; gap: 4px; }
@media (min-width: 1024px) { .site-nav { display: flex; } }
.site-nav__item { position: relative; }
.site-nav__link { display: flex; align-items: center; gap: 4px; padding: 20px 16px; font-size: 15px; font-weight: 600; }
.site-nav__link:hover { color: rgba(255,255,255,.8); }
.site-nav__link svg { width: 14px; height: 14px; opacity: .6; }
.site-nav__drop {
  position: absolute; left: 0; top: 100%; min-width: 180px; display: none;
  background: #fff; color: var(--c-text); border: 1px solid var(--c-border);
  border-radius: 0 0 8px 8px; box-shadow: var(--shadow-md); overflow: hidden;
}
.site-nav__item:hover .site-nav__drop { display: block; }
.site-nav__drop a { display: block; padding: 10px 16px; font-size: 14px; }
.site-nav__drop a:hover { background: var(--c-hover); }

.site-search { display: none; flex: 1; max-width: 448px; }
@media (min-width: 640px) { .site-search { display: flex; } }
.site-search input {
  flex: 1; min-width: 0; height: 40px; padding: 0 12px; border: none;
  background: rgba(255,255,255,.1); color: #fff; border-radius: 8px 0 0 8px; outline: none;
}
.site-search input::placeholder { color: rgba(255,255,255,.5); }
.site-search button {
  height: 40px; padding: 0 16px; background: #fff; color: #1a1a1a;
  border-radius: 0 8px 8px 0; display: flex; align-items: center; justify-content: center;
}
.site-search button:hover { background: rgba(255,255,255,.9); }
.site-search button svg { width: 16px; height: 16px; }

.site-actions { display: flex; align-items: center; gap: 4px; flex-shrink: 0; }
.icon-btn {
  position: relative; width: 36px; height: 36px; border-radius: 8px; color: #fff;
  display: flex; align-items: center; justify-content: center; transition: background .15s;
}
.icon-btn:hover { background: rgba(255,255,255,.1); }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn__count {
  position: absolute; top: 0; right: 0; min-width: 16px; height: 16px; padding: 0 4px;
  border-radius: 999px; background: #ef4444; color: #fff; font-size: 10px; font-weight: 500;
  display: flex; align-items: center; justify-content: center;
}
.icon-btn--user { display: none; }
@media (min-width: 640px) { .icon-btn--user { display: flex; } }
.icon-btn--menu { display: flex; }
@media (min-width: 1024px) { .icon-btn--menu { display: none; } }

/* 移动端抽屉菜单 */
.drawer { position: fixed; inset: 0; z-index: 60; display: none; }
.drawer.is-open { display: block; }
.drawer__mask { position: absolute; inset: 0; background: rgba(0,0,0,.5); }
.drawer__panel {
  position: absolute; left: 0; top: 0; bottom: 0; width: 280px; overflow-y: auto;
  background: #1a1a1a; color: #fff;
}
.drawer__head {
  display: flex; align-items: center; justify-content: space-between; height: 56px;
  padding: 0 16px; border-bottom: 1px solid rgba(255,255,255,.1); font-size: 18px; font-weight: 700;
}
.drawer__body { padding: 16px; }
.drawer__group { margin-bottom: 4px; }
.drawer__link { display: block; padding: 10px 12px; border-radius: 6px; font-size: 14px; font-weight: 500; }
.drawer__link:hover { background: rgba(255,255,255,.1); }
.drawer__sub { margin-left: 16px; padding-left: 8px; border-left: 1px solid rgba(255,255,255,.1); }
.drawer__sub a { display: block; padding: 8px 12px; border-radius: 6px; font-size: 12px; color: rgba(255,255,255,.7); }
.drawer__sub a:hover { background: rgba(255,255,255,.1); color: #fff; }
.drawer__divider { margin: 24px 0 16px; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.1); }

/* ============================================================
   站点页脚（深色，与商城前台一致）
   ============================================================ */
.site-footer { background: #4A4A4A; color: #fff; margin-top: 0px; }
.site-footer a:hover { color: #fff; }
/* 服务承诺 */
.footer-promise { border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-promise__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 32px 0; }
@media (min-width: 768px) { .footer-promise__grid { grid-template-columns: repeat(5, 1fr); gap: 24px; } }
.footer-promise__item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.footer-promise__item svg { width: 28px; height: 28px; color: rgba(255,255,255,.8); margin-bottom: 8px; }
.footer-promise__item h4 { font-size: 14px; font-weight: 600; }
.footer-promise__item p { margin-top: 4px; font-size: 12px; color: rgba(255,255,255,.5); }
/* 链接区 */
.footer-links { display: grid; gap: 32px; padding: 40px 0; }
@media (min-width: 768px) { .footer-links { grid-template-columns: repeat(6, 1fr); } }
.footer-brand { grid-column: span 1; }
@media (min-width: 768px) { .footer-brand { grid-column: span 2; } }
.footer-brand__logo { display: flex; align-items: center; gap: 8px; margin-bottom: 16px; }
.footer-brand__badge {
  width: 40px; height: 40px; border-radius: 4px; background: #fff; color: var(--c-footer);
  font-weight: 700; font-size: 20px; display: flex; align-items: center; justify-content: center;
}
.footer-brand__cn { font-size: 18px; font-weight: 700; }
.footer-brand__en { font-size: 10px; color: rgba(255,255,255,.5); }
.footer-brand__desc { margin-bottom: 16px; max-width: 320px; font-size: 14px; line-height: 1.7; color: rgba(255,255,255,.6); }
.footer-brand__contact { font-size: 14px; color: rgba(255,255,255,.6); }
.footer-brand__contact div { display: flex; align-items: flex-start; gap: 8px; margin-bottom: 8px; }
.footer-brand__contact svg { width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px; }
.footer-col h4 { margin-bottom: 16px; font-size: 14px; font-weight: 600; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .15s; }
/* 版权 */
.footer-copy { border-top: 1px solid rgba(255,255,255,.1); }
.footer-copy__inner {
  display: flex; flex-direction: column; align-items: center; justify-content: space-between;
  gap: 8px; padding: 16px 0; font-size: 12px; color: rgba(255,255,255,.4);
}
@media (min-width: 640px) { .footer-copy__inner { flex-direction: row; } }
.footer-copy__links { display: flex; gap: 16px; }
.footer-copy__links a:hover { color: rgba(255,255,255,.6); }

/* ============================================================
   移动端底部导航
   ============================================================ */
.mobile-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 50;
  background: #fff; border-top: 1px solid var(--c-border);
  display: grid; grid-template-columns: repeat(4, 1fr); height: 56px;
}
@media (max-width: 768px) { .footer-col { display: none; }.dbssc{display: none} .site-logo img{height: 35px !important}.site-header__main{height: 60px;}.section-head{margin-top:20px !important;}.section-head__title h2 {
    font-size: 30px !important;}.sytjl{display: none}.goods-grid {
    gap: 10px !important;
}.container {
    padding-left: 10px !important;
    padding-right: 10px !important;
}.site-footer{margin-bottom:76px !important;}.detail-rate{display: none !important;}#add-cart,#buy-now{flex: none !important;}.tjcgym{width: 90% !important}}
@media (min-width: 768px) { .mobile-nav { display: none; } }
.mobile-nav a {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px; font-size: 12px; color: var(--c-text-3);
}
.mobile-nav a.is-active { color: var(--c-primary); font-weight: 500; }
.mobile-nav svg { width: 20px; height: 20px; }

/* ---------- 面包屑 ---------- */
.breadcrumb { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--c-text-4); margin-bottom: 16px; }
.breadcrumb a:hover { color: var(--c-primary); }
.breadcrumb .cur { color: var(--c-text-2); }

/* ---------- 卡片 ---------- */
.card {
  background: var(--c-card); 
  border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow);
}
.card__title { font-size: 16px; font-weight: 600; color: var(--c-text); margin-bottom: 16px; }
.card__title--row { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.card__title--row .card__title { margin: 0; }
.card__sub { font-size: 13px; color: var(--c-text-3); }
.card-link { display: inline-flex; align-items: center; gap: 2px; font-size: 14px; color: var(--c-text-3); }
.card-link:hover { color: var(--c-primary); }
.card-link svg { width: 16px; height: 16px; }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  height: 36px; padding: 0 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; transition: all .15s; white-space: nowrap;
}
.btn svg { width: 15px; height: 15px; }
.btn--primary { background: var(--c-primary); color: #fff; }
.btn--primary:hover { background: rgba(26,26,26,.9); }
.btn--rose { background: var(--c-rose); color: #fff; }
.btn--rose:hover { background: var(--c-rose-2); }
.btn--outline { background: #fff; color: var(--c-text-2); border: 1px solid var(--c-border); }
.btn--outline:hover { background: var(--c-hover); }
.btn--ghost { background: transparent; color: var(--c-text-2); }
.btn--ghost:hover { background: var(--c-border-soft); }
.btn--lg { height: 40px; padding: 0 24px; }
.btn--sm { height: 32px; padding: 0 12px; font-size: 12px; }
.btn--sm svg { width: 13px; height: 13px; }
.btn--block { width: 100%; }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(148,163,184,.5); }

/* ---------- 徽标 badge ---------- */
.badge {
  display: inline-flex; align-items: center; padding: 2px 8px;
  border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.5;
}
.badge--orange { background: #ffedd5; color: #c2410c; }
.badge--blue   { background: #dbeafe; color: #1d4ed8; }
.badge--purple { background: #f3e8ff; color: #7e22ce; }
.badge--green  { background: #dcfce7; color: #15803d; }
.badge--gray   { background: #f1f5f9; color: #475569; }
.badge--amber  { background: #fef3c7; color: #b45309; }
.badge--rose   { background: #ffe4e6; color: #e11d48; }
.badge--dark   { background: var(--c-primary); color: #fff; }
/* 会员等级配色 */
.badge--level-normal  { background: #f1f5f9; color: #475569; }
.badge--level-silver  { background: #e2e8f0; color: #334155; }
.badge--level-gold    { background: #fef3c7; color: #b45309; }
.badge--level-diamond { background: #e0f2fe; color: #0369a1; }

/* ---------- 表单 ---------- */
.form-row { display: grid; gap: 16px; }
@media (min-width: 768px) { .form-row--2 { grid-template-columns: 1fr 1fr; } }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 13px; color: var(--c-text-2); font-weight: 500; }
.form-input, .form-textarea, .form-select {
  width: 100%; height: 36px; padding: 0 12px; border: 1px solid var(--c-border);
  border-radius: var(--radius-sm); background: #fff; color: var(--c-text);
  transition: border-color .15s, box-shadow .15s;
}
.form-textarea { height: auto; padding: 10px 12px; resize: vertical; min-height: 80px; }
.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none; border-color: var(--c-ring);
  box-shadow: 0 0 0 3px rgba(148,163,184,.35);
}
.form-input[readonly] { background: var(--c-hover); color: var(--c-text-3); }
.form-hint { font-size: 12px; color: var(--c-text-4); }

/* 开关 switch —— 对齐 React shadcn Switch：w-8(32px) h-[1.15rem](~18px) 拇指 size-4(16px) */
.switch {
  position: relative; width: 32px; height: 18px; border-radius: 999px;
  background: #e2e8f0; border: 1px solid transparent; transition: background .2s; flex-shrink: 0;
}
.switch.is-on { background: var(--c-primary); }
.switch::after {
  content: ""; position: absolute; top: 1px; left: 1px; width: 16px; height: 16px;
  border-radius: 50%; background: #fff; transition: transform .2s; box-shadow: 0 1px 2px rgba(0,0,0,.2);
}
.switch.is-on::after { transform: translateX(14px); }
.switch:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(148,163,184,.5); }

/* 单选 / 复选 */
.radio-item, .check-item { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; cursor: pointer; }
.radio-dot, .check-box {
  width: 18px; height: 18px; border: 1px solid var(--c-border); display: inline-flex;
  align-items: center; justify-content: center; flex-shrink: 0;
}
.radio-dot { border-radius: 50%; }
.check-box { border-radius: 4px; }
.radio-item input, .check-item input { position: absolute; opacity: 0; width: 0; height: 0; }
.radio-item.is-checked .radio-dot { border-color: var(--c-primary); }
.radio-item.is-checked .radio-dot::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c-primary); }
.check-item.is-checked .check-box { background: var(--c-primary); border-color: var(--c-primary); }
.check-item.is-checked .check-box::after { content: "✓"; color: #fff; font-size: 12px; }

/* ---------- Tabs ---------- */
.tabs__list { display: flex; gap: 8px; flex-wrap: wrap; }
.tab {
  padding: 8px 16px; border-radius: var(--radius-sm); background: var(--c-border-soft);
  color: var(--c-text-2); font-size: 14px; font-weight: 500; cursor: pointer; transition: all .15s;
}
.tab:hover { background: var(--c-border); }
.tab.is-active { background: var(--c-primary); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }
/* 下划线式 tabs */
.tabs--line .tabs__list { border-bottom: 1px solid var(--c-border); gap: 0; }
.tabs--line .tab { background: transparent; border-radius: 0; padding: 10px 16px; border-bottom: 2px solid transparent; }
.tabs--line .tab:hover { background: transparent; color: var(--c-primary); }
.tabs--line .tab.is-active { border-bottom-color: var(--c-primary); color: var(--c-primary); background: transparent; }

/* ---------- 手风琴 ---------- */
.accordion { border: 1px solid var(--c-border); border-radius: var(--radius); overflow: hidden; }
.accordion__item { border-bottom: 1px solid var(--c-border); }
.accordion__item:last-child { border-bottom: none; }
.accordion__trigger {
  display: flex; align-items: center; justify-content: space-between; width: 100%;
  padding: 14px 16px; text-align: left; font-size: 14px; font-weight: 500; color: var(--c-text);
}
.accordion__trigger .arrow { transition: transform .2s; color: var(--c-text-4); }
.accordion__trigger .arrow svg { width: 16px; height: 16px; }
.accordion__item.is-open .accordion__trigger .arrow { transform: rotate(180deg); }
.accordion__content { display: none; padding: 0 16px 16px; font-size: 13px; color: var(--c-text-3); line-height: 1.8; }
.accordion__item.is-open .accordion__content { display: block; }

/* ---------- 弹窗 modal ---------- */
.modal { position: fixed; inset: 0; z-index: 70; display: none; }
.modal.is-open { display: block; }
.modal__mask { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.modal__box {
  position: relative; z-index: 1; width: 92%; max-width: 480px; margin: 12vh auto 0;
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow-lg);
}
.modal__head { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; border-bottom: 1px solid var(--c-border); }
.modal__title { font-size: 16px; font-weight: 600; }
.modal__body { padding: 20px; }
.modal__foot { display: flex; justify-content: flex-end; gap: 8px; padding: 16px 20px; border-top: 1px solid var(--c-border); }

/* ---------- 提示 toast ---------- */
.toast-wrap { position: fixed; top: 20px; left: 50%; transform: translateX(-50%); z-index: 100; display: flex; flex-direction: column; gap: 8px; align-items: center; }
.toast {
  padding: 10px 18px; background: rgba(26,26,26,.92); color: #fff; border-radius: 999px;
  font-size: 13px; box-shadow: var(--shadow-md); animation: toastIn .2s ease;
}
@keyframes toastIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ---------- 进度条 ---------- */
.progress { height: 8px; background: var(--c-border-soft); border-radius: 999px; overflow: hidden; }
.progress__bar { height: 100%; background: var(--c-primary); border-radius: 999px; transition: width .3s; }

/* ---------- 星级 ---------- */
.stars { display: inline-flex; gap: 2px; }
.star { width: 18px; height: 18px; color: #cbd5e1; cursor: pointer; }
.star.is-active { color: #fbbf24; }
.star svg { width: 100%; height: 100%; fill: currentColor; }

/* ---------- 分隔线 ---------- */
.divider { height: 1px; background: var(--c-border-soft); margin: 16px 0; }

/* ---------- 网格（移动优先，断点与前台一致） ---------- */
.grid { display: grid; gap: 12px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px)  { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
/* 常购清单：手机 2 列 → 平板 3 列 → PC 6 列 */
.grid-often { grid-template-columns: repeat(2, 1fr); align-items: stretch; }
@media (min-width: 768px)  { .grid-often { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .grid-often { grid-template-columns: repeat(4, 1fr); } }
/* 常用服务：手机 3 列 → 平板 4 列 → PC 8 列 */
.grid-service { grid-template-columns: repeat(3, 1fr); }
@media (min-width: 640px)  { .grid-service { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1024px) { .grid-service { grid-template-columns: repeat(8, 1fr); } }
/* 商品卡（收藏页）：手机 2 列 → 平板 3 列 → PC 4 列 */
.grid-goods { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 768px)  { .grid-goods { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1024px) { .grid-goods { grid-template-columns: repeat(4, 1fr); } }
/* 地址卡：手机 1 列 → PC 2 列 */
.grid-addr { grid-template-columns: 1fr; }
@media (min-width: 768px) { .grid-addr { grid-template-columns: repeat(2, 1fr); } }

/* ---------- 空状态 ---------- */
.empty { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 64px 16px; color: var(--c-text-4); text-align: center; }
.empty svg { width: 48px; height: 48px; color: #cbd5e1; margin-bottom: 16px; }
.empty p { font-size: 14px; }

/* ---------- 工具类 ---------- */
.text-rose { color: var(--c-rose); }
.text-primary { color: var(--c-primary); }
.text-muted { color: var(--c-text-3); }
.text-xs { font-size: 12px; }
.text-sm { font-size: 13px; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-bold { font-weight: 700; }
.fs-lg { font-size: 18px; }
.fs-xl { font-size: 20px; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1; min-width: 0; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.gap-1 { gap: 4px; }
.gap-2 { gap: 8px; }
.gap-3 { gap: 12px; }
.gap-4 { gap: 16px; }
.mt-1 { margin-top: 4px; }
.mt-2 { margin-top: 8px; }
.mt-3 { margin-top: 12px; }
.mt-4 { margin-top: 16px; }
.mb-2 { margin-bottom: 8px; }
.mb-3 { margin-bottom: 12px; }
.mb-4 { margin-bottom: 16px; }
.space-y-3 > * + * { margin-top: 12px; }
.space-y-4 > * + * { margin-top: 16px; }
.text-right { text-align: right; }
.line-clamp-1 { display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
