/* ================================================================
   ONE-POINT.RO — Premium Design System
   Gradient modern: Violet → Albastru → Fucsia (stil Dribbble)
   ================================================================ */

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

/* ── CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  /* Brand Colors */
  --c-violet:     #7C3AED;
  --c-violet-d:   #6D28D9;
  --c-violet-l:   #A78BFA;
  --c-blue:       #2563EB;
  --c-blue-d:     #1D4ED8;
  --c-blue-l:     #60A5FA;
  --c-pink:       #EC4899;
  --c-pink-d:     #DB2777;
  --c-pink-l:     #F9A8D4;

  /* Gradients */
  --grad-primary: linear-gradient(135deg, #7C3AED 0%, #2563EB 50%, #EC4899 100%);
  --grad-glow:    linear-gradient(135deg, rgba(124,58,237,0.8) 0%, rgba(37,99,235,0.8) 50%, rgba(236,72,153,0.8) 100%);
  --grad-card:    linear-gradient(145deg, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.02) 100%);
  --grad-dark:    linear-gradient(180deg, #0A0A0F 0%, #0D0D15 100%);

  /* Dark Theme */
  --bg-primary:   #0A0A0F;
  --bg-secondary: #0F0F1A;
  --bg-surface:   #141424;
  --bg-card:      #181828;
  --bg-elevated:  #1E1E32;

  /* Text */
  --text-primary: #F8FAFC;
  --text-secondary:#CBD5E1;
  --text-muted:   #64748B;
  --text-faint:   #334155;

  /* Borders */
  --border:       rgba(255,255,255,0.08);
  --border-glow:  rgba(124,58,237,0.4);
  --border-hover: rgba(124,58,237,0.6);

  /* Status */
  --c-success:    #10B981;
  --c-warning:    #F59E0B;
  --c-error:      #EF4444;
  --c-info:       #3B82F6;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Radius */
  --r-sm: 0.375rem;
  --r-md: 0.75rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-2xl: 2rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(0,0,0,0.5);
  --shadow-md:    0 4px 20px rgba(0,0,0,0.6);
  --shadow-lg:    0 10px 40px rgba(0,0,0,0.7);
  --shadow-glow:  0 0 30px rgba(124,58,237,0.3);
  --shadow-glow-l:0 0 60px rgba(124,58,237,0.2);
  --shadow-pink:  0 0 30px rgba(236,72,153,0.3);

  /* Transitions */
  --t-fast: 150ms ease;
  --t-base: 250ms ease;
  --t-slow: 400ms ease;
  --t-spring: 350ms cubic-bezier(0.34,1.56,0.64,1);

  /* Typography */
  --font-display: 'Outfit', sans-serif;
  --font-body:    'Inter', sans-serif;
  --font-accent:  'Space Grotesk', sans-serif;

  /* Layout */
  --container: 1280px;
  --header-h: 72px;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

/* ── SCROLLBAR ──────────────────────────────────────────────── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--c-violet); border-radius: var(--r-full); }
::-webkit-scrollbar-thumb:hover { background: var(--c-violet-l); }

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.display-1 { font-size: clamp(2.5rem, 6vw, 4.5rem); font-weight: 800; }
.display-2 { font-size: clamp(2rem, 4vw, 3.5rem); font-weight: 700; }
.heading-1 { font-size: clamp(1.75rem, 3vw, 2.5rem); font-weight: 700; }
.heading-2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 600; }
.heading-3 { font-size: 1.25rem; font-weight: 600; }
.label { font-family: var(--font-accent); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; }
.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── LAYOUT ─────────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.container-sm { max-width: 640px; margin: 0 auto; padding: 0 var(--space-6); }
.container-md { max-width: 860px; margin: 0 auto; padding: 0 var(--space-6); }

.section { padding: var(--space-20) 0; }
.section-sm { padding: var(--space-12) 0; }

/* ── GLASSMORPHISM CARD ─────────────────────────────────────── */
.glass {
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
}

.glass-strong {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--r-xl);
}

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  transition: border-color var(--t-base), box-shadow var(--t-base), transform var(--t-slow);
}

