/* ============================================================
   葉と土 v2 — Select Shop page (modern cafe edition)
   ============================================================ */

/* ── Shop hero ────────────────────────────────────────── */
.shop-hero {
  background: var(--c-bg-deep);
  padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px);
  position: relative;
  overflow: hidden;
}
.shop-hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: center;
}
.shop-hero h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(1.9rem, 4.4vw, 3.4rem);
  line-height: 1.25;
  color: var(--c-ink);
  margin: 18px 0 22px;
  letter-spacing: -0.028em;
}
.shop-hero h1 em { font-style: normal; color: var(--c-brand); }
.shop-hero p.lead { max-width: 540px; }
.shop-hero-media {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--c-bg);
}
.shop-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.shop-hero-stamp {
  position: absolute;
  bottom: 20px; right: 20px;
  width: 96px; height: 96px;
  border-radius: 50%;
  background: var(--c-accent);
  color: var(--c-ink);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  text-align: center;
  font-weight: 900;
  box-shadow: var(--shadow-md);
  transform: rotate(-7deg);
  font-family: var(--font-sans);
}
.shop-hero-stamp b { font-size: 1.05rem; line-height: 1.2; display: block; letter-spacing: -0.01em; }
.shop-hero-stamp small {
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  opacity: 0.75;
  font-family: var(--font-mono);
  font-weight: 800;
  margin-bottom: 2px;
}
@media (max-width: 880px) {
  .shop-hero-inner { grid-template-columns: 1fr; }
  .shop-hero-media { aspect-ratio: 4 / 3; order: -1; }
}

/* ── Breadcrumb ───────────────────────────────────────── */
.crumb {
  display: flex; gap: 8px; align-items: center;
  font-size: 0.74rem;
  color: var(--c-muted);
  font-weight: 700;
  margin-bottom: 6px;
  font-family: var(--font-mono);
  letter-spacing: 0.04em;
}
.crumb a { color: var(--c-brand); }
.crumb-sep { color: var(--c-sub); }

/* ── Set hero cards ───────────────────────────────────── */
.sets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.set-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}
.set-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--c-brand-light);
}
.set-card.featured {
  border-color: var(--c-ink);
  border-width: 2px;
}
.set-card .set-img {
  aspect-ratio: 4 / 3;
  background: var(--c-bg-deep);
  overflow: hidden;
  position: relative;
}
.set-card .set-img img { width: 100%; height: 100%; object-fit: cover; }
.set-card .set-num {
  position: absolute; top: 16px; left: 16px;
  background: var(--c-bg);
  color: var(--c-ink);
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
}
.set-card .set-featured-tag {
  position: absolute; top: 16px; right: 16px;
  background: var(--c-ink);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  font-family: var(--font-mono);
}
.set-card .set-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.set-card .set-jp {
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}
.set-card .set-en {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  color: var(--c-brand);
  text-transform: uppercase;
  margin-bottom: 6px;
  font-family: var(--font-mono);
}
.set-card .set-desc {
  margin: 14px 0 22px;
  font-size: 0.88rem;
  color: var(--c-muted);
  line-height: 1.9;
}
.set-card .set-pricerow {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--c-line);
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
}
.set-card .set-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--c-ink);
  line-height: 1;
  letter-spacing: -0.03em;
}
.set-card .set-price .yen { font-size: 0.85rem; font-weight: 700; color: var(--c-muted); margin-right: 2px; }
.set-card .set-price .tax { font-size: 0.7rem; color: var(--c-muted); margin-left: 6px; font-weight: 500; }
.set-card .set-buy {
  background: var(--c-ink);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 800;
  border: none;
  transition: background 200ms, transform 200ms;
  white-space: nowrap;
}
.set-card .set-buy:hover { background: var(--c-brand-dark); transform: translateY(-1px); }
@media (max-width: 880px) {
  .sets-grid { grid-template-columns: 1fr; }
}

