/* ============================================================
   JOLLY — Premium Dark Glassmorphism Theme
   Token sistemi: rəng, tipografiya, boşluq, radius, kölgə
   ============================================================ */

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

:root {
  /* --- Rənglər --- */
  --bg-void: #06070d;
  --bg-deep: #0b0e1a;
  --bg-panel: #11152447;
  --glass: rgba(255,255,255,0.045);
  --glass-strong: rgba(255,255,255,0.08);
  --border-soft: rgba(255,255,255,0.09);
  --border-glow: rgba(124,138,255,0.35);

  --accent-1: #7c8aff;   /* indiqo-neon */
  --accent-2: #29e0c9;   /* mint-neon */
  --accent-3: #ff5fa2;   /* pink-neon */
  --accent-warn: #ffb84d;
  --accent-danger: #ff5c6c;

  --text-hi: #f4f5fb;
  --text-mid: #b8bcd4;
  --text-low: #6c7192;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 999px;

  --shadow-glow: 0 0 40px rgba(124,138,255,0.15);
  --shadow-card: 0 8px 32px rgba(0,0,0,0.45);

  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html, body { height: 100%; overflow-x: hidden; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text-hi);
  background: var(--bg-void);
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* --- Ambient parallax background --- */
.ambient-bg {
  position: fixed; inset: 0; z-index: -2; overflow: hidden;
  background: radial-gradient(circle at 20% 15%, #171c34 0%, transparent 45%),
              radial-gradient(circle at 85% 75%, #1a1230 0%, transparent 50%),
              var(--bg-void);
}
.ambient-bg::before, .ambient-bg::after {
  content: ''; position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%;
  filter: blur(90px); opacity: 0.16; will-change: transform;
}
.ambient-bg::before {
  background: var(--accent-1); top: -20%; left: -15%;
  animation: driftA 22s ease-in-out infinite alternate;
}
.ambient-bg::after {
  background: var(--accent-3); bottom: -25%; right: -15%;
  animation: driftB 26s ease-in-out infinite alternate;
}
@keyframes driftA { from { transform: translate(0,0);} to { transform: translate(6vmax, 8vmax);} }
@keyframes driftB { from { transform: translate(0,0);} to { transform: translate(-5vmax, -7vmax);} }

@media (prefers-reduced-motion: reduce) {
  .ambient-bg::before, .ambient-bg::after { animation: none; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

/* --- Glass card primitive --- */
.glass {
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  position: relative;
}
.glass::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: linear-gradient(135deg, rgba(255,255,255,0.25), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  pointer-events: none; opacity: 0.5;
}

/* --- App shell --- */
#app { min-height: 100vh; display: flex; flex-direction: column; position: relative; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; padding-top: max(14px, env(safe-area-inset-top));
  background: rgba(8,10,20,0.72); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border-soft);
}
.logo-mark {
  font-family: var(--font-display); font-weight: 700; font-size: 20px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  -webkit-background-clip: text; background-clip: text; color: transparent;
  letter-spacing: 0.5px;
}
.topbar .spacer { flex: 1; }
.icon-btn {
  width: 40px; height: 40px; border-radius: var(--radius-full);
  display: flex; align-items: center; justify-content: center;
  background: var(--glass); border: 1px solid var(--border-soft);
  color: var(--text-hi); cursor: pointer; font-size: 18px;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.icon-btn:active { transform: scale(0.92); }
.icon-btn:hover { border-color: var(--border-glow); box-shadow: 0 0 16px rgba(124,138,255,0.25); }

main { flex: 1; padding: 16px; padding-bottom: 100px; max-width: 720px; margin: 0 auto; width: 100%; }

/* --- Command / search bar --- */
.command-bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px; margin-bottom: 16px;
}
.command-bar input {
  flex: 1; background: transparent; border: none; outline: none;
  color: var(--text-hi); font-size: 15px; font-family: var(--font-body);
}
.command-bar input::placeholder { color: var(--text-low); }
.command-bar .mic-btn, .command-bar .scan-btn {
  width: 34px; height: 34px; border-radius: var(--radius-full);
  border: none; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); color: #05060a;
  cursor: pointer; flex-shrink: 0; font-size: 15px;
}

/* --- Section headers --- */
.section-title {
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  text-transform: uppercase; letter-spacing: 1.4px; color: var(--text-low);
  margin: 22px 4px 10px;
  display: flex; align-items: center; justify-content: space-between;
}
.section-title .edit-toggle {
  font-size: 11px; color: var(--accent-1); cursor: pointer; text-transform: none; letter-spacing: 0;
}

/* --- Product grid & card --- */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.product-card {
  padding: 12px; cursor: pointer; transition: transform .15s ease, box-shadow .2s ease;
  display: flex; flex-direction: column; gap: 8px;
}
.product-card:active { transform: scale(0.97); }
.product-card:hover { box-shadow: var(--shadow-card), 0 0 24px rgba(124,138,255,0.18); }
.product-card .thumb {
  width: 100%; aspect-ratio: 1/1; border-radius: var(--radius-md);
  background: linear-gradient(135deg, #1b1f36, #0e1120);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
  color: var(--text-low); font-size: 26px;
}
.product-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-card .p-name { font-weight: 600; font-size: 14px; color: var(--text-hi); line-height: 1.25; }
.product-card .p-meta { font-size: 11.5px; color: var(--text-low); font-family: var(--font-mono); }
.product-card .p-price { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: var(--accent-2); }
.status-pill {
  display: inline-flex; align-items: center; gap: 5px; padding: 3px 9px;
  border-radius: var(--radius-full); font-size: 10.5px; font-weight: 600;
  background: rgba(255,255,255,0.06); width: fit-content;
}
.status-pill .dot { width: 6px; height: 6px; border-radius: 50%; }

.empty-state {
  text-align: center; padding: 60px 20px; color: var(--text-low);
}
.empty-state .big-icon { font-size: 42px; margin-bottom: 12px; opacity: 0.6; }
.empty-state h3 { color: var(--text-mid); font-family: var(--font-display); margin: 0 0 6px; }

/* --- Buttons --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 20px; border-radius: var(--radius-md); border: none;
  font-family: var(--font-body); font-weight: 600; font-size: 14px; cursor: pointer;
  transition: transform .12s ease, box-shadow .2s ease; text-decoration: none;
}
.btn:active { transform: scale(0.96); }
.btn-primary {
  background: linear-gradient(135deg, var(--accent-1), #5a67e0); color: #fff;
  box-shadow: 0 6px 20px rgba(124,138,255,0.35);
}
.btn-primary:hover { box-shadow: 0 8px 28px rgba(124,138,255,0.5); }
.btn-ghost { background: var(--glass); color: var(--text-hi); border: 1px solid var(--border-soft); }
.btn-danger { background: rgba(255,92,108,0.15); color: var(--accent-danger); border: 1px solid rgba(255,92,108,0.3); }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 14px; font-size: 12.5px; }

.fab {
  position: fixed; right: 18px; bottom: 90px; z-index: 45;
  width: 58px; height: 58px; border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  color: #fff; font-size: 26px; border: none;
  box-shadow: 0 8px 30px rgba(124,138,255,0.45);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.fab:active { transform: scale(0.9); }

/* --- Bottom nav --- */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 40;
  display: flex; justify-content: space-around; align-items: center;
  padding: 10px 8px; padding-bottom: max(10px, env(safe-area-inset-bottom));
  background: rgba(8,10,20,0.85); backdrop-filter: blur(20px);
  border-top: 1px solid var(--border-soft);
}
.nav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: var(--text-low); font-size: 10.5px; cursor: pointer; padding: 4px 10px;
  border-radius: var(--radius-md); transition: color .15s ease;
}
.nav-item .nav-icon { font-size: 19px; }
.nav-item.active { color: var(--accent-1); }
.nav-item.active .nav-icon { filter: drop-shadow(0 0 8px rgba(124,138,255,0.7)); }

/* --- Edge Panel --- */
.edge-tab { display: none; }
.edge-panel {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  max-height: 72vh; transform: translateY(-100%);
  transition: transform .22s cubic-bezier(.2,.9,.3,1);
  background: rgba(10,12,22,0.96); backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border-soft);
  border-radius: 0 0 22px 22px;
  padding: 14px 16px; padding-top: max(14px, env(safe-area-inset-top));
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.edge-panel.open { transform: translateY(0); }
.edge-panel::after {
  content: ''; position: absolute; bottom: 7px; left: 50%; transform: translateX(-50%);
  width: 40px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.25);
}

/* --- Edge grid (Samsung tərzi) --- */
.edge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.edge-cell {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  padding: 12px 6px; border-radius: 14px; cursor: pointer; text-align: center;
  background: var(--glass); border: 1px solid var(--border-soft);
  transition: transform .12s ease, background .15s ease;
}
.edge-cell:active { transform: scale(0.94); }
.edge-cell:hover { background: var(--glass-strong); }
.edge-cell .ec-icon { font-size: 22px; line-height: 1; }
.edge-cell .ec-label { font-size: 11px; color: var(--text-mid); line-height: 1.15; }
.edge-cell-wide {
  grid-column: 1 / -1; flex-direction: row; justify-content: flex-start; gap: 10px;
  padding: 10px 12px; margin-bottom: 6px; text-align: left;
}
.edge-cell-wide .ec-icon { font-size: 17px; }
.edge-cell-wide .ec-label { font-size: 12.5px; color: var(--text-hi); }

.edge-scrim {
  position: fixed; inset: 0; z-index: 55; background: rgba(0,0,0,0.5);
  opacity: 0; pointer-events: none; transition: opacity .25s ease;
}
.edge-scrim.open { opacity: 1; pointer-events: auto; }




/* --- Studio grid (Admin home) --- */
.studio-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.studio-card {
  padding: 18px 14px; text-align: left; cursor: pointer;
  display: flex; flex-direction: column; gap: 8px; min-height: 96px; justify-content: flex-end;
}
.studio-card .ic { font-size: 24px; }
.studio-card .title { font-family: var(--font-display); font-weight: 600; font-size: 13.5px; }
.studio-card .sub { font-size: 10.5px; color: var(--text-low); }

/* --- Forms --- */
.field { margin-bottom: 14px; }
.field label {
  display: block; font-size: 12px; color: var(--text-low); margin-bottom: 6px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.6px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 12px 14px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04); border: 1px solid var(--border-soft);
  color: var(--text-hi); font-family: var(--font-body); font-size: 14.5px; outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--accent-1); box-shadow: 0 0 0 3px rgba(124,138,255,0.18);
}
.field textarea { min-height: 80px; resize: vertical; }
.field-row { display: flex; gap: 10px; }
.field-row .field { flex: 1; }
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  padding: 6px 12px; border-radius: var(--radius-full); font-size: 12px;
  background: var(--glass); border: 1px solid var(--border-soft); cursor: pointer; color: var(--text-mid);
}
.chip.selected { background: linear-gradient(135deg, var(--accent-1), var(--accent-2)); color: #05060a; border-color: transparent; font-weight: 600; }

/* --- Image uploader --- */
.image-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 4px; }
.image-slot {
  flex-shrink: 0; width: 84px; height: 84px; border-radius: var(--radius-md);
  border: 1.5px dashed var(--border-soft); display: flex; align-items: center; justify-content: center;
  color: var(--text-low); font-size: 22px; cursor: pointer; position: relative; overflow: hidden;
  background: var(--glass);
}
.image-slot img { width: 100%; height: 100%; object-fit: cover; }
.image-slot .rm {
  position: absolute; top: 4px; right: 4px; width: 34px; height: 34px; border-radius: 50%;
  background: rgba(20,0,0,0.72); color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 16px; font-weight: 700; border: 1.5px solid rgba(255,80,80,0.55);
  box-shadow: 0 2px 8px rgba(0,0,0,0.5); cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background .15s ease, transform .1s ease;
}
.image-slot .rm:active { background: rgba(200,30,30,0.85); transform: scale(0.92); }

/* --- Modal / Sheet --- */
.sheet-scrim {
  position: fixed; inset: 0; z-index: 70; background: rgba(0,0,0,0.55);
  opacity: 0; pointer-events: none; transition: opacity .2s ease;
}
.sheet-scrim.open { opacity: 1; pointer-events: auto; }
.sheet {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 75;
  max-height: 88vh; overflow-y: auto;
  border-radius: 24px 24px 0 0; padding: 18px 18px 28px;
  transform: translateY(100%); transition: transform .3s cubic-bezier(.2,.9,.3,1);
  background: rgba(11,14,26,0.96); backdrop-filter: blur(24px);
  border: 1px solid var(--border-soft); border-bottom: none;
}
.sheet.open { transform: translateY(0); }
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: var(--border-soft); margin: 0 auto 16px; }
.sheet-title { font-family: var(--font-display); font-size: 18px; font-weight: 700; margin-bottom: 16px; }

