body,html {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
}

    .index {
      position: fixed;
      top: -20px;
      left: 0;
      width: 100%;
      background-color: #e2dddd;
      color: #212121;
      font-size: 18px;
      text-align: center;
      padding: 10px;
      font-weight: bold;
      z-index: 1000;
  }

.index span { color: #d32f2f;}

#clogo {
  position: fixed;
  background-color: white;
  top: 37px;
  left: 0;
  right: 0;
  padding: 10px 20px;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; 
}

#companycontact {
  margin-left: 200px;
  display: flex;
  align-items: center;}

#companycontact img { margin-right: 10px;}

#companycontact h3 {
  font-size: 18px;
  margin-left: 50px;
  margin-top: -30px;}

#companycontact p {
  font-size: 16px;
  margin-left: -100px;
  margin-top: 55px;
}

#companylogo img {   height: 80px;}

#searchbar {
  margin-right: 150px;
  display: flex;
  align-items: center;
  background-color: #e2dddd;
  padding: 5px 10px;
  border-radius: 10px;
}

#searchbar img { margin-right: 10px;}

#searchbar input {
  padding: 8px;
  font-size: 16px;
  border-radius: 5px;
  border: 1px solid #ccc;
  width: 200px; /* Ensure the input box is not too small */}

nav {
  position: fixed;
  top: 146px;
  left: 0;
  width: 100%;
  background-color: #e2dddd;
  color: #333;
  padding: 10px 0;
  text-align: center;
  z-index: 998;
}

nav a {
  color: #333;
  text-decoration: none;
  margin: 0 15px;
  font-size: 16px;
  font-weight: bold;
}

nav a:hover { color: #f39c12;}

.order-link {
  position: relative;
  display: inline-block;
}

.dropdown {
  display: none;
  position: absolute;
  /* background-color: #f1f1f1; */
  min-width: 160px;
  z-index: 1;
  top: 100%; /* Position dropdown below the link */
  left: 0;
}

.order-link:hover .dropdown {
  display: block;
}

.dropdown a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown a:hover {
  background-color: #e2dddd;
  border-radius: 10px;
}

#main-container {
    margin-top: 270px;
    display: flex;
    justify-content: space-between;
    padding: 20px;
}

#filterbar {
    position: fixed;
    background-color: #e2dddd;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    z-index: 996;
    margin-top: -100px !important;
    width: 100%; 
    max-width:180px; 
    overflow: hidden; /* Prevent overflow */
    margin-left: -12px;
}

#filterbar h3 {
    font-size: 22px;
    color: #00796b;
    margin-bottom: 20px;
    margin-top: -10px;
}

#filterbar label {
    font-size: 16px;
    color: #333;
    display: block;
    margin: 10px 0 5px;
    margin-top: -5px;
}

#filterbar select,
#filterbar input[type="range"] {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ccc;
}

#filterbar input[type="range"] {
    width: 100%; 
    margin-left: -10px;
    margin-bottom: -10px;
}

#container {
    padding: 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-left: 200px;
    margin-top: -120px;
}

.box {
    background: #e2dddd;;
    border: none;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 15px;
    padding: 30px;
    position: relative;
}

.img {
    width: 250px;
    height: 250px;
    border-radius: 15px;
}

.box .title {
    font-size: 20px;
    color: goldenrod;
    margin-bottom: 10px;
    text-align: center;
}

.box .price {
    font-weight: bold;
    font-size: 24px;
}
.rate{
    font-size: 20px;
    color: mediumvioletred;
    font-weight: 700;
}

#price-value {
  font-weight: bold;
  margin-left: 10px;
  color: #007BFF;
  font-size: 18px;
 margin-top: -200px !important;
}

input[type="checkbox"] {
  margin-right: 10px;
  accent-color: #007bff; 
  transform: scale(1.2); 
  cursor: pointer;
}

#sortby{
  margin-top: 15px !important;
  margin-left: 200px;
}
#srofcheckbox{
  margin-top: 10px;
}

.price,.mrp {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  color: #333;
  margin-top: 5px;
}

.add-to-cart,.buy-now{
  margin-bottom: 10px;
  margin-right: 20px;
  align-items: center;
  width: 150px;
  height: 40px;
  background-color: green;
  border: none;
  font-size: 15px;
  font-weight: 700;
  color: antiquewhite;
  border-radius: 500px;
}

.box .icon{
  height: 40px;
  width: 40px;
  position: absolute;
  top: 15px;
  right: 15px;
  }