/* ============================================================
   Amar Glass Studio — Style Sheet v3
   ============================================================ */

/* ── CSS VARIABLES — LIGHT MODE ─────────────────────────── */
:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #eff6ff;
  --secondary: #f97316;
  --secondary-dark: #ea6c0a;
  --accent: #8b5cf6;
  --accent-dark: #7c3aed;
  --gradient: linear-gradient(135deg, #2563eb 0%, #8b5cf6 100%);
  --gradient-warm: linear-gradient(135deg, #f97316 0%, #2563eb 100%);
  --gradient-card: linear-gradient(135deg, rgba(37,99,235,.06) 0%, rgba(139,92,246,.06) 100%);
  --bg: #f8fafc;
  --bg-surface: #ffffff;
  --bg-card: #ffffff;
  --bg-input: #f1f5f9;
  --text: #0f172a;
  --text-2: #334155;
  --text-3: #64748b;
  --border: #e2e8f0;
  --border-hover: #94a3b8;
  --shadow: 0 4px 20px rgba(15,23,42,.08);
  --shadow-lg: 0 12px 48px rgba(15,23,42,.14);
  --shadow-colored: 0 8px 32px rgba(37,99,235,.25);
  --radius: 16px;
  --radius-sm: 10px;
  --font: 'DM Sans', sans-serif;
  --success: #059669;
  --warning: #d97706;
  --glass: rgba(255,255,255,.7);
  --glass-border: rgba(255,255,255,.5);
}

/* ── DARK MODE ───────────────────────────────────────────── */
body:not(.admin-body)[data-theme="dark"] {
  --bg: #0b0f19;
  --bg-surface: #111827;
  --bg-card: #1a2235;
  --bg-input: #1e293b;
  --text: #f1f5f9;
  --text-2: #cbd5e1;
  --text-3: #94a3b8;
  --border: rgba(255,255,255,.08);
  --border-hover: rgba(255,255,255,.2);
  --shadow: 0 4px 20px rgba(0,0,0,.4);
  --shadow-lg: 0 12px 48px rgba(0,0,0,.5);
  --glass: rgba(26,34,53,.8);
  --glass-border: rgba(255,255,255,.1);
  --bg-input: #1e2d3d;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font); color: var(--text); background: var(--bg); transition: background .3s, color .3s; }
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 99px; }

/* ── NAVBAR ─────────────────────────────────────────────── */
.ags-navbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  padding: 0;
  z-index: 1050;
  transition: background .3s, box-shadow .2s, border-color .3s;
}
.ags-navbar.scrolled { box-shadow: 0 4px 24px rgba(15,23,42,.1); }
.navbar-inner { display: flex; align-items: center; height: 64px; gap: 12px; }
.brand-icon { color: var(--primary); flex-shrink: 0; }
.brand-name { font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: -.5px; }
.brand-studio { font-size: 11px; font-weight: 700; color: var(--secondary); text-transform: uppercase; letter-spacing: .12em; display: block; margin-top: -2px; }

/* Search bar */
.nav-search-wrap { flex: 1; max-width: 380px; position: relative; }
.nav-search-input {
  width: 100%; height: 38px;
  background: var(--bg-input);
  border: 1.5px solid var(--border);
  border-radius: 999px;
  padding: 0 40px 0 40px;
  font-size: 13px; font-family: var(--font); color: var(--text);
  outline: none; transition: all .2s;
}
.nav-search-input::placeholder { color: var(--text-3); }
.nav-search-input:focus { border-color: var(--primary); background: var(--bg-surface); box-shadow: 0 0 0 3px rgba(37,99,235,.12); }
.nav-search-icon { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }

.navbar-nav .nav-link { font-size: 14px; font-weight: 500; color: var(--text-2); padding: 6px 10px; border-radius: 8px; transition: all .15s; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--primary); background: var(--primary-light); }
.navbar-nav .dropdown-menu { border: 1px solid var(--border); background: var(--bg-surface); box-shadow: var(--shadow-lg); border-radius: var(--radius); padding: 8px; }
.navbar-nav .dropdown-item { border-radius: 8px; font-size: 14px; font-weight: 500; padding: 8px 12px; color: var(--text-2); transition: .15s; background: transparent; }
.navbar-nav .dropdown-item:hover { background: var(--primary-light); color: var(--primary); }

/* Navbar icon buttons */
.nav-icon-btn {
  width: 38px; height: 38px; border-radius: 10px;
  background: var(--bg-input); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); cursor: pointer; transition: all .2s;
  position: relative; text-decoration: none; flex-shrink: 0;
}
.nav-icon-btn:hover { background: var(--primary-light); border-color: var(--primary); color: var(--primary); }
.nav-icon-btn .badge-count {
  position: absolute; top: -5px; right: -5px;
  background: var(--secondary); color: white;
  font-size: 10px; font-weight: 800;
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  border: 2px solid var(--bg-surface);
}
.dark-toggle { font-size: 16px; }

