        :root {
            --primary-black: #000000;
            --primary-white: #FFFFFF;
            --primary-green: #4CAF50;
            --light-green: #8BC34A;
            --dark-green: #2E7D32;
            --accent-green: #388E3C;
            --gray: #F5F5F5;
            --dark-gray: #333333;
            --medium-gray: #888888;
            --light-gray: #E0E0E0;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }
        
        body {
            background-color: var(--primary-white);
            color: var(--primary-black);
            transition: background 0.3s, color 0.3s;
        }

        /* Dark mode styles */

        body {
            line-height: 1.6;
            overflow-x: hidden;
            padding-bottom: 0px; /* Add padding to prevent content from being hidden by floating icon */
        }
        /* Call Floating Button */
        .call-float {
            position: fixed;
            bottom: 100px; /* Places it above the WhatsApp button */
            left: 30px;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #1565c0; /* Blue theme for call */
            color: white;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            animation: pulse 2s infinite;
            transition: all 0.3s ease;
        }

        .call-float:hover {
            background-color: #0d47a1;
            transform: scale(1.1);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
        }

        .call-float i {
            font-size: 28px;
        }

        .call-text {
            position: absolute;
            top: -40px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 14px;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .call-float:hover .call-text {
            opacity: 1;
        }

        /* Mobile adjustment */
        @media (max-width: 768px) {
        .call-float {
            bottom: 90px;
            left: 20px;
            width: 50px;
            height: 50px;
        }

        .call-float i {
            font-size: 22px;
        }

        .call-text {
            font-size: 12px;
            top: -35px;
        }
        }

        /* WhatsApp Floating Button */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            left: 30px;
            z-index: 1000;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background-color: #25D366;
            color: white;
            text-decoration: none;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
            animation: pulse 2s infinite;
            transition: all 0.3s ease;
        }
        
        .whatsapp-float:hover {
            background-color: #128C7E;
            transform: scale(1.1);
            box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
        }
        
        .whatsapp-float i {
            font-size: 36px;
        }
        
        .whatsapp-text {
            position: absolute;
            top: -40px;
            left: 50%;
            transform: translateX(-50%);
            background: rgba(0, 0, 0, 0.8);
            color: white;
            padding: 5px 10px;
            border-radius: 4px;
            font-size: 14px;
            white-space: nowrap;
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        
        .whatsapp-float:hover .whatsapp-text {
            opacity: 1;
        }
        
        /* Header Styles */
        header {
            background-color: var(--primary-black);
            color: var(--primary-white);
            padding: 1rem 5%;
            display: flex;
            justify-content: space-between;
            align-items: center;
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }
        
        .logo-icon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;   /* circle size */
            height: 40px;
            border-radius: 50%;
            background-color: var(--primary-green);
            overflow: hidden;
            transition: all 0.3s ease; /* smooth hover */
        }

        .logo-icon img {
            width: 150%;
            height: auto;
            transition: transform 0.3s ease;
        }

        .logo-icon:hover {
            background-color: var(--dark-green); /* darker on hover */
            transform: scale(1.1); /* slightly larger */
            box-shadow: 0 4px 12px rgba(0,0,0,0.2); /* soft glow */
        }

        .logo-icon:hover img {
            transform: scale(1.25); /* zoom logo a bit */
        }


        .logo {
        display: flex;
        align-items: center;
        gap: 0.6rem;        /* spacing between icon and text */
        text-decoration: none;
        cursor: pointer;
        }

        .logo-text {
        display: flex;
        flex-direction: column;  /* text stacked vertically */
        gap: -0.1rem;          /* small spacing between BuildMate and Kenya */
        line-height: 0.8;
        text-transform: uppercase;
        }


        .logo-main {
            font-family: 'Raleway', sans-serif; /* Use Raleway for "BuildMate" */
            font-size: 1rem; /* Larger font size for "BuildMate" */
            font-weight: 800;
            color: var(--primary-green); /* Green color for "BuildMate" */
            letter-spacing: 0.5px;
        }

        .logo-sub {
            font-family: 'Playfair Display', serif; /* Use Playfair Display for "Kenya" */
            font-size: 0.7rem; /* Smaller font size for "Kenya" */
            font-weight: 400;
            color: var(--primary-white); /* White color for "Kenya" */
            letter-spacing: 0.85px;
            margin-top: -2px; /* Adjust spacing between "BuildMate" and "Kenya" */
            text-align: center;
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 1.0rem;
        }
        
        nav ul li a {
            color: var(--primary-white);
            text-decoration: none;
            font-weight: 500;
            transition: color 0.3s;
            position: relative;
        }
        
        nav ul li a:hover {
            color: var(--primary-green);
        }
        
        nav ul li a::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-green);
            transition: width 0.3s;
        }
        
        nav ul li a:hover::after {
            width: 100%;
        }
        
        .header-buttons {
            display: flex;
            align-items: center;
            gap: 0.2rem;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--primary-green);
            color: var(--primary-white);
            padding: 0.6rem 1.2rem;
            border: none;
            border-radius: 4px;
            font-size: 0.9rem;
            font-weight: 600;
            text-decoration: none;
            cursor: pointer;
            transition: all 0.3s;
        }
        
        .btn:hover {
            background-color: var(--dark-green);
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        }
        
        .btn-outline {
            background: transparent;
            border: 2px solid var(--primary-green);
            color: var(--primary-green);
        }
        
        .btn-outline:hover {
            background-color: var(--primary-green);
            color: var(--primary-white);
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            color: var(--primary-white);
            font-size: 1.0rem;
            cursor: pointer;
        }
        
        .cart-icon {
            position: relative;
            cursor: pointer;
        }
        
        .cart-count {
            position: absolute;
            top: -8px;
            right: -8px;
            background-color: var(--primary-green);
            color: var(--primary-white);
            border-radius: 50%;
            width: 20px;
            height: 20px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 0.75rem;
            font-weight: bold;
        }
        
        /* Center and bold all main section headers */
.section-title h2,
.section-title h3,
.section-title h4,
.section-title p,
.category-title,
.product-title,
.category-tabs,
.hot-deals-badge,
.section-title .text-center h2,
.section-title .text-center h3,
.section-title .text-center h4 {
  text-align: center !important;
  font-weight: bold !important;
  font-weight: 700 !important;
}

/* Center the "Hot Deals of the Week" and "Our Products" sections */
#hot-deals-section h2,
#our-products-section h2,
#our-services-section h2,
#get-in-touch-section h2 {
  text-align: center !important;
  font-weight: bold !important;
  font-weight: 700 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Center category titles */
.category-title {
  text-align: center !important;
  font-weight: bold !important;
  font-weight: 700 !important;
  display: block !important;
  width: 100% !important;
}

/* Center product titles */
.product-title {
  text-align: center !important;
  font-weight: bold !important;
  font-weight: 600 !important;
  margin: 0 auto !important;
}

/* Center hot deals badges */
.hot-deals-badge {
  display: block !important;
  margin: 0 auto !important;
  text-align: center !important;
}

/* Center weekly hot deals header */
.weekly-hot-deals .section-title h2,
.weekly-hot-deals .section-title p {
  text-align: center !important;
  font-weight: bold !important;
  font-weight: 700 !important;
}

/* Center service section headers */
.service-section h3,
.service-section .service-title {
  text-align: center !important;
  font-weight: bold !important;
  font-weight: 700 !important;
}

/* Center the "Quality Materials, Reliable Services" header */
.hero-section h1,
.hero-section h2 {
  text-align: center !important;
  font-weight: bold !important;
  font-weight: 700 !important;
}

/* Center the hot deals cards headers */
.hot-deals-card h3 {
  text-align: center !important;
  font-weight: bold !important;
  font-weight: 600 !important;
}

/* Center the "Get In Touch" section headers */
.contact-section h2,
.contact-section h3 {
  text-align: center !important;
  font-weight: bold !important;
  font-weight: 700 !important;
}

