/* ═══════════════════════════════════════════════════════════════
   Store hall — Icecrown premium marketplace
   ═══════════════════════════════════════════════════════════════ */

.store-hall .internal-page__bg {
  background:
    radial-gradient(ellipse 70% 45% at 50% 0%, rgba(56, 132, 180, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 40% at 100% 60%, rgba(200, 169, 107, 0.05), transparent),
    radial-gradient(ellipse 40% 35% at 0% 70%, rgba(30, 58, 95, 0.2), transparent),
    var(--bg-deep);
}

.store-hall__particles {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}

.internal-hero--store {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(76, 201, 240, 0.15);
  background:
    linear-gradient(180deg, rgba(8, 16, 28, 0.95) 0%, rgba(4, 8, 16, 0.6) 100%),
    url("data:image/svg+xml,%3Csvg width='120' height='120' viewBox='0 0 120 120' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M60 4 L64 56 L116 60 L64 64 L60 116 L56 64 L4 60 L56 56 Z' fill='none' stroke='%234cc9f0' stroke-opacity='0.06'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

.internal-hero--store::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 80% at 50% 100%, rgba(76, 201, 240, 0.12), transparent);
  pointer-events: none;
}

.internal-hero--store::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(186, 230, 253, 0.4), rgba(200, 169, 107, 0.25), transparent);
}

.store-hero-stats--hidden {
  display: none !important;
}
.store-hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-3);
  margin-top: var(--space-5);
}

.store-hero-stats span {
  padding: 0.45rem 1rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  border: 1px solid rgba(76, 201, 240, 0.15);
  border-radius: 999px;
  background: rgba(8, 14, 26, 0.55);
}

.store-hero-stats strong {
  color: var(--ice-glow);
  margin-right: 0.35rem;
  font-family: var(--font-display);
}

.store-layout {
  display: grid;
  grid-template-columns: minmax(240px, 280px) minmax(0, 1fr);
  gap: var(--space-6);
  align-items: start;
}

.store-layout__rail {
  position: sticky;
  top: 5.5rem;
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  padding: var(--space-5);
  max-height: calc(100vh - 6.5rem);
  overflow: auto;
}

.store-rail__wallet {
  padding-bottom: var(--space-4);
  border-bottom: 1px solid rgba(76, 201, 240, 0.1);
}

.store-rail__wallet-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.store-rail__wallet-value {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--gold-light);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.store-rail__wallet-hint {
  margin: 0 0 var(--space-4);
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.store-cat-nav--rail {
  flex-direction: column;
  align-items: stretch;
  flex-wrap: nowrap;
  gap: 0.4rem;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
}

.store-cat-nav--rail .store-cat-nav__link {
  justify-content: flex-start;
  align-items: center;
  gap: 0.65rem;
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.82rem;
  padding: 0.55rem 0.7rem;
  border-radius: 0;
  border: none;
  border-left: 2px solid transparent;
  background: transparent;
}

.store-cat-nav__mark {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(125, 211, 252, 0.35);
  box-shadow: 0 0 8px rgba(125, 211, 252, 0.25);
  flex-shrink: 0;
}

.store-cat-nav__label {
  flex: 1;
  color: var(--text-muted);
}

.store-cat-nav__count {
  margin-left: auto;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--text-dim);
  min-width: 1.25rem;
  text-align: right;
}

.store-rail__cart-panel {
  margin: var(--space-4) 0;
  padding: var(--space-4) 0;
  border-top: 1px solid rgba(76, 201, 240, 0.1);
  border-bottom: 1px solid rgba(76, 201, 240, 0.1);
}

