/* The storefront has its own composition and palette; business facts remain in shop.mjs. */
.shop-shell {
  --blue: #526581;
  --blue-hover: #40536f;
  --blue-soft: #eaf0f8;
  --shop-accent: #ad4b31;
  --shop-neutral: #f6f5f8;
  --shop-ink: #24283a;
  --shop-muted: #65687a;
  --shop-border: #e3e2e9;
  --ink: var(--shop-ink);
  --muted: var(--shop-muted);
  --line: var(--shop-border);
/* 令牌化色板：值全部取自本文件原有硬编码，替换后渲染结果等价。 */
  --shop-surface: #fff;
  --shop-surface-2: var(--shop-neutral);
  --shop-surface-3: #f4f3f7;
  --shop-text-1: var(--shop-ink);
  --shop-text-2: var(--shop-muted);
  --shop-text-3: #626476;
  --shop-text-inv: #fff;
  --shop-line-1: #ecebf0;
  --shop-line-2: #b9bbce;
  --shop-line-soft: #ecebf1;
  --shop-line-panel: #dcdde7;
  --shop-shadow-1: #20264105;
  --shop-brand: var(--blue);
  --shop-brand-hover: var(--blue-hover);
  --shop-brand-soft: var(--blue-soft);
  --shop-brand-ring: rgb(82 101 129 / 14%);
  --shop-brand-name: #232a46;
  --shop-brand-sub: #747789;
  --shop-price: var(--shop-accent);
  --shop-price-note: #656276;
  --shop-price-prefix: #757389;
  --shop-price-unknown: #6d6471;
  --shop-price-flag-fg: #75654f;
  --shop-price-flag-bg: #f5efe3;
  --shop-hero-bg: #eceaf4;
  --shop-hero-text: #282941;
  --shop-hero-body: #65637b;
  --shop-hero-price-text: #45465b;
  --shop-hero-price-note: #75738b;
  --shop-hero-product-name: #35364e;
  --shop-hero-product-note: #75728c;
  --shop-footer-bg: #45566f;
  --shop-footer-text: #e7eaf0;
  --shop-footer-title: #eef0f7;
  --shop-footer-note: #d9dfeb;
  --shop-footer-divider: #ffffff25;
  --shop-topbar-link: #e7e9f3;
  --shop-nav-bg: #fff;
  --shop-nav-text: #54586d;
  --shop-nav-border: #ecebf0;
  --shop-navigation-note: #737789;
  --shop-ok-bg: var(--ok-bg, #e7f6ee);
  --shop-ok-fg: var(--ok-text, #0b7a52);
  --shop-warn-bg: #fff6e7;
  --shop-warn-fg: #7c6347;
  --shop-warn-border: #f0e3cb;
  --shop-danger-bg: var(--bad-bg, #fef3f2);
  --shop-danger-fg: var(--bad-text, #b42318);
  --shop-search-placeholder: #657388;
  --shop-search-icon: #777b90;
  --shop-suggestion-text: #747589;
  --shop-account-text: #4f5469;
  --shop-control-border: #d8d9e4;
  --shop-business-text: #343951;
  --shop-business-hint: #707486;
  --shop-department-title: #30364f;
  --shop-category-item: #555b6f;
  --shop-category-count: #7d8092;
  --shop-category-active-bg: #fcf1eb;
  --shop-feature-bg: #e9eef7;
  --shop-feature-text: #323d5e;
  --shop-feature-note-soft: #687392;
  --shop-feature-note: #586683;
  --shop-feature-alt-bg: #faebdf;
  --shop-feature-alt-text: #77472d;
  --shop-feature-alt-note-soft: #8c614c;
  --shop-feature-alt-note: #82503d;
  --shop-rental-label: #343952;
  --shop-rental-note: #7c7c8e;
  --shop-field-label: #6d6f82;
  --shop-save-state: #787b8d;
  --shop-section-title: #2c3047;
  --shop-section-note: #7d7c8e;
  --shop-filter-label: #757487;
  --shop-filter-action: #787789;
  --shop-card-border: #e5e3eb;
  --shop-card-shadow: #252d4910;
  --shop-product-name: #35374e;
  --shop-product-sub: #7d7a8a;
  --shop-product-unit: #827a80;
  --shop-product-detail-action: #6b687f;
  --shop-estimate-text: #7a7b8d;
  --shop-estimate-border: #f0eff3;
  --shop-estimate-strong: #545365;
  --shop-estimate-note: #85808b;
  --shop-inventory-note: #7e7d8d;
  --shop-detail-title: #33364e;
  --shop-page-title: #30344e;
  --shop-page-note: #7b7b8e;
  --shop-panel-head-bg: #fcfcfd;
  --shop-cart-total-border: #e3e1ea;
  --shop-selection-bg: #edcdbd;
  --shop-selection-text: #302a2b;
  --shop-scrollbar-thumb: #c8c7d3;
  --shop-detail-image-bg: #f8f8fa;
  --shop-price-band-bg: #f7f3f0;
  --shop-detail-group-title: #36394f;
  --shop-kit-row-border: #f0eff4;
  --shop-fact-value: #35394f;
  --shop-cart-thumb-bg: #f7f7fa;
  --shop-cart-item-title: #31364d;
  --shop-cart-kit-toggle: #515870;
  --shop-checkout-quantity: #3b4056;
/* 内容区唯一基准：顶栏 / 头部 / 导航条 / 主体 / 页脚共用，消除宽屏错位。 */
  --shop-content-max: 1284px;
  --shop-content-gutter: 30px;
  --shop-shell-max: calc(var(--shop-content-max) + var(--shop-content-gutter) * 2);
  min-width: 0;
  min-height: 100vh;
  color: var(--shop-ink);
  background: var(--shop-neutral);
  line-height: 1.5;
}
.shop-shell[data-business="xingliu"] { --shop-accent: #00767d; }
.shop-shell svg { width: 20px; height: 20px; flex: 0 0 auto; }
.shop-shell button,
.shop-shell input,
.shop-shell select { font: inherit; }
.shop-shell button { -webkit-tap-highlight-color: transparent; transition: background-color var(--feedback) var(--ease-out), color var(--feedback) var(--ease-out), border-color var(--feedback) var(--ease-out), box-shadow var(--feedback) var(--ease-out), transform var(--feedback) var(--ease-out); }
.shop-shell button:not(:disabled):active { transform: translateY(1px) scale(.97); }
.shop-shell .button { border-radius: var(--radius-control); min-height: 38px; font-weight: 600; }
.shop-shell .button:not(:disabled):active { transform: translateY(1px) scale(.97); }
.shop-shell .button.primary { background: var(--blue); border-color: var(--blue); color: var(--shop-text-inv); }
.shop-shell .button.primary:hover:not(:disabled) { background: var(--blue-hover); border-color: var(--blue-hover); }
.shop-shell .button:disabled { opacity: .48; transform: none; }
.shop-shell a { color: inherit; text-decoration: none; }
.shop-shell button:focus-visible,
.shop-shell a:focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 3px; }
.shop-shell input:focus,
.shop-shell select:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--shop-brand-ring); }
.shop-shell input::placeholder { color: var(--shop-search-placeholder); }
.shop-shell .shop-top {
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 max(var(--shop-content-gutter), calc((100% - var(--shop-content-max)) / 2));
  color: var(--shop-footer-text);
  background: var(--shop-footer-bg);
  font-size: 12px;
}
.shop-top-links { display: flex; align-items: center; gap: 18px; flex-shrink: 0; flex-wrap: wrap; }
.shop-top a,
.shop-top button,
.shop-top-pending { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--shop-topbar-link); }
.shop-top svg { width: 16px; height: 16px; }
.shop-top-pending { color: var(--shop-footer-note); }
.shop-top a:hover,
.shop-top button:hover { color: var(--shop-text-inv); }
.shop-top button { border: 0; background: transparent; padding: 0; font-size: inherit; }
.shop-top a:focus-visible,
.shop-top button:focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 2px; box-shadow: 0 0 0 4px var(--shop-brand-ring); }
.shop-utility { border: 0; background: transparent; padding: 0; color: inherit; font-size: inherit; }
.shop-shell .shop-header {
  max-width: var(--shop-shell-max);
  margin: 0 auto;
  min-height: 64px;
  padding: 0 var(--shop-content-gutter);
  display: grid;
  grid-template-columns: minmax(0, auto) minmax(0, 1fr) minmax(0, auto);
  align-items: center;
  gap: 24px;
  background: transparent;
  border: 0;
}
/* 白色带高度 = 顶栏 44 + 头部 64 + 导航条 48，与三个区域的实际高度对齐。 */
.shop-shell:has(.shop-header) { background: linear-gradient(var(--shop-surface) 0 156px, var(--shop-neutral) 156px); }
.shop-shell .shop-brand { display: flex; align-items: center; gap: 10px; min-height: 44px; color: var(--shop-brand-name); font-size: 22px; font-weight: 800; letter-spacing: .01em; }
.shop-shell .shop-brand-mark { width: 34px; height: 34px; color: var(--shop-accent); }
.shop-brand small { display: block; color: var(--shop-brand-sub); font-size: 12px; font-weight: 500; letter-spacing: .1em; margin-top: 2px; }
.shop-search-block { min-width: 0; position: relative; justify-self: center; display: flex; align-items: center; }
.shop-search-switch,
.shop-search-trigger { display: none; }
.shop-search-panel { display: flex; flex-direction: column; align-items: stretch; min-width: 0; }
.shop-shell .shop-search { display: flex; align-items: center; gap: 10px; width: 320px; max-width: 100%; border: 2px solid var(--blue); border-radius: var(--radius-control); padding-left: 13px; background: var(--shop-surface); transition: box-shadow var(--feedback) var(--ease-out), border-color var(--feedback) var(--ease-out); }
.shop-search > svg { color: var(--shop-search-icon); width: 19px; height: 19px; }
.shop-shell .shop-search input { width: 100%; flex: 1; min-width: 0; border: 0; background: transparent; padding: 11px 0; outline: 0; box-shadow: none; height: 44px; font-size: 14px; }
.shop-shell .shop-search .button { border-radius: 0 9px 9px 0; min-height: 44px; padding-inline: 24px; }
.shop-search:focus-within { box-shadow: 0 0 0 4px var(--shop-brand-ring); }
.shop-shell .shop-search .button:hover:not(:active):not(:disabled) { transform: none; }
/* 关键词改为聚焦时下拉，让头部能压到 64px 又不丢入口。 */
.shop-search-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  z-index: 6;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  width: 320px;
  max-width: 100%;
  padding: 12px;
  background: var(--surface-solid, var(--shop-surface));
  border: 1px solid var(--n-200, var(--shop-line-1));
  border-radius: 10px;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--feedback) var(--ease-out);
}
.shop-search-block:focus-within .shop-search-suggestions { visibility: visible; opacity: 1; }
.shop-search-suggestions button { border: 0; background: transparent; color: var(--shop-suggestion-text); padding: 0 1px; min-height: 24px; font-size: 12px; }
.shop-search-suggestions button:hover { color: var(--shop-accent); }
.shop-shell .shop-account { display: flex; gap: 10px; align-items: center; flex-wrap: nowrap; }
.shop-shell .shop-account .button.text { font-size: 12px; color: var(--shop-account-text); gap: 7px; max-width: 180px; white-space: normal; padding-inline: 6px; min-height: 44px; }
.shop-shell .shop-account .button.text svg { width: 17px; height: 17px; }
.shop-shell .shop-cart-button { gap: 8px; padding-inline: 13px; min-height: 44px; border-color: var(--shop-control-border); background: var(--shop-surface); }
.shop-cart-button svg { width: 19px; }
.shop-shell #cart-count { display: grid; place-items: center; min-width: 22px; height: 22px; padding-inline: 5px; font-size: 11px; font-weight: 700; color: var(--shop-text-inv); background: var(--shop-accent); border-radius: 12px; }
.shop-navigation-band { display: flex; align-items: center; flex-wrap: nowrap; gap: 24px; min-height: 48px; padding-inline: max(var(--shop-content-gutter), calc((100% - var(--shop-content-max)) / 2)); border-block: 1px solid var(--shop-nav-border); background: var(--shop-nav-bg); }
/* 一级分类直达：窄屏按断点收敛，保证导航条不横向溢出。 */
.shop-nav-cats { display: flex; align-items: center; gap: 14px; flex: 0 1 auto; min-width: 0; overflow: hidden; }
.shop-nav-cat { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 2px; border: 0; background: transparent; color: var(--shop-nav-text); font-size: 13px; font-weight: 600; white-space: nowrap; }
.shop-nav-cat:hover { color: var(--shop-accent); }
.shop-nav-cat:focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 2px; box-shadow: 0 0 0 4px var(--shop-brand-ring); }
.shop-nav-cat-all { color: var(--shop-text-1); }
.shop-nav-cat svg { width: 15px; height: 15px; }
.shop-shell .shop-nav-cart { margin-left: auto; flex: 0 0 auto; min-height: 44px; gap: 8px; font-size: 12px; }
.shop-shell .shop-nav-cart #cart-count { min-width: 24px; height: 24px; font-size: 12px; font-variant-numeric: tabular-nums; }
.shop-shell .shop-nav-cart:focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 2px; box-shadow: 0 0 0 4px var(--shop-brand-ring); }
.shop-shell .shop-business-switch { margin: 0; gap: 8px; flex-wrap: nowrap; font-size: 11px; }
.shop-shell .shop-business-switch select { margin: 0; border: 0; font-size: 13px; font-weight: 700; color: var(--shop-business-text); padding: 7px 22px 7px 0; background: transparent; }
.shop-business-switch > span { white-space: nowrap; color: var(--shop-business-hint); }
.shop-shell .shop-nav { margin: 0; padding: 0; display: flex; align-self: stretch; gap: 30px; border: 0; flex: 1; white-space: nowrap; }
.shop-shell .shop-nav button { border: 0; border-radius: 0; background: transparent; color: var(--shop-nav-text); font-size: 13px; font-weight: 600; padding: 0 2px; position: relative; }
.shop-nav button::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--shop-accent); transform: scaleX(0); transition: transform var(--feedback) var(--ease-out); }
.shop-shell .shop-nav button.active { color: var(--shop-accent); background: transparent; box-shadow: none; }
.shop-nav button.active::after,
.shop-nav button:hover::after { transform: scaleX(1); }
.shop-navigation-note { font-size: 12px; color: var(--shop-navigation-note); white-space: nowrap; }
.shop-shell .shop-body { max-width: var(--shop-shell-max); width: 100%; margin: 0 auto; padding: 22px var(--shop-content-gutter) 48px; min-width: 0; }
.shop-preview-notice { color: var(--shop-warn-fg); background: var(--shop-warn-bg); border: 1px solid var(--shop-warn-border); padding: 8px 13px; margin-bottom: 16px; font-size: 11px; border-radius: 10px; }
.shop-discover { display: grid; grid-template-columns: 212px minmax(0,1fr); gap: 18px; margin-bottom: 23px; }
/* 首页：分类宫格。左侧栏加宽到 396px 以容纳 4 列 88px 宫格。 */
.shop-discover { display: grid; grid-template-columns: minmax(0, 396px) minmax(0,1fr); gap: 18px; margin-bottom: 23px; align-items: start; }
.shop-departments { background: var(--shop-surface); border: 1px solid var(--shop-line-1); border-radius: 16px; padding: 24px; }
.shop-departments-title { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; color: var(--n-800, var(--shop-department-title)); font-size: 14px; font-weight: 700; }
.shop-departments-title svg { width: 18px; height: 18px; color: var(--shop-accent); }
.shop-department-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 8px; }
.shop-department-tile { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; min-width: 0; min-height: 88px; padding: 10px 6px; border: 1px solid var(--n-200, var(--shop-line-1)); border-radius: 10px; background: var(--surface-solid, var(--shop-surface)); color: var(--shop-category-item); text-align: center; transition: border-color var(--feedback) var(--ease-out); }
.shop-department-tile:hover { border-color: var(--n-300, var(--shop-line-2)); }
.shop-department-tile:focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 2px; box-shadow: 0 0 0 4px var(--shop-brand-ring); }
.shop-department-icon { display: grid; place-items: center; width: 32px; height: 32px; color: var(--shop-accent); }
.shop-department-icon svg { width: 32px; height: 32px; }
.shop-department-name { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 13px; font-weight: 500; color: var(--shop-text-1); }
.shop-department-count { font-size: 12px; color: var(--n-600, var(--shop-text-3)); font-variant-numeric: tabular-nums; }
.shop-department-more .shop-department-name { color: var(--shop-accent); }
/* 列表页态的分类筛选（同事区域）：保持原样，仅把计数提到 12px 字号地板。 */
.shop-shell .shop-categories { padding: 7px 8px; background: var(--shop-surface); border: 0; border-radius: 14px; position: static; box-shadow: none; max-height: 356px; overflow: auto; }
.shop-shell .shop-categories button { display: flex; width: 100%; align-items: center; justify-content: space-between; gap: 8px; text-align: left; border: 0; border-radius: 10px; padding: 7px 8px; min-height: 31px; font-size: 12px; color: var(--shop-category-item); background: transparent; }
.shop-categories button > span:last-child { font-size: 12px; color: var(--shop-category-count); }
.shop-shell .shop-categories button.active { color: var(--shop-accent); background: var(--shop-category-active-bg); font-weight: 700; }
.shop-shell .shop-categories button:hover { background: var(--shop-surface-3); color: var(--shop-accent); }
/* 首页信任条：4 项服务承诺，白卡 + 1px 边框 + 圆角 16，无阴影。 */
.shop-trust-bar { margin: 0 0 23px; padding: 24px; background: var(--surface-solid, var(--shop-surface)); border: 1px solid var(--n-200, var(--shop-line-1)); border-radius: 16px; }
.shop-trust-items { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; }
.shop-trust-item { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.shop-trust-item > svg { width: 24px; height: 24px; flex: 0 0 auto; color: var(--shop-accent); }
.shop-trust-item strong { display: block; font-size: 14px; font-weight: 500; color: var(--shop-text-1); }
.shop-trust-item small { display: block; margin-top: 3px; font-size: 12px; line-height: 1.6; color: var(--n-600, var(--shop-text-3)); }
.shop-showcase { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
/* Hero：≤320px 高，标题 32/700，副标 17，租期选择器为第一输入。 */
.shop-hero { display: grid; grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr); min-height: 269px; padding: 24px 28px; gap: 12px; border-radius: 16px; border: 1px solid var(--n-200, var(--shop-line-1)); background: var(--shop-hero-bg); overflow: hidden; }
.hero-copy { z-index: 1; align-self: center; min-width: 0; }
.shop-shell .hero-copy h1 { color: var(--shop-hero-text); font-size: 32px; letter-spacing: -.02em; font-weight: 700; line-height: 1.2; text-wrap: balance; }
.hero-copy > p { margin: 9px 0 12px; color: var(--shop-hero-body); font-size: 17px; line-height: 1.55; }
/* Hero 租期选择器 */
.shop-hero-plan { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 10px; margin: 0; }
.shop-hero-plan-fields { display: flex; flex-wrap: wrap; gap: 8px; }
.shop-hero-plan-fields label { display: flex; flex-direction: column; gap: 5px; min-width: 0; }
.shop-hero-plan-fields label > span { font-size: 12px; color: var(--n-600, var(--shop-hero-body)); }
.shop-hero-plan-fields input { width: 128px; max-width: 100%; height: 44px; padding: 8px 10px; border: 1px solid var(--n-300, var(--shop-line-2)); border-radius: var(--radius-control); background: var(--surface-solid, var(--shop-surface)); color: var(--shop-text-1); font-size: 13px; font-variant-numeric: tabular-nums; }
.shop-hero-plan-fields input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px var(--shop-brand-ring); outline: 0; }
.shop-hero-plan-cta { min-height: 44px; padding-inline: 16px; font-size: 13px; gap: 8px; white-space: nowrap; }
.shop-hero-plan-cta svg { width: 16px; transition: transform var(--feedback) var(--ease-out); }
.shop-hero-plan .form-error { flex: 1 1 100%; margin: 0; }
.shop-hero-plan .form-error:empty { display: none; }
.hero-price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 5px; margin-top: 10px; color: var(--shop-hero-price-text); font-variant-numeric: tabular-nums; }
.hero-price strong { color: var(--shop-accent); font-size: 22px; }
.hero-price small { font-size: 12px; color: var(--n-700, var(--shop-hero-price-note)); }
.hero-price > span:last-child { flex: 1 1 100%; color: var(--shop-hero-price-note); font-size: 12px; }
.price-prefix { font-size: 12px; color: var(--shop-price-prefix); }
.hero-product { align-self: stretch; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; min-width: 0; width: 100%; border: 0; background: transparent; padding: 0; }
.hero-product img { width: 100%; height: 190px; object-fit: contain; mix-blend-mode: multiply; }
.hero-product > span { font-size: 13px; font-weight: 700; color: var(--shop-hero-product-name); text-align: center; }
.hero-product small { display: block; font-size: 12px; font-weight: 400; margin-top: 2px; color: var(--shop-hero-product-note); }
.shop-feature-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
.shop-feature { display: flex; align-items: center; gap: 12px; width: 100%; min-width: 0; text-align: left; border: 1px solid var(--shop-line-1); padding: 24px; border-radius: 16px; background: var(--shop-feature-bg); color: var(--shop-feature-text); transition: border-color var(--feedback) var(--ease-out); }
.shop-feature:hover { border-color: var(--shop-line-2); }
.shop-feature.feature-1 { background: var(--shop-feature-alt-bg); color: var(--shop-feature-alt-text); }
.shop-feature > span { flex: 1; min-width: 0; }
.shop-feature strong { font-size: 15px; font-weight: 700; display: block; }
.shop-feature small { display: block; font-size: 12px; color: var(--shop-feature-note-soft); margin: 5px 0 8px; }
.shop-feature.feature-1 small { color: var(--shop-feature-alt-note-soft); }
.shop-feature b { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; }
.shop-feature b svg { width: 14px; height: 14px; }
.shop-feature img { width: 100px; height: 95px; object-fit: contain; mix-blend-mode: multiply; }
.shop-feature:focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 2px; box-shadow: 0 0 0 4px var(--shop-brand-ring); }
.shop-shell .shop-rental-bar { display: grid; grid-template-columns: 168px minmax(0,1fr); align-items: center; gap: 8px 22px; border: 1px solid var(--shop-line-panel); border-radius: var(--radius-panel); padding: 17px 20px; margin: 0 0 28px; background: var(--shop-surface); box-shadow: 0 4px 12px var(--shop-shadow-1); }
.shop-shell .shop-rental-bar::before { content: none; }
.rental-label { display: grid; grid-template-columns: 24px 1fr; align-items: center; gap: 4px 7px; color: var(--shop-rental-label); }
.rental-label svg { grid-row: span 2; width: 22px; height: 22px; }
.rental-label strong { font-size: 13px; }
.rental-label > span { color: var(--shop-rental-note); font-size: 10px; }
.rental-fields { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.12fr) auto; align-items: end; gap: 12px; }
.shop-shell .rental-fields .field { min-width: 0; margin: 0; }
.shop-shell .field > span { font-size: 11px; color: var(--shop-field-label); margin-bottom: 5px; }
.shop-shell .rental-fields input,
.shop-shell .rental-fields select { min-width: 0; width: 100%; max-width: 100%; height: 38px; padding: 7px 9px; border-radius: var(--radius-control); font-size: 12px; }
.shop-shell .rental-fields .button { min-height: 38px; height: 38px; padding-inline: 15px; font-size: 12px; gap: 9px; }
.rental-fields .button svg { width: 15px; height: 15px; }
.shop-rental-bar > .save-state { grid-column: 2; font-size: 10px; color: var(--shop-save-state); }
.shop-rental-bar .form-error:empty { display: none; }
.shop-rental-bar > .form-error { grid-column: 2; }
.shop-catalogue { min-width: 0; }
.shop-catalogue-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 16px; }
.shop-catalogue-head h2 { font-size: 22px; font-weight: 750; color: var(--shop-section-title); }
.shop-catalogue-head p { margin-top: 4px; font-size: 11px; color: var(--shop-section-note); }
.shop-shell .shop-filter { display: flex; padding: 0; gap: 16px; align-items: center; justify-content: flex-end; flex-wrap: wrap; }
.shop-filter label { font-size: 11px; color: var(--shop-filter-label); gap: 7px; }
.shop-filter select { height: 33px; font-size: 12px; padding: 6px 9px; border-radius: 10px; }
.shop-filter .button.text { min-height: 33px; font-size: 11px; color: var(--shop-filter-action); }
.shop-shell .shop-commerce-grid { display: grid; grid-template-columns: 198px minmax(0,1fr); gap: 18px; align-items: start; }
.shop-shell .shop-commerce-grid.catalogue-home { display: block; }
.shop-commerce-grid > .shop-categories { border: 1px solid var(--shop-border); max-height: none; }
.shop-commerce-grid > section { min-width: 0; }
.shop-shell .shop-products { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 16px; align-items: stretch; }
.shop-shell .shop-products .product-card { display: flex; flex-direction: column; border: 1px solid var(--shop-card-border); padding: 0; gap: 0; border-radius: 14px; background: var(--shop-surface); overflow: hidden; box-shadow: none; transition: border-color var(--feedback) var(--ease-out), box-shadow 260ms var(--ease-out); }
.shop-shell .shop-products .product-card:hover { border-color: var(--shop-line-2); transform: none; box-shadow: 0 8px 23px var(--shop-card-shadow); }
.shop-product-media { position: relative; padding: 14px; background: var(--shop-surface); }
.shop-shell .shop-products .product-image { height: 164px; margin: 0; padding: 5px; background: var(--shop-surface); border-radius: 0; }
.shop-shell .shop-products .product-image img { width: 100%; height: 100%; object-fit: contain; transition: transform 260ms var(--ease-out); }
.shop-shell .shop-products .product-image:hover img { transform: scale(1.045); }
.shop-price-status { position: absolute; top: 11px; left: 11px; font-size: 10px; color: var(--shop-price-flag-fg); background: var(--shop-price-flag-bg); padding: 3px 7px; border-radius: 3px; pointer-events: none; }
.shop-product-information { padding: 0 16px 15px; display: flex; flex-direction: column; flex: 1; gap: 7px; min-width: 0; }
.shop-shell .shop-products .product-name { min-height: 43px; font-size: 14px; font-weight: 700; line-height: 1.5; }
.shop-shell .product-name > .button { color: var(--shop-product-name); font: inherit; white-space: normal; padding: 0; min-height: 0; text-align: left; }
.shop-shell .product-name > .button:hover { color: var(--shop-accent); background: transparent; }
.shop-shell .product-zh { font-size: 11px; color: var(--shop-product-sub); line-height: 1.5; min-height: 32px; overflow-wrap: anywhere; }
.shop-shell .shop-products .product-price { font-size: inherit; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; min-height: 28px; margin-top: 1px; font-variant-numeric: tabular-nums; }
.shop-products .product-price strong { font-size: 21px; color: var(--shop-accent); line-height: 1.2; font-weight: 750; }
.shop-products .product-price small { font-size: 10px; color: var(--shop-product-unit); }
.shop-products .product-price .price-unknown { color: var(--shop-price-unknown); font-size: 17px; }
.shop-shell .shop-estimate { font-size: 10px; color: var(--shop-estimate-text); min-height: 48px; padding-top: 9px; border-top: 1px solid var(--shop-estimate-border); margin: 4px 0 0; line-height: 1.5; overflow-wrap: anywhere; }
.shop-estimate strong { color: var(--shop-estimate-strong); font-weight: 650; }
.shop-estimate small { font-size: 10px; color: var(--shop-estimate-note); margin-top: 4px; }
.shop-shell .shop-products .product-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; flex-wrap: nowrap; }
.shop-shell .product-detail-action { border: 0; padding: 4px 0; color: var(--shop-product-detail-action); font-size: 11px; background: transparent; font-weight: 500; }
.product-detail-action svg { width: 13px; height: 13px; }
.shop-shell .product-bottom .button.primary { min-height: 33px; padding: 6px 10px; font-size: 11px; }
.product-bottom .button.primary svg { width: 15px; height: 15px; }
.shop-pagination { margin: 24px 0 12px; gap: 18px; }
.shop-inventory-note { display: flex; align-items: flex-start; gap: 7px; justify-content: center; text-align: center; margin-top: 16px; font-size: 10px; color: var(--shop-inventory-note); }
.shop-inventory-note svg { width: 14px; height: 14px; margin-top: 2px; }
.shop-shell .shop-footer { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.7fr) minmax(0, 1fr); gap: 28px; padding: 36px max(var(--shop-content-gutter), calc((100% - var(--shop-content-max)) / 2)) 24px; background: var(--shop-footer-bg); color: var(--shop-footer-text); text-align: left; border: 0; font-size: 12px; }
.shop-footer strong { display: block; color: var(--shop-footer-title); font-size: 14px; margin-bottom: 12px; }
.shop-footer p { line-height: 1.8; }
.shop-footer button { display: flex; align-items: center; gap: 8px; min-height: 44px; border: 0; color: var(--shop-footer-text); background: transparent; padding: 3px 0; font-size: 12px; }
.shop-footer button svg { width: 16px; height: 16px; }
.shop-footer button:focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 2px; box-shadow: 0 0 0 4px var(--shop-brand-ring); }
/* 租赁流程 4 步可视化：编号圆 + 动词标题 + 一行说明，步骤间 1px 连接线。 */
.shop-rental-steps { display: flex; align-items: flex-start; gap: 20px; margin: 0; padding: 0; list-style: none; }
.shop-rental-step { position: relative; flex: 1 1 0; min-width: 0; display: flex; flex-direction: column; gap: 8px; }
.shop-rental-step + .shop-rental-step::before { content: ''; position: absolute; left: -20px; top: 20px; width: 16px; height: 1px; background: var(--shop-footer-divider); }
.shop-step-index { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--shop-text-1); color: var(--shop-neutral); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.shop-rental-step strong { margin-bottom: 0; font-size: 15px; font-weight: 600; line-height: 1.4; }
.shop-rental-step small { font-size: 12px; line-height: 1.6; color: var(--shop-footer-note); }
.shop-store-list { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.shop-pending { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; color: var(--shop-footer-note); }
.shop-shell .shop-footer-note { grid-column: 1 / -1; border-top: 1px solid var(--shop-footer-divider); padding-top: 18px; font-size: 12px; color: var(--shop-footer-note); }
.shop-shell .shop-detail { padding: 28px; border-radius: var(--radius-panel); gap: 32px; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); }
.shop-shell .shop-detail-image.product-image { height: 390px; padding: 18px; }
.shop-detail-info > h2 { color: var(--shop-detail-title); font-size: 20px; }
.shop-shell .shop-detail-info > .product-price { color: var(--shop-accent); font-size: 30px; margin: 20px 0; }
.shop-shell .shop-detail-info .form-grid { padding-top: 10px; }
.shop-shell .shop-detail-info .field { min-width: 0; }
.shop-shell .shop-detail-info .button.primary { min-height: 44px; padding-inline: 25px; }
.shop-shell .page-head { margin: 8px 0 22px; gap: 18px; flex-wrap: wrap; }
.shop-shell .page-head h1 { color: var(--shop-page-title); font-size: 23px; }
.shop-shell .page-head p { font-size: 12px; color: var(--shop-page-note); }
.shop-shell .panel { border-radius: var(--radius-panel); box-shadow: none; }
.shop-shell .panel-head { background: var(--shop-panel-head-bg); }
.shop-shell .cart-row { gap: 18px; padding: 21px 8px; }
.shop-shell .cart-row input { max-width: 90px; }
.shop-shell .cart-amount { color: var(--shop-accent); font-weight: 700; }
.shop-shell .cart-total { padding: 24px 8px 7px; border-top: 1px solid var(--shop-cart-total-border); align-items: center; }
.shop-shell .cart-total strong { color: var(--shop-accent); font-size: 27px; }
.shop-shell .cart-total .button.primary { min-height: 44px; padding-inline: 26px; }
.shop-shell .shop-controls:not(.shop-rental-bar):not(.cart-rental-plan) { display: flex; flex-wrap: wrap; gap: 15px; align-items: end; border-radius: var(--radius-panel); background: var(--shop-surface); }
.shop-shell .shop-controls:not(.shop-rental-bar):not(.cart-rental-plan) .field { min-width: 0; flex: 1 1 180px; }
.shop-shell #checkout-form { padding: 24px; }
.shop-shell #checkout-form .form-grid { padding-block: 20px; }
.shop-shell .table-scroll { max-width: 100%; overflow: auto; }
.shop-shell .detail-metrics { flex-wrap: wrap; }
.shop-shell [hidden] { display: none !important; }
.shop-shell ::selection { background: var(--shop-selection-bg); color: var(--shop-selection-text); }
.shop-shell ::-webkit-scrollbar-thumb { background: var(--shop-scrollbar-thumb); }