.card:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

/* ── BUTTONS ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 0.75rem 1.75rem;
  border-radius: var(--r-full);
  font-family: var(--font-accent);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all var(--t-base);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-decoration: none;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background var(--t-fast);
}

.btn:hover::before { background: rgba(255,255,255,0.1); }
.btn:active { transform: scale(0.97); }

/* Primary (Gradient) */
.btn-primary {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 4px 20px rgba(124,58,237,0.4);
}
.btn-primary:hover { box-shadow: 0 6px 30px rgba(124,58,237,0.6); transform: translateY(-1px); }

/* Secondary (Outlined) */
.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border);
}
.btn-secondary:hover { border-color: var(--c-violet); box-shadow: var(--shadow-glow); }

/* Ghost */
.btn-ghost {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}
.btn-ghost:hover { background: rgba(255,255,255,0.1); }

/* Danger */
.btn-danger {
  background: rgba(239,68,68,0.15);
  color: var(--c-error);
  border: 1px solid rgba(239,68,68,0.3);
}
.btn-danger:hover { background: rgba(239,68,68,0.25); }

/* Sizes */
.btn-sm { padding: 0.5rem 1.25rem; font-size: 0.8rem; }
.btn-lg { padding: 1rem 2.5rem; font-size: 1rem; }
.btn-icon { padding: 0.75rem; border-radius: var(--r-md); }

/* ── FORMS ──────────────────────────────────────────────────── */
.form-group { display: flex; flex-direction: column; gap: var(--space-2); }

.form-label {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  font-family: var(--font-accent);
}

.form-input, .form-select, .form-textarea {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  color: var(--text-primary);
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-family: var(--font-body);
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
  width: 100%;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--c-violet);
  box-shadow: 0 0 0 3px rgba(124,58,237,0.2);
}

.form-input::placeholder { color: var(--text-faint); }
.form-textarea { resize: vertical; min-height: 120px; }
.form-select { appearance: none; cursor: pointer; }
.form-select option { background: var(--bg-elevated); }

.form-error { font-size: 0.8rem; color: var(--c-error); display: flex; align-items: center; gap: 4px; }
.form-hint { font-size: 0.8rem; color: var(--text-muted); }

/* Input with icon */
.input-wrapper { position: relative; }
.input-icon { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); pointer-events: none; }
.input-wrapper .form-input { padding-left: 2.75rem; }

/* ── HEADER / NAV ───────────────────────────────────────────── */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: all var(--t-base);
}

.header.scrolled {
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
}

.header .container,
.header .header-container {
  max-width: 100%;
  width: 100%;
  margin: 0;
  padding: 0 clamp(1.25rem, 2.5vw, 3rem);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: var(--space-6);
  width: 100%;
}

.header-inner .nav {
  margin-right: auto;
}

.header-inner .header-actions {
  margin-left: auto;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.03em;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--grad-primary);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  box-shadow: var(--shadow-glow);
}

.logo span { background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* Nav */
.nav { display: flex; align-items: center; gap: var(--space-1); }

.nav-link {
  padding: 0.5rem 1rem;
  border-radius: var(--r-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--t-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--grad-primary);
  border-radius: var(--r-full);
  transition: width var(--t-base);
}

.nav-link:hover { color: var(--text-primary); background: rgba(255,255,255,0.05); }
.nav-link:hover::after, .nav-link.active::after { width: 80%; }
.nav-link.active { color: var(--text-primary); }

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.header-icon-btn {
  position: relative;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
}

.header-icon-btn:hover {
  background: rgba(255,255,255,0.08);
  border-color: var(--c-violet);
  color: var(--text-primary);
}

.badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 4px;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  line-height: 1;
  padding: 4px 7px;
  border-radius: var(--r-sm);
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all var(--t-fast);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-accent);
}

.lang-btn.active, .lang-btn:hover {
  background: var(--grad-primary);
  color: #fff;
}

