/* ===== Light Theme Tokens ===== */
:root {
  --primary: #d4af37;       /* Gold Accent */
  --primary-dark: #b8860b;  /* Dark Gold */
  --accent-blue: #c5a059;   /* Warm Gold */
  --accent-cyan: #d4af37;   /* Bright Gold */
  --bg-dark: #f8fafc;       /* Light Page Background */
  --surface-glass: rgba(255, 255, 255, 0.7); /* Light Glass Cards */
  --surface-border: rgba(212, 175, 55, 0.25); /* Subtle Gold Border Glow */
  --text-light: #1e293b;    /* Dark Text for Light Background */
  --text-muted: #64748b;    /* Secondary Dark Text */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: var(--font-body);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-dark);
  scroll-padding-top: 90px; /* keeps anchor targets clear of the fixed header */
}

body {
  position: relative;
  background-color: var(--bg-dark);
  background-image:
    radial-gradient(circle at 1px 1px, rgba(30, 41, 59, 0.16) 1.8px, transparent 0),
    linear-gradient(180deg, #fbfcfe 0%, #f8fafc 100%);
  background-size: 28px 28px, 100% 100%;
  background-repeat: repeat, no-repeat;
  color: var(--text-light);
  min-height: 100vh;
}

/* Header Glassmorphism styling */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(22, 17, 8, 0.7);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 10%;
  z-index: 999;
  border-bottom: 1px solid var(--surface-border);
}

.logo {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.logo span {
  color: var(--accent-cyan);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

/* ---------------- Site search ---------------- */
.site-search {
  position: relative;
  display: flex;
  align-items: center;
  margin-left: 24px;
}

.search-toggle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--surface-border);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.search-toggle-btn:hover {
  color: var(--accent-cyan);
  border-color: rgba(212, 175, 55, 0.4);
}

.site-search.open .search-toggle-btn {
  display: none;
}

.search-box {
  display: none;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--surface-border);
  border-radius: 30px;
  padding: 8px 16px;
  width: 320px;
  max-width: 60vw;
}

.site-search.open .search-box {
  display: flex;
}

.search-box-icon {
  color: var(--accent-cyan);
  font-size: 0.85rem;
  flex-shrink: 0;
}

.search-box input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-family: var(--font-body, inherit);
  font-size: 0.9rem;
}

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

.search-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.search-close-btn:hover {
  color: #ffffff;
}

.search-results {
  display: none;
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  width: 360px;
  max-width: 80vw;
  max-height: 420px;
  overflow-y: auto;
  background: #161108;
  border: 1px solid var(--surface-border);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  padding: 8px;
}

.search-results.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-result-item:hover {
  background: rgba(212, 175, 55, 0.08);
}

.search-result-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
  background: #1f1810;
}

.search-result-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.search-result-title {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-meta {
  color: var(--accent-cyan);
  font-size: 0.78rem;
}

.search-empty,
.search-more {
  padding: 16px 10px;
  color: var(--text-muted);
  font-size: 0.85rem;
  text-align: center;
}

@media (max-width: 768px) {
  .search-box {
    position: fixed;
    top: 14px;
    left: 5%;
    right: 5%;
    width: 90%;
    max-width: none;
    z-index: 1001;
  }
  .search-results {
    position: fixed;
    top: 70px;
    left: 5%;
    right: 5%;
    width: 90%;
    max-width: none;
  }
}

nav a {
  position: relative;
  color: var(--text-muted);
  margin-left: 30px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s, text-shadow 0.3s;
  padding-bottom: 4px;
}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent-cyan);
  box-shadow: 0 0 8px var(--accent-cyan);
  transition: width 0.3s;
}

nav a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

nav a:hover::after {
  width: 100%;
}

/* Hero Scene Container */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 120px 10% 120px 10%;
  overflow: hidden;
}

/* Background Animated Grid & Circuit */
.circuit-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.45;
  pointer-events: none;
}

.pulse-dot {
  animation: pulseDot 3s ease-in-out infinite;
  filter: drop-shadow(0 0 6px var(--accent-cyan));
}

@keyframes pulseDot {
  0%, 100% { opacity: 0.2; r: 3; }
  50%      { opacity: 1;   r: 6; }
}

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

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent-cyan);
  letter-spacing: 0.15em;
  margin-bottom: 20px;
}

.hero-text h1 {
  font-size: 7rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 24px;
  text-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.hero-text h1 .highlight {
  color: var(--accent-cyan);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 34px;
  max-width: 460px;
}

/* Floating Glow Hero Logo (no perspective tilt — a soft, ambient float instead) */
.hero-image-wrapper {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 480px;
  height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
}

/* Soft pulsing aura ring behind the logo */
.hero-logo-ring {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.28) 0%, rgba(212, 175, 55, 0.08) 55%, transparent 78%);
  animation: ringGlowPulse 4s ease-in-out infinite;
  z-index: 0;
}

/* The logo artwork is itself a circular badge, so clip to a perfect circle
   and use box-shadow (which follows the element's shape) instead of
   filter: drop-shadow (which traces the PNG's alpha edge and, combined
   with the float animation, produced the smeared/uneven shadow blob). */
.hero-image-wrapper img {
  position: relative;
  z-index: 1;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  animation: logoFloat 5s ease-in-out infinite;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  box-shadow:
    0 18px 40px rgba(0, 0, 0, 0.28),
    0 0 0 6px rgba(255, 255, 255, 0.65),
    0 0 45px rgba(212, 175, 55, 0.35);
}

