:root {
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --page: #fafafa;
  --card: #ffffff;
  --ink: #111827;
  --muted: #6b7280;
  --quiet: #6b7280;
  --line: #e5e7eb;
  --line-strong: #d1d5db;
  --primary: #1e3a5f;
  --primary-hover: #244b78;
  --warning: #b42318;
  --in-stock: #166534;
  --notice: #fffbeb;
  --panel: #ffffff;
  --artisan-red: #c8102e;
  --artisan-dark: #171a20;
}

* {
  box-sizing: border-box;
}

html {
  color: var(--ink);
  background: var(--page);
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--page);
}

body.mobile-open {
  overflow: hidden;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.cart-page {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 460px;
  gap: 48px;
  width: min(1144px, calc(100% - 56px));
  margin: 0 auto;
  padding: 100px 0 72px;
}

.cart-page::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 50%;
  width: 100vw;
  height: 250px;
  background:
    linear-gradient(180deg, rgba(250, 250, 250, 0) 0%, rgba(250, 250, 250, 0) 62%, var(--page) 100%),
    url("v0/hero-gamer-white.webp") center top / cover no-repeat;
  content: "";
  pointer-events: none;
  transform: translateX(-50%);
}

.cart-title-row h1,
.cart-title-row .cart-lead {
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.48);
}

.cart-main {
  min-width: 0;
}

.cart-title-row {
  margin-bottom: 36px;
}

h1 {
  margin: 0 0 6px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.2;
}

.cart-title-row h1 {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.cart-title-row h1::before {
  width: 28px;
  height: 28px;
  background: currentColor;
  content: "";
  flex: 0 0 28px;
  mask: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M6 6h15l-2 8H8L6 3H3' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Ccircle cx='9' cy='20' r='1.5' fill='black'/%3E%3Ccircle cx='18' cy='20' r='1.5' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.cart-lead {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.stock-alert {
  display: inline-block;
  margin: 12px 0 0;
  border: 1px solid #fde68a;
  background: var(--notice);
  color: var(--warning);
  padding: 7px 12px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.6;
}

.cart-items {
  border-top: 1px solid var(--line);
}

.cart-item {
  border-bottom: 1px solid var(--line);
  padding: 30px 0 32px;
}

.product-cell {
  display: grid;
  grid-template-columns: 128px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
}

.product-image {
  width: 128px;
  height: 128px;
  background: var(--line);
  background-position: center;
  background-size: cover;
}

.product-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  min-height: 28px;
}

.product-copy h2 {
  margin: 1px 0 8px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
}

.product-attrs,
.sku {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.sku {
  font-size: 13px;
}

.stock-status {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.stock-status[data-type="ok"] {
  color: var(--in-stock);
}

.stock-status[data-type="low"] {
  color: var(--warning);
}

.stock-status[data-type="error"] {
  color: var(--warning);
}

.remove-button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-size: 24px;
  font-weight: 300;
  line-height: 1;
}

.remove-button:hover {
  color: var(--warning);
}

.product-row-bottom {
  display: grid;
  grid-template-columns: 140px minmax(120px, 1fr);
  gap: 24px;
  align-items: end;
}

.quantity-cell {
  display: grid;
  grid-template-columns: 40px 40px 40px;
  width: 122px;
  height: 38px;
  border: 1px solid var(--line-strong);
  background: var(--card);
}

.quantity-button,
.quantity-input {
  width: 100%;
  height: 36px;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: center;
}

.quantity-button {
  color: var(--muted);
  font-size: 18px;
  line-height: 1;
}

.quantity-button:hover {
  background: var(--notice);
  color: var(--ink);
}

.quantity-input {
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  font-size: 15px;
  font-weight: 700;
  appearance: textfield;
}

.quantity-input::-webkit-outer-spin-button,
.quantity-input::-webkit-inner-spin-button {
  margin: 0;
  appearance: none;
}

.price-block {
  justify-self: end;
  min-width: 150px;
  text-align: right;
}

.price-block > span {
  display: block;
  margin-bottom: 3px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}

.price-block strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  white-space: nowrap;
}

.price-block .tax-included-note {
  display: inline;
  margin-bottom: 0;
  color: var(--muted);
  font-size: inherit;
  font-weight: 400;
}

.checkout-intl-item-table .tax-included-note,
.summary-list .tax-included-note {
  display: inline;
  margin-left: 1px;
  color: var(--muted);
  font-size: 0.92em;
  font-weight: 400;
  white-space: nowrap;
}

.cart-empty {
  border-bottom: 1px solid var(--line);
  padding: 52px 0;
}

.cart-empty h2 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 20px;
}

.cart-empty p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 14px;
}

.cart-empty .continue-link {
  display: inline-flex;
}

