* {
    font-family: 'Lora', serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

h1, h2, h3, h4, h5, h6,
.nav a,
.footer-title,
.show-more-btn,
.category-item span,
.promo-tag,
.promo-discount,
.main-btn,
.promo-btn,
.eco-btn,
.best-sell-card h4,
button {
    font-family: 'Playfair Display', serif;
}

body {
    background-color: #FFFBEA;
    color: #222;
}

/* ----------------- Header ----------------- */
.header {
    width: 100%;
    height: 90px;
    background: #eaf3d4;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    border-bottom: 1px solid #e5e5e5;
}

.header__left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.header__logo {
    width: 60px;
}

.nav a {
    margin: 0 15px;
    text-decoration: none;
    color: #222;
    font-weight: 500;
}

.header__right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.search {
    width: 220px;
    height: 40px;
    padding: 0 15px;
    border-radius: 6px;
    border: 1px solid #ccc;
}

.header__icons img {
    width: 24px;
    margin: 0 5px;
    cursor: pointer;
}

.login-btn,
.signup-btn {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    border: none;
}

.login-btn { 
  background: white;
  color: black;
 }

.signup-btn { 
  background: #000;
   color: #fff;
   }

/* ----------------- Main Section ----------------- */
main.main {
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 60px 80px;
    background: linear-gradient(to right, #FFF8CF, #FAF5D7);
    border-radius: 16px;
    margin: 40px auto;
    max-width: 1200px;
}

.main__text { 
  width: 50%;
 }

.main__text h1 { 
  font-size: 48px;
   margin-bottom: 10px;
   }
.main__text p { 
  font-size: 18px;
   margin-bottom: 25px;
    width: 80%;
     line-height: 1.5;
     }

.main-btn {
    background: #000;
    color: #fff;
    border: none;
    padding: 12px 28px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
}

.main__img {
    width: 430px;
    border-radius: 16px;
    object-fit: cover;
}

/* ----------------- Icon Strip ----------------- */
.icon-strip {
    background: #fff;
    max-width: 1200px;
    margin: 20px auto;
    padding: 18px 0;
    display: flex;
    justify-content: space-around;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
}

.icon-item {
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ----------------- Promotions ----------------- */
.promos {
    max-width: 1200px;
    margin: 40px auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
}

.promo-left,
.promo-right {
    border-radius: 14px;
    display: flex;
    overflow: hidden;
}

.promo-left {
    background: #E6F4C8;
    padding: 30px;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.promo-left-text { 
  z-index: 2;
 }

.promo-left-img {
    height: 100%;
    width: 55%;
    object-fit: cover;
    border-radius: 12px;
}

.promo-tag { 
  font-size: 14px;
   color: #444;
   }

.promo-discount { 
  display: block;
   margin-top: 6px; 
   font-size: 22px; 
   font-weight: 700;
    color: #4d7c19;
   }

.promo-left h3 { 
  font-size: 34px;
   line-height: 1.2;
    margin: 12px 0 20px;
   }

.promo-btn {
    background: #fff;
    color: black;
    border: 1px solid #222;
    padding: 10px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
}

.promo-right {
    background: #FFF4BE;
    flex-direction: column;
}

.promo-right-text { 
  padding: 30px;
   text-align: center;
   }

.promo-right-text h3 { 
  font-size: 32px;
   line-height: 1.2;
   }

.promo-right-img { 
  width: 100%;
   height: 60%; 
   object-fit: cover;
   }

/* ----------------- Categories ----------------- */
.categories { 
  text-align: center;
   padding: 40px 0; 
  }

.category-list {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.category-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.category-item img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
}

.category-item span { 
  font-size: 18px;
 }

/* ----------------- Eco Section ----------------- */
.eco-section { 
  padding: 60px 10%;
 }

.eco-box {
    display: flex;
    align-items: center;
    gap: 40px;
    background: #FFF4BE;
    padding: 40px;
    border-radius: 20px;
}

.eco-image img { 
  width: 220px; 
  border-radius: 10px; 
}

.eco-content h2 { 
  font-size: 28px; 
  color: #2f4f1f; 
  margin-bottom: 10px; 
}
.eco-content p { 
  color: #4a4a4a; 
  line-height: 1.6; 
  max-width: 450px; 
}

.eco-btn {
    margin-top: 15px;
    padding: 10px 25px;
    border-radius: 6px;
    background: white;
    color:#000;
    border: 1px solid #333;
    cursor: pointer;
    transition: 0.3s ease;
}

/* ----------------- Best Sell ----------------- */
.best-sell { 
  background: #fff8d9; 
  padding: 40px 5%; 
}

.best-sell-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.best-sell-tabs span {
    margin-left: 15px;
    cursor: pointer;
    font-size: 15px;
}

.best-sell-tabs .active {
    font-weight: bold;
    border-bottom: 2px solid #000;
}

.best-sell-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.best-sell-card {
    background: white;
    padding: 15px;
    border-radius: 16px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

.best-sell-card img { 
  width: 100%; 
  height: 170px; 
  object-fit: cover; 
  border-radius: 15px; 
}

.best-sell-card h4 { 
  margin: 10px 0 5px; 
  font-size: 16px; 
}

.price { 
  font-weight: bold; 
  margin-bottom: 8px; 
}

.best-sell-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.stars { 
  color: #f5a623; 
  font-size: 14px; 
}
.cart-icon { 
  background: #dff2b0; 
  padding: 8px 10px; 
  border-radius: 50%; 
  cursor: pointer; 
}

.show-more-section { 
  text-align: center; 
  padding: 60px 0; 
}

.show-more-btn {
    padding: 14px 40px;
    border: 2px solid #c9c9c9;
    background: white;
    color: black;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
}

/* ----------------- Email Bar ----------------- */
.email-bar { 
  background: #d7ebb4; /* -- Might have to check this -- */
  padding: 30px 0; 
  margin-top: 40px; 
}

.email-bar-content {
    max-width: 1200px;
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.email-input-box {
    display: flex;
    align-items: center;
    background: white;
    border: 2px solid #dcdcdc;
    padding: 8px 12px;
    border-radius: 4px;
    width: 380px;
}

.email-input-box input {
    border: none;
    outline: none;
    width: 100%;
    font-size: 15px;
}

.email-icon { 
  width: 20px; 
  margin-right: 10px; 
}

.subscribe-btn {
    background:#000000;
    border: 2px solid #000000;
    padding: 10px 26px;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
}

.email-text { 
  font-size: 16px; 
  margin-left: 40px; 
}

/* ----------------- Footer ----------------- */
.footer {
    background: #ffffff;
    padding: 60px 0 20px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
}

.footer-col { 
  min-width: 180px;

 }
.footer-logo { 
  width: 70px; 
  margin-bottom: 10px; 
}

.social-icon { 
  width: 18px; 
  margin-right: 8px; 
  vertical-align: middle;
 }

.social-row { 
  display: flex; 
  align-items: center; 
  margin: 6px 0; 
}

.footer-title { 
  font-weight: bold; 
  margin: 16px 0 8px; 
}

.payment-icons img { 
  width: 60px; 
  margin-right: 18px; 
}

.footer-bottom { 
  text-align: center; 
  margin-top: 40px; 
  font-size: 14px; 
  color: #555; 
}

/* ----------------- Responsive ----------------- */
@media (max-width: 768px) {
    .header, .header__left, .header__right {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        text-align: center;
    }

    .nav { 
      flex-direction: column; 
      gap: 8px; 
    }

    .search { 
      width: 90%;
     }

    main.main { 
      flex-direction: column; 
      text-align: center; 
      padding: 30px 20px; 
      gap: 20px; 
    }

    .main__text { 
      width: 100%;
     }

    .main__text h1 { 
      font-size: 32px; 
    }

    .main__text p { 
      width: 100%; 
      font-size: 16px; 
    }

    .main__img { 
      width: 100%; 
      max-width: 340px; 
      margin: 0 auto; 
    }

    .icon-strip { 
      flex-wrap: wrap; 
      gap: 20px; 
      justify-content: center; 
      padding: 20px 0; 
    }

    .promos { 
      flex-direction: column; 
      padding: 0 20px; 
    }

    .promo-left, .promo-right { 
      flex-direction: column !important; 
      text-align: center; 
      padding: 20px; 
    }

    .promo-left-img, .promo-right-img { 
      width: 100%; 
      height: auto; 
      margin-top: 15px; 
    }

    .category-list { 
      flex-wrap: wrap; 
      justify-content: center; 
      gap: 20px; 
      padding: 0 20px; 
    }

    .eco-box { 
      flex-direction: column; 
      text-align: center; 
      padding: 25px; 
      gap: 20px; 
    }
    .eco-image img { 
      width: 100%; 
      max-width: 260px; 
    }

    .eco-content p { 
      max-width: 100%; 
    }

    .best-sell-grid { 
      grid-template-columns: repeat(2, 1fr); 
      gap: 18px; 
    }

    .email-bar-content { 
      flex-direction: column; 
      gap: 15px; 
      text-align: center; 
    }

    .email-input-box { 
      width: 90%; 
    }

    .email-text { 
      margin-left: 0; 
    }

    .footer-top { 
      flex-direction: column; 
      text-align: center; 
      padding: 0 20px; 
      gap: 30px; 
    }

    .footer-col { 
      width: 100%; 
    }

    .payment-icons img { 
      margin: 0 10px; 
    }
}

/* ----------------- Hover Animations ----------------- */
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { 
    transform: translateY(0);
   }
  40% { 
    transform: translateY(-10px); 
  }
  60% { 
    transform: translateY(-5px);
   }
}

.main-btn:hover,
.promo-btn:hover,
.eco-btn:hover,
.show-more-btn:hover,
.subscribe-btn:hover {
    animation: bounce 0.6s ease;
}