/* ── HERO SECTION ───────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--grad-dark);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: var(--c-violet);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: var(--c-blue);
  bottom: -80px;
  left: -80px;
  animation-delay: 3s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: var(--c-pink);
  top: 40%;
  left: 40%;
  animation-delay: 5s;
}

/* Particles */
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--c-violet-l);
  border-radius: 50%;
  animation: particle-float linear infinite;
  opacity: 0;
}

@keyframes particle-float {
  0%   { transform: translateY(100vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33%       { transform: translate(20px, -20px) scale(1.05); }
  66%       { transform: translate(-20px, 10px) scale(0.95); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  background: rgba(124,58,237,0.15);
  border: 1px solid rgba(124,58,237,0.3);
  border-radius: var(--r-full);
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-accent);
  color: var(--c-violet-l);
  margin-bottom: var(--space-6);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 900;
  line-height: 1.05;
  margin-bottom: var(--space-6);
  letter-spacing: -0.03em;
}

.hero-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 540px;
  margin-bottom: var(--space-8);
  line-height: 1.7;
}

.hero-actions { display: flex; gap: var(--space-4); flex-wrap: wrap; margin-bottom: var(--space-12); }

.hero-stats {
  display: flex;
  gap: var(--space-8);
  flex-wrap: wrap;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ── PRODUCT CARD ───────────────────────────────────────────── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: var(--space-6);
}

.product-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  overflow: hidden;
  transition: all var(--t-slow);
  position: relative;
  cursor: pointer;
}

.product-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow), var(--shadow-lg);
}

.product-img-wrap {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-elevated);
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}

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

.product-badge {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  background: var(--grad-primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-accent);
  padding: 4px 10px;
  border-radius: var(--r-full);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.product-wishlist {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 36px;
  height: 36px;
  background: rgba(10,10,15,0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--t-fast);
  opacity: 0;
}

.product-card:hover .product-wishlist { opacity: 1; }
.product-wishlist:hover { background: rgba(236,72,153,0.3); border-color: var(--c-pink); color: var(--c-pink); }
.product-wishlist.active { background: rgba(236,72,153,0.2); border-color: var(--c-pink); color: var(--c-pink); opacity: 1; }

.product-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-3);
  background: linear-gradient(transparent, rgba(10,10,15,0.9));
  transform: translateY(100%);
  transition: transform var(--t-base);
}

.product-card:hover .product-overlay { transform: translateY(0); }

.product-body { padding: var(--space-4); }
.product-cat { font-size: 0.75rem; color: var(--c-violet-l); font-family: var(--font-accent); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 6px; }
.product-name { font-family: var(--font-display); font-weight: 600; font-size: 1rem; margin-bottom: var(--space-3); line-height: 1.3; }
.product-price { display: flex; align-items: center; gap: var(--space-2); }
.price-current { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; background: var(--grad-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.price-original { font-size: 0.875rem; color: var(--text-muted); text-decoration: line-through; }

.product-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: var(--space-2);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.stars { color: #F59E0B; display: flex; gap: 2px; }

/* ── CUSTOMIZE BADGE ────────────────────────────────────────── */
.custom-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 600;
  font-family: var(--font-accent);
  color: var(--c-pink);
  background: rgba(236,72,153,0.1);
  border: 1px solid rgba(236,72,153,0.2);
  border-radius: var(--r-full);
  padding: 2px 8px;
  margin-top: 6px;
  letter-spacing: 0.03em;
}

/* ── SECTION HEADER ─────────────────────────────────────────── */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
}

.section-header .label {
  color: var(--c-violet-l);
  margin-bottom: var(--space-3);
  display: block;
}

.section-divider {
  width: 60px;
  height: 3px;
  background: var(--grad-primary);
  border-radius: var(--r-full);
  margin: var(--space-4) auto 0;
}

/* ── BREADCRUMB ─────────────────────────────────────────────── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-accent);
  padding: var(--space-4) 0;
}

.breadcrumb a:hover { color: var(--c-violet-l); }
.breadcrumb-sep { color: var(--text-faint); }
.breadcrumb-current { color: var(--text-secondary); }

/* ── TAGS / PILLS ───────────────────────────────────────────── */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 12px;
  border-radius: var(--r-full);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-accent);
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  transition: all var(--t-fast);
  cursor: pointer;
}

