/* ============================================
   ShopWave.ro — Main Stylesheet
   Design: Dark luxury e-commerce
   Fonts: Syne + DM Sans
   ============================================ */

:root {
  --primary: #0f3460;
  --primary-light: #16213e;
  --accent: #e94560;
  --accent-hover: #c73652;
  --bg: #f7f8fc;
  --bg-card: #ffffff;
  --text: #1a1a2e;
  --text-muted: #6b7280;
  --text-light: #9ca3af;
  --border: #e5e7eb;
  --border-light: #f3f4f6;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--bg); color: var(--text); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ---- LAYOUT ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-title { font-family: var(--font-display); font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 8px; color: var(--text); }
.section-sub { color: var(--text-muted); margin-bottom: 40px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 40px; flex-wrap: wrap; gap: 10px; }

/* ---- FLASH MESSAGES ---- */
.flash-message {
  position: fixed; top: 80px; right: 20px; z-index: 9999;
  display: flex; align-items: center; gap: 10px;
  padding: 14px 20px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 500; max-width: 380px;
  animation: slideInRight 0.4s ease; box-shadow: var(--shadow-lg);
}
.flash-success { background: #d1fae5; color: #065f46; border-left: 4px solid #10b981; }
.flash-error   { background: #fee2e2; color: #991b1b; border-left: 4px solid #ef4444; }
.flash-info    { background: #dbeafe; color: #1e40af; border-left: 4px solid #3b82f6; }
.flash-message button { background: none; border: none; cursor: pointer; margin-left: auto; opacity: 0.6; }
.flash-message button:hover { opacity: 1; }
@keyframes slideInRight { from { transform: translateX(120%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* ---- TOPBAR ---- */
.topbar {
  background: var(--primary); color: white;
  font-size: 12px; padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 5px; }
.topbar span { display: flex; align-items: center; gap: 6px; opacity: 0.9; }
.topbar i { color: #e94560; }

/* ---- HEADER ---- */
.header {
  background: white; position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.header.scrolled { box-shadow: 0 4px 30px rgba(0,0,0,0.15); }

.header-inner {
  display: grid; grid-template-columns: auto 1fr auto auto;
  align-items: center; gap: 20px; padding: 16px 20px;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 8px; }
.logo-icon { font-size: 28px; }
.logo-text { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--primary); letter-spacing: -0.5px; }
.logo-accent { color: var(--accent); }

/* Search */
.search-form { flex: 1; }
.search-wrap { display: flex; background: var(--bg); border: 2px solid var(--border); border-radius: 50px; overflow: hidden; transition: var(--transition); }
.search-wrap:focus-within { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15,52,96,0.1); }
.search-input {
  flex: 1; padding: 12px 20px; border: none; background: transparent;
  font-family: var(--font-body); font-size: 14px; outline: none; color: var(--text);
}
.search-btn {
  padding: 12px 20px; background: var(--accent); border: none;
  color: white; cursor: pointer; font-size: 15px; transition: var(--transition);
}
.search-btn:hover { background: var(--accent-hover); }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 4px; }
.icon-btn {
  display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 12px; border-radius: var(--radius-sm); cursor: pointer;
  background: none; border: none; font-family: var(--font-body);
  color: var(--text); font-size: 11px; font-weight: 500; transition: var(--transition);
  position: relative;
}
.icon-btn i { font-size: 18px; }
.icon-btn:hover { background: var(--bg); color: var(--accent); }
.cart-btn { position: relative; }
.cart-count {
  position: absolute; top: 2px; right: 6px;
  background: var(--accent); color: white;
  font-size: 10px; font-weight: 700; min-width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}

/* User Dropdown */
.user-dropdown { position: relative; }
.user-btn { flex-direction: row; gap: 6px; }
.dropdown-menu {
  position: absolute; top: calc(100% + 8px); right: 0;
  background: white; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 200px; padding: 8px; z-index: 999;
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: var(--transition); border: 1px solid var(--border-light);
}
.user-dropdown:hover .dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown-menu a {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px;
  border-radius: var(--radius-sm); font-size: 14px; color: var(--text);
  transition: var(--transition);
}
.dropdown-menu a:hover { background: var(--bg); color: var(--accent); }
.dropdown-menu hr { border: none; border-top: 1px solid var(--border-light); margin: 6px 0; }
.dropdown-menu i { width: 16px; color: var(--text-muted); }

/* ---- NAVIGATION ---- */
.nav { border-top: 1px solid var(--border-light); background: white; }
.nav-inner { display: flex; align-items: center; gap: 4px; height: 48px; }
.nav-link {
  padding: 8px 14px; border-radius: var(--radius-sm); font-size: 14px;
  font-weight: 500; color: var(--text-muted); transition: var(--transition);
  display: flex; align-items: center; gap: 4px; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--primary); background: var(--bg); }
.nav-link.active { font-weight: 600; }

/* Nav Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-menu {
  position: absolute; top: calc(100% + 4px); left: 0;
  background: white; border-radius: var(--radius); box-shadow: var(--shadow-lg);
  min-width: 220px; padding: 8px; z-index: 999;
  display: grid; grid-template-columns: 1fr 1fr;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: var(--transition); border: 1px solid var(--border-light);
}
.nav-dropdown:hover .nav-dropdown-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 12px; border-radius: var(--radius-sm);
  font-size: 13px; color: var(--text); transition: var(--transition);
}
.nav-dropdown-menu a:hover { background: var(--bg); color: var(--accent); }

/* Mobile */
.mobile-menu-btn {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: var(--transition); }

/* ---- HERO BANNER ---- */
.hero-slider { position: relative; overflow: hidden; border-radius: 0; }
.hero-slide {
  display: none; padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, #16213e 50%, #0d1b2a 100%);
  position: relative; overflow: hidden;
}
.hero-slide.active { display: flex; align-items: center; }
.hero-slide::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(233,69,96,0.15) 0%, transparent 60%);
}
.hero-slide::after {
  content: '🌊'; position: absolute; right: -20px; bottom: -60px;
  font-size: 400px; opacity: 0.04; user-select: none;
}
.hero-content { position: relative; z-index: 1; }
.hero-tag {
  display: inline-block; background: rgba(233,69,96,0.2); color: #e94560;
  padding: 6px 14px; border-radius: 50px; font-size: 12px; font-weight: 600;
  letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px;
  border: 1px solid rgba(233,69,96,0.3);
}
.hero-title {
  font-family: var(--font-display); font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 800; color: white; margin-bottom: 16px; line-height: 1.1;
}
.hero-sub { color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 32px; max-width: 480px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* Slider controls */
.slider-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
.slider-dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: var(--transition); }
.slider-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 24px; border-radius: 50px; font-family: var(--font-body);
  font-size: 14px; font-weight: 600; cursor: pointer; border: 2px solid transparent;
  transition: var(--transition); text-align: center; justify-content: center;
}
.btn-primary { background: var(--accent); color: white; border-color: var(--accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(233,69,96,0.4); }
.btn-outline { background: transparent; color: white; border-color: rgba(255,255,255,0.4); }
.btn-outline:hover { background: white; color: var(--text); }
.btn-outline-dark { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline-dark:hover { background: var(--primary); color: white; }
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 12px; }
.btn-lg { padding: 16px 32px; font-size: 16px; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none !important; }

/* ---- CATEGORIES GRID ---- */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 16px; }
.category-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 24px 16px; background: white; border-radius: var(--radius);
  border: 2px solid var(--border-light); cursor: pointer; transition: var(--transition);
  text-align: center;
}
.category-card:hover { border-color: var(--accent); transform: translateY(-4px); box-shadow: var(--shadow); }
.category-icon { font-size: 36px; }
.category-name { font-size: 13px; font-weight: 600; color: var(--text); }
.category-count { font-size: 11px; color: var(--text-muted); }

/* ---- PRODUCTS GRID ---- */
.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }

