/* where-to-buy.css */

.wtb-intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 3rem;
}
.wtb-intro p { color: var(--text); font-size: 1.1rem; font-style: italic; opacity: 0.9; }

/* ─── REGION FILTER ───────────────────────────────────── */
.region-filter {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.region-btn {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.7em 1.6em;
  border: 1px solid rgba(201,150,42,0.4);
  border-radius: 999px;
  background: rgba(245,237,216,0.06);
  color: var(--text);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.2s, color 0.2s,
              border-color 0.2s, box-shadow 0.25s ease;
}
.region-btn:hover { transform: translateY(-1px); border-color: var(--gold); color: var(--gold-light); background: rgba(201,150,42,0.12); }
.region-btn.active {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold-light);
  color: var(--ink);
  font-weight: 700;
  box-shadow: 0 6px 18px rgba(201,150,42,0.45), inset 0 1px 0 rgba(255,255,255,0.35);
}

/* ─── BANNER ──────────────────────────────────────────── */
.wtb-banner {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 3rem;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
}
.wtb-banner img {
  width: 100%;
  display: block;
  max-height: 280px;
  object-fit: cover;
  object-position: center 40%;
  transition: transform 1s var(--ease);
}
.wtb-banner:hover img { transform: scale(1.04); }
.wtb-banner-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.4rem 1.6rem 1.1rem;
  background: linear-gradient(to top, rgba(26,18,9,0.9), transparent);
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* ─── STORE GRID ──────────────────────────────────────── */
.wtb-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
}

/* ─── STORE CARD ──────────────────────────────────────── */
.wtb-grid .store-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-alt) 100%);
  border: 1px solid rgba(201,150,42,0.28);
  border-radius: var(--radius);
  padding: 0;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(0,0,0,0.4);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease),
              border-color 0.3s ease;
}
.wtb-grid .store-card::after { display: none; }
.wtb-grid .store-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 18px 42px rgba(0,0,0,0.55), 0 0 50px rgba(201,150,42,0.18);
}

/* Header strip with brand-tinted gradient + decorative pattern */
.store-header {
  position: relative;
  height: 130px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 1.6rem;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(135deg, #4a5568 0%, #1a1209 100%);
}
.store-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255,255,255,0.18), transparent 45%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='52' viewBox='0 0 60 52'%3E%3Cpath fill='none' stroke='rgba(255,255,255,0.08)' stroke-width='1' d='M15 0 L45 0 L60 26 L45 52 L15 52 L0 26 Z M30 13 L45 13 L52.5 26 L45 39 L30 39 L22.5 26 Z'/%3E%3C/svg%3E");
  background-size: auto, 60px 52px;
  pointer-events: none;
}
.store-icon {
  position: relative;
  z-index: 1;
  font-size: 2.6rem;
  line-height: 1;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.35));
  transition: transform 0.5s var(--ease);
}
.wtb-grid .store-card:hover .store-icon { transform: scale(1.08) rotate(-4deg); }

.store-tag {
  position: relative;
  z-index: 1;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.4em 0.9em;
  border-radius: 999px;
  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.25);
  color: #fff;
  backdrop-filter: blur(4px);
  white-space: nowrap;
}

/* Brand tints */
.store-card--amazon .store-header {
  background: linear-gradient(135deg, #ff9a3c 0%, #d97706 60%, #7c2d12 100%);
}
.store-card--ipa .store-header {
  background: linear-gradient(135deg, #c0392b 0%, #8b1a1a 60%, #3a0f0f 100%);
}
.store-card--steam .store-header {
  background: linear-gradient(135deg, #66c0f4 0%, #1b2838 75%, #0a141b 100%);
}

/* Body */
.store-body {
  padding: 1.5rem 1.6rem 0.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}
.wtb-grid .store-name {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.02em;
}
.wtb-grid .store-region {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}
.wtb-grid .store-desc {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.55;
  margin: 0;
  flex: 1;
  opacity: 0.92;
}

/* CTA bar at the bottom */
.store-cta {
  margin: 1.2rem 1.6rem 1.4rem;
  padding: 1em 1.4em;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink);
  background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 55%, var(--gold-dark) 100%);
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(201,150,42,0.35), inset 0 1px 0 rgba(255,255,255,0.4);
  transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.wtb-grid .store-card:hover .store-cta {
  box-shadow: 0 10px 26px rgba(201,150,42,0.55), inset 0 1px 0 rgba(255,255,255,0.5);
  transform: translateY(-1px);
}
.store-cta-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease);
}
.wtb-grid .store-card:hover .store-cta-arrow {
  transform: translateX(4px);
}

/* Featured ribbon */
.store-featured {
  position: absolute;
  top: 14px;
  right: -34px;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
  color: var(--ink);
  padding: 0.35em 2.5em;
  font-weight: 700;
  transform: rotate(35deg);
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}

/* ─── PHYSICAL VS ONLINE ──────────────────────────────── */
.type-heading {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.4rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(201,150,42,0.35);
  display: flex;
  align-items: center;
  gap: 0.7em;
}

.wtb-section + .wtb-section { margin-top: 3.5rem; }

/* ─── SHIPPING INFO ───────────────────────────────────── */
.shipping-note {
  margin-top: 3rem;
  padding: 1.7rem 2rem;
  border: 1px solid rgba(201,150,42,0.3);
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(201,150,42,0.10), rgba(201,150,42,0.03));
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
}
.shipping-note a { color: var(--gold-light); border-bottom: 1px solid rgba(201,150,42,0.4); }
.shipping-note a:hover { color: #fff; border-color: var(--gold-light); }
.shipping-note strong {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.6rem;
}

/* ─── RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 600px) {
  .wtb-grid { grid-template-columns: 1fr; }
  .store-header { height: 110px; padding: 1.1rem 1.3rem; }
  .store-icon { font-size: 2.2rem; }
}
