:root {
  color-scheme: dark;
  --bg: #0b0e12;
  --panel: #121820;
  --panel2: #171f28;
  --line: #26313b;
  --text: #f0f4f5;
  --muted: #9aa8ad;
  --mint: #73f0c0;
  --blue: #79b9f4;
  --red: #ff8484;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.store-shell { max-width: 1440px; margin: auto; padding: 0 5.5%; }
.site-header { height: 92px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: .16em; font-size: 12px; line-height: 1.25; }
.brand small { color: var(--mint); font-size: 10px; letter-spacing: .31em; }
.brand-mark { width: 38px; height: 38px; border: 1px solid var(--mint); border-radius: 12px; color: var(--mint); display: grid; place-items: center; font-size: 20px; letter-spacing: 0; }
.site-header nav { display: flex; gap: 34px; color: var(--muted); font-size: 13px; }
.site-header nav a:hover, footer a:hover { color: var(--mint); }
.session-chip { border: 1px solid var(--line); border-radius: 99px; padding: 9px 14px; color: var(--muted); font-size: 11px; }
.hero { min-height: 425px; display: grid; grid-template-columns: 1fr .85fr; align-items: center; border-bottom: 1px solid var(--line); overflow: hidden; }
.hero h1 { font-size: clamp(42px, 6vw, 76px); line-height: 1.04; letter-spacing: -.06em; margin: 16px 0; }
.hero h1 em { color: var(--mint); font-style: normal; }
.hero p:not(.eyebrow) { max-width: 470px; color: var(--muted); line-height: 1.8; font-size: 15px; margin-bottom: 28px; }
.eyebrow { font: 10px "DM Mono", monospace; color: var(--mint); letter-spacing: .15em; }
.button { border: 1px solid var(--line); background: transparent; color: var(--text); border-radius: 9px; padding: 12px 17px; cursor: pointer; font-weight: 700; font-size: 12px; transition: .2s ease; display: inline-flex; align-items: center; gap: 15px; justify-content: center; }
.button:hover { border-color: var(--mint); transform: translateY(-1px); }
.button.primary { color: #0b1715; background: var(--mint); border-color: var(--mint); }
.button.primary:hover { background: #9cf4d4; }
.button:disabled { opacity: .48; cursor: not-allowed; transform: none; }
.button.secondary { margin-top: 16px; }
.hero-art { height: 340px; position: relative; display: grid; place-items: center; }
.orbit { position: absolute; width: 260px; height: 260px; border: 1px solid #30454c; border-radius: 50%; transform: rotate(-32deg) scaleY(.48); box-shadow: 0 0 55px #6af0bc0b; }
.orbit-two { width: 340px; height: 340px; transform: rotate(35deg) scaleY(.43); border-color: #294454; }
.core { z-index: 1; width: 106px; height: 106px; border-radius: 30px; display: grid; place-items: center; color: var(--mint); font-size: 31px; font-weight: 800; letter-spacing: -.09em; background: linear-gradient(145deg, #192a2c, #10201f); border: 1px solid #467f70; box-shadow: 0 0 60px #67edbb22, inset 0 0 30px #74f0c014; }
.node { position: absolute; z-index: 2; width: 11px; height: 11px; border: 2px solid var(--mint); border-radius: 50%; background: var(--bg); box-shadow: 0 0 18px var(--mint); }
.n1 { top: 72px; left: 29%; }.n2 { bottom: 78px; right: 22%; }.n3 { top: 48%; right: 12%; border-color: var(--blue); box-shadow: 0 0 18px var(--blue); }
.catalog-wrap { padding: 64px 0 80px; }
.section-head, .cart-top { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.section-head h2, .cart-top h2 { margin: 8px 0 0; font-size: 30px; letter-spacing: -.04em; }
.section-head > p, .cart-top > span { color: var(--muted); font-size: 12px; }
.filters { margin: 27px 0; display: flex; flex-wrap: wrap; gap: 9px; }
.filters a { padding: 8px 13px; border: 1px solid var(--line); border-radius: 99px; color: var(--muted); font-size: 11px; }
.filters a.active, .filters a:hover { background: #15251f; color: var(--mint); border-color: #3f7967; }
.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.product-card { border: 1px solid var(--line); border-radius: 15px; overflow: hidden; background: linear-gradient(150deg, #141b22, #10151b); }
.product-image { aspect-ratio: 1.28; position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% 80%, #1d4241 0, #14252c 42%, #11171e 75%); }
.product-image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.product-card:hover .product-image img { transform: scale(1.035); }
.image-placeholder { width: 100%; height: 100%; display: grid; place-items: center; color: #8de9c5; font-size: 62px; font-weight: 800; letter-spacing: -.13em; text-shadow: 0 0 35px #66edb966; }
.image-placeholder span { position: absolute; font-size: 140px; opacity: .12; right: 15%; top: 13%; color: #8ff3c7; }
.product-tag { position: absolute; left: 14px; top: 14px; padding: 7px 10px; border: 1px solid #ffffff27; border-radius: 99px; background: #0a1112bf; color: var(--mint); font: 9px "DM Mono", monospace; }
.product-info { padding: 17px; }
.product-info h3 { margin: 0 0 9px; font-size: 17px; }
.product-info p { color: var(--muted); font-size: 12px; min-height: 34px; line-height: 1.7; }
.product-buy { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 15px; margin-top: 15px; }
.product-buy > strong { font-size: 20px; }.product-buy small { color: var(--mint); font-size: 12px; }
.add-button { border: 0; background: transparent; color: var(--mint); cursor: pointer; font-size: 11px; font-weight: 700; padding: 8px 0 8px 10px; }
.add-button span { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid #377b63; border-radius: 50%; margin-left: 7px; font-size: 15px; }
.empty-state { grid-column: 1/-1; text-align: center; padding: 60px 15px; border: 1px dashed var(--line); border-radius: 15px; color: var(--muted); }
.empty-icon { color: var(--mint); font-size: 30px; }.empty-state h3 { color: var(--text); }
.cart-panel { max-width: 790px; margin: 75px auto 0; padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: #10161c; }
.cart-panel .eyebrow { margin: 0; }.cart-top { align-items: center; }
.cart-items { padding: 0; list-style: none; display: grid; gap: 10px; }
.cart-items li { display: grid; grid-template-columns: 1fr 70px 100px auto; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
.cart-items input, .shipping-form input, .admin-shell input, .admin-shell textarea, .admin-shell select { background: #0c1217; border: 1px solid #2a3740; border-radius: 7px; color: var(--text); padding: 10px; min-width: 0; }
.remove-button { border: 0; color: #f4a1a1; background: transparent; cursor: pointer; font-size: 11px; }
.cart-empty { color: var(--muted); font-size: 12px; padding: 15px 0; }
.cart-totals { width: min(100%, 390px); margin: 20px 0 24px auto; display: grid; gap: 11px; }
.cart-totals > div { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); }.cart-totals strong { color: var(--text); }.cart-totals .grand-total { padding-top: 12px; border-top: 1px solid var(--line); color: var(--text); font-size: 14px; font-weight: 800; }.grand-total strong { color: var(--mint); font-size: 18px; }
.shipping-form { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; border-top: 1px solid var(--line); padding-top: 20px; }
.shipping-form h3 { grid-column: 1/-1; margin: 0 0 3px; font-size: 15px; }.shipping-form label, .admin-shell label { display: grid; gap: 7px; font-size: 11px; color: var(--muted); }.shipping-form input { width: 100%; }.shipping-form .wide { grid-column: 1/-1; }
#shop-status { min-height: 20px; color: var(--mint); font-size: 12px; margin: 13px 0 0; }
footer { min-height: 100px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; gap: 15px; color: var(--muted); font-size: 10px; }

.admin-page { background: #0b0e12; }.admin-shell { max-width: 1040px; padding: 30px 22px 70px; margin: auto; }
.admin-head { display: flex; justify-content: space-between; padding: 15px 0 28px; border-bottom: 1px solid var(--line); color: var(--mint); font-size: 12px; }
.admin-card { margin-top: 24px; padding: 23px; border: 1px solid var(--line); border-radius: 14px; background: var(--panel); }.admin-card h1,.admin-card h2 { margin-top: 7px; }.admin-card.narrow { max-width: 510px; margin: 70px auto; }
.admin-card > p:not(.eyebrow), .admin-order > p { color: var(--muted); font-size: 12px; line-height: 1.7; }
.admin-card form:not(.order-update) { display: grid; gap: 14px; margin-top: 18px; }.admin-card input, .admin-card textarea, .admin-card select { width: 100%; }
.notice { padding: 13px 16px; border: 1px solid #42614f; border-radius: 9px; background: #17241d; color: #a7edc3; font-size: 12px; }.notice.error { border-color: #704343; background: #29191b; color: #ffb2b2; }
.admin-title { display: flex; justify-content: space-between; align-items: center; margin-top: 25px; }.admin-title h1 { margin: 5px 0; }
.product-form { grid-template-columns: 1fr 1fr; }.product-form .wide { grid-column: 1/-1; }
.admin-products { display: grid; gap: 10px; }.admin-product { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; align-items: start; padding: 13px 0; border-top: 1px solid var(--line); font-size: 12px; }.admin-product img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; }.admin-product div { color: var(--muted); }.admin-product strong { display: block; color: var(--text); margin-bottom: 5px; }.admin-product p { margin-bottom: 0; line-height: 1.6; white-space: pre-line; }
.edit-image { max-width: 140px; max-height: 100px; object-fit: cover; border-radius: 8px; }.product-actions { display: flex; gap: 8px; align-items: start; }.product-actions form { margin: 0 !important; }
.button.danger { border-color: #633a3a; color: #ffadad; }.admin-order { padding: 16px 0; border-top: 1px solid var(--line); }.order-heading { display: flex; align-items: center; gap: 14px; font-size: 12px; }.order-heading strong:last-child { margin-left: auto; color: var(--mint); }.badge { background: #20372d; color: var(--mint); padding: 5px 8px; border-radius: 20px; font-size: 10px; }
.order-update { display: grid; grid-template-columns: 180px 1fr auto; align-items: end; gap: 12px; }.order-update label { display: grid; gap: 6px; }
@media (max-width: 780px) { .store-shell { padding: 0 5%; }.product-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }.hero { min-height: 360px; }.hero-art { transform: scale(.78); }.site-header nav { gap: 15px; }.session-chip { display: none; } }
@media (max-width: 560px) { .site-header { height: 72px; }.site-header nav { font-size: 11px; gap: 11px; }.brand { font-size: 10px; gap: 8px; }.brand-mark { width: 33px; height: 33px; }.hero { grid-template-columns: 1fr; padding: 55px 0 15px; }.hero-art { height: 205px; transform: scale(.68); margin-top: -15px; }.hero h1 { font-size: 48px; }.product-grid { grid-template-columns: 1fr; }.product-image { aspect-ratio: 1.4; }.section-head { align-items: start; flex-direction: column; gap: 3px; }.cart-panel { padding: 18px; }.cart-items li { grid-template-columns: 1fr 55px 72px; }.remove-button { grid-column: 3; justify-self: end; }.shipping-form { grid-template-columns: 1fr; }.shipping-form .wide { grid-column: auto; }footer { align-items: start; flex-direction: column; padding: 24px 0; }.product-form { grid-template-columns: 1fr; }.product-form .wide { grid-column: auto; }.admin-product { grid-template-columns: 58px 1fr; }.admin-product img { width: 58px; height: 58px; }.admin-product form { grid-column: 2; }.order-update { grid-template-columns: 1fr; } }