/* Make sure all headers maintain center alignment on mobile */
@media (max-width: 768px) {
  .section-title h2,
  .section-title h3,
  .section-title h4,
  .category-title,
  .product-title {
    text-align: center !important;
  }
}
        /* Hero Section */
        .hero {
            background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80') center/cover;
            color: var(--primary-white);
            text-align: center;
            padding: 8rem 2rem;
            position: relative;
        }
        
        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 1rem;
            text-transform: uppercase;
            animation: fadeInDown 1s ease;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 2rem;
            animation: fadeInUp 1s ease 0.3s forwards;
            opacity: 0;
        }
        
        .hero-btns {
            animation: fadeInUp 1s ease 0.6s forwards;
            opacity: 0;
        }

        /* Breadcrumb Styling */
        .breadcrumb {
            margin-bottom: 20px;
            padding: 10px 0;
            background: #f8f9fa;
            border-radius: 4px;
        }

        .breadcrumb ol {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            gap: 8px;
            flex-wrap: wrap;
        }

        .breadcrumb li:not(:last-child)::after {
            content: ">";
            margin-left: 8px;
            color: #666;
        }

        .breadcrumb a {
            color: #2c5282;
            text-decoration: none;
            font-weight: 500;
        }

        .breadcrumb a:hover {
            text-decoration: underline;
        }

        .breadcrumb li[aria-current="page"] {
            color: #666;
            font-weight: bold;
        }
        
      /* Weekly Hot Deals Section - Complete CSS */
.weekly-hot-deals {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.weekly-hot-deals .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.weekly-hot-deals .section-title h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}

.weekly-hot-deals .section-title p {
  color: #666;
  font-size: 16px;
  margin-bottom: 5px;
}

.weekly-hot-deals .last-updated {
  color: #0d6efd;
  font-size: 14px;
  font-style: italic;
}

/* Single Visible Category Tab */
.visible-category-tab-container {
  display: flex;
  justify-content: center;
  margin: 25px 0 20px;
  position: relative;
  z-index: 10;
}

.visible-category-tab {
  background: #0d6efd;
  color: white;
  border: none;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 3px 10px rgba(13, 110, 253, 0.3);
  transition: all 0.3s ease;
}

.visible-category-tab:hover {
  background: #0b5ed7;
  transform: translateY(-1px);
}

.category-dropdown-icon {
  transition: transform 0.3s ease;
}

.category-dropdown-icon.open {
  transform: rotate(180deg);
}

/* Hidden Category Tabs Menu */
.hidden-category-tabs {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
  padding: 15px;
  display: none;
  flex-direction: column;
  gap: 8px;
  min-width: 200px;
  z-index: 100;
  margin-top: 5px;
}

