/* ─── Starter Kit: species page用スタイル ───────────────
   Phase 6-C Task 3
   既存ページCSSとの衝突を避けるため sk- プレフィックス統一
─────────────────────────────────────────────────────── */

.sk-section {
  padding: 2.5rem 1rem 3rem;
  background: var(--parchment, #f8f4ed);
  border-top: 1px solid rgba(0,0,0,.07);
}

.sk-inner {
  max-width: 860px;
  margin: 0 auto;
}

.sk-heading-main {
  font-family: 'Playfair Display', 'Noto Serif JP', serif;
  font-size: clamp(1.2rem, 3vw, 1.6rem);
  color: var(--forest-deep, #1a2e1a);
  margin-bottom: .5rem;
  text-align: center;
}

/* 横スクロールカード列 */
.sk-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 4px 20px 20px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d4a96a rgba(212,169,106,.18);
}
.sk-scroll::-webkit-scrollbar {
  height: 8px;
}
.sk-scroll::-webkit-scrollbar-track {
  background: rgba(212,169,106,.18);
  border-radius: 999px;
}
.sk-scroll::-webkit-scrollbar-thumb {
  background: #d4a96a;
  border-radius: 999px;
}

/* カード1枚 */
.sk-card {
  flex: 0 0 280px;
  width: 280px;
  max-width: 280px;
  height: auto;
  overflow: visible;
  scroll-snap-align: start;
  background: #fff;
  border: 1px solid rgba(0,0,0,.09);
  border-radius: 12px;
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}

/* カテゴリラベル */
.sk-cat-label-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  margin-bottom: 4px;
}
.sk-cat-label {
  font-size: .68rem;
  color: #888;
  letter-spacing: .05em;
  text-transform: uppercase;
}
/* Phase 17 Sprint3: CVRバッジ */
.sk-cvr-badge {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .04em;
  padding: 2px 7px;
  border-radius: 20px;
  background: rgba(212,169,106,.15);
  color: #8f5f2c;
  border: 1px solid rgba(212,169,106,.3);
  white-space: nowrap;
  flex-shrink: 0;
  line-height: 1.6;
}

