body {
    margin: 0;
    font-family: Arial, sans-serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #000000;
    color: white;
    flex-wrap: wrap;
}

.logo-container {
    flex: 1;
    text-align: center;
}

.logo-container img {
    height: 50px;
}

.search-container {
    flex: 3;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-container input {
    width: 100%;
    max-width: 400px;
    padding: 8px;
    border-radius: 5px;
    border: none;
}

.account-options {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.account-options a {
    color: white;
    text-decoration: none;
    margin: 0 10px;
    font-size: 24px;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

nav {
    background-color: #ff0303;
    padding: 10px 0;
}

.menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    position: relative;
    margin: 0 20px;
}

.menu-item a {
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    display: block;
}

.dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #000000;
    list-style: none;
    padding: 0;
    margin: 0;
    min-width: 150px;
    z-index: 1000; /* Ensure dropdown is above other content */
}

.dropdown li {
    width: 100%;
}

.dropdown li a {
    padding: 10px;
    color: white;
    text-decoration: none;
    display: block;
    width: 100%;
}

.dropdown li a:hover {
    background-color: #d6cfcf1a;
}

.menu-item:hover .dropdown {
    display: block;
}

footer {
    background-color: #000000;
    color: white;
    padding: 20px;
    text-align: center;
}

.footer-box {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-section h4 {
    border-bottom: 2px solid #555;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.footer-section ul {
    list-style-type: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    color: white;
    text-decoration: none;
}

.footer-bottom {
    border-top: 1px solid #555;
    padding-top: 10px;
}

/* Slideshow container */
.slideshow-container {
    max-width: 100%;
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

.mySlides img {
    width: 100%;
}

.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

.text {
    color: #f2f2f2;
    font-size: 15px;
    padding: 8px 12px;
    position: absolute;
    bottom: 8px;
    width: 100%;
    text-align: center;
}

.dot {
    height: 15px;
    width: 15px;
    margin: 0 2px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.active {
    background-color: #717171;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {
    from {opacity: .4}
    to {opacity: 1}
}

@media only screen and (max-width: 300px) {
    .text {font-size: 11px}
}

@media (max-width: 768px) {
    .menu {
        display: none;
        flex-direction: column;
    }

    .menu-toggle {
        display: block;
    }

    .menu-item {
        margin: 0;
    }

    .menu-item .dropdown {
        position: static;
        background-color: #444;
    }

    .menu-item .dropdown li a {
        padding-left: 30px;
    }

    nav.show-menu .menu {
        display: flex;
    }
}

/* Product grid */
.product-grid {
    background-color: #b9144b;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 20px;
    gap: 20px;
}

.product-item {
    flex: 1 1 calc(25% - 20px); /* 4 items per row, with a gap of 20px */
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
}

.product-item img {
    max-width: 100%;
    border-bottom: 1px solid #ddd;
}

.product-item h3 {
    font-size: 18px;
    margin: 10px 0;
}

.product-item {
    flex: 1 1 calc(25% - 20px); /* 4 items per row, with a gap of 20px */
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px; /* Round the corners */
    overflow: hidden;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1); /* Add a subtle shadow */
}

.view-more {
    display: block;
    padding: 10px 20px;
    background-color: #333;
    color: white;
    text-decoration: none;
    margin: 10px auto;
    border-radius: 20px; /* Make the button round */
    width: fit-content;
    transition: background-color 0.3s ease; /* Smooth background-color transition */
}

.view-more:hover {
    background-color: #555; /* Change color on hover */
}

.product-category-heading {
    text-align: center;
    margin-top: 40px;
    font-size: 64px;
    color: #333;
}

.product-category-description {
    text-align: center;
    font-size: 16px;
    color: #777;
    margin-bottom: 20px;
}

@media (max-width: 768px) {
    .product-item {
        flex: 1 1 calc(50% - 20px); /* 2 items per row, with a gap of 20px */
    }
}