:root {
  --primary: #08090d;
  --primary-hover: #12131a;
  --secondary: #6366f1;
  --secondary-hover: #4f46e5;
  --bg-dark: #08090d;
  --bg-darker: #030406;
  --bg-card: rgba(18, 20, 29, 0.65);
  --text-light: #f9fafb;
  --text-muted: #9ca3af;
  --text-dark: #f1f5f9;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-light: rgba(255, 255, 255, 0.15);
  --accent: #06b6d4;
  --success: #10b981;
  --danger: #ef4444;
}

/* Loader Styles */
.loader-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-dark);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-wrapper.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none !important;
  display: none !important;
}

.loader-content {
  text-align: center;
  animation: loader-slide 1.5s ease-out forwards;
}

.loader-logo {
  font-size: 3.5rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.loader-logo .dot {
  color: inherit;
}

.loader-tagline {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.5rem;
  opacity: 0;
  animation: fade-in 0.5s ease-out 0.5s forwards;
}

@keyframes loader-slide {
  0% { transform: translateY(20px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}

@keyframes fade-in {
  to { opacity: 1; }
}

:root {
  --primary: #08090d;
  --primary-hover: #12131a;
  --secondary: #6366f1;
  --secondary-hover: #4f46e5;
  --bg-dark: #08090d;
  --bg-darker: #030406;
  --bg-light: #0c0e1a;
  --text-dark: #f1f5f9;
  --text-light: #ffffff;
  --text-muted: #9ca3af;
  --border-color: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(
    160deg,
    #020308 0%,
    #05050f 15%,
    #060818 30%,
    #040510 50%,
    #05060e 70%,
    #020308 100%
  );
  background-attachment: fixed;
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
  top: 0 !important;
}

/* Hide Google Translate Banner and elements */
.skiptranslate iframe, .goog-te-banner-frame {
    display: none !important;
}
body { top: 0px !important; }

a {
  color: inherit;
  text-decoration: none;
}

/* Navbar */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(26, 27, 38, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  color: var(--text-light);
  box-shadow: var(--glass-shadow);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
}
.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-light);
  border-radius: 3px;
}
.mobile-cart-link {
  display: none !important;
}

/* Typographic Logo */
.brand-logo {
  font-size: 1.8rem;
  font-weight: 900;
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #a5b4fc 0%, #6366f1 50%, #06b6d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}
.brand-text {
  color: inherit;
}
.brand-dot {
  color: inherit;
  font-size: 2.5rem;
  line-height: 0;
  margin-left: 1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links > a {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: color 0.3s ease;
  text-transform: uppercase;
}

.nav-links > a:hover, .nav-links > a.active {
  color: var(--secondary);
}

/* Custom Styled Language Selector */
.custom-lang-selector {
  position: relative;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-light);
  padding: 0.5rem 0;
  text-transform: uppercase;
}

.current-lang {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.3s ease;
}

.custom-lang-selector:hover .current-lang {
  color: var(--secondary);
}

.lang-dropdown {
  position: absolute;
  top: 100%;
  right: 0;
  background: white;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
  display: none;
  flex-direction: column;
  min-width: 120px;
  overflow: hidden;
  margin-top: 0.5rem;
  border: 1px solid var(--border-color);
  z-index: 1001;
}

.custom-lang-selector:hover .lang-dropdown {
  display: flex;
}

.lang-dropdown a {
  padding: 0.8rem 1.2rem;
  transition: background 0.2s, color 0.2s;
  color: var(--text-dark) !important;
  font-weight: 600;
  text-transform: none;
}

.lang-dropdown a:hover {
  background: #f8fafc;
  color: var(--secondary) !important;
}

.cart-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  font-weight: 600;
}

.cart-icon:hover {
  color: var(--secondary);
}

#cart-count {
  background: var(--secondary);
  color: white;
  border-radius: 50%;
  padding: 2px 8px;
  font-size: 0.8rem;
  font-weight: bold;
}

