body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
}

.header-top {
    background-color: #fff;
    padding: 5px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
}

.nav-left a, .nav-right a {
    color: #333;
    margin-right: 10px;
    text-decoration: none;
}

.nav-right select {
    margin-left: 10px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
}

.header-main {
    background-color: #fff;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-width: 150px;
}

.search-bar {
    display: flex;
    align-items: center;
    flex: 1;
    margin: 0 20px;
}

.search-category {
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    margin-right: 10px;
}

.search-input {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1;
}

.search-input input {
    padding: 5px 10px;
    border: 1px solid #ccc;
    border-radius: 3px;
    width: 100%;
}

.search-input i {
    position: absolute;
    right: 10px;
    color: #999;
}

.search-bar button {
    padding: 5px 10px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-left: 10px;
}

.search-bar button:hover {
    background-color: #218838;
}

.header-icons {
    display: flex;
    align-items: center;
}

.header-icons .icon {
    margin-left: 20px;
    color: #333;
    text-decoration: none;
}

.header-icons .icon i {
    margin-right: 5px;
}

.header-nav {
    background-color: #f8f8f8;
    border-bottom: 1px solid #ddd;
}

.header-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

.dropdown {
    position: relative;
}

.dropbtn {
    background-color: #fff;
    color: #eedada;
    padding: 8px 15px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    border: 1px solid #ddd;
    border-radius: 5px;
    width: 200px;
}

.dropdown-content a {
    color: #333;
    padding: 8px 15px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1;
}

.dropdown:hover .dropdown-content {
    display: block;
}

nav {
    display: flex;
    align-items: center;
}

nav a {
    margin: 0 10px;
    color: #333;
    text-decoration: none;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s;
}

nav a:hover {
    background-color: #ddd;
}

.super-discount {
    background-color: #28a745;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    text-decoration: none;
}

.super-discount:hover {
    background-color: #218838;
}

