/* ============================================================
   PRODUCT SHOWCASE — Global Styles
   Theme: Dark Navy + Gold | Formal & Premium
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --navy-950: #05080f;
  --navy-900: #0a0f1e;
  --navy-800: #111827;
  --navy-700: #1a2540;
  --navy-600: #223058;
  --navy-500: #2c3e70;
  --gold-400: #d4a843;
  --gold-300: #e8c070;
  --gold-200: #f5d98a;
  --gold-100: #fdf0c4;
  --white:    #ffffff;
  --gray-100: #f4f4f6;
  --gray-200: #e2e4ea;
  --gray-400: #9099b2;
  --gray-500: #6b7494;
  --glass-bg:     rgba(255,255,255,0.04);
  --glass-border: rgba(255,255,255,0.10);
  --shadow-card:  0 8px 32px rgba(0,0,0,0.45);
  --shadow-hover: 0 16px 48px rgba(0,0,0,0.60);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Outfit', system-ui, sans-serif;
  --font-body:    'Inter', system-ui, sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--navy-900);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Background subtle grid texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(212,168,67,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212,168,67,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* ── Typography ── */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.25; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); }
p  { color: var(--gray-200); }
a  { color: var(--gold-300); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-100); }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* ── Header / Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--gold-300);
  font-weight: 700;
  letter-spacing: 0.3px;
}

.site-logo .logo-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-200));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.header-nav { display: flex; align-items: center; gap: 8px; }
.nav-link {
  color: var(--gray-200);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.nav-link:hover { color: var(--gold-300); background: rgba(212,168,67,0.08); }

/* ── Hero / Page Header ── */
.page-hero {
  padding: 80px 0 60px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -40px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse, rgba(212,168,67,0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  background: rgba(212,168,67,0.12);
  border: 1px solid rgba(212,168,67,0.3);
  color: var(--gold-300);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 20px;
  border-radius: 50px;
  margin-bottom: 24px;
}

.hero-title {
  color: var(--white);
  margin-bottom: 16px;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  letter-spacing: -0.5px;
}

.hero-title span { color: var(--gold-300); }

.hero-description {
  font-size: 1.05rem;
  color: var(--gray-400);
  max-width: 620px;
  margin: 0 auto 30px;
  line-height: 1.75;
}

/* ── Fixed Search Button ── */
.fixed-search-btn {
  position: fixed;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-300);
  cursor: pointer;
  z-index: 100;
  backdrop-filter: blur(8px);
  transition: all var(--transition);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.fixed-search-btn:hover {
  background: rgba(212,168,67,0.15);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(212,168,67,0.2);
}

.fixed-search-btn svg { width: 22px; height: 22px; }

/* ── Search Overlay ── */
.search-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%;
  padding: 32px 24px;
  background: rgba(10, 15, 30, 0.98);
  backdrop-filter: blur(12px);
  z-index: 101;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  justify-content: center;
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.search-overlay.active {
  transform: translateY(0);
}

.search-input-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
}

.search-icon {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  color: var(--gold-300);
  pointer-events: none;
}

.search-input {
  width: 100%;
  padding: 18px 60px 18px 56px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(212,168,67,0.3);
  border-radius: 50px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 1.1rem;
  transition: all var(--transition);
}

.search-input:focus {
  outline: none;
  border-color: var(--gold-300);
  box-shadow: 0 0 0 4px rgba(212, 168, 67, 0.15);
  background: rgba(255,255,255,0.08);
}

.search-input::placeholder {
  color: var(--gray-500);
}

.search-close-btn {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--gray-400);
  font-size: 2rem;
  cursor: pointer;
  padding: 0 8px;
  transition: color var(--transition);
}

.search-close-btn:hover {
  color: var(--white);
}