.hero-image-wrapper:hover img {
  transform: scale(1.04) translateY(-4px);
  box-shadow:
    0 22px 50px rgba(0, 0, 0, 0.32),
    0 0 0 6px rgba(255, 255, 255, 0.75),
    0 0 60px rgba(212, 175, 55, 0.5);
}

@keyframes logoFloat {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-16px); }
}

@keyframes ringGlowPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.6; }
  50%      { transform: scale(1.08); opacity: 1; }
}
/* High tech 3D Buttons */
.btn {
  padding: 15px 34px;
  background: linear-gradient(135deg, var(--accent-cyan) 0%, var(--primary-dark) 100%);
  color: #2a1a00;
  border-radius: 8px;
  font-weight: 600;
  font-family: var(--font-display);
  transition: transform 0.25s, box-shadow 0.25s;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
  border: 1px solid rgba(255,255,255,0.2);
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.6);
}

/* ===== Services scroll-reveal showcase ===== */
.services-showcase {
  background: transparent;
  padding: 100px 10%;
}

.services-heading {
  text-align: center;
  font-size: 2.8rem;
  color: #ffffff;
  margin-bottom: 80px;
  position: relative;
}

.services-heading::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-cyan);
  margin: 15px auto 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.showcase-item {
  display: flex;
  align-items: center;
  gap: 80px;
  padding: 15px 0;
  opacity: 0;
  transform: translateY(80px) rotateX(10deg);
  transform-origin: top center;
  transition: opacity 1s cubic-bezier(0.215, 0.61, 0.355, 1), transform 1s cubic-bezier(0.215, 0.61, 0.355, 1);
  perspective: 1000px;
}

.showcase-item.revealed {
  opacity: 1;
  transform: translateY(0) rotateX(0);
}

.showcase-item.reverse {
  flex-direction: row-reverse;
}

.showcase-text {
  flex: 1;
}

.showcase-text i {
  font-size: 45px;
  color: var(--accent-cyan);
  margin-bottom: 20px;
  display: block;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.showcase-text h3 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: #ffffff;
}

.showcase-text p {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 460px;
}

/* Image Container & Element Rules — guarantees layout ratios */
.showcase-image-container {
  position: relative;
  flex: 1;
  width: 100%;
  max-width: 550px;
  height: 350px;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  transform: scale(0.95) rotateY(15deg);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.6s;

  /* Consistent branded placeholder in case a photo fails to load */
  background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.2), transparent 60%),
              linear-gradient(135deg, rgba(38, 29, 14, 0.9), rgba(22, 17, 8, 0.95));
}

.showcase-item.reverse .showcase-image-container {
  transform: scale(0.95) rotateY(-15deg);
}

.showcase-item.revealed .showcase-image-container {
  transform: scale(1) rotateY(0);
}

.showcase-item.revealed:hover .showcase-image-container {
  transform: scale(1.03) translateZ(20px);
  box-shadow: 0 30px 60px rgba(212, 175, 55, 0.2);
}

/* Unified color-grade overlay so every photo — regardless of its original
   exposure/tone — reads as part of the same brand palette */
.showcase-image-container::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.12) 0%, rgba(22, 17, 8, 0.1) 45%, rgba(22, 17, 8, 0.55) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.showcase-img-element {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Crops image cleanly inside the 3D card layout */
  display: block;
  filter: saturate(1.2) contrast(1.1) brightness(1.08);
}

/* Shown automatically (via JS) if a photo fails to load, so the card still
   looks branded instead of an empty dark box */
.showcase-image-container.img-fallback::before {
  content: '\f083'; /* fa-camera-retro */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 48px;
  color: rgba(212, 175, 55, 0.45);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Adjust nav layout to accommodate the new top categories */
nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap; /* Keeps it safe on medium screens */
}

nav a {
  margin-left: 20px; /* Slightly reduced from 30px to fit everything neatly */
  font-size: 0.9rem;
}

/* You can remove or comment out these old classes to clean up your file:
   .products { ... }
   .category-nav { ... }
   .category-nav a { ... } 
*/
/* ===== Products accordion (click-to-open, not hover) ===== */
.nav-wrapper {
  position: relative;
  display: inline-block;
}

header nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

/* Wraps the Products trigger + its panel so it behaves as one flow item */
.nav-products-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.shop-trigger-btn {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.shop-trigger-btn:hover,
.shop-trigger-btn.active {
  color: #ffffff;
}

.shop-trigger-btn i {
  font-size: 11px;
  margin-left: 4px;
  transition: transform 0.3s ease;
}

/* Rotate the chevron + tint it cyan only while THIS panel is open */
.shop-trigger-btn.active i {
  transform: rotate(180deg);
  color: #d4af37;
}

.products-dropdown-panel {
  width: min(92vw, 800px);
  max-width: 100%;
  background: rgba(26, 20, 10, 0.96);
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.1);
  backdrop-filter: blur(12px);

  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin: 0 auto;
  padding: 0 20px;
  transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.3s ease, margin 0.3s ease;
}

/* Opens only when JS adds .open — i.e. only when Products itself was clicked */
.products-dropdown-panel.open {
  max-height: 600px;
  opacity: 1;
  padding: 20px;
  margin: 12px auto 0;
}

.products-dropdown-panel .tabs-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
}

.products-dropdown-panel .tab-item {
  flex: 1;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 20px 10px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  min-width: 130px;
  transition: all 0.3s ease;
}

