@charset "UTF-8";

/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    
    line-height: 1.5;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

.icon {
    width: 1rem;
    height: 1rem;
}

/* Header Styles */
.header {
    width: 100%;
    border-bottom: 1px solid #e5e7eb;
}

/* Top Bar */
.top-bar {
    display: none;
    border-bottom: 1px solid #e5e7eb;
    background-color: #f9fafb;
    padding: 0.5rem 0;
}

@media (min-width: 1024px) {
    .top-bar {
        display: block;
    }
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info, .user-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.phone {
	font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.customer-support, .links a {
    font-size: 1rem;
    color: #000000;
    text-decoration: none;
}

.customer-support:hover, .links a:hover {
    text-decoration: underline;
}

.account {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.social-icons {
    display: flex;
    gap: 0.75rem;
}

.icon-link .icon {
    font-size: 1rem; /* Adjust size as needed */
}

.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem; /* Add spacing around the icons */
}


/* Main Header */
.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1rem 0;
}

.logo img {
    height: 14rem;
    width: auto;
}

/* Custom styles for the autocomplete widget */
.ui-autocomplete {
    max-height: 400px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #ddd;
    border-top: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    padding: 0;
}

.ui-menu-item {
    padding: 8px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.ui-menu-item:last-child {
    border-bottom: none;
}

.ui-menu .ui-menu-item-wrapper {
    padding: 0;
}

.search-container {
    width: 50%; /* Adjust width to match the layout */
    margin: 20px auto; /* Centers the search bar */
    display: flex;
    justify-content: center;
}

#searchForm {
    width: 100%; /* Ensures it takes full width of .search-container */
    display: flex;
    border: 1px solid #ddd;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 1px 6px rgba(32, 33, 36, 0.28);
}

#searchInput {
    flex-grow: 1;
    border: none;
    padding: 12px 20px;
    font-size: 20px;
    outline: none;
    width: 100%;
}

#searchForm input[type="submit"] {
    background-color: #f8f9fa;
    border: none;
    color: #3c4043;
    padding: 0 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

#searchForm input[type="submit"]:hover {
    background-color: #e8eaed;
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px;
}

.suggestion-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.suggestion-details {
    flex: 1;
}

.suggestion-name {
    font-weight: bold;
    margin-bottom: 4px;
}

.suggestion-sku {
    color: #666;
    font-size: 0.9em;
    margin-bottom: 4px;
}

.suggestion-price {
    color: #333;
    font-weight: bold;
}

.ui-menu-item .ui-menu-item-wrapper.ui-state-active {
    background: #f8f9fa;
    border: none;
    color: #333;
    margin: 0;
}

.category-header {
    background: #f8f9fa;
    padding: 8px 15px;
    font-weight: bold;
    color: #666;
    font-size: 0.9em;
}

.user-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-actions a {
    text-decoration: none;
    color: #000000; /* Ensures the link inherits color from the .category-item */
}

.icon-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 1rem; /* Increase padding for a larger clickable area */
    display: flex;
    align-items: center;
    justify-content: center;
}

.icon-button .icon {
    font-size: 1.2rem; /* Adjust size as needed */
}