.hero-image {
    background-size: cover;
    background-position: center;
    height: 400px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.hero-text {
    background: rgba(0, 0, 0, 0.5);
    padding: 20px;
    border-radius: 10px;
}

.hero-text h1 {
    font-size: 2.5em;
    margin: 0;
}

.hero-text p {
    font-size: 1.2em;
    margin: 10px 0;
}

.hero-text button {
    padding: 10px 20px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
}

.hero-text button:hover {
    background-color: #218838;
}

.scrolling-logos {
    background-color: #fff;
    padding: 20px 0;
    overflow: hidden;
    position: relative;
}

.scroll-container {
    width: 100%;
    white-space: nowrap;
    overflow: hidden;
}

.scrolling-logos-content {
    display: flex;
    animation: scroll 30s linear infinite;
    font-weight: bold;
    letter-spacing: 2px;
}

.scrolling-logos-content i, .scrolling-logos-content .brand {
    font-size: 2em;
    margin: 0 30px;
    display: inline-block;
}

.scrolling-logos-content i {
    font-family: 'Arial', sans-serif;
    color: #333;
}

.scrolling-logos-content .brand {
    font-family: 'Georgia', serif;
    font-style: italic;
    color: #333;
}

.scrolling-logos-content .fab.fa-apple {
    color: #000;
}

.scrolling-logos-content .fab.fa-amazon {
    color: #ff9900;
}

.scrolling-logos-content .fab.fa-nike {
    color: #111;
}

.scrolling-logos-content .fab.fa-disney {
    color: #1c1c1c;
}

.scrolling-logos-content .fab.fa-google {
    color: #4285f4;
}

.scrolling-logos-content .fab.fa-microsoft {
    color: #f25022;
}

.scrolling-logos-content .brand:nth-child(7) {
    color: #00a4ef;
}

.scrolling-logos-content .brand:nth-child(8) {
    color: #e60023;
}

.scrolling-logos-content .brand:nth-child(9) { color: #008080; }
.scrolling-logos-content .brand:nth-child(10) { color: #ff4500; }
.scrolling-logos-content .brand:nth-child(11) { color: #00bfff; }
.scrolling-logos-content .brand:nth-child(12) { color: #ff1493; }
.scrolling-logos-content .brand:nth-child(13) { color: #4b0082; }
.scrolling-logos-content .brand:nth-child(14) { color: #00ced1; }
.scrolling-logos-content .brand:nth-child(15) { color: #ff8c00; }
.scrolling-logos-content .brand:nth-child(16) { color: #8b0000; }
.scrolling-logos-content .brand:nth-child(17) { color: #2e8b57; }
.scrolling-logos-content .brand:nth-child(18) { color: #6a5acd; }
.scrolling-logos-content .brand:nth-child(19) { color: #ff6347; }
.scrolling-logos-content .brand:nth-child(20) { color: #4682b4; }
.scrolling-logos-content .brand:nth-child(21) { color: #daa520; }
.scrolling-logos-content .brand:nth-child(22) { color: #adff2f; }
.scrolling-logos-content .brand:nth-child(23) { color: #b0c4de; }
.scrolling-logos-content .brand:nth-child(24) { color: #7cfc00; }
.scrolling-logos-content .brand:nth-child(25) { color: #ffd700; }
.scrolling-logos-content .brand:nth-child(26) { color: #ff4500; }
.scrolling-logos-content .brand:nth-child(27) { color: #dc143c; }
.scrolling-logos-content .brand:nth-child(28) { color: #8a2be2; }
.scrolling-logos-content .brand:nth-child(29) { color: #ff69b4; }
.scrolling-logos-content .brand:nth-child(30) { color: #20b2aa; }
.scrolling-logos-content .brand:nth-child(31) { color: #6495ed; }
.scrolling-logos-content .brand:nth-child(32) { color: #ffb6c1; }
.scrolling-logos-content .brand:nth-child(33) { color: #ba55d3; }
.scrolling-logos-content .brand:nth-child(34) { color: #32cd32; }
.scrolling-logos-content .brand:nth-child(35) { color: #ff00ff; }

@keyframes scroll {
    from {
        transform: translateX(0);
    }
    to {
        transform: translateX(100%);
    }
}

.product-grid {
    padding: 5px 5px;
    background-color: #fff;
}

.container {
    width: 80%;
    max-width: 500px;
    margin: 0 auto;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* Set to 5 columns per row */
    gap: 0px;
}

.product {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 5px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(236, 211, 211, 0.1);
    transition: box-shadow 0.3s ease;
}

.product img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 5px;
    object-fit: cover;
}

.product h3 {
    font-size: 0.1em;
    margin: 5px 0;
    color: #333;
}

.product p {
    font-size: 0.9em;
    margin: 5px 0;
    color: #666;
}

.product del {
    color: #999;
}

.product strong {
    color: #28a745;
}

.buy-now-btn {
    padding: 8px 12px;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.buy-now-btn:hover {
    background-color: #218838;
}

.product:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

footer {
    background-color: #fff;
    padding: 20px 0;
    border-top: 1px solid #ddd;
    text-align: center;
    font-size: 0.9em;
    color: #666;
}

footer p {
    margin: 0;
}

.blog-posts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.blog-post {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.blog-post img {
    max-width: 20%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.blog-post h2 {
    font-size: 1.5em;
    margin: 0 0 10px;
    color: #333;
}

.blog-post p {
    font-size: 1em;
    margin: 0 0 15px;
    color: #666;
}

.blog-post .read-more-btn {
    background-color: #28a745;
    color: #fff;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    transition: background-color 0.3s ease;
}

.blog-post .read-more-btn:hover {
    background-color: #218838;
}

.blog-post-full {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.blog-post-full img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

.blog-post-full h1 {
    font-size: 2em;
    margin: 0 0 10px;
    color: #333;
}

.blog-post-full .post-date {
    font-size: 0.9em;
    color: #999;
    margin: 0 0 20px;
}

.blog-post-full .post-content {
    font-size: 1em;
    color: #666;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(5, 1fr));
    gap: 20px;
    padding: 10px 0;
}

.product-card {
    border: 1px solid #ddd;
    padding: 25px;
    background-color: #fff;
    text-align: center;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.product-card img {
    max-width: 20%;
    height: auto;
    margin-bottom: 10px;
    border-radius: 5px;
    object-fit: cover;
}

.product-card h2 {
    font-size: 1.2em;
    margin: 10px 0;
}

.product-card p {
    margin: 5px 0;
    color: #666;
}

.product-card del {
    color: #999;
}

.product-card strong {
    color: #28a745;
}

.product-card:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.blog {
    margin-bottom: 40px; /* Added this line to create space below the blog section */
}

.footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
}

.footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.footer .column {
    flex: 1 1 20%;
    min-width: 200px;
}

.footer .column h3 {
    margin-bottom: 15px;
    font-size: 18px;
    font-weight: bold;
}

.footer .column ul {
    list-style: none;
    padding: 0;
}

.footer .column ul li {
    margin-bottom: 10px;
}

.footer .column ul li a {
    text-decoration: none;
    color: #fff;
    font-size: 14px;
}

.footer .column ul li a:hover {
    text-decoration: underline;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
    margin-top: 20px;
    font-size: 14px;
}

/* Styles for mobile view */
@media (max-width: 768px) {
    .mobile-search-bar {
        display: flex;
        justify-content: center;
        padding: 10px;
        background-color: #fff;
        border-bottom: 1px solid #ddd;
    }
    .mobile-search-bar .search-input input {
        width: 80%;
        margin-right: 10px;
    }

    .products-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr); /* Three items per row */
        gap: 10px; /* Adjust the gap between items as needed */
    }

    .product-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .product-item img {
        width: 100%;
        height: auto;
        max-width: 100px; /* Adjust the max-width as needed */
    }

    .carousel-mobile {
        display: flex !important;
    }
}


