.diwali-page {
  background-color: var(--color-background, #fffaf5);
}

.diwali-mithai-section {
  padding: 64px 0 96px;
}

.diwali-mithai-section .section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.diwali-mithai-section .section-heading h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 16px;
}

.diwali-mithai-section .section-heading p {
  font-size: 1.125rem;
  color: var(--color-text-muted, #5b5045);
  line-height: 1.6;
}

.diwali-mithai-section .section-heading .section-cta {
  margin-top: 24px;
  display: flex;
  justify-content: center;
}

.mithai-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
}

.mithai-card {
  background: white;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  transition: transform 300ms cubic-bezier(0.33, 1, 0.68, 1),
    box-shadow 300ms cubic-bezier(0.33, 1, 0.68, 1);
}

.mithai-card:hover,
.mithai-card:focus-within {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 18px 40px rgba(135, 72, 15, 0.18), 0 0 0 2px rgba(255, 153, 0, 0.25);
}

.mithai-card__image {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 400ms ease, filter 400ms ease;
}

.mithai-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex: 1;
}

.mithai-card__title {
  font-size: 1.5rem;
  margin: 0;
  color: var(--color-primary);
}

.mithai-card__description {
  margin: 0;
  color: #5b5045;
  line-height: 1.6;
}

.mithai-card:hover .mithai-card__image,
.mithai-card:focus-within .mithai-card__image {
  transform: scale(1.05);
  filter: saturate(1.1);
}

@media (prefers-reduced-motion: reduce) {
  .mithai-card,
  .mithai-card__image {
    transition: none !important;
  }
}

@media (max-width: 768px) {
  .diwali-mithai-section {
    padding: 48px 0 72px;
  }

  .diwali-mithai-section .section-heading {
    margin-bottom: 32px;
  }
}

@media (max-width: 480px) {
  .diwali-mithai-section {
    padding: 40px 0 60px;
  }

  .mithai-card__body {
    padding: 20px;
  }

  .mithai-card__title {
    font-size: 1.35rem;
  }
}
