html, body {
  height: 100%;
  margin: 0;
  font-family: Arial, sans-serif;
  background: #fff;
  color: #222;
  /* added to make the footer stick to the bottom */
  display: flex;
  flex-direction: column;
}

/* Header */
.banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 20px;
  background: #000;
}

.banner-left {
  display: flex;
  align-items: center;
}

.banner img {
  height: 50px;
  margin-right: 15px;
}

.divider {
  width: 2px;
  height: 40px;
  background: #ff0000;
  margin-right: 15px;
}

.logo-text {
  font-family: 'Orbitron', 'Audiowide', sans-serif;
  font-size: 22px;
  color: #ff0000;
  font-weight: bold;
}

.slogan {
  font-family: 'Orbitron', 'Audiowide', sans-serif;
  font-size: 14px;
  color: #ff4d4d;
  font-style: italic;
}

.banner-right a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  margin-left: 15px;
  background-color:#c30000;
  border-radius: 6px;
  padding: 10px 21px;
}

.banner-right a:hover {
   color: #c30000;
   color: black;
   background-color: #a80000;
}

.return-btn{
      margin: 20px 30px 10px;
      display: flex;
      justify-content: flex-start;
      align-items: center;
    }
    .return-btn a{
      width: fit-content;
      display: flex;
      justify-content: center;
      padding: 12px 28px;
      background: #c30000;
      color: #fff;
      font-weight: 700;
      text-decoration: none;
      border-radius: 6px;
    }

    .return-btn a:hover {
      background: #a80000;
    }

/* css styling for the main div, make the footer stick to the bottom */
    .main {
    flex: 1;
    display: flex;
    flex-direction: column;
    } 
    
/* Products */
.products {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
}

.product-card {
  display: flex;
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  height: 180px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.product-card img {
  width: 300px;
  object-fit: cover;
}

.product-info {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-info h3 {
  font-family: 'Orbitron', 'Audiowide', sans-serif;
  color: #c30000;
  margin-bottom: 10px;
}

.product-info p {
  font-size: 14px;
  color: #555;
}

/* Buy Section */
.product-buy {
  width: 200px;
  padding: 20px;
  background: #fff;
  border-left: 1px solid #ddd;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.price {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 12px;
}

.buy-btn {
  padding: 10px 20px;
  background: #c30000;
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

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

/* Footer */
.footer {
  background: #000;
  color: #fff;
  text-align: center;
  padding: 15px 0;
}

.footer a {
  color: #c30000;
  text-decoration: none;
}

.footer-slogan {
  color: #ff4d4d;
  font-style: italic;
}
@media (max-width: 600px) {
      .banner {
        flex-direction: row;
        align-items: center;
        
      }
      .divider {
        display: none;
      }
      .banner img {
        margin-bottom: 8px;
      }
      .banner-right a {
        justify-content: center;
        font-size: 12px;
        padding: 8px 14px;
        
      }
      .hero {
        height: 28%;
        margin-bottom: 20px;
      }
      .hero img {
        height: 100%;
      }
      
  .products {
    flex-direction: column;
    gap: 15px; 
    padding: 15px;
  }

  .product-card {
    flex-direction: column; 
    height: auto; 
  }

  .product-card img {
    width: 100%; 
    height: auto;
    object-fit: cover;
  }

  .product-info {
    padding: 15px;
    text-align: center; 
  }

  .product-buy {
    width: 100%; 
    border-left: none;
    border-top: 1px solid #ddd; 
    flex-direction: row; 
    justify-content: space-evenly;
    padding: 12px;
  }

  .buy-btn {
    width: 15%; 
    padding: 10px;
  }

  .footer {
    font-size: 14px;
    padding: 12px 0;
  }
}

    