﻿:root {
  color-scheme: light;
  --bg: #0b0f14;
  --bg-2: #0f141b;
  --card: #121822;
  --ink: #e9eef5;
  --muted: #a9b3c4;
  --accent: #f0b429;
  --accent-2: #3cc4ff;
  --line: rgba(255, 255, 255, 0.08);
  --glow: rgba(60, 196, 255, 0.25);
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Space Grotesk", system-ui, -apple-system, sans-serif;
  background: radial-gradient(1000px 600px at 20% -10%, rgba(60, 196, 255, 0.12), transparent),
    radial-gradient(800px 500px at 80% 0%, rgba(240, 180, 41, 0.18), transparent),
    var(--bg);
  color: var(--ink);
  line-height: 1.5;
}

body.admin-auth-pending {
  overflow: hidden;
}

body.admin-auth-pending .page {
  visibility: hidden;
}

.admin-auth-gate {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 24px;
  background:
    radial-gradient(700px 420px at 25% 0%, rgba(60, 196, 255, 0.16), transparent 62%),
    radial-gradient(620px 360px at 100% 10%, rgba(240, 180, 41, 0.16), transparent 58%),
    rgba(8, 12, 18, 0.96);
}

.admin-auth-panel {
  width: min(100%, 440px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 24, 34, 0.98), rgba(12, 17, 25, 0.92));
  box-shadow: var(--shadow);
  padding: 28px;
  display: grid;
  gap: 16px;
  text-align: left;
}

.admin-auth-panel h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1;
}

.admin-auth-panel p {
  color: var(--muted);
}

.admin-auth-status {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
}

.admin-auth-gate .cta {
  width: 100%;
  justify-content: center;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(14px);
  background: rgba(11, 15, 20, 0.75);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 600;
  letter-spacing: 0.4px;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: #fff;
  padding: 6px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 0.95rem;
  color: var(--muted);
}

.nav-datetime {
  display: grid;
  justify-items: center;
  gap: 2px;
  color: var(--muted);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.84rem;
  letter-spacing: 0.2px;
}

.nav-datetime #navTime {
  color: var(--accent-2);
  font-size: 0.95rem;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.admin-panel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 72, 72, 0.45);
  background: rgba(94, 10, 10, 0.28);
  color: #ff7575;
  font-weight: 700;
  letter-spacing: 0.03em;
  box-shadow: 0 0 18px rgba(255, 72, 72, 0.12);
}

.admin-panel-link:hover {
  background: rgba(120, 12, 12, 0.34);
  border-color: rgba(255, 96, 96, 0.65);
}

.user-menu {
  position: relative;
}

