/* ============================================================
   SMILEWORK — Japandi / Organic theme (mobile-first, light)
   Less is more：暖米底、陶土橘配鼠尾草綠、蜜糖黃點綴、
   圓潤有機形狀、大量留白、柔和暖陰影。
   ============================================================ */
:root {
  --bg: #f7f3ec;
  --card: #fffdf8;
  --ink: #403a31;
  --muted: #93897a;
  --line: #eae2d4;
  --brand: #d97b5f;
  --brand-dark: #c25f43;
  --brand-soft: #f9ece4;
  --sage: #7f9878;
  --sage-soft: #edf2e8;
  --honey: #e9b45c;
  --accent: #3cb46e;
  --danger: #d0655c;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 8px 28px rgba(122, 96, 62, 0.09);
  --font-serif: "Zen Maru Gothic", "Noto Sans TC", "Hiragino Maru Gothic ProN",
    "PingFang HK", "Microsoft JhengHei", "Noto Sans HK", sans-serif;
  --font-sans: "Zen Maru Gothic", "Noto Sans TC", "Hiragino Maru Gothic ProN",
    "PingFang HK", "Microsoft JhengHei", "Noto Sans HK", -apple-system, "Segoe UI",
    Roboto, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: #fbf9f4;
  color: var(--ink);
  line-height: 1.75;
  letter-spacing: 0.005em;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 700; letter-spacing: 0.01em; }

/* ---------- Header ---------- */
.site-header {
  background: rgba(255, 253, 248, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; gap: 12px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 600; font-size: 1.05rem; letter-spacing: 0.04em; }
.logo .mark {
  width: 40px; height: 40px; border-radius: 50%;
  background: transparent;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem; line-height: 1;
  filter: drop-shadow(0 2px 3px rgba(122, 96, 62, 0.18));
}
.logo .en { color: var(--muted); font-weight: 400; font-size: 0.72rem; display: block; line-height: 1.2; letter-spacing: 0.12em; text-transform: uppercase; }
.header-nav { display: flex; gap: 8px; align-items: center; }

/* ---------- Buttons：圓潤 pill ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border: none; border-radius: 999px; padding: 10px 20px;
  font-size: 0.92rem; font-weight: 600; cursor: pointer;
  transition: background 0.18s ease, transform 0.12s ease, box-shadow 0.18s ease;
  font-family: inherit; letter-spacing: 0.02em;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--brand); color: #fff;
  box-shadow: 0 4px 14px rgba(217, 123, 95, 0.28);
}
.btn-primary:hover { background: var(--brand-dark); box-shadow: 0 6px 18px rgba(194, 95, 67, 0.32); }
.btn-wa { background: var(--accent); color: #fff; box-shadow: 0 4px 14px rgba(60, 180, 110, 0.24); }
.btn-wa:hover { background: #339e5f; }
.btn-ghost { background: transparent; color: var(--brand-dark); border: 1.5px solid var(--brand); }
.btn-ghost:hover { background: var(--brand-soft); }
.btn-link { background: none; color: var(--muted); padding: 6px 8px; }
.btn-link:hover { color: var(--ink); }
.btn[disabled] { opacity: 0.5; cursor: not-allowed; }
.btn-sm { padding: 7px 14px; font-size: 0.84rem; }
.btn-block { width: 100%; }

/* ---------- Hero：留白 + 真人相 ---------- */
.hero {
  background: none;
  color: var(--ink); padding: 48px 0 92px;
}
.hero-grid { display: flex; flex-direction: column; gap: 36px; }
.hero-copy { text-align: center; }
.hero h1 { font-size: 1.75rem; line-height: 1.4; margin-bottom: 10px; }
.hero p { color: var(--muted); font-size: 0.98rem; max-width: 520px; margin: 0 auto; }
.hero .en-sub {
  font-family: var(--font-sans);
  font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--brand); margin-bottom: 14px;
}
/* 有機曲線相片：無框、重疊、沿弧線擺放 */
.hero-photos {
  display: flex; align-items: center; justify-content: center;
  width: 100%; max-width: 560px; margin: 0 auto;
  padding: 8px 0 4px;
}
.hero-photos .hp { margin: 0; flex: 0 0 auto; }
.hero-photos .blob {
  display: block; overflow: hidden;
  border-radius: 56% 44% 46% 54% / 48% 40% 60% 52%;
  filter: drop-shadow(0 12px 26px rgba(122, 96, 62, 0.18));
}
.hero-photos .blob img {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 20%;
}
.hero-photos .hp-1 { width: 38%; transform: translateY(16px) rotate(-5deg); z-index: 2; }
.hero-photos .hp-2 { width: 46%; margin: 0 -7%; transform: translateY(-14px) rotate(2.5deg); z-index: 3; }
.hero-photos .hp-3 { width: 36%; transform: translateY(28px) rotate(-3deg); z-index: 2; }
.hero-photos .hp-1 .blob { aspect-ratio: 1 / 1.16; border-radius: 58% 42% 44% 56% / 46% 38% 62% 54%; }
.hero-photos .hp-2 .blob { aspect-ratio: 1 / 1.24; border-radius: 44% 56% 54% 46% / 54% 46% 54% 46%; }
.hero-photos .hp-3 .blob { aspect-ratio: 1 / 1.12; border-radius: 52% 48% 40% 60% / 52% 58% 42% 48%; }
.hero-photos figcaption {
  margin-top: 10px; text-align: center;
  color: var(--muted); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.08em; white-space: nowrap;
}
@media (max-width: 639px) {
  .hero-photos .hp-1 { width: 33%; }
  .hero-photos .hp-2 { width: 42%; margin: 0 -7%; }
  .hero-photos .hp-3 { width: 31%; }
  .hero-photos figcaption { font-size: 0.62rem; margin-top: 6px; }
  .header-nav .nav-board { display: none; }
}
@media (max-width: 419px) {
  .header-nav { gap: 2px; }
  .header-nav .btn { padding: 8px 12px; font-size: 0.82rem; }
  .logo { font-size: 0.95rem; }
  .logo .en { display: none; }
}