.hidden-category-tabs.active {
  display: flex;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateX(-50%) translateY(-5px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

.hidden-category-tabs .category-tab {
  background: #f8f9fa;
  border: none;
  padding: 8px 15px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  color: #495057;
  text-align: left;
  transition: all 0.2s ease;
}

.hidden-category-tabs .category-tab:hover, 
.hidden-category-tabs .category-tab.active {
  background: #e9ecef;
  color: #0d6efd;
  transform: translateX(3px);
}

/* Category Content */
.category-content {
  display: none;
  padding: 25px 0;
}

.category-content.active {
  display: block;
  animation: fadeInContent 0.5s ease;
}

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

.category-title {
  font-size: 22px;
  color: #333;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.hot-deals-badge {
  background: #dc3545;
  color: white;
  font-size: 12px;
  padding: 2px 8px;
  border-radius: 12px;
  font-weight: 600;
}

/* Products Scroll Row */
.products-scroll-row {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 10px 15px;
  gap: 15px;
  scrollbar-width: none; /* Firefox */
}

.products-scroll-row::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Smaller Product Card for Hot Deals */
.hot-deal-product-card {
  flex: 0 0 auto;
  width: 220px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.hot-deal-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.hot-deal-product-card .product-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  padding: 10px;
}

.hot-deal-product-card .product-img img {
  max-width: 85%;
  max-height: 85%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.hot-deal-product-card:hover .product-img img {
  transform: scale(1.05);
}

.hot-deal-product-card .product-info {
  padding: 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.hot-deal-product-card .product-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #212529;
  height: 36px;
  overflow: hidden;
  line-height: 1.3;
}

.hot-deal-product-card .product-category {
  font-size: 12px;
  color: #6c757d;
  margin: 0 0 6px;
}

.hot-deal-product-card .product-price {
  font-weight: 700;
  color: #dc3545;
  font-size: 16px;
  margin: 5px 0;
}

.hot-deal-product-card .original-price {
  font-size: 13px;
  color: #6c757d;
  text-decoration: line-through;
  margin-right: 8px;
}

.hot-deal-product-card .discount {
  background: #28a745;
  color: white;
  font-size: 12px;
  padding: 1px 6px;
  border-radius: 4px;
  display: inline-block;
}

.hot-deal-product-card .product-link {
  display: inline-block;
  background-color: #0d6efd;
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 13px;
  margin-top: auto;
  text-align: center;
  transition: background-color 0.3s ease;
}

.hot-deal-product-card .product-link:hover {
  background-color: #0b5ed7;
  color: white;
}

/* Hot Badge */
.hot-badge {
  position: absolute;
  top: 5px;
  right: 5px;
  background: #dc3545;
  color: white;
  font-weight: bold;
  font-size: 10px;
  padding: 2px 5px;
  border-radius: 3px;
}

/* Carousel Controls */
.carousel-controls {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 25px;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background: #0d6efd;
  color: white;
  border-color: #0d6efd;
}

.carousel-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* View All Button */
.btn-view-all {
  display: inline-block;
  background-color: #0d6efd;
  color: white;
  text-decoration: none;
  padding: 8px 25px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-view-all:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
}

/* Loading States */
.loading-spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 200px;
}

.spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(0, 0, 0, 0.1);
  border-radius: 50%;
  border-top-color: #0d6efd;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite linear;
  border-radius: 4px;
  margin-bottom: 8px;
  min-height: 16px;
}

.skeleton-card {
  opacity: 0.8;
}

.skeleton-img {
  height: 200px;
  width: 100%;
}

.skeleton-title {
  height: 20px;
  width: 80%;
}

.skeleton-category {
  height: 16px;
  width: 60%;
  margin-top: 8px;
}

.skeleton-price {
  height: 24px;
  width: 50%;
  margin-top: 12px;
}

.skeleton-button {
  height: 36px;
  width: 70%;
  margin-top: 16px;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Error State */
.error-message {
  text-align: center;
  padding: 30px;
  color: #dc3545;
  background: #f8d7da;
  border-radius: 8px;
  margin: 20px 0;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .weekly-hot-deals .section-title h2 {
    font-size: 24px;
  }
  
  .visible-category-tab {
    padding: 8px 20px;
    font-size: 15px;
  }
  
  .hot-deal-product-card {
    width: 180px;
  }
  
  .hot-deal-product-card .product-img {
    height: 100px;
  }
  
  .hot-deal-product-card .product-title {
    font-size: 13px;
    height: 32px;
  }
  
  .carousel-btn {
    width: 36px;
    height: 36px;
  }
  
  .hidden-category-tabs {
    min-width: 180px;
  }
}

@media (max-width: 480px) {
  .visible-category-tab {
    padding: 8px 15px;
    font-size: 14px;
  }
  
  .category-dropdown-icon {
    font-size: 14px;
  }
  
  .hot-deal-product-card {
    width: 150px;
  }
  
  .hot-deal-product-card .product-img {
    height: 90px;
  }
  
  .hot-deal-product-card .product-title {
    font-size: 12px;
    height: 30px;
  }
  
  .hot-deal-product-card .product-category {
    font-size: 11px;
  }
  
  .hot-deal-product-card .product-price {
    font-size: 14px;
  }
  
  .hot-deal-product-card .product-link {
    padding: 4px 8px;
    font-size: 12px;
  }
  
  .carousel-controls {
    margin-top: 20px;
  }
}

/* Add these styles to your CSS */
.original-price {
  font-size: 13px;
  color: #6c757d;
  text-decoration: line-through;
  margin-right: 8px;
}

.current-price {
  font-weight: 700;
  color: #dc3545;
  margin-right: 5px;
}

.discount-badge {
  background: #28a745;
  color: white;
  font-size: 12px;
  padding: 1px 6px;
  border-radius: 4px;
  display: inline-block;
  vertical-align: middle;
}

/* For mobile responsiveness */
@media (max-width: 480px) {
  .original-price {
    font-size: 11px;
    margin-right: 4px;
  }
  
  .current-price {
    font-size: 14px;
  }
  
  .discount-badge {
    font-size: 10px;
    padding: 0px 4px;
  }
}

/* Section Styling */
.section {
    padding: 1rem 1%;
}

        /* Services Section */
        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 2rem;
        }
        
        .service-card {
            background-color: var(--primary-white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }
        
        .service-card:hover {
            transform: translateY(-10px);
        }
        
        .service-icon {
            background-color: var(--primary-green);
            height: 80px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .service-icon i {
            font-size: 2.5rem;
            color: var(--primary-white);
        }
        
        .service-content {
            padding: 1.5rem;
        }
        
        .service-content h3 {
            font-size: 1.5rem;
            margin-bottom: 1rem;
            color: var(--primary-black);
        }
        
        .service-content p {
            color: var(--dark-gray);
            margin-bottom: 1.5rem;
        }
        
        /* Products Section */
        .products-section {
            padding: 2rem 1rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .section-title {
            text-align: center;
            margin-bottom: 2rem;
            animation: fadeInUp 0.6s ease;
        }

        .section-title h2 {
            font-size: 2rem;
            color: var(--primary-black);
            margin-bottom: 0.5rem;
        }

        .section-title p {
            color: var(--medium-gray);
            font-size: 1rem;
        }

        /* Product Grid */
        .products-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 1.5rem;
            padding: 0 1rem;
        }

        .product-card {
            background: var(--primary-white);
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
        }

        .product-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.1);
        }

        .product-image {
            height: 200px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background: var(--gray);
        }

        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.3s;
        }

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

        .product-info {
            padding: 1.5rem;
        }

        .product-name {
            font-size: 1.1rem;
            font-weight: 600;
            color: var(--primary-black);
            margin-bottom: 0.5rem;
            height: auto;
            min-height: auto;
        }

        .product-category {
            font-size: 0.9rem;
            color: var(--medium-gray);
            margin-bottom: 0.5rem;
        }

        .product-price {
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--primary-green);
            margin-bottom: 1rem;
        }

        .product-actions {
            display: flex;
            gap: 0.5rem;
        }

        .btn {
            padding: 0.6rem 1rem;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 600;
            text-align: center;
            cursor: pointer;
            border: none;
            font-size: 0.9rem;
            transition: all 0.2s;
            flex: 1;
        }

        .btn-primary {
            background-color: var(--primary-green);
            color: var(--primary-white);
        }

        .btn-primary:hover {
            background-color: var(--dark-green);
        }

        .btn-outline {
            background-color: transparent;
            color: var(--primary-green);
            border: 1px solid var(--primary-green);
        }

        .btn-outline:hover {
            background-color: var(--primary-green);
            color: var(--primary-white);
        }

        /* Loading and Error States */
        .loading-state {
            text-align: center;
            padding: 3rem;
            color: var(--medium-gray);
        }

        .error-state {
            text-align: center;
            padding: 3rem;
            color: #dc3545;
            background: #f8d7da;
            border-radius: 8px;
            margin: 20px 0;
        }

        /* Skeleton Loading */
        .skeleton {
            background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
            background-size: 200% 100%;
            animation: skeleton-loading 1.5s infinite linear;
            border-radius: 4px;
            margin-bottom: 8px;
            min-height: 16px;
        }

        .skeleton-card {
            opacity: 0.8;
        }

        .skeleton-img {
            height: 200px;
            width: 100%;
        }

        .skeleton-title {
            height: 20px;
            width: 80%;
        }

        .skeleton-category {
            height: 16px;
            width: 60%;
            margin-top: 8px;
        }

        .skeleton-price {
            height: 24px;
            width: 50%;
            margin-top: 12px;
        }

        .skeleton-button {
            height: 36px;
            width: 70%;
            margin-top: 16px;
        }

        @keyframes skeleton-loading {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }

        /* Call Floating Button */
        .call-float {
            position: fixed;
            bottom: 100px; /* Places it above the WhatsApp button */
            right: 20px;
            background: #25D366; /* WhatsApp green */
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1000;
            text-decoration: none;
            transition: all 0.3s;
        }

        .call-float:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 16px rgba(0,0,0,0.2);
        }

        /* WhatsApp Floating Button */
        .whatsapp-float {
            position: fixed;
            bottom: 30px;
            right: 20px;
            background: #25D366; /* WhatsApp green */
            color: white;
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1000;
            text-decoration: none;
            transition: all 0.3s;
        }

        .whatsapp-float:hover {
            transform: scale(1.1);
            box-shadow: 0 6px 16px rgba(0,0,0,0.2);
        }

        /* Cart Overlay */
        #cart-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100vw;
            height: 100vh;
            background: rgba(0,0,0,0.35);
            z-index: 99999;
            align-items: center;
            justify-content: center;
        }

        #cart-modal {
            background: #fff;
            max-width: 95vw;
            width: 400px;
            max-height: 80vh;
            border-radius: 10px;
            box-shadow: 0 8px 32px rgba(0,0,0,0.18);
            position: relative;
            padding: 2rem 1.5rem;
            display: flex;
            flex-direction: column;
        }

        /* Custom scrollbar for cart items */
        #cart-items-list::-webkit-scrollbar {
            width: 8px;
        }

        #cart-items-list::-webkit-scrollbar-track {
            background: #f1f1f1;
            border-radius: 4px;
        }

        #cart-items-list::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 4px;
        }

        #cart-items-list::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

        /* Responsive cart modal */
        @media (max-width: 480px) {
            #cart-modal {
                width: 95vw !important;
                max-height: 90vh;
            }

            #cart-items-list {
                max-height: calc(90vh - 180px) !important;
            }
        }

        /* Mobile-first responsive design improvements */
        /* Base styles for mobile */
        body {
            font-size: 16px; /* Ensure readable font size on mobile */
        }

        /* Header improvements */
        header {
            padding: 0.8rem 1rem;
        }

        .logo-icon img {
            height: 40px;
            width: auto;
        }

        .logo-text {
            display: none; /* Hide text logo on mobile to save space */
        }

        .nav-menu-toggle {
            display: block;
            font-size: 1.5rem;
            padding: 0.5rem;
        }

        /* Products section improvements */
        .products-section {
            padding: 1rem;
        }

        .section-title h2 {
            font-size: 1.5rem;
        }

        .products-grid {
            grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
            gap: 1rem;
            padding: 0 1rem;
        }

        .product-card {
            min-width: 0;
            margin: 0;
        }

        .product-image {
            height: 120px;
            min-height: 120px;
        }

        .product-image img {
            object-fit: contain;
        }

        .product-info {
            padding: 0.8rem;
        }

        .product-name {
            font-size: 0.9rem;
            margin-bottom: 0.3rem;
            height: auto;
            min-height: auto;
        }

        .product-category {
            font-size: 0.8rem;
            margin-bottom: 0.3rem;
        }

        .product-price {
            font-size: 1rem;
            font-weight: bold;
            margin-bottom: 0.5rem;
        }

        .product-actions {
            flex-direction: column;
            gap: 0.3rem;
        }

        .btn {
            padding: 0.5rem;
            font-size: 0.8rem;
        }

        /* Touch target improvements */
        a, button, .product-card, .hot-deal-product-card, .visible-category-tab, .nav-subcategories a {
            min-height: 44px;
            min-width: 44px;
        }

        /* Cart improvements */
        .cart-icon {
            padding: 0.5rem;
        }

        .cart-count {
            width: 18px;
            height: 18px;
            font-size: 0.7rem;
        }

        /* Form improvements */
        input, select, textarea {
            min-height: 44px;
            padding: 0.8rem;
            font-size: 1rem;
        }

        /* Animations */
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

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

        @keyframes slideInLeft {
            from {
                opacity: 0;
                transform: translateX(-50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        @keyframes slideInRight {
            from {
                opacity: 0;
                transform: translateX(50px);
            }
            to {
                opacity: 1;
                transform: translateX(0);
            }
        }

        .fade-in {
            animation: fadeIn 0.6s ease forwards;
        }

        .slide-in-left {
            animation: slideInLeft 0.6s ease forwards;
        }

        .slide-in-right {
            animation: slideInRight 0.6s ease forwards;
        }

        .animate-on-scroll {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .animate-on-scroll.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Media queries for specific screen sizes */
        @media (max-width: 480px) {
            body {
                font-size: 15px;
            }

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

            .section-title h2 {
                font-size: 1.4rem;
            }

            .btn {
                padding: 0.5rem 0.8rem;
                font-size: 0.8rem;
            }
        }

        /* Landscape mobile improvements */
        @media (max-height: 500px) and (orientation: landscape) {
            .section-title h2 {
                font-size: 1.3rem;
            }

            .product-image {
                height: 100px;
            }
        }

        /* Ensure proper spacing on mobile */
        * {
            box-sizing: border-box;
        }

        /* Improve accessibility for mobile */
        .focusable:focus {
            outline: 2px solid var(--primary-green);
            outline-offset: 2px;
        }

        /* Improve mobile performance */
        img {
            max-width: 100%;
            height: auto;
        }

        /* Mobile-specific utility classes */
        .mobile-only {
            display: block;
        }

        .Desktop-only {
            display: none;
        }

        @media (min-width: 768px) {
            .mobile-only {
                display: none;
            }

            .desktop-only {
                display: block;
            }
        }

/* Ensure product section doesn't block dropdown */
.category-content-container {
  position: relative;
  z-index: 1; /* Lower than dropdown */
}

/* You May Also Like Section - Scoped CSS */
.you-may-also-like {
  background-color: #f8f9fa;
  padding: 60px 0;
}

.you-may-also-like .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.you-may-also-like .section-title h2 {
  font-size: 28px;
  color: #333;
  margin-bottom: 10px;
  font-weight: 600;
}

.you-may-also-like .section-title p {
  color: #666;
  font-size: 16px;
  margin-bottom: 0;
}

/* Scroll Container */
.scroll-container {
  position: relative;
  overflow: hidden;
  margin: 25px 0;
}

/* Horizontal Scroll Row */
.product-scroll-row {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  padding: 10px 15px;
  gap: 15px;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

/* Smaller Product Card */
.scroll-product-card {
  flex: 0 0 220px;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  scroll-snap-align: start;
  min-width: 220px; /* Ensure minimum width */
}

.scroll-product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}

.scroll-product-card .product-img {
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f8f9fa;
  padding: 10px;
}

.scroll-product-card .product-img img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.scroll-product-card:hover .product-img img {
  transform: scale(1.03);
}

.scroll-product-card .product-info {
  padding: 12px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.scroll-product-card .product-title {
  font-size: 14px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #212529;
  height: 36px;
  overflow: hidden;
  line-height: 1.3;
}

.scroll-product-card .product-category {
  font-size: 12px;
  color: #6c757d;
  margin: 0 0 6px;
}

.scroll-product-card .product-price {
  font-weight: 700;
  color: #dc3545;
  font-size: 16px;
  margin: 5px 0;
}

.scroll-product-card .product-link {
  display: inline-block;
  background-color: #0d6efd;
  color: white;
  text-decoration: none;
  padding: 5px 10px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 13px;
  margin-top: auto;
  text-align: center;
  transition: background-color 0.3s ease;
}

.scroll-product-card .product-link:hover {
  background-color: #0b5ed7;
  color: white;
}

/* Scroll Controls */
.scroll-controls {
  display: flex;
  justify-content: space-between;
  margin-top: -40px;
  padding: 0 10px;
  position: relative;
  z-index: 10;
}

.scroll-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: white;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.scroll-btn:hover {
  background: #0d6efd;
  color: white;
  border-color: #0d6efd;
}

.scroll-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* View All Button */
.btn-view-all {
  display: inline-block;
  background-color: #0d6efd;
  color: white;
  text-decoration: none;
  padding: 8px 25px;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-view-all:hover {
  background-color: #0b5ed7;
  transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .you-may-also-like .section-title h2 {
    font-size: 24px;
  }
  
  .scroll-product-card {
    width: 180px;
  }
  
  .scroll-product-card .product-img {
    height: 100px;
  }
  
  .scroll-product-card .product-title {
    font-size: 13px;
    height: 32px;
  }
  
  .scroll-btn {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .scroll-product-card {
    width: 150px;
  }
  
  .scroll-product-card .product-img {
    height: 90px;
  }
  
  .scroll-product-card .product-title {
    font-size: 12px;
    height: 30px;
  }
  
  .scroll-product-card .product-category {
    font-size: 11px;
  }
  
  .scroll-product-card .product-price {
    font-size: 14px;
  }
  
  .scroll-product-card .product-link {
    padding: 4px 8px;
    font-size: 12px;
  }
}

/* Mobile-first responsive design */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .contact-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .service-card {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .product-card {
        width: 100%;
        min-width: auto;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .breadcrumb ol {
        flex-direction: column;
        gap: 4px;
    }
    
    .breadcrumb li:not(:last-child)::after {
        content: "";
        display: block;
    }
}
/* Login/Register Modals */
.modal {
    display: none;
    position: fixed;
    top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.7);
            z-index: 1001;
            justify-content: center;
            align-items: center;
        }
        
        .modal.active {
            display: flex;
        }
        
        .modal-content {
            background-color: white;
            border-radius: 10px;
            width: 90%;
            max-width: 400px;
            box-shadow: 0 10px 30px rgba(0,0,0,0.3);
            overflow: hidden;
            animation: modalOpen 0.4s ease;
        }
        
        .modal-header {
            background-color: var(--primary-green);
            color: white;
            padding: 1.5rem;
            text-align: center;
            position: relative;
        }
        
        .close-modal {
            position: absolute;
            top: 1rem;
            right: 1rem;
            background: none;
            border: none;
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
        }
        
        .modal-body {
            padding: 2rem;
        }
        
        .form-group {
            margin-bottom: 1.5rem;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 0.5rem;
            font-weight: 600;
            color: var(--dark-gray);
        }
        
        .form-group input {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1rem;
        }
        
        .form-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: 1.5rem;
        }
        
        .switch-form {
            background: none;
            border: none;
            color: var(--primary-green);
            cursor: pointer;
            text-decoration: underline;
        }
        
        /* Checkout System */
        .checkout-container {
            display: none;
            padding: 2rem;
        }
        
        .checkout-container.active {
            display: block;
        }
        
        .checkout-steps {
            display: flex;
            justify-content: space-between;
            margin-bottom: 2rem;
            position: relative;
        }
        
        .checkout-steps::before {
            content: '';
            position: absolute;
            top: 20px;
            left: 0;
            right: 0;
            height: 2px;
            background-color: #ddd;
            z-index: 1;
        }
        
        .step {
            position: relative;
            z-index: 2;
            text-align: center;
            width: 30%;
        }
        
        .step-icon {
            width: 40px;
            height: 40px;
            background-color: #ddd;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 0.5rem;
            color: var(--dark-gray);
            font-weight: bold;
        }
        
        .step.active .step-icon {
            background-color: var(--primary-green);
            color: white;
        }
        
        .step-title {
            font-size: 0.9rem;
            font-weight: 600;
        }
        
        .checkout-form {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
        }
        
        .full-width {
            grid-column: 1 / -1;
        }
        
        .order-summary {
            background-color: var(--gray);
            border-radius: 8px;
            padding: 1.5rem;
            margin-top: 2rem;
        }
        
        .summary-title {
            font-size: 1.2rem;
            margin-bottom: 1rem;
            padding-bottom: 0.5rem;
            border-bottom: 1px solid #ddd;
        }
        
        .summary-item {
            display: flex;
            justify-content: space-between;
            margin-bottom: 0.8rem;
        }
        
        .summary-total {
            display: flex;
            justify-content: space-between;
            font-weight: bold;
            font-size: 1.2rem;
            margin-top: 1rem;
            padding-top: 1rem;
            border-top: 1px solid #ddd;
        }

        /* Sticky Search Bar */
.search-container {
    position: sticky;
    top: 80px; /* Adjust based on your header height */
    z-index: 99;
    background: linear-gradient(135deg, hwb(200 95% 4%) 60%, lab(97.03% 0.67 0.22) 100%);
    padding: 1rem 5%;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Adjust header z-index to ensure search bar stays below it */
header {
    z-index: 100;
}

/* Adjust the products section padding */
.products-section {
    padding-top: 0; /* Remove top padding since search bar is now sticky */
}
        
        /* Contact Section */
        .contact-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 3rem;
        }
        
        .contact-form {
            background-color: var(--primary-white);
            padding: 1rem;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }
        
        .form-group textarea {
            width: 100%;
            padding: 0.8rem;
            border: 1px solid #ddd;
            border-radius: 4px;
            font-size: 1rem;
            min-height: 150px;
            resize: vertical;
        }
        
        .name-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1rem;
        }
        
        .contact-info {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }
        
        .contact-method {
            display: flex;
            align-items: flex-start;
            gap: 1rem;
        }
        
        .contact-icon {
            background-color: var(--primary-green);
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--primary-white);
            font-size: 1.2rem;
        }
        
        .contact-details h3 {
            font-size: 1.2rem;
            margin-bottom: 0.5rem;
        }
        
        .location-map {
            height: 300px;
            background-color: #eee;
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--dark-gray);
            font-weight: bold;
        }
        
        /* Footer */
        footer {
            background-color: var(--primary-black);
            color: var(--primary-white);
            padding: 4rem 5% 2rem;
        }
        
        .footer-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
            margin-bottom: 3rem;
        }
        
        .footer-section h3 {
            font-size: 1.3rem;
            margin-bottom: 1.5rem;
            color: var(--primary-green);
        }
        
        .footer-links {
            list-style: none;
        }
        
        .footer-links li {
            margin-bottom: 0.8rem;
        }
        
        .footer-links a {
            color: var(--primary-white);
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links a:hover {
            color: var(--primary-green);
        }
        
        .newsletter-form {
            display: flex;
            margin-top: 1rem;
        }
        
        .newsletter-form input {
            flex: 1;
            padding: 0.8rem;
            border: none;
            border-radius: 4px 0 0 4px;
        }
        
        .newsletter-form button {
            background-color: var(--primary-green);
            color: var(--primary-white);
            border: none;
            padding: 0 1.5rem;
            border-radius: 0 4px 4px 0;
            cursor: pointer;
            transition: background-color 0.3s;
        }
        
        .newsletter-form button:hover {
            background-color: var(--dark-green);
        }
        
        .footer-bottom {
            text-align: center;
            padding-top: rem;
            border-top: 1px solid rgba(255,255,255,0.1);
        }
        
        /* Animations */
        @keyframes fadeInDown {
            from {
                opacity: 0;
                transform: translateY(-30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeInUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        @keyframes fadeIn {
            from {
                opacity: 0;
            }
            to {
                opacity: 1;
            }
        }
        
        @keyframes modalOpen {
            from {
                opacity: 0;
                transform: translateY(-50px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

         @keyframes pulse {
            0% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
            }
            70% {
                box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
            }
            100% {
                box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
            }
        }
        
        /* Responsive */
        @media (max-width: 768px) {
            nav ul {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                right: 0;
                background-color: var(--primary-black);
                flex-direction: column;
                padding: 1rem 0;
            }
            
            nav ul.show {
                display: flex;
            }
            
            nav ul li {
                margin: 0;
                text-align: center;
                padding: 0.8rem 0;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .hero h1 {
                font-size: 2.5rem;
            }
            
            .name-group {
                grid-template-columns: 1fr;
            }
            
            .btn-outline {
                margin-left: 0;
                margin-top: 1rem;
            }
            
            .cart-container {
                width: 100%;
                right: -100%;
            }
            
            .checkout-form {
                grid-template-columns: 1fr;
            }
        }

        @media (max-width: 768px) {
            .whatsapp-float {
                bottom: 20px;
                left: 20px;
                width: 50px;
                height: 50px;
            }
            
            .whatsapp-float i {
                font-size: 28px;
            }
            
            .whatsapp-text {
                font-size: 12px;
                top: -35px;
            }
        }

        @media (max-width: 768px) {
            .product-filters {
                display: none;
            }
        }
        @media (max-width: 768px) {
            #toggle-filters {
                display: block;
                margin: 1rem auto;
            }
        }
                        
        .add-product-form {
            background-color: white;
            padding: 2rem;
            border-radius: 8px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
            margin-top: 2rem;
        }
        
        .form-row {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 1.5rem;
            margin-bottom: 1.5rem;
        }
        
        .deal-status {
            display: inline-block;
            padding: 0.3rem 0.8rem;
            border-radius: 20px;
            font-size: 0.8rem;
            font-weight: bold;
            margin-top: 0.5rem;
        }
        
        .deal-status.active {
            background-color: #4CAF50;
            color: white;
        }
        
        .deal-status.inactive {
            background-color: #f44336;
            color: white;
        }
                
        /* Responsive adjustments */
        @media (max-width: 768px) {
            .form-row {
                grid-template-columns: 1fr;
            }
            
            .supplier-products-grid {
                grid-template-columns: 1fr;
            }
        }
/* Hot Deals Styles */
.hot-deals-list {
    display: flex;
    gap: 2rem;
    padding: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hot-deals-list::-webkit-scrollbar {
    display: none;
}

.deal-card {
    flex: 0 0 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    transition: transform 0.3s ease;
}

.deal-card:hover {
    transform: translateY(-5px);
}

.category-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF6B6B;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 3;
}

.rank-badge-hot {
    position: absolute;
    top: -15px;
    right: -10px;
    background: #FFD700;
    color: #2E7D32;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #4CAF50;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

.deal-card h3 {
    font-size: 1.3rem;
    margin: 1.5rem 0 1rem 0;
    color: white;
}

.deal-price {
    font-size: 2rem;
    font-weight: 700;
    margin: 1rem 0;
    color: #FFD700;
}

.deal-price span {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 0.5rem;
}

.deal-features {
    list-style: none;
    margin: 1.5rem 0;
    text-align: left;
}

.deal-features li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.timer {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin: 1.5rem 0;
}

.timer-item {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 5px;
    min-width: 50px;
}

.timer-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #FFD700;
}

.timer-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.8);
}

.grab-deal-btn {
    background: #FFD700;
    color: #2E7D32;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.grab-deal-btn:hover {
    background: #FFC400;
    transform: scale(1.05);
}


/* Hot Deals Category Filters */
.hot-deals-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.deal-category-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.7rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.deal-category-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.deal-category-btn.active {
    background: #FFD700;
    border-color: #FFD700;
    color: #2E7D32;
    transform: translateY(-2px);
}

/* Weekly Refresh Info */
.refresh-info-weekly {
    text-align: center;
    margin-top: 2rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(10px);
}

.refresh-info-weekly p {
    color: white;
    font-size: 0.9rem;
    margin: 0;
}

.refresh-info-weekly i {
    color: #FFD700;
    margin-right: 0.5rem;
}

/* Deal Card Enhancements */
.deal-card {
    position: relative;
    overflow: visible;
}

.category-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF6B6B;
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 3;
    white-space: nowrap;
}

.rank-badge-hot {
    position: absolute;
    top: -15px;
    right: -10px;
    background: #FFD700;
    color: #2E7D32;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.1rem;
    z-index: 3;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #4CAF50;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
    z-index: 2;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hot-deals-categories {
        gap: 0.5rem;
    }
    
    .deal-category-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .rank-badge-hot {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}
        /* Add new styles at the end */
        /* Change Products section heading to black */
        #products .section-title h2 {
            color: var(--primary-black) !important;
        }
        
        /* Change Suppliers Portal heading to black */
        #suppliers .section-title h2 {
            color: var(--primary-black) !important;
        }
        
        /* Change divider color to match */
        #products .section-title .divider,
        #suppliers .section-title .divider {
            background-color: var(--primary-green) !important;
        }
        
        /* Change paragraph text color to dark gray */
        #products .section-title p,
        #suppliers .section-title p {
            color: var(--dark-gray) !important;
        }

        .product-filters {
          display: flex;
          justify-content: center;
          gap: 1rem;
          margin-bottom: 2rem;
          flex-wrap: wrap;
        }
        .filter-item {
          background: #fff;
          border: 2px solid #e3e3e3;
          padding: 0.6rem 1.7rem;
          border-radius: 30px;
          cursor: pointer;
          font-weight: 600;
          font-size: 1rem;
          color: #1565c0;
          box-shadow: 0 2px 8px rgba(21,101,192,0.07);
          transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
          position: relative;
        }
        .filter-item.active {
          background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
          color: #fff;
          border-color: #38f9d7;
          transform: scale(1.08);
          box-shadow: 0 6px 18px rgba(67,233,123,0.13);
        }
        .filter-item::after {
          content: '';
          display: block;
          position: absolute;
          left: 50%;
          bottom: -8px;
          transform: translateX(-50%) scaleX(0);
          width: 60%;
          height: 3px;
          background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
          border-radius: 2px;
          transition: transform 0.3s;
        }
        .filter-item.active::after {
          transform: translateX(-50%) scaleX(1);
        }
        @keyframes fadeIn {
          from { opacity: 0; transform: scale(0.95); }
          to { opacity: 1; transform: scale(1); }
        }
        .product-card {
          animation: fadeIn 0.5s;
        }
        .tool-make-filters {
          display: none;
          justify-content: center;
          gap: 1rem;
          margin-bottom: 2rem;
          flex-wrap: wrap;
        }
        @media (max-width: 600px) {
          .tool-make-filters {
            flex-direction: column;
            align-items: stretch;
            gap: 0.5rem;
            margin-bottom: 1.2rem;
          }
          .tool-make-filters .filter-item {
            width: 100%;
            text-align: center;
            padding: 0.7rem 0.5rem;
            font-size: 1.05rem;
            border-radius: 18px;
          }
        }
        .tool-make-filters .filter-item {
          background: #fff;
          border: 2px solid #e3e3e3;
          padding: 0.6rem 1.7rem;
          border-radius: 30px;
          cursor: pointer;
          font-weight: 600;
          font-size: 1rem;
          color: #1565c0;
          box-shadow: 0 2px 8px rgba(21,101,192,0.07);
          transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.2s;
          position: relative;
        }
        .tool-make-filters .filter-item.active {
          background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
          color: #fff;
          border-color: #38f9d7;
          transform: scale(1.08);
          box-shadow: 0 6px 18px rgba(67,233,123,0.13);
        }
        .tool-make-filters .filter-item::after {
          content: '';
          display: block;
          position: absolute;
          left: 50%;
          bottom: -8px;
          transform: translateX(-50%) scaleX(0);
          width: 60%;
          height: 3px;
          background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
          border-radius: 2px;
          transition: transform 0.3s;
        }
        .tool-make-filters .filter-item.active::after {
          transform: translateX(-50%) scaleX(1);
        }

        /* Forward/Backward Button Theme Styling */
        .hot-deals-btn {
        background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 44px;
        height: 44px;
        font-size: 1.7rem;
        box-shadow: 0 4px 16px rgba(67,233,123,0.13);
        display: flex;
        align-items: center;
        justify-content: center;
        transition: background 0.3s, box-shadow 0.3s, transform 0.2s;
        cursor: pointer;
        outline: none;
        position: absolute;
        z-index: 2;
        }
        .hot-deals-btn:hover {
        background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
        box-shadow: 0 8px 24px rgba(67,233,123,0.18);
        transform: scale(1.08);
        }
        .hot-deals-forward {
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        }
        .hot-deals-back {
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        }
        @media (max-width: 600px) {
        .hot-deals-btn {
            width: 38px;
            height: 38px;
            font-size: 1.3rem;
        }
        }

        :root {
            --primary-black: #000000;
            --primary-white: #FFFFFF;
            --primary-green: #4CAF50;
            --light-green: #8BC34A;
            --dark-green: #2E7D32;
            --dark-gray: #333333;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f5f5f5;
            color: var(--primary-black);
        }
        
       .sidebar-nav {
    position: fixed;
    top: 0;
    left: -300px;
    width: 300px;
    height: 100%;
    background-color: var(--primary-black);
    color: var(--primary-white);
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    transition: left 0.3s ease;
    z-index: 1001;
    padding: 1rem;
}

.sidebar-nav.active {
    left: 0;
}

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

.sidebar-title {
    font-size: 1.3rem;
    color: var(--primary-green);
    font-weight: 700;
}

.close-sidebar {
    background: none;
    border: none;
    color: var(--primary-white);
    font-size: 1.5rem;
    cursor: pointer;
}

.nav-category {
    margin-bottom: 0.5rem;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-category-title {
    font-weight: 600;
    font-size: 1.1rem;
    padding: 1rem 0;
    color: var(--primary-white);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
    position: relative;
    user-select: none;
}

.nav-category-title:hover {
    color: var(--primary-green);
}

.nav-category-title::after {
    content: '\25BC';
    font-size: 0.8rem;
    transition: transform 0.3s;
    color: var(--primary-green);
}

.nav-category-title.open::after {
    transform: rotate(180deg);
}

/* Subcategories as accordion below the category */

.nav-subcategories {
    display: none;
    background: rgba(30, 30, 30, 0.98);
    opacity: 1;
    padding: 0 0;
    margin-bottom: 0;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
    z-index: 2;
    position: relative;
    border-radius: 0 0 8px 8px;
    transition: none;
}


.nav-subcategories.open {
    display: block;
    opacity: 1;
    padding: 10px 0 20px 0;
    margin-bottom: 1.2rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    overflow: visible;
    max-height: none;
}

.nav-subcategories ul {
    list-style: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    flex-direction: row;
    max-height: 100%;
}

.nav-subcategories ul > li {
    flex: 1 1 auto;
    min-width: auto;
    max-width: none;
    width: 100%;
}


.nav-subcategories li {
    margin-bottom: 5px;
}

.nav-subcategories a {
    color: var(--primary-white);
    text-decoration: none;
    padding: 8px 15px;
    display: block;
    transition: all 0.3s;
    border-left: 2px solid transparent;
    border-radius: 4px;
    font-size: 0.95rem;
}

.nav-subcategories a:hover {
    color: var(--primary-green);
    border-left-color: var(--primary-green);
    padding-left: 15px;
    background: rgba(255,255,255,0.04);
}

.nav-menu-toggle {
    position: relative;
    top: auto;
    right: auto;
    background-color: var(--primary-green);
    color: var(--primary-white);
    border: none;
    border-radius: 4px;
    padding: 0.5rem 1rem;
    cursor: pointer;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: background-color 0.3s;
}

.nav-menu-toggle:hover {
    background-color: var(--dark-green);
}

/* Overlay for when sidebar is open */
.sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.sidebar-overlay.active {
    display: block;
}

/* Mobile optimizations */

    .sidebar-nav {
        width: 240px;
    }
    .nav-category-title {
        font-size: 1rem;
        padding: 0.8rem 0;
    }
    .nav-subcategories {
        border-radius: 0 0 8px 8px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.10);
        padding: 0;
    }
    .nav-subcategories.open {
        max-height: none;
        overflow-y: visible;
        padding: 8px 0 12px 0;
        margin-bottom: 0.8rem;
        display: block;
    }
    .nav-subcategories ul {
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 0;
        max-height: none;
    }
    .nav-subcategories ul > li {
        min-width: auto;
        max-width: none;
        flex: 1 1 auto;
        margin-bottom: 0;
    }
    .nav-subcategories a {
        color: var(--primary-white);
        text-decoration: none;
        padding: 8px 15px;
        display: block;
        transition: all 0.3s;
        border-left: 2px solid transparent;
        border-radius: 0;
        font-size: 0.95rem;
        background: rgba(30, 30, 30, 0.98);
        flex: 1 1 auto;
        min-width: auto;
        max-width: none;
        width: 100%;
        margin: 0;
        border-bottom: none;
        box-shadow: none;
    }
    .nav-subcategories a:hover {
        color: var(--primary-green);
        border-left-color: var(--primary-green);
        padding-left: 15px;
        background: rgba(255,255,255,0.04);
    }
    
/* Prevent body scroll when sidebar is open */
body.sidebar-open {
    overflow: hidden;
}

/* Mobile-first responsive design improvements */
/* Base styles for mobile */
body {
    font-size: 16px; /* Ensure readable font size on mobile */
}

/* Header improvements */
header {
    padding: 0.8rem 1rem;
}

.logo-icon img {
    height: 40px;
    width: auto;
}

.logo-text {
    display: none; /* Hide text logo on mobile to save space */
}

.nav-menu-toggle {
    font-size: 1.5rem;
    padding: 0.5rem;
}

/* Sidebar navigation improvements */
.sidebar-nav {
    width: 80%;
    max-width: 300px;
}

.sidebar-header {
    padding: 1rem;
}

.sidebar-title {
    font-size: 1.2rem;
}

.close-sidebar {
    font-size: 1.5rem;
    padding: 0.5rem;
}

.nav-category-title {
    font-size: 1rem;
    padding: 0.8rem 1rem;
}

.nav-subcategories ul li {
    padding: 0.5rem 1rem;
}

.nav-subcategories a {
    font-size: 0.9rem;
    padding: 0.5rem 0;
}

/* Hero section improvements */
.hero {
    padding: 2rem 1rem;
}

.hero h1 {
    font-size: 1.8rem;
    line-height: 1.3;
}

.hero p {
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.btn {
    padding: 0.8rem 1.5rem;
    font-size: 0.95rem;
}

/* Product grid improvements */
.products-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1rem;
    padding: 0 1rem;
}

/* Dynamic products section styles */
#dynamic-products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

#dynamic-products-grid .product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

#dynamic-products-grid .product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

#dynamic-products-grid .product-img {
    width: 100%;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    position: relative;
    overflow: hidden;
}

#dynamic-products-grid .product-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

#dynamic-products-grid .product-img:hover img {
    transform: scale(1.05);
}