.user-trigger {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.user-trigger img {
  width: 22px;
  height: 22px;
  object-fit: cover;
  border-radius: 999px;
}

.user-content {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(300px, 88vw);
  background: rgba(18, 24, 34, 0.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  padding: 12px;
  display: grid;
  gap: 10px;
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top right;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 30;
}

.user-menu.is-open .user-content {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.user-item {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: var(--ink);
  padding: 10px 12px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  font: inherit;
  font-size: 0.92rem;
}

.user-item img {
  width: 16px;
  height: 16px;
}

.user-item:hover {
  background: rgba(60, 196, 255, 0.12);
}

.auth-email-form {
  display: grid;
  gap: 8px;
}

.auth-email-form input {
  margin-bottom: 0;
}

.auth-email-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.auth-user,
.auth-guest {
  display: grid;
  gap: 8px;
}

.user-email {
  color: var(--muted);
  font-size: 0.85rem;
  overflow-wrap: anywhere;
}

.signup-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  background: rgba(4, 8, 14, 0.72);
  display: grid;
  place-items: center;
  padding: 16px;
}

.signup-panel {
  width: min(520px, 100%);
  background: rgba(18, 24, 34, 0.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
}

.signup-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.signup-head h3 {
  font-size: 1.15rem;
}

.signup-close {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 1.25rem;
  cursor: pointer;
}

.captcha-wrap {
  margin: 8px 0 12px;
  overflow-x: auto;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: linear-gradient(120deg, var(--accent), #f7d06a);
  color: #1a1a1a;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(240, 180, 41, 0.3);
  transition: transform 0.2s ease;
  border: 0;
  cursor: pointer;
}

.cta:hover {
  transform: translateY(-2px);
}

.ghost {
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--ink);
  background: rgba(255, 255, 255, 0.04);
}

.hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  align-items: center;
}

.hero h1 {
  font-size: clamp(2.4rem, 4vw, 4rem);
  line-height: 1.05;
  margin-bottom: 20px;
}

.hero p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: flex-start;
}

.menu-dropdown {
  position: relative;
}

.menu-trigger {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.arrow-down {
  font-size: 0.75rem;
  color: var(--accent-2);
  transition: transform 0.25s ease;
}

.menu-dropdown.is-open .arrow-down {
  transform: rotate(180deg);
}

.menu-content {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 260px;
  background: rgba(18, 24, 34, 0.97);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: grid;
  overflow: hidden;
  z-index: 20;
  opacity: 0;
  transform: translateY(-6px) scale(0.98);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.22s ease;
}

.menu-dropdown.is-open .menu-content {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.menu-content a {
  padding: 12px 14px;
  font-size: 0.92rem;
  color: var(--ink);
  border-bottom: 1px solid var(--line);
}

.menu-content a:last-child {
  border-bottom: 0;
}

.menu-content a:hover {
  background: rgba(60, 196, 255, 0.12);
}

.home-page .cta,
.home-page .ghost {
  position: relative;
  overflow: hidden;
}

.home-page .hero-actions > .cta,
.home-page .hero-actions > .menu-dropdown {
  flex: 1 1 250px;
}

.home-page .menu-trigger {
  width: 100%;
  justify-content: center;
  min-height: 46px;
}

.home-page .cta::after,
.home-page .ghost::after {
  content: "";
  position: absolute;
  top: -140%;
  left: -30%;
  width: 40%;
  height: 380%;
  transform: rotate(24deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
  opacity: 0;
}

.home-page .cta:hover::after,
.home-page .ghost:hover::after {
  animation: btnSweep 0.7s ease;
}

.home-page .offer-card {
  border-color: rgba(60, 196, 255, 0.45);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.45), 0 0 18px rgba(60, 196, 255, 0.2);
}

.home-page .offer-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1.5px;
  background: linear-gradient(90deg, rgba(60, 196, 255, 0.1), rgba(60, 196, 255, 0.95), rgba(60, 196, 255, 0.1));
  background-size: 260% 100%;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: borderFlow 3.2s linear infinite, borderPulse 2.2s ease-in-out infinite;
  pointer-events: none;
}

.home-page .offer-card::after {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: #84e5ff;
  box-shadow: 0 0 16px rgba(132, 229, 255, 0.95), 0 0 30px rgba(132, 229, 255, 0.6);
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  animation: electronRun 5.8s linear infinite;
  pointer-events: none;
}

.home-page .offer-list li {
  display: grid;
  gap: 0.32rem;
}

.home-page .offer-line {
  display: block;
  width: 100%;
  white-space: nowrap;
}

.home-page .offer-char {
  opacity: 0;
  display: inline-block;
  animation: charReveal 0.02s linear forwards;
  animation-delay: calc(var(--line-delay, 0s) + (var(--char-index, 0) * 0.032s));
}

.home-page .offer-list li:nth-child(1) .offer-line:nth-child(1) {
  --line-delay: 0.45s;
}

.home-page .offer-list li:nth-child(1) .offer-line:nth-child(2) {
  --line-delay: 1.35s;
}

.home-page .offer-list li:nth-child(2) .offer-line:nth-child(1) {
  --line-delay: 2.45s;
}

.home-page .offer-list li:nth-child(2) .offer-line:nth-child(2) {
  --line-delay: 3.35s;
}

.home-page .offer-list li:nth-child(2) .offer-line:nth-child(3) {
  --line-delay: 4.3s;
}

.home-page .offer-list li:nth-child(3) .offer-line:nth-child(1) {
  --line-delay: 5.25s;
}

.home-page .offer-list li:nth-child(3) .offer-line:nth-child(2) {
  --line-delay: 6.3s;
}

.home-page .offer-list li:nth-child(3) .offer-line:nth-child(3) {
  --line-delay: 7.2s;
}

.home-page .offer-list li:nth-child(4) .offer-line:nth-child(1) {
  --line-delay: 7.85s;
}

.home-page .offer-list li:nth-child(4) .offer-line:nth-child(2) {
  --line-delay: 8.95s;
}

@keyframes btnSweep {
  0% {
    opacity: 0;
    left: -30%;
  }
  20% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    left: 125%;
  }
}

@keyframes borderFlow {
  to {
    background-position: 260% 0;
  }
}

@keyframes borderPulse {
  0%,
  100% {
    opacity: 0.55;
    filter: drop-shadow(0 0 2px rgba(60, 196, 255, 0.7));
  }
  50% {
    opacity: 1;
    filter: drop-shadow(0 0 8px rgba(60, 196, 255, 1));
  }
}

@keyframes electronRun {
  0% {
    top: 0;
    left: 0;
  }
  25% {
    top: 0;
    left: 100%;
  }
  50% {
    top: 100%;
    left: 100%;
  }
  75% {
    top: 100%;
    left: 0;
  }
  100% {
    top: 0;
    left: 0;
  }
}

@keyframes charReveal {
  to {
    opacity: 1;
  }
}

.hero-card {
  background: linear-gradient(150deg, rgba(18, 24, 34, 0.9), rgba(15, 20, 27, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 28px;
  padding: 32px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.hero-card::after {
  content: "";
  position: absolute;
  inset: auto -30% -40% auto;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, var(--glow), transparent 70%);
}

.hero-card h3 {
  font-size: 1.1rem;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--accent-2);
}

.hero-card ul {
  list-style: none;
  display: grid;
  gap: 14px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
}

.section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.section-title h2 {
  font-size: clamp(1.6rem, 2.8vw, 2.4rem);
}

.section-title p {
  color: var(--muted);
  max-width: 620px;
}

.grid {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(60, 196, 255, 0.4);
}

.card .mini-cta {
  margin-top: auto;
}

.tag {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.8rem;
  letter-spacing: 1px;
  color: var(--accent-2);
}

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.action-card {
  border-radius: 24px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(240, 180, 41, 0.16), rgba(18, 24, 34, 0.8));
  border: 1px solid rgba(240, 180, 41, 0.35);
}

.action-card.alt {
  border-color: rgba(60, 196, 255, 0.45);
  background: linear-gradient(135deg, rgba(60, 196, 255, 0.14), rgba(18, 24, 34, 0.9));
}

.action-card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.action-card p {
  color: var(--muted);
  margin-bottom: 16px;
}

.action-card .cta {
  background: linear-gradient(120deg, var(--accent-2), #7bdcff);
  color: #081018;
  box-shadow: 0 12px 30px rgba(60, 196, 255, 0.3);
}

.mini-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(60, 196, 255, 0.32);
  background: rgba(60, 196, 255, 0.08);
  color: var(--accent-2);
  font-size: 0.82rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
}

.mini-cta:hover {
  background: rgba(60, 196, 255, 0.16);
  border-color: rgba(60, 196, 255, 0.5);
  transform: translateY(-1px);
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.stat {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}

.stat strong {
  font-size: 1.5rem;
  display: block;
}

.page-hero {
  max-width: 1200px;
  margin: 0 auto;
  padding: 56px 24px 24px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 12px;
}

.page-hero p {
  color: var(--muted);
  max-width: 760px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.product-card {
  background: linear-gradient(165deg, rgba(18, 24, 34, 0.95), rgba(18, 24, 34, 0.7));
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  display: grid;
  gap: 12px;
}

.product-card h3 {
  font-size: 1.1rem;
}

.product-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.price {
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent);
  font-size: 1.05rem;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.badge {
  font-size: 0.78rem;
  border: 1px solid var(--line);
  color: var(--accent-2);
  border-radius: 999px;
  padding: 4px 10px;
}

.catalog-shell {
  display: grid;
  gap: 24px;
}

.catalog-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.catalog-copy {
  display: grid;
  gap: 10px;
  max-width: 720px;
}

.catalog-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
}

.catalog-copy p {
  color: var(--muted);
}

.catalog-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.catalog-pill {
  appearance: none;
  cursor: pointer;
  font: inherit;
  border-radius: 999px;
  border: 1px solid var(--line);
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.86rem;
  background: rgba(255, 255, 255, 0.03);
}

.catalog-pill.is-active {
  color: #081018;
  background: linear-gradient(120deg, var(--accent-2), #7bdcff);
  border-color: transparent;
  font-weight: 700;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.shop-card {
  min-height: 100%;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(18, 24, 34, 0.98), rgba(12, 17, 25, 0.92));
  box-shadow: var(--shadow);
  overflow: hidden;
  display: grid;
}

.shop-media {
  min-height: 270px;
  padding: 20px;
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
}

.shop-media::before {
  content: "";
  position: absolute;
  inset: -15% 18% auto auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), transparent 72%);
}

.tone-lime {
  background: linear-gradient(180deg, #eff9e0, #c8ea87);
}

.tone-paper {
  background: linear-gradient(180deg, #f4f5f7, #dddddf);
}

.tone-rose {
  background: linear-gradient(180deg, #f8ecef, #f0d9de);
}

.tone-tracker {
  background: linear-gradient(180deg, rgba(8, 18, 28, 0.95), rgba(11, 28, 44, 0.88));
}

.shop-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
}

.shop-badge.hot {
  background: linear-gradient(120deg, #ff9a38, #ff6f3c);
  color: #fff;
}

.device {
  position: absolute;
  left: 24px;
  bottom: 20px;
  width: 96px;
  height: 164px;
  border-radius: 22px;
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  z-index: 2;
  box-shadow: 0 20px 35px rgba(0, 0, 0, 0.22);
}

.shop-image {
  position: relative;
  z-index: 2;
  width: min(100%, 220px);
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(0, 0, 0, 0.28));
}

.shop-image-placeholder {
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(12, 19, 30, 0.92), rgba(22, 34, 51, 0.9));
  border: 1px solid rgba(60, 196, 255, 0.18);
  color: var(--accent-2);
  font-size: 2.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.device::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.device-black,
.device-carbon {
  background: linear-gradient(180deg, #1a1d22, #06080b);
  color: #e6eef5;
}

.device-sand {
  background: linear-gradient(180deg, #e1bfaf, #d5ab96);
  color: #274658;
}

.device.slim {
  width: 90px;
  height: 176px;
}

.device-screen,
.device-power {
  position: relative;
  z-index: 1;
  font-family: "IBM Plex Mono", monospace;
}

.device-screen {
  font-size: 0.66rem;
  letter-spacing: 0.08em;
}

.device-power {
  font-size: 1rem;
  align-self: center;
}

.pack-shot {
  position: absolute;
  right: 20px;
  bottom: 18px;
  width: 122px;
  height: 198px;
  border-radius: 14px;
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.16);
}

.pack-shot::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  width: 46px;
  height: 18px;
  border-radius: 999px 999px 10px 10px;
  transform: translateX(-50%);
  background: inherit;
  filter: brightness(0.9);
}

.pack-lime {
  background: linear-gradient(180deg, #a9db2c, #76b414);
}

.pack-energizer {
  background: linear-gradient(180deg, #ffffff 0 35%, #125db3 35% 70%, #ffffff 70%);
}

.pack-rose {
  background: linear-gradient(180deg, #7be13c, #8ee22b);
}

.pack-wireless {
  background: linear-gradient(180deg, #ffffff 0 35%, #1659a8 35% 68%, #ffffff 68%);
}

.tracker {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 36px;
  background: linear-gradient(180deg, rgba(24, 39, 55, 0.96), rgba(8, 14, 22, 0.94));
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35), 0 0 24px rgba(60, 196, 255, 0.12);
}

.tracker-dog::before {
  content: "";
  position: absolute;
  inset: 22px;
  border-radius: 28px;
  border: 1px solid rgba(60, 196, 255, 0.24);
}

.tracker-tag {
  width: 158px;
  height: 112px;
  border-radius: 28px;
}

.tracker-tag::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.08);
}

.tracker-led {
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 999px;
  right: 18px;
  bottom: 18px;
  background: #84e5ff;
  box-shadow: 0 0 18px rgba(132, 229, 255, 0.95);
}

.shop-info {
  padding: 18px 18px 20px;
  display: grid;
  gap: 10px;
}

.shop-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.shop-brand {
  color: var(--muted);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.shop-category {
  border-radius: 999px;
  padding: 5px 10px;
  border: 1px solid rgba(60, 196, 255, 0.24);
  background: rgba(60, 196, 255, 0.08);
  color: var(--accent-2);
  font-size: 0.76rem;
  font-weight: 700;
}

.shop-info h3 {
  font-size: 1.15rem;
  line-height: 1.25;
}

.shop-copy {
  color: var(--muted);
  font-size: 0.92rem;
}

.shop-meta,
.shop-shipping {
  color: var(--muted);
  font-size: 0.95rem;
}

.shop-price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 0.95rem;
}

.shop-price-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.shop-price {
  font-size: 2rem;
  line-height: 1;
  font-weight: 700;
}

.shop-offer {
  border-radius: 999px;
  padding: 4px 8px;
  background: rgba(60, 196, 255, 0.12);
  color: var(--accent-2);
  font-size: 0.8rem;
  font-weight: 700;
}

.shop-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumb a:hover {
  color: var(--accent-2);
}

.product-shell {
  display: grid;
  gap: 20px;
}

.product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr) 320px;
  gap: 20px;
  align-items: start;
}

.product-gallery-panel,
.product-summary-panel,
.product-buy-card,
.detail-card {
  background: linear-gradient(180deg, rgba(18, 24, 34, 0.98), rgba(12, 17, 25, 0.92));
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.product-gallery-panel,
.product-summary-panel,
.product-buy-card {
  padding: 24px;
}

.product-gallery-panel {
  display: grid;
  gap: 16px;
}

.product-main-media {
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  border: 1px solid rgba(60, 196, 255, 0.16);
  background: radial-gradient(circle at 15% 10%, rgba(60, 196, 255, 0.18), transparent 32%),
    linear-gradient(180deg, rgba(16, 24, 36, 0.96), rgba(12, 18, 28, 0.9));
  display: grid;
  place-items: center;
  overflow: hidden;
}

.product-main-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 28px;
}

.product-placeholder {
  width: min(100%, 280px);
  height: min(100%, 280px);
}

.product-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(76px, 1fr));
  gap: 10px;
}

