/* 风格 B：米白裸色底 + 亮粉点缀 + 无衬线粗体标题。配色克制，让作品照片当主角。无外部字体，加载快。 */
:root {
  /* 白底 + 一种品牌色。主题用 <html data-theme="rosa|violeta"> 切换（环境变量 SITE_THEME） */
  --bg: #ffffff;
  --surface: #ffffff;
  --ink: #1b1a1f;
  --muted: #6b6a72;
  --line: #ececf0;
  --soft: #f7f7f9;        /* 表头、浅底块 */
  --accent: #ec4d82;      /* 粉 */
  --accent-dark: #c2335f;
  --tint: #fff0f5;
  --tint-2: #ffd6e5;
  --nude: #f3ebe4;
  --wa: #1fa855;
  --radius: 18px;
  --shadow: 0 1px 2px rgba(27, 26, 31, .05), 0 10px 30px rgba(27, 26, 31, .07);
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: var(--sans);
}
[data-theme="violeta"] {
  --accent: #7b4fe0;      /* 紫 */
  --accent-dark: #5b34b8;
  --tint: #f4efff;
  --tint-2: #e2d6ff;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--sans); }
img { max-width: 100%; display: block; }
a { color: var(--accent-dark); text-decoration-thickness: 1px; text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 800; line-height: 1.12; letter-spacing: -.025em; margin: 0 0 .5em; }
h3 { font-weight: 700; letter-spacing: -.015em; }
h1, h2 { text-wrap: balance; }
h1 { font-size: clamp(2rem, 5vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.9rem); margin-top: 2.2rem; }
h3 { font-size: 1.2rem; }
p { margin: 0 0 1rem; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }
.small { font-size: .875rem; }

/* 头部 */
.site-header { background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-family: var(--display); font-size: 1.35rem; font-weight: 800; letter-spacing: -.03em; color: var(--ink); text-decoration: none; }
.logo span { color: var(--accent); }
.nav a { margin-left: 20px; color: var(--ink); text-decoration: none; font-weight: 500; }
.nav a:hover { color: var(--accent); }

/* 首屏 */
.hero { background: radial-gradient(900px 380px at 90% 0%, var(--tint-2) 0%, transparent 60%), linear-gradient(180deg, var(--tint), var(--bg)); padding: 56px 0 48px; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
.mosaic { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.mosaic div { aspect-ratio: 1; border-radius: 20px; background: var(--tint) center / cover; box-shadow: var(--shadow); }
.mosaic div:nth-child(2) { transform: translateY(24px); }
.mosaic div:nth-child(4) { transform: translateY(24px); }
.hero p.lead { font-size: 1.15rem; color: var(--muted); max-width: 640px; }
.answer { background: var(--surface); border-left: 4px solid var(--accent); border-radius: 12px; padding: 16px 20px; box-shadow: var(--shadow); max-width: 720px; }

/* 面包屑 */
.crumbs { font-size: .85rem; color: var(--muted); margin: 18px 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }

/* 卡片网格 */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; display: flex; flex-direction: column; }
.card .body { padding: 18px 20px 20px; flex: 1; }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card .thumb { aspect-ratio: 4 / 3; background: var(--tint) center / cover; }
.chip { display: inline-block; font-size: .75rem; font-weight: 600; letter-spacing: .02em; padding: 3px 10px; border-radius: 999px; background: var(--tint); color: var(--accent-dark); }
.chip.gold { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.chip.soft { background: var(--soft); color: var(--ink); }
.town-link { display: flex; justify-content: space-between; align-items: center; padding: 16px 20px; text-decoration: none; color: var(--ink); }
.town-link:hover { color: var(--accent); }

/* 价格表 */
.table { width: 100%; border-collapse: collapse; background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.table th, .table td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.table th { font-size: .75rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--soft); }
.table td.num { white-space: nowrap; font-variant-numeric: tabular-nums; font-weight: 600; }

.table-wrap { overflow-x: auto; border-radius: var(--radius); }

/* 按钮 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 20px; border-radius: 999px; font-weight: 600; text-decoration: none; border: 1px solid transparent; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dark); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-line { background: var(--surface); border-color: var(--line); color: var(--ink); }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0; }

/* 店铺页 */
.shop-head { display: grid; gap: 28px; grid-template-columns: 1.4fr 1fr; align-items: start; }
.facts { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.facts dt { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; margin-top: 12px; }
.facts dd { margin: 2px 0 0; }
.gallery { display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); }
.gallery figure { margin: 0; border-radius: 14px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); }
.gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; height: auto; }
.gallery figcaption { font-size: .8rem; padding: 6px 10px; color: var(--muted); }
.claim { background: var(--tint); border: 1px dashed var(--accent); border-radius: var(--radius); padding: 18px 20px; }

/* FAQ */
details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 10px; }
summary { cursor: pointer; font-weight: 600; }
details p { margin: 10px 0 0; color: var(--muted); }

/* 手机底部固定操作栏（西班牙用户习惯：WhatsApp / 导航 / 电话） */
.sticky-bar { display: none; }

/* 页脚 */
.site-footer { margin-top: 64px; border-top: 1px solid var(--line); padding: 32px 0 96px; color: var(--muted); font-size: .9rem; }
.site-footer a { color: var(--muted); }

section { margin: 36px 0; }

@media (max-width: 760px) {
  .shop-head { grid-template-columns: 1fr; gap: 8px; }
  .hero-grid { grid-template-columns: 1fr; }
  .mosaic { display: none; }
  .nav a { margin-left: 14px; font-size: .95rem; }
  .hero { padding: 36px 0 32px; }
  .sticky-bar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255, 255, 255, .96); border-top: 1px solid var(--line); }
  .table th, .table td { padding: 10px 12px; }
  .table .opt { display: none; }
  .sticky-bar .btn { flex: 1; padding: 0 10px; font-size: .9rem; }
}
