/* 🌐 Global Reset & Base Layout */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: #fef6f2;
  font-family: 'Quicksand', sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  font-family: 'Quicksand', sans-serif;
  cursor: pointer;
}

/* 🧸 Header */
.nestlebabe-header {
  background-color: #ffcabf;
  background-image: url('https://nestlebabe.com/images/baby-bg.png');
  background-repeat: repeat;
  background-size: cover;
  text-align: center;
  padding: 2.5rem 1rem;
  color: #2a2a2a;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
  border-bottom: 4px solid #ffb6a9;
}

.nestlebabe-title {
  font-size: 2.8rem;
  font-weight: 700;
  color: #2a2a2a;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
  margin-bottom: 0.5rem;
}

.nestlebabe-subheading {
  font-size: 1.3rem;
  font-weight: 600;
  color: #444;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.6);
  margin-bottom: 1rem;
}

.nestlebabe-divider {
  height: 2px;
  width: 60px;
  background-color: #ffb6a9;
  margin: 0 auto;
  border-radius: 1px;
}

/* 🏠 Homepage Banner */
.nestlebabe-banner {
  background-color: #fce3db;
  color: #2a2a2a;
  padding: 2rem 1rem;
  text-align: center;
}

/* 🛍️ Category Section */
.category-links {
  background-color: #fbeae6;
  padding: 2rem 1rem;
  text-align: center;
}

.category-btn {
  background-color: #fff;
  border: 2px solid #ffb6a9;
  border-radius: 8px;
  padding: 0.6rem 1.2rem;
  color: #2a2a2a;
  font-weight: 600;
  transition: background-color 0.3s ease, color 0.3s ease;
  display: inline-block;
}

.category-btn:hover {
  background-color: #ffb6a9;
  color: #fff;
}

/* 🧃 Product Cards */
.grid-product {
  background-color: #fff;
  border: 2px solid #ffe0dc;
  border-radius: 12px;
  padding: 1rem;
  margin: 1rem;
  box-shadow: 0 4px 10px rgba(255, 182, 169, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid-product:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 14px rgba(255, 182, 169, 0.3);
}

.grid-product__title-inner {
  font-size: 1.2rem;
  font-weight: 600;
  color: #aa3e2f;
  text-align: center;
  margin-top: 0.5rem;
}

.grid-product__title-inner::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, #ffb6a9, #ffe0dc);
  border-radius: 2px;
  margin: 0.5rem auto;
}

.grid-product__price-value {
  font-size: 1rem;
  font-weight: bold;
  color: #e07a5f;
  text-align: center;
  margin-top: 0.25rem;
}

.grid-product__image-wrap img {
  border-radius: 8px;
  object-fit: cover;
}

/* 💌 Newsletter */
.nestlebabe-newsletter {
  background: #fffaf7;
  padding: 40px 20px;
  text-align: center;
  border-radius: 12px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.nestlebabe-newsletter h2 {
  font-size: 24px;
  color: #e07a5f;
  margin-bottom: 10px;
}

.nestlebabe-newsletter p {
  font-size: 16px;
  color: #555;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  max-width: 600px;
  margin: 0 auto;
}

.nestlebabe-newsletter input[type="email"] {
  padding: 12px;
  width: 80%;
  max-width: 320px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 16px;
  margin-bottom: 12px;
}

.nestlebabe-newsletter button {
  background-color: #f7a072;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.nestlebabe-newsletter button:hover {
  background-color: #e07a5f;
}

/* 🧭 Footer */
.nestlebabe-footer {
  background-color: #fff0ea;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 4px solid #ffb6a9;
}

.footer-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.footer-icons img {
  width: 48px;
  margin: 0 0.25rem;
  vertical-align: middle;
}

.footer-links {
  font-size: 0.95rem;
  color: #555;
  text-align: center;
}

.footer-links a {
  color: #aa3e2f;
  font-weight: 600;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #ff6f61;
}

.footer-note {
  font-size: 1rem;
  font-weight: 600;
  color: #2a2a2a;
  text-align: center;
  margin-top: 2rem;
}

.berea-link {
  background-color: #FDF6F9;
  padding: 4px 8px;
  border-radius: 6px;
  color: #D88FA0;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: underline;
  letter-spacing: 0.5px;
}

.berea-link:hover {
  color: #3b5f8f;
}

/* 📱 Responsive */
@media (max-width: 768px) {
  .nestlebabe-header {
    padding: 2rem 1rem;
  }

  .nestlebabe-title {
    font-size: 1.8rem;
  }

  .nestlebabe-subheading {
    font-size: 1.2rem;
  }

  #my-categories-125524501 {
    font-size: 1rem;
    margin-bottom: 1.5rem;
  }

  .x-product-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem !important;
  }

  .x-product-card {
    padding: 1rem !important;
    font-size: 0.9rem !important;
  }

  .footer-row {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .newsletter-form input[type="email"] {
    width: 100%;
  }

  .newsletter-form {
    flex-direction: column;
    align-items: center;
  }
}

/*====== Confirmation Page Styling ======*/

.confirmation-message {
  padding: 3rem 1rem;
  border-radius: 12px;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  text-align: center;
}

.confirmation-message h2 {
  color: #e07a5f;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.confirmation-message p {
