:root {
  --primary: #15795c;
  --primary-dark: #0f5e47;
  --accent: #e8a33d;
  --bg: #f6f8f5;
  --card: #ffffff;
  --text: #1f2a26;
  --muted: #6b7a73;
  --line: #e4eae6;
  --danger: #c0492f;
  --radius: 14px;
  --shadow: 0 2px 14px rgba(20, 50, 40, 0.06);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.6; font-size: 15px;
  padding-bottom: env(safe-area-inset-bottom);
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 18px; }
img { max-width: 100%; display: block; }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 11px 20px; border-radius: 10px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 15px; color: var(--text); transition: .15s; min-height: 44px; }
.btn:hover { border-color: var(--primary); }
.btn-primary { background: var(--primary); color: #fff; border-color: var(--primary); }
.btn-primary:hover { background: var(--primary-dark); }
.btn-sm { padding: 8px 14px; min-height: 38px; font-size: 14px; }
.btn-block { width: 100%; justify-content: center; }
.btn-ghost { background: transparent; }

/* Header */
.site-header { background: #fff; border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; }
.header-inner { display: flex; align-items: center; gap: 18px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand-name { font-weight: 700; font-size: 16px; color: var(--primary-dark); letter-spacing: .3px; }
.nav { display: flex; gap: 6px; margin-left: 10px; }
.nav-link { padding: 8px 14px; border-radius: 8px; color: var(--muted); font-size: 15px; }
.nav-link:hover, .nav-link.active { color: var(--primary); background: #eef5f1; }
.header-right { margin-left: auto; display: flex; align-items: center; gap: 10px; position: relative; }
.icon-btn { width: 40px; height: 40px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center; color: var(--primary); border: 1px solid var(--line); }
.icon-btn:hover { background: #eef5f1; }
.user-name { display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; border: 1px solid var(--line); border-radius: 10px; color: var(--text); cursor: pointer; }
.user-menu { position: absolute; top: 52px; right: 0; background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: var(--shadow); min-width: 150px; display: none; flex-direction: column; overflow: hidden; }
.user-name:hover + .user-menu, .user-menu:hover, .user-menu.open { display: flex; }
.user-menu a { padding: 11px 14px; font-size: 14px; }
.user-menu a:hover { background: #eef5f1; color: var(--primary); }
.menu-toggle { display: none; background: none; border: none; color: var(--primary); cursor: pointer; }

/* Hero */
.hero { background: linear-gradient(135deg, #15795c, #0f5e47); color: #fff; padding: 54px 0 46px; }
.hero h1 { font-size: 30px; margin-bottom: 12px; }
.hero p { color: #d7ebe2; max-width: 640px; }
.hero-actions { margin-top: 22px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero .btn-light { background: #fff; color: var(--primary-dark); border-color: #fff; }
.hero .btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }

/* Sections */
.section { padding: 40px 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 20px; }
.section-head h2 { font-size: 22px; }
.section-head .sub { color: var(--muted); font-size: 14px; }
.section-head a.more { color: var(--primary); font-size: 14px; }
.section-head a.more .more-ic { vertical-align: -2px; margin-left: 3px; }

/* Cards grid */
.grid { display: grid; gap: 18px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: .15s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 6px 22px rgba(20,50,40,.1); }
.card .thumb { aspect-ratio: 4/3; background: #eef2ef; overflow: hidden; }
.card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.card .body { padding: 14px 16px; }
.card .body h3 { font-size: 16px; margin-bottom: 6px; }
.card .meta { color: var(--muted); font-size: 13px; display: flex; align-items: center; gap: 6px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 3px 10px; border-radius: 999px; background: #eef5f1; color: var(--primary); font-size: 12px; }
.price { color: var(--danger); font-weight: 700; }
.price small { color: var(--muted); font-weight: 400; font-size: 12px; }

/* Feature / steps */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.feature .ic { width: 42px; height: 42px; border-radius: 10px; background: #eef5f1; color: var(--primary); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 10px; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; counter-reset: s; }
.step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; position: relative; }
.step .num { position: absolute; top: 14px; right: 16px; font-size: 30px; font-weight: 800; color: #e4eae6; }
.step h4 { margin: 6px 0; }

/* Badge */
.badge-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--primary); font-size: 12px; background: #eef5f1; padding: 3px 9px; border-radius: 999px; }
.badge-pending { color: #b07a1e; background: #fbf1dc; }
.badge-rejected { color: var(--danger); background: #fbe7e1; }

/* Forms */
.form-wrap { max-width: 460px; margin: 30px auto; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.form-wrap h2 { margin-bottom: 18px; }
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; margin-bottom: 6px; color: var(--text); }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 16px; font-family: inherit; background: #fff; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); }
.field textarea { min-height: 120px; resize: vertical; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--muted); margin: 6px 0 16px; }
.agree input { margin-top: 4px; width: 16px; height: 16px; }
.agree a { color: var(--primary); }
.note { font-size: 13px; color: var(--muted); background: #f3f7f4; border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; margin-bottom: 16px; }
.err { color: var(--danger); font-size: 13px; margin-top: 8px; min-height: 18px; }

/* Detail page */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding: 30px 0; }
.detail.detail-three { grid-template-columns: 1.1fr 1fr 260px; align-items: start; }
.gallery { display: flex; gap: 12px; }
.gallery-vertical { flex-direction: row-reverse; }
.gallery .main-img { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 4/3; background: #eef2ef; flex: 1; }
.gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.thumbs { display: flex; gap: 10px; margin-top: 12px; flex-wrap: wrap; }
.thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; }
.thumbs img.active { border-color: var(--primary); }
.thumb-strip { display: flex; flex-direction: column; gap: 10px; width: 72px; max-height: 360px; overflow-y: auto; padding-right: 4px; }
.thumb-strip::-webkit-scrollbar { width: 4px; }
.thumb-strip::-webkit-scrollbar-thumb { background: #d0ddd6; border-radius: 4px; }
.thumb-strip img { width: 64px; height: 64px; object-fit: cover; border-radius: 8px; border: 2px solid transparent; cursor: pointer; flex-shrink: 0; }
.thumb-strip img.active { border-color: var(--primary); }
.detail-info h1 { font-size: 24px; margin-bottom: 10px; }
.detail-info .row { display: flex; gap: 10px; align-items: center; margin: 10px 0; color: var(--muted); }
.detail-info .desc { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
/* 信息详情页：导语 + 信息详情介绍 */
.detail-info .info-lead { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); color: var(--text); font-size: 14.5px; line-height: 1.9; }
.info-detail-block { margin-top: 18px; background: #f7faf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; }
.info-detail-title { font-size: 15px; color: var(--text); line-height: 1.2; margin-bottom: 12px; padding-left: 10px; border-left: 3px solid var(--primary); }
.info-detail-block p { color: var(--muted); font-size: 14px; line-height: 1.95; margin-bottom: 9px; }
.info-detail-block p:last-child { margin-bottom: 0; }

.merchant-panel { position: sticky; top: 84px; }
.merchant-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.merchant-head { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; }
.merchant-avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--primary); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 18px; flex-shrink: 0; }
.merchant-name { font-weight: 700; color: var(--text); line-height: 1.3; }
.merchant-badge { margin-top: 4px; }
.merchant-body { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 12px 0; margin-bottom: 12px; }
.merchant-row { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; }
.merchant-row span { color: var(--muted); }
.merchant-row b { font-weight: 500; color: var(--text); }
.merchant-intro { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 14px; }

.detail-section { margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.section-title { font-size: 18px; margin-bottom: 20px; padding-left: 12px; border-left: 4px solid var(--primary); }

/* 商品详情：图文交错双栏排版 */
.detail-masonry { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch; }
.dm-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.dm-img { display: flex; min-height: 260px; }
.dm-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dm-text { padding: 26px 24px; display: flex; flex-direction: column; justify-content: center; }
.dm-tag { font-size: 12px; letter-spacing: 3px; text-transform: uppercase; color: var(--accent); font-weight: 600; margin-bottom: 12px; }
.dm-text h4 { font-size: 19px; line-height: 1.5; color: var(--text); margin-bottom: 2px; }
.dm-line { height: 2px; width: 46px; background: var(--primary); border-radius: 2px; margin: 14px 0 14px; }
.dm-text p { color: var(--muted); font-size: 14px; line-height: 1.9; }

/* Info list */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 18px; }
.chip { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; font-size: 14px; color: var(--muted); }
.chip.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.list-info { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.info-card .thumb { aspect-ratio: 16/10; }
.info-card .body h3 { font-size: 16px; }

/* Breadcrumb */
.crumb { font-size: 13px; color: var(--muted); padding: 16px 0 0; }
.crumb a { color: var(--primary); }

/* Admin */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; gap: 22px; padding: 26px 0; }
.admin-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; align-self: start; }
.admin-side a { display: block; padding: 11px 14px; border-radius: 8px; color: var(--muted); cursor: pointer; }
.admin-side a.active, .admin-side a:hover { background: #eef5f1; color: var(--primary); }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; }
.stat .n { font-size: 26px; font-weight: 800; color: var(--primary); }
.stat .l { color: var(--muted); font-size: 13px; }
.table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.table th, .table td { padding: 12px 14px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14px; }
.table th { background: #f3f7f4; color: var(--muted); font-weight: 600; white-space: nowrap; }
.table tr:last-child td { border-bottom: none; }
/* 后台表格：姓名/状态等短列不折行，长地址列可换行 */
.table th:first-child, .table td:first-child { white-space: nowrap; }
.table td .badge-ok, .table td .badge-pending, .table td .badge-rejected { white-space: nowrap; }
.ops { display: flex; gap: 8px; }
.mini { padding: 6px 12px; min-height: 34px; font-size: 13px; border-radius: 8px; }

/* Footer */
.site-footer { background: #11241d; color: #c8d6cf; margin-top: 40px; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 26px; padding: 38px 18px 24px; }
.footer-brand { display: flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; margin-bottom: 12px; }
.footer-intro { font-size: 13px; color: #9fb3aa; max-width: 360px; }
.footer-col h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.footer-col a, .footer-col p { display: block; color: #9fb3aa; font-size: 13px; margin-bottom: 8px; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid #21392f; padding: 14px 18px; display: flex; justify-content: space-between; font-size: 13px; color: #8fa39a; flex-wrap: wrap; gap: 8px; }
.footer-bottom .icp { color: #8fa39a; }
.footer-bottom .icp:hover { color: #fff; }

/* Personal center */
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-bottom: 20px; }
.tab { padding: 11px 18px; cursor: pointer; color: var(--muted); border-bottom: 2px solid transparent; font-size: 15px; }
.tab.active { color: var(--primary); border-bottom-color: var(--primary); font-weight: 600; }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.profile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 22px; }
.pcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.pcard .label { color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.pcard .val { font-size: 22px; font-weight: 800; color: var(--primary); }
.pcard .val.small { font-size: 16px; }
.pcard .sub { color: var(--muted); font-size: 12px; margin-top: 4px; }

.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-bottom: 26px; }
.plan { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow); position: relative; transition: .15s; }
.plan:hover { transform: translateY(-2px); border-color: var(--primary); }
.plan.best { border-color: var(--primary); }
.plan .ribbon { position: absolute; top: -1px; right: -1px; background: var(--accent); color: #fff; font-size: 12px; padding: 4px 10px; border-radius: 0 13px 0 10px; }
.plan h3 { font-size: 17px; margin-bottom: 10px; }
.plan .p { color: var(--danger); font-size: 28px; font-weight: 800; }
.plan .p small { font-size: 13px; color: var(--muted); font-weight: 400; }
.plan ul { list-style: none; text-align: left; margin: 14px 0 18px; color: var(--muted); font-size: 13px; }
.plan ul li { padding: 4px 0 4px 20px; position: relative; }
.plan ul li:before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--primary); }

.wallet { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); margin-bottom: 24px; }
.wallet .bal { font-size: 30px; font-weight: 800; color: var(--primary); }
.amt-row { display: flex; gap: 10px; flex-wrap: wrap; margin: 14px 0; }
.amt { padding: 12px 22px; border: 1px solid var(--line); border-radius: 10px; background: #fff; cursor: pointer; font-size: 16px; }
.amt.active, .amt:hover { border-color: var(--primary); color: var(--primary); }

.manage-row { display: flex; gap: 14px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; margin-bottom: 12px; box-shadow: var(--shadow); }
.manage-row .mthumb { width: 84px; height: 64px; border-radius: 8px; object-fit: cover; background: #eef2ef; flex-shrink: 0; }
.manage-row .minfo { flex: 1; min-width: 0; }
.manage-row .minfo h4 { font-size: 15px; margin-bottom: 4px; }
.manage-row .mops { display: flex; gap: 8px; }
.notice-bar { background: #fbf6e9; border: 1px solid #f0e2c0; color: #8a6d1f; border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-bottom: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.notice-bar a { color: var(--primary); font-weight: 600; }
.inline-links { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 12px; }
.inline-links a { color: var(--primary); font-size: 14px; }

/* Utility */
.muted { color: var(--muted); }
.center { text-align: center; }
.mt20 { margin-top: 20px; }
.empty { text-align: center; color: var(--muted); padding: 40px; background: #fff; border: 1px dashed var(--line); border-radius: var(--radius); }
.page { padding: 30px 0; min-height: 50vh; }

/* Responsive */
@media (max-width: 900px) {
  .grid-3, .grid-4, .list-info { grid-template-columns: repeat(2, 1fr); }
  .features, .steps, .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .detail { grid-template-columns: 1fr; }
  .detail.detail-three { grid-template-columns: 1fr; }
  .gallery-vertical { flex-direction: column; }
  .thumb-strip { flex-direction: row; width: 100%; max-height: none; overflow-x: auto; padding-right: 0; padding-bottom: 4px; }
  .thumb-strip img { width: 72px; height: 72px; }
  .merchant-panel { position: static; margin-top: 10px; }
  .profile-grid, .plan-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-masonry { grid-template-columns: 1fr; }
  .dm-img { min-height: 220px; }
  .admin-layout { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nav { display: none; position: absolute; top: 66px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 10px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .header-right .btn-sm { display: none; }
  .grid-2, .grid-3, .grid-4, .list-info { grid-template-columns: 1fr; }
  .features, .steps, .stat-grid { grid-template-columns: 1fr; }
  .profile-grid, .plan-grid { grid-template-columns: 1fr; }
  .manage-row { flex-wrap: wrap; }
  .header-inner { gap: 8px; }
  .brand { gap: 7px; }
  .brand-name { font-size: 12.5px; max-width: 132px; line-height: 1.15; letter-spacing: 0; }
  .header-right { gap: 8px; }
  .user-name { padding: 8px 10px; }
  .user-name .u-txt { display: none; }
  .icon-btn { width: 36px; height: 36px; }
  .hero h1 { font-size: 24px; }
}

/* ===== 后台：证件照片缩略图 / 弹窗 / 明细 ===== */
.idthumb-row { display: flex; gap: 14px; }
.idthumb-row .idthumb-cell { display: flex; flex-direction: column; align-items: center; flex: 0 0 auto; }
.idthumb { width: 68px; height: 43px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); cursor: zoom-in; background: #f4f7f5; display: block; transition: .15s; }
.idthumb:hover { border-color: var(--primary); box-shadow: 0 3px 12px rgba(20, 50, 40, .12); }
.idthumb-empty { display: flex; align-items: center; justify-content: center; border: 1px dashed #cfdad4; color: #9aaba3; font-size: 11px; cursor: default; }
.idthumb-empty:hover { border-color: #cfdad4; box-shadow: none; }
.idthumb-cap { font-size: 11px; color: var(--muted); text-align: center; margin-top: 3px; white-space: nowrap; }
.idcard-ops { display: flex; gap: 7px; margin-top: 3px; white-space: nowrap; }
.idcard-ops .link-btn { font-size: 11.5px; }
.link-btn { border: 0; background: none; color: var(--primary); cursor: pointer; font-size: 14px; padding: 0; text-decoration: underline; text-underline-offset: 3px; font-family: inherit; }
.link-btn:hover { opacity: .78; }
.link-btn.danger { color: var(--danger); }

.admin-modal-mask { position: fixed; inset: 0; background: rgba(16, 32, 26, .55); display: none; z-index: 1000; align-items: center; justify-content: center; padding: 20px; }
.admin-modal-mask.open { display: flex; }
.admin-modal { background: #fff; border-radius: 14px; width: 100%; max-width: 880px; max-height: 88vh; overflow: auto; box-shadow: 0 24px 64px rgba(0, 0, 0, .32); }
.admin-modal .m-head { position: sticky; top: 0; background: #fff; padding: 15px 20px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; gap: 12px; z-index: 2; }
.admin-modal .m-head h3 { font-size: 16px; }
.admin-modal .m-body { padding: 18px 20px 22px; }
.m-close { border: 0; background: #f0f4f2; width: 32px; height: 32px; border-radius: 8px; font-size: 17px; line-height: 1; cursor: pointer; color: var(--muted); flex-shrink: 0; }
.m-close:hover { background: #e4ebe7; color: #33423b; }

.lightbox { position: fixed; inset: 0; background: rgba(10, 20, 16, .84); display: none; z-index: 1100; align-items: center; justify-content: center; padding: 24px; cursor: zoom-out; }
.lightbox.open { display: flex; }
.lightbox img { max-width: min(880px, 94vw); max-height: 88vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); background: #fff; }

.listing-row { display: flex; gap: 14px; padding: 13px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 11px; cursor: pointer; transition: .15s; background: #fff; align-items: center; }
.listing-row:hover { border-color: var(--primary); box-shadow: 0 4px 16px rgba(20, 50, 40, .08); }
.listing-row img { width: 112px; height: 74px; object-fit: cover; border-radius: 8px; flex-shrink: 0; background: #eef2ef; }
.listing-row .lr-main { flex: 1; min-width: 0; }
.listing-row h4 { font-size: 15px; margin-bottom: 7px; }
.listing-row .lr-meta { color: var(--muted); font-size: 12.5px; display: flex; gap: 12px; flex-wrap: wrap; }
.listing-detail-img { width: 100%; border-radius: 10px; margin-bottom: 10px; display: block; }
.m-status-line { display: flex; gap: 12px; align-items: center; margin-bottom: 14px; flex-wrap: wrap; }
@media (max-width: 640px) {
  .listing-row img { width: 84px; height: 60px; }
  .idthumb { width: 64px; height: 40px; }
}
