/* AI Nexus Store Portal Stylesheet - Complete Premium White / Light Theme */

:root {
  /* Page & Surface Backgrounds */
  --bg-page: #f8fafc;
  --bg-surface-white: #ffffff;
  --bg-surface-subtle: #f1f5f9;
  --bg-input-white: #ffffff;
  
  /* Borders */
  --border-light: #e2e8f0;
  --border-light-hover: rgba(29, 106, 245, 0.4);
  --border-focus: #1d6af5;
  
  /* Typography */
  --text-primary: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;
  
  /* Accents */
  --accent-primary: #1d6af5;
  --accent-secondary: #38bdf8;
  --accent-dark: #1e40af;
  --accent-light: #eff6ff;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, #1d6af5 0%, #38bdf8 100%);
  --gradient-text-hero: linear-gradient(135deg, #1d6af5 0%, #0284c7 50%, #38bdf8 100%);
  --gradient-gold: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
  
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(0, 0, 0, 0.06);
  --shadow-card: 0 10px 25px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.03);
  --shadow-card-hover: 0 18px 40px rgba(0, 0, 0, 0.09), 0 0 20px rgba(29, 106, 245, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  background: 
    radial-gradient(ellipse at 20% 30%, rgba(29, 106, 245, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 70%, rgba(56, 189, 248, 0.10) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, rgba(30, 64, 175, 0.12) 0%, transparent 50%),
    #060d1f;
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

.portal-wrapper {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* =========================================================
   TOP ANNOUNCEMENT BAR (CLEAN LIGHT THEME)
   ========================================================= */
.top-announcement {
  background: linear-gradient(90deg, #1e40af 0%, #1d6af5 50%, #38bdf8 100%);
  color: #ffffff;
  text-align: center;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.2px;
  box-shadow: 0 2px 8px rgba(29, 106, 245, 0.2);
}

/* =========================================================
   MAIN NAVIGATION HEADER (CRISP WHITE THEME)
   ========================================================= */
.main-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: linear-gradient(135deg, #060d1f 0%, #0a1628 60%, #0d1f3c 100%);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(29, 106, 245, 0.25);
  box-shadow: 0 2px 20px rgba(6, 13, 31, 0.6), 0 1px 0 rgba(56, 189, 248, 0.1);
}

.header-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(29, 106, 245, 0.35);
}

.brand-info {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
}

.brand-sub {
  font-size: 11px;
  color: var(--accent-primary);
  font-weight: 600;
  letter-spacing: 0.2px;
}

/* Header Search Box */
.header-search {
  flex: 1;
  max-width: 450px;
  position: relative;
  display: flex;
  align-items: center;
}

.header-search svg {
  position: absolute;
  left: 14px;
  color: var(--accent-primary);
  opacity: 0.8;
  pointer-events: none;
}

.header-search input {
  width: 100%;
  padding: 10px 16px 10px 40px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(29, 106, 245, 0.3);
  border-radius: var(--radius-full);
  color: #ffffff;
  font-size: 13px;
  transition: all 0.25s ease;
}

.header-search input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.header-search input:focus {
  outline: none;
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(56, 189, 248, 0.6);
  box-shadow: 0 0 0 3px rgba(29, 106, 245, 0.2);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.25s ease;
  border: none;
}

.secondary-btn {
  background-color: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.secondary-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #ffffff;
}

.primary-btn {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(29, 106, 245, 0.35);
}

.primary-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(56, 189, 248, 0.5);
}

/* =========================================================
   HERO SECTION (CLEAN CRISP WHITE THEME)
   ========================================================= */
.hero-section {
  padding: 65px 24px 50px;
  background: 
    radial-gradient(circle at 50% 15%, rgba(56, 189, 248, 0.07) 0%, transparent 65%),
    radial-gradient(circle at 80% 50%, rgba(29, 106, 245, 0.05) 0%, transparent 55%),
    #ffffff;
  border-bottom: 1px solid var(--border-light);
  border-radius: 0;
  color: var(--text-primary);
  box-shadow: 0 8px 40px rgba(6, 13, 31, 0.35);
}

.hero-container {
  max-width: 1280px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  background-color: rgba(29, 106, 245, 0.08);
  border: 1px solid rgba(29, 106, 245, 0.25);
  color: var(--accent-primary);
  border-radius: var(--radius-full);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 16px;
}

.hero-title {
  font-size: 44px;
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.gradient-text {
  background: var(--gradient-text-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 36px;
}

.hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 28px;
  padding: 16px 32px;
  background: var(--bg-surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-primary);
}

.stat-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 30px;
  background-color: var(--border-light);
}

/* =========================================================
   TOOLBAR & CATEGORIES (CLEAN WHITE / LIGHT THEME)
   ========================================================= */
.toolbar-section {
  padding: 18px 24px;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  position: sticky;
  top: 68px;
  z-index: 90;
  box-shadow: 0 4px 20px rgba(6, 13, 31, 0.25);
}

.toolbar-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.category-pills {
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  max-width: 100%;
  -webkit-overflow-scrolling: touch;
}

.cat-pill {
  padding: 8px 16px;
  background-color: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  color: var(--text-secondary);
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.cat-pill:hover {
  background-color: #e2e8f0;
  color: var(--text-primary);
}

.cat-pill.active {
  background: var(--gradient-primary);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 4px 14px rgba(29, 106, 245, 0.35);
}

.sort-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
}

.sort-wrapper select {
  padding: 8px 14px;
  background-color: var(--bg-surface-white);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.sort-wrapper select:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(29, 106, 245, 0.15);
}

/* =========================================================
   PRODUCTS GRID & WHITE PRODUCT CARDS
   ========================================================= */
.products-section {
  flex: 1;
  padding: 36px 24px 60px;
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  background-color: transparent;
}

.results-header {
  margin-bottom: 24px;
}

.results-count {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 24px;
}

/* White Product Card */
.product-card {
  background-color: var(--bg-surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-primary);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-light-hover);
  box-shadow: var(--shadow-card-hover);
}

.product-card:hover::before {
  opacity: 1;
}

/* Product Card Images */
.product-image-container {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-image-placeholder {
  font-size: 40px;
  opacity: 0.25;
}

.card-top {
  margin-bottom: 16px;
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  flex-wrap: wrap;
  gap: 6px;
}

/* Badges & Tags */
.category-tag {
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.tag-video { background: rgba(99, 102, 241, 0.1); color: #4f46e5; border: 1px solid rgba(99, 102, 241, 0.25); }
.tag-prompts { background: rgba(37, 99, 235, 0.1); color: #2563eb; border: 1px solid rgba(37, 99, 235, 0.25); }
.tag-bots { background: rgba(14, 165, 233, 0.1); color: #0284c7; border: 1px solid rgba(14, 165, 233, 0.25); }
.tag-subs { background: rgba(245, 158, 11, 0.1); color: #d97706; border: 1px solid rgba(245, 158, 11, 0.25); }
.tag-services { background: rgba(16, 185, 129, 0.1); color: #059669; border: 1px solid rgba(16, 185, 129, 0.25); }

.badge-pop {
  font-size: 10px;
  font-weight: 700;
  background: var(--gradient-gold);
  color: #ffffff;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.25);
}

.product-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.35;
}

.product-desc {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  line-height: 1.5;
}

.product-feature-preview {
  list-style: none;
  display: grid;
  gap: 7px;
  margin: 0 0 16px;
  color: var(--text-secondary);
  font-size: 12px;
}

.product-feature-preview li {
  display: flex;
  gap: 8px;
  line-height: 1.35;
}

.product-feature-preview li::before {
  content: '✓';
  color: #059669;
  font-weight: 800;
  flex: none;
}



.card-bottom {
  border-top: 1px solid var(--border-light);
  padding-top: 16px;
  display: flex;
  align-items: stretch;
  flex-direction: column;
  gap: 12px;
}

.price-box {
  display: flex;
  flex-direction: column;
}

.price-label {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.price-value {
  font-size: 20px;
  font-weight: 800;
  color: var(--accent-primary);
  letter-spacing: -0.5px;
}

.card-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.card-actions .card-btn-order { flex: 2; }
.card-actions .card-btn-view { flex: 1; }

.card-btn {
  flex: 1;
  min-height: 42px;
  padding: 9px 12px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s ease;
  text-align: center;
  white-space: nowrap;
}

.card-btn:focus-visible,
.nav-btn:focus-visible,
.cat-pill:focus-visible {
  outline: 3px solid #38bdf8;
  outline-offset: 2px;
}

.card-btn-view {
  background-color: var(--bg-surface-subtle);
  color: #334155;
  border: 1px solid var(--border-light);
}

.card-btn-view:hover {
  background-color: #e2e8f0;
  color: var(--text-primary);
}

.card-btn-order {
  background: var(--gradient-primary);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(29, 106, 245, 0.35);
}

.card-btn-order:hover {
  box-shadow: 0 6px 18px rgba(56, 189, 248, 0.5);
  transform: translateY(-1px);
}

/* =========================================================
   MODALS (CLEAN WHITE THEME)
   ========================================================= */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.modal-backdrop.hidden {
  opacity: 0;
  pointer-events: none;
}

.modal-card {
  background-color: var(--bg-surface-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 520px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
  transition: transform 0.25s ease;
}

.modal-backdrop.hidden .modal-card {
  transform: translateY(20px);
}

.modal-header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--bg-surface-subtle);
}

.modal-title-group h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

.modal-category {
  font-size: 11px;
  color: var(--accent-primary);
  font-weight: 700;
  text-transform: uppercase;
}

.close-modal-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
  line-height: 1;
  transition: color 0.2s ease;
}

.close-modal-btn:hover {
  color: #ef4444;
}

.modal-body {
  padding: 24px;
  background-color: var(--bg-surface-white);
}

.modal-image-container {
  width: 100%;
  height: 240px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-price-tag {
  font-size: 24px;
  font-weight: 800;
  color: var(--accent-primary);
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.modal-features-box {
  background-color: var(--bg-surface-subtle);
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}

.modal-features-box h4 {
  font-size: 12px;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.modal-features-box ul {
  list-style: none;
}

.modal-features-box li {
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-features-box li::before {
  content: "✨";
}

.modal-footer {
  padding: 16px 24px;
  border-top: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  background-color: var(--bg-surface-subtle);
}

/* Inquiry Form */
.inquiry-intro {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 10px 14px;
  background-color: var(--bg-surface-white);
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-size: 13px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(29, 106, 245, 0.15);
}

/* Toast */
.portal-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  padding: 12px 24px;
  background: var(--gradient-primary);
  color: #ffffff;
  border-radius: var(--radius-md);
  font-size: 13px;
  font-weight: 600;
  box-shadow: 0 8px 24px rgba(29, 106, 245, 0.4);
  z-index: 2000;
  transition: all 0.3s ease;
}

.portal-toast.hidden {
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

/* Footer */
.portal-footer {
  background-color: #0f172a;
  border-top: 1px solid var(--border-light);
  padding: 28px 24px;
  text-align: center;
  font-size: 12px;
  color: #94a3b8;
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer-links a {
  color: var(--accent-secondary);
  text-decoration: none;
  font-weight: 500;
}

/* Admin Button & Dashboard */
.admin-btn {
  background: linear-gradient(135deg, rgba(29, 106, 245, 0.1), rgba(56, 189, 248, 0.1));
  color: var(--accent-primary);
  border: 1px solid rgba(29, 106, 245, 0.3);
}

.admin-btn:hover {
  background: linear-gradient(135deg, rgba(29, 106, 245, 0.2), rgba(56, 189, 248, 0.2));
  border-color: var(--accent-primary);
}

.modal-card-large {
  max-width: 780px !important;
}

.admin-tabs {
  display: flex;
  background-color: var(--bg-surface-subtle);
  border-bottom: 1px solid var(--border-light);
  padding: 8px 16px;
  gap: 8px;
}

.admin-tab-btn {
  padding: 8px 16px;
  background: none;
  border: 1px solid transparent;
  border-radius: var(--radius-md);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.admin-tab-btn:hover {
  color: var(--text-primary);
  background-color: #e2e8f0;
}

.admin-tab-btn.active {
  background-color: var(--bg-surface-white);
  color: var(--accent-primary);
  border-color: var(--border-light);
}

.admin-modal-body {
  max-height: 480px;
  overflow-y: auto;
}

.admin-tab-content {
  display: none;
}

.admin-tab-content.active {
  display: block;
}

.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.table-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
  text-align: left;
}

.admin-table th,
.admin-table td {
  padding: 10px 14px;
  border-bottom: 1px solid var(--border-light);
}

.admin-table th {
  background-color: var(--bg-surface-subtle);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 10.5px;
}

.admin-table tbody tr:hover {
  background-color: var(--bg-surface-subtle);
}

.table-actions {
  display: flex;
  gap: 6px;
}

.tbl-btn {
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.tbl-btn-edit { background: rgba(59, 130, 246, 0.15); color: #2563eb; }
.tbl-btn-edit:hover { background: rgba(59, 130, 246, 0.3); }

.tbl-btn-del { background: rgba(239, 68, 68, 0.15); color: #dc2626; }
.tbl-btn-del:hover { background: rgba(239, 68, 68, 0.3); }

/* Responsive Media Queries */
@media (max-width: 768px) {
  .header-container { display: grid; grid-template-columns: 1fr auto; gap: 12px; padding: 12px 16px; }
  .header-search { grid-column: 1 / -1; grid-row: 2; max-width: none; width: 100%; }
  .header-actions { justify-content: flex-end; }
  .header-actions .nav-btn { min-height: 40px; padding: 8px 12px; }
  .header-actions .secondary-btn { display: none !important; }
  .hero-title { font-size: 28px; }
  .hero-section { padding: 38px 18px 34px; }
  .hero-subtitle { margin-bottom: 24px; }
  .hero-stats { width: 100%; justify-content: space-around; gap: 8px; padding: 14px 10px; }
  .stat-item { flex: 1; }
  .stat-num { font-size: 17px; }
  .stat-label { font-size: 10px; }
  .stat-divider { display: none; }
  .toolbar-section { position: static; padding: 12px 16px; }
  .toolbar-container { flex-direction: column; align-items: stretch; width: 100%; gap: 12px; }
  .category-pills { width: 100%; }
  .sort-wrapper { justify-content: space-between; }
  .products-section { padding: 24px 16px 48px; }
  .product-grid { grid-template-columns: 1fr; }
  .form-row-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .brand-sub { display: none; }
  .header-actions .primary-btn { font-size: 11px; }
  .product-card { padding: 16px; }
  .card-actions { flex-wrap: wrap; }
  .card-actions .card-btn { min-width: 100px; }
}

/* Storefront visual refresh */
.logo-icon {
  width: 142px;
  height: 64px;
  position: relative;
  overflow: hidden;
  flex: none;
  border-radius: 14px;
  background: #ffffff;
  box-shadow: 0 5px 18px rgba(29, 106, 245, 0.28);
}

.logo-icon img {
  position: absolute;
  width: 130px;
  height: 130px;
  max-width: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.logo-icon {
  transform-origin: center;
  will-change: transform;
  animation: logo-pop 5s ease-in-out infinite;
}

.brand-logo:hover .logo-icon {
  box-shadow: 0 10px 32px rgba(56, 189, 248, 0.75);
}

@keyframes logo-pop {
  0% { transform: scale(1) rotate(0deg); }
  10% { transform: scale(1.18) rotate(-2deg); }
  20%, 45% { transform: scale(1.12) rotate(0deg); }
  60% { transform: scale(1.02) rotate(0deg); }
  100% { transform: scale(1) rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .logo-icon { animation: none; }
}

.hero-section {
  padding: 72px 24px 64px;
  background:
    radial-gradient(circle at 78% 22%, rgba(56, 189, 248, 0.25), transparent 28%),
    radial-gradient(circle at 16% 80%, rgba(29, 106, 245, 0.28), transparent 36%),
    linear-gradient(135deg, #07142d 0%, #0b2450 54%, #07162d 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  color: #ffffff;
  box-shadow: none;
}

.hero-badge {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(125, 211, 252, 0.35);
  color: #bae6fd;
}

.hero-title {
  font-size: clamp(32px, 4.5vw, 54px);
  color: #ffffff;
}

.gradient-text {
  background: linear-gradient(135deg, #7dd3fc, #38bdf8 55%, #a5b4fc);
  -webkit-background-clip: text;
  background-clip: text;
}

.hero-subtitle { color: #cbd5e1; }

.hero-stats {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
  backdrop-filter: blur(12px);
}

.stat-num { color: #7dd3fc; }
.stat-label { color: #cbd5e1; }
.stat-divider { background: rgba(255, 255, 255, 0.2); }

.product-card {
  border-color: #dbeafe;
  box-shadow: 0 12px 32px rgba(3, 17, 44, 0.16);
  transition: transform 420ms cubic-bezier(0.2, 0.8, 0.2, 1),
    box-shadow 420ms ease, border-color 420ms ease;
}

.product-card-visible {
  animation: product-card-reveal 650ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes product-card-reveal {
  from { opacity: 0; transform: translateY(24px) scale(0.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (hover: hover) {
  .product-card:hover {
    transform: translateY(-8px) scale(1.025);
    border-color: #60a5fa;
    box-shadow: 0 22px 48px rgba(29, 106, 245, 0.27);
  }

  .product-card:hover .product-image {
    transform: scale(1.12);
  }
}

.product-card:focus-within {
  border-color: #60a5fa;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.22), 0 18px 38px rgba(29, 106, 245, 0.2);
}

.product-image {
  transition: transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  .product-card-visible { animation: none; }
  .product-card, .product-image { transition: none; }
}

@media (max-width: 768px) {
  .hero-section { padding: 40px 18px 36px; }
  .hero-title { font-size: clamp(28px, 7vw, 36px); }
  .logo-icon { width: 116px; height: 54px; }
  .logo-icon img { width: 108px; height: 108px; }
}

.floating-call {
  position: fixed;
  right: max(22px, env(safe-area-inset-right));
  bottom: max(22px, env(safe-area-inset-bottom));
  z-index: 950;
  min-height: 56px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: var(--radius-full);
  background: #25d366;
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  box-shadow: 0 8px 28px rgba(18, 140, 73, 0.4);
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.floating-call:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 34px rgba(18, 140, 73, 0.5);
}

.floating-call:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 3px;
}

@media (max-width: 420px) {
  .floating-call { width: 56px; padding: 0; }
  .floating-call span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .floating-call { transition: none; }
}
