* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background-color: #f9f9f9;
  padding: 20px;
}

.container {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 30px;
  min-height: 100vh;
}

.navbar {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  background: #fff;
  padding: 10px 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.logo a {
  text-decoration: none;
  color: #333;
  font-weight: bold;
  font-size: 1.3rem;
}

.search-bar {
  padding: 8px 10px;
  border-radius: 8px;
  border: 1px solid #ccc;
  width: 100%;
}

.icons {
  display: flex;
  gap: 15px;
  align-items: center;
}

.icon a {
  font-size: 1.5rem;
  text-decoration: none;
  color: #333;
  transition: transform 0.2s ease, color 0.2s ease;
}

.icon a:hover {
  transform: scale(1.2);
  color: #000;
}

section h2 {
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.product-grid {
  display: grid;
  gap: 20px;
}

.favorites-grid,
.others-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.product-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 15px;
  transition: transform 0.2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
}

.product-card img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  margin-bottom: 10px;
}

.cart-section {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  display: grid;
  gap: 20px;
}

.cart-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px;
}

.cart-items, .cart-summary {
  border: 2px dashed #ddd;
  border-radius: 10px;
  padding: 20px;
  min-height: 200px;
}

.cart-summary {
  background-color: #fafafa;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-section {
  background: #fff;
  padding: 25px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.info-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}

.info-box {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.contact-btn {
  background: #333;
  color: #fff;
  border: none;
  padding: 10px 16px;
  border-radius: 8px;
  cursor: pointer;
}

.contact-btn:hover {
  background: #555;
}

.info-image {
  background: #ccc;
  border-radius: 12px;
  height: 250px;
}

.footer {
  background: #ddd;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  color: #444;
  font-size: 0.9rem;
}
