/* Navbar Styles */
body{
    margin: 0px;
    padding: 0px;
}
.fixed-navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.navbar {
    background-color: #EBEBEB;
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    padding: 15px 20px;
}

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 17px;
}

.logo img {
    height: 40px;
}

/* Search Section */
.search-section {
    position: fixed;
    top: -200px;
    /* Initially hidden above the screen */
    left: 0;
    right: 0;
    background-color: white;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1001;
    transition: top 0.3s ease-in-out;
}

.search-section.active {
    top: 60px;
    /* Position it below the navbar */
}

.search-section input {
    width: 90%;
    padding: 15px;
    border-radius: 25px;
    border: 1px solid #ddd;
    font-size: 16px;
    outline: none;
}

.search-icon i, .cart i,
.login i {
    color: black;
    font-size: 24px;
    cursor: pointer;
    margin-right: 20px;
}

.suggestions {
    border-radius: 11px;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    max-height: 200px;
    overflow-y: auto;
    border: 1px solid #ccc;
    background-color: white;
    z-index: 10001;
    display: none;
}

.suggestion-item {
    padding: 10px 15px;
    cursor: pointer;
    font-size: 14px;
}

.suggestion-item:hover {
    background-color: #f0f0f0;
}
.cart {
    position: relative;
}

.cart img {
    height: 40px;
}

.cart-count {
    position: absolute;
    top: -10px;
    right: 0px;
    background-color: #dc3545;
    color: white;
    border-radius: 50%;
    padding: 5px 8px;
    font-size: 12px;
}

/* Fix for content below the navbar */
body {
    margin-top: 70px;
    /* Adjust based on the navbar height */
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .search-bar {
        margin: 0 8px;
    }

    .search-bar input {
        font-size: 12px;
    }

    .logo img {
        height: 30px;
    }
}


/* Menu Bar Styles */
.menu-bar {
    background-color: #ffffff;
    font-family: Arial, sans-serif;
    position: relative;
    z-index: 1;
}

.main-menu {
    list-style-type: none;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;
}

.main-menu>li {
    position: relative;
    margin: 0 15px;
}

.main-menu>li>a {
    text-decoration: none;
    color: #540000;
    padding: 10px 15px;
    display: block;
}

.main-menu>li>a:hover {

    font-size: 1.02rem;
}

/* Sub-Menus */
.sub-menu {
    position: absolute;
    top: 100%;
    /* Position below the parent menu item */
    left: 0;
    background-color: #fafafa;
    display: none;
    list-style-type: none;
    padding: 10px 0;
    z-index: 100;
    min-width: 150px;
    /* Ensure a consistent width */
}

.sub-menu li {
    position: relative;
    /* For sub-sub-menu positioning */
}

.sub-menu li a {
    text-decoration: none;
    color: #ad1414;
    padding: 10px 15px;
    white-space: nowrap;
    display: block;
}

.sub-menu li a:hover {
    color: #b1a7a7;
    font-size: 1.02rem;
}

/* Sub-Sub-Menus */
.sub-sub-menu {
    position: absolute;
    top: 0;
    /* Align with the corresponding sub-menu item */
    left: 100%;
    /* Position to the right of the sub-menu */
    background-color: #5f5f5f;
    display: none;
    list-style-type: none;
    padding: 10px 0;
    z-index: 200;
    min-width: 150px;
}

.sub-sub-menu li a {
    text-decoration: none;
    color: #fff;
    padding: 10px 15px;
    white-space: nowrap;
    display: block;
}

.sub-sub-menu li a:hover {
    color: #8a0000;
    font-size: 1.02rem;
}

/* Hover Effects */
.main-menu>li:hover>.sub-menu {
    display: block;
}

.sub-menu li:hover>.sub-sub-menu {
    display: block;
}


/* Hamburger Menu Styles */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
}

