:root {
  --bg-main: #06070a;
  --bg-surface: #0c0f17;
  --bg-card: rgba(14, 18, 28, 0.75);
  --bg-card-hover: rgba(20, 26, 40, 0.95);
  --bg-input: #101420;
  --border: rgba(255, 255, 255, 0.08);
  --border-emerald: #10b981;
  --border-focus: #10b981;

  --accent-primary: #10b981; /* Bank Emerald */
  --accent-primary-hover: #059669;
  --accent-cyan: #06b6d4;
  --accent-cyan-hover: #0891b2;
  --accent-purple: #8b5cf6;
  --accent-rose: #f43f5e;
  --accent-amber: #f59e0b;

  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.5);
  --shadow-glow-emerald: 0 0 25px rgba(16, 185, 129, 0.25);
  --shadow-glow-cyan: 0 0 25px rgba(6, 182, 212, 0.25);
  --shadow-glow-purple: 0 0 25px rgba(139, 92, 246, 0.25);
  --transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  background-image: 
    radial-gradient(circle at 10% 10%, rgba(16, 185, 129, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(6, 182, 212, 0.09) 0%, transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.06) 0%, transparent 50%);
  background-attachment: fixed;
}

/* =========================================
   NAVBAR
========================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 2rem;
  background: rgba(10, 13, 20, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  cursor: pointer;
}

.brand-logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-glow-emerald);
  color: #fff;
  font-weight: 900;
  font-size: 1.25rem;
  position: relative;
  overflow: hidden;
}

.brand-logo-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transform: rotate(30deg);
  animation: shine 4s infinite;
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(90deg, #ffffff, #6ee7b7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--accent-primary);
  font-weight: 800;
}

.nav-tabs {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(18, 24, 38, 0.65);
  padding: 0.3rem 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
}

.nav-tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition);
}

.nav-tab-btn:hover {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-tab-btn.active {
  color: #fff;
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.85), rgba(6, 182, 212, 0.75));
  box-shadow: 0 2px 14px rgba(16, 185, 129, 0.4);
}

.admin-nav-pill {
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-amber);
  border: 1px solid rgba(245, 158, 11, 0.4);
  border-radius: var(--radius-full);
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cart-toggle-btn {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.cart-toggle-btn:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.25);
  transform: translateY(-1px);
}

.cart-badge {
  background: linear-gradient(135deg, var(--accent-primary), var(--accent-cyan));
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
}

/* User Profile & Auth */
.auth-buttons-wrapper {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-profile-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-main);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.user-profile-btn:hover {
  border-color: var(--accent-primary);
}

.user-avatar {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, #10b981, #06b6d4);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.8rem;
  color: #fff;
}

.user-name-text {
  font-size: 0.9rem;
  font-weight: 600;
}

.user-role-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.45rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-primary);
  border: 1px solid rgba(16, 185, 129, 0.4);
  text-transform: uppercase;
}

.user-role-badge.admin-tag {
  background: linear-gradient(90deg, rgba(245, 158, 11, 0.25), rgba(239, 68, 68, 0.2));
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.2);
}

/* Dropdown Menu */
.user-menu-dropdown {
  position: absolute;
  top: 100%;
  right: 2rem;
  margin-top: 0.5rem;
  background: #0f131d;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 35px rgba(0,0,0,0.7);
  width: 230px;
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  z-index: 150;
  backdrop-filter: blur(16px);
}

.user-menu-dropdown.show {
  display: flex;
}

.dropdown-header {
  padding: 0.65rem 0.75rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.35rem;
}

.dropdown-user-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: #fff;
}

.dropdown-user-role {
  font-size: 0.75rem;
  color: var(--text-secondary);
  margin-top: 2px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 0.75rem;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.88rem;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  font-family: inherit;
  transition: var(--transition);
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
}

.dropdown-item.danger:hover {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
}

/* =========================================
   LAYOUT & CONTAINER
========================================= */
.container {
  max-width: 1260px;
  margin: 0 auto;
  padding: 2.25rem 2rem;
  width: 100%;
}

.tab-content {
  display: none;
  animation: fadeIn 0.25s ease-out;
}