/* ── Cookie Banner ── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: calc(100% - 48px);
  max-width: 420px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 9999;
  transform: translateY(150%);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}

.cookie-banner.show {
  transform: translateY(0);
}

.cookie-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
}

.cookie-text {
  font-size: 0.9rem;
  color: var(--gray-300);
  line-height: 1.6;
}

.cookie-text strong {
  color: var(--white);
  font-weight: 600;
}

.cookie-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 4px;
}

.cookie-btn-outline {
  background: transparent;
  color: var(--gray-300);
  border: 1px solid var(--glass-border);
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-btn-outline:hover {
  background: rgba(255,255,255,0.05);
  color: var(--white);
  border-color: var(--gray-500);
}

.cookie-btn-primary {
  background: #00d2ff; /* Cyan color from user's screenshot */
  color: #000;
  border: none;
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-btn-primary:hover {
  background: #00bced;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 210, 255, 0.3);
}

@media (max-width: 480px) {
  .cookie-banner {
    bottom: 16px;
    left: 16px;
    width: calc(100% - 32px);
    padding: 20px;
  }
}

/* ── Blog Floating Button ── */
.blog-float-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  text-decoration: none;
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  z-index: 9998;
  overflow: hidden;
  max-width: 44px;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (hover: hover) {
  .blog-float-btn:hover {
    max-width: 320px;
    padding-right: 16px;
    border-radius: 16px;
    background: rgba(20, 25, 45, 0.95);
    border-color: var(--gold-300);
  }

  .blog-float-btn:hover .blog-float-content {
    opacity: 1;
  }
}

.blog-float-btn.expanded {
  max-width: 320px;
  padding-right: 16px;
  border-radius: 16px;
  background: rgba(20, 25, 45, 0.95);
  border-color: var(--gold-300);
}

.blog-float-icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--gold-300);
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-float-content {
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
  display: flex;
  flex-direction: column;
}

.blog-float-btn.expanded .blog-float-content {
  opacity: 1;
}

.blog-float-title {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--gold-300);
  margin-bottom: 2px;
}

.blog-float-desc {
  font-size: 0.75rem;
  color: var(--gray-300);
  white-space: normal;
  line-height: 1.3;
}

@media (max-width: 768px) {
  .blog-float-btn {
    bottom: 80px; /* Above mobile elements */
    right: 16px;
  }
}

/* ── Divider ── */
.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold-400), transparent);
  border-radius: 2px;
  margin: 24px auto;
}

/* ── Product Grid ── */
.products-section { padding: 20px 0 80px; }

.section-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 36px;
}

.product-count {
  font-size: 0.85rem;
  color: var(--gray-500);
  font-weight: 500;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* ── Product Card ── */
.product-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
  backdrop-filter: blur(8px);
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: rgba(212,168,67,0.35);
  box-shadow: var(--shadow-hover), 0 0 0 1px rgba(212,168,67,0.15);
}

.product-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(212,168,67,0.04), transparent);
  opacity: 0;
  transition: opacity var(--transition);
  pointer-events: none;
  border-radius: var(--radius-lg);
}

.product-card:hover::after { opacity: 1; }

.card-image-wrap {
  position: relative;
  padding-top: 62%;
  overflow: hidden;
  background: var(--navy-800);
}

.card-image-wrap img {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-card:hover .card-image-wrap img { transform: scale(1.05); }

.card-image-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-500);
  font-size: 2.5rem;
}

.card-image-placeholder span {
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray-500);
}

.card-category {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(10,15,30,0.85);
  border: 1px solid rgba(212,168,67,0.3);
  color: var(--gold-300);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  backdrop-filter: blur(8px);
}

.card-body { padding: 22px 24px 24px; }

.card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.3;
}

.card-excerpt {
  font-size: 0.875rem;
  color: var(--gray-400);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 18px;
}

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.78rem;
  color: var(--gold-300);
}

.card-rating .stars { letter-spacing: 1px; }
.card-rating .count { color: var(--gray-500); margin-left: 2px; }

.btn-inspect {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  color: var(--navy-900);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  transition: all var(--transition);
  border: none;
  cursor: pointer;
}

.btn-inspect:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-200));
  transform: translateX(2px);
  color: var(--navy-900);
}