.products-dropdown-panel .tab-item i {
  font-size: 26px;
  color: #9ca3af;
  transition: all 0.3s ease;
}

.products-dropdown-panel .tab-item span {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #e5e7eb;
}

.products-dropdown-panel .tab-item:hover {
  background: rgba(212, 175, 55, 0.08);
  border-color: rgba(212, 175, 55, 0.4);
  transform: translateY(-3px);
}

.products-dropdown-panel .tab-item:hover i {
  color: #d4af37;
}

.products-dropdown-panel .tab-item:hover span {
  color: #d4af37;
}
/* Ultra Sleek Glass About Section */
.about {
  padding: 100px 10%;
  text-align: center;
  background: radial-gradient(circle at center, rgba(184, 134, 11, 0.35) 0%, transparent 70%);
}

.about h2 {
  font-size: 2.8rem;
  margin-bottom: 30px;
}

.about p {
  max-width: 800px;
  margin: auto;
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-muted);
}

/* Contact futuristic holographic inputs */
.contact {
  padding: 100px 10%;
  background: transparent;
}

.contact h2 {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 50px;
}

form {
  max-width: 600px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 24px;
  background: var(--surface-glass);
  padding: 40px;
  border-radius: 24px;
  border: 1px solid var(--surface-border);
  backdrop-filter: blur(10px);
}

label {
  font-weight: 600;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

input, textarea {
  padding: 16px;
  background: rgba(22, 17, 8, 0.6);
  border: 1px solid var(--surface-border);
  border-radius: 8px;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

input:focus, textarea:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.25);
}

button.btn {
  border: none;
  cursor: pointer;
  width: 100%;
}

/* Footer cyber-bar */
footer {
  background-color: #02040a;
  color: var(--text-muted);
  padding: 60px 10% 40px 10%;
  text-align: center;
  border-top: 1px solid var(--surface-border);
}

footer h2 {
  margin-bottom: 15px;
  font-size: 1.8rem;
}

footer p {
  margin: 6px 0;
}

.social-icons {
  margin-top: 20px;
}

.social-icons a {
  color: var(--text-muted);
  margin: 0 15px;
  font-size: 1.6rem;
  display: inline-block;
  transition: color 0.3s, transform 0.3s;
}

.social-icons a:hover {
  color: var(--accent-cyan);
  transform: translateY(-3px) scale(1.1);
}

/* Category page specific adjustments */
.category-banner {
  padding: 160px 10% 50px 10%;
  text-align: center;
}

.category-banner h1 {
  font-size: 3rem;
  margin-bottom: 12px;
}

.category-banner p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

.category-nav {
  padding: 40px 5% 0 5%;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 24px 10% 10px 10%;
  color: var(--accent-cyan);
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
  text-decoration: none;
  font-weight: 600;
  transition: gap 0.25s;
}

.back-link:hover {
  gap: 12px;
}

/* Reduce the heavy top padding of .products when it directly follows the
   back-link on category pages (the home page keeps its full padding) */
.back-link + .products {
  padding-top: 40px;
  border-top: none;
}

/* ===== Product Grid & Cards (category pages) ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.product {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  padding-bottom: 24px;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s, border-color 0.4s;
}

.product:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
  border-color: rgba(212, 175, 55, 0.4);
}

/* Image wrapper gives every product photo the same treatment as the
   services showcase: fixed ratio, unified color-grade, branded fallback */
.product-img-wrap {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.2), transparent 60%),
              linear-gradient(135deg, rgba(38, 29, 14, 0.9), rgba(22, 17, 8, 0.95));
}

.product-img-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(212, 175, 55, 0.12) 0%, rgba(22, 17, 8, 0.1) 45%, rgba(22, 17, 8, 0.55) 100%);
  mix-blend-mode: overlay;
  pointer-events: none;
}

.product-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.2) contrast(1.1) brightness(1.08);
  transition: transform 0.5s ease;
}

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

.product-img-wrap.img-fallback::before {
  content: '\f083'; /* fa-camera-retro */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 40px;
  color: rgba(212, 175, 55, 0.45);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-category {
  display: inline-block;
  margin: 18px 24px 8px 24px;
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(212, 175, 55, 0.12);
  border: 1px solid var(--surface-border);
  border-radius: 20px;
}

.product h3 {
  margin: 0 24px 8px 24px;
  font-size: 1.3rem;
  color: #ffffff;
}

.product .price {
  margin: 0 24px;
  color: var(--accent-cyan);
  font-weight: 700;
  font-size: 1.15rem;
  font-family: var(--font-display);
}

/* Responsive adjustments for Mobile & Tablets */
@media(max-width:992px) {
  body {
    /* Keep the dot-grid tile at native size on phones/tablets */
    background-size: 28px 28px, 100% 100%;
    background-position: 0 0, center top;
    background-attachment: scroll, scroll;
    padding-top: 70px;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 60px 5% 40px 5%;
    gap: 40px;
  }

  .category-banner {
    padding: 90px 5% 30px 5%;
  }

  .category-banner h1 {
    font-size: 2.2rem;
  }

  .back-link {
    margin: 20px 5% 10px 5%;
  }

  .hero-text h1 {
    font-size: 2.2rem; /* Shrinks the large heading text so it doesn't clip on small screens */
    line-height: 1.2;
  }

  .hero-text p {
    margin: 0 auto 24px auto;
    font-size: 1rem;
  }

  .hero-image-wrapper {
    width: 100%; /* Ensures your 3D image scales down smoothly to fit the phone screen width */
    max-width: 400px;
  }

  .showcase-item, .showcase-item.reverse {
    flex-direction: column;
    gap: 30px;
    padding: 30px 0;
  }

  .showcase-image {
    width: 100%;
    height: 240px;
  }
}

/* ===== Premium Cyber Logo Intro Screen ===== */
#intro-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #030712; /* OLED black background */
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  overflow: hidden;
  transition: opacity 0.8s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.8s ease;
}