.order-summary {
  align-self: start;
  margin-top: 109px;
  padding: 32px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.order-summary h2 {
  margin: 0 0 27px;
  font-size: 18px;
  font-weight: 700;
}

.summary-list {
  margin: 0;
}

.summary-line-items {
  margin-bottom: 16px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 4px 0 8px;
}

.summary-list dt,
.summary-list dd {
  font-size: 14px;
  line-height: 1.35;
}

.summary-list dt {
  color: var(--muted);
}

.summary-list dd {
  margin: 0;
  color: var(--ink);
  font-weight: 500;
  text-align: right;
}

.summary-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  margin-top: 12px;
  padding: 29px 0 27px;
}

.summary-total span {
  font-size: 16px;
  font-weight: 700;
}

.summary-total strong {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
  text-align: right;
  white-space: nowrap;
}

.currency-code {
  margin-right: 0.25em;
  color: var(--muted);
  font-size: 0.72em;
  font-weight: 600;
  letter-spacing: 0;
}

.summary-total .currency-code {
  font-size: 0.58em;
}

.yen-code {
  margin-right: 0.04em;
  font-size: 0.72em;
  font-weight: inherit;
  line-height: 1;
  vertical-align: 0.06em;
}

.summary-total .yen-code,
.checkout-intl-total .yen-code {
  font-size: 0.58em;
}

.checkout-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  border: 1px solid #16a34a;
  background: #16a34a;
  color: #ffffff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.checkout-button:hover {
  background: #15803d;
  border-color: #15803d;
}

.trust-list {
  display: grid;
  gap: 7px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  list-style: none;
}

.trust-list li::before {
  content: "・";
  color: var(--in-stock);
  font-weight: 700;
}

.continue-link {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  min-height: 44px;
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  text-underline-offset: 3px;
}

.continue-link:hover {
  border-color: var(--muted);
  color: var(--ink);
}

@media (max-width: 980px) {
  .cart-page {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .order-summary {
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .cart-page {
    width: min(100% - 32px, 560px);
    padding-top: 84px;
  }

  .cart-page::before {
    height: 220px;
    background:
      linear-gradient(180deg, rgba(250, 250, 250, 0) 0%, rgba(250, 250, 250, 0) 54%, var(--page) 100%),
      url("v0/hero-gamer-white-mobile.webp") center top / cover no-repeat;
  }

  .cart-title-row h1,
  .cart-title-row .cart-lead {
    color: var(--ink);
    text-shadow: 0 1px 18px rgba(255, 255, 255, 0.88);
  }

  .cart-title-row {
    margin-bottom: 32px;
  }

  .product-cell {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 16px;
  }

  .product-image {
    width: 96px;
    height: 96px;
  }

  .product-heading {
    gap: 14px;
  }

  .product-copy h2 {
    font-size: 16px;
  }

  .product-row-bottom {
    grid-template-columns: 122px minmax(0, 1fr);
    gap: 12px;
  }

  .price-block {
    min-width: 0;
  }

  .order-summary {
    padding: 26px 24px;
  }
}

/* ===== Public information pages ===== */
.public-page {
  width: min(960px, calc(100% - 56px));
  margin: 0 auto;
  padding: 56px 0 80px;
}

.public-shell {
  min-width: 0;
}

.public-title-row {
  border-bottom: 1px solid var(--line);
  margin-bottom: 0;
  padding-bottom: 32px;
}

.public-title-row h1,
.public-title-row .cart-lead {
  color: var(--ink);
  text-shadow: none;
}

.public-title-row h1::before {
  display: none;
}

.public-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
  margin: 0 0 36px;
}

.public-toc a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  color: #4f76a3;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.public-toc a span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.public-toc a::before {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 1px solid #b8c9dc;
  border-radius: 50%;
  color: #4f76a3;
  content: ">";
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
}

.public-toc a:hover {
  color: #2f5f92;
}

.public-toc a:hover::before {
  border-color: #8fb0d0;
  color: #2f5f92;
}

.public-section {
  border-bottom: 1px solid var(--line);
  padding: 34px 0 36px;
}

.public-section h2 {
  margin: 0 0 16px;
  font-size: 21px;
  line-height: 1.35;
}

.public-section h3 {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.45;
}

.public-section p {
  margin: 0 0 14px;
  color: #374151;
  font-size: 15px;
  line-height: 1.9;
}

.public-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 1.2em;
  color: #374151;
  font-size: 15px;
  line-height: 1.8;
}

.public-faq-list,
.public-update-list {
  display: grid;
  gap: 18px;
}

.public-faq-item,
.public-update-item,
.public-card {
  border: 1px solid var(--line);
  background: var(--card);
  padding: 22px 24px;
}

.public-faq-item {
  border: 0;
  background: transparent;
  padding: 0;
}

.public-faq-item p:last-child,
.public-update-item p:last-child,
.public-card p:last-child,
.public-section p:last-child {
  margin-bottom: 0;
}

.public-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.public-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  background: var(--card);
}

.public-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 620px;
}