.tab-content.active {
  display: block;
}

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

/* =========================================
   BUTTONS & FORM CONTROLS
========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, #10b981, #059669);
  color: #fff;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #34d399, #10b981);
  box-shadow: 0 6px 22px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

.btn-cyan {
  background: linear-gradient(135deg, var(--accent-cyan), #0284c7);
  color: #fff;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.btn-cyan:hover {
  background: linear-gradient(135deg, #22d3ee, #0369a1);
  box-shadow: 0 6px 20px rgba(6, 182, 212, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-main);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-danger {
  background: rgba(244, 63, 94, 0.15);
  color: var(--accent-rose);
  border: 1px solid rgba(244, 63, 94, 0.3);
}

.btn-danger:hover {
  background: rgba(244, 63, 94, 0.3);
  border-color: var(--accent-rose);
}

.btn-sm {
  padding: 0.42rem 0.85rem;
  font-size: 0.82rem;
  border-radius: var(--radius-sm);
}

.btn-block {
  width: 100%;
}

.input-group {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.input-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.input-control {
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  color: var(--text-main);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
}

.input-control:focus {
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
}

textarea.input-control {
  resize: vertical;
  min-height: 90px;
}

/* =========================================
   HOME TAB (TAB 1) - DONUTSHOP VAULT
========================================= */
.hero-section {
  position: relative;
  padding: 5rem 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.9) 0%, rgba(9, 12, 20, 0.98) 100%);
  border: 1px solid rgba(16, 185, 129, 0.25);
  overflow: hidden;
  box-shadow: var(--shadow-subtle), 0 0 40px rgba(16, 185, 129, 0.08);
  margin-bottom: 3.5rem;
  text-align: center;
}

.hero-glow-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.22;
  pointer-events: none;
}

.hero-glow-1 {
  background: var(--accent-primary);
  top: -160px;
  left: 15%;
}

.hero-glow-2 {
  background: var(--accent-cyan);
  bottom: -160px;
  right: 15%;
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #6ee7b7;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.4rem 1.1rem;
  border-radius: var(--radius-full);
  margin-bottom: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.2);
}

.hero-title {
  font-size: clamp(2.3rem, 5.5vw, 4.2rem);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, #ffffff 40%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-title span.highlight {
  background: linear-gradient(90deg, #10b981, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 2.5rem auto;
  line-height: 1.6;
}

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

/* Home Stats Section */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem 1.4rem;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: var(--transition);
}

.stat-card:hover {
  border-color: rgba(16, 185, 129, 0.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow-emerald);
}

.stat-card:hover::before {
  opacity: 1;
}

.stat-value {
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  font-weight: 700;
}

/* Curators Showcase */
.curators-section {
  margin-bottom: 4.5rem;
}

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

.section-title {
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.5px;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-top: 0.35rem;
}

.curator-cards-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.curator-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.curator-card:hover {
  border-color: var(--accent-primary);
  box-shadow: var(--shadow-glow-emerald);
}

.curator-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.curator-avatar-large {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, #10b981, #06b6d4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
}

.curator-name {
  font-size: 1.35rem;
  font-weight: 900;
}

.curator-role-pill {
  font-size: 0.72rem;
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.curator-bio {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 4rem;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.85rem;
  transition: var(--transition);
}

.feature-box:hover {
  border-color: rgba(16, 185, 129, 0.3);
  transform: translateY(-2px);
}

.feature-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.1rem;
}

.feature-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.feature-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* =========================================
   SHOP TAB (TAB 2)
========================================= */
.shop-toolbar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.4rem 1.6rem;
  margin-bottom: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.shop-search-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.search-input-wrapper {
  flex: 1;
  min-width: 270px;
  position: relative;
}

.search-input-wrapper input {
  width: 100%;
  padding-left: 2.6rem;
}

.search-icon-inside {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.shop-sort-select {
  min-width: 190px;
}

.categories-pills-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.category-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.45rem 1.15rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.category-pill:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
}

.category-pill.active {
  background: var(--accent-primary);
  border-color: var(--accent-primary);
  color: #fff;
  box-shadow: 0 2px 12px rgba(16, 185, 129, 0.4);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.85rem;
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
}