#dynamic-products-grid .product-content {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

#dynamic-products-grid .product-category {
    color: #2e7d32;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.5rem;
}

#dynamic-products-grid .product-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: #222;
    font-weight: 600;
    text-align: center;
    min-height: auto;
}

#dynamic-products-grid .product-price {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1565c0;
    margin-bottom: 0.8rem;
    text-align: center;
}

#dynamic-products-grid .product-actions {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

#dynamic-products-grid .add-to-cart {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    transition: all 0.3s ease;
}

#dynamic-products-grid .add-to-cart:hover {
    background: linear-gradient(90deg, #38f9d7 0%, #43e97b 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(67, 233, 123, 0.3);
}

/* Load more button */
.btn-load-more {
    background: linear-gradient(90deg, #43e97b 0%, #38f9d7 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    font-size: 1rem;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto 0;
    font-weight: 600;
}

.btn-load-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(67, 233, 123, 0.4);
}

.btn-load-more:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Loading state for products section */
#products-loading-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 0;
}

.product-img {
    height: 120px;
    min-height: 120px;
}

.product-img img {
    object-fit: contain;
}

.product-info {
    padding: 0.8rem;
}

.product-title {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
    height: auto;
    min-height: auto;
}

.product-category {
    font-size: 0.8rem;
    margin-bottom: 0.3rem;
}

