/* GAMESPSN bundle bundle-pdp-polish: exact concatenation, same order:
 * assets/css/account-offer-rows.rc10.48.css
 * assets/css/pdp-desktop-polish.rc10.58.css
 * assets/css/pdp-mobile-orderfix.rc10.58.css
 */

/* ---- assets/css/account-offer-rows.rc10.48.css ---- */
.glpd-account-options .glpd-ao-add{display:none}.glpd-account-options .glpd-ao-badge{background:var(--glpd-option-badge-bg,var(--gs-x-account_options_badge-bg,var(--gs-color-action-primary-start)));color:var(--glpd-option-badge-text,var(--gs-x-account_options_badge-text,var(--gs-color-on-action)))}.glpd-account-options [data-ao-card][hidden]{display:none!important}.gl-pdp-media>.glpd-account-image-slot{min-width:0;width:100%}.glpd-account-options.is-offer-rows{display:block;box-sizing:border-box;width:100%;min-width:0;margin:18px 0 0}.glpd-account-options.is-offer-rows .glpd-ao-grid{display:flex;flex-direction:column;gap:14px;width:100%}.glpd-account-options.is-offer-rows .glpd-ao-card{display:grid;grid-template-columns:18px minmax(0,1fr) auto auto;gap:8px;align-items:center;min-width:0;width:100%;box-sizing:border-box;padding:14px 10px;cursor:pointer}.glpd-account-options.is-offer-rows .glpd-ao-header{display:contents}.glpd-account-options.is-offer-rows .glpd-ao-radio{grid-column:1;grid-row:1;margin:0}.glpd-account-options.is-offer-rows .glpd-ao-names{grid-column:2;grid-row:1;min-width:0}.glpd-account-options.is-offer-rows .glpd-ao-title{font-size:14px}.glpd-account-options.is-offer-rows .glpd-ao-subtitle{font-size:11px;line-height:1.5}.glpd-account-options.is-offer-rows .glpd-ao-price{grid-column:3;grid-row:1;min-width:0;font-size:16px;text-align:end;white-space:normal}.glpd-account-options.is-offer-rows .glpd-ao-price del{font-size:11px}.glpd-account-options.is-offer-rows .glpd-ao-add{grid-column:4;grid-row:1;display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:36px;max-width:150px;min-width:0;padding:8px 10px;border-radius:7px;font-size:12px;line-height:1.3;background:var(--gs-gradient-action-primary);color:var(--gs-color-on-action);border:1px solid transparent;cursor:pointer;white-space:normal;overflow-wrap:anywhere}.glpd-account-options.is-offer-rows .glpd-ao-add svg{flex:0 0 16px}.glpd-account-options.is-offer-rows .glpd-ao-add:disabled{opacity:.6;cursor:default}.glpd-account-options.is-offer-rows .glpd-ao-add:focus-visible{outline:2px solid var(--gs-color-focus);outline-offset:2px}.glpd-account-options.is-offer-rows .glpd-ao-details{grid-row:2;grid-column:2/-1}@media(max-width:1050px){.glpd-account-options.is-offer-rows .glpd-ao-card{grid-template-columns:18px minmax(0,1fr) auto}.glpd-account-options.is-offer-rows .glpd-ao-names{grid-column:2/-1}.glpd-account-options.is-offer-rows .glpd-ao-price{grid-column:2;grid-row:2;text-align:start}.glpd-account-options.is-offer-rows .glpd-ao-add{grid-column:3;grid-row:2;min-height:40px}.glpd-account-options.is-offer-rows .glpd-ao-details{grid-row:3}}.glpd-account-options [hidden]{display:none!important}.gl-pdp.glpd-ao-main-price-hidden .gl-pdp-summary>.gl-pdp-price-header,.gl-pdp.glpd-ao-main-price-hidden .gl-pdp-summary>.gl-pdp-price-line{display:none!important}.glpd-account-options.glpd-ao-needs-placement:not(.is-enhanced){display:none}.glpd-account-options:not(.is-offer-rows) .glpd-ao-add[data-show-in-card=true]{display:inline-flex;align-items:center;justify-content:center;gap:5px;grid-column:2/-1;min-height:36px;padding:7px 10px;font-size:12px}.gl-theme #main .woocommerce .glpd-account-options .glpd-ao-add{background:var(--gs-x-purchase-button_bg,var(--gs-gradient-action-primary))!important;color:var(--gs-x-purchase-button_text,var(--gs-color-on-action))!important;border-color:var(--gs-x-purchase-button_border,transparent)!important;box-shadow:none!important}.glpd-account-options.is-offer-rows{margin-bottom:14px}.glpd-account-options.is-offer-rows>.glpd-ao-heading{font-size:16px;line-height:1.4;margin-bottom:14px}.glpd-account-options:not(.is-offer-rows):has(.glpd-ao-card:not([hidden])~.glpd-ao-card:not([hidden])~.glpd-ao-card:not([hidden])) .glpd-ao-grid{grid-template-columns:1fr}


