/* Option 5 — targeted !important overrides.
 * Legacy theme CSS declares many layout properties as `!important` inside `@layer gamespsn-brand`.
 * For important declarations an EARLIER layer wins, so Option 5 overrides live in `gl-o5-force`,
 * which loader.php declares before `gamespsn-brand` (inline <style> at wp_head priority 1).
 * Keep this file small: only properties legacy forces with !important. Every rule is scoped to body.gl-preset-option5. */
@layer gl-o5-force{
  /* secondary navigation row (All Games / PlayStation / Xbox / Nintendo / PC / Gift cards) — removed on every Option 5 page and width.
     The markup stays in the DOM (display:none = not exposed); category access remains in home tiles, shop filters and the footer. */
  body.gl-preset-option5.gl-theme .gl-site-header #gl-site-nav,
  body.gl-preset-option5.gl-theme .gl-site-header #gl-site-nav.gl-nav-open,
  body.gl-preset-option5.gl-theme .gl-site-header .gl-menu-toggle,
  body.gl-preset-option5.gl-theme .gl-site-header .gl-mobile-telegram-support{display:none!important}
  /* WordPress admin bar offset for sticky headers (logged-in staff view) */
  body.gl-preset-option5.gl-theme.admin-bar :is(.gl-site-header,.gl-checkout-commerce-header,header.gl-unified-commerce-header){top:32px!important}
  @media(max-width:782px){body.gl-preset-option5.gl-theme.admin-bar :is(.gl-site-header,.gl-checkout-commerce-header,header.gl-unified-commerce-header){top:46px!important}}
  @media(max-width:600px){body.gl-preset-option5.gl-theme.admin-bar :is(.gl-site-header,.gl-checkout-commerce-header,header.gl-unified-commerce-header){top:0!important}}
  /* header support (Telegram) control — configured link + enable/disable (hidden attribute) respected */
  body.gl-preset-option5.gl-theme .gl-site-header .gl-header-actions .gl-header-telegram[hidden]{display:none!important}
  body.gl-preset-option5.gl-theme .gl-site-header .gl-header-actions .gl-header-telegram:not([hidden]){display:inline-flex!important;position:relative!important;align-items:center!important;justify-content:center!important;width:44px!important;min-width:44px!important;height:44px!important;padding:0!important;gap:0!important;border:1px solid var(--o5-edge-soft)!important;border-radius:12px!important;background:var(--gs-x-header-bg,var(--o5-ico))!important;box-shadow:none!important;text-decoration:none!important;font-size:0!important;line-height:0!important}
  body.gl-preset-option5.gl-theme .gl-site-header .gl-header-actions .gl-header-telegram:not([hidden]):is(:hover,:focus-visible){border-color:var(--o5-a3)!important;background:var(--gs-x-header-hover_bg,var(--o5-sel))!important;text-decoration:none!important}
  body.gl-preset-option5.gl-theme .gl-site-header .gl-header-actions .gl-header-telegram>svg{width:20px!important;height:20px!important;color:var(--gs-x-header-icon,#2AABEE)!important;fill:currentColor!important}
  body.gl-preset-option5.gl-theme .gl-site-header .gl-header-actions .gl-header-telegram :is(.gl-telegram-label-long,.gl-telegram-label-short){position:absolute!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;overflow:hidden!important;clip:rect(0 0 0 0)!important;white-space:nowrap!important;border:0!important}
  body.gl-preset-option5.gl-theme .gl-site-header .gl-header-actions .gl-header-telegram .gl-support-green-dot{position:absolute!important;top:-4px!important;right:-4px!important;left:auto!important;width:10px!important;height:10px!important;margin:0!important;border-radius:50%!important;background:var(--gs-x-header-success,var(--o5-ok))!important;border:2px solid var(--o5-surface)!important;box-shadow:none!important}
  body.gl-preset-option5.gl-theme .gl-site-header .gl-header-actions{display:flex!important;align-items:center!important;gap:8px!important;flex-wrap:nowrap!important}
  /* search results panel: scrolls inside itself (wheel / touch / keyboard), never locks the page */
  body.gl-preset-option5.gl-theme .gl-site-header .gl-search-results:not([hidden]){display:block!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important;touch-action:pan-y!important;max-height:min(480px,calc(100dvh - 190px))!important;padding:6px!important}
  body.gl-preset-option5.gl-theme .gl-site-header .gl-search-results .gl-search-result{min-height:72px!important}
  body.gl-preset-option5.gl-theme .gl-site-header .gl-search-results .gl-search-all{position:sticky!important;bottom:-6px!important;background:var(--gs-x-header-bg,var(--o5-surface))!important;border-top:1px solid var(--gs-x-header-border,var(--o5-divider-soft))!important;margin:0 -6px -6px!important;padding:0 6px!important;z-index:1}
  @media(max-width:900px){
    body.gl-preset-option5.gl-theme .gl-site-header .gl-header-row{grid-template-columns:minmax(0,1fr) auto!important;gap:10px 12px!important}
    body.gl-preset-option5.gl-theme .gl-site-header .gl-search-results:not([hidden]){max-height:min(60vh,calc(100dvh - 170px))!important}
  }
  /* footer grid */
  body.gl-preset-option5.gl-theme footer.gl-site-footer .gl-footer-grid.gl-footer-grid--extended{display:grid!important;grid-template-columns:1.3fr repeat(4,minmax(0,1fr))!important;gap:28px!important}
  @media(max-width:900px){body.gl-preset-option5.gl-theme footer.gl-site-footer .gl-footer-grid.gl-footer-grid--extended{grid-template-columns:1fr 1fr!important;gap:28px 20px!important}}
  @media(max-width:600px){
    body.gl-preset-option5.gl-theme footer.gl-site-footer .gl-footer-grid.gl-footer-grid--extended{grid-template-columns:1fr!important;gap:0!important}
    body.gl-preset-option5.gl-theme footer.gl-site-footer .gl-footer-section.is-collapsible:not(.is-open) .gl-footer-links{display:none!important}
  }
  body.gl-preset-option5.gl-theme footer.gl-site-footer :is(.gl-footer-company-legal,.gl-footer-final-trademark,.gl-footer-bottom){padding-block:0!important;border:0!important}
  body.gl-preset-option5.gl-theme footer.gl-site-footer .gl-footer-company-legal,body.gl-preset-option5.gl-theme footer.gl-site-footer .gl-footer-final-trademark{padding-top:16px!important}
  body.gl-preset-option5.gl-theme footer.gl-site-footer .gl-footer-company-legal+.gl-footer-final-trademark{padding-top:4px!important}
  body.gl-preset-option5.gl-theme footer.gl-site-footer .gl-footer-logo-grid,body.gl-preset-option5.gl-theme footer.gl-site-footer .gl-footer-security-logos{display:flex!important;flex-wrap:wrap!important;width:auto!important;max-width:none!important;justify-content:flex-start!important;margin-inline:0!important;gap:8px!important}
  /* footer payment + security rows: label above, logos left-aligned (legacy right-aligned the label) */
  body.gl-preset-option5.gl-theme footer.gl-site-footer :is(.gl-footer-payment-area,.gl-footer-security-area){display:block!important;text-align:start!important;margin-top:24px!important}
  body.gl-preset-option5.gl-theme footer.gl-site-footer :is(.gl-footer-payment-area,.gl-footer-security-area)>h2{display:block!important;float:none!important;width:auto!important;margin:0 0 10px!important;text-align:start!important;justify-self:start!important}
  body.gl-preset-option5.gl-theme footer.gl-site-footer .gl-footer-logo-card{display:inline-grid!important;place-items:center!important;width:auto!important;height:36px!important;min-height:0!important;padding:0 10px!important;border-radius:8px!important;background:#fff!important;border:1px solid var(--o5-edge-soft)!important}
  body.gl-preset-option5.gl-theme footer.gl-site-footer .gl-footer-logo-card img{height:20px!important;width:auto!important;max-width:84px!important;object-fit:contain!important}

  /* one typeface storewide (the homepage's): legacy builds set other families on buttons, inputs, tables and headings.
     Not applied to protected payment-gateway widgets (.payment_box), embedded frames, icon fonts or the WP admin bar. */
  body.gl-preset-option5.gl-theme :is(h1,h2,h3,h4,h5,h6,p,a,span,div,li,ul,ol,td,th,tr,table,button,input,select,textarea,label,legend,fieldset,dt,dd,dl,summary,details,small,strong,em,b,i,nav,header,footer,main,section,article,aside,form,figcaption,blockquote,del,ins,bdi):not(.payment_box *):not(#wpadminbar *):not(.glpd-account-options *):not(.glpd-pm-details *):not([class*="dashicons"]):not([class*="fa-"]):not([class*="icon-font"]){font-family:var(--o5-font)!important}
  /* Product artwork: original compact 1.55:1 frame, fill without cropping (may stretch). */
  @media(max-width:600px){
    body.gl-preset-option5.gl-theme.single-product .gl-pdp-cover{aspect-ratio:1.55/1!important;height:auto!important}
    body.gl-preset-option5.gl-theme.single-product .gl-pdp-cover img,
    body.gl-preset-option5.gl-theme.single-product .gl-pdp-main-image{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:100%!important;max-height:none!important;object-fit:fill!important}
  }
}

/* 2.0.4 integration (from supplied 2.0.3), token-aware: every colour reads its Store Control role first and falls back to the Option 5 value. */
@layer gl-o5-force {
body.gl-preset-option5.gl-theme.gl-theme .gl-pdp-cart-form .single_add_to_cart_button{background:var(--gs-x-purchase-button_bg,var(--o5-grad))!important;color:var(--gs-x-purchase-button_text,#fff)!important;border:1px solid var(--gs-x-purchase-button_border,var(--o5-a3))!important;border-radius:12px!important;box-sizing:border-box!important;font-weight:600!important;box-shadow:none!important;transition:background .18s ease,box-shadow .18s ease,transform .18s ease}
body.gl-preset-option5.gl-theme.gl-theme .gl-pdp-cart-form .single_add_to_cart_button:hover:not(:disabled):not(.disabled):not(.loading){background:var(--gs-x-purchase-button_hover_bg,var(--o5-grad-h))!important;box-shadow:0 8px 22px rgba(103,41,230,.35)!important}
body.gl-preset-option5.gl-theme.gl-theme .gl-pdp-cart-form .single_add_to_cart_button:focus-visible{outline:2px solid var(--gs-x-purchase-focus,var(--gs-x-form-focus,var(--o5-a3)))!important;outline-offset:2px!important}
body.gl-preset-option5.gl-theme.gl-theme .gl-pdp-cart-form .single_add_to_cart_button:active:not(:disabled):not(.disabled):not(.loading){box-shadow:none!important;transform:translateY(1px)}
body.gl-preset-option5.gl-theme.gl-theme .gl-pdp-cart-form .single_add_to_cart_button:is(:disabled,.disabled,.wc-variation-selection-needed){opacity:.5!important;cursor:not-allowed!important;box-shadow:none!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions :is(a,button){min-height:44px!important;line-height:1.25!important;border-radius:12px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions a#glpm-checkout.glpm-primary{background:var(--gs-x-popup-button_bg,var(--o5-grad))!important;color:var(--gs-x-popup-button_text,#fff)!important;border:1px solid var(--gs-x-popup-button_border,var(--o5-a3))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions a#glpm-checkout.glpm-primary:hover{background:var(--gs-x-popup-button_hover_bg,var(--o5-grad-h))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions a.glpm-secondary{background:var(--gs-x-popup-secondary_bg,#fff)!important;color:var(--gs-x-popup-secondary_text,#23262F)!important;border:1px solid var(--gs-x-popup-secondary_border,var(--gs-x-popup-secondary_bg,#fff))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions a.glpm-secondary:hover{background:var(--gs-x-popup-hover_bg,#E5E7EB)!important;color:var(--gs-x-popup-secondary_text,#23262F)!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions button.glpm-secondary{background:transparent!important;border:1px solid transparent!important;color:var(--gs-x-popup-muted,var(--o5-mut))!important;box-shadow:none!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions button.glpm-secondary:hover{color:var(--gs-x-popup-text,var(--o5-tx))!important;text-decoration:underline!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line-name{font-size:13px!important;line-height:1.35!important;overflow-wrap:anywhere!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line-info small{font-size:11px!important;line-height:1.35!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo{background:var(--gs-x-popup-bg,radial-gradient(ellipse at top left,color-mix(in srgb,var(--o5-a2) 15%,transparent),transparent 72%),var(--o5-surface))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line{border-color:var(--gs-x-popup-border,var(--o5-border-soft))!important}
@media(prefers-reduced-motion:reduce){body.gl-preset-option5.gl-theme.gl-theme .gl-pdp-cart-form .single_add_to_cart_button,body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions :is(a,button){transition:none!important}}
}

/* 2.0.5: popup surfaces and the existing gift/recommendation states. No reward logic changes. */
@layer gl-o5-force {
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-dialog{background:var(--gs-x-popup-bg,var(--o5-surface))!important;border-color:var(--gs-x-popup-border,var(--o5-border-soft))!important;box-shadow:var(--gs-x-popup-shadow,var(--o5-shadow-h))!important;color:var(--gs-x-popup-text,var(--o5-tx))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root :is(.glpm-head,.glpm-scroll,.glpm-footer){background:var(--gs-x-popup-bg,var(--o5-surface))!important;border-color:var(--gs-x-popup-border,var(--o5-divider-soft))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line{background:var(--gs-x-popup-bg,var(--o5-surface))!important;border-color:var(--gs-x-popup-border,var(--o5-border-soft))!important;color:var(--gs-x-popup-text,var(--o5-tx))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line-art img{object-fit:contain!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-message:empty{display:none!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-head h2{max-height:none!important;overflow:visible!important;overflow-wrap:anywhere!important;font-weight:750!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-clear{color:var(--gs-x-popup-muted,var(--o5-mut2))!important;background:transparent!important;border:0!important;box-shadow:none!important;font-weight:500!important;min-height:36px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-clear:hover{color:var(--gs-x-popup-hover_text,var(--o5-tx))!important;text-decoration:underline!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-qty{background:var(--gs-x-popup-input_bg,var(--o5-input))!important;border-color:var(--gs-x-popup-input_border,var(--o5-edge-soft))!important;color:var(--gs-x-popup-input_text,var(--o5-tx))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-qty button:disabled{opacity:.4!important;cursor:not-allowed!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo{border-color:var(--gs-x-popup-border,var(--o5-border-soft))!important;border-radius:12px!important;padding:14px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo-head{align-items:center!important;gap:10px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo-head h3{font-size:16px!important;line-height:1.25!important;font-weight:750!important;color:var(--gs-x-popup-title,var(--o5-tx))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo-head p{font-size:12px!important;line-height:1.45!important;color:var(--gs-x-popup-text,var(--o5-mut))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-progress{height:6px!important;background:var(--gs-x-popup-input_bg,var(--o5-input))!important;border-radius:99px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-progress>span{background:var(--gs-x-popup-icon,var(--o5-grad))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-progress[aria-valuenow="2"]>span{background:var(--gs-x-popup-success,var(--o5-ok))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-milestone b{background:var(--gs-x-popup-icon_bg,var(--o5-input))!important;border-color:var(--gs-x-popup-border,var(--o5-edge-soft))!important;color:var(--gs-x-popup-muted,var(--o5-mut))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root :is(.glpm-milestone.is-done b,.glpm-gift-mark.is-earned,.glpm-selected-check){background:var(--gs-x-popup-success_bg,var(--o5-ok-bg,rgba(83,214,160,.10)))!important;color:var(--gs-x-popup-success,var(--o5-ok))!important;border-color:var(--gs-x-popup-success,var(--o5-ok))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-selected{background:var(--gs-x-popup-success_bg,var(--o5-ok-bg,rgba(83,214,160,.08)))!important;border:1px solid var(--gs-x-popup-success,var(--o5-ok))!important;box-shadow:none!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root :is(.glpm-smart-tabs,.glpm-gift-tabs) button{background:var(--gs-x-popup-secondary_bg,var(--o5-input))!important;color:var(--gs-x-popup-secondary_text,var(--o5-mut))!important;border:1px solid var(--gs-x-popup-secondary_border,var(--o5-border-soft))!important;min-height:40px!important;box-shadow:none!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root :is(.glpm-smart-tabs,.glpm-gift-tabs) button:is([aria-selected=true],[aria-pressed=true]){background:var(--gs-x-popup-active_bg,var(--o5-sel))!important;color:var(--gs-x-popup-active_text,var(--o5-tx))!important;border-color:var(--gs-x-popup-button_border,var(--o5-a3))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root :is(.glpm-smart-tabs,.glpm-gift-tabs) button:hover:not(:disabled):not([aria-selected=true]):not([aria-pressed=true]){background:var(--gs-x-popup-secondary_hover,var(--o5-btn2))!important;color:var(--gs-x-popup-hover_text,var(--o5-tx))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root :is(.glpm-actions a,.glpm-actions button,.glpm-smart-tabs button,.glpm-gift-tabs button,.glpm-clear,.glpm-option button):focus-visible{outline:2px solid var(--gs-x-popup-focus,var(--o5-a3))!important;outline-offset:2px!important;box-shadow:none!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root :is(.glpm-quiet,.glpm-empty){font-size:13px!important;line-height:1.5!important;color:var(--gs-x-popup-muted,var(--o5-mut))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions :is(a,button){font-size:12px!important;overflow-wrap:anywhere!important}
@media(max-width:600px){body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo{padding:10px!important}body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo-head h3{font-size:15px!important}}
@media(prefers-reduced-motion:reduce){body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root :is(.glpm-progress>span,.glpm-smart-tabs button,.glpm-gift-tabs button){transition:none!important}}
}

/* 2.0.8 popup geometry only. Keep native Add/Select and every existing offer state. */
@layer gl-o5-force {
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-dialog{width:min(100%,540px)!important;max-height:92dvh!important;display:flex!important;flex-direction:column!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-scroll{min-height:0!important;flex:1 1 auto!important;overflow-y:auto!important;padding:10px 12px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-footer{flex:0 0 auto!important;padding:9px 12px calc(10px + env(safe-area-inset-bottom,0px))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line{grid-template-columns:92px minmax(0,1fr) 44px!important;grid-template-rows:auto auto!important;gap:4px 8px!important;padding:7px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line-art{grid-column:1!important;grid-row:1/3!important;width:100%!important;height:auto!important;aspect-ratio:1.55/1!important;border-radius:4px!important;align-self:start!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line-art img{border-radius:4px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line-info{grid-column:2!important;grid-row:1!important;gap:2px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line-end{grid-column:2!important;grid-row:2!important;align-items:start!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line :is(.glpm-trash,.glpm-reward-mark){grid-column:3!important;grid-row:1/3!important;align-self:start!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-trash{min-width:44px!important;min-height:44px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-qty{display:none!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo{padding:9px!important;border-radius:6px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-progress{height:4px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option{display:grid!important;grid-template-columns:minmax(0,1fr) 36px!important;grid-template-rows:auto 1fr auto!important;gap:4px!important;padding:0!important;border-radius:4px!important;min-width:0!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option .glpm-option-image{grid-column:1/-1!important;grid-row:1!important;width:100%!important;height:auto!important;max-height:none!important;aspect-ratio:1.55/1!important;border-radius:4px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option .glpm-option-image img{object-fit:contain!important;border-radius:4px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option .glpm-option-text{display:contents!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option .glpm-option-text>a{grid-column:1/-1!important;grid-row:2!important;font-size:12px!important;line-height:1.3!important;min-height:2.6em!important;max-height:2.6em!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option .glpm-option-text>small{display:none!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option .glpm-option-text>span{grid-column:1!important;grid-row:3!important;align-self:center!important;min-width:0!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option button[data-glpm-action=add]{grid-column:2!important;grid-row:3!important;width:36px!important;min-width:36px!important;height:44px!important;min-height:44px!important;margin:0!important;align-self:center!important}
@media(max-width:700px){
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-dialog{width:100%!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line{grid-template-columns:70px minmax(0,1fr) 44px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-grid{grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:calc((100% - 8px)/2)!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-grid>.glpm-smart-option{scroll-snap-align:start!important}
}
}


@layer gl-o5-force {
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions{display:grid!important;grid-template-columns:1fr 1fr!important;gap:6px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions #glpm-checkout{grid-row:1!important;grid-column:1/-1!important;min-height:44px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions a.glpm-secondary{grid-row:2!important;grid-column:2!important;min-height:44px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions button.glpm-secondary{grid-row:2!important;grid-column:1!important;min-height:44px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-recommend-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}
@media(max-width:700px){body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-recommend-grid{grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:calc((100% - 8px)/2)!important;overflow-x:auto!important;scroll-snap-type:x proximity!important}}
}


/* 2.0.9: real sale details; no changes to popup transaction/recovery code. */
@layer gl-o5-force {
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line-media{grid-column:1;grid-row:1/3;min-width:0;align-self:start}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line-media .glpm-line-art{display:block;aspect-ratio:1.55/1!important;overflow:hidden}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line-media .glpm-line-art img{display:block;width:100%;height:100%;object-fit:contain!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line-save{display:block;text-align:center;color:var(--gs-x-popup-success,var(--o5-ok,#49D6A2));font-size:10px;line-height:1.25;margin-top:3px;overflow-wrap:anywhere}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-sale-compare{display:flex;align-items:center;flex-wrap:wrap;gap:3px 5px;font-size:10px;line-height:1.25;color:var(--gs-x-popup-old_price,var(--o5-mut));white-space:normal}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-sale-percent{color:var(--gs-x-popup-discount,var(--o5-bad,#FF829F));font-size:10px}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line-end{flex-direction:row!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;gap:4px!important;white-space:normal}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option{grid-template-rows:auto auto auto 1fr!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option .glpm-option-text>small.glpm-facts{display:flex!important;grid-column:1/-1!important;grid-row:3!important;flex-wrap:wrap;gap:2px;font-size:10px!important;line-height:1.2;overflow-wrap:anywhere}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option .glpm-option-text>span,body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option button[data-glpm-action=add]{grid-row:4!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option .glpm-option-text>span{display:flex!important;flex-direction:column;align-items:flex-start;gap:2px;white-space:normal;overflow-wrap:anywhere}
}


@layer gl-o5-force {
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-sale-compare del{color:var(--gs-x-popup-old_price,var(--o5-mut))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-sale-compare .glpm-sale-percent{color:var(--gs-x-popup-discount,var(--o5-bad))!important}
}
/* Footer uses the same approved arrangement on each route; preserve every configured column/link. */
@layer gl-o5-force {
@media(min-width:901px){
body.gl-preset-option5.gl-theme.gl-theme footer.gl-site-footer .gl-footer-grid.gl-footer-grid--extended{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:18px!important}
}
@media(max-width:600px){
body.gl-preset-option5.gl-theme.gl-theme footer.gl-site-footer :is(.gl-footer-logo-grid,.gl-footer-security-logos,.gl-footer-social){justify-content:center!important}
body.gl-preset-option5.gl-theme.gl-theme footer.gl-site-footer :is(.gl-footer-payment-area,.gl-footer-security-area){text-align:center!important}
}
}

/* 2.0.18 — approved Cart Popup only, overrides older Option 5 popup geometry. */
@layer gl-o5-force {
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-dialog{width:min(100%,600px)!important;max-height:min(92dvh,880px)!important;border-radius:16px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-head{padding:10px 16px!important;gap:10px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-head h2{font-size:19px!important;line-height:1.2!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-x{min-height:44px!important;min-width:44px!important;flex-basis:44px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-scroll{padding:14px 16px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo-focus .glpm-promo-head h3{font-size:19px!important;line-height:1.18!important;margin:0 0 5px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo-focus .glpm-progress>span{background:var(--glpm-offer-accent)!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo-focus .glpm-milestone b{width:25px!important;height:25px!important;min-width:25px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo-focus .glpm-milestone.is-done b{background:var(--gs-x-popup-success_bg,var(--o5-ok-bg,rgba(83,214,160,.1)))!important;color:var(--gs-x-popup-success,var(--o5-ok))!important;border-color:var(--gs-x-popup-success,var(--o5-ok))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo{margin:12px 0 0!important;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line{grid-template-columns:96px minmax(0,1fr) 44px!important;gap:5px 10px!important;padding:8px 0!important;border:0!important;border-bottom:1px solid var(--gs-x-popup-border,var(--o5-divider-soft))!important;border-radius:0!important;background:transparent!important;box-shadow:none!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line.glpm-is-free{border-bottom-color:color-mix(in srgb,var(--gs-x-popup-success,var(--o5-ok)) 30%,transparent)!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line-name{font-size:13px!important;line-height:1.35!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line-end>strong{font-size:16px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line.glpm-is-free .glpm-line-end>strong{color:var(--gs-x-popup-success,var(--o5-ok))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line-media .glpm-line-art{position:relative!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-qty{display:none!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-selected{padding:8px 10px!important;margin-top:8px!important;gap:6px!important;border-color:var(--gs-x-popup-border,var(--o5-border-soft))!important;background:transparent!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-selected-copy{min-width:0;flex:1}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-tabs{padding:2px!important;gap:4px!important;border-radius:8px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root :is(.glpm-smart-grid,.glpm-recommend-grid){display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-auto-flow:row!important;grid-auto-columns:auto!important;gap:8px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option{display:grid!important;grid-template-columns:55px minmax(0,1fr) 40px!important;grid-template-rows:auto!important;align-items:center!important;gap:7px!important;padding:7px!important;border-radius:8px!important;min-height:74px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option .glpm-option-image{grid-column:1!important;grid-row:1!important;width:55px!important;height:45px!important;aspect-ratio:auto!important;align-self:center!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option .glpm-option-text{display:grid!important;grid-column:2!important;grid-row:1!important;gap:3px!important;min-height:0!important;min-width:0!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option .glpm-option-text>a{grid-column:auto!important;grid-row:auto!important;min-height:0!important;max-height:2.6em!important;font-size:11px!important;overflow-wrap:anywhere!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option .glpm-option-text>small.glpm-facts{grid-column:auto!important;grid-row:auto!important;font-size:9px!important;line-height:1.2!important;white-space:normal!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option .glpm-option-text>span{grid-column:auto!important;grid-row:auto!important;display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;align-items:baseline!important;gap:3px!important;font-size:12px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option button[data-glpm-action=add]{grid-column:3!important;grid-row:1!important;width:40px!important;min-width:40px!important;height:44px!important;min-height:44px!important;background:var(--gs-x-popup-button_bg,var(--o5-grad))!important;color:var(--gs-x-popup-button_text,#fff)!important;border-color:var(--gs-x-popup-button_border,var(--o5-a3))!important;border-radius:8px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-footer{padding:12px 16px calc(12px + env(safe-area-inset-bottom,0px))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-order-details{margin:0 0 7px!important;box-shadow:none!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions{grid-template-columns:2fr 3fr!important;gap:6px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions #glpm-checkout{grid-column:2!important;grid-row:1!important;min-height:46px!important;font-size:13px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions button.glpm-secondary{grid-column:1!important;grid-row:1!important;border-color:var(--gs-x-popup-secondary_border,var(--o5-edge-soft))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions a.glpm-secondary{grid-column:1/-1!important;grid-row:2!important;background:transparent!important;color:var(--gs-x-popup-link,var(--o5-link))!important;border:0!important;box-shadow:none!important;min-height:34px!important}
@media(max-width:700px){
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-dialog{width:100%!important;max-height:94dvh!important;border-radius:16px 16px 0 0!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-head{padding:8px 12px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-scroll{padding:10px 12px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo-focus .glpm-promo-head h3{font-size:17px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line{grid-template-columns:78px minmax(0,1fr) 44px!important;gap:4px 8px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root :is(.glpm-smart-grid,.glpm-recommend-grid){grid-template-columns:none!important;grid-auto-flow:column!important;grid-auto-columns:calc(100% - 28px)!important;overflow-x:auto!important;overflow-y:hidden!important;scroll-snap-type:x proximity!important;scrollbar-width:thin!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option{grid-template-columns:50px minmax(0,1fr) 44px!important;scroll-snap-align:start!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option .glpm-option-image{width:50px!important;height:42px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-smart-option button[data-glpm-action=add]{width:44px!important;min-width:44px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-footer{padding:8px 12px calc(8px + env(safe-area-inset-bottom,0px))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions{grid-template-columns:1fr 1fr!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions #glpm-checkout{grid-column:1/-1!important;grid-row:1!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions button.glpm-secondary{grid-column:1!important;grid-row:2!important;border:0!important;min-height:44px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-actions a.glpm-secondary{grid-column:2!important;grid-row:2!important;min-height:44px!important}
}
}
@layer gl-o5-force {
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-order-details{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-order-details>summary{min-height:36px!important;padding:4px 0!important;gap:6px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-detail-total>strong{font-size:21px!important}
@media(max-width:700px){
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-head-copy{display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:4px 10px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-head h2{order:-1;font-size:17px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-head{padding:3px 12px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo-focus{padding:9px 11px!important;margin-bottom:8px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo-focus .glpm-promo-head{margin-bottom:7px!important;gap:9px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-promo-focus .glpm-milestones{margin:2px 0 7px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-line{padding:5px 0!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-row-heading{margin-bottom:3px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-reward-intro{margin:7px 0 5px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-footer .glpm-actions{gap:2px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root .glpm-footer .glpm-savings{font-size:11px!important;margin-bottom:2px!important}
}
}

/* 2.0.18.1 — approved desktop/mobile frame; popup only. */
@layer gl-o5-force {
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm{--glpm-frame:var(--gs-x-popup-bg,#22252e);--glpm-foot:var(--gs-x-popup-bg,#1e2129);--glpm-edge:var(--gs-x-popup-border,#383b47);--glpm-muted:var(--gs-x-popup-muted,#aab0be);--glpm-text:var(--gs-x-popup-text,#fff);--glpm-link:var(--gs-x-popup-link,#bca7ff);--glpm-main:var(--gs-x-popup-button_bg,#480bcb);--glpm-good:var(--gs-x-popup-success,#56ce83);}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-dialog{width:min(100%,590px)!important;max-height:calc(100dvh - 32px)!important;border-radius:20px!important;background:var(--glpm-frame)!important;border:1px solid var(--glpm-edge)!important;box-shadow:var(--gs-x-popup-shadow,0 22px 75px #0008)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm :is(.glpm-head,.glpm-scroll){background:var(--glpm-frame)!important;border-color:var(--glpm-edge)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-head{padding:10px 16px!important;gap:10px!important;min-height:64px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-head-copy{display:grid!important;gap:3px!important;position:relative!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-head-copy:has(.glpm-head-check){padding-left:36px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-head h2{order:0!important;font-size:20px!important;line-height:1.25!important;font-weight:750!important;color:var(--gs-x-popup-title,#fff)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-success{font-size:12px!important;line-height:1.25!important;color:var(--glpm-good)!important;font-weight:650!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-head-check{position:absolute!important;left:0!important;top:50%!important;transform:translateY(-50%)!important;display:grid!important;place-items:center!important;width:26px!important;height:26px!important;border:2px solid var(--glpm-good)!important;color:var(--glpm-good)!important;border-radius:50%!important;font-size:17px!important;font-weight:750!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-head-meta{display:grid!important;justify-items:end!important;align-content:center!important;gap:0!important;flex:none!important;line-height:1.1!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-head-meta small{font-size:12px!important;color:var(--glpm-muted)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-clear{font-size:11px!important;min-height:28px!important;padding:3px 0!important;color:var(--glpm-muted)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-x{display:grid!important;place-items:center!important;flex:0 0 44px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:var(--glpm-muted)!important;border-radius:10px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-x:focus-visible{outline:2px solid var(--gs-x-popup-focus,#9465ff)!important;outline-offset:-5px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-scroll{padding:12px 16px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus{--glpm-gift-light:var(--gs-x-popup-icon,#b38aff)!important;--glpm-gift-dark:var(--gs-x-popup-button_bg,#480bcb)!important;--glpm-gift-mid:#8051d7!important;--glpm-gift-ribbon:#d9c5ff!important;--glpm-offer-accent:var(--gs-x-popup-icon,#b38aff)!important;--glpm-offer-ink:var(--glpm-link)!important;background:radial-gradient(ellipse at 12% 30%,color-mix(in srgb,var(--glpm-offer-accent) 7%,transparent),transparent 55%),var(--gs-x-popup-active_bg,#2d2342)!important;border:0!important;border-radius:12px!important;padding:12px 14px!important;margin:0 0 12px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus.is-earned{--glpm-gift-light:#9ce6b4!important;--glpm-gift-dark:var(--gs-x-popup-success,#278a52)!important;--glpm-gift-mid:#429a63!important;--glpm-gift-ribbon:#baf0cc!important;--glpm-offer-accent:var(--glpm-good)!important;--glpm-offer-ink:var(--gs-x-popup-success,#8be0ac)!important;background:radial-gradient(ellipse at 12% 30%,color-mix(in srgb,var(--glpm-offer-accent) 5%,transparent),transparent 55%),var(--gs-x-popup-success_bg,#20372c)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-head{gap:12px!important;margin-bottom:10px!important;align-items:center!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-cinematic-gift{flex:0 0 74px!important;width:74px!important;filter:drop-shadow(0 3px 9px color-mix(in srgb,var(--glpm-gift-light) 22%,transparent))!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-kicker{font-size:11px!important;letter-spacing:.035em!important;line-height:1.25!important;margin-bottom:4px!important;font-weight:700!important;color:var(--glpm-offer-ink)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus .glpm-promo-head h3{font-size:20px!important;line-height:1.22!important;font-weight:750!important;margin:0 0 4px!important;color:var(--gs-x-popup-title,#fff)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus .glpm-promo-head p{font-size:12px!important;color:var(--gs-x-popup-text,#cfcdd8)!important;line-height:1.4!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus .glpm-milestones{display:grid!important;grid-template-columns:1fr 1fr 1fr 1fr 1fr!important;align-items:start!important;gap:8px!important;margin:0!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-milestone{display:flex!important;flex-direction:column!important;align-items:center!important;gap:4px!important;color:var(--gs-x-popup-text,#d4d1df)!important;font-size:11px!important;line-height:1.2!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus .glpm-milestone b{width:32px!important;height:32px!important;min-width:32px!important;border:0!important;background:#453652!important;color:#fff!important;font-size:15px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus .glpm-milestone.is-done b{background:var(--gs-x-popup-success,#278a52)!important;color:#fff!important;border:0!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-milestone b svg{width:16px!important;height:16px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-milestone-connector{height:3px!important;margin-top:15px!important;background:var(--gs-x-popup-icon,#6c499c)!important;border-radius:99px!important;opacity:.85!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus.is-earned .glpm-milestone-connector{background:var(--glpm-good)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus .glpm-progress{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;margin:0!important;white-space:nowrap!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line{grid-template-columns:96px minmax(0,1fr) 44px!important;grid-template-rows:auto auto!important;column-gap:12px!important;row-gap:4px!important;padding:9px 0!important;background:transparent!important;border-bottom:1px solid var(--glpm-edge)!important;align-items:center!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line-media .glpm-line-art{width:100%!important;height:66px!important;aspect-ratio:auto!important;border-radius:6px!important;background:transparent!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line-art img{width:100%!important;height:100%!important;object-fit:contain!important;border-radius:6px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line-name{font-size:14px!important;line-height:1.35!important;font-weight:650!important;color:var(--glpm-text)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line-info small{font-size:11px!important;color:var(--glpm-muted)!important;line-height:1.25!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line-end{gap:8px!important;align-items:baseline!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line-end>strong{font-size:18px!important;font-weight:750!important;color:var(--gs-x-popup-price,#fff)!important;line-height:1.25!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line.glpm-is-free .glpm-line-end>strong{color:var(--glpm-good)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line-save{color:var(--glpm-good)!important;font-size:10px!important;margin-top:4px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-art-badge{background:var(--gs-x-popup-discount_bg,#422b43)!important;color:var(--gs-x-popup-discount,#ffb0c4)!important;font-size:10px!important;padding:3px 5px!important;inset:3px auto auto 3px!important;border-radius:4px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-art-badge.is-free{background:#20372c!important;color:var(--glpm-good)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line .glpm-sale-compare{font-size:11px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-trash{display:grid!important;place-items:center!important;background:transparent!important;color:var(--glpm-muted)!important;border:0!important;box-shadow:none!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-trash:hover{color:var(--gs-x-popup-error,#ff829f)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-intro{display:flex!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:10px 0 3px!important;font-size:14px!important;font-weight:650!important;color:var(--glpm-text)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-intro small{color:var(--glpm-link)!important;font-size:11px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-smart-tabs{display:flex!important;justify-content:flex-start!important;gap:16px!important;background:transparent!important;border:0!important;padding:0!important;margin:0 0 7px!important;box-shadow:none!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-smart-tabs button{flex:0 1 auto!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:var(--glpm-muted)!important;font-size:12px!important;font-weight:550!important;min-height:36px!important;height:36px!important;padding:0 2px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-smart-tabs button[aria-selected=true]{color:var(--glpm-link)!important;background:transparent!important;box-shadow:inset 0 -2px var(--glpm-link)!important;font-weight:700!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-smart-option{background:var(--gs-x-card-bg,#191c23)!important;border:1px solid var(--gs-x-card-border,transparent)!important;box-shadow:none!important;grid-template-columns:48px minmax(0,1fr) 40px!important;gap:8px!important;min-height:64px!important;padding:7px 8px!important;border-radius:8px!important;align-items:center!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-smart-option .glpm-option-image{width:48px!important;height:44px!important;border-radius:6px!important;background:transparent!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-smart-option .glpm-option-text>a{font-size:12px!important;font-weight:650!important;line-height:1.3!important;max-height:2.6em!important;color:var(--gs-x-card-link,var(--glpm-text))!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-smart-option .glpm-option-text>span{font-size:13px!important;font-weight:700!important;color:var(--gs-x-card-price,var(--gs-x-popup-price,#fff))!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-smart-option :is(.glpm-option-text>small.glpm-facts,.glpm-option-text .glpm-sale-compare){position:absolute!important;width:1px!important;height:1px!important;clip-path:inset(50%)!important;overflow:hidden!important;white-space:nowrap!important;margin:0!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-smart-option button[data-glpm-action=add]{display:grid!important;place-items:center!important;background:transparent!important;border:0!important;box-shadow:none!important;width:40px!important;min-width:40px!important;height:44px!important;min-height:44px!important;position:relative!important;isolation:isolate!important;color:var(--gs-x-popup-button_text,#fff)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-smart-option button[data-glpm-action=add]::before{content:""!important;position:absolute!important;inset:6px!important;z-index:-1!important;border-radius:7px!important;background:var(--glpm-main)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-selected{background:transparent!important;border:0!important;border-radius:0!important;padding:0!important;gap:6px!important;margin:6px 0!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-selected-copy{gap:2px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-selected-copy strong{font-size:13px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-more{background:transparent!important;color:var(--glpm-link)!important;border:0!important;box-shadow:none!important;margin:6px auto 0!important;min-height:36px!important;font-size:11px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-footer{background:var(--glpm-foot)!important;border-color:var(--glpm-edge)!important;padding:12px 16px calc(10px + env(safe-area-inset-bottom,0px))!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-savings{display:grid!important;gap:4px!important;font-size:13px!important;color:var(--glpm-good)!important;margin:0 0 7px!important;font-weight:500!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-savings[hidden]{display:none!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-savings>div{display:flex!important;justify-content:space-between!important;align-items:baseline!important;gap:12px!important;min-width:0!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-savings strong{font-weight:700!important;white-space:nowrap!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details{margin:0 0 8px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary{display:grid!important;grid-template-columns:minmax(0,1fr) auto 14px!important;align-items:center!important;column-gap:4px!important;row-gap:0!important;padding:0!important;min-height:36px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-detail-total{grid-column:1/-1!important;display:flex!important;justify-content:space-between!important;align-items:baseline!important;gap:10px!important;white-space:normal!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-detail-total>small{font-size:12px!important;font-weight:650!important;text-transform:uppercase!important;letter-spacing:.025em!important;color:var(--glpm-muted)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-detail-total>strong{font-size:26px!important;line-height:1.15!important;color:var(--gs-x-popup_details-text,var(--gs-x-popup-price,#fff))!important;font-weight:750!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-detail-label{grid-column:2!important;justify-self:end!important;font-size:10px!important;line-height:1.1!important;color:var(--glpm-muted)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-detail-chevron{grid-column:3!important;width:12px!important;height:12px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-actions{gap:7px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-actions a#glpm-checkout.glpm-primary{background:var(--glpm-main)!important;color:var(--gs-x-popup-button_text,#fff)!important;border:1px solid var(--gs-x-popup-button_border,transparent)!important;box-shadow:none!important;border-radius:8px!important;min-height:46px!important;font-size:14px!important;font-weight:700!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-actions a#glpm-checkout.glpm-primary:hover:not(.glpm-disabled){background:var(--gs-x-popup-button_hover_bg,#591bdb)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-actions button.glpm-secondary{background:transparent!important;border:1px solid var(--gs-x-popup-secondary_border,#414551)!important;border-radius:8px!important;font-size:12px!important;color:var(--glpm-text)!important;min-height:46px!important;font-weight:600!important;box-shadow:none!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-actions a.glpm-secondary{font-size:12px!important;color:var(--glpm-muted)!important;min-height:32px!important;}
@media(max-width:700px){
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-dialog{width:100%!important;max-height:calc(100dvh - 12px)!important;border-radius:16px 16px 0 0!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-head{padding:6px 10px!important;min-height:56px!important;gap:5px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-head-copy:has(.glpm-head-check){padding-left:30px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-head-check{width:24px!important;height:24px!important;font-size:15px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-head h2{font-size:18px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-scroll{padding:8px 10px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus{padding:10px!important;margin-bottom:7px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-head{gap:8px!important;margin-bottom:8px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-cinematic-gift{width:58px!important;flex-basis:58px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus .glpm-promo-head h3{font-size:17px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus .glpm-promo-head p{font-size:11px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-kicker{font-size:10px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus .glpm-milestone b{width:30px!important;height:30px!important;min-width:30px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-milestone-connector{margin-top:14px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line{grid-template-columns:88px minmax(0,1fr) 44px!important;column-gap:8px!important;row-gap:3px!important;padding:7px 0!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line-media .glpm-line-art{height:60px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line-name{font-size:13px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line-info small{font-size:10px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line-end>strong{font-size:17px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-intro{font-size:13px!important;margin-top:8px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-smart-tabs{gap:14px!important;margin-bottom:5px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-smart-tabs button{min-height:32px!important;height:32px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-smart-option{grid-template-columns:48px minmax(0,1fr) 44px!important;min-height:60px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-smart-option button[data-glpm-action=add]{width:44px!important;min-width:44px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-smart-option .glpm-option-text>a{font-size:13px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-footer{padding:9px 10px calc(5px + env(safe-area-inset-bottom,0px))!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-savings{font-size:12px!important;gap:2px!important;margin-bottom:5px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details{margin-bottom:5px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-detail-total>strong{font-size:24px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-actions{gap:1px 8px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-actions a#glpm-checkout.glpm-primary{min-height:46px!important;font-size:14px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-actions button.glpm-secondary{border:0!important;color:var(--glpm-muted)!important;min-height:44px!important;font-size:11px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-actions a.glpm-secondary{color:var(--glpm-link)!important;min-height:44px!important;font-size:11px!important;}
}
}

@layer gl-o5-force {
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-selected .glpm-selected-status{color:var(--glpm-good)!important;font-size:12px!important;font-weight:550!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-selected:has(.glpm-selected-status){flex-direction:row-reverse!important;justify-content:flex-end!important;margin:9px 0!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-selected:has(.glpm-selected-status) .glpm-selected-check{background:transparent!important;width:20px!important;min-width:20px!important;height:20px!important;flex-basis:20px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary{position:relative!important;min-height:38px!important;grid-template-columns:minmax(0,1fr) auto!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-detail-total{min-height:38px!important;align-items:center!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-detail-total>small{align-self:flex-start!important;padding-top:2px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-detail-label{position:absolute!important;grid-column:1/-1!important;grid-row:auto!important;left:0!important;bottom:0!important;right:auto!important;top:auto!important;margin:0!important;justify-self:start!important;line-height:1.2!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-detail-chevron{position:absolute!important;grid-column:1/-1!important;grid-row:auto!important;left:66px!important;bottom:0!important;right:auto!important;top:auto!important;margin:0!important;justify-self:start!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-clear{min-height:32px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-success:not(:has(.glpm-head-check)){color:var(--glpm-muted)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-actions a#glpm-checkout.glpm-primary:focus-visible{outline:2px solid var(--gs-x-popup-focus,#9465ff)!important;outline-offset:2px!important;}
@media(max-width:700px) and (max-height:740px){
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-head{padding:3px 10px!important;min-height:52px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus{padding:9px 10px!important;margin-bottom:5px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-head{margin-bottom:5px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line{padding:4px 0!important;row-gap:2px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line-info{gap:1px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line-media .glpm-line-art{height:56px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line-save{margin-top:2px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-footer{padding-top:7px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-savings{margin-bottom:3px!important;}
}
}

@layer gl-o5-force {
@media(max-width:700px){body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-clear{min-height:44px!important;}}
}

/* 2.0.22.5: modal offer uses the same cinematic palette as order status. */
@layer gl-o5-force {
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus,
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-promo-focus.is-earned{--glpm-gift-light:var(--gs-x-popup-icon,var(--o5-link))!important;--glpm-gift-dark:var(--gs-x-popup-button_bg,var(--o5-a1))!important;--glpm-gift-mid:var(--o5-a2)!important;--glpm-gift-ribbon:var(--o5-link)!important;--glpm-offer-accent:var(--o5-a3)!important;--glpm-offer-ink:var(--glpm-link)!important;background:radial-gradient(ellipse at 88% 40%,color-mix(in srgb,var(--o5-a2) 18%,transparent),transparent 65%),linear-gradient(110deg,var(--gs-x-popup-bg,var(--o5-surface)),color-mix(in srgb,var(--gs-x-popup-bg,var(--o5-surface)) 86%,var(--o5-a1)))!important;border:1px solid var(--o5-a3)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm :is(.glpm-smart-tabs,.glpm-gift-tabs) button:hover:not(:disabled):not([aria-selected=true]):not([aria-pressed=true]){background:transparent!important;color:var(--glpm-link)!important;box-shadow:none!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-actions a.glpm-secondary:is(:hover,:active,:focus-visible){background:transparent!important;color:var(--glpm-link)!important;text-decoration:underline!important;box-shadow:none!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-actions a.glpm-secondary{background:transparent!important;color:var(--glpm-link)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary{display:flex!important;align-items:center!important;gap:7px!important;min-height:36px!important;padding:3px 0!important;position:static!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-detail-total{flex:1 1 auto!important;min-height:0!important;gap:10px!important;align-items:center!important;justify-content:space-between!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-detail-total>small{align-self:center!important;padding:0!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-detail-label{position:static!important;inset:auto!important;margin:0 0 0 5px!important;align-self:center!important;white-space:nowrap!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-detail-chevron{position:static!important;inset:auto!important;margin:0!important;align-self:center!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details:not([open])>.glpm-detail-body{display:none!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-savings{margin-bottom:3px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-free-ink{color:var(--glpm-good)!important}
}

/* 2.0.22.21: cart popup only; preserve smart suggestions and all offer logic. */
@layer gl-o5-force {
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-savings>div>span{color:var(--glpm-muted)!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-savings>div>strong{color:var(--glpm-good)!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line.glpm-is-free .glpm-line-end>strong{color:var(--gs-x-popup-price,var(--gs-color-text-primary,#fff))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-selected .glpm-selected-status{color:var(--glpm-muted)!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line.glpm-is-free .glpm-reward-mark{color:var(--glpm-link)!important;max-width:44px!important;min-width:32px!important;white-space:normal!important;text-align:center!important;align-self:center!important;gap:3px!important;font-size:9px!important;line-height:1.15!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line.glpm-is-free .glpm-reward-mark svg{width:32px!important;height:32px!important;flex:0 0 32px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-intro.glpm-alternative-intro{font-size:12px!important;font-weight:500!important;color:var(--glpm-muted)!important;margin:6px 0 5px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:6px!important;align-items:stretch!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid[data-options="2"]{grid-template-columns:repeat(2,minmax(0,1fr))!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid[data-options="1"]{grid-template-columns:minmax(0,1fr)!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid .glpm-reward-option{display:flex!important;flex-direction:column!important;gap:5px!important;padding:7px!important;min-width:0!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid .glpm-reward-option .glpm-option-image{width:100%!important;height:64px!important;min-height:0!important;aspect-ratio:auto!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid .glpm-reward-option .glpm-option-image img{object-fit:contain!important;width:100%!important;height:100%!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid .glpm-reward-option .glpm-option-text{gap:3px!important;min-width:0!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid .glpm-reward-option .glpm-option-text>a{font-size:11px!important;line-height:1.3!important;min-height:2.6em!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid .glpm-reward-option button[data-glpm-action=choose]{min-height:32px!important;padding:4px 8px!important;font-size:11px!important;margin-top:auto!important;max-width:none!important;width:100%!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid[data-options="1"] .glpm-reward-option{display:grid!important;grid-template-columns:84px minmax(0,1fr) 80px!important;grid-template-rows:auto!important;align-items:center!important;gap:9px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid[data-options="1"] .glpm-reward-option .glpm-option-image{grid-column:1!important;grid-row:1!important;width:84px!important;height:58px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid[data-options="1"] .glpm-reward-option .glpm-option-text{grid-column:2!important;grid-row:1!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid[data-options="1"] .glpm-reward-option .glpm-option-text>a{min-height:0!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid[data-options="1"] .glpm-reward-option button[data-glpm-action=choose]{grid-column:3!important;grid-row:1!important;align-self:center!important;margin:0!important;max-width:80px!important}
@media(max-width:700px){
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid,body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid[data-options="2"]{grid-template-columns:minmax(0,1fr)!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid .glpm-reward-option,body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid[data-options="1"] .glpm-reward-option{display:grid!important;grid-template-columns:64px minmax(0,1fr) 62px!important;grid-template-rows:auto!important;align-items:center!important;gap:7px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid .glpm-reward-option .glpm-option-image,body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid[data-options="1"] .glpm-reward-option .glpm-option-image{grid-column:1!important;grid-row:1!important;width:64px!important;height:54px!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid .glpm-reward-option .glpm-option-text,body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid[data-options="1"] .glpm-reward-option .glpm-option-text{grid-column:2!important;grid-row:1!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid .glpm-reward-option .glpm-option-text>a,body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid[data-options="1"] .glpm-reward-option .glpm-option-text>a{min-height:0!important}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid .glpm-reward-option button[data-glpm-action=choose],body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-reward-grid[data-options="1"] .glpm-reward-option button[data-glpm-action=choose]{grid-column:3!important;grid-row:1!important;min-height:44px!important;max-width:62px!important;margin:0!important;align-self:center!important}
}
}

/* 2.0.22.24: original total placement, one compact saving below amount. */
@layer gl-o5-force {
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-total{display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;align-items:center!important;column-gap:8px!important;row-gap:2px!important;flex:1 1 auto!important;min-width:0!important;white-space:normal!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-total>small{grid-column:1!important;grid-row:1 / span 2!important;align-self:center!important;text-align:start!important;padding:0!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-total>strong{grid-column:2!important;grid-row:1!important;justify-self:end!important;white-space:nowrap!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-total>.glpm-savings{grid-column:2!important;grid-row:2!important;justify-self:end!important;display:block!important;min-width:0!important;margin:0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;font-size:11px!important;font-weight:500!important;line-height:1.35!important;color:var(--gs-x-popup-success,var(--glpm-good,var(--gs-color-savings)))!important;white-space:normal!important;overflow-wrap:anywhere!important;text-align:end!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-total>.glpm-savings[hidden]{display:none!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-total:has(>.glpm-savings[hidden]){grid-template-rows:auto!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-total:has(>.glpm-savings[hidden])>small{grid-row:1!important;}
}

/* 2.0.22.23: approved single compact gift badge, unchanged. */
@layer gl-o5-force {
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line.glpm-is-free .glpm-reward-mark{display:inline-flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;align-self:center!important;justify-self:end!important;box-sizing:border-box!important;width:max-content!important;min-width:0!important;max-width:none!important;gap:4px!important;padding:6px!important;border-radius:7px!important;background:color-mix(in srgb,var(--gs-x-popup-icon,var(--glpm-link,var(--o5-link,var(--gs-color-link)))) 13%,transparent)!important;color:var(--gs-x-popup-icon,var(--glpm-link,var(--o5-link,var(--gs-color-link))))!important;font-size:10px!important;font-weight:650!important;line-height:1.2!important;white-space:nowrap!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line.glpm-is-free .glpm-reward-mark svg{width:22px!important;height:22px!important;flex:0 0 22px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line.glpm-is-free .glpm-reward-mark>span{white-space:nowrap!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line.glpm-is-free{grid-template-columns:96px minmax(0,1fr) 68px!important;}
@media(max-width:700px){body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-line.glpm-is-free{grid-template-columns:88px minmax(0,1fr) 68px!important;}}
}

/* 2.0.22.25: approved mobile-only cart footer; desktop and cart contents unchanged. */
@layer gl-o5-force {
@media(max-width:700px) {
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details{box-sizing:border-box!important;border:1px solid var(--gs-x-popup_details-border,var(--gs-x-popup-border,var(--gs-border-soft,var(--gs-color-border))))!important;border-radius:11px!important;padding:0!important;margin:0 0 10px!important;background:var(--gs-x-popup_details-bg,var(--gs-x-popup-bg,var(--gs-color-surface)))!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details[open]{background:var(--gs-x-popup_details-active_bg,var(--gs-x-popup_details-bg,var(--gs-x-popup-bg,var(--gs-color-surface))))!important;border-color:var(--gs-x-popup_details-active_border,var(--gs-x-popup_details-border,var(--gs-x-popup-border,var(--gs-border-soft,var(--gs-color-border)))))!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary{box-sizing:border-box!important;padding:9px 10px!important;min-height:48px!important;gap:5px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-total{grid-template-columns:max-content minmax(0,1fr)!important;column-gap:8px!important;row-gap:2px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-total>small{text-transform:none!important;letter-spacing:0!important;font-weight:400!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-total>strong{justify-self:start!important;font-size:clamp(19px,5.6vw,24px)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-total>.glpm-savings{justify-self:start!important;text-align:start!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-label{margin:0!important;flex-shrink:0!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-footer .glpm-actions{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;gap:7px!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-footer .glpm-actions :is(button,a).glpm-secondary{box-sizing:border-box!important;border:1px solid var(--gs-x-popup-secondary_border,var(--gs-x-popup-border,var(--gs-color-border)))!important;background:var(--gs-x-popup-secondary_bg,var(--gs-x-popup-bg,var(--gs-color-surface)))!important;border-radius:8px!important;color:var(--gs-x-popup-secondary_text,var(--glpm-text,var(--gs-color-text-primary)))!important;min-height:44px!important;font-size:11px!important;font-weight:600!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-footer .glpm-actions :is(button,a).glpm-secondary:is(:hover,:active,:focus-visible){border-color:var(--gs-x-popup-focus,var(--gs-color-focus))!important;color:var(--gs-x-popup-secondary_text,var(--glpm-text,var(--gs-color-text-primary)))!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-footer .glpm-actions :is(button,a).glpm-secondary:focus-visible{outline:2px solid var(--gs-x-popup-focus,var(--gs-color-focus))!important;outline-offset:2px!important;}
}
}

/* 2.0.22.27 — desktop total grouping only; mobile <=700px untouched. */
@layer gl-o5-force {
@media (width > 700px) {
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-total{grid-template-columns:max-content minmax(0,1fr)!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-total>strong{justify-self:start!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-total>.glpm-savings{justify-self:start!important;text-align:start!important;}
body.gl-preset-option5.gl-theme.gl-theme #gl-premium-cart-root.glpm .glpm-order-details>summary .glpm-detail-label{margin-inline-start:auto!important;flex-shrink:0!important;}
}
}
