* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: linear-gradient(to right, #eef3f6, #f9f7f5);
}

.page-bg {
  padding: 30px 0;
}

.container {
  max-width: 950px;
  margin: auto;
  background: white;
  border-radius: 28px;
  padding: 30px 40px;
}

/* HEADER */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 150px;
  padding: 0 10px;
}

.logo-wrap {
  display: flex;
  align-items: center;
}

.logo {
  height: 150px;
  width: auto;
  object-fit: contain;
}

.hero-banner {
  background-color: #e0f2f1; /* light blue/green background */
  padding: 30px 30px;         /* top/bottom and left/right spacing */
  border-radius: 10px;        /* rounded corners like in your screenshot */
  display: flex;
  justify-content: center;; /* content spaced like left and right */
  align-items: center;           /* vertically center content */
}

.hero-content h1 {
  font-size: 2rem;
  font-weight: bold;
  margin-bottom: 50px;
  
}

.hero-content p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.shop-btn {
  background-color: #4db6ac; /* button color */
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 1rem;
}

.shop-btn:hover {
  background-color: #399388; /* slightly darker on hover */
}


/* NAV */
.nav a {
  margin: 0 12px;
  text-decoration: none;
  color: #333;
  font-size: 18px;
  font-weight: 500;
}

.nav a:hover {
  text-decoration: underline;
}

/* SECTION TITLE */
.section-title {
  font-size: 32px;
  margin-bottom: 10px;
  color: #0b098a;
}

.section-desc {
  color: #777;
  margin-bottom: 25px;
  font-size: 15px;
}

/* TOP CARDS */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.card {
  background: #eaf4fb;
  border-radius: 20px;
  padding: 20px;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.card:hover {
  transform: scale(1.02);
}

.card img {
  width: 100%;
  border-radius: 16px;
  margin-bottom: 10px;
  object-fit: contain;
  height: 180px;
}

.card h3 {
  margin-bottom: 8px;
  font-size: 16px;
}

.card p {
  font-size: 14px;
  color: #666;
}

/* PRODUCT COLLECTIONS */
.product-gallery {
  display: none;
  margin-bottom: 50px;
}

.collection-title {
  font-size: 20px;
  margin-bottom: 15px;
  font-weight: 600;
  color: #004d4d;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 18px;
}

/* PRODUCT ITEMS */
.product-item {
  background: #f8fbfb;
  border: 2px solid #e6f4f3;
  border-radius: 20px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 6px 12px rgba(0,0,0,0.04);
  transition: transform 0.2s ease;
}

.product-item:hover {
  transform: scale(1.02);
}

.product-item img {
  width: 100%;
  height: 130px;
  object-fit: contain;
  border-radius: 12px;
}

.product-item h4 {
  font-size: 14px;
  margin: 10px 0 8px;
}

.product-item button {
  background: #4aa7a0;
  border: none;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  cursor: pointer;
}

.product-item button:hover {
  opacity: 0.9;
}

/* ================= MODAL STYLES ================= */

.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 1000;
}

.modal-content {
  background: white;
  width: 70%;
  max-width: 900px;
  margin: 8% auto;
  padding: 30px;
  border-radius: 22px;
  position: relative;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 26px;
  cursor: pointer;
}

.modal-body {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.modal-img {
  flex: 1.3;              /* image slightly larger than text */
  max-width: 520px;
  max-height: 500px;
  object-fit: contain;
  border-radius: 18px;
}

.modal-text h2 {
  margin-top: 0;
  font-size: 26px;
}

.modal-text {
  flex: 1;
}

.modal-text p {
  margin: 15px 0;
  line-height: 1.6;
  color: #555;
}

#modalPrice {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.add-cart-btn {
  background: linear-gradient(135deg, #5bb3ae, #3e9b96);
  color: white;
  border: none;
  padding: 12px 35px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 16px;
}

/* FOOTER */
.footer {
  border-top: 1px solid #eee;
  padding-top: 15px;
  text-align: center;
  font-size: 13px;
  color: #888;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .container {
    padding: 20px;
  }

  .header {
    flex-direction: column;
    gap: 10px;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
  }

  .modal-content {
    width: 90%;
    margin: 15% auto;
  }

  .modal-body {
    flex-direction: column;
    text-align: center;
  }

  .modal-img {
    width: 200px;
  }
}