/* ── CART SIDEBAR ────────────────────────────────────────── */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.5);
  z-index: 1040; opacity: 0; visibility: hidden; transition: all .3s;
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-sidebar {
  position: fixed; right: 0; top: 0; bottom: 0; width: 380px; max-width: 95vw;
  background: var(--bg-surface); z-index: 1045;
  transform: translateX(100%); transition: transform .35s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  box-shadow: -8px 0 40px rgba(0,0,0,.2);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-sidebar-header {
  padding: 20px 24px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  background: var(--gradient); color: white;
}
.cart-sidebar-header h5 { font-size: 16px; font-weight: 700; margin: 0; color: white; }
.cart-close { background: rgba(255,255,255,.2); border: none; color: white; width: 32px; height: 32px; border-radius: 8px; cursor: pointer; font-size: 18px; display: flex; align-items: center; justify-content: center; transition: background .15s; }
.cart-close:hover { background: rgba(255,255,255,.35); }
.cart-items-list { flex: 1; overflow-y: auto; padding: 16px; }
.cart-item {
  display: flex; gap: 12px; padding: 12px; margin-bottom: 10px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-sm); transition: all .2s;
}
.cart-item:hover { border-color: var(--primary); box-shadow: 0 2px 12px rgba(37,99,235,.1); }
.cart-item-img { width: 60px; height: 60px; border-radius: 8px; object-fit: cover; background: var(--bg-input); flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-size: 24px; overflow: hidden; }
.cart-item-img img { width: 100%; height: 100%; object-fit: cover; }
.cart-item-info { flex: 1; min-width: 0; }
.cart-item-name { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cart-item-cat { font-size: 11px; color: var(--primary); font-weight: 600; }
.cart-item-price { font-size: 13px; font-weight: 700; color: var(--success); margin-top: 4px; }
.cart-item-remove { background: none; border: none; color: var(--text-3); cursor: pointer; font-size: 16px; padding: 4px; border-radius: 6px; transition: all .15s; flex-shrink: 0; }
.cart-item-remove:hover { background: #fee2e2; color: #dc2626; }
.cart-empty { text-align: center; padding: 48px 24px; color: var(--text-3); }
.cart-empty-icon { font-size: 48px; margin-bottom: 12px; }
.cart-footer { padding: 16px 24px; border-top: 1px solid var(--border); background: var(--bg-card); }
.cart-footer-total { display: flex; justify-content: space-between; font-size: 13px; color: var(--text-2); margin-bottom: 12px; }
.cart-footer-total strong { font-size: 15px; color: var(--text); }

/* ── TOAST NOTIFICATIONS ─────────────────────────────────── */
.toast-container { position: fixed; top: 80px; right: 20px; z-index: 9999; display: flex; flex-direction: column; gap: 10px; pointer-events: none; }
.toast-item {
  background: var(--bg-surface); color: var(--text);
  border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px;
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 12px;
  min-width: 280px; max-width: 340px;
  pointer-events: all;
  animation: toastIn .35s cubic-bezier(.34,1.56,.64,1) forwards;
}
.toast-item.removing { animation: toastOut .25s ease forwards; }
.toast-icon { font-size: 20px; flex-shrink: 0; }
.toast-msg { font-size: 13px; font-weight: 600; flex: 1; }
.toast-close { background: none; border: none; color: var(--text-3); cursor: pointer; font-size: 16px; padding: 2px; }
.toast-success { border-left: 4px solid var(--success); }
.toast-error { border-left: 4px solid #dc2626; }
.toast-info { border-left: 4px solid var(--primary); }
.toast-warning { border-left: 4px solid var(--secondary); }
@keyframes toastIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes toastOut { to { opacity: 0; transform: translateX(40px); } }

/* ── QUICK VIEW MODAL ────────────────────────────────────── */
.qv-modal .modal-content { border: 0; border-radius: 20px; overflow: hidden; background: var(--bg-surface); box-shadow: var(--shadow-lg); }
.qv-img-wrap { background: var(--bg-input); border-radius: 12px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.qv-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.qv-img-ph { font-size: 60px; color: var(--text-3); }
.qv-category { display: inline-block; background: var(--gradient); color: white; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; }
.qv-name { font-size: 22px; font-weight: 800; color: var(--text); margin-bottom: 8px; letter-spacing: -.3px; }
.qv-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 12px; }
.stars { color: #f59e0b; font-size: 14px; letter-spacing: 1px; }
.rating-count { font-size: 12px; color: var(--text-3); }
.qv-price { font-size: 26px; font-weight: 800; color: var(--primary); margin-bottom: 16px; }
.qv-price .original { font-size: 14px; font-weight: 500; color: var(--text-3); text-decoration: line-through; margin-left: 8px; }
.qv-desc { font-size: 14px; color: var(--text-2); line-height: 1.7; margin-bottom: 16px; }
.qv-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 20px; }
.qv-feature-chip { background: var(--primary-light); color: var(--primary); font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 999px; border: 1px solid rgba(37,99,235,.2); }
.qv-actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ── PAGE HEADER ─────────────────────────────────────────── */
.page-header {
  background: var(--gradient); padding: 56px 0 40px; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 28px 28px; pointer-events: none;
}
.page-title { font-size: 36px; font-weight: 800; color: white; letter-spacing: -1px; position: relative; z-index: 1; }
.page-sub { color: rgba(255,255,255,.7); font-size: 15px; position: relative; z-index: 1; margin-top: 8px; }
.page-header .breadcrumb-item a { color: rgba(255,255,255,.6); text-decoration: none; }
.page-header .breadcrumb-item.active { color: rgba(255,255,255,.85); }
.page-header .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ── FILTER BAR ──────────────────────────────────────────── */
.filter-bar { z-index: 100; background: var(--bg-surface) !important; border-bottom: 1px solid var(--border) !important; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 16px; border-radius: 999px; font-size: 13px; font-weight: 600;
  color: var(--text-2); background: var(--bg-input); border: 1.5px solid transparent;
  text-decoration: none; transition: all .15s; white-space: nowrap;
}
.filter-chip:hover { background: var(--primary-light); color: var(--primary); border-color: rgba(37,99,235,.3); }
.filter-chip.active { background: var(--gradient); color: white; box-shadow: 0 4px 16px rgba(37,99,235,.35); }

/* ── TOOLBAR ─────────────────────────────────────────────── */
.products-toolbar { background: var(--bg-surface); border-bottom: 1px solid var(--border); }
.sort-select {
  background: var(--bg-input); border: 1.5px solid var(--border);
  border-radius: 10px; padding: 7px 14px; font-size: 13px; font-weight: 600;
  color: var(--text); font-family: var(--font); cursor: pointer; outline: none;
  transition: border-color .15s;
}
.sort-select:focus { border-color: var(--primary); }
.view-toggle-btn {
  width: 34px; height: 34px; border-radius: 8px; border: 1.5px solid var(--border);
  background: var(--bg-input); color: var(--text-3); display: flex; align-items: center;
  justify-content: center; cursor: pointer; transition: all .15s;
}
.view-toggle-btn.active { background: var(--gradient); border-color: transparent; color: white; }

/* ── PRODUCT CARDS ───────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.products-grid.list-view { grid-template-columns: 1fr; }

.product-card {
  background: var(--bg-card); border: 1.5px solid var(--border);
  border-radius: 20px; overflow: hidden;
  transition: all .3s cubic-bezier(.4,0,.2,1);
  display: flex; flex-direction: column;
  position: relative; text-decoration: none; color: inherit;
  animation: fadeInCard .4s ease both;
}
.product-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--primary); color: inherit; }
.product-card.hidden { display: none !important; }

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

/* List view card */
.products-grid.list-view .product-card { flex-direction: row; height: 160px; }
.products-grid.list-view .product-img-wrap { width: 200px; height: 160px; flex-shrink: 0; }
.products-grid.list-view .product-info { flex: 1; padding: 16px 20px; }
.products-grid.list-view .product-card:hover { transform: translateX(4px) !important; }

.product-img-wrap { position: relative; height: 240px; overflow: hidden; background: var(--bg-input); flex-shrink: 0; }
.product-img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.product-card:hover .product-img { transform: scale(1.08); }
.product-img-placeholder { width: 100%; height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; font-size: 52px; background: var(--gradient-card); }
.product-img-placeholder span:last-child { font-size: 12px; color: var(--text-3); font-weight: 600; }

/* Card badges */
.product-category-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--gradient); color: white;
  font-size: 10px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.product-discount-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--secondary); color: white;
  font-size: 10px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase;
  padding: 4px 10px; border-radius: 999px;
}
.product-new-badge { background: var(--success); }