.product-thumb {
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  overflow: hidden;
  cursor: pointer;
  padding: 8px;
}

.product-thumb.is-active {
  border-color: rgba(60, 196, 255, 0.55);
  box-shadow: 0 0 0 1px rgba(60, 196, 255, 0.24);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-summary-panel {
  display: grid;
  gap: 16px;
}

.product-kicker {
  color: var(--accent-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 700;
}

.product-title {
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 0.98;
}

.product-summary-meta,
.product-short {
  color: var(--muted);
}

.product-price-block {
  display: grid;
  gap: 8px;
}

.product-price-old {
  color: var(--muted);
  text-decoration: line-through;
  font-size: 1rem;
}

.product-price-main {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
}

.product-price-current {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.95;
}

.product-chip-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.product-chip {
  border-radius: 999px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  font-size: 0.84rem;
}

.product-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

.product-actions-row .cta,
.product-actions-row .mini-cta {
  min-height: 48px;
}

.product-buy-card {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 16px;
}

.product-buy-list {
  display: grid;
  gap: 12px;
}

.product-buy-item {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px;
  display: grid;
  gap: 6px;
}

.product-buy-item strong {
  font-size: 0.9rem;
}

.product-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 0.8fr);
  gap: 20px;
}

.product-detail-main,
.product-detail-side {
  display: grid;
  gap: 20px;
}

