/* ===================================
   COMPONENTS CSS
   =================================== */

/* ===================================
   HERO SLIDER
   =================================== */
/* Animated Ambient Light Beams & Particles Entrance Reveal */
@keyframes bgPulseGlow {
  0% { transform: scale(1) rotate(0deg); opacity: 0.45; }
  50% { transform: scale(1.2) rotate(180deg); opacity: 0.85; }
  100% { transform: scale(1) rotate(360deg); opacity: 0.45; }
}

@keyframes heroTextReveal {
  0% { opacity: 0; transform: translateY(35px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

/* Floating Wall Shields Background Logo Watermark */
@keyframes logoFloatGlow {
  0% {
    transform: translateY(-50%) scale(1) rotate(0deg);
    opacity: 0.32;
    filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.5));
  }
  50% {
    transform: translateY(-54%) scale(1.05) rotate(2deg);
    opacity: 0.50;
    filter: drop-shadow(0 0 55px rgba(56, 189, 248, 0.9));
  }
  100% {
    transform: translateY(-50%) scale(1) rotate(0deg);
    opacity: 0.32;
    filter: drop-shadow(0 0 25px rgba(56, 189, 248, 0.5));
  }
}

.hero-logo-watermark {
  position: absolute;
  right: 6%;
  top: 50%;
  transform: translateY(-50%);
  width: 440px;
  max-width: 45vw;
  z-index: 3;
  pointer-events: none;
  animation: logoFloatGlow 8s infinite ease-in-out;
}

.hero-logo-watermark img {
  width: 100%;
  height: auto;
  display: block;
}

.hero {
  position: relative;
  height: calc(100vh - var(--header-height) - 40px);
  min-height: 500px;
  max-height: 700px;
  overflow: hidden;
  margin-top: calc(var(--header-height) + 40px);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  transition: opacity 0.6s ease;
  pointer-events: none;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: all;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(10,22,40,0.92) 40%, rgba(10,22,40,0.4) 100%);
}

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,107,0,0.15);
  border: 1px solid rgba(255,107,0,0.3);
  color: var(--primary);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-title span { color: var(--primary); }

