
.hksev-med-wrap {
  --m-blue: #005bac;
  --m-blue-soft: #eef5fc;
  --m-ink: #12263a;
  --m-sub: #5c7086;
  --m-line: #e2ebf4;
  --m-wa: #169c53;
  --m-wa-soft: #ecfaf2;
  color: var(--m-ink);
  background: #f8fafd;
  max-width: 980px;
  margin: 0 auto;
  padding: 12px 12px 104px;
  line-height: 1.5;
  box-sizing: border-box;
  font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "PingFang HK", "Noto Sans TC", "Microsoft JhengHei", sans-serif;
}
.hksev-med-wrap *, .hksev-med-wrap *::before, .hksev-med-wrap *::after { box-sizing: border-box; }

/* 1. 醫美風實景大圖 Banner */
.hksev-med-hero-banner {
  position: relative; border-radius: 18px; overflow: hidden; margin-bottom: 12px;
  border: 1px solid #dce8f5; box-shadow: 0 10px 28px rgba(0, 91, 172, 0.08); background: #ffffff;
}
.hksev-med-hero-img { display: block !important; width: 100% !important; height: 340px !important; object-fit: cover !important; object-position: right center !important; }
.hksev-med-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.88) 46%, rgba(255,255,255,0.12) 72%, rgba(255,255,255,0) 100%);
  display: flex; flex-direction: column; justify-content: center; padding: 28px 34px;
}
.hksev-med-eyebrow {
  display: inline-flex; align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--m-blue); background: rgba(238,245,252,0.95); border: 1px solid #d2e4f7;
  padding: 4px 12px; border-radius: 9999px; margin-bottom: 10px;
}
.hksev-med-h1 { font-size: 32px; line-height: 1.25; font-weight: 800; color: var(--m-ink); margin: 0 0 10px; max-width: 52%; }
.hksev-med-h1 span { color: var(--m-blue); }
.hksev-med-hero-sub { font-size: 15px; color: #42586e; margin: 0; max-width: 48%; font-weight: 600; }

/* 2. 按鈕樣式 */
.hksev-med-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  border-radius: 9999px; font-size: 13.5px; font-weight: 700;
  min-height: 40px; padding: 0 14px; text-decoration: none !important; white-space: nowrap;
}
.hksev-med-btn-wa { background: var(--m-wa); color: #ffffff !important; box-shadow: 0 4px 12px rgba(22,156,83,0.18); }
.hksev-med-btn-blue { background: var(--m-blue); color: #ffffff !important; box-shadow: 0 4px 12px rgba(0,91,172,0.16); }
.hksev-med-btn-ghost { background: #ffffff; color: var(--m-blue) !important; border: 1px solid #cfe0f3; }

/* Banner 與套餐卡之間的重點過渡標題（三行置中） */
.hksev-med-bridge {
  text-align: center; padding: 16px 8px 16px;
}
.hksev-med-bridge-main {
  font-size: 24px; font-weight: 800; line-height: 1.3;
  color: var(--m-blue); letter-spacing: 0.03em; margin: 0 0 4px;
}
.hksev-med-bridge-sub {
  font-size: 17px; font-weight: 800; line-height: 1.45;
  color: var(--m-ink); margin: 0 0 5px;
}
.hksev-med-bridge-loc {
  display: inline-block; font-size: 13px; font-weight: 700;
  color: var(--m-blue); background: var(--m-blue-soft);
  border: 1px solid #d4e4f7; border-radius: 9999px;
  padding: 2px 12px;
}

/* 3. 左右兩個超清晰「貓圖／狗圖」套餐框 */
.hksev-med-pkg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; align-items: stretch; }
.hksev-med-pcard {
  background: #ffffff; border: 1.5px solid #cfe2f7; border-radius: 16px;
  display: flex; flex-direction: column; overflow: hidden; box-shadow: 0 8px 24px rgba(0,91,172,0.06);
}
.hksev-med-pcard.dog { border-color: #e4ddd0; box-shadow: 0 8px 24px rgba(120,90,40,0.05); }
.hksev-med-pphoto-wrap { position: relative; width: 100%; height: 210px !important; overflow: hidden; background: #eef5fc; }
.hksev-med-pcard.dog .hksev-med-pphoto-wrap { background: #f8f4ec; }
.hksev-med-pphoto { width: 100% !important; height: 100% !important; object-fit: cover !important; object-position: center 22% !important; display: block !important; }
.hksev-med-ptag {
  position: absolute; top: 9px; left: 9px; font-size: 11px; font-weight: 700;
  color: var(--m-blue); background: rgba(255,255,255,0.94); border: 1px solid #d5e5f7;
  padding: 3px 9px; border-radius: 9999px;
}
.hksev-med-pcard.dog .hksev-med-ptag { color: #7c5e34; border-color: #e6dccb; }
.hksev-med-pbody { padding: 16px 16px 18px; display: flex; flex-direction: column; flex-grow: 1; }
.hksev-med-ptitle { font-size: 18px; font-weight: 800; color: var(--m-ink); margin: 0 0 2px; }
.hksev-med-price { font-size: 32px; font-weight: 800; color: var(--m-blue); line-height: 1.15; margin: 0 0 6px; font-variant-numeric: tabular-nums; }
.hksev-med-pcard.dog .hksev-med-price { color: var(--m-ink); }
.hksev-med-allin-chip {
  display: inline-block; align-self: flex-start; font-size: 11.5px; font-weight: 700;
  color: #137340; background: var(--m-wa-soft); border: 1px solid #ccefd9;
  border-radius: 6px; padding: 3px 8px; margin-bottom: 10px;
}
.hksev-med-checklist { list-style: none; padding: 0; margin: 0 0 10px; font-size: 13.5px; color: #2c4056; flex-grow: 1; }
.hksev-med-checklist li { position: relative; padding-left: 16px; margin-bottom: 5px; }
.hksev-med-checklist li::before { content: "✓"; position: absolute; left: 0; color: var(--m-wa); font-weight: 800; }
.hksev-med-pnote { font-size: 11.5px; color: var(--m-sub); border-top: 1px solid #edf2f7; padding-top: 7px; margin: 0 0 10px; }

/* 4. 通用白卡 */
.hksev-med-card { background: #ffffff; border: 1px solid var(--m-line); border-radius: 16px; padding: 18px 16px; margin-bottom: 14px; }
.hksev-med-h2 { font-size: 18px; font-weight: 800; color: var(--m-ink); margin: 0 0 5px; }
.hksev-med-muted { font-size: 13px; color: var(--m-sub); margin: 0 0 12px; }
.hksev-med-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.hksev-med-table th, .hksev-med-table td { padding: 10px 8px; border-bottom: 1px solid #edf2f7; text-align: left; }
.hksev-med-table th { font-size: 12px; font-weight: 700; color: var(--m-sub); background: #f8fafd; }
.hksev-med-inc-badge { display: inline-block; font-size: 11.5px; font-weight: 700; color: #137340; background: var(--m-wa-soft); border: 1px solid #ccefd9; padding: 2px 9px; border-radius: 9999px; white-space: nowrap; }
.hksev-med-note-box { margin-top: 12px; background: #f8fafd; border: 1px solid #e3ecf5; border-radius: 11px; padding: 11px 12px; font-size: 12.5px; color: #3d5268; }
.hksev-med-sym-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.hksev-med-sym { background: #ffffff; border: 1px solid #e4edf7; border-left: 3.5px solid var(--m-blue); border-radius: 10px; padding: 10px 11px; font-size: 12.5px; color: var(--m-sub); }
.hksev-med-sym b { display: block; color: var(--m-ink); font-size: 13px; margin-bottom: 2px; }

/* 5. 三間分店（嚴格順序：通菜街 → 上海街 → 水渠道） */
.hksev-med-branch-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 11px; }
.hksev-med-branch { background: #ffffff; border: 1px solid var(--m-line); border-radius: 15px; overflow: hidden; display: flex; flex-direction: column; }
.hksev-med-branch-top { background: linear-gradient(135deg, #f1f7fe 0%, #e7f1fc 100%); padding: 12px 13px; border-bottom: 1px solid #dce8f6; }
.hksev-med-branch-top.sub { background: #f8fafc; border-bottom-color: #e8eef5; }
.hksev-med-branch-order { font-size: 11px; font-weight: 700; color: var(--m-blue); margin-bottom: 2px; }
.hksev-med-branch-title { font-size: 15.5px; font-weight: 800; color: var(--m-ink); }
.hksev-med-branch-body { padding: 13px; font-size: 12.5px; color: #3d5268; flex-grow: 1; display: flex; flex-direction: column; }
.hksev-med-branch-meta { margin-bottom: 10px; flex-grow: 1; }
.hksev-med-branch-meta div { margin-bottom: 4px; }
.hksev-med-btn-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; margin-bottom: 7px; }

/* 6. FAQ */
.hksev-med-faq details { border-bottom: 1px solid #edf2f7; padding: 10px 0; }
.hksev-med-faq details:last-child { border-bottom: none; }
.hksev-med-faq summary { font-size: 13.5px; font-weight: 700; color: var(--m-ink); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.hksev-med-faq summary::-webkit-details-marker { display: none; }
.hksev-med-faq summary::after { content: "+"; color: var(--m-blue); font-size: 17px; }
.hksev-med-faq details[open] summary::after { content: "−"; }
.hksev-med-faq p { font-size: 13px; color: var(--m-sub); margin: 7px 0 2px; }

/* 7. 霧面玻璃底部雙店固定列 */
.hksev-med-sticky {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(8px);
  border-top: 1px solid #dce6f2; padding: 8px 10px; box-shadow: 0 -6px 20px rgba(18,38,58,0.08);
}
.hksev-med-sticky-inner { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.hksev-med-sticky-lbl { font-size: 11px; font-weight: 700; color: var(--m-ink); text-align: center; margin-bottom: 4px; }
.hksev-med-sticky-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 5px; }
.hksev-med-sticky-btns a { display: flex; align-items: center; justify-content: center; min-height: 36px; border-radius: 9999px; font-size: 12px; font-weight: 700; text-decoration: none !important; }

@media (max-width: 720px) {
  .hksev-med-wrap { padding: 6px 2px 100px; }
  .hksev-med-hero-img { height: 225px !important; }
  .hksev-med-hero-overlay { padding: 14px 12px !important; }
  .hksev-med-eyebrow { font-size: 9.5px; padding: 2px 8px; margin-bottom: 5px; }
  .hksev-med-h1 { font-size: 16px; line-height: 1.25; max-width: 58%; margin-bottom: 4px; }
  .hksev-med-hero-sub { font-size: 10.5px; max-width: 56%; }
  .hksev-med-bridge { padding: 12px 4px 13px; }
  .hksev-med-bridge-main { font-size: 19px; }
  .hksev-med-bridge-sub { font-size: 14px; }
  .hksev-med-bridge-loc { font-size: 12px; }
  .hksev-med-pkg-grid { grid-template-columns: 1fr 1fr; gap: 8px; }
  .hksev-med-pphoto-wrap { height: 112px !important; }
  .hksev-med-pbody { padding: 10px 9px 11px; }
  .hksev-med-ptitle { font-size: 14px; }
  .hksev-med-price { font-size: 24px; }
  .hksev-med-checklist { font-size: 11.5px; }
  .hksev-med-checklist li { padding-left: 14px; }
  .hksev-med-branch-grid { grid-template-columns: 1fr; }
}