.detail-card {
  padding: 24px;
}

.detail-card h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.detail-copy {
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.spec-list {
  display: grid;
  gap: 10px;
}

.spec-row {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 14px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  padding: 14px 16px;
}

.spec-row strong {
  color: var(--ink);
}

.spec-row span {
  color: var(--muted);
}

.payment-list {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-chip {
  border-radius: 999px;
  padding: 8px 12px;
  border: 1px solid rgba(60, 196, 255, 0.26);
  background: rgba(60, 196, 255, 0.08);
  color: var(--accent-2);
  font-size: 0.84rem;
  font-weight: 700;
}

.shipping-list {
  display: grid;
  gap: 10px;
}

.shipping-item {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  padding: 14px 16px;
}

.related-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.related-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.admin-products-layout {
  display: grid;
  grid-template-columns: minmax(420px, 1fr) minmax(340px, 0.9fr);
  gap: 20px;
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--ink);
}

.checkbox-row input {
  width: auto;
  margin: 0;
}

.product-form-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.product-form-actions .user-item {
  width: auto;
}

.product-admin-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.product-admin-actions .user-item {
  width: auto;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.form-panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 24px;
}

.form-panel h2 {
  margin-bottom: 10px;
}

.form-panel p {
  color: var(--muted);
  margin-bottom: 20px;
}

.market-shell {
  display: grid;
  gap: 20px;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.market-card {
  background: linear-gradient(165deg, rgba(18, 24, 34, 0.95), rgba(18, 24, 34, 0.7));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 10px;
}

.market-card h3 {
  font-size: 1.1rem;
}

.market-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.filter-bar {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.select-wrap label {
  margin-bottom: 6px;
}

.select-wrap select {
  margin-bottom: 0;
}

.results-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.results-head p {
  color: var(--muted);
}

.items-list {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.item-row {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) minmax(100px, 1fr) minmax(120px, 1fr) minmax(80px, 0.8fr) minmax(120px, 1fr);
  gap: 12px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line);
  align-items: center;
  background: rgba(18, 24, 34, 0.65);
}

.item-row:last-child {
  border-bottom: 0;
}

.item-row.header {
  background: rgba(60, 196, 255, 0.08);
  font-size: 0.86rem;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  color: var(--muted);
}

.item-code {
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent-2);
  font-size: 0.9rem;
}

.item-price {
  font-family: "IBM Plex Mono", monospace;
  color: var(--accent);
}

.hidden {
  display: none;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: 16px;
  padding: 20px;
  color: var(--muted);
  text-align: center;
}

.items-vertical {
  display: grid;
  gap: 12px;
}

.item-entry {
  background: linear-gradient(165deg, rgba(18, 24, 34, 0.95), rgba(18, 24, 34, 0.7));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  display: grid;
  gap: 12px;
}

.item-main {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 16px;
}

.item-title {
  display: grid;
  gap: 4px;
}

.item-title strong {
  font-size: 1.02rem;
}

.item-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.meta-chip {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 10px;
  font-size: 0.82rem;
  color: var(--muted);
}

.item-stock {
  color: var(--accent-2);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
}

.account-shell {
  display: grid;
  gap: 14px;
}

.account-status {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px 14px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
}

.ticket-list {
  display: grid;
  gap: 12px;
}

.ticket-card {
  background: linear-gradient(165deg, rgba(18, 24, 34, 0.95), rgba(18, 24, 34, 0.72));
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
  display: grid;
  gap: 6px;
}

.ticket-card strong {
  font-size: 1rem;
}

.ticket-meta {
  color: var(--muted);
  font-size: 0.9rem;
}

.admin-controls {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  align-items: center;
}

.admin-controls input,
.admin-controls select {
  margin-bottom: 0;
}

.admin-controls .user-item {
  width: auto;
}

.status-chip {
  justify-self: start;
  border-radius: 999px;
  border: 1px solid rgba(60, 196, 255, 0.45);
  color: var(--accent-2);
  padding: 4px 10px;
  font-size: 0.8rem;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 7px;
  color: var(--muted);
}

input,
textarea,
select {
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--ink);
  padding: 12px 14px;
  margin-bottom: 14px;
  font: inherit;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 32px 24px 48px;
  color: var(--muted);
  background: var(--bg-2);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease forwards;
}

