/* V7.8.9: scoped layout only; existing app.css remains intact */
.ls-site-topbar{background:linear-gradient(100deg,#eef0ff,#f7efff);color:#29334e;text-align:center;padding:9px 16px;font-size:13px}
.ls-site-header{display:flex;align-items:center;justify-content:space-between;gap:18px;flex-wrap:wrap}
.ls-site-logo{white-space:nowrap}.ls-site-logo img{max-width:190px;max-height:54px;object-fit:contain;display:block}
.ls-site-nav{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.ls-site-nav a{color:#202946;text-decoration:none}.ls-site-nav a:hover{color:#7546f9}
.ls-nav-item{position:relative}.ls-nav-item>a{display:block;padding:12px 7px}
.ls-submenu{display:none;position:absolute;top:100%;left:0;z-index:100;min-width:170px;padding:8px;background:#fff;border:1px solid #e9e0ff;border-radius:12px;box-shadow:0 12px 28px #24204a20}
.ls-submenu a{display:block;padding:9px 11px;white-space:nowrap;border-radius:7px}.ls-submenu a:hover{background:#f4efff}
.ls-nav-item:hover .ls-submenu,.ls-nav-item:focus-within .ls-submenu{display:block}
.ls-menu-toggle{display:none;background:#f3eeff;color:#422a8e;border:1px solid #ded3ff;border-radius:10px;padding:9px 13px;cursor:pointer}
.ls-cart-link,.ls-line-link{white-space:nowrap}.ls-line-link{padding:9px 12px;border-radius:10px;background:#efeaff}
.ls-site-footer{display:block;padding:35px max(20px,calc((100vw - 1200px)/2)) 18px;background:#172747;color:#f7f8ff}
.ls-footer-inner{display:grid;grid-template-columns:1.4fr repeat(4,1fr);gap:24px;align-items:start}
.ls-footer-inner strong{display:block;margin-bottom:12px}.ls-footer-col a{display:block;color:#d2dafa;text-decoration:none;padding:5px 0;font-size:14px}.ls-footer-col a:hover{color:#fff}
.ls-footer-brand p{font-size:14px;line-height:1.7;color:#d2dafa}.ls-footer-legal{border-top:1px solid #ffffff25;padding-top:16px;margin-top:22px;font-size:12px;color:#c8d0e8}
@media(max-width:900px){.ls-menu-toggle{display:block}.ls-site-nav{display:none;width:100%;flex-direction:column;align-items:stretch;gap:0}.ls-site-nav.ls-open{display:flex}.ls-nav-item>a,.ls-site-nav>.ls-cart-link,.ls-site-nav>.ls-line-link{display:block;padding:12px}.ls-submenu{display:block;position:static;box-shadow:none;border:0;background:#f7f4ff;margin:0 0 6px 12px}.ls-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr))}.ls-footer-brand{grid-column:1/-1}}
@media(max-width:520px){.ls-footer-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.ls-site-logo img{max-width:150px}}

/* V7.8.9.3: responsive drawer, service guarantees, mobile bottom navigation */
.ls-services{background:#073c65;color:#fff;margin-top:0}.ls-services-inner{width:min(1200px,calc(100% - 40px));margin:auto;padding:28px 0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.ls-service-item{display:flex;align-items:center;gap:14px}.ls-service-icon{font-size:31px;color:#ffbd2e;flex:0 0 44px;text-align:center}.ls-service-item strong{font-size:15px}.ls-service-item p{margin:6px 0 0;font-size:12px;line-height:1.6;color:#d2dafa}.ls-site-footer{margin-top:0!important}.ls-footer-col-toggle{display:flex;justify-content:space-between;align-items:center;width:100%;padding:0;background:none;color:inherit;border:0;text-align:left;font:inherit;cursor:pointer}.ls-footer-col-toggle strong{margin-bottom:12px}.ls-footer-col-toggle span{display:none}.ls-mobile-search,.ls-mobile-drawer,.ls-mobile-bottom{display:none}.ls-drawer-backdrop[hidden],.ls-drawer-panel[hidden],.ls-drawer-children[hidden]{display:none!important}
@media(max-width:900px){
 .ls-site-header{min-height:66px;flex-wrap:nowrap}.ls-menu-toggle{display:block;order:-1}.ls-site-nav{display:none!important}.ls-site-logo{margin:auto}.ls-mobile-search{display:block;background:#fff;padding:10px 14px;border-bottom:1px solid #e5e5f3}.ls-mobile-search form{display:flex;overflow:hidden;border:1px solid #cddcff;border-radius:40px;background:#fff}.ls-mobile-search input{flex:1;min-width:0;padding:11px 15px;border:0;background:transparent;outline:0}.ls-mobile-search button{width:48px;border:0;background:#7048ff;color:#fff;font-size:26px;cursor:pointer}
 .ls-drawer-backdrop{display:block;position:fixed;inset:0;background:rgba(11,18,35,.65);z-index:1000}.ls-mobile-drawer{display:flex;position:fixed;inset:0 auto 0 0;width:min(85vw,340px);max-width:100%;background:#fff;z-index:1001;transform:translateX(-103%);transition:transform .22s ease;flex-direction:column;overflow:hidden;box-shadow:10px 0 40px #1113}.ls-mobile-drawer.is-open{transform:translateX(0)}body.ls-drawer-open{overflow:hidden}.ls-drawer-search{display:flex;flex-shrink:0;padding:14px 10px;border-bottom:1px solid #ddd}.ls-drawer-search input{flex:1;min-width:0;padding:10px;border:0;outline:0}.ls-drawer-search button{border:0;background:transparent;font-size:24px;color:#6540df}.ls-drawer-tabs{display:grid;grid-template-columns:1fr 1fr;flex-shrink:0}.ls-drawer-tab{border:0;border-bottom:2px solid #e5e5e5;padding:16px 4px;background:#f2f2f2;color:#666;cursor:pointer}.ls-drawer-tab.is-active{background:#fff;border-bottom-color:#286cff;color:#24263d}.ls-drawer-panel{display:block;overflow-y:auto;overscroll-behavior:contain;flex:1;min-height:0}.ls-drawer-category-line{display:flex;min-height:48px;align-items:stretch;border-bottom:1px solid #e7e7e7}.ls-drawer-category-line>a{display:flex;align-items:center;flex:1;padding:12px 20px;font-size:13px;color:#263047}.ls-category-expand{width:46px;flex-shrink:0;border:0;border-left:1px solid #e8e8e8;background:#fff;font-size:24px;color:#777;cursor:pointer}.ls-category-expand[aria-expanded=true]{transform:none;color:#6540df}.ls-drawer-children{padding-left:14px;background:#f8f6ff}.ls-drawer-child-link{display:block;padding:13px 18px;border-bottom:1px solid #eae6f4;font-size:13px}.ls-drawer-empty{padding:20px}.ls-mobile-bottom{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));position:fixed;bottom:0;left:0;right:0;z-index:60;background:#fff;border-top:1px solid #e4e3f0;box-shadow:0 -4px 15px #17133115;padding-bottom:env(safe-area-inset-bottom)}.ls-mobile-bottom a{min-width:0;min-height:57px;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;font-size:10px;color:#263047}.ls-mobile-bottom span{font-size:21px;color:#5140aa}.ls-mobile-bottom .ls-bottom-line span{font-size:12px;font-weight:800;color:#06c755}.ls-services-inner{grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.ls-footer-col-toggle{padding:12px 0}.ls-footer-col-toggle strong{margin:0}.ls-footer-col-toggle span{display:inline}.ls-footer-col-links{display:none}.ls-footer-col.is-open .ls-footer-col-links{display:block}body{padding-bottom:calc(57px + env(safe-area-inset-bottom))}
}
@media(max-width:520px){.ls-services-inner{grid-template-columns:1fr;gap:23px;padding:30px 0}.ls-service-item{gap:18px}.ls-site-footer{padding-bottom:24px}.ls-footer-inner{grid-template-columns:1fr}.ls-footer-brand{grid-column:auto}.ls-footer-col{border-bottom:1px solid #ffffff25}}
/* LegendShop V7.8.9.3.1 — footer white / purple appearance only */
.ls-services{background:linear-gradient(135deg,#ffffff 0%,#f9f7ff 48%,#eee9ff 100%)!important;color:#1c2745!important;border-top:1px solid #eee8ff;border-bottom:1px solid #e4dcff}
.ls-services-inner{color:#1c2745}
.ls-service-item strong{color:#25304f!important;font-weight:800}
.ls-service-item p{color:#66718b!important}
.ls-service-icon{color:#7546f9!important;filter:none}
.ls-site-footer{background:linear-gradient(135deg,#ffffff 0%,#faf9ff 50%,#f1edff 100%)!important;color:#26314d!important;border-top:0;box-shadow:none}
.ls-site-footer .ls-footer-inner strong,.ls-site-footer .ls-footer-brand strong,.ls-site-footer .ls-footer-col-toggle{color:#283451!important}
.ls-site-footer .ls-footer-brand p{color:#65718b!important}
.ls-site-footer .ls-footer-col a{color:#4c5672!important}
.ls-site-footer .ls-footer-col a:hover{color:#7546f9!important}
.ls-site-footer .ls-footer-col-toggle span{color:#7546f9!important}
.ls-site-footer .ls-footer-legal{border-top:1px solid #dfd7f7!important;color:#758099!important}
@media(max-width:900px){
 .ls-site-footer .ls-footer-col{border-bottom:1px solid #e3dcf6!important}
 .ls-site-footer .ls-footer-col-toggle{color:#26314d!important}
 .ls-site-footer .ls-footer-col.is-open .ls-footer-col-links{padding:3px 12px 12px;background:rgba(255,255,255,.62);border-radius:10px}
 .ls-site-footer .ls-footer-col-links a{color:#52607d!important}
}
@media(max-width:520px){
 .ls-services-inner{gap:22px}
 .ls-service-item{padding:2px 0}
 .ls-site-footer{padding-bottom:24px!important}
}

/* LegendShop V7.8.9.3.10 — footer palette restoration.
   Keep the V7.8.9.3.9 marquee in its own stylesheet. */
html body .ls-services,
html body section.ls-services,
html body div.ls-services {
  background:linear-gradient(135deg,#fff 0%,#f9f7ff 48%,#eee9ff 100%) !important;
  color:#1c2745 !important;
  border-top:1px solid #eee8ff;
  border-bottom:1px solid #e4dcff;
}
html body .ls-services .ls-service-item strong { color:#25304f !important; }
html body .ls-services .ls-service-item p { color:#66718b !important; }
html body .ls-services .ls-service-icon { color:#7546f9 !important; }
html body footer.ls-site-footer,
html body .footer.ls-site-footer {
  background:linear-gradient(135deg,#fff 0%,#faf9ff 50%,#f1edff 100%) !important;
  color:#26314d !important;
  margin-top:0 !important;
  border-top:0 !important;
}
html body .ls-site-footer .ls-footer-inner strong,
html body .ls-site-footer .ls-footer-col-toggle { color:#283451 !important; }
html body .ls-site-footer .ls-footer-brand p { color:#65718b !important; }
html body .ls-site-footer .ls-footer-col a { color:#4c5672 !important; }
html body .ls-site-footer .ls-footer-col a:hover { color:#7546f9 !important; }
html body .ls-site-footer .ls-footer-legal {
  border-top:1px solid #dfd7f7 !important;
  color:#758099 !important;
}
@media(max-width:900px){
  html body .ls-site-footer .ls-footer-col { border-bottom:1px solid #e3dcf6 !important; }
  html body .ls-site-footer .ls-footer-col-toggle span { color:#7546f9 !important; }
  html body .ls-site-footer .ls-footer-col.is-open .ls-footer-col-links {
    background:rgba(255,255,255,.62) !important;
  }
}
