/* Make html and body take full height */
html, body {
    height: 100%;
    margin: 0;
}

/* Body as a vertical flex container */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
   background-color: #050505;
background-image:
  linear-gradient(rgba(0,0,0,0.55), rgba(0,0,0,0.75)),
  url("/Images/Geekabyte_Background.webp");
background-attachment: fixed;
background-size: cover;
background-repeat: no-repeat;
background-position: center;
}

/* Container takes remaining space above footer */
.container {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-left: auto;
    margin-right: auto;
    width: 1024px;
}

/* Main content expands to push footer down */
main {
    flex: 1;
    text-align: center;
    margin-top: 80px;
    padding-left: 150px;
    padding-right: 150px;
}

/* Footer stays at bottom */
footer {
    background-color: rgba(0, 0, 0, 0.555);
    color: white;
    text-align: center;
    padding: 20px 0;

        /* Make it stretch full width */
        width: 100%;
        position: relative; /* optional, keeps it below content */
        left: 0;
        bottom: 0;
    }


/* Sidebar stays fixed */
#sidebar-menu {
    width: 220px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 20px;
    position: fixed;
    top: 100px;
    left: 0;
    height: calc(100% - 120px);
    overflow-y: auto;
    border-radius: 0 10px 10px 0;
}

/* Sidebar headings */
#sidebar-menu h2 {
    font-size: 22px;
    margin-bottom: 20px;
    text-align: center;
}

/* Sidebar menu list */
#sidebar-menu ul.menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Menu items */
#sidebar-menu .menu-item {
    margin-bottom: 10px;
}

/* Expandable buttons */
#sidebar-menu .expand-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    padding: 8px 0;
}
#sidebar-menu .expand-btn:after {
    content: "▸";
    float: right;
    transition: transform 0.3s;
}

/* Submenu */
#sidebar-menu .submenu {
    list-style: none;
    padding-left: 15px;
    display: none;
}
#sidebar-menu .submenu li {
    padding: 5px 0;
    cursor: pointer;
    font-size: 16px;
    transition: color 0.2s;
}
#sidebar-menu .submenu li:hover {
    color: #00bfff;
}
#sidebar-menu .menu-item.active .submenu {
    display: block;
}
#sidebar-menu .menu-item.active .expand-btn:after {
    transform: rotate(90deg);
}

/* Header logo */
#logo-img {
    width: 200px;
    height: auto;
    filter: brightness(1.3) contrast(1.1);
    animation: flicker 3s infinite;
}

/* Neon image flicker animation */
@keyframes flicker {
    0%, 18%, 22%, 25%, 53%, 57%, 100% {
        opacity: 1;
        filter: brightness(1.3) contrast(1.1);
    }
    19%, 21%, 24%, 54%, 56% {
        opacity: 0.5;
        filter: brightness(0.7) contrast(0.8);
    }
}

/* Headings and text */
h1 {
    font-size: 80px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}
p {
    font-size: 18px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}
a {
    color: white;
    font-family: Arial, Helvetica, sans-serif;
    text-decoration: underline;
}
nav a {
    text-decoration: none;
    font-size: 18px;
    padding-left: 20px;
    padding-right: 20px;
}

/* Social icons */
.fa {
    padding: 20px;
    font-size: 30px;
    width: 50px;
    text-align: center;
    text-decoration: none;
    margin: 5px 2px;
}
.fa:hover {
    opacity: 0.7;
}
.fa-facebook {
    background: #3B5998;
    color: white;
}
.fa-instagram {
    background: #125688;
    color: white;
}
/* Wrap sidebar + main content for proper layout */
.content-wrapper {
    display: flex;
    margin-top: 20px; /* optional spacing below header */
}

/* Main content area next to sidebar */
main#product-container {
    margin-left: 240px; /* space for sidebar */
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

/* Subcategory card style */
.subcategory-card {
    width: 180px;
    height: 180px;
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    cursor: pointer;
    position: relative;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.subcategory-card:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #00bfff;
}
.subcategory-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    border-radius: 10px;
    filter: brightness(0.9);
}
.subcategory-card span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    padding: 14px 10px;
    box-sizing: border-box;

    z-index: 2;

    font-size: 18px;
    font-weight: 700;
    text-align: center;
    color: #fff;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.92),
        rgba(0,0,0,0.55),
        transparent
    );

    text-shadow:
        0 0 4px rgba(0,0,0,0.95),
        0 0 8px rgba(0,191,255,0.35);
}