.public-table th,
.public-table td {
  border-bottom: 1px solid var(--line);
  padding: 13px 15px;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
  vertical-align: top;
}

.public-table th {
  background: #f3f4f6;
  font-weight: 700;
}

.public-table tr:last-child td {
  border-bottom: 0;
}

.public-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 24px;
}

.public-link-row .continue-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  width: auto;
  min-width: 0;
  min-height: auto;
  border: 0;
  background: transparent;
  color: #4f76a3;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  margin-top: 0;
  padding: 0;
}

.public-link-row .continue-link span {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.public-link-row .continue-link::before {
  display: inline-grid;
  place-items: center;
  width: 14px;
  height: 14px;
  border: 1px solid #b8c9dc;
  border-radius: 50%;
  color: #4f76a3;
  content: ">";
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.public-link-row .continue-link:hover {
  border: 0;
  background: transparent;
  color: #2f5f92;
}

.public-link-row .continue-link:hover::before {
  border-color: #8fb0d0;
  color: #2f5f92;
}

.public-update-item span {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 780px) {
  .public-page {
    width: min(100% - 32px, 620px);
    padding-top: 40px;
  }

  .public-card-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Checkout page from v0, scoped with checkout- prefix ===== */
.checkout-page {
  min-height: 100vh;
  background: var(--page);
  color: var(--ink);
}

.checkout-shell,
.checkout-intl-shell {
  margin: 0 auto;
}

.checkout-shell {
  width: min(1280px, calc(100% - 32px));
  padding: 100px 0 72px;
}

.checkout-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin-bottom: 32px;
}

.checkout-heading h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
}

.checkout-back {
  display: inline-flex;
  align-items: center;
  flex-basis: 100%;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

.checkout-back::before {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: currentColor;
  content: "‹";
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.checkout-back:hover {
  color: var(--ink);
}

.checkout-layout,
.checkout-intl-layout {
  display: grid;
  align-items: start;
}

.checkout-layout {
  grid-template-columns: minmax(0, 7fr) minmax(360px, 5fr);
  gap: 48px;
}

.checkout-flow {
  display: grid;
  gap: 24px;
}

.checkout-summary,
.checkout-intl-summary {
  position: sticky;
  top: 32px;
}

.checkout-intl-promo {
  margin: 0 0 8px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #111827;
}

.checkout-intl-promo img {
  display: block;
  width: 100%;
  height: auto;
}

.checkout-card,
.checkout-intl-card {
  background: var(--card);
  border: 1px solid var(--line);
}

.checkout-card {
  border-radius: 8px;
}

.checkout-card-header,
.checkout-intl-card-header {
  padding: 24px 24px 0;
}

.checkout-card-header h2,
.checkout-intl-card-header h1,
.checkout-intl-card-header h2 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.checkout-card-body,
.checkout-intl-card-body {
  padding: 24px;
}

.checkout-choice-card .checkout-card-header,
.checkout-choice-card .checkout-intl-card-header {
  padding-bottom: 10px;
}

.checkout-choice-card .checkout-intl-card-header {
  display: flex;
  align-items: center;
  gap: 10px 18px;
}

.checkout-choice-card .checkout-card-body,
.checkout-choice-card .checkout-intl-card-body {
  padding-top: 10px;
}

.checkout-methods,
.checkout-intl-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
}

.checkout-method,
.checkout-intl-method {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--muted);
  padding: 0;
  font-size: 14px;
  font-weight: 600;
  transition: color 160ms ease;
}

.checkout-method:hover,
.checkout-intl-method:hover {
  color: var(--ink);
}

.checkout-method.is-active,
.checkout-intl-method.is-active {
  background: transparent;
  color: var(--ink);
}

.checkout-method-radio {
  position: relative;
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  border: 2px solid #9ca3af;
  border-radius: 50%;
  background: #ffffff;
}

.checkout-method.is-active .checkout-method-radio,
.checkout-intl-method.is-active .checkout-method-radio {
  border-color: #16a34a;
}

.checkout-method.is-active .checkout-method-radio::after,
.checkout-intl-method.is-active .checkout-method-radio::after {
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: #16a34a;
  content: "";
}

.checkout-konbini-icons {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 8px;
}

.checkout-konbini-icon {
  display: block;
  width: 60px;
  height: 22px;
  object-fit: contain;
}

.checkout-konbini-store-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin: 12px 0 10px;
}

.checkout-konbini-store {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
}

.checkout-konbini-logo {
  display: block;
  width: 104px;
  height: 30px;
  object-fit: contain;
}

.checkout-shipper-field {
  margin-top: 4px;
}