.tag:hover, .tag.active { background: rgba(124,58,237,0.2); border-color: var(--c-violet); color: var(--c-violet-l); }

/* ── ALERTS ─────────────────────────────────────────────────── */
.alert {
  padding: var(--space-4);
  border-radius: var(--r-md);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  border: 1px solid;
  font-size: 0.9rem;
}

.alert-success { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.3); color: #34D399; }
.alert-error   { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.3); color: #F87171; }
.alert-warning { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.3); color: #FCD34D; }
.alert-info    { background: rgba(59,130,246,0.1); border-color: rgba(59,130,246,0.3); color: #93C5FD; }

/* ── STATUS BADGES ──────────────────────────────────────────── */
.status { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: var(--r-full); font-size: 0.75rem; font-weight: 600; font-family: var(--font-accent); }
.status::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; display: block; }

.status-pending    { background: rgba(245,158,11,0.15); color: #FCD34D; }
.status-confirmed  { background: rgba(59,130,246,0.15); color: #93C5FD; }
.status-processing { background: rgba(99,102,241,0.15); color: #A5B4FC; }
.status-shipped    { background: rgba(124,58,237,0.15); color: #C4B5FD; }
.status-delivered  { background: rgba(16,185,129,0.15); color: #6EE7B7; }
.status-cancelled  { background: rgba(239,68,68,0.15); color: #FCA5A5; }
.status-refunded   { background: rgba(100,116,139,0.15); color: #94A3B8; }
.status-paid       { background: rgba(16,185,129,0.15); color: #6EE7B7; }
.status-unpaid     { background: rgba(239,68,68,0.15); color: #FCA5A5; }

/* ── TABS ───────────────────────────────────────────────────── */
.tabs {
  display: flex;
  gap: 4px;
  background: var(--bg-elevated);
  border-radius: var(--r-lg);
  padding: 4px;
  border: 1px solid var(--border);
}

.tab-btn {
  flex: 1;
  padding: 0.625rem 1rem;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  font-family: var(--font-accent);
  color: var(--text-muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: all var(--t-fast);
  text-align: center;
}

.tab-btn.active {
  background: var(--grad-primary);
  color: #fff;
  box-shadow: 0 2px 10px rgba(124,58,237,0.4);
}

.tab-btn:not(.active):hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }

/* ── QUANTITY CONTROL ───────────────────────────────────────── */
.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  cursor: pointer;
  font-size: 1.1rem;
  transition: all var(--t-fast);
}

.qty-btn:hover { background: rgba(124,58,237,0.2); color: var(--c-violet-l); }

.qty-input {
  width: 50px;
  text-align: center;
  background: transparent;
  border: none;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0;
  height: 40px;
}

.qty-input:focus { outline: none; }

/* ── COLOR SWATCH ───────────────────────────────────────────── */
.color-swatches { display: flex; flex-wrap: wrap; gap: var(--space-2); }

.color-swatch {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--t-fast);
  position: relative;
}

.color-swatch.active, .color-swatch:hover {
  border-color: var(--c-violet-l);
  transform: scale(1.15);
  box-shadow: 0 0 0 2px rgba(124,58,237,0.4);
}

/* ── MINI CART DRAWER ───────────────────────────────────────── */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: all var(--t-base);
}

.drawer-overlay.open { opacity: 1; visibility: visible; }

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  max-width: 95vw;
  background: var(--bg-secondary);
  border-left: 1px solid var(--border);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--t-slow);
}

.drawer.open { transform: translateX(0); }

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

.drawer-body { flex: 1; overflow-y: auto; padding: var(--space-6); }
.drawer-footer { padding: var(--space-6); border-top: 1px solid var(--border); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-12);
  margin-bottom: var(--space-12);
}

.footer-heading {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: var(--space-4);
}

.footer-links { display: flex; flex-direction: column; gap: var(--space-2); }
.footer-link { font-size: 0.9rem; color: var(--text-secondary); transition: color var(--t-fast); }
.footer-link:hover { color: var(--c-violet-l); }

.footer-bottom {
  padding-top: var(--space-8);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.footer-copy { font-size: 0.8rem; color: var(--text-muted); }

/* Social Icons */
.socials { display: flex; gap: var(--space-2); }
.social-btn {
  width: 38px; height: 38px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary);
  transition: all var(--t-fast);
}
.social-btn:hover { background: var(--grad-primary); border-color: transparent; color: #fff; transform: translateY(-2px); }

/* ── PAGINATION ─────────────────────────────────────────────── */
.pagination { display: flex; align-items: center; justify-content: center; gap: 6px; flex-wrap: wrap; }

.page-btn {
  min-width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
  padding: 0 12px;
}

.page-btn:hover { border-color: var(--c-violet); color: var(--text-primary); }
.page-btn.active { background: var(--grad-primary); border-color: transparent; color: #fff; }
.page-btn[disabled] { opacity: 0.4; cursor: not-allowed; }

/* ── ADMIN PANEL SIDEBAR ────────────────────────────────────── */
.admin-layout {
  display: flex;
  min-height: 100vh;
}

.admin-sidebar {
  width: 260px;
  min-height: 100vh;
  background: var(--bg-secondary);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  left: 0;
  top: 0;
  bottom: 0;
  z-index: 100;
  transition: transform var(--t-base);
}

.admin-main {
  flex: 1;
  margin-left: 260px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  height: 65px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--space-6);
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-content {
  flex: 1;
  padding: var(--space-8);
  background: var(--bg-primary);
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0.625rem 1rem;
  border-radius: var(--r-md);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--t-fast);
  text-decoration: none;
  position: relative;
}

.admin-nav-item:hover { background: rgba(255,255,255,0.05); color: var(--text-primary); }

.admin-nav-item.active {
  background: rgba(124,58,237,0.15);
  color: var(--c-violet-l);
}

.admin-nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 25%;
  bottom: 25%;
  width: 3px;
  background: var(--grad-primary);
  border-radius: 0 var(--r-full) var(--r-full) 0;
}

.admin-nav-section {
  font-size: 0.65rem;
  font-weight: 700;
  font-family: var(--font-accent);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-faint);
  padding: var(--space-4) 1rem var(--space-2);
}

/* Admin Stats Card */
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--space-6);
  position: relative;
  overflow: hidden;
  transition: all var(--t-base);
}

