/* =========================================================
   items.css  (商品カテゴリページ専用)
   - 黒×金 / 静かな高級感
   - styles.css をベースに“必要な分だけ”上書き
   ========================================================= */

/* 商品ページの見出し余白を少し整える */
.page-title {
  margin-bottom: 12px;
}

.lead {
  line-height: 1.9;
}

/* 商品カード（.card 既存を前提） */
.card h2 {
  line-height: 1.4;
  letter-spacing: 0.2px;
}

/* 箇条書きの詰まり感を改善 */
.card ul {
  margin: 14px 0 14px;
  padding-left: 1.1em;
}

.card li {
  margin: 6px 0;
  line-height: 1.7;
}

/* =========================================================
   Gold Button (Items Page Version)
   - 安全 × 上品 × 静かな高級感
   ========================================================= */

.btn-gold,
.affiliate-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  max-width: 280px;

  min-height: 48px;
  padding: 14px 20px;

  border-radius: 14px;
  border: 1px solid #d4af37;

  background: transparent;
  color: #d4af37;

  font-weight: 600;
  font-size: 14px;
  letter-spacing: 1px;
  text-decoration: none;

  transition: background 0.2s ease, color 0.2s ease;
}

/* ホバーは控えめに色反転 */
.btn-gold:hover,
.affiliate-btn:hover {
  background: #d4af37;
  color: #000;
}

/* 押下時 */
.btn-gold:active,
.affiliate-btn:active {
  opacity: 0.85;
}

/* フォーカス */
.btn-gold:focus-visible,
.affiliate-btn:focus-visible {
  outline: 2px solid #d4af37;
  outline-offset: 2px;
}
/* “静かなホバー”だけ */
.card .btn-gold:hover,
.card .affiliate-btn:hover {
  transform: translateY(-1px);
}

/* セクション最後の余白を整える（ページの締まり） */
.section:last-child {
  padding-bottom: 60px;
}

/* ---------------------------------------------------------
   将来用：比較表（入れた瞬間に整う）
   --------------------------------------------------------- */
.items-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 18px;
  font-size: 14px;
}

.items-table th,
.items-table td {
  border-bottom: 1px solid rgba(255,255,255,0.12);
  padding: 12px 10px;
  vertical-align: top;
}

.items-table th {
  text-align: left;
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ---------------------------------------------------------
   将来用：小バッジ（“石けんオフ可”など）
   --------------------------------------------------------- */
.item-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.item-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid rgba(212,175,55,0.35);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.4px;
  color: #d4af37;
  background: rgba(212,175,55,0.06);
}

/* ---------------------------------------------------------
   将来用：注意文（アフィリエイト表記）
   --------------------------------------------------------- */
.affiliate-note {
  margin-top: 26px;
  font-size: 12px;
  line-height: 1.7;
  opacity: 0.85;
}
/* =========================================================
   Hero（商品カテゴリページのみ）
   ========================================================= */
.hero.hero-wide{
  background-image:
    linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
    url('/assets/img/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 60px 20px;
  border-radius: 12px;
  overflow: hidden;
}

/* ★ここをスコープして他ページを汚さない */
.hero.hero-wide .badge{
  background-color: #fff;
  color: #333;
}
.hero.hero-wide .lead{
  color: #eee;
}
/* itemsindex専用 補助 */

.item-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 14px;
}

.note {
  margin-top: 14px;
  font-size: 13px;
  opacity: 0.8;
}
/* 商品カード内の商品名 */
.card h2 {
  font-weight:600;
  letter-spacing:0.03em;
  padding-bottom:8px;
  border-bottom:1px solid rgba(212,175,55,.3);

  background: linear-gradient(90deg,#c9a227,#f1d76b);
  background-clip:text;
  -webkit-background-clip:text;
  color:transparent;
  -webkit-text-fill-color:transparent;
}
.buy-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}

/* ボタンが多いのでスマホは2列で綺麗に */
.buy-row .btn,
.buy-row .btn-gold{
  flex: 1 1 calc(50% - 10px);
  text-align:center;
}
@media (min-width: 720px){
  .buy-row .btn,
  .buy-row .btn-gold{
    flex: 0 0 auto;
  }
}
.buy-row{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:12px;
}
.buy-row .btn,
.buy-row .btn-gold{
  flex: 1 1 calc(50% - 10px);
  text-align:center;
}
@media (min-width: 720px){
  .buy-row .btn,
  .buy-row .btn-gold{
    flex: 0 0 auto;
  }
}