.checkout-shipper-label {
  display: block;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.checkout-shipper-options {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  gap: 12px 18px;
}

.checkout-shipper-note {
  margin: 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.15;
}

.checkout-shipper-options + .checkout-shipper-note {
  margin-top: 4px;
}

.checkout-shipper-note + .checkout-shipper-note {
  margin-top: 0;
}

.checkout-shipper-option {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  cursor: pointer;
}

.checkout-shipper-option input {
  position: absolute;
  left: 0;
  top: 50%;
  width: 16px;
  height: 16px;
  margin: 0;
  opacity: 0;
  transform: translateY(-50%);
  cursor: pointer;
}

.checkout-shipper-option span {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding-left: 24px;
  color: #374151;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  transition: color 160ms ease;
}

.checkout-shipper-option span::before {
  position: absolute;
  left: 0;
  top: 50%;
  width: 15px;
  height: 15px;
  border: 1px solid #9ca3af;
  border-radius: 50%;
  background: linear-gradient(#ffffff, #f3f4f6);
  box-shadow: inset 0 1px 1px rgba(15, 23, 42, 0.08);
  content: "";
  transform: translateY(-50%);
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.checkout-shipper-option span::after {
  position: absolute;
  left: 4px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #0a84ff;
  content: "";
  opacity: 0;
  transform: translateY(-50%) scale(0.7);
  transition: opacity 160ms ease, transform 160ms ease;
}

.checkout-shipper-option input:checked + span {
  color: #111827;
}

.checkout-shipper-option input:checked + span::before {
  border-color: #0a84ff;
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.12), inset 0 1px 1px rgba(15, 23, 42, 0.08);
}

.checkout-shipper-option input:checked + span::after {
  opacity: 1;
  transform: translateY(-50%) scale(1);
}

.checkout-shipper-option input:focus-visible + span {
  color: #111827;
}

.checkout-shipper-option input:focus-visible + span::before {
  box-shadow: 0 0 0 3px rgba(10, 132, 255, 0.2), inset 0 1px 1px rgba(15, 23, 42, 0.08);
}

.checkout-shipper-option.is-disabled {
  cursor: not-allowed;
}

.checkout-shipper-option.is-disabled span {
  color: #9ca3af;
}

.checkout-shipper-option.is-disabled span::before {
  border-color: #d1d5db;
  background: #f3f4f6;
  box-shadow: none;
}

.checkout-shipping-quotes {
  width: 100%;
  margin-top: 14px;
  overflow-x: auto;
}

.checkout-shipping-quotes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  line-height: 1.45;
}

.checkout-shipping-quotes-table th,
.checkout-shipping-quotes-table td {
  border-bottom: 1px solid #e5e7eb;
  padding: 8px 10px;
  text-align: left;
  white-space: nowrap;
}

.checkout-shipping-quotes-table th {
  color: #6b7280;
  font-weight: 700;
}

.checkout-shipping-quotes-table td:nth-child(2),
.checkout-shipping-quotes-table th:nth-child(2) {
  text-align: right;
}

.checkout-shipping-quotes-table tbody tr {
  cursor: pointer;
}

.checkout-shipping-quotes-table tbody tr:hover {
  background: #f8fafc;
}

.checkout-shipping-quotes-table tbody tr.is-selected {
  background: #eef6ff;
}

.checkout-shipping-quotes-table tbody tr.is-unavailable {
  color: #9ca3af;
  cursor: not-allowed;
}

.checkout-shipping-quotes-loading {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  color: #4b5563;
  font-size: 13px;
  font-weight: 700;
}

.checkout-shipping-quotes-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid #bfdbfe;
  border-top-color: #2563eb;
  border-radius: 50%;
  animation: checkout-shipping-quotes-spin 800ms linear infinite;
}

@keyframes checkout-shipping-quotes-spin {
  to {
    transform: rotate(360deg);
  }
}

.checkout-paypal,
.checkout-intl-paypal {
  color: #003087;
  font-weight: 700;
}

.checkout-paypal span,
.checkout-intl-paypal span {
  color: #009cde;
}

.checkout-paypal-large {
  margin: 0 0 16px;
  font-size: 28px;
}

.checkout-payment-panel,
.checkout-intl-payment-panel {
  margin-top: 24px;
}

.checkout-field {
  display: grid;
  gap: 8px;
  margin-bottom: 16px;
}

.checkout-field:last-child {
  margin-bottom: 0;
}

.checkout-field-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 16px;
  align-items: start;
}

.checkout-field-grid .checkout-field {
  margin-bottom: 0;
}

.checkout-field label {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.checkout-field input,
.checkout-field select {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line-strong);
  border-radius: 6px;
  background: var(--card);
  color: var(--ink);
  padding: 9px 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.checkout-field input:focus,
.checkout-field select:focus,
.checkout-intl-field input:focus,
.checkout-intl-field select:focus {
  border-color: #16a34a;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.14);
}

.checkout-field input[aria-invalid="true"],
.checkout-field select[aria-invalid="true"],
.checkout-intl-field input[aria-invalid="true"],
.checkout-intl-field select[aria-invalid="true"] {
  border-color: #b91c1c;
  box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.12);
}

