/* =========================================================
   EXP SHOPEX v1.0 - Comprehensive Design System
   Light (Default) & Dark Themes | Clean & Pixel-Perfect
   ========================================================= */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Orbitron:wght@500;700;900&family=JetBrains+Mono:wght@500;700&display=swap');

:root {
  /* Brand Colors */
  --primary: #4f46e5;
  --primary-hover: #4338ca;
  --primary-light: rgba(79, 70, 229, 0.12);
  --primary-glow: rgba(79, 70, 229, 0.35);

  --secondary: #0ea5e9;
  --secondary-hover: #0284c7;
  --accent: #8b5cf6;
  --gold: #d97706;
  --gold-glow: rgba(217, 119, 6, 0.3);

  --success: #10b981;
  --success-bg: rgba(16, 185, 129, 0.12);
  --warning: #f59e0b;
  --warning-bg: rgba(245, 158, 11, 0.12);
  --danger: #ef4444;
  --danger-bg: rgba(239, 68, 68, 0.12);
  --info: #3b82f6;

  /* Typography */
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Outfit', 'Plus Jakarta Sans', sans-serif;
  --font-tech: 'Orbitron', monospace;
  --font-mono: 'JetBrains Mono', Consolas, Monaco, monospace;

  --radius-xs: 4px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0s;
  --transition-normal: 0s;
  --transition-smooth: 0s;

  /* LIGHT THEME (DEFAULT) */
  --bg-body: #f8fafc;
  --bg-surface: #ffffff;
  --bg-surface-elevated: #f1f5f9;
  --bg-surface-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.88);
  
  --border-glass: rgba(203, 213, 225, 0.8);
  --border-glass-light: rgba(226, 232, 240, 0.9);
  --border-focus: #6366f1;

  --text-main: #0f172a;
  --text-muted: #64748b;
  --text-dim: #94a3b8;
  --text-inverse: #ffffff;

  --card-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.06), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --card-shadow-hover: 0 20px 35px -5px rgba(79, 70, 229, 0.14), 0 10px 15px -5px rgba(15, 23, 42, 0.06);
  --nav-backdrop: rgba(255, 255, 255, 0.92);
}

/* DARK THEME */
html[data-theme="dark"] {
  --bg-body: #0b0f19;
  --bg-surface: #111827;
  --bg-surface-elevated: #1a2234;
  --bg-surface-card: #141c2e;
  --bg-glass: rgba(17, 24, 39, 0.85);

  --border-glass: rgba(255, 255, 255, 0.1);
  --border-glass-light: rgba(255, 255, 255, 0.06);
  --border-focus: #818cf8;

  --text-main: #f9fafb;
  --text-muted: #94a3b8;
  --text-dim: #64748b;
  --text-inverse: #0f172a;

  --card-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 20px 40px -5px rgba(79, 70, 229, 0.3), 0 0 20px rgba(14, 165, 233, 0.15);
  --nav-backdrop: rgba(11, 15, 25, 0.92);
}

/* Reset & Base - Zero animation/transition for instant responsiveness */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  animation: none !important;
  transition: none !important;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  color: var(--text-main);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--secondary);
}

img {
  max-width: 100%;
  display: block;
}

button, input, select, textarea {
  font-family: inherit;
}

/* Container */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* Glass Card */
.glass-card {
  background: var(--bg-surface-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-main);
  font-size: 0.92rem;
  font-weight: 600;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
  white-space: nowrap;
}

.btn:active {
  transform: scale(0.98);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(79, 70, 229, 0.35);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-hover), var(--secondary-hover));
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-surface-elevated);
  border-color: var(--border-glass);
  color: var(--text-main);
}

.btn-secondary:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

.btn-gold {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(217, 119, 6, 0.35);
}

.btn-gold:hover {
  background: linear-gradient(135deg, #fbbf24, #b45309);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(217, 119, 6, 0.45);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-glass);
  color: var(--text-main);
}

.btn-outline:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-light);
}

.btn-danger {
  background: var(--danger);
  color: #ffffff;
}

.btn-danger:hover {
  background: #dc2626;
}

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