/* Product card style */
.product-card {
    background: rgba(0,0,0,0.7);
    color: white;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}
.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 0 10px #00bfff;
}
.product-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}
.product-card .overlay {
    padding: 10px;
}

/* === On Sale Badge === */
.promo-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: linear-gradient(135deg, #ff4081, #ff9100);
  color: white;
  font-weight: bold;
  font-size: 0.85rem;
  padding: 6px 10px;
  border-radius: 6px;
  box-shadow: 0 0 8px rgba(255, 64, 129, 0.5);
  animation: pulse-badge 1.5s infinite ease-in-out;
}

@keyframes pulse-badge {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

/* === Promotional Price Styling === */
.product-price {
  font-size: 1.1rem;
  margin-top: 6px;
}

.old-price {
  color: #bbb;
  text-decoration: line-through;
  margin-right: 8px;
  font-size: 0.95rem;
  opacity: 0.8;
}

.new-price {
  color: #ff9100;
  font-weight: bold;
  font-size: 1.2rem;
  text-shadow: 0 0 8px rgba(255, 145, 0, 0.4);
}


/* Make sure footer stretches across entire page */
footer {
    background-color: rgba(0, 0, 0, 0.555);
    color: white;
    text-align: center;
    padding: 20px 0;
    width: 100%;
}
/* ===== Floating Cart Icon ===== */
#floating-cart {
    position: fixed;
    top: 20px;
    right: 25px;
    background: rgba(0, 191, 255, 0.8);
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    padding: 12px 18px;
    border-radius: 50px;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.6);
    transition: all 0.3s ease;
    z-index: 9999;
  }
  
  #floating-cart:hover {
    background: rgba(0, 191, 255, 1);
    transform: scale(1.1);
  }
  
  /* Adjust the count badge inside the icon */
  #floating-cart span {
    background: white;
    color: #00bfff;
    border-radius: 50%;
    padding: 2px 7px;
    margin-left: 6px;
    font-size: 14px;
    font-weight: bold;
  }
 /* ====== Geekabyte Quick View (Final Polished Version) ====== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(6px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    z-index: 2000;
    overflow-y: auto;
    animation: fadeIn 0.3s ease;
    padding: 30px 0;
}

/* Main Modal Container */
.modal-content {
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    border: 1px solid rgba(0, 255, 255, 0.2);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.3);
    border-radius: 12px;
    width: 90%;
    max-width: 900px;
    color: #e6f2f2;
    overflow: hidden;
    animation: fadeInUp 0.3s ease;
}

/* Header (Title + Close Button) */
.modal-details-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 255, 255, 0.05);
    padding: 15px 25px;
    border-bottom: 1px solid rgba(0, 255, 255, 0.15);
}

.modal-details-header h2 {
    font-size: 1.6em;
    color: #00ffff;
    text-shadow: 0 0 4px rgba(0, 255, 255, 0.4);
    margin: 0;
}

.modal-close {
    font-size: 1.8em;
    color: #00ffff;
    cursor: pointer;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.6);
    transition: transform 0.2s ease, color 0.2s ease;
}

.modal-close:hover {
    color: #fff;
    transform: scale(1.15);
}

/* Body Layout */
.modal-body {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}

.modal-image {
    flex: 1 1 45%;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #0f0f0f;
    padding: 25px;
}

.modal-image img {
    max-width: 85%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 8px;
    filter: drop-shadow(0 0 12px rgba(0, 255, 255, 0.25));
}

.modal-details {
    flex: 1 1 55%;
    padding: 30px 40px;
}

.modal-price {
    font-size: 1.3em;
    font-weight: bold;
    color: #00d4ff;
    margin-bottom: 20px;
}

.modal-description {
    color: #b3d9d9;
    line-height: 1.6;
    font-size: 1.05em;
    margin-bottom: 25px;
    max-height: 200px;
    overflow-y: auto;
}

