:root {
  --ink: #111118;
  --muted: #777783;
  --cream: #f4f1ea;
  --orange: #ff7a45;
  --lime: #d8ff62;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #fbfaf7;
  font-family: "Manrope", sans-serif;
}
button, a { font: inherit; }
button { cursor: pointer; }

.announcement {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--lime);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
  position: sticky;
  top: 0;
  z-index: 101;
}
.announcement p { margin: 0; }
.announcement button {
  position: absolute; right: 24px; border: 0; background: transparent;
  font-size: 20px; line-height: 1;
}

.header {
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 80px);
  background: #0d0d12;
  color: white;
  position: sticky;
  top: 36px;
  z-index: 100;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: inherit; text-decoration: none;
  font-family: "Space Grotesk", sans-serif;
  font-size: 20px; font-weight: 700; letter-spacing: .16em;
}
.brand-mark {
  width: 34px; height: 34px; display: grid; place-items: center;
  border-radius: 50%; background: var(--lime); color: var(--ink);
  font-family: "Space Grotesk"; font-size: 10px; font-weight: 800; letter-spacing: -.04em;
  transform: rotate(-8deg);
}
.nav { display: flex; gap: 34px; }
.nav a {
  color: #b8b8c1; text-decoration: none; font-size: 13px; font-weight: 700;
  padding: 31px 0 27px; border-bottom: 2px solid transparent;
}
.nav a.active, .nav a:hover { color: white; border-bottom-color: var(--lime); }
.header-actions { display: flex; justify-content: flex-end; gap: 8px; position: relative; }
.icon-button, .menu-button {
  width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: transparent; color: white; position: relative;
  display: grid; place-items: center;
}
.icon-button:hover { background: rgba(255,255,255,.08); }
.icon-button svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.account-avatar-icon { width:28px; height:28px; border-radius:50%; object-fit:cover; }
.account-menu {
  position:absolute; z-index:120; top:52px; right:0; width:210px;
  padding:8px; border-radius:6px; background:white; color:var(--ink);
  box-shadow:0 12px 32px rgba(0,0,0,.2);
}
.account-menu[hidden] { display:none; }
.account-menu a, .account-menu button {
  display:block; width:100%; padding:11px 12px; border:0; border-radius:4px;
  background:transparent; color:var(--ink); text-align:left; text-decoration:none;
  font-size:12px; font-weight:700;
}
.account-menu a:hover, .account-menu button:hover { background:#f2f0e9; }
.account-menu-message { margin:8px 10px; color:var(--muted); font-size:11px; line-height:1.5; }
.account-menu .account-logout { border-top:1px solid #e6e4de; border-radius:0; }
.account-menu-status { margin:4px 10px; color:#a83232; font-size:11px; }
.cart-count {
  position: absolute; top: 4px; right: 2px;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--lime); color: var(--ink); font-size: 9px;
  display: grid; place-items: center; font-weight: 800;
}
.menu-button { display: none; }
.menu-button span { width: 18px; height: 1.5px; background: white; position: absolute; }
.menu-button span:first-child { transform: translateY(-4px); }
.menu-button span:last-child { transform: translateY(4px); }

.hero {
  min-height: 610px;
  background: #0d0d12;
  color: white;
  display: grid;
  grid-template-columns: 48% 52%;
  overflow: hidden;
  position: relative;
}
.hero-copy { padding: 94px 40px 80px clamp(24px, 8vw, 130px); z-index: 2; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 22px; color: #dadadf;
  text-transform: uppercase; font-size: 11px; font-weight: 800;
  letter-spacing: .16em;
}
.eyebrow span { width: 30px; height: 2px; background: var(--lime); }
.eyebrow.dark { color: #7e7e88; }
.eyebrow.dark span { background: var(--orange); }
.hero h1 {
  margin: 0;
  font-family: "Space Grotesk", sans-serif;
  font-size: clamp(54px, 6vw, 88px);
  line-height: .95;
  letter-spacing: -.055em;
}
.hero h1 em { color: var(--lime); font-style: normal; }
.hero-description {
  max-width: 430px; margin: 28px 0 34px;
  color: #aaaab4; font-size: 16px; line-height: 1.7;
}
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 24px; }
.site-install-button { gap: 0; cursor: pointer; }
.site-install-button[hidden] { display: none; }
.site-install-status { min-height: 18px; margin: 12px 0 0; color: #aaaab4; font-size: 11px; line-height: 1.5; }
.site-install-status:empty { display: none; }
.button {
  border: 0; border-radius: 4px; text-decoration: none;
  min-height: 54px; display: inline-flex; align-items: center; justify-content: center;
  gap: 28px; padding: 0 22px;
  font-size: 13px; font-weight: 800;
}
.button-primary { background: var(--lime); color: var(--ink); }
.button-primary span, .button-light span { font-size: 18px; }
.play-button {
  display: flex; align-items: center; gap: 10px;
  border: 0; background: transparent; color: white; font-size: 13px; font-weight: 700;
}
.play-icon {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid #47474f; border-radius: 50%; font-size: 9px;
  padding-left: 2px;
}

.hero-visual {
  position: relative; min-height: 610px;
  background: radial-gradient(circle at 58% 45%, #36363f 0, #24242b 28%, #16161c 58%, #0d0d12 70%);
}
.hero-visual:before {
  content: ""; position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle, black 20%, transparent 70%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(1px); }
.orb-one { width: 410px; height: 410px; background: rgba(216,255,98,.07); right: 4%; top: 16%; }
.orb-two { width: 280px; height: 280px; border: 1px solid rgba(216,255,98,.13); left: 0; bottom: -100px; }
.hero-product { position: absolute; width: 520px; height: 590px; left: 50%; top: 52%; transform: translate(-50%, -48%); }
.phone {
  position: absolute; border-radius: 42px;
  border: 7px solid #25252b; background: #09090d;
  box-shadow: 0 35px 70px rgba(0,0,0,.55);
}
.phone-back {
  width: 235px; height: 490px; right: 44px; top: 48px;
  transform: rotate(10deg);
  background: linear-gradient(145deg, #898c94 0%, #d0d1d3 48%, #696b73 100%);
}
.phone-back:after {
  content:""; position:absolute; width:86px; height:86px; left:22px; top:25px;
  border-radius:24px; background:rgba(236,237,239,.55);
  border:1px solid rgba(255,255,255,.5);
}
.phone-camera { position:absolute; left:40px; top:42px; z-index:2; display:grid; grid-template-columns:repeat(2,28px); gap:7px; }
.phone-camera i { width:28px; height:28px; border-radius:50%; background:#111218; border:4px solid #bbbcc0; box-shadow:0 2px 5px rgba(0,0,0,.35); }
.phone-camera i:last-child { grid-column:2; }
.phone-front { width:260px; height:530px; left:63px; top:24px; z-index:3; transform:rotate(-7deg); padding:8px; }
.phone-screen {
  height:100%; border-radius:31px; overflow:hidden; position:relative;
  background: linear-gradient(150deg, #9c8dff 0%, #f1d7ff 36%, #ff9e72 68%, #ffcf69 100%);
}
.phone-screen:after {
  content:""; position:absolute; width:330px; height:330px; border-radius:50%;
  background:linear-gradient(135deg, rgba(255,255,255,.9), rgba(255,151,180,.1));
  left:-140px; top:110px;
}
.screen-glow { position:absolute; width:180px; height:180px; border-radius:50%; background:rgba(216,255,98,.8); right:-60px; top:-50px; filter:blur(12px); }
.dynamic-island { position:absolute; z-index:4; width:76px; height:22px; border-radius:20px; background:#09090d; left:50%; top:12px; transform:translateX(-50%); }
.screen-copy { position:absolute; z-index:3; top:55px; left:24px; display:flex; flex-direction:column; color:white; }
.screen-copy span { font-size:11px; }
.screen-copy strong { font-family:"Space Grotesk"; font-size:74px; line-height:1; margin-top:78px; }
.floating-spec {
  position:absolute; z-index:5; width:112px; height:64px; border:1px solid rgba(255,255,255,.12);
  border-radius:8px; background:rgba(19,19,24,.78); backdrop-filter:blur(12px);
  display:flex; flex-direction:column; justify-content:center; padding:12px;
  box-shadow:0 12px 30px rgba(0,0,0,.25);
}
.floating-spec span { color:#aaaab3; font-size:9px; }
.floating-spec strong { margin-top:5px; font-size:13px; }
.spec-one { right:-5px; top:160px; }
.spec-two { left:0; bottom:90px; }

.categories, .featured { padding: 86px clamp(24px, 7vw, 110px); }
.section-heading { display:flex; align-items:end; justify-content:space-between; margin-bottom:32px; }
.section-heading h2 { margin:0; font-family:"Space Grotesk"; font-size:42px; letter-spacing:-.04em; }
.section-heading .eyebrow { margin-bottom:12px; }
.category-arrows { display:flex; gap:8px; }
.circle-button {
  width:44px; height:44px; border:1px solid #dedde3; border-radius:50%;
  background:white; color:var(--ink); transition:.2s;
}
.circle-button:hover { background:var(--ink); color:white; }
.category-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.category-card {
  min-height:260px; background:#f0eee8; border-radius:6px; position:relative;
  padding:20px 20px 22px; display:flex; align-items:flex-end; overflow:hidden;
  transition:transform .25s, background .25s;
}
.category-card:hover { transform:translateY(-5px); background:#ebe8df; }
.category-card h3 { margin:0 0 3px; font-family:"Space Grotesk"; font-size:20px; }
.category-card p { margin:0; color:#85858e; font-size:11px; }
.card-arrow {
  position:absolute; right:18px; bottom:20px; width:34px; height:34px;
  border:1px solid #d2d1cc; border-radius:50%; display:grid; place-items:center;
  font-size:13px;
}
.category-art { position:absolute; width:190px; height:170px; left:50%; top:12px; transform:translateX(-50%); }
.phone-art span { position:absolute; width:82px; height:140px; border-radius:16px; background:linear-gradient(145deg,#20212a,#696b75); left:54px; top:12px; transform:rotate(-8deg); box-shadow:0 20px 30px rgba(0,0,0,.12); }
.phone-art i { position:absolute; width:66px; height:116px; border-radius:12px; background:linear-gradient(145deg,#ffb36b,#835af1); right:25px; top:23px; transform:rotate(9deg); }
.laptop-art span { position:absolute; width:145px; height:92px; left:22px; top:38px; border:7px solid #a4a5a5; border-radius:8px 8px 3px 3px; background:linear-gradient(135deg,#1e2027,#777984); transform:perspective(300px) rotateX(-4deg); }
.laptop-art i { position:absolute; width:180px; height:8px; left:5px; top:132px; background:#85878b; clip-path:polygon(7% 0,93% 0,100% 100%,0 100%); }
.audio-art span { position:absolute; width:116px; height:116px; left:37px; top:27px; border-radius:50%; background:#202128; box-shadow:inset 0 0 0 14px #e5e2da, inset 0 0 0 31px #34353e, 0 18px 28px rgba(0,0,0,.15); }
.watch-art span { position:absolute; width:80px; height:128px; left:55px; top:20px; border-radius:22px; background:#16171d; box-shadow:0 18px 25px rgba(0,0,0,.16); }
.watch-art span:after { content:""; position:absolute; width:64px; height:64px; left:8px; top:31px; border-radius:50%; background:radial-gradient(circle,#ff986b 0 8%,#292a32 9% 20%,#d8ff62 21% 24%,#25262d 25%); }

.featured { background:#f7f6f2; }
.text-link { color:var(--ink); text-decoration:none; font-size:12px; font-weight:800; border-bottom:1px solid #bbb; padding-bottom:5px; }
.text-link span { margin-left:12px; }
.product-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
.product-card { background:white; border-radius:6px; overflow:hidden; position:relative; }
.product-image {
  height:280px; background:#eeece6; display:grid; place-items:center; position:relative;
}
.product-badge { position:absolute; z-index:2; left:14px; top:14px; background:var(--lime); border-radius:30px; padding:7px 9px; font-size:9px; font-weight:800; }
.wishlist { position:absolute; z-index:2; right:12px; top:12px; width:34px; height:34px; border:0; border-radius:50%; background:white; color:#777; }
.wishlist.active { color:#ff6656; }
.product-image-link { position:absolute; inset:0; display:grid; place-items:center; }
.product-card-image { width:100%; height:100%; padding:28px; object-fit:contain; }
.product-art { width:170px; height:210px; position:relative; }
.product-phone { width:105px; height:190px; border-radius:20px; background:linear-gradient(145deg,#15161d,#7c7f89); left:33px; top:10px; position:absolute; border:5px solid #25262d; box-shadow:0 18px 25px rgba(0,0,0,.15); }
.product-phone:before { content:""; position:absolute; width:70px; height:70px; border-radius:18px; left:13px; top:10px; background:linear-gradient(135deg,#ff9e69,#706fe9); }
.product-laptop { width:155px; height:105px; border:7px solid #3a3b43; border-radius:8px; background:linear-gradient(145deg,#7c7f8c,#17181d); position:absolute; left:8px; top:50px; transform:rotate(-4deg); box-shadow:0 18px 25px rgba(0,0,0,.14); }
.product-laptop:after { content:""; position:absolute; width:180px; height:8px; background:#b1b1b0; left:-20px; bottom:-15px; clip-path:polygon(8% 0,92% 0,100% 100%,0 100%); }
.product-headphones { width:145px; height:145px; border:18px solid #25262d; border-bottom:0; border-radius:90px 90px 0 0; position:absolute; left:13px; top:30px; }
.product-headphones:before, .product-headphones:after { content:""; position:absolute; width:38px; height:55px; background:#34353e; border-radius:17px; bottom:-62px; }
.product-headphones:before { left:-27px; transform:rotate(-8deg); } .product-headphones:after { right:-27px; transform:rotate(8deg); }
.product-watch { width:82px; height:82px; border-radius:50%; background:#25262d; position:absolute; left:44px; top:64px; box-shadow:0 0 0 8px #cfcec8, 0 18px 25px rgba(0,0,0,.15); }
.product-watch:before { content:""; position:absolute; width:42px; height:135px; background:#c7c6c0; left:20px; top:-90px; border-radius:12px; z-index:-1; }
.product-info { padding:18px; }
.product-category { color:#96969f; font-size:9px; text-transform:uppercase; letter-spacing:.12em; }
.product-info h3 { margin:7px 0 12px; font-family:"Space Grotesk"; font-size:17px; }
.product-info h3 a { color:inherit; text-decoration:none; }
.product-info h3 a:hover { text-decoration:underline; text-underline-offset:3px; }
.product-bottom { display:flex; align-items:center; justify-content:space-between; }
.product-price { font-size:14px; font-weight:800; }
.product-price del { color:#aaa; font-size:10px; margin-left:5px; }
.add-button { width:38px; height:38px; border:0; border-radius:50%; background:var(--ink); color:white; font-size:18px; transition:.2s; }
.add-button:hover { background:var(--lime); color:var(--ink); transform:rotate(90deg); }

.product-detail-page { min-height:calc(100vh - 190px); padding:72px clamp(24px,8vw,130px); background:#f7f6f2; }
.product-detail-status { max-width:1100px; margin:0 auto 20px; color:var(--muted); font-size:14px; }
.product-detail { max-width:1100px; margin:0 auto; display:grid; grid-template-columns:1fr 1fr; gap:clamp(32px,6vw,84px); align-items:center; }
.product-detail-image { min-height:500px; display:grid; place-items:center; overflow:hidden; border-radius:8px; background:#eeece6; }
.product-detail-image img { width:100%; height:100%; max-height:560px; padding:48px; object-fit:contain; }
.product-detail-copy { padding:28px 0; }
.product-detail-copy .eyebrow { margin-bottom:18px; color:var(--muted); }
.product-detail-badge { display:inline-block; margin-bottom:14px; padding:7px 11px; border-radius:30px; background:var(--lime); font-size:10px; font-weight:800; }
.product-detail-copy h1 { margin:0; font:700 clamp(38px,5vw,58px)/1.08 "Space Grotesk",sans-serif; letter-spacing:-.05em; }
.product-detail-description { margin:20px 0; color:#666671; font-size:15px; line-height:1.8; }
.product-detail-price { display:flex; align-items:center; gap:12px; margin:24px 0; }
.product-detail-price strong { font:700 26px "Space Grotesk",sans-serif; }
.product-detail-price del { color:#999; font-size:14px; }
.product-detail-facts { margin:24px 0; border-top:1px solid #dfddd6; }
.product-detail-facts div { display:flex; justify-content:space-between; gap:16px; padding:13px 0; border-bottom:1px solid #dfddd6; font-size:12px; }
.product-detail-facts dt { color:var(--muted); font-weight:700; }
.product-detail-facts dd { margin:0; font-weight:800; text-align:right; }
.product-detail-actions { display:flex; align-items:center; gap:12px; flex-wrap:wrap; margin-top:24px; }
.product-quantity { width:82px; height:48px; padding:8px; border:1px solid #dcdad3; border-radius:4px; background:white; font:700 14px "Manrope",sans-serif; }
.product-detail-actions .button { min-height:48px; }
.product-detail-feedback { min-height:20px; margin:12px 0 0; color:#276b35; font-size:12px; font-weight:700; }
.product-detail-back { display:inline-block; margin-top:22px; color:var(--ink); font-size:12px; font-weight:800; text-decoration:none; }
.product-detail-back:hover { text-decoration:underline; }

.offer {
  min-height:430px; margin:86px clamp(24px,7vw,110px);
  background:#17171d; border-radius:8px; color:white; overflow:hidden;
  display:grid; grid-template-columns:55% 45%;
}
.offer-art { position:relative; background:radial-gradient(circle at 50% 60%,#666872,#25262d 42%,#17171d 68%); }
.offer-art:before { content:""; position:absolute; width:320px; height:320px; border-radius:50%; border:1px solid rgba(216,255,98,.15); left:50%; top:55%; transform:translate(-50%,-50%); }
.headphones { position:absolute; width:330px; height:330px; left:50%; top:52%; transform:translate(-50%,-50%) rotate(-8deg); }
.band { position:absolute; width:220px; height:220px; left:55px; top:18px; border:28px solid #26272e; border-bottom:0; border-radius:130px 130px 0 0; box-shadow:inset 0 8px 0 #777984; }
.ear { position:absolute; width:70px; height:110px; border-radius:28px; background:linear-gradient(145deg,#72747d,#202127); border:7px solid #33343c; top:190px; box-shadow:0 18px 30px rgba(0,0,0,.35); }
.ear-left { left:32px; transform:rotate(12deg); } .ear-right { right:32px; transform:rotate(-12deg); }
.offer-copy { align-self:center; padding:55px 70px 55px 20px; }
.offer-copy h2 { margin:0; font-family:"Space Grotesk"; font-size:52px; letter-spacing:-.05em; }
.offer-copy > p:not(.eyebrow) { color:#aaaab3; max-width:380px; line-height:1.7; }
.offer-price { display:flex; align-items:center; gap:12px; margin:22px 0; }
.offer-price strong { font-size:26px; } .offer-price del { color:#777783; }
.button-light { background:white; color:var(--ink); }
footer { height:110px; padding:0 clamp(24px,7vw,110px); display:flex; align-items:center; justify-content:space-between; background:#0d0d12; color:white; }
footer p { color:#777783; font-size:12px; }
footer p a { margin-left:8px; color:var(--lime); font-weight:800; text-decoration:none; }
.toast { position:fixed; right:24px; bottom:24px; background:var(--lime); color:var(--ink); padding:14px 18px; border-radius:4px; font-size:12px; font-weight:800; transform:translateY(80px); opacity:0; transition:.3s; z-index:20; }
.toast.show { transform:translateY(0); opacity:1; }

.search-panel {
  position:fixed; inset:118px 0 auto; height:0; z-index:80;
  background:white; overflow:hidden; transition:.35s ease;
  box-shadow:0 20px 50px rgba(0,0,0,.12);
}
.search-panel.open { height:260px; }
.search-box { max-width:720px; margin:0 auto; padding:45px 24px 32px; position:relative; }
.search-box label { display:block; font-family:"Space Grotesk"; font-size:24px; font-weight:700; margin-bottom:18px; }
.search-close { position:absolute; right:24px; top:12px; border:0; background:transparent; font-size:28px; }
.search-input-wrap { height:58px; border-bottom:2px solid var(--ink); display:flex; align-items:center; gap:12px; }
.search-input-wrap svg { width:22px; fill:none; stroke:var(--ink); stroke-width:1.7; }
.search-input-wrap input { width:100%; border:0; outline:0; font:600 18px "Manrope"; background:transparent; }
.search-status { color:#92929b; font-size:11px; }

.drawer-overlay { position:fixed; inset:0; z-index:109; background:rgba(8,8,12,.48); opacity:0; pointer-events:none; transition:.3s; }
.drawer-overlay.open { opacity:1; pointer-events:auto; }
.cart-drawer {
  position:fixed; z-index:110; right:0; top:0; bottom:0; width:min(420px,92vw);
  background:#fbfaf7; transform:translateX(100%); transition:.35s ease;
  display:grid; grid-template-rows:auto 1fr auto;
  box-shadow:-20px 0 50px rgba(0,0,0,.16);
}
.cart-drawer.open { transform:translateX(0); }
.cart-header { height:118px; display:flex; align-items:center; justify-content:space-between; padding:24px 28px; border-bottom:1px solid #e7e5df; }
.cart-header p { margin:0 0 5px; color:#96969f; text-transform:uppercase; letter-spacing:.12em; font-size:9px; }
.cart-header h2 { margin:0; font-family:"Space Grotesk"; font-size:24px; }
.cart-close { border:0; background:transparent; font-size:28px; }
.cart-items { overflow:auto; padding:24px 28px; }
.empty-cart { height:100%; display:flex; flex-direction:column; align-items:center; justify-content:center; text-align:center; }
.empty-cart > span { width:64px; height:64px; border-radius:50%; background:#eeece6; display:grid; place-items:center; font-family:"Space Grotesk"; }
.empty-cart p { color:#777783; }
.cart-footer { border-top:1px solid #e7e5df; padding:20px 28px 28px; }
.cart-footer > div { display:flex; justify-content:space-between; margin-bottom:16px; }
.cart-footer span { color:#777783; }
.checkout-button { width:100%; }
.cart-line { display:grid; grid-template-columns:58px 1fr auto; align-items:center; gap:12px; padding:12px 0; border-bottom:1px solid #ebe9e3; }
.cart-thumb { width:58px; height:58px; border-radius:6px; background:#eeece6; display:grid; place-items:center; font-family:"Space Grotesk"; font-weight:800; }
.cart-line strong { display:block; font-size:13px; } .cart-line small { color:#96969f; }
.cart-line .remove-item { border:0; background:transparent; color:#999; }

.checkout-overlay { position:fixed; inset:0; z-index:120; display:grid; place-items:center; padding:24px; background:rgba(8,8,12,.58); }
.checkout-overlay[hidden], .checkout-confirmation[hidden], .checkout-sign-in[hidden], .checkout-loading[hidden] { display:none; }
.checkout-panel { position:relative; width:min(680px,100%); max-height:90vh; overflow:auto; padding:32px; border-radius:8px; background:#fff; box-shadow:0 24px 70px rgba(0,0,0,.24); }
.checkout-close { position:absolute; top:16px; right:18px; width:36px; height:36px; border:0; border-radius:50%; background:#f3f2ed; color:var(--ink); font-size:24px; cursor:pointer; }
.checkout-panel h2 { margin:0; font:700 28px "Space Grotesk",sans-serif; }
.checkout-intro { margin:8px 0 20px; color:#687687; font-size:12px; }
.checkout-status { margin:0; padding:10px 12px; border-radius:4px; background:#f4f3ed; color:#50505a; font-size:12px; }
.checkout-status.is-error { background:#fff0f0; color:#9b3030; }
.checkout-loading, .checkout-sign-in { margin:14px 0; color:#687687; font-size:13px; }
.checkout-sign-in p { margin:0 0 14px; }
.checkout-form { margin-top:18px; }
.checkout-contact-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
.checkout-form input[readonly] { background:#f5f4f0; color:#687687; }
.checkout-summary { padding:18px; border:1px solid #e6e4de; border-radius:6px; background:#faf9f6; }
.checkout-summary h3 { margin:0 0 12px; font:700 17px "Space Grotesk",sans-serif; }
.checkout-items { display:grid; gap:9px; margin:0 0 14px; padding:0; list-style:none; }
.checkout-items li, .checkout-total-row { display:flex; align-items:flex-start; justify-content:space-between; gap:16px; color:#60606a; font-size:12px; }
.checkout-items li strong, .checkout-total-row strong { color:var(--ink); text-align:right; }
.checkout-total-row { padding-top:9px; border-top:1px solid #e6e4de; }
.checkout-total-row + .checkout-total-row { margin-top:8px; }
.checkout-grand-total { color:var(--ink); font-size:15px; font-weight:800; }
.checkout-payment-note { margin:0; color:#778390; font-size:11px; line-height:1.5; }
.osm-attribution { font-size:11px; }
.checkout-actions { display:flex; justify-content:flex-end; gap:10px; }
.checkout-secondary-button { border:1px solid #d6dfe6; background:#fff; color:#556678; }
.checkout-actions .button:disabled { opacity:.55; cursor:not-allowed; }
.checkout-confirmation { padding:20px; border-radius:6px; background:#f4f3ed; color:#394553; }
.checkout-confirmation p { margin:0 0 12px; line-height:1.6; }
.checkout-confirmation a { color:#465869; font-size:12px; font-weight:800; }
.checkout-transfer-details { margin:16px 0; padding:16px; border:1px solid #e3e1da; border-radius:6px; background:#fff; }
.checkout-transfer-details h3 { margin:0 0 12px; font:700 16px "Space Grotesk",sans-serif; }
.checkout-transfer-details dl { display:grid; gap:9px; margin:0 0 14px; }
.checkout-transfer-details dl > div { display:flex; justify-content:space-between; gap:16px; }
.checkout-transfer-details dt { color:#778390; font-size:11px; }
.checkout-transfer-details dd { margin:0; color:#20242b; font-size:13px; font-weight:800; text-align:right; overflow-wrap:anywhere; }
.payment-report-status { margin:12px 0 0!important; color:#43602a; font-size:12px; font-weight:700; }

.form-page { min-height:calc(100vh - 228px); padding:72px 24px; background:#f7f6f2; }
.form-card { max-width:620px; margin:0 auto; padding:42px; border-radius:8px; background:white; }
.form-card > .eyebrow { margin-bottom:14px; }
.form-card h1 { margin:0; font-family:"Space Grotesk"; font-size:clamp(32px,5vw,46px); letter-spacing:-.04em; }
.form-intro { margin:10px 0 24px; color:var(--muted); line-height:1.6; }
.form-status { min-height:20px; margin:0 0 12px; color:#276b35; font-size:13px; font-weight:700; }
.form-status.error { color:#a83232; }
.form-tabs { display:flex; border-bottom:1px solid #e6e4de; margin-bottom:24px; }
.form-tab { padding:12px 16px; border:0; border-bottom:2px solid transparent; background:transparent; color:var(--muted); font-weight:800; }
.form-tab.active { border-bottom-color:var(--ink); color:var(--ink); }
.site-form { display:grid; gap:16px; }
.site-form[hidden] { display:none; }
.site-form label { display:grid; gap:7px; color:#50505a; font-size:12px; font-weight:800; }
.site-form input, .site-form select, .site-form textarea { width:100%; min-height:46px; padding:10px 12px; border:1px solid #dcdad3; border-radius:4px; background:white; color:var(--ink); font:500 14px "Manrope",sans-serif; }
.site-form textarea { resize:vertical; }
.site-form input:focus, .site-form select:focus, .site-form textarea:focus { outline:2px solid var(--lime); border-color:var(--ink); }
.site-form .button { margin-top:4px; justify-self:start; }
.form-help { margin:-10px 0 0; color:var(--muted); font-size:11px; }
.avatar-preview, .account-avatar { width:88px; height:88px; border-radius:50%; object-fit:cover; background:#eeece6; }
.rider-main { min-height:calc(100vh - 190px); padding:58px clamp(16px,5vw,72px); background:#f7f6f2; }
.rider-status { max-width:1100px; margin:0 auto 14px; color:#52632c; font-size:13px; font-weight:700; }
.rider-status:empty { display:none; }
.rider-status.error { color:#a83232; }
.rider-auth { width:min(540px,100%); margin:0 auto; padding:32px; border:1px solid #e6e3db; border-radius:8px; background:#fff; box-shadow:0 12px 40px rgba(17,17,24,.06); }
.rider-auth h1, .rider-page-heading h1 { margin:0; font:700 clamp(27px,4vw,36px) "Space Grotesk",sans-serif; }
.rider-auth .form-intro { margin:10px 0 20px; color:#777783; font-size:13px; line-height:1.6; }
.rider-auth .form-tabs { margin-bottom:18px; }
.rider-register-form { gap:13px; }
.rider-dashboard { max-width:1280px; margin:0 auto; }
.rider-dashboard[hidden], .rider-panel[hidden] { display:none; }
.rider-workspace { display:grid; grid-template-columns:220px minmax(0,1fr); min-height:620px; border:1px solid #e4e2db; border-radius:8px; overflow:hidden; background:white; box-shadow:0 12px 40px rgba(17,17,24,.06); }
.rider-sidebar { display:flex; flex-direction:column; padding:24px 14px; background:#111118; color:#fff; }
.rider-sidebar > p { margin:0 10px 18px; color:#b5bb9e; font-size:9px; font-weight:800; letter-spacing:.12em; }
.rider-sidebar nav { display:grid; gap:5px; }
.rider-sidebar nav button, .rider-logout { min-height:40px; padding:0 11px; border:0; border-radius:4px; background:transparent; color:#c9c9cf; text-align:left; font-size:11px; font-weight:700; }
.rider-sidebar nav button:hover, .rider-sidebar nav button.active { background:#27272f; color:var(--lime); }
.rider-logout { margin-top:auto; border-top:1px solid #303038; border-radius:0; color:#e7adb0; }
.rider-content { min-width:0; padding:clamp(20px,4vw,38px); }
.rider-page-heading { margin-bottom:22px; }
.rider-page-heading .eyebrow { margin-bottom:10px; }
.rider-page-heading > p:last-child { margin:8px 0 0; color:#777783; font-size:12px; line-height:1.6; }
.rider-stat-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.rider-stat-grid article, .rider-earnings-card > div { display:grid; gap:8px; padding:16px; border:1px solid #e8e6df; border-radius:5px; background:#fbfaf7; }
.rider-stat-grid span, .rider-earnings-card span { color:#81818a; font-size:10px; font-weight:700; }
.rider-stat-grid strong, .rider-earnings-card strong { color:#17171e; font:700 21px "Space Grotesk",sans-serif; }
.rider-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:26px 0 12px; }
.rider-panel-heading h2 { margin:0; font:700 16px "Space Grotesk",sans-serif; }
.rider-panel-heading button { border:0; background:transparent; color:#58652e; font-size:10px; font-weight:800; }
.rider-order-list, .rider-payout-list { display:grid; gap:12px; }
.rider-order-card, .rider-payout-item { padding:16px; border:1px solid #e8e6df; border-radius:5px; background:#fff; }
.rider-order-card-head { display:flex; justify-content:space-between; gap:10px; align-items:flex-start; }
.rider-order-card h3 { margin:0; color:#22222a; font-size:13px; }
.rider-order-card p { margin:7px 0 0; color:#777783; font-size:10px; line-height:1.6; overflow-wrap:anywhere; }
.rider-order-card .rider-order-meta { color:#4e4e58; font-weight:700; }
.rider-order-status { padding:4px 8px; border-radius:20px; background:#f1f0eb; color:#66666f; font-size:8px; font-weight:800; white-space:nowrap; }
.rider-order-status.delivered { background:#eff2e4; color:#4e562d; }
.rider-order-card .button { min-height:35px; margin-top:12px; padding:0 12px; font-size:10px; }
.rider-order-card .button:disabled { opacity:.55; cursor:not-allowed; }
.rider-code-form { display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.rider-code-form input { width:155px; min-height:36px; padding:7px 9px; border:1px solid #dcdad3; border-radius:4px; font:600 13px "Manrope",sans-serif; letter-spacing:.12em; }
.rider-code-form button { min-height:36px; padding:0 10px; border:0; border-radius:4px; background:#111118; color:white; font-size:10px; font-weight:800; }
.rider-order-feedback { margin:9px 0 0; color:#52632c; font-size:10px; font-weight:700; }
.rider-order-feedback.error { color:#a83232; }
.rider-earnings-card { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:12px; }
.rider-payout-actions { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-top:14px; padding:14px; border-radius:5px; background:#f7f6f2; }
.rider-payout-actions p { margin:0; color:#72727b; font-size:10px; line-height:1.5; }
.rider-payout-actions .button { min-height:36px; padding:0 12px; font-size:10px; white-space:nowrap; }
.rider-payout-item { display:flex; justify-content:space-between; gap:12px; color:#62626c; font-size:10px; }
.rider-payout-item strong { color:#22222a; }
.rider-empty { padding:25px; border:1px dashed #dedbd2; border-radius:5px; color:#82828b; text-align:center; font-size:11px; }
.announcement-message-link { color:inherit; font-weight:800; text-decoration:underline; text-underline-offset:2px; }
.account-avatar { margin-bottom:16px; }
.signed-in-panel p span { overflow-wrap:anywhere; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.signed-in-panel { padding:20px; border-radius:6px; background:#f7f6f2; }
.signed-in-panel h2, .admin-heading h2, .product-list-heading h2 { margin:0; font-family:"Space Grotesk"; }
.signed-in-panel p, .admin-heading p { color:var(--muted); font-size:13px; }
.admin-page .form-card { max-width:760px; }
.customer-page { padding-top:56px; }
.customer-page > .form-status { max-width:860px; margin:0 auto 12px; }
.customer-card { max-width:860px; margin:0 auto; padding:42px; border-radius:8px; background:white; }
.customer-card h1 { margin:0 0 24px; font-family:"Space Grotesk"; font-size:clamp(32px,5vw,46px); letter-spacing:-.04em; }
.profile-summary { display:flex; align-items:center; gap:18px; padding:20px; border-radius:6px; background:#f7f6f2; }
.profile-summary h2 { margin:0; font-family:"Space Grotesk"; }
.profile-summary p { margin:6px 0 0; color:var(--muted); font-size:13px; overflow-wrap:anywhere; }
.profile-photo, .profile-initial { width:88px; height:88px; flex:0 0 88px; border-radius:50%; object-fit:cover; background:#eeece6; }
.profile-initial { display:grid; place-items:center; font-family:"Space Grotesk"; font-size:34px; font-weight:700; }
.customer-shortcuts { display:grid; gap:0; margin-top:24px; }
.customer-shortcuts a { display:flex; align-items:center; justify-content:space-between; padding:16px 4px; border-bottom:1px solid #e6e4de; color:var(--ink); font-size:13px; font-weight:800; text-decoration:none; }
.customer-shortcuts a:hover { color:#6f8500; }
.account-details { margin:24px 0 0; }
.account-details div { padding:16px 4px; border-bottom:1px solid #e6e4de; }
.account-details dt { margin-bottom:6px; color:var(--muted); font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.account-details dd { margin:0; font-size:14px; overflow-wrap:anywhere; }
.order-list { display:grid; gap:12px; }
.order-payment-note { margin:-12px 0 20px; color:var(--muted); font-size:12px; }
.order-empty { margin:0; padding:24px; border-radius:6px; background:#f7f6f2; color:var(--muted); text-align:center; }
.order-card { padding:18px; border:1px solid #e6e4de; border-radius:6px; }
.order-card h2 { margin:0; font-family:"Space Grotesk"; font-size:18px; }
.order-card p, .order-card li { color:var(--muted); font-size:12px; }
.order-card ul { margin-bottom:0; padding-left:20px; }
.order-transfer-details { display:grid; gap:5px; margin-top:14px; padding:14px; border:1px solid #e6e4de; border-radius:5px; background:#faf9f6; }
.order-transfer-details > strong { margin-bottom:3px; color:var(--ink); font-size:12px; }
.order-transfer-details p { margin:0; overflow-wrap:anywhere; }
.order-transfer-details .order-paid-button { justify-self:start; margin-top:7px; }
.order-payment-pending { margin:12px 0 0!important; color:#7a6325!important; font-weight:700; }
.order-payment-error { margin:5px 0 0!important; color:#9b3030!important; }
.admin-heading, .product-list-heading { display:flex; align-items:center; justify-content:space-between; gap:20px; margin:24px 0; }
.admin-heading p { margin:6px 0 0; }
.text-button { padding:8px 0; border:0; border-bottom:1px solid #aaa; background:transparent; font-weight:800; }
.product-list-heading { margin-top:36px; }
.product-list-heading h2 { font-size:20px; }
.admin-product-list { display:grid; gap:8px; margin:14px 0 0; padding:0; list-style:none; }
.admin-product-list li { display:flex; justify-content:space-between; gap:12px; padding:12px; border-radius:4px; background:#f7f6f2; font-size:12px; }
.admin-product-list li span { color:var(--muted); text-align:right; }
.product-load-error { grid-column:1/-1; padding:18px; border-radius:4px; background:white; color:#a83232; }

@media (max-width: 980px) {
  .header { grid-template-columns:1fr auto; }
  .nav { display:none; position:absolute; z-index:20; left:0; right:0; top:118px; background:#0d0d12; padding:20px 24px; }
  .nav.open { display:flex; }
  .nav a { padding:12px 0; }
  .menu-button { display:grid; }
  .hero { grid-template-columns:52% 48%; }
  .hero-copy { padding-left:40px; }
  .hero-product { transform:translate(-54%, -48%) scale(.82); }
  .category-grid, .product-grid { grid-template-columns:repeat(2,1fr); }
  .offer { grid-template-columns:50% 50%; }
  .offer-copy { padding-right:30px; }
}

@media (max-width: 680px) {
  .announcement { height:32px; }
  .header { top:32px; }
  .announcement button { right:12px; }
  .header { height:70px; padding:0 18px; }
  .nav { top:102px; flex-direction:column; }
  .icon-button:first-child { display:none; }
  .hero { grid-template-columns:1fr; min-height:760px; }
  .hero-copy { padding:62px 24px 20px; }
  .hero h1 { font-size:52px; }
  .hero-description { font-size:14px; }
  .hero-actions { gap:12px; }
  .hero-visual { min-height:430px; }
  .hero-product { transform:translate(-50%, -50%) scale(.68); top:50%; }
  .floating-spec.spec-one { right:-15px; }
  .categories, .featured { padding:64px 18px; }
  .section-heading { align-items:center; }
  .section-heading h2 { font-size:32px; }
  .category-arrows { display:none; }
  .category-grid { grid-template-columns:repeat(2,1fr); gap:8px; }
  .category-card { min-height:220px; }
  .category-art { transform:translateX(-50%) scale(.82); }
  .product-grid { grid-template-columns:1fr 1fr; gap:8px; }
  .product-image { height:220px; }
  .product-card-image { padding:20px; }
  .product-art { transform:scale(.82); }
  .product-info { padding:14px; }
  .product-info h3 { font-size:14px; }
  .offer { margin:64px 18px; grid-template-columns:1fr; }
  .offer-art { min-height:330px; }
  .headphones { transform:translate(-50%,-50%) scale(.82); }
  .offer-copy { padding:45px 24px; }
  .offer-copy h2 { font-size:40px; }
  footer { height:90px; padding:0 18px; }
  .form-page { min-height:calc(100vh - 192px); padding:42px 16px; }
  .form-card { padding:28px 20px; }
  .customer-card { padding:28px 20px; }
  .profile-summary { align-items:flex-start; flex-direction:column; }
  .form-row { grid-template-columns:1fr; gap:16px; }
  .product-detail-page { padding:38px 18px; }
  .product-detail { grid-template-columns:1fr; gap:20px; }
  .product-detail-image { min-height:320px; }
  .product-detail-image img { max-height:380px; padding:30px; }
  .product-detail-copy { padding:8px 0; }
  .admin-product-list li { flex-direction:column; }
  .admin-product-list li span { text-align:left; }
}

.admin-body { min-height:100vh; background:#f7f6f2; color:var(--ink); }
.admin-body button, .admin-body input, .admin-body select, .admin-body textarea { font-family:"Manrope",sans-serif; }
.admin-topbar {
  position:sticky; top:0; z-index:30;
  height:64px; display:flex; align-items:center; justify-content:space-between; gap:24px;
  padding:0 clamp(16px,3vw,34px); background:#0d0d12; color:white; box-shadow:0 2px 8px rgba(17,17,24,.16);
}
.admin-brand { display:flex; align-items:center; gap:10px; min-width:250px; color:white; text-decoration:none; font:700 15px "Space Grotesk",sans-serif; letter-spacing:.01em; }
.admin-brand-mark { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; background:#d8ff62; color:#111118; font-size:10px; font-weight:800; letter-spacing:-.04em; }
.admin-brand-tag { margin-left:6px; padding:4px 7px; border:1px solid rgba(255,255,255,.25); border-radius:3px; color:#cfdeed; font:800 8px "Manrope",sans-serif; letter-spacing:.1em; }
.admin-topbar-context { display:flex; align-items:center; gap:8px; color:#b4b4bd; font-size:11px; }
.admin-topbar-context span, .admin-sidebar-status { width:7px; height:7px; border-radius:50%; background:#79df9b; }
.admin-install-button { padding:8px 11px; border:1px solid var(--lime); border-radius:3px; background:var(--lime); color:var(--ink); font-size:10px; font-weight:800; white-space:nowrap; cursor:pointer; }
.admin-pwa-status { margin:0; color:#b6cadd; font-size:10px; text-align:right; }
.admin-pwa-status.install-help { position:fixed; top:76px; left:16px; right:16px; z-index:80; max-width:560px; margin:0 auto; padding:12px 14px; border:1px solid #e1e7ed; border-radius:6px; background:white; color:#17181d; box-shadow:0 10px 32px rgba(0,0,0,.15); font-size:13px; line-height:1.5; text-align:left; }
.admin-user { display:flex; align-items:center; gap:10px; }
.admin-user[hidden], .admin-login-card[hidden], .admin-workspace[hidden], .admin-view[hidden], .admin-product-form-panel[hidden] { display:none; }
.admin-user-avatar { width:32px; height:32px; display:grid; place-items:center; border-radius:50%; background:var(--lime); color:var(--ink); font-size:10px; font-weight:800; }
.admin-user-name { display:grid; gap:2px; font-size:10px; }
.admin-user-name small { color:#b6cadd; }
.admin-user > button { padding:7px 10px; border:1px solid rgba(255,255,255,.35); border-radius:3px; background:transparent; color:white; font-size:10px; font-weight:800; }
.admin-user > button:hover { background:rgba(255,255,255,.1); }
.admin-entry { min-height:calc(100vh - 64px); }
.admin-status { margin:16px clamp(16px,3vw,34px) 0; padding:11px 14px; border:1px solid #f5d9a1; border-radius:4px; background:#fff8e9; color:#895a12; font-size:12px; }
.admin-status[hidden] { display:none; }
.admin-status.is-error { border-color:#efb6b6; background:#fff0f0; color:#9b3030; }
.admin-login-card { width:min(440px,calc(100% - 32px)); margin:9vh auto; padding:34px; border:1px solid #e1e7ed; border-radius:7px; background:white; box-shadow:0 10px 30px rgba(31,53,73,.08); }
.admin-kicker { margin:0 0 9px; color:#777783; font-size:9px; font-weight:800; letter-spacing:.14em; }
.admin-login-card h1 { margin:0; font:700 30px "Space Grotesk",sans-serif; }
.admin-login-card > p:not(.admin-kicker) { margin:9px 0 24px; color:#687687; font-size:12px; line-height:1.6; }
.admin-login-card .site-form { gap:15px; }
.admin-login-card .button { background:var(--lime); color:var(--ink); }
.admin-login-store-link { display:inline-block; margin-top:23px; color:#476071; font-size:11px; font-weight:800; text-decoration:none; }
.admin-login-store-link:hover { color:var(--ink); }
.admin-workspace { display:grid; grid-template-columns:220px minmax(0,1fr); min-height:calc(100vh - 64px); }
.admin-sidebar { display:flex; flex-direction:column; padding:24px 12px 15px; border-right:1px solid #dfe5eb; background:#fff; }
.admin-sidebar-heading { margin:0 10px 14px; color:#8d9aa8; font-size:8px; font-weight:800; letter-spacing:.13em; }
.admin-side-nav { display:grid; gap:3px; }
.admin-side-nav button, .admin-side-nav a { display:flex; align-items:center; gap:11px; min-height:37px; padding:0 10px; border:0; border-radius:3px; background:transparent; color:#595963; text-align:left; text-decoration:none; font-size:11px; font-weight:700; cursor:pointer; }
.admin-side-nav button > span, .admin-side-nav a > span { width:17px; color:#85858e; text-align:center; font-size:14px; }
.admin-side-nav button:hover, .admin-side-nav a:hover { background:#f4f3ed; color:var(--ink); }
.admin-side-nav button.active { background:#f0f2e5; color:var(--ink); box-shadow:inset 3px 0 var(--lime); }
.admin-side-nav button.active > span { color:var(--ink); }
.admin-nav-count { min-width:19px; margin-left:auto; padding:3px 5px; border-radius:10px; background:#eeede7; color:#696973; text-align:center; font-size:8px; }
.admin-sidebar-bottom { display:flex; align-items:center; gap:10px; margin:auto 8px 0; padding:13px 4px 0; border-top:1px solid #e8edf1; }
.admin-sidebar-bottom div { display:grid; gap:3px; }
.admin-sidebar-bottom strong { color:#415163; font-size:9px; }
.admin-sidebar-bottom small { color:#95a1ad; font-size:8px; }
.admin-content { min-width:0; padding:0 clamp(17px,3vw,42px) 44px; }
.admin-content-topline { min-height:47px; display:flex; align-items:center; justify-content:space-between; gap:15px; border-bottom:1px solid #dde4ea; color:#68798a; font-size:9px; }
.admin-breadcrumb { color:#98a3ad; }
.admin-breadcrumb b { padding:0 7px; color:#c0c8ce; }
.admin-breadcrumb strong { color:#465869; font-weight:700; }
.admin-view { max-width:1370px; margin:0 auto; padding-top:25px; }
.admin-page-heading { display:flex; align-items:center; justify-content:space-between; gap:18px; margin-bottom:22px; }
.admin-page-heading .admin-kicker { margin-bottom:5px; }
.admin-page-heading h1 { margin:0; font:700 26px "Space Grotesk",sans-serif; letter-spacing:-.03em; }
.admin-page-heading > div > p:last-child { margin:6px 0 0; color:#748291; font-size:11px; }
.admin-primary-button, .admin-secondary-button { display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:36px; padding:0 14px; border:1px solid var(--lime); border-radius:3px; background:var(--lime); color:var(--ink); font-size:10px; font-weight:800; cursor:pointer; }
.admin-primary-button:hover { border-color:#c4e84c; background:#c4e84c; }
.admin-primary-button span { font-size:15px; line-height:1; }
.admin-secondary-button { border-color:#d6dfe6; background:white; color:#556678; }
.admin-secondary-button:hover { background:#f3f6f8; }
.admin-stats-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:13px; margin-bottom:18px; }
.admin-stat-card { position:relative; min-height:126px; padding:16px; border:1px solid #e1e7ec; border-radius:4px; background:white; box-shadow:0 2px 5px rgba(42,65,84,.025); }
.admin-stat-icon { position:absolute; top:15px; right:15px; width:27px; height:27px; display:grid; place-items:center; border-radius:4px; background:#f1f1e9; color:var(--ink); font-size:14px; font-weight:800; }
.admin-stat-icon.admin-stat-warning { background:#fff4df; color:#bc7b14; }
.admin-stat-card p { margin:0 0 11px; color:#6f7f8e; font-size:10px; font-weight:700; }
.admin-stat-card strong { display:block; font:700 26px "Space Grotesk",sans-serif; }
.admin-stat-card small { display:block; margin-top:4px; color:#99a4ae; font-size:9px; }
.admin-panel { margin-top:17px; border:1px solid #e0e6eb; border-radius:4px; background:white; box-shadow:0 2px 5px rgba(42,65,84,.025); }
.admin-panel-heading { display:flex; align-items:center; justify-content:space-between; gap:15px; padding:17px 18px; }
.admin-panel-heading h2 { margin:0; font:700 15px "Space Grotesk",sans-serif; }
.admin-panel-heading p { margin:4px 0 0; color:#84919e; font-size:10px; }
.admin-text-button { padding:7px 0; border:0; background:transparent; color:var(--ink); font-size:10px; font-weight:800; text-decoration:none; cursor:pointer; }
.admin-text-button:hover { color:#62626c; }
.admin-text-button span { padding-left:5px; }
.admin-recent-list { padding:0 18px 10px; }
.admin-recent-item { display:grid; grid-template-columns:minmax(140px,1fr) minmax(140px,1fr) 100px; align-items:center; gap:12px; min-height:43px; border-top:1px solid #edf0f3; font-size:10px; }
.admin-recent-item strong { overflow:hidden; text-overflow:ellipsis; white-space:nowrap; }
.admin-recent-item > span:nth-child(2) { color:#83909c; }
.admin-stock-badge { width:max-content; display:inline-flex; align-items:center; padding:4px 7px; border-radius:20px; font-size:8px; font-weight:800; white-space:nowrap; }
.admin-stock-badge.in { background:#e9f7ef; color:#278252; }
.admin-stock-badge.low { background:#fff5e3; color:#a66b12; }
.admin-stock-badge.out { background:#ffeded; color:#b74646; }
.admin-products-heading { padding-bottom:12px; }
.admin-table-toolbar { display:flex; align-items:center; gap:9px; padding:0 18px 14px; }
.admin-search { width:min(310px,100%); height:34px; display:flex; align-items:center; gap:8px; padding:0 10px; border:1px solid #dce3e9; border-radius:3px; color:#9ba7b1; }
.admin-search > span { font-size:19px; line-height:1; }
.admin-search input { width:100%; min-width:0; border:0; outline:0; color:#364656; font-size:10px; }
.admin-filter-label select, .admin-pagination select { height:34px; padding:0 27px 0 10px; border:1px solid #dce3e9; border-radius:3px; background:white; color:#576777; font-size:9px; }
.admin-table-scroll { width:100%; overflow-x:auto; }
.admin-product-table { width:100%; border-collapse:collapse; text-align:left; }
.admin-product-table thead { background:#f7f9fb; }
.admin-product-table th { height:34px; padding:0 12px; color:#788897; font-size:8px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; white-space:nowrap; }
.admin-product-table th:first-child, .admin-product-table td:first-child { padding-left:18px; }
.admin-product-table td { height:61px; padding:8px 12px; border-top:1px solid #edf0f3; color:#485968; font-size:10px; white-space:nowrap; }
.admin-product-table td:last-child { padding-right:18px; text-align:right; }
.admin-table-product { display:flex; align-items:center; gap:10px; min-width:220px; }
.admin-product-thumb { width:38px; height:38px; flex:0 0 38px; padding:3px; border:1px solid #e7ebee; border-radius:3px; background:#f4f3ef; object-fit:contain; }
.admin-product-name { display:grid; gap:4px; min-width:0; }
.admin-product-name strong { overflow:hidden; color:#263847; text-overflow:ellipsis; }
.admin-product-name small { max-width:300px; overflow:hidden; color:#95a0aa; text-overflow:ellipsis; white-space:nowrap; font-size:8px; }
.admin-catalog-badge { width:max-content; max-width:110px; overflow:hidden; padding:2px 5px; border-radius:2px; background:#f0f2e5; color:var(--ink); text-overflow:ellipsis; white-space:nowrap; font-size:7px; font-weight:800; }
.admin-view-product { padding:0; border:0; background:transparent; color:var(--ink); font:800 9px "Manrope",sans-serif; cursor:pointer; }
.admin-view-product:hover { text-decoration:underline; }
.admin-danger-button { display:inline-flex; align-items:center; justify-content:center; min-height:36px; padding:0 14px; border:1px solid #e8bebe; border-radius:3px; background:#fff4f4; color:#a83232; font-size:10px; font-weight:800; cursor:pointer; }
.admin-danger-button:hover { background:#ffe9e9; }
.admin-product-detail-panel[hidden] { display:none; }
.admin-product-detail-content { display:grid; grid-template-columns:minmax(150px,240px) minmax(0,1fr); gap:18px 22px; padding:0 18px; }
.admin-product-detail-image { width:100%; height:190px; padding:15px; border:1px solid #e7ebee; border-radius:3px; background:#f4f3ef; object-fit:contain; }
.admin-product-detail-facts { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:11px 20px; margin:0; }
.admin-product-detail-facts > div { min-width:0; }
.admin-product-detail-facts dt { margin-bottom:4px; color:#8995a0; font-size:8px; font-weight:800; text-transform:uppercase; }
.admin-product-detail-facts dd { margin:0; overflow-wrap:anywhere; color:#354758; font-size:10px; }
.admin-product-detail-description { grid-column:1/-1; margin:0 0 2px; color:#586979; font-size:10px; line-height:1.7; }
.admin-product-detail-actions { display:flex; justify-content:flex-end; gap:9px; padding:14px 18px 17px; }
.admin-order-detail-backdrop { position:fixed; inset:0; z-index:180; display:flex; justify-content:flex-end; background:rgba(8,8,12,.48); }
.admin-order-detail-backdrop[hidden] { display:none; }
.admin-order-detail { width:min(500px,100%); height:100%; overflow:auto; padding:24px; background:#fff; box-shadow:-16px 0 50px rgba(0,0,0,.18); }
.admin-order-detail > .admin-panel-heading { margin:0 0 18px; }
.admin-order-detail-content { display:grid; gap:14px; }
.admin-order-customer-details { display:grid; gap:5px; padding:12px; border-radius:4px; background:#f7f6f2; color:#566473; font-size:11px; overflow-wrap:anywhere; }
.admin-order-detail-items { display:grid; gap:10px; }
.admin-order-detail-item { display:grid; grid-template-columns:68px minmax(0,1fr) auto; align-items:center; gap:11px; padding:9px 0; border-bottom:1px solid #eceae4; }
.admin-order-detail-item img { width:68px; height:62px; border:1px solid #e7ebee; border-radius:4px; background:#f4f3ef; object-fit:contain; }
.admin-order-detail-item strong, .admin-order-detail-item small { display:block; }
.admin-order-detail-item strong { color:#27313a; font-size:11px; }
.admin-order-detail-item small { margin-top:4px; color:#798592; font-size:10px; }
.admin-order-detail-item > b { color:#27313a; font-size:11px; white-space:nowrap; }
.admin-order-detail-totals { display:grid; gap:8px; padding:12px; background:#f7f6f2; font-size:11px; }
.admin-order-detail-totals div { display:flex; justify-content:space-between; gap:10px; }
.admin-order-detail-totals .grand-total { padding-top:8px; border-top:1px solid #dedbd2; font-size:14px; font-weight:800; }
.admin-order-detail-actions { display:flex; flex-wrap:wrap; gap:8px; margin-top:16px; }
.admin-order-detail-actions .admin-order-action { min-height:34px; padding:0 11px; border:1px solid #d6dfe6; border-radius:3px; background:#fff; color:#465869; font-size:10px; font-weight:800; cursor:pointer; }
.admin-order-detail-actions .admin-order-action.primary { border-color:#465869; background:#465869; color:#fff; }
.admin-order-detail-actions .admin-order-action.danger { border-color:#e8bebe; background:#fff4f4; color:#a83232; }
.admin-order-detail-actions .admin-order-action:disabled { opacity:.55; cursor:not-allowed; }
.admin-order-detail-actions select { min-width:190px; min-height:34px; padding:0 9px; border:1px solid #d6dfe6; border-radius:3px; background:white; color:#465869; font-size:10px; }
.admin-order-detail-message { margin:12px 0 0; color:#566473; font-size:11px; }
.admin-empty-row { height:100px!important; color:#8593a0!important; text-align:center; }
.admin-record-table { width:100%; min-width:850px; border-collapse:collapse; text-align:left; }
.admin-record-table thead { background:#f7f6f2; }
.admin-record-table th { height:34px; padding:0 12px; color:#777783; font-size:8px; font-weight:800; letter-spacing:.04em; text-transform:uppercase; white-space:nowrap; }
.admin-record-table th:first-child, .admin-record-table td:first-child { padding-left:18px; }
.admin-record-table td { min-height:54px; padding:11px 12px; border-top:1px solid #edece7; color:#4e4e58; font-size:9px; }
.admin-record-table td:last-child { padding-right:18px; }
.admin-record-person { display:grid; gap:4px; min-width:145px; max-width:320px; white-space:normal; }
.admin-record-person strong { color:#27272f; font-size:10px; }
.admin-record-person small { color:#85858f; font-size:8px; line-height:1.45; }
.admin-order-customer { min-width:190px; }
.admin-order-customer small:last-child { color:#62626c; }
.admin-address-cell { max-width:300px; white-space:normal; line-height:1.5; }
.admin-nowrap { white-space:nowrap; }
.admin-record-tag { display:inline-flex; padding:4px 7px; border-radius:20px; background:#f1f0eb; color:#66666f; font-size:8px; font-weight:700; white-space:nowrap; }
.admin-record-tag.available { background:#eff2e4; color:#4e562d; }
.admin-record-actions { display:grid; gap:5px; min-width:78px; }
.admin-record-actions button { min-height:27px; padding:0 8px; font-size:8px; white-space:nowrap; }
.admin-record-actions .admin-approve-button { border-color:#dbe8ca; background:#f3f8e9; color:#52632c; }
.admin-record-actions .admin-reject-button { border-color:#e8bebe; background:#fff4f4; color:#a83232; }
.admin-record-actions button:disabled { opacity:.55; cursor:not-allowed; }
.admin-order-id { color:#41414a; font-size:9px; }
.admin-order-items { display:block; min-width:145px; max-width:240px; color:#63636d; white-space:normal; line-height:1.5; }
.admin-orders-table { min-width:1080px; }
.admin-pagination { display:flex; align-items:center; justify-content:flex-end; gap:18px; min-height:52px; padding:0 18px; border-top:1px solid #edf0f3; color:#82909d; font-size:9px; }
.admin-pagination label { display:flex; align-items:center; gap:7px; }
.admin-pagination select { height:27px; padding:0 17px 0 7px; }
.admin-pagination > div { display:flex; align-items:center; gap:8px; color:#506171; }
.admin-pagination button { width:24px; height:24px; border:1px solid #dce3e9; border-radius:3px; background:white; color:#526575; font-size:16px; line-height:1; }
.admin-pagination button:disabled { color:#c7cdd2; cursor:default; }
.admin-product-form-panel { margin-bottom:22px; scroll-margin-top:16px; }
.admin-close-form { width:28px; height:28px; border:0; background:transparent; color:#778694; font-size:22px; }
.admin-product-form { grid-template-columns:repeat(2,minmax(0,1fr)); gap:13px; padding:0 18px 18px; }
.admin-product-form label { gap:5px; color:#647484; font-size:9px; }
.admin-product-form input, .admin-product-form select, .admin-product-form textarea { min-height:36px; padding:8px 10px; border-color:#dce3e9; font-size:10px; }
.admin-product-form textarea { min-height:72px; }
.admin-product-form .admin-form-wide { grid-column:1/-1; }
.admin-product-form .form-help { margin:-5px 0 0; }
.admin-form-actions { display:flex; justify-content:flex-end; gap:9px; padding-top:4px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

@media (max-width: 900px) {
  .admin-workspace { grid-template-columns:1fr; }
  .admin-sidebar { padding:10px 14px; border-right:0; border-bottom:1px solid #dfe5eb; }
  .admin-sidebar-heading, .admin-sidebar-bottom { display:none; }
  .admin-side-nav { grid-template-columns:repeat(7,max-content); gap:5px; }
  .admin-side-nav button, .admin-side-nav a { padding:0 13px; }
  .admin-stats-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media (max-width: 600px) {
  .checkout-overlay { padding:10px; }
  .checkout-panel { max-height:94vh; padding:24px 18px; }
  .checkout-contact-grid { grid-template-columns:1fr; }
  .checkout-actions { flex-direction:column-reverse; }
  .checkout-actions .button { width:100%; }
  .admin-topbar { height:58px; gap:8px; padding:0 12px; }
  .admin-brand { min-width:0; gap:7px; font-size:12px; }
  .admin-brand-mark { width:29px; height:29px; }
  .admin-brand-tag, .admin-topbar-context, .admin-user-name { display:none; }
  .admin-install-button { padding:6px 8px; font-size:9px; }
  .admin-pwa-status:not(.install-help) { max-width:74px; overflow:hidden; font-size:8px; text-overflow:ellipsis; white-space:nowrap; }
  .admin-pwa-status.install-help { top:66px; left:10px; right:10px; font-size:13px; }
  .admin-user { gap:6px; }
  .admin-user > button { padding:6px 7px; font-size:9px; }
  .admin-workspace { min-height:calc(100vh - 58px); }
  .admin-side-nav { grid-template-columns:repeat(4,minmax(0,1fr)); }
  .admin-side-nav button, .admin-side-nav a { justify-content:center; gap:6px; padding:0 5px; font-size:9px; }
  .admin-content { padding:0 12px 30px; }
  .admin-content-topline { min-height:40px; font-size:8px; }
  .admin-view { padding-top:18px; }
  .admin-page-heading { align-items:flex-start; flex-direction:column; }
  .admin-page-heading h1 { font-size:23px; }
  .admin-stats-grid { gap:8px; }
  .admin-stat-card { min-height:112px; padding:12px; }
  .admin-stat-icon { top:11px; right:11px; width:23px; height:23px; }
  .admin-stat-card strong { font-size:22px; }
  .admin-panel-heading { align-items:flex-start; padding:14px 12px; }
  .admin-table-toolbar { flex-wrap:wrap; padding:0 12px 12px; }
  .admin-search { flex:1 1 100%; }
  .admin-filter-label { flex:1; }
  .admin-filter-label select { width:100%; }
  .admin-product-table { min-width:690px; }
  .admin-product-table th:first-child, .admin-product-table td:first-child { padding-left:12px; }
  .admin-pagination { flex-wrap:wrap; justify-content:space-between; gap:9px; padding:10px 12px; }
  .admin-pagination > span { order:3; width:100%; text-align:right; }
  .admin-recent-item { grid-template-columns:minmax(90px,1fr) auto; gap:6px; }
  .admin-recent-item > span:nth-child(2) { display:none; }
  .admin-product-form { grid-template-columns:1fr; }
  .admin-product-form .admin-form-wide { grid-column:auto; }
  .admin-product-detail-content { grid-template-columns:1fr; padding:0 12px; }
  .admin-product-detail-image { max-width:280px; }
  .admin-product-detail-facts { gap:10px; }
  .admin-product-detail-actions { padding:12px; }
  .admin-login-card { margin:7vh auto; padding:25px 20px; }
}

@media (max-width: 900px) {
  .rider-workspace { grid-template-columns:1fr; }
  .rider-sidebar { padding:12px; }
  .rider-sidebar > p { margin:0 6px 8px; }
  .rider-sidebar nav { grid-template-columns:repeat(3,minmax(0,1fr)); }
  .rider-sidebar nav button { text-align:center; }
  .rider-logout { margin-top:8px; border-top:0; text-align:center; }
}

@media (max-width: 600px) {
  .rider-main { padding:28px 12px; }
  .rider-auth { padding:23px 17px; }
  .rider-content { padding:20px 14px; }
  .rider-stat-grid, .rider-earnings-card { grid-template-columns:1fr; }
  .rider-payout-actions { align-items:stretch; flex-direction:column; }
  .rider-payout-actions .button { width:100%; }
}