.product-price {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.product-link {
    font-size: 0.85rem;
    padding: 0.4rem 0.8rem;
}

/* Category tabs improvements */
.category-tabs-container {
    padding: 0 1rem;
}

.visible-category-tab {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
    margin: 0 0.2rem;
}

.hidden-category-tabs {
    max-height: 300px;
    overflow-y: auto;
}

.hidden-category-tab {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
}

/* Hot deals section improvements */
.weekly-hot-deals {
    padding: 2rem 1rem;
}

.hot-deal-product-card {
    width: 140px;
    margin: 0 0.5rem;
}

.hot-deal-product-card .product-img {
    height: 90px;
}

.hot-deal-product-card .product-title {
    font-size: 11px;
    height: 28px;
}

.hot-deal-product-card .product-category {
    font-size: 10px;
}

.hot-deal-product-card .product-price {
    font-size: 12px;
}

.hot-deal-product-card .product-link {
    padding: 3px 6px;
    font-size: 11px;
}

.carousel-btn {
    width: 30px;
    height: 30px;
    font-size: 0.8rem;
}

/* Services section improvements */
.services-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 0 1rem;
}

.service-card {
    padding: 1rem;
}

.service-icon {
    height: 60px;
}

.service-icon i {
    font-size: 1.8rem;
}

