:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #0f172a;
  --primary-soft: #1e3a5f;
  --accent: #0369a1;
  --line: #e2e8f0;
  --shadow: 0 10px 26px rgba(15, 23, 42, 0.08);
  --radius: 14px;
  --contact-height: 24px;
  --font-serif: Georgia, "Noto Serif SC", "Songti SC", "SimSun", serif;
}

* {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

[hidden] {
  display: none !important;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  line-height: 1.5;
  overflow-x: hidden;
}

button {
  font: inherit;
  border: 0;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

.app-shell {
  display: flex;
  flex-direction: column;
  max-width: 640px;
  min-height: 100vh;
  margin: 0 auto;
  padding-bottom: calc(var(--contact-height) + env(safe-area-inset-bottom, 0px));
  background: var(--bg);
}

.page {
  flex: 1;
  min-height: 100vh;
}

.home-page {
  display: block;
  min-height: 0;
}

.home-hero {
  position: relative;
  padding: 20px 22px 18px;
  color: #ffffff;
  background:
    radial-gradient(circle at 80% 12%, rgba(3, 105, 161, 0.32), transparent 44%),
    linear-gradient(150deg, #0f172a 0%, #1e3a5f 100%);
  overflow: hidden;
}

.home-hero::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -90px;
  width: 220px;
  height: 220px;
  border: 24px solid rgba(147, 197, 253, 0.14);
  border-radius: 50%;
}

.home-hero__brand {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.home-hero__en {
  position: relative;
  z-index: 1;
  margin: 7px 0 0;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.82);
  text-transform: uppercase;
}

.home-hero__slogan {
  position: relative;
  z-index: 1;
  margin: 7px 0 0;
  font-size: 15px;
  font-weight: 600;
  font-family: var(--font-serif);
  letter-spacing: 0.06em;
  color: #93c5fd;
}

.home-hero__chips {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.chip {
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(147, 197, 253, 0.5);
  background: rgba(147, 197, 253, 0.08);
  font-size: 12px;
  font-weight: 600;
  color: #bfdbfe;
}

.section-title {
  margin: 14px 16px 10px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 800;
}

.category-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 14px 14px;
}

.hot-quotes {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 14px 14px;
}

.hot-quote {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 5px 10px 5px 7px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
  color: inherit;
}

.hot-quote img {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.hot-quote__info {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hot-quote__info strong {
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.hot-quote__info span {
  font-size: 12px;
  color: var(--muted);
}

.hot-quote__price {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.hot-quote svg {
  display: block;
}

.category-card {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  padding: 0;
  text-align: left;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 0;
}

.category-card__image {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.category-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.82), transparent);
  pointer-events: none;
}

.category-card--disabled {
  filter: grayscale(0.22);
  opacity: 0.78;
}

.category-card__badge {
  position: absolute;
  top: 7px;
  right: 7px;
  z-index: 1;
  padding: 3px 7px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
}

.category-card__label {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 14px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  color: #ffffff;
}

.category-card__label::before {
  content: "";
  width: 28px;
  height: 3px;
  border-radius: 2px;
  background: linear-gradient(90deg, #f59e0b, #ffd28a);
}

.category-card__label strong {
  font-size: 21px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 1px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.category-card__label span {
  display: none;
}

.page-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.back-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #eef2f7;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}

.page-header__title {
  margin: 0;
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 800;
}

.page-header__title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-header__highlight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 999px;
  background: #dbeafe;
  color: #075985;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 4px 10px rgba(3, 105, 161, 0.12);
}

.page-header__highlight--custom {
  background: #0369a1;
  color: #ffffff;
  box-shadow: 0 6px 14px rgba(3, 105, 161, 0.28);
}

.tabs {
  display: flex;
  gap: 4px;
  margin: 16px;
  padding: 4px;
  border-radius: 999px;
  background: #e2e8f0;
}

.tab {
  flex: 1;
  padding: 10px 12px;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
}

.tab.active {
  background-color: #0f172a;
  background-image:
    radial-gradient(circle at 18px 9px, rgba(147, 197, 253, 0.16) 1.5px, transparent 2px),
    radial-gradient(circle at 38px 23px, rgba(147, 197, 253, 0.1) 1px, transparent 1.5px),
    linear-gradient(135deg, #1e3a5f, #0f172a);
  background-size: 48px 32px, 32px 32px, auto;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.2);
}

.series-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 0 16px 24px;
}

.series-card {
  width: 100%;
  padding: 18px;
  text-align: left;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.series-card__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.series-card__name {
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
}

.series-card__title-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  min-width: 0;
}

.series-card__craft {
  display: inline-flex;
  align-items: center;
  padding: 6px 9px;
  border-radius: 10px;
  background: #0369a1;
  color: #ffffff;
  font-size: 12px;
  font-weight: 800;
  box-shadow: 0 6px 14px rgba(3, 105, 161, 0.28);
}

.series-card__notice {
  flex: none;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 8px;
  border-radius: 12px;
  background: #0369a1;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  box-shadow: 0 6px 14px rgba(3, 105, 161, 0.28);
}

.series-card__notice--custom {
  background: #1e3a5f;
  box-shadow: 0 6px 14px rgba(15, 23, 42, 0.28);
}

.series-card__notice .icon {
  font-size: 16px;
}

.collection-card__hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.series-card__arrow {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #eef2f7;
  color: var(--primary-soft);
  font-size: 22px;
  line-height: 1;
  text-align: center;
}

/* ===== 酒店 / 台球厅列表卡片 · 版式①（标签 + 三图缩略条 + 拿货价条）===== */

.tag-card {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
  color: var(--card-text);
  background: var(--card-surface);
  border: 1px solid var(--card-line);
  border-radius: 14px;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

/* 配色 A：米白 · 深墨绿 · 香槟金（酒店） */
.tag-card--hotel {
  --card-text: #12271f;
  --card-surface: #fffdfb;
  --card-line: #e7e2d7;
  --card-shadow: 0 6px 18px rgba(18, 32, 26, 0.07);
  --card-tag-bg: #f4f2ec;
  --card-tag-line: #e7e2d7;
  --card-tag-text: #5c6357;
  --card-notice-bg: #fbf3e6;
  --card-notice-line: #eadfc8;
  --card-notice-text: #8a6b2e;
  --card-badge-bg: #f8f1e3;
  --card-badge-line: #e9dcc3;
  --card-badge-text: #8a6b2e;
  --card-shot-bg: #efece5;
  --card-more-bg: rgba(13, 33, 27, 0.6);
  --card-more-text: #e8e3d6;
  --card-cap-text: #5c6357;
  --card-cap-link: #9c7c3d;
  --card-bar-bg: linear-gradient(120deg, #16362c, #0d211b);
  --card-bar-label: #a8c0b4;
  --card-price: #dcc08a;
  --card-price-unit: #b9c9bd;
  --card-cta-bg: linear-gradient(135deg, #d3b478, #b8945a);
  --card-cta-text: #1a1408;
}

/* 配色 B：暖砂 · 深棕咖 · 古铜金（台球厅） */
.tag-card--billiard {
  --card-text: #2a211a;
  --card-surface: #fffcf8;
  --card-line: #eae0d3;
  --card-shadow: 0 6px 18px rgba(43, 33, 25, 0.08);
  --card-tag-bg: #f6f1ea;
  --card-tag-line: #eae0d3;
  --card-tag-text: #6b5f52;
  --card-notice-bg: #fbf2e4;
  --card-notice-line: #eadfc8;
  --card-notice-text: #8a6b2e;
  --card-badge-bg: #eef1ea;
  --card-badge-line: #dce4d4;
  --card-badge-text: #4a5c42;
  --card-shot-bg: #f0e8de;
  --card-more-bg: rgba(43, 33, 25, 0.6);
  --card-more-text: #ece1d0;
  --card-cap-text: #6b5f52;
  --card-cap-link: #a07438;
  --card-bar-bg: linear-gradient(120deg, #3a2b1f, #21180f);
  --card-bar-label: #c3a98a;
  --card-price: #e2c188;
  --card-price-unit: #cbbcab;
  --card-cta-bg: linear-gradient(135deg, #d3ac74, #a9854f);
  --card-cta-text: #241a0f;
}

/* 定制徽标两套配色一致 */
.tag-card--hotel,
.tag-card--billiard {
  --card-custom-badge-bg: #f7ecdc;
  --card-custom-badge-line: #ecd9bd;
  --card-custom-badge-text: #8b5a2b;
}

.tag-card__body {
  padding: 12px 13px 13px;
}

.tag-card__head {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.tag-card__name {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tag-card__badge {
  padding: 2px 8px;
  border-radius: 999px;
  background: var(--card-badge-bg);
  border: 1px solid var(--card-badge-line);
  color: var(--card-badge-text);
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.tag-card__badge--custom {
  background: var(--card-custom-badge-bg);
  border-color: var(--card-custom-badge-line);
  color: var(--card-custom-badge-text);
}

.tag-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 8px;
}

.tag-card__tags span {
  padding: 2px 8px;
  border-radius: 5px;
  background: var(--card-tag-bg);
  border: 1px solid var(--card-tag-line);
  color: var(--card-tag-text);
  font-size: 10.5px;
}

.tag-card__tags span.tag-card__notice {
  background: var(--card-notice-bg);
  border-color: var(--card-notice-line);
  color: var(--card-notice-text);
  font-weight: 600;
}

.tag-card__note {
  margin-top: 8px;
  color: var(--card-tag-text);
  font-size: 10.5px;
  letter-spacing: 0.01em;
}

.tag-card__shots {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 5px;
  margin-top: 10px;
}

/* 图上提示：点击看效果图 / 点击看色卡 */
.tag-card__hint {
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 2;
  padding: 5px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #f0453f, #c0121a);
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 3px 9px rgba(150, 10, 20, 0.35);
  pointer-events: none;
}

.tag-card__shot {
  position: relative;
  display: block;
  height: 88px;
  border-radius: 7px;
  overflow: hidden;
  background: var(--card-shot-bg);
}

.tag-card__shot img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 0;
}

.tag-card__more {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--card-more-bg);
  color: var(--card-more-text);
  font-size: 12px;
  font-weight: 700;
}

.tag-card__cap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 7px;
}

.tag-card__cap b {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--card-cap-text);
}

.tag-card__cap em {
  font-style: normal;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--card-cap-link);
}

.tag-card__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 11px;
  padding: 9px 12px 10px;
  border-radius: 10px;
  background: var(--card-bar-bg);
}

.tag-card__bar-label {
  display: block;
  color: var(--card-bar-label);
  font-size: 10px;
  letter-spacing: 0.12em;
}

.tag-card__price {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-top: 1px;
  color: var(--card-price);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.1;
  font-variant-numeric: tabular-nums;
}

.tag-card__price small {
  font-size: 10.5px;
  font-weight: 500;
  color: var(--card-price-unit);
}

.tag-card__cta {
  flex: none;
  padding: 8px 13px;
  border-radius: 999px;
  background: var(--card-cta-bg);
  color: var(--card-cta-text);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* ===== 酒店 / 台球厅列表页配色（只作用于这两个品类）===== */

.page--hotel {
  background: #f5f3ee;
}

.page--hotel .page-header {
  background: #fffdf9;
  border-bottom-color: #e6e1d6;
}

.page--hotel .back-button {
  background: #f1efe8;
  color: #3f4a42;
}

.page--hotel .tabs {
  gap: 8px;
  margin: 12px 16px 0;
  padding: 0;
  background: transparent;
}

.page--hotel .tab {
  flex: none;
  padding: 7px 14px;
  background: #f4f2ec;
  border: 1px solid #e7e2d7;
  color: #7d8a80;
  font-size: 13px;
  font-weight: 600;
}

.page--hotel .tab.active {
  background-color: transparent;
  background-image: linear-gradient(135deg, #d3b478, #b8945a);
  color: #12271f;
  font-size: 13px;
  font-weight: 800;
  box-shadow: none;
}

.page--hotel .series-list {
  gap: 12px;
  padding: 12px 16px 24px;
}

.page--billiard {
  background: #f4efe7;
}

.page--billiard .page-header {
  background: #fffcf8;
  border-bottom-color: #eae0d3;
}

.page--billiard .back-button {
  background: #f3ece2;
  color: #57493c;
}

.page--billiard .tabs {
  gap: 8px;
  margin: 12px 16px 0;
  padding: 0;
  background: transparent;
}

.page--billiard .tab {
  flex: none;
  padding: 7px 14px;
  background: #f6f1ea;
  border: 1px solid #eae0d3;
  color: #8a7a68;
  font-size: 13px;
  font-weight: 600;
}

.page--billiard .tab.active {
  background-color: transparent;
  background-image: linear-gradient(135deg, #d3ac74, #a9854f);
  color: #241a0f;
  font-size: 13px;
  font-weight: 800;
  box-shadow: none;
}

.page--billiard .series-list {
  gap: 12px;
  padding: 12px 16px 24px;
}

/* 台球厅素色系列合集卡（沿用旧结构，配色跟到暖砂·深棕咖） */
.page--billiard .collection-card {
  background: #fffcf8;
  border: 1px solid #eae0d3;
  box-shadow: 0 6px 18px rgba(43, 33, 25, 0.08);
}

.page--billiard .collection-card .series-card__name {
  font-family: var(--font-serif);
  font-size: 16.5px;
  font-weight: 700;
  color: #2a211a;
}

.page--billiard .collection-card .series-card__notice {
  background: #fbf2e4;
  color: #8a6b2e;
  box-shadow: none;
}

.page--billiard .collection-card .collection-card__hint {
  color: #6b5f52;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.spec-grid--custom {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
}

.spec-grid--custom .spec-item {
  padding: 9px 4px;
}

.spec-grid--custom .spec-item__label {
  font-size: 12px;
}

.spec-grid--custom .spec-item__value {
  font-size: 14px;
}

.spec-grid--custom .spec-item__label,
.spec-grid--custom .spec-item__value {
  white-space: nowrap;
}

.spec-grid--custom .spec-item:nth-child(3) .spec-item__label,
.spec-grid--custom .spec-item:nth-child(4) .spec-item__label {
  font-size: 11px;
}

.spec-grid--custom .spec-item:nth-child(3) .spec-item__value,
.spec-grid--custom .spec-item:nth-child(4) .spec-item__value {
  font-size: 12px;
}

.spec-item {
  padding: 10px 6px;
  border-radius: 12px;
  background: #f1f5f9;
  text-align: center;
}

.spec-item__label {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 12px;
}

.spec-item__value {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  word-break: break-word;
}

.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  padding: 16px;
}

.series-effects {
  padding: 0 0 22px;
}

.series-effects__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.series-effects__list img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hotel-scenes {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 -16px -24px;
  padding: 0;
  height: calc(100vh - 180px);
  height: calc(100dvh - 180px);
}

.hotel-scene-card {
  position: relative;
  flex: 1;
  min-height: 0;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #0d211b;
  text-align: left;
  overflow: hidden;
  cursor: pointer;
}

.hotel-scene-card__cover {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hotel-scene-card__cover--empty {
  background: linear-gradient(135deg, #16362c, #0d211b);
}

.hotel-scene-card__shade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 62%;
  background: linear-gradient(to top, rgba(6, 26, 21, 0.88), rgba(6, 26, 21, 0));
  pointer-events: none;
}

.hotel-scene-card__body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px 20px;
}

.hotel-scene-card__name {
  display: block;
  color: #ffffff;
  font-size: 27px;
  font-weight: 800;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.hotel-scene-card__en {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: #e2c795;
}

.hotel-scene-card__line {
  display: block;
  width: 36px;
  height: 2px;
  margin: 10px 0 9px;
  background: linear-gradient(90deg, #d3b478, rgba(211, 180, 120, 0));
}

.hotel-scene-card__count {
  display: block;
  margin-top: 7px;
  font-size: 12px;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.74);
}

.hotel-scene-card__arrow {
  position: absolute;
  right: 18px;
  bottom: 22px;
  color: #d3b478;
  font-size: 26px;
}

.hotel-space__list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 0 18px;
}

.hotel-space__img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.hotel-space__empty {
  margin: 0;
  padding: 22px 16px;
  border: 1px dashed #cbd5e1;
  border-radius: 10px;
  color: #64748b;
  font-size: 13px;
  line-height: 1.7;
  text-align: center;
}

.product-card {
  padding: 0;
  overflow: hidden;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-align: left;
  cursor: pointer;
}

.product-card--editable {
  cursor: grab;
}

.product-card.dragging {
  opacity: 0.55;
  outline: 2px dashed var(--accent);
  outline-offset: -2px;
}

.product-card__image {
  width: 100%;
  height: auto;
  pointer-events: none;
}

.effect-page {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 16px;
}

.edit-hint {
  margin: 10px 16px 0;
  padding: 8px 10px;
  border-radius: 10px;
  background: #dbeafe;
  color: #075985;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

.effect-page__image {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.contact-bar {
  position: fixed;
  left: 0;
  right: 0;
    bottom: 0;
    z-index: 20;
    display: flex;
    gap: 10px;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
    background: rgba(15, 23, 42, 0.97);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
  }

.contact-bar__button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  max-width: 560px;
  height: 48px;
  border-radius: 999px;
  background: #0369a1;
  color: #ffffff;
  font-size: 16px;
  font-weight: 800;
  box-shadow: 0 8px 18px rgba(3, 105, 161, 0.35);
}

.contact-bar__beian {
  position: fixed;
  left: 0;
  right: 0;
  bottom: env(safe-area-inset-bottom, 0px);
  z-index: 19;
  margin: 0;
  padding: 3px 12px;
  text-align: center;
  font-size: 11px;
  line-height: 1.5;
  color: #8a94a6;
  background: rgba(255, 255, 255, 0.92);
  border-top: 1px solid rgba(15, 23, 42, 0.06);
}

.contact-bar__beian a {
  color: inherit;
  text-decoration: none;
}

.contact-bar__button--secondary {
  background: #16a34a;
  box-shadow: 0 8px 18px rgba(22, 163, 74, 0.35);
}
  
  .contact-bar__icon {
  font-size: 19px;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: rgba(0, 0, 0, 0.48);
}

.sheet {
  position: relative;
  width: 100%;
  max-width: 640px;
  padding: 24px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  background: var(--surface);
  border-radius: 24px 24px 0 0;
}

.sheet__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #eef2f7;
  color: var(--text);
  font-size: 24px;
  line-height: 1;
}

.sheet h2 {
  margin: 0;
  font-size: 22px;
  text-align: center;
}

.sheet__intro {
  margin: 6px 0 16px;
  text-align: center;
  color: var(--accent);
  font-weight: 700;
}

.sheet__qr {
  width: 220px;
  height: 220px;
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  object-fit: cover;
}

.sheet__actions {
  display: flex;
  gap: 12px;
}

.btn {
  flex: 1;
  min-height: 46px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 800;
}

.btn--primary {
  background: #0369a1;
  color: #ffffff;
}

.btn--secondary {
  background: #eef2f7;
  color: var(--primary);
}

.sheet__wechat-id {
  margin: 14px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.93);
}

.lightbox__close {
  align-self: flex-end;
  width: 40px;
  height: 40px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 26px;
  line-height: 1;
}

.lightbox__image {
  max-width: 100%;
  max-height: 72vh;
  border-radius: 12px;
  object-fit: contain;
}

.lightbox__caption {
  margin: 14px 0 0;
  color: #ffffff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
}

.lightbox__caption:empty {
  display: none;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(var(--contact-height) + 24px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  max-width: 80%;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.92);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* ===== 办公室方块地毯（模板A样式） ===== */
.office-hero{background:radial-gradient(circle at 85% 15%,rgba(3,105,161,.3),transparent 34%),linear-gradient(150deg,rgba(15,23,42,.97),rgba(30,58,95,.92));color:#fff;padding:28px 22px 24px;position:relative;overflow:hidden}
.office-hero::after{content:"";position:absolute;right:-50px;bottom:-70px;width:190px;height:190px;border:22px solid rgba(255,255,255,.07);border-radius:50%}
.office-hero h1{position:relative;z-index:1;font-family:var(--font-serif);font-size:24px;font-weight:800}
.office-hero p{position:relative;z-index:1;margin-top:8px;font-size:13px;color:#93c5fd;letter-spacing:.04em}
.office-hero__meta{position:relative;z-index:1;margin-top:14px;display:flex;gap:10px;flex-wrap:wrap}
.office-hero__meta span{font-size:12px;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.22);padding:5px 12px;border-radius:999px}
.office-section{padding:18px 16px 0}
.office-section h2{font-size:14.5px;font-weight:700;color:#232b33;letter-spacing:.1em;display:flex;align-items:center;gap:8px}
.office-section h2::before{content:"";width:3px;height:15px;background:#9aa7b4;border-radius:2px}
.office-list{display:grid;grid-template-columns:1fr;gap:12px;padding:14px 16px 24px}
.office-card{display:block;width:100%;padding:0;border:1px solid #e5e8ec;border-radius:14px;overflow:hidden;background:#fff;text-align:left;box-shadow:0 6px 18px rgba(20,26,32,.07)}
.office-card__cover{position:relative;display:block;margin-top:10px;border-radius:8px;overflow:hidden;background:#eff1f4}
.office-card__cover img{display:block;width:100%;height:auto}
.office-card__tag{position:absolute;right:9px;top:9px;padding:4px 10px;border-radius:999px;background:linear-gradient(135deg,#f0453f,#c0121a);color:#fff;font-size:10.5px;font-weight:700;letter-spacing:.02em;box-shadow:0 2px 8px rgba(190,20,25,.35)}
.office-card__body{display:block;padding:11px 13px 13px}
.office-card__name{font-family:var(--font-serif);font-size:16.5px;font-weight:700;letter-spacing:.02em}
.office-badge{font-size:9.5px;padding:2px 8px;margin-left:5px;vertical-align:2px;border-radius:999px;font-weight:700;letter-spacing:.02em}
.office-badge.eco{background:#e9f0f4;color:#31505f;border:1px solid #d6e3e9}
.office-badge.flame{background:#f2f0ee;color:#6b6259;border:1px solid #e3ded9}
.office-tags{display:flex;flex-wrap:wrap;gap:5px;margin-top:8px}
.office-tags span{font-size:10.5px;color:#5b6570;background:#f4f5f7;border:1px solid #e5e8ec;padding:2px 8px;border-radius:5px}
.office-pricebar{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:11px;padding:9px 12px 10px;border-radius:10px;background:linear-gradient(120deg,#2c3540,#1b2027)}
.office-pricebar__head{display:block;color:#8b98a6;font-size:10px;letter-spacing:.12em}
.office-pricebar__prices{display:flex;align-items:flex-start;gap:14px;margin-top:2px}
.office-pricebar__item{display:flex;flex-direction:column}
.office-pricebar__item em{font-style:normal;color:#8b98a6;font-size:10.5px;letter-spacing:.02em}
.office-pricebar__item b{color:#dfe6ee;font-size:21px;font-weight:700;line-height:1.15;font-variant-numeric:tabular-nums}
.office-pricebar__item b small{margin-left:1px;font-size:10.5px;font-weight:500;color:#a9b5c1}
.office-pricebar__cta{padding:8px 13px;border-radius:999px;background:linear-gradient(135deg,#eef2f6,#ccd5de);color:#1b2027;font-size:12px;font-weight:800;letter-spacing:.02em;white-space:nowrap}
.office-detail-hero{margin:0 16px;padding:0}
.office-detail-hero img{display:block;width:100%;height:auto;margin:18px 0 0;border-left:1px solid #dbeafe;border-right:1px solid #dbeafe}
.office-panel{background:#fff;border-left:1px solid #dbeafe;border-right:1px solid #dbeafe;margin:0 16px 14px;padding:14px 16px}
.office-panel h3{font-size:13px;color:var(--muted);letter-spacing:.08em;margin-bottom:10px}
.office-panel--flush{border-left:0;border-right:0;padding:14px 0}
.office-panel--flush h3{padding:0 16px;margin-bottom:10px}
.office-spec-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px dashed var(--line);font-size:13px}
.office-spec-row:last-child{border-bottom:0}
.office-spec-row span:last-child{color:var(--text);font-weight:700}
.office-price-rows{display:flex;flex-direction:column;gap:8px}
.office-price-row{display:flex;justify-content:space-between;align-items:center;padding:10px 12px;background:#f1f5f9;border:1px solid var(--line);border-radius:10px}
.office-price-row .p-name{font-size:13px;color:var(--muted)}
.office-price-row .p-value{font-size:15px;font-weight:800;color:var(--text)}
.office-effects{display:flex;flex-direction:column;gap:10px}
.office-effects img{width:100%;height:auto;object-fit:contain}

/* ===== 地垫/辅料 ===== */

.didian-section {
  padding: 18px 16px 0;
}

.didian-section h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
}

.didian-section h3::before {
  content: "";
  width: 4px;
  height: 17px;
  border-radius: 2px;
  background: var(--accent);
}

.didian-mats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.didian-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.didian-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.didian-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 12px;
}

.didian-card__name {
  font-size: 15px;
  font-weight: 800;
}

.didian-card__specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 11px 0;
}

.didian-card__specs div {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.didian-card__specs div span:last-child {
  color: var(--text);
  font-weight: 700;
}

.didian-card__price {
  margin-top: auto;
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
}

.didian-accessories {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-bottom: 20px;
}

.didian-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.didian-item__name {
  font-size: 14px;
  font-weight: 800;
}

.didian-item__note {
  margin-top: 3px;
  font-size: 12px;
  color: var(--muted);
}

.didian-item__price {
  flex: none;
  font-size: 14px;
  font-weight: 800;
  color: var(--accent);
  white-space: nowrap;
}

/* ===== 小圈/弯头纱 ===== */
.xiaoquan-section {
  padding: 14px 16px 20px;
}

.xiaoquan-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.xiaoquan-card {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 12px;
  width: 100%;
  padding: 8px;
  color: var(--text);
  text-align: left;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.xiaoquan-card__image {
  flex: none;
  width: 112px;
  height: 112px;
  border-radius: 10px;
  object-fit: cover;
  display: block;
}

.xiaoquan-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
  padding: 4px 2px;
}

.xiaoquan-card__name {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.35;
}

.xiaoquan-card__specs {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 9px 0;
}

.xiaoquan-card__specs div {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 12px;
  color: var(--muted);
}

.xiaoquan-card__specs div span:last-child {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.xiaoquan-card__specs .xiaoquan-card__spec--notice {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 3px 7px;
  margin: -3px -7px;
}

.xiaoquan-card__specs .xiaoquan-card__spec--notice span:last-child {
  color: #b45309;
  font-weight: 800;
}

.xiaoquan-card__price {
  margin-top: auto;
  font-size: 16px;
  font-weight: 800;
  color: var(--accent);
}

.xiaoquan-detail {
  padding: 16px;
}

.xiaoquan-detail__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  border-radius: var(--radius);
}

.xiaoquan-detail__body {
  margin-top: 14px;
  padding: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.xiaoquan-detail__name {
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.xiaoquan-detail__specs {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 12px 0;
}

.xiaoquan-detail__specs div {
  display: flex;
  justify-content: space-between;
  gap: 6px;
  font-size: 13px;
  color: var(--muted);
}

.xiaoquan-detail__specs div span:last-child {
  color: var(--text);
  font-weight: 700;
  text-align: right;
}

.xiaoquan-detail__specs .xiaoquan-card__spec--notice {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  border-radius: 8px;
  padding: 3px 7px;
  margin: -3px -7px;
}

.xiaoquan-detail__specs .xiaoquan-card__spec--notice span:last-child {
  color: #b45309;
  font-weight: 800;
}

.xiaoquan-detail__price {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 20px;
  font-weight: 800;
  color: var(--accent);
}