.store-rail__cart-hint {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.store-rail__cart-summary {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  margin-bottom: 0.75rem;
}

.store-rail__cart-count {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.store-rail__cart-total {
  font-family: var(--font-display);
  color: var(--gold-light);
  font-size: 1.05rem;
}

.store-rail__cart-list {
  list-style: none;
  margin: 0 0 0.85rem;
  padding: 0;
  display: grid;
  gap: 0.35rem;
}

.store-rail__cart-item {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.store-rail__cart-item.is-unavailable {
  color: #f0a0a0;
}

.store-rail__cart-item em {
  font-style: normal;
  color: var(--text-dim);
}

.store-rail__cart-actions {
  display: grid;
  gap: 0.5rem;
}

.store-cat-nav--rail .store-cat-nav__link em {
  margin-left: auto;
  font-style: normal;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.store-rail__vote {
  margin-top: auto;
}

.store-layout__main {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
  min-width: 0;
}

.store-block {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

.store-section-head {
  margin: 0;
}

.store-section-head--split {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--space-4);
}

.store-section-head__hint {
  margin: 0;
  max-width: 32rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.55;
  text-align: right;
}

.store-hall-intro {
  padding: var(--space-5) var(--space-6);
  margin-bottom: 0;
  border: 1px solid rgba(76, 201, 240, 0.12);
  background: linear-gradient(155deg, rgba(12, 20, 36, 0.92), rgba(6, 10, 18, 0.95));
  position: relative;
  overflow: hidden;
}

.store-hall-intro::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(186, 230, 253, 0.35), transparent);
}

.store-rune-sep {
  height: 1px;
  margin: var(--space-7) 0;
  border: none;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(76, 201, 240, 0.2) 20%,
    rgba(200, 169, 107, 0.15) 50%,
    rgba(76, 201, 240, 0.2) 80%,
    transparent
  );
  position: relative;
}

.store-rune-sep::after {
  content: "◆";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.45rem;
  color: rgba(125, 211, 252, 0.5);
  background: var(--bg-deep);
  padding: 0 0.5rem;
}

/* ─── Featured ─── */
.store-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
}

.store-featured-card {
  position: relative;
  display: grid;
  grid-template-rows: minmax(160px, 1fr) auto;
  padding: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  transition:
    transform var(--duration-frost, 0.55s) var(--ease-lich, cubic-bezier(0.22, 0.61, 0.36, 1)),
    box-shadow var(--duration-frost, 0.55s) ease,
    border-color 0.55s ease;
}

.store-featured-card:hover {
  transform: translateY(-5px);
}

.store-featured-card__art {
  position: relative;
  min-height: 180px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(76, 201, 240, 0.15);
}

.store-featured-card__art::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 100%, rgba(76, 201, 240, 0.2), transparent),
    linear-gradient(180deg, rgba(8, 14, 24, 0.3), rgba(4, 8, 14, 0.85));
}

.store-featured-card__art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='40' cy='40' r='36' fill='none' stroke='%237dd3fc' stroke-opacity='0.08' stroke-width='1'/%3E%3Cpath d='M40 8 L44 36 L72 40 L44 44 L40 72 L36 44 L8 40 L36 36 Z' fill='none' stroke='%23c8a96b' stroke-opacity='0.1'/%3E%3C/svg%3E");
  background-position: center;
  background-size: 140px;
  opacity: 0.9;
  animation: storeRuneSpin 48s linear infinite;
}

@keyframes storeRuneSpin {
  to { transform: rotate(360deg); }
}

.store-featured-card__glyph {
  position: relative;
  z-index: 1;
  font-size: 3.5rem;
  filter: drop-shadow(0 0 24px rgba(125, 211, 252, 0.4));
}

.store-featured-card__body {
  padding: var(--space-4) var(--space-5) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.store-featured-card--rarity-rare {
  border-color: rgba(59, 130, 246, 0.35);
  box-shadow: inset 0 0 40px rgba(59, 130, 246, 0.06);
}

.store-featured-card--rarity-epic {
  border-color: rgba(168, 85, 247, 0.4);
  box-shadow: inset 0 0 48px rgba(168, 85, 247, 0.08);
}

.store-featured-card--rarity-legendary {
  border-color: rgba(200, 169, 107, 0.45);
  box-shadow:
    inset 0 0 56px rgba(200, 169, 107, 0.1),
    0 0 32px rgba(200, 169, 107, 0.08);
}

.store-featured-card--rarity-legendary .store-featured-card__art {
  background: linear-gradient(160deg, rgba(200, 169, 107, 0.12), rgba(8, 12, 22, 0.95));
}

.store-rarity-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.55rem;
  border-radius: 3px;
  width: fit-content;
}

.store-rarity-tag--rare {
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.45);
  background: rgba(30, 58, 138, 0.25);
}