/* =============================================
   HERO SECTION — Futuristic Multi-Layer Glow
   ============================================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 5% 6rem;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(6, 182, 212, 0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 90%, rgba(168, 85, 247, 0.14) 0%, transparent 45%),
    #03040a;
  position: relative;
  color: var(--text-light);
  overflow: hidden;
}

#hero-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.blueprint-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    radial-gradient(rgba(99, 102, 241, 0.05) 1.5px, transparent 1.5px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  opacity: 0.8;
  z-index: 1;
  pointer-events: none;
  animation: grid-move 40s linear infinite;
}

@keyframes grid-move {
  0% { background-position: 0 0, 20px 20px; }
  100% { background-position: 40px 40px, 60px 60px; }
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 50% 50%, transparent 20%, var(--bg-darker) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-content {
  max-width: 800px;
  position: relative;
  z-index: 3;
}

.subtitle {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--accent);
  margin: 0 auto 1.5rem;
  display: inline-block;
  font-weight: 700;
  background: rgba(99, 102, 241, 0.1);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.05);
}

.hero h1 {
  font-size: 5rem;
  font-weight: 900;
  line-height: 1.0;
  margin-bottom: 1.5rem;
  letter-spacing: -3px;
  background: linear-gradient(
    135deg,
    #ffffff 0%,
    #c7d2fe 30%,
    #a5b4fc 50%,
    #67e8f9 75%,
    #a78bfa 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 40px rgba(99, 102, 241, 0.3));
}

.hero p {
  font-size: 1.3rem;
  color: #9ca3af;
  margin-bottom: 2.5rem;
  line-height: 1.6;
}

.btn-group {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
}

.btn {
  padding: 0.85rem 2rem;
  border-radius: 12px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 40%, #7c3aed 100%);
  color: white;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.35), inset 0 1px 0 rgba(255,255,255,0.1);
  position: relative;
  overflow: hidden;
}

.btn-primary::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transition: left 0.5s ease;
}

.btn-primary:hover::after {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(99, 102, 241, 0.5), 0 4px 15px rgba(139, 92, 246, 0.3);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  position: relative;
  overflow: hidden;
}

.btn-outline::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(6,182,212,0.08));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.btn-outline:hover::before {
  opacity: 1;
}

.btn-outline:hover {
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.15);
}

/* Sections — global dark gradient backgrounds */
section {
  padding: 5rem 5%;
  background: linear-gradient(180deg, #04050e 0%, #030408 100%);
}

.section-header {
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.section-header .subtitle {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin: 0 auto 0.75rem;
  display: inline-block;
  background: linear-gradient(90deg, #6366f1, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 900;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #f9fafb 0%, #c7d2fe 40%, #67e8f9 80%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Categories */
.categories {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.category-card {
  position: relative;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem;
  background: var(--bg-dark);
}

.category-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to top,
    rgba(3, 5, 20, 0.97) 0%,
    rgba(30, 20, 80, 0.7) 40%,
    transparent 75%
  );
  z-index: 1;
  transition: all 0.5s ease;
}

.category-card:hover::after {
  background: linear-gradient(
    to top,
    rgba(3, 5, 20, 0.97) 0%,
    rgba(50, 30, 130, 0.75) 50%,
    rgba(6, 182, 212, 0.08) 100%
  );
}

.category-card img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-content {
  position: relative;
  z-index: 2;
  color: white;
}

.cat-num {
  font-size: 0.8rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  display: inline-block;
  background: linear-gradient(90deg, #6366f1, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.category-content h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
}

.category-content p {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}

.browse-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 600;
  transition: gap 0.3s ease;
}

.category-card:hover .browse-link {
  gap: 1rem;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.product-card {
  background: rgba(12, 14, 22, 0.75);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.05) inset;
  backdrop-filter: blur(12px);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.6), rgba(6, 182, 212, 0.6), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 30px rgba(99, 102, 241, 0.12);
  border-color: rgba(99, 102, 241, 0.3);
}

.product-image-container {
  position: relative;
  height: 240px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #0c0e18, #141629);
}

.product-image-container img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain; /* Changed from cover to contain for exact assets */
  width: 100%;
  height: 100%;
  padding: 1rem;
}

.product-tag {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: white;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 10px rgba(99, 102, 241, 0.4);
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-info h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.3;
  color: #f1f5f9;
}

.product-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
  flex-grow: 1;
}

