:root {
  --bg: #0d0f10;
  --panel: #10251f;
  --panel-2: #15191c;
  --text: #f4f7f2;
  --muted: #a9b4ad;
  --green: #29ff7a;
  --lime: #d7ff37;
  --violet: #9b4dff;
  --pink: #ff3dd8;
  --line: rgba(244, 247, 242, 0.14);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 20% 12%, rgba(41, 255, 122, 0.18), transparent 28rem),
    radial-gradient(circle at 82% 4%, rgba(155, 77, 255, 0.18), transparent 24rem),
    var(--bg);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
  background: rgba(13, 15, 16, 0.86);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: max-content;
}

.brand-logo {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 0.35rem;
  object-fit: cover;
  background:
    radial-gradient(circle at 35% 20%, rgba(215, 255, 55, 0.26), transparent 55%),
    linear-gradient(135deg, rgba(41, 255, 122, 0.18), rgba(155, 77, 255, 0.16)),
    rgba(13, 15, 16, 0.35);
  box-shadow: 0 0 18px rgba(41, 255, 122, 0.2);
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.main-nav a,
.nav-toggle,
.cart-button,
.icon-button {
  border: 1px solid transparent;
  border-radius: 0.5rem;
  padding: 0.65rem 0.85rem;
  color: var(--muted);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.cart-button:hover,
.cart-button:focus-visible {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.cart-button span {
  display: inline-grid;
  min-width: 1.35rem;
  height: 1.35rem;
  place-items: center;
  border-radius: 999px;
  color: #071109;
  background: var(--lime);
  font-size: 0.75rem;
  font-weight: 900;
}

.nav-toggle {
  display: none;
}

.hero,
.section {
  width: min(1160px, calc(100% - 2rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
  gap: clamp(2rem, 5vw, 5rem);
  min-height: calc(100vh - 82px);
  align-items: center;
  padding: 4rem 0 3rem;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(2.75rem, 7vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero p {
  max-width: 620px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--lime);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-actions,
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.hero-slider {
  max-width: 660px;
  margin-top: 1.4rem;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}

.hero-slider-track {
  display: flex;
  width: max-content;
  gap: 0.75rem;
  animation: slideProducts 24s linear infinite;
}

.hero-slider:hover .hero-slider-track {
  animation-play-state: paused;
}

.hero-slide {
  display: grid;
  width: 210px;
  min-height: 104px;
  align-content: space-between;
  border: 1px solid rgba(244, 247, 242, 0.12);
  border-radius: 0.55rem;
  padding: 0.8rem;
  background:
    linear-gradient(135deg, rgba(41, 255, 122, 0.1), rgba(255, 61, 216, 0.08)),
    rgba(255, 255, 255, 0.045);
}

.hero-slide span {
  color: var(--lime);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.hero-slide strong {
  margin: 0.3rem 0;
}

.hero-slide small {
  color: var(--muted);
}

@keyframes slideProducts {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 0.375rem));
  }
}

.button {
  display: inline-flex;
  min-height: 2.9rem;
  align-items: center;
  justify-content: center;
  border-radius: 0.55rem;
  padding: 0.8rem 1.1rem;
  font-weight: 800;
}

.button.primary {
  color: #071109;
  background: linear-gradient(135deg, var(--green), var(--lime));
  box-shadow: 0 0 30px rgba(41, 255, 122, 0.22);
}

.button.ghost {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.05);
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 520px;
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  overflow: hidden;
  background:
    linear-gradient(140deg, rgba(16, 37, 31, 0.9), rgba(13, 15, 16, 0.92)),
    repeating-linear-gradient(90deg, transparent, transparent 28px, rgba(255, 255, 255, 0.04) 29px);
  box-shadow: var(--shadow);
}

.logo-blend {
  display: grid;
  width: min(78%, 420px);
  aspect-ratio: 1;
  place-items: center;
  border-radius: 1rem;
  background:
    radial-gradient(circle at 38% 28%, rgba(215, 255, 55, 0.2), transparent 36%),
    radial-gradient(circle at 72% 64%, rgba(255, 61, 216, 0.14), transparent 38%),
    linear-gradient(145deg, rgba(41, 255, 122, 0.12), rgba(13, 15, 16, 0.18));
  box-shadow: 0 0 70px rgba(41, 255, 122, 0.2);
}

.hero-logo {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 1rem;
  object-fit: cover;
  filter: saturate(1.08) contrast(1.04);
  mix-blend-mode: screen;
  opacity: 0.94;
}

.hero-card {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  width: min(290px, calc(100% - 2.4rem));
  padding: 1rem;
  border: 1px solid rgba(215, 255, 55, 0.4);
  border-radius: 0.65rem;
  background: rgba(13, 15, 16, 0.78);
  backdrop-filter: blur(14px);
}

.hero-card small,
.hero-card strong,
.hero-card span {
  display: block;
}

.hero-card small {
  color: var(--muted);
}

.hero-card strong {
  margin: 0.25rem 0 0.6rem;
  font-size: 1.35rem;
}

.hero-card span {
  color: var(--green);
  font-size: 1.7rem;
  font-weight: 900;
}

.section {
  padding: 4rem 0;
}

.section-heading {
  margin-bottom: 1.4rem;
}

.section-heading.row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.category-grid,
.product-grid,
.combo-grid {
  display: grid;
  gap: 1rem;
}

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

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

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

.category-card,
.product-card,
.combo-card {
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: rgba(255, 255, 255, 0.045);
}

.category-card {
  padding: 1rem;
  min-height: 8rem;
}

.category-card strong {
  display: block;
  margin-bottom: 0.55rem;
}

.category-card span,
.product-card p,
.combo-card p {
  color: var(--muted);
  line-height: 1.55;
}

.product-card {
  display: flex;
  min-height: 22rem;
  flex-direction: column;
  overflow: hidden;
}

.product-art {
  display: grid;
  min-height: 11rem;
  place-items: center;
  background:
    radial-gradient(circle, rgba(41, 255, 122, 0.22), transparent 60%),
    linear-gradient(135deg, rgba(155, 77, 255, 0.18), rgba(16, 37, 31, 0.6));
  color: var(--lime);
  font-size: 3rem;
  font-weight: 900;
}

.product-image {
  width: 100%;
  min-height: 11rem;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.05);
}

.product-body,
.combo-card {
  padding: 1rem;
}

.product-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  margin-top: auto;
}

.stock-line {
  display: block;
  margin: 0.6rem 0 0.9rem;
  color: var(--lime);
  font-weight: 800;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: auto;
}

.price {
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 900;
}

.badge {
  display: inline-flex;
  border: 1px solid rgba(255, 61, 216, 0.35);
  border-radius: 999px;
  padding: 0.3rem 0.55rem;
  color: var(--pink);
  font-size: 0.75rem;
  font-weight: 800;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.filter-button {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.04);
  font: inherit;
  cursor: pointer;
}

.filter-button.is-active {
  border-color: rgba(41, 255, 122, 0.55);
  color: #071109;
  background: var(--green);
}

.split-section,
.contact-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  border-top: 1px solid var(--line);
}

.split-section p,
.contact-section p {
  color: var(--muted);
  line-height: 1.7;
}

.stage-list,
.smoke-tags {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
}

.stage-list span,
.smoke-tags span {
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.04);
  font-weight: 800;
}