.intro-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* 3D Wrapper around the text logo + spinning ring + scanner */
.intro-logo-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 800px;
}

/* The Cinematic Logo Zoom Animation (applies directly to the text logo) */
.intro-logo {
  position: relative;
  z-index: 2;
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  filter: drop-shadow(0 0 30px rgba(218, 165, 32, 0.4)); /* Golden hue to match your logo text */
  animation: logoCinematicIntro 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.intro-logo span {
  color: var(--accent-cyan);
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

/* Glowing Hologram Tech Ring spinning behind the logo */
.cyber-ring {
  position: absolute;
  width: 110%;
  height: 110%;
  border: 2px dashed rgba(212, 175, 55, 0.6); /* Tech Cyan matching color */
  border-radius: 50%;
  z-index: 1;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3), inset 0 0 20px rgba(212, 175, 55, 0.3);
  animation: ringPulseSpin 2.5s linear infinite;
}

/* Horizontal scanner line sweeping through the logo wrapper */
.scanner-bar {
  position: absolute;
  left: 10%;
  width: 80%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-cyan), transparent);
  box-shadow: 0 0 12px var(--accent-cyan);
  z-index: 3;
  animation: scannerSweep 2.2s ease-in-out infinite;
}

/* Tech Font Subtitle */
.intro-subtitle {
  font-family: 'JetBrains Mono', monospace;
  color: #d4af37;
  font-size: 0.8rem;
  letter-spacing: 0.4em;
  opacity: 0;
  animation: subtitleFadeIn 1s ease-out 1.2s forwards;
}

/* Handles the clean final exit dissolution */
#intro-screen.fade-out {
  opacity: 0;
  visibility: hidden;
}

/* --- KEYFRAME ANIMATIONS --- */

/* Logo springs from deep space, scales up nicely, and drifts slowly forward */
@keyframes logoCinematicIntro {
  0% {
    opacity: 0;
    transform: scale(0.3) rotate(-15deg);
    filter: drop-shadow(0 0 0px transparent) brightness(0.5);
  }
  40% {
    opacity: 1;
    filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.8)) brightness(1.3);
  }
  100% {
    opacity: 1;
    transform: scale(1.05) rotate(0deg);
    filter: drop-shadow(0 10px 25px rgba(218, 165, 32, 0.3));
  }
}

/* Futuristic outer ring spins clockwise while scaling up and down slightly */
@keyframes ringPulseSpin {
  0% {
    transform: rotate(0deg) scale(0.9);
    opacity: 0.2;
  }
  50% {
    transform: rotate(180deg) scale(1.02);
    opacity: 0.8;
    border-color: rgba(218, 165, 32, 0.8); /* Temporarily shifts golden to accent logo details */
  }
  100% {
    transform: rotate(360deg) scale(0.9);
    opacity: 0.2;
  }
}

/* Scanner line sweeps top to bottom through the logo wrapper */
@keyframes scannerSweep {
  0%   { top: 5%;  opacity: 0; }
  15%  { opacity: 1; }
  85%  { opacity: 1; }
  100% { top: 95%; opacity: 0; }
}

/* Text fades in gently underneath after the logo is placed */
@keyframes subtitleFadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 0.7;
    transform: translateY(0);
  }


}

/* ===== Honor-Style Product Sub-Tabs ===== */
.product-tabs-section {
  padding: 60px 10% 20px 10%;
  text-align: center;
  background: transparent;
}

.tabs-container {
  display: flex;
  justify-content: center;
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.tab-item {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  background: rgba(38, 29, 14, 0.4);
  border: 1px solid rgba(212, 175, 55, 0.1);
  border-radius: 16px;
  padding: 30px 20px;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  backdrop-filter: blur(8px);
}

.tab-item i {
  font-size: 32px;
  color: #9ca3af;
  transition: color 0.3s, transform 0.3s;
}

.tab-item span {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  color: #f3f4f6;
  transition: color 0.3s;
}

/* Hover Interactive Effects */
.tab-item:hover {
  transform: translateY(-6px);
  background: rgba(38, 29, 14, 0.65);
  border-color: rgba(212, 175, 55, 0.4);
  box-shadow: 0 15px 30px rgba(212, 175, 55, 0.15);
}

.tab-item:hover i {
  color: #d4af37;
  transform: scale(1.1);
}

.tab-item:hover span {
  color: #d4af37;
}

/* ===== Phone-only tweak: smaller card padding in the Products panel ===== */
@media (max-width: 768px) {
  /* Stops "WB Wise Unity" from breaking vertically into multiple rows */
  header .logo {
    white-space: nowrap !important;
  }

  .products-dropdown-panel .tab-item {
    min-width: unset !important;
    padding: 12px 5px !important;
  }
}

/* ===== Showcase Gap Fixes ===== */
.showcase-text p {
  margin-bottom: 0 !important;
}

.showcase-image-container {
  margin: 0 !important;
  padding: 0 !important;
  display: flex !important;
}

.services-showcase {
  gap: 10px !important;
}

/* ===== Feature Tick List Setup ===== */
.feature-checkmark-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 20px 0 0 0 !important;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.feature-checkmark-list li {
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: normal !important;
  color: var(--text-light);
  position: relative;
  padding-left: 25px;
  text-align: left;
}

.feature-checkmark-list li::before {
  content: "✓" !important;
  position: absolute;
  left: 0;
  top: 0;
  color: #d4af37;
  font-weight: normal !important;
}

/* ===== Supplier Section Styling ===== */
.suppliers-section {
  padding: 60px 0;
  background: rgba(38, 29, 14, 0.2); /* Soft blend with your dark theme */
  border-top: 1px solid rgba(212, 175, 55, 0.1);
  width: 100%;
}

.suppliers-title {
  text-align: center;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.2rem;
  color: #d4af37; /* Light blue accent color */
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 40px;
  opacity: 0.8;
}

.suppliers-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.supplier-logo {
  max-width: 150px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff !important; /* 🌟 Adds a clean white background card behind every logo */
  padding: 15px 20px !important;        /* Gives the logos breathing room inside the card */
  border-radius: 8px !important;        /* Smooth rounded card corners */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3); /* Adds a premium soft shadow underneath */
  transition: all 0.3s ease;
}

