﻿:root {
  --bg: rgb(21 21 28);
  --bg-rgb: 21 21 28;
  --bs-dark-rgb: 21, 21, 28;
  --bs-body-bg: rgb(21 21 28);
  --bs-body-bg-rgb: 21, 21, 28;
  --panel: #0f1830;
  --card: #0b1224;
  --border: #1c2944;
  --primary: #7cf4d5;
  --primary-ghost: rgba(124, 244, 213, 0.12);
  --accent: #ffb76b;
  --muted: #9fb1d1;
  --text: #e8edf7;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  color-scheme: dark;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

.global-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
  position: relative;
}
.nav-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #161d29;
  border: 1px solid #1f2939;
  border-radius: 10px;
  padding: 5px 8px;
  color: var(--muted);
  flex: 0 0 220px;
}
.nav-search input {
  background: transparent;
  border: none;
  color: var(--text);
  width: 100%;
  font-size: 13px;
}
.nav-search input:focus { outline: none; }
.nav-search svg { width: 18px; height: 18px; stroke: #7da1ff; }
.brand-nav {
  flex: 0 0 auto;
  font-weight: 800;
  font-size: 18px;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
}
.nav-links {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0 auto;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.nav-links a {
  color: #dfe7ff;
  text-decoration: none;
  padding: 8px 4px;
  white-space: nowrap;
}
.nav-links a.active { color: #7cf4d5; border-bottom: 2px solid #7cf4d5; }
.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid #1f2939;
  background: #0f1522;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}
.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #dfe7ff;
  display: block;
}
.nav-icons {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  align-items: center;
  flex: 0 0 auto;
}
.nav-search-btn {
  background: none;
  border: none;
  padding: 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #dfe7ff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  cursor: pointer;
}
@media (max-width: 1100px) {
  .nav-inner { flex-wrap: wrap; }
  .nav-search { flex: 1 1 220px; order: 1; }
  .brand-nav { order: 2; margin: 0 auto; }
  .nav-toggle { order: 3; }
  .nav-links {
    order: 4;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 6px;
    flex: 1 1 100%;
    margin: 0;
  }
  .nav-icons { order: 5; width: auto; margin-left: auto; }
}
.nav-icon-link {
  position: relative;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: #dfe7ff;
  text-decoration: none;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
}
.nav-icon-link.mobile-search { display: none; }
.desktop-only { display: inline-flex; }
.desktop-header { display: block; }
.mobile-header { display: none; }
.nav-icon {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid #1f2939;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  display: grid;
  place-items: center;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.3);
}
.nav-icon svg { width: 22px; height: 22px; stroke: #7da1ff; }
.nav-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #ffb400;
  color: #1b1b1b;
  border-radius: 999px;
  padding: 3px 7px;
  font-size: 11px;
  font-weight: 800;
  border: 2px solid #0d121c;
}
.nav-badge.info { background: #4f8bfd; color: #fff; }

a { color: var(--primary); text-decoration: none; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 16px;
  padding: 14px 24px;
  background: rgba(5, 9, 18, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}
.brand-name { letter-spacing: 0.02em; }
.brand-sub { color: var(--muted); font-size: 12px; }
.orb {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #d3fff4, #7cf4d5 45%, #2dd4bf 70%);
  box-shadow: 0 0 18px rgba(124, 244, 213, 0.55), 0 10px 25px rgba(0, 0, 0, 0.35);
  display: inline-block;
}
.topbar nav {
  display: flex;
  gap: 10px;
}
.topbar nav a {
  color: var(--text);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
}
.topbar nav a:hover { background: var(--primary-ghost); }
.topbar nav a.active {
  border-color: var(--border);
  background: rgba(255, 255, 255, 0.04);
}
.auth { display: flex; align-items: center; gap: 12px; }
.pill {
  padding: 6px 10px;
  background: var(--primary-ghost);
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 12px;
}
.pill.soft {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}
.user-meta { display: flex; flex-direction: column; gap: 2px; }
.user-mail { font-weight: 600; }
.user-status { color: var(--muted); font-size: 12px; }
.inline { display: inline; margin: 0; }
.link {
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
}

.hero {
  padding: 80px 24px 40px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
}
.hero.single {
  max-width: 720px;
  grid-template-columns: 1fr;
}
.landing h1 {
  font-size: clamp(34px, 5vw, 52px);
  margin-bottom: 14px;
}
.market-hero { padding-bottom: 10px; }
.hero h1 {
  font-size: clamp(30px, 4.8vw, 48px);
  margin: 10px 0;
  letter-spacing: -0.01em;
}
.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  font-size: 12px;
}
.actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 10px; }
.meta-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.category-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0 0 14px;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: thin;
}
.chip {
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--border);
  border-radius: 18px;
  color: var(--text);
  font-weight: 600;
}
.chip.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(124, 244, 213, 0.25);
}
.chip:hover { background: var(--primary-ghost); }

