/* ------------------------------------------------------------------ *
 * Coin archive pages (pa_mineable-coins) — SEO landing styles.
 * Enqueued on /mining/<slug>/. Pairs with firmware.css because the
 * template reuses the .firmware-page__* marketing components.
 * ------------------------------------------------------------------ */
.coin-page {
  background: #fff;
}

.coin-page__hero {
  position: relative;
  padding: 172px 0 64px;
  color: #fff;
  background:
    radial-gradient(circle at 22% 32%, rgba(78, 78, 78, 0.55), transparent 38%),
    radial-gradient(circle at 78% 28%, rgba(56, 56, 56, 0.45), transparent 36%),
    #1f1f1f;
}

.coin-page__hero--has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--coin-hero-image, none) center/cover no-repeat;
  opacity: 0.28;
  filter: saturate(0.85);
}

.coin-page__hero--has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(20, 20, 20, 0.92) 0%, rgba(20, 20, 20, 0.7) 50%, rgba(20, 20, 20, 0.85) 100%);
}

.coin-page__hero > .amg-container {
  position: relative;
  z-index: 1;
}

.coin-page__hero-grid {
  display: grid;
  gap: 24px;
}

.coin-page__hero-copy {
  display: grid;
  gap: 18px;
  max-width: 820px;
}

.coin-page__hero-logo {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 12px 20px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  width: fit-content;
}

.coin-page__hero-logo img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
}

.coin-page__hero-title {
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.06;
  display: grid;
  gap: 8px;
}

.coin-page__hero-tagline {
  display: block;
  font-size: clamp(15px, 1.3vw, 19px);
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--accent);
}

.coin-page__hero-intro {
  margin: 0;
  max-width: 62ch;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.65;
}

.coin-page__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin: 6px 0 0;
  padding: 0;
  list-style: none;
}

.coin-page__facts li {
  display: inline-grid;
  gap: 2px;
  padding: 10px 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
}

.coin-page__fact-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.coin-page__fact-value {
  color: #fff;
  font-size: 15px;
  font-weight: 700;
}

/* Pagination on the products grid. */
.coin-page .pagination,
.coin-page nav.pagination,
.coin-page .nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 32px;
}

.coin-page .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #fff;
  color: #111827;
  font-weight: 700;
}

.coin-page .page-numbers.current {
  border-color: transparent;
  background: var(--accent);
}

.coin-page .page-numbers:hover {
  border-color: #9acd32;
  background: rgba(166, 226, 46, 0.1);
}

@media (max-width: 820px) {
  .coin-page__hero {
    padding: 150px 0 48px;
  }
}

/* ------------------------------------------------------------------ *
 * "Shop by coin" pill strip on the main /shop/ page.
 * Lighter visual weight than the brand strip — coins are text-only.
 * ------------------------------------------------------------------ */
.amg-shop-coins {
  position: relative;
  margin: 0 0 40px;
  padding: 22px 26px 18px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: #fff;
  box-shadow: var(--shadow-1);
  overflow: hidden;
  max-width: 100%;
  min-width: 0;
}

.amg-shop-coins__head {
  display: grid;
  gap: 4px;
  margin-bottom: 14px;
}

.amg-shop-coins__title {
  margin: 0;
  font-size: 18px;
  line-height: 1.2;
  color: #151515;
}

.amg-shop-coins__sub {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.amg-shop-coins__viewport {
  position: relative;
}

.amg-shop-coins__list {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
  margin: 0;
  padding: 2px;
  list-style: none;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
}

.amg-shop-coins__list::-webkit-scrollbar {
  display: none;
}

.amg-shop-coins__item {
  flex: 0 0 168px;
  scroll-snap-align: start;
}

.amg-shop-coins__pill {
  display: grid;
  gap: 4px;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: #fff;
  color: #111827;
  transition: 0.16s ease;
  height: 100%;
}

.amg-shop-coins__pill:hover {
  border-color: #9acd32;
  background: rgba(166, 226, 46, 0.07);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(17, 24, 39, 0.06);
}

.amg-shop-coins__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.amg-shop-coins__name {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.amg-shop-coins__ticker {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 7px;
  border-radius: 999px;
  background: rgba(17, 24, 39, 0.06);
  color: #4b5563;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.amg-shop-coins__meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.3;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Slider arrows (same style as brand slider, lighter footprint). */
.amg-shop-coins__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: #fff;
  color: #111827;
  box-shadow: 0 8px 20px rgba(17, 24, 39, 0.12);
  cursor: pointer;
  z-index: 2;
  transition: background-color 0.16s ease, border-color 0.16s ease, color 0.16s ease, transform 0.16s ease, opacity 0.18s ease;
}

.amg-shop-coins__arrow:hover {
  border-color: transparent;
  background: var(--accent);
  color: #111827;
}

.amg-shop-coins__arrow:active {
  transform: translateY(-50%) scale(0.96);
}

.amg-shop-coins__arrow:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(166, 226, 46, 0.35), 0 8px 20px rgba(17, 24, 39, 0.12);
}

.amg-shop-coins__arrow[hidden] {
  display: none;
}

.amg-shop-coins__arrow svg {
  width: 16px;
  height: 16px;
}

.amg-shop-coins__arrow--prev {
  left: 4px;
}

.amg-shop-coins__arrow--next {
  right: 4px;
}

@media (max-width: 720px) {
  .amg-shop-coins {
    padding: 20px 18px 16px;
  }
  .amg-shop-coins__item {
    flex: 0 0 150px;
  }
  .amg-shop-coins__arrow {
    width: 32px;
    height: 32px;
  }
}
