@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

/* === EPIC TOYZ - COMPONENTS === */

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-height);
  background: rgba(13,14,26,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(13,14,26,0.98);
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: var(--space-6);
}

.navbar-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  flex-shrink: 0;
}

.logo-badge {
  width: 40px;
  height: 40px;
  background: var(--red-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -1px;
  color: white;
  box-shadow: var(--shadow-red);
}

.logo-text {
  font-size: var(--font-xl);
  font-weight: 800;
  color: white;
  letter-spacing: -0.5px;
}

.logo-text span { color: var(--red-500); }

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  flex: 1;
  justify-content: center;
}

.nav-link {
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  white-space: nowrap;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 80%;
  height: 2px;
  background: var(--red-gradient);
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast);
}

.nav-link:hover,
.nav-link.active { color: white; }

.nav-link:hover::after,
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }

/* Categories dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: var(--dark-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: var(--space-2);
  min-width: 200px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: all var(--transition-fast);
  z-index: 100;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown-menu:hover,
.nav-dropdown-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown.open #catDropdownArrow {
  transform: rotate(180deg);
}

.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  font-size: var(--font-sm);
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.nav-dropdown-item:hover {
  background: var(--dark-600);
  color: white;
}

.navbar-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-shrink: 0;
}

.nav-icon-btn {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: var(--dark-700);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  position: relative;
  font-size: 18px;
  text-decoration: none;
}

.nav-icon-btn:hover {
  background: var(--dark-600);
  color: white;
  border-color: var(--border-hover);
}

.nav-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 18px;
  height: 18px;
  background: var(--red-500);
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  border: 2px solid var(--dark-900);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
  cursor: pointer;
  background: var(--dark-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

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

.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  background: var(--dark-800);
  border-bottom: 1px solid var(--border);
  padding: var(--space-4);
  flex-direction: column;
  gap: var(--space-2);
  z-index: 999;
  max-height: calc(100vh - var(--navbar-height));
  overflow-y: auto;
}

.mobile-nav.open { display: flex; }
.mobile-nav .nav-link {
  font-size: var(--font-base);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  background: var(--dark-700);
  color: var(--text-secondary);
  display: block;
  width: 100%;
}
.mobile-nav .nav-link:hover,
.mobile-nav .nav-link.active {
  background: var(--dark-600);
  color: white;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  font-weight: 600;
  line-height: 1;
  transition: all var(--transition-fast);
  cursor: pointer;
  border: none;
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}

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

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

.btn-primary {
  background: var(--red-gradient);
  color: white;
  box-shadow: var(--shadow-red);
}

.btn-primary:hover {
  box-shadow: 0 12px 32px rgba(230,57,70,0.45);
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--blue-900);
  color: white;
  border: 1px solid var(--blue-700);
}

.btn-secondary:hover {
  background: var(--blue-700);
  box-shadow: var(--shadow-blue);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--dark-700);
  color: white;
  border-color: var(--border-hover);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: white;
  box-shadow: 0 8px 24px rgba(37,211,102,0.3);
}

.btn-whatsapp:hover {
  box-shadow: 0 12px 32px rgba(37,211,102,0.45);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: var(--font-xs);
  border-radius: var(--radius-sm);
}

.btn-lg {
  padding: 16px 36px;
  font-size: var(--font-base);
  border-radius: var(--radius-lg);
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: var(--radius-md);
  flex-shrink: 0;
}

.btn-icon.btn-sm {
  width: 32px;
  height: 32px;
}

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

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--navbar-height);
  background: linear-gradient(-45deg, #0D0E1A, #1D3557, #0D0E1A, #1A0D0F);
  background-size: 400% 400%;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 60% 50%, rgba(230,57,70,0.08) 0%, transparent 70%),
              radial-gradient(ellipse 60% 80% at 20% 80%, rgba(29,53,87,0.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--dark-900));
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  min-height: calc(100vh - var(--navbar-height));
  padding: var(--space-16) 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  background: rgba(230,57,70,0.12);
  border: 1px solid rgba(230,57,70,0.25);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--red-400);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  width: fit-content;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: var(--red-500);
  border-radius: 50%;
  animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}

.hero-title {
  font-size: clamp(2.5rem, 5.5vw, var(--font-7xl));
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: white;
}

.hero-subtitle {
  font-size: var(--font-lg);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.hero-image-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 560px;
}

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: radial-gradient(ellipse at center, rgba(230,57,70,0.15) 0%, transparent 70%);
  border-radius: 50%;
}

.hero-image-wrapper img {
  width: 100%;
  filter: drop-shadow(0 20px 60px rgba(230,57,70,0.3));
  position: relative;
  z-index: 1;
}

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

.hero-stat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hero-stat-value {
  font-size: var(--font-2xl);
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}

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

/* Premium brand highlights section */
.brand-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-4);
  width: 100%;
}