.product-card:hover {
  border-color: rgba(16, 185, 129, 0.45);
  transform: translateY(-5px);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), var(--shadow-glow-emerald);
}

.product-image-container {
  position: relative;
  width: 100%;
  padding-top: 65%; /* 16:10 aspect ratio for digital items / accs */
  background: #090c14;
  overflow: hidden;
}

.product-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img {
  transform: scale(1.08);
}

.badge-tag {
  position: absolute;
  top: 0.85rem;
  left: 0.85rem;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  backdrop-filter: blur(8px);
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0,0,0,0.5);
}

.badge-tag.instantkey,
.badge-tag.instantdelivery,
.badge-tag.automated {
  background: rgba(16, 185, 129, 0.88);
  color: #fff;
}

.badge-tag.fullaccess,
.badge-tag.verifiedoge {
  background: rgba(6, 182, 212, 0.88);
  color: #fff;
}

.badge-tag.bestseller {
  background: rgba(245, 158, 11, 0.88);
  color: #fff;
}

.badge-tag.oggrail,
.badge-tag.rarelocker {
  background: linear-gradient(135deg, #ec4899, #8b5cf6);
  color: #fff;
}

.curator-tag-overlay {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(8, 11, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
  color: var(--accent-primary);
  font-weight: 800;
  z-index: 2;
}

.product-body {
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-category {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  font-weight: 800;
  margin-bottom: 0.35rem;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 0.5rem;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-desc-snippet {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.48;
  margin-bottom: 1.1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-meta-row {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid var(--border);
}

.product-price {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
}

.product-stock {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent-primary);
}

.product-stock.out-of-stock {
  color: var(--accent-rose);
}

.product-actions-row {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.product-actions-row .btn {
  flex: 1;
}

/* Admin Card Controls */
.admin-card-controls {
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px dashed rgba(245, 158, 11, 0.35);
  display: flex;
  gap: 0.5rem;
}

.admin-card-controls .btn {
  flex: 1;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 4.5rem 2rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  grid-column: 1 / -1;
}

.empty-state-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  opacity: 0.6;
}

/* =========================================
   LISTINGS TAB (ADMIN ONLY)
========================================= */
.admin-banner {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.12));
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 1.6rem 2.2rem;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), var(--shadow-glow-emerald);
}

.admin-banner-text h2 {
  font-size: 1.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  letter-spacing: -0.5px;
}

.admin-banner-text p {
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.admin-stats-overview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.admin-stat-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.4rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  transition: var(--transition);
}

.admin-stat-box:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.admin-stat-box .icon-wrap {
  font-size: 1.85rem;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.admin-stat-box .title {
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 800;
  letter-spacing: 0.6px;
  margin-bottom: 0.25rem;
}

.admin-stat-box .number {
  font-size: 1.65rem;
  font-weight: 900;
  color: #fff;
}

.listings-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
}

.table-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.6rem;
  border-bottom: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  flex-wrap: wrap;
  gap: 1rem;
}

.table-header-title {
  font-size: 1.15rem;
  font-weight: 900;
}

.table-header-sub {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-top: 0.15rem;
}

.table-header-filters {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.admin-search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}

.admin-search-wrapper svg {
  position: absolute;
  left: 0.75rem;
  color: var(--text-muted);
  pointer-events: none;
}

.admin-search-wrapper input {
  padding-left: 2.2rem;
  min-width: 200px;
}

.input-sm {
  padding: 0.45rem 0.75rem;
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
}

.stock-pill {
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  display: inline-block;
}

.stock-ok {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
}

.stock-low {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
}

.stock-empty {
  background: rgba(244, 63, 94, 0.15);
  color: #fda4af;
  border: 1px solid rgba(244, 63, 94, 0.35);
}