.hero-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 28px;
  max-width: 440px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-price-badge {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero-price-badge .label { font-size: 0.78rem; color: var(--text-muted); }
.hero-price-badge .price { font-size: 1.8rem; font-weight: 800; color: var(--primary); }

/* Slider controls */
.hero-controls {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
  align-items: center;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: var(--transition);
}

.hero-dot.active {
  width: 24px;
  background: var(--primary);
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  cursor: pointer;
  transition: var(--transition-fast);
  font-size: 0.9rem;
}

.hero-nav:hover { background: var(--primary); border-color: var(--primary); }
.hero-nav.prev { left: 16px; }
.hero-nav.next { right: 16px; }

/* ===================================
   CATEGORY CARDS
   =================================== */
.category-cards {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px 16px;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.category-card:hover {
  border-color: var(--primary);
  background: var(--bg-card-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-orange);
}

.category-card-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: rgba(255,107,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  transition: var(--transition-fast);
}

.category-card:hover .category-card-icon {
  background: var(--primary);
}

.category-card-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.category-card:hover .category-card-name { color: var(--text-primary); }

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

/* ===================================
   PROMO BANNERS
   =================================== */
.promo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.promo-card {
  border-radius: var(--radius-lg);
  padding: 32px;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-card-1 {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border: 1px solid rgba(0,212,255,0.2);
}

.promo-card-2 {
  background: linear-gradient(135deg, #1a0f00 0%, #2d1a00 100%);
  border: 1px solid rgba(255,107,0,0.2);
}

.promo-card-deco {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 5rem;
  opacity: 0.15;
}

.promo-tag {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 10px;
}

.promo-card-2 .promo-tag { color: var(--primary); }

.promo-card h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.promo-card p {
  font-size: 0.88rem;
  margin-bottom: 18px;
}

/* ===================================
   PRODUCT DETAIL
   =================================== */
.product-detail-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.product-gallery {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.gallery-main {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8rem;
  margin-bottom: 14px;
  overflow: hidden;
  position: relative;
}

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

.gallery-main:hover img { transform: scale(1.04); }

.gallery-thumbs {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 4px;
}

.gallery-thumb {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  background: var(--bg-card);
  border: 2px solid var(--border);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
  overflow: hidden;
}

.gallery-thumb.active,
.gallery-thumb:hover {
  border-color: var(--primary);
}

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

/* Product Info */
.product-info-category {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.product-info-title {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.3;
}

.product-info-rating {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.review-count-link {
  color: var(--primary);
  font-size: 0.88rem;
  cursor: pointer;
}

.product-info-price {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 20px;
}

.product-info-price .current {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--text-primary);
}

.product-info-price .old {
  font-size: 1.1rem;
  color: var(--text-muted);
  text-decoration: line-through;
}

.product-info-price .discount-badge {
  background: rgba(255,107,0,0.15);
  color: var(--primary);
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
}

.product-info-divider {
  height: 1px;
  background: var(--border);
  margin: 20px 0;
}

.product-option-label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 10px;
}

.option-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.option-chip {
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-secondary);
}

.option-chip.active,
.option-chip:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: rgba(255,107,0,0.08);
}

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

.qty-btn {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: var(--transition-fast);
}

.qty-btn:hover { background: var(--bg-card-hover); color: var(--text-primary); }

.qty-value {
  width: 50px;
  text-align: center;
  background: transparent;
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
}

.product-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}

.product-meta-row {
  display: flex;
  gap: 8px;
  font-size: 0.88rem;
}

.product-meta-label {
  color: var(--text-muted);
  min-width: 80px;
}

.product-meta-value { color: var(--text-secondary); }

/* ===================================
   SPECIFICATIONS TABLE
   =================================== */
.specs-table {
  width: 100%;
  border-collapse: collapse;
}

.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }

.specs-table td {
  padding: 12px 16px;
  font-size: 0.9rem;
}

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

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

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

/* ===================================
   REVIEW CARD
   =================================== */
.review-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
  transition: var(--transition-fast);
}

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

.review-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
  gap: 12px;
}

.review-user {
  display: flex;
  align-items: center;
  gap: 10px;
}

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

.review-user-info .name {
  font-size: 0.9rem;
  font-weight: 600;
}

.review-user-info .date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.review-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===================================
   CART
   =================================== */
.cart-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 28px;
  align-items: start;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.cart-item:hover { border-color: var(--border-hover); }

