/* convert-bar.css — 底部固定 CTA 条だけの様式。
   本主題で position: fixed を書いてよい唯一のファイル（snippets/convert_bar.liquid が body 内 <link> で読む）。
   半透明白地 + backdrop-blur + 上緣 1px 罫 + 柔らかな上向き影、右に pill の予約按钮。
   .convert-bar / .convert-bar--shown のクラス名は app.js が依存する契約 —— 改名禁止。 */
.convert-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s ease;
}
.convert-bar--shown {
  transform: translateY(0);
  opacity: 1;
}
.convert-bar-inner {
  width: 100%;
  max-width: 480px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  background: var(--bar-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--bar-line);
  box-shadow: 0 -6px 24px rgba(30, 42, 33, 0.07);
  color: var(--bar-fg);
  pointer-events: auto;
}
.convert-bar-text {
  flex: 1;
  min-width: 0;
}
.convert-bar-title,
.convert-bar-sub {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.convert-bar-title {
  font-family: var(--stack-body);
  font-weight: 500;
  font-size: 13px;
  line-height: 1.4;
  color: var(--bar-fg);
}
.convert-bar-sub {
  margin-top: 2px;
  font-family: var(--stack-body);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.4;
  color: var(--terracotta);
}
.convert-bar-cta {
  flex: none;
  display: block;
  border-radius: 999px;
  padding: 13px 30px;
  background: var(--convert-bg);
  color: var(--convert-fg);
  font-family: var(--stack-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.24em;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.1s ease;
}
.convert-bar-cta:hover {
  background: var(--accent-deep);
  color: var(--convert-fg);
}
.convert-bar-cta:active {
  transform: scale(0.985);
}
/* LINE 形態（convert.kind == 'line'）：ブランド色の実心 + アイコン。
   文字は緑地とのコントラスト固定で白（LINE のブランド組み合わせ）。 */
.convert-bar-cta--line {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #06C755;
  color: #FFFFFF;
}
.convert-bar-cta--line:hover {
  background: #05B34C;
  color: #FFFFFF;
}
.convert-bar-icon { flex: none; }
@media (prefers-reduced-motion: reduce) {
  .convert-bar,
  .convert-bar-cta {
    transition: none;
  }
}