.smoke-panel .smoke-tags span:nth-child(odd) {
  color: var(--pink);
}

.combo-card {
  border-color: rgba(215, 255, 55, 0.28);
}

.combo-card ul {
  margin: 0.8rem 0 1rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1rem, 4vw, 3rem);
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer a {
  color: var(--lime);
  font-weight: 800;
}

.cart-panel {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: none;
  justify-content: end;
  background: rgba(0, 0, 0, 0.58);
}

.cart-panel.is-open {
  display: flex;
}

.cart-dialog {
  width: min(460px, 100%);
  height: 100%;
  overflow: auto;
  border-left: 1px solid var(--line);
  padding: 1rem;
  background: #101214;
  box-shadow: var(--shadow);
}

.cart-head,
.cart-line,
.cart-total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.icon-button {
  min-width: 2.4rem;
  min-height: 2.4rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.cart-items {
  display: grid;
  gap: 0.8rem;
  margin: 1rem 0;
}

.cart-line {
  border: 1px solid var(--line);
  border-radius: 0.6rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.04);
}

.cart-line strong,
.cart-line span {
  display: block;
}

.cart-line span {
  color: var(--muted);
}

.quantity-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.quantity-controls button {
  width: 2rem;
  height: 2rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.cart-total {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 1rem 0;
  padding: 1rem 0;
}

.checkout-form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-weight: 700;
}