.product-price-row {
  margin-bottom: 1rem;
}

.product-price {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  background: linear-gradient(90deg, #a5b4fc, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.product-volume {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
}

.add-to-cart {
  width: 100%;
  background: linear-gradient(135deg, #6366f1 0%, #4f46e5 50%, #7c3aed 100%);
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.25);
  position: relative;
  overflow: hidden;
}

.add-to-cart::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.5s ease;
}

.add-to-cart:hover::after {
  left: 100%;
}

.add-to-cart:hover {
  background: linear-gradient(135deg, #818cf8 0%, #6366f1 50%, #8b5cf6 100%);
  box-shadow: 0 8px 25px rgba(99, 102, 241, 0.45);
  transform: translateY(-1px);
}

/* CTA Section */
.cta-section {
  background:
    radial-gradient(ellipse at 30% 50%, rgba(99, 102, 241, 0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(6, 182, 212, 0.12) 0%, transparent 60%),
    #06070a;
  border-top: 1px solid rgba(99, 102, 241, 0.15);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 400px;
  background: radial-gradient(ellipse, rgba(99,102,241,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 900;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Footer */
footer {
  padding: 5rem 5% 3rem;
  background: linear-gradient(180deg, #06070a 0%, #030408 100%);
  color: var(--text-light);
  border-top: 1px solid rgba(99, 102, 241, 0.12);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.5), rgba(6,182,212,0.5), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 4rem;
}

.footer-col h4 {
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  background: linear-gradient(90deg, #a5b4fc, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  color: #cbd5e1;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

/* Cart Sidebar — Dark glass */
.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: rgba(8, 9, 18, 0.97);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px);
  border-left: 1px solid rgba(99, 102, 241, 0.2);
  z-index: 2000;
  padding: 2rem;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -20px 0 60px rgba(0,0,0,0.6);
  color: var(--text-light);
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.close-cart {
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.cart-item-title {
  font-weight: 600;
}

.remove-item {
  background: none;
  border: none;
  color: #ef4444;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: bold;
}

.cart-footer {
  margin-top: 2rem;
  padding-top: 1rem;
}

.cart-empty-msg {
  color: var(--text-muted);
  text-align: center;
  margin-top: 2rem;
}

/* Page Headers for subpages */
.page-header {
  padding: 10rem 5% 5rem;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, 0.2) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 30%, rgba(6, 182, 212, 0.15) 0%, transparent 50%),
    #03040a;
  color: white;
  position: relative;
  overflow: hidden;
}

.page-header::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(99,102,241,0.5), rgba(6,182,212,0.5), transparent);
}

.page-header h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  background: linear-gradient(135deg, #ffffff 0%, #c7d2fe 50%, #67e8f9 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.page-header .catalog-num {
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 3px;
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.25);
  color: #a5b4fc;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    justify-content: space-between;
  }
  .hamburger {
    display: flex;
  }
  .cart-icon {
    display: none !important;
  }
  .mobile-cart-link {
    display: block !important;
    font-weight: bold !important;
    color: var(--secondary) !important;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-dark);
    padding: 1.5rem 5%;
    align-items: flex-start;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }
  .nav-links.active {
    display: flex;
  }
  .hero h1 { font-size: 3rem; }
  .categories, .footer-content { grid-template-columns: 1fr; }
  .cart-sidebar { width: 100%; right: -100%; }
}

