@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap");

html,
body {
  height: 100%;
  width: 100%;
  margin: 0;
  font-family: "Inter", sans-serif;
  background: white;
  color: black;
}

.container {
  text-align: center;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

h1 {
  font-size: 2em;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.1cap;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  padding: 10px;
  background: none;
}

.tab-button {
  background-color: #f0f0f0;
  color: #333;
  border: none;
  border-radius: 5px;
  padding: 15px 30px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  font-weight: 600;
  width: 300px;
  font-size: larger;
}

.tab-button.active {
  background-color: black;
  color: white;
}

.tab-button:hover {
  background: #ddd;
  transform: scale(1.05);
}

.product-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.product-card {
  background: none;
  color: black;
  border: none;
  padding: 20px;
  width: 250px;
  text-align: left;
  position: relative;
}

.product-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: top;
}

.product-card .badge {
  background: white;
  color: black;
  padding: 5px;
  border-radius: 5px;
  position: absolute;
  top: 25px;
  left: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  font-weight: 500;
  font-size: small;
}

.product-card .title-vendor {
  display: flex;
  align-items: baseline;
  margin: 8px 0;
  white-space: nowrap;
}

.product-card .title {
  flex-shrink: 0;
  max-width: 70%;
  font-size: large;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
}

.product-card .dot {
  font-size: larger;
  margin: 0 5px;
  flex-shrink: 0;
}

.product-card .vendor {
  font-size: medium;
  flex-shrink: 0;
  color: grey;
  vertical-align: sub;
}

.product-card .price-line {
  display: flex;
  align-items: center;
  margin-top: 5px;
}

.product-card .price {
  text-decoration: line-through;
  color: grey;
  font-size: 1em;
  margin-right: 10px;
}

.product-card .discount {
  color: red;
  font-size: 1em;
  font-weight: 500;
}

.product-card .salePrice {
  font-weight: bold;
  font-size: 1em;
  margin-right: 10px;
}

.product-card .add-to-cart {
  background-color: black;
  color: white;
  border: none;
  border-radius: 5px;
  padding: 10px 20px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  margin-top: 2px;
  font-size: medium;
  width: 100%;
  height: auto;
}

.product-card .add-to-cart:hover {
  background: #555;
  transform: scale(1.03);
}