.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  padding: 0.75rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.28);
  font: inherit;
}

.checkout-form textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.checkout-message {
  min-height: 1.4rem;
  color: var(--lime);
  line-height: 1.5;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    right: 1rem;
    display: none;
    width: min(280px, calc(100vw - 2rem));
    flex-direction: column;
    align-items: stretch;
    border: 1px solid var(--line);
    border-radius: 0.7rem;
    padding: 0.5rem;
    background: #101214;
  }

  .main-nav.is-open {
    display: flex;
  }

  .hero,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    min-height: 380px;
  }

  .hero-slider {
    max-width: calc(100vw - 2rem);
  }

  .category-grid,
  .product-grid,
  .combo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-heading.row {
    align-items: start;
    flex-direction: column;
  }

  .filters {
    justify-content: flex-start;
  }
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(41, 255, 122, 0.35);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 800;
}

.live-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
  animation: pulseLive 1.8s ease-in-out infinite;
}

@keyframes pulseLive {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.45;
  }
}

.product-card {
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
  transform: translateY(-3px);
  border-color: rgba(41, 255, 122, 0.35);
}

.admin-shell {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0 4rem;
}

.admin-card,
.login-card {
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  padding: 1.2rem;
  background: rgba(255, 255, 255, 0.045);
}

.login-card {
  max-width: 520px;
  margin: 3rem auto 0;
}

.admin-top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.stat-card {
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  padding: 0.9rem 1rem;
  background: rgba(255, 255, 255, 0.04);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
}

.stat-card strong {
  font-size: 1.6rem;
}

.admin-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-bottom: 1rem;
}

.admin-toolbar input,
.admin-toolbar select,
.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  padding: 0.75rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.28);
  font: inherit;
}

.admin-toolbar input {
  flex: 1 1 220px;
}

.admin-toolbar select {
  min-width: 180px;
}

.product-table-wrap {
  overflow: auto;
}

.product-table {
  width: 100%;
  border-collapse: collapse;
}

.product-table th,
.product-table td {
  padding: 0.75rem 0.55rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.product-table th {
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.product-table small {
  display: block;
  color: var(--muted);
}

.stock-editor {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.stock-editor button {
  width: 1.8rem;
  height: 1.8rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.status-pill {
  display: inline-flex;
  margin-right: 0.35rem;
  border-radius: 999px;
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
}

.status-pill.is-on {
  color: #071109;
  background: var(--green);
}

.status-pill.is-off {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.08);
}

.status-pill.is-featured {
  color: var(--pink);
  border: 1px solid rgba(255, 61, 216, 0.35);
  background: transparent;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.button.danger {
  color: #ffd0d0;
  border-color: rgba(255, 80, 80, 0.35);
}

.admin-form label {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.8rem;
  color: var(--muted);
  font-weight: 700;
}

.admin-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.admin-form-grid .full {
  grid-column: 1 / -1;
}

.admin-form-grid .checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.admin-form-grid .checkbox input {
  width: auto;
}

.admin-dialog {
  width: min(720px, calc(100% - 2rem));
  border: 1px solid var(--line);
  border-radius: 0.8rem;
  padding: 0;
  color: var(--text);
  background: #101214;
}

.admin-dialog::backdrop {
  background: rgba(0, 0, 0, 0.65);
}

.dialog-head,
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-dialog form {
  padding: 1rem;
}

.form-message,
.help {
  color: var(--muted);
  line-height: 1.6;
}

.form-message {
  min-height: 1.2rem;
  color: var(--lime);
}

@media (max-width: 860px) {
  .admin-top,
  .admin-stats {
    grid-template-columns: 1fr 1fr;
  }

  .admin-top {
    flex-direction: column;
    align-items: start;
  }

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

@media (max-width: 560px) {
  .category-grid,
  .product-grid,
  .combo-grid,
  .stage-list,
  .smoke-tags {
    grid-template-columns: 1fr;
  }

  .site-footer {
    flex-direction: column;
  }

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