main { max-width: 1200px; margin: 0 auto 80px; padding: 0 24px 40px; }
.page-shell { max-width: 1320px; padding: 24px 24px 40px; }
.products-shell { max-width: 1600px; }

.panel-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(124, 244, 213, 0.06), transparent 30%);
  pointer-events: none;
}
.card-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: center;
}
.card-foot { margin-top: 12px; color: var(--muted); font-size: 14px; }
.price {
  background: var(--primary-ghost);
  color: var(--primary);
  padding: 6px 12px;
  border-radius: 14px;
  font-weight: 700;
}

.muted { color: var(--muted); }
.small { font-size: 13px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid var(--primary);
  background: linear-gradient(140deg, var(--primary), #4dd8ff);
  color: #03121a;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  box-shadow: 0 12px 36px rgba(77, 216, 255, 0.3);
}
.btn:hover { transform: translateY(-2px); }
.btn.ghost {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--border);
  box-shadow: none;
}

form { margin: 0; }
.stack { display: flex; flex-direction: column; gap: 10px; }
label { display: flex; flex-direction: column; gap: 6px; color: #d8e4f4; font-size: 14px; }
input, textarea {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #0c152a;
  color: var(--text);
}
input:focus, textarea:focus { outline: 2px solid var(--primary); }
textarea { resize: vertical; }

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

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding-bottom: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-slider {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background: none;
  border: 1px solid #2c2c3f;
  height: 500px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  color: #f6f7fb;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.hero-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.hero-slide {
  position: absolute;
  inset: 0;
  display: none;
  grid-template-columns: 1fr;
  align-items: center;
  width: 100%;
  height: 500px;
  min-height: 500px;
  max-height: 500px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-color: #0b0f19;
  opacity: 0;
  pointer-events: none;
}
.hero-slide.active {
  display: grid;
  opacity: 1;
  pointer-events: auto;
  animation: hero-fade 0.6s ease;
  z-index: 1;
}
.hero-slide .slide-copy {
  padding: 60px 52px 60px 64px;
  display: grid;
  gap: 14px;
  align-content: center;
  max-width: 720px;
  z-index: 2;
  position: relative;
}
.hero-slide .slide-title {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 800;
}
.hero-slide .slide-sub {
  color: #dce2f5;
  font-size: 16px;
  line-height: 1.6;
}
.hero-slide .slide-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-radius: 12px;
  background: #0f1522;
  color: #f6f7fb;
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-weight: 800;
  text-decoration: none;
  width: fit-content;
}
.hero-slide .slide-cta:hover { background: rgba(0, 0, 0, 0.2); }
.hero-slide .slide-media {
  display: none;
}
.hero-slider .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.35);
  color: #f6f7fb;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 3;
}
.hero-slider .nav-btn:hover { background: rgba(255, 255, 255, 0.12); }
.hero-slider .nav-btn.prev { left: 14px; }
.hero-slider .nav-btn.next { right: 14px; }
.hero-slider .dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.hero-slider .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
}
.hero-slider .dot.active { background: #f6f7fb; }

@media (max-width: 768px) {
  .hero-slider {
    width: 100%;
    height: 220px;
  }
  .hero-slide {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
  }
  .hero-slide .slide-copy {
    padding: 32px 22px;
    max-width: 100%;
    text-align: center;
    justify-items: center;
  }
  .hero-slide .slide-title { font-size: clamp(24px, 6vw, 32px); }
  .hero-slide .slide-sub { font-size: 14px; }
  .hero-slide .slide-cta { margin: 0 auto; }
}
@media (max-width: 600px) {
  .hero-slide .slide-copy { padding: 20px 16px; }
}
.admin-slide-form {
  margin: 14px 0 0;
  padding: 12px;
  border: 1px dashed rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}
.admin-slide-list {
  margin-top: 10px;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}
.admin-slide-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.2);
}
.admin-slide-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
@media (max-width: 1200px) {
  .product-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
.category-strip-top {
  padding: 16px 5% 0;
  position: relative;
}
.category-scroll {
  display: block;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 6px 0 12px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
.category-strip-top::before,
.category-strip-top::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 56px;
  pointer-events: none;
  z-index: 3;
}
.category-strip-top::before {
  left: 5%;
  /* Left fade matches page background */
  background: linear-gradient(to right, var(--bg) 0%, rgb(var(--bg-rgb) / 0) 100%);
}
.category-strip-top::after {
  right: 5%;
  /* Right fade matches page background */
  background: linear-gradient(to left, var(--bg) 0%, rgb(var(--bg-rgb) / 0) 100%);
}
.category-track {
  display: flex;
  gap: 12px;
  width: max-content;
}
.category-scroll * { position: relative; z-index: 2; }
.category-scroll::-webkit-scrollbar {
  height: 0;
  width: 0;
}
.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 44px;
  padding: 8px 18px 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  font-weight: 600;
  font-size: 13px;
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.category-pill:hover {
  transform: translateY(-1px);
  border-color: rgba(124, 244, 213, 0.35);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}
.category-pill.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(124, 244, 213, 0.2);
  background: linear-gradient(160deg, rgba(124, 244, 213, 0.16), rgba(255, 183, 107, 0.06));
  color: #bffaea;
}
.category-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  font-weight: 800;
  font-size: 12px;
  color: #c7d4ee;
  background: rgba(9, 14, 24, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.category-name { line-height: 1; }
.category-pill.active .category-icon {
  background: var(--primary);
  color: #03121a;
  border-color: rgba(124, 244, 213, 0.6);
}
.product-tile {
  background: #0f1522;
  border: 1px solid #1c2944;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.product-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0b1224;
  overflow: hidden;
}
.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-fav-btn {
  position: static;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.35);
  color: #e8edf7;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity 160ms ease, transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}
.product-fav-btn:hover {
  background: rgba(124, 244, 213, 0.16);
  border-color: rgba(124, 244, 213, 0.5);
  color: #bffaea;
}
.product-fav-btn.active {
  background: #8f939a;
  color: #f8f9fb;
  border-color: #8f939a;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
}
.product-fav-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
}
.product-fav-btn .unfav-line {
  opacity: 0;
  stroke: #ff4d4d;
  transition: opacity 140ms ease;
}
.product-fav-btn.active .unfav-line {
  opacity: 1;
}
.product-fav-form {
  position: absolute;
  top: 10px;
  right: 10px;
  margin: 0;
}
.product-tile:hover .product-fav-btn {
  opacity: 1;
  transform: translateY(0);
}
.product-links .product-fav-form {
  position: static;
  top: auto;
  right: auto;
  margin: 0;
}
.product-links .product-fav-btn {
  opacity: 1;
  transform: none;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}