/* Add to Cart Button */
.add-to-cart-modal {
    background: linear-gradient(90deg, #00ffff, #0078d7);
    border: none;
    color: #000;
    font-weight: 600;
    border-radius: 8px;
    padding: 12px 22px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 0 10px rgba(0,255,255,0.4);
}

.add-to-cart-modal:hover {
    background: linear-gradient(90deg, #0078d7, #00ffff);
    transform: scale(1.03);
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 900px) {
    .modal-body {
        flex-direction: column;
    }

    .modal-image, .modal-details {
        flex: 1 1 100%;
        padding: 20px;
    }

    .modal-image img {
        max-height: 250px;
    }

    .modal-details-header {
        padding: 12px 20px;
    }

    .modal-close {
        font-size: 1.5em;
    }
}
.disabled-btn {
  background-color: #aaa !important;
  cursor: not-allowed;
  opacity: 0.7;
}
.disabled-btn:hover {
  background-color: #aaa !important;
}
/* Sidebar Titles */
.sidebar-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #00bcd4;
  font-weight: 700;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 0.3rem;
}

/* Subcategory Styling */
.subcategory {
  cursor: pointer;
  padding: 5px 10px;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease;
  color: #ccc;
}

.subcategory:hover {
  background: rgba(0, 188, 212, 0.2);
  color: #00eaff;
}

/* Optional hover style for expand buttons */
.expand-btn:hover {
  color: #00eaff;
  text-shadow: 0 0 6px #00eaff;
}
/* === Sidebar Visual Enhancements === */

/* Main Sidebar Titles */
.sidebar-title {
  position: relative;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #00eaff;
  font-weight: 700;
  margin-top: 1.4rem;
  margin-bottom: 0.7rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid rgba(0, 234, 255, 0.3);
  text-shadow: 0 0 8px rgba(0, 234, 255, 0.5);
}

/* Subcategory list items */
.subcategory {
  position: relative;
  display: block;
  cursor: pointer;
  padding: 6px 12px 6px 16px;
  border-radius: 6px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
  color: #ccc;
}

/* Left neon accent bar on hover */
.subcategory::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%) scaleY(0);
  width: 3px;
  height: 80%;
  background: #00eaff;
  box-shadow: 0 0 8px #00eaff, 0 0 12px #00eaff;
  border-radius: 3px;
  transition: transform 0.3s ease;
}

/* Hover effects */
.subcategory:hover {
  background: rgba(0, 234, 255, 0.1);
  color: #00eaff;
  transform: translateX(4px);
}
.subcategory:hover::before {
  transform: translateY(-50%) scaleY(1);
}

/* Active state (when user clicks a category) */
.subcategory.active {
  color: #00eaff;
  text-shadow: 0 0 10px #00eaff;
}
.subcategory.active::before {
  transform: translateY(-50%) scaleY(1);
}

/* Expand button styling */
.expand-btn {
  font-weight: 600;
  font-size: 0.95rem;
  color: #ddd;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  background: none;
  border: none;
  outline: none;
  text-align: left;
  width: 100%;
  padding: 6px 0;
}

.expand-btn:hover {
  color: #00eaff;
  text-shadow: 0 0 6px #00eaff;
}

/* Slight glow animation for section titles */
@keyframes pulse-glow {
  0%, 100% { text-shadow: 0 0 5px #00eaff, 0 0 10px #00eaff; }
  50% { text-shadow: 0 0 10px #00eaff, 0 0 20px #00eaff; }
}

.sidebar-title {
  animation: pulse-glow 3s infinite ease-in-out;
}

/* === GEEKABYTE SIDEBAR — FINAL WORKING BORDER RING === */
#sidebar-menu {
  position: fixed;
  top: 100px;
  left: 0;
  width: 220px;
  height: calc(100% - 120px);
  padding: 20px;
  border-radius: 0 12px 12px 0;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
  overflow-y: auto;
  z-index: 10;
}

/* Outer animated glowing border */
#sidebar-menu::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(120deg, #00e0ff, #39ff14, #00e0ff, #39ff14);
  background-size: 300% 300%;
  animation: geekabyteBorderFlow 8s linear infinite, glowPulse 4s ease-in-out infinite alternate;

  /* ✅ Mask: show gradient only on the border area */
  /* Standard syntax */
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;

  /* Vendor prefixes for Safari and Chromium */
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;

  pointer-events: none;
  z-index: 0;
}

/* Ensure menu text and buttons remain clickable above the glow */
#sidebar-menu > * {
  position: relative;
  z-index: 1;
}