/* ---------- Search panel overlapping hero ---------- */
.search-panel {
  margin-top: -52px; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px; border: 1px solid var(--line);
}
.search-row { display: flex; gap: 10px; flex-wrap: wrap; }
.search-row input[type="text"], .search-row select {
  flex: 1 1 150px; min-width: 0;
  border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 0.95rem; font-family: inherit; background: #fffefb;
  color: var(--ink);
}
.search-row input:focus, .search-row select:focus { outline: none; border-color: var(--sage); background: #fff; }
.search-row .btn { flex: 0 0 auto; }

/* ---------- Category chips：沙色 pill ---------- */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin: 20px 0 6px; }
.chip {
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  border-radius: 999px; padding: 7px 15px; font-size: 0.88rem; cursor: pointer;
  font-family: inherit; transition: all 0.15s ease;
}
.chip:hover { border-color: var(--sage); background: var(--sage-soft); }
.chip.active {
  background: var(--brand); border-color: var(--brand); color: #fff;
  box-shadow: 0 3px 10px rgba(217, 123, 95, 0.28);
}
.cat-hint {
  color: var(--muted); font-size: 0.78rem; margin-top: 8px;
  min-height: 1.2em; letter-spacing: 0.02em;
}

/* ---------- Pro cards ---------- */
.section-title { display: flex; align-items: baseline; justify-content: space-between; margin: 30px 0 16px; }
.section-title h2 { font-size: 1.25rem; }
.section-title .count { color: var(--muted); font-size: 0.85rem; }
.card-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr));
  gap: 16px; padding-bottom: 56px;
}
.pro-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}
.pro-card:hover { transform: translateY(-3px); box-shadow: 0 12px 32px rgba(122, 96, 62, 0.14); }
.pro-card .top { display: flex; align-items: center; gap: 12px; }
.avatar {
  width: 48px; height: 48px; border-radius: 50%; flex-shrink: 0;
  background: var(--sage-soft); color: var(--sage);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.15rem; font-family: var(--font-serif);
}
.pro-card .name { font-weight: 700; font-size: 1rem; }
.pro-card .meta { color: var(--muted); font-size: 0.82rem; }
.pro-card .intro {
  color: var(--muted); font-size: 0.88rem;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.pro-card .rate { font-size: 0.85rem; color: var(--brand-dark); font-weight: 600; }
.pro-card .actions { display: flex; gap: 8px; margin-top: auto; }
.pro-card .actions .btn { flex: 1; }
.tag {
  display: inline-block; background: var(--honey); color: #6b4e14;
  border-radius: 999px; padding: 2px 10px; font-size: 0.75rem; margin-right: 4px;
}

/* ---------- Empty / loading states ---------- */
.state-box {
  text-align: center; color: var(--muted); padding: 52px 16px;
  background: var(--card); border: 1.5px dashed var(--line); border-radius: var(--radius);
}
.state-box .big { font-size: 2rem; margin-bottom: 10px; }

/* ---------- Forms ---------- */
.form-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 22px; box-shadow: var(--shadow); max-width: 560px; margin: 0 auto;
}
.form-card h2 { font-size: 1.2rem; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: 0.88rem; margin-bottom: 20px; }
.field { margin-bottom: 15px; }
.field label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  padding: 11px 14px; font-size: 0.95rem; font-family: inherit; background: #fffefb;
  color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--sage); background: #fff;
}
.field textarea { resize: vertical; min-height: 90px; }
.field .hint { color: var(--muted); font-size: 0.78rem; margin-top: 4px; }
.auth-links {
  margin-top: 16px; display: flex; flex-wrap: wrap; gap: 6px 18px;
  justify-content: center; font-size: 0.84rem;
}
.auth-links a {
  color: var(--brand-dark); border-bottom: 1px solid rgba(194, 95, 67, 0.35);
  padding-bottom: 1px;
}
.auth-links a:hover { border-bottom-color: var(--brand-dark); }
.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1; }
.otp-row { display: flex; gap: 10px; align-items: center; }
.otp-row input { flex: 1; }
.error-msg {
  display: none; background: #fbf0ee; color: var(--danger);
  border: 1px solid #f0d4cf; border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 0.85rem; margin-bottom: 14px;
}
.success-msg {
  background: var(--sage-soft); color: #4d6349;
  border: 1px solid #d6e2cf; border-radius: var(--radius-sm);
  padding: 10px 14px; font-size: 0.88rem; margin-bottom: 14px;
}
.form-sent { color: var(--sage); font-size: 0.82rem; margin-top: 6px; }

