body {
  height: 100%;
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: #FAF9F6;
  color: #333;
}
h1, h2, h3 {
  font-family: 'Playfair Display', serif;
}
header {
  /* display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
 
  border-bottom: 1px solid #ddd; */
  position: sticky;
  display: flex;
  top: 0;
  /* background-color: white; or your background color */
  background: #ffffff;
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid #eee;
}
.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
nav a {
  margin-left: 1rem;
  text-decoration: none;
  color: #333;
}

paypal-cart-button {
  display: inline-block; /* Keep it inline with links */
  margin-left: 1rem;
}

.subtitle {
  max-width: 400px;
  width: 100%;
  margin: 0 auto;
  text-align: center;
  overflow-wrap: break-word;
  word-break: break-word;
  white-space: normal;
}
.hero {
  text-align: center;
  padding: 4rem 2rem;
  background: #7BAE4F;
  color: white;
}
.hero .btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 1.5rem;
  background: white;
  color: #7BAE4F;
  border-radius: 25px;
  text-decoration: none;
  font-weight: bold;
}
.featured {
  padding: 3rem 2rem;
  text-align: center;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.tea-grid {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}
.tea-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 1rem;
  width: 250px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}
.plant-card {
  display: flex;
  gap: 1rem; /* space between image and text */
  /* background: #fff; */
  /* border: 1px solid #eee;
  border-radius: 12px; */
  padding: 1rem;
  width: 100%;
  max-width: 600px; /* optional */
  /* box-shadow: 0 2px 8px rgba(0,0,0,0.05); */
  align-items: center; 
}
.tea-card img {
  max-width: 100%;
  border-radius: 8px;
}
.plant-card img {
  width: 250px;
}
.tea-card h3 {
  margin: 0.5rem 0;
}
.btn-small {
  margin-top: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: #7BAE4F;
  color: white;
  border: none;
  border-radius: 20px;
  font-weight: bold;
  cursor: pointer;
  font-size: 0.9rem;
}
.btn-small:hover {
  background-color: #689C40;
}
footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.9rem;
  color: #888;
}
footer a {
  color: #888;
  text-decoration: none;
}

.centered-img {
  /* display: block;
  margin: 0 auto; */
  /* height: auto;
  max-width: 100%; Makes sure it never overflows */
  width: 50px;
  height: auto;
  vertical-align: middle;
}

.section-divider {
  margin: 4rem auto;
  border: none;
  height: 2px;
  width: 80%;
  background: linear-gradient(to right, #ccc, #ddd, #ccc);
}

#about {
  padding-top: 4rem;
  padding-bottom: 6rem;
}

/* New css */
.cart-wrapper {
  position: relative;
  display: inline-block;
  overflow: hidden;
  max-width: 130px;
  vertical-align: middle;
}

paypal-cart-button {
  display: block;
}


.about-info {
  padding: 3rem 1.5rem;
  background-color: #faf9f6;
  text-align: center;
}

.about-container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
  flex-wrap: wrap; /* makes it responsive */
}

.about-container img {
  width: 300px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
}

.about-text {
  flex: 1;
  min-width: 280px;
  max-width: 500px;
  text-align: left;
}

.about-text h2 {
  font-family: 'Playfair Display', serif;
  /* font-size: 2rem; */
  margin-bottom: 1rem;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #333;
}

footer {
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 200px;
}


footer img {
  width: 100px;
  vertical-align: middle;
}

.terms {
  padding-left: 3rem;  
  padding-right: 3rem;
}

.center {
   width: 50%; 
  margin-left: auto;
  margin-right: auto;
  padding-top: 10rem;
  padding-bottom: 2rem;
}

@media (max-width: 600px) {

    header {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    gap: 0.5rem;
  }


  .cart-wrapper {
    max-width: 84px;
    margin-left: 0;
  }

  paypal-cart-button {
    width: 90px !important;
    max-width: 90px !important;
    margin-left: 0.5rem;
  }
  
  paypal-cart-button::after {
    background: white; /* Match your header background */
  }
   nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 10px;
    font-size: 1rem;
    justify-content: center;
      margin-top: 0;
  } 

  .logo {
    font-size: 1.3rem;
    text-align: left;
  }

  .centered-img {
    height: 30px;
    width: auto;
  }

.center {
   width: 80%; 
  margin-left: auto;
  margin-right: auto;
  padding-top: 1rem;
  padding-bottom: 1rem;
}
}