/* --- AI chat bubble --- */
.ai-panel { display: flex; flex-direction: column; height: calc(100vh - 220px); }
.ai-messages { flex: 1; overflow-y: auto; padding: 4px; display: flex; flex-direction: column; gap: 10px; }
.ai-msg { max-width: 82%; padding: 11px 14px; border-radius: 16px; font-size: 14px; line-height: 1.45; }
.ai-msg.user { align-self: flex-end; background: linear-gradient(135deg, var(--accent-1), #5a67e0); color: #fff; border-bottom-right-radius: 4px; }
.ai-msg.bot { align-self: flex-start; background: var(--glass); border: 1px solid var(--border-soft); border-bottom-left-radius: 4px; }
.ai-input-row { display: flex; gap: 8px; padding-top: 10px; }
.ai-input-row input {
  flex: 1; padding: 12px 16px; border-radius: var(--radius-full);
  background: var(--glass); border: 1px solid var(--border-soft); color: var(--text-hi); outline: none;
}
.ai-suggestions { display: flex; gap: 8px; overflow-x: auto; padding: 8px 2px 4px; }
.ai-suggestions .chip { white-space: nowrap; }

/* --- Toast --- */
.toast-wrap { position: fixed; top: 12px; left: 0; right: 0; z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 8px; pointer-events: none; }
.toast {
  padding: 11px 18px; border-radius: var(--radius-full); font-size: 13px; font-weight: 500;
  background: rgba(20,22,36,0.95); border: 1px solid var(--border-soft); box-shadow: var(--shadow-card);
  animation: toastIn .25s ease;
}
.toast.success { border-color: rgba(41,224,201,0.5); color: var(--accent-2); }
.toast.error { border-color: rgba(255,92,108,0.5); color: var(--accent-danger); }
@keyframes toastIn { from { transform: translateY(-12px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 3px; }

/* --- Utility --- */
.row { display: flex; align-items: center; gap: 10px; }
.between { justify-content: space-between; }
.muted { color: var(--text-low); }
.mono { font-family: var(--font-mono); }
.hidden { display: none !important; }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.list-row {
  display: flex; align-items: center; justify-content: space-between; padding: 13px 14px;
  border-bottom: 1px solid var(--border-soft); font-size: 14px;
}
.list-row:last-child { border-bottom: none; }
.list-row .actions { display: flex; gap: 8px; }
.list-row .actions span { cursor: pointer; opacity: 0.7; font-size: 15px; }
.list-row .actions span:hover { opacity: 1; }

/* --- Camera scan overlay --- */
.scan-overlay {
  position: fixed; inset: 0; z-index: 80; background: #000;
  display: flex; flex-direction: column;
}
.scan-overlay video { flex: 1; object-fit: cover; width: 100%; }
.scan-frame {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 70vw; max-width: 320px; height: 140px; border: 2px solid var(--accent-2);
  border-radius: 16px; box-shadow: 0 0 0 2000px rgba(0,0,0,0.5);
}
.scan-close { position: absolute; top: max(16px, env(safe-area-inset-top)); right: 16px; z-index: 2; }

@media (min-width: 720px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
}

/* --- Image/Barcode Viewer (Instagram tərzi) --- */
.viewer-overlay {
  position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity .2s ease; touch-action: none;
}
.viewer-overlay.open { opacity: 1; }
.viewer-stage {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.viewer-img {
  max-width: 100%; max-height: 100%; object-fit: contain;
  transition: transform .05s linear; transform-origin: center; will-change: transform;
}
.viewer-close {
  position: absolute; top: max(16px, env(safe-area-inset-top)); right: 18px; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 20px; cursor: pointer;
}
.viewer-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 2;
  width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center; color: #fff; font-size: 28px; cursor: pointer;
}
.viewer-prev { left: 10px; }
.viewer-next { right: 10px; }
.viewer-dots { position: absolute; bottom: 90px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; }
.vdot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,0.35); }
.vdot.on { background: #fff; }
.viewer-barcode {
  position: absolute; bottom: max(24px, env(safe-area-inset-bottom)); left: 0; right: 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  background: rgba(255,255,255,0.95); margin: 0 16px; padding: 14px; border-radius: 16px;
}
.viewer-barcode .mono { color: #06070d; font-weight: 700; letter-spacing: 2px; }

/* Şəkil kiçik görünüşdə "böyüt" işarəsi */
.zoomable { position: relative; cursor: zoom-in; }
.zoomable::after {
  content: '⛶'; position: absolute; top: 6px; right: 6px; font-size: 13px;
  background: rgba(0,0,0,0.5); color: #fff; width: 22px; height: 22px; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   Dashboard Pro Plus + Animasiyalar + Keçidlər + Loading
   ============================================================ */

/* --- Dashboard --- */
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.attention-strip { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 10px; margin-bottom: 8px; }
.attention-chip {
  flex-shrink: 0; padding: 9px 14px; border-radius: 999px; font-size: 12.5px; font-weight: 600;
  background: rgba(255,184,77,0.14); border: 1px solid rgba(255,184,77,0.4); color: var(--accent-warn);
  cursor: pointer; animation: attnPulse 2.4s ease-in-out infinite;
}
@keyframes attnPulse { 0%,100% { box-shadow: 0 0 0 rgba(255,184,77,0); } 50% { box-shadow: 0 0 14px rgba(255,184,77,0.35); } }

.dash-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.dash-card {
  position: relative; padding: 20px 14px 16px; cursor: pointer; text-align: left;
  display: flex; flex-direction: column; gap: 6px; min-height: 108px; justify-content: flex-end;
  transition: transform .14s ease, box-shadow .2s ease;
}
.dash-card:active { transform: scale(0.95); }
.dash-card:hover { box-shadow: var(--shadow-card), 0 0 26px rgba(124,138,255,0.22); }
.dash-card .dc-icon { font-size: 28px; filter: drop-shadow(0 0 10px rgba(124,138,255,0.35)); }
.dash-card .dc-label { font-family: var(--font-display); font-weight: 700; font-size: 14.5px; }
.dash-card .dc-sub { font-size: 11px; color: var(--text-low); }
.dash-badge {
  position: absolute; top: 10px; right: 10px; min-width: 22px; height: 22px; padding: 0 6px;
  border-radius: 11px; background: var(--accent-danger); color: #fff; font-size: 11.5px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  animation: badgePop .3s cubic-bezier(.3,1.6,.5,1);
}
@keyframes badgePop { from { transform: scale(0); } to { transform: scale(1); } }

/* --- Qalereya --- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gallery-cell { position: relative; aspect-ratio: 1/1; border-radius: 12px; overflow: hidden; cursor: pointer; }
.gallery-cell img { width: 100%; height: 100%; object-fit: cover; }
.gallery-cell .gc-name {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 4px 6px; font-size: 9.5px;
  background: linear-gradient(transparent, rgba(0,0,0,0.75)); color: #fff;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* --- Geri düyməsi --- */
.back-btn {
  display: inline-flex; align-items: center; gap: 4px; padding: 8px 14px; margin-bottom: 12px;
  border-radius: 999px; background: var(--glass); border: 1px solid var(--border-soft);
  color: var(--text-mid); font-size: 13.5px; font-weight: 600; cursor: pointer;
  transition: transform .12s ease, border-color .15s ease;
}
.back-btn:active { transform: scale(0.94); }
.back-btn:hover { border-color: var(--border-glow); color: var(--text-hi); }

/* --- Səhifə keçid animasiyası --- */
.page-enter { animation: pageIn .22s cubic-bezier(.3,.9,.4,1); }
@keyframes pageIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

/* --- Element animasiyaları --- */
.anim-pop { animation: popIn .25s cubic-bezier(.3,1.4,.5,1) backwards; }
@keyframes popIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: scale(1); } }
.anim-slide { animation: slideIn .22s ease backwards; }
@keyframes slideIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: translateX(0); } }

/* Grid uşaqlarına pilləli gecikma */
.dash-grid > *:nth-child(1) { animation-delay: .02s; }
.dash-grid > *:nth-child(2) { animation-delay: .05s; }
.dash-grid > *:nth-child(3) { animation-delay: .08s; }
.dash-grid > *:nth-child(4) { animation-delay: .11s; }
.dash-grid > *:nth-child(5) { animation-delay: .14s; }
.dash-grid > *:nth-child(6) { animation-delay: .17s; }
.dash-grid > *:nth-child(7) { animation-delay: .20s; }
.dash-grid > *:nth-child(8) { animation-delay: .23s; }

/* --- Loading spinner (premium JOLLY loader) --- */
.jolly-loader {
  position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px;
  background: rgba(6,7,13,0.7); backdrop-filter: blur(6px);
}
.jolly-loader .jl-logo {
  font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: 1px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2), var(--accent-3), var(--accent-1));
  background-size: 250% auto; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: jlShine 1.8s linear infinite;
}
@keyframes jlShine { to { background-position: -250% center; } }
.jolly-loader .spinner {
  width: 46px; height: 46px; border-radius: 50%;
  border: 3px solid rgba(124,138,255,0.2); border-top-color: var(--accent-1);
  animation: spin .8s linear infinite;
  box-shadow: 0 0 24px rgba(124,138,255,0.3);
}
@keyframes spin { to { transform: rotate(360deg); } }
body.fx-off .jolly-loader .jl-logo { animation: none; }
body.fx-off .jolly-loader .spinner { animation-duration: 1.3s; }

/* --- Click ripple effekti --- */
.btn, .icon-btn, .dash-card, .chip, .list-row, .nav-item { position: relative; overflow: hidden; }
.ripple {
  position: absolute; border-radius: 50%; pointer-events: none;
  background: rgba(255,255,255,0.25); transform: scale(0);
  animation: rippleAnim .45s ease-out forwards;
}
@keyframes rippleAnim { to { transform: scale(3); opacity: 0; } }

/* Animasiyalar söndürülübsə */
body.no-anim * { animation: none !important; transition: none !important; }

/* ============================================================
   ✨ JOLLY Premium Effects — neon, hərəkət, işıq
   body.fx-off bütün bunları söndürür (zəif telefon rejimi)
   ============================================================ */

/* --- Neon nəfəs alma (dashboard kartları) --- */
body:not(.fx-off) .dash-card {
  animation: popIn .25s cubic-bezier(.3,1.4,.5,1) backwards, neonBreath 4s ease-in-out infinite;
}
@keyframes neonBreath {
  0%, 100% { border-color: var(--border-soft); box-shadow: var(--shadow-card); }
  50% { border-color: rgba(124,138,255,0.35); box-shadow: var(--shadow-card), 0 0 18px rgba(124,138,255,0.12); }
}
body:not(.fx-off) .dash-card:nth-child(2n) { animation-delay: .05s, 1s; }
body:not(.fx-off) .dash-card:nth-child(3n) { animation-delay: .08s, 2s; }

/* --- Gradient axını (başlıqlar) --- */
body:not(.fx-off) h2 {
  background: linear-gradient(90deg, var(--text-hi), var(--accent-1), var(--accent-2), var(--text-hi));
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradFlow 8s linear infinite;
}
@keyframes gradFlow { to { background-position: 300% 0; } }

/* --- Toxunuşda neon halqa --- */
body:not(.fx-off) .dash-card:active,
body:not(.fx-off) .studio-card:active {
  box-shadow: 0 0 0 2px rgba(124,138,255,0.5), 0 0 24px rgba(124,138,255,0.35) !important;
  transition: box-shadow .08s ease;
}

/* --- Yaylı toxunuş (spring press) --- */
body:not(.fx-off) .btn:active,
body:not(.fx-off) .icon-btn:active { transform: scale(0.92); transition: transform .08s ease; }
body:not(.fx-off) .btn, body:not(.fx-off) .icon-btn { transition: transform .22s cubic-bezier(.3,1.8,.5,1); }

/* --- Badge nəbzi --- */
body:not(.fx-off) .dash-badge {
  animation: badgePop .3s cubic-bezier(.3,1.6,.5,1), badgePulse 2s ease-in-out 1s infinite;
}
@keyframes badgePulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,92,120,0.5); }
  50% { box-shadow: 0 0 0 6px rgba(255,92,120,0); }
}

/* --- Skeleton shimmer (yüklənmə parıltısı) --- */
.shimmer {
  position: relative; overflow: hidden;
  background: rgba(255,255,255,0.04); border-radius: 12px;
}
body:not(.fx-off) .shimmer::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
  transform: translateX(-100%);
  animation: shimmerMove 1.4s ease infinite;
}
@keyframes shimmerMove { to { transform: translateX(100%); } }

/* --- Ambient işıq ləkələri (fon) --- */
/* köhnə ambient fon aurora ilə əvəz olundu */
@keyframes ambientDrift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(4%, 3%) scale(1.06); }
}
#main, .bottom-nav, .topbar { position: relative; z-index: 1; }

/* --- Konfetti hissəcikləri --- */
.confetti-piece {
  position: fixed; width: 8px; height: 8px; z-index: 300; pointer-events: none;
  animation: confettiFall .9s ease-out forwards;
}
@keyframes confettiFall {
  0% { transform: translate(0, 0) rotate(0) scale(1); opacity: 1; }
  100% { transform: translate(var(--cx), var(--cy)) rotate(540deg) scale(0.4); opacity: 0; }
}

/* --- Checkmark cızılması --- */
.check-pop {
  position: fixed; inset: 0; z-index: 299; display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.check-pop .circle {
  width: 90px; height: 90px; border-radius: 50%;
  background: radial-gradient(circle, rgba(94,234,195,0.18), transparent 70%);
  display: flex; align-items: center; justify-content: center;
  animation: checkZoom .5s cubic-bezier(.3,1.6,.5,1) forwards;
}
.check-pop .mark { font-size: 44px; filter: drop-shadow(0 0 14px rgba(94,234,195,0.7)); }
@keyframes checkZoom {
  0% { transform: scale(0); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); opacity: 0; }
}

/* --- Rəqəm sayğac keçidi --- */
body:not(.fx-off) .count-anim { transition: all .3s ease; }


/* --- Backup göstəricisi (topbar) --- */
.backup-dot {
  position: absolute; top: 6px; right: 6px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--accent-2); transition: background .3s ease;
}
.backup-dot.warn { background: var(--accent-warn); animation: backupPulse 1.6s ease-in-out infinite; }
.backup-dot.danger { background: var(--accent-danger); animation: backupPulse 1.1s ease-in-out infinite; }
@keyframes backupPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(255,184,77,0.55); }
  50% { box-shadow: 0 0 0 6px rgba(255,184,77,0); }
}
body.fx-off .backup-dot { animation: none; }