/* tier バッジ */
.sk-card-badge {
  font-size: .68rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 999px;
  align-self: flex-start;
  white-space: nowrap;
}
.sk-badge-standard { background: #e8f5e9; color: #2e7d32; }
.sk-badge-budget   { background: #fff3e0; color: #e65100; }
.sk-badge-premium  { background: #f3e5f5; color: #6a1b9a; }

/* 商品名 */
.sk-card-name {
  font-size: .88rem;
  font-weight: 700;
  color: #1a2e1a;
  line-height: 1.4;
}

/* rating */
.sk-card-rating {
  font-size: .75rem;
  color: #c49a5a;
}

/* 価格帯 */
.sk-card-price {
  font-size: .75rem;
  color: #888;
}

/* 説明文 */
.sk-card-why {
  font-size: .75rem;
  color: #555;
  line-height: 1.5;
  flex: 1;
}

/* CTAボタン */
.sk-card-btn {
  display: block;
  margin-top: auto;
  padding: 8px 10px;
  background: #c49a5a;
  border-radius: 7px;
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transition: background .15s;
  -webkit-tap-highlight-color: transparent;
}
.sk-card-btn:hover { background: #a8803e; }
.sk-card-btn--soon {
  background: #eee;
  color: #999;
  cursor: default;
}

/* 免責 */
.sk-disclaimer {
  font-size: .7rem;
  color: #aaa;
  text-align: right;
  margin-top: .5rem;
}

/* ─── Phase 7A: Cost Box ──────────────────────── */
.sk-cost-box {
  background: #fff;
  border: 1.5px solid #e4ddc9;
  border-radius: 14px;
  padding: 18px 20px 14px;
  margin: 0 0 20px;
  box-shadow: 0 2px 8px rgba(13,31,26,.05);
}
.sk-cost-title {
  font-size: .8rem;
  font-weight: 700;
  color: var(--forest-deep, #0d1f1a);
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.sk-cost-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 16px;
}
.sk-cost-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.sk-cost-label {
  font-size: .68rem;
  color: #8a7a60;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.sk-cost-value {
  font-size: 1rem;
  font-weight: 700;
  color: var(--forest, #2f4a3c);
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}
.sk-cost-diff {
  font-size: .88rem;
}
.sk-cost-sub {
  font-size: .65rem;
  color: #aaa;
}
.sk-cost-note {
  font-size: .68rem;
  color: #bbb;
  margin-top: 10px;
  line-height: 1.5;
}

/* ─── Phase 7A: タブUI ──────────────────────── */
.sk-tabs {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  border-bottom: 2px solid #e4ddc9;
  padding-bottom: 0;
  overflow-x: auto;
  overflow-y: visible;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.sk-tabs::-webkit-scrollbar { display: none; }
.sk-tab-btn {
  background: none;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  padding: 8px 14px 10px;
  font-family: 'Noto Serif JP', serif;
  font-size: .82rem;
  font-weight: 700;
  color: #8a7a60;
  cursor: pointer;
  white-space: nowrap;
  transition: color .15s, border-color .15s;
  -webkit-tap-highlight-color: transparent;
}
.sk-tab-btn--active {
  color: var(--forest, #2f4a3c);
  border-bottom-color: var(--accent, #d4a96a);
}
.sk-tab-btn:hover:not(.sk-tab-btn--active) {
  color: var(--forest, #2f4a3c);
}
.sk-tab-panel[hidden] { display: none; }

.sk-tab-desc {
  font-size: .8rem;
  color: #6b7c70;
  margin-bottom: 6px;
  line-height: 1.6;
}
.sk-tab-desc::after {
  content: "　横にスライドして商品を見る →";
  display: block;
  margin-top: 4px;
  font-size: .75rem;
  color: #8f5f2c;
  font-weight: 700;
  letter-spacing: .02em;
}
.sk-empty {
  font-size: .85rem;
  color: #aaa;
  padding: 20px 0;
  text-align: center;
}


/* ─── Phase 10-C Step 3: Price Anchor ────────────────────── */
.sk-price-anchor {
  background: linear-gradient(110deg, #fffbf3 0%, #fff8ec 100%);
  border: 1px solid rgba(212,169,106,.35);
  border-radius: 10px;
  padding: 12px 16px 10px;
  margin: 0 0 16px;
}
.sk-pa-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  padding: 3px 0;
}
.sk-pa-label {
  font-size: .72rem;
  color: #8a7a60;
  letter-spacing: .03em;
  white-space: nowrap;
}
.sk-pa-val {
  font-size: .92rem;
  font-weight: 700;
  color: var(--forest, #2f4a3c);
  font-family: 'Playfair Display', serif;
  text-align: right;
}
.sk-pa-val--kit {
  color: var(--accent-dark, #b07c3f);
  font-size: 1.05rem;
}
.sk-pa-indiv { border-bottom: 1px dashed rgba(212,169,106,.25); padding-bottom: 6px; margin-bottom: 3px; }
.sk-pa-kit   { padding-top: 4px; }
.sk-pa-save {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(212,169,106,.3);
}
.sk-pa-save-badge {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .08em;
  background: var(--accent, #d4a96a);
  color: #fff;
  padding: 2px 8px;
  border-radius: 10px;
  white-space: nowrap;
  flex-shrink: 0;
}
.sk-pa-save-val {
  font-size: .92rem;
  font-weight: 700;
  color: var(--accent-dark, #b07c3f);
  font-family: 'Playfair Display', serif;
  text-align: right;
  flex: 1;
}
.sk-pa-note {
  font-size: .62rem;
  color: #bbb;
  margin-top: 8px;
  line-height: 1.5;
}
@media (max-width: 480px) {
  .sk-price-anchor { padding: 10px 13px 9px; }
  .sk-pa-val { font-size: .86rem; }
  .sk-pa-val--kit { font-size: .98rem; }
}

/* ─── レスポンシブ調整 ─── */
@media (max-width: 480px) {
  .sk-cost-grid { grid-template-columns: 1fr 1fr; gap: 8px 12px; }
  .sk-tab-btn { padding: 7px 10px 9px; font-size: .78rem; }
  .sk-cost-value { font-size: .92rem; }
}

/* ═══════════════════════════════════════════════════════════
   Phase 7-C Step 1-C: Visual Polish
   ─────────────────────────────────────────────────────────── */

/* ─── 1. sk-hint（不安除去コピー） ─────────────────────────── */
.sk-hint {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f0faf2;
  border-left: 3px solid var(--accent, #d4a96a);
  border-radius: 0 8px 8px 0;
  padding: 11px 16px;
  margin: 18px 0 4px;
  font-size: .82rem;
  color: var(--forest, #2f4a3c);
  line-height: 1.6;
}
.sk-hint strong {
  color: var(--forest, #2f4a3c);
  font-weight: 700;
}

/* ─── 2. Standard タブ強調 ──────────────────────────────────── */

/* 推奨タブに相対位置を与えバッジの土台に */
.sk-tab-btn--recommended {
  position: relative;
  color: var(--forest, #2f4a3c);
  padding-right: 18px; /* バッジ分の余白 */
}

/* 「おすすめ」バッジ */
.sk-tab-rec-badge {
  display: inline-block;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .04em;
  background: var(--accent, #d4a96a);
  color: #fff;
  border-radius: 999px;
  padding: 1px 6px;
  margin-left: 5px;
  vertical-align: middle;
  line-height: 1.6;
  white-space: nowrap;
}

/* 推奨タブ アクティブ時のアンダーライン強調 */
.sk-tab-btn--recommended.sk-tab-btn--active {
  color: var(--forest, #2f4a3c);
  border-bottom-color: var(--accent, #d4a96a);
}
.sk-tab-btn--recommended.sk-tab-btn--active .sk-tab-rec-badge {
  background: var(--forest, #2f4a3c);
}

/* ─── 3. カード tier 差の視覚化 ─────────────────────────────── */

/* Budget: ミニマム・控えめ */
.sk-card--budget {
  border-color: rgba(0,0,0,.07);
  box-shadow: none;
}
.sk-card--budget .sk-card-btn {
  background: #b89458;
  opacity: .9;
}
.sk-card--budget .sk-card-btn:hover { background: #9a7840; opacity: 1; }

/* Standard: Best choice 感。フレームを際立たせる */
.sk-card--standard {
  border: 1.5px solid var(--accent, #d4a96a);
  box-shadow: 0 4px 14px rgba(212,169,106,.18);
  background: #fffef9;
}
.sk-card--standard .sk-card-btn {
  background: var(--accent, #d4a96a);
  font-size: .82rem;
  padding: 9px 10px;
}
.sk-card--standard .sk-card-btn:hover { background: var(--accent-dark, #a8803e); }
.sk-card--standard .sk-card-price {
  font-size: .8rem;
  color: var(--forest, #2f4a3c);
  font-weight: 700;
}

/* Premium: ハイエンド感。落ち着いた紫みでの上品さ */
.sk-card--premium {
  border-color: #c8b0d8;
  box-shadow: 0 2px 10px rgba(106,27,154,.08);
}
.sk-card--premium .sk-card-btn {
  background: #5c3d7a;
}
.sk-card--premium .sk-card-btn:hover { background: #3e2852; }
.sk-card--premium .sk-card-badge { letter-spacing: .03em; }

/* Phase 27-B: Premium Tier Highlight — large tortoise pages only (sulcata/leopard) */
/* Scoped strictly to .sk-large-tortoise to avoid affecting any other species page */
.sk-large-tortoise .sk-card--premium {
  position: relative;
  border-color: #9a6edb;
  box-shadow: 0 0 0 2px rgba(154,110,219,.18), 0 4px 16px rgba(106,27,154,.18);
}
.sk-large-tortoise .sk-card--premium::after {
  content: '大型種におすすめ';
  position: absolute;
  top: -9px;
  right: 10px;
  background: #5c3d7a;
  color: #fff;
  font-size: .62rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: .02em;
}

/* ─── 4. 商品カード視認性改善 ──────────────────────────────── */

/* transition はベースに配置（hover-out も自然に戻る） */
.sk-card {
  transition: box-shadow .18s, transform .18s;
}
/* カードホバー: PC（hover可能デバイス）のみ */
@media (hover: hover) {
  .sk-card:hover {
    box-shadow: 0 6px 18px rgba(13,31,26,.1);
    transform: translateY(-2px);
  }
  /* Standard はホバーで elevation を強調 */
  .sk-card--standard:hover {
    box-shadow: 0 7px 20px rgba(212,169,106,.22);
    transform: translateY(-3px);
  }
}

/* 価格ヒエラルキー強化 */
.sk-card-price {
  font-size: .78rem;
  font-weight: 600;
  color: #666;
}

/* CTAタップターゲット拡大（モバイル） */
.sk-card-btn {
  padding: 9px 10px;
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ─── 5. レスポンシブ調整追加 ───────────────────────────────── */
@media (max-width: 480px) {
  .sk-hint { font-size: .79rem; padding: 10px 14px; }
  .sk-tab-rec-badge { font-size: .55rem; }
}


/* ─── Bundle Summary ─────────────────────────────────────────
   Phase: bundle-summary addition
   Inserted above .sk-tabs; sk- prefix maintained
──────────────────────────────────────────────────────────── */

.sk-bundle-summary {
  margin: 1.25rem 0 1rem;
}

.sk-bundle-eyebrow {
  font-size: .72rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--moss, #4a6741);
  margin-bottom: .5rem;
  text-align: center;
  font-weight: 600;
}
.sk-bundle-eyebrow::after {
  content: "横にスライドして構成を見る →";
  display: block;
  margin-top: 4px;
  font-size: .72rem;
  letter-spacing: .02em;
  text-transform: none;
  color: #8f5f2c;
  font-weight: 700;
}

/* Bundle grid: 横スクロール（PC/スマホ共通）[v2 2026-06-28] */
.sk-bundle-grid {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  overflow-y: visible;
  padding: 4px 6px 18px 0;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #d4a96a rgba(212,169,106,.18);
}
.sk-bundle-grid::-webkit-scrollbar {
  height: 8px;
}
.sk-bundle-grid::-webkit-scrollbar-track {
  background: rgba(212,169,106,.18);
  border-radius: 999px;
}
.sk-bundle-grid::-webkit-scrollbar-thumb {
  background: #d4a96a;
  border-radius: 999px;
}

.sk-bundle-card {
  flex: 0 0 280px;
  max-width: 280px;
  height: auto;
  overflow: visible;
  scroll-snap-align: start;
  background: #fff;
  border: 1.5px solid rgba(0,0,0,.09);
  border-radius: 10px;
  padding: 14px 14px 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  box-shadow: 0 2px 6px rgba(0,0,0,.05);
  transition: box-shadow .2s, transform .2s;
  position: relative;
}
@media (max-width: 640px) {
  .sk-bundle-card {
    flex: 0 0 82vw;
    max-width: 82vw;
  }
}
.sk-bundle-card:hover {
  box-shadow: 0 6px 18px rgba(0,0,0,.1);
  transform: translateY(-2px);
}

/* Top accent bar */
.sk-bundle-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  border-radius: 10px 10px 0 0;
}
.sk-bundle--budget::before   { background: #e65100; }
.sk-bundle--standard::before { background: #2e7d32; }
.sk-bundle--premium::before  { background: #6a1b9a; }

/* Recommended highlight */
.sk-bundle-card--rec {
  border-color: rgba(46,125,50,.35);
  background: #f9fdf9;
}

.sk-bundle-head {
  display: flex;
  align-items: center;
  gap: 6px;
}

.sk-bundle-icon { font-size: 1.05rem; line-height: 1; }

.sk-bundle-label {
  font-size: .82rem;
  font-weight: 700;
  color: var(--forest-deep, #1a2e1a);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.sk-bundle-rec-badge {
  font-size: .6rem;
  background: #2e7d32;
  color: #fff;
  padding: 2px 7px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .04em;
}

.sk-bundle-desc {
  font-size: .75rem;
  color: #666;
  line-height: 1.55;
  flex: 1;
}

.sk-bundle-meta {
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.sk-bundle-price {
  font-size: .95rem;
  font-weight: 700;
  color: var(--forest-deep, #1a2e1a);
}

.sk-bundle-count {
  font-size: .68rem;
  color: #888;
}

.sk-bundle-cta {
  display: block;
  width: 100%;
  background: var(--forest-deep, #1a2e1a);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 9px 10px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  text-align: center;
  min-height: 40px;
  transition: background .18s;
  margin-top: auto;
}
.sk-bundle-cta:hover  { background: #2a5a2a; }
.sk-bundle-cta:focus-visible {
  outline: 2px solid var(--sage, #7a9e6e);
  outline-offset: 2px;
}

/* Budget CTA accent */
.sk-bundle--budget   .sk-bundle-cta { background: #bf360c; }
.sk-bundle--budget   .sk-bundle-cta:hover { background: #922b0e; }
.sk-bundle--standard .sk-bundle-cta { background: #1b5e20; }
.sk-bundle--standard .sk-bundle-cta:hover { background: #145214; }
.sk-bundle--premium  .sk-bundle-cta { background: #4a148c; }
.sk-bundle--premium  .sk-bundle-cta:hover { background: #380f6a; }

/* ─── Phase 20-E: Bundle item tags + savings ─────────────────
   .sk-bundle-items  — category chip row
   .sk-bundle-item-tag — individual chip
   .sk-bundle-item-more — overflow count
   .sk-bundle-savings — savings callout
──────────────────────────────────────────────────────────── */

.sk-bundle-items {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin: 8px 0 10px;
}

.sk-bundle-item-tag {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--forest, #2f4a3c);
  background: rgba(47,74,60,.08);
  border: 1px solid rgba(47,74,60,.18);
  border-radius: 4px;
  padding: 2px 7px;
  line-height: 1.4;
  white-space: nowrap;
}

.sk-bundle-item-more {
  display: inline-block;
  font-size: .65rem;
  font-weight: 700;
  color: var(--moss, #4a6741);
  background: transparent;
  padding: 2px 4px;
  line-height: 1.4;
}

.sk-bundle-savings {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  color: #1b5e20;
  background: #f1f8f1;
  border: 1px solid rgba(27,94,32,.18);
  border-radius: 6px;
  padding: 4px 10px;
  margin: 6px 0 10px;
  letter-spacing: .01em;
}


/* ─── Rakuten CTA button ────────────────────────────────────
   Rendered only when product.rakutenUrl && rakutenStatus === "available"
   Default state: never rendered (no visual regression)
──────────────────────────────────────────────────────────── */

/* ─── Rakuten CTA: サイトパレット使用（楽天赤禁止）─────────────
   available → forest系ディープグリーン（Amazon accentと差別化）
   search    → parchment系アウトラインボタン（セカンダリ）
   pending   → Coming Soon バッジ（CTA非表示）
   TASK 2: min-height 44px / mobile first / CLS 0
──────────────────────────────────────────────────────────── */

/* CASE A: Amazon + Rakuten 両方 available → 2ボタン縦並び */
/* CASE A primary (Amazon): .sk-card-btn は既存スタイル維持 */

/* CASE A secondary / CASE A-only: Rakuten available */
.sk-card-btn--rakuten {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 6px;
  padding: 10px 12px;
  /* forest系: premium reptile magazine look */
  background: var(--forest, #2f4a3c);
  color: #e8f0e8;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .03em;
  text-align: center;
  text-decoration: none;
  border-radius: 7px;
  min-height: 44px;   /* TASK 2: タップターゲット 44px */
  line-height: 1.3;
  white-space: normal;   /* Phase 25-E: CTAコピー長文化（楽天で購入（ポイント還元））に伴う安全な折り返し許容 */
  transition: background .18s, box-shadow .18s;
  position: relative;
}
.sk-card-btn--rakuten::before {
  content: '🏮';
  font-size: .72rem;
  opacity: .75;
  flex-shrink: 0;
}
.sk-card-btn--rakuten:hover {
  background: var(--forest-deep, #1a2e1a);
  box-shadow: 0 3px 10px rgba(47,74,60,.25);
}
.sk-card-btn--rakuten:focus-visible {
  outline: 2px solid var(--accent, #d4a96a);
  outline-offset: 2px;
}

/* CASE B: Amazon only → Rakuten非表示 (no CSS needed; not rendered in JS) */

/* CASE C: Rakuten pending → Coming Soon badge */
.sk-card-btn--rakuten-soon {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 6px;
  padding: 8px 12px;
  background: transparent;
  border: 1.5px dashed rgba(47,74,60,.25);
  border-radius: 7px;
  color: #9aaa9a;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .04em;
  min-height: 40px;
  cursor: default;
  pointer-events: none;
  user-select: none;
}
.sk-card-btn--rakuten-soon::before {
  content: '楽天';
  font-size: .62rem;
  background: rgba(47,74,60,.1);
  border-radius: 3px;
  padding: 1px 5px;
  flex-shrink: 0;
}

/* CASE D: neither → hidden (no CSS; not rendered in JS) */

/* CASE B': Rakuten search fallback (rakutenStatus === "search") */
/* アウトラインスタイル: セカンダリ感を明確化 */
.sk-card-btn--rakuten-search {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 6px;
  padding: 9px 12px;
  background: transparent;
  border: 1.5px solid var(--forest, #2f4a3c);
  border-radius: 7px;
  color: var(--forest, #2f4a3c);
  font-size: .73rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-align: center;
  text-decoration: none;
  min-height: 44px;   /* TASK 2 */
  line-height: 1.3;
  transition: background .18s, color .18s;
  position: relative;
}
.sk-card-btn--rakuten-search::before {
  content: '🔍';
  font-size: .68rem;
  flex-shrink: 0;
  opacity: .7;
}
.sk-card-btn--rakuten-search:hover {
  background: var(--forest, #2f4a3c);
  color: #e8f0e8;
}
.sk-card-btn--rakuten-search:focus-visible {
  outline: 2px solid var(--accent, #d4a96a);
  outline-offset: 2px;
}

/* 2ボタン時のスペーシング（layout shift ゼロ: min-height予約済み） */
.sk-card-btn + .sk-card-btn--rakuten,
.sk-card-btn + .sk-card-btn--rakuten-search {
  margin-top: 6px;
}

/* 320px safe: ボタンが縦に並ぶ場合のパディング調整 */
@media (max-width: 360px) {
  .sk-card-btn--rakuten,
  .sk-card-btn--rakuten-search,
  .sk-card-btn--rakuten-soon {
    font-size: .69rem;
    padding-left: 8px;
    padding-right: 8px;
  }
}


/* ─── Mobile: カード幅を画面幅基準に（横スクロール維持） ──── */
@media (max-width: 640px) {
  .sk-card {
    flex: 0 0 82vw;
    width: 82vw;
    max-width: 82vw;
  }
  /* ボタンはフル幅・タップしやすく */
  .sk-card-btn,
  .sk-card-btn--rakuten,
  .sk-card-btn--rakuten-search {
    display: flex;
    width: 100%;
    box-sizing: border-box;
    white-space: normal;
    text-align: center;
    margin-top: 8px;
    padding: 12px 10px;
    min-height: 44px;
    justify-content: center;
    align-items: center;
    font-size: .82rem;
  }
  .sk-card-btn + .sk-card-btn--rakuten,
  .sk-card-btn + .sk-card-btn--rakuten-search {
    margin-top: 8px;
  }
}