.cart {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cart-info {
    text-align: right;
}

.cart-label {
    font-size: 0.75rem;
    color: #6b7280;
}

.cart-value {
    font-weight: 500;
}

/* Navigation */
.navigation {
    border-bottom: 1px solid #eee;
    background: white;
    position: relative;
}

.container1 {
    max-width: 1250px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.categories-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    height: 3rem;
    padding: 0 1rem;
    background-color: #c20606;
    color: white;
    border: none;
    cursor: pointer;
}

.categories-button:hover {
    background-color: #800040;
}

.nav-links {
    display: flex;
    list-style-type: none;
    margin: 0;
    padding: 0;
    gap: 4.5rem;
}

.nav-link {
    display: flex;
    align-items: center;
    height: 3rem;
    color: #000000;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover {
    color: #111827;
    border-bottom-color: #57468F;
}

.action-buttons {
    margin-left: auto;
    display: flex;
    gap: 1rem;
}

.action-button {
    background-color: #c20606;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s;
}

.action-button:hover {
    background-color: #800040;
}

.mega-menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: white;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

.mega-menu.active {
    display: block;
}

.mega-menu-content {
     display: flex; /* Use flexbox to align categories and subcategories */
    align-items: flex-start;
}

.categories-list {
      width: 250px; /* Fixed width for category list */
    background: #f8f9fa;
    padding: 20px 0;
    border-right: 1px solid #eee;
    flex-shrink: 0;
}

.category-item {
    padding: 10px 20px;
    font-size: 0.875rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #333;
    transition: all 0.3s ease;
}
.category-item a {
    text-decoration: none;
    color: inherit; /* Ensures the link inherits color from the .category-item */
}

.category-item:hover, .category-item.active {
    background: #fff;
    color: #4834d4;
}

.subcategories {
    display: none;
    position: absolute;
    left: 250px; /* Move to the right of category list */
    top: 0;
    width: calc(100% - 250px); /* Fill remaining width */
    background: white;
    padding: 20px;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
}

.subcategories.active {
   display: grid !important;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px; /* Reduced gap between subcategory groups */
}

.subcategory-group {
    margin-bottom: 10px; /* Reduced gap between individual subcategory groups */
}

.subcategory-title {
    font-weight: 500;
    margin-bottom: 5px; /* Reduced space below each title */
    color: #333;
    font-size: 14px;
}

.subcategory-title a {
	display: inline-block;
	text-decoration: none;
    font-weight: 500;
    margin-bottom: 5px; /* Reduced space below each title */
    color: #333;
    cursor: pointer;
    font-size: 14px;
}

.subcategory-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.subcategory-item a {
	display: inline-block;
	text-decoration: none;
    padding: 4px 0; /* Reduced padding for tighter spacing */
    font-size: 13px;
    color: #666;
    cursor: pointer;
    transition: color 0.3s ease;
}

.subcategory-item a:hover {
    color: #4834d4; /* Add hover color */
}

.icon {
    font-size: 12px;
}

.ui-menu-item {
    padding: 8px 10px; /* Padding for items */
    cursor: pointer; /* Change cursor to pointer */
}

/* Highlight the item on hover or selection */
.ui-menu-item:hover, 
.ui-state-focus {
    background-color: #f0f0f0; /* Light grey background on hover */
    color: #000; /* Text color on hover */
}

.ui-autocomplete {
    max-height: 200px; /* Set the maximum height for the dropdown */
    overflow-y: auto;  /* Enable vertical scrolling */
    overflow-x: hidden; /* Disable horizontal scrolling */
    padding-right: 10px; /* Prevent cutoff of text */
    background-color: #fff; /* Background color for the dropdown */
    border: 1px solid #ccc; /* Border around the dropdown */
    font-family: Arial, sans-serif; /* Dropdown font */
    font-size: 14px; /* Font size */
    z-index: 1000; /* Ensure it appears above other elements */
}

@media (max-width: 768px) {
    .nav-links, .action-buttons {
        display: none;
    }

    .mega-menu-content {
        grid-template-columns: 1fr;
    }

    .subcategories.active {
        grid-template-columns: 1fr;
    }
}


/* slide */

.slide {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 50px;
            height: 100vh;
            transition: opacity 1s ease-in-out;
        }
        .content {
            flex: 1;
            padding-right: 50px;
        }
        h1 {
            font-size: 48px;
            margin-bottom: 20px;
        }
        p {
            font-size: 24px;
            margin-bottom: 30px;
        }
        .highlight {
            color: #4CAF50;
        }
        .cta-button {
            background-color: #ff0000;
            color: white;
            padding: 15px 30px;
            font-size: 18px;
            border: none;
            cursor: pointer;
            border-radius: 5px;
        }
        .features {
            display: flex;
            margin-top: 30px;
        }
        .feature {
            display: flex;
            align-items: center;
            margin-right: 30px;
        }
        .feature img {
            width: 24px;
            height: 24px;
            margin-right: 10px;
        }
        .image-container {
            flex: 1;
            display: flex;
            justify-content: center;
            align-items: center;
        }
        .circular-image {
            width: 400px;
            height: 400px;
            border-radius: 50%;
            overflow: hidden;
        }
        .circular-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        .nav-dots {
            position: absolute;
            top: 20px;
            right: 20px;
            display: flex;
        }
        .dot {
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: rgba(0, 0, 0, 0.3);
            margin: 0 5px;
        }
        .dot.active {
            background-color: rgba(0, 0, 0, 0.7);
        }
        .slide-indicators {
            position: absolute;
            bottom: -200px;
            left: 50%;
            transform: translateX(-50%);
            display: flex;
        }
        .indicator {
            width: 30px;
            height: 4px;
            background-color: rgba(0, 0, 0, 0.3);
            margin: 0 5px;
            cursor: pointer;
        }
        .indicator.active {
            background-color: rgba(0, 0, 0, 0.7);
            width: 40px;
        }
        
        
        /* catagories */
        
 * 
 h2 {
            font-size: 30px;
            color: #333;
            margin-bottom: 30px;
            position: relative;
            right: 100px;
            display: inline-block;
        }

        h2::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #c20606;
            border-radius: 2px;
        }

        .container2 {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

       

        .categories-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 20px;
        }

        .category-card {
            background: white;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
            transition: transform 0.3s ease;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            cursor: pointer;
            text-decoration: none;
            color: inherit;
        }

        .category-card:hover {
            transform: translateY(-5px);
        }

        .image-container1 {
    background-color: #c20606;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 15px;
    aspect-ratio: 1;  /* Maintain square aspect ratio */
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;  /* Ensure no overflow */
}

