/* ============================================================
   衣付 · 服装采购平台 - 主样式
   设计语言：高级时装编辑风 / 暖米底 + 墨黑 + 锈红点缀
   ============================================================ */
:root {
  --ink: #1c1a17;
  --ink-soft: #4a443d;
  --paper: #faf6f0;
  --paper-2: #f1ebe1;
  --line: #e2d8ca;
  --accent: #a8502f;       /* 锈红 */
  --accent-deep: #7d3a22;
  --gold: #c2a36b;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(28, 26, 23, .10);
  --shadow-sm: 0 6px 18px rgba(28, 26, 23, .08);
  --radius: 14px;
  --serif: "Noto Serif SC", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.container { width: min(1240px, 92vw); margin: 0 auto; }
.section { padding: 64px 0; }
.muted { color: var(--ink-soft); }
.center { text-align: center; }

/* ---------- 顶部工具条 ---------- */
.topbar {
  background: var(--ink);
  color: #efe7da;
  font-size: 13px;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar a:hover { color: var(--gold); }

/* ---------- 头部导航 ---------- */
.header { background: var(--paper); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: saturate(1.1); }
.header .container { display: flex; align-items: center; gap: 28px; height: 76px; }
.brand { font-family: var(--serif); font-size: 26px; font-weight: 700; letter-spacing: 2px; color: var(--ink); display: flex; align-items: baseline; gap: 8px; }
.brand small { font-family: var(--sans); font-size: 11px; letter-spacing: 3px; color: var(--accent); font-weight: 600; }
.nav { display: flex; gap: 22px; flex: 1; }
.nav a { font-size: 15px; font-weight: 500; padding: 6px 2px; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--accent); transition: width .25s; }
.nav a:hover::after, .nav a.active::after { width: 100%; }
.header-tools { display: flex; align-items: center; gap: 16px; }
.search { display: flex; align-items: center; background: var(--paper-2); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; }
.search input { border: none; background: transparent; outline: none; width: 170px; font-size: 14px; }
.cart-chip { position: relative; font-size: 14px; font-weight: 600; }
.cart-chip .badge { position: absolute; top: -8px; right: -12px; background: var(--accent); color: #fff; font-size: 11px; border-radius: 999px; min-width: 18px; height: 18px; line-height: 18px; text-align: center; padding: 0 4px; }
.menu-toggle { display: none; font-size: 22px; background: none; border: none; cursor: pointer; color: var(--ink); }

/* ---------- 焦点图（Hero） ---------- */
.hero { position: relative; height: 560px; overflow: hidden; }
.hero .slide { position: absolute; inset: 0; background-size: cover; background-position: center; display: flex; align-items: center; }
.hero .slide::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20,18,15,.72) 0%, rgba(20,18,15,.30) 55%, rgba(20,18,15,.05) 100%); }
.hero .slide .hero-inner { position: relative; color: #fff; padding-left: 6vw; max-width: 620px; }
.hero .eyebrow { letter-spacing: 4px; font-size: 13px; color: var(--gold); text-transform: uppercase; margin-bottom: 14px; }
.hero h1 { font-family: var(--serif); font-size: 52px; line-height: 1.12; font-weight: 700; margin-bottom: 18px; }
.hero p { font-size: 17px; color: #f3ece1; margin-bottom: 28px; }
.hero .dots { position: absolute; bottom: 22px; left: 6vw; display: flex; gap: 10px; z-index: 2; }
.hero .dots span { width: 28px; height: 4px; background: rgba(255,255,255,.4); border-radius: 4px; cursor: pointer; }
.hero .dots span.on { background: var(--gold); }

/* ---------- 区块标题 ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; }
.sec-head h2 { font-family: var(--serif); font-size: 30px; font-weight: 700; }
.sec-head .sub { color: var(--ink-soft); font-size: 14px; margin-top: 4px; letter-spacing: 1px; }
.sec-head a.more { font-size: 14px; color: var(--accent); font-weight: 600; }

/* ---------- 类目导航（实物图） ---------- */
.cat-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 16px; }
.cat-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 200px; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cat-card .bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.cat-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.6) 100%); }
.cat-card .label { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 16px; color: #fff; z-index: 2; }
.cat-card .label b { font-family: var(--serif); font-size: 19px; display: block; }
.cat-card .label span { font-size: 12px; opacity: .82; }

/* ---------- 商品网格 ---------- */
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.product-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .25s, box-shadow .25s; display: flex; flex-direction: column; }
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.product-card .thumb { position: relative; aspect-ratio: 3/4; background: var(--paper-2) center/cover no-repeat; }
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .tag { position: absolute; top: 12px; left: 12px; background: var(--ink); color: #fff; font-size: 11px; padding: 4px 9px; border-radius: 999px; letter-spacing: 1px; }
.product-card .tag.hot { background: var(--accent); }
.product-card .body { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card .title { font-size: 15px; font-weight: 600; line-height: 1.4; }
.product-card .merchant { font-size: 12px; color: var(--ink-soft); }
.product-card .price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.product-card .price .now { color: var(--accent); font-size: 19px; font-weight: 700; font-family: var(--serif); }
.product-card .price .was { color: #ad a; color: #b3a997; text-decoration: line-through; font-size: 13px; }

/* ---------- 按钮 ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 12px 26px; border-radius: 999px; font-size: 15px; font-weight: 600; cursor: pointer; border: 1px solid transparent; transition: all .2s; white-space: nowrap; flex: none; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-deep); }
.btn-ghost { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 13px; }

/* ---------- 商家展示 ---------- */
.merchant-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.merchant-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; display: flex; gap: 16px; align-items: center; }
.merchant-card .logo { width: 64px; height: 64px; border-radius: 14px; background: var(--paper-2) center/cover no-repeat; flex: none; display: grid; place-items: center; font-family: var(--serif); font-size: 24px; color: var(--accent); border: 1px solid var(--line); }
.merchant-card .name { font-weight: 700; font-size: 16px; }
.merchant-card .desc { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }

/* ---------- 特性条 ---------- */
.features { background: var(--ink); color: #f3ece1; }
.features .container { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 34px 0; text-align: center; }
.features .f b { display: block; font-family: var(--serif); font-size: 18px; margin-bottom: 4px; }
.features .f span { font-size: 13px; opacity: .8; }

/* ---------- 页脚 ---------- */
.footer { background: #16130f; color: #cfc4b4; margin-top: 0; }
.footer .container { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 30px; padding: 56px 0 30px; }
.footer h4 { color: #fff; font-size: 15px; margin-bottom: 16px; letter-spacing: 1px; }
.footer a { color: #cfc4b4; font-size: 14px; display: block; margin-bottom: 10px; }
.footer a:hover { color: var(--gold); }
.footer .brand { color: #fff; font-size: 24px; }
.footer .copy { border-top: 1px solid #2c2720; padding: 18px 0; text-align: center; font-size: 13px; color: #8d8475; }
.footer .copy a { color: #8d8475; text-decoration: none; }
.footer .copy a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- 面包屑 ---------- */
.crumb { font-size: 13px; color: var(--ink-soft); padding: 18px 0; }
.crumb a:hover { color: var(--accent); }

/* ---------- 商品详情 ---------- */
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.gallery .main-img { aspect-ratio: 3/4; border-radius: var(--radius); overflow: hidden; background: var(--paper-2) center/cover no-repeat; box-shadow: var(--shadow-sm); }
.gallery .main-img img { width: 100%; height: 100%; object-fit: cover; }
.detail .info h1 { font-family: var(--serif); font-size: 32px; line-height: 1.2; }
.detail .info .merchant { color: var(--ink-soft); margin: 8px 0 16px; font-size: 14px; }
.detail .price-box { background: var(--paper-2); border-radius: var(--radius); padding: 18px 22px; display: flex; align-items: baseline; gap: 14px; margin: 18px 0; }
.detail .price-box .now { color: var(--accent); font-size: 32px; font-weight: 700; font-family: var(--serif); }
.detail .price-box .was { text-decoration: line-through; color: #b3a997; }
.detail .meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; font-size: 14px; margin: 14px 0 22px; }
.detail .meta dt { color: var(--ink-soft); }
.detail .opt { margin: 14px 0; }
.detail .opt .lab { font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); background: #fff; padding: 7px 14px; border-radius: 999px; font-size: 13px; cursor: pointer; }
.chip.on, .chip:hover { border-color: var(--accent); color: var(--accent); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; overflow: hidden; }
.qty button { width: 38px; height: 38px; border: none; background: var(--paper-2); font-size: 18px; cursor: pointer; }
.qty input { width: 50px; text-align: center; border: none; outline: none; font-size: 15px; }

/* ---------- 表单 ---------- */
.field { margin-bottom: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line); border-radius: 10px; font-size: 14px; font-family: var(--sans); background: #fff; outline: none;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.notice { background: #fbeee8; color: var(--accent-deep); border: 1px solid #f0d3c5; padding: 12px 16px; border-radius: 10px; margin-bottom: 18px; font-size: 14px; }
.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.panel h2 { font-family: var(--serif); font-size: 24px; margin-bottom: 20px; }

/* ---------- 购物车 / 结算 ---------- */
.two-col { display: grid; grid-template-columns: 1.7fr 1fr; gap: 30px; align-items: start; }
.cart-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 18px; padding: 18px 0; border-bottom: 1px solid var(--line); align-items: center; }
.cart-item .pic { width: 110px; height: 140px; border-radius: 10px; background: var(--paper-2) center/cover no-repeat; overflow: hidden; }
.cart-item .pic img { width: 100%; height: 100%; object-fit: cover; }
.cart-item .title { font-weight: 600; }
.cart-item .opt { font-size: 13px; color: var(--ink-soft); margin-top: 4px; }
.cart-item .sub { color: var(--accent); font-weight: 700; font-family: var(--serif); font-size: 17px; }
.summary { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: sticky; top: 100px; }
.summary .row { display: flex; justify-content: space-between; margin: 10px 0; font-size: 14px; }
.summary .total { border-top: 1px solid var(--line); margin-top: 14px; padding-top: 14px; font-size: 18px; font-weight: 700; }
.summary .total b { color: var(--accent); font-family: var(--serif); font-size: 24px; }

/* ---------- 订单 ---------- */
.order-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; margin-bottom: 18px; }
.order-card .top { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 12px; font-size: 14px; }
.status-pill { padding: 4px 12px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.s1 { background: #fbeee8; color: var(--accent-deep); }
.s2 { background: #fff3d6; color: #8a6d1f; }
.s3 { background: #e3f0e6; color: #2f7d43; }
.s4 { background: #e7eef7; color: #2f5d8a; }
.s5 { background: #efe9e2; color: #6b6258; }
.order-line { display: flex; gap: 12px; align-items: center; padding: 8px 0; }
.order-line .pic { width: 56px; height: 72px; border-radius: 8px; background: var(--paper-2) center/cover no-repeat; flex: none; }

/* ---------- 空状态 ---------- */
.empty { text-align: center; padding: 80px 0; color: var(--ink-soft); }
.empty .big { font-family: var(--serif); font-size: 22px; margin-bottom: 12px; }

/* ---------- 响应式 ---------- */
@media (max-width: 1080px) {
  .cat-grid { grid-template-columns: repeat(4, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .merchant-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .nav { display: none; position: absolute; top: 76px; left: 0; right: 0; background: var(--paper); flex-direction: column; padding: 16px 6vw; border-bottom: 1px solid var(--line); gap: 14px; }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .search input { width: 110px; }
  .hero { height: 420px; }
  .hero h1 { font-size: 34px; }
  .cat-grid, .product-grid, .merchant-row, .features .container { grid-template-columns: repeat(2, 1fr); }
  .detail, .two-col { grid-template-columns: 1fr; gap: 26px; }
  .summary { position: static; }
  .footer .container { grid-template-columns: 1fr 1fr; }
}

/* ---------- 分页 ---------- */
.pagination, .pager {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0;
  margin: 0 0 64px;
}
.pagination li, .pager li { list-style: none; display: inline-block; }
.pagination li a, .pagination li span,
.pager li a, .pager li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: all .2s;
}
.pagination li a:hover, .pager li a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pagination li.active span, .pager li.active span {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.pagination li.disabled span, .pager li.disabled span {
  color: #c9bfae;
  background: var(--paper-2);
  cursor: not-allowed;
}

/* ---------- 登录 / 注册 ---------- */
.auth-wrap { min-height: calc(100vh - 320px); display: flex; align-items: center; justify-content: center; padding: 50px 16px; }
.auth-card { width: min(440px, 94vw); padding: 34px 34px 26px; }
.auth-head { text-align: center; margin-bottom: 22px; }
.auth-head .brand { justify-content: center; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 14px; color: var(--ink-soft); }
.link-accent { color: var(--accent); font-weight: 600; }
.link-accent:hover { color: var(--accent-deep); text-decoration: underline; }
.code-row { display: flex; gap: 10px; }
.code-row input { flex: 1; min-width: 0; }
.agree-line { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ink-soft); margin: 4px 0 18px; cursor: pointer; }
.agree-line input { width: 16px; height: 16px; }
.notice.ok { background: #e3f0e6; color: #2f7d43; border-color: #cfe6d4; }

/* ---------- 个人中心布局 ---------- */
.uc-layout { display: grid; grid-template-columns: 232px 1fr; gap: 26px; align-items: start; }
.uc-side { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow-sm); position: sticky; top: 100px; }
.uc-profile { text-align: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 16px; }
.uc-avatar { width: 66px; height: 66px; border-radius: 50%; margin: 0 auto 12px; background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--serif); font-size: 26px; overflow: hidden; }
.uc-avatar img { width: 100%; height: 100%; object-fit: cover; }
.uc-name { font-weight: 700; font-size: 16px; }
.uc-phone { font-size: 13px; margin-top: 2px; }
.uc-nav { display: flex; flex-direction: column; gap: 4px; }
.uc-nav a { display: block; padding: 11px 14px; border-radius: 10px; font-size: 14px; color: var(--ink-soft); }
.uc-nav a:hover { background: var(--paper-2); color: var(--ink); }
.uc-nav a.active { background: var(--ink); color: #fff; }
.uc-main .panel { padding: 26px; }

/* 概览 */
.uc-welcome { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; }
.uc-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.uc-stat { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; text-align: center; box-shadow: var(--shadow-sm); }
.uc-stat b { display: block; font-family: var(--serif); font-size: 28px; color: var(--accent); }
.uc-stat span { font-size: 13px; color: var(--ink-soft); }
.uc-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 20px; }
.uc-quick h3, .uc-recent h3 { font-family: var(--serif); font-size: 18px; margin-bottom: 14px; }
.uc-quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.uc-quick-grid a { display: flex; flex-direction: column; gap: 4px; background: var(--paper-2); border-radius: 12px; padding: 16px; font-size: 14px; color: var(--ink); }
.uc-quick-grid a .ic { font-size: 20px; }
.uc-quick-grid a b { color: var(--accent); font-family: var(--serif); }
.uc-recent-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.uc-recent-row:last-of-type { border-bottom: none; }

/* 订单筛选 */
.uc-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 18px; }
.uc-tabs a { padding: 7px 16px; border-radius: 999px; font-size: 14px; background: var(--paper-2); color: var(--ink-soft); }
.uc-tabs a.on { background: var(--ink); color: #fff; }

/* 收货地址 */
.addr-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.addr-card { position: relative; border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; background: #fff; }
.addr-card.def { border-color: var(--accent); box-shadow: 0 0 0 2px rgba(168,80,47,.12); }
.addr-tag { position: absolute; top: 14px; right: 14px; background: var(--accent); color: #fff; font-size: 11px; padding: 2px 8px; border-radius: 999px; }
.addr-name { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.addr-line { font-size: 13px; color: var(--ink-soft); line-height: 1.6; }
.addr-ops { margin-top: 12px; display: flex; gap: 14px; font-size: 13px; }
.addr-ops a { color: var(--ink-soft); }
.addr-mask { position: fixed; inset: 0; background: rgba(28,26,23,.5); display: flex; align-items: center; justify-content: center; z-index: 200; padding: 16px; }
.addr-modal { width: min(460px, 94vw); padding: 30px; }

/* 协议页 */
.agree-sec { margin-bottom: 22px; }
.agree-sec h3 { font-family: var(--serif); font-size: 18px; margin-bottom: 8px; color: var(--ink); }
.agree-sec p { font-size: 14px; line-height: 1.9; color: var(--ink-soft); }

/* ---------- 法律/条款单页 ---------- */
.legal { display: grid; grid-template-columns: 220px 1fr; gap: 34px; align-items: start; }
.legal-toc { position: sticky; top: 100px; border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; background: #fff; box-shadow: var(--shadow-sm); }
.legal-toc h4 { font-family: var(--serif); font-size: 16px; margin-bottom: 12px; }
.legal-toc a { display: block; font-size: 13px; color: var(--ink-soft); padding: 6px 0; border-bottom: 1px dashed var(--line); }
.legal-toc a:last-child { border-bottom: none; }
.legal-toc a:hover { color: var(--accent); }
.legal-body { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 36px; box-shadow: var(--shadow-sm); }
.legal-body h1 { font-family: var(--serif); font-size: 30px; text-align: center; margin-bottom: 6px; }
.legal-body .sub { text-align: center; color: var(--accent); letter-spacing: 2px; font-size: 13px; margin-bottom: 22px; }
.legal-body .lead { font-size: 15px; line-height: 1.9; color: var(--ink-soft); background: var(--paper-2); border-radius: 12px; padding: 16px 20px; margin-bottom: 26px; }
.legal-sec { margin-bottom: 24px; scroll-margin-top: 90px; }
.legal-sec h2 { font-family: var(--serif); font-size: 19px; margin-bottom: 10px; padding-left: 12px; border-left: 3px solid var(--accent); }
.legal-sec p, .legal-sec li { font-size: 14px; line-height: 1.95; color: var(--ink-soft); }
.legal-sec ul { padding-left: 20px; margin-top: 6px; }
.legal-sec li { margin-bottom: 6px; }
.legal-foot { margin-top: 28px; text-align: center; font-size: 13px; color: #b3a98f; }
@media (max-width: 880px) {
  .legal { grid-template-columns: 1fr; }
  .legal-toc { position: static; }
  .legal-body { padding: 24px 18px; }
}


@media (max-width: 880px) {
  .uc-layout { grid-template-columns: 1fr; }
  .uc-side { position: static; }
  .uc-grid { grid-template-columns: 1fr; }
  .uc-stats { grid-template-columns: repeat(2, 1fr); }
  .addr-grid { grid-template-columns: 1fr; }
}

.btn.faved { border-color: var(--accent); color: var(--accent); }
.btn.faved:hover { background: var(--accent); color: #fff; }