/* Card overlay actions */
.product-overlay-actions {
  position: absolute; bottom: 12px; right: 12px;
  display: flex; flex-direction: column; gap: 6px;
  opacity: 0; transform: translateX(10px); transition: all .25s;
}
.product-card:hover .product-overlay-actions { opacity: 1; transform: translateX(0); }
.overlay-action-btn {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--bg-surface); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--text-2); transition: all .2s;
  backdrop-filter: blur(8px);
}
.overlay-action-btn:hover { background: var(--primary); color: white; border-color: var(--primary); transform: scale(1.1); }
.overlay-action-btn.wishlisted { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }
.overlay-action-btn.wishlisted:hover { background: #dc2626; color: white; }

.product-info { padding: 16px 18px; display: flex; flex-direction: column; flex: 1; }
.product-cat-label { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.product-name { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.3; }
.product-desc { font-size: 13px; color: var(--text-3); line-height: 1.6; margin-bottom: 10px; flex-grow: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.product-rating { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.product-rating .stars { color: #f59e0b; font-size: 12px; }
.product-rating .rating-text { font-size: 11px; color: var(--text-3); font-weight: 600; }
.product-features { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.feature-tag { background: var(--primary-light); color: var(--primary); font-size: 10px; font-weight: 600; padding: 3px 8px; border-radius: 999px; border: 1px solid rgba(37,99,235,.15); }

.product-footer { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--border); padding-top: 12px; margin-top: auto; gap: 8px; }
.product-price { font-size: 16px; font-weight: 800; color: var(--primary); }
.product-price .price-original { font-size: 11px; color: var(--text-3); text-decoration: line-through; font-weight: 400; display: block; }
.price-unit { font-size: 11px; font-weight: 500; color: var(--text-3); }
.product-actions { display: flex; gap: 6px; }
.btn-add-cart {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gradient); color: white;
  border: none; font-size: 12px; font-weight: 700;
  padding: 7px 14px; border-radius: 8px; cursor: pointer;
  transition: all .2s; white-space: nowrap;
}
.btn-add-cart:hover { opacity: .9; transform: scale(1.05); box-shadow: var(--shadow-colored); }
.btn-wishlist-sm {
  width: 32px; height: 32px; border-radius: 8px; border: 1.5px solid var(--border);
  background: var(--bg-input); color: var(--text-3); display: flex; align-items: center;
  justify-content: center; cursor: pointer; font-size: 14px; transition: all .2s; flex-shrink: 0;
}
.btn-wishlist-sm:hover { border-color: #fca5a5; background: #fee2e2; color: #dc2626; }
.btn-wishlist-sm.active { background: #fee2e2; border-color: #fca5a5; color: #dc2626; }

/* ── SECTION COMMONS ─────────────────────────────────────── */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 52px 0; }
.section-tag { display: inline-block; background: var(--primary-light); color: var(--primary); font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; padding: 5px 16px; border-radius: 999px; margin-bottom: 12px; }
.section-title { font-size: clamp(26px,3vw,40px); font-weight: 800; color: var(--text); letter-spacing: -1px; line-height: 1.2; }
.section-sub { font-size: 16px; color: var(--text-3); line-height: 1.6; }

/* ── HERO ────────────────────────────────────────────────── */
/* Keyframes */
@keyframes pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.4;transform:scale(.7)} }
@keyframes heroFadeUp { from { opacity:0; transform:translateY(32px); } to { opacity:1; transform:translateY(0); } }
@keyframes heroFadeRight { from { opacity:0; transform:translateX(40px); } to { opacity:1; transform:translateX(0); } }
@keyframes float { 0%,100%{transform:translateX(-50%) translateY(0);} 50%{transform:translateX(-50%) translateY(-18px);} }
@keyframes floatChip { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-8px);} }
@keyframes gradientShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }
@keyframes shimmerText { 0%{background-position:0% 50%} 100%{background-position:200% 50%} }
@keyframes orbPulse { 0%,100%{transform:scale(1);opacity:.35} 50%{transform:scale(1.15);opacity:.5} }
@keyframes countUp { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:translateY(0)} }
@keyframes scrollDot { 0%{opacity:1;transform:translateY(0)} 80%{opacity:0;transform:translateY(10px)} 100%{opacity:0;transform:translateY(0)} }