.store-rarity-tag--epic {
  color: #d8b4fe;
  border: 1px solid rgba(168, 85, 247, 0.45);
  background: rgba(88, 28, 135, 0.2);
}

.store-rarity-tag--legendary {
  color: #fde68a;
  border: 1px solid rgba(200, 169, 107, 0.5);
  background: rgba(120, 90, 40, 0.25);
}

.store-featured-card__name {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
  margin: 0;
  line-height: 1.25;
}

.store-featured-card__desc {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

.store-featured-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  margin-top: var(--space-2);
  padding-top: var(--space-3);
  border-top: 1px solid rgba(76, 201, 240, 0.1);
}

.store-featured-card__price {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--gold-light);
  text-shadow: 0 0 20px rgba(200, 169, 107, 0.25);
}

/* ─── Category panels ─── */
.store-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--space-4);
}

.store-cat-card {
  padding: 0;
  min-height: 200px;
  cursor: pointer;
  overflow: hidden;
  border: 1px solid rgba(76, 201, 240, 0.12);
  transition:
    transform var(--duration-frost, 0.55s) var(--ease-lich),
    border-color 0.55s ease,
    box-shadow 0.55s ease;
}

.store-cat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 211, 252, 0.35);
  box-shadow: var(--glow-frost-deep, 0 0 40px rgba(56, 189, 248, 0.12));
}

.store-cat-card__art {
  position: relative;
  height: 88px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.store-cat-card__art--monturas {
  background: linear-gradient(165deg, rgba(56, 132, 180, 0.35), rgba(6, 12, 22, 0.95));
}
.store-cat-card__art--mascotas {
  background: linear-gradient(165deg, rgba(88, 60, 140, 0.3), rgba(6, 12, 22, 0.95));
}
.store-cat-card__art--transfiguraciones {
  background: linear-gradient(165deg, rgba(76, 201, 240, 0.25), rgba(40, 60, 90, 0.9));
}
.store-cat-card__art--insta80 {
  background: linear-gradient(165deg, rgba(200, 169, 107, 0.28), rgba(6, 12, 22, 0.95));
}
.store-cat-card__art--profesiones {
  background: linear-gradient(165deg, rgba(80, 120, 80, 0.25), rgba(6, 12, 22, 0.95));
}
.store-cat-card__art--materiales {
  background: linear-gradient(165deg, rgba(100, 90, 70, 0.3), rgba(6, 12, 22, 0.95));
}
.store-cat-card__art--servicios {
  background: linear-gradient(165deg, rgba(76, 120, 160, 0.28), rgba(6, 12, 22, 0.95));
}
.store-cat-card__art--pve {
  background: linear-gradient(165deg, rgba(168, 85, 247, 0.2), rgba(6, 12, 22, 0.95));
}
.store-cat-card__art--pvp {
  background: linear-gradient(165deg, rgba(220, 80, 80, 0.22), rgba(6, 12, 22, 0.95));
}
.store-cat-card__art--cosmeticos {
  background: linear-gradient(165deg, rgba(200, 169, 107, 0.2), rgba(76, 201, 240, 0.1));
}

.store-cat-card__rune {
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='30' cy='30' r='26' fill='none' stroke='%234cc9f0' stroke-opacity='0.12'/%3E%3C/svg%3E");
  background-position: center;
  opacity: 0.8;
}

.store-cat-card__icon {
  position: relative;
  z-index: 1;
  font-size: 2rem;
  filter: drop-shadow(0 0 12px rgba(125, 211, 252, 0.35));
}

.store-cat-card__body {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  flex: 1;
}

.store-cat-card__title {
  margin-bottom: var(--space-2);
}

.store-cat-card__desc {
  margin-bottom: var(--space-3);
}

.store-cat-card__link {
  margin-top: auto;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ice);
  font-weight: 600;
}

/* ─── Catalog items ─── */
.store-rarity-tag--legendary {
  color: #ff9f43;
  border-color: rgba(255, 159, 67, 0.45);
  background: rgba(255, 159, 67, 0.1);
}