/* Floating WhatsApp Button (Hidden) */
.floating-wa {
  display: none !important;
}
.floating-wa:hover {
  transform: scale(1.1) translateY(-5px);
}
.floating-wa svg {
  width: 35px;
  height: 35px;
}
.btn-whatsapp {
  background: #25D366;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-whatsapp:hover {
  background: #1da851;
}/* Testimonials Section */
.testimonials {
  background:
    radial-gradient(ellipse at 10% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 70%, rgba(6, 182, 212, 0.08) 0%, transparent 50%),
    #04050d;
  padding: 5rem 5%;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: rgba(15, 17, 30, 0.7);
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  border: 1px solid rgba(255,255,255,0.07);
  position: relative;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease;
  backdrop-filter: blur(10px);
  overflow: hidden;
}

.testimonial-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #6366f1, #06b6d4, #a78bfa);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.testimonial-card:hover::after {
  opacity: 1;
}

.testimonial-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(99, 102, 241, 0.1);
  border-color: rgba(99, 102, 241, 0.2);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 0.5rem;
  left: 1.5rem;
  font-size: 5rem;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  opacity: 0.2;
  font-family: serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  color: #cbd5e1;
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.2rem;
  background: linear-gradient(90deg, #a5b4fc, #67e8f9);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.author-info span {
  font-size: 0.85rem;
  color: #6b7280;
}

/* Dynamic Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Suppliers Page — dark search bar */
.suppliers-search-section {
  background: rgba(8, 9, 18, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(99, 102, 241, 0.15);
  padding: 2rem 5%;
}

.search-filter-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.supplier-search-wrapper {
  position: relative;
  flex: 1;
  max-width: 450px;
}

.supplier-search-wrapper input {
  width: 100%;
  padding: 0.8rem 1rem 0.8rem 2.5rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 10px;
  font-size: 0.95rem;
  outline: none;
  background: rgba(99, 102, 241, 0.06);
  color: var(--text-light);
  transition: all 0.3s ease;
  font-family: inherit;
}

.supplier-search-wrapper input::placeholder {
  color: #6b7280;
}

.supplier-search-wrapper input:focus {
  border-color: rgba(99, 102, 241, 0.5);
  background: rgba(99, 102, 241, 0.1);
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.12);
}

.supplier-search-wrapper svg {
  position: absolute;
  left: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
  width: 16px;
  height: 16px;
}

.supplier-filters {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  background: rgba(99, 102, 241, 0.06);
  color: #9ca3af;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.filter-btn:hover {
  border-color: rgba(99, 102, 241, 0.5);
  color: #a5b4fc;
  background: rgba(99, 102, 241, 0.12);
}

.filter-btn.active {
  background: linear-gradient(135deg, #6366f1, #4f46e5);
  border-color: #6366f1;
  color: white;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.35);
}

/* Supplier Grid / List Layout */
.suppliers-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.supplier-card {
  background: rgba(12, 14, 25, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.4), 0 1px 0 rgba(255,255,255,0.04) inset;
  display: grid;
  grid-template-columns: 1fr 300px;
  overflow: hidden;
  backdrop-filter: blur(16px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.supplier-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #6366f1, #06b6d4, #a78bfa, transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.supplier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5), 0 0 40px rgba(99, 102, 241, 0.15);
  border-color: rgba(99, 102, 241, 0.3);
}

.supplier-card-left {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.supplier-card-right {
  position: relative;
  background: linear-gradient(160deg, rgba(99,102,241,0.07) 0%, rgba(6,182,212,0.04) 100%);
  border-left: 1px solid rgba(99, 102, 241, 0.12);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 2rem;
}

.supplier-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
}

.supplier-identity {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.supplier-logo-placeholder {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
}

.supplier-title-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 0.2rem;
  color: #f1f5f9;
}

.supplier-meta-details {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
}

.supplier-location-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.8rem;
  color: #a5b4fc;
}