.hero-section {
  position: relative;
  background: linear-gradient(135deg, #1e3a8a 0%, #2563eb 40%, #7c3aed 80%, #8b5cf6 100%);
  background-size: 300% 300%;
  animation: gradientShift 8s ease infinite;
  overflow: hidden;
  min-height: calc(100vh - 64px);
  display: flex;
  align-items: center;
}

/* Background decorative orbs */
.hero-section::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.4) 0%, transparent 70%);
  top: -200px; right: -150px;
  animation: orbPulse 6s ease-in-out infinite;
  pointer-events: none;
}
.hero-section::after {
  content: '';
  position: absolute;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(249,115,22,.25) 0%, transparent 70%);
  bottom: -100px; left: -100px;
  animation: orbPulse 8s ease-in-out infinite reverse;
  pointer-events: none;
}

.hero-bg-pattern {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}
.hero-grid-overlay {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Hero text animations */
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.3);
  color: white; font-size: 12px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  padding: 7px 18px; border-radius: 999px; margin-bottom: 24px;
  animation: heroFadeUp .6s ease both;
}
.hero-badge::before {
  content: ''; width: 7px; height: 7px;
  background: #fbbf24; border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px #fbbf24;
}

.hero-title {
  font-size: clamp(38px,5.5vw,72px);
  font-weight: 800; color: white;
  line-height: 1.06; letter-spacing: -2.5px; margin-bottom: 22px;
  animation: heroFadeUp .7s .1s ease both;
}
.hero-title .accent-text {
  background: linear-gradient(90deg, #fbbf24, #f97316, #fb923c, #fbbf24);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmerText 3s linear infinite;
}

.hero-sub {
  font-size: 17px; color: rgba(255,255,255,.72);
  line-height: 1.75; max-width: 500px; margin-bottom: 36px;
  animation: heroFadeUp .7s .2s ease both;
}

.hero-cta-group {
  display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 52px;
  animation: heroFadeUp .7s .3s ease both;
}

.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 9px;
  background: linear-gradient(135deg, #f97316, #ea6c0a);
  color: white; font-weight: 700; font-size: 15px;
  padding: 15px 32px; border-radius: 14px; border: none;
  text-decoration: none; cursor: pointer;
  box-shadow: 0 8px 28px rgba(249,115,22,.5);
  transition: all .25s cubic-bezier(.34,1.56,.64,1);
  position: relative; overflow: hidden;
}
.btn-hero-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.2), transparent);
  opacity: 0; transition: opacity .2s;
}
.btn-hero-primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 14px 36px rgba(249,115,22,.6); color: white; }
.btn-hero-primary:hover::after { opacity: 1; }

.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 9px;
  background: rgba(255,255,255,.1);
  color: white; font-weight: 600; font-size: 15px;
  padding: 15px 32px; border-radius: 14px;
  border: 1.5px solid rgba(255,255,255,.3);
  text-decoration: none; transition: all .25s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,.22); border-color: rgba(255,255,255,.55); color: white; transform: translateY(-3px); }