/* --- Peek (basılı saxla) rejimi --- */
.viewer-overlay.peek .viewer-close,
.viewer-overlay.peek .viewer-nav,
.viewer-overlay.peek .viewer-barcode { display: none; }
.viewer-overlay.peek .viewer-img {
  border-radius: 20px; max-width: 92%; max-height: 82%;
  box-shadow: 0 0 60px rgba(124,138,255,0.25);
  animation: peekZoom .18s cubic-bezier(.3,1.4,.5,1);
}
@keyframes peekZoom { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* --- Aktiv filtr çipi --- */
.chip-active {
  background: rgba(124,138,255,0.22) !important;
  border-color: var(--accent-1) !important;
  color: var(--text-hi) !important;
  box-shadow: 0 0 12px rgba(124,138,255,0.25);
}

/* ============================================================
   Command Palette + Pro funksiyalar (teq, variant, tarixçə)
   ============================================================ */

/* --- Command Palette --- */
.cmd-overlay {
  position: fixed; inset: 0; z-index: 250; background: rgba(6,7,13,0.6);
  backdrop-filter: blur(4px); display: flex; align-items: flex-start; justify-content: center;
  padding-top: 12vh; opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
.cmd-overlay.on { opacity: 1; pointer-events: auto; }
.cmd-box {
  width: 92%; max-width: 480px; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--border-glow); box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(124,138,255,0.2);
  transform: translateY(-10px); transition: transform .18s cubic-bezier(.3,1.3,.5,1);
}
.cmd-overlay.on .cmd-box { transform: translateY(0); }
.cmd-input-row { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--border-soft); }
.cmd-input-row input {
  flex: 1; background: none; border: none; outline: none; color: var(--text-hi);
  font-size: 16px; font-family: var(--font-body);
}
.cmd-esc { opacity: .5; cursor: pointer; font-size: 14px; padding: 4px 8px; }
.cmd-results { max-height: 52vh; overflow-y: auto; padding: 6px; }
.cmd-group { font-size: 10.5px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-low); padding: 10px 12px 4px; }
.cmd-item {
  display: flex; align-items: center; gap: 12px; padding: 11px 12px; border-radius: 10px; cursor: pointer;
  transition: background .12s ease;
}
.cmd-item:hover, .cmd-item:active { background: rgba(124,138,255,0.14); }
.cmd-item .ci-ic { font-size: 19px; width: 24px; text-align: center; }
.cmd-empty { padding: 30px; text-align: center; color: var(--text-low); font-size: 13px; }

/* --- Pro teqlər --- */
.pro-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pro-tag { font-size: 10.5px; font-weight: 600; padding: 3px 9px; border-radius: 999px; }

/* --- Variantlar --- */
.variant-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.variant-chip {
  display: flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 12px; cursor: pointer;
  background: var(--glass); border: 1px solid var(--border-soft); font-size: 12.5px;
  transition: transform .12s ease, border-color .15s ease;
}
.variant-chip:active { transform: scale(0.94); }
.variant-chip.on { border-color: var(--accent-1); box-shadow: 0 0 12px rgba(124,138,255,0.25); }
.variant-chip.add { color: var(--accent-2); font-size: 18px; font-weight: 700; padding: 8px 16px; }
.vc-dot { width: 14px; height: 14px; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); }

/* --- Tarixçə --- */
.hist-row { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--border-soft); }
.hist-row:last-child { border-bottom: none; }
.hist-row .h-ic { font-size: 15px; width: 22px; text-align: center; flex-shrink: 0; }
.hist-row .h-txt { font-size: 12.5px; line-height: 1.35; }

/* ============================================================
   UX Pro — Quick Actions, skeleton, boş-hal
   ============================================================ */

/* --- Quick Actions (uzun-basma menyu) --- */
.qa-overlay {
  position: fixed; inset: 0; z-index: 240; background: rgba(6,7,13,0.55);
  backdrop-filter: blur(3px); display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .18s ease;
}
.qa-overlay.on { opacity: 1; pointer-events: auto; }
.qa-sheet {
  width: 100%; max-width: 460px; border-radius: 22px 22px 0 0; padding: 10px 10px 26px;
  border: 1px solid var(--border-glow); border-bottom: none;
  transform: translateY(100%); transition: transform .22s cubic-bezier(.3,1.1,.4,1);
}
.qa-overlay.on .qa-sheet { transform: translateY(0); }
.qa-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; padding: 12px 14px 8px; opacity: .85; }
.qa-item {
  display: flex; align-items: center; gap: 13px; padding: 14px; border-radius: 12px; cursor: pointer;
  font-size: 14.5px; transition: background .12s ease;
}
.qa-item:active { background: rgba(124,138,255,0.14); }
.qa-item.danger { color: var(--accent-danger); }

/* --- Skeleton kart --- */
.skel-card { pointer-events: none; }

/* --- Boş-hal təkmilləşmə --- */
.empty-state { padding: 50px 20px; text-align: center; }
.empty-state .big-icon {
  font-size: 56px; margin-bottom: 12px;
  animation: floatY 3s ease-in-out infinite;
}
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
body.fx-off .empty-state .big-icon { animation: none; }

/* mono kopyala vurğu */
.mono { cursor: pointer; }

/* --- Insight/Analitika barlar --- */
.ins-bar-row { display: flex; align-items: center; gap: 10px; padding: 6px 0; }
.ins-bar-label { width: 90px; font-size: 12px; color: var(--text-mid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex-shrink: 0; }
.ins-bar-track { flex: 1; height: 8px; border-radius: 4px; background: rgba(255,255,255,0.06); overflow: hidden; }
.ins-bar-fill { height: 100%; border-radius: 4px; transition: width .6s cubic-bezier(.3,1,.4,1); }
.ins-bar-val { width: 36px; text-align: right; font-size: 12.5px; font-weight: 700; font-family: var(--font-mono); }

/* --- Toplu əməllər (Bulk) --- */
.bulk-bar {
  position: fixed; bottom: calc(66px + env(safe-area-inset-bottom)); left: 12px; right: 12px; z-index: 90;
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 10px 14px; border-radius: 16px; border: 1px solid var(--border-glow);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4), 0 0 20px rgba(124,138,255,0.2);
  animation: slideUp .22s cubic-bezier(.3,1.2,.4,1);
}
@keyframes slideUp { from { transform: translateY(20px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.bulk-count { font-weight: 700; font-size: 13px; white-space: nowrap; }
.bulk-actions { display: flex; gap: 4px; }
.bulk-actions button {
  background: rgba(255,255,255,0.06); border: none; color: var(--text-hi); border-radius: 10px;
  padding: 8px 10px; font-size: 13px; cursor: pointer;
}
.bulk-actions button:active { transform: scale(0.9); }
.bulk-actions button.danger { color: var(--accent-danger); }
.bulk-check {
  position: absolute; top: 8px; left: 8px; z-index: 3; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(0,0,0,0.5); border: 2px solid #fff; display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 13px; font-weight: 700;
}
.bulk-check.on { background: var(--accent-1); border-color: var(--accent-1); }
.product-card.bulk-selected { border-color: var(--accent-1); box-shadow: 0 0 16px rgba(124,138,255,0.3); }

/* ============================================================
   FX Engine — particle, aurora fon
   ============================================================ */

/* Particle toxunuş */
.fx-particle {
  position: fixed; width: 7px; height: 7px; border-radius: 50%; z-index: 300; pointer-events: none;
  animation: fxParticle .6s ease-out forwards;
}
@keyframes fxParticle {
  0% { transform: translate(0,0) scale(1); opacity: 1; }
  100% { transform: translate(var(--px), var(--py)) scale(0); opacity: 0; }
}

/* Aurora canlı fon */
.aurora-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.aurora-blob {
  position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.14;
}
.aurora-blob.a1 { width: 340px; height: 340px; background: var(--accent-1); top: -80px; left: -60px; animation: auroraFloat1 18s ease-in-out infinite; }
.aurora-blob.a2 { width: 300px; height: 300px; background: var(--accent-2); bottom: -60px; right: -50px; animation: auroraFloat2 22s ease-in-out infinite; }
.aurora-blob.a3 { width: 260px; height: 260px; background: var(--accent-3); top: 40%; left: 40%; animation: auroraFloat3 26s ease-in-out infinite; }
@keyframes auroraFloat1 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(40px, 60px); } }
@keyframes auroraFloat2 { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-50px, -40px); } }
@keyframes auroraFloat3 { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px, -50px) scale(1.15); } }
body.fx-off .aurora-bg { display: none !important; }
#main, .bottom-nav, .topbar { position: relative; z-index: 1; }

/* ============================================================
   Quick FAB + son baxılanlar
   ============================================================ */
.quick-fab { position: fixed; bottom: calc(78px + env(safe-area-inset-bottom)); right: 16px; z-index: 85; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.qfab-main {
  width: 58px; height: 58px; border-radius: 50%; border: none; cursor: pointer;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-3));
  color: #fff; font-size: 24px; box-shadow: 0 8px 24px rgba(124,138,255,0.45);
  transition: transform .2s cubic-bezier(.3,1.5,.5,1);
}
.quick-fab.open .qfab-main { transform: rotate(90deg); }
.qfab-main:active { transform: scale(0.9); }
.qfab-menu { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; }
.qfab-item {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  animation: qfabIn .2s cubic-bezier(.3,1.4,.5,1) backwards;
}
.qfab-item:nth-child(1){animation-delay:.02s}.qfab-item:nth-child(2){animation-delay:.05s}
.qfab-item:nth-child(3){animation-delay:.08s}.qfab-item:nth-child(4){animation-delay:.11s}
.qfab-item:nth-child(5){animation-delay:.14s}
@keyframes qfabIn { from { opacity:0; transform: translateX(20px) scale(.8); } to { opacity:1; transform: translateX(0) scale(1); } }
.qfab-item label { background: var(--glass-strong, rgba(20,24,45,0.9)); padding: 5px 11px; border-radius: 10px; font-size: 12.5px; border: 1px solid var(--border-soft); cursor: pointer; }
.qfab-item span { width: 44px; height: 44px; border-radius: 50%; background: var(--glass-strong, rgba(20,24,45,0.95)); border: 1px solid var(--border-soft); display: flex; align-items: center; justify-content: center; font-size: 20px; }

/* Son baxılanlar strip */
.recent-strip { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 6px; }
.recent-cell { flex-shrink: 0; width: 76px; cursor: pointer; }
.rc-thumb { width: 76px; height: 76px; border-radius: 14px; overflow: hidden; background: linear-gradient(135deg,#1b1f36,#0e1120); display: flex; align-items: center; justify-content: center; font-size: 26px; }
.rc-thumb img { width: 100%; height: 100%; object-fit: cover; }
.rc-name { font-size: 11px; margin-top: 5px; line-height: 1.2; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ============================================================
   Motion & Premium Effects — Mərhələ 3
   ============================================================ */

/* Düymə parıltısı (shine sweep) */
.btn-primary { position: relative; overflow: hidden; }
.btn-primary::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  transform: skewX(-20deg); transition: left .5s ease; pointer-events: none;
}
.btn-primary:active::after { left: 130%; }
body.fx-off .btn-primary::after { display: none; }

/* AI typing dots */
.ai-typing { display: inline-flex; gap: 4px; padding: 4px 0; }
.ai-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent-1); animation: aiDot 1.2s ease-in-out infinite; display: inline-block; }
.ai-typing span:nth-child(2) { animation-delay: .2s; }
.ai-typing span:nth-child(3) { animation-delay: .4s; }
@keyframes aiDot { 0%,60%,100% { opacity: .25; transform: translateY(0); } 30% { opacity: 1; transform: translateY(-3px); } }
body.fx-off .ai-typing span { animation: none; opacity: .6; }

/* Barkod scan-line */
.barcode-scanbox { position: relative; overflow: hidden; }
.barcode-scanbox::after {
  content: ''; position: absolute; left: 4%; right: 4%; top: 8%; height: 2px;
  background: linear-gradient(90deg, transparent, #22c98d, transparent);
  box-shadow: 0 0 8px #22c98d; animation: barcodeScan 2.1s ease-in-out infinite;
}
@keyframes barcodeScan { 0% { top: 8%; opacity: 0; } 10% { opacity: 1; } 90% { opacity: 1; } 100% { top: 92%; opacity: 0; } }
body.fx-off .barcode-scanbox::after { display: none; }

/* Visual Search skan çərçivəsi pulsu */
.scan-overlay.vs-scanning .scan-frame { animation: vsPulse 1.6s ease-in-out infinite; }
@keyframes vsPulse { 0%,100% { border-color: var(--accent-2); } 50% { border-color: var(--accent-1); } }

/* Bildiriş zəngi: shake + badge pulse */
@keyframes bellShake {
  0%,100% { transform: rotate(0); } 20% { transform: rotate(-14deg); } 40% { transform: rotate(11deg); }
  60% { transform: rotate(-7deg); } 80% { transform: rotate(4deg); }
}
.bell-shake { display: inline-block; animation: bellShake .55s ease-in-out; }
@keyframes badgePulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.22); } }
.badge-pulse { animation: badgePulse 1.1s ease-in-out infinite; }
body.fx-off .badge-pulse { animation: none; }
body.fx-off .bell-shake { animation: none; }

/* Xəta shake + uğur/xəta glow (toast) */
@keyframes softShake {
  0%,100% { transform: translateX(0); } 20% { transform: translateX(-6px); } 40% { transform: translateX(5px); }
  60% { transform: translateX(-4px); } 80% { transform: translateX(3px); }
}
.toast.error { animation: softShake .4s ease-in-out; box-shadow: 0 0 16px rgba(255,92,108,0.45); }
.toast.success { box-shadow: 0 0 16px rgba(41,224,201,0.4); }
body.fx-off .toast.error { animation: none; }