.supplier-logo img {
  width: 100%;
  height: auto;
  filter: none !important;              /* 🌟 Removes the invert/brightness filter completely */
  opacity: 1 !important;                /* Displays them at full, clean clarity */
  object-fit: contain !important;
}

/* Adds a nice interactive pop effect when you hover over the logo cards */
.supplier-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2); /* Subtle glow with your accent blue */
}
/* Mobile responsive layout adjustment */
@media (max-width: 768px) {
  .suppliers-grid {
    gap: 30px;
  }
  .supplier-logo {
    max-width: 110px; /* Scales logos down perfectly on small phones */
  }
}


/* ===== Floating WhatsApp Button with Deep Ambient Bobbing ===== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  font-size: 35px;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border: 2px solid #ffffff; 
  
  /* Deep shadow that makes it look elevated off the screen background */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 15px rgba(37, 211, 102, 0.3);

  /* Continuous floating loop and soft radar pulse ring */
  animation: waFloat 4s ease-in-out infinite, waRadarGlow 3s ease-in-out infinite;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.whatsapp-float i {
  transition: transform 0.3s ease;
}

/* Hover Action: Grows crisp, shifts glow brighter, and locks floating */
.whatsapp-float:hover {
  transform: scale(1.15) translateY(-5px); /* lifts up even more on hover */
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 0 25px rgba(37, 211, 102, 0.8);
  animation-play-state: paused; /* freezes the bobbing animation while clicking */
  color: #fff;
}

.whatsapp-float:hover i {
  transform: scale(1.05) rotate(15deg);
}

/* --- AMBIENT CYBER KEYFRAMES --- */

/* 1. Smooth Floating / Bobbing Up and Down Motion */
@keyframes waFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px); /* Moves up smoothly by 12px */
  }
}

/* 2. Radial Glowing Rings expanding from underneath the icon */
@keyframes waRadarGlow {
  0%, 100% {
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.5), 0 0 10px rgba(120, 255, 170, 0.8);
  }
  50% {
    box-shadow: 0 18px 35px rgba(37, 211, 102, 0.5), 0 0 25px rgba(120, 255, 170, 0.8);
  }
}

/* Responsive screens sizing */
@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 52px;
    height: 52px;
    font-size: 28px;
  }
  @keyframes waFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); } /* slightly smaller bounce on phones */
  }

  

  
}
/* ===================================================== */
/* ===== Promotions / New Products / Top Sellers ====== */
/* ===================================================== */

.section-title {
  text-align: center;
  font-size: 2.4rem;
  color: #ffffff;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--accent-cyan);
  margin: 15px auto 0 auto;
  border-radius: 2px;
  box-shadow: 0 0 10px var(--accent-cyan);
}

/* ----- Promotions ----- */
.promo-section {
  padding: 80px 10% 20px 10%;
}

.promo-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 28px;
  max-width: 1200px;
  margin: 0 auto;
}

.promo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 320px;
  padding: 30px;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  border: 1px solid var(--surface-border);
  background:
    radial-gradient(circle at 20% 15%, rgba(212, 175, 55, 0.25), transparent 55%),
    linear-gradient(160deg, rgba(38, 29, 14, 0.95), rgba(22, 17, 8, 0.98));
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.4s, border-color 0.4s;
}

.promo-card-large {
  grid-row: span 1;
  min-height: 320px;
  background:
    radial-gradient(circle at 25% 20%, rgba(212, 175, 55, 0.35), transparent 60%),
    linear-gradient(150deg, rgba(120, 90, 20, 0.9), rgba(22, 17, 8, 0.98));
}

.promo-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 55px rgba(212, 175, 55, 0.25);
  border-color: rgba(212, 175, 55, 0.4);
}

.promo-tag {
  align-self: flex-start;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cyan);
  background: rgba(212, 175, 55, 0.1);
  border: 1px solid var(--surface-border);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: auto;
}

.promo-card h3 {
  font-size: 1.7rem;
  margin: 14px 0 8px 0;
  line-height: 1.25;
}

.promo-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 18px;
}