/* ---- assets/css/pdp-desktop-polish.rc10.58.css ---- */
/* GAMESPSN Lime RC10.58 desktop PDP refinement.
 * Only the desktop product page (>=861px), not cart, checkout, mobile, or theme controls.
 * Existing Theme Store Control description tokens remain authoritative.
 */
@media (min-width:861px) {
  /* Earlier .gl-pdp-media {align-self:start} shrinks this flex child to the
     image's intrinsic 640px; the card below it stretches to the whole column.
     Stretch the media *box*, then let the existing 8:5 cover fill it naturally. */
  .gl-theme .woocommerce .product.gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-media {
    align-self:stretch;
    width:100%;
    max-width:100%;
    min-width:0;
    box-sizing:border-box;
  }
  .gl-theme .woocommerce .product.gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-media > .gl-pdp-cover {
    width:100%;
    max-width:100%;
    box-sizing:border-box;
  }

  /* Editorial description: a genuinely visible but thin outline, not a large
     opaque card. Reuse owner-customisable Description border/typography tokens. */
  .gl-theme .woocommerce .product.gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-description {
    padding:20px 21px 12px;
    margin:0;
    border:1px solid color-mix(in srgb, var(--gs-x-description-border,var(--gs-border-soft,var(--gs-color-border))) 54%, transparent) !important;
    border-radius:12px;
    background:var(--gs-x-description-bg,transparent);
  }
  /* Do not draw the legacy top divider across the inside of the new outline. */
  .gl-theme .woocommerce .product.gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-description::before {
    display:none;
  }
  .gl-theme .gl-woo-page .product.gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-description > h2 {
    font-size:21px;
    font-weight:780;
    line-height:1.35;
    letter-spacing:-.3px;
    margin-block-end:17px;
  }
  .gl-theme .woocommerce .product.gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-description > h2::after {
    flex:0 0 48px;
    width:48px;
    height:1px;
    opacity:.9;
  }
  .gl-theme .woocommerce .product.gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-description .gl-pdp-prose {
    font-size:14px;
    line-height:1.85;
    color:var(--gs-x-description-text,var(--gs-color-text-body));
  }
  .gl-theme .woocommerce .product.gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-description .gl-pdp-prose :is(p,ul,ol) {
    margin-block-end:13px;
  }
  /* The older RC10.40 rule explicitly disabled the fade (mask-image:none).
     Restore it ONLY for long, collapsed desktop descriptions. Extend the
     short preview slightly so the following paragraph fades in visually,
     while leaving the entire first essential paragraph fully readable.
     The original JS measures the first paragraph and sets the CSS variable. */
  .gl-theme .woocommerce .product.gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-description.gl-pdp-description--collapsible:not(.gl-pdp-description--expanded) .gl-pdp-prose {
    max-height:calc(var(--gl-description-collapse-height,216px) + 38px) !important;
    overflow:hidden;
    mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 38px),transparent 100%) !important;
    -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 38px),transparent 100%) !important;
  }
  .gl-theme .woocommerce .product.gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-description.gl-pdp-description--expanded .gl-pdp-prose {
    max-height:none !important;
    mask-image:none !important;
    -webkit-mask-image:none !important;
  }
  /* A restrained interactive label, keeping the original side lines and
     arrow, focus outlines, ARIA attributes and expansion logic unchanged. */
  .gl-theme .woocommerce .product.gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-description .gl-pdp-read-more-label {
    padding:7px 12px;
    border:1px solid var(--gs-x-description-border,var(--gs-border-soft,var(--gs-color-border)));
    border-radius:999px;
    transition:border-color .15s ease, background-color .15s ease;
  }
  .gl-theme .woocommerce .product.gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-description .gl-pdp-read-more:hover .gl-pdp-read-more-label {
    background:var(--gs-x-description-bg,transparent);
    border-color:var(--gs-x-description-hover_text,var(--gs-color-focus));
  }
}
@media (min-width:861px) and (prefers-reduced-motion:reduce) {
  .gl-theme .woocommerce .product.gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-description .gl-pdp-read-more-label {
    transition:none;
  }
}

