@charset "utf-8";
/* /cart_intl/ 専用スタイル。既存の common.min.css には依存しない。 */

:root {
  --ink: #262626;
  --muted: #6b6b6b;
  --line: #e2e2e2;
  --bg: #ffffff;
  --soft: #f7f6f3;
  --accent: #e8611a;
  --ok: #1a7f4b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Nunito Sans", "Helvetica Neue", Arial, "Hiragino Sans", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; }

.intl-wrap {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---------- header / footer ---------- */
.intl-header {
  border-bottom: 1px solid var(--line);
  padding: 18px 0;
}
.intl-header .intl-wrap {
  display: flex;
  align-items: baseline;
  gap: 14px;
  flex-wrap: wrap;
}
.intl-logo {
  font-weight: 800;
  letter-spacing: .08em;
  text-decoration: none;
  font-size: 17px;
}
.intl-tag {
  margin: 0;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
}
.intl-main { padding: 28px 20px 80px; }
.intl-footer {
  border-top: 1px solid var(--line);
  padding: 26px 0 60px;
  font-size: 13px;
  color: var(--muted);
}
.intl-footer p { margin: 4px 0; }
.intl-copy { margin-top: 12px !important; }

/* ---------- steps ---------- */
.intl-steps {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  font-size: 12px;
  letter-spacing: .04em;
  flex-wrap: wrap;
}
.intl-steps li {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--muted);
  padding: 4px 12px 4px 4px;
  border-radius: 999px;
}
.intl-steps li span {
  display: inline-grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--line);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}
.intl-steps .is-current { color: var(--ink); font-weight: 700; background: var(--soft); }
.intl-steps .is-current span { background: var(--accent); }
.intl-steps .is-done span { background: var(--ok); }

/* ---------- headings ---------- */
h1.intl-title {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: .04em;
  margin: 0 0 6px;
  text-transform: uppercase;
}
.intl-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 14px;
}
h2.intl-sub {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin: 32px 0 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

/* ---------- items ---------- */
.intl-items { width: 100%; border-collapse: collapse; }
.intl-items td {
  border-bottom: 1px solid var(--line);
  padding: 14px 6px;
  vertical-align: top;
}
.intl-items .thumb { width: 64px; }
.intl-items .thumb img {
  width: 60px; height: 60px; object-fit: cover; display: block; background: var(--soft);
}
.intl-items .meta h3 { margin: 0 0 2px; font-size: 14px; font-weight: 700; }
.intl-items .meta p { margin: 0; font-size: 13px; color: var(--muted); }
.intl-items .fmt {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 1px 6px;
  margin-top: 6px;
}
.intl-items .price { text-align: right; white-space: nowrap; font-size: 14px; }
.intl-items .act { width: 34px; text-align: right; }
.intl-items .act a { color: var(--muted); text-decoration: none; font-size: 18px; }
.intl-items .act a:hover { color: var(--accent); }
.tag-used { color: var(--accent); font-size: 12px; }
.tag-pre {
  color: var(--accent); font-size: 11px; border: 1px solid var(--accent);
  border-radius: 3px; padding: 0 5px; margin-left: 4px;
}

/* ---------- totals ---------- */
.intl-totals { margin-top: 20px; margin-left: auto; max-width: 380px; font-size: 14px; }
.intl-totals dl { display: grid; grid-template-columns: 1fr auto; gap: 6px 20px; margin: 0; }
.intl-totals dt { color: var(--muted); }
.intl-totals dd { margin: 0; text-align: right; white-space: nowrap; }
/* 内数（合計に加算しない）行。2026-08-28: 海外向け表示では税込/税抜の明示が無いため、
   このhandling charge内訳の説明自体を非表示にする（金額は既にItemsに含まれておりTotalは不変）。
   #intl-handling はJS(shipping.js)が参照して金額を書き換え続けるのでDOM要素は残す。 */
.intl-totals dt.incl,
.intl-totals dd.incl { display: none; }
.intl-totals .grand {
  border-top: 1px solid var(--ink);
  margin-top: 12px;
  padding-top: 12px;
  font-size: 18px;
  font-weight: 800;
}
.intl-totals .grand dt { color: var(--ink); }
.intl-est { font-size: 12px; color: var(--muted); text-align: right; margin-top: 6px; }

/* ---------- notices ---------- */
.intl-notice {
  background: var(--soft);
  border-left: 3px solid var(--accent);
  padding: 12px 16px;
  margin: 20px 0;
  font-size: 13px;
}
.intl-notice p { margin: 0; }
.intl-notice-alt { border-left-color: var(--ok); }
.intl-error {
  background: #fdeceb;
  border-left: 3px solid #c0392b;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 13px;
}
.intl-error p { margin: 0; }
.intl-error ul { margin: 6px 0 0; padding-left: 18px; }

/* ---------- forms ---------- */
.intl-form { margin-top: 8px; }
.intl-field { margin-bottom: 16px; }
.intl-field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  margin-bottom: 5px;
}
.intl-field .req { color: var(--accent); }
.intl-field input[type=text],
.intl-field input[type=tel],
.intl-field input[type=email],
.intl-field select,
.intl-field textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  font-size: 15px;
  font-family: inherit;
  background: #fff;
  color: var(--ink);
}
.intl-field input:focus, .intl-field select:focus, .intl-field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}
.intl-field .hint { font-size: 12px; color: var(--muted); margin: 4px 0 0; }
.intl-row { display: flex; gap: 14px; flex-wrap: wrap; }
.intl-row > .intl-field { flex: 1 1 200px; }