.product-card {
  background: white; border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border-light); transition: var(--transition);
  position: relative; display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

.product-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 4px 10px; border-radius: 50px; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.5px;
}
.badge-sale { background: var(--accent); color: white; }
.badge-new { background: #10b981; color: white; }
.badge-hot { background: #f59e0b; color: white; }

.product-wishlist {
  position: absolute; top: 12px; right: 12px; z-index: 2;
  width: 34px; height: 34px; border-radius: 50%; background: white;
  border: 1px solid var(--border); display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition); box-shadow: var(--shadow);
}
.product-wishlist:hover, .product-wishlist.active { background: var(--accent); border-color: var(--accent); color: white; }

.product-image-wrap { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--bg); }
.product-image { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.product-card:hover .product-image { transform: scale(1.08); }

.product-overlay {
  position: absolute; inset: 0; background: rgba(15,52,96,0.7);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: var(--transition);
}
.product-card:hover .product-overlay { opacity: 1; }

.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.product-cat { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.product-name { font-weight: 600; font-size: 14px; color: var(--text); line-height: 1.4; flex: 1; }
.product-name a:hover { color: var(--accent); }

.product-rating { display: flex; align-items: center; gap: 6px; }
.stars { color: #f59e0b; font-size: 12px; }
.rating-count { font-size: 11px; color: var(--text-muted); }

.product-price { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.price-current { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--accent); }
.price-original { font-size: 13px; color: var(--text-light); text-decoration: line-through; }
.price-discount { background: #fef3c7; color: #d97706; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 50px; }

.product-footer { padding: 0 16px 16px; }
.add-to-cart-btn {
  width: 100%; padding: 10px; background: var(--primary); color: white;
  border: none; border-radius: var(--radius-sm); font-family: var(--font-body);
  font-weight: 600; font-size: 13px; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center; gap: 8px;
}
.add-to-cart-btn:hover { background: var(--accent); transform: none; }

/* ---- PROMO BANNER ---- */
.promo-banner {
  background: linear-gradient(135deg, var(--primary) 0%, #1a1a2e 100%);
  border-radius: var(--radius-lg); padding: 60px 40px;
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 40px;
  overflow: hidden; position: relative;
}
.promo-banner::after {
  content: '🌊'; position: absolute; right: 0; bottom: -40px;
  font-size: 250px; opacity: 0.05;
}
.promo-title { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: white; margin-bottom: 12px; }
.promo-sub { color: rgba(255,255,255,0.7); }
.promo-badge { background: var(--accent); color: white; font-family: var(--font-display); font-size: 3rem; font-weight: 800; padding: 20px 30px; border-radius: var(--radius); text-align: center; white-space: nowrap; }
.promo-badge small { display: block; font-size: 0.9rem; font-weight: 400; opacity: 0.8; }

/* ---- FEATURES STRIP ---- */
.features-strip { background: white; border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0; }
.feature-item {
  display: flex; align-items: center; gap: 16px; padding: 24px 20px;
  border-right: 1px solid var(--border-light);
}
.feature-item:last-child { border-right: none; }
.feature-icon { width: 48px; height: 48px; background: linear-gradient(135deg, var(--primary), #1a1a2e); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; color: white; font-size: 20px; flex-shrink: 0; }
.feature-title { font-weight: 600; font-size: 14px; margin-bottom: 2px; }
.feature-sub { font-size: 12px; color: var(--text-muted); }

/* ---- FORMS ---- */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 13px; font-weight: 600; color: var(--text); }
.form-input, .form-select, .form-textarea {
  padding: 12px 16px; border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-family: var(--font-body); font-size: 14px; color: var(--text);
  background: white; transition: var(--transition); outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15,52,96,0.08);
}
.form-input.error { border-color: #ef4444; }
.form-error { font-size: 12px; color: #ef4444; margin-top: 4px; }
.form-hint { font-size: 12px; color: var(--text-muted); }

/* ---- AUTH PAGES ---- */
.auth-page {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary) 0%, #1a1a2e 60%, #0d1b2a 100%);
  padding: 20px; position: relative; overflow: hidden;
}
.auth-page::before {
  content: '🌊'; position: absolute; right: -100px; bottom: -150px;
  font-size: 500px; opacity: 0.04;
}
.auth-card {
  background: white; border-radius: var(--radius-lg); padding: 48px;
  width: 100%; max-width: 460px; position: relative; z-index: 1;
  box-shadow: 0 24px 80px rgba(0,0,0,0.3);
}
.auth-logo { text-align: center; margin-bottom: 32px; }
.auth-title { font-family: var(--font-display); font-size: 1.8rem; font-weight: 800; margin-bottom: 6px; text-align: center; color: var(--text); }
.auth-sub { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 32px; }
.auth-form { display: flex; flex-direction: column; gap: 20px; }
.auth-divider { display: flex; align-items: center; gap: 12px; color: var(--text-light); font-size: 13px; }
.auth-divider::before, .auth-divider::after { content: ''; flex: 1; border-top: 1px solid var(--border); }
.auth-footer { text-align: center; font-size: 14px; color: var(--text-muted); margin-top: 24px; }
.auth-footer a { color: var(--accent); font-weight: 600; }

/* Code Verification */
.code-inputs { display: flex; gap: 10px; justify-content: center; }
.code-input {
  width: 52px; height: 60px; text-align: center; font-family: var(--font-display);
  font-size: 24px; font-weight: 700; border: 2px solid var(--border);
  border-radius: var(--radius-sm); outline: none; transition: var(--transition);
}
.code-input:focus { border-color: var(--primary); box-shadow: 0 0 0 4px rgba(15,52,96,0.1); }

/* ---- CART SIDEBAR ---- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,0.5);
  z-index: 1400; opacity: 0; visibility: hidden; transition: var(--transition);
}
.cart-overlay.open { opacity: 1; visibility: visible; }
.cart-sidebar {
  position: fixed; top: 0; right: 0; width: min(420px, 100vw); height: 100vh;
  background: white; z-index: 1500; display: flex; flex-direction: column;
  transform: translateX(100%); transition: var(--transition);
  box-shadow: -10px 0 40px rgba(0,0,0,0.2);
}
.cart-sidebar.open { transform: translateX(0); }
.cart-sidebar-header { padding: 20px 24px; border-bottom: 1px solid var(--border-light); display: flex; align-items: center; justify-content: space-between; }
.cart-sidebar-header h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.cart-sidebar-header button { background: none; border: none; cursor: pointer; font-size: 18px; color: var(--text-muted); }
.cart-sidebar-body { flex: 1; overflow-y: auto; padding: 20px 24px; }
.cart-sidebar-footer { padding: 20px 24px; border-top: 1px solid var(--border-light); display: flex; flex-direction: column; gap: 10px; }

/* ---- PAGINATION ---- */
.pagination { display: flex; justify-content: center; gap: 6px; margin-top: 48px; flex-wrap: wrap; }
.page-btn {
  width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); font-size: 14px; font-weight: 500;
  border: 1px solid var(--border); background: white; color: var(--text);
  cursor: pointer; transition: var(--transition);
}
.page-btn:hover, .page-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ---- BACK TO TOP ---- */
.back-to-top {
  position: fixed; bottom: 30px; right: 30px; z-index: 999;
  width: 46px; height: 46px; border-radius: 50%; background: var(--primary);
  color: white; border: none; cursor: pointer; font-size: 16px;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: var(--transition);
  box-shadow: var(--shadow-lg);
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--accent); transform: translateY(-3px); }

/* ---- NEWSLETTER FORM ---- */
.newsletter-form { display: flex; background: var(--bg); border-radius: 50px; overflow: hidden; border: 1px solid var(--border); margin: 12px 0; }
.newsletter-form input { flex: 1; padding: 10px 16px; border: none; background: transparent; font-family: var(--font-body); font-size: 13px; outline: none; }
.newsletter-form button { padding: 10px 16px; background: var(--accent); border: none; color: white; cursor: pointer; transition: var(--transition); }
.newsletter-form button:hover { background: var(--accent-hover); }

/* ---- FOOTER ---- */
.footer { background: var(--primary-light); color: rgba(255,255,255,0.85); }
.footer-top { padding: 60px 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 40px; }
.footer-logo .logo-text, .footer-logo .logo-accent { color: white; }
.footer-col p { font-size: 14px; color: rgba(255,255,255,0.6); line-height: 1.7; margin: 12px 0; }
.footer-col h4 { font-family: var(--font-display); font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: white; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 14px; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-col ul li a:hover { color: white; padding-left: 4px; }
.social-links { display: flex; gap: 10px; margin-top: 16px; }
.social-links a {
  width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; color: white; transition: var(--transition);
}
.social-links a:hover { background: var(--accent); transform: translateY(-2px); }
.payment-icons { display: flex; align-items: center; gap: 12px; margin-top: 12px; flex-wrap: wrap; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-links a:hover { color: white; }

/* ---- BREADCRUMB ---- */
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); padding: 16px 0; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { opacity: 0.4; }
.breadcrumb .current { color: var(--text); font-weight: 500; }

/* ---- EMPTY STATES ---- */
.empty-state { text-align: center; padding: 80px 20px; }
.empty-icon { font-size: 64px; margin-bottom: 16px; opacity: 0.5; }
.empty-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.empty-sub { color: var(--text-muted); margin-bottom: 24px; }

/* ---- LOADING ---- */
.skeleton { background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%); background-size: 200% 100%; animation: skeleton 1.5s infinite; border-radius: var(--radius-sm); }
@keyframes skeleton { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ---- RATING STARS ---- */
.star-rating { display: flex; gap: 2px; cursor: pointer; }
.star-rating .star { font-size: 20px; color: var(--border); transition: var(--transition); }
.star-rating .star.active, .star-rating .star:hover, .star-rating .star.hover { color: #f59e0b; }

/* ---- BADGES ---- */
.badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 10px; border-radius: 50px; font-size: 12px; font-weight: 600; }
.badge-success { background: #d1fae5; color: #065f46; }
.badge-warning { background: #fef3c7; color: #92400e; }
.badge-danger  { background: #fee2e2; color: #991b1b; }
.badge-info    { background: #dbeafe; color: #1e40af; }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .header-inner { grid-template-columns: auto 1fr auto auto; gap: 12px; }
  .search-form { display: none; }
  .header-actions span { display: none; }
  .icon-btn { padding: 8px; }
  .mobile-menu-btn { display: flex; }
  .nav { display: none; }
  .nav.open { display: block; }
  .nav-inner { flex-direction: column; height: auto; padding: 12px 20px; gap: 0; }
  .nav-dropdown-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 16px; grid-template-columns: 1fr; }
  .promo-banner { grid-template-columns: 1fr; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; }
  .feature-item { border-right: none; border-bottom: 1px solid var(--border-light); }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .hero-slide { padding: 40px 0; }
  .categories-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 10px; }
  .products-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
  .auth-card { padding: 32px 24px; }
  .topbar-inner span:last-child { display: none; }
}
@media (max-width: 480px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: 1fr; }
}
