/* ═══════════════════════════════════════════════════════════════
   Aretype Shop — modern, clean font archive
   Loads on top of homepage.css (shared nav / footer / reveal)
   ═══════════════════════════════════════════════════════════════ */

/* ── Hero ── */
.ac-shop-hero { padding: 64px 0 36px; border-bottom: 1px solid var(--ac-border); }
.ac-shop-hero-inner { max-width: 680px; }
.ac-shop-eyebrow { font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--ac-text-2); margin-bottom: 14px; }
.ac-shop-title { font-size: clamp(38px,5.5vw,72px); font-weight: 900; letter-spacing: -.05em; line-height: .98; margin: 0 0 16px; color: var(--ac-text); }
.ac-shop-sub { font-size: 16px; color: var(--ac-text-2); line-height: 1.7; margin: 0; max-width: 560px; }
.ac-shop-sub strong { color: var(--ac-text); font-weight: 700; }

/* ── Category filter chips ── */
.ac-shop-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.ac-shop-chip {
  font-size: 13px; font-weight: 600; color: var(--ac-text-2) !important;
  text-decoration: none !important; padding: 9px 18px;
  border: 1px solid var(--ac-border); border-radius: 30px; background: #fff;
  transition: border-color .2s, color .2s, background .2s;
}
.ac-shop-chip:hover { border-color: var(--ac-text-3); color: var(--ac-text) !important; }
.ac-shop-chip.is-on { background: var(--ac-accent); color: #fff !important; border-color: var(--ac-accent); }

/* ── Grid ── */
.ac-shop-grid-sec { padding: 44px 0 80px; }
.ac-shop-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.ac-shop-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--ac-border); border-radius: 18px; overflow: hidden;
  background: #fff; text-decoration: none !important; color: inherit !important;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), box-shadow .3s, border-color .3s;
}
.ac-shop-card:hover { transform: translateY(-4px); box-shadow: 0 18px 48px rgba(15,15,26,.10); border-color: rgba(15,15,26,.2); }
.ac-shop-card:focus-visible { outline: 2px solid var(--ac-accent); outline-offset: 3px; }

.ac-shop-card-visual {
  position: relative; aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  padding: 26px; background: var(--ac-surface); overflow: hidden;
}
.ac-shop-card-visual img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.ac-shop-card:hover .ac-shop-card-visual img { transform: scale(1.04); }
.ac-shop-card-specimen { font-size: clamp(40px,4.4vw,62px); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--ac-text); text-align: center; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ac-shop-card-badge {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-size: 10px; font-weight: 700; color: var(--ac-text-2);
  background: rgba(255,255,255,.9); border: 1px solid var(--ac-border);
  padding: 4px 11px; border-radius: 20px; backdrop-filter: blur(6px);
}

.ac-shop-card-body { display: flex; flex-direction: column; padding: 20px 22px 20px; flex: 1; }
.ac-shop-card-top { margin-bottom: 12px; }
.ac-shop-card-name { font-size: 17px; font-weight: 800; letter-spacing: -.02em; margin: 0 0 3px; color: var(--ac-text); }
.ac-shop-card-sub { font-size: 12.5px; color: var(--ac-text-2); margin: 0; }
.ac-shop-card-tags { font-size: 11.5px; color: var(--ac-text-3); margin-bottom: 16px; }
.ac-shop-card-tags span { color: var(--ac-border); }
.ac-shop-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: auto; padding-top: 14px; border-top: 1px solid var(--ac-border); }
.ac-shop-card-price { font-size: 15px; font-weight: 800; color: var(--ac-text); letter-spacing: -.02em; }
.ac-shop-card-price del { color: var(--ac-text-3); font-weight: 400; font-size: 12px; margin-right: 4px; }
.ac-shop-card-cta { display: inline-flex; align-items: center; gap: 5px; font-size: 12.5px; font-weight: 700; color: var(--ac-accent); transition: gap .2s; }
.ac-shop-card:hover .ac-shop-card-cta { gap: 9px; }

/* ── Pagination ── */
.ac-shop-pagination { margin-top: 44px; }
.ac-shop-pagination ul { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; justify-content: center; }
.ac-shop-pagination a, .ac-shop-pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 40px; height: 40px; padding: 0 12px;
  font-size: 13px; font-weight: 600; color: var(--ac-text-2) !important;
  text-decoration: none !important; border: 1px solid var(--ac-border); border-radius: 10px; background: #fff;
  transition: border-color .2s, color .2s, background .2s;
}
.ac-shop-pagination a:hover { border-color: var(--ac-text-3); color: var(--ac-text) !important; }
.ac-shop-pagination .current { background: var(--ac-accent); color: #fff !important; border-color: var(--ac-accent); }

/* ── Empty ── */
.ac-shop-empty { text-align: center; padding: 64px 0; }
.ac-shop-empty h2 { font-size: 24px; font-weight: 900; letter-spacing: -.03em; margin: 0 0 8px; }
.ac-shop-empty p { font-size: 14px; color: var(--ac-text-2); margin: 0 0 22px; }

/* ── Responsive ── */
@media (max-width: 1024px) { .ac-shop-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px) {
  .ac-shop-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
  .ac-shop-page .ac-nav-right .ac-nav-util-label { display: none; }
}