.hero-stats {
  display: flex; gap: 0;
  animation: heroFadeUp .7s .4s ease both;
}
.hero-stat-item { text-align: center; }
.hero-stat-num {
  font-size: 32px; font-weight: 800; color: white;
  line-height: 1; display: block;
}
.hero-stat-lbl { font-size: 12px; color: rgba(255,255,255,.55); font-weight: 500; margin-top: 4px; display: block; }
.hero-stat-divider { width: 1px; background: rgba(255,255,255,.18); align-self: stretch; margin: 0 28px; }

/* Showcase */
.hero-showcase {
  position: relative; height: 480px;
  animation: heroFadeRight .9s .2s ease both;
}
.showcase-card {
  position: absolute; border-radius: 24px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.45);
  border: 1.5px solid rgba(255,255,255,.2);
}
.showcase-main {
  width: 270px; height: 340px;
  top: 50px; left: 50%;
  z-index: 3;
  animation: float 5s ease-in-out infinite;
}
.showcase-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 14px;
  background: linear-gradient(135deg, rgba(255,255,255,.12), rgba(255,255,255,.05));
}
.showcase-chip {
  position: absolute;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3);
  color: white; font-size: 12px; font-weight: 600;
  padding: 8px 16px; border-radius: 999px; white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0,0,0,.2);
}
.chip-tl { top: 20px; left: 10px; animation: floatChip 3.5s ease-in-out infinite; }
.chip-tr { top: 70px; right: 5px; animation: floatChip 4s .5s ease-in-out infinite; }
.chip-br { bottom: 50px; right: 10px; animation: floatChip 3.8s .3s ease-in-out infinite; }
.chip-bl { bottom: 100px; left: 5px; animation: floatChip 4.2s .8s ease-in-out infinite; }
.showcase-label {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(0,0,0,.75), transparent);
  padding: 32px 16px 16px;
  color: white; font-size: 14px; font-weight: 700; letter-spacing: .01em;
}

