@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900&display=swap');
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #f4f4f4;
  font-size: 1.2rem;
  color: #333;
}

.btn {
  text-align: center;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding: 20px;
}

.card {
  width: 300px;
  border-radius: 10px;
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
  overflow: hidden;
  margin: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: #fff;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.card-image {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: contain;
  margin-bottom: 10px;
  border-bottom: 1px solid #ddd;
}

.card-content {
  padding: 16px;
  text-align: center;
}

.card-title {
  font-size: 20px;
  font-weight: bold;
  margin: 10px 0;
  color: #1a73e8;
}

.card-brand {
  font-size: 14px;
  color: #777;
  margin-bottom: 10px;
}

.card-price {
  font-size: 18px;
  font-weight: bold;
  color: #e53935;
  margin: 10px 0;
}

#cart {
  width: 50%;
  margin-bottom: 100px;
}

.card-button {
  padding: 12px 24px;
  background-color: #1a73e8;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease, transform 0.3s ease;
  margin: 8px;
  width: 100%;
}

.card-button:hover {
  background-color: #155bb5;
  transform: translateY(-2px);
}

.reder-card {
  text-align: center;
}

.total-display {
  margin-top: 20px;
  text-align: center;
  padding: 16px;
  border-radius: 8px;
  font-size: 20px;
  font-weight: bold;
}

.navbar {
  background-color: #333;
  padding: 1rem 2rem;
  color: #fff;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar-logo {
  color: #fff;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease;
}

.navbar-logo:hover {
  color: #b1aaaa;
}

li {
  font-weight: 600;
}

.navbar-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.navbar-links li a {
  color: #ddd;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.navbar-links li a:hover {
  color: #b1aaaa;
}

.footer {
  background-color: #222;
  color: #fff;
  padding: 2rem 0;
  text-align: center;
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 0 2rem;
}

.footer p {
  margin: 0;
  font-size: 0.9rem;
  color: #bbb;
}

.footer-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}

.footer-links li a {
  color: #ddd;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.footer-links li a:hover {
  color: #00d1b2;
}

@media (max-width: 768px) {
  .navbar-container {
    flex-direction: column;
  }
  .navbar-links {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
  .footer-container {
    flex-direction: column;
    text-align: center;
  }
  .footer-links {
    justify-content: center;
    gap: 0.5rem;
  }
}

@media (max-width: 768px) {
  .card {
    width: 90%;
    margin: 10px;
  }
  .card-button {
    margin: 10px 0;
  }
}