.curator-name-tag {
  font-size: 0.8rem;
  font-weight: 800;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.08);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.listings-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.listings-table th {
  padding: 1rem 1.35rem;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.listings-table td {
  padding: 1rem 1.35rem;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.listings-table tr:hover {
  background: rgba(255, 255, 255, 0.025);
}

.table-product-cell {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.table-thumb {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  border: 1px solid var(--border);
}

.table-product-info .title {
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
}

.table-product-info .cat {
  font-size: 0.75rem;
  color: var(--accent-cyan);
  font-weight: 700;
}

.table-actions-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Access Denied */
.access-denied-box {
  text-align: center;
  padding: 5rem 2rem;
  background: var(--bg-card);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-lg);
  max-width: 650px;
  margin: 3.5rem auto;
}

.access-denied-icon {
  font-size: 3.5rem;
  margin-bottom: 1.25rem;
  color: var(--accent-rose);
}

/* =========================================
   MODALS & DRAWERS
========================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(4, 6, 10, 0.88);
  backdrop-filter: blur(12px);
  z-index: 500;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.show {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

.modal-window {
  background: #0f131f;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), var(--shadow-glow-emerald);
  position: relative;
  display: flex;
  flex-direction: column;
}

.modal-window.large {
  max-width: 800px;
}

.modal-window.extra-large {
  max-width: 1040px;
}

.listing-modal-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 860px) {
  .listing-modal-layout {
    grid-template-columns: 1fr;
  }
}

.listing-modal-preview {
  background: rgba(8, 12, 20, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
  position: sticky;
  top: 1rem;
}

.preview-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-secondary);
  margin-bottom: 1.1rem;
}

.preview-badge {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.68rem;
  font-weight: 800;
}

.preview-card {
  pointer-events: none;
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), var(--shadow-glow-emerald);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.35rem 1.85rem;
  border-bottom: 1px solid var(--border);
}

.modal-title {
  font-size: 1.3rem;
  font-weight: 900;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.modal-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.modal-body {
  padding: 1.85rem;
}

.auth-mode-tabs {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.3rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.35rem;
  border: 1px solid var(--border);
}

.auth-mode-tab {
  flex: 1;
  text-align: center;
  padding: 0.55rem;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.auth-mode-tab.active {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(16, 185, 129, 0.35);
}

.auth-security-note {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.28);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

.auth-security-note b {
  color: #6ee7b7;
  display: block;
  margin-bottom: 0.15rem;
}

.security-badge-icon {
  font-size: 1.3rem;
  flex-shrink: 0;
}

.security-indicator-pill {
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.admin-key-input {
  border-color: rgba(16, 185, 129, 0.6) !important;
  background: rgba(16, 185, 129, 0.06) !important;
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15) !important;
}

.field-subtext {
  font-size: 0.75rem;
  color: #6ee7b7;
  margin-top: 0.35rem;
  font-weight: 500;
}

.image-presets-row {
  display: flex;
  gap: 0.65rem;
  overflow-x: auto;
  padding-bottom: 0.6rem;
  margin-top: 0.6rem;
}

.preset-thumb-btn {
  width: 72px;
  height: 64px;
  position: relative;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  overflow: hidden;
  cursor: pointer;
  padding: 0;
  background: #000;
  flex-shrink: 0;
  transition: var(--transition);
}

.preset-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.preset-thumb-btn .preset-label-mini {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.85);
  font-size: 0.6rem;
  color: #e2e8f0;
  font-weight: 700;
  padding: 0.15rem 0.25rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
}

.preset-thumb-btn:hover,
.preset-thumb-btn.selected {
  border-color: var(--accent-primary);
  box-shadow: 0 0 12px rgba(16, 185, 129, 0.6);
  transform: scale(1.03);
}

/* =========================================
   UPLOAD DROPZONE & MODE TOGGLE
========================================= */
.upload-mode-toggle {
  display: flex;
  background: rgba(255, 255, 255, 0.04);
  padding: 0.2rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border);
  gap: 0.25rem;
}

.upload-toggle-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.upload-toggle-btn.active {
  background: var(--accent-primary);
  color: #fff;
  box-shadow: 0 2px 8px rgba(16, 185, 129, 0.4);
}

.image-dropzone {
  border: 2px dashed rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.03);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.image-dropzone:hover,
.image-dropzone.dragover {
  border-color: var(--accent-primary);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.2);
  transform: translateY(-1px);
}

.dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.dropzone-icon {
  font-size: 2.2rem;
  filter: drop-shadow(0 2px 8px rgba(16, 185, 129, 0.4));
}

.dropzone-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
}

.dropzone-sub {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
}

.dropzone-preview {
  position: relative;
  width: 100%;
  max-height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
}

.dropzone-preview img {
  width: 100%;
  max-height: 180px;
  object-fit: cover;
  display: block;
}

.dropzone-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s ease;
  color: #fff;
  font-weight: 800;
  font-size: 0.85rem;
}

.image-dropzone:hover .dropzone-overlay {
  opacity: 1;
}

/* =========================================
   STRIPE BADGE & CHECKOUT STYLING
========================================= */
.nav-stripe-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 800;
  color: #6ee7b7;
  letter-spacing: 0.3px;
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 10px #10b981;
  animation: pulse-glow 2s infinite ease-in-out;
}

@keyframes pulse-glow {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.35);
    opacity: 0.6;
  }
}

.hero-ticker-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: var(--transition);
}

.ticker-item:hover {
  border-color: rgba(16, 185, 129, 0.35);
  color: #fff;
  transform: translateY(-1px);
}

.stripe-badge-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(16, 185, 129, 0.06);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 0.65rem 0.95rem;
  margin-bottom: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
  flex-wrap: wrap;
}

.pay-method-pill {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.15rem 0.55rem;
  border-radius: var(--radius-sm);
}