.brand-highlight {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.brand-highlight:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(230, 57, 70, 0.15);
  transform: translateY(-2px);
}

.highlight-icon {
  font-size: 1.25rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.03);
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight-text-group {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.highlight-title {
  font-size: var(--font-sm);
  font-weight: 700;
  color: white;
}

.highlight-desc {
  font-size: var(--font-xs);
  color: var(--text-muted);
}


/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: var(--space-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  padding: 6px 14px;
  background: rgba(230,57,70,0.1);
  border: 1px solid rgba(230,57,70,0.2);
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--red-400);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, var(--font-4xl));
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-subtitle {
  font-size: var(--font-base);
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.7;
}

.section-line {
  width: 60px;
  height: 3px;
  background: var(--red-gradient);
  border-radius: var(--radius-full);
}

/* ============================================================
   PRODUCT CARDS
   ============================================================ */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.product-card {
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  border-color: rgba(230,57,70,0.25);
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(230,57,70,0.1);
  transform: translateY(-4px);
}

.product-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--dark-700);
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

/* Fix Product Image Hover Zoom Flicker */
.product-card-image,
.product-card-img-wrap {
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  overflow: hidden;
}
.product-card-image img,
.product-card-img {
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}


.product-card-badges {
  position: absolute;
  top: var(--space-3);
  left: var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  z-index: 2;
}

.product-card-wishlist {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  z-index: 2;
}

.product-card-body {
  padding: var(--space-4);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.product-card-category {
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--blue-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.product-card-title {
  font-size: var(--font-base);
  font-weight: 700;
  color: white;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.product-card-rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.product-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-4);
  border-top: 1px solid var(--border);
  margin-top: auto;
}

.product-price-group {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.product-price {
  font-size: var(--font-xl);
  font-weight: 800;
  color: var(--red-500);
  letter-spacing: -0.02em;
}

.product-price-original {
  font-size: var(--font-xs);
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-card-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

/* ============================================================
   BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: var(--radius-full);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}

.badge-new {
  background: rgba(46,204,113,0.15);
  color: var(--success);
  border: 1px solid rgba(46,204,113,0.25);
}

.badge-bestseller {
  background: rgba(255,215,0,0.15);
  color: var(--gold);
  border: 1px solid rgba(255,215,0,0.25);
}

.badge-featured {
  background: rgba(230,57,70,0.15);
  color: var(--red-400);
  border: 1px solid rgba(230,57,70,0.25);
}

.badge-sale {
  background: rgba(243,156,18,0.15);
  color: var(--warning);
  border: 1px solid rgba(243,156,18,0.25);
}

/* ============================================================
   CATEGORY CARDS
   ============================================================ */
.categories-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-4);
}

.category-card {
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red-500);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  transition: all var(--transition);
  cursor: pointer;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.category-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 0 0, rgba(230,57,70,0.06) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--transition);
}

