/* ==========================================================================
   ELECTRO SHOP - MODERN GLASSMORPHISM DESIGN SYSTEM & STYLESHEET
   ========================================================================== */

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

:root {
  --bg-dark: #070a12;
  --bg-darker: #04060c;
  --bg-card: rgba(18, 26, 43, 0.75);
  --bg-card-hover: rgba(28, 39, 64, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-glow: rgba(6, 182, 212, 0.3);

  --primary-cyan: #06b6d4;
  --primary-indigo: #6366f1;
  --accent-emerald: #10b981;
  --accent-rose: #f43f5e;
  --accent-gold: #f59e0b;

  --accent-gradient: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
  --accent-gradient-hover: linear-gradient(135deg, #0891b2 0%, #4f46e5 100%);
  --gold-gradient: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);

  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-subtle: 0 4px 20px rgba(0, 0, 0, 0.3);
  --shadow-glow: 0 8px 30px rgba(6, 182, 212, 0.15);
  --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.5);

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Base & Reset --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at 15% 15%, rgba(6, 182, 212, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 85% 65%, rgba(99, 102, 241, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(16, 185, 129, 0.05) 0%, transparent 50%);
  background-attachment: fixed;
  color: var(--text-main);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-darker);
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-cyan);
}

/* Typography & Visual Text Enhancements */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.025em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.gradient-text {
  background: linear-gradient(135deg, #06b6d4 0%, #6366f1 50%, #ec4899 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textShimmer 4s ease infinite;
  display: inline-block;
  filter: drop-shadow(0 2px 15px rgba(6, 182, 212, 0.3));
}

@keyframes textShimmer {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.text-glow-cyan {
  color: var(--primary-cyan);
  text-shadow: 0 0 12px rgba(6, 182, 212, 0.5);
}

.text-glow-indigo {
  color: var(--primary-indigo);
  text-shadow: 0 0 12px rgba(99, 102, 241, 0.5);
}

.text-glow-gold {
  color: var(--accent-gold);
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}

/* Glowing Pulse Dot Badge */
.pulse-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.9rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-cyan);
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.pulse-badge::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--primary-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--primary-cyan);
  animation: pulseDot 1.5s infinite;
}

@keyframes pulseDot {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0.7);
  }

  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(6, 182, 212, 0);
  }

  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(6, 182, 212, 0);
  }
}

/* --- Navbar --- */
#navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1050;
  background: rgba(7, 10, 18, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.8rem 1.5rem;
  transition: var(--transition-normal);
}

.navbar-brand {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-main) !important;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.navbar-brand .brand-icon {
  width: 38px;
  height: 38px;
  background: var(--accent-gradient);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: #fff;
  box-shadow: var(--shadow-glow);
}

#navbarSupportedContent .nav-link {
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
}

#navbarSupportedContent .nav-link:hover,
#navbarSupportedContent .nav-link.active {
  color: var(--text-main);
  background: rgba(255, 255, 255, 0.05);
}

.nav-user-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-main);
}

.btn-cart-nav {
  position: relative;
  background: rgba(6, 182, 212, 0.12) !important;
  border: 1px solid rgba(6, 182, 212, 0.3) !important;
  color: var(--primary-cyan) !important;
  font-weight: 600;
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: var(--transition-fast);
}

.btn-cart-nav:hover {
  background: var(--primary-cyan) !important;
  color: #000 !important;
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
  transform: translateY(-1px);
}

.btn-cart-nav .badge {
  background: var(--accent-rose) !important;
  font-size: 0.75rem;
  padding: 0.25em 0.55em;
  border-radius: var(--radius-full);
}

/* --- Hero Section --- */
#Home {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem;
  overflow: hidden;
}

#Home::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, rgba(99, 102, 241, 0.05) 50%, transparent 70%);
  filter: blur(80px);
  z-index: 0;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.1rem;
  background: rgba(6, 182, 212, 0.1);
  border: 1px solid rgba(6, 182, 212, 0.25);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-cyan);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 2.2rem;
  font-weight: 400;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--text-main);
}

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

