


/* Very Small Screens (Phones under 400px) */
@media screen and (max-width: 400px) {
    .categories,
    .products {
        grid-template-columns: 1fr;
    }

    .product img {
        height: 120px;
    }

    .tab-main {
        font-size: 0.85rem;
        padding: 8px 10px;
    }
}




/* Header Styles */
header {
    background-color: #1f2937; /* dark gray */
    color: white;
    padding: 16px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-size: 1.5rem;
    font-weight: bold;
}

.search-bar {
    margin-top: 10px;
    width: 100%;
    max-width: 400px;
}

.search-bar input[type="text"] {
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    border: none;
    font-size: 14px;
}

/* Navigation Styles */
nav {
    background-color: #7f1d1d; /* red-900 */
    color: white;
    display: flex;
    flex-wrap: wrap;
    padding: 12px 16px;
    justify-content: center;
}

nav a {
    color: white;
    padding: 10px 16px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s, color 0.3s;
    border-radius: 4px;
}

nav a:hover {
    background-color: #f3f4f6; /* gray-100 */
    color: #7f1d1d; /* red-900 */
}

/* Dropdown Styles */
.dropdown-wrapper {
    position: relative;
}

.dropdown-wrapper ul.dropdown-menu {
    display: none;
    position: absolute;
    background-color: white;
    color: black;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    margin-top: 8px;
    min-width: 180px;
    z-index: 1000;
}

.dropdown-wrapper:hover ul.dropdown-menu {
    display: block;
}

.dropdown-menu li {
    list-style: none;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 14px;
    color: #1f2937;
    text-decoration: none;
    transition: background-color 0.2s;
}

.dropdown-menu li a:hover {
    background-color: #f3f4f6;
}


.footer {
    background-color: #07032bf2; /* dark gray */
    color: white;
    padding: 40px 20px;
    font-size: 14px;
}


.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: auto;
}

.footer-column h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #facc15;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column ul li a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #facc15;
}

.footer-column p {
    color: #9ca3af;
}

.social-icons a {
    margin-right: 10px;
    display: inline-block;
}

.social-icons img {
    width: 20px;
    height: 20px;
}

.footer-bottom {
    text-align: center;
    margin-top: 40px;
    border-top: 1px solid #374151;
    padding-top: 20px;
    color: #6b7280;
}


.main-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  background: #800000;
  padding: 1rem 2rem;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  position: relative;
}

.dropdown-wrapper {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  color: #333;
  list-style: none;
  padding: 0.5rem 0;
  margin: 0;
  border-radius: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  min-width: 180px;
  z-index: 1000;
}

.dropdown-menu li a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #f1f1f1;
}

/* Show dropdown on hover */
.dropdown-wrapper:hover .dropdown-menu {
  display: block;
}



 .tab-main {
    font-weight: 500;
    padding: 12px 16px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}
.tab-main:hover {
    background-color: #f0f0f0;
}
.tab-main.active {
    background-color: #0d6efd;
    color: #fff;
}

.my-account-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
}

.table th {
    background-color: #f8f9fa;
    font-weight: 600;
    color: #555;
}

.table td {
    color: #333;
}


.bannerSwiper {
    width: 100%;
    height: auto;
}
.swiper-slide img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
}


.banner-slider {
        width: 100%;
        overflow: hidden;
        margin-bottom: 30px;
        border-radius: 10px;
    }

    .banner-slider img {
        width: 100%;
        height: auto;
        border-radius: 10px;
        object-fit: cover;
        max-height: 400px;
    }

    .categories,
    .products {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
        gap: 1rem;
        padding: 1rem;
    }

    .category,
    .product {
        background-color: #fff;
        padding: 15px;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
    }

    .category h3 {
        margin: 0;
        font-size: 1rem;
        color: #333;
    }

    .product img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 10px;
    }

    .product h3 {
        font-size: 1rem;
        margin: 0 0 5px;
        color: #111;
    }

    .product p {
        font-size: 1rem;
        color: #007b00;
        font-weight: bold;
        margin: 0;
    }

    @media screen and (max-width: 500px) {
        .product img {
            height: 150px;
        }
    }