.category-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(230,57,70,0.2);
  border-color: rgba(230,57,70,0.4);
}

.category-card:hover::before { opacity: 1; }

.category-icon {
  font-size: 2.5rem;
  line-height: 1;
}

.category-name {
  font-size: var(--font-base);
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

.category-count {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

/* ============================================================
   RATING STARS
   ============================================================ */
.stars {
  display: flex;
  align-items: center;
  gap: 2px;
}

.star {
  color: var(--gold);
  font-size: 14px;
  line-height: 1;
}

.star-empty {
  color: var(--dark-500);
  font-size: 14px;
  line-height: 1;
}

.star-half {
  position: relative;
  color: var(--dark-500);
  font-size: 14px;
}

.star-half::before {
  content: '★';
  position: absolute;
  left: 0;
  color: var(--gold);
  width: 50%;
  overflow: hidden;
}

.rating-count {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.rating-number {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--gold);
}

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

.form-label {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.form-label.required::after {
  content: ' *';
  color: var(--red-500);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: var(--dark-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  font-size: var(--font-sm);
  color: white;
  transition: all var(--transition-fast);
  outline: none;
  appearance: none;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--text-muted);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.12);
  background: var(--dark-600);
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C757D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: var(--dark-700);
  color: white;
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
  line-height: 1.6;
}

.form-error {
  font-size: var(--font-xs);
  color: var(--error);
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.input-icon-wrapper {
  position: relative;
}

.input-icon-wrapper .form-input {
  padding-left: 44px;
}

.input-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 16px;
  pointer-events: none;
}

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar {
  position: relative;
  width: 100%;
  max-width: 500px;
}

.search-input {
  width: 100%;
  background: var(--dark-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 10px 50px 10px 20px;
  font-size: var(--font-sm);
  color: white;
  outline: none;
  transition: all var(--transition-fast);
}

.search-input::placeholder { color: var(--text-muted); }

.search-input:focus {
  border-color: var(--red-500);
  box-shadow: 0 0 0 3px rgba(230,57,70,0.12);
  background: var(--dark-600);
}

.search-btn {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 34px;
  height: 34px;
  background: var(--red-gradient);
  border: none;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 14px;
}

.search-btn:hover { box-shadow: var(--shadow-red); }

.search-suggestions {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: var(--dark-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  z-index: 200;
  overflow: hidden;
  max-height: 360px;
  overflow-y: auto;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-3) var(--space-4);
  cursor: pointer;
  transition: background var(--transition-fast);
  border-bottom: 1px solid var(--border);
}

.search-suggestion-item:last-child { border-bottom: none; }
.search-suggestion-item:hover { background: var(--dark-600); }

.search-suggestion-img {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--dark-600);
  flex-shrink: 0;
}

.search-suggestion-name {
  font-size: var(--font-sm);
  font-weight: 600;
  color: white;
}

.search-suggestion-price {
  font-size: var(--font-xs);
  color: var(--red-500);
  font-weight: 700;
}

/* ============================================================
   FILTER SIDEBAR
   ============================================================ */
.shop-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: var(--space-8);
  align-items: start;
}

.filter-sidebar {
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  position: sticky;
  top: calc(var(--navbar-height) + 20px);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.filter-sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.filter-sidebar-title {
  font-size: var(--font-lg);
  font-weight: 700;
  color: white;
}

.filter-clear-btn {
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--red-400);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  transition: color var(--transition-fast);
}

.filter-clear-btn:hover { color: var(--red-500); }

.filter-section {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.filter-title {
  font-size: var(--font-sm);
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: var(--space-2);
  border-bottom: 1px solid var(--border);
}

.filter-option {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
  padding: 4px 0;
}

.filter-option input[type="checkbox"] {
  appearance: none;
  width: 16px;
  height: 16px;
  border: 1.5px solid var(--border-hover);
  border-radius: 4px;
  background: var(--dark-700);
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  position: relative;
}

.filter-option input[type="checkbox"]:checked {
  background: var(--red-500);
  border-color: var(--red-500);
}

.filter-option input[type="checkbox"]:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 10px;
  font-weight: 700;
}

.filter-option-label {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  flex: 1;
  transition: color var(--transition-fast);
}

.filter-option:hover .filter-option-label { color: white; }

.filter-option-count {
  font-size: var(--font-xs);
  color: var(--text-muted);
  background: var(--dark-700);
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

.price-range-slider {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.price-range-values {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-sm);
  font-weight: 600;
  color: white;
}

.price-range-slider input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: var(--dark-600);
  border-radius: var(--radius-full);
  outline: none;
  cursor: pointer;
}

.price-range-slider input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--red-500);
  cursor: pointer;
  box-shadow: 0 0 0 3px rgba(230,57,70,0.25);
  transition: box-shadow var(--transition-fast);
}

