/* ===== Leadstart header CSS - Bootstrap 5.3 edition =====
Requires: the theme's Bootstrap 5.3 CSS (loaded before this file):
bootstrap.min.css is enqueued by the theme on every page and provides
all .row / .col-* / .d-* / spacing / flex / text utilities the header
markup uses. This file only styles kit-specific .ls-* classes and
theme components (colors, fonts, spacing) scoped under .ls-header; it
does not re-implement any Bootstrap utility or grid class.
System font stack only: League Spartan and Space Grotesk are not used.
Dark / light mode removed. ===== */


.ls-header *{box-sizing:border-box}
.ls-header{ /* was :root — variables now scoped to the header */
--font-head:system-ui,-apple-system,'Segoe UI',sans-serif;
--font-body:system-ui,-apple-system,'Segoe UI',sans-serif;
--pink:#ff3258; --purple:#635bff; --yellowgreen:#e5fd5f; --logo:#ff3258;
--grad:linear-gradient(90deg,#e7f524 30%,#f12d4a 55%,#d08be7 100%);
--grad-anim:linear-gradient(-45deg,#e7f524,#f12d4a,#d08be7,#e7f524);
--bg:#fff; --fg:#111; --muted:#6c757d; --border:#dee2e6; --border-soft:#ffffff1c;
--head-bg:#fff; --panel:#fff; --hover:#f4f4f6; --shadow:0 10px 28px rgba(0,0,0,.13);
}
.ls-header{margin:0;background:#e6e6ea;color:#111;font-family:var(--font-body) !important;font-size: 14px !important} /* was body — scoped to the header */
.ls-header a{color:inherit}
.ls-header h5{margin:0 0 8px}
.ls-header small{font-size: .78em !important}

/* ===== demo chrome ===== */
.ls-header .intro{max-width:1100px;margin:22px auto;padding:0 16px}
.ls-header .intro-card{background:#0c0c10;color:#d9d9de;border-radius:12px;padding:18px 22px;font-size: 13px !important;line-height:1.65}
.ls-header .intro-card h1{font-family:var(--font-head) !important;font-size: 22px !important;margin:0 0 8px;color:#fff}
.ls-header .intro-card code{background:#ffffff14;padding:1px 5px;border-radius:4px;color:var(--yellowgreen)}
.ls-header.frame{position:relative;width:100vw;max-width:100vw;border-bottom:1px solid #1c1c1c;border-radius:0;overflow:visible;background:#000;color:var(--fg);box-shadow:none} /* black frame behind banner/head/hero; border-bottom #1c1c1c literal per spec; the border-soft token stays transparent (#ffffff1c) so it works on light and dark */ /* production: full-width, edge to edge; overflow kept visible so .dd-menu dropdowns are not clipped at the frame's edge */
.ls-header.frame.site-org.ls-home,.ls-header.frame.site-media.ls-home{border-bottom-color:#1c1c1c} /* homepage-only (.org/.media front page): same literal as the frame rule */
.ls-header .outro{max-width:1100px;margin:24px auto 40px;padding:0 16px;font-size: 12.5px !important;color:#555;line-height:1.7}

/* ===== floating dark/light toggle (fixed at top, not in menu) ===== */

/* ===== icons / flags / logo ===== */
.ls-header .ic{fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:-3px;flex:none}
.ls-header .flag{width:20px;height:14px;border-radius:2px;overflow:hidden;display:inline-block;vertical-align:-2px;border:1px solid #00000026;flex:none;background:#fff}
.ls-header .flag img{display:block;width:100%;height:100%;object-fit:contain}
.ls-header .logo-bg{background:none;border-radius:0;padding:0;display:inline-flex}
.ls-header .logo-bg svg{display:block;height:36px;width:36px;color:var(--logo)}
.ls-header.site-shop .logo-bg svg{color:#635bff}
.ls-header .logo-center .logo-bg svg{height:88px;width:88px}

/* ===== top bar (promo banner) — matches screenshot ===== */
.ls-header .ls-banner{background:#000;color:#fff;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:8px 16px;font-size: 12.5px !important;flex-wrap:wrap}
.ls-header .ls-banner-left,.ls-header .ls-banner-right{display:flex;align-items:center;gap:10px}
.ls-header .tb-center{display:flex;align-items:baseline;gap:12px;white-space:nowrap}
.ls-header .tb-count{font-family:ui-monospace,monospace !important;font-variant-numeric:tabular-nums;color:#fff;font-weight:600 !important;letter-spacing:1px;font-size: 13px !important}
.ls-header .tb-off{background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;font-weight:800 !important;font-size: 12px !important;letter-spacing:.5px}
.ls-header .tb-members{color:#b9b9b9;font-size: 12px !important}
.ls-header .ls-banner-link{background:none;border:none;color:#fff;font-family:var(--font-body) !important;font-size: 12px !important;font-weight:600 !important;letter-spacing:.8px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;padding:4px 7px;border-radius:4px}
.ls-header .ls-banner-link:hover{background:#ffffff1a}
.ls-header .ls-banner-link .ic{width:14px;height:14px}
.ls-header .dd-menu.lang{width:250px;max-height:330px;overflow:auto}

/* ===== buttons — consistent radius/size like merch button ===== */
.ls-header .btn{display:inline-flex;align-items:center;gap:7px;font-family:var(--font-body) !important;font-size: 12px !important;font-weight:700 !important;letter-spacing:.7px;text-transform:uppercase;border-radius:4px;padding:8px 14px;cursor:pointer;text-decoration:none;border:none;white-space:nowrap}
.ls-header .btn .ic{width:13px;height:13px}
.ls-header .btn-contribute{border:2px solid transparent;border-radius:0;color:#fff;background:linear-gradient(#000,#000) padding-box,var(--grad) border-box}
.ls-header .btn-contribute:hover{font-weight:700 !important;background:linear-gradient(#26262e,#26262e) padding-box,var(--grad) border-box}
/* .ls-no-bs — global ls-* scope for the Become a Contributor button (per request,
replacing the plugin-specific .leadstart-commerce-for-stripe-no-bs scoping):
no border-radius, hover = bold text + thicker transparent (gradient) border */
.ls-header .ls-no-bs .btn,
.ls-header .ls-no-bs.btn{border-radius:0;border:2px solid transparent;color:#fff;background:linear-gradient(#000,#000) padding-box,var(--grad) border-box}
.ls-header .ls-no-bs .btn:hover,
.ls-header .ls-no-bs.btn:hover{font-weight:700 !important;border:3px solid transparent;background:linear-gradient(#26262e,#26262e) padding-box,var(--grad) border-box}
.ls-header .btn-merch{background:#ff3258;color:#fff}
.ls-header .btn-merch:hover{opacity:.92;font-weight:700 !important}
.ls-header.site-shop .btn-merch{background:#635bff;color:#fff}
.ls-header .btn-assets{background:#ff3258;color:#fff}
.ls-header.site-shop .btn-assets{background:#635bff;color:#fff}
.ls-header .btn-auth{background:var(--panel);border:1px solid var(--border-soft);color:var(--fg)}
.ls-header .btn-auth:hover{background:var(--hover)}
.ls-header .btn-hamb{background:#000;color:#fff;border-radius:4px;display:inline-flex;align-items:center;gap:8px;font-family:var(--font-body) !important;font-size: 12px !important;font-weight:700 !important;letter-spacing:.7px;text-transform:uppercase;padding:8px 14px;cursor:pointer;border:none}
.ls-header.site-shop .btn-hamb{background:none;color:var(--purple)}

/* ===== top advertisement 728x90 (fourth row) ===== */
.ls-header .ad-slot{padding:12px 20px;background:var(--head-bg);border-top:1px solid var(--border-soft);border-bottom:1px solid var(--border-soft)}
.ls-header .top-ad{margin:0 auto;width:728px;max-width:100%;height:90px;border-radius:4px;background:var(--grad-anim);background-size:400% 400%;animation:ls-gradmove 15s ease infinite;display:flex;align-items:center;justify-content:center}
.ls-header .top-ad .ad-tag{background:#000000c9;color:#fff;font-size: 12px !important;letter-spacing:1px;padding:4px 12px;border-radius:4px}
@keyframes ls-gradmove{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}

/* ===== header rows ===== */
.ls-header .ls-head{background:var(--head-bg);border-bottom:none;color:var(--fg)}
.ls-header .ls-row{display:flex;align-items:center;gap:16px;padding:10px 20px}
.ls-header .ls-row+.ls-row{border-top:1px solid #eee;border-radius:0}
.ls-header .ls-r1-left{flex:1;display:flex;align-items:center;gap:16px;min-width:0}
.ls-header .ls-r1-right{flex:1;display:flex;align-items:center;justify-content:flex-end;gap:12px}
.ls-header .ls-row.menu .ls-r1-right{align-self:stretch;align-items:flex-end;padding-bottom:6px}
/* primary menu row: menu bottom-aligned (not centered) */
.ls-header .ls-row.menu .ls-r1-left{align-self:stretch;align-items:flex-end;padding-bottom:6px}
.ls-header .ls-primary{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.ls-header .nav-link{color:var(--fg);text-decoration:none;font-weight:500 !important;font-size: 14px !important;display:inline-flex;align-items:center;gap:4px;padding:5px 1px;background:none;border:none;font-family:var(--font-body) !important;cursor:pointer}
.ls-header .nav-link:hover{color:var(--pink)}
.ls-header.site-shop .nav-link:hover{color:var(--purple)}
.ls-header .nav-link .ic{width:12px;height:12px}
.ls-header .logo-center{display:flex;justify-content:center;text-decoration:none}

.ls-header .ls-r2-left,.ls-header .ls-r2-right{flex:1;display:flex;align-items:center;gap:10px}
.ls-header .ls-r2-right{justify-content:flex-end}

/* ===== brand (pages headers) — symbol + stacked wordmark ===== */
.ls-header .brand{display:inline-flex;align-items:center;gap:10px;text-decoration:none;min-width:0}
.ls-header .bstack{display:flex;flex-direction:column;line-height:1.15}
.ls-header .b1{font-family:var(--font-head) !important;font-weight:700 !important;font-size: 15px !important;letter-spacing:.8px;white-space:nowrap}
.ls-header .b2{font-size: 12px !important;letter-spacing:1.6px;text-transform:lowercase;color:var(--muted)}
.ls-header .shop-icons{display:flex;align-items:center;gap:14px;color:#635bff}
.ls-header .shop-icons button{background:none;border:none;color:#635bff;cursor:pointer;position:relative;padding:4px}
.ls-header .shop-icons .badge{position:absolute;top:-4px;right:-7px}

/* ===== search (pages header) — icon on right ===== */
.ls-header .ls-search-mid{display:flex;justify-content:center;flex:1}
.ls-header .searchbar{display:flex;align-items:center;gap:8px;border:1px solid var(--border-soft);border-radius:4px;padding:8px 12px;background:var(--bg);width:100%;max-width:440px;color:var(--muted)}
.ls-header .searchbar input{border:none;outline:none;background:transparent;flex:1;font-size: 13.5px !important;color:var(--fg);font-family:var(--font-body) !important}
.ls-header .search-toggle{display:none;background:none;border:none;color:var(--muted);cursor:pointer;padding:6px}
@media(max-width:860px){.ls-header .ls-search-mid .searchbar{display:none}.ls-header .search-toggle{display:inline-flex}}

/* ===== dropdowns ===== */
.ls-header .dropdown.dd{display:inline-flex} /* position:relative comes from Bootstrap */
.ls-header .dd-menu{top:calc(100% + 7px);left:0;min-width:215px;background:var(--panel);border:1px solid var(--border);border-radius:6px;box-shadow:var(--shadow);padding:6px 0;z-index:10000;max-height:70vh;overflow:auto} /* position + display:none/.show handled by Bootstrap .dropdown-menu; z-index 10000 sits above the theme's 9999 layers (chatbot widget, social-search overlay) */
.ls-header .dd-menu.right{left:auto;right:0}
.ls-header .dd-menu.city{width:330px;max-height:60vh}
.ls-header .dropdown-item{display:flex;align-items:center;gap:8px;padding:7px 14px;color:var(--fg);text-decoration:none;font-size: 13px !important;white-space:nowrap;background:none;border:none;width:100%;text-align:left;font-family:var(--font-body) !important;cursor:pointer}
.ls-header .dropdown-item:hover{background:var(--hover)}
.ls-header .dropdown-item.active{color:var(--pink);font-weight:600 !important}
.ls-header.site-shop .dropdown-item.active{color:var(--purple)}
.ls-header .dropdown-item-text{display:block;padding:.25rem 1rem;font-size: .78em !important;color:var(--muted)}
.ls-header .dropdown-divider{border-top:1px solid var(--border)} /* color theming only; size/margin come from Bootstrap */
/* ===== menu reorg: child rows nested under parent links (Resources / Assets / Editors) ===== */
.ls-header .dd-group>ul{margin:0;padding-left:22px}
.ls-header .dropdown-item.sub{padding:5px 14px;font-size: 12.5px !important;color:var(--muted)}
.ls-header .dd-head{pointer-events:none}
.ls-header .sidecart{display:none;grid-template-columns:1fr 1fr 1fr;gap:6px;width:352px;padding:10px}
.ls-header .dropdown.show>.sidecart{display:grid} /* Bootstrap adds .show to the .dropdown wrapper */
.ls-header .sc-item{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:12px;border-radius:4px;text-decoration:none;color:var(--fg);font-size: 12px !important;font-weight:600 !important;border:1px solid transparent}
.ls-header .sc-item:hover{background:var(--hover);border-color:var(--border)}
.ls-header .sc-item .ic{width:20px;height:20px;color:var(--pink)}
.ls-header.site-shop .sc-item .ic{color:var(--purple)}

/* ===== userbox / user menu ===== */
.ls-header .userbox{display:inline-flex;align-items:center;gap:9px;cursor:pointer;padding:4px 8px;border-radius:4px;background:none;border:none;font-family:var(--font-body) !important;color:var(--fg)}
.ls-header .userbox:hover{background:var(--hover)}
.ls-header .ava{width:30px;height:30px;border-radius:50%;background:linear-gradient(135deg,#e7f524,#ff9f1c 35%,#ff3258 70%,#635bff);color:#fff;font-weight:700 !important;font-size: 12px !important;display:inline-flex;align-items:center;justify-content:center;flex:none}
.ls-header .ub-name{display:flex;flex-direction:column;line-height:1.2;text-align:left}
.ls-header .ub-name strong{font-size: 13px !important;font-weight:600 !important;white-space:nowrap}
.ls-header .ub-name small{color:var(--muted);font-size: 12px !important;white-space:nowrap}
.ls-header .dd-menu.user-menu{min-width:250px;padding:0;overflow:hidden;max-height:none}
.ls-header .um-head{background:#000;color:#fff;padding:14px 16px;display:flex;justify-content:space-between;align-items:center;gap:14px}
.ls-header .um-logo{font-family:var(--font-head) !important;font-weight:700 !important;font-size: 18px !important;background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.ls-header .um-user{display:flex;align-items:center;gap:10px}
.ls-header .um-user .ava{width:40px;height:40px;font-size: 13px !important}
.ls-header .um-names{text-align:right;line-height:1.25}
.ls-header .um-names strong{font-size: 13.5px !important}
.ls-header .um-names small{color:#b9b9b9;font-size: 12px !important}
.ls-header .um-items{padding:6px 0;background:var(--panel)}
.ls-header .um-item{display:block;padding:8px 16px;font-size: 13.5px !important;color:var(--fg);text-decoration:none;background:none;border:none;width:100%;text-align:left;font-family:var(--font-body) !important;cursor:pointer}
.ls-header .um-item:hover{background:#f5f5f5}

/* ===== offcanvas (.org user menu) - native Bootstrap slide, self-contained =====
ID-scoped on purpose: the theme's previous kit styled #ocPanel with ID rules
(custom .active + #ocBack system, no slide). ID rules beat Bootstrap's
.offcanvas class rules and kill the transform transition = the panel JUMPS.
These ID+class rules out-rank the old ones and restore the .3s slide. */
#ocPanel.ls-header.oc{--bs-offcanvas-width:320px;--bs-offcanvas-padding:0;background:var(--panel);color:var(--fg)}
#ocPanel.ls-header.oc.offcanvas{position:fixed;top:0;bottom:0;right:0;left:auto;width:var(--bs-offcanvas-width);max-width:100%;z-index:1045;display:flex;flex-direction:column;transform:translateX(100%);visibility:hidden;transition:transform .3s ease-in-out,visibility .3s ease-in-out}
#ocPanel.ls-header.oc.offcanvas.showing,#ocPanel.ls-header.oc.offcanvas.hiding,#ocPanel.ls-header.oc.offcanvas.show{visibility:visible}
#ocPanel.ls-header.oc.offcanvas.showing,#ocPanel.ls-header.oc.offcanvas.show:not(.hiding){transform:none}
/* Backdrop: Bootstrap's own .offcanvas-backdrop styles apply (bootstrap.min.css); nothing re-declared here. */
.ls-header .oc-head .logo-bg svg{height:28px;width:28px} /* logo (not text) in the panel head */
.ls-header .oc-head{display:flex;justify-content:space-between;align-items:center;padding:14px 18px;border-bottom:1px solid var(--border)}
.ls-header .oc-head .um-logo{font-size: 20px !important}
.ls-header .oc-close{background:none;border:none;cursor:pointer;color:inherit}
.ls-header .oc-user{display:flex;gap:12px;align-items:center;padding:16px 18px;border-bottom:1px solid var(--border)}
.ls-header .oc-user .ava{width:46px;height:46px;font-size: 15px !important}
.ls-header .oc-id{font-size: 11px !important;color:var(--muted);line-height:1.45}
.ls-header .oc-id div{margin-top:2px}
.ls-header .oc-sep{border:none;border-top:1px solid var(--border);margin:8px 4px}
.ls-header .oc-sect{padding:8px 14px 2px;font-size: 10.5px !important;font-weight:700 !important;letter-spacing:.9px;text-transform:uppercase;color:var(--muted)}
.ls-header .oc-body{padding:10px;display:flex;flex-direction:column}
.ls-header .oc-body .um-item{border-radius:4px}
.ls-header .badge{display:inline-block;min-width:16px;text-align:center;background:var(--pink);color:#fff;border-radius:99px;font-size: 10px !important;padding:1px 5px;font-weight:700 !important}
.ls-header.site-shop .badge{background:#635bff}

/* ===== dropdown headers + home-top-categories (inside restored .searchframe) ===== */
.ls-header .dd-header{font-family:var(--font-head) !important;font-size: 12px !important;font-weight:700 !important;letter-spacing:.6px;text-transform:uppercase;color:var(--muted);padding:7px 14px 3px;margin:0;white-space:nowrap}
.ls-header .home-top-categories{padding:30px 0 0}
.ls-header .home-top-categories h5{font-family:var(--font-head) !important;font-size: 13.5px !important;letter-spacing:1.2px;text-transform:uppercase;color:#fff;margin-bottom:8px}
.ls-header .home-top-categories a{color:#fff;text-decoration:none;opacity:.88}
.ls-header .home-top-categories a:hover{opacity:1;text-decoration:underline}
.ls-header .home-top-categories ul li{margin:3px 0;font-size: 13px !important}

/* new header: home ad slots commented out - keep searchframe pull-up disabled */
@media (min-width: 768px) {
body.home .searchframe {
/* margin-top: -51px; */
}
}
/* ===== restored .searchframe: the theme's search form keeps its own styling =====
   The searchframe is theme markup (get_search_form() + slides + top categories),
   rendered inside the kit frame on the .org and .media front pages. The kit's
   .btn rule (12px, 700, uppercase, .7px letter-spacing) would restyle the theme's
   Search button, and the kit's 12px row gutters would tighten the form's
   select / field / button row. Scoped out here so "Search" keeps normal case and
   normal letter spacing and the theme row keeps Bootstrap's 24px gutters. */
.ls-header #search .btn{font-family:var(--bs-body-font-family,inherit) !important;font-size:1rem !important;font-weight:400 !important;letter-spacing:normal;text-transform:none;white-space:normal;border-radius:.375rem;border:1px solid transparent;gap:normal}
.ls-header #search .search-form{font-family:var(--bs-body-font-family,inherit) !important}
.ls-header .searchframe .row{--bs-gutter-x:1.5rem;--bs-gutter-y:1.5rem} /* Bootstrap defaults: the kit's 12px gutters apply to kit rows only */

/* ===== grid / utilities: Bootstrap-native, no overrides =====
   bootstrap.min.css (enqueued by the theme on every page) provides every
   .row / .col-* / .d-* / .g-3 / flex / spacing / text utility the header
   markup uses, so this file no longer re-implements any of them (the old
   preview subset also leaked unscoped .col-12 / .flex-column /
   .justify-content-between / .align-items-center rules). Only kit-specific
   extras live here, scoped to .ls-header. */
.ls-header .row{--bs-gutter-x:12px;--bs-gutter-y:12px} /* kit's 12px column spacing set through Bootstrap's own gutter variables (g-3 default is 16px); no .row property is overridden */
.ls-header .dd-menu ul{margin:0} /* Bootstrap's .list-unstyled drops the padding but keeps the ul's default bottom margin; kill it inside kit dropdowns */

/* ===== hero sections (studio / network home) ===== */
.ls-header .hero{padding:46px 20px 30px;text-align:center;background:var(--bg)}
.ls-header .hero-badge{display:inline-flex;gap:8px;align-items:center;border:1px solid var(--border);border-radius:99px;padding:6px 14px;font-size: 12px !important;color:var(--muted);text-transform:uppercase;letter-spacing:1px}
.ls-header .hero h1{font-family:var(--font-head) !important;font-size: 42px !important;margin:16px 0 10px;letter-spacing:-1px;line-height:1.1}
.ls-header .hero h1 .gr{background:var(--grad);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.ls-header .hero p{color:var(--muted);max-width:580px;margin:0 auto 28px;font-size: 15.5px !important}
.ls-header .shots{display:flex;gap:16px;justify-content:center;flex-wrap:wrap}
.ls-header .shot{width:430px;max-width:100%;border:1px solid var(--border);border-radius:12px;overflow:hidden;background:var(--panel);box-shadow:var(--shadow);text-align:left}
.ls-header .shot .bar{display:flex;gap:6px;padding:9px 12px;border-bottom:1px solid var(--border);align-items:center}
.ls-header .shot .bar i{width:9px;height:9px;border-radius:50%;display:block}
.ls-header .shot .cap{padding:8px 12px;font-size: 12px !important;color:var(--muted);border-top:1px solid var(--border)}
.ls-header .mockui{height:200px;position:relative;overflow:hidden;background:#141418}

/* ===== redirect section ===== */
.ls-header .redirect-wrap{padding:38px 20px;display:flex;justify-content:center;background:linear-gradient(135deg,#eef0ff,#ffeef4 55%,#f4ffee)}
.ls-header .redirect-card{width:580px;max-width:100%;background:var(--panel);border-radius:12px;box-shadow:var(--shadow);padding:28px;text-align:center;border:1px solid var(--border)}
.ls-header .rd-lock{width:46px;height:46px;border-radius:10px;background:#00000012;color:var(--fg);display:inline-flex;align-items:center;justify-content:center;margin-bottom:10px}
.ls-header .rd-kicker{font-size: 12px !important;color:var(--muted);text-transform:uppercase;letter-spacing:1.2px}
.ls-header .redirect-card h2{font-family:var(--font-head) !important;font-size: 23px !important;margin:8px 0 6px}
.ls-header .redirect-card p{color:var(--muted);font-size: 13.5px !important;margin:0 0 18px;line-height:1.6}
.ls-header .rd-steps{display:flex;gap:12px;text-align:left;margin:0 0 18px}
.ls-header .rd-step{flex:1;border:1px solid var(--border);border-radius:10px;padding:14px}
.ls-header .rd-step .n{font-family:var(--font-head) !important;font-weight:700 !important;font-size: 12px !important;color:var(--pink)}
.ls-header.site-shop .rd-step .n{color:var(--purple)}
.ls-header .rd-step h4{font-size: 13.5px !important;margin:4px 0 4px;font-family:var(--font-head) !important}
.ls-header .rd-step p{font-size: 12px !important;margin:0;color:var(--muted)}
.ls-header .btn-continue{background:var(--fg);color:var(--bg);border:none;padding:10px 22px;border-radius:4px;font-weight:700 !important;font-size: 13.5px !important;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:8px;font-family:var(--font-body) !important}
.ls-header.site-shop .btn-continue{background:#635bff;color:#fff}
.ls-header .rd-secure{margin-top:16px;display:flex;gap:8px;align-items:center;justify-content:center;color:var(--muted);font-size: 12px !important}
.ls-header .rd-secure .ic{width:14px;height:14px}

/* ===== RESPONSIVE / FLUID HEADER (added: primary menu + rows reflow) =====
   The .ls-row rules above have no flex-wrap, so on narrow screens the menu
   column (min-width:0) gets crushed next to the centered logo instead of
   reflowing. These rules make every header row wrap, stack the menu row as
   logo > menu > actions on small screens, step the logo/link sizes down,
   and replace the frame's width:100vw (which is wider than the viewport
   when a scrollbar or mobile browser chrome is present, causing horizontal
   overflow). Same specificity, later position: these win over the rules
   above on purpose. */
.ls-header.frame{width:100%;max-width:100%} /* replaces width:100vw above */

/* mobile drawer toggle: the checkbox is visually hidden but stays
   focusable (keyboard users can open the drawer too) */
.ls-header .ls-menu-toggle{position:absolute;opacity:0;pointer-events:none;margin:0;padding:0;border:0}
.ls-header .ls-menu-btn{display:none}
/* .ls-drawer groups the two menu columns so the mobile drawer can open as ONE
   dropdown overlay. At desktop display:contents makes the wrapper invisible
   to the flex row; the order rules restore the visual sequence
   left menu > logo > right menu on headers where the wrapper moved the logo
   after the group (and keep the same order on drawers without the wrapper). */
.ls-header .ls-drawer{display:contents}
.ls-header .ls-row.menu .ls-r1-left{order:1}
.ls-header .ls-row.menu .logo-center{order:2}
.ls-header .ls-row.menu .ls-r1-right{order:3}

@media(max-width:1100px){
.ls-header .ls-row{gap:10px}
.ls-header .ls-primary{gap:10px}
.ls-header .nav-link{font-size: 13px !important}
.ls-header .logo-center .logo-bg svg{height:64px;width:64px}
/* CSS3-only hamburger drawer (no JS): both menu columns sit in the .ls-drawer
   wrapper (display:contents at desktop so the flex layout is unchanged); the
   label shows a hamburger when narrow. Checking the hidden checkbox (via the
   label) opens the drawer as a dropdown OVERLAY panel anchored below the menu
   row: it overlays the rows/hero underneath instead of pushing the page down. */
.ls-header .ls-menu-btn{position:absolute;left:14px;top:50%;transform:translateY(-50%);z-index:2;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;background:#000;color:#fff;border-radius:8px;cursor:pointer} /* out of the flex flow: the logo centers on the full row width */
.ls-header .ls-menu-toggle:focus-visible ~ .ls-row.menu .ls-menu-btn{outline:2px solid #fff;outline-offset:2px}
.ls-header .ls-row.menu{position:relative;flex-wrap:nowrap;padding:10px 14px}
.ls-header .ls-row.menu .logo-center{display:flex;align-items:center;justify-content:center;flex:1 1 auto;align-self:center}
.ls-header .ls-row.menu .ls-drawer{display:none}
.ls-header .ls-row.menu .ls-r1-left,
.ls-header .ls-row.menu .ls-r1-right{display:none}
/* open state: one dropdown overlay panel; a flat, indented accordion list per side */
.ls-header .ls-menu-toggle:checked ~ .ls-row.menu .ls-drawer{display:flex;position:absolute;top:100%;left:0;right:0;z-index:60;flex-direction:column;background:var(--head-bg);border-top:1px solid #eee;box-shadow:0 14px 28px rgba(0,0,0,.18);max-height:calc(100vh - 130px);overflow-y:auto}
.ls-header .ls-menu-toggle:checked ~ .ls-row.menu .ls-r1-left,
.ls-header .ls-menu-toggle:checked ~ .ls-row.menu .ls-r1-right{display:flex;flex:0 0 auto;flex-direction:column;align-items:stretch;padding:2px 0 4px}
.ls-header .ls-menu-toggle:checked ~ .ls-row.menu .ls-r1-right{border-top:1px solid #eee;margin-top:4px;padding-top:6px}
.ls-header .ls-menu-toggle:checked ~ .ls-row.menu .ls-primary{flex-direction:column;justify-content:flex-start;gap:0}
.ls-header .ls-menu-toggle:checked ~ .ls-row.menu .dropdown.dd{display:block}
.ls-header .ls-menu-toggle:checked ~ .ls-row.menu .nav-link{width:100%;justify-content:space-between;font-size:14px !important;padding:10px 12px;border-radius:8px}
.ls-header .ls-menu-toggle:checked ~ .ls-row.menu .dd-menu{display:block;position:static;border:none;box-shadow:none;border-radius:0;margin:0;min-width:0 !important;padding:0 0 2px 14px;background:transparent}
.ls-header .ls-menu-toggle:checked ~ .ls-row.menu .dd-menu ul{min-width:0 !important}
.ls-header .ls-menu-toggle:checked ~ .ls-row.menu .dropdown-item{justify-content:flex-start;font-size:14px !important;padding:9px 12px;white-space:normal}
.ls-header .ls-menu-toggle:checked ~ .ls-row.menu .dd-group > ul{padding-left:14px}
.ls-header .ls-menu-toggle:checked ~ .ls-row.menu .dropdown-divider{margin:6px 0}
}

@media(max-width:860px){ /* same breakpoint as the searchbar rule above */
/* top banner: space-between pins each wrapped group to line start, so center
   per line here, and let the groups wrap their own items centered too */
.ls-header .ls-banner{justify-content:center}
.ls-header .ls-banner-left,.ls-header .ls-banner-right{justify-content:center;flex-wrap:wrap}
.ls-header .ls-row{flex-wrap:wrap;padding:10px 14px}
/* the menu row itself is now handled by the 1100px drawer above this
   block: hamburger label + accordion; no re-wrapping rules needed */
.ls-header .logo-center .logo-bg svg{height:56px;width:56px}
/* banner: drop the contributor CTA + countdown clock on mobile */
.ls-header .ls-banner .btn-contribute{display:none}
.ls-header .ls-banner .tb-count{display:none}
.ls-header .ls-banner .tb-center{display:none}
/* r2: cities/collections + login/register stack one per line, centered */
.ls-header .ls-row .ls-r2-left,.ls-header .ls-row .ls-r2-right{flex:1 1 100%;justify-content:center}
.ls-header .btn-hamb{white-space:nowrap}
/* hero search: submit never wraps off the line; the field absorbs width */
.ls-header #search .search-form .row{flex-wrap:nowrap}
.ls-header #search .search-form .search-field{flex:1 1 auto;min-width:0;width:auto}
.ls-header #search .search-form .search-submit{flex:0 0 auto}
}

@media(max-width:560px){
.ls-header .ls-row{padding:8px 10px}
.ls-header .ls-primary{gap:8px}
.ls-header .nav-link{font-size: 12.5px !important}
.ls-header .logo-center .logo-bg svg{height:44px;width:44px}
.ls-header .btn-hamb{font-size: 11px !important;padding:6px 10px}
.ls-header .btn-auth{font-size: 11.5px !important;padding:6px 10px}
.ls-header .ls-banner{font-size: 11.5px !important;padding:12px}
}

/* force button weight against theme button resets */
.ls-header .btn,
.ls-header .btn:hover{font-weight:700 !important}

/* dd-menu anchor safeguard: keep menus anchored to their wrapper even if the theme's Bootstrap CSS differs */
.ls-header .dropdown.dd{position:relative}
.ls-header .dd-menu{position:absolute}
/* override theme body-class rule .leadstart-commerce-for-stripe-no-bs .btn on kit no-bs buttons */
body.leadstart-commerce-for-stripe-no-bs .ls-header .ls-no-bs .btn,
body.leadstart-commerce-for-stripe-no-bs .ls-header .ls-no-bs.btn{border-radius:0 !important;border:2px solid transparent !important;color:#fff !important;background:linear-gradient(#000,#000) padding-box,var(--grad) border-box !important}
body.leadstart-commerce-for-stripe-no-bs .ls-header .ls-no-bs .btn:hover,
body.leadstart-commerce-for-stripe-no-bs .ls-header .ls-no-bs.btn:hover{font-weight:700 !important;border:3px solid transparent !important;background:linear-gradient(#26262e,#26262e) padding-box,var(--grad) border-box !important}

/* ---- kit typography enforcement (theme resets on .org/.media/.shop/.studio) ---- */
.ls-header *{font-family:inherit !important}
.ls-header{font-family:var(--font-body) !important}
/* kit headings keep the display font */
.ls-header .intro-card h1,.ls-header .b1,.ls-header .um-logo,.ls-header .dd-header,.ls-header .home-top-categories h5,.ls-header .hero h1,.ls-header .redirect-card h2,.ls-header .rd-step h4,.ls-header .rd-step .n{font-family:var(--font-head) !important}
.ls-header .tb-count{font-family:ui-monospace,monospace !important}
/* plain-weight items stay 400 */
.ls-header .dropdown-item,.ls-header .dropdown-item-text,.ls-header .um-item,.ls-header .b2{font-weight:400 !important}

/* ---- merch hover: real color shift on every site variant ---- */
.ls-header .btn-merch:hover{opacity:1;background:#e11d49 !important;color:#fff !important}
.ls-header.site-shop .btn-merch:hover{background:#524de4 !important}

/* ---- .media inner-page row responsive ---- */
@media(max-width:860px){
.ls-header .ls-row .ls-r1-left{flex:1 1 auto;min-width:0}
.ls-header .ls-row .ls-r1-right{flex:0 1 auto}
.ls-header .ls-search-mid{order:3;flex:1 1 100%;justify-content:flex-start}
.ls-header .ls-search-mid .searchbar{max-width:none}
}
/* search icon toggle open state (wired by ls-header-fallback.js) */
.ls-header .ls-search-mid.search-open .searchbar{display:flex}
