.images {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 5px;
}
#discount {
  background-color: red;
  color: white;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 0.9rem;
}
.old {
  text-decoration: line-through;
  color: #888;
  font-size: 0.9rem;
  margin-left: 5px;
}

body {
  background-color: #ffffff;
  color: #212529; /* Bootstrap's text-dark */
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}

/* index.css */

* {
  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;
  margin-top: -28px;
}

header span {
  margin-left: 10px;
  font-weight: bold;
  color: #FFD700; 
  cursor: pointer;
  text-decoration: underline;
}

.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;
}

footer{
  margin-top: 10px;
  margin-bottom: -30px;
}

.ourproduct{
  font-size: 24px;
  margin-top: 20px;
}

#pagination button:hover {
  background-color: #DB4444 !important;
  color: white !important;
  border: none;
}

#pagination button.btn-dark {
  background-color: #DB4444;
  border-color: #DB4444;
  border: none;
}

/* sliderbar */

#sliderbar{
  display: flex;
  position: relative;
}

#sliderbar div{
  position: absolute;
  top: 0;
  right: 0;
}



.fw-medium {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: block;
  width: 100%;
}

.CardHover {
  transition: transform 0.3s ease;
  will-change: transform;
}

.CardHover:hover {
  transform: scale(1.05);
  background-color: #e2dddd;
  color: #000;
}