.btn-lg {
  padding: 0.9rem 1.8rem;
  font-size: 1.05rem;
  border-radius: var(--radius-md);
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  pointer-events: none;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.badge-primary {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(79, 70, 229, 0.3);
}

.badge-gold {
  background: rgba(217, 119, 6, 0.12);
  color: #d97706;
  border: 1px solid rgba(217, 119, 6, 0.3);
}

.badge-success {
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge-danger {
  background: var(--danger-bg);
  color: var(--danger);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Forms */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: var(--bg-surface);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.form-control:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px var(--primary-light);
}

/* =========================================================
   HEADER & NAVBAR
   ========================================================= */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--nav-backdrop);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.85rem 1.5rem;
  transition: background var(--transition-normal), border-color var(--transition-normal);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text-main);
  text-decoration: none;
}

.brand-logo .logo-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: 0 4px 12px var(--primary-glow);
}

.brand-logo .highlight {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.nav-link {
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.92rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--text-main);
  background: var(--primary-light);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.control-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.control-btn:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  padding: 2px;
}

.lang-btn {
  border: none;
  background: transparent;
  padding: 0.3rem 0.55rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lang-btn.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 6px var(--primary-glow);
}

.nav-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.25rem 0.6rem 0.25rem 0.35rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

/* User Account Hover Dropdown */
.nav-user-dropdown {
  position: relative;
  display: inline-block;
}

.nav-user-trigger {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.35rem 0.85rem 0.35rem 0.45rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
  color: var(--text-main);
  font-weight: 600;
  font-size: 0.9rem;
}

.nav-user-trigger:hover {
  border-color: var(--primary);
  background: var(--primary-light);
}

.nav-user-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 260px;
  width: max-content;
  max-width: 320px;
  background: var(--bg-surface-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 15px 35px -5px rgba(0, 0, 0, 0.4), 0 0 15px var(--primary-glow);
  padding: 0.5rem;
  display: none;
  flex-direction: column;
  gap: 0.25rem;
  z-index: 1000;
}

/* Invisible bridge so mouse hovering doesn't close dropdown */
.nav-user-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 12px;
}

.nav-user-dropdown:hover .nav-user-menu {
  display: flex;
}

.nav-user-menu-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  color: var(--text-main);
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  border: none;
  background: transparent;
  width: 100%;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
}

.nav-user-menu-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}

.nav-user-menu-item.logout {
  color: #f43f5e;
}

.nav-user-menu-item.logout:hover {
  background: rgba(239, 68, 68, 0.15);
  color: #f43f5e;
}

.nav-user-divider {
  height: 1px;
  background: var(--border-glass-light);
  margin: 0.25rem 0;
}

/* =========================================================
   HOMEPAGE: ARTISTIC HERO & SHOWCASE CARDS
   ========================================================= */
.hero-section {
  padding: 4.5rem 1.5rem 3rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-backdrop-glow {
  position: absolute;
  top: -150px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(circle, rgba(79, 70, 229, 0.15) 0%, rgba(14, 165, 233, 0.08) 50%, transparent 80%);
  pointer-events: none;
  z-index: 0;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  background: var(--primary-light);
  border: 1px solid rgba(79, 70, 229, 0.25);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
  position: relative;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  position: relative;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--text-main) 30%, var(--primary) 70%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
  position: relative;
}

.category-filter-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.cat-filter-btn {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cat-filter-btn:hover {
  border-color: var(--primary);
  color: var(--text-main);
  background: var(--primary-light);
}

.cat-filter-btn.active {
  background: var(--primary);
  color: #ffffff;
  border-color: var(--primary);
  box-shadow: 0 4px 12px var(--primary-glow);
}

/* ARTISTIC PRODUCT CARDS (LARGE SHOWCASE GRID) */
.product-showcase-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 2.25rem;
  margin-bottom: 5rem;
}

.art-card {
  position: relative;
  border-radius: var(--radius-xl);
  background: var(--bg-surface-card);
  border: 1px solid var(--border-glass);
  box-shadow: var(--card-shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  cursor: pointer;
}

.art-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--card-shadow-hover);
  border-color: rgba(99, 102, 241, 0.5);
}

.art-discount-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 5;
  background: linear-gradient(135deg, #ef4444, #f43f5e);
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 4px 14px rgba(239, 68, 68, 0.45);
}

.art-card-media {
  position: relative;
  height: 280px;
  background: #07090e;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.art-card-media img, .art-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.art-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7, 9, 14, 0.85) 0%, transparent 60%);
}

.art-card-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.5rem;
  z-index: 2;
}