.checkout-summary-box {
  background: rgba(0, 0, 0, 0.45);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.35rem;
  border: 1px solid rgba(16, 185, 129, 0.25);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.stripe-checkout-btn {
  background: linear-gradient(135deg, #635bff, #10b981) !important;
  font-size: 1.05rem !important;
  font-weight: 900 !important;
  padding: 0.95rem 1.5rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 0.6rem !important;
  box-shadow: 0 4px 20px rgba(99, 91, 255, 0.4), 0 0 15px rgba(16, 185, 129, 0.3) !important;
  letter-spacing: -0.2px;
}

.stripe-checkout-btn:hover {
  background: linear-gradient(135deg, #7a73ff, #059669) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(99, 91, 255, 0.5), 0 0 25px rgba(16, 185, 129, 0.4) !important;
}

/* Enhanced Product Card Aesthetics */
.product-card {
  background: rgba(14, 18, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.product-card:hover {
  border-color: rgba(16, 185, 129, 0.4);
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.6), 0 0 25px rgba(16, 185, 129, 0.18);
}

.product-image-container {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
  background: #06080d;
}

.product-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img {
  transform: scale(1.06);
}

/* =========================================
   CART DRAWER
========================================= */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 600;
  display: none;
}

.cart-drawer-overlay.show {
  display: block;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -440px;
  width: 100%;
  max-width: 440px;
  height: 100vh;
  background: #0e121d;
  border-left: 1px solid var(--border);
  z-index: 650;
  display: flex;
  flex-direction: column;
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 45px rgba(0, 0, 0, 0.8);
}

.cart-drawer.open {
  right: 0;
}

.cart-drawer-header {
  padding: 1.35rem 1.6rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-items-list {
  flex: 1;
  overflow-y: auto;
  padding: 1.35rem 1.6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item-card {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.9rem;
}

.cart-item-thumb {
  width: 70px;
  height: 70px;
  border-radius: var(--radius-sm);
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.cart-item-title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.3;
}

.cart-item-price {
  font-size: 1rem;
  font-weight: 900;
  color: var(--accent-primary);
}

.cart-item-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 0.5rem;
}

.qty-control-wrapper {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.qty-btn {
  background: transparent;
  border: none;
  color: #fff;
  padding: 0.2rem 0.6rem;
  cursor: pointer;
  font-weight: 800;
}

.qty-val {
  padding: 0 0.4rem;
  font-size: 0.85rem;
  font-weight: 800;
}

.cart-item-remove-btn {
  background: transparent;
  border: none;
  color: var(--accent-rose);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
}

.cart-drawer-footer {
  padding: 1.6rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.25);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.cart-total-row.final {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  margin-bottom: 1.35rem;
}

/* =========================================
   TOAST NOTIFICATIONS
========================================= */
.toast-container {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  min-width: 290px;
  max-width: 400px;
  background: #111522;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 0.95rem 1.35rem;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.7);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  animation: slideInRight 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.toast.success {
  border-left: 4px solid var(--accent-primary);
}

.toast.error {
  border-left: 4px solid var(--accent-rose);
}

.toast.info {
  border-left: 4px solid var(--accent-cyan);
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(30px); }
  to { opacity: 1; transform: translateX(0); }
}

/* =========================================
   FOOTER
========================================= */
.footer {
  margin-top: auto;
  border-top: 1px solid var(--border);
  background: rgba(8, 10, 16, 0.95);
  padding: 3.5rem 2rem 2rem 2rem;
}

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

.footer-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand h4 {
  font-size: 1.3rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  color: #fff;
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  max-width: 340px;
  line-height: 1.5;
}

.footer-links-group {
  display: flex;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.footer-col h5 {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.85rem;
  letter-spacing: 0.8px;
}

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-col a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 768px) {
  .navbar {
    padding: 0.75rem 1rem;
  }
  .nav-tabs {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    border-radius: 0;
    justify-content: space-around;
    background: #090c14;
    z-index: 100;
    padding: 0.5rem;
  }
  .container {
    padding: 1rem;
    padding-bottom: 5.5rem;
  }
  .hero-section {
    padding: 3rem 1.25rem;
  }
  .cart-drawer {
    width: 100%;
  }
}

/* =========================================
   DELIVERY PAYLOAD & FULFILLMENT STYLES
========================================= */
.delivery-config-box {
  background: rgba(16, 22, 34, 0.7);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 1.15rem;
  margin-top: 1rem;
}

.delivery-config-header {
  margin-bottom: 0.85rem;
}

.delivery-type-nav {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1rem;
  background: rgba(0, 0, 0, 0.35);
  padding: 0.3rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.del-type-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.del-type-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.05);
}

.del-type-btn.active {
  background: rgba(16, 185, 129, 0.2);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.4);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.15);
}

.del-panel {
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* File Dropzone for Delivery Files (.zip, .exe) */
.file-dropzone {
  border: 2px dashed rgba(16, 185, 129, 0.4);
  background: rgba(16, 185, 129, 0.03);
  border-radius: var(--radius-md);
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.file-dropzone:hover,
.file-dropzone.dragover {
  border-color: var(--accent-primary);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

.file-dropzone-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.file-dropzone-icon {
  font-size: 2.2rem;
}

.file-dropzone-title {
  color: #fff;
  font-weight: 700;
  font-size: 0.92rem;
}

.file-dropzone-sub {
  color: var(--text-secondary);
  font-size: 0.78rem;
}

.file-dropzone-selected {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
}

/* Receipt Modal Delivery Cards */
.receipt-delivery-card {
  background: rgba(16, 22, 34, 0.85);
  border: 1px solid rgba(16, 185, 129, 0.3);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  text-align: left;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.35);
}

.receipt-delivery-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 0.65rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.receipt-item-title {
  font-weight: 800;
  font-size: 1.05rem;
  color: #fff;
}

.receipt-cred-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.85rem;
  margin-bottom: 0.5rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.receipt-cred-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  min-width: 85px;
}

.receipt-cred-value {
  font-family: 'JetBrains Mono', 'Fira Code', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  flex: 1;
  word-break: break-all;
}

.copy-badge-btn {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #6ee7b7;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.copy-badge-btn:hover {
  background: var(--accent-primary);
  color: #000;
}

.receipt-key-box {
  background: rgba(16, 185, 129, 0.08);
  border: 1px solid rgba(16, 185, 129, 0.4);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  font-family: monospace;
  font-size: 1.05rem;
  color: #6ee7b7;
  font-weight: 800;
  word-break: break-all;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.65rem;
}

.receipt-file-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 0.65rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.receipt-instructions-box {
  background: rgba(0, 0, 0, 0.3);
  border-left: 3px solid var(--accent-cyan);
  padding: 0.75rem 1rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-top: 0.65rem;
}

/* =========================================
   FILE SAVES & PC BACKUP VAULT TAB (ADMIN)
========================================= */
.file-dropzone-container {
  position: relative;
  background: rgba(14, 20, 32, 0.65);
  border: 2px dashed rgba(16, 185, 129, 0.35);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  margin-bottom: 2rem;
  cursor: pointer;
}

.file-dropzone-container:hover,
.file-dropzone-container.drag-over {
  border-color: var(--accent-primary);
  background: rgba(16, 185, 129, 0.08);
  box-shadow: 0 0 30px rgba(16, 185, 129, 0.2);
  transform: translateY(-2px);
}

.file-dropzone-container.drag-over .dropzone-icon-wrapper {
  transform: scale(1.15) translateY(-4px);
  color: #10b981;
}

.dropzone-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.dropzone-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dropzone-icon-wrapper {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6ee7b7;
  margin-bottom: 1.25rem;
  transition: transform 0.25s ease;
}

.dropzone-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.3px;
  margin-bottom: 0.5rem;
}

.dropzone-sub {
  color: var(--text-secondary);
  font-size: 0.95rem;
  max-width: 520px;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

.dropzone-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.dropzone-tip {
  font-size: 0.82rem;
  color: #a7f3d0;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.25);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
}

/* Upload Progress Panel */
.upload-progress-panel {
  background: rgba(16, 20, 32, 0.95);
  border: 1px solid var(--accent-primary);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.75rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6), 0 0 20px rgba(16, 185, 129, 0.2);
  animation: fadeIn 0.2s ease-out;
}

.upload-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.upload-bar-track {
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.upload-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #10b981, #06b6d4);
  border-radius: var(--radius-full);
  transition: width 0.15s ease-out;
}

/* Toolbar & Filters */
.file-toolbar {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.file-search-box {
  position: relative;
  display: flex;
  align-items: center;
  flex: 1;
  min-width: 260px;
}

.file-search-box svg {
  position: absolute;
  left: 0.9rem;
  color: var(--text-muted);
  pointer-events: none;
}

.file-search-box input {
  width: 100%;
  padding: 0.6rem 2.2rem 0.6rem 2.4rem;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  color: #fff;
  font-size: 0.88rem;
  transition: var(--transition);
}

.file-search-box input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.25);
}

