/* Spacious storefront composition and reusable components. */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 104px;
}
.header-actions { display: flex; align-items: center; gap: 18px; }
.icon-link { width: 28px; height: 28px; color: var(--muted); display: inline-flex; }
.icon-link svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.avatar-placeholder { border-radius: 50%; width: 48px; height: 48px; object-fit: cover; }
.storefront-layout,
.storefront-content { min-width: 0; }
.featured-hero {
  position: relative;
  height: clamp(260px, 27vw, 420px);
  border-radius: var(--radius);
  overflow: hidden;
  background: #0f2335;
  margin-bottom: 28px;
}
.featured-hero > img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }



.category-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 18px 22px;
  margin-bottom: 32px;
  background: #ffffff05;
  border: 1px solid #ffffff0d;
  border-radius: 16px;
}
.category-bar h2 { flex: none; font-size: 16px; margin: 0; }
.category-list {
  display: flex;
  flex: 1 1 auto;
  max-width: 100%;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.category-list > li { min-width: 0; max-width: 100%; }
.category-button {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  padding: 10px 16px;
  border: 1px solid #ffffff12;
  border-radius: 999px;
  background: #ffffff05;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}
.category-button.is-active { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-border); }
.header-login { color: var(--accent); background: var(--accent-soft); border-color: var(--accent-border); flex-shrink: 0; white-space: nowrap; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.header-login:hover, .header-login:focus-visible { color: var(--canvas); background: var(--accent); border-color: var(--accent); }
.category-button:disabled,
.social-button:disabled { opacity: 1; cursor: not-allowed; }
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: 24px;
  scroll-margin-top: 24px;
}
.game-card {
  background: #ffffff05;
  border: 1px solid #ffffff09;
  border-radius: var(--radius);
  padding: 18px;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
.game-art { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 12px; margin-bottom: 16px; }
.game-card h2 { font-size: 20px; line-height: 1.35; margin: 0; font-weight: 600; }
.game-pricing { margin-top: auto; padding-top: 28px; }
.game-price-caption { color: var(--muted); font-size: 13px; line-height: 1.5; margin: 0 0 6px; }
.game-purchase { display: flex; align-items: center; gap: 16px; }
.game-price { font-size: 30px; color: var(--accent); font-weight: 600; line-height: 1.2; }
.purchase-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--accent);
  color: #171a1d;
  font-weight: 600;
  font-size: 17px;
  border-radius: 999px;
  min-height: 48px;
  padding: 10px 20px;
  text-align: center;
}
.purchase-button:disabled { opacity: 1; cursor: not-allowed; }
.game-purchase .purchase-button { flex: 1; min-width: 0; }
.social-buttons { display: flex; flex: none; align-items: center; gap: 8px; }
.social-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  padding: 0;
  color: var(--text);
  border: 1px solid #ffffff14;
}
.social-button-discord { background: #5865f22b; }
.social-button-youtube { background: #f0444424; }
.social-button svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.social-button-discord { color: #c0c5ff; }
.social-button-discord circle { fill: currentColor; stroke: none; }
.social-button-youtube { color: #ffb5b5; }
.social-button-youtube svg path { fill: currentColor; stroke: none; }

/* Vantix homepage branding. */
.store-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex: none;
  color: var(--text);
}
.store-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex: none;
}
.store-brand-name {
  font-size: 25px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--accent);
}

/* Original FPS banner artwork with accessible HTML headline. */
.featured-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #07101ceb 0%, #07101c85 42%, #07101c00 75%);
  pointer-events: none;
}
.hero-copy {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  padding: clamp(24px, 4vw, 64px);
}
.hero-copy h2 {
  max-width: 700px;
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 3.5vw, 58px);
  line-height: 1.12;
  letter-spacing: -.025em;
  font-weight: 700;
  text-wrap: balance;
}
.hero-copy h2 span { color: var(--accent); }


/* Interactive storefront additions preserve the approved card geometry. */
.category-button { display: inline-block; }
.category-button:hover, .purchase-button:hover { background: var(--accent-soft); color: var(--accent); }
.purchase-button:hover { background: var(--accent-hover); color: #171a1d; }
.game-grid[aria-busy="true"] { opacity: .65; }
.game-grid--featured { grid-template-rows: auto; }
.game-art-link { display: block; }
.game-purchase { flex-wrap: wrap; gap: 10px; }
.game-purchase .purchase-button { font-size: 15px; padding-inline: 14px; }
.game-price { font-size: 26px; }
.game-price del { color: var(--muted); font-size: .7em; }
.game-price ins { text-decoration: none; }
.game-price .woocommerce-price-suffix { display: block; font-size: 11px; }
.game-stock { margin-top: 8px; font-size: 12px; color: var(--muted); }
.game-stock p { margin: 0; }
.game-stock .out-of-stock { color: #ffb5b5; }
.product-details { display: inline-block; margin-top: 12px; font-size: 12px; color: var(--muted); text-decoration: underline; }
.catalog-feedback p { margin: 0 0 12px; font-size: 13px; }
.catalog-feedback p:empty { display: none; }
.catalog-feedback [hidden] { display: none; }
#vantix-catalog-error { color: #ffb5b5; }
#vantix-catalog-retry { margin-bottom: 16px; }
.catalog-empty { grid-column: 1 / -1; margin: 0; color: var(--muted); }
.catalog-empty a { color: var(--accent); text-decoration: underline; }

/* Shared header status action; destination is a placeholder for the future status page. */
.status-button { display: inline-flex; align-items: center; gap: 8px; color: #65e6a3; border-color: #65e6a347; background: #65e6a312; text-decoration: none; flex: none; }
.status-button:hover { color: #9af6c4; border-color: #65e6a380; background: #65e6a321; }
.status-button svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
@media (max-width: 540px) {
  .site-header { flex-wrap: wrap; }
  .header-actions { gap: 12px; }
  .status-button { padding: 8px 12px; font-size: 13px; }
}
/* Customer controls share the existing compact header geometry. */
.header-cart { position: relative; }
.header-cart-count { position: absolute; top: -9px; right: -10px; min-width: 19px; height: 19px; padding: 0 4px; border-radius: 999px; background: var(--accent); color: #07101c; font-size: 11px; line-height: 19px; text-align: center; font-weight: 700; }
.account-dropdown { position: relative; }
.account-toggle { display: block; cursor: pointer; list-style: none; border-radius: 50%; }
.account-toggle::-webkit-details-marker { display: none; }
.account-toggle::marker { content: ''; }
.account-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.account-dropdown-panel { position: absolute; right: 0; top: calc(100% + 12px); width: 180px; padding: 8px; border: 1px solid var(--accent-border); border-radius: 16px; background: #142131; box-shadow: 0 14px 40px #0006; z-index: 30; }
.account-dropdown-panel a { display: block; padding: 12px 14px; border-radius: 10px; color: var(--text); text-decoration: none; font-size: 14px; }
.account-dropdown-panel a:hover, .account-dropdown-panel a:focus-visible { color: var(--accent); background: var(--accent-soft); }