.art-card-category {
  position: absolute;
  bottom: 1rem;
  left: 1.25rem;
  z-index: 2;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.art-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.art-card-title {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: var(--text-main);
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.art-card:hover .art-card-title {
  color: var(--secondary);
}

.art-card-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 1.5rem;
  flex: 1;
}

.art-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-glass-light);
}

.art-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.art-price-main {
  font-size: 1.5rem;
  font-weight: 800;
  font-family: var(--font-display);
  color: var(--primary);
}

.art-price-orig {
  font-size: 0.95rem;
  color: var(--text-dim);
  text-decoration: line-through;
  font-weight: 500;
}

.art-card-cta {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary);
  transition: all var(--transition-fast);
}

.art-card:hover .art-card-cta {
  color: var(--secondary);
  transform: translateX(4px);
}

/* =========================================================
   MODALS & OVERLAYS (STRICT POPUP / DIALOG STYLES)
   Crucial: Hidden by default so they NEVER render in normal flow!
   ========================================================= */
.modal-backdrop {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  z-index: 10000 !important;
  background: rgba(11, 15, 25, 0.78) !important;
  backdrop-filter: blur(8px) !important;
  -webkit-backdrop-filter: blur(8px) !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 1.5rem !important;
  box-sizing: border-box !important;
}

.modal-backdrop.active {
  display: flex !important;
}

.modal-box {
  background: var(--bg-surface) !important;
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--radius-xl) !important;
  max-width: 480px !important;
  width: 100% !important;
  max-height: 90vh !important;
  overflow-y: auto !important;
  padding: 2.25rem 2rem !important;
  position: relative !important;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.45) !important;
  box-sizing: border-box !important;
  animation: modalPopIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

