/* Mobile storefront shell. Safe areas leave room for browser and system controls. */
.mobile-app-nav { display:none; }
::selection { background:var(--accent,#8bc4ff); color:var(--bg,#0b0f14); }
input,textarea { caret-color:var(--accent,#8bc4ff); }
input::placeholder,textarea::placeholder { color:var(--muted,#b8c4d0); opacity:1; }
.form-help { color:var(--muted,#b8c4d0); font-size:14px; margin-block:6px 0; }
.form-requirements { color:var(--muted,#b8c4d0); font-size:14px; }
.modal input,.modal textarea,.catalog-checkout input,.catalog-checkout textarea { font-size:max(1rem,1em); }
.modal :user-invalid,.catalog-checkout :user-invalid { border-color:#ffb6b6; }
.shop-search input:focus-visible { outline:3px solid var(--accent); outline-offset:3px; }
.shop-results { color:var(--muted); font-size:14px; margin-block:0 20px; display:flex; justify-content:space-between; gap:16px; }
.shop-results a { text-underline-offset:4px; }
.shop-page { padding-block:40px 80px; }
.shop-page h1 { font-size:clamp(2rem,1rem + 3dvw,4rem); }
.shop-search { margin-block:24px; max-width:640px; }
.shop-search label { display:block; margin-bottom:8px; }
.shop-search > div { display:flex; gap:8px; }
.shop-search input { min-width:0; flex:1; min-height:48px; padding:12px 16px; font:inherit; color:var(--text); background:var(--surface); border:1px solid #53657a; border-radius:0; }
.category-links { display:flex; flex-wrap:wrap; gap:8px; margin-bottom:32px; }
.category-links a { color:var(--text); background:var(--surface); min-height:44px; padding:10px 16px; }
.category-links [aria-current] { background:var(--text); color:var(--bg); }
.shop-page .pc-body h2 { font-size:22px; }
.shop-product-action { color:var(--accent,#8bc4ff); font-weight:600; margin-top:12px; }
.install-app { display:none; }
.install-app { background:var(--surface-2,#202b38); color:var(--text,#f5f7fa); font:inherit; border:0; min-height:44px; padding:12px 18px; cursor:pointer; }
.install-app.is-available { display:inline-flex; margin-top:16px; }
@media(max-width:700px) {
 html { scroll-padding-top:84px; }
 body { padding-bottom:calc(80px + env(safe-area-inset-bottom))!important; overscroll-behavior-y:auto; }
 .site-header { position:sticky; inset-block-start:0; z-index:50; background:#0b0f14; padding-top:env(safe-area-inset-top); }
 .nav-inner { min-height:64px; padding-block:10px; flex-wrap:nowrap; }
 .brand-wordmark { height:28px; }
 .site-header.is-collapsed .nav-list[popover] { inset-block-start:64px; }
 .catalogue-hero { padding-top:20px; }
 .catalogue-heading { margin-bottom:20px; }
 .catalogue-heading h1 { font-size:36px; line-height:1.1; }
 .catalogue-heading p { font-size:16px; margin-top:12px; }
 .specimen { border-radius:12px; overflow:hidden; }
 .specimen-media { aspect-ratio:4/3; }
 .specimen-media img { object-fit:contain; }
 .specimen-info { padding:20px; }
 .specimen-info h2 { font-size:26px; }
 .specimen-info p { font-size:16px; }
 .specimen-price { margin:16px 0; }
 .specimen-info .btn { width:100%; border-radius:8px; }
 .specimen-options { gap:6px; margin-top:20px; }
 .specimen-option { border-radius:6px; }
 .catalogue-caption { font-size:13px; gap:8px; }
 .collection { padding-top:40px; }
 .collection-grid { gap:16px; }
 .collection-item { border-radius:12px; overflow:hidden; }
 .collection-item .collection-meta { padding:16px; }
 .collection h2,.assistance h2,.demonstration h2 { font-size:28px; }
 .demonstration { padding-top:48px; }
 .footer-inner { padding-top:32px; }
 .mobile-app-nav { display:grid; grid-template-columns:repeat(4,1fr); position:fixed; inset-inline:0; inset-block-end:0; z-index:80; background:#151c24; padding:6px 12px calc(6px + env(safe-area-inset-bottom)); min-height:72px; }
 .mobile-app-nav a { display:flex; flex-direction:column; justify-content:center; align-items:center; gap:4px; min-height:56px; color:#b8c4d0; text-decoration:none; font:500 12px/1.2 system-ui,sans-serif; border-radius:8px; }
 .mobile-app-nav svg { width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:1.8; stroke-linecap:round; stroke-linejoin:round; }
 .mobile-app-nav.has-purchase { grid-template-columns:56px 56px minmax(0,1fr); gap:8px; }
 .mobile-app-nav.has-purchase a[hidden] { display:none; }
 .catalog-quick-buy { min-height:56px; min-width:0; margin:0; border:0; border-radius:8px; padding:10px; background:var(--accent,#8bc4ff); color:var(--accent-ink,#091421); font:600 16px/1.25 system-ui,sans-serif; cursor:pointer; }
 .catalog-quick-buy:focus-visible { outline:3px solid var(--text); outline-offset:-5px; }
 .mobile-app-nav a[aria-current="page"] { color:#f5f7fa; background:#263343; font-weight:700; }
 .mobile-app-nav a:active { transform:scale(.96); }
 .mobile-app-nav a:focus-visible { outline:3px solid #8bc4ff; outline-offset:-3px; }
 .mobile-app-nav.is-reading:not(:focus-within) { transform:translateY(100%); }
 .site-header.is-reading:not(:focus-within),.nav.shell.is-reading:not(:focus-within) { transform:translateY(-100%); }
 .mobile-app-nav,.site-header,.nav.shell { transition:transform .18s ease; }
 .shop-page { padding-top:24px; }
 .shop-page h1 { font-size:28px; }
 .shop-page .collection-head p { margin-top:8px; }
 .shop-page .product-grid { grid-template-columns:1fr; gap:16px; }
 .shop-page .product-card { background:var(--surface); border-radius:12px; overflow:hidden; }
 .shop-page .pc-link { display:grid; grid-template-columns:112px 1fr; align-items:center; }
 .shop-page .pc-media { aspect-ratio:1; }
 .shop-page .pc-body { padding:16px; gap:6px; }
 .shop-page .pc-body h2 { font-size:18px; line-height:1.25; }
 .shop-page .pc-tagline { font-size:14px; }
 .shop-page .pc-price { font-size:18px; }
 .shop-page .mrp { font-size:14px; }
 .shop-search .btn { border-radius:8px; }
 .shop-search input { border-radius:8px; }
 .category-links { gap:6px; }
 .category-links a { border-radius:6px; font-size:14px; padding-inline:12px; }
 /* Product pages become a touch-first product detail screen. */
 body:has(.hero.shell) .announce { display:none; }
 .nav.shell { position:sticky; inset-block-start:0; z-index:50; min-height:64px; height:auto; padding-block:10px; padding-top:calc(10px + env(safe-area-inset-top)); background:#0b0f14; width:100%; padding-inline:20px; }
 .nav.shell { gap:8px; }
 .nav.shell .nav-left { gap:8px; }
 .nav.shell .home-link { white-space:nowrap; font-size:12px; }
 .nav.shell .brand { white-space:nowrap; font-size:12px; gap:6px; }
 .nav.shell .brand span { width:24px; height:24px; }
 .nav.shell .nav-buy { white-space:nowrap; font-size:14px; padding:10px 12px; }
 .hero.shell { padding-top:16px; gap:20px; }
 .hero.shell .hero-media { order:-1; margin:0; width:100%; padding:0; }
 .hero.shell .hero-media img,.hero.shell .hero-media video { height:260px; aspect-ratio:auto; width:100%; object-fit:contain; border-radius:12px; }
 .hero.shell .floating-stat { display:none; }
 .hero.shell .hero-copy { display:flex; flex-direction:column; text-align:left; }
 .hero.shell h1 { font-size:36px; line-height:1.05; order:0; margin:0 0 12px; }
 .hero.shell .product-identity { font-size:16px; order:1; margin:0 0 16px; }
 .hero.shell .variant-row { order:2; margin:0 0 16px; }
 .hero.shell .variant-pills { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; }
 .hero.shell .variant-pill { min-width:0; padding:10px; border-radius:8px; }
 .hero.shell .purchase-row { order:3; margin:0; align-items:start; }
 .hero.shell .purchase-row > div { width:100%; }
 .hero.shell .purchase-row strong { font-size:28px; }
 .hero.shell .cta-row { order:4; margin-top:16px; }
 .hero.shell .hero-trust { order:5; margin-top:16px; }
 .hero.shell .replacement-badge { order:6; }
 .hero.shell .share-row { order:7; }
 .hero.shell .lede { order:8; margin-top:24px; }
 .hero.shell .hero-points { order:9; margin-top:20px; }
 .hero.shell .microcopy { order:10; text-align:left; }
 .hero.shell .cta { border-radius:8px; }
 .hero.shell .price-compare { order:4; }
 .hero.shell .hero-points span { border-radius:6px; }
 .modal-overlay { z-index:1100; align-items:end; }
 .modal { border-radius:16px 16px 0 0; max-height:calc(100dvh - 20px); padding-bottom:calc(24px + env(safe-area-inset-bottom)); }
 .modal input,.modal textarea { border-radius:8px; }
 .modal .cta { border-radius:8px; }
 .modal-open .mobile-app-nav { visibility:hidden; }
 .modal .form-row,.catalog-form-row { grid-template-columns:1fr; gap:0; }
}
@media(prefers-reduced-motion:reduce) { .mobile-app-nav a { transform:none; } }
