*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0f0f0f;
  --bg2: #1a1a1a;
  --bg3: #242424;
  --gold: #c9a84c;
  --gold-light: #e8c87a;
  --text: #e8e4dc;
  --text-muted: #888;
  --radius: 8px;
}

body { background: var(--bg); color: var(--text); font-family: 'Inter','Helvetica Neue',Arial,sans-serif; line-height: 1.6; }

header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 40px; border-bottom: 1px solid #2a2a2a;
  background: rgba(15,15,15,0.95); backdrop-filter: blur(8px);
}
.logo { font-size: 1.1rem; font-weight: 700; letter-spacing: 0.12em; color: var(--gold); text-transform: uppercase; text-decoration: none; }
.logo span { color: var(--text); font-weight: 300; }

.cart-wrap { max-width: 680px; margin: 48px auto; padding: 0 24px; }
.cart-title { font-size: 1.4rem; font-weight: 300; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 32px; }

.cart-item {
  background: var(--bg2); border: 1px solid #2a2a2a; border-radius: var(--radius);
  padding: 20px; display: flex; gap: 20px; align-items: center; margin-bottom: 16px;
}
.cart-item img { width: 72px; height: 72px; object-fit: contain; background: #fff; border-radius: 4px; padding: 6px; }
.cart-item .item-info { flex: 1; }
.cart-item .item-name { font-weight: 500; margin-bottom: 4px; }
.cart-item .item-origin { font-size: 0.78rem; color: var(--text-muted); letter-spacing: 0.05em; }

.qty-control { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.qty-btn { width: 30px; height: 30px; background: var(--bg3); border: 1px solid #3a3a3a; color: var(--text); border-radius: 4px; cursor: pointer; font-size: 1rem; display: flex; align-items: center; justify-content: center; }
.qty-btn:hover { border-color: var(--gold); }
.qty-val { font-weight: 600; min-width: 28px; text-align: center; }

.item-price { text-align: right; }
.item-price .unit { font-size: 0.8rem; color: var(--text-muted); }
.item-price .subtotal { font-size: 1.1rem; font-weight: 700; color: var(--gold); }
.item-price .discount-tag { font-size: 0.75rem; color: var(--gold); margin-top: 2px; }

.summary-box { background: var(--bg2); border: 1px solid #2a2a2a; border-radius: var(--radius); padding: 20px; margin-top: 24px; }
.summary-row { display: flex; justify-content: space-between; padding: 6px 0; font-size: 0.9rem; }
.summary-row.total { font-size: 1.1rem; font-weight: 700; border-top: 1px solid #3a3a3a; padding-top: 14px; margin-top: 8px; }
.summary-row.total span:last-child { color: var(--gold); font-size: 1.3rem; }

.btn-pay {
  width: 100%; padding: 15px; margin-top: 20px;
  background: var(--gold); color: #0f0f0f; border: none; border-radius: var(--radius);
  font-size: 1rem; font-weight: 700; cursor: pointer; letter-spacing: 0.05em; transition: background 0.2s;
}
.btn-pay:hover { background: var(--gold-light); }
.btn-pay:disabled { background: #444; color: #666; cursor: not-allowed; }

.notice { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 12px; }

.empty-cart { text-align: center; padding: 80px 0; color: var(--text-muted); }
.empty-cart a { color: var(--gold); }

/* 特商法ページ */
.tokushoho-wrap { max-width: 760px; margin: 48px auto; padding: 0 24px; }
.tokushoho-wrap h1 { font-size: 1.3rem; font-weight: 400; margin-bottom: 32px; letter-spacing: 0.05em; }
.tokushoho-wrap table { width: 100%; border-collapse: collapse; font-size: 0.88rem; }
.tokushoho-wrap th, .tokushoho-wrap td { border: 1px solid #2a2a2a; padding: 12px 16px; text-align: left; vertical-align: top; }
.tokushoho-wrap th { width: 30%; background: var(--bg2); color: var(--text-muted); font-weight: 500; }
.tokushoho-wrap td { background: var(--bg); }

footer { border-top: 1px solid #2a2a2a; padding: 28px 40px; text-align: center; color: var(--text-muted); font-size: 0.8rem; }
footer a { color: var(--text-muted); text-decoration: none; }
footer a:hover { color: var(--gold); }

@media (max-width: 600px) {
  header { padding: 16px 20px; }
  .cart-item { flex-wrap: wrap; }
}