/* ── FLASH SALE ──────────────────────────────────────────── */
.flash-sale-section { background: linear-gradient(135deg,#1e1b4b 0%,#312e81 50%,#4c1d95 100%); padding: 56px 0; }
.flash-sale-header { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; margin-bottom: 36px; }
.flash-sale-title-wrap { display: flex; align-items: center; gap: 16px; }
.flash-icon { font-size: 48px; filter: drop-shadow(0 0 12px #fbbf24); animation: flashPulse 1s ease-in-out infinite alternate; }
.flash-title { font-size: 32px; font-weight: 800; color: white; margin: 0; }
.flash-sub { color: rgba(255,255,255,.65); font-size: 14px; margin: 0; }
.flash-countdown { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.1); border-radius: 16px; padding: 12px 20px; border: 1px solid rgba(255,255,255,.15); }
.countdown-block { display: flex; flex-direction: column; align-items: center; min-width: 48px; }
.countdown-num { font-size: 28px; font-weight: 800; color: #fbbf24; line-height: 1; }
.countdown-lbl { font-size: 10px; color: rgba(255,255,255,.5); font-weight: 600; text-transform: uppercase; margin-top: 2px; }
.countdown-sep { font-size: 24px; font-weight: 800; color: #fbbf24; margin-bottom: 8px; }
.discount-badge { position: absolute; top: 12px; right: 12px; background: #ef4444; color: white; font-size: 11px; font-weight: 800; padding: 4px 8px; border-radius: 8px; z-index: 3; box-shadow: 0 2px 8px rgba(239,68,68,.4); }
.flash-badge { position: absolute; bottom: 12px; left: 12px; background: linear-gradient(135deg,#f59e0b,#ef4444); color: white; font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 20px; z-index: 3; }
@keyframes flashPulse { from { transform: scale(1); } to { transform: scale(1.15); } }

/* ── CATEGORY CARDS ──────────────────────────────────────── */
.cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.category-card { position: relative; background: var(--bg-card); border: 1.5px solid var(--border); border-radius: 20px; text-decoration: none; color: inherit; display: flex; flex-direction: column; transition: all .25s cubic-bezier(.34,1.56,.64,1); overflow: hidden; }
.category-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-6px); border-color: var(--primary); color: inherit; }
.cat-icon-wrap { height: 200px; display: flex; align-items: center; justify-content: center; font-size: 72px; background: var(--gradient-card); flex-shrink: 0; transition: transform .5s ease; }
.category-card:hover .cat-icon-wrap { transform: scale(1.08); }
.cat-info { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.cat-name { font-size: 15px; font-weight: 700; color: var(--text); margin: 0; }
.cat-desc { font-size: 12px; color: var(--text-3); line-height: 1.5; margin: 0 0 10px; }
.cat-arrow { font-size: 12px; font-weight: 700; color: var(--primary); display: inline-flex; align-items: center; gap: 4px; transition: gap .2s; margin-top: auto; }
.category-card:hover .cat-arrow { gap: 8px; }

/* ── WHY CARDS ───────────────────────────────────────────── */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.why-card { background: var(--bg-card); border: 1.5px solid var(--border); border-radius: 20px; padding: 32px 24px; transition: all .2s; text-align: center; }
.why-card:hover { border-color: var(--primary); box-shadow: 0 12px 40px rgba(37,99,235,.12); transform: translateY(-4px); }
.why-icon-wrap { width: 72px; height: 72px; border-radius: 20px; display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; font-size: 32px; }
.why-icon-blue { background: var(--primary-light); }
.why-icon-amber { background: #fffbeb; }
.why-icon-green { background: #ecfdf5; }
.why-icon-purple { background: #faf5ff; }
.why-title { font-size: 15px; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.why-desc { font-size: 13px; color: var(--text-3); line-height: 1.6; }

/* ── CTA BANNER ──────────────────────────────────────────── */
.cta-banner { background: var(--gradient); border-radius: 24px; padding: 56px; position: relative; overflow: hidden; }
.cta-banner::before { content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%; background: rgba(255,255,255,.06); top: -100px; right: -100px; pointer-events: none; }

/* ── QUOTE MODAL ─────────────────────────────────────────── */
@keyframes modalSlideUp { from{opacity:0;transform:translateY(40px) scale(.97)} to{opacity:1;transform:translateY(0) scale(1)} }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes successPop { 0%{transform:scale(.5);opacity:0} 70%{transform:scale(1.15)} 100%{transform:scale(1);opacity:1} }

.quote-modal-content {
  border: 0; border-radius: 28px; overflow: hidden;
  box-shadow: 0 32px 80px rgba(0,0,0,.25);
  background: var(--bg-surface);
  animation: modalSlideUp .35s cubic-bezier(.34,1.56,.64,1) both;
}
.quote-modal-header {
  background: var(--gradient);
  padding: 36px 28px 28px;
  position: relative; text-align: center; overflow: hidden;
}
.quote-modal-header::before {
  content: ''; position: absolute;
  width: 300px; height: 300px; border-radius: 50%;
  background: rgba(255,255,255,.07); top: -120px; right: -80px;
  pointer-events: none;
}
.quote-modal-header::after {
  content: ''; position: absolute;
  width: 200px; height: 200px; border-radius: 50%;
  background: rgba(255,255,255,.05); bottom: -80px; left: -60px;
  pointer-events: none;
}
.quote-header-icon {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255,255,255,.18); border: 1.5px solid rgba(255,255,255,.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 14px; position: relative; z-index:1;
}
.quote-header-tag {
  display: inline-block; background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.3); color: white;
  font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; padding: 4px 14px; border-radius: 999px;
  margin-bottom: 10px; position: relative; z-index:1;
}
.quote-header-product {
  font-size: 18px; font-weight: 800; color: white;
  margin-bottom: 6px; position: relative; z-index:1;
  line-height: 1.3;
}
.quote-header-sub {
  font-size: 13px; color: rgba(255,255,255,.7);
  position: relative; z-index:1; margin: 0;
}
.quote-close-btn {
  position: absolute; top: 14px; right: 14px;
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25);
  color: white; font-size: 18px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: all .2s; z-index: 5;
}
.quote-close-btn:hover { background: rgba(255,255,255,.3); }

.quote-modal-body { padding: 28px; background: var(--bg-surface); }

.quote-field { margin-bottom: 18px; }
.quote-field label {
  display: block; font-size: 13px; font-weight: 700;
  color: var(--text-2); margin-bottom: 8px;
}
.quote-input {
  width: 100%; background: var(--bg-input);
  border: 1.5px solid var(--border); border-radius: 12px;
  padding: 12px 16px; font-size: 14px; font-family: var(--font);
  color: var(--text); outline: none; transition: all .2s;
  resize: none;
}
.quote-input::placeholder { color: var(--text-3); }
.quote-input:focus {
  border-color: var(--primary); background: var(--bg-surface);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.quote-input.error { border-color: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,.1); }

.quote-phone-wrap {
  display: flex; align-items: center;
  background: var(--bg-input); border: 1.5px solid var(--border);
  border-radius: 12px; overflow: hidden; transition: all .2s;
}
.quote-phone-wrap:focus-within {
  border-color: var(--primary); background: var(--bg-surface);
  box-shadow: 0 0 0 4px rgba(37,99,235,.1);
}
.quote-phone-prefix {
  padding: 12px 14px; font-size: 14px; font-weight: 700;
  color: var(--text-2); border-right: 1.5px solid var(--border);
  white-space: nowrap; flex-shrink: 0;
}
.quote-phone-wrap .quote-input {
  border: none; border-radius: 0; background: transparent;
  box-shadow: none; padding-left: 12px;
}
.quote-phone-wrap .quote-input:focus { box-shadow: none; background: transparent; }

.quote-error {
  font-size: 12px; color: #dc2626; font-weight: 600;
  margin-top: 6px; display: none;
}
.quote-error.show { display: block; }

.quote-submit {
  width: 100%; background: var(--gradient); border: none;
  color: white; font-size: 15px; font-weight: 700;
  padding: 15px; border-radius: 14px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: all .25s; margin-top: 4px;
  box-shadow: 0 8px 24px rgba(37,99,235,.35);
}
.quote-submit:hover { filter: brightness(1.08); transform: translateY(-2px); box-shadow: 0 12px 32px rgba(37,99,235,.45); }
.quote-submit:disabled { opacity: .7; cursor: not-allowed; transform: none; }

.quote-trust {
  display: flex; justify-content: center; gap: 20px;
  margin-top: 16px; flex-wrap: wrap;
}
.quote-trust span {
  font-size: 11px; font-weight: 600; color: var(--text-3);
  display: flex; align-items: center; gap: 4px;
}

/* Success state */
.quote-success {
  text-align: center; padding: 16px 0 8px;
}
.quote-success-icon {
  font-size: 64px; margin-bottom: 16px;
  animation: successPop .5s cubic-bezier(.34,1.56,.64,1) both;
  display: block;
}
.quote-success h5 { font-size: 20px; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.quote-success p { font-size: 14px; color: var(--text-3); line-height: 1.6; margin-bottom: 20px; }
.quote-success .btn-close-modal {
  background: var(--gradient); color: white; border: none;
  padding: 12px 32px; border-radius: 12px; font-weight: 700;
  cursor: pointer; font-size: 14px; transition: all .2s;
}
.quote-success .btn-close-modal:hover { filter: brightness(1.08); }

/* Card quote button */
.btn-get-quote-card {
  display: inline-flex; align-items: center; gap: 5px;
  background: var(--gradient); color: white;
  border: none; font-size: 12px; font-weight: 700;
  padding: 7px 14px; border-radius: 8px; cursor: pointer;
  transition: all .2s; white-space: nowrap;
}
.btn-get-quote-card:hover { opacity: .9; transform: scale(1.05); box-shadow: var(--shadow-colored); }

/* Legacy form controls (used in contact page etc.) */
.lead-modal-content { border: 0; border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-surface); }
.lead-modal-header { background: var(--gradient); padding: 28px 28px 20px; border: 0; }
.lead-modal-body { padding: 24px 28px 28px; background: var(--bg-surface); }
.lead-product-name { background: var(--bg-input); border: 1.5px solid var(--border); border-radius: 10px; padding: 10px 14px; font-weight: 700; color: var(--primary); font-size: 14px; margin-bottom: 20px; }
.form-control { background: var(--bg-input); border: 1.5px solid var(--border); color: var(--text); border-radius: 10px; font-family: var(--font); transition: all .2s; }
.form-control:focus { background: var(--bg-surface); border-color: var(--primary); box-shadow: 0 0 0 3px rgba(37,99,235,.12); color: var(--text); }
.form-label { color: var(--text-2); font-weight: 600; }

/* ── FOOTER ──────────────────────────────────────────────── */
.ags-footer { background: #0b0f19; padding: 72px 0 0; }
.footer-brand-name { font-size: 20px; font-weight: 800; color: white; letter-spacing: -.5px; }
.footer-brand-sub { font-size: 11px; color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.footer-desc { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.7; margin: 16px 0 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.6); text-decoration: none; font-size: 14px; transition: all .15s; }
.footer-social-btn:hover { background: var(--primary); border-color: var(--primary); color: white; }
.footer-heading { font-size: 13px; font-weight: 700; color: white; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 20px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: rgba(255,255,255,.5); font-size: 13px; text-decoration: none; transition: color .15s; display: inline-flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: white; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 14px; color: rgba(255,255,255,.5); font-size: 13px; line-height: 1.5; }
.footer-contact-icon { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--secondary); font-size: 14px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 48px; padding: 20px 0; }

/* ── GALLERY ─────────────────────────────────────────────── */
.gallery-item { break-inside: avoid; margin-bottom: 16px; border-radius: 16px; overflow: hidden; cursor: pointer; position: relative; }
.gallery-item img { width: 100%; display: block; transition: transform .3s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(15,23,42,.5); opacity: 0; transition: opacity .2s; display: flex; align-items: center; justify-content: center; color: white; font-size: 28px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ── PRODUCT DETAIL ──────────────────────────────────────── */
.product-detail-img-wrap { position: sticky; top: 80px; background: var(--bg-input); border-radius: 24px; overflow: hidden; aspect-ratio: 1; display: flex; align-items: center; justify-content: center; }
.product-detail-img { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.related-card { opacity: 0; transform: translateY(30px); transition: opacity .5s, transform .5s; }
.related-card.visible { opacity: 1; transform: none; }

/* ── EMPTY STATE ─────────────────────────────────────────── */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-state-icon { font-size: 64px; margin-bottom: 16px; opacity: .5; }
.empty-state-title { font-size: 20px; font-weight: 700; color: var(--text-2); margin-bottom: 8px; }
.empty-state-sub { font-size: 14px; color: var(--text-3); margin-bottom: 24px; }

/* ── ANIMATIONS ──────────────────────────────────────────── */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.fade-in-up { animation: fadeInUp .5s ease both; }
.delay-1 { animation-delay: .1s; } .delay-2 { animation-delay: .2s; } .delay-3 { animation-delay: .3s; } .delay-4 { animation-delay: .4s; }

/* ── GET PRICE BUTTON ────────────────────────────────────── */
.get-price-btn { cursor: pointer; }
.btn-whatsapp { background: #25d366; border: none; color: white; font-weight: 700; padding: 14px 28px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; transition: all .2s; font-size: 15px; }
.btn-whatsapp:hover { background: #1ebe5d; color: white; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,211,102,.35); }
.btn-get-quote { background: var(--gradient); border: none; color: white; font-weight: 700; padding: 14px 28px; border-radius: 12px; display: inline-flex; align-items: center; gap: 8px; transition: all .2s; font-size: 15px; cursor: pointer; }
.btn-get-quote:hover { box-shadow: var(--shadow-colored); transform: translateY(-2px); }

/* ── UTILITY ─────────────────────────────────────────────── */
.btn { font-family: var(--font); }
.btn-primary { background: var(--gradient); border: none; }
.btn-primary:hover { background: var(--gradient); filter: brightness(1.08); }
.btn-outline-primary { border-color: var(--primary); color: var(--primary); }
.btn-outline-primary:hover { background: var(--gradient); border-color: transparent; }
.text-primary { color: var(--primary) !important; }
.badge.bg-primary { background: var(--gradient) !important; }

/* ── ADMIN LAYOUT ────────────────────────────────────────── */
.admin-body { background: #f1f5f9; font-family: var(--font); }
.admin-layout { display: flex; min-height: 100vh; }
.admin-sidebar { width: 240px; min-height: 100vh; background: #0f172a; position: sticky; top: 0; flex-shrink: 0; padding: 0 0 20px; }
.sidebar-brand { display: flex; align-items: center; gap: 10px; padding: 20px 20px 16px; color: white; font-size: 16px; font-weight: 700; border-bottom: 1px solid rgba(255,255,255,.08); }
.sidebar-label { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: rgba(255,255,255,.3); padding: 16px 20px 8px; }
.sidebar-nav li { margin: 2px 8px; }
.sidebar-nav a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 10px; color: rgba(255,255,255,.65); font-size: 13px; font-weight: 500; text-decoration: none; transition: .15s; }
.sidebar-nav a:hover { background: rgba(255,255,255,.08); color: white; }
.sidebar-nav a.active { background: rgba(37,99,235,.4); color: white; }
.sidebar-nav .logout-link { color: rgba(255,100,100,.7); }
.sidebar-nav .logout-link:hover { background: rgba(220,38,38,.15); color: #fca5a5; }
.sidebar-divider { border-top: 1px solid rgba(255,255,255,.08); margin: 12px 12px; }
.admin-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.admin-topbar { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; background: white; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 100; }
.admin-content { padding: 24px; flex: 1; }
.admin-card { background: white; border-radius: 16px; border: 1px solid #e2e8f0; overflow: hidden; }
.admin-card-header { padding: 16px 20px; border-bottom: 1px solid #e2e8f0; background: #f8fafc; }
.admin-table { font-size: 13px; }
.admin-table thead th { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #64748b; background: #f8fafc; padding: 12px 12px; border-bottom: 1.5px solid #e2e8f0; }
.admin-table tbody td { padding: 12px; vertical-align: middle; border-bottom: 1px solid #e2e8f0; }
.stat-card { border-radius: 16px; padding: 20px; text-align: center; color: white; }
.stat-blue { background: linear-gradient(135deg,#1e40af,#3b82f6); }
.stat-green { background: linear-gradient(135deg,#059669,#10b981); }
.stat-orange { background: linear-gradient(135deg,#d97706,#f59e0b); }
.stat-purple { background: linear-gradient(135deg,#7c3aed,#8b5cf6); }
.stat-icon { font-size: 28px; margin-bottom: 8px; }
.stat-val { font-size: 28px; font-weight: 800; line-height: 1; margin-bottom: 4px; }
.stat-lbl { font-size: 12px; opacity: .8; font-weight: 500; }
.status-badge { display: inline-block; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.status-new { background: #fef3c7; color: #92400e; border: 1px solid #fcd34d; }
.status-contacted { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
.status-quoted { background: #ede9fe; color: #5b21b6; border: 1px solid #c4b5fd; }
.status-closed { background: #d1fae5; color: #065f46; border: 1px solid #6ee7b7; }
.status-cancelled { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.quick-action-card { display: flex; align-items: center; gap: 12px; padding: 16px 20px; background: white; border: 1.5px solid #e2e8f0; border-radius: 14px; transition: .15s; color: #0f172a; }
.quick-action-card:hover { border-color: #2563eb; background: #eff6ff; color: #2563eb; box-shadow: 0 4px 16px rgba(37,99,235,.1); }
.qa-icon { font-size: 24px; } .qa-label { font-size: 14px; font-weight: 600; }
/* Admin mobile sidebar drawer */
@media (max-width: 768px) {
  .admin-sidebar { position: fixed; left: -260px; top: 0; height: 100vh; width: 240px; z-index: 1050; transition: left .28s cubic-bezier(.4,0,.2,1); overflow-y: auto; }
  .admin-sidebar.mob-open { left: 0; }
  .admin-sidebar-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.45); z-index: 1040; }
  .admin-sidebar-overlay.mob-open { display: block; }
  .admin-mob-hamburger { display: flex !important; }
  .admin-content { padding: 16px; }
}
@media (min-width: 769px) {
  .admin-mob-hamburger { display: none !important; }
  .admin-sidebar-overlay { display: none !important; }
}
.font-monospace { font-family: 'JetBrains Mono', monospace; }

/* ── RESPONSIVE ──────────────────────────────────────────── */
/* Force-hide mobile menu on desktop — overrides Bootstrap's navbar-expand-lg display:flex!important */
@media (min-width: 992px) { #mainNav { display: none !important; } }
@media (max-width: 991px) { .nav-search-wrap { display: none; } }
@media (max-width: 768px) {
  .hero-section { min-height: auto; padding: 60px 0; }
  .cta-banner { padding: 36px 24px; }
  .products-grid.list-view .product-card { flex-direction: column; height: auto; }
  .products-grid.list-view .product-img-wrap { width: 100%; height: 200px; }
  .cart-sidebar { width: 100%; }
}
