/* ArmaloPe's shared type, button and header system. Theme colors inherit by world. */
body{--ui-accent:#ffda30;--ui-accent-ink:#181d25;--ui-accent-hover:#eac624;--ui-panel:#161d27;--ui-outline:#687383;--ui-ink:#f6f7fa}
body.am-global-home{--ui-panel:#fff;--ui-outline:#dadce0;--ui-ink:#343a43}
body.lm-marvel-site{--ui-accent:#F13B43;--ui-accent-ink:#fff;--ui-accent-hover:#d82c35;--ui-outline:#80505e;--ui-panel:#260d14;--ui-ink:#f8f4f5}
body.lm-starwars-site{--ui-accent:#ffda30;--ui-accent-ink:#14202b;--ui-accent-hover:#eac624;--ui-outline:#527588;--ui-panel:#031b2a;--ui-ink:#f5f8fa;--sw-yellow:#ffda30}

/* The existing single Theme Builder header retains one layout on every page. */
body .lm-header{background:var(--ui-panel)!important;padding-block:1.1rem;--lm-accent:var(--ui-accent)}
body.lm-marvel-site .lm-header{background:#260d14!important;border-bottom:1px solid #55212f}
body.lm-starwars-site .lm-header{background:#031b2a!important;border-bottom:1px solid #21475c}
body .lm-header :is(.lm-nav-link,.lm-link){font-family:'DM Sans',sans-serif!important;font-size:.75rem!important;line-height:1.5!important;font-weight:700!important;letter-spacing:0;text-transform:none;white-space:nowrap;text-shadow:none!important}
body .lm-header :is(.lm-nav-link,.lm-link){color:var(--ui-ink)!important}
body .lm-header :is(.lm-nav-link,.lm-link):hover{color:var(--ui-accent)!important}
body.am-global-home .lm-header :is(.lm-nav-link,.lm-link):hover{color:#bf182f!important}
body .lm-header .lm-nav{gap:1.3rem}
body .lm-header .lm-brand{gap:.5rem;align-items:center}
body .lm-header .lm-brand>a:first-child{order:0}
body .lm-header .am-header-wordmark{display:block!important;order:1;font-family:'Barlow Condensed',sans-serif!important;font-size:2rem;font-weight:900!important;line-height:1!important;letter-spacing:-.035em;color:#f6f7fa;white-space:nowrap;margin:0}
body.am-global-home .lm-header .am-header-wordmark{color:#181d25}
body .lm-header .am-header-wordmark span{color:#d72b3d;font-family:inherit}
body .lm-header .lm-brand a:has(img.lm-header-logo-marvel),body .lm-header .lm-brand a:has(img.lm-header-logo-starwars){order:2}
body:not(.am-global-home) .lm-header .lm-brand a:has(img.lm-header-logo-marvel),body:not(.am-global-home) .lm-header .lm-brand a:has(img.lm-header-logo-starwars){border-left:1px solid #ffffff38;padding-left:.65rem;margin-left:.2rem}
body .lm-header .lm-brand img:not(.lm-header-logo-marvel):not(.lm-header-logo-starwars){width:3.3rem;height:2.6rem;object-fit:contain}
body:not(.am-global-home) .lm-header :is(.lm-header-logo-marvel,.lm-header-logo-starwars){width:5.8rem;height:2.6rem;max-height:2.6rem;object-fit:contain}
html body .elementor .lm-announcement{font-family:'DM Sans',sans-serif!important;font-size:.67rem!important;line-height:1.5;font-weight:600;letter-spacing:.015em;padding:.45rem 3%}
body.lm-marvel-site .lm-announcement{background:#41101e;color:#f6d5dc;border:0}
body.lm-starwars-site .lm-announcement{background:#ffda30;color:#17212d;border:0}

/* Two-line world heroes plus a separate editable, slightly tilted phrase. */
body :is(.lm-page .lm-hero,.sw-page .sw-hero) .lm-world-hero-heading{font-family:'Barlow Condensed',sans-serif!important;font-size:clamp(4.1rem,6.7vw,7rem)!important;font-weight:900!important;line-height:.88!important;letter-spacing:-.035em!important;text-transform:uppercase;color:#fff!important;margin:0!important;text-shadow:none!important;-webkit-text-stroke:0!important}
body :is(.lm-page .lm-hero,.sw-page .sw-hero) .lm-world-ribbon{display:block!important;width:fit-content;max-width:100%;font-family:'Barlow Condensed',sans-serif!important;font-size:clamp(1.8rem,3.5vw,3.7rem)!important;font-weight:900!important;line-height:1.05!important;letter-spacing:-.015em;text-transform:uppercase;background:var(--ui-accent)!important;color:var(--ui-accent-ink)!important;padding:.12rem .4rem .3rem!important;margin:.55rem 0 .6rem!important;transform:rotate(-1.5deg)!important;text-shadow:none!important;box-shadow:none;border:0}
body .lm-page .lm-hero-copy,body .sw-page .sw-hero-copy{gap:1.2rem;align-items:flex-start}
body .lm-page .lm-hero-copy .lm-body,body .sw-page .sw-hero-description{font-family:'DM Sans',sans-serif!important;font-size:.95rem!important;line-height:1.8!important;max-width:31rem;color:#e1dce0}
body .sw-page .sw-hero-description{color:#d4e0e9}
body :is(.lm-page .lm-hero,.sw-page .sw-hero) .lm-world-hero-heading br{display:block}

/* Emphasized heading words use their world's text color, without underlines. */
body .lm-page .lm-h2,body .sw-page :is(.sw-section,.sw-faction,.sw-launch,.sw-newsletter) h2{font-family:'Barlow Condensed',sans-serif!important;font-weight:900!important;letter-spacing:-.02em;line-height:1.05}
body .lm-page .lm-h2>:is(strong,span),body .lm-page .lm-promo .lm-title>:is(strong,span),body .sw-page :is(.sw-section,.sw-faction,.sw-launch,.sw-newsletter) h2>:is(strong,span){color:var(--ui-accent)!important;font-family:inherit!important;font-weight:inherit!important;background:none!important;text-decoration:none!important;box-shadow:none!important;-webkit-text-stroke:0}
body .lm-page .lm-h2{font-size:clamp(2rem,2.7vw,3rem)}
body .sw-page .sw-section h2{font-size:clamp(2rem,2.7vw,3rem)}
body .lm-page .lm-eyebrow,body .sw-page .sw-section-description{font-family:'DM Sans',sans-serif!important}

/* CTA buttons share the home proportions; navigation, tabs and gallery controls
   keep their own control geometry. No action or submit behavior is changed. */
body :is(.am-button,.lm-btn,.lm-card-btn,.lm-explore-button,.sw-button,.sw-cart-button,.lmp-buy-now,.lmp-add,.lmp-combo-submit,.lmr-view-all,.lmr-load-more),body .woocommerce :is(a.button,button.button,input.button),body .lmr-form input[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:1.5rem;min-height:2.8rem;padding:.85rem 1.15rem!important;border:1px solid var(--ui-accent)!important;border-radius:.35rem!important;background:var(--ui-accent)!important;color:var(--ui-accent-ink)!important;font-family:'Barlow Condensed',sans-serif!important;font-size:.85rem!important;font-weight:800!important;line-height:1.4!important;letter-spacing:0;text-align:center;text-decoration:none;box-shadow:none!important;text-shadow:none!important;transition:background-color .2s,border-color .2s,transform .2s;cursor:pointer}
body :is(.am-button,.lm-btn,.lm-card-btn,.lm-explore-button,.sw-button,.sw-cart-button,.lmp-buy-now,.lmp-combo-submit),body .woocommerce :is(a.button,button.button,input.button),body .lmr-form input[type=submit]{background:var(--ui-accent)!important;color:var(--ui-accent-ink)!important}
body :is(.am-button,.lm-btn,.lm-card-btn,.lm-explore-button,.sw-button,.sw-cart-button,.lmp-buy-now,.lmp-combo-submit):hover,body .woocommerce :is(a.button,button.button,input.button):hover,body .lmr-form input[type=submit]:hover{background:var(--ui-accent-hover)!important;border-color:var(--ui-accent-hover)!important;transform:translateY(-2px)}
body :is(.am-outline,.sw-button--outline,.lmp-add,.lmr-view-all,.lmr-load-more){background:transparent!important;color:var(--ui-ink)!important;border-color:var(--ui-outline)!important}
body .am-home .am-outline{background:#fff!important}
body :is(.am-outline,.sw-button--outline,.lmp-add,.lmr-view-all,.lmr-load-more):hover{background:color-mix(in srgb,var(--ui-accent) 12%,var(--ui-panel))!important;border-color:var(--ui-accent)!important;color:var(--ui-ink)!important;transform:translateY(-2px)}
body .sw-button--red{background:#F13B43!important;border-color:#F13B43!important;color:#fff!important}
body .sw-button--red:hover{background:#d82c35!important;border-color:#d82c35!important;color:#fff!important}
body :is(.am-subscribe-fields,.sw-newsletter-fields) button{font-family:'Barlow Condensed',sans-serif!important;font-size:.85rem!important;font-weight:800!important;line-height:1.4;padding:.85rem 1.15rem!important;box-shadow:none;text-shadow:none}
body .lm-page .lm-hero-copy>.lm-row>.lm-link{display:inline-flex;align-items:center;justify-content:center;gap:1.5rem;min-height:2.8rem;padding:.85rem 1.15rem!important;border:1px solid var(--ui-outline)!important;border-radius:.35rem;background:transparent;color:var(--ui-ink)!important;font-family:'Barlow Condensed',sans-serif!important;font-size:.85rem!important;font-weight:800!important;line-height:1.4;text-decoration:none}
body .lm-page .lm-hero-copy>.lm-row>.lm-link:hover{background:#ffffff0c;border-color:var(--ui-accent)!important}
body :is(.am-button,.lm-btn,.sw-button,.lmp-buy-now,.lmp-add,.lmp-combo-submit):focus-visible{outline:3px solid var(--ui-accent);outline-offset:4px}
body :is(.am-button,.lm-btn,.sw-button,.lmp-buy-now,.lmp-add,.lmp-combo-submit):disabled{opacity:.5;cursor:not-allowed;transform:none}

/* Small functional headings use DM Sans, with readable sizes on dark and light panels. */
body :is(.am-trust-copy strong,.lm-trust-item strong,.sw-trust-copy strong,.lmp-benefit strong,.lmp-assurance strong,.lm-home-faq-question){font-family:'DM Sans',sans-serif!important;font-size:.875rem!important;font-weight:750!important;line-height:1.4!important;letter-spacing:0}
body .am-home .am-trust-copy{font-family:'DM Sans',sans-serif!important;font-size:.75rem;line-height:1.65}
body .am-home .am-trust-copy strong{font-size:.875rem!important}
body .sw-page .sw-trust-copy{font-family:'DM Sans',sans-serif!important;font-size:.75rem;line-height:1.65}
body .lm-page .lm-trust-item .lm-col{font-family:'DM Sans',sans-serif!important;font-size:.75rem;line-height:1.65}
body .lm-page .lm-home-faq-question{font-size:.95rem!important}
body :is(.lmp-assurance strong,.lmp-benefit strong){font-size:.95rem!important}

@media(max-width:1100px){body .lm-header .am-header-wordmark{font-size:1.7rem}body .lm-header .lm-nav{gap:.85rem}body:not(.am-global-home) .lm-header :is(.lm-header-logo-marvel,.lm-header-logo-starwars){width:4.8rem}}
@media(max-width:767px){
 body .lm-header{padding:.75rem 0}body .lm-header .lm-nav{gap:.85rem;justify-content:flex-start;overflow-x:auto;padding-bottom:.2rem}
 body:not(.am-global-home) .lm-header .am-header-wordmark{display:none!important}body.am-global-home .lm-header .am-header-wordmark{font-size:2rem}
 body .lm-header :is(.lm-nav-link,.lm-link){font-size:.72rem!important}body .lm-header .lm-brand{gap:.65rem}
 body :is(.lm-page .lm-hero,.sw-page .sw-hero) .lm-world-hero-heading{font-size:clamp(4rem,15vw,6rem)!important;line-height:.88!important;letter-spacing:-.035em!important}
 body :is(.lm-page .lm-hero,.sw-page .sw-hero) .lm-world-ribbon{font-size:clamp(1.55rem,7vw,2.8rem)!important;white-space:nowrap;margin:.45rem 0 .55rem!important;padding:.12rem .3rem .25rem!important}
 body .lm-page .lm-hero-copy,body .sw-page .sw-hero-copy{gap:1rem}
 body .lm-page .lm-hero-copy .lm-body,body .sw-page .sw-hero-description{font-size:.9rem!important;line-height:1.8!important}
 body .lm-page .lm-hero-copy{width:100%!important;max-width:100%!important}
 body :is(.am-button,.lm-btn,.lm-card-btn,.lm-explore-button,.sw-button,.sw-cart-button,.lmp-buy-now,.lmp-add,.lmp-combo-submit,.lmr-view-all,.lmr-load-more){gap:.9rem;padding:.8rem 1rem!important;font-size:.83rem!important}
 body .am-home .am-trust-copy,body .sw-page .sw-trust-copy,body .lm-page .lm-trust-item .lm-col{font-size:.69rem}
 body :is(.am-trust-copy strong,.lm-trust-item strong,.sw-trust-copy strong){font-size:.78rem!important}
 body :is(.lmp-benefit strong,.lmp-assurance strong){font-size:.85rem!important}
}
@media(max-width:360px){body :is(.lm-page .lm-hero,.sw-page .sw-hero) .lm-world-hero-heading{font-size:clamp(3.4rem,17vw,4rem)!important}body :is(.lm-page .lm-hero,.sw-page .sw-hero) .lm-world-ribbon{font-size:clamp(1.35rem,7.4vw,1.65rem)!important}}
@media(prefers-reduced-motion:reduce){body :is(.am-button,.lm-btn,.lm-card-btn,.lm-explore-button,.sw-button,.sw-cart-button,.lmp-buy-now,.lmp-add,.lmp-combo-submit,.lmr-view-all,.lmr-load-more){transition:none!important;transform:none!important}}
