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

/* TYPOGRAPHY & BODY */
body {
  font-family: Arial, sans-serif;
  color: #333;
  line-height: 1.5;
}
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

a {text-decoration: none; }

/* HEADER */
header {
  background-color: #f9f9f9;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}
.logo {
  font-size: 32px;
  font-weight: bold;
  text-decoration: none;
}
.main-nav a {
  margin: 0 15px;
  text-decoration: none;
  color: #333;
  font-size: 16px;
}
.main-nav a:hover {
  color: #555;
}
.profile-icon img {
  width: 32px;
  height: 32px;
}

/* OUR STORY */
.our-story {
  text-align: center;
  margin: 60px 0;
}
.our-story h2 {
  font-size: 28px;
  border-bottom: 2px solid #333;
  display: inline-block;
  padding-bottom: 5px;
  margin-bottom: 20px;
}
.our-story h3 {
  font-size: 20px;
  margin-bottom: 30px;
  color: #666;
}
.image-placeholder {
  width: 100%;
  height: 300px;
  background-color: #eee;
  border: 1px solid #ccc;
}

/* OUR TEAM */
.our-team {
  text-align: center;
  margin-bottom: 60px;
}
.our-team h2 {
  font-size: 28px;
  margin-bottom: 40px;
}
.team-members {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
.team-member {
  width: 22%;
  margin-bottom: 30px;
}
.member-photo {
  width: 100px;
  height: 100px;
  background-color: #eee;
  border-radius: 50%;
  margin: 0 auto 10px;
}
.member-name {
  font-size: 16px;
  color: #444;
}

.member-photo img {
  width: 100%;
  border-radius: 65px;
  height: 100px;
}

/* SUBSCRIBE / FOOTER */
.subscribe {
  text-align: center;
  padding: 40px 0;
  background-color: #f9f9f9;
  position: relative;
  width: 100%;
}

.subscribe-blankpage {
  text-align: center;
  padding: 40px 0;
  background-color: #f9f9f9;
  position: absolute;
  bottom: 0;
  width: 100%;
}
.subscribe p {
  font-size: 18px;
  margin-bottom: 20px;
}
.subscribe-form input {
  padding: 10px;
  width: 300px;
  max-width: 80%;
  border: 1px solid #ccc;
  border-radius: 0;
}
.subscribe-form button {
  padding: 10px 20px;
  margin-left: 10px;
  border: none;
  border-radius: 0;
  background-color: #333;
  color: #fff;
  cursor: pointer;
}
.subscribe-form button:hover {
  background-color: #555;
}
.social-icons {
  position: absolute;
  bottom: 39px;
  right: 44px;
}
.social-icons a {
  margin-left: 10px;
}
.social-icons img {
  width: 60px;
  height: 60px;
}


/* Checkout Page */
main {
  padding: 20px;
}
h1 {
  text-align: center;
  margin-bottom: 20px;
}
.form-group {
  margin-bottom: 15px;
}
.form-group input {
  width: 100%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}
.button {
  display: inline-block;
  padding: 10px 20px;
  border: 1px solid #333;
  background: #fff;
  color: #333;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
}

.checkout-img {
  width: 200px;
}

.card {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 15px;
  margin-bottom: 20px;
}

/* End Checkout Page */

/* Contact Page */


/* End Contact Page */

/* history Page */
.card.history{
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 50px;
  margin-bottom: 20px;
}

.button.history{
  margin-top: 20px;
}
/* end history Page */

/* cart Page */
main.cart {
  width: 90%;
  margin: 20px auto;
}

main.cart h2 {
  text-align: center;
}

.item-info {
  display: flex;
  gap: 15px;
  align-items: center;
}

.item-image {
  width: 60px;
  height: 60px;
  background: #ccc;
}

.quantity {
  display: flex;
  align-items: center;
}

.quantity button {
  width: 25px;
  height: 25px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

.quantity input {
  width: 30px;
  text-align: center;
  border: 1px solid #ccc;
  margin: 0 5px;
}

.subtotal {
  text-align: right;
  margin-top: 10px;
  font-weight: bold;
}

.cart-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 20px;
}

.cart-actions button {
  padding: 10px 15px;
  border: none;
  background: #ddd;
  cursor: pointer;
}

.cart-actions .checkout {
  background: #27ae60;
  color: #fff;
}

.toast.fade.show {
  position: absolute;
  top: 90px;
  right: 0px;
  width: 250px;
}

.close {
  margin-left: 20px;
}

/* shop page */

.intro h2 {
  margin-bottom: 10px;
}

.intro .buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 30px;
}

.intro button {
  padding: 10px 15px;
  background: #27ae60;
  color: #fff;
  border: none;
  cursor: pointer;
}

.categories {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

.category {
  text-align: center;
}

.image-placeholder {
  width: 150px;
  height: 150px;
  background: #ccc;
  margin-bottom: 10px;
}

.best-sellers h2 {
  margin-bottom: 20px;
}

.products {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.product {
  background: #fff;
  padding: 15px;
  text-align: center;
  border: 1px solid #ddd;
}

.product-portal {
  background: #fff;
  padding: 15px;
  text-align: center;
}

.product .image-placeholder {
  width: 100%;
  height: 150px;
  background: #ccc;
  margin-bottom: 10px;
}

.product button {
  padding: 8px 12px;
  background: #27ae60;
  color: #fff;
  border: none;
  cursor: pointer;
}

/* end shop page */

/* RESPONSIVE */
@media (max-width: 768px) {
  .team-members {
    flex-direction: column;
    align-items: center;
  }
  .team-member {
    width: 80%;
  }
  .main-nav {
    display: none; 
  }
  .subscribe {
    text-align: center;
    padding: 40px 0;
    background-color: #f9f9f9;
    position: relative;
    width: 100%;
  }
  .social-icons {
    position: relative;
    bottom: -20px;
    right: 15px;
  }
}