/* 南京天浮科技有限公司 —— 全站样式
   浅色专业风：深蓝主色 + 暖橙点缀，无 Emoji，图标统一内联 SVG。 */

[hidden] { display: none !important; }
svg.i { width: 17px; height: 17px; flex: 0 0 auto; vertical-align: -3px; }

:root {
  --brand: #1d5c8f;
  --brand-d: #164a73;
  --brand-l: #eaf2f9;
  --brand-line: #cfe0ee;
  --accent: #c8871f;
  --price: #d9480f;
  --ink: #1f2a33;
  --ink-2: #41505d;
  --muted: #6b7785;
  --line: #e5eaf0;
  --bg: #f5f7fa;
  --card: #ffffff;
  --ok: #1f7a4d;
  --warn: #a8681a;
  --err: #b23c30;
  --radius: 10px;
  --shadow: 0 1px 2px rgba(20, 40, 70, .05), 0 8px 22px rgba(20, 40, 70, .06);
  --shadow-s: 0 1px 2px rgba(20, 40, 70, .06);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  font-size: 14.5px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--brand); text-decoration: none; }
a:hover { color: var(--brand-d); }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0 0 .5em; font-weight: 650; line-height: 1.35; color: var(--ink); }
p { margin: 0 0 .9em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: 12.5px; }
.center { text-align: center; }
.mt0 { margin-top: 0; }
.mb0 { margin-bottom: 0; }
.nowrap { white-space: nowrap; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 7px;
  padding: 9px 18px; border-radius: 8px; border: 1px solid var(--line);
  background: #fff; color: var(--ink); font-size: 14px; font-weight: 600;
  cursor: pointer; transition: all .16s ease; white-space: nowrap;
}
.btn:hover { border-color: var(--brand-line); color: var(--brand-d); }
.btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn--primary:hover { background: var(--brand-d); border-color: var(--brand-d); color: #fff; }
.btn--accent { background: var(--price); border-color: var(--price); color: #fff; }
.btn--accent:hover { filter: brightness(.94); color: #fff; }
.btn--ghost { background: transparent; border-color: transparent; color: var(--brand); padding-left: 8px; padding-right: 8px; }
.btn--ghost:hover { background: var(--brand-l); }
.btn--sm { padding: 6px 12px; font-size: 13px; border-radius: 7px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

/* ---------- header ---------- */
.site-head {
  background: #fff; border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 40;
}
.site-head::after {
  content: ''; display: block; height: 3px;
  background: linear-gradient(90deg, var(--brand) 0%, var(--brand) 42%, var(--accent) 42%, var(--accent) 100%);
  opacity: .9;
}
.head-inner { display: flex; align-items: center; gap: 18px; height: 74px; }
.brand { display: flex; align-items: center; gap: 11px; flex: 0 0 auto; color: var(--ink); }
.brand:hover { color: var(--ink); }
.logo-mark { width: 40px; height: 40px; flex: 0 0 auto; }
.brand-txt { display: flex; flex-direction: column; justify-content: center; gap: 3px; min-width: 0; }
.brand-name { font-size: 17px; font-weight: 700; letter-spacing: .3px; white-space: nowrap; }
.brand-sub { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--muted); letter-spacing: 1.2px; white-space: nowrap; }
.brand-sub::before { content: ''; flex: 0 0 13px; width: 13px; height: 1px; background: currentColor; opacity: .55; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav a {
  padding: 8px 13px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: 14px;
}
.nav a:hover { background: var(--brand-l); color: var(--brand-d); }
.nav a.active { color: var(--brand-d); background: var(--brand-l); }
.head-account { display: flex; align-items: center; gap: 6px; margin-left: 6px; padding-left: 14px; border-left: 1px solid var(--line); }
.only-mobile { display: none; }
.nav-toggle {
  display: none; margin-left: auto; width: 42px; height: 40px; border: 1px solid var(--line);
  border-radius: 8px; background: #fff; align-items: center; justify-content: center; cursor: pointer; color: var(--ink);
}
.cart-link { position: relative; }
.cart-count {
  position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 5px;
  background: var(--price); color: #fff; border-radius: 9px; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}

/* ---------- footer ---------- */
.site-foot { background: #16324b; color: #b9c7d4; margin-top: 56px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 30px; padding: 44px 0 28px; }
.site-foot h4 { color: #eaf1f7; font-size: 14px; margin-bottom: 12px; }
.site-foot a { color: #b9c7d4; }
.site-foot a:hover { color: #fff; }
.foot-brand { display: flex; align-items: center; gap: 11px; margin-bottom: 14px; }
.foot-brand .brand-name { color: #fff; font-size: 16px; }
.foot-brand .brand-sub { color: #8ea4b8; }
.foot-list { list-style: none; margin: 0; padding: 0; }
.foot-list li { margin-bottom: 8px; font-size: 13px; display: flex; gap: 8px; align-items: flex-start; }
.foot-list svg.i { margin-top: 3px; opacity: .8; }
.foot-bottom {
  border-top: 1px solid rgba(255, 255, 255, .1); padding: 16px 0 26px;
  display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap;
  font-size: 12.5px; color: #8ea4b8;
}

/* ---------- section / hero ---------- */
.section { padding: 46px 0; }
.section--tight { padding: 30px 0; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.sec-head h2 { font-size: 22px; margin: 0; }
.sec-head .sub { color: var(--muted); font-size: 13.5px; margin-top: 4px; }
.sec-head .line { flex: 1; height: 1px; background: var(--line); margin-bottom: 7px; }

.hero { background: linear-gradient(180deg, #fff 0%, #eef4f9 100%); border-bottom: 1px solid var(--line); }
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; padding: 56px 0; }
.hero h1 { font-size: 34px; letter-spacing: .5px; margin-bottom: 14px; }
.hero .lead { font-size: 15.5px; color: var(--ink-2); max-width: 560px; }
.hero-badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
.badge {
  display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border-radius: 20px;
  background: #fff; border: 1px solid var(--brand-line); color: var(--brand-d); font-size: 13px; font-weight: 600;
}
.hero-stats { display: flex; gap: 28px; margin-top: 26px; }
.hero-stats .n { font-size: 26px; font-weight: 750; color: var(--brand-d); }
.hero-stats .t { font-size: 12.5px; color: var(--muted); }
.hero-panel {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow); padding: 26px;
}
.hero-panel h3 { font-size: 16px; margin-bottom: 16px; }
.mini-row { display: flex; gap: 12px; align-items: center; padding: 11px 0; border-bottom: 1px dashed var(--line); }
.mini-row:last-child { border-bottom: 0; padding-bottom: 0; }
.mini-ic {
  width: 38px; height: 38px; border-radius: 9px; background: var(--brand-l); color: var(--brand);
  display: flex; align-items: center; justify-content: center; flex: 0 0 auto;
}

/* ---------- module cards ---------- */
.mod-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.mod-card {
  background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 30px;
  box-shadow: var(--shadow-s); position: relative; overflow: hidden; transition: all .18s ease;
}
.mod-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: var(--brand-line); }
.mod-card::after {
  content: ''; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px;
  border-radius: 50%; background: var(--brand-l); opacity: .7;
}
.mod-card.mall::after { background: #fdf1e6; }
.mod-ic { width: 54px; height: 54px; border-radius: 13px; background: var(--brand); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; position: relative; z-index: 1; }
.mod-card.mall .mod-ic { background: var(--accent); }
.mod-ic svg.i { width: 26px; height: 26px; }
.mod-card h3 { font-size: 19px; position: relative; z-index: 1; }
.mod-card p { color: var(--ink-2); position: relative; z-index: 1; }
.mod-tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 14px 0 18px; position: relative; z-index: 1; }
.mod-tag { font-size: 12.5px; padding: 4px 11px; border-radius: 6px; background: var(--bg); color: var(--ink-2); border: 1px solid var(--line); }

/* ---------- category chips ---------- */
.chips { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 22px; }
.chip {
  padding: 7px 15px; border-radius: 20px; border: 1px solid var(--line); background: #fff;
  color: var(--ink-2); font-size: 13.5px; font-weight: 600; cursor: pointer;
}
.chip:hover { border-color: var(--brand-line); color: var(--brand-d); }
.chip.active { background: var(--brand); border-color: var(--brand); color: #fff; }

/* ---------- searchbar ---------- */
.searchbar { display: flex; gap: 10px; margin-bottom: 20px; }
.searchbar input {
  flex: 1; min-width: 0; padding: 11px 14px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 14px; background: #fff; color: var(--ink);
}
.searchbar input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-l); }

/* ---------- product grid ---------- */
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pcard {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; transition: all .18s ease; box-shadow: var(--shadow-s);
}
.pcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--brand-line); }
.pcard__media { position: relative; aspect-ratio: 1 / 1; background: #fbfcfd; overflow: hidden; }
.pcard__media img { width: 100%; height: 100%; object-fit: cover; }
.pcard__tag {
  position: absolute; left: 10px; top: 10px; z-index: 2; font-size: 11.5px; font-weight: 700;
  background: rgba(29, 92, 143, .92); color: #fff; padding: 3px 9px; border-radius: 5px;
}
.pcard__body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.pcard__name { font-size: 14px; font-weight: 600; line-height: 1.5; color: var(--ink); margin-bottom: 8px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 42px; }
.pcard__shop { font-size: 12px; color: var(--muted); margin-bottom: 10px; display: flex; align-items: center; gap: 5px; }
.pcard__foot { margin-top: auto; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.price { color: var(--price); font-weight: 750; font-size: 18px; white-space: nowrap; }
.price .cur { font-size: 12.5px; margin-right: 1px; }
.price--old { color: var(--muted); font-size: 12.5px; font-weight: 500; text-decoration: line-through; margin-left: 6px; }
.sold { font-size: 12px; color: var(--muted); white-space: nowrap; }

/* ---------- listing grid ---------- */
.lgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.lcard {
  background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  display: flex; flex-direction: column; box-shadow: var(--shadow-s); transition: all .18s ease;
}
.lcard:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: var(--brand-line); }
.lcard__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #eef2f6; }
.lcard__media img { width: 100%; height: 100%; object-fit: cover; }
.lcard__cat {
  position: absolute; left: 10px; top: 10px; z-index: 2; font-size: 11.5px; font-weight: 700;
  background: rgba(22, 50, 75, .9); color: #fff; padding: 3px 9px; border-radius: 5px;
}
.lcard__body { padding: 14px; display: flex; flex-direction: column; flex: 1; }
.lcard__title { font-size: 14.5px; font-weight: 600; line-height: 1.5; margin-bottom: 12px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 44px; }
.lcard__meta { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; color: var(--muted); margin-top: auto; }
.lcard__meta .row { display: flex; align-items: center; gap: 6px; }
.lcard__meta .phone { color: var(--ink-2); font-weight: 600; letter-spacing: .3px; }
.lcard__foot { border-top: 1px dashed var(--line); margin-top: 12px; padding-top: 10px; display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }

/* ---------- detail: product ---------- */
.crumb { font-size: 13px; color: var(--muted); padding: 18px 0 6px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--brand); }
.crumb span { margin: 0 7px; opacity: .6; }
.pdp-top { display: grid; grid-template-columns: minmax(0, 440px) minmax(0, 1fr); gap: 34px; padding: 8px 0 30px; }
.pdp-gallery { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
.pdp-main { aspect-ratio: 1/1; border-radius: 9px; overflow: hidden; background: #fbfcfd; }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; }
.pdp-thumbs { display: flex; gap: 9px; margin-top: 12px; flex-wrap: wrap; }
.pdp-thumbs img {
  width: 62px; height: 62px; object-fit: cover; border-radius: 7px; border: 2px solid transparent;
  cursor: pointer; background: #fbfcfd;
}
.pdp-thumbs img.active { border-color: var(--brand); }
.pdp-info h1 { font-size: 22px; line-height: 1.45; margin-bottom: 12px; }
.pdp-price-box { background: linear-gradient(180deg, #fff7f1, #fff); border: 1px solid #f5dcc8; border-radius: 10px; padding: 16px 18px; margin-bottom: 18px; }
.pdp-price-box .price { font-size: 30px; }
.pdp-buy { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 18px; }
.spec-list { list-style: none; margin: 0 0 16px; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.spec-list li { font-size: 13.5px; color: var(--ink-2); display: flex; gap: 8px; }
.spec-list li b { color: var(--muted); font-weight: 600; min-width: 52px; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.qty button { width: 34px; height: 34px; border: 0; background: #f8fafc; cursor: pointer; font-size: 16px; color: var(--ink-2); }
.qty button:hover { background: var(--brand-l); color: var(--brand-d); }
.qty input { width: 52px; height: 34px; border: 0; border-left: 1px solid var(--line); border-right: 1px solid var(--line); text-align: center; font-size: 14px; }
.buy-row { display: flex; gap: 10px; align-items: center; margin-top: 16px; }

/* product detail body: left long images + right merchant bar */
.pdp-body { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }
.pdp-detail { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; }
.pdp-detail h2 { font-size: 17px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.pdp-detail p { color: var(--ink-2); }
.pdp-detail-imgs { display: flex; flex-direction: column; gap: 12px; margin-top: 16px; }
.pdp-detail-imgs img { width: 100%; border-radius: 8px; border: 1px solid var(--line); }
.merchant-bar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 16px; }
.mb-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-s); overflow: hidden; }
.mb-head { background: linear-gradient(135deg, var(--brand), var(--brand-d)); color: #fff; padding: 20px; display: flex; align-items: center; gap: 13px; }
.mb-avatar { width: 48px; height: 48px; border-radius: 12px; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; flex: 0 0 auto; }
.mb-avatar svg.i { width: 24px; height: 24px; }
.mb-name { font-size: 16px; font-weight: 700; }
.mb-sub { font-size: 12px; opacity: .85; margin-top: 2px; }
.mb-body { padding: 18px; }
.mb-row { display: flex; align-items: center; gap: 9px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 13.5px; }
.mb-row:last-child { border-bottom: 0; }
.mb-row svg.i { color: var(--brand); }
.mb-row .k { color: var(--muted); min-width: 58px; }
.mb-row .v { color: var(--ink); font-weight: 600; }
.mb-phone { letter-spacing: .3px; }
.mb-actions { padding: 0 18px 18px; display: flex; flex-direction: column; gap: 9px; }
.mb-note { background: var(--brand-l); border: 1px solid var(--brand-line); border-radius: 10px; padding: 13px 15px; font-size: 12.5px; color: var(--brand-d); }

/* ---------- info detail ---------- */
.info-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 30px; align-items: start; }
.article { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 30px; }
.article h1 { font-size: 24px; margin-bottom: 14px; }
.article-meta { display: flex; gap: 18px; flex-wrap: wrap; font-size: 13px; color: var(--muted); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.article-meta .row { display: flex; align-items: center; gap: 6px; }
.article-cover { border-radius: 10px; overflow: hidden; margin-bottom: 20px; border: 1px solid var(--line); }
.article-cover img { width: 100%; }
.article-lead { font-size: 15px; color: var(--ink-2); background: var(--brand-l); border-left: 3px solid var(--brand); border-radius: 0 8px 8px 0; padding: 14px 18px; margin-bottom: 22px; }
.article p.body-p { font-size: 15px; color: var(--ink-2); margin-bottom: 15px; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow-s); overflow: hidden; position: sticky; top: 96px; }
.side-head { padding: 15px 18px; border-bottom: 1px solid var(--line); font-weight: 700; font-size: 14.5px; display: flex; align-items: center; gap: 8px; }
.side-body { padding: 18px; }
.contact-line { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.contact-line:last-child { border-bottom: 0; }
.contact-line .k { color: var(--muted); font-size: 13px; }
.contact-line .v { font-weight: 700; color: var(--ink); letter-spacing: .4px; }
.contact-phone { font-size: 17px; color: var(--brand-d); }
.lock-note { display: flex; gap: 9px; align-items: flex-start; background: #fff8ec; border: 1px solid #f0dcc0; border-radius: 9px; padding: 12px 14px; font-size: 12.5px; color: #8a5a12; margin-top: 14px; }
.lock-note svg.i { color: #b8860b; }
.status-bar { border-radius: 9px; padding: 12px 16px; font-size: 13.5px; margin-bottom: 18px; display: flex; gap: 9px; align-items: center; }
.status-bar.pending { background: #fff8e8; border: 1px solid #f0dcb4; color: #8a6412; }
.status-bar.rejected { background: #fdeeed; border: 1px solid #f3cfca; color: var(--err); }

/* ---------- forms ---------- */
.form-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-s); padding: 30px; max-width: 520px; margin: 0 auto; }
.form-card--wide { max-width: 760px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; color: var(--ink-2); }
.field label .req { color: var(--price); }
.field input[type=text], .field input[type=password], .field input[type=date], .field input[type=tel],
.field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 9px;
  font-size: 14px; font-family: inherit; background: #fff; color: var(--ink);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.7; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-l); }
.field .hint { font-size: 12px; color: var(--muted); margin-top: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.check { display: flex; gap: 9px; align-items: flex-start; font-size: 13px; color: var(--ink-2); margin-bottom: 10px; cursor: pointer; }
.check input { margin-top: 3px; width: 16px; height: 16px; flex: 0 0 auto; }
.form-msg { border-radius: 9px; padding: 11px 14px; font-size: 13.5px; margin-bottom: 16px; display: none; }
.form-msg.show { display: block; }
.form-msg.err { background: #fdeeed; border: 1px solid #f3cfca; color: var(--err); }
.form-msg.ok { background: #eaf7f0; border: 1px solid #c7e6d5; color: var(--ok); }
.auth-switch { text-align: center; margin-top: 18px; font-size: 13.5px; color: var(--muted); }

/* ---------- account ---------- */
.acc-grid { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 26px; align-items: start; }
.acc-side { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; box-shadow: var(--shadow-s); position: sticky; top: 96px; }
.acc-side .who { padding: 20px; border-bottom: 1px solid var(--line); }
.acc-side .who .n { font-weight: 700; font-size: 15px; }
.acc-side .who .u { font-size: 12.5px; color: var(--muted); margin-top: 3px; }
.acc-menu { list-style: none; margin: 0; padding: 8px; }
.acc-menu li a { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 8px; color: var(--ink-2); font-weight: 600; font-size: 14px; }
.acc-menu li a:hover { background: var(--brand-l); color: var(--brand-d); }
.acc-menu li a.active { background: var(--brand); color: #fff; }
.acc-panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 24px; box-shadow: var(--shadow-s); }
.acc-panel h2 { font-size: 18px; margin-bottom: 18px; }
.info-table { width: 100%; border-collapse: collapse; }
.info-table td { padding: 11px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.info-table td:first-child { color: var(--muted); width: 130px; }
.mini-list { display: flex; flex-direction: column; gap: 12px; }
.mini-item { border: 1px solid var(--line); border-radius: 10px; padding: 14px 16px; display: flex; gap: 14px; align-items: center; }
.mini-item .t { font-weight: 600; font-size: 14px; }
.mini-item .m { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.mini-actions { margin-left: auto; display: flex; gap: 8px; }

/* ---------- status pills ---------- */
.pill { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.pill.pending { background: #fff5e0; color: #97650f; }
.pill.approved { background: #e8f6ee; color: var(--ok); }
.pill.rejected { background: #fdeeed; color: var(--err); }

/* ---------- admin ---------- */
.adm { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 24px; align-items: start; }
.adm > * { min-width: 0; }
.adm-side { background: #16324b; border-radius: 12px; padding: 16px 12px; position: sticky; top: 96px; }
.adm-side .ttl { color: #8ea4b8; font-size: 11.5px; letter-spacing: 1.5px; padding: 6px 12px 10px; }
.adm-side button {
  display: flex; align-items: center; gap: 9px; width: 100%; text-align: left; padding: 10px 12px;
  background: transparent; border: 0; color: #c3d1de; font-size: 14px; font-weight: 600; border-radius: 8px; cursor: pointer; font-family: inherit;
}
.adm-side button:hover { background: rgba(255,255,255,.07); color: #fff; }
.adm-side button.active { background: var(--brand); color: #fff; }
.adm-main { min-width: 0; }
.statgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(158px, 1fr)); gap: 14px; margin-bottom: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 16px 18px; box-shadow: var(--shadow-s); }
.stat .n { font-size: 25px; font-weight: 750; color: var(--brand-d); }
.stat .t { font-size: 12.5px; color: var(--muted); margin-top: 2px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 20px; box-shadow: var(--shadow-s); }
.panel h3 { font-size: 16px; margin-bottom: 16px; }
.panel + .panel { margin-top: 20px; }
.filter-row { display: flex; gap: 9px; flex-wrap: wrap; margin-bottom: 16px; }
.table-scroll { overflow-x: auto; }
table.data { width: 100%; border-collapse: collapse; min-width: 860px; font-size: 13.5px; }
table.data th { text-align: left; padding: 11px 12px; background: #f7fafc; color: var(--muted); font-weight: 650; border-bottom: 1px solid var(--line); white-space: nowrap; }
table.data td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
table.data tr:hover td { background: #fafcfe; }
table.data th:first-child { min-width: 168px; }
.cell-title { font-weight: 650; color: var(--ink); }
.cell-sub { font-size: 12px; color: var(--muted); margin-top: 2px; }
.row-actions { display: flex; gap: 7px; flex-wrap: nowrap; }
.row-actions .btn { padding: 5px 11px; font-size: 12.5px; }

/* ---------- cart ---------- */
.cart-grid { display: grid; grid-template-columns: minmax(0, 1fr) 330px; gap: 26px; align-items: start; }
.cart-item { display: flex; gap: 16px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 11px; padding: 14px; margin-bottom: 12px; }
.cart-item img { width: 84px; height: 84px; object-fit: cover; border-radius: 9px; flex: 0 0 auto; background: #fbfcfd; }
.cart-item .ci-name { font-weight: 600; font-size: 14px; }
.cart-item .ci-shop { font-size: 12.5px; color: var(--muted); margin-top: 4px; }
.cart-item .ci-price { color: var(--price); font-weight: 750; font-size: 16px; }
.cart-summary { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 22px; box-shadow: var(--shadow-s); position: sticky; top: 96px; }
.sum-line { display: flex; justify-content: space-between; padding: 9px 0; font-size: 14px; }
.sum-line.total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 16px; }
.sum-line.total .price { font-size: 24px; }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.empty svg.i { width: 46px; height: 46px; opacity: .35; margin-bottom: 14px; }

/* ---------- misc ---------- */
.prose { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 34px; box-shadow: var(--shadow-s); }
.prose h1 { font-size: 24px; margin-bottom: 8px; }
.prose h2 { font-size: 17px; margin: 26px 0 10px; padding-left: 11px; border-left: 3px solid var(--brand); }
.prose p, .prose li { color: var(--ink-2); font-size: 14.5px; }
.prose .updated { color: var(--muted); font-size: 13px; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.notice { background: var(--brand-l); border: 1px solid var(--brand-line); border-radius: 10px; padding: 14px 18px; font-size: 13.5px; color: var(--brand-d); margin: 22px 0; }
.tag-row { display: flex; gap: 8px; flex-wrap: wrap; }
.tag { display: inline-block; padding: 4px 11px; border-radius: 6px; background: var(--bg); border: 1px solid var(--line); font-size: 12.5px; color: var(--ink-2); }
.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translateX(-50%) translateY(20px);
  background: #1f2a33; color: #fff; padding: 12px 22px; border-radius: 10px; font-size: 14px;
  opacity: 0; pointer-events: none; transition: all .22s ease; z-index: 200; max-width: 90vw; text-align: center;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.skeleton { background: linear-gradient(90deg, #f0f3f7 25%, #e7ecf2 37%, #f0f3f7 63%); background-size: 400% 100%; animation: sk 1.3s ease infinite; border-radius: 8px; }
@keyframes sk { 0% { background-position: 100% 50%; } 100% { background-position: 0 50%; } }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .pgrid { grid-template-columns: repeat(3, 1fr); }
  .lgrid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 960px) {
  .brand-sub { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 77px; background: #fff; flex-direction: column; align-items: stretch; padding: 10px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: 0 12px 24px rgba(20,40,70,.08); gap: 2px; }
  .nav.open { display: flex; }
  .head-account { display: none; }
  .head-actions { margin-left: auto; border-left: 0; padding-left: 0; }
  .only-mobile { display: block; }
  .nav .only-mobile { border-top: 1px solid var(--line); margin-top: 6px; padding-top: 6px; }
  .hero-inner { grid-template-columns: 1fr; gap: 26px; padding: 40px 0; }
  .pdp-top { grid-template-columns: 1fr; gap: 22px; }
  .pdp-body { grid-template-columns: 1fr; }
  .merchant-bar { position: static; }
  .info-wrap { grid-template-columns: 1fr; }
  .side-card { position: static; }
  .acc-grid { grid-template-columns: 1fr; }
  .acc-side { position: static; }
  .adm { grid-template-columns: minmax(0, 1fr); }
  .adm-side { position: static; display: flex; flex-wrap: wrap; gap: 6px; }
  .adm-side .ttl { width: 100%; }
  .adm-side button { width: auto; }
  .cart-grid { grid-template-columns: 1fr; }
  .cart-summary { position: static; }
}
@media (max-width: 760px) {
  .pgrid, .lgrid, .mod-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 22px; }
  .field-row { grid-template-columns: 1fr; }
  .hero h1 { font-size: 26px; }
}
@media (max-width: 560px) {
  .pgrid, .lgrid, .mod-grid { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr; }
  .brand-name { font-size: 15px; }
  .logo-mark { width: 34px; height: 34px; }
  .searchbar { flex-wrap: wrap; }
  .searchbar input { flex: 1 1 100%; }
  .sec-head { flex-wrap: wrap; }
  .article { padding: 20px; }
  .form-card, .prose { padding: 22px; }
  .btn-cart-text { display: none; }
}