.image-container1 img {
    width: 100%;  /* Ensure image stretches to fit container */
    height: 100%;  /* Ensure image stretches to fit container */
    object-fit: cover;  /* Ensures the image covers the entire container while maintaining aspect ratio */
}
        

        .category-title {
            font-size: 1rem;
            color: #333;
            font-weight: 500;
            line-height: 1.4;
            margin-top: 10px;
        }

        @media (max-width: 768px) {
            .categories-grid {
                grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
                gap: 15px;
            }

            .category-card {
                padding: 15px;
            }
        }
        
         /* featured products*/
    h3 {
            font-size: 24px;
            color: #333;
            margin-bottom: 30px;
            position: relative;
            right: 100px;
            display: inline-block;
        }

        h3::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #4834d4;
            border-radius: 2px;
        }

        .product-slider {
            position: relative;
            overflow: hidden;
        }

        .product-container {
            display: flex;
            transition: transform 0.5s ease;
            gap: 20px;
            padding: 10px;
        }

        .product-card {
            min-width: 280px;
            background: white;
            border-radius: 8px;
            padding: 15px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            display: flex;
            flex-direction: column;
            position: relative;
        }

        .product-image {
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 15px;
        }

        .product-image img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
        }

        .product-title {
            font-size: 14px;
            color: #0066cc;
            margin-bottom: 8px;
            text-decoration: none;
        }

        .sku {
            color: #666;
            font-size: 12px;
            margin-bottom: 8px;
        }

        .rating {
            color: #ffd700;
            font-size: 12px;
            margin-bottom: 8px;
        }

        .price {
            font-size: 20px;
            color: #333;
            font-weight: bold;
            margin-bottom: 4px;
        }

        .original-price {
            color: #666;
            text-decoration: line-through;
            font-size: 14px;
        }

        .gst-text {
            color: #666;
            font-size: 12px;
        }

        .savings {
            color: #009688;
            font-size: 12px;
            margin-bottom: 8px;
        }

        .cart-button {
            position: absolute;
            right: 15px;
            bottom: 15px;
            background: #4834d4;
            color: white;
            border: none;
            border-radius: 50%;
            width: 35px;
            height: 35px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .wishlist {
            color: #666;
            text-decoration: none;
            font-size: 12px;
            margin-top: auto;
            padding-bottom: 40px;
        }

        .slider-button {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: white;
            border: none;
            border-radius: 50%;
            width: 40px;
            height: 40px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
            cursor: pointer;
            z-index: 2;
        }

        .prev {
            left: 10px;
        }

        .next {
            right: 10px;
        }

        @media (max-width: 768px) {
            .product-card {
                min-width: 240px;
            }
        }
        
      
      
      /* Services*/  
   h5 {
            font-size: 30px;
            color: #333;
            margin-bottom: 30px;
            position: relative;
            right: 100px;
            display: inline-block;
        }

        h5::after {
            content: '';
            position: absolute;
            bottom: -8px;
            left: 0;
            width: 100%;
            height: 3px;
            background-color: #c20606;
            border-radius: 2px;
        }

        .services-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 20px;
            margin-bottom: 40px;
        }

        .service-card {
            display: flex;
            align-items: center;
            background: white;
            border-radius: 8px;
            padding: 39px;
            gap: 20px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .service-icon {
            background-color: #c20606;
            width: 100px;
            height: 100px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        .service-icon img {
            width: 60%;
            height: 60%;
            object-fit: contain;
            filter: brightness(0) invert(1);
        }

        .service-content {
            flex-grow: 1;
        }

        .service-title {
            font-size: 16px;
            color: #333;
            margin-bottom: 15px;
            font-weight: 500;
        }

        .order-button {
            background-color: #4834d4;
            color: white;
            border: none;
            padding: 10px 25px;
            border-radius: 25px;
            cursor: pointer;
            font-weight: 500;
            transition: background-color 0.3s ease;
        }

        .order-button:hover {
            background-color: #372aaa;
        }

        .features {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 20px;
            margin-top: 40px;
        }

        .feature-card {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 20px;
            background: white;
            border-radius: 8px;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
        }

        .feature-icon {
            width: 150px;
            height: 100px;
            object-fit: contain;
        }

        .feature-title {
            font-size: 16px;
            color: #666;
            font-weight: 500;
        }

        @media (max-width: 768px) {
            .services-grid {
                grid-template-columns: 1fr;
            }

            .service-card {
                flex-direction: column;
                text-align: center;
            }

            .features {
                grid-template-columns: 1fr;
            }
        }
        
        
        
/* our featured Brands*/

.brands-section {
            padding: 80px 0;
            background: #ffffff;
        }

        .container5 {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .section-title {
            text-align: center;
            font-size: 36px;
            color: #2d3748;
            margin-bottom: 50px;
            font-weight: 500;
        }

        .brands-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-top: 40px;
        }

        .brand-card {
            background: white;
            border-radius: 8px;
            padding: 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 150px;
            transition: all 0.3s ease;
            box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
            cursor: pointer;
        }

        .brand-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

        .brand-logo {
            max-width: 80%;
            max-height: 60px;
            object-fit: contain;
            transition: all 0.3s ease;
        }

        .brand-card:hover .brand-logo {
            transform: scale(1.05);
        }

        @media (max-width: 768px) {
            .brands-grid {
                grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
                gap: 20px;
            }

            .brand-card {
                padding: 20px;
                min-height: 120px;
            }

            .section-title {
                font-size: 28px;
                margin-bottom: 30px;
            }
        }      	

   
 .ui-autocomplete {
    max-height: 200px; /* Set the maximum height for the dropdown */
    overflow-y: auto;  /* Enable vertical scrolling */
    overflow-x: hidden; /* Disable horizontal scrolling */
    padding-right: 10px; /* Prevent cutoff of text */
    background-color: #fff; /* Background color for the dropdown */
    border: 1px solid #ccc; /* Border around the dropdown */
    font-family: Arial, sans-serif; /* Dropdown font */
    font-size: 14px; /* Font size */
    z-index: 1000; /* Ensure it appears above other elements */
}

/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Chatbot Button */
.chatbot-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #007bff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.chatbot-btn img {
    width: 45px;
    height: 45px;
}

/* Chatbot Container */
.chatbot-container {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 350px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    display: none; /* Hidden by default */
    z-index: 1000;
}

.chatbot-header {
    background-color: #007bff;
    color: #fff;
    padding: 10px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header h2 {
    margin: 0;
    font-size: 18px;
}

.close-btn {
    background: none;
    border: none;
    color: #fff;
    font-size: 18px;
    cursor: pointer;
}

/* Chatbot Body */
.chatbot-body {
    height: 300px;
    overflow-y: auto;
    padding: 10px;
    border-bottom: 1px solid #ddd;
}

.bot-message {
    background-color: #f1f1f1;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    max-width: 80%;
    align-self: flex-start;
}

/* Chatbot Footer */
.chatbot-footer {
    display: flex;
    padding: 10px;
    background-color: #f9f9f9;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.chatbot-footer input {
    flex: 1;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
}

.chatbot-footer button {
    padding: 10px 15px;
    margin-left: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.chatbot-footer button:hover {
    background-color: #0056b3;
}

/* WhatsApp Popup */
.whatsapp-popup {
    position: fixed;
    bottom: 120px;
    right: 80px;
    width: 300px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    padding: 20px;
    display: none; /* Hidden by default */
    z-index: 1000;
}

.whatsapp-popup h2 {
    font-size: 18px;
    margin-bottom: 15px;
    text-align: center;
}

.whatsapp-button {
    display: block;
    width: 100%;
    padding: 10px;
    background-color: #25d366;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    margin-bottom: 10px;
}

.whatsapp-button:hover {
    background-color: #1da851;
}

.close-button {
    background: none;
    border: none;
    color: #000;
    font-size: 18px;
    cursor: pointer;
    text-align: center;
    width: 100%;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.whatsapp-float img {
    width: 50px;
    height: 50px;
}

/* Style for individual autocomplete items */
.ui-menu-item {
    padding: 8px 10px; /* Padding for items */
    cursor: pointer; /* Change cursor to pointer */
}

/* Highlight the item on hover or selection */
.ui-menu-item:hover, 
.ui-state-focus {
    background-color: #f0f0f0; /* Light grey background on hover */
    color: #000; /* Text color on hover */
}

@media (min-width: 1024px) {
    .top-bar {
        display: block;
    }
}
@media (max-width: 768px) {
    /* Navigation */
    .nav-links, .action-buttons {
        display: none;
    }
    .mega-menu-content {
        grid-template-columns: 1fr;
    }
    .subcategories.active {
        grid-template-columns: 1fr;
    }

    /* Categories Grid */
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
    .category-card {
        padding: 15px;
    }

    /* Featured Products */
    .product-card {
        min-width: 240px;
    }

    /* Services Grid */
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        flex-direction: column;
        text-align: center;
    }

    /* Features */
    .features {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    /* General Styles */
    .container {
        padding: 0 0.5rem;
    }

    /* Header Styles */
    .main-header {
        flex-direction: column;
        gap: 1rem;
        padding: 0.5rem 0;
    }
    .logo img {
        height: 10rem;
    }
    .search-container {
        max-width: 100%;
        margin: 10px auto;
    }
    #searchForm {
        border-radius: 12px;
    }
    #searchInput {
        padding: 8px 15px;
        font-size: 14px;
    }
    #searchForm input[type="submit"] {
        padding: 0 15px;
        font-size: 12px;
    }

    /* Navigation */
    .nav-content {
        flex-direction: column;
        gap: 1rem;
    }
    .categories-button {
        width: 100%;
        justify-content: center;
    }
    .nav-links {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-link {
        justify-content: center;
    }
    .action-buttons {
        margin-left: 0;
        justify-content: center;
    }

    /* Slide */
    .slide {
        flex-direction: column;
        padding: 20px;
        height: auto;
    }
    .content {
        padding-right: 0;
        text-align: center;
    }
    h1 {
        font-size: 36px;
    }
    p {
        font-size: 18px;
    }
    .cta-button {
        font-size: 16px;
        padding: 10px 20px;
    }
    .features {
        flex-direction: column;
        gap: 1rem;
    }
    .image-container {
        margin-top: 20px;
    }
    .circular-image {
        width: 250px;
        height: 250px;
    }
    .nav-dots {
        top: 10px;
        right: 10px;
    }
    .slide-indicators {
        bottom: -150px;
    }

    /* Categories */
    .categories-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 10px;
    }
    .category-card {
        padding: 15px;
    }
    .image-container1 {
        padding: 20px;
    }
    .category-title {
        font-size: 14px;
    }

    /* Featured Products */
    .product-container {
        gap: 10px;
        padding: 5px;
    }
    .product-card {
        min-width: 200px;
        padding: 10px;
    }
    .product-image {
        height: 150px;
    }
    .product-title {
        font-size: 12px;
    }
    .sku {
        font-size: 10px;
    }
    .price {
        font-size: 16px;
    }
    .original-price {
        font-size: 12px;
    }
    .gst-text {
        font-size: 10px;
    }
    .savings {
        font-size: 10px;
    }
    .cart-button {
        width: 30px;
        height: 30px;
    }
    .wishlist {
        font-size: 10px;
    }

    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    .service-card {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    .service-icon {
        width: 80px;
        height: 80px;
    }
    .service-title {
        font-size: 14px;
    }
    .order-button {
        font-size: 14px;
        padding: 8px 20px;
    }
    .features {
        grid-template-columns: 1fr;
    }
    .feature-card {
        padding: 15px;
    }
    .feature-icon {
        width: 100px;
        height: 80px;
    }
    .feature-title {
        font-size: 14px;
    }

    /* Our Featured Brands */
    .brands-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 15px;
    }
    .brand-card {
        padding: 20px;
        min-height: 100px;
    }
    .brand-logo {
        max-height: 50px;
    }
    .section-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
}

@media (min-width: 1024px) {
    .links {
        display: flex;
        align-items: center;
        gap: 1rem; /* Add spacing between items */
    }
    .links a {
        font-size: 1rem; /* Adjust font size for better readability */
        color: #4b5563; /* Match the text color with other links */
        text-decoration: none; /* Remove underline */
    }
    .links a:hover {
        text-decoration: underline; /* Add hover effect */
    }
    .account {
        display: flex;
        align-items: center;
        gap: 0.25rem; /* Add spacing between "My Account" and the chevron icon */
    }
    .account .icon {
        font-size: 1rem; /* Adjust icon size */
    }
}
  @media (max-width: 768px) {
    .links {
        flex-direction: column; /* Stack items vertically */
        gap: 0.5rem; /* Reduce spacing between items */
    }
    .links a {
        font-size: 0.8rem; /* Slightly smaller font size for mobile */
    }
    .account {
        gap: 0.2rem; /* Slightly reduce spacing between text and icon */
    }
    .account .icon {
        font-size: 0.9rem; /* Slightly smaller icon size */
    }
}

@media (max-width: 768px) {
    
    .nav-links {
        display: flex;
        list-style-type: none;
        margin: 0;
        padding: 0;
        gap: 1.5rem;
        flex-direction: row;
    }

.nav-link {
    display: flex;
    align-items: center;
    height: 3rem;
    color: #4b5563;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
}

.nav-link:hover {
    color: #111827;
    border-bottom-color: #57468F;
}
}
@media (min-width: 768px) {
    h2 {
        font-size: 30px;
        color: #333;
        margin-bottom: 30px;
        position: relative;
        right: 100px;
        display: inline-block;
    }
}

/* Mobile View */
@media (max-width: 768px) {
    h2 {
        font-size: 24px; /* Reduce font size */
        right: 0; /* Remove right positioning */
        display: block; /* Full width for better alignment */
        text-align: center; /* Center align text */
        margin: 20px auto; /* Adjust margin */
    }

    h2::after {
        width: 50%; /* Reduce underline width */
        left: 50%; /* Center the underline */
        transform: translateX(-50%); /* Ensure centering */
    }
}


@media (max-width: 768px) {
    h5 {
        font-size: 22px; /* Reduce font size */
        right: 0; /* Remove right positioning */
        display: block; /* Ensure full width */
        text-align: center; /* Center align for better UX */
        margin: 20px auto; /* Adjust margin */
    }

    h5::after {
        width: 50%; /* Reduce underline width */
        left: 50%; /* Center the underline */
        transform: translateX(-50%); /* Keep it visually centered */
    }
}