.stat-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }

.stat-card-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: var(--space-4);
}

.stat-value {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--font-accent);
}

.stat-change {
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: var(--space-2);
}

.stat-change.up { color: var(--c-success); }
.stat-change.down { color: var(--c-error); }

/* Admin Table */
.data-table { width: 100%; border-collapse: collapse; }
.data-table th {
  padding: var(--space-3) var(--space-4);
  text-align: left;
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-accent);
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-bottom: 1px solid var(--border);
  background: var(--bg-elevated);
}

.data-table td {
  padding: var(--space-4);
  border-bottom: 1px solid var(--border);
  font-size: 0.875rem;
  color: var(--text-secondary);
  transition: background var(--t-fast);
}

.data-table tr:hover td { background: rgba(255,255,255,0.02); }
.data-table tr:last-child td { border-bottom: none; }

/* ── ANIMATIONS ─────────────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

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

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.9); }
  to   { opacity: 1; transform: scale(1); }
}

@keyframes shimmer {
  from { background-position: -200% 0; }
  to   { background-position: 200% 0; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 10px rgba(124,58,237,0.3); }
  50%       { box-shadow: 0 0 30px rgba(124,58,237,0.7); }
}

.animate-fade-in { animation: fadeIn var(--t-slow) ease both; }
.animate-scale   { animation: scaleIn var(--t-base) ease both; }

/* Stagger children */
.stagger-children > *:nth-child(1) { animation-delay: 0.05s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.15s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.25s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.3s; }

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, var(--bg-elevated) 25%, rgba(255,255,255,0.05) 50%, var(--bg-elevated) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--r-md);
}