/* Skeleton kartlar üçün əlavə parıltı gücləndirmə */
.skel-card .shimmer { position: relative; overflow: hidden; }
.skel-card .shimmer::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.09), transparent);
  animation: shimmerMove 1.4s ease-in-out infinite;
}
@keyframes shimmerMove { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
body.fx-off .skel-card .shimmer::after { animation: none; }

/* Analytics count-up rəqəmləri üçün yüngül giriş animasiyası */
.count-up { animation: countUpIn .4s ease-out; }
@keyframes countUpIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
body.fx-off .count-up { animation: none; }

/* ============================================================
   Mərhələ 4 — Premium Effects Pack (real JOLLY siniflərinə bağlandı)
   ============================================================ */

/* JOLLY logo parıltı + sweep (.logo-mark artıq mövcuddur) */
.logo-mark {
  position: relative; display: inline-block;
  background-size: 200% 200%;
  animation: logoShimmer 3s ease-in-out infinite;
}
@keyframes logoShimmer {
  0%,100% { filter: drop-shadow(0 0 6px rgba(124,138,255,0.45)); }
  50% { filter: drop-shadow(0 0 16px rgba(124,138,255,0.85)) drop-shadow(0 0 28px rgba(41,224,201,0.35)); }
}
body.fx-off .logo-mark { animation: none; }

/* Məhsul kartı — glass glow + lift (mövcud .product-card üzərinə əlavə) */
.product-card { position: relative; overflow: hidden; }
.product-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 25%, rgba(124,138,255,0.14), transparent 70%);
  opacity: 0; transition: opacity .3s; pointer-events: none; border-radius: inherit;
}
.product-card:active::before { opacity: 1; }
@media (hover: hover) {
  .product-card:hover { transform: translateY(-3px); box-shadow: 0 8px 28px rgba(124,138,255,0.22), 0 2px 8px rgba(0,0,0,0.35); }
  .product-card:hover::before { opacity: 1; }
}
body.fx-off .product-card:hover { transform: none; box-shadow: none; }