.service-content {
    padding: 1rem;
}

.service-content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.service-content p {
    font-size: 0.9rem;
}

/* Testimonials section improvements */
.testimonials-section {
    padding: 2rem 1rem;
}

.testimonial-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.testimonial-card {
    padding: 1.5rem;
}

.testimonial-content {
    font-size: 1rem;
}

.testimonial-author {
    font-size: 0.9rem;
}

/* Footer improvements */
footer {
    padding: 2rem 1rem 1rem;
}

.footer-content {
    flex-direction: column;
    gap: 2rem;
}

.footer-column {
    width: 100%;
}

.footer-column h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

/* Touch target improvements */
a, button, .product-card, .hot-deal-product-card, .visible-category-tab, .nav-subcategories a {
    min-height: 44px;
    min-width: 44px;
}

/* Cart improvements */
.cart-icon {
    padding: 0.5rem;
}

.cart-count {
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
}

/* Form improvements */
input, select, textarea {
    min-height: 44px;
    padding: 0.8rem;
    font-size: 1rem;
}

/* Section title improvements */
.section-title h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* Media queries for specific screen sizes */
@media (max-width: 480px) {
    body {
        font-size: 15px;
    }

    .hero h1 {
        font-size: 1.6rem;
    }

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

    .hot-deal-product-card {
        width: 130px;
    }

    .hot-deal-product-card .product-img {
        height: 80px;
    }

    .section-title h2 {
        font-size: 1.4rem;
    }

    .btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* Landscape mobile improvements */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 1rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .hero p {
        font-size: 0.9rem;
    }
}