/* --- Section Layout & Headers --- */
section {
  padding: 4.5rem 0;
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
}

.section-subtitle {
  color: var(--primary-cyan);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  margin-bottom: 0.6rem;
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.section-subtitle::before,
.section-subtitle::after {
  content: '✦';
  font-size: 0.75rem;
  color: var(--primary-cyan);
  opacity: 0.8;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

/* --- Product Filter Navigation Bar --- */
.product-filter-bar {
  background: rgba(18, 26, 43, 0.6);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 0.8rem 1.2rem;
  margin-bottom: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.category-pills {
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 4px;
}

.category-pill {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  padding: 0.45rem 1.1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
  transition: var(--transition-fast);
  cursor: pointer;
}

.category-pill:hover,
.category-pill.active {
  background: var(--accent-gradient);
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.3);
}

.search-box {
  position: relative;
  min-width: 260px;
  flex-grow: 1;
  max-width: 400px;
}

.search-box input {
  width: 100%;
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-full);
  padding: 0.5rem 1.2rem 0.5rem 2.6rem;
  color: var(--text-main);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.search-box input:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

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

/* --- Product Cards Grid --- */
.product-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
  transition: var(--transition-normal);
  position: relative;
}

.product-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--glass-border-glow);
  transform: translateY(-6px);
  box-shadow: var(--shadow-card), 0 0 20px rgba(6, 182, 212, 0.15);
}

.card-img-wrapper {
  position: relative;
  width: 100%;
  height: 210px;
  background: rgba(7, 10, 18, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.2rem;
  overflow: hidden;
}

.card-img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: var(--transition-normal);
}

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

.card-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(6, 182, 212, 0.85);
  backdrop-filter: blur(4px);
  color: #000;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.product-card .card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-card .card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.product-rating {
  color: var(--accent-gold);
  font-size: 0.8rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.product-price {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--primary-cyan);
  margin-bottom: 1.1rem;
  text-shadow: 0 0 10px rgba(6, 182, 212, 0.4);
  letter-spacing: -0.02em;
}

.card-actions {
  margin-top: auto;
  display: flex;
  gap: 0.6rem;
}

/* --- Buttons --- */
.btn-primary-custom {
  background: var(--accent-gradient);
  border: none;
  color: #fff;
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary-custom:hover {
  background: var(--accent-gradient-hover);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.4);
  color: #fff;
  transform: translateY(-1px);
}

.btn-secondary-custom {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  font-weight: 600;
  padding: 0.55rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  transition: var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  cursor: pointer;
  text-decoration: none;
}

.btn-secondary-custom:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--text-main);
}

/* --- Slide-Over Cart Drawer --- */
.cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.7);
  backdrop-filter: blur(6px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: #0d1322;
  border-left: 1px solid var(--glass-border);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.6);
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.active {
  right: 0;
}