.cart-item-img {
  width: 80px;
  height: 80px;
  background: var(--secondary-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
  overflow: hidden;
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.cart-item-name {
  font-size: 0.92rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.cart-item-variant {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.cart-item-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
}

.cart-item-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cart-remove-btn {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  transition: var(--transition-fast);
}

.cart-remove-btn:hover { background: rgba(229,62,62,0.15); color: var(--error); }

/* Cart Summary */
.cart-summary {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.cart-summary h3 {
  font-size: 1.1rem;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 0.9rem;
}

.summary-row .label { color: var(--text-muted); }
.summary-row .value { font-weight: 600; }
.summary-row.total {
  border-top: 1px solid var(--border);
  margin-top: 8px;
  padding-top: 16px;
  font-size: 1rem;
}
.summary-row.total .value { color: var(--primary); font-size: 1.2rem; }

.coupon-input-wrap {
  display: flex;
  gap: 8px;
  margin: 16px 0;
}

.coupon-input-wrap input {
  flex: 1;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 9px 12px;
  color: var(--text-primary);
  font-size: 0.88rem;
}

.coupon-input-wrap input:focus { border-color: var(--primary); }
.coupon-input-wrap input::placeholder { color: var(--text-muted); }

/* ===================================
   CHECKOUT
   =================================== */
.checkout-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 28px;
  align-items: start;
}

.checkout-steps {
  display: flex;
  gap: 0;
  margin-bottom: 28px;
}

.checkout-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.checkout-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.checkout-step.done:not(:last-child)::after,
.checkout-step.active:not(:last-child)::after {
  background: var(--primary);
}

.step-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

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

.checkout-step.active .step-circle {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.step-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 6px;
  text-align: center;
}

.checkout-step.active .step-label { color: var(--primary); font-weight: 600; }

/* Checkout Form Card */
.checkout-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.checkout-card h3 {
  font-size: 1rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.checkout-card h3 i {
  color: var(--primary);
}

/* Credit card visual */
.card-preview {
  background: linear-gradient(135deg, #1a1a3e 0%, #0f0f2e 100%);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
  min-height: 160px;
}

.card-preview::before {
  content: '';
  position: absolute;
  top: -30%;
  right: -10%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(255,107,0,0.1);
}

.card-preview-number {
  font-size: 1.1rem;
  letter-spacing: 3px;
  font-weight: 600;
  margin: 20px 0 12px;
  font-family: monospace;
}

.card-preview-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.6);
}

.card-preview-name { font-size: 0.9rem; font-weight: 600; margin-top: 4px; }

/* ===================================
   AUTH PAGES
   =================================== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 20px 40px;
  background: radial-gradient(ellipse at 20% 50%, rgba(255,107,0,0.05) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 20%, rgba(0,212,255,0.05) 0%, transparent 60%),
              var(--bg-dark);
}

.auth-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-lg);
}

.auth-logo {
  text-align: center;
  margin-bottom: 28px;
}

.auth-logo .logo {
  justify-content: center;
  margin-bottom: 8px;
}

.auth-logo p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--secondary);
  border-radius: var(--radius-md);
  padding: 4px;
  margin-bottom: 28px;
  gap: 4px;
}

.auth-tab {
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.auth-tab.active {
  background: var(--primary);
  color: white;
}

.password-toggle {
  position: relative;
}

.password-toggle .toggle-icon {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.password-toggle .toggle-icon:hover { color: var(--text-primary); }

.auth-divider {
  text-align: center;
  position: relative;
  margin: 20px 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.auth-divider::before,
.auth-divider::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 40%;
  height: 1px;
  background: var(--border);
}

.auth-divider::before { left: 0; }
.auth-divider::after { right: 0; }

/* ===================================
   ACCOUNT PAGE
   =================================== */
.account-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.account-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.account-sidebar-header {
  padding: 24px;
  border-bottom: 1px solid var(--border);
  text-align: center;
}

.account-avatar {
  width: 64px;
  height: 64px;
  background: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 700;
  color: white;
  margin: 0 auto 12px;
}

.account-sidebar-nav { padding: 12px; }

.account-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
}

.account-nav-item i { width: 18px; text-align: center; }

.account-nav-item:hover,
.account-nav-item.active {
  background: rgba(255,107,0,0.1);
  color: var(--primary);
}

.account-nav-item.danger:hover { background: rgba(229,62,62,0.1); color: var(--error); }

/* Order items */
.order-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
}

.order-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--border);
  background: rgba(255,255,255,0.02);
  flex-wrap: wrap;
  gap: 10px;
}

.order-status {
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 600;
}

.order-status.delivered { background: rgba(56,161,105,0.15); color: var(--success); }
.order-status.shipped { background: rgba(0,212,255,0.15); color: var(--accent); }
.order-status.processing { background: rgba(214,158,46,0.15); color: var(--warning); }
.order-status.cancelled { background: rgba(229,62,62,0.15); color: var(--error); }

.order-card-body { padding: 18px; }

/* ===================================
   ADMIN PANEL
   =================================== */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: calc(100vh - var(--header-height));
}

.admin-sidebar {
  background: var(--secondary);
  border-right: 1px solid var(--border);
  padding: 20px 12px;
  position: sticky;
  top: var(--header-height);
  height: calc(100vh - var(--header-height));
  overflow-y: auto;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition-fast);
  margin-bottom: 4px;
}

.admin-nav-item i { width: 18px; text-align: center; }

.admin-nav-item:hover,
.admin-nav-item.active {
  background: rgba(255,107,0,0.12);
  color: var(--primary);
}

