:root {
  --primary-color: #000;
  --secondary-color: #fff;
  --text-light: #555;
  --star-color: #000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Arial", sans-serif;
}

body {
  background-color: #ffffff;
  overflow-x: hidden;
}

.hero-section,
.brand-strip {
  width: 100%;
}

.brand-strip img {
  height: 30px;
  width: auto;
}

.hero-section {
  display: flex;
  min-height: 700px;
  background-image: url("../assets/icons/Rectangle 2.png");
  background-position: center bottom;
  background-size: cover;
}

.hero-content {
  flex: 1;
  padding: 80px 50px 50px 50px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.text-block h1 {
  font-size: 60px;
  line-height: 1.1;
  max-width: 550px;
  margin-bottom: 30px;
  font-weight: 900;
}

.text-block p {
  font-size: 16px;
  color: var(--text-light);
  max-width: 450px;
  margin-bottom: 40px;
}

.shop-now-btn {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border: none;
  padding: 15px 35px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
}

.stats-container {
  display: flex;
  gap: 40px;
  margin-top: 50px;
}

.stat-item {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.stat-number {
  font-size: 30px;
  font-weight: bold;
  margin-bottom: 5px;
}

.stat-description {
  font-size: 14px;
  color: var(--text-light);
}

.hero-image-container {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.star {
  position: absolute;
  font-size: 40px;
  font-weight: 900;
  line-height: 1;
  color: var(--star-color);
}

.top-right {
  top: 50px;
  right: 50px;
}

.bottom-center {
  top: 50%;
  left: 50px;
  transform: translateY(-50%);
}

.brand-strip {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 30px 50px;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}

.product-section {
  padding: 80px 50px;
  text-align: center;
  max-width: 1400px;
  margin: 0 auto;
}

.section-title {
  font-size: 30px;
  font-weight: 900;
  margin-bottom: 50px;
  letter-spacing: 2px;
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.product-card {
  text-align: left;
  display: flex;
  flex-direction: column;
}

.product-image-container {
  background-color: #f7f7f7;
  border-radius: 5px;
  margin-bottom: 10px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-name {
  font-size: 16px;
  font-weight: bold;
  margin-top: 5px;
  margin-bottom: 5px;
}

.rating {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 8px;
}

.rating span {
  color: gold;
}

.price {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 8px;
}

.sale-price {
  color: var(--primary-color);
}

.original-price {
  text-decoration: line-through;
  color: var(--text-light);
  font-weight: normal;
  font-size: 16px;
}

.discount {
  color: #ff0000;
  background-color: #ffeaea;
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: normal;
  font-size: 12px;
}

.view-all-btn {
  background: none;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 10px 30px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  border-radius: 5px;
  transition: background-color 0.3s;
  display: inline-block;
  margin: 20px auto 0;
}

.view-all-btn:hover {
  background-color: #eee;
}

@media (max-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto 40px;
  }

  .product-section {
    padding: 40px 20px;
  }

  .section-title {
    font-size: 24px;
    margin-bottom: 30px;
  }
}

.rating span {
  color: #ffd700;
  margin-right: 2px;
}

.rating {
  color: #666;
  font-size: 14px;
}

@media (max-width: 768px) {
  .hero-section {
    flex-direction: column;
    min-height: auto;
  }

  .hero-content {
    padding: 40px 20px;
  }

  .text-block h1 {
    font-size: 36px;
  }

  .stats-container {
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
  }

  .brand-strip {
    padding: 20px;
    flex-wrap: wrap;
    gap: 20px;
  }

  .brand-strip img {
    height: 25px;
  }
}