/* ---------- Detail page ---------- */
.detail-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 32px 24px; margin: 24px auto 56px; max-width: 640px;
}
.detail-head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.detail-head .avatar { width: 64px; height: 64px; font-size: 1.5rem; }
.detail-head h1 { font-size: 1.4rem; }
.detail-head .meta { color: var(--muted); font-size: 0.9rem; }
.detail-section { margin: 20px 0; }
.detail-section h3 {
  font-size: 0.95rem; margin-bottom: 8px; color: var(--brand-dark);
  display: flex; align-items: center; gap: 8px;
}
.detail-section h3::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--honey); flex-shrink: 0;
}
.detail-section p { color: var(--ink); font-size: 0.95rem; white-space: pre-wrap; }
.cta-bar {
  display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap;
}
.cta-bar .btn { flex: 1 1 160px; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--line); padding: 28px 0 44px;
  color: var(--muted); font-size: 0.82rem; text-align: center;
}

/* ---------- Breadcrumb / back ---------- */
.back-row { padding: 20px 0 0; }
.back-row a { color: var(--muted); font-size: 0.88rem; }
.back-row a:hover { color: var(--brand-dark); }

@media (min-width: 640px) {
  .hero { padding: 60px 0 104px; }
  .hero h1 { font-size: 2.2rem; }
  .search-panel { padding: 22px; }
}

@media (min-width: 900px) {
  .hero-grid {
    flex-direction: row; align-items: center; gap: 48px;
  }
  .hero-copy {
    flex: 1 1 46%; text-align: left;
  }
  .hero-copy p { margin: 0; }
  .hero-photos {
    flex: 1 1 54%; max-width: 520px; gap: 18px;
  }
}