.store-rarity-tag--common {
  color: #cbd5e1;
  border-color: rgba(148, 163, 184, 0.35);
  background: rgba(148, 163, 184, 0.08);
}

.store-rarity-tag--uncommon {
  color: #86efac;
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.store-rarity-tag--heirloom {
  color: #fde68a;
  border-color: rgba(200, 169, 107, 0.45);
  background: rgba(200, 169, 107, 0.1);
}

.store-rarity-tag--exotic {
  color: #fb7185;
  border-color: rgba(244, 63, 94, 0.45);
  background: rgba(244, 63, 94, 0.1);
  box-shadow: 0 0 12px rgba(244, 63, 94, 0.12);
}

.item-name--common { color: #e2e8f0; }
.item-name--uncommon { color: #86efac; }
.item-name--rare { color: #93c5fd; }
.item-name--epic { color: #d8b4fe; }
.item-name--legendary { color: #fdba74; }
.item-name--heirloom { color: #fde68a; }
.item-name--exotic { color: #fda4af; text-shadow: 0 0 14px rgba(244, 63, 94, 0.18); }

.store-item--rarity-common,
.item-rarity-common { border-color: rgba(148, 163, 184, 0.22); }
.store-item--rarity-uncommon,
.item-rarity-uncommon { border-color: rgba(34, 197, 94, 0.28); box-shadow: 0 0 18px rgba(34, 197, 94, 0.06); }
.store-item--rarity-rare { border-color: rgba(59, 130, 246, 0.25); }
.store-item--rarity-epic { border-color: rgba(168, 85, 247, 0.28); box-shadow: 0 0 20px rgba(168, 85, 247, 0.08); }
.store-item--rarity-legendary {
  border-color: rgba(255, 159, 67, 0.35);
  box-shadow: 0 0 24px rgba(255, 159, 67, 0.1);
}
.store-item--rarity-heirloom,
.item-rarity-heirloom {
  border-color: rgba(200, 169, 107, 0.42);
  box-shadow: 0 0 22px rgba(200, 169, 107, 0.12);
}
.store-item--rarity-exotic,
.item-rarity-exotic {
  border-color: rgba(244, 63, 94, 0.38);
  box-shadow: 0 0 26px rgba(244, 63, 94, 0.12);
}

.store-featured-card--rarity-uncommon { border-color: rgba(34, 197, 94, 0.25); }
.store-featured-card--rarity-heirloom { border-color: rgba(200, 169, 107, 0.35); }
.store-featured-card--rarity-exotic {
  border-color: rgba(244, 63, 94, 0.35);
  box-shadow: 0 0 30px rgba(244, 63, 94, 0.14);
}

.store-item__visual {
  height: 130px;
  position: relative;
}

.store-item__visual::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(186, 230, 253, 0.3), transparent);
}

@media (max-width: 1400px) {
  .store-categories-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .store-featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 992px) {
  .store-categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .store-featured-grid,
  .store-categories-grid {
    grid-template-columns: 1fr;
  }

  .store-layout {
    grid-template-columns: 1fr;
  }

  .store-layout__rail {
    position: static;
    max-height: none;
  }

  .store-cat-nav--rail {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .store-cat-nav--rail .store-cat-nav__link em {
    margin-left: 0.35rem;
  }
}

/* ─── Category navigation + grouped sections ─── */
.store-cat-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
  padding: var(--space-4) var(--space-5);
  margin: var(--space-6) 0 var(--space-7);
  border: 1px solid rgba(76, 201, 240, 0.14);
}

.store-cat-nav__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(76, 201, 240, 0.15);
  background: rgba(6, 12, 22, 0.6);
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition:
    border-color 0.5s ease,
    color 0.5s ease,
    box-shadow 0.5s ease,
    transform var(--duration-frost, 0.55s) var(--ease-lich, ease);
}

.store-cat-nav__link:hover {
  border-color: rgba(200, 169, 107, 0.35);
  color: var(--gold-light);
  box-shadow: 0 0 16px rgba(76, 201, 240, 0.1);
  transform: translateY(-2px);
}

.store-sections {
  display: flex;
  flex-direction: column;
  gap: var(--space-7);
}

.store-category-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-4);
}

.store-category-overview__card {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: var(--space-4);
  text-decoration: none;
  min-height: 190px;
  border: 1px solid rgba(76, 201, 240, 0.12);
  background: linear-gradient(160deg, rgba(10, 18, 32, 0.9), rgba(5, 8, 15, 0.96));
}

.store-category-overview__card:hover {
  border-color: rgba(200, 169, 107, 0.3);
}

.store-category-overview__eyebrow,
.store-category-section__count {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 107, 0.18);
  background: rgba(200, 169, 107, 0.08);
  color: var(--gold-light);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.store-category-overview__title {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.1rem;
}

.store-category-overview__desc {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.55;
  flex: 1;
}

.store-category-overview__meta {
  color: var(--ice);
  font-size: 0.82rem;
  font-weight: 600;
}

.store-category-section {
  padding: var(--space-5) var(--space-6);
  border: 1px solid rgba(76, 201, 240, 0.12);
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(10, 18, 32, 0.85), rgba(4, 8, 14, 0.95));
  scroll-margin-top: 6rem;
  transition:
    border-color 0.45s ease,
    box-shadow 0.45s ease,
    transform 0.45s ease;
}

.store-category-section.is-active {
  transform: scale(1.01);
  border-color: rgba(200, 169, 107, 0.42);
  box-shadow:
    0 0 36px rgba(76, 201, 240, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.store-category-section.is-active .panel-title {
  color: var(--gold-light);
  text-shadow: 0 0 18px rgba(200, 169, 107, 0.18);
}

.store-category-section.is-active .store-category-section__mark {
  box-shadow: 0 0 20px rgba(200, 169, 107, 0.25);
}

.store-rail__catalog-label {
  margin: 0 0 0.65rem;
  padding: 0 0.15rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold-light);
}

.store-cat-nav--rail .store-cat-nav__link.is-active {
  border-left-color: rgba(125, 211, 252, 0.85);
  background: linear-gradient(90deg, rgba(76, 201, 240, 0.1), transparent);
  box-shadow: inset 0 0 24px rgba(76, 201, 240, 0.06);
}

.store-cat-nav--rail .store-cat-nav__link.is-active .store-cat-nav__mark {
  background: var(--gold-light);
  box-shadow: 0 0 10px rgba(200, 169, 107, 0.45);
}

.store-cat-nav--rail .store-cat-nav__link.is-active .store-cat-nav__label {
  color: var(--gold-light);
}

.store-cat-nav--rail .store-cat-nav__link:hover {
  border-left-color: rgba(200, 169, 107, 0.45);
  background: linear-gradient(90deg, rgba(200, 169, 107, 0.08), transparent);
}

.store-cat-nav--rail .store-cat-nav__link:hover .store-cat-nav__label {
  color: #e8eef5;
}

.store-category-section__mark {
  width: 3px;
  min-height: 3rem;
  align-self: stretch;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(125, 211, 252, 0.7), rgba(200, 169, 107, 0.45));
  box-shadow: 0 0 16px rgba(76, 201, 240, 0.15);
}

.store-category-section.is-active .store-category-section__mark {
  box-shadow: 0 0 20px rgba(200, 169, 107, 0.25);
}

.store-item__visual-icon--mark,
.store-featured-card__glyph--mark {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid rgba(125, 211, 252, 0.25);
  background: radial-gradient(circle at 30% 30%, rgba(125, 211, 252, 0.2), rgba(6, 12, 22, 0.8));
  box-shadow: inset 0 0 18px rgba(76, 201, 240, 0.12);
}

.store-category-section--highlight {
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 0 40px rgba(76, 201, 240, 0.12);
}

.store-category-section__head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--space-4);
  align-items: start;
}

