* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #EAEDED;
  background: url('') no-repeat center center/cover;
}


.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #131921;
  padding: 10px 20px;
  color: white;
}

.logo {
  font-size: 24px;
  font-weight: bold;
}
.logo span {
  color: #FF9900;
}

.search-bar {
  flex: 1;
  display: flex;
  margin: 0 20px;
}
.search-bar input {
  width: 100%;
  padding: 8px;
  border: none;
}
.search-bar button {
  padding: 8px 12px;
  background: #febd69;
  border: none;
  cursor: pointer;
}

.nav-links a {
  margin-left: 15px;
  text-decoration: none;
  color: white;
  font-size: 14px;
}
.nav-links a:hover {
  text-decoration: underline;
}
.cart-btn{
  border:none;
  background:transparent;
  cursor: pointer;
}
.cart-btn img{
  width:20px;
  height:20px;
}


.hero {
  background-image:url('offer.jpeg');
  background-repeat:no-repeat;
  background-size: contain;
  background-position: center;
  background-color: #fff7e6;
  height:400px;
  width:100%;
  text-align:center;
  padding:60px 20px;

}
.hero 
.hero p{
  color:red;
}
.hero h2{
  color:white;
}


.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 20px;
}

.product-slider {
  display: flex;
  overflow-x: auto;   
  gap: 20px;
  padding: 20px;
}

.product-slider::-webkit-scrollbar {
  display: none; 
}

.product-slider .product-card {
  min-width: 200px;  
  flex-shrink: 0;    
  background: white;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
.product-card {
  background: white;
  padding: 15px;
  text-align: center;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.product-card img {
  max-width: 100%;
  height: 150px;
  object-fit: cover;
  transition: transform 0.3s ease;

}
.product-card button {
  margin-top: 10px;
  padding: 8px 12px;
  background: #ff9900;
  border: none;
  color: white;
  cursor: pointer;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.2s ease;
}
.product-card:hover img {
  transform: scale(1.08);
}
.product-card button:hover {
  background: #e68a00;
}
.old-price {
    text-decoration: line-through;
    color: grey;
    margin-right: 8px;
}

.new-price {
    font-weight: bold;
    margin-right:8px;
}
.discount {
    color: green;
    font-weight: bold;
}

.cart-btn {
  position: relative;
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: orange;
  color: black;
  font-weight: bold;
  border-radius: 50%;
  padding: 3px 7px;
  font-size: 12px;
}
.wishlist-btn {
  position: relative;
  border: none;
  background: transparent;
  cursor: pointer;
}

.wishlist-btn img {
  width: 20px;
  height: 20px;
}

.wishlist-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background: pink;
  color: black;
  font-weight: bold;
  border-radius: 50%;
  padding: 3px 6px;
  font-size: 12px;
}

.wishlist-add {
  margin-top: 8px;
  padding: 7px 10px;
  background: #ff77aa;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wishlist-add:hover {
  background: #ff4f90;
}
.account-menu {
  position: relative;
  cursor: pointer;
  padding: 5px 15px;
}

.account-menu span {
  font-size: 12px;
}

.account-menu p {
  font-size: 14px;
  font-weight: bold;
}

.dropdown {
  position: absolute;
  top: 48px;
  left: 0;
  background: white;
  color: black;
  width: 180px;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.2);
  display: none;
  flex-direction: column;
  padding: 10px 0;
  z-index: 20;
}

.dropdown a {
  padding: 10px;
  display: block;
  color: #111;
  text-decoration: none;
}

.dropdown a:hover {
  background: #f4f4f4;
}

.account-menu:hover .dropdown {
  display: flex;
}
.account-box {
  background: white;
  width: 350px;
  margin: 50px auto;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
  box-shadow: 0 0 10px rgba(0,0,0,0.2);
}

#logout-btn {
  margin-top: 15px;
  width: 100%;
  padding: 10px;
  background: #ff9900;
  border: none;
  color: white;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}
#logout-btn:hover {
  background: #e68a00;
}



footer {
  text-align: center;
  background: #131921;
  color: white;
  padding: 15px;
  margin-top: 20px;
}