/* 
   MAMA TOI'S CHILI CRISP - PAGE SPECIFIC STYLES
   Extends styles.css system
*/

/* Active navigation link highlight */
.nav-link.active {
  color: var(--primary-terracotta) !important;
}

.nav-link.active::after {
  width: 100% !important;
}

/* --- Hero Image Layout --- */
.hero-image-frame {
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background-color: var(--white);
  position: absolute;
  z-index: 2;
  border: 6px solid var(--white);
  box-shadow: var(--shadow-lg);
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  animation: float-logo 6s ease-in-out infinite alternate;
}

.hero-chili-logo {
  width: 117%;
  height: 117%;
  object-fit: contain;
  display: block;
  max-width: none;
}

@keyframes float-logo {
  0% {
    transform: translateY(0px) rotate(0deg);
    border-radius: 50% 48% 52% 50% / 49% 51% 49% 51%;
  }
  100% {
    transform: translateY(-10px) rotate(1deg);
    border-radius: 48% 52% 50% 50% / 51% 49% 51% 49%;
  }
}

/* --- Details Grid --- */
.details-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2.5rem;
  margin-bottom: 4rem;
}

.detail-card {
  background-color: var(--white);
  padding: 3rem 2.25rem;
  border-radius: 16px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.detail-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(217, 107, 67, 0.2);
}

.detail-icon {
  font-size: 2.5rem;
  display: inline-block;
  margin-bottom: 1.25rem;
}

.detail-card h3 {
  margin-bottom: 0.75rem;
  font-size: 1.35rem;
}

.detail-card p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

/* --- Green Jar Return Program Banner --- */
.jar-return-banner {
  background-color: var(--accent-light-sage);
  border: 2px dashed var(--secondary-sage);
  border-radius: 16px;
  padding: 2.25rem 2.5rem;
  margin-bottom: 5rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.jar-return-banner:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background-color: #ebf3ec;
}

.jar-return-icon {
  font-size: 3.5rem;
  color: var(--secondary-sage);
  line-height: 1;
}

.jar-return-text h3 {
  color: var(--secondary-sage);
  font-family: var(--font-display);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.jar-return-text p {
  margin-bottom: 0;
  font-size: 1.05rem;
  color: var(--text-charcoal);
  line-height: 1.5;
}

/* --- Pricing Section --- */
.pricing-container {
  margin-top: 3rem;
}

.pricing-title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}

.pricing-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background-color: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border-color);
  padding: 3rem 2.5rem;
  width: 100%;
  max-width: 350px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: var(--transition-smooth);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.pricing-badge {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.pricing-size {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--text-charcoal);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-family: var(--font-display);
  font-size: 3.25rem;
  color: var(--primary-terracotta);
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1;
}

.pricing-card p {
  font-size: 0.95rem;
  margin-bottom: auto;
  line-height: 1.5;
}

/* Featured Pricing Card Highlights */
.pricing-card.featured {
  border-color: var(--primary-terracotta);
  background-color: var(--accent-light-terracotta);
  box-shadow: var(--shadow-md);
}

.pricing-card.featured::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background-color: var(--primary-terracotta);
  border-radius: 16px 16px 0 0;
}

.featured-badge {
  color: var(--primary-terracotta);
}

.pricing-card.featured .pricing-size {
  color: var(--primary-terracotta-hover);
}

/* --- Live Order Summary Box --- */
.order-summary-box {
  background-color: var(--bg-cream);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.summary-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--text-charcoal);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.summary-row.discount {
  color: var(--secondary-sage);
  font-weight: 600;
}

.summary-row.total {
  border-top: 1px solid var(--border-color);
  padding-top: 0.75rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-charcoal);
}

#summary-total-price {
  color: var(--primary-terracotta);
}

/* Responsive adjustment for columns */
@media (max-width: 991px) {
  .hero-image-frame {
    position: relative;
    margin-top: 2rem;
  }
}

@media (max-width: 768px) {
  .jar-return-banner {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
    gap: 1rem;
  }
  
  .pricing-grid {
    gap: 2rem;
  }
}

/* --- Suggestions Gallery Section --- */
.suggestions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.suggestion-card {
  background-color: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.suggestion-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(217, 107, 67, 0.2);
}

.suggestion-img-wrapper {
  height: 250px;
  overflow: hidden;
  position: relative;
  background-color: var(--accent-light-terracotta);
}

.suggestion-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.suggestion-card:hover .suggestion-img {
  transform: scale(1.05);
}

.suggestion-card-content {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.suggestion-card-content h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--text-charcoal);
  margin-bottom: 0.75rem;
}

.suggestion-card-content p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
}