.checkout-field-status {
  margin: -2px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.checkout-field-status[data-type="ok"] {
  color: #15803d;
}

.checkout-field-status[data-type="error"] {
  color: #b91c1c;
}

.checkout-info-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f3f4f6;
  padding: 24px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.22;
}

.checkout-info-center {
  text-align: center;
}

.checkout-payment-panel[data-checkout-panel="paypal"] .checkout-info-box,
.checkout-intl-payment-panel[data-checkout-intl-panel="paypal"] .checkout-intl-info-box {
  display: none;
}

.checkout-info-box h3 {
  margin: 0 0 8px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
}

.checkout-info-box p {
  margin: 0;
  line-height: 1.22;
}

.checkout-info-box p + p {
  margin-top: 3px;
}

.checkout-info-box p:last-child {
  margin-bottom: 0;
}

.checkout-security-note {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  margin: 14px 0 0;
  color: #526071;
  font-size: 12px;
  line-height: 1.25;
}

.checkout-security-note p {
  display: flex;
  align-items: flex-start;
  gap: 7px;
  width: 100%;
  margin: 0;
}

.checkout-security-note svg,
.checkout-assurance-list svg {
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  color: #0f766e;
  stroke-width: 1.9;
}

.checkout-security-note svg {
  width: 14px;
  height: 14px;
  margin-top: 1px;
}

.checkout-provider-frame {
  display: none;
  min-height: 0;
  margin-top: 0;
  border: 0;
  background: transparent;
}