/* Loading Spinner */
.spinner {
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255,255,255,0.2);
  border-top-color: var(--c-violet);
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  display: inline-block;
}

/* ── TOAST NOTIFICATIONS ────────────────────────────────────── */
.toast-container {
  position: fixed;
  bottom: var(--space-6);
  right: var(--space-6);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  max-width: 360px;
}

.toast {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: var(--space-4) var(--space-5);
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  box-shadow: var(--shadow-lg);
  animation: fadeIn 300ms ease;
  border-left: 3px solid;
}

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

/* ── DIVIDERS ───────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: var(--space-6) 0;
}

.divider-gradient {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--c-violet), transparent);
  margin: var(--space-6) 0;
}

/* ── STICKY CTA ─────────────────────────────────────────────── */
.sticky-cta {
  position: sticky;
  top: calc(var(--header-h) + var(--space-4));
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: var(--space-8); }
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.mobile-open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
}

@media (max-width: 768px) {
  :root { --container: 100%; }
  .hero-title { font-size: clamp(2.2rem, 8vw, 4rem); }
  .nav { display: none; }
  .nav.mobile-open { display: flex; flex-direction: column; position: fixed; inset: 0; background: var(--bg-secondary); z-index: 999; padding: var(--space-20) var(--space-6); gap: var(--space-4); }
  .footer-grid { grid-template-columns: 1fr; gap: var(--space-6); }
  .hero-stats { gap: var(--space-4); }
  .product-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: var(--space-3); }
  .drawer { width: 100%; }
}

@media (max-width: 480px) {
  .btn-lg { padding: 0.875rem 1.75rem; font-size: 0.9rem; }
  .hero-actions { flex-direction: column; }
  .container { padding: 0 var(--space-4); }
}

/* ── CUSTOMIZER ─────────────────────────────────────────────── */
.customizer {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: var(--space-8);
  min-height: 80vh;
}

.canvas-wrap {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-2xl);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.canvas-tabs {
  position: absolute;
  top: var(--space-4);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 4px;
  background: rgba(10,10,15,0.8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--r-full);
  padding: 4px;
}

.customizer-tools {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.tool-section {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: var(--space-5);
}

.tool-section-title {
  font-family: var(--font-accent);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

@media (max-width: 1024px) {
  .customizer { grid-template-columns: 1fr; }
  .customizer-tools { order: -1; }
}

/* ── CHECKOUT STEPS ─────────────────────────────────────────── */
.checkout-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: var(--space-12);
}

.step {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  flex: 1;
}

.step-circle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--border);
  color: var(--text-muted);
  background: var(--bg-elevated);
  flex-shrink: 0;
  transition: all var(--t-base);
}

.step.active .step-circle, .step.done .step-circle {
  background: var(--grad-primary);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 20px rgba(124,58,237,0.4);
}

.step-line {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 var(--space-2);
  transition: background var(--t-slow);
}

.step.done + .step .step-line { background: var(--grad-primary); }

.step-label {
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-accent);
  color: var(--text-muted);
}

.step.active .step-label { color: var(--c-violet-l); }

/* ── UTILITY ────────────────────────────────────────────────── */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.gap-2 { gap: var(--space-2); }
.gap-4 { gap: var(--space-4); }
.gap-6 { gap: var(--space-6); }
.w-full { width: 100%; }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: var(--text-muted); font-size: 0.875rem; }
.text-success { color: var(--c-success); }
.text-error { color: var(--c-error); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* Gradient border trick */
.gradient-border {
  position: relative;
  border-radius: var(--r-xl);
}
.gradient-border::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: var(--grad-primary);
  z-index: -1;
  opacity: 0;
  transition: opacity var(--t-base);
}
.gradient-border:hover::before { opacity: 1; }