.price-range-slider input[type="range"]::-webkit-slider-thumb:hover {
  box-shadow: 0 0 0 6px rgba(230,57,70,0.2);
}

/* ============================================================
   CART
   ============================================================ */
.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 420px;
  background: var(--dark-800);
  border-left: 1px solid var(--border);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--transition-slow);
  box-shadow: -8px 0 40px rgba(0,0,0,0.5);
}

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

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

.cart-drawer-title {
  font-size: var(--font-xl);
  font-weight: 700;
  color: white;
}

.cart-drawer-close {
  width: 36px;
  height: 36px;
  background: var(--dark-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 18px;
  transition: all var(--transition-fast);
}

.cart-drawer-close:hover { color: white; background: var(--dark-600); }

.cart-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cart-item {
  display: flex;
  gap: var(--space-4);
  padding: var(--space-4);
  background: var(--dark-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  position: relative;
}

.cart-item-image {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--dark-600);
  flex-shrink: 0;
}

.cart-item-details {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-width: 0;
}

.cart-item-name {
  font-size: var(--font-sm);
  font-weight: 600;
  color: white;
  line-height: 1.3;
}

.cart-item-category {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.cart-item-price {
  font-size: var(--font-base);
  font-weight: 700;
  color: var(--red-500);
}

.cart-item-remove {
  position: absolute;
  top: var(--space-3);
  right: var(--space-3);
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  font-size: 12px;
  transition: all var(--transition-fast);
}

.cart-item-remove:hover { color: var(--error); background: rgba(231,76,60,0.1); }

.qty-control {
  display: flex;
  align-items: center;
  gap: 0;
  background: var(--dark-600);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  width: fit-content;
}

.qty-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 600;
  transition: all var(--transition-fast);
  background: none;
  border: none;
}

.qty-btn:hover { background: var(--dark-500); color: white; }

.qty-value {
  width: 36px;
  text-align: center;
  font-size: var(--font-sm);
  font-weight: 600;
  color: white;
  border-left: 1px solid var(--border);
  border-right: 1px solid var(--border);
  line-height: 30px;
}

.cart-drawer-footer {
  padding: var(--space-6);
  border-top: 1px solid var(--border);
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.cart-summary {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.cart-total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.cart-total-row.grand {
  font-size: var(--font-lg);
  font-weight: 700;
  color: white;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
}

.cart-total-row .total-value {
  font-weight: 700;
  color: var(--red-500);
}

/* ============================================================
   TOAST
   ============================================================ */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 14px 18px;
  background: var(--dark-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  max-width: 380px;
  pointer-events: all;
  position: relative;
  overflow: hidden;
}

.toast::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
}

.toast-success::before { background: var(--success); }
.toast-error::before { background: var(--error); }
.toast-warning::before { background: var(--warning); }
.toast-info::before { background: var(--info); }

.toast-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.toast-success .toast-icon { color: var(--success); }
.toast-error .toast-icon { color: var(--error); }
.toast-warning .toast-icon { color: var(--warning); }
.toast-info .toast-icon { color: var(--info); }

.toast-message {
  font-size: var(--font-sm);
  font-weight: 500;
  color: white;
  flex: 1;
  line-height: 1.4;
}

.toast-close {
  font-size: 14px;
  color: var(--text-muted);
  cursor: pointer;
  transition: color var(--transition-fast);
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.toast-close:hover { color: white; }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(4px);
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-6);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.modal-overlay.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: scale(0.95) translateY(10px);
  transition: transform var(--transition);
}

.modal-overlay.open .modal {
  transform: scale(1) translateY(0);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: var(--dark-800);
  z-index: 1;
}

.modal-title {
  font-size: var(--font-xl);
  font-weight: 700;
  color: white;
}

.modal-close {
  width: 36px;
  height: 36px;
  background: var(--dark-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-secondary);
  font-size: 18px;
  transition: all var(--transition-fast);
}

.modal-close:hover { color: white; background: var(--dark-600); }

.modal-body {
  padding: var(--space-6);
}

.modal-footer {
  padding: var(--space-4) var(--space-6);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-3);
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--dark-800);
  border-top: 1px solid var(--border);
  padding: var(--space-16) 0 0;
}

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

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
}

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