/* Units and pending-price context carry business meaning and need body-text contrast. */
.shop-brand small,
.shop-search-suggestions button,
.shop-business-switch > span,
.shop-navigation-note,
.shop-categories button > span:last-child,
.rental-label > span,
.shop-rental-bar > .save-state,
.shop-catalogue-head p,
.shop-filter label,
.shop-filter .button.text,
.shop-shell .product-zh,
.shop-products .product-price small,
.shop-shell .shop-estimate,
.shop-estimate small,
.shop-inventory-note,
.shop-shell .page-head p { color: var(--shop-text-3); }
.hero-price > span:last-child,
.price-prefix,
.hero-product small { color: var(--shop-price-note); }
.shop-feature small { color: var(--shop-feature-note); }
.shop-feature.feature-1 small { color: var(--shop-feature-alt-note); }

@media (max-width: 1180px) {
  .shop-shell .shop-header { grid-template-columns: minmax(0,auto) minmax(0,1fr) minmax(0,auto); gap: 18px; }
  .shop-shell .shop-account .button.text span { max-width: 90px; }
  .shop-navigation-note { display: none; }
  .shop-navigation-band { gap: 20px; }
  .shop-nav-cat:nth-child(n+5) { display: none; }
  .shop-discover { grid-template-columns: minmax(0, 340px) minmax(0,1fr); gap: 14px; }
  .shop-hero { padding: 22px; grid-template-columns: minmax(0,1fr); }
  .hero-product { display: none; }
  .shop-shell .hero-copy h1 { font-size: 29px; }
  .hero-copy > p { font-size: 15px; }
  .shop-feature { padding: 20px; }
  .shop-feature img { width: 78px; height: 85px; }
  .shop-feature strong { font-size: 14px; }
  .shop-shell .shop-rental-bar { grid-template-columns: 145px minmax(0,1fr); gap: 8px 15px; padding: 16px; }
  .rental-fields { gap: 9px; }
  .shop-shell .shop-products { grid-template-columns: repeat(3,minmax(0,1fr)); }
  .shop-shell .shop-products .product-image { height: 170px; }
}
@media (max-width: 900px) {
  .shop-shell .shop-header { grid-template-columns: minmax(0,1fr) minmax(0,auto); padding: 12px 22px; gap: 12px 18px; }
  .shop-search-block { grid-column: 1 / -1; grid-row: 2; justify-self: stretch; }
  .shop-shell .shop-account { margin: 0; }
  .shop-shell .shop-account .button.text span { max-width: 140px; }
  .shop-shell .shop-brand { font-size: 21px; }
  .shop-navigation-band { padding-inline: 22px; gap: 20px; }
  .shop-nav-cat + .shop-nav-cat { display: none; }
  .shop-shell .shop-top { padding-inline: 22px; gap: 12px; flex-wrap: nowrap; }
  .shop-top > span { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .shop-top-links { flex-wrap: nowrap; gap: 14px; flex-shrink: 0; }
  .shop-top .shop-top-pending,
  .shop-top a.shop-top-link[href="#shop-footer-stores"] { display: none; }
  .shop-shell .shop-footer { grid-template-columns: minmax(0,1fr); gap: 24px; padding-inline: 22px; }
  .shop-shell .shop-nav { gap: 25px; justify-content: flex-end; }
  .shop-shell .shop-body { padding: 18px 22px 35px; }
  .shop-discover { display: flex; flex-direction: column; gap: 12px; }
  .shop-shell .shop-categories button { font-size: 12px; }
  .shop-hero { padding: 22px; min-height: 0; grid-template-columns: minmax(0,1fr); }
  .shop-shell .hero-copy h1 { font-size: 27px; }
  .hero-copy > p { font-size: 15px; }
  .hero-product { display: none; }
  .shop-feature { padding: 16px; }
  .shop-feature img { width: 60px; height: 75px; }
  .shop-feature strong { font-size: 14px; }
  .shop-feature small { font-size: 12px; }
  .shop-shell .shop-rental-bar { display: block; }
  .rental-label { display: flex; gap: 9px; margin-bottom: 12px; }
  .rental-label svg { width: 19px; height: 19px; }
  .rental-label > span { margin-left: auto; }
  .shop-rental-bar > .save-state { display: block; margin-top: 8px; }
  .shop-catalogue-head { align-items: flex-start; }
  .shop-shell .shop-filter { gap: 8px; }
  .shop-filter label { gap: 4px; }
  .shop-shell .shop-commerce-grid { grid-template-columns: 165px minmax(0,1fr); gap: 14px; }
  .shop-shell .shop-products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; }
  .shop-shell .shop-detail { gap: 22px; padding: 22px; }
  .shop-shell .shop-detail-image.product-image { height: 300px; }
}
/* ≤768：搜索收成图标触发，展开为下拉面板（纯 CSS，不新增脚本）。 */
@media (max-width: 768px) {
  .shop-search-block { justify-content: flex-end; }
  .shop-search-switch,
  .shop-search-trigger { display: inline-flex; }
  .shop-search-switch { position: absolute; right: 0; top: 0; width: 44px; height: 44px; margin: 0; opacity: 0; z-index: 7; }
  .shop-search-trigger { align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--n-200, var(--shop-line-1)); border-radius: var(--radius-control); background: var(--surface-solid, var(--shop-surface)); color: var(--shop-text-2); }
  .shop-search-switch:checked + .shop-search-trigger { border-color: var(--shop-line-2); color: var(--shop-accent); }
  .shop-search-switch:focus-visible + .shop-search-trigger { outline: 2px solid var(--shop-accent); outline-offset: 2px; box-shadow: 0 0 0 4px var(--shop-brand-ring); }
  .shop-search-panel { display: none; position: absolute; top: calc(100% + 8px); right: 0; z-index: 6; width: min(320px, calc(100vw - 44px)); padding: 12px; background: var(--surface-solid, var(--shop-surface)); border: 1px solid var(--n-200, var(--shop-line-1)); border-radius: 10px; }
  .shop-search-switch:checked ~ .shop-search-panel { display: block; }
  .shop-search-panel .shop-search { width: 100%; }
  .shop-search-panel .shop-search-suggestions { position: static; width: auto; visibility: visible; opacity: 1; padding: 10px 2px 0; border: 0; background: transparent; }
  .shop-rental-steps { flex-direction: column; gap: 16px; }
  .shop-rental-step { flex-direction: row; align-items: flex-start; gap: 12px; }
  .shop-rental-step + .shop-rental-step::before { left: 19px; top: -12px; width: 1px; height: 8px; }
}
@media (max-width: 640px) {
  .shop-shell .shop-top { padding-inline: 14px; font-size: 12px; gap: 8px; flex-wrap: nowrap; }
  .shop-top > span { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .shop-top-links { gap: 12px; flex-wrap: nowrap; flex-shrink: 0; }
  .shop-top a.shop-top-staff,
  .shop-top a.shop-top-link[href="#shop-footer-stores"],
  .shop-top .shop-top-pending,
  .shop-top button.shop-top-action[data-view="orders"] { display: none; }
  .shop-shell .shop-footer { padding-inline: 14px; }
  .shop-shell .shop-header { padding: 12px 14px; gap: 12px 10px; }
  .shop-shell .shop-brand { font-size: 20px; gap: 8px; }
  .shop-shell .shop-brand-mark { width: 32px; height: 32px; }
  .shop-brand small { font-size: 12px; letter-spacing: .06em; }
  .shop-shell .shop-account { gap: 6px; }
  .shop-shell .shop-account .button.text { max-width: 44px; min-height: 44px; }
  .shop-shell .shop-account .button.text span { display: none; }
  .shop-shell .shop-account #shop-logout { display: none; }
  .shop-shell .shop-nav-cart { min-height: 44px; gap: 6px; padding-inline: 10px; font-size: 12px; }
  .shop-shell .shop-nav-cart #cart-count { min-width: 24px; height: 24px; font-size: 12px; }
  .shop-search-panel { width: min(320px, calc(100vw - 28px)); }
  .shop-shell .shop-search { padding-left: 10px; gap: 8px; }
  .shop-shell .shop-search input { height: 44px; font-size: 12px; }
  .shop-shell .shop-search .button { min-height: 44px; padding-inline: 18px; font-size: 12px; }
  .shop-navigation-band { display: block; padding-inline: 14px; }
  .shop-nav-cats { display: none; }
  .shop-shell .shop-business-switch { display: flex; min-height: 44px; font-size: 12px; }
  .shop-shell .shop-business-switch select { font-size: 12px; }
  .shop-shell .shop-nav { display: flex; justify-content: space-between; gap: 0; min-height: 44px; width: 100%; }
  .shop-shell .shop-nav button { font-size: 12px; padding: 12px 4px; }
  .shop-shell .shop-body { padding: 14px 14px 30px; }
  .shop-preview-notice { padding: 7px 10px; font-size: 10px; margin-bottom: 12px; }
  .shop-discover { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
  .shop-departments { order: 2; padding: 16px; }
  .shop-departments-title { margin-bottom: 10px; }
  .shop-department-grid { gap: 8px; }
  .shop-showcase { gap: 10px; }
  .shop-hero { min-height: 0; grid-template-columns: minmax(0,1fr); gap: 4px; padding: 20px 16px; }
  .shop-shell .hero-copy h1 { font-size: 24px; line-height: 1.25; }
  .hero-copy > p { font-size: 14px; line-height: 1.6; margin: 9px 0 12px; }
  .shop-hero-plan { gap: 8px; }
  .shop-hero-plan-fields { flex: 1 1 100%; gap: 8px; }
  .shop-hero-plan-fields label { flex: 1 1 40%; }
  .shop-hero-plan-fields input { flex: 1 1 auto; width: auto; min-width: 0; }
  .shop-hero-plan-cta { flex: 1 1 100%; }
  .hero-price { gap: 3px; margin-top: 9px; }
  .hero-price strong { font-size: 19px; }
  .shop-trust-bar { padding: 16px; margin-bottom: 16px; }
  .shop-trust-items { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .shop-feature-row { gap: 10px; }
  .shop-feature { padding: 14px; min-height: 93px; }
  .shop-feature strong { font-size: 14px; }
  .shop-feature small { font-size: 12px; margin: 4px 0; }
  .shop-feature b { font-size: 12px; gap: 3px; }
  .shop-feature img { width: 47px; height: 64px; }
  .shop-shell .shop-rental-bar { padding: 14px; margin-bottom: 22px; }
  .rental-label { gap: 7px; }
  .rental-label strong { font-size: 12px; }
  .rental-label > span { font-size: 9px; }
  .rental-fields { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .shop-shell .rental-fields .field > span { font-size: 10px; }
  .shop-shell .rental-fields input,
  .shop-shell .rental-fields select { font-size: 12px; height: 40px; max-width: 100%; min-height: 40px; }
  .shop-shell .rental-fields .button { height: 40px; min-height: 40px; font-size: 12px; }
  .shop-rental-bar > .save-state { font-size: 9px; line-height: 1.6; }
  .shop-catalogue-head { display: block; margin-bottom: 12px; }
  .shop-catalogue-head h2 { font-size: 20px; }
  .shop-catalogue-head p { font-size: 10px; }
  .shop-shell .shop-filter { justify-content: flex-start; margin-top: 13px; gap: 10px; }
  .shop-filter label { font-size: 10px; }
  .shop-filter select { font-size: 11px; max-width: 125px; }
  .shop-filter .button.text { margin-left: auto; padding-inline: 0; font-size: 10px; }
  .shop-shell .shop-commerce-grid { display: block; }
  .shop-commerce-grid > .shop-categories { display: flex; overflow: auto; border: 1px solid var(--shop-border); margin-bottom: 12px; max-height: none; padding: 4px; }
  .shop-shell .shop-commerce-grid > .shop-categories button { flex: 0 0 auto; width: auto; padding-inline: 10px; white-space: nowrap; min-height: 34px; }
  .shop-commerce-grid > .shop-categories button > span:last-child { display: none; }
  .shop-shell .shop-products { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
  .shop-product-media { padding: 8px; }
  .shop-shell .shop-products .product-image { height: 119px; padding: 5px; }
  .shop-price-status { left: 7px; top: 7px; font-size: 8px; padding: 2px 5px; }
  .shop-product-information { padding: 0 11px 11px; gap: 5px; }
  .shop-shell .shop-products .product-name { font-size: 12px; min-height: 37px; }
  .shop-shell .product-zh { font-size: 10px; min-height: 31px; }
  .shop-products .product-price strong { font-size: 18px; }
  .shop-products .product-price small { font-size: 9px; }
  .shop-shell .shop-estimate { font-size: 9px; padding-top: 7px; min-height: 43px; }
  .shop-estimate small { font-size: 9px; }
  .shop-shell .product-detail-action { font-size: 10px; gap: 3px; min-height: 32px; }
  .product-detail-action svg { width: 11px; }
  .shop-shell .product-bottom .button.primary { min-height: 32px; padding: 6px 8px; gap: 4px; font-size: 10px; }
  .product-bottom .button.primary svg { width: 12px; }
  .shop-shell .shop-footer { display: grid; grid-template-columns: minmax(0,1fr); padding: 26px 14px 20px; gap: 22px; font-size: 12px; }
  .shop-footer strong { font-size: 14px; }
  .shop-footer button { font-size: 12px; }
  .shop-shell .shop-footer-note { font-size: 12px; }
  .shop-shell .shop-detail { display: block; padding: 16px; }
  .shop-shell .shop-detail-image.product-image { height: 270px; margin: 0 0 20px; }
  .shop-shell .shop-detail-info .form-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .shop-shell .shop-detail-info .form-grid .field { grid-column: auto; }
  .shop-shell .shop-detail-info .detail-actions .button { flex: 1; }
  .shop-shell .cart-row { grid-template-columns: 48px minmax(0,1fr) 62px; gap: 10px; padding: 18px 0; }
  .shop-shell .cart-row input { width: 100%; }
  .shop-shell .cart-row .cart-amount { grid-column: 2; }
  .shop-shell .cart-total { gap: 14px; }
  .shop-shell .cart-total .button.primary { width: 100%; }
  .shop-shell .page-head { margin: 3px 0 16px; }
  .shop-shell .page-head h1 { font-size: 20px; }
  .shop-shell #checkout-form { padding: 16px; }
  .shop-shell .shop-controls:not(.shop-rental-bar):not(.cart-rental-plan) { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); padding: 14px; }
  .shop-shell .shop-controls:not(.shop-rental-bar):not(.cart-rental-plan) .field input { width: 100%; max-width: 100%; }
  .shop-shell .shop-controls:not(.shop-rental-bar):not(.cart-rental-plan) .form-error { grid-column: 1 / -1; }
}
@media (max-width: 359px) {
  .shop-shell .shop-brand { font-size: 20px; }
  .shop-shell .shop-cart-button > span:not(#cart-count) { display: none; }
  .shop-shell .hero-copy h1 { font-size: 21px; }
  .hero-product img { height: 115px; }
  .shop-feature img { width: 34px; }
  .rental-label > span { display: none; }
  .shop-shell .shop-products { grid-template-columns: 1fr; }
  .shop-shell .shop-products .product-image { height: 210px; }
  .shop-shell .shop-products .product-name,
  .shop-shell .product-zh { min-height: 0; }
}
@media (pointer: coarse) {
  .shop-shell .shop-categories button,
  .shop-shell .shop-search-suggestions button,
  .shop-shell .product-bottom .button,
  .shop-shell .shop-account .button { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-shell *, .shop-shell *::before, .shop-shell *::after { transition-property: background-color, color, border-color, box-shadow, opacity !important; transition-duration: 100ms !important; animation: none !important; }
  .shop-shell button:active,
  .shop-shell button:hover svg,
  .shop-shell button:hover img { transform: none !important; }
}

/* Detail, cart and application use the same commerce hierarchy as the catalogue. */
.shop-shell .shop-flow-head { align-items: center; margin-block: 3px 20px; }
.shop-shell .shop-flow-head h1 { font-size: 25px; line-height: 1.35; overflow-wrap: anywhere; }
.shop-shell .shop-breadcrumb { margin: 0 0 6px; color: var(--shop-text-3); font-size: 12px; }
.shop-shell .shop-detail-layout { grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); gap: 38px; align-items: start; padding: 28px; }
.shop-detail-gallery { min-width: 0; position: sticky; top: 22px; }
.shop-shell .shop-detail-layout .shop-detail-image { height: 380px; margin: 0; background: var(--shop-detail-image-bg); border: 1px solid var(--shop-line-soft); border-radius: 14px; }
.detail-image-caption { margin: 12px 0 0; text-align: center; color: var(--shop-text-3); font-size: 12px; }
.shop-detail-layout .shop-detail-info { min-width: 0; }
.shop-shell .shop-detail-layout .shop-detail-info > h2 { margin: 0; font-size: 20px; line-height: 1.45; overflow-wrap: anywhere; }
.shop-shell .shop-detail-layout .detail-product-meta { margin: 8px 0 18px; color: var(--shop-text-3); font-size: 12px; }
.detail-price-band { padding: 16px 18px; background: var(--shop-price-band-bg); border-radius: var(--radius-control); }
.detail-price-band > span { color: var(--shop-text-3); font-size: 12px; }
.shop-shell .shop-detail-layout .detail-price-band .product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 5px 0 0; color: var(--shop-accent); font-size: 29px; font-weight: 750; }
.detail-price-band .product-price small { color: var(--shop-text-3); font-size: 12px; font-weight: 400; }
.shop-shell .shop-detail-layout .detail-description { color: var(--shop-text-3); margin: 17px 0; font-size: 13px; line-height: 1.8; }
.detail-selection-head { display: flex; align-items: center; justify-content: space-between; gap: 18px; border-top: 1px solid var(--shop-border); padding-top: 18px; margin-bottom: 20px; }
.shop-shell .detail-selection-head h3 { margin: 0; font-size: 15px; }
.detail-selection-head .field { margin: 0; width: 92px; flex: 0 0 92px; }
.detail-selection-head input { width: 100%; height: 40px; }
.detail-kit-group + .detail-kit-group { margin-top: 20px; }
.detail-group-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 7px 14px; margin-bottom: 8px; }
.detail-group-head h4 { margin: 0; color: var(--shop-detail-group-title); font-size: 13px; }
.detail-group-head > span { font-size: 11px; color: var(--shop-text-3); }
.detail-kit-list { border-block: 1px solid var(--shop-border); }
.shop-shell .detail-kit-row.check-label { display: grid; grid-template-columns: 17px minmax(0,1fr) auto; align-items: center; gap: 10px; line-height: 1.5; min-height: 54px; padding: 10px 0; margin: 0; }
.detail-kit-row + .detail-kit-row { border-top: 1px solid var(--shop-kit-row-border); }
.detail-kit-row > input { margin: 0; accent-color: var(--blue); width: 16px; height: 16px; }
.detail-kit-row strong { font-size: 13px; font-weight: 600; overflow-wrap: anywhere; }
.detail-kit-row small { display: block; margin-top: 3px; color: var(--shop-text-3); font-size: 11px; }
.detail-kit-row .tag { justify-self: end; font-size: 10px; white-space: nowrap; }
.shop-shell .detail-rental-review { margin-top: 24px; padding: 18px 0 0; border-top: 1px solid var(--shop-border); }
.detail-rental-review .button.text { padding: 4px 0; min-height: 32px; font-size: 12px; }
.shop-facts { display: grid; gap: 10px; margin: 15px 0; font-size: 12px; }
.shop-facts > div { display: grid; grid-template-columns: minmax(90px,.85fr) minmax(0,1.15fr); align-items: baseline; gap: 14px; }
.shop-facts dt { color: var(--shop-text-3); }
.shop-facts dd { margin: 0; text-align: right; font-weight: 600; overflow-wrap: anywhere; color: var(--shop-fact-value); }
.detail-estimate { display: flex; align-items: baseline; justify-content: space-between; gap: 15px; margin: 18px 0 10px; }
.detail-estimate > span { color: var(--shop-text-3); font-size: 12px; }
.detail-estimate > strong { color: var(--shop-accent); font-size: 24px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; text-align: right; }
.shop-shell .detail-rental-review .file-note { margin: 7px 0; font-size: 11px; line-height: 1.7; color: var(--shop-text-3); }
.shop-shell .detail-rental-review .detail-actions { display: flex; gap: 10px; margin-top: 17px; }
.shop-shell .detail-rental-review .detail-actions .button { flex: 1; min-height: 44px; gap: 8px; }
.shop-shell .cart-rental-plan { display: grid; grid-template-columns: 165px minmax(0,1fr); gap: 8px 20px; margin: 0 0 20px; padding: 17px 20px; border: 1px solid var(--shop-line-panel); border-radius: var(--radius-panel); }
.shop-shell .cart-rental-plan .save-state,
.shop-shell .cart-rental-plan .form-error { grid-column: 2; margin: 0; color: var(--shop-text-3); font-size: 11px; }
.shop-shell .cart-rental-plan .form-error { color: var(--red); }
.shop-cart-layout,
.shop-shell #checkout-form.shop-checkout-layout { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 20px; align-items: start; margin: 0; padding: 0; }
.cart-items-panel,
.checkout-main { min-width: 0; }
.shop-shell .cart-items-panel .panel-head,
.shop-shell .checkout-equipment-panel .panel-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; padding: 17px 20px; }
.cart-items-panel h2,
.checkout-equipment-panel h2,
.cart-summary-panel h2,
.checkout-summary-panel h2,
.checkout-contact-panel h2 { font-size: 15px; }
.cart-items-panel h2 > span,
.checkout-equipment-panel h2 > span { color: var(--shop-text-3); font-size: 12px; font-weight: 400; margin-left: 9px; }
.shop-shell .cart-items-body { padding: 0 20px; }
.shop-shell .shop-cart-layout .cart-row { display: grid; grid-template-columns: 64px minmax(0,1fr) 76px 116px 43px; align-items: start; gap: 14px; padding: 22px 0; }
.shop-shell .cart-row:last-of-type { border-bottom: 0; }
.cart-image { width: 100%; min-width: 0; background: var(--shop-cart-thumb-bg); border: 1px solid var(--shop-line-1); border-radius: 10px; display: grid; place-items: center; min-height: 65px; padding: 5px; }
.shop-shell .cart-image img { display: block; width: 100%; height: 57px; object-fit: contain; }
.cart-image .image-missing { text-align: center; font-size: 10px; color: var(--shop-text-3); }
.cart-item-info { min-width: 0; }
.cart-item-info > strong { display: block; color: var(--shop-cart-item-title); font-size: 14px; line-height: 1.5; overflow-wrap: anywhere; }
.cart-item-info > .file-note { margin: 6px 0 0; font-size: 11px; color: var(--shop-text-3); line-height: 1.65; overflow-wrap: anywhere; }
.shop-shell .shop-cart-item .cart-quantity { margin: 0; }
.shop-shell .shop-cart-item .cart-quantity > span { font-size: 11px; }
.shop-shell .shop-cart-item .cart-quantity input { width: 100%; max-width: 100%; height: 40px; margin: 0; }
.shop-shell .shop-cart-item .cart-amount,
.shop-shell .checkout-review-item .cart-amount { align-self: start; text-align: right; padding-top: 3px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; min-width: 0; }
.cart-amount strong { display: block; color: var(--shop-accent); font-size: 17px; font-weight: 700; line-height: 1.45; }
.cart-amount small { display: block; margin-top: 4px; font-size: 10px; font-weight: 400; line-height: 1.5; color: var(--shop-text-3); }
.shop-shell .shop-cart-item .cart-remove { padding: 4px 0; min-height: 32px; font-size: 11px; color: var(--shop-text-3); }
.cart-kit-details { margin-top: 9px; min-width: 0; font-size: 11px; }
.cart-kit-details summary { cursor: pointer; color: var(--shop-cart-kit-toggle); min-height: 24px; list-style-position: inside; }
.cart-kit-details summary > span { margin-left: 8px; color: var(--shop-text-3); }
.cart-kit-content { margin-top: 8px; padding: 10px 0; border-block: 1px solid var(--shop-line-soft); }
.cart-kit-content h4 { font-size: 11px; font-weight: 600; margin: 0 0 7px; }
.cart-kit-content h4:not(:first-child) { margin-top: 12px; }
.cart-kit-content ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.cart-kit-content li { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; align-items: start; color: var(--shop-text-3); }
.cart-kit-content li > span { overflow-wrap: anywhere; }
.cart-kit-content li > strong { font-weight: 500; white-space: nowrap; }
.cart-summary-panel,
.checkout-summary-panel { position: sticky; top: 22px; margin: 0 !important; min-width: 0; }
.shop-shell .cart-summary-panel .panel-head,
.shop-shell .checkout-summary-panel .panel-head { padding: 17px 20px; }
.shop-shell .cart-summary-panel .panel-body,
.shop-shell .checkout-summary-panel .panel-body { padding: 20px; }
.cart-summary-amount { padding-bottom: 17px; border-bottom: 1px solid var(--shop-border); font-variant-numeric: tabular-nums; }
.cart-summary-amount > span { display: block; font-size: 12px; color: var(--shop-text-3); }
.cart-summary-amount > strong { display: block; margin: 7px 0; font-size: 27px; line-height: 1.4; color: var(--shop-accent); overflow-wrap: anywhere; }
.cart-summary-amount > small { display: block; color: var(--shop-text-3); font-size: 11px; line-height: 1.7; }
.cart-estimate-loading { margin: 0 0 18px; color: var(--shop-text-3); font-size: 12px; }
.shop-shell .cart-next-actions { display: grid; gap: 9px; margin-top: 21px; }
.shop-shell .cart-next-actions .button { width: 100%; min-height: 44px; white-space: normal; gap: 8px; }
.shop-shell .cart-summary-panel .file-note,
.shop-shell .checkout-summary-panel .file-note { color: var(--shop-text-3); font-size: 11px; line-height: 1.75; margin: 14px 0 0; }
.cart-summary-panel .inline-notice,
.checkout-summary-panel .inline-notice { margin: 13px 0; font-size: 11px; line-height: 1.7; }
.shop-shell .shop-cart-layout .form-error:empty { display: none; }
.checkout-review-list { padding: 0 20px; }
.checkout-review-item { display: grid; grid-template-columns: 57px minmax(0,1fr) 88px 108px; align-items: start; gap: 14px; padding: 20px 0; }
.checkout-review-item + .checkout-review-item { border-top: 1px solid var(--shop-border); }
.checkout-review-item .cart-item-info > strong { font-size: 13px; }
.checkout-line-quantity { color: var(--shop-checkout-quantity); text-align: right; font-size: 12px; font-weight: 600; padding-top: 3px; }
.checkout-line-quantity small { display: block; margin-top: 5px; color: var(--shop-text-3); font-size: 10px; font-weight: 400; }
.shop-shell .checkout-contact-panel { margin-top: 20px; }
.shop-shell .checkout-contact-panel .panel-head { padding: 17px 20px; }
.shop-shell .checkout-contact-panel .panel-body { padding: 20px; }
.shop-shell #checkout-form .checkout-contact-panel .form-grid { padding: 0; gap: 17px; }
.checkout-contact-panel .field { min-width: 0; margin: 0; }
.checkout-contact-panel .field input,
.checkout-contact-panel .field select,
.checkout-contact-panel .field textarea { min-width: 0; width: 100%; max-width: 100%; }
.checkout-contact-panel textarea { min-height: 78px; resize: vertical; }
.checkout-rental-facts { margin-top: 0; padding-bottom: 17px; border-bottom: 1px solid var(--shop-border); }
.checkout-entity { margin: 18px 0; padding-block: 15px; border-block: 1px solid var(--shop-border); }
.checkout-entity > span,
.checkout-entity > small { display: block; color: var(--shop-text-3); font-size: 11px; line-height: 1.6; }
.checkout-entity > strong { display: block; margin: 5px 0; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
.shop-shell .checkout-ack { display: flex; align-items: start; gap: 9px; font-size: 12px; line-height: 1.8; }
.checkout-ack > input { margin-top: 5px; flex: 0 0 16px; width: 16px; height: 16px; accent-color: var(--blue); }
.checkout-ack > span { min-width: 0; }
.shop-shell .checkout-summary-panel .dialog-actions { margin-top: 18px; }
.shop-shell .checkout-summary-panel .dialog-actions > .button { width: 100%; min-height: 44px; gap: 8px; }
.shop-shell .shop-guest-merge .panel-body { font-size: 12px; }
.shop-shell .shop-guest-merge .field { max-width: 560px; }
.shop-shell .shop-guest-merge .check-label { align-items: start; line-height: 1.8; }
.dialog .cart-rental-plan { display: block; padding: 0; border: 0; box-shadow: none; margin: 0; }
.dialog .cart-rental-plan .rental-label { display: none; }
.dialog .cart-rental-plan .rental-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
.dialog .cart-rental-plan .save-state { display: block; margin-top: 14px; line-height: 1.7; }

@media (max-width: 1180px) {
  .shop-cart-layout,
  .shop-shell #checkout-form.shop-checkout-layout { grid-template-columns: minmax(0,1fr) 280px; gap: 16px; }
  .shop-shell .shop-cart-layout .cart-row { grid-template-columns: 54px minmax(0,1fr) 67px 100px 34px; gap: 11px; }
  .checkout-review-item { grid-template-columns: 48px minmax(0,1fr) 67px 98px; gap: 11px; }
  .shop-shell .shop-detail-layout { gap: 26px; padding: 24px; }
  .shop-shell .shop-detail-layout .shop-detail-image { height: 340px; }
}
@media (max-width: 900px) {
  .shop-cart-layout,
  .shop-shell #checkout-form.shop-checkout-layout { grid-template-columns: minmax(0,1fr); gap: 18px; }
  .cart-summary-panel,
  .checkout-summary-panel { position: static; }
  .shop-shell .cart-rental-plan { display: block; padding: 16px; }
  .cart-rental-plan .rental-label { margin-bottom: 12px; }
  .shop-shell .cart-rental-plan .save-state { display: block; margin-top: 8px; }
  .shop-shell .shop-cart-layout .cart-row { grid-template-columns: 64px minmax(0,1fr) 76px 116px 43px; }
  .checkout-review-item { grid-template-columns: 57px minmax(0,1fr) 88px 108px; }
}
@media (max-width: 768px) {
  .shop-shell .shop-detail-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 23px; padding: 22px; }
  .shop-detail-gallery { position: static; }
  .shop-shell .shop-detail-layout .shop-detail-image { height: 310px; }
  .detail-image-caption { margin-top: 8px; }
  .shop-shell .shop-detail-layout .detail-price-band .product-price { margin-top: 5px; }
}
@media (max-width: 640px) {
  .shop-shell .shop-flow-head { align-items: flex-start; margin-bottom: 16px; gap: 12px; }
  .shop-shell .shop-flow-head h1 { font-size: 21px; }
  .shop-shell .shop-flow-head > .button { min-height: 40px; padding: 8px 12px; font-size: 12px; }
  .shop-shell .shop-detail-layout { padding: 16px; gap: 18px; }
  .shop-shell .shop-detail-layout .shop-detail-image { height: 255px; margin: 0; }
  .shop-shell .shop-detail-layout .shop-detail-info > h2 { font-size: 18px; }
  .shop-shell .shop-detail-layout .detail-product-meta { font-size: 11px; margin-bottom: 14px; }
  .detail-price-band { padding: 13px 14px; }
  .shop-shell .shop-detail-layout .detail-price-band .product-price { font-size: 27px; }
  .detail-group-head > span { font-size: 10px; }
  .shop-shell .detail-kit-row.check-label { gap: 8px; grid-template-columns: 16px minmax(0,1fr) auto; }
  .detail-kit-row strong { font-size: 12px; }
  .detail-kit-row .tag { font-size: 9px; padding-inline: 5px; }
  .detail-rental-review .shop-facts > div { grid-template-columns: 85px minmax(0,1fr); }
  .detail-estimate { align-items: start; }
  .detail-estimate > strong { max-width: 60%; font-size: 22px; }
  .shop-shell .detail-rental-review .detail-actions { display: grid; grid-template-columns: 1fr; }
  .shop-shell .cart-rental-plan .rental-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shop-shell .cart-rental-plan .rental-fields .button { min-height: 40px; padding-inline: 8px; font-size: 11px; }
  .shop-shell .cart-items-panel .panel-head,
  .shop-shell .checkout-equipment-panel .panel-head,
  .shop-shell .cart-summary-panel .panel-head,
  .shop-shell .checkout-summary-panel .panel-head,
  .shop-shell .checkout-contact-panel .panel-head { padding: 15px; }
  .shop-shell .cart-items-body,
  .checkout-review-list { padding-inline: 15px; }
  .shop-shell .shop-cart-layout .cart-row { grid-template-columns: 50px minmax(0,1fr) minmax(85px,auto); gap: 10px; padding-block: 18px; }
  .shop-shell .shop-cart-item .cart-image { grid-column: 1; grid-row: 1 / 4; align-self: start; }
  .shop-cart-item .cart-item-info { grid-column: 2 / -1; grid-row: 1; }
  .shop-shell .shop-cart-item .cart-quantity { grid-column: 2; grid-row: 2; width: 72px; }
  .shop-shell .shop-cart-item .cart-amount { grid-column: 3; grid-row: 2; align-self: end; max-width: 145px; }
  .shop-shell .shop-cart-item .cart-remove { grid-column: 3; grid-row: 3; justify-self: end; }
  .cart-item-info > strong { font-size: 13px; }
  .cart-amount strong { font-size: 17px; }
  .shop-shell .cart-image img { height: 48px; }
  .cart-kit-details summary { min-height: 32px; padding-top: 2px; }
  .cart-kit-details summary > span { margin-left: 5px; }
  .shop-shell .cart-summary-panel .panel-body,
  .shop-shell .checkout-summary-panel .panel-body,
  .shop-shell .checkout-contact-panel .panel-body { padding: 17px 15px; }
  .cart-summary-amount > strong { font-size: 27px; }
  .checkout-review-item { grid-template-columns: 50px minmax(0,1fr) minmax(85px,auto); gap: 10px; padding-block: 17px; }
  .checkout-review-item .cart-image { grid-column: 1; grid-row: 1 / 3; }
  .checkout-review-item .cart-item-info { grid-column: 2 / -1; grid-row: 1; }
  .checkout-line-quantity { grid-column: 2; grid-row: 2; text-align: left; }
  .shop-shell .checkout-review-item .cart-amount { grid-column: 3; grid-row: 2; max-width: 140px; }
  .shop-shell #checkout-form .checkout-contact-panel .form-grid { grid-template-columns: minmax(0,1fr); gap: 16px; }
  .checkout-contact-panel .field { grid-column: auto; }
  .shop-shell .shop-guest-merge .detail-actions { display: grid; gap: 8px; }
  .shop-shell .shop-guest-merge .detail-actions .button { min-height: 44px; white-space: normal; }
  .shop-shell .shop-guest-merge .check-label { display: flex; }
  .shop-shell .shop-guest-merge .check-label input { flex: 0 0 auto; margin-top: 6px; }
}
@media (max-width: 359px) {
  .shop-shell .cart-rental-plan .rental-fields { grid-template-columns: minmax(0,1fr); }
  .shop-shell .shop-cart-layout .cart-row,
  .checkout-review-item { grid-template-columns: 43px minmax(0,1fr) minmax(80px,auto); gap: 8px; }
  .shop-shell .shop-cart-item .cart-quantity { width: 60px; }
  .shop-shell .shop-cart-item .cart-amount,
  .shop-shell .checkout-review-item .cart-amount { max-width: 120px; }
  .cart-kit-details summary > span { display: block; margin: 3px 0 0 14px; }
  .shop-shell .shop-detail-layout .shop-detail-image { height: 220px; }
  .detail-price-band .product-price small { font-size: 11px; }
  .detail-kit-row .tag { grid-column: 2; justify-self: start; }
  .dialog .cart-rental-plan .rental-fields { grid-template-columns: minmax(0,1fr); }
}
@media (pointer: coarse) {
  .shop-shell .cart-kit-details summary,
  .shop-shell .cart-remove,
  .shop-shell .cart-item-info > .button,
  .shop-shell .detail-rental-review .button.text { min-height: 44px; }
}

/* ==========================================================================
   商品列表 / 详情 / 细节态 / 响应式兜底
   只使用 var(--shop-*) 令牌；新增令牌统一在下面第一条 .shop-shell 规则里声明。
   ========================================================================== */
.shop-shell {
  --shop-card-radius: 10px;
  --shop-card-border-hover: var(--shop-line-2);
  --shop-tag-bg: var(--shop-surface-2);
  --shop-tag-fg: var(--shop-text-3);
  --shop-tag-border: var(--shop-line-1);
  --shop-note-fg: var(--shop-text-3);
  --shop-skeleton-base: var(--shop-surface-2);
  --shop-skeleton-shine: var(--shop-surface-3);
  --shop-fab-bg: var(--shop-surface);
  --shop-fab-fg: var(--shop-brand);
  --shop-fab-border: var(--shop-line-2);
  --shop-danger: var(--red);
  --shop-danger-soft: color-mix(in srgb, var(--red) 10%, transparent);
  --shop-icon-empty: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64' fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='7' y='17' width='33' height='30' rx='4'/%3E%3Cpath d='M7 26h33M15 17v-3a4 4 0 0 1 4-4h9a4 4 0 0 1 4 4v3'/%3E%3Ccircle cx='47' cy='44' r='8'/%3E%3Cpath d='m53 50 6 6'/%3E%3C/svg%3E");
  --shop-icon-missing: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11h7l2.5-4h11L28 11h7v22H5z'/%3E%3Ccircle cx='20' cy='22' r='6.5'/%3E%3C/svg%3E");
}

/* --- 卡片：白底 + 1px 边框 + 圆角 10，默认无阴影，hover 只提边框 --- */
.shop-shell .shop-products .product-card { border: 1px solid var(--shop-card-border); border-radius: var(--shop-card-radius); padding: 0; gap: 0; background: var(--shop-surface); overflow: hidden; box-shadow: none; }
.shop-shell .shop-products .product-card:hover { border-color: var(--shop-card-border-hover); box-shadow: none; transform: none; }
.shop-product-media { position: relative; padding: 0; background: var(--shop-surface); }
.shop-shell .shop-products .product-image { aspect-ratio: 1 / 1; height: auto; width: 100%; margin: 0; padding: 14px; border: 0; border-radius: 0; background: var(--shop-surface); display: flex; align-items: center; justify-content: center; }
.shop-shell .shop-products .product-image img { width: 100%; height: 100%; object-fit: contain; }
.shop-shell .shop-products .product-image:hover img { transform: none; }
.shop-price-status { top: 12px; right: 12px; left: auto; font-size: 12px; line-height: 1.5; padding: 2px 8px; border-radius: 4px; border: 1px solid var(--shop-price-flag-bg); }
.shop-product-information { padding: 14px 20px 20px; display: flex; flex-direction: column; flex: 1; gap: 6px; min-width: 0; }

/* ① 品牌（缺失走中性虚线徽标，不显示「—」） */
.shop-shell .shop-products .product-brand { align-self: flex-start; font-size: 12px; font-weight: 500; line-height: 1.7; color: var(--shop-text-3); }
.shop-shell .shop-products .product-brand.is-missing { padding: 0 7px; border: 1px dashed var(--shop-line-2); border-radius: 4px; }
/* ② 商品名：17 / 500，最多 2 行 */
.shop-shell .shop-products .product-name { min-height: 0; font-size: 17px; font-weight: 500; }
.shop-shell .shop-products .product-name > .button { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--shop-product-name); }
/* ③ 一句话规格：13px 单行省略 */
.shop-shell .shop-products .product-spec { font-size: 13px; line-height: 1.5; color: var(--shop-text-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ④ 标签行：最多 2 枚，22px 高 */
.shop-shell .shop-products .product-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.shop-shell .shop-products .shop-product-tag { display: inline-flex; align-items: center; max-width: 100%; height: 22px; padding: 0 8px; border: 1px solid var(--shop-tag-border); border-radius: 4px; background: var(--shop-tag-bg); color: var(--shop-tag-fg); font-size: 12px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* ⑤ 价格：20 / 700 tabular-nums，/天 12px 不加粗 */
.shop-shell .shop-products .product-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px; min-height: 0; margin: 0; font-size: 20px; font-weight: 700; color: var(--shop-price); font-variant-numeric: tabular-nums; }
.shop-products .product-price strong { font-size: 20px; font-weight: 700; line-height: 1.25; color: var(--shop-price); font-variant-numeric: tabular-nums; }
.shop-products .product-price small { font-size: 12px; font-weight: 400; color: var(--shop-price-note); }
.shop-products .product-price .price-prefix { font-size: 12px; font-weight: 400; color: var(--shop-price-prefix); }
.shop-products .product-price .price-unknown { font-size: 20px; font-weight: 700; color: var(--shop-price-unknown); }
/* ⑥ 固定注脚：起租口径 + 不含项 + 押金口径（中性灰，不用红字） */
.shop-shell .shop-products .shop-product-note { display: flex; flex-wrap: wrap; gap: 0; margin: 0; font-size: 12px; line-height: 1.6; color: var(--shop-note-fg); }
.shop-shell .shop-products .shop-product-note > span { min-width: 0; }
.shop-shell .shop-products .shop-product-note > span + span::before { content: "·"; margin: 0 6px; color: var(--shop-line-2); }
/* ⑦ 操作行：主按钮撑满 44 高 */
.shop-shell .shop-products .product-bottom { display: flex; align-items: stretch; gap: 8px; margin-top: auto; padding-top: 12px; flex-wrap: nowrap; }
.shop-shell .shop-products .product-bottom .shop-add-action { flex: 1 1 auto; min-width: 0; min-height: 44px; height: 44px; font-size: 13px; padding-inline: 10px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-shell .shop-products .product-bottom .shop-detail-link { flex: 0 0 auto; min-height: 44px; height: 44px; font-size: 13px; padding-inline: 14px; }
.shop-shell .shop-products .shop-lock-note { margin: 2px 0 0; font-size: 12px; line-height: 1.6; color: var(--shop-note-fg); }
.shop-shell .shop-estimate { font-size: 12px; min-height: 0; padding-top: 8px; border-top: 1px solid var(--shop-estimate-border); margin: 4px 0 0; line-height: 1.6; font-variant-numeric: tabular-nums; }
.shop-estimate small { font-size: 12px; }

/* --- 筛选与排序：≥1280 左侧常驻栏 --- */
.shop-shell .shop-catalogue { display: grid; grid-template-columns: 232px minmax(0,1fr); grid-template-areas: "head head" "filter body"; column-gap: 20px; align-items: start; min-width: 0; }
.shop-shell .shop-catalogue > .shop-catalogue-head { grid-area: head; margin-bottom: 16px; }
.shop-shell .shop-catalogue > .shop-filter { grid-area: filter; position: sticky; top: 22px; display: block; padding: 0; min-width: 0; }
.shop-shell .shop-catalogue > .shop-commerce-grid { grid-area: body; grid-template-columns: minmax(0,1fr); min-width: 0; }
.shop-shell .shop-catalogue > .shop-commerce-grid.catalogue-home { display: grid; }
.shop-shell .shop-filter-bar { display: none; }
.shop-shell .shop-filter-panel { border: 1px solid var(--shop-line-1); border-radius: var(--shop-card-radius); background: var(--shop-surface); padding: 18px 20px; }
.shop-shell .shop-filter-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.shop-shell .shop-filter-panel-head strong { font-size: 13px; font-weight: 600; color: var(--shop-text-1); }
.shop-shell .shop-filter-group { padding: 14px 0 4px; border-top: 1px solid var(--shop-line-1); }
.shop-shell .shop-filter-group:first-of-type { border-top: 0; }
.shop-shell .shop-filter-group h3 { margin: 0 0 4px; font-size: 12px; font-weight: 500; color: var(--shop-text-2); }
.shop-shell .shop-filter-options { display: flex; flex-direction: column; }
.shop-shell .shop-filter-panel-foot { display: none; }
.shop-shell .shop-filter-backdrop { display: none; }
.shop-shell .shop-filter-categories .shop-categories { padding: 0; background: transparent; border: 0; border-radius: 0; max-height: none; overflow: visible; }
.shop-shell .shop-filter-categories .shop-categories button { padding: 0 2px; min-height: 40px; font-size: 13px; }
/* 统一勾选框：可点区 ≥44×44 */
.shop-shell .shop-check { display: flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 2px; font-size: 13px; color: var(--shop-text-1); cursor: pointer; }
.shop-shell .shop-check > input { flex: 0 0 auto; width: 16px; height: 16px; margin: 0; accent-color: var(--blue); }
.shop-shell .shop-check > span { flex: 1 1 auto; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.shop-shell .shop-check > b { flex: 0 0 auto; margin-left: auto; font-size: 12px; font-weight: 400; color: var(--shop-text-3); font-variant-numeric: tabular-nums; }
.shop-shell .shop-check.is-locked { color: var(--shop-text-2); cursor: default; }
.shop-shell .shop-filter-trigger,
.shop-shell .shop-filter-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 12px; border: 1px solid var(--shop-line-2); border-radius: 999px; background: var(--shop-surface); color: var(--shop-text-1); font-size: 13px; font-weight: 500; white-space: nowrap; }
.shop-shell .shop-filter-chip-count { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding-inline: 5px; border-radius: 9px; background: var(--shop-accent); color: var(--shop-text-inv); font-size: 12px; font-weight: 700; }
.shop-shell .shop-filter-chip-x { color: var(--shop-text-3); font-size: 13px; }
.shop-shell .shop-filter-sort { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--shop-text-3); }
.shop-shell .shop-filter-sort select { height: 36px; max-width: 100%; font-size: 12px; padding: 4px 8px; }

/* --- 详情页参数：分组 + 键值对表格 --- */
.shop-shell .shop-detail-specs { margin: 18px 0 4px; }
.shop-shell .detail-spec-group { margin: 16px 0 6px; font-size: 15px; font-weight: 600; color: var(--shop-text-1); }
.shop-shell .detail-spec-table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.shop-shell .detail-spec-table th { width: 120px; text-align: left; vertical-align: top; font-weight: 400; font-size: 13px; color: var(--shop-text-3); padding: 9px 12px 9px 0; border-bottom: 1px solid var(--shop-line-1); }
.shop-shell .detail-spec-table td { font-size: 14px; color: var(--shop-text-1); padding: 9px 0; border-bottom: 1px solid var(--shop-line-1); overflow-wrap: anywhere; }
.shop-shell .detail-spec-table tr:last-child th,
.shop-shell .detail-spec-table tr:last-child td { border-bottom: 0; }

/* --- 详情页租期与价格说明四行 --- */
.shop-shell .shop-detail-costs { display: grid; gap: 9px; margin: 14px 0 0; padding-top: 13px; border-top: 1px solid var(--shop-line-1); }
.shop-shell .shop-detail-costs > div { display: grid; grid-template-columns: 76px minmax(0,1fr); align-items: baseline; gap: 12px; }
.shop-shell .shop-detail-costs dt { font-size: 13px; color: var(--shop-text-3); }
.shop-shell .shop-detail-costs dd { margin: 0; font-size: 14px; font-weight: 500; color: var(--shop-text-1); font-variant-numeric: tabular-nums; }
.shop-shell .shop-detail-costs .detail-cost-total { font-size: 20px; font-weight: 700; color: var(--shop-price); }
.shop-shell .shop-detail-costs .detail-cost-note { font-size: 12px; font-weight: 400; line-height: 1.6; color: var(--shop-note-fg); }
.shop-shell .detail-price-band .product-price { font-variant-numeric: tabular-nums; }
.shop-shell .detail-actions-secondary { margin-top: 10px; }
.shop-shell .shop-detail-layout .shop-lock-note { margin: 8px 0 0; font-size: 12px; line-height: 1.6; color: var(--shop-note-fg); }

/* --- 详情页保障行与客服入口 --- */
.shop-shell .shop-detail-service { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; padding: 16px 20px; border: 1px solid var(--shop-line-1); border-radius: var(--shop-card-radius); background: var(--shop-surface); }
.shop-shell .shop-service-list { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--shop-text-2); }
.shop-shell .shop-service-list li { display: inline-flex; align-items: center; gap: 7px; }
.shop-shell .shop-service-list li::before { content: "✓"; font-weight: 700; color: var(--shop-brand); }
.shop-shell .button.quiet { background: var(--shop-surface); border-color: var(--shop-line-2); color: var(--shop-text-2); }
.shop-shell .button.quiet:hover:not(:disabled) { border-color: var(--shop-brand); color: var(--shop-brand); }
.shop-shell .shop-service-fab { position: fixed; right: 20px; bottom: 20px; z-index: 30; }
.shop-shell .shop-service-fab-button { display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 1px solid var(--shop-fab-border); border-radius: 50%; background: var(--shop-fab-bg); color: var(--shop-fab-fg); box-shadow: 0 6px 18px var(--shop-card-shadow); }
.shop-shell .shop-service-fab-button svg { width: 22px; height: 22px; }
.shop-shell .shop-service-panel { display: none; position: absolute; right: 0; bottom: 60px; width: 240px; height: 320px; overflow: auto; padding: 14px; border: 1px solid var(--shop-border); border-radius: var(--shop-card-radius); background: var(--shop-surface); box-shadow: 0 10px 30px var(--shop-card-shadow); }
.shop-shell .shop-service-fab[data-fab-open="true"] .shop-service-panel { display: block; }
.shop-shell .shop-service-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.shop-shell .shop-service-panel-head strong { font-size: 13px; }
.shop-shell .shop-service-panel-close { width: 32px; height: 32px; border: 0; border-radius: 6px; background: transparent; color: var(--shop-text-3); font-size: 18px; line-height: 1; }
.shop-shell .shop-service-entries { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.shop-shell .shop-service-entries li { display: grid; gap: 2px; padding: 9px 10px; border: 1px solid var(--shop-line-1); border-radius: 6px; }
.shop-shell .shop-service-entries strong { font-size: 13px; color: var(--shop-text-1); }
.shop-shell .shop-service-entries span { font-size: 12px; line-height: 1.6; color: var(--shop-note-fg); }
.shop-shell .shop-service-entries .button.text { justify-self: start; padding: 0; min-height: 24px; font-size: 13px; }
.shop-shell .shop-service-notes { display: grid; gap: 10px; margin: 0 0 12px; padding: 0; list-style: none; }
.shop-shell .shop-service-notes li { display: grid; gap: 2px; }
.shop-shell .shop-service-notes strong { font-size: 13px; }
.shop-shell .shop-service-notes span { font-size: 12px; line-height: 1.7; color: var(--shop-note-fg); }

/* --- 骨架屏 --- */
.shop-shell .shop-skeleton { pointer-events: none; }
.shop-shell .shop-skeleton-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 16px; }
.shop-shell .shop-skeleton-bar { display: block; border-radius: 6px; background: var(--shop-skeleton-base); background-image: linear-gradient(90deg, var(--shop-skeleton-base) 0%, var(--shop-skeleton-shine) 45%, var(--shop-skeleton-base) 90%); background-size: 220% 100%; animation: shop-skeleton-sweep 1.4s var(--ease-out) infinite; }
@keyframes shop-skeleton-sweep { from { background-position: 220% 0; } to { background-position: -120% 0; } }
.shop-shell .shop-skeleton-bar.media { width: 100%; aspect-ratio: 1 / 1; border-radius: 0; }
.shop-shell .shop-skeleton-bar.brand { width: 38%; height: 12px; }
.shop-shell .shop-skeleton-bar.name { width: 84%; height: 17px; }
.shop-shell .shop-skeleton-bar.spec { width: 62%; height: 13px; }
.shop-shell .shop-skeleton-bar.tags { width: 68%; height: 22px; }
.shop-shell .shop-skeleton-bar.price { width: 44%; height: 20px; }
.shop-shell .shop-skeleton-bar.note { width: 92%; height: 12px; }
.shop-shell .shop-skeleton-bar.actions { width: 100%; height: 44px; }
.shop-shell .shop-skeleton-bar.gallery { width: 100%; aspect-ratio: 1 / 1; border-radius: 14px; }
.shop-shell .shop-skeleton-bar.title { width: 72%; height: 25px; }
.shop-shell .shop-skeleton-bar.meta { width: 44%; height: 12px; }
.shop-shell .shop-skeleton-bar.line { width: 100%; height: 13px; }
.shop-shell .shop-skeleton-detail { display: grid; grid-template-columns: minmax(0,.94fr) minmax(0,1.06fr); gap: 38px; align-items: start; }

/* --- 空状态：64px 线性图标，禁止插画堆叠 --- */
.shop-shell .empty { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.shop-shell .empty::before { content: ""; width: 64px; height: 64px; flex: 0 0 auto; background: var(--shop-line-2); -webkit-mask: var(--shop-icon-empty) center / contain no-repeat; mask: var(--shop-icon-empty) center / contain no-repeat; }

/* --- 缺图占位：类别图标 + surface-2 底色块 --- */
.shop-shell .image-missing { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 100%; min-height: 88px; padding: 10px; background: var(--shop-surface-2); color: var(--shop-text-3); font-size: 12px; line-height: 1.6; text-align: center; }
.shop-shell .image-missing::before { content: ""; width: 40px; height: 40px; flex: 0 0 auto; background: var(--shop-line-2); -webkit-mask: var(--shop-icon-missing) center / contain no-repeat; mask: var(--shop-icon-missing) center / contain no-repeat; }

/* --- 按钮：补齐 danger（描边型；实底只用于二次确认最终按钮） --- */
.shop-shell .button.danger { background: transparent; border-color: var(--shop-danger); color: var(--shop-danger); }
.shop-shell .button.danger:hover:not(:disabled) { background: var(--shop-danger-soft); border-color: var(--shop-danger); color: var(--shop-danger); }
.shop-shell .button.danger.solid { background: var(--shop-danger); border-color: var(--shop-danger); color: var(--shop-text-inv); }

/* --- 焦点双环 --- */
.shop-shell .product-card .button:focus-visible,
.shop-shell .shop-check > input:focus-visible,
.shop-shell .shop-filter-trigger:focus-visible,
.shop-shell .shop-filter-chip:focus-visible,
.shop-shell .shop-service-fab-button:focus-visible { outline: 2px solid var(--shop-accent); outline-offset: 2px; box-shadow: 0 0 0 4px var(--shop-brand-ring); }

/* --- 响应式兜底 --- */
/* 641–900 租期条：900 断点就把列数降到 2，避免 4 列在窄屏挤压溢出 */
@media (max-width: 900px) {
  .shop-shell .shop-rental-bar .rental-fields { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .shop-shell .shop-rental-bar > .save-state,
  .shop-shell .shop-rental-bar > .form-error { grid-column: 1 / -1; }
}
/* 768–1279：顶部 chips 横条（48 高）+ 320px 浮层面板 */
@media (max-width: 1279px) {
  .shop-shell .shop-catalogue { display: block; }
  .shop-shell .shop-catalogue > .shop-filter { position: sticky; top: 0; z-index: 12; margin-bottom: 14px; background: var(--shop-surface); }
  .shop-shell .shop-filter-bar { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 0; border-bottom: 1px solid var(--shop-line-1); }
  .shop-shell .shop-filter-chips { display: flex; gap: 8px; flex: 1 1 auto; min-width: 0; overflow-x: auto; scrollbar-width: none; }
  .shop-shell .shop-filter-chips::-webkit-scrollbar { display: none; }
  .shop-shell .shop-filter-sort { margin-left: auto; flex: 0 0 auto; }
  .shop-shell .shop-filter-panel { display: none; position: absolute; top: calc(100% + 6px); left: 0; width: 320px; max-width: calc(100vw - 32px); max-height: 68vh; overflow: auto; z-index: 13; box-shadow: 0 12px 30px var(--shop-card-shadow); }
  .shop-shell .shop-filter[data-filter-open="true"] .shop-filter-panel { display: block; }
}
/* <768：横滚 chips 吸顶 + 底部抽屉（重置 / 确认） */
@media (max-width: 767px) {
  .shop-shell .shop-filter-panel { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; max-width: none; max-height: 76vh; border-radius: 14px 14px 0 0; padding-bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 30; }
  .shop-shell .shop-filter-panel-foot { display: flex; gap: 10px; padding-top: 14px; border-top: 1px solid var(--shop-line-1); margin-top: 6px; }
  .shop-shell .shop-filter-panel-foot .button { flex: 1; min-height: 44px; }
  .shop-shell .shop-filter-backdrop { display: block; position: fixed; inset: 0; padding: 0; border: 0; background: rgb(24 28 40 / 38%); z-index: 29; }
  .shop-shell .shop-filter:not([data-filter-open="true"]) .shop-filter-backdrop { display: none; }
  /* 移动端客服并进底部固定条，不额外占内容空间 */
  .shop-shell .shop-service-fab { left: 0; right: 0; bottom: 0; display: flex; }
  .shop-shell .shop-service-fab-button { width: auto; height: 56px; flex: 1; justify-content: center; gap: 8px; padding-bottom: env(safe-area-inset-bottom); border: 0; border-top: 1px solid var(--shop-line-1); border-radius: 0; background: var(--shop-surface); color: var(--shop-text-1); font-size: 13px; font-weight: 600; box-shadow: none; }
  .shop-shell .shop-service-panel { left: 0; right: 0; bottom: 56px; width: auto; height: auto; max-height: 62vh; border-radius: 14px 14px 0 0; }
  .shop-shell .shop-body:has(.shop-service-fab) { padding-bottom: calc(56px + env(safe-area-inset-bottom)); }
  .shop-shell .shop-products { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
/* ≤640：卡片双按钮换行，避免挤压 */
@media (max-width: 640px) {
  .shop-shell .shop-products .product-bottom { flex-direction: column; align-items: stretch; }
  .shop-shell .shop-products .product-bottom .shop-add-action,
  .shop-shell .shop-products .product-bottom .shop-detail-link { flex: 1 1 auto; width: 100%; }
  .shop-shell .shop-products .shop-filter-trigger,
  .shop-shell .shop-filter-chip { min-height: 40px; padding: 0 10px; font-size: 12px; }
  .shop-shell .shop-detail-service { padding: 14px 15px; }
  .shop-shell .shop-service-list { gap: 6px 14px; font-size: 12px; }
}
@media (max-width: 359px) {
  .shop-shell .shop-products { grid-template-columns: minmax(0,1fr); }
  .shop-shell .shop-detail-costs > div { grid-template-columns: minmax(0,1fr); gap: 2px; }
}
@media (prefers-reduced-motion: reduce) {
  .shop-shell .shop-skeleton-bar { animation: none !important; background-image: none !important; }
}

/* --- 深色主题：新增组件与令牌翻转（theme.css 只翻转了既有选择器） --- */
html[data-theme="dark"] .shop-shell .shop-filter-panel,
html[data-theme="dark"] .shop-shell .shop-filter-trigger,
html[data-theme="dark"] .shop-shell .shop-filter-chip,
html[data-theme="dark"] .shop-shell .shop-detail-service,
html[data-theme="dark"] .shop-shell .shop-service-panel,
html[data-theme="dark"] .shop-shell .shop-service-fab-button,
html[data-theme="dark"] .shop-shell .button.quiet { background: var(--surface-solid); border-color: var(--n-200); color: var(--ink); }
html[data-theme="dark"] .shop-shell .shop-filter-panel-head strong,
html[data-theme="dark"] .shop-shell .shop-check,
html[data-theme="dark"] .shop-shell .shop-service-entries strong,
html[data-theme="dark"] .shop-shell .shop-service-notes strong,
html[data-theme="dark"] .shop-shell .detail-spec-group { color: var(--ink); }
html[data-theme="dark"] .shop-shell .shop-check > b,
html[data-theme="dark"] .shop-shell .shop-filter-sort,
html[data-theme="dark"] .shop-shell .shop-filter-chip-x,
html[data-theme="dark"] .shop-shell .shop-service-entries span,
html[data-theme="dark"] .shop-shell .shop-service-notes span,
html[data-theme="dark"] .shop-shell .shop-service-panel-close,
html[data-theme="dark"] .shop-shell .shop-filter-group h3 { color: var(--muted); }
html[data-theme="dark"] .shop-shell .shop-filter-group,
html[data-theme="dark"] .shop-shell .detail-spec-table th,
html[data-theme="dark"] .shop-shell .detail-spec-table td,
html[data-theme="dark"] .shop-shell .shop-detail-costs,
html[data-theme="dark"] .shop-shell .shop-service-entries li,
html[data-theme="dark"] .shop-shell .shop-filter-panel-foot { border-color: var(--n-200); }
html[data-theme="dark"] .shop-shell .detail-spec-table th,
html[data-theme="dark"] .shop-shell .shop-detail-costs dt,
html[data-theme="dark"] .shop-shell .detail-price-band > span { color: var(--muted); }
html[data-theme="dark"] .shop-shell .detail-spec-table td,
html[data-theme="dark"] .shop-shell .shop-detail-costs dd { color: var(--ink); }
html[data-theme="dark"] .shop-shell .shop-detail-costs .detail-cost-total,
html[data-theme="dark"] .shop-shell .shop-service-list li::before { color: var(--shop-accent); }
html[data-theme="dark"] .shop-shell .shop-product-note,
html[data-theme="dark"] .shop-shell .shop-product-note > span + span::before,
html[data-theme="dark"] .shop-shell .shop-lock-note,
html[data-theme="dark"] .shop-shell .shop-detail-costs .detail-cost-note { color: var(--muted); }
html[data-theme="dark"] .shop-shell .shop-product-tag { background: var(--surface-2); border-color: var(--n-200); color: var(--muted); }
html[data-theme="dark"] .shop-shell .product-brand.is-missing { border-color: var(--n-300); color: var(--muted); }
html[data-theme="dark"] .shop-shell .shop-detail-price-band { background: var(--surface-2); }
html[data-theme="dark"] .shop-shell .detail-price-band { background: var(--surface-2); border: 1px solid var(--n-200); }
html[data-theme="dark"] .shop-shell .image-missing { background: var(--surface-2); color: var(--muted); }
html[data-theme="dark"] .shop-shell .image-missing::before,
html[data-theme="dark"] .shop-shell .empty::before { background: var(--n-300); }
html[data-theme="dark"] .shop-shell .shop-skeleton-bar { background: var(--surface-2); background-image: linear-gradient(90deg, var(--surface-2) 0%, var(--surface-3) 45%, var(--surface-2) 90%); }
html[data-theme="dark"] .shop-shell .shop-filter-backdrop { background: rgb(0 0 0 / 55%); }
html[data-theme="dark"] .shop-shell .shop-service-fab-button { color: var(--shop-accent); }