.promo-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent-cyan);
  font-size: 0.95rem;
  transition: gap 0.25s;
}

.promo-card:hover .promo-cta {
  gap: 14px;
}

/* ----- New Products / Top Sellers grids ----- */
.products-section {
  padding: 80px 10%;
}

.product-grid-scroll {
  max-width: 1200px;
}

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.badge-new {
  color: #2a1a00;
  background: var(--accent-cyan);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.6);
}

.badge-hot {
  color: #fff;
  background: linear-gradient(135deg, #ff5f5f, #d92b2b);
  box-shadow: 0 0 12px rgba(217, 43, 43, 0.5);
}

.rating-stars {
  margin: 0 24px 8px 24px;
  color: #ffb703;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 3px;
}

.rating-stars span {
  color: var(--text-muted);
  margin-left: 6px;
  font-family: var(--font-body);
  font-size: 0.8rem;
}

/* Responsive */
@media (max-width: 992px) {
  .promo-grid {
    grid-template-columns: 1fr;
  }
  .promo-card, .promo-card-large {
    min-height: 260px;
  }
  .promo-section, .products-section {
    padding: 60px 5% 20px 5%;
  }
  .section-title {
    font-size: 1.9rem;
  }
}

/* Performance Optimization Fix for Smooth Scrolling */
.product, 
.promo-card, 
.showcase-item, 
.hero-image-wrapper, 
.circuit-bg {
  will-change: transform;
  transform: translateZ(0);
}

.circuit-bg {
  pointer-events: none;
}

/* Custom Skewed/Angled Category Cards Grid */
.skew-showcase-grid {
    display: flex !important;
    gap: 15px !important;
    max-width: 1300px !important;
    margin: 40px auto !important;
    padding: 20px !important;
    overflow: hidden !important;
}

/* The Angled Card Container */
.skew-card {
    position: relative !important;
    flex: 1 !important;
    height: 480px !important;
    border-radius: 20px !important;
    overflow: hidden !important;
    transform: skewX(-6deg) !important; /* Creates the slanted edge */
    transition: flex 0.4s ease, transform 0.4s ease, box-shadow 0.4s ease !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
}

/* Un-skew the inside content so images/text don't look distorted */
.skew-card-inner {
    position: absolute !important;
    inset: 0 !important;
    transform: skewX(6deg) scale(1.15) !important; /* Reverses skew + scales image to fit edges */
    height: 100% !important;
    width: 100% !important;
}

/* Image styling inside angled card */
.skew-card img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: brightness(0.7) contrast(1.1) !important;
    transition: filter 0.3s ease !important;
}

/* Text Overlay & Gradient at Bottom */
.skew-card-content {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    padding: 30px 20px !important;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.9) 100%) !important;
    color: #ffffff !important;
    z-index: 2 !important;
}

/* Hover Effect: Expands the hovered card wider */
.skew-card:hover {
    flex: 1.5 !important; /* Card grows wider when hovered */
    transform: skewX(-6deg) translateY(-8px) !important;
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3) !important;
}

.skew-card:hover img {
    filter: brightness(0.95) contrast(1.1) !important;
}







/* =========================================================
   FULL VISIBILITY SLIDER — Clean, Centered & Responsive
   ========================================================= */

.promo-slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

/* Horizontal scroll container */
#promotionsContainer,
#newProductsContainer,
#topSellersContainer,
div[data-product-grid],
.promo-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start; /* Prevents 1st image from clipping off-screen */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    gap: 20px;                   /* Clean spacing between posters */
    width: 100%;
    padding: 10px 0 18px 0;
    margin: 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* Hide scrollbars across browsers */
#promotionsContainer::-webkit-scrollbar,
#newProductsContainer::-webkit-scrollbar,
#topSellersContainer::-webkit-scrollbar,
div[data-product-grid]::-webkit-scrollbar,
.promo-grid::-webkit-scrollbar {
    display: none;
}

/* Promotions keep the big poster/banner treatment */
#promotionsContainer > *,
.promo-card {
    position: relative;
    flex: 0 0 auto;
    width: auto;
    max-width: 100%;
    height: 400px;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    border: none;
    scroll-snap-align: center;
    scroll-snap-stop: always;
}

#promotionsContainer img,
.promo-card img,
.promo-card picture,
.promo-card figure,
.promo-grid img {
    width: 100%;
    max-width: 380px;
    height: 400px;
    object-fit: contain;
    display: block;
    border-radius: 16px;
    flex-shrink: 0;
    z-index: 1;
}

/* ----- New Products / Top Sellers — compact catalogue-style cards ----- */
#newProductsContainer > *,
#topSellersContainer > *,
div[data-product-grid] > * {
    position: relative;
    flex: 0 0 auto;
    width: 228px;
    height: auto;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

.showcase-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface-glass);
    border: 1px solid var(--surface-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.35s, border-color 0.35s;
}

.showcase-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 36px rgba(212, 175, 55, 0.18);
    border-color: rgba(212, 175, 55, 0.45);
}

/* Ribbon banner strip across the top (mirrors the reference site's brand banner) */
.showcase-ribbon {
    position: relative;
    width: 100%;
    padding: 8px 12px 14px 12px;
    text-align: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.22), rgba(212, 175, 55, 0.08));
    border-bottom: 1px solid var(--surface-border);
}

.showcase-ribbon span {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-dark);
}