/* ---------- Legal pages (privacy / terms) ---------- */
.legal { max-width: 780px; margin: 0 auto; padding: 40px 0 20px; }
.legal-head { border-bottom: 1px solid var(--line); padding-bottom: 22px; margin-bottom: 26px; }
.legal-head h1 { font-size: 1.75rem; margin: 0 0 8px; }
.legal-head .meta { color: var(--muted); font-size: 0.85rem; }
.toc {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; margin-bottom: 30px; font-size: 0.88rem;
}
.toc strong { display: block; margin-bottom: 8px; font-size: 0.82rem; letter-spacing: .06em; color: var(--muted); }
.toc ol { margin: 0; padding-left: 18px; columns: 2; column-gap: 24px; }
.toc li { margin: 5px 0; break-inside: avoid; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--brand-dark); text-decoration: underline; }
.legal section { margin-bottom: 30px; scroll-margin-top: 20px; }
.legal h2 {
  font-size: 1.05rem; margin: 0 0 10px; padding-left: 12px;
  border-left: 3px solid var(--brand); line-height: 1.35;
}
.legal h3 { font-size: 0.95rem; margin: 16px 0 8px; color: var(--brand-dark); }
.legal p, .legal li { font-size: 0.92rem; line-height: 1.85; color: #4a4540; }
.legal p { margin: 0 0 10px; }
.legal ul, .legal ol { margin: 0 0 10px; padding-left: 20px; }
.legal li { margin-bottom: 4px; }
.legal a { color: var(--brand-dark); }
.legal .note {
  background: #fdf6e6; border: 1px dashed #ecd9a8; border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 0.88rem; margin: 12px 0;
}
.legal .note b { color: var(--brand-dark); }
.legal table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 6px 0 12px; }
.legal th, .legal td { text-align: left; padding: 9px 10px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal th { color: var(--muted); font-weight: 600; font-size: 0.8rem; letter-spacing: .04em; }
.legal .back-top { font-size: 0.8rem; }
.legal .back-top a { color: var(--muted); text-decoration: none; }
.legal .back-top a:hover { color: var(--brand-dark); }
@media (max-width: 639px) {
  .toc ol { columns: 1; }
  .legal-head h1 { font-size: 1.45rem; }
}

/* ---------- Language toggle ---------- */
.lang-toggle {
  border: 1.5px solid var(--line); background: transparent; color: var(--muted);
  border-radius: 999px; padding: 6px 11px; font-size: 0.76rem; font-weight: 700;
  font-family: inherit; cursor: pointer; line-height: 1.1; letter-spacing: 0.02em;
  white-space: nowrap;
}
.lang-toggle:hover { border-color: var(--brand); color: var(--brand-dark); }

/* English notice block on Chinese-only legal pages */
.en-note {
  display: none;
  background: #fdf6e6; border: 1px dashed #ecd9a8; border-radius: var(--radius-sm);
  padding: 12px 16px; font-size: 0.86rem; line-height: 1.7; margin: 0 0 22px; color: #6b5a35;
}
html[lang^="en"] .en-note { display: block; }

/* Price guide source lines */
.legal .src { font-size: 0.78rem; color: var(--muted); line-height: 1.75; margin: -6px 0 18px; }
.legal .src a { color: var(--muted); text-decoration: underline; }
.legal .src a:hover { color: var(--brand-dark); }

/* ---------- Ratings & reviews ---------- */
.stars { color: var(--honey); letter-spacing: 1px; white-space: nowrap; }
.stars .off { color: #ded6c8; }
.rating-line { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; font-size: 0.8rem; color: var(--muted); margin-top: 3px; }
.rating-line b { color: var(--ink); font-size: 0.86rem; }
.rating-box {
  display: flex; align-items: center; gap: 20px; flex-wrap: wrap;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 20px; margin: 0 0 20px;
}
.rating-box .score { font-size: 2.1rem; font-weight: 700; line-height: 1; }
.rating-box .score small { font-size: 0.85rem; font-weight: 500; color: var(--muted); }
.rating-box .sub { color: var(--muted); font-size: 0.8rem; margin-top: 6px; }
.rating-box .stars { font-size: 1.05rem; }
.review { border-top: 1px solid var(--line); padding: 14px 0; }
.review:first-of-type { border-top: none; padding-top: 4px; }
.review .rhead { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.review .rname { font-weight: 700; font-size: 0.92rem; }
.review .rdate { color: var(--muted); font-size: 0.76rem; }
.review .rtext { font-size: 0.9rem; line-height: 1.8; white-space: pre-wrap; margin-top: 6px; color: #4a4540; }
.rv-empty { color: var(--muted); font-size: 0.88rem; line-height: 1.8; padding: 6px 0 4px; }
.star-pick { display: flex; gap: 4px; margin: 2px 0 8px; }
.star-pick button {
  background: none; border: none; cursor: pointer; padding: 0 2px;
  font-size: 1.7rem; line-height: 1; color: #ded6c8; font-family: inherit;
}
.star-pick button.on { color: var(--honey); }
.review-form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 20px; margin-top: 8px;
}
.review-form h3 { font-size: 1rem; margin: 0 0 4px; }
.review-form .note { color: var(--muted); font-size: 0.78rem; line-height: 1.7; margin: 0 0 12px; }
.review-form .msg { font-size: 0.85rem; margin-top: 8px; }
.review-form .msg.err { color: #b3453a; }
.review-form .msg.ok { color: var(--sage); }

/* ===== 7 日免費試用（trial） ===== */
.trial-box {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: #fdf4e6; border: 1px dashed var(--honey); border-radius: var(--radius);
  padding: 20px 24px; margin: 0 0 22px; position: relative; overflow: hidden;
}
.trial-box::after {
  content: ""; position: absolute; right: -40px; top: -40px; width: 130px; height: 130px;
  background: #f6e3c4; border-radius: 50%; opacity: 0.55; pointer-events: none;
}
.trial-info { position: relative; z-index: 1; max-width: 520px; }
.trial-name { font-size: 1.05rem; font-weight: 700; color: #7a5124; margin-bottom: 6px; }
.trial-sub { font-size: 0.86rem; line-height: 1.75; color: #8a7452; }
.trial-act { position: relative; z-index: 1; text-align: right; }
.trial-act .btn { white-space: nowrap; }
.trial-act .btn:disabled { opacity: 0.55; cursor: default; }
.trial-note { font-size: 0.74rem; color: #a08a63; margin-top: 6px; }
@media (max-width: 620px) {
  .trial-box { flex-direction: column; align-items: flex-start; padding: 18px 20px; }
  .trial-act { text-align: left; width: 100%; }
  .trial-act .btn { width: 100%; }
}
.trial-tag {
  display: inline-block; font-size: 0.68rem; padding: 1px 8px; border-radius: 999px;
  background: #fdf4e6; color: #a0701f; border: 1px solid #eddcbb; margin-left: 6px;
  vertical-align: middle;
}
.trial-card { margin-top: 18px; border: 1px dashed var(--honey); background: #fdf9f1; }
.trial-status {
  font-size: 0.9rem; line-height: 1.8; color: #6f6455;
  background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; margin: 4px 0 14px;
}
.trial-card .btn:disabled { opacity: 0.55; cursor: default; }

/* ===== 優惠碼（promo code） ===== */
.promo-box {
  display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 22px; margin: 0 0 26px;
}
.promo-info { max-width: 520px; }
.promo-name { font-size: 0.98rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.promo-sub { font-size: 0.82rem; line-height: 1.7; color: var(--muted); }
.promo-act { display: flex; gap: 8px; align-items: center; }
.promo-act input {
  width: 200px; padding: 10px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.9rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: #fff; color: var(--ink);
}
.promo-act input:focus { outline: none; border-color: var(--brand); }
.promo-act .btn:disabled { opacity: 0.55; cursor: default; }
@media (max-width: 620px) {
  .promo-box { flex-direction: column; align-items: flex-start; padding: 16px 18px; }
  .promo-act { width: 100%; }
  .promo-act input { flex: 1; width: auto; min-width: 0; }
}

.promo-mini { margin-top: 16px; padding-top: 14px; border-top: 1px dashed var(--line); }
.promo-mini label { display: block; font-size: 0.82rem; font-weight: 600; color: var(--muted); margin-bottom: 8px; }
.promo-mini-row { display: flex; gap: 8px; }
.promo-mini-row input {
  flex: 1; min-width: 0; padding: 9px 12px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 0.88rem; letter-spacing: 0.08em; text-transform: uppercase;
  background: #fff; color: var(--ink);
}
.promo-mini-row input:focus { outline: none; border-color: var(--brand); }
.promo-mini-row .btn:disabled { opacity: 0.55; cursor: default; }

/* ===== Admin：優惠碼管理 ===== */
.promo-code-cell {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 700;
  letter-spacing: 0.08em; color: var(--brand-dark); font-size: 0.95rem;
}
.promo-row { border-left: 3px solid var(--brand-soft); }
.promo-row.off { border-left-color: #d1d5db; opacity: 0.72; }
.promo-red {
  background: #faf8f3; border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 8px 12px; margin: 6px 0 10px; font-size: 0.78rem; color: var(--muted); line-height: 1.8;
}
.promo-red b { color: var(--ink); font-weight: 600; }
.promo-form-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 12px; }
