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%;
}
.header2 {
  background-color: #333;
  color: white;
  padding: 20px;
  position: relative;
  text-align: center;
}

.cart-container {
  position: absolute;
  top: 20px;
  right: 20px;
}

.cart-link {
  text-decoration: none;
  color: white;
  font-size: 18px;
  position: relative;
}

.cart-icon {
  width: 32px;
  height: 32px;
}

#cart-count {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: red;
  color: white;
  border-radius: 50%;
  padding: 5px 10px;
  font-size: 14px;
}

.product-list {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  padding: 30px;
  gap: 50px;
}

.product {
  background-color: #fff;
  border: 1px solid #ddd;
  width: 300px;
  /* Adjusted for a more compact look */
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.product:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.product-img {
  width: 100%;
  height: auto;
  /* Maintain aspect ratio */
  object-fit: cover;
  /* Crop the image without stretching */
  margin-bottom: 15px;
  /* Provide space between image and details */
}

.product-details {
  padding: 0 15px 20px;
  /* Padding for details section */
}

h2 {
  font-size: 20px;
  margin: 10px 0;
  color: #333;
}

p {
  font-size: 18px;
  color: #666;
}

label,
input {
  font-size: 16px;
}

input {
  width: 50px;
  padding: 5px;
  text-align: center;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button {
  border: 2px solid #ad1414;
  border-radius: 8px;
  color: #ad1414;
  background-color: rgb(255, 255, 255);
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  width: 100%;
  margin-top: 10px;
}

button:hover {
  background-color: #ad1414;
  color: white;
  border-color: white;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

.cart-items {
  padding: 20px;
  width: 90%;
  margin: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
}

table th,
table td {
  border: 1px solid #ddd;
  padding: 10px;
  text-align: center;
}

table th {
  background-color: #f2f2f2;
}

img.cart-img {
  width: 50px;
  height: 50px;
}

#send-email {
  background-color: #007bff;
  color: white;
  padding: 10px;
  border: none;
  cursor: pointer;
  margin-top: 20px;
  font-size: 16px;
}

#send-email:hover {
  background-color: #0056b3;
  box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}