 /* ================================== */
 /* ==   1. Theme & Variables       == */
 /* ================================== */
 :root {
   /* Custom Bootstrap Overrides */
   --bs-body-bg: #0a0c1e;
   /* Darkest blue/black */
   --bs-body-color: #adb5bd;
   /* Light gray text */
   --bs-border-color: rgba(255, 255, 255, 0.15);
   /* MODIFIED: Softer, less-cyan border */
   --bs-primary: #00f0ff;
   /* Bright neon cyan */
   --bs-secondary: #8000ff;
   /* Bright neon purple */
   --bs-light: #161a33;
   /* Lighter card background */
   --bs-font-sans-serif: 'Poppins', sans-serif;
 }

 /* ================================== */
 /* ==   2. Global Styles           == */
 /* ================================== */
 body {
   background-color: var(--bs-body-bg);
   color: var(--bs-body-color);
   font-family: var(--bs-font-sans-serif);
 }

 h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
   color: var(--bs-white);
   font-weight: 600;
 }

 .text-primary {
   color: var(--bs-primary) !important;
 }

 .text-secondary {
   color: var(--bs-secondary) !important;
 }

 /* ================================== */
 /* ==   3. Navbar (ENHANCED)       == */
 /* ================================== */
 .navbar {
   background-color: rgba(10, 12, 30, 0.6);
   /* MODIFIED: Darker and more transparent */
   backdrop-filter: blur(12px);
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
   /* MODIFIED: Softer border */
 }

 .navbar-brand {
   font-weight: 700;
   font-size: 1.5rem;
   color: var(--bs-white);
 }

 .navbar-brand:hover {
   color: var(--bs-primary);
 }

 .navbar-dark .navbar-nav .nav-link {
   color: rgba(255, 255, 255, 0.8);
   font-weight: 600;
 }

 .navbar-dark .navbar-nav .nav-link:hover,
 .navbar-dark .navbar-nav .nav-link.active {
   color: var(--bs-primary);
 }

 /* NEW: Style for the user dropdown */
 .navbar-dark .dropdown-menu {
   background-color: var(--bs-body-bg);
   border: 1px solid var(--bs-border-color);
 }

 .navbar-dark .dropdown-item {
   color: var(--bs-body-color);
 }

 .navbar-dark .dropdown-item:hover {
   background-color: var(--bs-light);
   color: var(--bs-primary);
 }

 .navbar-toggler {
   border-color: var(--bs-border-color);
 }

 .navbar-toggler-icon {
   background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 240, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
 }

 .form-control-dark {
   background-color: var(--bs-body-bg);
   border-color: var(--bs-border-color);
   color: var(--bs-white);
 }

 .form-control-dark:focus {
   background-color: var(--bs-body-bg);
   border-color: var(--bs-primary);
   box-shadow: 0 0 0 0.25rem rgba(0, 240, 255, 0.25);
   color: var(--bs-white);
 }

 /* ================================== */
 /* == 3.5 BUTTONS (ENHANCED)       == */
 /* ================================== */

 /* NEW: Enhanced Outline Button (For Nav, Footer, Quick View) */
 .btn-outline-primary-enhanced {
   background-color: transparent;
   color: var(--bs-primary);
   border: 2px solid var(--bs-primary);
   font-weight: 600;
   transition: all 0.3s ease;
 }

 .btn-outline-primary-enhanced:hover {
   background-color: var(--bs-primary);
   color: var(--bs-body-bg);
   box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
   transform: translateY(-2px);
 }

 /* NEW: Solid CTA Button (Purple, for "Add to Cart") */
 .btn-secondary-solid-glow {
   background-color: var(--bs-secondary);
   color: var(--bs-white);
   font-weight: 700;
   border: 2px solid var(--bs-secondary);
   transition: all 0.3s ease;
   box-shadow: 0 0 20px rgba(128, 0, 255, 0.4);
 }

 .btn-secondary-solid-glow:hover {
   background-color: transparent;
   color: var(--bs-secondary);
   box-shadow: 0 0 30px rgba(128, 0, 255, 0.8);
   transform: translateY(-2px);
 }

 /* NEW: Enhanced Outline Button (For Quick View) */
 .btn-outline-light-enhanced {
   background-color: transparent;
   border-color: var(--bs-border-color);
   color: var(--bs-body-color);
   font-weight: 600;
   transition: all 0.3s ease;
 }

 .btn-outline-light-enhanced:hover {
   background-color: var(--bs-light);
   border-color: var(--bs-white);
   color: var(--bs-white);
 }

 .nav-icons {
   font-size: 1.25rem;
   color: rgba(255, 255, 255, 0.8);
 }

 .nav-icons .bi:hover {
   color: var(--bs-primary);
 }

 /* ================================== */
 /* == 4. Product Page (ENHANCED)   == */
 /* ================================== */
 .page-header {
   padding: 3rem 0;
   border-bottom: 1px solid var(--bs-border-color);
 }

 .breadcrumb {
   --bs-breadcrumb-divider-color: var(--bs-primary);
   --bs-breadcrumb-item-active-color: var(--bs-primary);
 }

 .breadcrumb-item a {
   text-decoration: none;
   color: var(--bs-body-color);
   font-weight: 600;
 }

 .breadcrumb-item a:hover {
   color: var(--bs-white);
 }

 /* --- Sidebar (ENHANCED) --- */
 .filters-sidebar {
   background-color: rgba(22, 26, 51, 0.5);
   /* MODIFIED: Semi-transparent */
   border: 1px solid var(--bs-border-color);
   border-radius: 0.75rem;
   padding: 1.5rem;
   height: fit-content;
   position: sticky;
   top: 100px;
   /* Offset for sticky nav */
   transition: all 0.3s ease;
   position: relative;
   overflow: hidden;
 }

 /* NEW: Glass/Glow effect for sidebar */
 .filters-sidebar::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.05), transparent 70%);
   opacity: 1;
   /* Always on for sidebar */
   z-index: 1;
 }

 .filters-sidebar>* {
   position: relative;
   z-index: 2;
   /* Content above glow */
 }

 .filter-group {
   border-bottom: 1px solid var(--bs-border-color);
   padding-bottom: 1rem;
   margin-bottom: 1rem;
 }

 .filter-group h5 {
   font-size: 1.1rem;
   font-weight: 700;
   color: var(--bs-white);
   margin-bottom: 1rem;
 }

 .form-check-label {
   font-size: 0.95rem;
 }

 .form-check-input:checked {
   background-color: var(--bs-primary);
   border-color: var(--bs-primary);
 }

 /* NEW: Styles for clickable filter tags */
 .filter-tags .badge {
   font-size: 0.8rem;
   font-weight: 600;
   background-color: var(--bs-body-bg);
   border: 1px solid var(--bs-border-color);
   color: var(--bs-body-color);
   cursor: pointer;
   transition: all 0.3s ease;
 }

 .filter-tags .badge:hover {
   background-color: var(--bs-light);
   color: var(--bs-white);
   border-color: var(--bs-white);
 }

 /* NEW: Active state for filter tags */
 .filter-tags .badge.active {
   background-color: var(--bs-primary);
   color: var(--bs-body-bg);
   border-color: var(--bs-primary);
 }

 /* --- Product Grid (ENHANCED) --- */
 .product-grid-main h2 {
   font-size: 1.75rem;
   font-weight: 700;
   color: var(--bs-white);
   margin-bottom: 2rem;
   border-bottom: 2px solid var(--bs-primary);
   padding-bottom: 0.5rem;
 }

 /* Product Card Style (ENHANCED) */
 .product-card-v2 {
   background-color: rgba(22, 26, 51, 0.5);
   /* MODIFIED: Semi-transparent */
   border: 1px solid var(--bs-border-color);
   border-radius: 0.75rem;
   transition: all 0.3s ease;
   height: 100%;
   display: flex;
   flex-direction: column;
   position: relative;
   /* NEW: For hover effect */
   overflow: hidden;
   /* NEW: For hover effect */
 }

 /* NEW: Radial glow effect for cards */
 .product-card-v2::before {
   content: '';
   position: absolute;
   top: 0;
   left: 0;
   right: 0;
   bottom: 0;
   background: radial-gradient(circle at 50% 0%, rgba(0, 240, 255, 0.15), transparent 70%);
   opacity: 0;
   transition: opacity 0.4s ease;
   z-index: 1;
 }

 .product-card-v2:hover {
   transform: translateY(-5px);
   box-shadow: 0 0 25px rgba(0, 240, 255, 0.2);
   border-color: var(--bs-primary);
 }

 .product-card-v2:hover::before {
   opacity: 1;
   /* Show the glow on hover */
 }

 .product-card-v2>*,
 .product-card-v2 .card-body {
   position: relative;
   z-index: 2;
   /* Content above glow */
 }

 .product-image-container {
   height: 220px;
   padding: 1rem;
   background-color: var(--bs-body-bg);
   border-radius: 0.75rem 0.75rem 0 0;
   display: flex;
   align-items: center;
   justify-content: center;
 }

 .product-image-container img {
   width: 100%;
   height: 100%;
   object-fit: contain;
   /* 'contain' is better for laptops */
 }

 .product-card-v2 .card-body {
   display: flex;
   flex-direction: column;
   flex-grow: 1;
   padding: 1.25rem;
 }

 .product-card-v2 .card-title {
   font-size: 1.1rem;
   font-weight: 700;
   color: var(--bs-white);
 }

 .product-specs {
   list-style: none;
   padding-left: 0;
   font-size: 0.85rem;
   color: var(--bs-body-color);
   flex-grow: 1;
   /* Pushes price to bottom */
 }

 .product-specs li {
   margin-bottom: 0.25rem;
 }

 .product-price {
   margin-bottom: 0.5rem;
 }

 .product-price .current-price {
   font-size: 1.5rem;
   font-weight: 700;
   color: var(--bs-primary);
 }

 .product-price .old-price {
   font-size: 0.9rem;
   text-decoration: line-through;
   color: var(--bs-body-color);
   margin-left: 0.5rem;
 }

 .product-rating {
   font-size: 0.9rem;
   color: var(--bs-warning);
 }

 .product-buttons .btn {
   font-size: 0.85rem;
   font-weight: 600;
   padding: 0.5rem 0.75rem;
 }

 /* --- Quick View Modal --- */
 .modal-content {
   background: linear-gradient(160deg, var(--bs-light) 0%, #0f1124 100%);
   border: 1px solid var(--bs-border-color);
 }

 .modal-header {
   border-bottom: 1px solid var(--bs-border-color);
 }

 .modal-header .btn-close {
   filter: invert(1) grayscale(100) brightness(200%);
 }

 .modal-body img {
   background-color: var(--bs-body-bg);
   border-radius: 0.5rem;
   padding: 1rem;
 }

 /* ================================== */
 /* ==   8. Footer (ENHANCED)       == */
 /* ================================== */
 .footer {
   background-color: var(--bs-light);
   border-top: 1px solid var(--bs-border-color);
 }

 .footer-links a {
   color: var(--bs-body-color);
   text-decoration: none;
   transition: all 0.3s ease;
 }

 .footer-links a:hover {
   color: var(--bs-primary);
   padding-left: 5px;
 }

 .footer-socials a {
   color: var(--bs-body-color);
   font-size: 1.5rem;
   transition: all 0.3s ease;
 }

 .footer-socials a:hover {
   color: var(--bs-primary);
   transform: scale(1.1);
 }

 .footer-logo {
   font-weight: 700;
   font-size: 1.8rem;
   color: var(--bs-white);
 }

 .footer-bottom {
   background-color: var(--bs-body-bg);
 }

 /* ================================== */
 /* ==   9. Animation (JS)          == */
 /* ================================== */
 .fade-in-section {
   opacity: 0;
   transform: translateY(30px);
   transition: opacity 0.8s ease-out, transform 0.6s ease-out;
 }

 .fade-in-section.is-visible {
   opacity: 1;
   transform: translateY(0);
 }