.btn-inspect svg { width: 12px; height: 12px; transition: transform var(--transition); }
.btn-inspect:hover svg { transform: translateX(3px); }

/* ── Empty State ── */
.empty-state {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 20px;
  color: var(--gray-500);
}
.empty-state .icon { font-size: 3rem; margin-bottom: 16px; opacity: 0.4; }
.empty-state p { font-size: 0.95rem; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  letter-spacing: 0.3px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  color: var(--navy-900);
}
.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-200));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,67,0.35);
  color: var(--navy-900);
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--glass-border);
  color: var(--gray-200);
}
.btn-outline:hover {
  border-color: var(--gold-400);
  color: var(--gold-300);
  background: rgba(212,168,67,0.06);
}

.btn-ghost {
  background: transparent;
  color: var(--gray-400);
  padding: 10px 18px;
}
.btn-ghost:hover { color: var(--gold-300); background: rgba(212,168,67,0.08); }

.btn-danger {
  background: rgba(220, 38, 38, 0.15);
  border: 1px solid rgba(220,38,38,0.3);
  color: #f87171;
}
.btn-danger:hover { background: rgba(220,38,38,0.25); }

.btn-sm { padding: 7px 16px; font-size: 0.8rem; }
.btn-lg { padding: 16px 40px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ── Product Detail Page ── */
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--gray-400);
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 32px;
  padding: 8px 0;
  transition: color var(--transition);
  cursor: pointer;
  border: none;
  background: none;
}
.detail-back:hover { color: var(--gold-300); }

.product-detail { padding: 40px 0 80px; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.detail-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--navy-800);
  aspect-ratio: 4/3;
  position: relative;
}

.detail-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

.detail-image-placeholder {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 12px; color: var(--gray-500); font-size: 4rem;
}

.detail-image-placeholder span {
  font-size: 0.8rem; font-family: var(--font-body);
  letter-spacing: 2px; text-transform: uppercase;
}

.detail-content {}

.detail-category {
  display: inline-block;
  background: rgba(212,168,67,0.1);
  border: 1px solid rgba(212,168,67,0.25);
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.detail-title {
  margin-bottom: 16px;
  color: var(--white);
}

.detail-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--gold-300);
}
.detail-rating .label { color: var(--gray-500); font-size: 0.82rem; }

.detail-description {
  color: var(--gray-200);
  line-height: 1.8;
  font-size: 0.95rem;
  margin-bottom: 32px;
  white-space: pre-wrap;
}

.buy-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin-bottom: 32px;
}

.buy-box-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.buy-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  color: var(--navy-900);
  font-weight: 700;
  font-size: 1rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  text-decoration: none;
}
.buy-btn:hover {
  background: linear-gradient(135deg, var(--gold-300), var(--gold-200));
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(212,168,67,0.4);
  color: var(--navy-900);
}

.buy-btn-disabled {
  background: var(--navy-700);
  color: var(--gray-500);
  cursor: not-allowed;
  transform: none !important;
  box-shadow: none !important;
}

/* ── Share Box ── */
.share-box {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 32px;
}

.share-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-400);
}

.share-buttons {
  display: flex;
  gap: 12px;
}

.btn-share {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--gray-200);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-share:hover {
  background: rgba(212,168,67,0.1);
  color: var(--gold-300);
  border-color: rgba(212,168,67,0.3);
  transform: translateY(-2px);
}

.btn-share svg {
  width: 18px;
  height: 18px;
}

/* ── Comments Section ── */
.comments-section {
  margin-top: 60px;
  padding-top: 60px;
  border-top: 1px solid var(--glass-border);
}

.comments-section h2 { margin-bottom: 8px; }
.comments-section > p { color: var(--gray-500); font-size: 0.875rem; margin-bottom: 40px; }

.comment-list { margin-bottom: 48px; }

.comment-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
  position: relative;
}