.supplier-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.badge-item {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.badge-blue { background: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge-green { background: #f0fdf4; color: #166534; border: 1px solid #bbf7d0; }
.badge-amber { background: #fffbeb; color: #92400e; border: 1px solid #fde68a; }

/* Metrics Panel */
.supplier-metrics-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  background: #f8fafc;
  padding: 1.2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
}

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

.metric-value {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.1rem;
}

.metric-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* Related Products */
.related-products-row {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.related-products-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
}

.related-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  gap: 0.8rem;
}

.mini-product-card {
  background: white;
  border: 1px solid var(--border-color);
  padding: 0.6rem;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  transition: border-color 0.2s;
}

.mini-product-card:hover {
  border-color: var(--secondary);
}

.mini-product-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.mini-product-price {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--secondary);
}

/* Factory media preview */
.factory-media-preview {
  position: relative;
  width: 100%;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
  background: #e2e8f0;
}

.factory-media-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  transition: background 0.2s, transform 0.2s;
  border: 2px solid white;
}

.media-play-btn:hover {
  background: var(--secondary);
  transform: translate(-50%, -50%) scale(1.1);
}

/* Home Page Partner logo bar */
.home-suppliers-section {
  padding: 5rem 5%;
  background: white;
  border-top: 1px solid var(--border-color);
}

.home-suppliers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.home-supplier-card {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  position: relative;
}

.home-supplier-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
  border-color: var(--secondary);
}

.home-supplier-card .rating-row {
  display: flex;
  justify-content: center;
  gap: 0.2rem;
  color: var(--secondary);
  font-size: 0.95rem;
}

/* Rating Stars */
.rating-stars {
  display: flex;
  gap: 0.1rem;
  color: #fbbf24;
}

/* Responsive details */
@media (max-width: 992px) {
  .supplier-card {
    grid-template-columns: 1fr;
  }
  .supplier-card-right {
    border-left: none;
    border-top: 1px solid var(--border-color);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
  }
  .factory-media-preview {
    width: 200px;
    height: 120px;
    margin-bottom: 0;
  }
}

@media (max-width: 768px) {
  .search-filter-container {
    flex-direction: column;
    align-items: stretch;
  }
  .supplier-search-wrapper {
    max-width: 100%;
  }
  .supplier-metrics-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
  }
  .home-suppliers-grid {
    grid-template-columns: 1fr;
  }
  .supplier-card-right {
    flex-direction: column;
    align-items: stretch;
  }
  .factory-media-preview {
    width: 100%;
    height: 150px;
  }
}

/* Admin Nav Tabs & Settings Styling */
.admin-tabs {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 0.5rem;
  flex-wrap: wrap;
}

.admin-tab-btn {
  padding: 0.8rem 1.5rem;
  font-weight: 700;
  color: var(--text-muted);
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-transform: uppercase;
}

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

.admin-tab-btn.active {
  color: var(--secondary);
  border-bottom-color: var(--secondary);
}

.admin-panel-section {
  display: none;
  animation: fadeIn 0.3s ease-out forwards;
}

.admin-panel-section.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Product Picker Checklist Grid */
.product-picker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
  max-height: 350px;
  overflow-y: auto;
  padding: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background: rgba(8, 9, 20, 0.8);
  margin-bottom: 1.5rem;
}

.product-picker-item {
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.12);
  border-radius: 10px;
  padding: 0.8rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  transition: border-color 0.2s;
}

.product-picker-item.selected {
  border-color: #6366f1;
  background: rgba(99, 102, 241, 0.12);
}

.product-picker-item label {
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  flex: 1;
  color: #e2e8f0;
}

.product-qty-input {
  width: 60px;
  padding: 0.4rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  text-align: center;
  font-weight: 700;
}