.footer-description {
  font-size: var(--font-sm);
  color: var(--text-muted);
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-icon {
  width: 38px;
  height: 38px;
  background: var(--dark-700);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 16px;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-icon:hover {
  background: var(--red-500);
  border-color: var(--red-500);
  color: white;
  transform: translateY(-2px);
}

.social-icon.instagram:hover { background: #E1306C; border-color: #E1306C; }
.social-icon.facebook:hover { background: #1877F2; border-color: #1877F2; }
.social-icon.youtube:hover { background: #FF0000; border-color: #FF0000; }
.social-icon.whatsapp:hover { background: #25D366; border-color: #25D366; }

.footer-col-title {
  font-size: var(--font-sm);
  font-weight: 700;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-4);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-link {
  font-size: var(--font-sm);
  color: var(--text-muted);
  transition: color var(--transition-fast);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.footer-link:hover { color: white; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-3);
  font-size: var(--font-sm);
  color: var(--text-muted);
  margin-bottom: var(--space-3);
}

.footer-contact-icon {
  width: 32px;
  height: 32px;
  background: var(--dark-700);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
  color: var(--red-400);
}

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

.footer-bottom-text {
  font-size: var(--font-sm);
  color: var(--text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: var(--space-6);
}

.footer-bottom-link {
  font-size: var(--font-sm);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.footer-bottom-link:hover { color: white; }

/* ============================================================
   FLOATING WHATSAPP
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 500;
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 26px;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  transition: all var(--transition);
}

.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
}

.wa-float-tooltip {
  position: absolute;
  right: calc(100% + 12px);
  top: 50%;
  transform: translateY(-50%);
  background: var(--dark-700);
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 600;
  color: white;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-fast);
  box-shadow: var(--shadow-md);
}

.wa-float:hover .wa-float-tooltip { opacity: 1; }

/* ============================================================
   LOADING / SKELETON
   ============================================================ */
.loading-screen {
  position: fixed;
  inset: 0;
  background: var(--dark-900);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  transition: opacity 0.4s ease;
}

.loading-screen.hidden {
  opacity: 0;
  pointer-events: none;
}

.loading-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid var(--dark-600);
  border-top-color: var(--red-500);
  border-radius: 50%;
}

.loading-text {
  font-size: var(--font-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.skeleton-card {
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.skeleton-image {
  aspect-ratio: 4/3;
  background: linear-gradient(90deg, var(--dark-700) 25%, var(--dark-600) 50%, var(--dark-700) 75%);
  background-size: 200% 100%;
}

.skeleton-line {
  height: 14px;
  border-radius: var(--radius-sm);
  background: linear-gradient(90deg, var(--dark-700) 25%, var(--dark-600) 50%, var(--dark-700) 75%);
  background-size: 200% 100%;
  margin: var(--space-3) var(--space-4);
}

.skeleton-line.short { width: 60%; }
.skeleton-line.medium { width: 80%; }

/* ============================================================
   EMPTY STATE
   ============================================================ */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-4);
  padding: var(--space-20) var(--space-8);
  text-align: center;
}

.empty-icon {
  font-size: 4rem;
  line-height: 1;
  opacity: 0.5;
}

.empty-title {
  font-size: var(--font-xl);
  font-weight: 700;
  color: white;
}

.empty-text {
  font-size: var(--font-sm);
  color: var(--text-muted);
  max-width: 360px;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--space-2);
  flex-wrap: wrap;
  padding: var(--space-4) 0;
}

.breadcrumb-item {
  font-size: var(--font-sm);
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb-item a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}

.breadcrumb-item a:hover { color: white; }
.breadcrumb-item.active { color: var(--text-secondary); font-weight: 500; }

.breadcrumb-sep {
  color: var(--text-muted);
  font-size: var(--font-xs);
  user-select: none;
}

/* ============================================================
   TABS
   ============================================================ */
.tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.tab-nav {
  display: flex;
  border-bottom: 1px solid var(--border);
  gap: 0;
  overflow-x: auto;
}

.tab-btn {
  padding: 12px 24px;
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color var(--transition-fast);
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red-gradient);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}

.tab-btn:hover { color: var(--text-secondary); }

.tab-btn.active {
  color: white;
  border-bottom-color: var(--red-500);
}

.tab-btn.active::after { transform: scaleX(1); }

.tab-content { padding-top: var(--space-6); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   ADMIN
   ============================================================ */
.admin-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--dark-800);
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 260px;
  z-index: 100;
  overflow-y: auto;
}

.admin-sidebar-logo {
  padding: var(--space-6);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}

.admin-sidebar-nav {
  padding: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  flex: 1;
}

.admin-nav-section-title {
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: var(--space-3) var(--space-3) var(--space-2);
  margin-top: var(--space-2);
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 10px var(--space-3);
  border-radius: var(--radius-md);
  font-size: var(--font-sm);
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
  text-decoration: none;
}

.admin-nav-item:hover {
  background: var(--dark-700);
  color: var(--text-secondary);
}

.admin-nav-item.active {
  background: rgba(230,57,70,0.1);
  color: var(--red-400);
  border: 1px solid rgba(230,57,70,0.15);
}

.admin-nav-item-icon {
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.admin-nav-badge {
  margin-left: auto;
  background: var(--red-500);
  color: white;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: var(--radius-full);
}

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

.admin-header {
  background: var(--dark-800);
  border-bottom: 1px solid var(--border);
  padding: var(--space-5) var(--space-8);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  position: sticky;
  top: 0;
  z-index: 50;
}

.admin-page-title {
  font-size: var(--font-xl);
  font-weight: 700;
  color: white;
}

.admin-body {
  padding: var(--space-8);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.stat-card {
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  position: relative;
  overflow: hidden;
}

.stat-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--red-gradient);
}

.stat-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.stat-card-label {
  font-size: var(--font-sm);
  color: var(--text-muted);
  font-weight: 500;
}

.stat-card-icon {
  width: 40px;
  height: 40px;
  background: rgba(230,57,70,0.1);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.stat-card-value {
  font-size: var(--font-3xl);
  font-weight: 800;
  color: white;
  letter-spacing: -0.03em;
}

.stat-card-change {
  font-size: var(--font-xs);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

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

.admin-table-card {
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

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

.admin-table-title {
  font-size: var(--font-lg);
  font-weight: 700;
  color: white;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  background: var(--dark-700);
  padding: 12px var(--space-5);
  text-align: left;
  font-size: var(--font-xs);
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.admin-table td {
  padding: 14px var(--space-5);
  font-size: var(--font-sm);
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.admin-table tr:last-child td { border-bottom: none; }

.admin-table tbody tr:hover td { background: var(--dark-700); }

.admin-table tbody tr:nth-child(even) td { background: rgba(255,255,255,0.01); }

.table-actions {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.table-action-btn {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-size: 14px;
  border: 1px solid var(--border);
  background: var(--dark-700);
  color: var(--text-muted);
}

.table-action-btn:hover { color: white; background: var(--dark-600); }
.table-action-btn.danger:hover { color: var(--error); border-color: rgba(231,76,60,0.3); background: rgba(231,76,60,0.1); }
.table-action-btn.edit:hover { color: var(--info); border-color: rgba(52,152,219,0.3); }

/* ============================================================
   WISHLIST BUTTON
   ============================================================ */
.wishlist-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--dark-700);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 16px;
  transition: all var(--transition-fast);
}

.wishlist-btn:hover {
  border-color: rgba(230,57,70,0.3);
  color: var(--red-400);
  background: rgba(230,57,70,0.08);
}

.wishlist-btn.active {
  color: var(--red-500);
  background: rgba(230,57,70,0.1);
  border-color: rgba(230,57,70,0.3);
}

.wishlist-btn.active .heart-icon::after {
  content: '♥';
}

/* ============================================================
   PRODUCT IMAGE GALLERY
   ============================================================ */
.gallery-main {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--dark-700);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition);
}

.gallery-thumbs {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-4);
  overflow-x: auto;
  padding-bottom: var(--space-2);
}

.gallery-thumb {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 2px solid var(--border);
  cursor: pointer;
  flex-shrink: 0;
  transition: all var(--transition-fast);
  background: var(--dark-700);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumb:hover { border-color: var(--red-500); }
.gallery-thumb.active { border-color: var(--red-500); box-shadow: 0 0 0 2px rgba(230,57,70,0.3); }

/* ============================================================
   REVIEW CARD
   ============================================================ */
.review-card {
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  transition: border-color var(--transition-fast);
}

.review-card:hover { border-color: var(--border-hover); }

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-4);
}

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

.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--red-gradient);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-base);
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}

.review-author-name {
  font-size: var(--font-sm);
  font-weight: 700;
  color: white;
}

.review-author-location {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.review-rating {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.review-date {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.review-text {
  font-size: var(--font-sm);
  color: var(--text-secondary);
  line-height: 1.7;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: var(--font-xs);
  font-weight: 600;
  color: var(--success);
  background: rgba(46,204,113,0.1);
  border: 1px solid rgba(46,204,113,0.2);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}

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

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

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--dark-700);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--text-muted);
  transition: all var(--transition);
  flex-shrink: 0;
}

.step-label {
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-muted);
  transition: color var(--transition);
  white-space: nowrap;
}

.step.active .step-number {
  background: var(--red-gradient);
  border-color: var(--red-500);
  color: white;
  box-shadow: var(--shadow-red);
}

.step.active .step-label { color: white; }

.step.done .step-number {
  background: var(--success);
  border-color: var(--success);
  color: white;
}

.step.done .step-label { color: var(--success); }

.step-connector {
  width: 80px;
  height: 2px;
  background: var(--border);
  margin: 0 var(--space-3);
  flex-shrink: 0;
  transition: background var(--transition);
}

.step-connector.done { background: var(--success); }

/* ============================================================
   ORDER SUMMARY CARD
   ============================================================ */
.order-summary-card {
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--navbar-height) + 20px);
}

