/* GM STORES v1.2.4 — Footer, Account & Returns UX Repair */

/* Compact prefooter */
body.gm-brand-v013 .prefooter.prefooter-compact{padding:clamp(34px,4.4vw,58px) 0}
body.gm-brand-v013 .prefooter.prefooter-compact .prefooter-grid{gap:clamp(22px,4vw,54px)}
body.gm-brand-v013 .prefooter.prefooter-compact h2{max-width:18ch;font-size:clamp(2rem,3.8vw,3.65rem);line-height:.98}
body.gm-brand-v013 .prefooter.prefooter-compact p{margin-top:10px;line-height:1.65}
body.gm-brand-v013 .prefooter.prefooter-compact .btn{min-width:132px;padding:12px 18px}

/* Compact premium footer */
body.gm-brand-v013 .premium-footer.footer-v124{padding:clamp(38px,5vw,62px) 0 20px}
body.gm-brand-v013 .footer-v124 .footer-main{grid-template-columns:minmax(260px,1.3fr) repeat(3,minmax(135px,.62fr));gap:clamp(24px,4vw,52px);padding-bottom:0}
body.gm-brand-v013 .footer-v124 .footer-brand-block>p{margin:18px 0 16px;line-height:1.65;font-size:.78rem}
body.gm-brand-v013 .footer-v124 .footer-main h3{margin-bottom:16px}
body.gm-brand-v013 .footer-v124 .footer-main li+li{margin-top:8px}
body.gm-brand-v013 .footer-v124 .footer-contact{gap:10px 16px}
body.gm-brand-v013 .footer-v124 .footer-trust{gap:9px}

body.gm-brand-v013 .footer-v124 .footer-newsletter{display:grid;grid-template-columns:minmax(230px,.8fr) minmax(420px,1.2fr);gap:clamp(22px,4vw,52px);align-items:center;margin-top:34px;padding:25px 0;border-top:1px solid color-mix(in srgb,currentColor 13%,transparent);border-bottom:1px solid color-mix(in srgb,currentColor 13%,transparent)}
body.gm-brand-v013 .footer-v124 .footer-newsletter-copy h3{margin:5px 0 6px;font-size:clamp(1.25rem,2vw,1.8rem);line-height:1.1}
body.gm-brand-v013 .footer-v124 .footer-newsletter-copy p{font-size:.75rem;line-height:1.55}
body.gm-brand-v013 .footer-v124 .footer-newsletter form{display:grid;gap:10px;min-width:0}
body.gm-brand-v013 .footer-v124 .footer-newsletter-fields{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:8px}
body.gm-brand-v013 .footer-v124 .footer-newsletter-email{display:block;min-width:0}
body.gm-brand-v013 .footer-v124 .footer-newsletter input[type="email"]{width:100%;min-width:0;min-height:46px;padding:0 16px;border:1px solid color-mix(in srgb,currentColor 24%,transparent);border-radius:14px;background:color-mix(in srgb,currentColor 7%,transparent);color:inherit;font-size:.78rem;outline:0}
body.gm-brand-v013 .footer-v124 .footer-newsletter input[type="email"]:focus{border-color:currentColor;box-shadow:0 0 0 3px color-mix(in srgb,currentColor 10%,transparent)}
body.gm-brand-v013 .footer-v124 .footer-newsletter .btn{min-height:46px;padding:0 18px;border-radius:14px;white-space:nowrap}
body.gm-brand-v013 .footer-v124 .newsletter-consent{position:relative;display:grid;grid-template-columns:18px minmax(0,1fr);align-items:start;gap:9px;margin:0;cursor:pointer;font-size:.66rem;line-height:1.5;opacity:.78}
body.gm-brand-v013 .footer-v124 .newsletter-consent>input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none}
body.gm-brand-v013 .footer-v124 .newsletter-consent-control{width:17px;height:17px;display:grid;place-items:center;margin-top:1px;border:1px solid color-mix(in srgb,currentColor 34%,transparent);border-radius:5px;background:transparent}
body.gm-brand-v013 .footer-v124 .newsletter-consent>input:checked+.newsletter-consent-control{background:currentColor}
body.gm-brand-v013 .footer-v124 .newsletter-consent>input:checked+.newsletter-consent-control:after{content:'✓';color:var(--gm-bg);font-size:.65rem;font-weight:900}
body.gm-brand-v013 .footer-v124 .newsletter-consent>input:focus-visible+.newsletter-consent-control{box-shadow:0 0 0 3px color-mix(in srgb,currentColor 16%,transparent)}
body.gm-brand-v013 .footer-v124 .newsletter-consent-copy{min-width:0}
body.gm-brand-v013 .footer-v124 .footer-bottom{margin-top:18px;padding-top:17px;font-size:.6rem;color:color-mix(in srgb,currentColor 48%,transparent)}

