* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

.profile-menu {
  position: relative;
  display: inline-block;
}

.profile-icon {
  background-color: #ef4444;
  color: white;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  width: 41px;
  height: 41px;
}

.dropdown {
  display: none;
  position: absolute;
  right: 0;
  /* margin-top: 10px; */
  background: linear-gradient(to bottom right, #6d6d6d, #a3a3a3);
  color: white;
  border-radius: 8px;
  width: 250px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown a {
  display: flex;
  align-items: center;
  padding: 12px 16px;
  text-decoration: none;
  color: white;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 10px;
}

.dropdown a:last-child {
  border-bottom: none;
}

.dropdown a i {
  margin-right: 10px;
}

.dropdown a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.profile-menu:hover .dropdown {
  display: block;
}


  

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    background-color: white;
    border-bottom: 1px solid #ccc;
}

.logo {
    font-weight: bold;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: black;
    font-size: 1rem;
}

.nav-links a.active {
    border-bottom: 1px solid black;
}

.search-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.search-box {
    padding: 8px 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    margin-left: -20px;
}

.icons {
    display: flex;
    gap: 20px;
    font-size: 1.2rem;
    cursor: pointer;
    margin-left: 20px;
}
header {
    background-color: #000; 
    color: #fff; 
    text-align: center;
    padding: 10px 20px;
    font-size: 1rem;
    font-weight: 500;
    font-family: Arial, sans-serif;
    position: relative;
  }
  
  header span {
    margin-left: 10px;
    font-weight: bold;
    color: #FFD700; 
    cursor: pointer;
    text-decoration: underline;
  }

  /* navbar end */


  .container {
    display: flex;
    padding: 20px;
  }

  .sidebar {
    width: 220px;
    padding-right: 20px;
    border-right: 1px solid #ddd;
  }

  .sidebar ul {
    list-style: none;
  }

  .sidebar ul li {
    padding: 12px 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
  }

  .sidebar ul li:hover {
    background-color: #f5f5f5;
  }

  .main-slider {
    flex: 1;
    position: relative;
    overflow: hidden;
    padding-left: 20px;
  }

  .slide {
    display: none;
    align-items: center;
    justify-content: flex-start;
    padding: 40px;
    height: 350px;
    border-radius: 10px;
    background-size: cover;
    background-position: center;
    position: relative;
    color: white;
  }

  .slide::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
  }

  .slider-content {
    position: relative;
    z-index: 1;
    max-width: 400px;
  }

  .slider-content p {
    font-size: 14px;
    margin-bottom: 8px;
  }

  .slider-content h2 {
    font-size: 28px;
    margin-bottom: 12px;
  }

  .slider-content a {
    display: inline-block;
    margin-top: 8px;
    text-decoration: none;
    color: #fff;
    border-bottom: 1px solid #fff;
    padding-bottom: 2px;
    transition: color 0.2s ease;
  }

  .slider-content a:hover {
    color: #ccc;
  }

  .dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;

  }

  .dot {
    height: 10px;
    width: 10px;
    background-color: #bbb;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
  }

  .dot.active {
    background-color: #f33;
  }

  #socielmedia{
    display: flex;
    justify-content: center;
    gap: 50px;
    margin-left: -30px;
    margin-top: 30px;
  }

  #socielmedia a {
    color: white;
  }

  #socielmedia i {
    font-size: 30px;
    height: 30px;
    line-height: 30px;
    color: white;
  }

  #heading{
    display: flex;
  }

  #heading button{
    width: 20px;
    border: none;
    border-radius: 8px;
    margin-right: 20px;
  }

  #view-all{
    margin-left: 600px;
    margin-right: -100px;
  }


  .product-name-today{
      white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;

  }

  .product-name-month{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 285px;
  }

  .rating-red i {
  color: red;
}

.rating-yellow i {
  color: #f0ad4e; 
}

.rating-green i {
  color: green;
}

.review-text {
  color: black;
  margin-left: 4px;
}