/* The mobile adaptations do not depend on PC layout rules. */
.mps-sections[data-template-id^="mobile-reference-"] { display:flex;flex-direction:column;color:#202732; padding:0 10px 16px; }
.mps-sections[data-template-id^="mobile-reference-"] > .mps-band { margin:0; padding:12px; border:0; border-radius:0; box-shadow:none; background:#fff; min-width:0; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-inner { width:100%; max-width:none; margin:0; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-heading { margin:0 0 10px; font-size:16px; font-weight:700; color:#202732; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-band-carousel { overflow:hidden; border-radius:8px; padding:0; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-carousel-track { aspect-ratio:1480 / 780; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-shortcuts { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:5px; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-shortcuts a { display:flex; flex-direction:column; align-items:center; gap:7px; padding:2px 0; min-width:0; border:0; background:transparent; font-size:12px; line-height:1.5; text-align:center; color:#252a33; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-shortcut-icon { width:40px; height:40px; padding:0; background:transparent; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-shortcut-icon img { width:100%; height:100%; object-fit:contain; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-shop-grid { gap:var(--mps-gap,10px); }
.mps-sections[data-template-id^="mobile-reference-"] .mps-shop-product { min-width:0; border:1px solid #edf0f4; border-radius:6px; box-shadow:none; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-shop-info { padding:10px; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-shop-info h3 { font-size:13px; line-height:1.6; color:#252a33; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-shop-info strong { font-size:16px; color:var(--mps-accent,#e94943); }
.mps-sections[data-template-id^="mobile-reference-"] .mps-shop-search { min-width:0; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-shop-search input { width:0; flex:1; min-width:0; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-shop-search button { flex:none; padding:8px 14px; border-radius:6px; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-shop-categories button { font-size:13px; }
.mps-sections[data-template-id^="mobile-reference-sky-"] { background:#eff6ff url('/mobile/assets/reference/top-blue.png') center top / 100% auto no-repeat; }
.mps-sections[data-template-id^="mobile-reference-gold-"] { background:#fffaf0 url('/mobile/assets/reference/top-yellow.png') center top / 100% auto no-repeat; }
.mps-sections:is([data-template-id^="mobile-reference-sky-"],[data-template-id^="mobile-reference-gold-"]) > .mps-band-search { background:transparent; padding:10px 0 0; }
body[data-app="mall-mobile"][data-template-id^="mobile-reference-coral-"] > .mobile-header { background:#ff6650; color:#fff; }
body[data-app="mall-mobile"][data-template-id^="mobile-reference-ocean-"] > .mobile-header { background:#4577e6; color:#fff; }
body[data-app="mall-mobile"][data-template-id^="mobile-reference-sun-"] > .mobile-header { background:#ed614c; color:#fff; }
body[data-app="mall-mobile"][data-template-id^="mobile-reference-"] > .mobile-header a { color:inherit; }
@media (max-width:359px) {
  .mps-sections[data-template-id^="mobile-reference-"] .mps-shortcuts { gap:3px; }
  .mps-sections[data-template-id^="mobile-reference-"] .mps-shortcuts a { font-size:11px; }
  .mps-sections[data-template-id^="mobile-reference-"] .mps-shortcut-icon { width:34px; height:34px; }
}

/* mobile-home-qqkami：红橙轮播、横向今日上新、三列分类与关注公告。 */
body[data-app="mall-mobile"][data-template-id="mobile-home-qqkami"] {
  --mo-accent:#f15b3a;
  --qqkami-orange:#ff9a3d;
  --qqkami-red:#f15b3a;
  background:#f6f7f9;
}
body[data-app="mall-mobile"][data-template-id="mobile-home-qqkami"] .mobile-header {
  background:linear-gradient(112deg,var(--qqkami-red),var(--qqkami-orange));
  color:#fff;
  box-shadow:none;
}
body[data-app="mall-mobile"][data-template-id="mobile-home-qqkami"] .mobile-header :is(a,button),
body[data-app="mall-mobile"][data-template-id="mobile-home-qqkami"] .mobile-brand { color:#fff; }
body[data-app="mall-mobile"][data-template-id="mobile-home-qqkami"] #mobileCatalogSearchForm {
  margin:10px 0 0;
  border:0;
  border-radius:999px;
  box-shadow:0 2px 12px rgb(241 91 58 / 12%);
}
.mps-sections[data-template-id="mobile-home-qqkami"] {
  width:100%;
  min-width:0;
  gap:10px;
  padding:10px 12px 20px;
  overflow:hidden;
  color:#292d36;
}
.mps-sections[data-template-id="mobile-home-qqkami"] > .mps-band {
  width:100%;
  min-width:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
}
.mps-sections[data-template-id="mobile-home-qqkami"] .mps-inner { width:100%;min-width:0;max-width:none;margin:0; }
.mps-sections[data-template-id="mobile-home-qqkami"] .mps-heading {
  margin:0 0 8px;
  padding:0 2px;
  color:#292d36;
  font-size:16px;
  line-height:1.5;
}
/* 红橙主视觉的背景在图片加载失败时仍保持可识别的品牌色。 */
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-hero"].mps-band-carousel,
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-hero"] .mps-carousel {
  overflow:hidden;
  border-radius:12px;
  background:linear-gradient(120deg,var(--qqkami-red),var(--qqkami-orange));
}
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-hero"] .mps-carousel-track { aspect-ratio:2.25 / 1; }
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-hero"] .mps-carousel-slide .mps-image { object-fit:cover; }
/* 今日上新使用真实 product_grid 数据，rail 只控制展示密度和滑动行为。 */
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-today-new"] .mps-shop-grid {
  display:grid;
  grid-template-columns:none !important;
  grid-auto-flow:column;
  grid-auto-columns:minmax(144px,42%);
  gap:10px;
  min-width:0;
  padding:0 0 8px;
  overflow-x:auto;
  overscroll-behavior-inline:contain;
  scroll-snap-type:x proximity;
  scrollbar-width:none;
}
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-today-new"] .mps-shop-grid::-webkit-scrollbar { display:none; }
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-today-new"] .mps-shop-product {
  min-width:0;
  padding:8px;
  border:1px solid #f0e6e1;
  border-radius:12px;
  background:#fff;
  box-shadow:0 3px 12px rgb(66 35 24 / 6%);
  scroll-snap-align:start;
}
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-today-new"] .mps-shop-cover { height:auto;aspect-ratio:1;border-radius:8px;background:#fff7f3; }
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-today-new"] .mps-shop-info { min-width:0;padding:8px 2px 0;gap:4px; }
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-today-new"] .mps-shop-info h3 { min-height:38px;margin:0;font-size:12px;line-height:1.55; }
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-today-new"] .mps-shop-info strong { color:var(--qqkami-red);font-size:15px; }
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-today-new"] .store-product-buy { min-height:32px;padding:4px 8px;border:0;border-radius:999px;background:#fff0eb;color:var(--qqkami-red);font-size:11px; }
/* 分组分类由 mobile-theme 的真实分类树生成，限制为三列入口。 */
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-categories"] .mo-category-groups { gap:10px; }
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-categories"] .mo-category-group { min-width:0;padding:12px;border:1px solid #f0edf0;border-radius:12px;background:#fff;box-shadow:0 3px 12px rgb(46 37 29 / 4%); }
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-categories"] .mo-category-group header { margin-bottom:8px; }
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-categories"] .mo-category-grid { grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 6px; }
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-categories"] .mo-category { min-width:0;min-height:48px;gap:4px;padding:3px 0;flex-direction:column;align-items:center;text-align:center;font-size:11px!important; }
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-categories"] .mo-category-image { width:30px;height:30px;border-radius:8px;background:#fff0eb;color:var(--qqkami-red); }
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-categories"] .mo-category-copy { min-width:0;max-width:100%; }
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-categories"] .mo-category-copy small { display:none; }
/* 公告条保持轻量白卡，内容仍由 MallAnnouncements 从真实公告接口填充。 */
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-notice"] .mps-notice-bar {
  min-width:0;
  min-height:40px;
  padding:8px 10px;
  border:1px solid #ffd4b7;
  border-radius:10px;
  background:#fff8f2;
  box-shadow:none;
  color:#b85a32;
  font-size:12px;
}
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-notice"] .mps-notice-bar > svg { color:var(--qqkami-red); }
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-notice"] .mps-notice-title { flex:none;color:#9f4d2b;font-weight:700; }
.mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-notice"] .mps-notice-text { min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
/* QQKAMI 以四项导航呈现：首页、目录、消息、我的；购物车能力仍保留在路由与接口中。 */
body[data-app="mall-mobile"][data-template-id="mobile-home-qqkami"] .bottom-nav { grid-template-columns:repeat(4,minmax(0,1fr)); }
body[data-app="mall-mobile"][data-template-id="mobile-home-qqkami"] :is(.mobile-header-actions,.bottom-nav,.mps-mobile-header-links,.mps-essential-nav) a[href="#cart"] { display:none!important; }
@media (max-width:359px) {
  .mps-sections[data-template-id="mobile-home-qqkami"] { padding-inline:8px; }
  .mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-today-new"] .mps-shop-grid { grid-auto-columns:minmax(136px,44%); }
  .mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-categories"] .mo-category-group { padding:10px; }
  .mps-sections[data-template-id="mobile-home-qqkami"] [data-section-id="qqkami-categories"] .mo-category-grid { gap:7px 4px; }
}

/* Source template 42 has a one-third category rail and compact product rows. */
:is(#storeContent,.mps-preview) > .mps-sections[data-template-id="mobile-reference-coral-42"] { display:grid;grid-template-columns:minmax(96px,1fr) minmax(0,2fr);padding:0 0 16px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] > .mps-band { grid-column:1 / -1;padding:0;background:transparent; }
.mps-sections[data-template-id="mobile-reference-coral-42"] > [data-section-id="reference-banner"] { margin:12px 13px;width:calc(100% - 26px);border-radius:6px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] > [data-section-id="reference-notice"] { margin:0 13px 12px;width:calc(100% - 26px); }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-notice-bar { min-height:40px;border:1px solid #ffba87;border-radius:6px;background:#fff6ef;color:var(--mps-accent);box-shadow:none; }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-notice-bar > svg,.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-notice-text { color:var(--mps-accent); }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-notice-title,.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-notice-divider { display:none; }
.mps-sections[data-template-id="mobile-reference-coral-42"] > [data-section-id="reference-recommendations"] { border-radius:12px 12px 0 0;background:linear-gradient(135deg,#ff8d37,#ff6650);color:#fff; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-recommendations"] .mps-inner { display:flex;align-items:center;min-height:40px;padding:0 13px;gap:12px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-recommendations"] .mps-heading { flex:none;min-height:0;margin:0;padding:0;border:0;background:none;color:#fff;font-size:13px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-recommendations"] .mps-commerce-slot { flex:1;min-width:0; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-recommendations"] .mps-shop-grid { display:flex;gap:12px;overflow:auto;scroll-snap-type:x mandatory;padding:0;scrollbar-width:none; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-recommendations"] .mps-shop-grid::-webkit-scrollbar { display:none; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-recommendations"] .mps-shop-product { flex:0 0 100%;border:0;border-radius:0;background:none;scroll-snap-align:start; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-recommendations"] :is(.mps-shop-cover,.mps-shop-category,.mps-shop-info strong) { display:none; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-recommendations"] .mps-shop-info { display:flex;flex-direction:row;align-items:center;padding:0;min-height:40px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-recommendations"] .mps-shop-info h3 { color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;flex:1; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-recommendations"] .mps-shop-info button { min-height:32px;flex:none;padding:2px 5px;background:transparent;color:#fff; }
.mps-sections[data-template-id="mobile-reference-coral-42"] > [data-section-id="reference-categories"] { grid-column:1;grid-row:4;align-self:stretch;background:linear-gradient(135deg,#ff8d37,#ff6650); }
.mps-sections[data-template-id="mobile-reference-coral-42"] > [data-section-id="reference-catalog"] { grid-column:2;grid-row:4;background:#fff; }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-shop-categories { display:block;max-height:900px;overflow:auto; }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-shop-categories button { display:block;width:100%;min-width:0;min-height:44px;padding:10px 13px;border:0;border-radius:0;background:none;color:#fff;box-shadow:none;text-align:left;font-size:12px;line-height:1.5;overflow-wrap:anywhere; }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-shop-categories button[aria-pressed="true"] { background:rgb(0 0 0 / 8%); }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-category-branch summary { display:flex;align-items:center;cursor:pointer;color:#fff; }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-category-branch summary button { flex:1;width:0; }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-category-branch summary::after { content:"\203A";margin-right:8px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-category-branch[open] > summary::after { transform:rotate(90deg); }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-category-branch > button { padding-left:22px;background:rgb(255 255 255 / 8%); }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-catalog"] .mps-shop-grid { display:grid;grid-template-columns:minmax(0,1fr);gap:0; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-catalog"] .mps-shop-product { display:grid;grid-template-columns:64px minmax(0,1fr);align-items:start;padding:12px 10px;gap:8px;border:0;border-bottom:1px solid #f0f0f0;border-radius:0; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-catalog"] .mps-shop-cover { width:64px;height:64px;min-height:0;aspect-ratio:1;border-radius:6px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-catalog"] .mps-shop-info { padding:0;gap:4px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-catalog"] .mps-shop-info h3 { font-size:13px;line-height:1.4;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-catalog"] .mps-shop-category { order:1;align-self:flex-start;padding:1px 4px;background:#1677ff;color:#fff;font-size:10px;border-radius:2px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-catalog"] .mps-shop-info strong { order:2;font-size:14px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] [data-section-id="reference-catalog"] .mps-shop-info button { order:3;align-self:flex-end;min-height:32px;padding:3px 6px;font-size:11px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-reference-search { display:flex;gap:4px;margin:12px 10px;border:1px solid var(--mps-accent);border-radius:20px;background:#fff;padding:3px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-reference-search input { min-width:0;width:0;flex:1;border:0;background:transparent;padding:4px 6px;font-size:12px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-reference-search button { padding:4px 10px;min-height:28px;border-radius:16px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-reference-pager { display:flex;justify-content:center;align-items:center;gap:6px;padding:12px 4px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-reference-pager button { min-height:36px;padding:4px;border:1px solid #ededed;border-radius:4px;background:#fff;font-size:12px; }
.mps-sections[data-template-id="mobile-reference-coral-42"] .mps-reference-pager button:disabled { opacity:.45; }
.mps-band[style*="--mps-media-height"] .mps-carousel-track { height:var(--mps-media-height);min-height:0;aspect-ratio:auto; }
.mps-sections[data-template-id^="mobile-reference-"] .mps-band[style*="--mps-media-height"] .mps-carousel { height:auto; }
.mps-band[style*="--mps-media-fit"] .mps-carousel-slide .mps-image { object-fit:var(--mps-media-fit); }
body[data-app="mall-mobile"][data-template-id="mobile-reference-coral-42"] > .mobile-header { background:linear-gradient(135deg,#ff8d37,#ff6650); }

/* mobile-home-modern 模板（frontend-ui-kimi-20260926）：圆角轮播、胶囊分类、双列商品卡与主次按钮层级。仅作用于本模板。 */
.mps-sections[data-template-id="mobile-home-modern"] { padding:0 12px 16px; color:#232a35; }
.mps-sections[data-template-id="mobile-home-modern"] > .mps-band {
  margin:0; padding:14px 0; min-width:0; border:0; border-radius:0; box-shadow:none; background:transparent;
}
.mps-sections[data-template-id="mobile-home-modern"] .mps-inner { width:100%; max-width:none; margin:0; }
.mps-sections[data-template-id="mobile-home-modern"] .mps-heading { margin:0 0 12px; font-size:16px; font-weight:700; color:#1d2430; }
/* 主视觉轮播：圆角通栏，圆角值来自区块 appearance。 */
.mps-sections[data-template-id="mobile-home-modern"] .mps-band-carousel { padding:0; overflow:hidden; }
.mps-sections[data-template-id="mobile-home-modern"] .mps-carousel-track { aspect-ratio:2.4 / 1; }
.mps-sections[data-template-id="mobile-home-modern"] .mps-carousel-slide .mps-image { object-fit:cover; }
/* 公告：细条弱层级。 */
.mps-sections[data-template-id="mobile-home-modern"] .mps-band-notice { padding:0; }
.mps-sections[data-template-id="mobile-home-modern"] .mps-notice-bar {
  min-height:38px; border:0; border-radius:999px; background:rgb(47 107 255 / 7%); box-shadow:none; font-size:12px;
}
.mps-sections[data-template-id="mobile-home-modern"] .mps-notice-bar > svg { color:var(--mps-accent,#2f6bff); }
/* 分类入口：可换行胶囊按钮。 */
.mps-sections[data-template-id="mobile-home-modern"] .mps-shop-categories { display:flex; flex-wrap:wrap; gap:8px; }
.mps-sections[data-template-id="mobile-home-modern"] .mps-shop-categories button {
  width:auto; min-width:0; min-height:38px; padding:0 14px; border:1px solid #e2e7ef; border-radius:999px;
  background:#fff; color:#3d4756; box-shadow:none; font-size:12px;
}
.mps-sections[data-template-id="mobile-home-modern"] .mps-shop-categories button:hover {
  border-color:var(--mps-accent,#2f6bff); color:var(--mps-accent,#2f6bff); background:rgb(47 107 255 / 6%);
}
/* 商品卡：双列细边框；标题两行截断，立即购买为唯一实心主按钮。 */
.mps-sections[data-template-id="mobile-home-modern"] .mps-shop-grid { gap:var(--mps-gap,10px); }
.mps-sections[data-template-id="mobile-home-modern"] .mps-shop-product {
  min-width:0; border:1px solid #e8ecf2; border-radius:12px; box-shadow:none; background:#fff;
}
.mps-sections[data-template-id="mobile-home-modern"] .mps-shop-cover { background:#f4f6f9; }
.mps-sections[data-template-id="mobile-home-modern"] .mps-shop-info { padding:10px 12px 12px; }
.mps-sections[data-template-id="mobile-home-modern"] .mps-shop-info h3 { font-size:13px; color:#232a35; }
.mps-sections[data-template-id="mobile-home-modern"] .mps-shop-info strong { font-size:16px; color:var(--mps-accent,#2f6bff); }
.mps-sections[data-template-id="mobile-home-modern"] .store-product-tile .store-product-buy {
  min-height:36px; padding:4px 14px; border:0; border-radius:999px;
  background:var(--mps-accent,#2f6bff); color:#fff; font-weight:600;
}
.mps-sections[data-template-id="mobile-home-modern"] .store-product-tile .store-product-buy:disabled { background:#eef1f6; color:#98a2b3; }
/* 空态沿用现有渲染，统一虚线外观。 */
.mps-sections[data-template-id="mobile-home-modern"] .mps-shop-status {
  display:grid; place-items:center; min-height:56px; margin:0; padding:12px;
  border:1px dashed #dbe2ec; border-radius:12px; background:transparent; color:#8a94a6; font-size:12px;
}
/* 服务捷径：图标圆点 + 文字，不叠卡片。 */
.mps-sections[data-template-id="mobile-home-modern"] .mps-shortcuts { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:6px; }
.mps-sections[data-template-id="mobile-home-modern"] .mps-shortcuts a {
  display:flex; flex-direction:column; align-items:center; gap:7px; min-width:0; padding:2px 0;
  border:0; background:transparent; font-size:12px; line-height:1.5; text-align:center; color:#3d4756;
}
.mps-sections[data-template-id="mobile-home-modern"] .mps-shortcut-icon { width:40px; height:40px; padding:0; }
/* 320px 窄屏：捷径收紧、保持文字可读与点击区域。 */
@media (max-width:359px) {
  .mps-sections[data-template-id="mobile-home-modern"] { padding:0 8px 14px; }
  .mps-sections[data-template-id="mobile-home-modern"] .mps-shortcuts { gap:3px; }
  .mps-sections[data-template-id="mobile-home-modern"] .mps-shortcuts a { font-size:11px; }
  .mps-sections[data-template-id="mobile-home-modern"] .mps-shortcut-icon { width:34px; height:34px; }
  .mps-sections[data-template-id="mobile-home-modern"] .mps-shop-categories button { padding:0 11px; }
}
