/* PHP port of templates/base.html and its orange/cyan components. */
:root { --orange:#f97316; --ink:#1e293b; --muted:#64748b; --line:#e2e8f0; --paper:#f8fafc; }
.legacy-loader-overlay { position:fixed; inset:0; z-index:999999; background:white; display:flex; flex-direction:column; align-items:center; justify-content:center; animation:loader-failsafe .1s 5s forwards; }
.legacy-loader-text { margin-top:32px; color:#475569; font-size:14px; letter-spacing:.12em; font-weight:600; }
.legacy-in-cart { display:flex; align-items:center; justify-content:space-between; gap:6px; height:36px; padding:4px; margin-top:16px; background:#ecfeff; border:2px solid #0891b2; border-radius:12px; }
.legacy-in-cart>strong { flex:1; text-align:center; color:#164e63; font-size:10px; letter-spacing:.04em; text-transform:uppercase; white-space:nowrap; }
.legacy-quantity-control { display:flex; height:28px; width:96px; flex-shrink:0; border:1px solid #67e8f9; background:white; border-radius:6px; overflow:hidden; }
.legacy-layout .legacy-quantity-control button { display:grid; place-items:center; width:33.333%; height:26px; padding:0; border:0; border-radius:0; background:white; color:#1e293b; font-size:17px; font-weight:900; }
.legacy-layout .legacy-quantity-control button:hover { background:#cffafe; color:#0e7490; }
.legacy-quantity-control input { width:33.333%; min-width:0; border:0; border-right:1px solid #a5f3fc; border-left:1px solid #a5f3fc; padding:0; text-align:center; color:#164e63; background:#ecfeff; font-size:11px; font-weight:900; appearance:textfield; }
.legacy-quantity-control input::-webkit-inner-spin-button,.legacy-quantity-control input::-webkit-outer-spin-button { appearance:none; margin:0; }
.legacy-layout button:disabled { opacity:.55; cursor:wait; }
.drawer-lines article>input { accent-color:#0891b2; width:16px; height:16px; flex-shrink:0; margin-top:5px; }
.drawer-product { flex:1; min-width:0; }.drawer-product>a { display:block; font-size:12px; font-weight:700; line-height:1.4; }.drawer-product .legacy-quantity-control { margin-top:10px; }
.drawer-remove { border:0; background:white; color:#94a3b8; font-size:24px; align-self:start; padding:0 3px; }
.drawer-total { font-size:12px; font-weight:600; margin:16px 0; color:#0e7490; }
.cart-toast { position:fixed; bottom:32px; left:50%; transform:translateX(-50%); z-index:999999; max-width:90vw; padding:15px 24px; background:#10b981; color:white; font-weight:700; font-size:13px; border-radius:16px; box-shadow:0 12px 30px #0002; }
.cart-toast.error { background:#ef4444; }
.legacy-account-page { display:flex; align-items:center; justify-content:center; min-height:70vh; padding:48px 16px; }
.legacy-account-card { width:100%; max-width:448px; background:white; border:1px solid #f3f4f6; border-radius:24px; padding:32px; text-align:center; box-shadow:0 1px 3px #0001; }
.legacy-account-icon { display:grid; place-items:center; width:80px; height:80px; border-radius:50%; margin:0 auto 24px; color:#f97316; background:#fff7ed; }.legacy-account-icon .ui-icon { width:40px; height:40px; }
.legacy-account-card h1 { font-size:30px; font-weight:800; color:#111827; margin-bottom:16px; }.legacy-coming-soon { display:inline-block; background:#cffafe; color:#0e7490; border-radius:30px; padding:6px 16px; margin-bottom:24px; font-size:14px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.legacy-account-card p { color:#6b7280; font-size:16px; line-height:1.7; margin-bottom:32px; }.legacy-account-card .button { border-radius:12px; }
@media(max-width:1023px) { .cart-toast { bottom:85px; } }
@keyframes loader-failsafe { to { visibility:hidden; pointer-events:none; } }
.legacy-layout,.legacy-layout * { cursor:url('/assets/legacy/cursor-cyan.svg') 2 2,auto; }
.legacy-layout a,.legacy-layout button,.legacy-layout input,.legacy-layout select,.legacy-layout textarea,.legacy-layout a *,.legacy-layout button * { cursor:url('/assets/legacy/cursor-orange.svg') 2 2,pointer; }
.legacy-layout { font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif; background:#f8fafc; min-height:100vh; display:flex; flex-direction:column; }
.legacy-layout .container { width:min(1280px,calc(100% - 32px)); }
.legacy-layout h1,.legacy-layout h2,.legacy-layout h3 { letter-spacing:normal; }
.legacy-main { flex:1; position:relative; z-index:1; }
.ui-icon { width:22px; height:22px; flex-shrink:0; display:inline-block; vertical-align:middle; }
.legacy-header { height:64px; width:100%; position:sticky; top:0; background:white; box-shadow:0 1px 4px #0001; z-index:50; }
.legacy-header.over-hero { position:fixed; background:linear-gradient(#000b,#0005,transparent); color:white; box-shadow:none; }
.legacy-header.over-hero.scrolled { background:white; color:#334155; box-shadow:0 3px 10px #0002; }
.legacy-nav { display:flex; height:64px; align-items:center; justify-content:space-between; position:relative; gap:24px; }
.legacy-brand { display:flex; align-items:center; flex-shrink:0; gap:12px; }
.legacy-brand img { width:auto; height:40px; object-fit:contain; }
.legacy-brand>span { display:flex; flex-direction:column; line-height:1; }
.legacy-brand b { font-size:24px; font-weight:900; letter-spacing:.06em; }
.legacy-brand b span { color:#06b6d4; }
.legacy-brand em { color:#f97316; font-style:normal; }
.legacy-brand small { font-size:9px; color:#94a3b8; font-weight:900; letter-spacing:.12em; margin-top:4px; }
.legacy-desktop-nav { display:flex; height:64px; align-items:center; gap:32px; }
.legacy-desktop-nav>a,.legacy-dropdown>a { display:flex; align-items:center; gap:6px; height:64px; font-size:15px; font-weight:600; }
.legacy-header a.selected,.legacy-desktop-nav>a:hover,.legacy-dropdown>a:hover { color:#06b6d4; }
.legacy-header.over-hero:not(.scrolled) .legacy-desktop-nav>a,.legacy-header.over-hero:not(.scrolled) .legacy-dropdown>a { text-shadow:0 2px 5px #000b; }
.legacy-dropdown { height:64px; position:relative; }
.legacy-popdown { position:absolute; top:64px; left:50%; transform:translateX(-50%); width:230px; background:white; border:1px solid #f1f5f9; border-top:2px solid #06b6d4; border-radius:0 0 16px 16px; padding:8px; box-shadow:0 18px 30px #0f172a25; color:#334155; display:none; }
.legacy-dropdown:hover>.legacy-popdown,.legacy-dropdown:focus-within>.legacy-popdown { display:block; }
.legacy-popdown a { display:flex; align-items:center; justify-content:space-between; font-size:13px; font-weight:700; padding:12px; border-radius:10px; }
.legacy-popdown a:hover { background:#ecfeff; color:#0e7490; }
.legacy-popdown a span { color:#cbd5e1; }
.legacy-popdown.category-popdown { width:850px; padding:20px; grid-template-columns:1fr 2fr; gap:24px; }
.legacy-dropdown:hover>.category-popdown,.legacy-dropdown:focus-within>.category-popdown { display:grid; }
.category-popdown img { height:450px; width:100%; object-fit:cover; background:#f8fafc; border-radius:16px; }
.legacy-header-actions { display:flex; align-items:center; gap:12px; }
.legacy-header-actions button { border:0; background:none; padding:7px; position:relative; color:inherit; }
.legacy-header-actions button:hover { color:#f97316; }
.legacy-header-actions .desktop-cart { display:flex; align-items:center; gap:6px; font-size:12px; font-weight:700; }
.desktop-cart b { position:absolute; top:-5px; right:-5px; border-radius:50%; background:#f97316; color:white; min-width:17px; height:17px; font-size:10px; }
.legacy-support { position:absolute; left:0; top:64px; display:inline-flex; align-items:center; gap:10px; border:2px solid #f97316; border-top:0; border-radius:0 0 16px 16px; background:#0891b2; color:white!important; box-shadow:0 10px 20px -5px #0891b266; padding:7px 18px; }
.legacy-support:hover { background:#ea580c; border-color:#22d3ee; }
.legacy-support i { width:10px; height:10px; border-radius:50%; background:white; box-shadow:0 0 0 3px #ffffff30; }
.legacy-support .ui-icon { width:15px; height:15px; }
.legacy-support small { color:#fed7aa; font-size:11px; text-transform:uppercase; font-weight:700; }
.legacy-support strong { font-size:15px; }
.legacy-search { position:absolute; right:0; top:72px; display:flex; padding:8px; border-radius:30px; border:1px solid #e2e8f0; box-shadow:0 8px 24px #0002; background:white; color:#334155; }
.legacy-search input { padding:7px 16px; border:0; width:240px; border-radius:20px; }
.legacy-search button { border:0; background:white; color:#475569; padding:5px; }
.notification-menu { position:relative; }
.legacy-notifications { position:absolute; right:0; top:45px; width:320px; background:white; color:#334155; border:1px solid #f1f5f9; box-shadow:0 20px 30px #0002; border-radius:12px; overflow:hidden; }
.legacy-notifications h3 { background:#f8fafc; padding:15px; margin:0; font-size:14px; }
.legacy-notifications article,.legacy-notifications>p { padding:16px; border-top:1px solid #f1f5f9; font-size:12px; }
.legacy-notifications p { margin:7px 0 0; color:#64748b; }
[hidden] { display:none!important; }
.legacy-hero { position:relative; height:75vh; min-height:450px; max-height:700px; background:#111; overflow:hidden; }
.legacy-slide { position:absolute; inset:0; opacity:0; transition:opacity .9s; pointer-events:none; }
.legacy-slide.active { opacity:1; pointer-events:auto; }
.legacy-slide>img { width:100%; height:100%; object-fit:cover; }
.legacy-slide:after { content:""; position:absolute; inset:0; background:linear-gradient(transparent 0%,transparent 40%,#000 100%); pointer-events:none; }
.legacy-slide-caption { position:absolute; z-index:2; bottom:0; left:0; right:0; text-align:center; padding:24px 80px; color:white; }
.legacy-slide-caption :is(h1,h2) { font-size:clamp(30px,5vw,60px); text-transform:uppercase; font-weight:900; letter-spacing:.025em; margin:0; text-shadow:2px 4px 20px #000,0 0 10px #000; }
.legacy-slide-caption p { font-size:20px; font-weight:500; margin:12px auto 0; max-width:700px; text-shadow:1px 2px 15px #000; }
.legacy-slide-caption .button { margin-top:24px; border-radius:30px; padding:12px 32px; box-shadow:0 4px 24px #f9731680; }
.legacy-slide-arrow { position:absolute; z-index:3; top:50%; transform:translateY(-50%); width:54px; height:54px; display:grid; place-items:center; border:2px solid #ffffff40; border-radius:50%; background:#f97316; color:white; font-size:28px; box-shadow:0 4px 20px #f9731688; }
.legacy-slide-arrow.prev { left:32px; }.legacy-slide-arrow.next { right:32px; }
.legacy-slide-dots { position:absolute; z-index:3; bottom:10px; left:50%; transform:translateX(-50%); display:flex; gap:8px; }
.legacy-slide-dots button { width:8px; height:8px; border:0; border-radius:50%; background:#ffffff80; padding:0; }
.legacy-slide-dots button.active { background:#f97316; }
.home-category-strip { background:white; border-bottom:1px solid #e5e7eb; }
.home-category-scroll { display:flex; gap:24px; padding-top:16px; padding-bottom:16px; overflow:auto; }
.home-category-scroll>a { display:flex; flex-direction:column; align-items:center; min-width:80px; max-width:140px; flex-shrink:0; text-align:center; font-size:13px; line-height:1.3; }
.home-category-scroll .category-circle { width:64px; height:64px; border-radius:50%; border:1px solid #e5e7eb; background:#f9fafb; display:grid; place-items:center; margin-bottom:8px; overflow:hidden; }
.category-circle img { width:100%; height:100%; object-fit:cover; }
.category-circle .ui-icon { width:32px; height:32px; color:#9ca3af; }
.home-category-scroll a.active,.home-category-scroll a:hover { color:#f97316; }
.home-category-scroll a.active .category-circle { border:2px solid #f97316; background:#ffedd5; }
.legacy-home-products { padding:32px 0; }
.legacy-home-products .section-heading { margin-bottom:24px; }
.legacy-home-products h2 { font-size:24px; font-weight:700; }
.legacy-products-grid { display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; }
.legacy-product-card { background:white; border:1px solid #f3f4f6; border-radius:12px; overflow:hidden; box-shadow:0 4px 6px -1px #0001; display:flex; flex-direction:column; transition:transform .3s,box-shadow .3s; }
.legacy-product-card:hover { transform:translateY(-4px); box-shadow:0 15px 25px #0002; }
.legacy-product-card>a { aspect-ratio:1; display:block; border-bottom:1px solid #f3f4f6; }
.legacy-product-card>a img { width:100%; height:100%; object-fit:contain; padding:16px; }
.legacy-product-body { display:flex; flex-direction:column; flex:1; padding:16px; }
.legacy-product-body>small { font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.06em; color:#6b7280; margin-bottom:5px; }
.legacy-product-body h3 { font-size:13px; font-weight:600; line-height:1.35; min-height:37px; margin:0 0 8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.legacy-product-price { margin-top:auto; padding-top:16px; font-size:18px; font-weight:700; color:#111827; }
.legacy-product-body form { margin-top:16px; }
.legacy-product-body button { width:100%; background:#f97316; color:white; border:0; border-radius:12px; padding:9px; font-size:12px; font-weight:700; display:flex; align-items:center; justify-content:center; gap:6px; }
.legacy-product-body button:hover { background:#ea580c; }
.legacy-product-body button .ui-icon { width:16px; height:16px; }
.legacy-about { padding:64px 0; }
.legacy-about h2 { font-size:30px; font-weight:800; display:flex; align-items:center; gap:12px; margin-bottom:24px; }
.legacy-about h2:before,.legacy-about h2:after { content:""; height:4px; width:40px; border-radius:3px; background:#06b6d4; }
.legacy-about p { max-width:900px; color:#475569; font-size:18px; line-height:1.75; }
.legacy-about strong { color:#0e7490; }
.legacy-about .button { border-radius:30px; background:#0891b2; }
.legacy-brands { margin-bottom:64px; padding:40px; border-radius:24px; background:#f8fafc; border:1px solid #f1f5f9; box-shadow:0 1px 3px #0001; }
.legacy-brands h2 { text-align:center; font-size:30px; font-weight:800; }
.legacy-brands h2:after { content:""; width:64px; height:4px; border-radius:4px; background:#f97316; display:block; margin:16px auto 35px; }
.legacy-brand-track { display:flex; gap:20px; overflow:auto; padding:12px 5px 24px; scroll-snap-type:x mandatory; }
.legacy-brand-track a { flex:0 0 220px; height:190px; padding:24px; background:white; border-radius:24px; box-shadow:0 5px 15px #0001; border:1px solid #f1f5f9; display:flex; flex-direction:column; align-items:center; justify-content:center; scroll-snap-align:center; gap:12px; font-size:13px; font-weight:600; }
.legacy-brand-track img { max-height:100px; object-fit:contain; filter:grayscale(1); }
.legacy-brand-track a:hover { border-color:#06b6d4; }.legacy-brand-track a:hover img { filter:none; }
.legacy-page { max-width:1024px; margin:auto; padding:48px 16px; min-height:65vh; }
.legacy-page-title { display:flex; gap:12px; align-items:center; margin-bottom:5px; font-size:30px; font-weight:800; }
.legacy-page-title span { font-size:30px; }.legacy-page-subtitle { color:#6b7280; margin-bottom:32px; font-size:15px; }
.legacy-article-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:32px; }
.legacy-article-card { background:white; border:1px solid #f3f4f6; border-radius:16px; overflow:hidden; box-shadow:0 1px 3px #0001; }
.legacy-article-card img { width:100%; height:192px; object-fit:cover; background:#e5e7eb; }
.legacy-article-card>div { padding:24px; }
.legacy-article-card time { color:#f97316; font-size:12px; font-weight:700; }
.legacy-article-card h2 { margin:8px 0 12px; font-size:20px; line-height:1.4; font-weight:700; color:#111827; }
.legacy-article-card:hover h2 { color:#0891b2; }.legacy-article-card p { color:#4b5563; display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; margin:0; }
.legacy-category-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:24px; }
.legacy-category-grid a { display:flex; flex-direction:column; background:white; border-radius:16px; border:1px solid #f1f5f9; overflow:hidden; box-shadow:0 1px 3px #0001; }
.legacy-category-grid img { width:100%; aspect-ratio:1; object-fit:cover; background:#f8fafc; }
.legacy-category-grid h2 { font-size:16px; font-weight:700; margin:0 0 12px; line-height:1.4; }
.legacy-category-grid a>div { padding:16px; }.legacy-category-grid small { color:#94a3b8; }.legacy-category-grid b { color:#f97316; float:right; }
.legacy-footer { background:#1e293b; color:#94a3b8; margin-top:auto; }
.legacy-footer-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:32px; padding-top:48px; padding-bottom:30px; }
.legacy-footer .legacy-brand { margin-bottom:24px; }.legacy-footer .legacy-brand b span { color:#22d3ee; }
.legacy-footer h3 { color:white; font-size:16px; font-weight:600; margin-bottom:16px; }
.legacy-footer p,.legacy-footer a:not(.legacy-brand) { font-size:13px; line-height:1.7; }.legacy-footer-grid>div>a:not(.legacy-brand) { display:block; margin-bottom:8px; }
.legacy-footer a:hover { color:#22d3ee; }.legacy-footer .ui-icon { width:18px; height:18px; color:#06b6d4; margin-right:6px; }
.legacy-copyright { border-top:1px solid #334155; padding:24px 0 32px; text-align:center; }.legacy-copyright p { margin-bottom:8px; }.legacy-copyright small { font-size:11px; }.legacy-copyright small a { font-size:11px; color:#06b6d4; }
.legacy-mobile-nav { display:none; }.cart-drawer-backdrop { position:fixed; inset:0; background:#0f172a66; z-index:100; }.legacy-cart-drawer { position:fixed; right:0; top:0; bottom:0; width:min(420px,100%); z-index:101; background:white; padding:24px; display:flex; flex-direction:column; box-shadow:-8px 0 30px #0002; }.drawer-heading { display:flex; justify-content:space-between; align-items:center; border-bottom:1px solid #e2e8f0; padding-bottom:18px; }.drawer-heading h2 { font-size:22px; margin:0; }.drawer-heading button { font-size:28px; border:0; background:white; }.drawer-lines { flex:1; overflow:auto; }.drawer-lines article { display:flex; gap:14px; padding:20px 0; border-bottom:1px solid #f1f5f9; }.drawer-lines img { width:64px; height:64px; object-fit:contain; }.drawer-lines strong { font-size:12px; display:block; }.drawer-lines small { font-size:11px; color:#64748b; display:block; margin-top:8px; }
.legacy-layout .product-info h1 { font-weight:800; }.legacy-layout .product-detail { background:white; border:1px solid #e2e8f0; border-radius:16px; padding:30px; }.legacy-layout .product-description { background:white; border-radius:16px; padding:30px; }.legacy-layout .button.secondary { border-color:#0891b2; color:#0e7490; background:#ecfeff; }.legacy-layout .prose p { margin-bottom:16px; }.legacy-layout .prose ul { list-style:disc; padding-left:24px; }.legacy-layout .prose table { width:100%; margin:16px 0; }.legacy-layout .prose td { border:1px solid #e2e8f0; padding:10px; }.feature-badges { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-top:24px; }.feature-badge { padding:14px; border:1px solid #cffafe; background:#ecfeff; border-radius:12px; font-size:11px; }.feature-badge strong { font-size:12px; display:block; margin-bottom:5px; }.feature-badge small { color:#64748b; }
.legacy-detail-card { background:white; border:1px solid #f3f4f6; border-radius:24px; overflow:hidden; }.legacy-detail-hero { position:relative; height:380px; background:#e5e7eb; }.legacy-detail-hero img { width:100%; height:100%; object-fit:cover; }.legacy-detail-hero h1 { position:absolute; inset:0; display:flex; align-items:end; padding:40px; font-size:44px; font-weight:800; color:white; background:linear-gradient(#0003,#0008,#000d); margin:0; }.legacy-detail-body { padding:40px; }
@media(max-width:1023px) {
    .legacy-desktop-nav { display:none; }.legacy-header-actions .desktop-cart { display:none; }.legacy-nav { gap:16px; }.legacy-mobile-nav { display:flex; position:fixed; bottom:0; left:0; right:0; z-index:60; background:white; border-top:1px solid #e2e8f0; box-shadow:0 -2px 8px #0001; justify-content:space-around; padding:8px 0 12px; }.legacy-mobile-nav a { display:flex; flex-direction:column; align-items:center; color:#94a3b8; font-size:11px; gap:4px; position:relative; }.legacy-mobile-nav a.selected,.legacy-mobile-nav a:hover { color:#06b6d4; }.legacy-mobile-nav .ui-icon { width:24px; height:24px; }.legacy-mobile-nav b { position:absolute; right:-8px; top:-3px; background:#f97316; color:white; border-radius:50%; width:16px; height:16px; text-align:center; font-size:10px; }.legacy-layout { padding-bottom:68px; }.legacy-products-grid { grid-template-columns:repeat(4,minmax(0,1fr)); }.legacy-support strong { font-size:13px; }.legacy-footer-grid { grid-template-columns:1fr 1fr; }.legacy-article-grid { grid-template-columns:1fr 1fr; }
}
@media(max-width:640px) {
    .legacy-brand img { height:40px; }.legacy-brand b { font-size:24px; }.legacy-header-actions { gap:5px; }.legacy-support { padding:5px 14px; gap:8px; }.legacy-support small { display:none; }.legacy-support strong { font-size:12px; }.legacy-support .ui-icon { width:13px; height:13px; }.legacy-slide-caption { padding:18px 42px; }.legacy-slide-caption :is(h1,h2) { font-size:30px; }.legacy-slide-caption p { font-size:16px; }.legacy-slide-caption .button { font-size:12px; margin-top:18px; padding:10px 20px; }.legacy-slide-arrow { width:42px; height:42px; font-size:24px; }.legacy-slide-arrow.prev { left:16px; }.legacy-slide-arrow.next { right:16px; }.legacy-slide-dots { bottom:4px; }.legacy-products-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; }.legacy-home-products h2 { font-size:21px; }.legacy-home-products .text-link { font-size:12px; }.legacy-product-body { padding:14px; }.legacy-product-body h3 { font-size:12px; }.legacy-product-price { font-size:16px; }.legacy-product-body button { font-size:11px; padding:9px 5px; }.legacy-about { text-align:center; padding:45px 0; }.legacy-about h2 { justify-content:center; font-size:28px; }.legacy-about h2:before,.legacy-about h2:after { display:none; }.legacy-about p { font-size:16px; }.legacy-brands { padding:24px; margin-bottom:45px; }.legacy-brand-track a { flex-basis:190px; }.legacy-article-grid { grid-template-columns:1fr; }.legacy-page { padding-top:48px; }.legacy-page-title { font-size:25px; }.legacy-page-subtitle { font-size:14px; }.legacy-category-grid { grid-template-columns:1fr 1fr; gap:16px; }.legacy-category-grid h2 { font-size:13px; }.legacy-category-grid a>div { padding:12px; }.legacy-footer-grid { grid-template-columns:1fr; padding-top:48px; }.legacy-footer h3 { margin-bottom:16px; }.legacy-footer p,.legacy-footer a:not(.legacy-brand) { font-size:14px; }.legacy-notifications { right:-20px; width:min(320px,calc(100vw - 32px)); }.legacy-layout .product-detail { padding:16px; }.feature-badges { grid-template-columns:1fr; }
}
@media(prefers-reduced-motion:reduce) { .legacy-slide { transition:none; } }

/* Original Hultem banners keep their full 1920 x 600 composition. */
.legacy-hero.legacy-hero--banner { height:auto; min-height:0; max-height:none; aspect-ratio:16/5; background:#fff; }
.legacy-slide.image-only:after { display:none; }
.legacy-hero--banner .legacy-slide>img { object-fit:contain; }

/* Keep the brand readable over both light and dark slide artwork. */
.legacy-header,.legacy-header.over-hero,.legacy-header.over-hero.scrolled { position:sticky; top:0; background:#fff; color:#0f172a; box-shadow:0 2px 14px #0f172a1a; }
.legacy-header .legacy-brand small { color:#0e7490; }
.legacy-header.over-hero:not(.scrolled) .legacy-desktop-nav>a,.legacy-header.over-hero:not(.scrolled) .legacy-dropdown>a { text-shadow:none; }
.legacy-hero--banner .legacy-slide-caption { text-align:left; left:6%; right:6%; bottom:8%; padding:14px 20px; }
.legacy-hero--banner .legacy-slide-caption :is(h1,h2) { font-size:clamp(24px,3vw,42px); max-width:720px; }
.legacy-hero--banner .legacy-slide-caption p { margin:10px 0 0; max-width:610px; font-size:16px; }
.legacy-hero--banner .legacy-slide-caption .button { margin-top:14px; }
.legacy-hero--banner .legacy-slide:not(.image-only):after { background:linear-gradient(90deg,#0f172add,#0f172a44 70%,transparent); }
@media(max-width:640px) { .legacy-hero.legacy-hero--banner { min-height:330px; } .legacy-hero--banner .legacy-slide-caption { left:20px; right:20px; bottom:25px; padding:0; } .legacy-hero--banner .legacy-slide-caption :is(h1,h2) { font-size:26px; } .legacy-hero--banner .legacy-slide-caption p { font-size:14px; } }

/* Dropdown menus must appear above the support phone ribbon. */
.legacy-header .legacy-support { z-index:1; }
.legacy-header .legacy-desktop-nav { position:relative; z-index:3; }
.legacy-header .legacy-popdown { z-index:100; }
.legacy-header .legacy-search { z-index:5; }

/* Reserve a separate support ribbon row on tablets and phones. */
@media (max-width:1023px) {
 .legacy-header,.legacy-header.over-hero,.legacy-header.over-hero.scrolled { padding-bottom:40px; }
 .legacy-header .legacy-support { top:64px; max-width:calc(100vw - 32px); }
 .legacy-hero.legacy-hero--banner { min-height:360px; aspect-ratio:auto; }
 .legacy-hero--banner .legacy-slide-caption { left:20px; right:20px; bottom:58px; padding:0; }
 .legacy-hero--banner .legacy-slide-caption :is(h1,h2) { font-size:26px; line-height:1.2; }
 .legacy-hero--banner .legacy-slide-caption p { font-size:14px; line-height:1.5; }
 .legacy-hero--banner .legacy-slide-arrow { top:auto; bottom:12px; transform:none; width:36px; height:36px; font-size:24px; }
 .legacy-hero--banner .legacy-slide-dots { bottom:25px; }
}


/* Center the requested copy while keeping slide controls below it. */
.legacy-about { text-align:center; }
.legacy-about h2 { justify-content:center; }
.legacy-hero--banner .legacy-slide-caption { text-align:center; }
.legacy-hero--banner .legacy-slide-caption :is(h1,h2),.legacy-hero--banner .legacy-slide-caption p { margin-left:auto; margin-right:auto; }
.legacy-hero--banner .legacy-slide:not(.image-only):after { background:linear-gradient(0deg,#0f172acc,#0f172a44); }
@media (max-width:1023px) { .legacy-hero--banner .legacy-slide-caption { left:24px; right:24px; text-align:center; } .legacy-hero--banner .legacy-slide-arrow.prev { left:16px; right:auto; } .legacy-hero--banner .legacy-slide-arrow.next { right:16px; left:auto; } }

/* Mobile slides use a full-ratio image, copy panel and dedicated controls row. */
@media (max-width:1023px) {
 .legacy-hero.legacy-hero--banner { height:auto; min-height:0; aspect-ratio:auto; background:#0f172a; }
 .legacy-hero--banner .legacy-slide { position:relative; inset:auto; display:none; opacity:1; transition:none; }
 .legacy-hero--banner .legacy-slide.active { display:flex; flex-direction:column; }
 .legacy-hero--banner .legacy-slide>img { display:block; width:100%; height:auto; aspect-ratio:16/5; object-fit:contain; background:#fff; }
 .legacy-hero--banner .legacy-slide:not(.image-only):after { display:none; }
 .legacy-hero--banner .legacy-slide-caption { position:static; min-height:284px; padding:24px 24px 76px; background:#0f172a; text-align:center; display:flex; flex-direction:column; align-items:center; justify-content:center; }
 .legacy-hero--banner .legacy-slide-caption :is(h1,h2) { font-size:24px; line-height:1.25; margin:0; max-width:100%; overflow-wrap:break-word; text-shadow:none; }
 .legacy-hero--banner .legacy-slide-caption p { font-size:14px; line-height:1.6; margin:12px 0 0; max-width:460px; text-shadow:none; }
 .legacy-hero--banner .legacy-slide-caption .button { margin-top:16px; min-height:44px; }
 .legacy-hero--banner .legacy-slide-arrow { width:44px; height:44px; top:auto; bottom:14px; transform:none; }
 .legacy-hero--banner .legacy-slide-arrow.prev { left:24px; right:auto; }
 .legacy-hero--banner .legacy-slide-arrow.next { right:24px; left:auto; }
 .legacy-hero--banner .legacy-slide-dots { bottom:32px; }
}


/* A compact, light caption replaces the oversized dark mobile panel. */
@media (max-width:1023px) {
 .legacy-hero.legacy-hero--banner { background:#fff; border-bottom:1px solid #e2e8f0; }
 .legacy-hero--banner .legacy-slide-caption { min-height:0; padding:16px 24px 72px; background:#fff; color:#0f172a; justify-content:flex-start; }
 .legacy-hero--banner .legacy-slide-caption :is(h1,h2) { font-size:21px; line-height:1.3; color:#0f172a; }
 .legacy-hero--banner .legacy-slide-caption p { margin-top:8px; font-size:13px; line-height:1.55; color:#475569; }
 .legacy-hero--banner .legacy-slide-caption .button { margin-top:12px; padding:10px 22px; }
 .legacy-hero--banner .legacy-slide-dots button { background:#cbd5e1; }
 .legacy-hero--banner .legacy-slide-dots button.active { background:#f97316; }
 .legacy-hero--banner .legacy-slide-arrow { box-shadow:none; border:0; }
}


/* Center the complete about copy and group slide navigation centrally. */
.legacy-about p { margin-left:auto; margin-right:auto; text-align:center; }
.legacy-hero--banner .legacy-slide-arrow { top:auto; bottom:14px; transform:none; width:44px; height:44px; }
.legacy-hero--banner .legacy-slide-arrow.prev { left:calc(50% - 92px); right:auto; }
.legacy-hero--banner .legacy-slide-arrow.next { right:calc(50% - 92px); left:auto; }
.legacy-hero--banner .legacy-slide-dots { bottom:32px; }
@media(min-width:1024px) { .legacy-hero--banner .legacy-slide-caption { bottom:76px; } }
@media(max-width:1023px) { .legacy-header,.legacy-header.over-hero,.legacy-header.over-hero.scrolled { height:auto; min-height:104px; } }

.analytics-consent { position:fixed; left:16px; right:16px; bottom:20px; z-index:10000; margin:auto; max-width:640px; padding:18px; border:1px solid #cbd5e1; border-radius:12px; background:white; color:#0f172a; box-shadow:0 8px 30px #0f172a33; }
.analytics-consent p { margin:0 0 12px; font-size:14px; }
.analytics-consent>div { display:flex; justify-content:flex-end; gap:10px; }
.analytics-consent button { border:0; padding:10px 18px; border-radius:8px; background:#f97316; color:white; font-weight:700; }
.analytics-consent button:first-child { background:#e2e8f0; color:#0f172a; }
.analytics-preferences { display:block; margin:0 auto; padding:8px 12px; border:0; background:#0f172a; color:#cbd5e1; font-size:12px; }
@media(max-width:1023px) { .analytics-consent { bottom:84px; } .analytics-preferences { margin-bottom:76px; } }