@keyframes modalPopIn {
  from { opacity: 0; transform: scale(0.95) translateY(12px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
  position: absolute !important;
  top: 1rem !important;
  right: 1.25rem !important;
  background: transparent !important;
  border: none !important;
  color: var(--text-muted) !important;
  font-size: 1.75rem !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 0.25rem 0.5rem !important;
  border-radius: var(--radius-xs) !important;
  transition: color var(--transition-fast) !important;
}

.modal-close:hover {
  color: var(--text-main) !important;
}

/* =========================================================
   LIVE CHATBOX FLOATING WIDGET (CONNECTED TO TELEGRAM)
   ========================================================= */
.chatbox-widget {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 999;
}

.chatbox-toggle-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
  color: #ffffff;
  border: none;
  box-shadow: 0 8px 24px rgba(14, 165, 233, 0.4);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  position: relative;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.chatbox-toggle-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(14, 165, 233, 0.55);
}

.chatbox-pulse-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #10b981;
  border: 2px solid #ffffff;
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.chatbox-window {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 420px;
  max-width: calc(100vw - 2rem);
  height: 520px;
  max-height: calc(100vh - 120px);
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all var(--transition-smooth);
  transform-origin: bottom right;
}

.chatbox-window.hidden {
  display: none !important;
  opacity: 0;
  transform: scale(0.85) translateY(20px);
  pointer-events: none;
}

.chatbox-header {
  background: linear-gradient(135deg, #0ea5e9, #4f46e5);
  color: #ffffff;
  padding: 1.1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.chatbox-header-title {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.chatbox-header-title h4 {
  color: #ffffff;
  font-size: 1rem;
}

.chatbox-header-status {
  font-size: 0.75rem;
  opacity: 0.9;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.chatbox-header-status::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
}

.chatbox-close-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.3rem;
  cursor: pointer;
  line-height: 1;
}

.chatbox-notice {
  background: var(--bg-surface-elevated);
  border-bottom: 1px solid var(--border-glass);
  padding: 0.55rem 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.chatbox-messages {
  flex: 1;
  padding: 1rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-bubble {
  max-width: 82%;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  line-height: 1.45;
  word-break: break-word;
}

.chat-bubble.bot {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  align-self: flex-start;
  border-bottom-left-radius: 2px;
}

.chat-bubble.user {
  background: var(--primary);
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 2px;
}

.chatbox-footer {
  padding: 0.85rem;
  border-top: 1px solid var(--border-glass);
  background: var(--bg-surface);
}

.chatbox-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chatbox-user-inputs {
  display: flex;
  gap: 0.5rem;
}

.chatbox-input-sm {
  flex: 1;
  padding: 0.45rem 0.7rem;
  font-size: 0.8rem;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  color: var(--text-main);
}

.chatbox-input-row {
  display: flex;
  gap: 0.5rem;
}

.chatbox-msg-input {
  flex: 1;
  padding: 0.6rem 0.85rem;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  font-size: 0.88rem;
}

.chatbox-send-btn {
  background: var(--primary);
  color: white;
  border: none;
  border-radius: var(--radius-sm);
  padding: 0 1rem;
  cursor: pointer;
  font-weight: 600;
  transition: all var(--transition-fast);
}

.chatbox-send-btn:hover {
  background: var(--primary-hover);
}

/* =========================================================
   INSTANT USER BLOCKED / LOCK OVERLAY MODAL
   ========================================================= */
.lock-overlay-root {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(11, 15, 25, 0.92);
  backdrop-filter: blur(25px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lock-card {
  max-width: 480px;
  width: 100%;
  background: var(--bg-surface);
  border: 2px solid var(--danger);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 25px 50px rgba(239, 68, 68, 0.25);
  animation: shakeAlert 0.5s ease-in-out;
}

@keyframes shakeAlert {
  0%, 100% { transform: translateX(0); }
  20%, 60% { transform: translateX(-8px); }
  40%, 80% { transform: translateX(8px); }
}

.lock-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--danger-bg);
  color: var(--danger);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

.lock-title {
  font-size: 1.5rem;
  color: var(--danger);
  margin-bottom: 0.75rem;
}

.lock-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* =========================================================
   REVIEWS & RATINGS SYSTEM
   ========================================================= */
.reviews-section {
  padding: 4rem 1.5rem;
  background: var(--bg-surface-elevated);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
}

.reviews-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
  display: flex;
  flex-direction: column;
}

.review-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
}

.stars-rating {
  color: #f59e0b;
  font-size: 1rem;
  letter-spacing: 2px;
}

.review-product-tag {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-bottom: 0.65rem;
}

.review-text {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
  flex: 1;
}

.review-date {
  font-size: 0.75rem;
  color: var(--text-dim);
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  margin-top: auto;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-glass);
  padding: 3.5rem 1.5rem 2rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.25rem;
  color: var(--text-main);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

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

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

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  z-index: 10001;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  pointer-events: none;
}

.toast {
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  pointer-events: auto;
  animation: slideInToast 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--danger); }
.toast.info { border-color: var(--info); }

/* Cute Stickers for Visitor Chat Widget */
.sticker-bubble {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  max-width: 220px;
  text-align: center;
  margin: 4px 0;
}

.sticker-bubble .sticker-icon {
  font-size: 2.2rem;
  margin-bottom: 0.25rem;
  line-height: 1;
}

.sticker-bubble .sticker-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: #f8fafc;
}

.sticker-bubble .sticker-text {
  font-size: 0.74rem;
  color: #cbd5e1;
  margin-top: 0.2rem;
}

.chat-btn-sticker {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0 0.5rem;
  color: var(--text-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s ease;
}

.chat-btn-sticker:hover {
  color: #38bdf8;
  transform: scale(1.15);
}

/* Sticker Picker Popover for Website Chatbox */
.sticker-picker-popover {
  position: absolute;
  bottom: 58px;
  left: 10px;
  right: 10px;
  width: auto;
  max-height: 290px;
  background: rgba(15, 23, 42, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 14px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55), 0 0 15px rgba(56, 189, 248, 0.1);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  overflow-x: hidden !important;
  animation: stickerPopIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.sticker-picker-tabs {
  display: flex;
  background: rgba(10, 15, 30, 0.95);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: hidden !important;
  scrollbar-width: none !important;
}

.sticker-picker-tabs::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

.sticker-tab-btn {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.55rem 0.2rem;
  text-align: center;
  font-size: 0.74rem;
  font-weight: 600;
  background: transparent;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  transition: all 0.15s ease;
}

.sticker-tab-btn:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.04);
}

.sticker-tab-btn.active {
  color: #38bdf8;
  border-bottom-color: #38bdf8;
  background: rgba(56, 189, 248, 0.08);
}

.sticker-grid {
  padding: 0.65rem;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.4rem;
  overflow-y: auto;
  overflow-x: hidden !important;
  max-height: 240px;
}

.sticker-grid::-webkit-scrollbar {
  width: 5px;
}
.sticker-grid::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}

.sticker-item-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.2rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  text-align: center;
  min-height: 44px;
  transition: all 0.15s ease;
}