/* Interactive Mini Product Cards inside Suppliers */
.mini-product-card.add-to-cart {
  position: relative;
  cursor: pointer;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.05);
  border: 1px solid rgba(99, 102, 241, 0.12);
  padding: 0.6rem 0.8rem;
  border-radius: 10px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mini-product-card.add-to-cart:hover {
  border-color: rgba(99, 102, 241, 0.45) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(99, 102, 241, 0.2);
  background: rgba(99, 102, 241, 0.1) !important;
}

.mini-product-card.add-to-cart .mini-product-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  overflow: hidden;
  flex: 1;
  text-align: left;
}

.mini-product-card.add-to-cart .mini-add-btn {
  background: rgba(99, 102, 241, 0.15);
  border: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #a5b4fc;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.mini-product-card.add-to-cart:hover .mini-add-btn {
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  color: white;
  transform: scale(1.1);
}

/* Success added feedback animation */
.mini-product-card.add-to-cart.added {
  border-color: var(--success) !important;
  background: rgba(16, 185, 129, 0.08) !important;
  animation: mini-added-pop 0.3s ease-out;
}

.mini-product-card.add-to-cart.added .mini-add-btn {
  background: var(--success) !important;
  color: white !important;
}

@keyframes mini-added-pop {
  0% { transform: scale(1); }
  50% { transform: scale(1.05); }
  100% { transform: scale(1); }
}

/* Glassmorphism Info Overlay inside Modal */
.modal-overlay-info {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.25rem 2rem;
  color: white;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  box-sizing: border-box;
}

.modal-overlay-info h3 {
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: white;
  font-weight: 700;
  text-transform: uppercase;
}

.modal-overlay-info p {
  font-size: 0.9rem;
  color: #cbd5e1;
  margin-bottom: 0.5rem;
}

.modal-overlay-info .modal-overlay-stats {
  background: rgba(217, 119, 6, 0.15);
  border: 1px dashed var(--secondary);
  display: inline-block;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-weight: 700;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}

@media (max-width: 600px) {
  .modal-overlay-info {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.75rem;
  }
  .modal-overlay-info button {
    width: 100%;
  }
}

/* --- Complete Design Overhaul & Modernization Overrides --- */

section {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.04) !important;
}

/* Glassmorphism Cards */
.category-card, .mini-product-card, .supplier-card, .testimonial-card, .info-panel, .contact-info, .contact-form, .shipment-extra-details, .modal-content {
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.category-card:hover, .mini-product-card:hover, .supplier-card:hover, .testimonial-card:hover, .contact-form:hover {
  transform: translateY(-5px) scale(1.01);
  border-color: rgba(99, 102, 241, 0.4) !important;
  box-shadow: 0 16px 50px 0 rgba(99, 102, 241, 0.18) !important;
}

/* Navbar overrides */
nav {
  background: rgba(8, 9, 13, 0.75) !important;
  backdrop-filter: blur(16px) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important;
}

.nav-links a {
  font-weight: 600;
  transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--secondary) !important;
}

/* Footer Overrides */
footer {
  background-color: var(--bg-darker) !important;
  border-top: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Modal and Overlays */
.modal-overlay-info {
  background: rgba(17, 24, 39, 0.8) !important;
  border: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 12px !important;
}

.modal-overlay-info .modal-overlay-stats {
  background: rgba(99, 102, 241, 0.1) !important;
  border: 1px dashed rgba(99, 102, 241, 0.4) !important;
  color: var(--accent) !important;
}

/* Preloader custom styling */
.loader-wrapper {
  background: var(--bg-darker) !important;
}

/* Input boxes & Textareas */
input, textarea, select {
  background: rgba(255, 255, 255, 0.03) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  border-radius: 8px !important;
  color: var(--text-light) !important;
  padding: 0.85rem 1rem !important;
  transition: all 0.3s ease !important;
}

input:focus, textarea:focus, select:focus {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: var(--secondary) !important;
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15) !important;
}