/* Ensure proper spacing on mobile */
* {
    box-sizing: border-box;
}

/* Improve accessibility for mobile */
.focusable:focus {
    outline: 2px solid var(--primary-green);
    outline-offset: 2px;
}

/* Improve mobile performance */
img {
    max-width: 100%;
    height: auto;
}

/* Mobile-specific utility classes */
.mobile-only {
    display: block;
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .mobile-only {
        display: none;
    }

    .desktop-only {
        display: block;
    }
}

/* Hot Deals Section Styles */
.hot-deals-section {
    background-color: var(--gray);
    padding: 60px 0;
}

.hot-deals-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.hot-deals-section .section-title h2 {
    font-size: 28px;
    color: var(--primary-black);
    margin-bottom: 10px;
    font-weight: 600;
}

.hot-deals-section .section-title p {
    color: var(--dark-gray);
    font-size: 16px;
    margin-bottom: 0;
}

/* Tab Navigation */
.hot-deals-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 30px 0;
    flex-wrap: wrap;
}

.tab-btn {
    background: white;
    border: 2px solid var(--primary-green);
    color: var(--primary-green);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tab-btn:hover {
    background: var(--primary-green);
    color: white;
}

.tab-btn.active {
    background: var(--primary-green);
    color: white;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.tab-btn.active::after {
    transform: scaleX(1);
}

/* Tab Content */
.tab-content-container {
    position: relative;
}

.tab-content {
    display: none;
    animation: fadeIn 0.5s ease;
}

.tab-content.active {
    display: block;
}

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

/* Hot Deals Container */
.hot-deals-container {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}

.hot-deals-products-grid {
    display: flex;
    gap: 25px;
    padding: 20px 0;
    overflow-x: auto;
    scroll-behavior: smooth; /* Enable smooth scrolling */
    scroll-snap-type: x mandatory; /* Enable scroll snapping */
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.hot-deals-products-grid::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.hot-deals-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.hot-deals-nav button {
    pointer-events: auto;
}

/* Hot Deal Card */
.hot-deal-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    flex: 0 0 calc(240px);
    scroll-snap-align: start;
}

.hot-deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

.hot-deal-card .product-img {
    position: relative;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8f9fa;
    padding: 10px;
}

.hot-deal-card .product-img img {
    max-width: 75%;
    max-height: 75%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.hot-deal-card:hover .product-img img {
    transform: scale(1.05);
}

/* Badges */
.hot-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #FF6B6B;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
}

.discount-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #4CAF50;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
}

.view-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #2196F3;
    color: white;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 4px;
    z-index: 2;
    text-transform: uppercase;
}

/* Price Container for Discounted Items */
.price-container {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
}

.original-price {
    font-size: 14px;
    color: #999;
    text-decoration: line-through;
}

.current-price {
    font-size: 18px;
    font-weight: 700;
    color: #dc3545;
}

.hot-deal-card .product-content {
    padding: 12px;
}

.hot-deal-card .product-category {
    color: var(--primary-green);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    margin-bottom: 4px;
}

.hot-deal-card .product-title {
    font-size: 13px;
    margin-bottom: 6px;
    color: #222;
    font-weight: 600;
    text-align: center;
    height: auto;
    min-height: auto;
    line-height: 1.3;
}

.hot-deal-card .product-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 8px;
}

.hot-deal-card .product-actions {
    display: flex;
    justify-content: center;
}

.hot-deal-card .add-to-cart {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    font-size: 11px;
    transition: background 0.3s;
    width: 100%;
}