.sticker-item-btn:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  transform: scale(1.1);
}

.sticker-item-btn .s-icon {
  font-size: 1.55rem;
  line-height: 1;
  display: block;
}

.sticker-item-btn.is-kaomoji {
  grid-column: span 2;
  padding: 0.45rem 0.35rem;
}

.sticker-item-btn.is-kaomoji .s-icon {
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* =========================================================
   MINIMALIST CATEGORY NAVIGATION & CATALOG SHOWCASE (v1.7)
   ========================================================= */

/* Hero Action Group & Search Bar */
.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.catalog-search-wrap {
  display: flex;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  max-width: 540px;
  width: 100%;
}

.search-box-minimal {
  position: relative;
  width: 100%;
}

.search-box-minimal input {
  width: 100%;
  padding: 0.75rem 1.25rem 0.75rem 2.65rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background: var(--bg-surface-elevated);
  color: var(--text-main);
  font-size: 0.92rem;
  outline: none;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}

.search-box-minimal input:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.search-box-icon {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: var(--text-dim);
  pointer-events: none;
}

/* Compact Category Navigation Bar */
.category-nav-bar {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2.75rem;
  gap: 0.75rem;
}

.category-nav-tabs {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-full);
  padding: 0.3rem;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.category-nav-tabs::-webkit-scrollbar {
  display: none;
}

.cat-nav-tab {
  padding: 0.5rem 1.15rem;
  border-radius: var(--radius-full);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.cat-nav-tab:hover {
  color: var(--text-main);
}

.cat-nav-tab.active {
  background: var(--primary);
  color: #ffffff;
  box-shadow: 0 2px 8px var(--primary-glow);
}

/* Secondary Subcategory Strip */
.subcategory-nav-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  padding: 0.25rem 0;
}

.sub-nav-pill {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  background: var(--bg-surface);
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.sub-nav-pill:hover {
  border-color: var(--primary);
  color: var(--text-main);
  background: var(--primary-light);
}

.sub-nav-pill.active {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
  font-weight: 700;
}

.sub-nav-count {
  font-size: 0.72rem;
  opacity: 0.75;
}

/* Minimalist Category Section */
.category-section {
  margin-bottom: 3.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-glass-light);
}

.category-section:last-of-type {
  border-bottom: none;
}

.category-section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.category-header-titles {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.category-section-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text-main);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.category-section-title:hover {
  color: var(--primary);
}

.category-section-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
  max-width: 620px;
  line-height: 1.5;
}

.btn-category-action {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-category-action:hover {
  background: var(--primary-light);
  transform: translateX(2px);
}

/* Minimalist Breadcrumb Bar */
.category-breadcrumb-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-glass);
  overflow-x: auto;
  white-space: nowrap;
}

.breadcrumb-link {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.breadcrumb-link:hover {
  color: var(--primary);
}

.breadcrumb-divider {
  color: var(--text-dim);
  user-select: none;
}

.breadcrumb-active {
  color: var(--text-main);
  font-weight: 700;
}

/* View More In Category Card */
.view-more-card {
  border-radius: var(--radius-xl);
  background: var(--bg-surface-elevated);
  border: 1px dashed var(--border-glass);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2.25rem 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
  min-height: 260px;
}

.view-more-card:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  transform: translateY(-4px);
  box-shadow: 0 8px 20px -4px var(--primary-glow);
}

.view-more-card-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.view-more-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  max-width: 220px;
}

.view-more-card-btn {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

/* Clean Empty State */
.catalog-empty-state {
  text-align: center;
  padding: 4rem 1.5rem;
  border-radius: var(--radius-xl);
  background: var(--bg-surface-elevated);
  border: 1px dashed var(--border-glass);
  margin-bottom: 3rem;
}

.catalog-empty-state h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.4rem;
}

.catalog-empty-state p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 1.25rem auto;
  line-height: 1.5;
}

/* Product Card Refinements */
.art-card-category {
  font-size: 0.72rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.art-card-desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 1rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .category-section-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .product-showcase-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .nav-links {
    display: none;
  }
  .chatbox-widget {
    bottom: 1rem;
    right: 1rem;
  }
  .chatbox-window {
    width: calc(100vw - 2rem);
    height: 480px;
    right: 0;
  }
  .category-nav-tabs {
    width: 100%;
    justify-content: flex-start;
  }
}