/* ---------- shipping選択 ---------- */
.intl-ship { list-style: none; margin: 0; padding: 0; }
.intl-ship li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.intl-ship li.is-selected { border-color: var(--accent); background: var(--soft); }
.intl-ship li.is-disabled { opacity: .5; }
/* JSが有効なときは行全体を押せる */
.intl-ship[data-live] li:not(.is-disabled) { cursor: pointer; }
.intl-ship[data-live] li:not(.is-disabled):hover { border-color: var(--accent); }
.intl-ship .name { cursor: pointer; }
.intl-ship li.is-disabled .name { cursor: default; }
/* 金額の書き換えが目に留まるように */
#intl-ship-amount, #intl-total { transition: color .18s ease; }
.intl-ship input[type=radio] { margin-top: 5px; flex: none; }
.intl-ship .name { font-weight: 700; font-size: 14px; }
.intl-ship .note { font-size: 12px; color: var(--muted); }
.intl-ship .amount { margin-left: auto; white-space: nowrap; font-weight: 700; }

/* ---------- address cards ---------- */
.intl-addr { list-style: none; margin: 0 0 20px; padding: 0; }
.intl-addr li {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 10px;
  font-size: 14px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.intl-addr li.is-selected { border-color: var(--accent); background: var(--soft); }
.intl-addr input[type=radio] { margin-top: 5px; flex: none; }
.intl-addr .body { flex: 1; }
.intl-addr .body p { margin: 0; }
.intl-addr .name { font-weight: 700; }
.intl-addr .del { font-size: 12px; color: var(--muted); text-decoration: underline; }

/* ---------- buttons ---------- */
.intl-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 28px;
}
.btn {
  display: inline-block;
  border: none;
  border-radius: 6px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 13px 28px;
  cursor: pointer;
  text-decoration: none;
  text-align: center;
}
.btn:hover { opacity: .88; }
.btn[disabled] { background: #bbb; cursor: not-allowed; }
.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
}
.btn-link {
  background: none; border: none; color: var(--muted);
  text-decoration: underline; cursor: pointer; font: inherit; padding: 0;
}
.btn-wide { width: 100%; }

/* ---------- misc ---------- */
.intl-empty { padding: 60px 0; text-align: center; color: var(--muted); }
.intl-weightbox {
  font-size: 12px;
  color: var(--muted);
  background: var(--soft);
  border-radius: 6px;
  padding: 10px 14px;
  margin-top: 10px;
}
.intl-account {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.intl-done { text-align: center; padding: 40px 0; }
.intl-done .num {
  display: inline-block;
  font-size: 13px;
  letter-spacing: .1em;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 4px 14px;
  margin-top: 10px;
}

#payment-element { margin: 10px 0 18px; }
#payment-message { font-size: 13px; margin-top: 10px; }
.spinner {
  width: 16px; height: 16px; border-radius: 50%;
  border: 2px solid rgba(255,255,255,.4); border-top-color: #fff;
  animation: spin .8s linear infinite; display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }
/* 他クラスのdisplay指定より必ず優先させるため最後に置く */
.hidden { display: none; }

@media (max-width: 600px) {
  .intl-main { padding: 20px 16px 60px; }
  .intl-totals { max-width: none; }
  h1.intl-title { font-size: 20px; }
  .intl-ship .amount { margin-left: 0; width: 100%; }
  .intl-ship li { flex-wrap: wrap; }
}

/* 国内カートへの切替導線（日本在住の外国人向け）。
   言語＝発送先ではないので、英語UIのまま国内発送へ抜けられるようにしておく。 */
.intl-switch {
  margin: -6px 0 18px;
  font-size: 13px;
  color: #777;
}
.intl-switch a {
  color: #c1440e;
  text-decoration: underline;
}

/* 決済方法の選択（Credit card / PayPal）。
   どちらも注文時点では請求しないので、その旨を説明文で必ず添える */
.intl-pay{list-style:none;margin:14px 0 4px;padding:0;display:flex;flex-direction:column;gap:10px}
.intl-pay li{border:1px solid #d9d2c8;border-radius:4px;background:#fff}
.intl-pay label{display:grid;grid-template-columns:auto 1fr;gap:4px 10px;
  padding:14px 16px;cursor:pointer;align-items:start}
.intl-pay input[type=radio]{margin-top:3px;grid-row:1/3}
.intl-pay .pay-name{font-weight:700}
.intl-pay .pay-note{grid-column:2;font-size:13px;line-height:1.55;color:#6b645c}
.intl-pay li:has(input:checked){border-color:#c2551f;box-shadow:0 0 0 1px #c2551f}
.intl-pay label:focus-within{outline:2px solid #c2551f;outline-offset:2px}