/* Animations */
@keyframes geekabyteBorderFlow {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes glowPulse {
  from { filter: brightness(1.2) drop-shadow(0 0 4px #00e0ff); }
  to   { filter: brightness(1.6) drop-shadow(0 0 10px #39ff14); }
}
/* === GEEKABYTE SEARCH BAR HERO STYLE === */
#search-container {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  position: relative;
}

#search-bar {
  width: 60%;
  max-width: 600px;
  padding: 14px 18px;
  font-size: 1.1rem;
  border-radius: 50px;
  border: 2px solid transparent;
  outline: none;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(6px);
  text-align: center;
  box-shadow: 0 0 15px rgba(0, 234, 255, 0.2);
  transition: all 0.3s ease;
}

#search-bar:focus {
  border: 2px solid #00eaff;
  box-shadow: 0 0 20px #00eaff;
}

#search-btn {
  position: absolute;
  right: 21%;
  padding: 10px 16px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #00e0ff, #39ff14);
  color: #000;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(0, 224, 255, 0.6);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

#search-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
}
.btn-checkout {
  background-color: #00ffb2;
  color: #000;
  font-weight: bold;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  padding: 12px 20px;
  margin-top: 20px;
  cursor: pointer;
  transition: background 0.3s;
}

.btn-checkout:hover {
  background-color: #00cc90;
}

/* === Floating WhatsApp Chat Button (Fixed Size) === */
.whatsapp-float {
  position: fixed;
  bottom: 25px;
  right: 25px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 0 15px rgba(37, 211, 102, 0.6);
  transition: all 0.3s ease;
  z-index: 9999;
  overflow: hidden; /* prevent oversized SVG from escaping */
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.8);
}

/* Fix SVG scaling issue */
.whatsapp-float img,
.whatsapp-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  filter: brightness(1.1) drop-shadow(0 0 4px rgba(255, 255, 255, 0.3));
}

/* ============================================================
   GEEKABYTE — FULL RESPONSIVE LAYOUT FIX
   ============================================================ */

/* ===== Large tablets & small laptops ===== */
@media (max-width: 1200px) {

    .container {
        width: 100%;
        padding: 0;
    }

    main {
        padding: 20px;
        margin-top: 40px;
    }
}

/* ===== Tablets (iPad, Samsung Tab, ChromeOS) ===== */
@media (max-width: 992px) {

    /* Sidebar turns into full-width block */
    #sidebar-menu {
        position: relative;
        width: 100%;
        height: auto;
        top: 0;
        left: 0;
        margin-bottom: 20px;
        border-radius: 10px;
    }

    .content-wrapper {
        flex-direction: column;
        margin-top: 10px;
    }

    /* Product grid realigns */
    #product-container {
        margin-left: 0 !important;
        width: 100%;
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    /* Search bar reposition */
    #search-bar {
        width: 80%;
        max-width: none;
    }

    #search-btn {
        right: 10%;
    }
}

/* =====================================================================
   GEEKABYTE — FIXED RESPONSIVE LAYOUT (FINAL)
   ===================================================================== */

/* ===================== MOBILE (≤ 768px) ===================== */
@media (max-width: 768px) {

    /* Fix sidebar pushing content */
    #sidebar-menu {
        width: calc(100% - 20px) !important;
        margin: 0 auto 10px auto !important;
        padding: 15px !important;
        border-radius: 10px !important;
        position: relative !important;
    }

    /* Make submenus collapse/expand properly */
    #sidebar-menu .submenu {
        display: none;
        padding-left: 10px;
    }
    #sidebar-menu .menu-item.active .submenu {
        display: block;
    }

    /* Product grid – ALWAYS 2 columns on mobile */
    #product-container {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 12px !important;
        padding: 10px !important;
        margin: 0 !important;
    }

    .product-card {
        width: 100% !important;
    }
    .product-card img {
        width: 100% !important;
        height: 130px !important;
        object-fit: cover !important;
    }

    /* Search bar fixes */
    #search-container {
        padding: 0 10px !important;
        margin-top: 15px !important;
    }
    #search-bar {
        width: 100% !important;
        font-size: 1rem !important;
    }
    #search-btn {
        right: 18px !important;
    }
}

/* ===================== EXTRA SMALL (≤ 480px) ===================== */
@media (max-width: 480px) {

    /* Product grid – switch to 1 column on VERY small phones */
    #product-container {
        grid-template-columns: 1fr !important;
    }

    .product-card img {
        height: 120px !important;
    }

    #sidebar-menu {
        padding: 12px !important;
    }

    #search-bar {
        width: 95% !important;
    }
    #search-btn {
        right: 12px !important;
    }
}
/* Fullscreen overlay */
.gb-loader-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  color: white;
}