.store-category-section__intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--space-4);
  min-width: 0;
}

.store-category-section__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
}

.store-category-section__icon {
  width: 3rem;
  height: 3rem;
  display: grid;
  place-items: center;
  font-size: 1.5rem;
  border-radius: var(--radius);
  border: 1px solid rgba(76, 201, 240, 0.2);
  background: rgba(76, 201, 240, 0.08);
  box-shadow: inset 0 0 24px rgba(76, 201, 240, 0.06);
}

.store-category-section__copy p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  font-size: 0.88rem;
  max-width: 58ch;
  line-height: 1.55;
}

.store-rune-sep--tight {
  margin: var(--space-4) 0 var(--space-5);
}

.store-category-section__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
  gap: var(--space-4);
}

/* Tarjeta estilo referencia WoW — icono, nombre, meta y un solo botón */
.store-card--wow {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0.85rem 1.1rem;
  min-height: 0;
  border: 1px solid rgba(200, 169, 107, 0.22);
  background: linear-gradient(180deg, rgba(12, 20, 34, 0.95), rgba(6, 10, 18, 0.98));
  cursor: pointer;
}

.store-premium-card {
  cursor: pointer;
}

.store-card--wow:hover {
  border-color: rgba(200, 169, 107, 0.42);
  box-shadow: 0 0 24px rgba(76, 201, 240, 0.12);
}

