/* ============================================================
   チャットの見積（概算）
   ・形は予約の部品（booking-style.css の .bk-panel・.bk-submit など）を使う
   ============================================================ */
.es-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px;
  border: 1px solid var(--chat-border);
  border-radius: 14px;
  background: #FFFFFF;
  color: #1F2D2D;
}
.es-card__title { margin: 0; font-size: 15px; font-weight: 700; }
.es-category { margin: 6px 0 0; font-size: 12px; font-weight: 700; color: var(--chat-primary); }
.es-item { display: flex; align-items: center; gap: 8px; padding: 6px 0; }
.es-item + .es-item { border-top: 1px solid var(--chat-border); }
.es-item__main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.es-item__name { font-size: 14px; overflow-wrap: anywhere; }
.es-item__price { font-size: 12px; color: var(--chat-sub); }
.es-step { display: flex; align-items: center; gap: 4px; flex: none; }
.es-step button {
  width: 32px;
  height: 32px;
  border: 1px solid var(--chat-border);
  border-radius: 50%;
  background: #FFFFFF;
  color: var(--chat-primary);
  font-size: 16px;
}
.es-step .es-qty {
  width: 40px; padding: 4px 0; border: 1px solid var(--chat-border); border-radius: 8px;
  background: #FFFFFF; text-align: center; font-size: 16px; font-weight: 700; color: inherit;
  -moz-appearance: textfield;   /* 上下の小さな矢印を消す */
}
.es-step .es-qty::-webkit-outer-spin-button,
.es-step .es-qty::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.es-total { padding: 10px 12px; border-radius: 10px; background: var(--chat-bg); font-size: 13px; }
.es-line, .es-sum { display: flex; justify-content: space-between; gap: 8px; padding: 2px 0; }
.es-line__name { min-width: 0; overflow-wrap: anywhere; }
.es-sep { margin: 6px 0; border-top: 1px solid var(--chat-border); }
.es-sum strong { font-size: 17px; }
.es-hint { margin: 2px 0 0; font-size: 12px; color: var(--chat-sub); }
.es-hint--center { text-align: center; }
.es-note { margin: 6px 0 0; font-size: 11px; color: var(--chat-sub); line-height: 1.6; }
.es-after { display: flex; flex-direction: column; gap: 4px; }
.es-after:empty { display: none; }

/* 確認カードの「お見積りの内容」（読むだけ） */
.iq-fixed-answer__text {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--chat-bg);
  font-size: 13px;
  font-weight: 400;
  white-space: pre-wrap;
}

.es-request--sub { align-self: center; margin-top: 2px; }