.cart-header {
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cart-header h5 {
  margin: 0;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  padding: 0.2rem;
  border-radius: var(--radius-sm);
}

.cart-close-btn:hover {
  color: var(--text-main);
}

.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 1.2rem 1.5rem;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.cart-item-img {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  object-fit: contain;
  padding: 4px;
}

.cart-item-info {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

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

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.3rem;
}

.qty-btn {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: var(--text-main);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.qty-btn:hover {
  background: var(--primary-cyan);
  color: #000;
}

.cart-footer {
  padding: 1.2rem 1.5rem;
  border-top: 1px solid var(--glass-border);
  background: rgba(7, 10, 18, 0.9);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.cart-total-price {
  color: var(--primary-cyan);
}

/* --- Toast Notifications --- */
.toast-container-custom {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 3000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast-custom {
  background: rgba(18, 26, 43, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid var(--primary-cyan);
  color: var(--text-main);
  padding: 0.8rem 1.4rem;
  border-radius: var(--radius-md);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 600;
  animation: slideUp 0.3s ease-out forwards;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* --- About & Contact Sections --- */
#About {
  background: rgba(13, 19, 34, 0.4);
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
}

.about-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.feature-box {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.2rem;
  margin-top: 1rem;
}

.feature-box h6 {
  color: var(--primary-cyan);
  font-weight: 700;
  margin-bottom: 0.3rem;
}

/* Contact Section */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-card);
}

.contact-card .form-control {
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
}

.contact-card .form-control:focus {
  background: rgba(7, 10, 18, 0.9);
  border-color: var(--primary-cyan);
  color: var(--text-main);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.2);
}

/* --- Auth Pages (Split Screen & Animated Canvas System) --- */
body.auth-page-body {
  min-height: 100vh;
  width: 100%;
  margin: 0;
  padding: 2rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #050811;
  position: relative;
  overflow-x: hidden;
}

#authCanvas {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

.auth-split-container {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 1060px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: rgba(14, 21, 37, 0.85);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.85), 0 0 30px rgba(6, 182, 212, 0.15);
  overflow: hidden;
  margin: auto;
}

/* Left Hero Panel */
.auth-hero-panel {
  background: linear-gradient(135deg, rgba(7, 12, 24, 0.95) 0%, rgba(18, 28, 52, 0.85) 100%);
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-align: left;
}

.auth-brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.4rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
}

.auth-brand-logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 2px solid var(--primary-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.5);
}

.hero-showcase-content {
  margin: 1.8rem 0;
}

.hero-badge-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(6, 182, 212, 0.12);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--primary-cyan);
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.hero-showcase-title {
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.25;
  color: #ffffff;
  margin-bottom: 0.8rem;
}

.hero-showcase-title span {
  background: linear-gradient(135deg, #06b6d4 0%, #6366f1 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-showcase-desc {
  color: #cbd5e1 !important;
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1.8rem;
}

.hero-floating-cards {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.floating-card-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.floating-card-item:hover {
  transform: translateY(-3px);
  border-color: rgba(6, 182, 212, 0.4);
}

.floating-card-img {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: rgba(7, 10, 18, 0.6);
  padding: 4px;
  object-fit: contain;
}

.floating-card-info h6 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 0.15rem;
}

.floating-card-info p {
  font-size: 0.78rem;
  color: #94a3b8 !important;
  margin: 0;
}

.hero-footer-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-box {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.15rem;
  font-weight: 800;
  color: #06b6d4;
}

.stat-label {
  font-size: 0.75rem;
  color: #cbd5e1;
  font-weight: 600;
}

/* Right Form Panel */
.auth-form-panel {
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(10, 16, 28, 0.65);
  text-align: left;
}

.auth-nav-pills {
  display: flex;
  background: rgba(7, 11, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 30px;
  padding: 4px;
  margin-bottom: 1.8rem;
}

.auth-nav-pill {
  flex: 1;
  text-align: center;
  padding: 0.55rem 1rem;
  font-size: 0.88rem;
  font-weight: 700;
  color: #94a3b8;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.auth-nav-pill.active {
  color: #ffffff;
  background: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
  box-shadow: 0 4px 15px rgba(6, 182, 212, 0.35);
}

.auth-view-frame {
  display: none;
}

.auth-view-frame.active {
  display: block;
}

.auth-form-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.auth-form-subtitle {
  font-size: 0.88rem;
  color: #94a3b8 !important;
  margin-bottom: 1.5rem;
}

.form-input-group {
  margin-bottom: 1.2rem;
}

.form-input-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.83rem;
  font-weight: 700;
  color: #cbd5e1;
  margin-bottom: 0.4rem;
}

.input-box-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
}

.input-svg-icon {
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--primary-cyan);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
}

