/* General Styling */
body {
    font-family: 'Poppins', sans-serif;
    background: #f5f5f5;
}

/* Navbar */
.navbar {
    background: #0056b3;
    padding: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.search-box{
    width: 300px;
}

/* Logo */
#logo {
    font-size: 28px;
    font-weight: 1000;
    padding: 10px 15px;
    background: blue;
    /* border-radius: 8.5%; */
    color: #00FF00;
    text-align: center;
    /* text-shadow: 2px 2px 5px rgba(0, 255, 0, 0.6); */
}
#tagline {
    font-size: 14px;
    font-weight: bold;
    color: #ffffff;
    margin-top: 5px; /* Adds space between logo and tagline */
    font-style: italic; /* Optional, for a stylistic touch */
}
/* Mobile Logo Styling */
@media (max-width: 768px) {
    #logo {
        font-size: 32px;
        text-align: center;
        width: 100%;
        display: block;
    }
    #tagline {
        font-size: 14px; /* Adjusts the tagline font size on mobile */
    }
}
/* ✅ Full-width background for all category titles */
.section-title {
    background: #219ebc;
    color: #023047;
    padding: 12px 0;
    width: 100vw;
    margin-left: -8px; /* Adjust if needed */
    text-align: center;
    font-size: 22px; /* Bigger font size */
    font-weight: bold; /* Bold for better visibility */
    text-transform: uppercase; /* Makes it more prominent */
    letter-spacing: 1px; /* Adds spacing for a sleek look */
    border-radius: 5px; /* Slight rounding for a modern look */
}
/* Category Bar */
.category-bar {
    overflow-x: auto;
    white-space: nowrap;
    padding: 12px 0;
    background: #008000;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Category Buttons */
.category-list {
    display: flex;
    justify-content: space-around;
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-list a {
    text-decoration: none;
    color: white;
    font-weight: bold;
    padding: 10px 15px;
    background: #38b000 ;
    border-radius: 20px;
    transition: 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 5px;
    border: 2px solid transparent;
    
}

.category-list :hover{
    font-size: 20px;

}
.category-list a:hover {
    background: #00994d;
    border: 2px solid white;
    font-size: 20px;
    
}

/* Category Icons */
.category-icon {
    width: 20px;
    height: 20px;
    background-color: #008f44;
    padding: 5px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.category-icon img {
    width: 16px;
    height: 16px;
}


/* ✅ Product Card Styling */
.product-card {
    width: 200px;
    padding: 12px;
    text-align: left;
    border-radius: 12px;
    background: white;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
    transition: 0.3s ease-in-out;
}

/* ✅ Rounded Product Image */
.product-card img {
    width: 100%;
    height: 180px;
    object-fit: contain;
    border-radius: 12px;
}

/* ✅ Black Weight Label */
.weight-label {
    position: absolute;
    top: 10px;
    right: 10px;
    background: black;
    color: white;
    font-size: 12px;
    padding: 4px 6px;
    border-radius: 5px;
    font-weight: bold;
}

/* ✅ Store Name */
.store-name {
    font-size: 12px;
    color: #555;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 5px;
}

/* ✅ Product Name */
.product-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-top: 5px;
}

/* ✅ Product Price */
.product-price {
    font-size: 14px;
    color: #008000;
    font-weight: bold;
}

/* ✅ Discounted Price & Original Price */
.price-container {
    display: flex;
    align-items: center;
    gap: 6px;
}

.discounted-price {
    font-size: 16px;
    font-weight: bold;
    color: black;
}

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

/* ✅ Percentage Discount */
.discount-badge {
    background: #28a745;
    color: white;
    font-size: 12px;
    padding: 3px 6px;
    border-radius: 5px;
    font-weight: bold;
}

/* ✅ Add to Cart Button */
.add-to-cart {
    margin-top: 8px;
    background: #ff6600;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-weight: bold;
    border: 2px solid transparent;
}

.add-to-cart:hover {
    background: #cc5500;
    border: 2px solid black;
}

/* ✅ Plus Icon in Add Button */
.add-to-cart::after {
    content: "+";
    font-size: 16px;
    font-weight: bold;
}

/* ✅ Netflix-Style Horizontal Scroll for Products */
.product-scroll {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 10px;
    scroll-behavior: smooth;
}

.product-scroll::-webkit-scrollbar {
    display: none;
}

/* ✅ Product Section Title */
.section-title {
    font-size: 18px;
    font-weight: bold;
    margin: 15px 0;
}

/* ✅ Product Container Wrapper */
.product-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 10px;
}

/* ✅ Mobile Responsiveness */
@media (max-width: 600px) {
    .product-card {
        width: 160px;
    }

    .product-card img {
        height: 150px;
    }

    .discounted-price {
        font-size: 14px;
    }

    .original-price {
        font-size: 12px;
    }

    .discount-badge {
        font-size: 10px;
        padding: 2px 4px;
    }

    .add-to-cart {
        padding: 4px 8px;
        font-size: 12px;
    }
}