.clear-search-btn {
  position: absolute;
  right: 0.75rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  display: flex;
  align-items: center;
}

.clear-search-btn:hover {
  color: #fff;
}

.file-filter-chips {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.filter-chip {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}

.filter-chip:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.filter-chip.active {
  background: rgba(16, 185, 129, 0.2);
  border-color: var(--accent-primary);
  color: #6ee7b7;
}

/* File Saves Table */
.file-saves-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.file-saves-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.file-saves-table thead th {
  background: rgba(0, 0, 0, 0.25);
  padding: 0.9rem 1.25rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
  border-bottom: 1px solid var(--border);
}

.file-saves-table tbody tr.file-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  transition: background 0.15s ease;
}

.file-saves-table tbody tr.file-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.file-saves-table td {
  padding: 0.95rem 1.25rem;
  vertical-align: middle;
}

.file-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.file-name-text {
  font-weight: 700;
  color: #fff;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
}

.file-path-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-family: monospace;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 380px;
  margin-top: 0.15rem;
}

.file-size-badge {
  font-family: monospace;
  font-size: 0.82rem;
  color: #6ee7b7;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.25rem 0.55rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.file-type-pill {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(6, 182, 212, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  border: 1px solid rgba(6, 182, 212, 0.25);
  font-family: monospace;
}

.file-actions-group {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
}

.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.download-btn {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border-color: rgba(16, 185, 129, 0.3);
}

.download-btn:hover {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

.delete-btn {
  background: rgba(244, 63, 94, 0.12);
  color: #fb7185;
  border-color: rgba(244, 63, 94, 0.25);
  padding: 0.4rem 0.55rem;
}

.delete-btn:hover {
  background: var(--accent-rose);
  color: #fff;
  border-color: var(--accent-rose);
}

.empty-files-state {
  padding: 4rem 2rem;
  text-align: center;
}