/* Box alignment */
.gb-loader-box {
  text-align: center;
  font-size: 16px;
  font-family: system-ui;
}

/* Robot image with basic bounce */
.gb-basic-bot {
  width: 150px;
  animation: botBounce 1.6s ease-in-out infinite;
  margin-bottom: 10px;
}

@keyframes botBounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* ===== GEEKABYTE MOBILE CUSTOMER-FRIENDLY OVERRIDE ===== */
@media (max-width: 768px) {
  html, body {
    width: 100%;
    overflow-x: hidden;
    background-attachment: scroll;
  }

  .container {
    width: 100% !important;
    max-width: 100% !important;
  }

  .content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  #sidebar-menu {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    width: calc(100% - 24px) !important;
    height: auto !important;
    margin: 12px auto !important;
    padding: 14px !important;
    border-radius: 12px !important;
    max-height: none !important;
  }

  main,
  main#product-container,
  #product-container {
    margin: 0 !important;
    padding: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .product-card,
  .subcategory-card {
    width: 100% !important;
    max-width: 100% !important;
    min-height: auto !important;
  }

  .product-card img {
    height: 220px !important;
    object-fit: contain !important;
    background: #fff;
  }

  .product-card .overlay {
    padding: 14px !important;
  }

  .product-card h3 {
    font-size: 1rem !important;
    line-height: 1.3 !important;
  }

  .product-card p {
    font-size: 0.95rem !important;
    line-height: 1.4 !important;
  }

  .btn {
    width: 100% !important;
    margin-top: 8px !important;
    padding: 12px !important;
    font-size: 1rem !important;
  }

  #search-container {
    width: 100% !important;
    padding: 12px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  #search-bar {
    width: 100% !important;
    padding: 14px 55px 14px 14px !important;
    font-size: 1rem !important;
    box-sizing: border-box !important;
  }

  #search-btn {
    right: 20px !important;
  }

  #floating-cart {
    top: auto !important;
    bottom: 95px !important;
    right: 18px !important;
    font-size: 15px !important;
    padding: 10px 14px !important;
  }

  .whatsapp-float {
    bottom: 24px !important;
    right: 18px !important;
    width: 56px !important;
    height: 56px !important;
  }

  footer {
    font-size: 0.85rem !important;
    padding: 14px 8px !important;
  }
}

@media (max-width: 768px) {
  body {
    background-color: #050505 !important;
    background-image:
      linear-gradient(rgba(0,0,0,0.65), rgba(0,0,0,0.85)),
      url("/Images/Geekabyte_Background.webp") !important;
    background-attachment: scroll !important;
    background-size: cover !important;
    background-position: center top !important;
    background-repeat: no-repeat !important;
  }

  main#product-container {
    background: rgba(0, 0, 0, 0.35);
    border-radius: 12px;
  }
}

/* ===== Product Toolbar ===== */
.product-toolbar {
    grid-column: 1 / -1;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;

    width: auto;
    max-width: 520px;
    margin: 0 auto 25px auto;

    padding: 12px 20px;

    background: rgba(0,0,0,0.65);
    border: 1px solid rgba(0,255,255,0.35);
    border-radius: 14px;

    backdrop-filter: blur(8px);
    box-shadow: 0 0 15px rgba(0,255,255,0.15);
}

/* Dropdown */
#sort-products {
    background: rgba(0,0,0,0.9);
    color: #00ffff;
    border: 1px solid #00ffff;
    border-radius: 10px;
    padding: 10px 14px;
    font-size: 15px;
    font-weight: bold;
    outline: none;
    cursor: pointer;
}

/* Sale checkbox label */
/* Sale checkbox label */
.sale-filter {
    display: flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;

    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;
}

/* Hide real checkbox but keep it clickable */
.sale-filter input[type="checkbox"] {
    display: none;
}

/* Fake checkbox */
.sale-filter::before {
    content: "";
    width: 20px;
    height: 20px;

    border: 2px solid #00ffff;
    border-radius: 4px;
    background: rgba(0,0,0,0.9);

    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
}

/* Checked fake checkbox */
.sale-filter:has(input[type="checkbox"]:checked)::before {
    content: "✔";
    background: #00ffff;
    color: black;
    font-size: 14px;
    font-weight: bold;
    box-shadow: 0 0 10px rgba(0,255,255,0.7);
}

@media (max-width: 768px) {
  .product-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .product-toolbar select,
  .sale-filter {
    width: 100%;
  }
}