.input-box-wrapper input {
  width: 100%;
  height: 46px;
  background: rgba(7, 10, 18, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  color: #ffffff;
  padding: 0 2.8rem 0 2.6rem;
  font-size: 0.95rem;
  transition: all 0.25s ease;
}

.input-box-wrapper input:focus {
  outline: none;
  background: rgba(7, 10, 18, 0.95);
  border-color: var(--primary-cyan);
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.25);
  color: #ffffff;
}

.btn-eye-toggle {
  position: absolute;
  right: 12px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-options-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.83rem;
  margin-bottom: 1.4rem;
}

.custom-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #cbd5e1;
  cursor: pointer;
  user-select: none;
  margin: 0;
}

.forgot-link {
  color: var(--primary-cyan);
  text-decoration: none;
  font-weight: 600;
}

.social-divider {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 1.2rem 0;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
}

.social-divider::before,
.social-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.social-btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.btn-social {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-social:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(6, 182, 212, 0.4);
}

.btn-auth-submit {
  width: 100%;
  height: 48px;
  background: linear-gradient(135deg, #06b6d4 0%, #6366f1 100%);
  border: none;
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(6, 182, 212, 0.35);
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-auth-submit:hover {
  box-shadow: 0 12px 35px rgba(6, 182, 212, 0.5);
  transform: translateY(-2px);
}

@media (max-width: 900px) {
  .auth-split-container {
    grid-template-columns: 1fr;
    max-width: 460px;
  }
  .auth-hero-panel {
    display: none;
  }
}

/* --- Checkout Page (buy.html) --- */
.checkout-wrapper {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 0 1rem;
}

.checkout-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

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

.checkout-card .form-control,
.checkout-card select {
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  padding: 0.7rem 1rem;
  margin-bottom: 1.2rem;
  width: 100%;
}

.checkout-card select option {
  background: #0d1322;
  color: var(--text-main);
}

.order-summary-box {
  background: rgba(7, 10, 18, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

/* --- Amazon-Style Product Detail Modal --- */
.product-card .card-img-wrapper {
  cursor: pointer;
}

.product-card .card-img-wrapper::after {
  content: '🔍 Quick View Details';
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 18, 0.7);
  backdrop-filter: blur(4px);
  color: var(--primary-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.product-card:hover .card-img-wrapper::after {
  opacity: 1;
}

.product-card .card-title {
  cursor: pointer;
  transition: var(--transition-fast);
}

.product-card .card-title:hover {
  color: var(--primary-cyan);
}

/* Modal Window */
.product-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.product-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.product-modal-container {
  background: #0c1220;
  border: 1px solid var(--glass-border-glow);
  border-radius: var(--radius-lg);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(6, 182, 212, 0.2);
  position: relative;
  transform: scale(0.95);
  transition: var(--transition-normal);
}

.product-modal-backdrop.active .product-modal-container {
  transform: scale(1);
}

.product-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.product-modal-close:hover {
  background: var(--accent-rose);
  color: #fff;
}

.modal-product-img-box {
  background: rgba(7, 10, 18, 0.8);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-product-img-box img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.modal-product-img-box img:hover {
  transform: scale(1.08);
}

.modal-brand-badge {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--primary-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.modal-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 0.8rem 0 1.2rem;
}

.modal-price-current {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-cyan);
}

.modal-price-mrp {
  font-size: 1.05rem;
  color: var(--text-dim);
  text-decoration: line-through;
}

.modal-save-badge {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.modal-spec-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.modal-spec-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.modal-spec-item span.icon {
  color: var(--primary-cyan);
}

.modal-table-specs {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
}

.modal-table-specs td {
  padding: 0.4rem 0.6rem;
  font-size: 0.85rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.modal-table-specs tr td:first-child {
  color: var(--text-dim);
  font-weight: 600;
  width: 38%;
}

.modal-table-specs tr td:last-child {
  color: var(--text-main);
  font-weight: 500;
}

/* --- Footer --- */
footer {
  background: #04060c;
  border-top: 1px solid var(--glass-border);
  color: var(--text-muted);
  text-align: center;
  padding: 1.8rem 1rem;
  font-size: 0.9rem;
  margin-top: 3rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  #navbar {
    padding: 0.8rem 1rem;
  }

  .product-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    max-width: 100%;
  }

  .card-actions {
    flex-direction: column;
  }

  .product-modal-container {
    padding: 1rem;
  }
}

}

.checkout-card {
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-card);
}

.checkout-card label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #f8fafc;
  margin-bottom: 0.4rem;
  display: block;
}

.checkout-card .form-control,
.checkout-card select {
  background: rgba(7, 10, 18, 0.7);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  color: var(--text-main);
  padding: 0.7rem 1rem;
  margin-bottom: 1.2rem;
  width: 100%;
}

.checkout-card select option {
  background: #0d1322;
  color: var(--text-main);
}

.order-summary-box {
  background: rgba(7, 10, 18, 0.6);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
}

/* --- Amazon-Style Product Detail Modal --- */
.product-card .card-img-wrapper {
  cursor: pointer;
}

.product-card .card-img-wrapper::after {
  content: '🔍 Quick View Details';
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 18, 0.7);
  backdrop-filter: blur(4px);
  color: var(--primary-cyan);
  font-size: 0.85rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.product-card:hover .card-img-wrapper::after {
  opacity: 1;
}

.product-card .card-title {
  cursor: pointer;
  transition: var(--transition-fast);
}

.product-card .card-title:hover {
  color: var(--primary-cyan);
}

/* Modal Window */
.product-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(4, 6, 12, 0.85);
  backdrop-filter: blur(8px);
  z-index: 2050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.product-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.product-modal-container {
  background: #0c1220;
  border: 1px solid var(--glass-border-glow);
  border-radius: var(--radius-lg);
  max-width: 920px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(6, 182, 212, 0.2);
  position: relative;
  transform: scale(0.95);
  transition: var(--transition-normal);
}

.product-modal-backdrop.active .product-modal-container {
  transform: scale(1);
}

.product-modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition-fast);
}

