@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Syne:wght@400;500;600;700;800&display=swap');

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #05050A;
  --bg-card: rgba(255,255,255,0.03);
  --border: rgba(255,255,255,0.07);
  --border-strong: rgba(255,255,255,0.12);
  --text: #e2e8f0;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --accent-blue: #3b82f6;
  --accent-violet: #8b5cf6;
  --accent-pink: #ec4899;
  --gradient-text: linear-gradient(90deg, #8b5cf6, #3b82f6, #ec4899);
  --gradient-bg: linear-gradient(135deg, #8b5cf6, #3b82f6);
  --radius-card: 1.5rem;
  --radius-pill: 9999px;
  --shadow-glow: 0 0 30px rgba(59,130,246,0.4);
  --shadow-glow-sm: 0 0 20px rgba(139,92,246,0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

a { color: var(--accent-blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: #93c5fd; }

img { max-width: 100%; }

/* ===================== UTILITIES ===================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.main-content { flex: 1; padding-top: 80px; }

.subscribe-toast {
  max-width: 1200px;
  margin: 1rem auto 0;
  padding: 0.85rem 1.25rem;
  border-radius: 0.875rem;
  font-size: 0.95rem;
  font-weight: 600;
  text-align: center;
  border: 1px solid var(--border-strong);
}

.subscribe-toast.success {
  background: rgba(16,185,129,0.09);
  border-color: rgba(16,185,129,0.25);
  color: #34d399;
}

.subscribe-toast.error {
  background: rgba(239,68,68,0.09);
  border-color: rgba(239,68,68,0.25);
  color: #f87171;
}

.pf-glass {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--border);
}

.pf-text-gradient {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.pf-bg-gradient { background: var(--gradient-bg); }

.pf-glow-hover:hover {
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* ===================== HEADER / NAV ===================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(5,5,10,0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  height: 80px;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.4rem;
  color: #fff;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}

.logo:hover { color: #fff; opacity: 0.9; }

.logo-zap {
  width: 2rem;
  height: 2rem;
  fill: var(--accent-blue);
  color: var(--accent-blue);
  flex-shrink: 0;
}

.logo-text { color: #fff; }
.logo-text span { background: var(--gradient-text); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover,
.nav-links a.active { color: #fff; }

.nav-logout-form {
  display: inline;
}

.nav-link-button {
  color: var(--text-muted);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}

.nav-link-button:hover {
  color: #fff;
}

.nav-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }

.header-search {
  display: flex;
  align-items: center;
  position: relative;
  min-width: 2.5rem;
}

.header-search-input {
  width: 0;
  height: 2.5rem;
  opacity: 0;
  pointer-events: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.05);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem;
  outline: none;
  transition: width 0.2s, opacity 0.2s, padding 0.2s, margin-right 0.2s, border-color 0.2s;
}

.header-search.open .header-search-input,
.header-search:focus-within .header-search-input {
  width: 13rem;
  opacity: 1;
  pointer-events: auto;
  padding: 0.55rem 2.85rem 0.55rem 1rem;
  margin-right: -2.5rem;
}

.header-search-input::placeholder { color: var(--text-muted); }

.header-search-input:focus {
  border-color: rgba(59,130,246,0.5);
  box-shadow: 0 0 0 2px rgba(59,130,246,0.15);
}

.header-search-button {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.btn-icon {
  width: 2.5rem; height: 2.5rem;
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  color: var(--text-dim);
}
.btn-icon:hover { background: rgba(255,255,255,0.1); color: #fff; }
.btn-icon svg { width: 1.1rem; height: 1.1rem; stroke: currentColor; fill: none; }

.btn-nav-cta {
  display: flex; align-items: center; gap: 0.5rem;
  background: var(--gradient-bg);
  color: #fff;
  font-weight: 700;
  font-size: 0.875rem;
  padding: 0.6rem 1.4rem;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.2s, box-shadow 0.2s;
  letter-spacing: 0.01em;
}
.btn-nav-cta:hover { opacity: 0.9; box-shadow: var(--shadow-glow); transform: translateY(-1px); color: #fff; }

/* Mobile hamburger */
.btn-hamburger {
  display: none;
  width: 2.5rem; height: 2.5rem;
  align-items: center; justify-content: center;
  background: none; border: none; cursor: pointer; color: var(--text);
}
.btn-hamburger svg { width: 1.4rem; height: 1.4rem; stroke: currentColor; fill: none; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-pill);
  font-weight: 700; font-size: 1rem;
  cursor: pointer; border: none;
  transition: all 0.2s;
  text-align: center;
}

.btn-primary {
  background: var(--gradient-bg);
  color: #fff;
}
.btn-primary:hover { opacity: 0.9; box-shadow: var(--shadow-glow); transform: translateY(-2px); color: #fff; }

.btn-outline {
  background: rgba(255,255,255,0.04);
  color: #fff;
  border: 1px solid var(--border-strong);
}
.btn-outline:hover { background: rgba(255,255,255,0.1); color: #fff; }

.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--accent-blue);
  border: 1px solid rgba(59,130,246,0.25);
}
.btn-ghost:hover { background: var(--accent-blue); color: #fff; box-shadow: 0 0 20px rgba(59,130,246,0.35); }

.btn-buy {
  background: var(--gradient-bg);
  color: #fff;
  padding: 1rem 2rem;
  font-size: 1.1rem;
}
.btn-buy:hover { opacity: 0.9; box-shadow: var(--shadow-glow); transform: translateY(-2px); color: #fff; }

.btn-sm { padding: 0.4rem 1rem; font-size: 0.8rem; }
.btn-full { width: 100%; }
.btn-edit { background: #f59e0b; color: #000; }
.btn-delete { background: #ef4444; color: #fff; }

/* ===================== HERO ===================== */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 8rem 1.5rem 5rem;
  text-align: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0; z-index: 0;
}
.hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.25;
  mix-blend-mode: screen;
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(5,5,10,0.7) 0%, rgba(5,5,10,0.92) 70%, #05050A 100%);
}
.hero-glow {
  position: absolute;
  top: 30%; left: 50%; transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(139,92,246,0.15) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
  display: flex; flex-direction: column; align-items: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(59,130,246,0.2);
  border-radius: var(--radius-pill);
  color: var(--accent-blue);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.hero-badge-dot {
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--accent-blue);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-content h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--text-muted);
  max-width: 580px;
  font-weight: 300;
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex; flex-wrap: wrap; gap: 1rem;
  justify-content: center;
}

/* ===================== TRUST / FEATURES ===================== */
.features-section {
  padding: 6rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.features-glow {
  position: absolute;
  top: 50%; left: 50%; transform: translate(-50%, -50%);
  width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(139,92,246,0.07) 0%, transparent 70%);
  pointer-events: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  position: relative; z-index: 1;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.feature-card:hover {
  background: rgba(255,255,255,0.05);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}

.feature-icon {
  width: 3.25rem; height: 3.25rem;
  border-radius: 0.875rem;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: transform 0.2s;
}
.feature-card:hover .feature-icon { transform: scale(1.1); }
.feature-icon svg { width: 1.5rem; height: 1.5rem; stroke: currentColor; fill: none; }
.feature-icon.blue { color: #60a5fa; }
.feature-icon.violet { color: #a78bfa; }
.feature-icon.pink { color: #f472b6; }
.feature-icon.indigo { color: #818cf8; }

.feature-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* ===================== PRODUCTS ===================== */
.products-section {
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--border);
  background: rgba(0,0,0,0.4);
}

.section-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  margin-top: 0.5rem;
}

.section-link {
  color: var(--accent-blue);
  font-weight: 700;
  display: flex; align-items: center; gap: 0.4rem;
  white-space: nowrap;
  transition: color 0.2s, gap 0.2s;
}
.section-link:hover { color: #93c5fd; gap: 0.65rem; }
.section-link svg { width: 1.1rem; height: 1.1rem; stroke: currentColor; fill: none; }

.section-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 2rem;
  letter-spacing: -0.02em;
  padding: 0;
  border: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s, box-shadow 0.2s;
}

.product-card:hover {
  border-color: rgba(59,130,246,0.45);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.product-image-wrap {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #000;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.product-image-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}

.product-image {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform 0.5s;
}
.product-card:hover .product-image { transform: scale(1.05); }

.product-category-badge {
  position: absolute;
  top: 0.875rem; left: 0.875rem;
  z-index: 2;
  padding: 0.3rem 0.75rem;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
}

.product-info {
  padding: 1.5rem;
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.stars { display: flex; gap: 0.1rem; color: #facc15; }
.star { width: 0.9rem; height: 0.9rem; fill: currentColor; }
.star.empty { fill: none; stroke: #facc15; }

.product-info h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.product-info h3 a { color: #fff; }
.product-info h3 a:hover { color: #93c5fd; }

.product-price-row {
  display: flex; align-items: baseline; gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.product-price {
  font-size: 1.6rem;
  font-weight: 800;
  color: #fff;
  margin: 0;
}

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

.product-description {
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

/* ===================== CATEGORIES ===================== */
.categories-section {
  padding: 6rem 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.categories-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 3rem;
  letter-spacing: -0.02em;
}

.category-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
}

.category-pill {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  color: var(--text-dim);
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.category-pill:hover {
  color: #fff;
  border-color: rgba(139,92,246,0.5);
  background: rgba(139,92,246,0.07);
}

/* Category page grid */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1.25rem;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  padding: 2rem 1.5rem;
  text-align: center;
  transition: all 0.2s;
  color: var(--text-dim);
}

.category-card:hover {
  border-color: rgba(139,92,246,0.5);
  background: rgba(139,92,246,0.07);
  color: #fff;
  transform: translateY(-3px);
}

.category-card h3 {
  font-family: 'Syne', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.4rem;
}

.category-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ===================== NEWSLETTER CTA ===================== */
.cta-section {
  padding: 6rem 1.5rem;
}

.cta-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: var(--gradient-bg);
  padding: 3px;
  border-radius: 2.5rem;
}

.cta-inner {
  background: var(--bg);
  border-radius: calc(2.5rem - 3px);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-inner::before {
  content: '';
  position: absolute;
  top: -50%; left: 50%; transform: translateX(-50%);
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(59,130,246,0.1) 0%, transparent 70%);
  pointer-events: none;
}

.cta-inner h2 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: -0.03em;
  position: relative; z-index: 1;
}

.cta-inner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 520px;
  margin: 0 auto 2rem;
  position: relative; z-index: 1;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 480px;
  margin: 0 auto;
  position: relative; z-index: 1;
}

@media (min-width: 540px) {
  .cta-form { flex-direction: row; }
}

.cta-input {
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 0.875rem 1.5rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}
.cta-input::placeholder { color: var(--text-muted); }
.cta-input:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 2px rgba(59,130,246,0.15); }

/* ===================== EMPTY STATE ===================== */
.empty-state {
  text-align: center;
  padding: 6rem 1.5rem;
}

.empty-state h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.empty-state p { color: var(--text-muted); }

/* ===================== FOOTER ===================== */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 3rem 1.5rem;
  background: #000;
  margin-top: auto;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
  }
}

.footer-logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-family: 'Syne', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: #fff;
}
.footer-logo:hover { color: #fff; }
.footer-logo img { width: 1.4rem; height: 1.4rem; }

.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.footer-links-list {
  display: flex; gap: 2rem; list-style: none;
  flex-wrap: wrap; justify-content: center;
}

.footer-links-list a {
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links-list a:hover { color: #fff; }

.footer-contact-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.footer-contact-line a,
.footer-contact-line span {
  color: var(--text-muted);
  white-space: nowrap;
}

.footer-subscribe {
  min-width: min(100%, 320px);
}

.footer-subscribe-form {
  display: flex;
  gap: 0.5rem;
}

.footer-subscribe-form input {
  min-width: 0;
  flex: 1;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 0.55rem 0.9rem;
  color: #fff;
  font-size: 0.85rem;
  font-family: 'Outfit', sans-serif;
  outline: none;
}

.footer-subscribe-form input::placeholder { color: var(--text-muted); }
.footer-subscribe-form input:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 2px rgba(59,130,246,0.15); }

.subscribe-message {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  text-align: center;
}

.subscribe-message.success { color: #34d399; }
.subscribe-message.error { color: #f87171; }

.footer-copy {
  color: #3f3f46;
  font-size: 0.875rem;
}

/* Full footer for inner pages */
.site-footer-full {
  border-top: 1px solid var(--border);
  padding: 4rem 1.5rem 2rem;
  background: rgba(0,0,0,0.6);
  margin-top: auto;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-top: 0.75rem;
  line-height: 1.6;
}

.footer-links h4,
.footer-legal h4,
.footer-contact h4 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  font-size: 0.95rem;
}

.footer-links ul,
.footer-legal ul { list-style: none; }
.footer-links li, .footer-legal li { margin-bottom: 0.6rem; }
.footer-links a, .footer-legal a { color: var(--text-muted); font-size: 0.875rem; transition: color 0.2s; }
.footer-links a:hover, .footer-legal a:hover { color: #fff; }

.footer-contact p {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin-bottom: 0.4rem;
}

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ===================== PAGE SECTIONS ===================== */
.page-section { padding: 5rem 1.5rem; }

.page-section h1 {
  font-family: 'Syne', sans-serif;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.catalog-search {
  display: flex;
  gap: 0.75rem;
  max-width: 580px;
  margin: -1.25rem 0 2.5rem;
}

.catalog-search input {
  flex: 1;
  min-width: 0;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-pill);
  padding: 0.85rem 1.25rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
  outline: none;
}

.catalog-search input::placeholder { color: var(--text-muted); }

.catalog-search input:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 2px rgba(59,130,246,0.15);
}

/* ===================== PRODUCT DETAIL ===================== */
.product-detail-header { margin-bottom: 2rem; }

.product-category {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.25);
  border-radius: var(--radius-pill);
  color: #a78bfa;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 0.5rem;
}

.product-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2rem;
  align-items: start;
}

.product-detail-main {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.product-detail-carousel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-card);
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  min-height: 460px;
}

.product-carousel-track {
  position: relative;
  height: 460px;
}

.product-detail-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 1.5rem;
  display: none;
}

.product-detail-image.active {
  display: block;
}

.product-detail-no-image {
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: rgba(5,5,10,0.72);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
}

.carousel-arrow:hover {
  background: rgba(59,130,246,0.88);
  border-color: rgba(59,130,246,0.6);
  transform: translateY(-50%) scale(1.04);
}

.carousel-arrow svg {
  width: 1.4rem;
  height: 1.4rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.carousel-arrow-prev { left: 1rem; }
.carousel-arrow-next { right: 1rem; }

.carousel-count {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  z-index: 2;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-pill);
  background: rgba(5,5,10,0.72);
  border: 1px solid var(--border-strong);
  color: var(--text-dim);
  font-size: 0.8rem;
  font-weight: 700;
}

.mobile-carousel-buy {
  display: none;
}

.product-detail-description {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}

.product-detail-info .product-price { font-size: 2.5rem; font-weight: 800; color: #fff; margin: 0.75rem 0; display: block; }
.product-detail-info .product-rating-text { color: var(--text-muted); font-size: 0.95rem; margin-bottom: 1rem; }

.product-detail-info {
  position: sticky;
  top: 104px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
}

.product-detail-info h3,
.product-detail-description h3 {
  font-family: 'Syne', sans-serif;
  font-weight: 700;
  color: var(--accent-violet);
  margin: 2rem 0 0.5rem;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
}

.product-detail-info p,
.product-detail-description p {
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

.specs-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.specs-table td {
  padding: 0.75rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.9rem;
}
.specs-table td:first-child { color: #fff; font-weight: 600; width: 40%; }

/* ===================== ADMIN ===================== */
.admin-header { background: rgba(0,0,0,0.5); border-bottom: 1px solid var(--border); padding: 1rem 1.5rem; }
.admin-main { padding: 2rem 0; }

.admin-header-section {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap; gap: 1rem;
}

.admin-header-section h2 {
  font-family: 'Syne', sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
}

.admin-products-table table { width: 100%; border-collapse: collapse; }
.admin-products-table th,
.admin-products-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.admin-products-table th {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.admin-products-table td { color: var(--text); font-size: 0.9rem; }
.actions { display: flex; gap: 0.5rem; }

.status-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: capitalize;
}

.status-pill.sent {
  background: rgba(16,185,129,0.12);
  color: #34d399;
  border: 1px solid rgba(16,185,129,0.28);
}

.status-pill.queued {
  background: rgba(245,158,11,0.12);
  color: #fbbf24;
  border: 1px solid rgba(245,158,11,0.28);
}

.status-pill.failed {
  background: rgba(239,68,68,0.12);
  color: #f87171;
  border: 1px solid rgba(239,68,68,0.28);
}

.status-pill.neutral {
  background: rgba(148,163,184,0.1);
  color: var(--text-dim);
  border: 1px solid rgba(148,163,184,0.22);
}

.status-detail {
  display: block;
  max-width: 360px;
  margin-top: 0.35rem;
  color: var(--text-muted);
  line-height: 1.4;
  word-break: break-word;
}

/* ===================== FORMS ===================== */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-dim);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-strong);
  border-radius: 0.75rem;
  color: #fff;
  font-size: 0.95rem;
  font-family: 'Outfit', sans-serif;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus { border-color: var(--accent-blue); box-shadow: 0 0 0 2px rgba(59,130,246,0.15); }

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

.checkbox-group { display: flex; gap: 1.5rem; }
.checkbox-group label { display: flex; align-items: center; gap: 0.5rem; cursor: pointer; color: var(--text-dim); }

.form-actions { display: flex; gap: 1rem; margin-top: 1.5rem; }

/* ===================== ALERTS ===================== */
.alert { padding: 0.875rem 1.25rem; border-radius: 0.75rem; margin-bottom: 1rem; font-size: 0.9rem; }
.alert-error { background: rgba(239,68,68,0.08); color: #f87171; border: 1px solid rgba(239,68,68,0.2); }
.alert-success { background: rgba(16,185,129,0.08); color: #34d399; border: 1px solid rgba(16,185,129,0.2); }

/* ===================== LOGIN ===================== */
.login-page {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
}

.login-container {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-card);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
}

.login-header { text-align: center; margin-bottom: 2rem; }
.login-header h2 { font-family: 'Syne', sans-serif; font-weight: 700; color: #fff; font-size: 1.5rem; margin-top: 1rem; }
.login-header p { color: var(--text-muted); font-size: 0.9rem; margin-top: 0.25rem; }

/* ===================== ERROR ===================== */
.error-page { text-align: center; padding: 6rem 1.5rem; }
.error-page h1 { font-family: 'Syne', sans-serif; font-size: 3rem; font-weight: 800; color: #fff; margin-bottom: 1rem; }
.error-page p { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 2.5rem; }

/* ===================== IMAGE PREVIEW ===================== */
.image-preview-grid { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 0.75rem; }
.image-preview { width: 100px; }
.image-preview img { width: 100%; border-radius: 0.75rem; border: 1px solid var(--border); margin-bottom: 0.25rem; }

/* ===================== CONTACT ===================== */
.contact-details { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.contact-item h3 { color: var(--accent-violet); margin-bottom: 0.5rem; font-family: 'Syne', sans-serif; font-weight: 700; }
.contact-info { margin-top: 1rem; color: var(--text-muted); }

/* ===================== LEGAL ===================== */
.legal-content h2 { margin-top: 2rem; margin-bottom: 0.5rem; color: var(--accent-violet); font-family: 'Syne', sans-serif; }
.legal-content p { color: var(--text-muted); margin-bottom: 1rem; line-height: 1.7; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 900px) {
  .product-detail-content { grid-template-columns: 1fr; }
  .product-detail-info { position: static; }
  .product-detail-carousel,
  .product-carousel-track,
  .product-detail-no-image { min-height: 360px; height: 360px; }
  .mobile-carousel-buy {
    display: inline-flex;
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    z-index: 3;
    width: auto;
    padding: 0.75rem 1.4rem;
    font-size: 0.95rem;
  }
  .product-detail-info .btn-buy { display: none; }
  .carousel-count { bottom: 4.25rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-nav-cta { display: none; }
  .btn-hamburger { display: flex; }
  .nav-container { gap: 1rem; }
  .header-search.open .header-search-input,
  .header-search:focus-within .header-search-input {
    width: min(48vw, 11rem);
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 80px; left: 0; right: 0;
    background: rgba(5,5,10,0.98);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem;
    gap: 1.25rem;
    z-index: 99;
  }

  .hero-content h1 { font-size: 2.75rem; }
  .product-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .footer-container { grid-template-columns: 1fr; }
  .section-header { flex-direction: column; align-items: flex-start; }
  .catalog-search { width: 100%; max-width: none; }
  .footer-subscribe { width: 100%; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
  .catalog-search { flex-direction: column; }
  .catalog-search .btn { width: 100%; }
}