.store-card__wow-icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  margin-bottom: 0.55rem;
}

.store-card__wow-icon .store-card__icon,
.store-card__wow-icon img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.store-card__icon-link {
  display: grid;
  place-items: center;
  line-height: 0;
}

.store-card__wow-name {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  line-height: 1.25;
  min-height: 2.5em;
}

.store-card__wow-name a,
.store-card__wow-name span[data-wowhead] {
  color: inherit;
  text-decoration: none;
  cursor: help;
}

.store-card__wow-name a:hover {
  text-decoration: underline;
}

.store-card__wow-meta {
  margin: 0.15rem 0;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.store-card__wow-meta--faction strong {
  color: #93c5fd;
}

.store-card__wow-price {
  margin: 0.55rem 0 0.75rem;
  font-size: 0.82rem;
  color: var(--gold-light);
}

.store-card__wow-add {
  margin-top: auto;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

.store-category-section__grid .store-item--pack {
  min-height: 0;
}

.store-category-section__toggle {
  min-width: 120px;
}

.store-category-section__grid .store-item__badge {
  top: 0.5rem;
  right: 0.5rem;
  z-index: 2;
}

.store-item--pack .store-card__description {
  display: none;
}

.store-pack-preview {
  margin: 0.35rem 0 0;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

.store-pack-preview__label {
  margin: 0 0 0.25rem;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dim);
}

.store-pack-preview__list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 0.8rem;
  color: #94a3b8;
}

.store-pack-preview__row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.2rem;
  min-width: 0;
}

.store-pack-preview__name {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  word-break: break-word;
}

.store-pack-preview__more {
  margin-top: 0.15rem;
  font-size: 0.78rem;
  color: var(--gold-soft, #c9a227);
  font-style: normal;
}

.store-pack-preview__icon {
  border-radius: 4px;
  flex-shrink: 0;
}

.store-pack-preview__glyph {
  width: 22px;
  height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: rgba(8, 18, 38, 0.6);
  font-size: 0.65rem;
  flex-shrink: 0;
}

.store-detail-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.store-detail-modal[hidden] {
  display: none !important;
}

.store-detail-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 8, 20, 0.72);
  backdrop-filter: blur(4px);
}

.store-detail-modal__panel {
  position: relative;
  z-index: 1;
  width: min(520px, 100%);
  max-height: min(90vh, 720px);
  overflow: auto;
  margin: 0;
  padding: 0;
}

.store-detail-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem 1.25rem 0.75rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.store-detail-modal__head h2 {
  margin: 0.25rem 0 0;
  font-size: 1.35rem;
  line-height: 1.25;
}