.comment-card::before {
  content: '"';
  position: absolute;
  top: 12px; left: 20px;
  font-size: 2.5rem;
  color: var(--gold-400);
  font-family: var(--font-display);
  line-height: 1;
  opacity: 0.4;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.comment-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-600), var(--navy-500));
  border: 1.5px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; font-weight: 600;
  color: var(--gold-300);
  font-family: var(--font-display);
  flex-shrink: 0;
}

.comment-meta {}
.comment-author { font-weight: 600; font-size: 0.9rem; color: var(--white); }
.comment-date { font-size: 0.75rem; color: var(--gray-500); margin-top: 2px; }

.comment-text {
  color: var(--gray-200);
  font-size: 0.9rem;
  line-height: 1.7;
  padding-left: 0;
  white-space: pre-wrap;
}

.comment-empty {
  text-align: center;
  padding: 40px;
  color: var(--gray-500);
  font-size: 0.9rem;
}
.comment-empty .icon { font-size: 2rem; margin-bottom: 8px; opacity: 0.4; }

/* ── Comment Form ── */
.comment-form-section {}
.comment-form-section h3 { margin-bottom: 6px; }
.comment-form-section > p { font-size: 0.85rem; color: var(--gray-500); margin-bottom: 28px; }

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group { margin-bottom: 16px; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.form-input, .form-textarea {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1.5px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 12px 16px;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
  -webkit-appearance: none;
}

.form-input:focus, .form-textarea:focus {
  border-color: var(--gold-400);
  background: rgba(212,168,67,0.04);
}

.form-input::placeholder, .form-textarea::placeholder { color: var(--gray-500); }

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-notice {
  font-size: 0.78rem;
  color: var(--gray-500);
  margin-top: 10px;
  display: flex;
  align-items: center;
  gap: 5px;
}

/* ── Toast ── */
.toast-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: var(--navy-700);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow-card);
  animation: toastIn 0.35s ease;
  max-width: 320px;
}

.toast.success { border-left: 3px solid #4ade80; }
.toast.error   { border-left: 3px solid #f87171; }
.toast.info    { border-left: 3px solid var(--gold-400); }

@keyframes toastIn {
  from { opacity: 0; transform: translateX(20px) scale(0.95); }
  to   { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes toastOut {
  to { opacity: 0; transform: translateX(20px) scale(0.95); }
}

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--glass-border);
  padding: 32px 0;
  text-align: center;
  position: relative;
  z-index: 1;
}

.footer-text {
  font-size: 0.82rem;
  color: var(--gray-500);
}

.footer-text a { color: var(--gold-400); font-weight: 500; }
.footer-text a:hover { color: var(--gold-300); }

/* ── Admin Login ── */
.login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 48px 44px;
  width: 100%;
  max-width: 420px;
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-card);
  text-align: center;
}

.login-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-300));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 24px;
}

.login-card h1 { font-size: 1.6rem; margin-bottom: 6px; }
.login-card p  { font-size: 0.875rem; color: var(--gray-500); margin-bottom: 32px; }

.login-error {
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.3);
  color: #f87171;
  font-size: 0.82rem;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  display: none;
}
.login-error.show { display: block; }

/* ── Admin Layout ── */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: calc(100vh - 70px);
}

.admin-sidebar {
  background: rgba(5,8,15,0.6);
  border-right: 1px solid var(--glass-border);
  padding: 28px 0;
  position: sticky;
  top: 70px;
  height: calc(100vh - 70px);
  overflow-y: auto;
}

.sidebar-section { margin-bottom: 8px; }

.sidebar-label {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: 8px 24px 4px;
}

.sidebar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 24px;
  color: var(--gray-400);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  border-left: 2px solid transparent;
}

.sidebar-item:hover { color: var(--white); background: rgba(255,255,255,0.04); }

.sidebar-item.active {
  color: var(--gold-300);
  background: rgba(212,168,67,0.08);
  border-left-color: var(--gold-400);
}

.sidebar-item .badge {
  margin-left: auto;
  background: var(--gold-400);
  color: var(--navy-900);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 50px;
  min-width: 20px;
  text-align: center;
}