.hot-deal-card .add-to-cart:hover {
    background: var(--dark-green);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hot-deals-section .section-title h2 {
        font-size: 24px;
    }

    .hot-deals-tabs {
        gap: 5px;
        margin: 20px 0;
    }

    .tab-btn {
        padding: 8px 15px;
        font-size: 13px;
    }

    .hot-deals-container {
        padding: 0 20px;
    }

    .hot-deals-products-grid {
        gap: 18px;
    }

    .hot-deal-card {
        flex: 0 0 calc(220px); /* Adjust card width for mobile */
    }

    .hot-deal-card .product-img {
        height: 130px;
    }

    .hot-deal-card .product-title {
        font-size: 12px;
    }

    .current-price {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .hot-deals-section {
        padding: 40px 0;
    }

    .hot-deals-section .section-title h2 {
        font-size: 20px;
    }

    .hot-deals-container {
        padding: 0 15px;
    }

    .hot-deals-products-grid {
        gap: 14px;
    }

    .hot-deal-card {
        flex: 0 0 calc(200px); /* Smaller card width for small mobile */
    }

    .hot-deals-nav {
        position: static;
        margin-top: 15px;
        justify-content: center;
        transform: none;
    }

    .hot-deals-nav button {
        position: static;
    }

    .hot-deals-btn {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }

    .hot-deal-card .product-img {
        height: 120px;
    }

    .hot-deal-card .product-title {
        font-size: 12px;
    }
}

/* Services Section Styles */
.services-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
    padding: 60px 0;
}

.services-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.services-section .section-title h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.services-section .section-title p {
    color: #7f8c8d;
    font-size: 16px;
    margin-bottom: 0;
}

.services-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.service-feature {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.service-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 28px;
    color: white;
}

.service-content h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}

.service-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 15px;
}

.btn-service {
    display: inline-block;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    padding: 0.6rem 1.2rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.btn-service:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Authority Building Section Styles */
.authority-building {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
    padding: 60px 0;
}

.authority-building .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.authority-building .section-title h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.authority-building .section-title p {
    color: #7f8c8d;
    font-size: 16px;
    margin-bottom: 0;
}

.authority-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.authority-feature {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

.authority-feature:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.authority-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.authority-icon i {
    font-size: 28px;
    color: white;
}

.authority-content h3 {
    font-size: 20px;
    color: #2c3e50;
    margin-bottom: 12px;
    font-weight: 600;
}

.authority-content p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 0;
}

.testimonials-section {
    margin: 50px 0;
    text-align: center;
}

.testimonials-section h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 30px;
    font-weight: 600;
}

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

.testimonial-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: left;
    position: relative;
}

.testimonial-card::before {
    content: """;
    position: absolute;
    top: 10px;
    left: 15px;
    font-size: 60px;
    color: rgba(76, 175, 80, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-card p {
    color: #34495e;
    font-style: italic;
    margin-bottom: 15px;
    line-height: 1.6;
    padding-left: 20px;
}

.testimonial-author {
    color: #7f8c8d;
    font-weight: 600;
    padding-left: 20px;
}

.quality-commitment {
    margin: 50px 0 20px;
    text-align: center;
}

.quality-commitment h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    font-weight: 600;
}

.quality-commitment p {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.quality-process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.process-step {
    display: flex;
    align-items: flex-start;
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
    text-align: left;
}

.process-step .step-number {
    width: 30px;
    height: 30px;
    background: #4CAF50;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    margin-right: 15px;
    flex-shrink: 0;
}

.step-content h4 {
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 600;
}

.step-content p {
    color: #7f8c8d;
    margin-bottom: 0;
    font-size: 14px;
    line-height: 1.5;
}

/* Contact Section Styles */
.contact-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #e4edf9 100%);
    padding: 60px 0;
}

.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.contact-section .section-title h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 700;
}

.contact-section .section-title p {
    color: #7f8c8d;
    font-size: 16px;
    margin-bottom: 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.contact-form {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-form h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 10px;
    font-weight: 600;
}

.contact-form p {
    color: #7f8c8d;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #2c3e50;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #4CAF50;
}

.form-container {
    margin-top: 20px;
}

#form {
    margin-bottom: 0;
}

#form button {
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
}

#form button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
}

.contact-info {
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-info h3 {
    font-size: 22px;
    color: #2c3e50;
    margin-bottom: 25px;
    font-weight: 600;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #4CAF50 0%, #2E7D32 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-icon i {
    font-size: 20px;
    color: white;
}

.contact-details h3 {
    font-size: 16px;
    color: #2c3e50;
    margin-bottom: 5px;
    font-weight: 600;
}

.contact-details p {
    color: #7f8c8d;
    margin-bottom: 0;
    line-height: 1.5;
}

/* Override scroll-product-card styles when combined with hot-deal-card */
.scroll-product-card.hot-deal-card {
    flex: 0 0 calc(240px) !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
    position: relative !important;
    scroll-snap-align: start !important;
    min-width: 240px !important;
    height: auto !important;
}

.scroll-product-card.hot-deal-card:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12) !important;
}

.scroll-product-card.hot-deal-card .product-img {
    position: relative !important;
    height: 140px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background-color: #f8f9fa !important;
    padding: 10px !important;
}

.scroll-product-card.hot-deal-card .product-img img {
    max-width: 75% !important;
    max-height: 75% !important;
    object-fit: contain !important;
    transition: transform 0.3s ease !important;
}

.scroll-product-card.hot-deal-card:hover .product-img img {
    transform: scale(1.05) !important;
}

.scroll-product-card.hot-deal-card .product-content {
    padding: 12px !important;
    flex-grow: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.scroll-product-card.hot-deal-card .product-title {
    font-size: 14px !important;
    margin: 0 0 4px !important;
    color: #222 !important;
    font-weight: 600 !important;
    text-align: center !important;
    height: 36px !important;
    overflow: hidden !important;
    line-height: 1.3 !important;
}

.scroll-product-card.hot-deal-card .product-category {
    font-size: 12px !important;
    color: #6c757d !important;
    margin: 0 0 6px !important;
    text-align: center !important;
}

.scroll-product-card.hot-deal-card .product-price {
    font-weight: 700 !important;
    color: #dc3545 !important;
    font-size: 16px !important;
    margin: 5px 0 !important;
    text-align: center !important;
}

.scroll-product-card.hot-deal-card .product-actions {
    display: flex !important;
    justify-content: center !important;
    margin-top: auto !important;
}

.scroll-product-card.hot-deal-card .add-to-cart {
    background: #4CAF50 !important;
    color: white !important;
    text-decoration: none !important;
    padding: 6px 12px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    font-size: 11px !important;
    margin-top: auto !important;
    text-align: center !important;
    transition: background-color 0.3s ease !important;
    width: 100% !important;
    border: none !important;
    cursor: pointer !important;
}

.scroll-product-card.hot-deal-card .add-to-cart:hover {
    background: #2E7D32 !important;
    color: white !important;
}

/* Responsive adjustments for contact section */
@media (max-width: 768px) {
    .contact-section {
        padding: 40px 0;
    }

    .contact-section .section-title h2 {
        font-size: 24px;
    }

    .contact-container {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 30px;
    }

    .contact-form,
    .contact-info {
        padding: 25px;
    }
}

@media (max-width: 480px) {
    .contact-section .section-title h2 {
        font-size: 22px;
    }

    .contact-form,
    .contact-info {
        padding: 20px;
    }

    .contact-method {
        gap: 12px;
    }
}

/* Responsive adjustments for services section */
@media (max-width: 768px) {
    .services-section {
        padding: 40px 0;
    }

    .services-section .section-title h2 {
        font-size: 24px;
    }

    .services-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .services-section .section-title h2 {
        font-size: 22px;
    }

    .service-feature {
        padding: 20px;
    }
}

/* Responsive adjustments for authority building section */
@media (max-width: 768px) {
    .authority-building {
        padding: 40px 0;
    }

    .authority-building .section-title h2 {
        font-size: 24px;
    }

    .authority-features {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .quality-process-steps {
        grid-template-columns: 1fr;
    }

    .process-step {
        flex-direction: column;
    }

    .process-step .step-number {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .authority-building .section-title h2 {
        font-size: 22px;
    }

    .authority-feature {
        padding: 20px;
    }

    .testimonial-card {
        padding: 20px;
    }
}