* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.5;
}

.navbar {
  width: 100%;
  background-color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  border-bottom: 1px solid #eee;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a:visited {
  color: inherit;
}

.logo {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  margin-right: 30px;
}

.navitems {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 2rem;
}

.shoppingbag {
  display: flex;
  gap: 1rem;
  height: 24px;
}

.centella p {
  text-decoration: underline;
}

.navlink p {
  margin: 0;
}

.navlink:hover p {
  text-decoration: underline;
  cursor: pointer;
}

.hamburger {
  display: none;
}

.pagehead {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 1rem 5%;
}

.pagehead img {
  width: 30px;
  height: 35px;
  cursor: pointer;
}

.pagehead h2 {
  font-size: 1.2rem;
  font-weight: 600;
}

.buy_lineGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 2rem 5%;
}

.buy_lineGrid div {
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.buy_lineGrid div:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.buy_lineGrid div img {
  width: 100%;
  height: auto;
  max-width: 260px;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.buy_lineGrid h4 {
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-size: 1rem;
  padding: 10px;
  margin-top: 12px;
  text-align: center;
  border: 2px solid black;
  width: 100%;
  font-weight: 600;
  transition: all 0.2s ease;
}

.buy_lineGrid h4:hover,
.buy_lineGrid h4:active {
  background: #4b1d0d;
  color: #fff;
}

.price {
  color: #555;
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.relatedSets {
  margin-top: 40px;
  padding: 20px;
}

.relatedSets h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: black;
  margin-bottom: 20px;
  margin-left: 15px;
}

.cart-footer {
  text-align: center;
  padding: 2rem 1rem;
  border-top: 1px solid #eee;
  color: #777;
  font-size: 0.9rem;
}
@media (max-width: 480px) {
  .navitems {
    display: none;
  }

  .hamburger {
    display: flex;
    align-items: center;
  }

  .logo h1 {
    font-size: 1.5rem;
  }

  .buy_lineGrid {
    padding: 1.5rem;
    gap: 1.5rem;
  }

  .buy_lineGrid div img {
    max-width: 100%;
  }

  .buy_lineGrid h4 {
    font-size: 0.95rem;
  }
}
@media (min-width: 481px) {
  .navitems {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  gap: 2rem;
}

.navitems a,
.navitems div {
  text-decoration: none;
  color: inherit;
}

.navlink p {
  margin: 0;
}

.navlink:hover p {
  text-decoration: underline;
  cursor: pointer;
}

  .hamburger {
    display: none;
  }
}
@media (max-width: 600px) {
  .logo h1 {
    font-size: 1.5rem;
  }
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.related-card {
  background-color: #fafafa;
  border: 1px solid #ddd;
  border-radius: 12px;
  text-align: center;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.related-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.related-card img {
  width: 100%;
  max-width: 260px;
  height: auto;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.related-card h4 {
  border-radius: 8px;
  background: #fff;
  color: #000;
  font-size: 1rem;
  padding: 10px;
  margin-top: 12px;
  text-align: center;
  border: 2px solid black;
  width: 100%;
  font-weight: 600;
  transition: all 0.2s ease;
}

.related-card h4:hover,
.related-card h4:active {
  background: #4b1d0d;
  color: #fff;
}

.related-card .price {
  color: #555;
  font-size: 0.95rem;
  margin: 0.5rem 0 1rem;
}

.related-card .add-btn {
  width: 100%;
  text-align: center;
}
.seeAlso h2 {
  font-size: 1.2rem;
  font-weight: 600;
  color: black;
  margin-bottom: 20px;
  margin-left: 15px;
}