.order-summary-header {
  padding: var(--space-5) var(--space-6);
  border-bottom: 1px solid var(--border);
}

.order-summary-title {
  font-size: var(--font-lg);
  font-weight: 700;
  color: white;
}

.order-summary-body {
  padding: var(--space-6);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.order-summary-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.order-summary-item-img {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  object-fit: cover;
  background: var(--dark-700);
  flex-shrink: 0;
}

.order-summary-item-info {
  flex: 1;
  min-width: 0;
}

.order-summary-item-name {
  font-size: var(--font-sm);
  font-weight: 600;
  color: white;
  line-height: 1.3;
}

.order-summary-item-qty {
  font-size: var(--font-xs);
  color: var(--text-muted);
}

.order-summary-item-price {
  font-size: var(--font-sm);
  font-weight: 700;
  color: var(--red-500);
  flex-shrink: 0;
}

.order-summary-divider {
  height: 1px;
  background: var(--border);
}

.order-summary-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--font-sm);
  color: var(--text-secondary);
}

.order-summary-row.total {
  font-size: var(--font-lg);
  font-weight: 700;
  color: white;
  padding-top: var(--space-3);
  border-top: 1px solid var(--border);
  margin-top: var(--space-2);
}

.order-summary-row .total-amount {
  color: var(--red-500);
  font-weight: 800;
}