.store-detail-modal__meta {
  margin: 0.35rem 0 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.store-detail-modal__close {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.15rem 0.35rem;
}

.store-detail-modal__body {
  padding: 1rem 1.25rem;
}

.store-detail-modal__hero {
  border-radius: 10px;
  overflow: hidden;
  background: rgba(4, 10, 22, 0.55);
  min-height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.store-detail-modal__image {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  display: block;
}

.store-detail-modal__placeholder {
  width: 100%;
  height: 160px;
  background: linear-gradient(135deg, rgba(30, 58, 95, 0.35), rgba(8, 18, 38, 0.8));
}

.store-detail-modal__price {
  margin: 0 0 0.75rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gold-soft, #e8c468);
}

.store-detail-modal__desc {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.55;
  font-size: 0.92rem;
}

.store-detail-modal__pack-title {
  margin: 0 0 0.65rem;
  font-size: 0.95rem;
}

.store-pack-modal__items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.store-pack-modal__row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.45rem 0.5rem;
  border-radius: 8px;
  background: rgba(8, 18, 38, 0.45);
}

.store-pack-modal__icon {
  border-radius: 6px;
  flex-shrink: 0;
}

.store-pack-modal__glyph {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(4, 10, 22, 0.7);
  flex-shrink: 0;
}

.store-pack-modal__copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.store-pack-modal__name {
  font-weight: 600;
  word-break: break-word;
}

.store-pack-modal__meta {
  font-size: 0.78rem;
  color: var(--text-dim);
}

.store-detail-modal__foot {
  padding: 0 1.25rem 1.25rem;
}

body.store-detail-open {
  overflow: hidden;
}

.store-featured-card__foot {
  flex-wrap: wrap;
  gap: 0.5rem;
}

.store-featured-card--pack .store-featured-card__desc {
  display: none;
}

@media (max-width: 1200px) {
  .store-category-section__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .store-category-section__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .store-category-section__grid {
    grid-template-columns: 1fr;
  }

  .store-category-section {
    padding: var(--space-4);
  }

  .store-section-head--split,
  .store-category-section__head,
  .store-category-section__intro {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
  }

  .store-section-head__hint,
  .store-category-section__actions {
    text-align: left;
    align-items: flex-start;
  }

  .store-category-overview {
    grid-template-columns: 1fr;
  }

  .store-card__actions {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .store-featured-card__art::after {
    animation: none;
  }

  .store-cat-nav__link:hover,
  .store-featured-card:hover {
    transform: none;
  }
}

/* Admin-ready product images */
.store-item__image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: inherit;
  filter: saturate(1.1) contrast(1.05);
  background: rgba(4, 10, 22, 0.45);
  padding: 0.35rem;
  box-sizing: border-box;
}
.store-featured-card__art .store-item__image,
.store-item__visual .store-item__image {
  position: absolute;
  inset: 0;
}
.store-featured-card__art::after,
.store-item__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 18, 38, 0.08), rgba(4, 11, 24, 0.55));
  pointer-events: none;
}

.store-pack-contents {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  font-size: 0.82rem;
  color: #94a3b8;
}
.store-pack-contents__row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}
.store-pack-contents__row em {
  margin-left: auto;
  font-style: normal;
  opacity: 0.85;
}
.store-pack-contents__icon {
  border-radius: 4px;
  flex-shrink: 0;
}
.store-item--pack .store-item__desc {
  margin-bottom: 0.25rem;
}

.store-block--premium {
  margin-bottom: 2rem;
}

.store-premium-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.store-premium-card {
  display: grid;
  grid-template-columns: minmax(140px, 220px) 1fr;
  gap: 1.25rem;
  align-items: stretch;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(200, 169, 107, 0.35);
  background: linear-gradient(135deg, rgba(18, 28, 48, 0.96), rgba(8, 12, 22, 0.98));
  cursor: pointer;
}

.store-premium-card:hover {
  border-color: rgba(125, 211, 252, 0.45);
  box-shadow: 0 0 28px rgba(76, 201, 240, 0.14);
}

.store-premium-card__media {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 160px;
  border-radius: 10px;
  background: radial-gradient(circle at 50% 35%, rgba(76, 201, 240, 0.12), rgba(0, 0, 0, 0.35));
}

.store-premium-card__icon {
  width: 96px;
  height: 96px;
}

.store-premium-card__icon .store-card__icon,
.store-premium-card__icon img {
  width: 80px;
  height: 80px;
}

.store-premium-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  min-width: 0;
}

.store-premium-card__name {
  margin: 0;
  font-size: 1.15rem;
}

.store-premium-card__desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.store-premium-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-top: auto;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.store-premium-card__price {
  color: var(--gold-light);
}

.store-premium-card__add {
  align-self: flex-start;
  margin-top: 0.35rem;
}

@media (max-width: 768px) {
  .store-premium-card {
    grid-template-columns: 1fr;
  }
}
