body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f8f8f8;
  color: #333;
}

header {
  background: #0077cc;
  color: white;
  padding: 15px 0;
  text-align: center;
}

header nav a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
}

.hero {
  text-align: center;
  padding: 50px 20px;
  background: #e0f7ff;
}

.products {
  padding: 50px 20px;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.product-card {
  background: white;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.product-card img {
  width: 100%;
  border-radius: 10px;
}

button, .add-to-cart {
  background: #0077cc;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  margin-top: 10px;
}

button:hover, .add-to-cart:hover {
  background: #005fa3;
}

.contact {
  padding: 50px 20px;
  text-align: center;
  background: #e0f7ff;
}

footer {
  text-align: center;
  padding: 20px;
  background: #0077cc;
  color: white;
}

/* Sabit cart ikonu sağ alt */
#cart-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ff6600;
  color: white;
  padding: 15px;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  z-index: 1000;
}

/* Count badge */
#cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: red;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
}

/* Sebət dropdown */
#cart-dropdown {
  position: fixed;
  bottom: 70px;
  right: 20px;
  width: 250px;
  background: white;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 10px;
  display: none; /* Əvvəl gizli */
  box-shadow: 0 0 15px rgba(0,0,0,0.2);
}

#cart-dropdown h4 {
  margin: 0 0 10px 0;
  font-size: 16px;
}

#cart-items {
  list-style: none;
  padding: 0;
  margin: 0;
}

#cart-items li {
  display: flex;
  justify-content: space-between;
  margin-bottom: 5px;
}

#cart-total {
  margin-top: 10px;
  font-weight: bold;
}