.admin-main { padding: 36px 40px; }

.admin-panel { display: none; }
.admin-panel.active { display: block; }

.panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
}

.panel-header h2 { font-size: 1.5rem; }
.panel-header p  { color: var(--gray-500); font-size: 0.85rem; margin-top: 4px; }

/* ── Admin Cards / Tables ── */
.admin-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 24px;
}

.admin-card h3 {
  font-size: 1rem;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  gap: 8px;
}

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

.product-table th {
  text-align: left;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  padding: 10px 14px;
  border-bottom: 1px solid var(--glass-border);
}

.product-table td {
  padding: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-size: 0.875rem;
  color: var(--gray-200);
  vertical-align: middle;
}

.product-table tr:last-child td { border-bottom: none; }

.product-table tr:hover td { background: rgba(255,255,255,0.02); }

.product-thumb {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--navy-800);
  border: 1px solid var(--glass-border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  flex-shrink: 0;
}

.product-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.table-actions { display: flex; gap: 8px; }

/* ── Admin Form Modal ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(5,8,15,0.8);
  backdrop-filter: blur(8px);
  z-index: 200;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }

.modal-box {
  background: var(--navy-800);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  width: 100%; max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.95) translateY(10px);
  transition: transform var(--transition);
  box-shadow: var(--shadow-hover);
}
.modal-overlay.open .modal-box { transform: scale(1) translateY(0); }

.modal-header {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  border-bottom: 1px solid var(--glass-border);
}
.modal-header h3 { font-size: 1.15rem; }

.modal-close {
  width: 32px; height: 32px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--gray-400);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: all var(--transition);
}
.modal-close:hover { color: var(--white); border-color: var(--gray-400); }

.modal-body { padding: 28px; }

.modal-footer {
  display: flex; justify-content: flex-end; gap: 12px;
  padding: 20px 28px;
  border-top: 1px solid var(--glass-border);
}

/* ── Comment review ── */
.comment-review-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  margin-bottom: 16px;
}

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

.review-info .name { font-weight: 600; font-size: 0.9rem; }
.review-info .sub { font-size: 0.75rem; color: var(--gray-500); margin-top: 2px; }

.review-actions { display: flex; gap: 8px; }

.review-text {
  font-size: 0.875rem;
  color: var(--gray-200);
  line-height: 1.65;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  border-radius: var(--radius-sm);
  border-left: 2px solid var(--glass-border);
}