/* ── Comparison table ─────────────────────────────────── */
.compare-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  background: var(--c-surface);
  border: 1px solid var(--c-line);
}
.compare-table {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
}
.compare-table th, .compare-table td {
  padding: 18px 22px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--c-line);
}
.compare-table th {
  background: var(--c-bg);
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--c-muted);
  letter-spacing: 0.06em;
  font-family: var(--font-mono);
  text-transform: uppercase;
}
.compare-table thead th {
  text-align: center;
  font-family: var(--font-sans);
  font-size: 1.1rem;
  color: var(--c-ink);
  font-weight: 900;
  padding: 24px 16px;
  background: var(--c-bg);
  border-bottom: 2px solid var(--c-line);
  letter-spacing: -0.015em;
  text-transform: none;
}
.compare-table thead th:first-child { background: var(--c-bg-deep); }
.compare-table thead th.featured {
  background: var(--c-ink);
  color: #fff;
  position: relative;
}
.compare-table thead th.featured::before {
  content: '◆ POPULAR';
  display: block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  font-weight: 800;
  color: var(--c-accent);
  margin-bottom: 6px;
}
.compare-table thead th .set-th-en {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--c-brand);
  font-weight: 800;
  text-transform: uppercase;
  font-family: var(--font-mono);
  margin-top: 4px;
}
.compare-table thead th.featured .set-th-en { color: var(--c-brand-light); }
.compare-table tbody td {
  font-size: 0.9rem;
  color: var(--c-ink);
  font-weight: 500;
}
.compare-table tbody td:not(:first-child) { text-align: center; }
.compare-table tbody td.featured { background: var(--c-brand-faint); }
.compare-table tbody tr:last-child td { border-bottom: none; }
.compare-table .check { color: var(--c-brand); font-weight: 800; }
.compare-table .nope { color: var(--c-sub); }
.compare-table .price-row td {
  background: var(--c-bg-deep);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--c-ink);
  padding: 26px 16px;
  letter-spacing: -0.03em;
}
.compare-table .price-row td.featured {
  background: var(--c-ink);
  color: #fff;
}
.compare-table .price-row td .yen {
  font-size: 0.78rem;
  font-weight: 700;
  color: inherit;
  opacity: 0.7;
  margin-right: 2px;
}

/* ── Single items grid ────────────────────────────────── */
.singles {
  background: var(--c-bg-deep);
}
.singles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.single-card {
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms;
  display: flex; flex-direction: column;
}
.single-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--c-brand-light); }
.single-card .single-img {
  aspect-ratio: 4 / 3;
  background: var(--c-bg-deep);
  overflow: hidden;
  position: relative;
}
.single-card .single-img img { width: 100%; height: 100%; object-fit: cover; }
.single-card .single-cat {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--c-bg);
  color: var(--c-brand);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  padding: 4px 9px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  font-family: var(--font-mono);
}
.single-card .single-body { padding: 18px; flex: 1; display: flex; flex-direction: column; }
.single-card .single-name {
  font-weight: 800;
  font-size: 0.98rem;
  color: var(--c-ink);
  line-height: 1.4;
  letter-spacing: -0.015em;
}
.single-card .single-vol {
  margin-top: 4px;
  font-size: 0.74rem;
  color: var(--c-muted);
  font-weight: 600;
}
.single-card .single-desc {
  margin-top: 10px;
  font-size: 0.8rem;
  color: var(--c-muted);
  line-height: 1.75;
  flex: 1;
}
.single-card .single-foot {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--c-line);
  display: flex; align-items: baseline; justify-content: space-between;
}
.single-card .single-price {
  font-size: 1.08rem;
  font-weight: 900;
  color: var(--c-ink);
  letter-spacing: -0.02em;
}
.single-card .single-price .yen { font-size: 0.74rem; font-weight: 700; color: var(--c-muted); margin-right: 2px; }
.single-card .single-add {
  background: var(--c-bg);
  color: var(--c-ink-soft);
  border: 1px solid var(--c-line);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.74rem;
  font-weight: 800;
  transition: all 180ms;
}
.single-card .single-add:hover { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
@media (max-width: 1080px) { .singles-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) { .singles-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .singles-grid { grid-template-columns: 1fr; } }

/* ── Category nav ─────────────────────────────────────── */
.cat-nav {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-bottom: 36px;
  justify-content: center;
}
.cat-pill {
  padding: 9px 18px;
  background: var(--c-surface);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-full);
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--c-ink-soft);
  cursor: pointer;
  transition: all 180ms ease;
}
.cat-pill:hover { border-color: var(--c-ink); color: var(--c-ink); }
.cat-pill.active {
  background: var(--c-ink);
  border-color: var(--c-ink);
  color: #fff;
}

/* ── Combo band ───────────────────────────────────────── */
.combo-band {
  background: var(--c-brand-faint);
  border-radius: var(--radius-md);
  padding: clamp(28px, 4vw, 56px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.combo-band h2 {
  font-size: clamp(1.4rem, 2.4vw, 1.9rem);
  font-weight: 900;
  color: var(--c-brand-dark);
  margin-bottom: 14px;
  line-height: 1.45;
  letter-spacing: -0.02em;
}
.combo-band p {
  color: var(--c-ink-soft);
  line-height: 1.95;
  font-size: 0.92rem;
}
.combo-illust { text-align: center; }
.combo-illust img {
  width: 100%; max-width: 360px;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin: 0 auto;
}
@media (max-width: 760px) { .combo-band { grid-template-columns: 1fr; } }
