/* ===========================
   Fukuoka Disc Shop - Styles
   Mobile-first / Sporty / Light
   =========================== */

:root {
  --color-bg:           #ffffff;
  --color-surface:      #f8f9fb;
  --color-surface2:     #eef1f6;
  --color-border:       #dde3ed;
  --color-primary:      #0082cc;
  --color-primary-dark: #006aaa;
  --color-accent:       #ff6b35;
  --color-accent-dark:  #e05520;
  --color-text:         #1a2236;
  --color-text-muted:   #6b7a99;
  --color-success:      #009e6e;
  --color-error:        #d93a52;
  --color-soldout:      #9aa5bb;
  --radius:    10px;
  --radius-sm: 6px;
  --shadow:    0 4px 20px rgba(0,0,0,0.08);
  --header-h:  64px;
  --trans:     0.2s ease;
  --font:      "Helvetica Neue","Noto Sans JP",Arial,sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); background: var(--color-bg); color: var(--color-text); font-size: 14px; line-height: 1.6; min-height: 100vh; }
img { display: block; max-width: 100%; }
a { color: var(--color-primary); text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

.container { width: 100%; max-width: 900px; margin: 0 auto; padding: 0 16px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; letter-spacing: 0.03em;
  transition: background var(--trans), transform var(--trans), opacity var(--trans);
}
.btn:active { transform: scale(0.97); }
.btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.btn--primary  { background: var(--color-primary);  color: #fff; }
.btn--primary:hover:not(:disabled)  { background: var(--color-primary-dark); }
.btn--accent   { background: var(--color-accent);   color: #fff; }
.btn--accent:hover:not(:disabled)   { background: var(--color-accent-dark); }
.btn--ghost    { background: transparent; color: var(--color-text-muted); border: 1px solid var(--color-border); }
.btn--ghost:hover:not(:disabled)    { color: var(--color-text); border-color: var(--color-text-muted); }
.btn--sm  { padding: 7px 14px; font-size: 13px; }
.add-to-cart-btn.btn--sm { padding: 8px; width: 36px; height: 36px; flex-shrink: 0; }
.btn--lg  { padding: 14px 28px; font-size: 16px; }
.btn--full { width: 100%; }

/* ---- Header (3カラムグリッド：左/中央/右) ---- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: #fff; border-bottom: 1px solid var(--color-border);
  height: var(--header-h); display: flex; align-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.header__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
}
.header__logo { justify-self: center; display: flex; align-items: center; }
.header__logo-img { height: 60px; width: auto; }

/* ハンバーガーボタン */
.hamburger-btn {
  justify-self: start;
  display: flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px; padding: 8px;
  border-radius: var(--radius-sm);
  transition: background var(--trans);
}
.hamburger-btn:hover { background: var(--color-surface2); }
.hamburger-btn span {
  display: block; width: 100%; height: 2px;
  background: var(--color-text); border-radius: 2px;
}

/* カートボタン */
.cart-btn {
  justify-self: end;
  position: relative; display: flex; align-items: center; gap: 5px;
  background: var(--color-surface2); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); padding: 8px 12px;
  color: var(--color-text); font-weight: 700; font-size: 13px;
  transition: background var(--trans), border-color var(--trans);
}
.cart-btn:hover { background: var(--color-border); border-color: var(--color-primary); color: var(--color-primary); }
.cart-btn svg { width: 18px; height: 18px; stroke: var(--color-primary); }
.cart-badge {
  position: absolute; top: -7px; right: -7px;
  background: var(--color-accent); color: #fff;
  font-size: 11px; font-weight: 900; width: 20px; height: 20px;
  border-radius: 50%; display: none; align-items: center; justify-content: center;
}

/* ---- ドロワー ---- */
.drawer-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.35);
  z-index: 200; opacity: 0; pointer-events: none;
  transition: opacity 0.25s;
}
.drawer-overlay.open { opacity: 1; pointer-events: all; }

.category-drawer {
  position: fixed; top: 0; left: 0;
  width: 280px; max-width: 80vw; height: 100%;
  background: #fff; z-index: 201;
  transform: translateX(-100%);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
  display: flex; flex-direction: column;
  box-shadow: 4px 0 20px rgba(0,0,0,0.12);
}
.category-drawer.open { transform: translateX(0); }

.drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--color-border);
  height: var(--header-h); flex-shrink: 0;
}
.drawer-title { font-size: 15px; font-weight: 700; }
.drawer-close {
  width: 32px; height: 32px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; color: var(--color-text-muted);
  transition: background var(--trans);
}
.drawer-close:hover { background: var(--color-surface2); color: var(--color-text); }

#drawer-category-list { overflow-y: auto; flex: 1; padding: 8px 0; }
.drawer-cat-btn {
  display: block; width: 100%;
  padding: 14px 24px; text-align: left;
  font-size: 15px; font-weight: 500; color: var(--color-text);
  transition: background var(--trans), color var(--trans);
  border-left: 3px solid transparent;
}
.drawer-cat-btn:hover { background: var(--color-surface); }
.drawer-cat-btn--active {
  color: var(--color-primary); font-weight: 700;
  border-left-color: var(--color-primary);
  background: #f0f7ff;
}

/* ---- Hero ---- */
.hero {
  background: linear-gradient(135deg,#f0f6ff 0%,#e8f3ff 50%,#fff5f0 100%);
  padding: 32px 0 28px; text-align: center;
  border-bottom: 1px solid var(--color-border);
  position: relative; overflow: hidden;
}
.hero::before { content:""; position:absolute; top:-40px; right:-60px; width:200px; height:200px; border-radius:50%; background:radial-gradient(circle,rgba(0,130,204,.10) 0%,transparent 70%); }
.hero::after  { content:""; position:absolute; bottom:-40px; left:-40px; width:160px; height:160px; border-radius:50%; background:radial-gradient(circle,rgba(255,107,53,.08) 0%,transparent 70%); }
.hero__title { font-size: clamp(22px,5vw,32px); font-weight: 900; line-height: 1.2; margin-bottom: 8px; color: var(--color-text); }
.hero__title span { background: linear-gradient(90deg,var(--color-primary),var(--color-accent)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero__sub { color: var(--color-text-muted); font-size: 13px; letter-spacing: 0.05em; }

/* ---- Shop Controls ---- */
.shop-controls {
  padding: 14px 0 0;
  position: sticky; top: var(--header-h); z-index: 90;
  background: var(--color-bg); border-bottom: 1px solid var(--color-border);
}
.search-wrap { position: relative; margin-bottom: 10px; }
.search-wrap svg { position:absolute; left:12px; top:50%; transform:translateY(-50%); width:18px; height:18px; stroke:var(--color-text-muted); pointer-events:none; }
.search-input {
  width: 100%; background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); color: var(--color-text); font-size: 14px;
  padding: 10px 12px 10px 40px; outline: none; font-family: inherit;
  transition: border-color var(--trans);
}
.search-input:focus { border-color: var(--color-primary); }
.search-input::placeholder { color: var(--color-text-muted); }

.shop-meta { display: flex; align-items: center; justify-content: space-between; padding: 8px 0 12px; }
.result-count { color: var(--color-text-muted); font-size: 13px; }
.result-count strong { color: var(--color-primary); }
.sort-select {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius-sm); color: var(--color-text);
  font-size: 13px; padding: 6px 10px; outline: none; font-family: inherit; cursor: pointer;
}
.sort-select:focus { border-color: var(--color-primary); }

/* ---- Product Grid ---- */
.product-grid { padding: 16px 0 32px; display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.no-results { grid-column:1/-1; text-align:center; color:var(--color-text-muted); padding:60px 0; font-size:15px; }

/* ---- Product Card ---- */
.product-card {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform var(--trans), border-color var(--trans), box-shadow var(--trans);
}
.product-card:hover { transform:translateY(-3px); border-color:var(--color-primary); box-shadow:0 8px 24px rgba(0,130,204,.12); }
.product-card--soldout { opacity:.6; }
.product-card--soldout:hover { transform:none; border-color:var(--color-border); box-shadow:none; }

.product-card__img-wrap { position:relative; aspect-ratio:1/1; background:var(--color-surface2); overflow:hidden; }
.product-card__img { width:100%; height:100%; object-fit:contain; padding:8px; }
.product-card__category { position:absolute; top:7px; left:7px; background:rgba(0,130,204,.85); color:#fff; font-size:10px; font-weight:700; padding:2px 8px; border-radius:20px; backdrop-filter:blur(4px); }
.product-card__soldout-badge { position:absolute; top:50%; left:50%; transform:translate(-50%,-50%); background:rgba(0,0,0,.65); color:var(--color-soldout); font-size:13px; font-weight:900; letter-spacing:.1em; padding:4px 12px; border-radius:4px; border:1px solid var(--color-soldout); }
.product-card__low-stock { position:absolute; bottom:7px; right:7px; background:rgba(255,107,53,.9); color:#fff; font-size:10px; font-weight:700; padding:2px 8px; border-radius:20px; }

.product-card__body { padding:10px; display:flex; flex-direction:column; flex:1; gap:6px; }
.product-card__name { font-size:13px; font-weight:700; line-height:1.4; }
.product-card__desc { font-size:11px; color:var(--color-text-muted); line-height:1.5; flex:1; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.product-card__footer { display:flex; align-items:center; justify-content:space-between; gap:6px; margin-top:4px; }
.product-card__price { font-size:16px; font-weight:900; color:var(--color-accent); }
.product-card__tax { font-size:10px; font-weight:500; color:var(--color-text-muted); margin-left:3px; }

/* ---- Footer ---- */
.footer { background: #0f1f38; border-top: none; padding: 32px 0; text-align: center; }
.footer__logo-link { display: inline-block; margin-bottom: 16px; }
.footer__logo-img { height: 100px; width: auto; margin: 0 auto; filter: brightness(0) invert(1); }
.footer__sns { display: flex; justify-content: center; gap: 12px; margin-bottom: 16px; }
.footer__sns-btn {
  display: inline-flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.footer__sns-btn img { width: 28px; height: 28px; object-fit: contain; display: block; filter: brightness(0) invert(1); }
.footer__links { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-bottom: 14px; }
.footer__links a { font-size: 12px; color: rgba(255,255,255,0.6); transition: color var(--trans); }
.footer__links a:hover { color: #fff; }
.footer__copy { font-size: 11px; color: rgba(255,255,255,0.35); }

/* ---- Toast ---- */
.toast {
  position:fixed; bottom:24px; left:50%;
  transform:translateX(-50%) translateY(80px);
  background:#fff; border:1px solid var(--color-primary); color:var(--color-text);
  font-size:13px; font-weight:600; padding:12px 24px; border-radius:8px;
  box-shadow:0 4px 20px rgba(0,0,0,.12); z-index:9999; white-space:nowrap;
  transition:transform .3s ease, opacity .3s ease; opacity:0; pointer-events:none;
}
.toast--show { transform:translateX(-50%) translateY(0); opacity:1; }
.toast--error { border-color:var(--color-error); }

/* ===========================
   Cart Page
   =========================== */
.cart-section { padding: 24px 0 48px; }
.cart-section__title { font-size: 20px; font-weight: 900; margin-bottom: 20px; }
.cart-empty { text-align:center; padding:60px 0; }
.cart-empty__icon { font-size:56px; margin-bottom:12px; opacity:.5; }
.cart-empty__text { color:var(--color-text-muted); margin-bottom:20px; font-size:15px; }

.cart-list { display: flex; flex-direction: column; gap: 12px; }
.cart-item {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 12px;
  display: flex; gap: 12px; align-items: flex-start;
}
.cart-item__img { width:72px; height:72px; object-fit:contain; background:var(--color-surface2); border-radius:var(--radius-sm); flex-shrink:0; padding:4px; }
.cart-item__info { flex:1; min-width:0; }
.cart-item__category { font-size:10px; color:var(--color-primary); font-weight:700; margin-bottom:2px; }
.cart-item__name { font-size:13px; font-weight:700; line-height:1.4; margin-bottom:8px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.cart-item__controls { display:flex; align-items:center; justify-content:space-between; }
.qty-control { display:flex; align-items:center; gap:8px; background:var(--color-surface2); border:1px solid var(--color-border); border-radius:var(--radius-sm); padding:4px 8px; }
.qty-btn { width:24px; height:24px; display:flex; align-items:center; justify-content:center; font-size:18px; font-weight:700; color:var(--color-text-muted); border-radius:4px; transition:color var(--trans),background var(--trans); }
.qty-btn:hover { color:var(--color-text); background:var(--color-border); }
.qty-value { min-width:24px; text-align:center; font-size:14px; font-weight:700; }
.cart-item__price { font-size:15px; font-weight:900; color:var(--color-accent); }
.cart-item__remove { flex-shrink:0; color:var(--color-text-muted); font-size:18px; padding:2px 6px; border-radius:4px; transition:color var(--trans),background var(--trans); }
.cart-item__remove:hover { color:var(--color-error); background:rgba(217,58,82,.08); }

.order-summary { margin-top:20px; background:var(--color-surface); border:1px solid var(--color-border); border-radius:var(--radius); padding:20px; }
.order-summary__title { font-size:16px; font-weight:900; margin-bottom:16px; padding-bottom:12px; border-bottom:1px solid var(--color-border); }
.summary-row { display:flex; justify-content:space-between; align-items:center; margin-bottom:10px; font-size:14px; }
.summary-row--total { margin-top:12px; padding-top:12px; border-top:1px solid var(--color-border); font-size:18px; font-weight:900; }
.summary-row--total .summary-val { color:var(--color-accent); }
.summary-label { color:var(--color-text-muted); }
.summary-note { font-size:11px; color:var(--color-text-muted); margin:8px 0 12px; padding:8px 10px; background:var(--color-surface2); border-radius:var(--radius-sm); }

/* 決済選択 */
.payment-section { margin-top:20px; }
.payment-section__title { font-size:12px; font-weight:700; color:var(--color-text-muted); letter-spacing:.06em; text-transform:uppercase; margin-bottom:10px; }
.pay-options { display:flex; flex-direction:column; gap:8px; }
.pay-option { display:flex; align-items:center; gap:12px; padding:14px; background:var(--color-bg); border:2px solid var(--color-border); border-radius:var(--radius); cursor:pointer; transition:border-color var(--trans),background var(--trans); position:relative; }
.pay-option:hover { border-color:var(--color-primary); }
.pay-option--selected { border-color:var(--color-primary); background:#f0f7ff; }
.pay-option__radio { position:absolute; opacity:0; pointer-events:none; }
.pay-option__icon { font-size:22px; width:30px; text-align:center; flex-shrink:0; }
.pay-option__text { display:flex; flex-direction:column; gap:2px; flex:1; }
.pay-option__label { font-size:15px; font-weight:700; }
.pay-option__sublabel { font-size:11px; color:var(--color-text-muted); }
.pay-option__check { width:22px; height:22px; border-radius:50%; background:var(--color-primary); color:#fff; font-size:12px; font-weight:700; display:none; align-items:center; justify-content:center; flex-shrink:0; }
.pay-option--selected .pay-option__check { display:flex; }
.payment-unavailable { font-size:13px; color:var(--color-text-muted); padding:12px; background:var(--color-surface); border-radius:var(--radius-sm); border:1px solid var(--color-border); }

/* 顧客フォーム */
.customer-form-section { margin-top:24px; }
.form-group { display:flex; flex-direction:column; gap:5px; margin-bottom:14px; }
.form-label { font-size:12px; font-weight:700; color:var(--color-text-muted); letter-spacing:.04em; }
.form-required { color:var(--color-error); }
.form-input {
  padding:10px 14px; border:1px solid var(--color-border); border-radius:var(--radius-sm);
  font-size:15px; font-family:inherit; outline:none; width:100%;
  background:var(--color-bg); color:var(--color-text);
  transition:border-color var(--trans);
}
.form-input:focus { border-color:var(--color-primary); }
.form-textarea { min-height:72px; resize:vertical; }

.order-notice {
  margin-top:16px; font-size:12px; color:var(--color-text-muted);
  background:var(--color-surface); border-left:3px solid var(--color-primary);
  padding:10px 12px; border-radius:0 var(--radius-sm) var(--radius-sm) 0; line-height:1.7;
}
.order-btn-wrap { margin-top:16px; }
.cart-actions { display:flex; gap:10px; margin-top:12px; }
.cart-clear-btn { flex-shrink:0; color:var(--color-error) !important; border-color:var(--color-error) !important; }

/* ===========================
   Confirm Page
   =========================== */
.confirm-section {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 20px; margin-bottom: 14px;
}
.confirm-section__title { font-size:15px; font-weight:700; margin-bottom:14px; padding-bottom:10px; border-bottom:1px solid var(--color-border); }
.confirm-items { display:flex; flex-direction:column; gap:10px; margin-bottom:16px; }
.confirm-item { display:flex; gap:12px; align-items:center; }
.confirm-item__img { width:56px; height:56px; object-fit:contain; background:var(--color-surface2); border-radius:var(--radius-sm); flex-shrink:0; padding:4px; }
.confirm-item__info { flex:1; min-width:0; }
.confirm-item__category { font-size:10px; color:var(--color-primary); font-weight:700; }
.confirm-item__name { font-size:13px; font-weight:700; }
.confirm-item__qty { font-size:12px; color:var(--color-text-muted); }
.confirm-item__price { font-size:14px; font-weight:900; color:var(--color-accent); flex-shrink:0; }
.confirm-total-rows { border-top:1px solid var(--color-border); padding-top:10px; }

.confirm-dl { display:flex; flex-direction:column; gap:8px; }
.confirm-dl__row { display:flex; gap:12px; font-size:13px; }
.confirm-dl__row dt { width:80px; flex-shrink:0; color:var(--color-text-muted); font-weight:600; }
.confirm-dl__row dd { flex:1; }

.confirm-payment { display:flex; align-items:center; gap:12px; font-size:14px; }
.confirm-payment__icon { font-size:24px; }
.confirm-payment strong { font-weight:700; }
.confirm-payment small { color:var(--color-text-muted); font-size:12px; }

.confirm-actions { display:flex; gap:10px; margin-top:16px; }
.confirm-actions .btn--accent { flex:1; }

/* ===========================
   Thanks Page
   =========================== */
.thanks-wrap {
  max-width: 520px; margin: 80px auto 100px; text-align: center; padding: 0 24px;
}
.thanks-icon {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--color-success); color: #fff;
  font-size: 38px; font-weight: 900; line-height: 80px;
  margin: 0 auto 32px;
}
.thanks-title { font-size: 24px; font-weight: 900; margin-bottom: 20px; }
.thanks-order-no {
  display: inline-block; font-size: 15px; font-weight: 700;
  color: var(--color-primary); background: #f0f7ff;
  padding: 8px 24px; border-radius: 20px; margin-bottom: 36px;
}
.thanks-body {
  font-size: 15px; line-height: 2.2; color: var(--color-text-muted);
  margin-bottom: 40px; text-align: center;
}
.thanks-body p { margin-bottom: 20px; }
.thanks-btn { min-width: 200px; }

/* 注文エラー表示 */
.order-error {
  margin: 12px 0; padding: 12px 16px;
  background: rgba(217,58,82,.06); border: 1px solid var(--color-error);
  border-radius: var(--radius-sm); font-size: 13px; color: var(--color-error); line-height: 1.6;
}

/* ===========================
   Static Pages
   =========================== */
.page-content { padding: 32px 0 56px; }
.page-content > h1 { font-size: 22px; font-weight: 900; margin-bottom: 24px; }

.page-section {
  background: var(--color-surface); border: 1px solid var(--color-border);
  border-radius: var(--radius); padding: 20px 24px; margin-bottom: 16px;
}
.page-section h2 {
  font-size: 14px; font-weight: 700; color: var(--color-primary);
  margin-bottom: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--color-border);
  letter-spacing: 0.04em;
}
.page-section p { font-size: 14px; line-height: 1.85; margin-bottom: 10px; }
.page-section p:last-child { margin-bottom: 0; }
.page-section ul { padding-left: 18px; font-size: 14px; line-height: 1.9; }
.page-section ul li { margin-bottom: 4px; }

.page-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; }
.page-table th,
.page-table td { padding: 10px 12px; border: 1px solid var(--color-border); text-align: left; vertical-align: top; }
.page-table th { background: var(--color-surface2); font-weight: 700; white-space: nowrap; }

.page-info-box {
  margin-top: 12px; font-size: 13px; line-height: 1.8; color: var(--color-text-muted);
  background: #f0f7ff; border-left: 3px solid var(--color-primary);
  padding: 10px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.order-flow-lead {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  max-width: 40em;
}

/* ---- ご注文の流れ：2列スイムレーン + 矢印 ---- */
.order-flow-board {
  margin-top: 8px;
}
.order-flow-board__headers {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: 8px;
  margin-bottom: 12px;
  text-align: center;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}
.order-flow-board__head--customer {
  padding: 10px 8px;
  background: rgba(0, 130, 204, 0.12);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  border-left: 3px solid var(--color-primary);
}
.order-flow-board__head--shop {
  padding: 10px 8px;
  background: rgba(255, 107, 53, 0.1);
  color: var(--color-accent-dark);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  border-right: 3px solid var(--color-accent);
}
.order-flow-board__head--center { visibility: hidden; padding: 0; }

.order-flow-board__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-flow-step {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: 8px;
  align-items: stretch;
  margin-bottom: 4px;
}
.order-flow-step--customer .order-flow-card { grid-column: 1; }
.order-flow-step--shop .order-flow-card { grid-column: 3; }
.order-flow-step .order-flow-card { justify-self: stretch; }

.order-flow-card {
  position: relative;
  padding: 12px 14px 12px 38px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 13px;
  line-height: 1.55;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}
.order-flow-card::before {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  font-size: 11px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}
.order-flow-step--customer .order-flow-card {
  border-left: 3px solid var(--color-primary);
}
.order-flow-step--customer .order-flow-card::before {
  content: attr(data-step);
  background: var(--color-primary);
  color: #fff;
}
/* ショップ：右列＝番号・説明・オレンジを右寄せ（アクセントは右端） */
.order-flow-step--shop .order-flow-card {
  padding: 12px 38px 12px 14px;
  text-align: right;
  border-right: 3px solid var(--color-accent);
}
.order-flow-step--shop .order-flow-card::before {
  content: attr(data-step);
  left: auto;
  right: 12px;
  background: var(--color-accent);
  color: #fff;
}

/* ご注文の流れ：商品一覧と同じカートSVGのみ（装飾・操作なし） */
.order-flow-card__cart-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  color: var(--color-primary);
  line-height: 0;
}
.order-flow-card__cart-icon svg {
  display: block;
}
.order-flow-card__step-hint {
  margin: 0;
  font-size: 12px;
  line-height: 1.55;
  color: var(--color-text-muted);
}

.order-flow-conn {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 44px minmax(0, 1fr);
  gap: 8px;
  align-items: center;
  min-height: 28px;
  margin: 2px 0 6px;
}
.order-flow-conn__mid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--color-text-muted);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.order-flow-conn--down .order-flow-conn__mid {
  grid-column: 2;
  justify-self: center;
  color: var(--color-text-muted);
}
.order-flow-conn--to-shop {
  margin: 10px 0 14px;
  min-height: auto;
}
.order-flow-conn--to-shop .order-flow-conn__mid {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  padding: 10px 14px;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-primary);
  background: linear-gradient(90deg, rgba(0, 130, 204, 0.08), rgba(255, 107, 53, 0.08));
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
}
.order-flow-conn--to-shop .order-flow-bridge-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}
.order-flow-conn--to-customer {
  margin: 10px 0 14px;
  min-height: auto;
}
.order-flow-conn--to-customer .order-flow-conn__mid {
  grid-column: 1 / -1;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 16px;
  padding: 10px 14px;
  font-size: 20px;
  font-weight: 800;
  color: var(--color-accent-dark);
  background: linear-gradient(90deg, rgba(255, 107, 53, 0.08), rgba(0, 130, 204, 0.08));
  border: 1px dashed var(--color-border);
  border-radius: var(--radius-sm);
}
.order-flow-conn--to-customer .order-flow-bridge-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--color-text-muted);
}

@media (max-width: 540px) {
  .order-flow-board__headers {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .order-flow-board__head--center { display: none; }
  .order-flow-step,
  .order-flow-conn {
    grid-template-columns: 1fr;
  }
  .order-flow-step--customer .order-flow-card,
  .order-flow-step--shop .order-flow-card {
    grid-column: 1;
  }
  .order-flow-conn--down .order-flow-conn__mid {
    grid-column: 1;
    padding: 4px 0 8px;
    font-size: 16px;
  }
  .order-flow-conn--to-shop .order-flow-conn__mid,
  .order-flow-conn--to-customer .order-flow-conn__mid {
    grid-column: 1;
  }
}

/* ===========================
   Responsive
   =========================== */
@media (min-width:540px) {
  .product-grid { grid-template-columns: repeat(3,1fr); gap:14px; }
}
@media (min-width:768px) {
  .hero { padding:48px 0 40px; }
  .product-grid { grid-template-columns: repeat(3,1fr); gap:16px; }
  .product-card__name { font-size:14px; }
  .product-card__desc { font-size:12px; }
}
@media (min-width:900px) {
  .product-grid { grid-template-columns: repeat(4,1fr); }
}