.order-summary-footer {
  padding: var(--space-5) var(--space-6);
  border-top: 1px solid var(--border);
}

/* ============================================================
   STATUS BADGES (Orders)
   ============================================================ */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 700;
}

.status-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.status-pending { background: rgba(243,156,18,0.1); color: var(--warning); border: 1px solid rgba(243,156,18,0.2); }
.status-pending::before { background: var(--warning); }
.status-processing { background: rgba(52,152,219,0.1); color: var(--info); border: 1px solid rgba(52,152,219,0.2); }
.status-processing::before { background: var(--info); }
.status-shipped { background: rgba(69,123,157,0.1); color: var(--blue-300); border: 1px solid rgba(69,123,157,0.2); }
.status-shipped::before { background: var(--blue-300); }
.status-delivered { background: rgba(46,204,113,0.1); color: var(--success); border: 1px solid rgba(46,204,113,0.2); }
.status-delivered::before { background: var(--success); }
.status-cancelled { background: rgba(231,76,60,0.1); color: var(--error); border: 1px solid rgba(231,76,60,0.2); }
.status-cancelled::before { background: var(--error); }

/* ============================================================
   PAGINATION
   ============================================================ */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  margin-top: var(--space-10);
}

.page-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: var(--dark-700);
  border: 1px solid var(--border);
  font-size: var(--font-sm);
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.page-btn:hover { background: var(--dark-600); color: white; border-color: var(--border-hover); }
.page-btn.active { background: var(--red-gradient); border-color: var(--red-600); color: white; }
.page-btn:disabled { opacity: 0.4; cursor: not-allowed; }

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

.card {
  background: var(--dark-800);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.card-sm { padding: var(--space-4); border-radius: var(--radius-md); }
.card-xl { padding: var(--space-8); border-radius: var(--radius-xl); }

.surface {
  background: var(--dark-700);
  border-radius: var(--radius-md);
  padding: var(--space-4);
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: var(--space-1);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: var(--font-xs);
  font-weight: 600;
  background: var(--dark-700);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.chip:hover,
.chip.active {
  background: rgba(230,57,70,0.1);
  border-color: rgba(230,57,70,0.25);
  color: var(--red-400);
}

.overlay-cart-count {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.overlay-cart-count.open {
  opacity: 1;
  pointer-events: all;
}

/* Specs table */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr:nth-child(even) td { background: rgba(255,255,255,0.02); }

.specs-table td {
  padding: 10px var(--space-4);
  font-size: var(--font-sm);
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}

.specs-table td:first-child {
  color: var(--text-muted);
  font-weight: 600;
  width: 40%;
}

.specs-table td:last-child {
  color: var(--text-secondary);
}

/* Notification dot */
.notification-dot {
  width: 8px;
  height: 8px;
  background: var(--red-500);
  border-radius: 50%;
  position: absolute;
  top: 6px;
  right: 6px;
}