.status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 50px;
}
.status-badge.pending  { background: rgba(251,191,36,0.15); color: #fbbf24; border: 1px solid rgba(251,191,36,0.25); }
.status-badge.approved { background: rgba(74,222,128,0.1);  color: #4ade80; border: 1px solid rgba(74,222,128,0.2); }
.status-badge.rejected { background: rgba(248,113,113,0.1); color: #f87171; border: 1px solid rgba(248,113,113,0.2); }

/* ── Stats cards ── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}

.stat-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 22px;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 10px;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.stat-sub { font-size: 0.78rem; color: var(--gray-500); margin-top: 4px; }

/* ── Animations ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeInUp 0.5s ease both;
}

.fade-up-1 { animation-delay: 0.1s; }
.fade-up-2 { animation-delay: 0.2s; }
.fade-up-3 { animation-delay: 0.3s; }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .admin-layout { grid-template-columns: 220px 1fr; }
  .admin-main { padding: 28px 24px; }
  .detail-grid { grid-template-columns: 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .header-nav { display: none; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .page-hero { padding: 48px 0 40px; }
  .login-card { padding: 36px 28px; }
  .modal-box { max-width: 100%; }
  .section-meta { flex-direction: column; align-items: flex-start; gap: 8px; }
}

@media (max-width: 480px) {
  .products-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .container { padding: 0 16px; }
  .admin-main { padding: 20px 16px; }
  .btn-lg { padding: 14px 28px; }
  .detail-grid { gap: 24px; }
}

/* ── Honeypot — insanlara görünmez, botlara görünür ── */
.hp-field {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  tab-index: -1;
}

/* ── CAPTCHA grubu ── */
.captcha-group {
  background: rgba(212,168,67,0.04);
  border: 1px solid rgba(212,168,67,0.15);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.captcha-group .form-label {
  font-size: 0.85rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gray-300);
}

/* ── Upload Zone ── */
.upload-zone {
  width: 100%;
  min-height: 180px;
  border: 2px dashed var(--glass-border);
  border-radius: var(--radius-md);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition), background var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-zone:hover,
.upload-zone:focus-within {
  border-color: var(--gold-400);
  background: rgba(212,168,67,0.04);
}

.upload-zone.drag-over {
  border-color: var(--gold-300);
  background: rgba(212,168,67,0.08);
  transform: scale(1.01);
}

.upload-zone.uploading {
  pointer-events: none;
  opacity: 0.7;
}

.upload-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 32px 20px;
  text-align: center;
  pointer-events: none;
  width: 100%;
}

.upload-icon {
  font-size: 2.2rem;
  opacity: 0.5;
  margin-bottom: 4px;
}

.upload-text {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-300);
}

.upload-sub {
  font-size: 0.75rem;
  color: var(--gray-500);
}

.upload-preview {
  width: 100%;
  height: 100%;
  min-height: 180px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upload-preview img {
  width: 100%;
  height: 100%;
  min-height: 180px;
  object-fit: contain;
  object-position: center;
  display: block;
  background: var(--navy-800);
}

.upload-remove {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  background: rgba(10,15,30,0.85);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  color: var(--gray-300);
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  z-index: 2;
}

.upload-remove:hover {
  background: rgba(248,113,113,0.2);
  border-color: #f87171;
  color: #f87171;
}

/* ── Author Card ── */
.author-card {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-top: 32px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(212,168,67,0.2);
  border-radius: 60px;
  padding: 10px 20px 10px 10px;
  backdrop-filter: blur(8px);
}

.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-400), var(--gold-200));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
  flex-shrink: 0;
}

.author-avatar-img {
  object-fit: cover;
  border: 2px solid rgba(212,168,67,0.4);
}

.author-info {}

.author-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 2px;
}

.author-name {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gold-300);
  transition: color var(--transition);
}

.author-name:hover { color: var(--gold-100); }

.author-name svg {
  width: 12px; height: 12px;
  opacity: 0.7;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--navy-900); }
::-webkit-scrollbar-thumb { background: var(--navy-600); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--navy-500); }

/* ── Mobile Nav Toggle ── */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--gray-200);
  border-radius: 2px;
  transition: all var(--transition);
}

@media (max-width: 768px) {
  .mobile-menu-btn { display: flex; }
  
  .mobile-nav {
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(10,15,30,0.97);
    border-bottom: 1px solid var(--glass-border);
    padding: 16px;
    display: none;
    flex-direction: column;
    gap: 4px;
    z-index: 99;
    backdrop-filter: blur(16px);
  }
  .mobile-nav.open { display: flex; }
  .mobile-nav .nav-link { padding: 12px 16px; }
}

/* ── Admin Mobile Nav ── */
.admin-mobile-nav {
  display: none;
  background: var(--navy-950);
  border-bottom: 1px solid var(--glass-border);
  padding: 12px 16px;
  overflow-x: auto;
  gap: 8px;
}

@media (max-width: 768px) {
  .admin-mobile-nav { display: flex; }
  .admin-mobile-nav .sidebar-item {
    white-space: nowrap;
    border-left: none;
    border-bottom: 2px solid transparent;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
  }
  .admin-mobile-nav .sidebar-item.active {
    border-bottom-color: var(--gold-400);
    background: rgba(212,168,67,0.08);
  }
}

/* ── Number/Order Badge ── */
.order-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px; height: 24px;
  background: rgba(212,168,67,0.12);
  border: 1px solid rgba(212,168,67,0.2);
  color: var(--gold-300);
  font-size: 0.72rem;
  font-weight: 700;
  border-radius: 50%;
}