.product-placeholder {
  height: 100%;
  display: grid;
  place-items: center;
  color: #9fb1d1;
  font-size: 13px;
  background: linear-gradient(140deg, rgba(124, 244, 213, 0.08), rgba(255, 183, 107, 0.1));
}
.product-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(15, 35, 42, 0.85);
  border: 1px solid rgba(124, 244, 213, 0.4);
  color: #bffaea;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.product-price {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 6px 10px;
  border-radius: 10px;
  background: rgba(6, 10, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-weight: 700;
  color: #e8edf7;
  font-size: 12px;
}
.product-body {
  padding: 14px;
  display: grid;
  gap: 8px;
}
.product-title {
  font-weight: 700;
  font-size: 15px;
  line-height: 1.3;
}
.product-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 12px;
  color: var(--muted);
}
.product-desc {
  color: #b9c7e6;
  font-size: 13px;
  margin: 0;
  min-height: 38px;
}
.product-footer {
  margin-top: auto;
  padding: 12px 14px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  border-top: 1px solid #1c2944;
  flex-wrap: wrap;
}
.product-links .fav-icon-btn,
.fav-icon-btn {
  width: 42px !important;
  height: 42px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  background: rgba(0, 0, 0, 0.25) !important;
  color: #f6f8ff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  transition: transform 120ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.35);
}
.product-links .fav-icon-btn svg,
.fav-icon-btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.1;
  fill: none;
  position: relative;
  z-index: 2;
}
.product-links .fav-icon-btn:hover,
.fav-icon-btn:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.45);
}
.product-links .fav-icon-btn.remove,
.fav-icon-btn.remove {
  background: #8b8f96 !important;
  color: #ffffff !important;
  border-color: #8b8f96 !important;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}
.product-links .fav-icon-btn.remove svg,
.fav-icon-btn.remove svg {
  stroke: #ffffff;
  fill: none;
}
.product-links .fav-icon-btn.remove::after,
.fav-icon-btn.remove::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 2px;
  background: #ff6b6b;
  transform: rotate(-22deg);
  border-radius: 2px;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 1;
  pointer-events: none;
}
.product-tile .fav-remove {
  opacity: 0;
  transform: translateY(6px);
  pointer-events: none;
  transition: opacity 160ms ease, transform 160ms ease;
}
.product-tile:hover .fav-remove {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.seller-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #dfe7ff;
  flex: 1 1 auto;
}
.seller-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #1f2a44;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 11px;
  color: #7cf4d5;
}
.seller-label {
  color: #c7d4ee;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.product-action {
  background: linear-gradient(140deg, var(--primary), #4dd8ff);
  border: 1px solid var(--primary);
  color: #03121a;
  padding: 10px 22px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(77, 216, 255, 0.25);
  flex: 0 0 auto;
  white-space: nowrap;
  min-width: 130px;
  text-align: center;
}
.product-action:hover {
  transform: translateY(-1px);
  color: #03121a;
}

.product-detail {
  max-width: 1200px;
  margin: 0 auto 80px;
  padding: 20px 24px 40px;
}
.product-breadcrumb {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: #a7b7d4;
  margin-bottom: 20px;
}
.product-breadcrumb a { color: #a7b7d4; text-decoration: none; }
.product-breadcrumb strong { color: #e8edf7; }
.product-layout {
  display: grid;
  grid-template-columns: minmax(280px, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
}
.product-gallery {
  background: #0f1522;
  border: 1px solid #1c2944;
  border-radius: 18px;
  padding: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.product-gallery-thumbs {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: none;
}
.product-gallery-thumbs::-webkit-scrollbar {
  display: none;
}
.product-thumb {
  width: 90px;
  height: 90px;
  border-radius: 12px;
  border: 1px solid #1c2944;
  background: linear-gradient(135deg, #0f1522, #0c1220);
  overflow: hidden;
  cursor: pointer;
  flex: 0 0 auto;
  position: relative;
}
.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-thumb.active {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(124, 244, 213, 0.25);
}
.product-image {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 12px;
  overflow: hidden;
  background: #0b1224;
}
.product-detail .product-image {
  width: 500px;
  height: 500px;
  max-width: 100%;
  aspect-ratio: 1;
}
.product-gallery-main {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: #0c101b;
  width: 500px;
  height: 500px;
  max-width: 100%;
}
.product-gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.35);
  color: #e8edf7;
  display: grid;
  place-items: center;
  cursor: pointer;
}
.gallery-nav:hover { background: rgba(124, 244, 213, 0.18); }
.gallery-nav.prev { left: 12px; }
.gallery-nav.next { right: 12px; }
.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-badge.light {
  background: rgba(255, 255, 255, 0.85);
  color: #0b1224;
  border: 1px solid rgba(15, 35, 42, 0.25);
}
.zoom-btn {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,0.85);
  color: #0b1224;
  font-weight: 700;
  box-shadow: 0 12px 24px rgba(0,0,0,0.25);
}
.product-info {
  background: #0f1522;
  border: 1px solid #1c2944;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}
.product-info h1 {
  font-size: 32px;
  margin-bottom: 8px;
}
.product-price-line {
  font-size: 22px;
  color: #7cf4d5;
  font-weight: 700;
  margin-bottom: 18px;
}
.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 18px 0 12px;
}
.add-cart-form {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.qty-control {
  display: inline-flex;
  align-items: center;
  border: 1px solid #1c2944;
  border-radius: 10px;
  overflow: hidden;
}
.qty-btn {
  background: #0b1224;
  color: #dfe7ff;
  border: none;
  width: 36px;
  height: 36px;
  font-weight: 700;
}
.qty-input {
  width: 44px;
  text-align: center;
  background: #0f1522;
  border: none;
  color: #e8edf7;
}
.btn-accent {
  background: #7fbf2b;
  border: none;
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  font-weight: 700;
}
.qty-note {
  color: #9fb1d1;
  font-size: 12px;
  margin-left: 8px;
}
.product-links {
  display: flex;
  gap: 18px;
  font-size: 13px;
  margin-bottom: 16px;
}
.link-lite {
  color: #9fb1d1;
  text-decoration: none;
  background: none;
  border: none;
  padding: 0;
}
.product-meta-grid {
  display: grid;
  gap: 8px;
  font-size: 13px;
  color: #b9c7e6;
  border-top: 1px solid #1c2944;
  padding-top: 16px;
}
.share-row {
  display: flex;
  align-items: center;
  gap: 10px;
}
.share-icons {
  display: inline-flex;
  gap: 8px;
}
.share-icons a,
.share-icons span {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0b1224;
  border: 1px solid #1c2944;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: #dfe7ff;
}
.share-icons a:hover { border-color: var(--primary); color: var(--primary); }
.product-bottom-cta {
  margin-top: 32px;
  display: flex;
  justify-content: flex-end;
}
.product-tabs {
  display: flex;
  gap: 24px;
  border-top: 1px solid #1c2944;
  margin-top: 32px;
  padding-top: 16px;
}
.tab {
  background: none;
  border: none;
  color: #9fb1d1;
  font-weight: 700;
  font-size: 13px;
  padding-bottom: 8px;
  border-bottom: 2px solid transparent;
}
.tab.active {
  color: #7cf4d5;
  border-color: #7cf4d5;
}
.product-tab-content {
  margin-top: 18px;
  color: #b9c7e6;
  font-size: 14px;
  background: #0f1522;
  border: 1px solid #1c2944;
  border-radius: 12px;
  padding: 16px;
}
.tab-pane { display: none; }
.tab-pane.active { display: block; }
.review-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.review-count {
  font-size: 13px;
  color: #9fb1d1;
}
.rating-stars {
  display: inline-flex;
  gap: 4px;
  font-size: 18px;
  color: #3b4a5a;
}
.rating-stars.small { font-size: 14px; }
.rating-stars .star.filled { color: #f5b301; }
.review-list {
  display: grid;
  gap: 14px;
  margin-bottom: 20px;
}
.review-item {
  background: #0b1224;
  border: 1px solid #1c2944;
  border-radius: 12px;
  padding: 12px;
}
.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: #9fb1d1;
  margin-bottom: 6px;
}
.review-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.review-delete {
  border: none;
  background: transparent;
  color: #ff8b8b;
  font-size: 12px;
  cursor: pointer;
}
.review-delete:hover { color: #ffd1d1; }
.review-item p {
  margin: 8px 0 0;
  color: #d6dff2;
}
.review-media {
  margin-top: 10px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1c2944;
  background: #0f1522;
}
.review-media img {
  width: 100%;
  height: auto;
  display: block;
}
.review-form {
  background: #0b1224;
  border: 1px solid #1c2944;
  border-radius: 12px;
  padding: 16px;
}
.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 6px;
}
.star-rating input {
  position: absolute;
  opacity: 0;
}
.star-rating label {
  font-size: 22px;
  color: #3b4a5a;
  cursor: pointer;
}
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #f5b301;
}
.star-rating input:checked ~ label {
  color: #f5b301;
}
@media (max-width: 900px) {
  .product-layout { grid-template-columns: 1fr; }
}

.section { padding: 32px 0; }
.row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.row:last-child { border-bottom: none; }

.actions form { display: inline; }

.stats {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: var(--muted);
}

.flash {
  margin: 12px auto;
  padding: 12px 16px;
  max-width: 900px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(124, 244, 213, 0.14);
}
.flash.error {
  background: rgba(248, 113, 113, 0.15);
  border-color: #b91c1c;
}

.hero-card {
  position: relative;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-glow {
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle, rgba(124, 244, 213, 0.1), transparent 50%);
  filter: blur(12px);
}
.hero-body { position: relative; }
.hero-title { font-weight: 700; margin-bottom: 8px; }
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 10px;
}
.hero-number {
  font-size: 26px;
  font-weight: 800;
}
.hero-label { color: var(--muted); font-size: 13px; }

.feature-grid {
  max-width: 1200px;
  margin: 10px auto 60px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.feature-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 20px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.01));
  box-shadow: var(--shadow);
  min-height: 220px;
}
.feature-card h2 { margin: 6px 0 8px; }
.feature-card.primary {
  background: linear-gradient(120deg, rgba(124, 244, 213, 0.16), rgba(4, 7, 16, 0.9));
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
}
.feature-card.map { background: linear-gradient(120deg, rgba(77, 216, 255, 0.12), rgba(5, 9, 18, 0.9)); }
.feature-card.cozy { background: linear-gradient(120deg, rgba(255, 183, 107, 0.12), rgba(5, 9, 18, 0.9)); }
.badge-stack {
  display: grid;
  gap: 8px;
}
.badge-stack span {
  padding: 8px 12px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  font-weight: 800;
  color: var(--accent);
}
.map-visual, .cozy-visual {
  margin-top: 18px;
  height: 140px;
  border-radius: 14px;
  border: 1px dashed var(--border);
  background: radial-gradient(circle at 30% 30%, rgba(77, 216, 255, 0.18), transparent 45%),
              radial-gradient(circle at 70% 60%, rgba(124, 244, 213, 0.16), transparent 40%),
              rgba(255, 255, 255, 0.02);
  position: relative;
}
.cozy-visual {
  background: radial-gradient(circle at 50% 30%, rgba(255, 183, 107, 0.2), transparent 45%),
              radial-gradient(circle at 30% 70%, rgba(124, 244, 213, 0.12), transparent 35%),
              rgba(255, 255, 255, 0.02);
}
.link-cta {
  color: var(--primary);
  font-weight: 700;
  border-bottom: 1px solid var(--primary);
}
.link-cta:hover { color: #bffaea; }

.premium-footer {
  margin-top: auto;
  padding: 48px 0 0;
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 -16px 36px rgba(0, 0, 0, 0.45);
  color: var(--text);
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 32px;
  display: grid;
  grid-template-columns: 260px repeat(3, minmax(180px, 1fr));
  gap: 34px;
  align-items: start;
  justify-items: start;
}
.footer-brand,
.footer-links,
.footer-cta {
  display: grid;
  align-content: start;
  gap: 10px;
}
.footer-brand h4 {
  margin: 0;
  font-size: 22px;
  color: var(--text);
}
.footer-brand p {
  color: var(--muted);
  margin: 6px 0 14px;
}
.footer-kicker {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent);
}
.footer-meta {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
}
.footer-label {
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
  border-bottom: 2px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
  margin-bottom: 10px;
}
.footer-links {
  display: grid;
  gap: 10px;
}
.footer-links a {
  color: var(--muted);
  text-decoration: none;
}
.footer-links a:hover { color: var(--primary); }
.footer-social {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-top: 12px;
}
.footer-social a {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  place-items: center;
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  font-size: 11px;
  font-weight: 700;
}
.footer-social a:hover { border-color: var(--accent); color: var(--accent); }
.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 4px 0 6px;
}
.footer-chip {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(124, 244, 213, 0.12);
  color: var(--text);
  border: 1px solid rgba(124, 244, 213, 0.24);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.footer-note {
  color: var(--muted);
  font-size: 13px;
}
.footer-cta form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.footer-cta input {
  background: #0c152a;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 12px;
  color: var(--text);
}
.footer-cta button {
  background: linear-gradient(140deg, var(--primary), #4dd8ff);
  border: 1px solid var(--primary);
  color: #03121a;
  border-radius: 10px;
  padding: 10px 16px;
  font-weight: 700;
  box-shadow: none;
}
.footer-bottom {
  background: var(--bg);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 13px;
  padding: 0;
}
.footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom span { color: var(--text); }

@media (max-width: 960px) {
  .footer-inner { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
}
@media (max-width: 720px) {
  .footer-cta form { grid-template-columns: 1fr; }
}

@media (max-width: 1100px) {
  .nav-inner { flex-wrap: wrap; }
  .nav-search { flex: 1 1 220px; order: 1; }
  .brand-nav { order: 2; }
  .nav-icons { order: 3; }
  .nav-links {
    order: 4;
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
    row-gap: 6px;
  }
}

@media (max-width: 780px) {
  .topbar { grid-template-columns: 1fr; justify-items: flex-start; }
  .auth { width: 100%; justify-content: flex-start; flex-wrap: wrap; }
}

@media (max-width: 640px) {
  .hero { padding-top: 50px; }
  .hero-stats { grid-template-columns: repeat(auto-fit, minmax(90px, 1fr)); }
}

@media (max-width: 720px) {
  /* keep desktop header visible on mobile; hide mobile-only elements */
  .desktop-header { display: block; }
  .mobile-header { display: none; }
  .nav-toggle { display: none; }
  .nav-links { position: static; flex-direction: row; display: flex; padding: 0; box-shadow: none; background: transparent; }
  .nav-links a { padding: 8px 4px; border-bottom: none; }
  .nav-inner { position: static; flex-wrap: nowrap; }
  .nav-search { order: initial; width: auto; flex: 0 0 220px; display: flex; }
  .brand-nav { order: initial; }
  .nav-icons { order: initial; width: auto; justify-content: flex-end; gap: 10px; }
  .nav-icon-link.mobile-search { display: none; }
  .desktop-only { display: inline-flex; }
}













body.bg-dark {
  background: var(--bg) !important;
  background-color: var(--bg) !important;
}