.product-modal-close:hover {
  background: var(--accent-rose);
  color: #fff;
}

.modal-product-img-box {
  background: rgba(7, 10, 18, 0.8);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  padding: 2rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.modal-product-img-box img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
  transition: transform 0.3s ease;
}

.modal-product-img-box img:hover {
  transform: scale(1.08);
}

.modal-brand-badge {
  background: rgba(6, 182, 212, 0.15);
  border: 1px solid rgba(6, 182, 212, 0.3);
  color: var(--primary-cyan);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  display: inline-block;
  margin-bottom: 0.5rem;
}

.modal-price-box {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin: 0.8rem 0 1.2rem;
}

.modal-price-current {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary-cyan);
}

.modal-price-mrp {
  font-size: 1.05rem;
  color: #94a3b8;
  text-decoration: line-through;
}

.modal-save-badge {
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
}

.modal-spec-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
}

.modal-spec-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.modal-spec-item span.icon {
  color: var(--primary-cyan);
}

.modal-table-specs {
  width: 100%;
  margin-top: 1rem;
  border-collapse: collapse;
}

.modal-table-specs td {
  padding: 0.45rem 0.6rem;
  font-size: 0.88rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-table-specs tr td:first-child {
  color: #cbd5e1;
  font-weight: 600;
  width: 38%;
}

.modal-table-specs tr td:last-child {
  color: #ffffff;
  font-weight: 600;
}

/* --- Footer --- */
footer {
  background: #04060c;
  border-top: 1px solid var(--glass-border);
  color: #cbd5e1;
  text-align: center;
  padding: 1.8rem 1rem;
  font-size: 0.92rem;
  margin-top: 3rem;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
  #navbar {
    padding: 0.8rem 1rem;
  }

  .product-filter-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .search-box {
    max-width: 100%;
  }

  .card-actions {
    flex-direction: column;
  }

  .product-modal-container {
    padding: 1rem;
  }
}