.showcase-card-media {
    position: relative;
    width: 100%;
    height: 170px;
    overflow: hidden;
    background: radial-gradient(circle at 30% 20%, rgba(212, 175, 55, 0.12), transparent 60%), #ffffff;
    flex-shrink: 0;
}

.showcase-card-media img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    padding: 10px;
    box-sizing: border-box;
    transition: transform 0.4s ease;
}

.showcase-card:hover .showcase-card-media img {
    transform: scale(1.06);
}

/* Wishlist / quick-view icon overlay, revealed on hover like the reference cards */
.showcase-card-actions {
    position: absolute;
    right: 10px;
    top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    opacity: 0;
    transform: translateX(8px);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: 4;
}

.showcase-card:hover .showcase-card-actions {
    opacity: 1;
    transform: translateX(0);
}

.showcase-icon-btn {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--surface-border);
    background: rgba(255, 255, 255, 0.92);
    color: var(--text-light);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.showcase-icon-btn:hover {
    background: var(--primary);
    color: #2a1a00;
    border-color: var(--primary);
}

.showcase-icon-btn.active {
    background: #d92b2b;
    border-color: #d92b2b;
    color: #ffffff;
}

.showcase-card-body {
    padding: 12px 14px 16px 14px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
}

.showcase-card-body h3 {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.3;
    color: var(--text-light);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.showcase-card-tag {
    align-self: flex-start;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.showcase-card-footer {
    margin-top: auto;
    padding-top: 6px;
}

.showcase-price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary-dark);
}

/* Navigation Arrow Buttons */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    border: 1px solid rgba(212, 175, 55, 0.5);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: rgba(212, 175, 55, 1);
    color: #000000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Hidden via JS when a row's cards already fit without scrolling */
.slider-btn.is-hidden {
    display: none;
}

/* Responsive tweaks for mobile phones */
@media (max-width: 768px) {
    #promotionsContainer > *,
    .promo-card,
    #promotionsContainer img,
    .promo-card img,
    .promo-grid img {
        height: 320px;          /* Perfectly fits phone screens */
        max-width: 280px;
    }

    #newProductsContainer > *,
    #topSellersContainer > *,
    div[data-product-grid] > * {
        width: 168px;
    }

    .showcase-card-media {
        height: 130px;
    }
}









/* ===================================================== */
/* ===== Unified Header Navigation (ALL screen sizes) === */
/* Same hamburger-menu behaviour on desktop, tablet, and  */
/* phone, so the interface stays identical everywhere.    */
/* ===================================================== */
header {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  padding: 15px 5% !important;
  height: auto !important;
  width: 100%;
}

/* Hamburger button is always visible — desktop AND mobile */
.menu-toggle {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 4px !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  background: rgba(255, 255, 255, 0.05) !important;
  margin-left: auto !important;
  cursor: pointer;
  padding: 0 !important;
  z-index: 1002 !important;
  transition: border-color 0.3s ease;
}

.menu-toggle span {
  display: block !important;
  width: 18px !important;
  height: 2px !important;
  background-color: #d4af37 !important;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  border-color: rgba(212, 175, 55, 0.4) !important;
}

/* Hamburger morphs into an "X" while the menu is open */
.menu-toggle.active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Search icon sits right next to the hamburger, same spot everywhere */
header .site-search {
  margin-left: 14px !important;
}

/* Nav links + Products panel: hidden dropdown by default on every device */
header .nav-wrapper {
  display: none;
  position: absolute !important;
  top: 100% !important;
  left: 0 !important;
  width: 100% !important;
  background: rgba(22, 17, 8, 0.98) !important;
  backdrop-filter: blur(16px);
  padding: 20px 0 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,0.6);
  z-index: 999 !important;
}

header .nav-wrapper.active {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}

header nav {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px !important;
  width: 100% !important;
}

header nav a,
header .shop-trigger-btn {
  padding: 8px 16px !important;
  text-align: center !important;
  width: 100% !important;
}

/* Slightly larger logo on narrow screens only, everything else stays identical */
@media (max-width: 480px) {
  header .logo {
    font-size: 1.3rem !important;
  }
}





/* ==========================================
   WhatsApp Floating Button
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50px;
  text-align: center;
  font-size: 32px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  background-color: #20ba5a;
  color: #ffffff;
}

/* ==========================================
   Suppliers / Reseller Section
   ========================================== */
.suppliers-section {
  text-align: center;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.suppliers-title {
  color: #d4af37;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
}

.suppliers-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.supplier-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 18px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.supplier-card img {
  max-height: 35px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.9);
  transition: transform 0.2s, filter 0.2s;
}

.supplier-card img:hover {
  transform: scale(1.05);
  filter: brightness(1.1);
}

/* ==========================================
   Site Search Dropdown
   ========================================== */
.site-search {
  position: relative;
  display: flex;
  align-items: center;
}

.search-toggle-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 8px;
  transition: color 0.2s ease;
}

.search-toggle-btn:hover {
  color: #d4af37;
}

.search-box {
  display: none;
  position: absolute;
  right: 0;
  top: 100%;
  margin-top: 10px;
  background: #161108;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 8px;
  padding: 8px 12px;
  align-items: center;
  gap: 10px;
  z-index: 1001;
  width: 300px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.site-search.open .search-box {
  display: flex;
}

.search-box input {
  background: transparent;
  border: none;
  color: #fff;
  outline: none;
  width: 100%;
  font-size: 0.9rem;
}

.search-close-btn {
  background: transparent;
  border: none;
  color: #aaa;
  cursor: pointer;
}

.search-close-btn:hover {
  color: #fff;
}

.search-results {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 50px);
  width: 320px;
  background: #1f1810;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  max-height: 350px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.search-results.active {
  display: block;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background 0.2s ease;
}

