/**
 * assets/css/tokupicks-page.css
 * [tokupicks_page] 専用スタイル（個別パーツ最安比較ページ）
 * tokupicks.css に依存（共通カード・ボタン・バッジ類はそちらを継承）
 */

/* ページタイトル */
.tp-pg-title {
  margin-bottom: 14px;
}
.tp-pg-title h2 {
  font-size: 19px;
  font-weight: 900;
  margin: 0 0 2px;
  color: var(--tp-text-main);
}
.tp-pg-title .tp-pg-title-sub {
  font-size: 12px;
  color: var(--tp-text-sub);
  font-weight: 700;
}
.tp-pg-title .tp-pg-count {
  font-size: 12px;
  color: var(--tp-text-sub);
  margin-left: 6px;
}

/* セクション見出し（最安 / 他の販売店） */
.tp-pg-section-label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 18px 0 8px;
  font-size: 13px;
  font-weight: 900;
  color: var(--tp-text-sub);
}
.tp-pg-section-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--tp-border);
}

/* ───────────────── 最安ヒーローカード ───────────────── */
.tp-pg-hero {
  position: relative;
  border: 2px solid var(--tp-cyan);
  padding: 22px;
  box-shadow: 0 4px 18px rgba(0,200,181,.18);
}
.tp-pg-hero .tp-item-inner {
  gap: 22px;
}
.tp-pg-hero .tp-item-img,
.tp-pg-hero .tp-item-img-placeholder {
  width: 160px;
  height: 160px;
  border-radius: 12px;
}
.tp-pg-hero .tp-item-name {
  font-size: 17px;
  margin-bottom: 4px;
}
.tp-pg-hero .tp-item-store {
  font-size: 12px;
  margin-bottom: 10px;
}
.tp-pg-hero .tp-eff-price {
  font-size: 38px;
}
.tp-pg-hero .tp-original-price {
  font-size: 13px;
}
.tp-pg-hero .tp-pt-label {
  font-size: 11px;
}
.tp-pg-hero .tp-btn-yahoo,
.tp-pg-hero .tp-btn-rakuten,
.tp-pg-hero .tp-btn-amazon {
  font-size: 13px;
  padding: 9px 18px;
}

/* 「最安」リボン */
.tp-pg-hero-ribbon {
  position: absolute;
  top: -12px;
  left: -12px;
  background: #01324a;
  color: #fff;
  font-weight: 900;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(0,0,0,.2);
  z-index: 1;
}

/* 通常リストカードのランク番号（2位以降） */
.tp-pg-rank-badge {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 32px;
  height: 32px;
  background: #01324a;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  border: 2px solid #fff;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
  z-index: 1;
}

/* 該当なしメッセージ */
.tp-pg-empty-sub {
  text-align: center;
  font-size: 12px;
  color: var(--tp-text-sub);
  padding: 16px;
}

@media (max-width: 560px) {
  .tp-pg-hero .tp-item-inner {
    flex-direction: column;
  }
  .tp-pg-hero .tp-item-img,
  .tp-pg-hero .tp-item-img-placeholder {
    width: 100%;
    height: 180px;
  }
  .tp-pg-hero .tp-eff-price {
    font-size: 30px;
  }
}
