/** RC14 — Product page only. P04/P05/P06/P07/P08 approved. No P01/P02/P03 changes. */
@layer gamespsn-brand {
  /* Preserve the outer banner geometry and existing banner geometry. */
  body.gl-brand-2026.single-product .gl-pdp-v1430 .gl-pdp-gift-promo {
    isolation:isolate;
  }
  /* Four actual gift cards from the homepage-approved artwork, never a generic icon. */
  body.gl-brand-2026.single-product .gl-pdp-v1430 .gl-pdp-gift-art {
    background-image:url('../media/gift-cards-actual-artwork.webp') !important;
    background-size:contain !important;
    background-position:center center !important;
    background-repeat:no-repeat !important;
    background-color:transparent !important;
  }
  /* Equal title/meta/price tracks keep native actions aligned without an extra saving row. */
  body.gl-brand-2026.single-product .gl-pdp-v1430 .gl-pdp-related-body {
    display:grid;
    grid-template-rows:minmax(2.55em, auto) minmax(18px, auto) minmax(min-content,1fr) 44px;
    min-width:0;
  }
  body.gl-brand-2026.single-product .gl-pdp-v1430 .gl-pdp-related-name {
    min-height:2.55em !important;
    max-height:2.60em;
    overflow:hidden;
    overflow-wrap:anywhere;
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
  }
  body.gl-brand-2026.single-product .gl-pdp-v1430 .gl-pdp-related-meta {
    min-height:18px;
  }
  body.gl-brand-2026.single-product .gl-pdp-v1430 .gl-pdp-related-price {
    min-height:0;
    margin-top:auto;
    align-content:center;
    flex:0 0 auto;
  }
  /* Retired saving row must not overlap the CTA in cached product markup. */
  body.gl-brand-2026.single-product .gl-pdp-v1430 .gl-pdp-related-savings-row {
    display:none !important;
  }
  body.gl-brand-2026.single-product .gl-pdp-v1430 .glpd-payment-trust {
    margin-bottom:18px !important;
  }
  body.gl-brand-2026.single-product .gl-pdp-v1430 .gl-pdp-related-buy {
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    gap:7px;
    width:100%;
    height:44px;
    min-height:44px !important;
    box-sizing:border-box;
    flex:0 0 auto;
    margin-top:0 !important;
    padding:8px !important;
    line-height:1.2 !important;
    text-align:center;
    text-decoration:none;
    white-space:normal;
  }
  /* At 320px, the regular+sale amount can wrap; reserve equal price height. */
  @media(max-width:359px) {
    body.gl-brand-2026.single-product .gl-pdp-v1430 .gl-pdp-related-price {min-height:36px;}
  }
  @media(prefers-reduced-motion:reduce) {
    body.gl-brand-2026.single-product .gl-pdp-v1430 .gl-pdp-related-buy {transition:none!important;}
  }
}