.checkout-provider-frame.is-mounted {
  display: block;
  width: 100%;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.checkout-paypal-frame {
  margin: 14px 0 12px;
}

.checkout-paypal-card {
  margin-bottom: 12px;
}

.checkout-paypal-card-form {
  display: grid;
  gap: 14px;
}

.checkout-paypal-card-submit {
  width: 100%;
  min-height: 52px;
  border-color: #009cde;
  background: #009cde;
  color: #ffffff;
  font-weight: 800;
}

.checkout-paypal-card-submit:hover {
  border-color: #003087;
  background: #003087;
  color: #ffffff;
}

.checkout-paypal-buttons {
  display: grid;
  gap: 10px;
}

.checkout-paypal-wallet-heading {
  margin: 27px 0 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.checkout-paypal-card-unavailable {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.checkout-konbini-voucher,
.checkout-payment-instructions {
  color: var(--ink);
  font-size: 14px;
  line-height: 1.6;
}

.checkout-konbini-voucher strong,
.checkout-payment-instructions strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.checkout-konbini-voucher p,
.checkout-payment-instructions p {
  margin: 0 0 10px;
}

.checkout-konbini-order,
.checkout-payment-order {
  font-weight: 700;
}

.checkout-konbini-expiry {
  color: var(--muted);
  font-size: 13px;
}

.checkout-konbini-note,
.checkout-payment-note {
  max-width: 680px;
  color: var(--muted);
}

.checkout-konbini-actions,
.checkout-payment-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 12px;
}

.checkout-konbini-voucher-link,
.checkout-payment-instructions-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 6px;
  border: 1px solid #16a34a;
  background: #16a34a;
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.checkout-konbini-voucher-link:hover,
.checkout-payment-instructions-link:hover {
  border-color: #15803d;
  background: #15803d;
  color: #ffffff;
}

.checkout-summary-provider-frame {
  box-sizing: border-box;
  margin: 14px 0 12px;
}

.checkout-summary-provider-frame iframe {
  display: block;
  width: 100%;
}

/* 3Dセキュア認証を決済ボタン位置に固定し、モーダル表示のノイズを避ける。 */
.checkout-three-ds-frame {
  display: block;
  width: 100%;
  min-height: 400px;
  margin: 0 0 12px;
  border: 0;
  border-radius: 8px;
  background: #ffffff;
}

.checkout-paypal-card iframe {
  position: relative;
  z-index: 0;
  display: block;
  width: 100%;
  height: 44px !important;
  background: #ffffff;
  transform: translateY(-6px);
}

.checkout-paypal-card .checkout-card-element-mount {
  height: 46px;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
}

.checkout-paypal-card-number-mount::before {
  content: "";
  position: absolute;
  z-index: 1;
  left: 14px;
  top: 50%;
  width: 24px;
  height: 16px;
  border-radius: 2px;
  background:
    linear-gradient(#cbd5e1 0 0) 5px 10px / 6px 2px no-repeat,
    linear-gradient(#cbd5e1 0 0) 13px 10px / 6px 2px no-repeat,
    #e2e8f0;
  box-shadow: inset 0 0 0 1px #d1d5db;
  pointer-events: none;
  transform: translateY(-50%);
}

.checkout-paypal-card-number-mount {
  position: relative;
}

.checkout-card-elements {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.checkout-card-element-number {
  grid-column: 1 / -1;
}

.checkout-card-element {
  display: grid;
  gap: 7px;
  min-width: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.25;
}

.checkout-card-element-mount {
  display: block;
  min-height: 46px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

.checkout-cardholder-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 14px 0 12px;
}

.checkout-cardholder-fields .checkout-field {
  gap: 7px;
  margin-bottom: 0;
}

.checkout-cardholder-fields label {
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.checkout-cardholder-fields input {
  min-height: 46px;
  padding: 13px 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  color: #0f172a;
  font-size: 16px;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}

@media (max-width: 720px) {
  .checkout-card-elements,
  .checkout-cardholder-fields {
    grid-template-columns: 1fr;
  }
}

.checkout-page:not(:has([data-checkout-method="card"][aria-checked="true"])):not(:has([data-checkout-method="paypal"][aria-checked="true"])) .checkout-cardholder-fields {
  display: none;
}

.checkout-intl-page:not(:has([data-checkout-intl-method="card"][aria-checked="true"])):not(:has([data-checkout-intl-method="paypal"][aria-checked="true"])) .checkout-cardholder-fields {
  display: none;
}

.checkout-page:not(:has([data-checkout-method="paypal"][aria-checked="true"])) [data-payment-summary-embed="paypal"],
.checkout-intl-page:not(:has([data-checkout-intl-method="paypal"][aria-checked="true"])) [data-payment-summary-embed="paypal"] {
  display: none !important;
}

.checkout-page:not(:has([data-checkout-method="card"][aria-checked="true"])) [data-payment-summary-embed="stripe"],
.checkout-intl-page:not(:has([data-checkout-intl-method="card"][aria-checked="true"])) [data-payment-summary-embed="stripe"] {
  display: none !important;
}

.checkout-page:has([data-checkout-method="konbini"][aria-checked="true"]) [data-checkout-main-submit],
.checkout-page:has([data-checkout-method="bank_transfer"][aria-checked="true"]) [data-checkout-main-submit],
.checkout-page:has([data-checkout-method="cash_on_delivery"][aria-checked="true"]) [data-checkout-main-submit],
.checkout-page:has([data-checkout-method="wallet"][aria-checked="true"]) [data-checkout-main-submit],
.checkout-page:has([data-checkout-method="paypal"][aria-checked="true"]) [data-checkout-main-submit],
.checkout-intl-page:has([data-checkout-intl-method="paypal"][aria-checked="true"]) [data-checkout-intl-submit] {
  display: none;
}

.checkout-cardholder-fields[hidden],
.checkout-submit-button[hidden],
.checkout-intl-submit[hidden] {
  display: none !important;
}


.checkout-api-result {
  margin-top: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f8fafc;
  color: var(--muted);
  padding: 14px 16px;
  font-size: 13px;
  line-height: 1.6;
  white-space: pre-wrap;
}

.checkout-api-result[data-type="ok"] {
  border-color: rgba(22, 163, 74, 0.38);
  background: rgba(22, 163, 74, 0.06);
  color: var(--ink);
}

.checkout-api-result[data-type="loading"] {
  display: flex;
  align-items: center;
  gap: 10px;
  border-color: rgba(22, 163, 74, 0.38);
  background: rgba(22, 163, 74, 0.06);
  color: var(--ink);
}

.checkout-api-result[data-type="loading"]::before {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(22, 163, 74, 0.24);
  border-top-color: #16a34a;
  border-radius: 50%;
  animation: checkout-shipping-quotes-spin 800ms linear infinite;
  content: "";
}

.checkout-api-result[data-type="error"] {
  border-color: rgba(220, 38, 38, 0.35);
  background: rgba(220, 38, 38, 0.06);
  color: #991b1b;
}

.checkout-intl-summary > .checkout-api-result {
  margin-top: 0;
  margin-bottom: 16px;
}

.checkout-complete-line {
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}

.checkout-complete-line strong {
  white-space: nowrap;
}

.checkout-complete-icon {
  display: block;
  width: 36px;
  height: 58px;
  object-fit: contain;
  flex: 0 0 auto;
  transform: translateY(3px);
}

.checkout-return-status {
  display: none;
  min-width: 0;
}

.checkout-return-status.is-mounted {
  display: block;
}

.checkout-return-status .checkout-complete-icon {
  width: 30px;
  height: 48px;
}

.checkout-return-status .checkout-complete-line {
  justify-content: flex-start;
}

.checkout-return-status .checkout-complete-detail {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-left: 42px;
  margin-top: -8px;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.5;
}

.checkout-complete-body {
  font-weight: 600;
}

.checkout-complete-order {
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.checkout-intl-card-header .checkout-return-status {
  margin-top: 0;
}

@media (max-width: 380px) {
  .checkout-complete-line strong {
    white-space: normal;
  }
}

.checkout-note {
  color: var(--muted);
  font-size: 13px;
}

.checkout-bank-box {
  margin: 16px 0;
  border-radius: 8px;
  background: var(--card);
  padding: 16px;
}

.checkout-bank-box p {
  margin: 0 0 8px;
  color: var(--ink);
  font-weight: 600;
}

.checkout-bank-box dl {
  margin: 0;
}

.checkout-bank-box div {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.payment-result-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 128px 24px 88px;
  background: var(--page);
}

.payment-result-panel {
  width: min(100%, 680px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  padding: 42px;
}

.payment-result-kicker {
  margin: 0 0 12px;
  color: var(--in-stock);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.payment-result-page[data-payment-result-page="cancel"] .payment-result-kicker {
  color: #92400e;
}

.payment-result-page[data-payment-result-page="failed"] .payment-result-kicker {
  color: var(--warning);
}

.payment-result-panel h1 {
  margin: 0;
  color: var(--ink);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
}

.payment-result-lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.payment-result-details {
  margin: 28px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.payment-result-details div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  padding: 16px 0;
}

.payment-result-details div + div {
  border-top: 1px solid var(--line);
}

.payment-result-details dt,
.payment-result-details dd {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
}

.payment-result-details dt {
  color: var(--muted);
}

.payment-result-details dd {
  overflow-wrap: anywhere;
  color: var(--ink);
  font-weight: 700;
}

.payment-result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.payment-result-primary,
.payment-result-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 6px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.payment-result-primary {
  border: 1px solid var(--primary);
  background: var(--primary);
  color: #ffffff;
}

.payment-result-primary:hover {
  border-color: var(--primary-hover);
  background: var(--primary-hover);
}

.payment-result-secondary {
  border: 1px solid var(--line-strong);
  background: var(--card);
  color: var(--ink);
}

.payment-result-secondary:hover {
  background: #f3f4f6;
}

.checkout-bank-box dt,
.checkout-bank-box dd {
  margin: 0;
}

.checkout-summary-items {
  display: grid;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.checkout-summary-item,
.checkout-intl-item {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.checkout-summary-item p,
.checkout-intl-item p {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.checkout-summary-item span,
.checkout-intl-item span {
  color: var(--muted);
  font-size: 14px;
}

.checkout-summary-item strong,
.checkout-intl-item strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.checkout-summary-item .tax-included-note,
.checkout-price-list .tax-included-note,
.checkout-total .tax-included-note {
  margin-left: 1px;
  color: var(--muted);
  font-size: 0.92em;
  font-weight: 400;
}

.checkout-total .tax-included-note {
  font-size: 0.72em;
}

.checkout-intl-item-table {
  width: 100%;
  border-collapse: collapse;
  color: var(--ink);
  font-size: 13px;
}

.checkout-intl-item-table th,
.checkout-intl-item-table td {
  border-bottom: 1px solid var(--line);
  padding: 8px 0;
  text-align: left;
  vertical-align: top;
}

.checkout-intl-item-table th {
  color: var(--muted);
  font-weight: 600;
}

.checkout-intl-item-table th:not(:first-child),
.checkout-intl-item-table td:not(:first-child) {
  padding-left: 10px;
  text-align: right;
  white-space: nowrap;
}

.checkout-intl-item-table tbody tr:last-child td {
  border-bottom: 0;
}

.checkout-price-list {
  display: grid;
  gap: 8px;
  margin: 16px 0;
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
}

.checkout-price-list div,
.checkout-total,
.checkout-intl-totals div,
.checkout-intl-total {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.checkout-price-list dt,
.checkout-price-list dd,
.checkout-intl-totals dt,
.checkout-intl-totals dd {
  margin: 0;
  font-size: 14px;
}

.checkout-price-list dt,
.checkout-intl-totals dt {
  color: var(--muted);
}

.checkout-price-list dd,
.checkout-intl-totals dd {
  color: var(--ink);
  font-weight: 500;
}

.checkout-total {
  align-items: center;
  margin-bottom: 16px;
}

.checkout-total span {
  font-size: 16px;
  font-weight: 700;
}

.checkout-total strong {
  font-size: 24px;
  font-weight: 700;
}

.checkout-submit-button,
.checkout-intl-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 52px;
  border: 1px solid #16a34a;
  border-radius: 8px;
  background: #16a34a;
  color: #ffffff;
  font-size: 16px;
  font-weight: 700;
  transition: background 160ms ease, border-color 160ms ease, opacity 160ms ease;
}

.checkout-submit-button:hover,
.checkout-intl-submit:hover {
  background: #15803d;
  border-color: #15803d;
}

.checkout-submit-button.checkout-paypal-card-submit {
  border-color: #009cde;
  background: #009cde;
  color: #ffffff;
  font-weight: 800;
}

.checkout-submit-button.checkout-paypal-card-submit:hover {
  border-color: #003087;
  background: #003087;
  color: #ffffff;
}

.checkout-panel-submit-button {
  width: auto;
  min-width: 240px;
  margin-top: 18px;
  padding: 0 22px;
}

.checkout-submit-button.is-loading,
.checkout-intl-submit.is-loading {
  opacity: 0.86;
  pointer-events: none;
}

.checkout-submit-button.is-loading::before,
.checkout-intl-submit.is-loading::before {
  display: block;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: checkout-shipping-quotes-spin 800ms linear infinite;
  content: "";
}

.checkout-submit-button:disabled,
.checkout-intl-submit:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.checkout-submit-button.is-loading:disabled,
.checkout-intl-submit.is-loading:disabled {
  opacity: 0.86;
  cursor: wait;
}

.checkout-trust-list {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  list-style: none;
}

.checkout-assurance-list {
  gap: 10px;
  margin-top: 18px;
}

.checkout-assurance-list li {
  display: flex;
  align-items: center;
  gap: 9px;
}

.checkout-trust-list li::before,
.checkout-intl-trust li::before {
  content: "・";
  color: #16a34a;
  font-weight: 700;
}

.checkout-assurance-list li::before {
  content: none;
}

@media (max-width: 980px) {
  .checkout-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 680px) {
  .checkout-shell {
    width: min(100% - 32px, 560px);
    padding-top: 92px;
  }

  .checkout-heading {
    margin-bottom: 24px;
  }

  .checkout-methods,
  .checkout-field-grid {
    grid-template-columns: 1fr;
  }

  .checkout-card-header {
    padding: 22px 20px 0;
  }

  .checkout-card-body {
    padding: 20px;
  }

  .payment-result-page {
    padding: 104px 16px 64px;
  }

  .payment-result-panel {
    padding: 28px 22px;
  }

  .payment-result-panel h1 {
    font-size: 24px;
  }

  .payment-result-details div {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .payment-result-actions {
    flex-direction: column;
  }

  .payment-result-primary,
  .payment-result-secondary {
    width: 100%;
  }
}

/* ===== International checkout page, scoped with checkout-intl- prefix ===== */
.checkout-intl-page {
  min-height: 100vh;
  background: #f5f5f5;
  color: #111827;
}

.checkout-intl-shell {
  width: min(1024px, calc(100% - 32px));
  padding: 100px 0 72px;
}

.checkout-intl-layout {
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
}

.checkout-intl-main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.checkout-intl-card {
  border-radius: 10px;
}

.checkout-intl-method {
  color: #111827;
}

.checkout-intl-method:hover {
  color: #000000;
}

.checkout-intl-method.is-active {
  color: #111827;
}

.checkout-intl-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.checkout-intl-field:last-child {
  margin-bottom: 0;
}

.checkout-intl-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.checkout-intl-address-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.checkout-intl-field label {
  color: #111827;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.4;
}

.checkout-intl-field label span {
  color: #6b7280;
  font-weight: 400;
}

.checkout-intl-field input,
.checkout-intl-field select {
  width: 100%;
  min-height: 44px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #ffffff;
  color: #111827;
  padding: 10px 12px;
  font-size: 14px;
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

.checkout-intl-info-box {
  border: 1px solid #d1d5db;
  border-radius: 6px;
  background: #f3f4f6;
  color: #6b7280;
  padding: 16px;
  font-size: 14px;
  line-height: 1.6;
}

.checkout-intl-info-box p {
  margin: 8px 0 0;
}

.checkout-intl-items {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 24px;
}

.checkout-intl-totals {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0;
  border-bottom: 1px solid #e5e7eb;
  padding-bottom: 24px;
}

.checkout-intl-totals div,
.checkout-intl-total {
  align-items: center;
}

.checkout-intl-total {
  margin-bottom: 24px;
}

.checkout-intl-total span {
  color: #111827;
  font-size: 18px;
  font-weight: 700;
}

.checkout-intl-total strong {
  color: #111827;
  font-size: 24px;
  font-weight: 700;
}

.checkout-intl-submit {
  min-height: 48px;
  border-radius: 6px;
  padding: 12px 16px;
  transition: background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, opacity 160ms ease;
}

.checkout-intl-submit:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.22);
}

.checkout-intl-trust {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.5;
  list-style: none;
}

@media (max-width: 980px) {
  .checkout-intl-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .checkout-intl-summary {
    position: static;
  }
}

@media (max-width: 680px) {
  .checkout-intl-shell {
    width: min(100% - 32px, 560px);
    padding-top: 84px;
  }

  .checkout-intl-layout {
    gap: 24px;
  }

  .checkout-intl-methods {
    flex-direction: column;
    gap: 14px;
  }

  .checkout-intl-card-header {
    padding: 22px 20px 0;
  }

  .checkout-intl-card-body {
    padding: 20px;
  }

  .checkout-intl-field-grid,
  .checkout-intl-address-grid {
    grid-template-columns: 1fr;
  }
}