.reveal:nth-child(2) {
  animation-delay: 0.1s;
}

.reveal:nth-child(3) {
  animation-delay: 0.2s;
}

@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1080px) {
  .product-layout {
    grid-template-columns: 1fr 1fr;
  }

  .product-buy-card {
    grid-column: 1 / -1;
    position: static;
  }

  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .nav-inner {
    flex-wrap: wrap;
  }

  .nav-links {
    display: none;
  }

  .nav-datetime {
    order: 3;
    width: 100%;
    display: none;
  }

  .nav-datetime {
    font-size: 0.75rem;
  }

  .nav-datetime #navTime {
    font-size: 0.84rem;
  }

  .nav-actions {
    width: auto;
    justify-content: flex-end;
    flex-wrap: wrap;
  }

  .nav-actions .cta {
    flex: 1 1 0;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .user-content {
    right: -6px;
  }

  .admin-panel-link {
    order: -1;
    width: 100%;
  }

  .hero {
    padding-top: 50px;
  }

  .home-page .offer-line {
    white-space: normal;
  }

  .catalog-head {
    align-items: flex-start;
  }

  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .admin-products-layout {
    grid-template-columns: 1fr;
  }

  .product-layout,
  .product-detail-grid,
  .related-grid,
  .spec-row {
    grid-template-columns: 1fr;
  }

  .product-buy-card {
    position: static;
  }

  .product-gallery-panel,
  .product-summary-panel,
  .product-buy-card,
  .detail-card {
    padding: 18px;
  }

  .product-actions-row .cta,
  .product-actions-row .mini-cta {
    width: 100%;
    justify-content: center;
  }

  .shop-media {
    min-height: 250px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-page .hero-actions > .cta,
  .home-page .hero-actions > .menu-dropdown {
    flex: 0 0 auto;
    width: 100%;
  }

  .item-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .item-row.header {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .offer-card::before,
  .home-page .offer-card::after,
  .home-page .offer-char,
  .home-page .cta:hover::after,
  .home-page .ghost:hover::after {
    animation: none;
  }

  .home-page .offer-char,
  .home-page .offer-card::after {
    opacity: 1;
    display: inline;
  }
}
