@import url('/style.css');
:root{--forest:#172544;--leaf:#2457d6;--cream:#f7f9ff;--gold:#ffcf32;--line:#dce3f0;--muted:#657089}*{box-sizing:border-box}body.mobile{background:var(--cream);color:var(--forest);font-family:Arial,sans-serif;margin:0;padding-bottom:90px}button,input,select,textarea{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer}a{color:inherit}.mobile-header{max-width:1280px;margin:auto;padding:22px 28px;display:flex;gap:22px;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line)}.brand-mobile{text-decoration:none;font-weight:900;font-size:23px;letter-spacing:-1px;display:flex;gap:12px;align-items:center}.brand-mobile img{width:42px;height:42px;object-fit:contain}.brand-mobile small{font-size:10px;letter-spacing:2px;display:block;margin-top:5px;font-weight:500}.mobile-main{max-width:1280px;margin:auto;padding:32px 28px}.eyebrow{font-size:11px;letter-spacing:2px;font-weight:700;color:var(--leaf)}.app-hero{display:grid;grid-template-columns:1.1fr 1fr;background:var(--forest);border-radius:24px;overflow:hidden;min-height:280px;color:#fff}.hero-copy{padding:38px}.hero-copy h1{font-size:clamp(32px,5vw,57px);line-height:1.02;letter-spacing:-2px;margin:14px 0 20px}.hero-copy .eyebrow{color:var(--gold)}.hero-copy p{line-height:1.6;max-width:400px;color:#e2e9df}.app-hero img{width:100%;height:100%;object-fit:cover;max-height:350px}.pill{display:inline-block;padding:7px 12px;border-radius:20px;font-size:11px;background:#f0dfb9;color:var(--forest);font-weight:700}.section-head{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:30px 0 18px}.section-head h2{margin:0;font-size:24px;letter-spacing:-.7px}.searchbar{display:flex;gap:10px;margin:22px 0 14px}.searchbar input{flex:1;min-width:0}.searchbar input,.field input,.field select,.field textarea{border:1px solid #c8cec3;background:white;border-radius:10px;padding:12px;color:var(--forest);width:100%;min-height:46px}.filter-row{display:flex;gap:8px;overflow:auto;padding-bottom:10px}.chip{white-space:nowrap;border:1px solid #ced3c8;background:transparent;border-radius:24px;padding:10px 17px;font-weight:600;font-size:13px}.chip[aria-pressed=true]{background:var(--forest);color:white;border-color:var(--forest)}.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:18px}.mobile-product{position:relative;background:#fff;border:1px solid var(--line);border-radius:16px;padding:16px;display:flex;flex-direction:column;gap:8px}.mobile-product .image-button{border:0;background:#f5f6f1;border-radius:12px;padding:14px;width:100%;height:215px}.mobile-product img{width:100%;height:100%;object-fit:contain}.mobile-product h3{font-size:15px;line-height:1.4;margin:0}.mobile-product .price{font-size:19px;font-weight:800;margin:3px 0}.mobile-product .stock{font-size:11px;color:var(--leaf);margin:0}.mobile-product .primary{margin-top:auto;background:var(--forest);color:#fff;border:0;border-radius:9px;min-height:42px}.mobile-product .primary:disabled{background:#eceee8;color:#6c756d;cursor:default}.favorite{position:absolute;top:22px;right:22px;border:1px solid var(--line);width:34px;height:34px;border-radius:50%;background:white;color:var(--forest);font-size:22px;z-index:1}.favorite[aria-pressed=true]{color:#a74434;background:#fff0eb}.bottom-nav{position:fixed;bottom:0;left:0;right:0;z-index:20;background:#fffef9ee;backdrop-filter:blur(12px);border-top:1px solid var(--line);display:flex;justify-content:center;gap:clamp(10px,5vw,80px);padding:10px 15px max(10px,env(safe-area-inset-bottom));}.bottom-nav a,.bottom-nav button{border:0;background:none;color:var(--muted);text-decoration:none;display:flex;align-items:center;flex-direction:column;gap:4px;min-width:52px;font-size:10px;min-height:44px}.bottom-nav svg{width:22px;height:22px;stroke:currentColor;fill:none;stroke-width:1.7}.bottom-nav [aria-current=page]{color:var(--forest);font-weight:800}.btn{background:var(--forest);color:white;border:0;border-radius:10px;padding:12px 18px;display:inline-block;text-decoration:none;font-weight:700;min-height:44px}.btn.secondary{background:#e9ede3;color:var(--forest)}.quiet{background:none;border:0;color:var(--leaf);text-decoration:underline;padding:10px;display:inline-block}.notice{background:#f4e9cf;border:1px solid #e6d8b4;border-radius:12px;padding:14px 18px;font-size:13px;line-height:1.55;margin:18px 0}.status{font-size:13px;color:var(--muted);line-height:1.5}.error{color:#9a2c27}.empty{padding:35px;background:white;border:1px dashed var(--line);border-radius:12px;text-align:center;grid-column:1/-1}.metrics{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:22px 0}.metric{background:#fff;border:1px solid var(--line);border-radius:14px;padding:20px}.metric strong{font-size:29px;letter-spacing:-1px;display:block;margin:12px 0 4px}.metric span{font-size:12px;color:var(--muted)}.admin-tabs{display:flex;gap:8px;overflow:auto;border-bottom:1px solid var(--line);padding-bottom:14px}.data-list{display:flex;flex-direction:column;gap:10px;margin-top:16px}.data-row{display:flex;align-items:center;gap:14px;padding:16px;background:white;border:1px solid var(--line);border-radius:12px}.data-row img{width:46px;height:58px;object-fit:contain;border-radius:6px;background:#f7f7f1}.data-row .grow{flex:1;min-width:0}.data-row h3{font-size:14px;line-height:1.4;margin:0 0 5px}.data-row p{font-size:12px;color:var(--muted);margin:4px 0;overflow-wrap:anywhere}.data-row strong{white-space:nowrap}.data-row button{white-space:nowrap}.field{display:flex;flex-direction:column;gap:7px;font-size:13px}.field small{color:var(--muted)}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}.field.wide{grid-column:1/-1}.modal{border:0;border-radius:20px;padding:28px;background:var(--cream);color:var(--forest);width:min(590px,calc(100% - 24px));max-height:90dvh;overflow:auto}.modal::backdrop{background:#10251ccc}.modal h2{margin:0 0 22px}.modal .actions{display:flex;gap:10px;margin-top:22px}.modal .preview{width:100%;max-height:55vh;object-fit:contain}.login-card{max-width:560px;margin:12vh auto;background:var(--cream);padding:40px;border-radius:22px;color:var(--forest);font-family:Arial,sans-serif}.login-card h1{font-size:50px;letter-spacing:-2px;line-height:1.05}.login-card p{line-height:1.7}.install-help{background:white;border:1px solid var(--line);border-radius:16px;padding:24px;margin-top:24px}.install-help h2{margin-top:0}.install-help p{font-size:14px;line-height:1.7}.desktop-link{font-size:12px}.admin-heading h1{font-size:36px;letter-spacing:-1px;margin:8px 0}.split{display:flex;gap:12px;align-items:center;justify-content:space-between}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #ca923a;outline-offset:3px}[hidden]{display:none!important}
@media(max-width:850px){.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.metrics{grid-template-columns:repeat(2,1fr)}.app-hero{grid-template-columns:1fr 1fr}.hero-copy{padding:26px}.mobile-main{padding:24px 18px}.mobile-header{padding:18px}}
@media(max-width:560px){.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.mobile-product{padding:10px}.mobile-product .image-button{height:160px;padding:12px}.mobile-product h3{font-size:13px}.mobile-product .price{font-size:17px}.app-hero{grid-template-columns:1fr}.app-hero img{height:165px;object-position:center 45%}.hero-copy{padding:24px}.hero-copy h1{font-size:39px;margin:10px 0}.hero-copy p{font-size:13px;margin-bottom:0}.brand-mobile{font-size:20px}.desktop-link{display:none}.form-grid{grid-template-columns:1fr}.field.wide{grid-column:auto}.metric{padding:15px}.metric strong{font-size:24px}.data-row{gap:9px;padding:12px;flex-wrap:wrap}.data-row .grow{min-width:160px}.data-row .btn{padding:10px;font-size:12px}.modal{padding:22px}.favorite{right:16px;top:16px}.admin-heading h1{font-size:29px}.login-card{margin:8vh 14px;padding:27px}.login-card h1{font-size:40px}}

/* Keep the brand compact on narrow phones, including when install is offered. */
.mobile-header{flex-wrap:wrap}.brand-mobile{display:grid;grid-template-columns:42px auto;column-gap:10px;row-gap:0}.brand-mobile img{grid-row:1/3}.brand-mobile small{grid-column:2;margin-top:3px;font-size:8px;letter-spacing:1px}
/* Use the current webshop's blue/yellow identity and its actual logo/carousel. */
body.mobile{line-height:1.6;background:#f7f9ff;color:#172544}body.mobile::before{display:none}.mobile-header{max-width:none;background:white;border-bottom:3px solid #2457d6;padding:16px max(20px,calc((100% - 1210px)/2));position:relative;z-index:10}.mobile-header .brand{width:245px}.mobile-header .brand .hector-mascot{width:145px;height:64px}.mobile-header .brand .electric-logo{width:245px;height:auto}.header-actions{display:flex;align-items:center;gap:10px}.mobile-main{max-width:1260px!important;padding:30px 25px!important}.mobile .category-carousel{margin-bottom:30px}.mobile .universe-slide{height:360px;min-height:360px}.mobile .universe-copy h1,.mobile .universe-copy h2{font-size:45px}.mobile .universe-copy .eyebrow{color:#b4dfff}.mobile .carousel-tabs{flex-wrap:wrap}.mobile .eyebrow{color:#2457d6}.mobile .btn,.mobile-product .primary{background:#2457d6;color:white;box-shadow:none}.mobile .btn:hover,.mobile-product .primary:hover{background:#1944a4}.mobile .btn.secondary{background:#eaf0ff;color:#2457d6}.mobile .chip{border-color:#d5dff2;background:white;color:#53617e}.mobile .chip[aria-pressed=true]{background:#2457d6;color:white;border-color:#2457d6}.mobile .primary:disabled{background:#e9edf5;color:#657089;cursor:default}.mobile-product{gap:9px;border-color:#dce3f0;box-shadow:0 3px 12px #244fa208}.mobile-product .image-button{background:#f4f7ff;overflow:hidden}.mobile-product .image-button:focus-visible{outline-offset:2px}.mobile-product .stock{color:#53617e}.mobile-product h3{line-height:1.35;letter-spacing:-.015em}.mobile-product .eyebrow{font-size:10px;letter-spacing:.08em;margin:0}.mobile-product .price{color:#172544}.mobile-product .primary{padding:10px 8px;font-size:13px;width:100%;min-height:44px}.mobile .favorite{color:#2457d6}.mobile .favorite[aria-pressed=true]{color:#aa384a;background:#fff0f3}.catalog-options{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:12px 0 18px;font-size:12px;color:#53617e}.catalog-options label{display:flex;align-items:center;gap:8px}.catalog-options select,.searchbar select{min-height:44px;background:white;border:1px solid #dce3f0;padding:8px 10px;border-radius:9px;color:#172544;max-width:100%}.catalog-options input{accent-color:#2457d6;width:18px;height:18px}.filter-row{margin-bottom:8px}.mobile .searchbar input:focus{outline-color:#2457d6}.bottom-nav{background:#ffffffed;gap:0;padding:8px 0 max(8px,env(safe-area-inset-bottom));border-color:#dce3f0;z-index:30}.bottom-nav>a,.bottom-nav>button{flex:1;max-width:125px;min-width:0;font-size:10px;color:#657089}.bottom-nav>[aria-current=page],.bottom-nav>[aria-pressed=true]{color:#2457d6}.mobile .notice{background:#fff8dc;border-color:#efdea7;color:#65511b}.mobile .status{color:#657089}.mobile .status.error,.mobile .error{color:#a32d3a}.mobile .quiet{color:#2457d6}.mobile .field input,.mobile .field select,.mobile .field textarea{border-color:#dce3f0;color:#172544}.mobile footer{margin-top:30px}.mobile footer .footerbrand{max-width:245px}.mobile footer .footerbrand .electric-logo{width:245px}.mobile footer .footerbrand .hector-mascot{width:145px}.product-dialog{width:min(850px,calc(100% - 24px));max-width:850px;padding:26px;background:#fff}.product-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:start}.product-dialog .preview{height:340px;width:100%;max-height:50dvh;background:#f4f7ff;border-radius:12px;padding:12px;object-fit:contain}.product-dialog h2{font-size:26px;line-height:1.25;letter-spacing:-.03em;margin:14px 0}.product-dialog .detail-price{font-size:30px;font-weight:800;margin:12px 0}.detail-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.preview-thumbs{display:flex;gap:9px;overflow:auto;margin-top:12px;padding:3px}.preview-thumbs button{border:2px solid #dce3f0;background:white;border-radius:8px;padding:4px;min-width:56px;height:70px}.preview-thumbs button[aria-pressed=true]{border-color:#2457d6}.preview-thumbs img{width:48px;height:58px;object-fit:contain}.product-dialog .split>.eyebrow{margin:0}.editor-images{display:flex;gap:10px;overflow:auto;padding:6px 0}.editor-image{position:relative;min-width:92px}.editor-image img{height:110px;width:92px;object-fit:contain;border:1px solid #dce3f0;border-radius:7px;background:white}.editor-image button{display:block;font-size:11px;border:0;background:#edf2ff;color:#2457d6;padding:7px;width:92px}.editor-image span{font-size:10px}.field input[type=file]{padding:10px;font-size:12px}.install-help{border-color:#dce3f0}.connection-banner{position:fixed;top:0;left:0;right:0;padding:10px 15px;background:#fff0bb;color:#614918;text-align:center;font-size:12px;z-index:100}.update-button{background:white;color:#1944a4;border:1px solid #dce3f0;padding:7px 12px;border-radius:8px;margin-left:10px}.admin-heading{position:relative}.admin-heading #refresh-all{float:right;margin:0 0 12px 12px}.searchbar select{max-width:190px}.metric{min-width:0;overflow-wrap:anywhere}.metric strong{font-size:clamp(20px,3vw,29px)}.empty .quiet{display:block}.data-row .btn{min-height:44px}.data-row .grow p{overflow-wrap:anywhere}.mobile .cart-dialog{z-index:40}.mobile .login-card{background:#fff;color:#172544}.mobile .login-card .btn{background:#2457d6;color:white}.mobile #cart-announcement{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:650px){.mobile-header{padding:12px 16px;gap:8px}.mobile-header .brand{width:195px}.mobile-header .brand .electric-logo{width:195px}.mobile-header .brand .hector-mascot{width:115px;height:51px}.header-actions{gap:0}.header-actions .quiet{font-size:11px;padding:6px}.header-actions .btn{font-size:11px;padding:10px}.mobile-main{padding:20px 14px!important}.mobile .universe-slide{height:390px;min-height:390px;padding:25px 22px;align-items:flex-end}.mobile .universe-copy h1,.mobile .universe-copy h2{font-size:34px}.mobile .universe-copy>p:not(.eyebrow){font-size:13px;margin:10px 0}.mobile .hero-character{height:64%;width:80%;right:-5%}.mobile .carousel-tabs button{font-size:10px;padding:7px}.mobile .carousel-controls{gap:7px}.mobile .carousel-arrows button{width:28px;height:28px}.mobile .carousel-controls{padding:10px}.catalog-grid{gap:10px}.product-dialog{padding:18px}.product-detail-grid{grid-template-columns:1fr;gap:12px}.product-dialog .preview{height:290px;max-height:42dvh}.product-dialog h2{font-size:23px}.product-dialog .notice{font-size:12px}.preview-thumbs{margin-top:8px}.mobile-product .image-button{height:175px}.mobile-product .price{font-size:18px}.admin-heading #refresh-all{float:none;margin:0 0 16px}.searchbar{flex-wrap:wrap}.searchbar select{max-width:100%;width:100%}.metrics{gap:10px}.section-head{flex-wrap:wrap}.section-head h2{font-size:23px}.section-head .btn{font-size:12px}.modal .actions{position:sticky;bottom:-22px;padding:14px 0;background:var(--cream);z-index:1}.product-dialog .actions{position:static}.mobile-header .quiet{font-size:12px}}
@media(max-width:370px){.mobile-header .brand{width:175px}.mobile-header .brand .electric-logo{width:175px}.header-actions{flex-wrap:wrap}.mobile-product .image-button{height:145px}.catalog-options{font-size:11px}.catalog-options select{font-size:11px}.mobile .universe-copy h1,.mobile .universe-copy h2{font-size:30px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}

.mobile-header .brand .electric-logo,.mobile footer .footerbrand .electric-logo{width:100%;height:auto;max-height:150px;object-fit:contain}
.mobile .header-cart{display:inline-flex;gap:4px;padding:10px;color:white;background:#2457d6;white-space:nowrap;border-radius:8px;font-weight:700;font-size:12px;text-decoration:none}.mobile .header-actions{flex-wrap:wrap;justify-content:flex-end}.mobile-header .header-actions .quiet{font-size:11px}