.hamburger div {
    width: 30px;
    height: 3px;
    background-color: #000000;
    margin: 4px 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.active div:nth-child(1) {
    transform: rotate(45deg) translate(5px, 10px);
}

.hamburger.active div:nth-child(2) {
    opacity: 0;
}

.hamburger.active div:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -10px);
}

@media (max-width: 768px) {
    .hamburger {
        display: flex;
        /* Show hamburger in mobile view */
        padding: 10px;
    }

    .main-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: left;
    }

    .main-menu>li {
        width: 100%;
        margin: 0;
    }

    .main-menu>li>a {
        padding: 10px;
        border-bottom: 1px solid #555;
        width: 100%;
    }

    .sub-menu,
    .sub-sub-menu {
        position: static;
    }

    .main-menu.active {
        display: flex;
    }
}

/* Hover Underline Effect */
/* Underline effect */

.main-menu>li {
    position: relative;
}

.main-menu>li>a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #8a0000;
    transition: width 0.4s ease;
}

.main-menu>li>a:hover::after {
    width: 100%;
}

.sub-menu li,
.sub-sub-menu li {
    position: relative;
}

.sub-menu li a::after,
.sub-sub-menu li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #ad1414;
    transition: width 0.4s ease;
}

.sub-menu li a:hover::after,
.sub-sub-menu li a:hover::after {
    width: 80%;
}

/* footer */
/* ------------------ Footer - Section ----------------- */
/* General Footer Styling */
footer {
    font-family: 'Roboto', sans-serif;
    background-color: #EBEBEB;
    color: #000000;
    padding: 60px 20px;
    line-height: 1.7;
  }
  
  .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
  }
  
  /* Section Styling */
  .footer-section {
    width: 22%;
    margin-bottom: 30px;
  }
  
  .footer-section h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    margin-bottom: 15px;
    /* font-weight: normal; */
    color: #f01c24;
  }
  
  .footer-section ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-section ul li {
    margin-bottom: 5px;
  }
  
  .footer-section ul li a {
    color: #000000;
    text-decoration: none;
    font-size: 17px;
    transition: color 0.3s;
  }
  
  .footer-section ul li a:hover {
    color: #ff5747;
  }
  
  /* Newsletter & Form */
  .footer-section.newsletter-social form {
    display: flex;
    gap: 10px;
    margin-top: 5px;
  }
  
  .footer-section.newsletter-social input {
    flex: 1;
    padding: 10px;
    border: none;
    border-radius: 5px;
    font-size: 14px;
  }
  
  .footer-section.newsletter-social button {
    padding: 10px 20px;
    background-color: #ff6f61;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
  }
  
  .footer-section.newsletter-social button:hover {
    background-color: #e0584e;
  }

  .footer-section.newsletter-social #feedback-message {
    font-size: 14px;
    color: #28a745;
}
  
  /* Social Media Icons */
  .social-icons {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding: 0;
  }
  
  .social-icons li {
    list-style: none;
  }
  
  .social-icons li a {
    color: #ffffff;
    font-size: 20px;
    transition: color 0.3s;
  }
  
  .social-icons li a:hover {
    color: #ff6f61;
  }
  
  /* Footer Bottom */
  .footer-bottom {
    text-align: center;
    margin-top: 40px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #000000;
    padding-top: 10px;
    border-top: 1px solid #444;
  }
  
  .footer-bottom a {
    color: #f01c24;
    text-decoration: none;
    margin: 0 5px;
  }
  
  .footer-bottom a:hover {
    text-decoration: underline;
  }
  
  /* Responsive Design */
  @media (max-width: 768px) {
    .footer-container {
      flex-direction: column;
      align-items: center;
    }
  
    .footer-section {
      width: 100%;
      text-align: center;
    }
  
    .social-icons {
      justify-content: center;
    }
  
    .footer-section.newsletter-social form {
      flex-direction: column;
    }
  }
  .st {
      color: #f01c24;
  }
  .p{
      font-size: 17px;
  }
  .a{
      text-decoration: none;
      color: #000000;
  }