.admin-content { padding: 24px; overflow: hidden; }

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 12px;
}

/* Stats cards */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.stat-icon.orange { background: rgba(255,107,0,0.15); color: var(--primary); }
.stat-icon.blue { background: rgba(0,212,255,0.15); color: var(--accent); }
.stat-icon.green { background: rgba(56,161,105,0.15); color: var(--success); }
.stat-icon.purple { background: rgba(155,47,127,0.15); color: #d97dbc; }

.stat-info .stat-value { font-size: 1.5rem; font-weight: 700; }
.stat-info .stat-label { font-size: 0.8rem; color: var(--text-muted); }

/* Admin Table */
.admin-table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.admin-table th {
  text-align: left;
  padding: 12px 14px;
  background: var(--secondary);
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

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

.admin-table tr:hover td { background: rgba(255,255,255,0.02); }

.admin-table .product-thumb {
  width: 40px;
  height: 40px;
  background: var(--secondary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

/* Admin Modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(4px);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-overlay.active { display: flex; }

.modal {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px;
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalIn 0.25s ease;
}

@keyframes modalIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.modal-close {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

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

/* ===================================
   FILTER SIDEBAR
   =================================== */
.filter-sidebar {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  position: sticky;
  top: calc(var(--header-height) + 20px);
  max-height: calc(100vh - var(--header-height) - 40px);
  overflow-y: auto;
}

.filter-section {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.filter-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.filter-section-title {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  cursor: pointer;
}

.filter-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  cursor: pointer;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
}

.filter-checkbox:hover { color: var(--text-primary); }

.filter-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  flex-shrink: 0;
}

/* Price range */
.price-range-inputs {
  display: flex;
  gap: 8px;
  align-items: center;
}

.price-input {
  flex: 1;
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
  color: var(--text-primary);
  font-size: 0.85rem;
  text-align: center;
}

.price-input:focus { border-color: var(--primary); }

/* Products page layout */
.products-page-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: start;
}

.products-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 12px;
}

.sort-select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 14px;
  color: var(--text-primary);
  font-size: 0.88rem;
  cursor: pointer;
}

.view-toggle {
  display: flex;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.view-btn {
  padding: 8px 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.view-btn.active,
.view-btn:hover {
  background: var(--primary);
  color: white;
}

/* Pagination */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 36px;
  flex-wrap: wrap;
}

.page-btn {
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  color: var(--text-secondary);
  cursor: pointer;
  transition: var(--transition-fast);
}

.page-btn:hover,
.page-btn.active {
  background: var(--primary);
  border-color: var(--primary);
  color: white;
}

.page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* ===================================
   SUCCESS / CONFIRMATION
   =================================== */
.success-screen {
  text-align: center;
  padding: 60px 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(56,161,105,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: var(--success);
  margin: 0 auto 24px;
  animation: successPop 0.4s ease;
}

@keyframes successPop {
  0% { transform: scale(0); }
  80% { transform: scale(1.1); }
  100% { transform: scale(1); }
}

/* ===================================
   FLOATING WHATSAPP SUPPORT WIDGET (LEFT BOTTOM)
   =================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.whatsapp-float-btn {
  width: 60px;
  height: 60px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: all 0.3s ease;
  position: relative;
}

.whatsapp-float-btn::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.4);
  animation: waPulse 2s infinite;
  z-index: -1;
}

@keyframes waPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 0.3; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.whatsapp-float-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.7);
}

.whatsapp-tooltip {
  background: #0F172A;
  border: 1px solid #25D366;
  padding: 8px 14px;
  border-radius: 20px;
  color: #FFFFFF;
  font-size: 0.85rem;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  transition: all 0.3s ease;
}
.whatsapp-tooltip span { color: #25D366; font-weight: 700; }

@media (max-width: 576px) {
  .whatsapp-tooltip { display: none; }
  .whatsapp-float { bottom: 16px; left: 16px; }
  .whatsapp-float-btn { width: 52px; height: 52px; font-size: 1.7rem; }
}