/* Bottom nav — qızıl aktiv float + nöqtə (nav-item.active üzərinə əlavə) */
.nav-item.active .nav-icon {
  filter: drop-shadow(0 0 6px rgba(251,191,36,0.75)) drop-shadow(0 0 12px rgba(251,191,36,0.35));
  transform: translateY(-2px) scale(1.12);
}
.nav-item.active { color: #fbbf24; }
.nav-active-dot {
  position: absolute; bottom: 2px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 4px; border-radius: 50%; background: #fbbf24;
  box-shadow: 0 0 6px #fbbf24, 0 0 12px rgba(251,191,36,0.6);
  animation: navDotPulse 1.5s ease-in-out infinite;
}
@keyframes navIconFloat { 0%,100% { transform: translateY(-2px) scale(1.12); } 50% { transform: translateY(-5px) scale(1.12); } }
@keyframes navDotPulse { 0%,100% { box-shadow: 0 0 4px #fbbf24, 0 0 8px rgba(251,191,36,0.5); } 50% { box-shadow: 0 0 8px #fbbf24, 0 0 20px rgba(251,191,36,0.8); } }
body.fx-off .nav-item.active .nav-icon { animation: none; }
body.fx-off .nav-active-dot { animation: none; }

/* Skan çərçivəsi — künc mötərizələri + canlı skan xətti (mövcud .scan-frame üzərinə) */
.scan-frame {
  background:
    linear-gradient(#29e0c9,#29e0c9) top left,
    linear-gradient(#29e0c9,#29e0c9) top left,
    linear-gradient(#29e0c9,#29e0c9) top right,
    linear-gradient(#29e0c9,#29e0c9) top right,
    linear-gradient(#29e0c9,#29e0c9) bottom left,
    linear-gradient(#29e0c9,#29e0c9) bottom left,
    linear-gradient(#29e0c9,#29e0c9) bottom right,
    linear-gradient(#29e0c9,#29e0c9) bottom right;
  background-repeat: no-repeat;
  background-size: 2px 18px, 18px 2px, 2px 18px, 18px 2px, 2px 18px, 18px 2px, 2px 18px, 18px 2px;
  overflow: hidden;
}
.scan-frame::after {
  content: ''; position: absolute; left: 6%; right: 6%; height: 2px; top: 8%;
  background: linear-gradient(90deg, transparent, #29e0c9, transparent);
  box-shadow: 0 0 8px #29e0c9, 0 0 16px rgba(41,224,201,0.5);
  animation: scanFrameMove 1.8s ease-in-out infinite;
}
@keyframes scanFrameMove { 0% { top: 8%; opacity: 1; } 45% { top: 88%; opacity: 1; } 50% { opacity: .3; } 55% { top: 8%; opacity: .3; } 60% { opacity: 1; } 100% { top: 8%; opacity: 1; } }
body.fx-off .scan-frame::after { animation: none; opacity: .6; }

/* Analytics stat kartları — alt xətt böyümə animasiyası (mövcud .studio-card üzərinə) */
.studio-card { position: relative; overflow: hidden; }
.studio-card::before {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--accent-1), var(--accent-2));
  transform: scaleX(0); transform-origin: left; animation: statBarGrow 1.2s ease-out forwards;
}
@keyframes statBarGrow { to { transform: scaleX(1); } }
body.fx-off .studio-card::before { animation: none; transform: scaleX(1); }

/* ============================================================
   Mərhələ 5 — Dynamic Island / Edge Light / Reveal / Status Glow / View Transitions
   ============================================================ */

/* Dynamic Island bildiriş kapsulu */
.toast.di-capsule {
  display: inline-flex; align-items: center; overflow: hidden;
  max-width: 46px; height: 40px; padding: 0 12px; border-radius: 999px;
  background: rgba(8,9,16,0.94); backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  transition: max-width .4s cubic-bezier(.34,1.35,.4,1), padding .4s ease;
  white-space: nowrap; pointer-events: none;
}
.toast.di-capsule.di-open { max-width: 320px; padding: 0 16px; }
.toast.di-capsule.di-closing { max-width: 46px; padding: 0 12px; }
.toast.di-capsule .di-icon { font-size: 16px; flex-shrink: 0; }
.toast.di-capsule .di-text {
  font-size: 12.5px; max-width: 0; overflow: hidden; opacity: 0; margin-left: 0;
  transition: max-width .32s ease .08s, opacity .28s ease .1s, margin-left .32s ease .08s;
}
.toast.di-capsule.di-open .di-text { max-width: 260px; opacity: 1; margin-left: 8px; }
body.fx-off .toast.di-capsule { transition: max-width .15s ease; }

/* Edge lighting — bildiriş rəngli kənar parıltısı */
#edgeLightFrame {
  position: fixed; inset: 0; z-index: 260; pointer-events: none;
  box-shadow: inset 0 0 0 0 transparent; transition: box-shadow .4s ease;
}
#edgeLightFrame.edge-success { box-shadow: inset 0 0 46px 8px rgba(41,224,201,0.38); }
#edgeLightFrame.edge-error { box-shadow: inset 0 0 46px 8px rgba(255,92,108,0.42); }
#edgeLightFrame.edge-info { box-shadow: inset 0 0 46px 8px rgba(124,138,255,0.32); }
body.fx-off #edgeLightFrame { display: none; }

/* Reveal highlight — barmaq/kursoru izləyən işıq halqası */
.product-card, .studio-card, .dash-card { position: relative; }
.product-card::after, .studio-card::after, .dash-card::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: radial-gradient(160px circle at var(--mx,50%) var(--my,50%), rgba(255,255,255,0.10), transparent 65%);
  opacity: 0; transition: opacity .25s ease;
}
.product-card.reveal-on::after, .studio-card.reveal-on::after, .dash-card.reveal-on::after { opacity: 1; }
body.fx-off .product-card::after, body.fx-off .studio-card::after, body.fx-off .dash-card::after { display: none; }

/* Status-a görə dinamik kart glow */
.card-glow-danger { border-color: rgba(255,92,108,0.4); animation: cardPulseDanger 2.2s ease-in-out infinite; }
.card-glow-new { border-color: rgba(41,224,201,0.4); animation: cardPulseNew 2.2s ease-in-out infinite; }
@keyframes cardPulseDanger { 0%,100% { box-shadow: 0 0 0 rgba(255,92,108,0); } 50% { box-shadow: 0 0 14px rgba(255,92,108,0.35); } }
@keyframes cardPulseNew { 0%,100% { box-shadow: 0 0 0 rgba(41,224,201,0); } 50% { box-shadow: 0 0 14px rgba(41,224,201,0.32); } }
body.fx-off .card-glow-danger, body.fx-off .card-glow-new { animation: none; }

/* Global geri düyməsi */
#globalBackBtn { font-size: 22px; }
#logoHome { cursor: pointer; }

/* Connected animation — səhifə keçidi (View Transitions API) */
::view-transition-old(root) { animation: 220ms ease both viewFadeOut; }
::view-transition-new(root) { animation: 260ms ease both viewFadeIn; }
@keyframes viewFadeOut { to { opacity: 0; transform: scale(.99); } }
@keyframes viewFadeIn { from { opacity: 0; transform: scale(1.01) translateY(6px); } }

/* ============================================================
   JOLLY Live Lens
   ============================================================ */
.ll-overlay { z-index: 90; }
.ll-header {
  position: absolute; top: max(16px, env(safe-area-inset-top)); left: 0; right: 0;
  text-align: center; color: #fff; font-family: var(--font-display); font-weight: 700; font-size: 16px;
  letter-spacing: 0.5px; z-index: 2; text-shadow: 0 0 12px rgba(41,224,201,0.6);
}
.ll-status {
  position: absolute; left: 0; right: 0; text-align: center; color: #fff; font-size: 13px;
  opacity: .9; z-index: 2; top: calc(50% + 130px);
}
#llCardZone { position: absolute; left: 16px; right: 16px; bottom: 96px; z-index: 3; }
.ll-card { padding: 16px; }
.ll-card-title { font-family: var(--font-display); font-weight: 700; font-size: 17px; margin-bottom: 6px; color: var(--text-hi); }
.ll-card-row { font-size: 13px; color: var(--text-mid); margin-bottom: 4px; }
.ll-card-actions { display: flex; gap: 10px; margin-top: 10px; }
.ll-card-actions button {
  flex: 1; padding: 10px 0; border-radius: 12px; border: none; background: var(--glass);
  border: 1px solid var(--border-soft); font-size: 18px; color: var(--text-hi); cursor: pointer;
}
.ll-bottom {
  position: absolute; left: 16px; right: 16px; bottom: max(16px, env(safe-area-inset-bottom));
  display: flex; gap: 8px; z-index: 3;
}
.ll-cmd-input {
  flex: 1; padding: 12px 14px; border-radius: 14px; border: 1px solid rgba(255,255,255,0.15);
  background: rgba(10,10,18,0.75); color: #fff; font-size: 14px; backdrop-filter: blur(8px);
}
.ll-bottom .icon-btn { background: var(--accent-1); color: #05060a; }

/* ============================================================
   Premium Splash (FX Pack-dən uyğunlaşdırıldı)
   ============================================================ */
#jollySplash {
  position: fixed; inset: 0; z-index: 9999;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: radial-gradient(ellipse at 60% 30%, #1a0d2e 0%, #0a0a0f 60%, #00041a 100%);
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#jollySplash.splash-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.splash-orb {
  width: 90px; height: 90px; border-radius: 50%;
  background: conic-gradient(from 0deg, #fbbf24, #a855f7, #06b6d4, #fbbf24);
  animation: splashOrbSpin 2s linear infinite, splashOrbPulse 1.2s ease-in-out infinite alternate;
  box-shadow: 0 0 40px 12px rgba(251,191,36,0.35), 0 0 80px 24px rgba(168,85,247,0.2);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.splash-orb::after { content: '🧠'; position: absolute; font-size: 36px; animation: splashOrbSpin 2s linear infinite reverse; }
@keyframes splashOrbSpin { to { transform: rotate(360deg); } }
@keyframes splashOrbPulse {
  from { box-shadow: 0 0 30px 8px rgba(251,191,36,0.25), 0 0 60px 16px rgba(168,85,247,0.15); }
  to   { box-shadow: 0 0 55px 20px rgba(251,191,36,0.5), 0 0 100px 36px rgba(6,182,212,0.2); }
}
.splash-title {
  margin-top: 28px; font-size: 26px; font-weight: 900; letter-spacing: 3px;
  background: linear-gradient(90deg, #fbbf24 0%, #a855f7 50%, #06b6d4 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  animation: splashFadeIn 0.7s ease 0.3s both;
}
.splash-sub { margin-top: 8px; font-size: 12px; color: rgba(255,255,255,0.45); letter-spacing: 2px; animation: splashFadeIn 0.7s ease 0.6s both; }
.splash-bar { margin-top: 32px; width: 120px; height: 3px; background: rgba(255,255,255,0.08); border-radius: 2px; overflow: hidden; animation: splashFadeIn 0.5s ease 0.8s both; }
.splash-bar-fill { height: 100%; width: 0%; background: linear-gradient(90deg, #fbbf24, #a855f7, #06b6d4); border-radius: 2px; animation: splashBarLoad 1.4s ease 0.9s forwards; }
@keyframes splashFadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@keyframes splashBarLoad { from { width: 0%; } to { width: 100%; } }
body.fx-off #jollySplash .splash-orb { animation: none; }
body.fx-off #jollySplash .splash-bar-fill { animation-duration: 0.4s; }

/* ============================================================
   İlham Pack — dairəvi sağlamlıq halqası, rəngli kartlar, premium loader
   ============================================================ */

/* --- Dairəvi proqres halqası (My Diary tərzi) --- */
.health-ring { position: relative; width: 150px; height: 150px; margin: 0 auto; }
.health-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.health-ring circle { fill: none; stroke-width: 10; stroke-linecap: round; }
.health-ring .hr-bg { stroke: rgba(255,255,255,0.08); }
.health-ring .hr-fill {
  stroke: var(--ring-color);
  stroke-dasharray: 327;
  stroke-dashoffset: calc(327 - (327 * var(--pct) / 100));
  filter: drop-shadow(0 0 6px var(--ring-color));
  transition: stroke-dashoffset 1s cubic-bezier(.4,0,.2,1);
  animation: ringGrow 1.1s cubic-bezier(.4,0,.2,1);
}
@keyframes ringGrow { from { stroke-dashoffset: 327; } }
.health-ring .hr-center {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center;
}
.health-ring .hr-num { font-family: var(--font-display); font-size: 38px; font-weight: 800; line-height: 1; }
.health-ring .hr-label { font-size: 11px; color: var(--text-mid); margin-top: 2px; letter-spacing: 1px; }
body.fx-off .health-ring .hr-fill { animation: none; }

/* --- Rəngli kateqoriya kartları (yumşaq gradient, My Diary/kofe tərzi) --- */
.color-card {
  border-radius: 20px; padding: 16px; position: relative; overflow: hidden;
  color: #fff; cursor: pointer; transition: transform .14s ease, box-shadow .2s ease;
  min-height: 96px; display: flex; flex-direction: column; justify-content: space-between;
}
.color-card:active { transform: scale(0.96); }
.color-card .cc-icon { font-size: 26px; }
.color-card .cc-title { font-weight: 700; font-size: 15px; }
.color-card .cc-sub { font-size: 11.5px; opacity: 0.85; }
.color-card.cc-purple { background: linear-gradient(135deg, #7c5cfc, #a855f7); box-shadow: 0 8px 24px rgba(124,92,252,0.35); }
.color-card.cc-pink   { background: linear-gradient(135deg, #ff6b9d, #ff4d7d); box-shadow: 0 8px 24px rgba(255,77,125,0.32); }
.color-card.cc-teal   { background: linear-gradient(135deg, #29e0c9, #0ea5a5); box-shadow: 0 8px 24px rgba(41,224,201,0.3); }
.color-card.cc-gold   { background: linear-gradient(135deg, #f5c563, #e0a72e); box-shadow: 0 8px 24px rgba(245,197,99,0.3); }
.color-card.cc-blue   { background: linear-gradient(135deg, #4f9fff, #2f6fe0); box-shadow: 0 8px 24px rgba(79,159,255,0.3); }
.color-card.cc-orange { background: linear-gradient(135deg, #ff9d5c, #ff6b3d); box-shadow: 0 8px 24px rgba(255,107,61,0.3); }
.color-card::after {
  content: ''; position: absolute; top: -30%; right: -20%; width: 100px; height: 100px;
  background: rgba(255,255,255,0.15); border-radius: 50%;
}

/* --- Premium loader (FX Pack "rings 🧠" tərzi) --- */
.jolly-loader .spinner { display: none; }
.jolly-loader .loader-rings {
  position: relative; width: 70px; height: 70px;
}
.jolly-loader .loader-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid transparent;
}
.jolly-loader .loader-ring:nth-child(1) { border-top-color: var(--accent-1); animation: spin 1s linear infinite; }
.jolly-loader .loader-ring:nth-child(2) { border-right-color: var(--accent-2); animation: spin 1.4s linear infinite reverse; inset: 8px; }
.jolly-loader .loader-ring:nth-child(3) { border-bottom-color: var(--accent-3); animation: spin 1.8s linear infinite; inset: 16px; }
.jolly-loader .loader-center {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 26px; animation: loaderPulse 1.2s ease-in-out infinite;
}
@keyframes loaderPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.15); } }
body.fx-off .jolly-loader .loader-ring { animation-duration: 2s; }

/* ============================================================
   Store OS Dashboard — Store Pulse, neon, AI robot, üzən menyu
   ============================================================ */
.storeos { padding-bottom: 160px; }

/* --- Store Pulse --- */
.store-pulse {
  position: relative; margin-top: 12px; padding: 18px;
  border-radius: 22px; overflow: hidden;
  background: linear-gradient(135deg, rgba(20,30,60,0.6), rgba(10,15,30,0.85));
  border: 1px solid rgba(79,159,255,0.25);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4), inset 0 1px 0 rgba(120,180,255,0.1);
}
.store-pulse .sp-glow {
  position: absolute; top: -40%; right: -20%; width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(79,159,255,0.25), transparent 70%);
  pointer-events: none;
}
.sp-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #cfe0ff; margin-bottom: 14px; }
.sp-title span { font-size: 11px; color: rgba(160,190,240,0.6); font-weight: 400; margin-left: 4px; }
.sp-body { display: flex; gap: 14px; align-items: center; }
.sp-ring.health-ring { width: 104px; height: 104px; margin: 0; flex-shrink: 0; }
.sp-ring .hr-num { font-size: 26px !important; }
.sp-ring .hr-label { font-size: 10px; }
.sp-ring { width: 110px; height: 110px; flex-shrink: 0; }
.sp-stats { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.sp-stat { display: flex; align-items: center; gap: 8px; cursor: pointer; padding: 3px 0; }
.sp-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 8px currentColor; }
.sp-text { flex: 1; font-size: 12.5px; color: #dfe8f5; }
.sp-arrow { color: rgba(160,190,240,0.5); font-size: 15px; }
.sp-foot { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(120,180,255,0.12); display: flex; align-items: center; gap: 10px; }
.sp-advice { flex: 1; font-size: 11.5px; color: rgba(200,215,240,0.75); line-height: 1.4; }
.sp-advice b { color: #8ab6ff; }
.sp-btn {
  flex-shrink: 0; padding: 9px 14px; border-radius: 12px; border: none;
  background: linear-gradient(135deg, #4f9fff, #2f6fe0); color: #fff;
  font-size: 12px; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 14px rgba(79,159,255,0.4);
}

/* --- AI robot kartı --- */
.ai-robot-card {
  margin-top: 18px; padding: 16px; border-radius: 22px; cursor: pointer;
  display: flex; gap: 14px; align-items: center;
  background: linear-gradient(135deg, rgba(60,30,110,0.4), rgba(10,10,20,0.85));
  border: 1px solid rgba(150,110,255,0.3);
  box-shadow: 0 8px 26px rgba(80,40,160,0.2);
}
.arc-robot {
  font-size: 42px; flex-shrink: 0;
  filter: drop-shadow(0 0 12px rgba(120,180,255,0.5));
  animation: robotFloat 3s ease-in-out infinite alternate;
}
@keyframes robotFloat { from { transform: translateY(0); } to { transform: translateY(-6px); } }
body.fx-off .arc-robot { animation: none; }
.arc-body { flex: 1; min-width: 0; }
.arc-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; color: #fff; margin-bottom: 6px; }
.arc-stats { display: flex; flex-direction: column; gap: 3px; margin-bottom: 10px; }
.arc-stats div { font-size: 11.5px; color: #cbd5e8; display: flex; align-items: center; gap: 6px; }
.arc-buttons { display: flex; gap: 8px; }
.arc-btn { padding: 7px 12px; border-radius: 10px; font-size: 11.5px; font-weight: 600; cursor: pointer; }
.arc-btn-primary { background: linear-gradient(135deg, #6a5cff, #4f3fd0); color: #fff; }
.arc-btn-gold { background: rgba(245,197,99,0.15); color: #f5c563; border: 1px solid rgba(245,197,99,0.35); }

/* --- Üzən + menyu --- */
.jolly-fab {
  position: fixed; right: 16px; bottom: 90px; z-index: 71;
  width: 58px; height: 58px; border-radius: 50%; border: none;
  background: linear-gradient(135deg, #7c5cfc, #d16bff);
  color: #fff; font-size: 30px; cursor: pointer;
  box-shadow: 0 6px 22px rgba(124,92,252,0.5);
  display: flex; align-items: center; justify-content: center;
  transition: transform .25s cubic-bezier(.34,1.56,.64,1);
}
.jolly-fab.open { transform: rotate(135deg); }
.jolly-fab .fab-icon { line-height: 1; }
.fab-menu {
  position: fixed; right: 16px; bottom: 158px; z-index: 71;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
  opacity: 0; transform: translateY(20px) scale(0.9); pointer-events: none;
  transition: opacity .22s ease, transform .22s cubic-bezier(.34,1.56,.64,1);
}
.fab-menu.open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.fab-item {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  background: rgba(20,16,36,0.95); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 26px; padding: 9px 14px; backdrop-filter: blur(12px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.fab-item span:first-child { font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; }
.fab-item .fab-i {
  width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #4f9fff, #7c5cfc); font-size: 17px;
}

/* ============================================================
   Holoqrafik Splash — beyin parıltısı + skaner-effektli logo
   ============================================================ */
#jollySplash { background: radial-gradient(ellipse at 50% 40%, #071018 0%, #05050a 70%); }
.splash-brain {
  font-size: 92px; line-height: 1;
  filter: drop-shadow(0 0 40px rgba(6,220,240,0.6)) drop-shadow(0 0 80px rgba(6,182,212,0.35));
  animation: brainPulse 1.6s ease-in-out infinite alternate;
}
@keyframes brainPulse {
  from { filter: drop-shadow(0 0 30px rgba(6,220,240,0.4)) drop-shadow(0 0 60px rgba(6,182,212,0.25)); transform: scale(1); }
  to   { filter: drop-shadow(0 0 55px rgba(6,220,240,0.8)) drop-shadow(0 0 110px rgba(6,182,212,0.5)); transform: scale(1.06); }
}
.splash-logo-wrap { position: relative; margin-top: 30px; overflow: hidden; }
.splash-logo {
  font-family: var(--font-display); font-size: 42px; font-weight: 900; letter-spacing: 8px;
  color: #eaf6ff; text-shadow: 0 0 20px rgba(6,220,240,0.4);
}
.splash-scan {
  position: absolute; top: 0; left: -60px; width: 50px; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(6,220,240,0.7), transparent);
  animation: scanSweep 2s linear infinite;
}
@keyframes scanSweep { 0% { left: -60px; } 100% { left: 110%; } }
.splash-sub {
  margin-top: 14px; font-size: 12px; letter-spacing: 3px;
  color: rgba(160,220,240,0.55);
}
body.fx-off .splash-brain, body.fx-off .splash-scan { animation: none; }

/* FAB scrim — menyu açılanda arxa fonu qaralt (təmiz görünüş) */
.fab-scrim {
  position: fixed; inset: 0; z-index: 70;
  background: rgba(5,6,12,0.5); backdrop-filter: blur(3px);
  opacity: 0; transition: opacity .2s ease;
}
.fab-scrim.open { opacity: 1; }

/* Gələn Mal kartında sil düyməsi */
.draft-del {
  position: absolute; top: 6px; right: 6px; z-index: 3;
  width: 30px; height: 30px; border-radius: 50%; border: none;
  background: rgba(20,10,15,0.8); backdrop-filter: blur(6px);
  font-size: 14px; cursor: pointer; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
}
.draft-del:active { transform: scale(0.9); }

/* ============================================================
   Neon Dashboard Kartları — hər kart öz rəngində parıldayır
   ============================================================ */
.dash-card[class*="neon-"] {
  position: relative;
  background: linear-gradient(155deg, rgba(20,24,40,0.85), rgba(10,12,22,0.95));
  border: 1px solid var(--neon-c, rgba(120,140,255,0.4));
  box-shadow: 0 0 0 1px var(--neon-glow, transparent),
              0 6px 20px rgba(0,0,0,0.4),
              inset 0 1px 0 rgba(255,255,255,0.05);
  transition: transform .15s ease, box-shadow .25s ease;
  overflow: hidden;
}
.dash-card[class*="neon-"]::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--neon-c); box-shadow: 0 0 12px var(--neon-c); opacity: 0.9;
}
.dash-card[class*="neon-"]::after {
  content: ''; position: absolute; top: -30%; right: -25%; width: 120px; height: 120px;
  background: radial-gradient(circle, var(--neon-soft, transparent), transparent 70%);
  pointer-events: none;
}
.dash-card[class*="neon-"]:active { transform: scale(0.97); }
.dash-card[class*="neon-"] .dc-icon {
  filter: drop-shadow(0 0 8px var(--neon-c));
}

.dash-card.neon-blue   { --neon-c: #4f9fff; --neon-soft: rgba(79,159,255,0.22); --neon-glow: rgba(79,159,255,0.15); }
.dash-card.neon-purple { --neon-c: #a855f7; --neon-soft: rgba(168,85,247,0.22); --neon-glow: rgba(168,85,247,0.15); }
.dash-card.neon-teal   { --neon-c: #29e0c9; --neon-soft: rgba(41,224,201,0.22); --neon-glow: rgba(41,224,201,0.15); }
.dash-card.neon-green  { --neon-c: #4ade80; --neon-soft: rgba(74,222,128,0.22); --neon-glow: rgba(74,222,128,0.15); }
.dash-card.neon-red    { --neon-c: #ff5c6c; --neon-soft: rgba(255,92,108,0.22); --neon-glow: rgba(255,92,108,0.15); }
.dash-card.neon-gold   { --neon-c: #f5c563; --neon-soft: rgba(245,197,99,0.22); --neon-glow: rgba(245,197,99,0.15); }
.dash-card.neon-pink   { --neon-c: #ff6bb3; --neon-soft: rgba(255,107,179,0.22); --neon-glow: rgba(255,107,179,0.15); }

.dash-card[class*="neon-"] .dc-label { color: #fff; font-weight: 700; }
.dash-card[class*="neon-"] .dc-sub { color: rgba(200,210,230,0.6); }

/* ============================================================
   Store OS Dashboard v2 — konturlu ikonlar, böyük neon kartlar
   ============================================================ */
.jicon { width: 100%; height: 100%; display: block; }
.dash-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.dash-section-head { display: flex; justify-content: space-between; align-items: center; margin: 22px 0 12px; }

/* --- JOLLY bu gün / Pulse kartı --- */
.pulse-card {
  position: relative; padding: 18px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(150deg, rgba(30,40,75,0.5), rgba(12,14,26,0.9));
  border: 1px solid rgba(90,120,220,0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.45), inset 0 1px 0 rgba(120,160,255,0.12);
}
.pulse-top { display: flex; gap: 16px; align-items: center; }
.pulse-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #eaf1ff; margin-bottom: 10px; }
.pulse-left { flex-shrink: 0; text-align: center; }
.sp-ring.health-ring { width: 118px; height: 118px; margin: 0; }
.sp-ring .hr-num { font-size: 26px !important; }
.sp-ring .hr-label { font-size: 10px; line-height: 1.2; }
.pulse-stats { flex: 1; display: flex; flex-direction: column; gap: 9px; }
.sp-stat { display: flex; align-items: center; gap: 9px; cursor: pointer; }
.sp-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; box-shadow: 0 0 8px currentColor; }
.sp-text { flex: 1; font-size: 12.5px; color: #e4ecfa; }
.sp-arrow { width: 16px; height: 16px; color: rgba(150,180,240,0.5); }
.sp-arrow .jicon { width: 16px; height: 16px; }
.sp-check { color: #4ade80; font-weight: 700; }
.pulse-foot { margin-top: 14px; padding-top: 13px; border-top: 1px solid rgba(120,160,255,0.14); display: flex; align-items: center; gap: 12px; }
.sp-advice { flex: 1; font-size: 11.5px; color: rgba(210,222,245,0.8); line-height: 1.45; }
.sp-btn {
  flex-shrink: 0; display: flex; align-items: center; gap: 6px; padding: 10px 15px; border-radius: 13px; border: none;
  background: linear-gradient(135deg, #4f9fff, #7c5cfc); color: #fff; font-size: 12.5px; font-weight: 600; cursor: pointer;
  box-shadow: 0 4px 16px rgba(79,159,255,0.4);
}
.sp-btn .jicon { width: 15px; height: 15px; }

/* --- Böyük neon əməliyyat kartları --- */
.big-op-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.big-op {
  position: relative; padding: 16px; border-radius: 20px; cursor: pointer; overflow: hidden;
  background: linear-gradient(155deg, rgba(20,24,44,0.7), rgba(10,12,22,0.92));
  border: 1px solid var(--neon-c, #4f9fff); min-height: 128px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: transform .15s ease;
}
.big-op:active { transform: scale(0.97); }
.big-op::after {
  content: ''; position: absolute; inset: 0; border-radius: 20px; pointer-events: none;
  box-shadow: inset 0 0 30px var(--neon-glow, transparent);
}
.big-op .bo-icon {
  width: 46px; height: 46px; border-radius: 13px; padding: 10px;
  border: 1.5px solid var(--neon-c); color: var(--neon-c);
  box-shadow: 0 0 14px var(--neon-glow), inset 0 0 10px var(--neon-glow);
}
.bo-label { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff; }
.bo-sub { font-size: 11.5px; color: rgba(200,210,230,0.6); margin-top: 2px; }
.bo-chev { position: absolute; bottom: 14px; right: 14px; width: 24px; height: 24px; border-radius: 50%; background: rgba(255,255,255,0.06); display: flex; align-items: center; justify-content: center; }
.bo-chev .jicon { width: 14px; height: 14px; color: rgba(255,255,255,0.5); }
.bo-badge { position: absolute; top: 12px; right: 12px; background: #ff3b4e; color: #fff; font-size: 11px; font-weight: 700; min-width: 20px; height: 20px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 5px; z-index: 2; }

/* --- Daha çox: kiçik ikon kartlar --- */
.more-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.more-card {
  aspect-ratio: 1; border-radius: 16px; cursor: pointer;
  background: rgba(18,22,38,0.7); border: 1px solid rgba(255,255,255,0.08);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 6px;
  transition: transform .14s ease, border-color .2s ease;
}
.more-card:active { transform: scale(0.93); }
.more-card .mc-icon { width: 26px; height: 26px; color: var(--neon-c, #4f9fff); filter: drop-shadow(0 0 6px var(--neon-glow)); }
.mc-label { font-size: 10.5px; text-align: center; color: #cbd5e8; line-height: 1.2; }

/* --- AI məsləhət kartı --- */
.ai-advice-card {
  margin-top: 22px; padding: 16px; border-radius: 20px;
  background: linear-gradient(145deg, rgba(40,30,80,0.4), rgba(12,12,24,0.9));
  border: 1px solid rgba(140,110,255,0.3);
}
.aac-head { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #fff; margin-bottom: 12px; }
.aac-head .jicon { width: 20px; height: 20px; }
.aac-body { display: flex; gap: 12px; align-items: center; }
.aac-robot { font-size: 44px; flex-shrink: 0; filter: drop-shadow(0 0 14px rgba(120,180,255,0.5)); animation: robotFloat 3s ease-in-out infinite alternate; }
body.fx-off .aac-robot { animation: none; }
.aac-stats { flex: 1; display: flex; flex-direction: column; gap: 5px; }
.aac-stats div { font-size: 11.5px; color: #d5deef; display: flex; align-items: center; gap: 7px; }
.aac-advice { flex: 1; }
.aac-buttons { display: flex; gap: 10px; margin-top: 14px; }
.aac-btn { flex: 1; padding: 11px; border-radius: 13px; border: none; font-size: 12.5px; font-weight: 700; cursor: pointer; }
.aac-primary { background: linear-gradient(135deg, #6a5cff, #4f3fd0); color: #fff; }
.aac-gold { background: rgba(245,197,99,0.15); color: #f5c563; border: 1px solid rgba(245,197,99,0.4); }

/* --- Üzən + menyu v2 --- */
.jfab-wrap { position: fixed; right: 16px; bottom: 88px; z-index: 72; display: flex; flex-direction: column; align-items: flex-end; gap: 12px; pointer-events: none; }
.jfab-wrap .jfab-btn, .jfab-wrap .jfab-menu { pointer-events: auto; }
.jfab-btn {
  width: 58px; height: 58px; border-radius: 50%; border: none; align-self: flex-end;
  background: linear-gradient(135deg, #7c5cfc, #b16bff); cursor: pointer; padding: 16px;
  box-shadow: 0 6px 22px rgba(124,92,252,0.55); transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.jfab-btn .jicon { color: #fff; }
.jfab-btn.open { transform: rotate(135deg); }
.jfab-menu { display: flex; flex-direction: column; gap: 10px; align-items: flex-end; opacity: 0; transform: translateY(15px); pointer-events: none; transition: opacity .2s ease, transform .2s cubic-bezier(.34,1.56,.64,1); }
.jfab-menu.open { opacity: 1; transform: translateY(0); pointer-events: auto; }
.jfab-item { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.jfab-lbl { background: rgba(18,16,34,0.95); border: 1px solid rgba(255,255,255,0.12); padding: 9px 15px; border-radius: 22px; font-size: 13px; font-weight: 600; color: #fff; white-space: nowrap; backdrop-filter: blur(10px); box-shadow: 0 3px 12px rgba(0,0,0,0.4); }
.jfab-b { width: 44px; height: 44px; border-radius: 50%; padding: 11px; flex-shrink: 0; box-shadow: 0 4px 14px rgba(0,0,0,0.4); }
.jfab-b .jicon { color: #fff; }
.jfab-b.neon-blue { background: linear-gradient(135deg, #4f9fff, #2f6fe0); }
.jfab-b.neon-purple { background: linear-gradient(135deg, #a855f7, #7c3fd0); }
.jfab-b.neon-teal { background: linear-gradient(135deg, #29e0c9, #0ea5a5); }
.jfab-b.neon-gold { background: linear-gradient(135deg, #f5c563, #e0a72e); }
.fab-scrim2 { position: fixed; inset: 0; z-index: 71; background: rgba(5,6,12,0.55); backdrop-filter: blur(4px); opacity: 0; pointer-events: none; transition: opacity .2s ease; }
.fab-scrim2.open { opacity: 1; pointer-events: auto; }

.storeos { padding-bottom: 170px; }

/* ============================================================
   Topbar Pro + Neon alt naviqasiya (şablona uyğun)
   ============================================================ */
.topbar-pro { align-items: center; padding: 10px 14px; gap: 8px; }
.topbar-pro .hidden-btn { display: none; }
.brand { cursor: pointer; }
.brand-logo { font-family: var(--font-display); font-weight: 900; font-size: 21px; background: linear-gradient(90deg, #f5c563, #ffe9a8, #e0a72e); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: 1px; }
.brand-sub { font-size: 10.5px; color: rgba(180,190,210,0.6); margin-top: -2px; }
.top-actions { display: flex; gap: 8px; }
.top-act {
  position: relative; background: rgba(20,24,40,0.6); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 15px; padding: 8px 6px 5px; min-width: 54px; cursor: pointer;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
}
.top-act .ta-icon { width: 22px; height: 22px; color: #cdd8ef; }
.top-act .ta-icon.ta-purple { color: #a855f7; filter: drop-shadow(0 0 6px rgba(168,85,247,0.5)); }
.top-act .ta-label { font-size: 9.5px; color: rgba(190,200,220,0.7); }
.top-act .ta-badge { position: absolute; top: 3px; right: 6px; background: #ff3b4e; color: #fff; font-size: 9px; font-weight: 700; min-width: 15px; height: 15px; border-radius: 8px; display: flex; align-items: center; justify-content: center; padding: 0 3px; }

/* Neon alt naviqasiya */
.bottom-nav .nav-item .nav-icon { width: 24px; height: 24px; display: block; margin: 0 auto; }
.bottom-nav .nav-item .nav-icon .jicon { width: 24px; height: 24px; color: rgba(160,175,205,0.75); }
.bottom-nav .nav-item.active .nav-icon .jicon { color: #4f9fff; filter: drop-shadow(0 0 8px rgba(79,159,255,0.7)); }
.bottom-nav .nav-item.active { color: #4f9fff; }
.bottom-nav .nav-item.active .nav-icon { transform: translateY(-2px); }

/* ============================================================
   Mağaza Xəritəsi
   ============================================================ */
.store-map {
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 72px; gap: 8px;
  padding: 14px; border-radius: 18px;
  background: rgba(15,18,32,0.6); border: 1px solid rgba(255,255,255,0.08);
}
.sm-cell {
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--sc) 12%, transparent);
  border: 1.5px solid color-mix(in srgb, var(--sc) 40%, transparent);
  cursor: pointer; transition: all .25s ease; text-align: center; padding: 4px;
}
.sm-name { font-size: 11.5px; font-weight: 600; color: #e0e6f2; }
.sm-cell:active { transform: scale(0.96); }
.sm-cell.sm-hi {
  background: var(--sc);
  border-color: #fff;
  box-shadow: 0 0 24px var(--sc), 0 0 48px color-mix(in srgb, var(--sc) 50%, transparent);
  animation: smPulse 1.2s ease-in-out infinite;
}
.sm-cell.sm-hi .sm-name { color: #05060a; font-weight: 800; }
@keyframes smPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
body.fx-off .sm-cell.sm-hi { animation: none; }

/* ============================================================
   GOLD tema — Mağaza vəziyyəti, qızıl kartlar, QUICK PLUS PRO
   ============================================================ */
.top-act .ta-icon.ta-purple { color: #c86bff; }
.nav-item.active .nav-icon .jicon { color: #f5c563 !important; filter: drop-shadow(0 0 8px rgba(245,197,99,0.7)); }
.nav-item.active { color: #f5c563 !important; }

/* --- Mağaza Vəziyyəti (gold) --- */
.gold-pulse {
  position: relative; padding: 18px; border-radius: 22px; overflow: hidden;
  background: linear-gradient(160deg, rgba(30,26,15,0.7), rgba(12,11,8,0.95));
  border: 1px solid rgba(245,197,99,0.25);
  box-shadow: 0 8px 30px rgba(0,0,0,0.5), inset 0 1px 0 rgba(245,197,99,0.12);
}
.gp-head { margin-bottom: 16px; }
.gp-title { font-family: var(--font-display); font-weight: 700; font-size: 14px; letter-spacing: 1px; color: #f5e3b8; }
.gp-stats { display: flex; gap: 8px; align-items: flex-start; }
.gp-health { flex-shrink: 0; padding-right: 12px; border-right: 1px solid rgba(245,197,99,0.15); }
.gp-h-label { font-size: 10.5px; color: rgba(220,210,180,0.7); margin-bottom: 4px; max-width: 80px; }
.gp-h-num { font-family: var(--font-display); font-size: 34px; font-weight: 900; background: linear-gradient(135deg,#f5c563,#ffe9a8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; line-height: 1; }
.gp-h-trend { font-size: 11px; color: #4ade80; margin-top: 4px; }
.gp-stat { flex: 1; text-align: center; cursor: pointer; }
.gp-s-icon { width: 30px; height: 30px; margin: 0 auto 4px; color: #f5c563; }
.gp-s-icon.red { color: #ff6b7d; } .gp-s-icon.green { color: #4ade80; } .gp-s-icon.gold { color: #f5c563; }
.gp-s-num { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #fff; }
.gp-s-num.gp-backup { font-size: 13px; color: #4ade80; }
.gp-s-lbl { font-size: 9.5px; color: rgba(210,205,185,0.6); line-height: 1.2; margin-top: 2px; }
.gp-wave { position: relative; height: 44px; margin: 12px 0 8px; }
.gp-wave svg { width: 100%; height: 100%; }
.gp-wave-dot { position: absolute; right: 2px; top: 46%; width: 8px; height: 8px; border-radius: 50%; background: #f5c563; box-shadow: 0 0 12px #f5c563; }
.gp-foot { display: flex; align-items: center; gap: 10px; padding-top: 12px; border-top: 1px solid rgba(245,197,99,0.14); }
.gp-advice { flex: 1; font-size: 11.5px; color: rgba(225,218,195,0.8); line-height: 1.4; }
.gp-more { width: 28px; height: 28px; border-radius: 50%; background: rgba(245,197,99,0.12); display: flex; align-items: center; justify-content: center; }
.gp-more .jicon { width: 15px; height: 15px; color: #f5c563; }
.gp-tez-giris { display: flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; color: #f5c563; background: rgba(245,197,99,0.12); border: 1px solid rgba(245,197,99,0.3); padding: 6px 12px; border-radius: 20px; cursor: pointer; }
.gp-tez-giris .jicon { width: 14px; height: 14px; }

/* --- Gold sürətli kartlar (ilki qızıl vurğulu) --- */
.gold-ops .big-op.neon-gold { background: linear-gradient(155deg, rgba(60,48,20,0.6), rgba(20,16,8,0.95)); border-color: #f5c563; }
.gold-ops .big-op.neon-gold .bo-icon { border-color: #f5c563; color: #f5c563; box-shadow: 0 0 14px rgba(245,197,99,0.4); }

/* --- Gold AI kürə --- */
.gold-ai { background: linear-gradient(145deg, rgba(50,20,60,0.4), rgba(12,10,20,0.92)); border-color: rgba(200,107,255,0.3); }
.aac-sphere { animation: spherePulse 2.5s ease-in-out infinite alternate; }
@keyframes spherePulse { from { filter: drop-shadow(0 0 12px rgba(200,107,255,0.5)); } to { filter: drop-shadow(0 0 28px rgba(255,107,179,0.7)); } }
.gold-ai .aac-primary { background: linear-gradient(135deg,#4f9fff,#7c5cfc); }
.gold-ai .aac-gold { background: rgba(245,197,99,0.15); color: #f5c563; border: 1px solid rgba(245,197,99,0.4); }

/* --- QUICK PLUS PRO menyu --- */
.gold-fab .jfab-btn.gold-btn { background: linear-gradient(135deg,#f5c563,#e0a72e); box-shadow: 0 6px 22px rgba(245,197,99,0.5); }
.gold-fab .jfab-menu { align-items: stretch; min-width: 210px; }
.qpp-title { text-align: right; font-size: 12px; font-weight: 700; color: #f5c563; letter-spacing: 1px; margin-bottom: 4px; padding-right: 4px; }
.qpp-item { display: flex; align-items: center; gap: 12px; background: rgba(20,18,12,0.95); border: 1px solid rgba(245,197,99,0.18); border-radius: 30px; padding: 8px 16px 8px 8px; cursor: pointer; backdrop-filter: blur(10px); box-shadow: 0 3px 12px rgba(0,0,0,0.4); }
.qpp-b { width: 40px; height: 40px; border-radius: 50%; padding: 10px; flex-shrink: 0; }
.qpp-b .jicon { color: #fff; }
.qpp-b.gold { background: linear-gradient(135deg,#f5c563,#e0a72e); }
.qpp-b.pink { background: linear-gradient(135deg,#ff6bb3,#ff4d7d); }
.qpp-b.teal { background: linear-gradient(135deg,#29e0c9,#0ea5a5); }
.qpp-b.blue { background: linear-gradient(135deg,#4f9fff,#2f6fe0); }
.qpp-b.green { background: linear-gradient(135deg,#4ade80,#22a55a); }
.qpp-lbl { font-size: 14px; font-weight: 600; color: #fff; }

/* Brand logo qızıl (onsuz da qızıldır, təsdiq) */
.brand-logo { background: linear-gradient(90deg,#f5c563,#ffe9a8,#e0a72e); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

/* ============================================================
   AI Daily Köməkçi kartı
   ============================================================ */
.daily-card {
  margin-bottom: 16px; padding: 16px; border-radius: 20px; overflow: hidden;
  background: linear-gradient(145deg, rgba(40,32,60,0.6), rgba(14,12,22,0.92));
  border: 1px solid rgba(200,150,255,0.28);
  transition: opacity .3s ease, max-height .3s ease; max-height: 600px;
}
.daily-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 14px; }
.daily-greet { font-family: var(--font-display); font-weight: 800; font-size: 18px; color: #fff; }
.daily-sub { font-size: 12px; color: rgba(200,195,220,0.65); margin-top: 2px; }
.daily-close { background: rgba(255,255,255,0.08); border: none; color: #fff; width: 28px; height: 28px; border-radius: 50%; cursor: pointer; font-size: 13px; }
.daily-stats { display: flex; gap: 10px; margin-bottom: 14px; }
.daily-stat { flex: 1; text-align: center; background: rgba(255,255,255,0.04); border-radius: 13px; padding: 10px 4px; }
.ds-num { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: #fff; }
.ds-lbl { font-size: 10px; color: rgba(200,205,225,0.6); margin-top: 2px; }
.daily-tasks-title { font-size: 12.5px; font-weight: 700; color: #e0d8f0; margin-bottom: 8px; }
.daily-tasks { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }
.daily-task { display: flex; align-items: center; gap: 11px; background: rgba(255,255,255,0.04); border-radius: 12px; padding: 9px 12px; cursor: pointer; transition: background .15s; }
.daily-task:active { background: rgba(255,255,255,0.09); }
.dt-icon { width: 30px; height: 30px; border-radius: 9px; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.dt-text { flex: 1; font-size: 12.5px; color: #e8e4f2; }
.dt-arrow { color: rgba(200,195,220,0.5); font-size: 16px; }
.daily-clean { text-align: center; padding: 14px; color: #4ade80; font-size: 13px; margin-bottom: 12px; }
.daily-focus { font-size: 12px; color: rgba(220,215,235,0.85); padding-top: 12px; border-top: 1px solid rgba(200,150,255,0.15); line-height: 1.4; }

/* ============================================================
   Product DNA — Pasport modal
   ============================================================ */
.dna-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(5,6,12,0.7); backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .25s ease; }
.dna-overlay.open { opacity: 1; }
.dna-sheet {
  width: 100%; max-width: 480px; max-height: 88vh; overflow-y: auto;
  background: linear-gradient(180deg, rgba(24,20,36,0.98), rgba(14,12,20,0.99));
  border: 1px solid rgba(200,150,255,0.25); border-bottom: none;
  border-radius: 26px 26px 0 0; padding: 12px 18px 30px; position: relative;
  transform: translateY(100%); transition: transform .28s cubic-bezier(.2,.9,.3,1);
}
.dna-overlay.open .dna-sheet { transform: translateY(0); }
.dna-handle { width: 40px; height: 4px; border-radius: 2px; background: rgba(255,255,255,0.25); margin: 0 auto 14px; }
.dna-close { position: absolute; top: 14px; right: 16px; background: rgba(255,255,255,0.08); border: none; color: #fff; width: 30px; height: 30px; border-radius: 50%; cursor: pointer; }
.dna-title { font-family: var(--font-display); font-weight: 700; font-size: 15px; color: #c86bff; text-align: center; }
.dna-name { text-align: center; font-family: var(--font-display); font-size: 19px; font-weight: 700; color: #fff; margin: 4px 0 16px; }
.dna-ring-wrap { text-align: center; margin-bottom: 18px; }
.dna-ring.health-ring { width: 130px; height: 130px; margin: 0 auto; }
.dna-ready { display: inline-block; margin-top: 10px; padding: 6px 16px; border-radius: 20px; font-size: 12.5px; font-weight: 700; }
.dna-ready.ok { background: rgba(74,222,128,0.15); color: #4ade80; }
.dna-ready.no { background: rgba(255,157,92,0.15); color: #ff9d5c; }
.dna-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.dna-check { display: flex; align-items: center; gap: 9px; padding: 10px 12px; border-radius: 12px; background: rgba(255,255,255,0.03); }
.dna-check.ok { border-left: 3px solid #4ade80; }
.dna-check.no { border-left: 3px solid #ff6b7d; opacity: 0.7; }
.dc-tick { font-weight: 700; }
.dna-check.ok .dc-tick { color: #4ade80; }
.dna-check.no .dc-tick { color: #ff6b7d; }
.dc-label { font-size: 12.5px; color: #e0e4ef; }
.dna-barcode { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-radius: 13px; background: rgba(255,255,255,0.04); margin-bottom: 14px; font-size: 12.5px; color: #dfe4f0; }
.dna-bc-dot { width: 10px; height: 10px; border-radius: 50%; box-shadow: 0 0 8px currentColor; }
.dna-last4 { margin-left: auto; font-family: var(--font-mono, monospace); color: #a8b0c0; }
.dna-advice { padding: 12px 14px; border-radius: 13px; background: rgba(245,197,99,0.1); color: #f5c563; font-size: 12.5px; margin-bottom: 16px; }
.dna-advice.ok { background: rgba(74,222,128,0.1); color: #4ade80; }
.dna-actions { display: flex; gap: 10px; }

/* ============================================================
   Qızıl PIN Kilid Ekranı — Aurora fon + zərif keçidlər
   ============================================================ */
#jollyLock {
  position: fixed; inset: 0; z-index: 100000;
  overflow: hidden;
  background: #05050a;
  display: flex; align-items: center; justify-content: center;
  transition: opacity .35s ease, transform .35s ease;
}
#jollyLock.unlocked { opacity: 0; transform: scale(1.1); pointer-events: none; }

/* Aurora — yavaş hərəkət edən işıq buludları */
#jollyLock { background: #04030a; }
#jollyLock::before {
  content: '';
  position: absolute; inset: -30%;
  background:
    radial-gradient(circle at 25% 30%, rgba(99,102,241,0.35) 0%, transparent 40%),
    radial-gradient(circle at 75% 70%, rgba(168,85,247,0.3) 0%, transparent 40%),
    radial-gradient(circle at 60% 20%, rgba(255,95,162,0.2) 0%, transparent 35%);
  animation: lockAurora 8s ease-in-out infinite alternate;
  filter: blur(2px);
  pointer-events: none;
}
@keyframes lockAurora {
  0%   { transform: rotate(0deg) scale(1) translate(0,0); }
  100% { transform: rotate(25deg) scale(1.4) translate(4%,-4%); }
}

/* Sayrışan ulduzlar (JS ilə əlavə olunur, .lock-star sinifli) */
.lock-star { position: absolute; background: #fff; border-radius: 50%; animation: lockTwinkle 2.5s ease-in-out infinite; pointer-events: none; }
@keyframes lockTwinkle { 0%,100% { opacity: 0.2; } 50% { opacity: 1; } }

/* Kometa */
.lock-comet {
  position: absolute; top: 10%; left: -10%; width: 3px; height: 3px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 6px 2px #fff;
  animation: lockCometFly 4.5s linear infinite;
  pointer-events: none;
}
.lock-comet::before {
  content: ''; position: absolute; top: 50%; right: 100%; width: 90px; height: 1.5px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.7));
  transform: translateY(-50%);
}
@keyframes lockCometFly {
  0%   { transform: translate(0, 0); opacity: 0; }
  5%   { opacity: 1; }
  45%  { opacity: 1; }
  50%  { transform: translate(140vw, 60vh); opacity: 0; }
  100% { transform: translate(140vw, 60vh); opacity: 0; }
}

.lock-inner {
  position: relative; z-index: 1;
  text-align: center; padding: 24px; width: 100%; max-width: 340px;
  animation: lockInnerIn .5s cubic-bezier(0.16,1,0.3,1);
}
@keyframes lockInnerIn {
  from { opacity: 0; transform: translateY(18px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
.lock-inner.shake { animation: lockShake .4s; }
@keyframes lockShake { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-10px)} 40%,80%{transform:translateX(10px)} }

.lock-crown-zone { position: relative; width: 90px; height: 90px; margin: 0 auto 4px; }
.lock-ring {
  position: absolute; top: 50%; left: 50%; width: 100px; height: 30px;
  border: 1.5px solid rgba(168,85,247,0.5);
  border-radius: 50%;
  transform: translate(-50%,-50%) rotateX(75deg);
  box-shadow: 0 0 12px rgba(168,85,247,0.3);
}
.lock-ring::before, .lock-ring::after {
  content: ''; position: absolute; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; box-shadow: 0 0 10px 3px #fff, 0 0 18px 6px rgba(168,85,247,0.8);
  offset-path: path('M 50,1 A 49,14 0 1,1 49.9,1');
  offset-rotate: 0deg;
  animation: lockRingOrbit 3.5s linear infinite;
}
.lock-ring::after { animation-delay: -1.75s; background: #4ee6f5; box-shadow: 0 0 10px 3px #4ee6f5; }
@keyframes lockRingOrbit { to { offset-distance: 100%; } }

.lock-crown {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  filter: drop-shadow(0 0 16px rgba(168,85,247,0.7));
  animation: lockCrownFloat 3s ease-in-out infinite;
}
@keyframes lockCrownFloat {
  0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
  50%      { transform: translateY(-14px) rotate(10deg) scale(1.05); }
}
.lock-logo { font-family: var(--font-display, sans-serif); font-size: 36px; font-weight: 900; letter-spacing: 4px; color: #fff;
  text-shadow: 0 0 10px rgba(168,85,247,0.8), 0 0 24px rgba(99,102,241,0.6); position: relative; }
.lock-logo[data-text] { color: #fff; text-shadow: 0 0 10px rgba(168,85,247,0.8), 0 0 24px rgba(99,102,241,0.6); }
.lock-logo[data-text]::after {
  content: attr(data-text);
  position: absolute; left: 0; top: 0; width: 100%;
  background: linear-gradient(100deg, transparent 30%, rgba(255,255,255,0.9) 48%, rgba(255,255,255,0.9) 52%, transparent 70%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
  animation: lockShine 3.4s ease-in-out infinite;
}
@keyframes lockShine {
  0%   { background-position: 200% 0; }
  45%  { background-position: -50% 0; }
  100% { background-position: -50% 0; }
}
.lock-sub { font-size: 12px; color: rgba(200,190,255,0.6); margin-bottom: 30px; }
.lock-title { font-size: 15px; color: #e8e0c8; margin-bottom: 18px; }
.lock-dots { display: flex; justify-content: center; gap: 16px; margin-bottom: 12px; }
.lock-dots span { width: 15px; height: 15px; border-radius: 50%; border: 2px solid rgba(168,85,247,0.5); transition: all .2s; }
.lock-dots span.filled { background: #a855f7; border-color: #a855f7; box-shadow: 0 0 12px rgba(168,85,247,0.7); animation: lockDotPop .25s ease; }
@keyframes lockDotPop { 0% { transform: scale(0.6); } 60% { transform: scale(1.25); } 100% { transform: scale(1); } }
.lock-err { color: #ff6b7d; font-size: 13px; height: 20px; margin-bottom: 10px; }
.lock-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; max-width: 260px; margin: 0 auto; }
.lock-key {
  aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(245,197,99,0.25);
  background: rgba(245,197,99,0.06); color: #f5e3b8; font-size: 26px; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: transform .12s, background .18s, box-shadow .18s;
}
.lock-key:active { transform: scale(0.9); background: rgba(245,197,99,0.22); box-shadow: 0 0 16px rgba(245,197,99,0.35); }
.lock-empty { border: none; background: none; pointer-events: none; }
.lock-del { font-size: 20px; border-color: transparent; background: none; }
.lock-forgot { margin-top: 22px; font-size: 13px; color: rgba(245,197,99,0.7); cursor: pointer; text-decoration: underline; }

/* Barmaq izi illüstrasiyası — PIN ekranında */
.lock-bio-zone { position: relative; width: 120px; height: 120px; margin: 18px auto 0; cursor: pointer; }
.lock-bio-ripples span {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(6,220,240,0.35);
  animation: lockBioRippleOut 2.4s ease-out infinite;
}
.lock-bio-ripples span:nth-child(2) { animation-delay: 0.8s; }
.lock-bio-ripples span:nth-child(3) { animation-delay: 1.6s; }
@keyframes lockBioRippleOut { 0% { transform: scale(0.6); opacity: 0.8; } 100% { transform: scale(1.15); opacity: 0; } }
.lock-bio-svg {
  position: relative; z-index: 1; width: 100%; height: 100%;
  filter: drop-shadow(0 0 14px rgba(6,220,240,0.7));
}
.lock-bio-svg path {
  fill: none; stroke: #4ee6f5; stroke-width: 2.2; stroke-linecap: round;
  animation: lockBioDraw 3s ease-in-out infinite;
}
@keyframes lockBioDraw { 0%,100% { opacity: 0.55; } 50% { opacity: 1; } }
.lock-bio-beam {
  position: absolute; left: 20%; right: 20%; height: 3px; z-index: 2;
  background: linear-gradient(90deg, transparent, #fff, transparent);
  box-shadow: 0 0 14px #4ee6f5;
  animation: lockBioScan 2.2s ease-in-out infinite;
}
@keyframes lockBioScan { 0% { top: 85%; opacity: 0; } 15% { opacity: 1; } 85% { opacity: 1; } 100% { top: 10%; opacity: 0; } }
.lock-bio-caption { margin-top: 10px; font-size: 11px; color: rgba(78,230,245,0.8); letter-spacing: 1.5px; text-align: center; }
.lock-bio-zone.scanning .lock-bio-svg { animation: lockBioScanning 0.6s ease-in-out infinite; }
@keyframes lockBioScanning { 0%,100% { opacity: 0.5; } 50% { opacity: 1; } }
.lock-bio-zone:active { transform: scale(0.96); }
.lock-forgot:active { opacity: 0.7; }
/* ============================================================
   JOLLY — 4 Düzülüş (Sıra / Şəbəkə / Tək / 4-lü) — 2026-07-22
   Hər yerdə (Ana səhifə, Qrup, filtrlənmiş siyahılar) eyni
   renderList() funksiyası tərəfindən istifadə olunur.
   Şəklə 2 dəfə vur → şəkil açılır. Barkoda 2 dəfə vur → skan-hazır
   barkod açılır. Görünüş seçimi localStorage-da yadda saxlanılır.
   ============================================================ */
.view-toggle-jolly {
  display: flex; gap: 0; margin-bottom: 14px; background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-soft); border-radius: 12px; padding: 4px;
}
.vt-btn {
  flex: 1; border: none; background: transparent; color: var(--text-mid);
  font-family: var(--font-body); font-weight: 600; font-size: 11px;
  padding: 9px 2px; border-radius: 9px; cursor: pointer; transition: all 0.18s ease;
}
.vt-btn.on { background: var(--accent-1); color: #fff; }

.press-zone { cursor: pointer; transition: transform 0.1s ease; }
.press-zone.tapping { transform: scale(0.95); }

/* ---------- Sıra ---------- */
.prow {
  display: flex; align-items: center; gap: 14px; padding: 12px;
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-soft); border-radius: var(--radius-md); margin-bottom: 10px;
}
.prow-thumb {
  width: 88px; height: 88px; border-radius: 14px; flex-shrink: 0; overflow: hidden;
  background: #1a1d2e; display: flex; align-items: center; justify-content: center; font-size: 38px;
}
.prow-thumb img { width: 100%; height: 100%; object-fit: cover; }
.prow-mid { flex: 1; min-width: 0; }
.prow-name { font-size: 14.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.prow-meta { font-family: var(--font-mono); font-size: 11px; color: var(--text-low); margin-top: 3px; }
.prow-right { text-align: right; flex-shrink: 0; padding-left: 6px; }
.prow-price { font-size: 14.5px; font-weight: 700; color: #f5c563; }
.prow-barcode {
  font-family: var(--font-mono); font-size: 10.5px; color: var(--accent-2); margin-top: 5px;
  display: flex; align-items: center; gap: 4px; justify-content: flex-end;
}

/* ---------- 4-lü: 4 məhsul eyni anda, böyük kartlarla ---------- */
.quad-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.qcard {
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-soft); border-radius: var(--radius-lg); padding: 12px;
  display: flex; flex-direction: column;
}
.qcard-photo {
  width: 100%; aspect-ratio: 1; border-radius: 14px; background: #1a1d2e; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 58px; margin-bottom: 10px;
}
.qcard-photo img { width: 100%; height: 100%; object-fit: cover; }
.qcard-name { font-size: 13.5px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.qcard-code { font-family: var(--font-mono); font-size: 10.5px; color: var(--text-low); margin-top: 2px; margin-bottom: 8px; }
.qcard-row { display: flex; justify-content: space-between; align-items: center; margin-top: auto; }
.qcard-price { font-size: 14px; font-weight: 700; color: #f5c563; }
.qcard-barcode { font-family: var(--font-mono); font-size: 9.5px; color: var(--accent-2); display: flex; align-items: center; gap: 3px; }

/* ---------- Tək böyük şəkil (vitrin, 1 məhsul, sürüşdürərək) ---------- */
.vitrin-stage {
  position: relative; height: 62vh; min-height: 380px; display: flex; align-items: center;
  justify-content: center; touch-action: pan-y; margin: 0 -16px 10px;
  overflow: hidden;
}
.vitrin-track { position: relative; width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.vcard {
  position: absolute; width: min(300px, 82vw); max-height: 94%;
  background: linear-gradient(160deg, var(--glass-strong), var(--glass));
  backdrop-filter: blur(20px) saturate(140%); -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid var(--border-soft); border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5); padding: 16px 16px 18px;
  display: flex; flex-direction: column; align-items: center;
  transition: transform 0.32s cubic-bezier(.22,1,.36,1), opacity 0.32s ease;
}
.vcard.center { transform: translateX(0) scale(1); opacity: 1; z-index: 3; }
.vcard.left { transform: translateX(-76%) scale(0.86); opacity: 0.45; z-index: 2; }
.vcard.right { transform: translateX(76%) scale(0.86); opacity: 0.45; z-index: 2; }
.vcard.farleft { transform: translateX(-140%) scale(0.75); opacity: 0; z-index: 1; }
.vcard.farright { transform: translateX(140%) scale(0.75); opacity: 0; z-index: 1; }
.vcard-photo {
  width: 100%; aspect-ratio: 1; border-radius: 16px; background: #1a1d2e; overflow: hidden;
  display: flex; align-items: center; justify-content: center; font-size: 76px; margin-bottom: 14px;
}
.vcard-photo img { width: 100%; height: 100%; object-fit: cover; }
.vcard-name { font-family: var(--font-display); font-size: 15.5px; font-weight: 600; text-align: center; margin-bottom: 3px; }
.vcard-code { font-family: var(--font-mono); font-size: 11px; color: var(--text-low); margin-bottom: 10px; }
.vcard-row { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 9px 4px; border-top: 1px solid var(--border-soft); }
.vcard-price { font-size: 17px; font-weight: 700; color: #f5c563; }
.vcard-barcode {
  font-family: var(--font-mono); font-size: 11.5px; color: var(--accent-2); display: flex; align-items: center;
  gap: 5px; padding: 6px 10px; background: rgba(41,224,201,0.1); border-radius: 999px;
}
.vitrin-nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 5;
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.06);
  border: 1px solid var(--border-soft); color: var(--text-hi); font-size: 16px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.vitrin-nav.prev { left: 2px; } .vitrin-nav.next { right: 2px; }
.vitrin-dots { position: absolute; bottom: 6px; left: 0; right: 0; display: flex; justify-content: center; gap: 6px; z-index: 5; }
.vitrin-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.2); transition: all 0.2s ease; }
.vitrin-dot.on { background: var(--accent-1); width: 18px; border-radius: 4px; }
.prow { position: relative; }
.qcard { position: relative; }
.vcard { position: relative; }
.vitrin-counter { position: absolute; top: -2px; right: 2px; font-family: var(--font-mono); font-size: 11px; color: var(--text-low); z-index: 5; }
.rowdel-btn {
  position: absolute; top: 6px; right: 6px; z-index: 6; width: 26px; height: 26px;
  border-radius: 50%; background: rgba(0,0,0,0.55); backdrop-filter: blur(4px);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 13px; border: 1px solid rgba(255,255,255,0.15); cursor: pointer;
}

/* ============================================================
   Məhsul kartı — "Qəbul səbəti" düyməsi (2026-07-22)
   Əvvəl kartın üstündə "+" idi, indi altında gözəl səbət ikonu,
   üzərində neçə məhsulun səbətdə olduğunu göstərən dəyirmi nişan.
   ============================================================ */
.jolly-basket-btn {
  position: relative; width: 100%; margin-top: 8px;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  height: 38px; border-radius: 12px; cursor: pointer;
  background: rgba(168,85,247,0.1); border: 1.5px solid #a855f7; color: #c88bff;
  box-shadow: 0 0 14px rgba(168,85,247,0.3);
  font-family: var(--font-body, sans-serif); font-weight: 600; font-size: 12.5px;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.jolly-basket-btn svg { width: 16px; height: 16px; flex-shrink: 0; }
.jolly-basket-btn:active { transform: scale(0.96); }
.jolly-basket-btn.jolly-basket-ok {
  animation: fx2NeonFlash 0.5s ease;
  background: rgba(41,224,201,0.14); border-color: #29e0c9; color: #7ff0e2;
  box-shadow: 0 0 14px rgba(41,224,201,0.4);
}
.jolly-basket-btn.jolly-basket-warn {
  animation: fx2NeonFlash 0.5s ease;
  background: rgba(255,184,77,0.14); border-color: #ffb84d; color: #ffcf8a;
  box-shadow: 0 0 14px rgba(255,184,77,0.4);
}
@keyframes fx2NeonFlash {
  0%, 100% { box-shadow: 0 0 14px currentColor; }
  50% { box-shadow: 0 0 26px currentColor, 0 0 40px currentColor; }
}
.jolly-basket-btn:active { transform: scale(0.88); }
.jolly-basket-btn.jolly-basket-ok {
  background: linear-gradient(135deg, rgba(41,224,201,0.5), rgba(41,224,201,0.3));
  border-color: rgba(41,224,201,0.7);
}
.jolly-basket-btn.jolly-basket-warn {
  background: linear-gradient(135deg, rgba(255,184,77,0.5), rgba(255,184,77,0.3));
  border-color: rgba(255,184,77,0.7);
}
.jolly-basket-badge {
  position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 4px;
  border-radius: 999px; background: var(--accent-danger, #ff5c6c); color: #fff;
  font-family: var(--font-mono, monospace); font-size: 10px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 0 2px rgba(11,14,26,0.9);
}
body:not(.no-anim) .jolly-basket-badge { animation: badgePop 0.3s cubic-bezier(.3,1.6,.5,1); }

/* ============================================================
   "Nə dəyişdi?" maddələrindəki kiçik canlı ikon (2026-07-22)
   ============================================================ */
.cl-demo-icon {
  display: inline-block; margin-right: 4px;
}
body:not(.no-anim) .cl-demo-icon {
  animation: clDemoBounce 2.2s ease-in-out infinite;
}
@keyframes clDemoBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-3px) scale(1.12); }
}

/* ============================================================
   Alert Flag Badge — Xəbərdarlıq sistemi (2026-07-26)
   - Qırmızı badge "🚨 XƏBƏRDARLIQ" məhsul kartında
   - Banner detaylı səhifədə
   - Form fields (checkbox + textarea)
   ============================================================ */

/* Xəbərdarlıq badge animasiyası */
@keyframes alertFlash {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.8); }
  50% { box-shadow: 0 0 0 4px rgba(255, 77, 77, 0.2); }
}

body:not(.no-anim) [style*="background:var(--accent-danger"][ style*="XƏBƏRDARLIQ"] {
  animation: alertFlash 2s ease-in-out infinite;
}

/* Form checkbox styling */
#f_alertFlag {
  width: 18px;
  height: 18px;
  accent-color: var(--accent-danger, #ff5c6c);
  cursor: pointer;
}

/* Alert/Section note badge ripple on tap */
@keyframes badgeRipple {
  0% { box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
  100% { box-shadow: 0 0 0 8px rgba(255, 77, 77, 0); }
}

.alert-banner {
  animation: badgeRipple 1s ease-out;
}