/* Light/minimal footer needs dark tick and readable surfaces. */
body.gm-brand-v013 .footer-style-light.footer-v124 .newsletter-consent>input:checked+.newsletter-consent-control:after,
body.gm-brand-v013 .footer-style-minimal.footer-v124 .newsletter-consent>input:checked+.newsletter-consent-control:after{color:var(--gm-surface)}

/* Account hero must remain a real dark marketing surface in every theme. */
body.gm-brand-v013 .account-hero{background:linear-gradient(128deg,#0d1016 0%,#1d2430 62%,#2a303a 100%)!important;color:#fff!important;border:1px solid rgba(255,255,255,.08)}
body.gm-brand-v013 .account-hero h1,
body.gm-brand-v013 .account-hero .eyebrow{color:#fff!important}
body.gm-brand-v013 .account-hero p{color:rgba(255,255,255,.72)!important}
body.gm-brand-v013 .account-hero .btn-light{background:#fff;color:#111827;border-color:#fff}

/* Return eligibility UX */
body.gm-brand-v013 .return-eligibility-note{display:flex;align-items:flex-start;gap:11px;margin-top:14px;padding:13px 14px;border:1px solid var(--gm-border);border-radius:14px;background:color-mix(in srgb,var(--gm-primary) 6%,var(--gm-surface))}
body.gm-brand-v013 .return-eligibility-note>span{flex:0 0 24px;width:24px;height:24px;display:grid;place-items:center;border-radius:50%;background:var(--gm-ink);color:var(--gm-bg);font-weight:800;font-size:.7rem}
body.gm-brand-v013 .return-eligibility-note p{margin:1px 0 0;color:var(--gm-muted);font-size:.72rem;line-height:1.55}
body.gm-brand-v013 .return-request-title{max-width:100%;font-size:clamp(1.9rem,5.5vw,3.5rem)!important;line-height:1.02;overflow-wrap:anywhere;word-break:break-word}
body.gm-brand-v013 .return-request-locked{display:grid;grid-template-columns:42px minmax(0,1fr);gap:15px;align-items:start}
body.gm-brand-v013 .return-lock-icon{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;background:var(--gm-ink);color:var(--gm-bg);font-weight:900}
body.gm-brand-v013 .return-request-locked p{color:var(--gm-muted);line-height:1.65}

/* Single banner occupies the whole composition; image banners crop away source whitespace. */
body.gm-brand-v013 .banner-editorial-grid.is-single{grid-template-columns:1fr}
body.gm-brand-v013 .banner-editorial-grid.is-single .editorial-banner{grid-column:1!important;grid-row:auto!important;width:100%;min-height:clamp(320px,44vw,520px)}
body.gm-brand-v013 .editorial-banner.has-image{background-size:cover;background-position:center 58%}

@media(max-width:991.98px){
  body.gm-brand-v013 .footer-v124 .footer-main{grid-template-columns:minmax(0,1.3fr) repeat(2,minmax(135px,.7fr))}
  body.gm-brand-v013 .footer-v124 .footer-trust-column{grid-column:2/4}
  body.gm-brand-v013 .footer-v124 .footer-newsletter{grid-template-columns:1fr}
}
@media(max-width:767.98px){
  body.gm-brand-v013 .prefooter.prefooter-compact{padding:32px 0}
  body.gm-brand-v013 .prefooter.prefooter-compact .prefooter-grid{align-items:flex-start;flex-direction:column}
  body.gm-brand-v013 .prefooter.prefooter-compact .btn{width:100%}
  body.gm-brand-v013 .premium-footer.footer-v124{padding:34px 0 18px}
  body.gm-brand-v013 .footer-v124 .footer-main{grid-template-columns:1fr 1fr;gap:27px 18px}
  body.gm-brand-v013 .footer-v124 .footer-brand-block{grid-column:1/-1}
  body.gm-brand-v013 .footer-v124 .footer-trust-column{grid-column:1/-1}
  body.gm-brand-v013 .footer-v124 .footer-newsletter{margin-top:28px;padding:22px 0}
  body.gm-brand-v013 .footer-v124 .footer-newsletter-fields{grid-template-columns:1fr}
  body.gm-brand-v013 .footer-v124 .footer-newsletter .btn{width:100%}
  body.gm-brand-v013 .footer-v124 .footer-bottom{align-items:flex-start;flex-direction:column;gap:7px}
  body.gm-brand-v013 .return-request-locked{grid-template-columns:1fr}
}
@media(max-width:420px){
  body.gm-brand-v013 .footer-v124 .footer-main{grid-template-columns:1fr}
  body.gm-brand-v013 .footer-v124 .footer-brand-block,
  body.gm-brand-v013 .footer-v124 .footer-trust-column{grid-column:auto}
}