/* Glow pulse animation */
.glow-pulse { animation: pulse-glow 2s ease-in-out infinite; }

/* ── MOBILE MENU HAMBURGER ──────────────────────────────────── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--r-md);
  transition: background var(--t-fast);
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: var(--r-full);
  transition: all var(--t-base);
}

@media (max-width: 768px) {
  .hamburger { display: flex; }
}

/* ── FORM CONTROLS (DARK MODE SELECT & OPTIONS) ──────────────── */
select, select:focus {
  color-scheme: dark !important;
  background-color: #141424 !important;
  color: #F8FAFC !important;
}
select option {
  background-color: #181828 !important;
  color: #F8FAFC !important;
  padding: 10px 14px !important;
}
select option:hover, select option:checked {
  background-color: #7C3AED !important;
  color: #FFFFFF !important;
}


/* ================================================================
   ONE POINT OFFICE — Light Mode (alb + auriu)
   Activat cu <body class="theme-light"> (pagina principală)
   ================================================================ */
body.theme-light {
  --c-violet:   #B8892B;
  --c-violet-d: #8F6A1C;
  --c-violet-l: #C9A04A;
  --c-blue:     #D4A94F;
  --c-pink:     #E6C676;
  --c-gold:     #B8892B;
  --grad-primary: linear-gradient(135deg, #8F6A1C 0%, #C9A04A 50%, #E9CF8E 100%);
  --grad-glow:    linear-gradient(135deg, rgba(184,137,43,.8), rgba(233,207,142,.8));
  --grad-card:    linear-gradient(145deg, #ffffff 0%, #fbf8f1 100%);

  --bg-primary:   #FFFFFF;
  --bg-secondary: #FBF8F1;
  --bg-surface:   #F6F1E6;
  --bg-card:      #FFFFFF;
  --bg-elevated:  #FFFFFF;

  --text-primary:   #1F1A12;
  --text-secondary: #4A4234;
  --text-muted:     #7A6F5C;
  --text-faint:     #B7AD98;

  --border:       rgba(143,106,28,0.16);
  --border-glow:  rgba(184,137,43,0.45);
  --border-hover: rgba(184,137,43,0.7);

  --shadow-sm: 0 1px 3px rgba(60,45,10,.08);
  --shadow-md: 0 6px 24px rgba(60,45,10,.10);
  --shadow-lg: 0 14px 44px rgba(60,45,10,.14);
  --shadow-glow: 0 0 28px rgba(184,137,43,.22);

  background: #FFFFFF;
  color: var(--text-primary);
}
body.theme-light .header,
body.theme-light .header.scrolled { background: rgba(255,255,255,.92); border-bottom: 1px solid var(--border); backdrop-filter: blur(14px); }
body.theme-light .nav-link:hover { background: rgba(184,137,43,.08); }
body.theme-light .btn-primary { color: #fff; box-shadow: 0 4px 18px rgba(184,137,43,.35); }
body.theme-light .btn-primary:hover { box-shadow: 0 6px 26px rgba(184,137,43,.5); }
body.theme-light .footer { background: #FBF8F1; border-top: 1px solid var(--border); }
body.theme-light .lang-switcher, body.theme-light .header-icon-btn { background: #fff; border-color: var(--border); color: var(--text-secondary); }
body.theme-light .lang-btn.active, body.theme-light .lang-btn:hover { background: rgba(184,137,43,.12); color: var(--text-primary); }
body.theme-light #cookie-banner { background: rgba(255,255,255,.97) !important; color: var(--text-secondary); box-shadow: 0 -6px 24px rgba(60,45,10,.08); }

/* Meniu categorii (header) */
.nav-categories { display:flex; gap:2px; align-items:center; }
.nav-link.nav-cat { font-size:.86rem; padding-inline:.7rem; }
@media (max-width: 1180px) { .nav-link.nav-cat { padding-inline:.5rem; font-size:.8rem; } }