.search-result-item:hover {
  background: rgba(212, 175, 55, 0.1);
}

.search-result-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 4px;
}

.search-result-info {
  display: flex;
  flex-direction: column;
}

.search-result-title {
  color: #fff;
  font-size: 0.85rem;
  font-weight: 500;
}

.search-result-meta {
  color: #d4af37;
  font-size: 0.75rem;
}

.search-empty,
.search-more {
  padding: 12px;
  text-align: center;
  font-size: 0.85rem;
  color: #aaa;
}


























/* ===== LIGHT THEME OVERRIDES ===== */

/* Light Header Navigation */
header, .header {
  background: rgba(255, 255, 255, 0.85) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2) !important;
}

.logo, header a, header nav a, header .nav-link {
  color: #0f172a !important;
}

/* Text Colors */
h1, h2, h3, h4, h5, h6 {
  color: #0f172a !important;
  text-shadow: none !important;
}

p {
  color: #334155 !important;
}

/* Gold Accents & Buttons */
.accent-text, .text-gradient, span.highlight {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn, button, .btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #b8860b 100%) !important;
  color: #ffffff !important;
  border: none;
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

/* Card Surfaces */
.card, .glass-panel, .feature-card {
  background: var(--surface-glass) !important;
  border: 1px solid var(--surface-border) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  color: var(--text-light);
}

/* Badge/Logo Image Blend */
.hero-image img, .hero img {
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1), 0 0 40px rgba(212, 175, 55, 0.25);
}

/* ===== Footer: converted to the light gold theme =====
   The footer (and the "Authorised Reseller" strip inside it) was still on
   a solid black background left over from the old dark theme. Rather than
   patch text colors to be readable *on* black, this brings the footer
   itself into the light theme so it matches the rest of the site. */
footer {
  background-color: #fbf7ee !important;
  color: var(--text-muted) !important;
  border-top: 1px solid var(--surface-border) !important;
}

/* footer h2 / footer p already inherit dark, readable colors from the
   global h1-h6 / p rules now that the background is light — no override
   needed there. Just re-point the accent bits: */

.social-icons a {
  color: var(--text-muted) !important;
}

.social-icons a:hover {
  color: var(--primary-dark) !important;
  transform: translateY(-3px) scale(1.1);
}

/* Footer links (email/phone) were unstyled and fell back to browser-default
   blue — give them the gold accent instead */
footer a {
  color: var(--primary-dark) !important;
  text-decoration: underline;
}

footer a:hover {
  color: var(--primary) !important;
}

/* "Authorised Reseller" strip: was a separate near-black panel with
   translucent-white cards. Rebuilt as a light card row that sits inside
   the now-light footer. */
.suppliers-section {
  border-top: 1px solid var(--surface-border) !important;
  background: transparent !important;
}

.suppliers-title {
  color: var(--primary-dark) !important;
  opacity: 1 !important;
}

.supplier-card {
  background: #ffffff !important;
  border: 1px solid var(--surface-border) !important;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06) !important;
}

.supplier-card img {
  filter: none !important;
}

/* Mobile hamburger menu opens on a dark backdrop — the desktop header rule
   above forces dark navy text, which disappears on that dark background */
header .nav-wrapper.active a,
header .nav-wrapper.active .shop-trigger-btn {
  color: #f1f0ea !important;
}

header .nav-wrapper.active a:hover,
header .nav-wrapper.active .shop-trigger-btn:hover,
header .nav-wrapper.active .shop-trigger-btn.active {
  color: #d4af37 !important;
}

/* Stop the generic button gold-pill treatment from hijacking utility
   buttons that should stay plain (Products trigger, search icons) */
.shop-trigger-btn,
.search-toggle-btn,
.search-close-btn {
  background: none !important;
  color: var(--text-muted) !important;
  box-shadow: none !important;
}

/* Home page "shop by category" cards still used the old dark theme's card
   styling — dark translucent panel + pale grey icon, which reads as flat
   grey on the new light background. Match the light glass card style used
   elsewhere on the site. Scoped to .product-tabs-section (3 classes deep)
   so it's more specific than, and doesn't touch, the separate dark-themed
   .products-dropdown-panel .tab-item used in the header's Products menu. */
.product-tabs-section .tabs-container .tab-item {
  background: var(--surface-glass);
  border: 1px solid var(--surface-border);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.product-tabs-section .tabs-container .tab-item i {
  color: var(--primary-dark);
}

.product-tabs-section .tabs-container .tab-item span {
  color: var(--text-light);
}

.product-tabs-section .tabs-container .tab-item:hover {
  background: rgba(212, 175, 55, 0.1);
  border-color: rgba(212, 175, 55, 0.4);
}

.product-tabs-section .tabs-container .tab-item:hover i,
.product-tabs-section .tabs-container .tab-item:hover span {
  color: #b8860b;
}

/* Product card title/price on category pages (e.g. gaming-pc.html) sit on
   a dark photo background and need light/gold text, but the global h1-h6
   rule (without !important losing to the blanket dark-navy rule) was
   crushing that to dark-on-dark. Restored here with !important. */
.product h3 {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.product .price {
  color: #d4af37 !important;
}

