* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  body {
    font-family: Arial, sans-serif;
  }

  
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  font-family: 'Playfair Display', serif;
  color: rgb(0, 0, 0);
  height: 5em; 
  padding: 0 2.5em; 
}

/* nav logo img css */

nav #logo img {
  height: 2em; /* Adjust the height as needed */
  width: auto; /* Maintain aspect ratio */
  object-fit: contain; /* Maintain aspect ratio */
  margin-left: 0.5em; /* for creating margin to right side */
}

/* search bar css */
.search-bar {
  flex: 1;
  max-width: 600px;
  margin: 0 30px;
  display: flex;
  align-items: center;
  border: 1px solid #575757;
  border-radius: 10px;
  padding: 6px 12px;
  background-color: #f9f9f9;
  transition: all 0.3s ease;
}

/* search bar input css */
.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 16px;
  background: transparent;
  padding: 8px;
}
/* search btn css */
.search-bar button {
  background: none;
  border: none;
  cursor: pointer;
}

.search-bar img {
  width: 25px;
  height: 25px;
}
.search-bar:focus {
  border-color: #2874f0; /* or any color you like */
  box-shadow: 0 0 10px rgba(40, 116, 240, 0.5);
  background-color: #fff;
}
.search-bar:focus-within {
  border: 2px solid #000000; /* border highlights on focus */
  background-color: #ececec;
  box-shadow: 0 0 2px rgba(40, 116, 240, 0.3);
}

/* nav bar anchor and anchor img css */

nav a {
  text-decoration: none;
  color: #000000;
  text-align: right;
}
nav a img {
  height: 1.5em; 
  width: auto;
  object-fit: contain;
  margin-right: 0.5em; /* for creating margin to right side */
  vertical-align: middle; /* Align nicely with text */
}

/* nav bar app logo css */
#logo {
  font-size: 1.875rem; /* 30px */
  font-weight: bold;
}

/* nav bar icons css */
#menu {
  display: flex;
  gap: 1.25em; /* 20px */
  
}

/* custom tooltip for nav bar icons */
.custom-tooltip {
  position: relative;
  display: inline-block;
}

.custom-tooltip::after {
  content: attr(data-title);
  position: absolute;
  bottom: -3em;
  left: 50%;
  transform: translateX(-50%);
  background-color: #000000;
  color: #fff;
  padding: 5px 10px;
  border-radius: 5px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  font-size: 0.75em;
  z-index: 10;
}

.custom-tooltip:hover::after {
  opacity: 1;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 400px;
    /* max-width: 1200px; */
    /* margin: auto; */
    overflow: hidden;
    /* border-radius: 10px; */          
}

.slider-track {
    display: flex;
    transition: opacity 2s ease-in-out;
}

.slide {
    min-width: 100%;
    transition: 2s ease-in-out;
}

.slide img {
    width: 100%;
    display: block;
}

.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    font-size: 2rem;
    padding: 10px;
    border: none;
    cursor: pointer;
    z-index: 1;
    border-radius: 50%;
}

.prev {
    left: 10px;
}

.next {
    right: 10px;
}

.top_cate{
    height: 75px;
    width: 100%;
    background-color: rgb(200, 166, 250);
    border-width: 5px;
    border-color: #000000;
    padding: 10px;
    align-content: center;
    text-align: center;
    font-size: x-large;
    font-family: 'Times New Roman', Times, serif ;
}


.container {
  display: flex;
  justify-content: space-between;
  background-color: #e8e7fb;
  padding: 20px;
  border-radius: 10px;
  margin: 0 auto;
}

.Parent-div {
  background-color: white;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  flex: 1;
  margin: 0 10px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  transition: transform 0.3s ease;
}

.Parent-div img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.Parent-div img:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

.product-section {
  padding: 40px 20px;
  background-color: #efebfe;
  text-align: center;
}

.product-section h2 {
  font-size: 28px;
  font-weight: bold;
  color: #2c2c2c;
  margin-bottom: 30px;
}


.product-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}

.product-card {
  background-color: #ffffff;

  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  width: 220px;
  padding: 15px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.product-card h3 {
  font-size: 16px;
  color: #333;
  margin: 10px 0 5px;
}

.price {
  font-size: 16px;
  color: #6c3483;
  font-weight: bold;
}

.buy-btn {
  margin-top: 10px;
  padding: 8px 16px;
  background-color: #decbfa;
  border: none;
  border-radius: 5px;
  color: rgb(0, 0, 0);
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.buy-btn:hover {
  background-color: #a37fff;
}
