/**
 * ゼッケン一番 注文フロー共通スタイル
 * LPのデザイン思想を踏襲（Flexレイアウト、3カラム構造、白カード中心）
 */

/* ============================================
   注文フロー用ヘッダー（最小化）
   ============================================ */

.purchase-header {
  background-color: white;
  box-shadow:
  0 1px 0 rgba(0,0,0,0.06),
  0 4px 6px -4px rgba(0,0,0,0.12);
  height: 30px;
  overflow: hidden;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.purchase-header-content {
  display: flex;
  align-items: center;
  height: 30px;
  padding: 0 16px;
  gap: 16px;
}

.purchase-header-banner {
  height: 30px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.purchase-header-image {
  height: 30px;
  width: auto;
  object-fit: contain;
  display: block;
}

.purchase-header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
}

.purchase-nav-item {
  padding: 4px 12px;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-weight: 500;
  font-size: 12px;
  transition: all 0.3s ease;
  white-space: nowrap;
  line-height: 1.2;
}

.purchase-nav-item:hover {
  background-color: #ff6b35;
  color: #fff;
  border-color: #ff6b35;
  text-decoration: none;
}

.purchase-nav-cart {
  background-color: #0066cc;
  color: #fff;
  border-color: #0066cc;
}

.purchase-nav-cart:hover {
  background-color: #0052a3;
  border-color: #0052a3;
}

/* 購入フロー用 Material Icons */
.zekken-purchase-nav-icon {
  font-size: 16px !important;
  width: 16px;
  height: 16px;
  margin-right: 4px;
  vertical-align: middle;
}

.zekken-purchase-title-icon {
  font-size: 28px !important;
  width: 28px;
  height: 28px;
  margin-right: 10px;
  vertical-align: middle;
}

.zekken-purchase-subtitle-icon {
  font-size: 20px !important;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.zekken-purchase-btn-icon {
  font-size: 20px !important;
  width: 20px;
  height: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

/* ============================================
   共通レイアウト（Sidebar + Main）
   ============================================ */

.purchase-container {
  display: flex;
  max-width: 1400px;
  margin: 0 auto;
  padding: 24px;
  gap: 24px;
  align-items: flex-start;
  min-height: calc(100vh - 200px);
  box-sizing: border-box;
  width: 100%;
}

/* サイドバー（進捗表示） */
.purchase-sidebar {
  flex: 0 0 200px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  position: sticky;
  top: 60px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

/* サイドバー（注文手順・ラベル表示） */
.purchase-sidebar-minimal {
  flex: 0 0 180px;
  padding: 16px 12px;
}

.purchase-sidebar-title {
  font-size: 18px;
  font-weight: bold;
  color: #ff6b35;
  margin: 0 0 20px 0;
  padding-bottom: 12px;
  border-bottom: 2px solid #ff6b35;
}

/* ステップ進捗 */
.purchase-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.purchase-sidebar-minimal .purchase-steps {
  gap: 16px;
  align-items: center;
}

.purchase-step {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.purchase-step-number {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 13px;
  flex-shrink: 0;
}

.purchase-step.active .purchase-step-number {
  background-color: #ff6b35;
  color: white;
}

.purchase-step.completed .purchase-step-number {
  background-color: #4caf50;
  color: white;
}

.purchase-step.completed .purchase-step-number::after {
  content: '✓';
  font-size: 18px;
}

.purchase-step-label {
  font-size: 13px;
  color: #333;
  font-weight: 500;
}

.purchase-sidebar-minimal .purchase-step-label {
  display: block;
  font-size: 12px;
}

.purchase-step.active .purchase-step-label {
  color: #ff6b35;
  font-weight: bold;
}

.purchase-step.completed .purchase-step-label {
  color: #4caf50;
}

/* メインコンテンツ */
.purchase-main {
  flex: 1;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* 情報入力（info）: アンケートへ — カード外・右下 5px・z-index で重ね表示 */
.purchase-info-survey-float-wrap {
  position: fixed;
  bottom: 5px;
  right: 5px;
  z-index: 100;
  pointer-events: none;
}
.purchase-info-survey-float-wrap .purchase-info-survey-float-btn {
  pointer-events: auto;
  position: relative;
  bottom: 0;
  right: 0;
  margin: 0;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
}

/* ============================================
   カードコンポーネント
   ============================================ */

.purchase-card {
  background-color: white;
  border-radius: 8px;
  box-shadow:
  0 1px 0 rgba(0,0,0,0.06),
  0 4px 6px -4px rgba(0,0,0,0.12);
  padding: 32px;
  margin-bottom: 24px;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.purchase-card:last-child {
  margin-bottom: 0;
}

.purchase-card-title {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  margin: 0 0 24px 0;
  padding-bottom: 16px;
}

/* カード上部のアクションボタン（注文内容確認・料金表など） */
.purchase-card-top-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.purchase-card-top-actions .purchase-btn {
  font-size: 14px;
  padding: 8px 16px;
  flex-shrink: 0;
}

.purchase-card-subtitle {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 24px 0 16px 0;
}

/* ============================================
   フォーム要素
   ============================================ */

.purchase-form-group {
  margin-bottom: 24px;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.purchase-form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #333;
  font-size: 14px;
}

.purchase-form-group label .required {
  color: #d32f2f;
  margin-left: 4px;
}

.purchase-form-group input[type="text"],
.purchase-form-group input[type="email"],
.purchase-form-group input[type="tel"],
.purchase-form-group input[type="number"],
.purchase-form-group input[type="file"],
.purchase-form-group select,
.purchase-form-group textarea {
  width: 100%;
  max-width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  box-sizing: border-box;
}

.purchase-form-group input[type="file"] {
  padding: 8px;
  cursor: pointer;
}

.purchase-form-group small {
  display: block;
  margin-top: 4px;
  color: #666;
  font-size: 12px;
}

.purchase-form-group small a {
  color: #0066cc;
  text-decoration: underline;
}

.purchase-form-group small a:hover {
  color: #0052a3;
}

.purchase-form-group input:focus,
.purchase-form-group select:focus,
.purchase-form-group textarea:focus {
  outline: none;
  border-color: #ff6b35;
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

.purchase-form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.purchase-form-group .error-message {
  color: #d32f2f;
  font-size: 12px;
  margin-top: 4px;
  display: none;
}

.purchase-form-group.has-error .error-message {
  display: block;
}

.purchase-form-group.has-error input,
.purchase-form-group.has-error select,
.purchase-form-group.has-error textarea {
  border-color: #d32f2f;
}

/* バリデーションエラー一覧（カート追加・注文保存時） */
.validation-error-summary {
  margin-bottom: 16px;
  padding: 12px 16px;
  background: #ffebee;
  border: 1px solid #d32f2f;
  border-radius: 8px;
}
.validation-error-summary-title {
  margin: 0 0 8px 0;
  font-weight: 600;
  color: #b71c1c;
}
.validation-error-list {
  margin: 0;
  padding-left: 20px;
  color: #c62828;
  font-size: 14px;
}
.validation-error-list li {
  margin-bottom: 4px;
}

/* バリデーション失敗時: 画面全体の赤ティント＋横揺れ */
@keyframes purchase-validation-shake {
  0%, 100% { transform: translateX(0); }
  12% { transform: translateX(-6px); }
  24% { transform: translateX(5px); }
  36% { transform: translateX(-4px); }
  48% { transform: translateX(3px); }
  60% { transform: translateX(-2px); }
  72% { transform: translateX(2px); }
  84% { transform: translateX(-1px); }
}

body.purchase-validation-shake {
  animation: purchase-validation-shake 0.55s ease-in-out;
}

body.purchase-validation-shake::before {
  content: '';
  position: fixed;
  inset: 0;
  background: rgba(211, 47, 47, 0.06);
  pointer-events: none;
  z-index: 9998;
  animation: purchase-validation-tint 0.55s ease-in-out forwards;
}

@keyframes purchase-validation-tint {
  0% { opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { opacity: 0; }
}

/* 入力行のスタイル */
.purchase-input-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.purchase-input-row label {
  min-width: 60px;
  font-weight: 600;
  flex-shrink: 0;
}

.purchase-input-row input {
  flex: 1;
}

/* 2列以上の文字入力：flexで横並び */
.text-multicol-input-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: flex-start;
}

.text-multicol-column {
  flex: 1;
  min-width: 180px;
}

/* ラジオボタン・チェックボックス */
.purchase-radio-group,
.purchase-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.purchase-radio-item,
.purchase-checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.purchase-radio-item input[type="radio"],
.purchase-checkbox-item input[type="checkbox"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.purchase-radio-item label,
.purchase-checkbox-item label {
  margin: 0;
  font-weight: normal;
  cursor: pointer;
}

.purchase-form-sublabel {
  display: block;
  font-size: 13px;
  color: #555;
  margin-bottom: 6px;
}

/* 穴あけ 場所決め：左上・右上・左下・右下を文字通り2×2で配置 */
.hole-punch-positions-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  max-width: 200px;
}
.hole-punch-positions-grid .hole-punch-pos {
  margin: 0;
}

/* 素材・カット方法の特徴説明アイコン・ポップオーバー */
.spec-option-info {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  margin-left: 2px;
  vertical-align: middle;
}
.spec-option-info .material-icons {
  font-size: 18px;
  color: #666;
}
.spec-option-info:hover .material-icons,
.spec-option-info:focus .material-icons {
  color: #0066cc;
}
.spec-option-info:focus {
  outline: 2px solid #0066cc;
  outline-offset: 2px;
  border-radius: 2px;
}
.spec-info-popover {
  position: fixed;
  z-index: 1100;
  max-width: 280px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  font-size: 13px;
  line-height: 1.5;
  color: #333;
}

/* 色選択UI */
.purchase-color-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.purchase-color-option {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  border: 2px solid #ddd;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.purchase-color-option:hover {
  transform: scale(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.purchase-color-option.selected {
  border-color: #ff6b35;
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.purchase-color-option.selected::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* ============================================
   プレビューエリア
   ============================================ */

.purchase-preview {
  background-color: #f5f5f5;
  border-radius: 8px;
  padding: 32px;
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.purchase-preview-zekken {
  background-color: white;
  border: 2px solid #ddd;
  border-radius: 4px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  margin: 0 auto;
  transition: width 0.3s ease, height 0.3s ease;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* 2段以上時: 段ごとの背景色がゼッケン全体の幅・高さに広がる */
.purchase-preview-zekken .preview-number-multiline {
  width: 100%;
}
.purchase-preview-zekken .preview-line {
  width: 100%;
  min-height: 0;
}

.purchase-preview-zekken * {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* 弓道用プレビュー: 紐が横にはみ出るため overflow を許可 */
.purchase-preview-zekken .preview-kyudo-wrap,
.purchase-preview-zekken .preview-kyudo-wrap * {
  overflow: visible;
  white-space: normal;
}

/* 弓道用プレビュー: 紐の太さ・色をCSSで管理（変数で変更可） */
.purchase-preview-zekken .preview-kyudo-wrap {
  --preview-kyudo-cord-color: #555;
  --preview-kyudo-cord-thickness: 5px;
  --preview-kyudo-bar-bg: #555;
}
.purchase-preview-zekken .preview-kyudo-bar {
  position: absolute;
  background: var(--preview-kyudo-bar-bg);
}
.purchase-preview-zekken .preview-kyudo-cord {
  position: absolute;
  top: 0;
  height: var(--preview-kyudo-cord-thickness);
  background-color: var(--preview-kyudo-cord-color);
  border-radius: 2px;
}

.purchase-preview-note {
  margin-top: 16px;
  font-size: 12px;
  color: #666;
  font-style: italic;
  overflow-wrap: break-word;
  word-wrap: break-word;
  max-width: 100%;
}

/* ============================================
   2カラムレイアウト（spec画面用）
   ============================================ */

.purchase-two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  min-width: 0;
}

.purchase-two-column > * {
  min-width: 0;
}

/* spec画面: プレビュー固定・フォーム独立スクロール */
.purchase-two-column-spec {
  align-items: start;
}

.purchase-preview-sticky {
  position: sticky;
  top: 24px;
  align-self: start;
}

.purchase-form-scroll {
  overflow-y: auto;
  padding-right: 8px;
}

.purchase-preview-sample-container {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #e0e0e0;
  min-width: 0;
  max-width: 100%;
}

.purchase-preview-sample-title {
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin: 0 0 12px 0;
}

.purchase-preview-sample-disclaimer {
  font-size: 12px;
  color: #888;
  margin: 12px 0 0 0;
}

.purchase-design-upload-preview {
  margin-bottom: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  overflow: hidden;
  max-width: 280px;
}

.purchase-design-upload-preview img {
  display: block;
  max-width: 100%;
  height: auto;
}

.purchase-option-notice {
  margin-top: 8px;
  padding: 8px 12px;
  font-size: 12px;
  color: #856404;
  background-color: #fff3cd;
  border: 1px solid #ffc107;
  border-radius: 4px;
}

.purchase-form-hint {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  color: #666;
}

/* フォント選択の直下に出す「おすすめ用途」（font-options.js と連動） */
.font-choice-hint {
  line-height: 1.55;
  max-width: 42rem;
}

/* カード内の導入ヒント（上下マージンを揃え、インライン style を避ける） */
.purchase-form-hint--card-tight {
  margin: 0 0 12px;
}

/* カード上部の手順表示 */
.purchase-card-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 20px 0;
  margin-bottom: 32px;
  border-bottom: 2px solid #f0f0f0;
}

.purchase-card-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
  flex: 1;
  max-width: 150px;
}

.purchase-card-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: calc(50% + 32px);
  width: calc(100% - 64px);
  height: 2px;
  background-color: #e0e0e0;
  z-index: 0;
}

.purchase-card-step.active:not(:last-child)::after {
  background-color: #ff6b35;
}

.purchase-card-step-number {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #e0e0e0;
  color: #666;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 14px;
  position: relative;
  z-index: 1;
}

.purchase-card-step.active .purchase-card-step-number {
  background-color: #ff6b35;
  color: white;
}

.purchase-card-step-label {
  font-size: 12px;
  color: #666;
  font-weight: 500;
  text-align: center;
}

.purchase-card-step.active .purchase-card-step-label {
  color: #ff6b35;
  font-weight: bold;
}

/* プレビューセクション（カード内に収める） */
.purchase-preview-section {
  margin-bottom: 0;
  padding-bottom: 0;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

/* フォームセクション */
.purchase-form-section {
  width: 100%;
  min-width: 0;
  max-width: 100%;
}

/* ============================================
   パンくずナビゲーション
   ============================================ */

.purchase-breadcrumb {
  margin-bottom: 16px;
  padding: 8px 0;
  font-size: 14px;
}

.purchase-breadcrumb-item {
  color: #666;
  text-decoration: none;
  transition: color 0.3s;
}

.purchase-breadcrumb-item:hover {
  color: #ff6b35;
  text-decoration: underline;
}

.purchase-breadcrumb-item.active {
  color: #333;
  font-weight: 600;
  cursor: default;
}

.purchase-breadcrumb-item.active:hover {
  color: #333;
  text-decoration: none;
}

.purchase-breadcrumb-separator {
  margin: 0 8px;
  color: #999;
}

/* パンくず直下：進捗（全5ステップ中の位置） */
.purchase-step-progress {
  margin: -4px 0 16px;
  font-size: var(--text-small, 0.875rem);
  line-height: var(--leading-small, 1.55);
  color: var(--color-text-muted, #555);
}

.purchase-step-progress strong {
  color: var(--color-text, #333);
  font-weight: 600;
}

/* サイドバー：手順4〜5がクリックできない理由 */
.purchase-sidebar-hint {
  margin-top: 10px;
  padding: 10px 2px 0;
  font-size: var(--text-small, 0.875rem);
  line-height: 1.5;
  color: #666;
  border-top: 1px solid #eee;
}

/* お支払い：他画面へ戻る補助リンク */
.purchase-payment-escape-links {
  margin: 0 0 20px;
  font-size: var(--text-small, 0.875rem);
  line-height: 1.5;
  color: #666;
}

.purchase-payment-escape-links a {
  color: #0066cc;
  text-decoration: underline;
}

.purchase-payment-escape-links a:hover {
  color: #ff6b35;
}

/* ============================================
   選択したゼッケン情報表示（購入詳細指定画面用）
   ============================================ */

.selected-category-info {
  background-color: #f0f7ff;
  border: 1px solid #0066cc;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.selected-category-label {
  font-size: 14px;
  color: #666;
  font-weight: 600;
}

.selected-category-name {
  font-size: 16px;
  font-weight: bold;
  color: #0066cc;
}

/* ============================================
   選択したゼッケン情報表示
   ============================================ */

.purchase-selected-product {
  background-color: #f0f7ff;
  border: 1px solid #0066cc;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 24px;
}

.purchase-selected-product-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.purchase-selected-product-label {
  font-size: 12px;
  color: #666;
  font-weight: 600;
}

.purchase-selected-product-name {
  font-size: 18px;
  font-weight: bold;
  color: #0066cc;
}

.purchase-selected-product-description {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

.purchase-selected-product-size {
  font-size: 14px;
  color: #333;
  font-weight: 500;
}

/* 詳細指定サマリー（レイアウト・フォント・文字色など） */
.purchase-spec-summary {
  background-color: #f5f5f5;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #333;
  line-height: 1.6;
}

.purchase-spec-summary .spec-summary-item {
  display: inline-block;
  margin-right: 16px;
  margin-bottom: 4px;
}

.purchase-spec-summary .spec-summary-item strong {
  color: #555;
  margin-right: 4px;
}

/* ============================================
   注文サマリー（customer画面用）
   ============================================ */

.purchase-summary {
  background-color: #f9f9f9;
  border-radius: 8px;
  padding: 24px;
  position: sticky;
  top: 24px;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.purchase-summary-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0 0 16px 0;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
}

.purchase-summary-section {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e0e0e0;
}

.purchase-summary-section:last-child {
  border-bottom: none;
}

.purchase-summary-section-title {
  font-size: 14px;
  font-weight: bold;
  color: #666;
  margin: 0 0 12px 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.purchase-summary-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 8px;
  padding: 8px 0;
  border-bottom: 1px solid #e0e0e0;
  flex-wrap: wrap;
  min-width: 0;
}

.purchase-summary-item:last-child {
  border-bottom: none;
}

.purchase-summary-label {
  color: #666;
  font-size: 14px;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.purchase-summary-value {
  color: #333;
  font-size: 14px;
  font-weight: 600;
  min-width: 0;
  overflow-wrap: break-word;
  word-wrap: break-word;
  text-align: right;
}

.purchase-summary-total {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 2px solid #ff6b35;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.purchase-summary-total-label {
  font-size: 18px;
  font-weight: bold;
  color: #333;
}

.purchase-summary-total-value {
  font-size: 24px;
  font-weight: bold;
  color: #ff6b35;
}

/* ============================================
   ボタン
   ============================================ */

.purchase-actions {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid #e0e0e0;
}

.purchase-btn {
  padding: 14px 32px;
  border: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
  min-height: 44px;
  box-sizing: border-box;
}

.purchase-btn-primary {
  background-color: #ff6b35;
  color: white;
  flex: 1;
}

.purchase-btn-primary:hover {
  background-color: #e55a2b;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.purchase-btn-primary:disabled {
  background-color: #ccc;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.purchase-btn-secondary {
  background-color: white;
  color: #333;
  border: 1px solid #ddd;
}

.purchase-btn-secondary:hover {
  background-color: #f5f5f5;
  border-color: #ff6b35;
  color: #ff6b35;
}

/* ============================================
   完了画面
   ============================================ */

.purchase-complete {
  text-align: center;
  padding: 48px 24px;
}

.purchase-complete-icon {
  font-size: 64px;
  color: #4caf50;
  margin-bottom: 24px;
}

.purchase-complete-icon-material {
  font-size: 72px !important;
  width: 72px;
  height: 72px;
  color: #4caf50;
}

.purchase-complete-title {
  font-size: 32px;
  font-weight: bold;
  color: #333;
  margin: 0 0 16px 0;
}

.purchase-complete-message {
  font-size: 18px;
  color: #666;
  margin-bottom: 32px;
  line-height: 1.8;
}

.purchase-order-number {
  font-size: 24px;
  font-weight: bold;
  color: #ff6b35;
  margin: 24px 0;
  padding: 16px;
  background-color: #fff5f0;
  border-radius: 8px;
  display: inline-block;
}

.purchase-complete-steps {
  text-align: left;
  max-width: 600px;
  margin: 32px auto;
  padding: 24px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.purchase-complete-steps-title {
  font-size: 18px;
  font-weight: bold;
  color: #333;
  margin: 0 0 16px 0;
}

.purchase-complete-steps-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.purchase-complete-steps-list li {
  padding: 12px 0;
  border-bottom: 1px solid #e0e0e0;
  color: #666;
  font-size: 14px;
}

.purchase-complete-steps-list li:last-child {
  border-bottom: none;
}

.purchase-complete-steps-list li::before {
  content: '✓';
  color: #4caf50;
  font-weight: bold;
  margin-right: 8px;
}

/* ============================================
   注文内容確認モーダル
   ============================================ */

.purchase-summary-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.purchase-summary-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.purchase-summary-modal-content {
  position: relative;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  z-index: 1;
}

.purchase-summary-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
  border-bottom: 2px solid #f0f0f0;
}

.purchase-summary-modal-header h2 {
  margin: 0;
  font-size: 20px;
  color: #333;
}

.purchase-summary-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.purchase-summary-modal-close:hover {
  background-color: #f0f0f0;
}

.purchase-summary-modal-body {
  padding: 24px;
}

/* ============================================
   料金表モーダル
   ============================================ */

.base-price-table-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.base-price-table-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.base-price-table-modal-content {
  position: relative;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  max-width: 90%;
  width: 800px;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.base-price-table-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 2px solid #f0f0f0;
  flex-shrink: 0;
}

.base-price-table-modal-title {
  margin: 0;
  font-size: 18px;
  color: #333;
}

.base-price-table-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  transition: background-color 0.2s;
}

.base-price-table-modal-close:hover {
  background-color: #f0f0f0;
}

.base-price-table-modal-body {
  padding: 24px;
  overflow: auto;
}

.base-price-table-kyudo-notice {
  margin-bottom: 12px;
}

/* ご注文方法モーダル（spec 初回表示） */
.order-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.order-guide-modal-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5);
}
.order-guide-modal-content {
  position: relative;
  z-index: 1;
  width: min(680px, 100%);
  max-height: 85vh;
  overflow: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.order-guide-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 2px solid #f0f0f0;
}
.order-guide-modal-title {
  margin: 0;
  font-size: 18px;
  color: #333;
}
.order-guide-modal-close {
  background: none;
  border: none;
  color: #666;
  width: 32px;
  height: 32px;
  padding: 0;
  cursor: pointer;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.order-guide-modal-close:hover {
  background-color: #f0f0f0;
}
.order-guide-modal-body {
  padding: 20px 24px 8px;
}
.order-guide-steps {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  line-height: 1.7;
}
.order-guide-modal-footer {
  padding: 16px 24px 24px;
  display: flex;
  justify-content: flex-end;
}
.spec-order-guide-trigger {
  min-height: 44px;
}

/* 空欄確認モーダル（info 画面） */
.empty-confirm-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}
.empty-confirm-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  cursor: pointer;
}
.empty-confirm-modal-content {
  position: relative;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  max-width: 480px;
  width: 100%;
  padding: 24px;
}
.empty-confirm-modal-title {
  margin: 0 0 12px 0;
  font-size: 18px;
  color: #333;
}
.empty-confirm-modal-message {
  margin: 0 0 20px 0;
  font-size: 14px;
  line-height: 1.5;
  color: #555;
}
.empty-confirm-modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
}

.base-price-table-wrapper {
  overflow-x: auto;
}

.base-price-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.base-price-table th,
.base-price-table td {
  border: 1px solid #e0e0e0;
  padding: 10px 12px;
  text-align: left;
}

.base-price-table th {
  background-color: #f5f5f5;
  font-weight: 600;
  color: #333;
}

.base-price-table-current-row {
  background-color: #e3f2fd;
}

.base-price-table-inquiry-cell {
  text-align: center;
  color: #666;
  padding: 16px;
}

.base-price-table-inquiry-cell a {
  color: #0066cc;
  text-decoration: underline;
}

.purchase-summary-detail {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.purchase-summary-detail .purchase-summary-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin: 0 0 12px 0;
  padding-bottom: 8px;
  border-bottom: 1px solid #e0e0e0;
}

.purchase-summary-detail .purchase-summary-section p {
  margin: 8px 0;
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.purchase-summary-detail .purchase-summary-section strong {
  color: #333;
  font-weight: 600;
  margin-right: 8px;
}

.purchase-summary-modal-footer {
  padding: 16px 24px;
  border-top: 2px solid #f0f0f0;
  display: flex;
  justify-content: flex-end;
}

/* ============================================
   レスポンシブ
   ============================================ */

@media (max-width: 1024px) {
  .purchase-header-content {
    padding: 0 12px;
    gap: 12px;
  }
  
  .purchase-header-image {
    height: 24px;
  }
  
  .purchase-nav-item {
    padding: 3px 8px;
    font-size: 11px;
  }
  
  .purchase-container {
    flex-direction: column;
  }
  
  .purchase-sidebar {
    display: none; /* レスポンシブでサイドバーを非表示 */
  }
  
  .purchase-two-column {
    grid-template-columns: 1fr;
  }
  
  .purchase-summary {
    position: static;
  }
}

@media (max-width: 768px) {
  .purchase-container {
    padding: 16px;
    gap: 16px;
  }
  
  .purchase-card {
    padding: 24px 16px;
  }
  
  .purchase-card-top-actions {
    justify-content: center;
    gap: 12px;
    row-gap: 12px;
  }
  
  .purchase-actions {
    flex-direction: column;
  }
  
  .purchase-btn {
    width: 100%;
  }
}

/* ============================================
   カートに追加アニメーション（注文票アイコンが飛んでいく）
   ============================================ */

.zekken-cart-fly-doc {
  width: 48px;
  height: 48px;
  margin-left: -24px;
  margin-top: -24px;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.zekken-cart-fly-paper {
  width: 32px;
  height: 40px;
  margin-left: -16px;
  margin-top: -20px;
  transform: translate(-50%, -50%);
}

.zekken-cart-fly-doc-icon {
  font-size: 40px !important;
  width: 40px;
  height: 40px;
  color: #1565c0;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.zekken-cart-fly-paper-stack {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #f5f5dc 0%, #e8e8d0 50%, #ddd 100%);
  border: 1px solid #ccc;
  border-radius: 2px;
  box-shadow:
    0 1px 0 #fff,
    0 2px 2px rgba(0,0,0,0.1),
    0 4px 4px rgba(0,0,0,0.08),
    2px 0 0 -1px #e0e0e0,
    -2px 0 0 -1px #e0e0e0;
  position: relative;
}

.zekken-cart-fly-paper-stack::before,
.zekken-cart-fly-paper-stack::after {
  content: '';
  position: absolute;
  left: 2px;
  right: 2px;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(0,0,0,0.05), transparent);
  border-radius: 1px;
}

.zekken-cart-fly-paper-stack::before {
  top: 8px;
}

.zekken-cart-fly-paper-stack::after {
  bottom: 8px;
}

/* トースト（カート保存メッセージ）— 画面中央・緑・大きめ */
.zekken-toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.95);
  max-width: min(90vw, 480px);
  padding: 24px 32px;
  background: #2e7d32;
  color: #fff;
  border-radius: 12px;
  font-size: 18px;
  line-height: 1.5;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  z-index: 10000;
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
  pointer-events: none;
  text-align: center;
}

.zekken-toast.zekken-toast-visible {
  transform: translate(-50%, -50%) scale(1);
  opacity: 1;
}

/* 配送日選択テーブル */
.delivery-date-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.delivery-date-table th,
.delivery-date-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.delivery-date-table th {
  background: #f5f5f5;
  font-weight: 600;
  color: #333;
  font-size: 13px;
  text-align: center;
  line-height: 1.4;
}
.delivery-date-table tbody tr {
  cursor: default;
}
.delivery-date-table .delivery-date-td {
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.delivery-date-table .delivery-date-td:hover {
  background: #f9f9f9;
}
/* 横レイアウト */
.delivery-date-table-horizontal .delivery-date-td.selected,
.delivery-date-table-horizontal th.delivery-date-td.selected,
.delivery-date-table-horizontal td.delivery-date-td.selected {
  border: 2px solid #0066cc;
  background: #e3f2fd;
}

/* 通常配送用テーブル（個別） */
.delivery-standard-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  font-size: 14px;
}
.delivery-standard-table th,
.delivery-standard-table td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid #eee;
}
.delivery-standard-table th {
  background: #f5f5f5;
  font-weight: 600;
  color: #333;
}
.delivery-standard-table th:last-child,
.delivery-standard-table td:last-child {
  text-align: right;
}
.delivery-standard-table tbody tr.delivery-standard-option {
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.delivery-standard-table tbody tr.delivery-standard-option:hover {
  background: #f9f9f9;
}
.delivery-standard-table tbody tr.delivery-standard-option.selected td {
  background: #e3f2fd;
}
.delivery-standard-table tbody tr.delivery-standard-option.selected td:first-child {
  border-left: 4px solid #0066cc;
  padding-left: 12px;
}

/* 配送日選択グリッド（特急料金表・列数は responsive.css のメディアクエリで 768px:4列 / 1024px:6列 / 以上:フル） */
.delivery-date-grid {
  display: grid;
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  grid-auto-rows: auto;
  grid-template-columns: repeat(var(--delivery-cols, 8), 1fr);
  gap: 0;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: visible;
}
.delivery-date-grid .delivery-date-td {
  padding: 12px 16px;
  text-align: center;
  border-right: 1px solid #eee;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  font-size: 13px;
  line-height: 1.4;
  box-sizing: border-box;
}
.delivery-date-grid .delivery-date-td:nth-child(odd) {
  background: #f5f5f5;
  font-weight: 600;
  color: #333;
}
.delivery-date-grid .delivery-date-td:hover {
  background: #f9f9f9;
}
.delivery-date-grid .delivery-date-td.selected {
  border: 2px solid #0066cc;
  background: #e3f2fd;
}
/* 右端のセルは縦線を出さない（overflow で隠れるので省略可） */

/* 決済リダイレクト中の「戻る」逃げ道（KOMOJU iframe等の上に表示して常にクリック可能に） */
.payment-redirect-escape {
  position: relative;
  z-index: 10001;
  margin-top: 16px;
  padding: 16px;
  background: #fff8e1;
  border: 1px solid #ffc107;
  border-radius: 8px;
  pointer-events: auto;
}
.payment-redirect-escape-text {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #333;
}
.payment-redirect-escape .purchase-btn {
  pointer-events: auto;
}

/* ============================================
   購入方法セクション（3択カード + メリデメ表示）
   ============================================ */

.purchase-method-section {
  margin-bottom: 24px;
}
.purchase-form-label {
  display: block;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 12px;
  color: #222;
}
.purchase-method-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: #e8f5e9;
  border: 2px solid #4caf50;
  border-radius: 8px;
  margin-bottom: 16px;
}
.purchase-method-banner i { color: #4caf50; font-size: 28px; }
.purchase-method-banner strong { font-size: 15px; color: #222; }
.purchase-method-banner-sub { font-size: 12px; color: #666; margin-top: 2px; }
.purchase-method-cards {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.purchase-method-card {
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 16px;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.purchase-method-card:hover { border-color: #bbb; }
.purchase-method-card.selected {
  border-color: #ff6b35;
  box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.15);
}
.purchase-method-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}
.purchase-method-card-header input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: #ff6b35;
}
.purchase-method-card-header label { cursor: pointer; font-size: 15px; }
.purchase-method-desc {
  font-size: 12px;
  color: #888;
  margin-bottom: 8px;
  padding-left: 26px;
}
.purchase-method-merits {
  list-style: none;
  padding-left: 26px;
}
.purchase-method-merits li {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  margin-bottom: 4px;
}
.purchase-method-merits li.merit { color: #2e7d32; }
.purchase-method-merits li.merit i { font-size: 16px; color: #4caf50; }
.purchase-method-merits li.demerit { color: #c62828; }
.purchase-method-merits li.demerit i { font-size: 16px; color: #e53935; }

/* インラインログイン・登録フォーム */
.inline-auth-form {
  margin-top: 12px;
  padding: 16px;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #eee;
}
.inline-auth-form .purchase-form-group { margin-bottom: 12px; }
.inline-auth-form label { font-size: 13px; font-weight: bold; color: #444; display: block; margin-bottom: 4px; }
.inline-auth-form input {
  width: 100%;
  padding: 8px 12px;
  font-size: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
}
.inline-auth-form input:focus { outline: none; border-color: #ff6b35; box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.15); }
.auth-error {
  padding: 8px 12px;
  background: #ffebee;
  color: #c62828;
  border-radius: 6px;
  font-size: 13px;
  margin-bottom: 12px;
}
.auth-note {
  font-size: 12px;
  color: #888;
  text-align: center;
  margin-top: 8px;
}
.auth-note a { color: #ff6b35; }
.otp-sent-msg {
  font-size: 13px;
  color: #2e7d32;
  margin-bottom: 12px;
  padding: 8px;
  background: #e8f5e9;
  border-radius: 6px;
}
.otp-verified-msg {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #2e7d32;
  margin-bottom: 12px;
  padding: 8px;
  background: #e8f5e9;
  border-radius: 6px;
}
.otp-verified-msg i { font-size: 20px; }

/* ============================================
   注文内容サマリーヘッダー（ボタン付き）
   ============================================ */

.purchase-summary-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.purchase-summary-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.purchase-btn-sm {
  font-size: 12px !important;
  padding: 6px 10px !important;
}
.purchase-btn-sm i { font-size: 14px !important; }
.purchase-btn-accent {
  background: #ff6b35 !important;
  color: white !important;
  border: none;
}
.purchase-btn-accent:hover { background: #e55a2b !important; }
.purchase-btn-outline {
  background: white !important;
  color: #ff6b35 !important;
  border: 2px solid #ff6b35 !important;
}
.purchase-btn-outline:hover { background: #fff5f0 !important; }

/* ============================================
   モーダル（見積もり保存誘導）
   ============================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-content {
  background: white;
  border-radius: 12px;
  padding: 32px;
  max-width: 440px;
  width: 90%;
  position: relative;
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}
.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: none;
  border: none;
  cursor: pointer;
  color: #999;
}
.modal-close:hover { color: #333; }
.modal-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  margin-bottom: 16px;
  color: #222;
}
.modal-title i { color: #ff6b35; }
.modal-hint {
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}
.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.modal-actions .purchase-btn { flex: 1; min-width: 140px; }

/* ============================================
   見積書の宛名設定
   ============================================ */

.quote-address-settings {
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  margin-bottom: 20px;
  background: #fafafa;
}
.quote-address-settings legend {
  font-weight: bold;
  font-size: 13px;
  color: #444;
  padding: 0 6px;
}
.quote-setting-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.quote-setting-label {
  font-size: 13px;
  font-weight: bold;
  color: #555;
  min-width: 110px;
  flex-shrink: 0;
}
.quote-setting-options {
  display: flex;
  gap: 16px;
}
.quote-setting-options label {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  cursor: pointer;
  color: #333;
}
.quote-setting-options input[type="radio"] {
  width: 16px;
  height: 16px;
  accent-color: #ff6b35;
}
.quote-address-preview {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #eee;
}
.quote-preview-box {
  flex: 1;
  padding: 10px 14px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 13px;
  color: #222;
  line-height: 1.6;
  min-height: 40px;
}
.quote-suffix-auto {
  font-size: 12px;
  color: #888;
  line-height: 1.5;
}