@layer gamespsn-brand {
  @media (min-width:861px) {
    /* The older important mask is in this same CSS cascade layer. Override
       it here, rather than in an unlayered important rule which loses. */
    body.gl-brand-2026 .gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-description.gl-pdp-description--collapsible:not(.gl-pdp-description--expanded) .gl-pdp-prose {
      mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 38px),transparent 100%) !important;
      -webkit-mask-image:linear-gradient(to bottom,#000 0%,#000 calc(100% - 38px),transparent 100%) !important;
    }
    body.gl-brand-2026 .gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-description > h2::after {
      background:color-mix(in srgb, var(--gs-x-description-border,var(--gs-color-border)) 90%, transparent) !important;
    }
    body.gl-brand-2026 .gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-description .gl-pdp-read-more::before,
    body.gl-brand-2026 .gl-pdp-v1430 .gl-pdp-left-column > .gl-pdp-description .gl-pdp-read-more::after {
      background:color-mix(in srgb, var(--gs-x-description-border,var(--gs-color-border)) 48%, transparent) !important;
    }
  }
}


/* ---- assets/css/pdp-mobile-orderfix.rc10.58.css ---- */
/* RC10.58 MOBILE ONLY: restore image -> purchase card -> benefits -> description.
   Root-cause mitigation: LiteSpeed / CSS cascade can leave .gl-pdp-top as GRID
   and the left/right layout wrappers as BLOCK at 375px. The wrappers are purely
   structural, so flatten ONLY on <=860px. No visual overrides for Desktop.
   This stylesheet loads after all theme product-layout CSS, with a content-hash
   version to invalidate stale caches. It is intentionally scoped to the PDP. */
@media screen and (max-width:860px) {
  body.gl-theme.gl-official-product .gl-woo-page.woocommerce article.product.gl-pdp-v1430 > .gl-pdp-top {
    display:flex !important;
    flex-direction:column !important;
    flex-wrap:nowrap !important;
    align-items:stretch !important;
    gap:20px !important;
    min-width:0;
  }
  body.gl-theme.gl-official-product .gl-woo-page.woocommerce article.product.gl-pdp-v1430 > .gl-pdp-top > .gl-pdp-left-column,
  body.gl-theme.gl-official-product .gl-woo-page.woocommerce article.product.gl-pdp-v1430 > .gl-pdp-top > .gl-pdp-right-column {
    display:contents !important;
  }
  body.gl-theme.gl-official-product .gl-woo-page.woocommerce article.product.gl-pdp-v1430 > .gl-pdp-top > .gl-pdp-left-column > .gl-pdp-media {
    order:1 !important;
    width:100%;
    min-width:0;
  }
  body.gl-theme.gl-official-product .gl-woo-page.woocommerce article.product.gl-pdp-v1430 > .gl-pdp-top > .gl-pdp-right-column > .gl-pdp-summary {
    order:2 !important;
    box-sizing:border-box;
    width:100%;
    align-self:stretch;
    min-width:0;
  }
  body.gl-theme.gl-official-product .gl-woo-page.woocommerce article.product.gl-pdp-v1430 > .gl-pdp-top > .gl-pdp-right-column > .gl-pdp-benefits-standalone,
  body.gl-theme.gl-official-product .gl-woo-page.woocommerce article.product.gl-pdp-v1430 > .gl-pdp-top > .gl-pdp-benefits-standalone {
    order:3 !important;
    box-sizing:border-box;
    width:100%;
    min-width:0;
  }
  body.gl-theme.gl-official-product .gl-woo-page.woocommerce article.product.gl-pdp-v1430 > .gl-pdp-top > .gl-pdp-left-column > .gl-pdp-description {
    order:4 !important;
    width:100%;
    min-width:0;
  }
  /* Account Access content remains inside .gl-pdp-summary on Mobile through
     the existing account-access-desktop-placement.rc10.58.js controller. */
}

