/*
 * My2Game — readable storefront typography, 2026-10-16.
 * Loaded AFTER the single home CSS; never override hero geometry. Preserve
 * a consistent compact premium storefront typography.
 * No changes to purchase state, content, or product data.
 * UIUX-REDESIGN-02: shared sizes resolve via body tokens in storefront-controls.css;
 * fallbacks preserve the previous computed size while CSS loads progressively.
 */
:root {
  --compact-body: 15px;
  --compact-small: 13px;
}
body {
  font-size: var(--m2-type-body, var(--compact-body));
  line-height: 1.55;
}

/* Shared navigation/footer typography lives in storefront-shell.css. */

/* Hero: body copy, search and quick-search chips are the reading baseline. */
body.premium-home .hero-search {
  box-shadow: none;
}
body.premium-home .premium-hero-lead {
  max-width: 530px;
  font-size: var(--m2-type-lead, 16px);
  line-height: 1.55;
}
body.premium-home .hero-search { min-height: 51px; }
body.premium-home .hero-search input { min-height: 40px; font-size: var(--m2-type-lead, 16px); }
body.premium-home .hero-search .primary-button {
  min-height: 40px;
  font-size: var(--m2-type-support, 14px);
}
body.premium-home .hero-search-results { font-size: var(--m2-type-support, 14px); }
body.premium-home .premium-popular-searches { font-size: var(--m2-type-caption, 12px); gap: 7px; }
body.premium-home .premium-popular-searches a {
  min-height: 28px;
  padding: 4px 10px;
  font-size: var(--m2-type-caption, 12px);
}
body.premium-home .premium-benefit strong { font-size: var(--m2-type-support, 14px); line-height: 1.35; }
body.premium-home .premium-benefit small { font-size: var(--m2-type-caption, 12px); line-height: 1.45; }
body.premium-home .premium-benefit-icon { width: 38px; height: 38px; flex-basis: 38px; }

/* Keep the six/four-column rhythm but give titles and action bars room. */
body.premium-home .home-section-head h2 { font-size: 28px; }
body.premium-home .home-show-more-top,
body.premium-home #faq .premium-inline-link { font-size: var(--m2-type-control, 13px); min-height: 28px; }
body.premium-home .home-game-card .game-card-body {
  min-height: 139px;
  padding: 12px;
  gap: 7px;
}
body.premium-home .home-game-card .game-card-body > h3 {
  font-size: var(--m2-type-body, 15px);
  line-height: 1.36;
  min-height: 2.72em;
  max-height: 2.72em;
  overflow-wrap: anywhere;
}
body.premium-home .home-game-meta {
  min-height: 19px;
  font-size: var(--m2-type-caption, 12px);
  line-height: 1.35;
  gap: 7px;
}
body.premium-home .home-game-meta .home-meta-genre { font-size: var(--m2-type-caption, 12px); }
body.premium-home .home-game-meta .home-game-platform { font-size: var(--m2-type-caption, 12px); }
body.premium-home .home-meta-genre > span,
body.premium-home .home-game-platform > span { font-size: var(--m2-type-control, 13px); }
body.premium-home .home-card-actions .game-buy-button {
  min-height: 40px;
  padding-inline: 10px 7px;
  font-size: var(--m2-type-support, 14px);
}
body.premium-home .home-card-actions .game-buy-button svg {
  width: 36px;
  height: 32px;
  flex-basis: 36px;
}
body.premium-home .home-game-chip {
  min-height: 23px;
  padding: 4px 8px;
  font-size: 11px;
}
body.premium-home #preorders .home-game-card .game-card-body,
body.premium-home #top-sellers .home-game-card .game-card-body {
  min-height: 124px;
  padding: 11px 12px 9px;
  gap: 6px;
}
body.premium-home #preorders .home-game-card h3,
body.premium-home #top-sellers .home-game-card h3 {
  font-size: var(--m2-type-body, 15px);
  min-height: 1.36em;
  max-height: 2.72em;
}
body.premium-home #preorders .home-game-card .game-buy-button,
body.premium-home #top-sellers .home-game-card .game-buy-button { min-height: 39px; }

/* FAQ, informative copy and footer are no longer miniaturised. */
body.premium-home #faq .faq-item summary {
  min-height: 46px;
  padding: 12px 16px;
  font-size: var(--m2-type-support, 14px);
  line-height: 1.4;
}
body.premium-home #faq .faq-item p {
  padding: 3px 16px 16px;
  font-size: var(--m2-type-support, 14px);
  line-height: 1.65;
}
body.premium-home .home-seo-copy h2 { font-size: 22px; line-height: 1.3; }
body.premium-home .home-seo-copy p { font-size: var(--m2-type-support, 14px); line-height: 1.65; }
body.premium-home .home-seo-copy a { font-size: var(--m2-type-support, 14px); }

/* Inner pages use the same reading scale but keep their existing layout. */
body.premium-inner .game-card h3 { font-size: var(--m2-type-body, 15px); }
body.premium-inner .game-card-meta :is(span, strong) { font-size: var(--m2-type-control, 13px); }
body.premium-inner :is(.premium-product-lead, .premium-collection-description,
                       .premium-collection-disclaimer, .premium-info-draft p,
                       .premium-info-note, .seo-context-panel p) {
  font-size: var(--m2-type-body, 15px);
  line-height: 1.65;
}
body.premium-inner :is(.seo-context-links a, .premium-info-inline-link) { font-size: var(--m2-type-support, 14px); }
body.premium-inner :is(.primary-button, .secondary-link, .primary-link,
                       .purchase-link, .game-buy-button) { font-size: var(--m2-type-support, 14px); }
body.premium-inner :is(.field input, .select-field, .field textarea) { font-size: var(--m2-type-body, 15px); }
body.premium-inner .field span { font-size: var(--m2-type-control, 13px); }
body.premium-inner .faq-item summary { font-size: var(--m2-type-body, 15px); }
body.premium-inner .faq-item p { font-size: var(--m2-type-support, 14px); }

@media (max-width: 1150px) {
  body.premium-home #popular-new .home-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 850px) {
  body.premium-home #popular-new .home-card-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 600px) {
  
  body.premium-home .hero-search input { font-size: var(--m2-type-lead, 16px); }
  
  
  
  
  body.premium-home #popular-new .home-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  body.premium-home .home-game-card .game-card-body {
    min-height: 145px;
  }
  
  
  



  
  
}
@media (max-width: 360px) {

  body.premium-home .home-card-grid,
  body.premium-home #popular-new .home-card-grid { grid-template-columns: 1fr; }
}
