* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #f2f2f2;
}

.header-container {
  height: 70px;
  background: #222222;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
}

.logo-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-container img {
  width: 40px;
}

.text-red {
  color: #d01418;
}

.right-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links {
  display: flex;
  gap: 25px;
  margin-right: 40px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 14px;
  position: relative;
  padding-bottom: 3px;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #d01418;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: #d01418;
  transition: width 0.25s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ---------------------- */
/* BURGER MENU */

.burger-btn {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger-btn span {
  width: 28px;
  height: 3px;
  background: white;
  border-radius: 5px;
  transition: 0.3s;
}

.cart-icon {
  width: 25px;
  cursor: pointer;
}

.hero-banner {
  height: 470px;
  background-image: url(../img/img\ 1.svg);
  background-size: cover;
  background-position: center;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.banner-content h2 {
  font-size: 26px;
  color: white;
  margin-bottom: 15px;
}

.banner-content h2 span {
  color: #d01418;
  font-weight: bold;
}

.btn-buy {
  background: #d01418;
  border: none;
  padding: 14px 40px;
  color: white;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  font-size: 18px;
}

.btn-buy:hover {
  background: #b51f1f;
}

.featured-products {
  padding: 60px 0;
  text-align: center;
  margin: 40px 0 60px;
}

.products-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  width: 90%;
  max-width: 1100px;
  margin: 30px auto 0;
}

.product-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.18);
}

.product-card img {
  width: 150px;
}

.price {
  font-size: 18px;
  font-weight: bold;
}

.installments {
  font-size: 12px;
  color: gray;
}

.free-shipping {
  font-size: 13px;
  margin-top: 5px;
  text-decoration: none;
  color: #619d00;
}

/* ------------------------- */
/* STAR PRODUCTS */

.star-products {
  margin-top: 40px;
  padding-bottom: 80px;
  text-align: center;
}

.star-products h2 {
  margin-bottom: 25px;
}

.star-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.star-item {
  position: relative;
}

.star-item img {
  width: 100%;
  border-radius: 10px;
}

.star-title {
  position: absolute;
  padding: 6px 15px;
  top: 50%;
  right: 20px;
  font-size: 22px;
  font-weight: 500;
  border-radius: 6px;
  color: white;
  transform: translateY(-50%);
}

footer {
  background: #222222;
  color: white;
}

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

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo img {
  width: 40px;
}

.footer-text {
  font-size: 22px;
  font-weight: bold;
}

.social {
  text-align: right;
}

.social img {
  width: 28px;
  margin-left: 12px;
  cursor: pointer;
}

.social-title {
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-rights {
  width: 100%;
  background-color: #c4c4c4;
  color: black;
  text-align: center;
  font-size: 13px;
  padding: 9px 0;
}

@media (max-width: 850px) {
  .burger-btn {
    display: flex;
  }

  .right-menu {
    position: absolute;
    top: 70px;
    right: 0;
    width: 60%;
    background: #222222;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 20px;
    transform: translateX(100%);
    transition: 0.3s ease;
  }

  .right-menu.open {
    transform: translateX(0);
  }

  .nav-links {
    flex-direction: column;
    gap: 15px;
    margin-right: 0;
  }

  .cart-icon {
    width: 30px;
  }
  .products-grid {
    grid-template-columns: 1fr 1fr;
  }

  .star-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .header-container {
    flex-direction: column;
    height: auto;
    gap: 10px;
    padding: 15px 0;
  }

  .nav-links {
    gap: 10px;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .banner-content h2 {
    font-size: 20px;
  }
}
