/* 自动生成，不要手改：python manage.py build_m_css（来源 site.css + mobile.css，只保留手机站页面用得到的规则）*/
:root { --primary: #fd6363;
  --primary-dark: #e94b4b;
  --primary-soft: #fff1f1;
  --accent: #fe6b09;
  --green: #2f9e66;
  --text: #333;
  --text-2: #666;
  --text-3: #999;
  --line: #ebebeb;
  --bg: #f5f5f5;
  --card: #fff;
  --radius: 8px;
  --wrap: 1200px; }
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body { background: var(--bg); color: var(--text); font: 14px/1.6 -apple-system, "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--primary); }
h1, h2, h3 { margin: 0; font-weight: 600; }
.products { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.product { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; transition: box-shadow .2s, transform .2s; }
.product:hover { box-shadow: 0 6px 18px rgba(0,0,0,.1); transform: translateY(-2px); }
.product-link { display: block; color: var(--text); }
.product-img { position: relative; aspect-ratio: 1 / 1; background: linear-gradient(135deg, #fff1f1, #ffe4d6); overflow: hidden; }
.product-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; box-sizing: border-box; padding: 10px; background: #fff; z-index: 1; }
.product-img:has(img) { border-bottom: 1px solid var(--line); }
.product-img .ph { position: absolute; inset: 0; display: grid; place-items: center; font-size: 34px; color: rgba(233,75,75,.45); font-weight: 700; letter-spacing: 2px; }
.shop-tag { position: absolute; z-index: 2; left: 6px; top: 6px; background: var(--primary); color: #fff; font-size: 11px; padding: 0 6px; border-radius: 3px; }
.product-title { padding: 8px 10px 0; height: 52px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; font-size: 13px; }
.product-price { padding: 4px 10px; color: var(--primary); display: flex; align-items: baseline; gap: 6px; }
.product-price b { font-size: 18px; }
.product-price .rmb { font-size: 12px; margin-right: -4px; }
.article-body { font-size: 15px; line-height: 1.9; }
.article-body h2 { font-size: 19px; margin: 22px 0 8px; border-left: 4px solid var(--primary); padding-left: 10px; }
.city-switch { position: relative; display: inline-flex; align-items: center; gap: 4px; color: var(--text-2); height: 32px; }
.city-switch b { color: var(--text); font-weight: 600; }
.city-switch svg { color: var(--primary); }
.city-picker { display: none; position: absolute; top: 32px; left: -8px; z-index: 30; width: 560px; padding: 14px 18px 10px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.12);
  font-size: 13px; color: var(--text); }
.city-switch:hover .city-picker, .city-switch:focus-within .city-picker { display: block; }
.cp-head { display: flex; justify-content: space-between; margin-bottom: 8px; }
.cp-head a { color: var(--primary); }
.cp-row { display: flex; gap: 10px; margin: 0; padding: 6px 0; border-bottom: 1px dashed var(--line); }
.cp-row dt { width: 44px; flex: none; color: var(--text-3); }
.cp-row dd { margin: 0; display: flex; flex-wrap: wrap; gap: 4px 12px; }
.cp-prov { color: var(--text); font-weight: 600; }
.cp-prov.on, .cp-prov:hover, .cp-city:hover { color: var(--primary); }
.cp-city { color: var(--text-2); }
.cp-soon { color: #c8c8c8; }
.cp-note { color: var(--text-3); margin: 8px 0 0; font-size: 12px; }
.carousel { position: relative; height: auto; min-height: 360px; align-self: stretch; border-radius: var(--radius); overflow: hidden; background: #f0e6e0; }
.carousel-track, .carousel-slide { position: absolute; inset: 0; }
.carousel-slide { opacity: 0; transition: opacity .6s ease; }
.carousel-slide.on { opacity: 1; z-index: 1; }
.carousel-slide a { display: block; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; display: block; }
.carousel-slide picture { display: block; height: 100%; }
.carousel-dots { position: absolute; z-index: 3; left: 0; right: 0; bottom: 14px; display: flex; justify-content: center; gap: 8px; }
.carousel-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 5px; background: rgba(255,255,255,.6); cursor: pointer; transition: width .3s; }
.carousel-dots button.on { width: 26px; background: #fff; }
@media (max-width: 1100px) {
  .products { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .products { grid-template-columns: repeat(3, 1fr); }
  .carousel { height: 280px; }
  .city-picker { width: 92vw; }
}
@media (max-width: 640px) {
  .products { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .carousel { height: 180px; }
}
@media (max-width: 900px) {
  .carousel { min-height: 0; height: auto; aspect-ratio: 1740 / 720; }
}
.article-body { color: #333; }
.article-body p { margin: 0 0 14px; }
.article-body h2 { scroll-margin-top: 12px; }
.article-body h3 { font-size: 17px; margin: 18px 0 8px; scroll-margin-top: 12px; }
.article-body ul, .article-body ol { padding-left: 22px; margin: 0 0 14px; }
.article-body li { margin: 4px 0; }
.article-body blockquote { margin: 0 0 14px; padding: 12px 16px; background: #fff7f0; border-left: 4px solid var(--accent); color: var(--text-2); border-radius: 0 6px 6px 0; }
.article-body blockquote p:last-child { margin: 0; }
.article-body figure { margin: 16px 0; text-align: center; }
.article-body figure img, .article-body img { max-width: 100%; border-radius: 6px; }
.article-body figcaption { font-size: 12px; color: var(--text-3); margin-top: 4px; }
.article-body p a, .article-body li a { color: var(--primary); text-decoration: none; }
.article-body table { width: 100%; border-collapse: collapse; margin: 0 0 14px; font-size: 14px; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; }
.article-body th { background: var(--bg); }
.article-body hr { border: 0; border-top: 1px dashed var(--line); margin: 20px 0; }
.rf-empty, .rf-more { padding: 8px 10px; font-size: 13px; color: var(--text-3); }
html:has(.region-finder) { scroll-behavior: smooth; }
.products { gap: 16px; }
.product-img img { padding: 18px; }
.product-title { font-size: 13px; color: var(--text); }
.article-body .products.mini { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin: 6px 0 4px; padding: 14px; background: var(--bg); border-radius: var(--radius); }
.products.mini .product-img { aspect-ratio: 4 / 3; }
.products.mini .product-img img { padding: 12px; }
.products.mini .product-title { height: 40px; font-size: 12px; padding-top: 6px; }
.products.mini .product-price b { font-size: 15px; }
.article-body .product a, .article-body a.product-link { color: var(--text); text-decoration: none; border: 0; }
.article-body .product-price { color: var(--primary); }
.products.mini .product-title { height: 44px; line-height: 18px; padding: 8px 10px 0; }
.product-price { flex-wrap: nowrap; white-space: nowrap; overflow: hidden; }
.product-price .lbl { font-size: 11px; line-height: 16px; padding: 0 4px; border-radius: 2px; background: var(--primary); color: #fff; align-self: center; margin-right: -2px; }
.product-price s { font-size: 12px; color: var(--text-3); }
.product-buy { margin: 0 10px 12px; height: 30px; border: 1px solid var(--primary); border-radius: 15px; color: var(--primary); font-size: 13px; display: flex; align-items: center; justify-content: center; transition: background .2s, color .2s; }
.product:hover .product-buy { background: var(--primary); color: #fff; }
.product-price { padding-bottom: 8px; }
.products.mini .product-buy { display: none; }
.products.mini .product-price s { display: none; }
.products { gap: 16px; }
.product { border-color: #eeeeee; border-radius: 10px; }
.product:hover { box-shadow: 0 8px 20px rgba(0,0,0,.08); transform: translateY(-2px); border-color: #e4e4e4; }
.product-img { aspect-ratio: 5 / 4; background: #fff; }
.product-img:has(img) { border-bottom: 0; }
.product-img img { padding: 18px 26px 6px; }
.product-img .ph { font-size: 26px; color: #e5e5e5; }
.product-title { padding: 8px 12px 0; height: 46px; line-height: 19px; font-size: 13px; color: var(--text); }
.product:hover .product-title { color: var(--primary); }
.product-foot { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 6px 12px 12px; }
.product-foot .product-price { padding: 0; min-width: 0; gap: 4px; }
.product-price b { font-size: 17px; font-weight: 700; }
.product-buy { flex: none; margin: 0; height: auto; border: 0; border-radius: 0; font-size: 12px; color: var(--text-3); background: none; transition: color .2s; }
.product:hover .product-buy { background: none; color: var(--primary); }
.shop-tag { background: rgba(255,255,255,.92); color: var(--primary); border: 1px solid #ffc9bd; line-height: 16px; }
.products.mini .product-foot { padding-bottom: 10px; }
.city-picker { width: 640px; padding: 14px 16px 10px; }
.city-picker .cp-head { align-items: baseline; padding-bottom: 8px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.city-picker .cp-head b { font-size: 14px; }
.cp-body { max-height: 62vh; overflow-y: auto; padding-right: 4px; }
.cp-area { padding: 6px 0 2px; border-bottom: 1px dashed var(--line); }
.cp-area-name { font-size: 12px; color: var(--text-3); margin: 2px 0 2px; }
.city-picker .cp-row { border-bottom: 0; padding: 4px 0; gap: 12px; align-items: baseline; }
.city-picker .cp-row dt { width: 78px; flex: none; }
.city-picker .cp-row dd { gap: 4px 14px; font-size: 13px; }
.cp-muni { padding: 8px 0 !important; border-bottom: 1px dashed var(--line) !important; }
.cp-muni dt { color: var(--text-3); font-size: 12px; }
.city-picker .cp-prov { display: inline-flex; align-items: baseline; gap: 3px; font-weight: 600; font-size: 13px; }
.city-picker .cp-prov small { font-size: 10px; font-weight: 400; color: var(--text-3); padding: 0 3px; border: 1px solid #e5e5e5; border-radius: 3px; line-height: 14px; }
.city-picker .cp-prov:hover small, .city-picker .cp-prov.on small { color: var(--primary); border-color: #ffc9c0; }
.city-picker .cp-city.on { color: var(--primary); font-weight: 600; }
.city-picker .cp-note { display: flex; flex-wrap: wrap; gap: 4px 10px; }
.city-picker .cp-city, .city-picker .cp-city:visited { color: var(--text-2); }
.city-picker .cp-city:hover, .city-picker .cp-city.on { color: var(--primary); }
.city-picker .cp-prov, .city-picker .cp-prov:visited { color: var(--text); }
.city-picker .cp-prov:hover, .city-picker .cp-prov.on { color: var(--primary); }
.city-picker .cp-row dd .cp-soon { color: #c4c4c4; cursor: default; }
.city-picker .cp-note > span:first-child { flex-basis: 100%; color: var(--text-3); }
.article-body { font-size: 15px; line-height: 1.9; color: #333; }
.article-body p { margin: 0 0 1.2em; }
.article-body h2 { font-size: 18px; line-height: 1.5; margin: 32px 0 14px; padding: 0 0 10px; border-left: 0; border-bottom: 1px solid var(--line); }
.article-body h3 { font-size: 16px; margin: 22px 0 10px; }
.article-body ul, .article-body ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.article-body li { margin: 6px 0; }
.article-body li::marker { color: #e8590c; }
.article-body table { margin: 8px 0 22px; border: 1px solid var(--line); border-radius: 8px; border-collapse: separate; border-spacing: 0; overflow: hidden; }
.article-body th, .article-body td { border: 0; border-bottom: 1px solid #f3f3f3; padding: 10px 14px; }
.article-body th { background: #fafafa; font-weight: 600; border-bottom-color: var(--line); }
.article-body tr:last-child td { border-bottom: 0; }
.art-sp { border: 1px solid var(--line); border-radius: 12px; padding: 16px 16px 8px; margin: 6px 0 26px; background: #fcfcfc; }
.article-body a.art-sp-head { display: flex; gap: 14px; align-items: center; color: var(--text); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.art-sp-head img, .art-sp-head > i { flex: none; width: 64px; height: 64px; object-fit: contain; background: #fff; border-radius: 8px; border: 1px solid #f0f0f0; padding: 4px; box-sizing: border-box; }
.art-sp-head > i { display: flex; align-items: center; justify-content: center; font-style: normal; color: #ccc; font-weight: 700; }
.art-sp-info { display: flex; flex-direction: column; gap: 3px; min-width: 0; line-height: 1.6; }
.art-sp-name { display: flex; align-items: center; gap: 8px; }
.art-sp-name b { font-size: 14px; }
.article-body a.art-sp-head:hover .art-sp-name b { color: var(--primary); }
.art-sp-name small { font-size: 12px; color: var(--text-3); }
.art-sp-name em { font-style: normal; font-size: 11px; line-height: 18px; padding: 0 6px; border-radius: 3px; background: #ebfbee; color: #2b8a3e; border: 1px solid #b2f2bb; }
.art-sp-sum { font-size: 13px; color: var(--text-2); }
.art-sp-facts { display: flex; gap: 6px; }
.art-sp-facts span { font-size: 11px; line-height: 18px; padding: 0 6px; border-radius: 3px; background: #f5f5f5; color: var(--text-3); }
.art-sp-label { display: flex; justify-content: space-between; align-items: center; padding: 10px 2px 8px; font-size: 12px; line-height: 1.6; color: var(--text-3); }
.article-body .art-sp-label a { color: var(--primary); font-size: 13px; }
.article-body .art-sp .products.mini { margin: 0 0 6px; }
.tabbar, .to-top, .cp-close { display: none; }

/* ---- mobile.css（窄屏）---- */
@media (max-width: 767px) {
  html { -webkit-text-size-adjust: 100%; }
  body { font-size: 14px; padding-bottom: calc(56px + env(safe-area-inset-bottom)); overflow-x: hidden; }
  img { max-width: 100%; }
  .city-switch > svg, .city-switch > b { display: none; }
  .city-switch:hover .city-picker, .city-switch:focus-within .city-picker { display: none; }
  html.cp-open, html.cp-open body { overflow: hidden; }
  html.cp-open .city-picker { display: block !important; position: fixed; z-index: 1000; inset: 0; width: auto; margin: 0; padding: 0;
  border: 0; border-radius: 0; background: #fff; box-shadow: none; overflow: hidden; }
  .city-picker .cp-head { position: sticky; top: 0; align-items: center; height: 52px; margin: 0; padding: 0 16px; background: #fff; border-bottom: 1px solid var(--line); }
  .city-picker .cp-head b { font-size: 16px; margin-right: auto; }
  .city-picker .cp-head a { margin-right: 16px; font-size: 13px; }
  .cp-close { display: inline-block; border: 0; background: none; font-size: 15px; color: var(--text-2); padding: 8px 0 8px 8px; }
  .city-picker .cp-body { max-height: calc(100vh - 52px); padding: 4px 16px 24px; -webkit-overflow-scrolling: touch; }
  .city-picker .cp-row { flex-direction: column; gap: 6px; padding: 8px 0; }
  .city-picker .cp-row dt { width: auto; }
  .city-picker .cp-row dd { gap: 8px; }
  .city-picker .cp-row dd a, .city-picker .cp-row dd span { padding: 6px 12px; border-radius: 16px; background: #f5f5f5; font-size: 13px; }
  .city-picker .cp-city.on { background: var(--primary-soft); }
  .tabbar { display: flex; position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; height: calc(56px + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom); background: #fff; border-top: 1px solid #ececec; }
  .tabbar a { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11px; color: #888; }
  .tabbar svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
  .tabbar a.on { color: var(--primary); }
  .to-top:not([hidden]) { display: grid; place-items: center; position: fixed; z-index: 80; right: 14px; bottom: calc(72px + env(safe-area-inset-bottom));
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid #ececec; background: rgba(255,255,255,.95); color: #666; }
  .to-top svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  h1 { font-size: 20px; }
  .products, .products.mini { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 8px !important; }
  .product { border: 0; border-radius: 8px; }
  .product:hover { box-shadow: none; transform: none; }
  .product-img, .products.mini .product-img { aspect-ratio: 1 / 1; }
  .product-img img { padding: 8px; }
  .product-title, .products.mini .product-title { height: 40px; line-height: 20px; padding: 8px 8px 0; font-size: 13px; }
  .product-foot, .products.mini .product-foot { padding: 4px 8px 10px; }
  .product-price b { font-size: 16px; }
  .product-buy { font-size: 11px; }
  .product-img, .products.mini .product-img { aspect-ratio: 4 / 3; }
  .article-body img { max-height: 220px; width: auto; margin: 8px auto; display: block; border-radius: 8px; }
  .product-title, .products.mini .product-title { height: auto; min-height: 48px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}
