.menu-section {
  padding: 80px 0;
  background: #fff7ef;
}

.menu-category {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.menu-title {
  font-family: 'GmarketSansBold';
  font-size: 2rem;
  text-align: center;
  margin-bottom: 12px;
  color: #2e2e2e;
}

.menu-bar {
  width: 120px;
  height: 4px;
  background: linear-gradient(90deg, #f3c87a, #b68d57);
  margin: 0 auto 50px;
  border-radius: 3px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  /* ✅ 3개 고정 */
  gap: 32px;
  justify-items: stretch;
  /* ✅ 모든 카드 폭/높이 동일하게 */
  align-items: stretch;
  /* ✅ 카드 높이 동일하게 */

}

/* 태블릿 / 모바일 반응형 컬럼 조정 */
@media (max-width: 1024px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    /* ✅ 태블릿에서는 2개 */
  }
}

@media (max-width: 768px) {
  .menu-grid {
    grid-template-columns: 1fr;
    /* ✅ 모바일에서는 1개 */
  }
}


.menu-card {
  background: #fff;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  justify-content: space-between;
  /* ✅ 카드 안 내용 균등 정렬 */
  height: 100%;
  /* ✅ 각 카드 높이 자동 통일 */
}

.menu-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.12);
}

.menu-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.menu-text {
  padding: 18px 20px 24px;
  text-align: left;
}

.menu-text h3 {
  font-family: 'GmarketSansBold';
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.menu-text p {
  font-family: 'GmarketSansMedium';
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  min-height: 50px;
}

.buy-btn {
  display: inline-block;
  margin-top: 12px;
  background-color: #b68d57;
  color: #fff;
  font-size: 0.9rem;
  padding: 8px 16px;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.buy-btn:hover {
  background-color: #8e6b3e;
  transform: translateY(-2px);
}

/* 반응형 */
@media (max-width: 768px) {
  .menu-img {
    height: 180px;
  }

  .menu-text {
    padding: 14px 16px 20px;
  }

  .menu-title {
    font-size: 1.6rem;
  }

  .menu-bar {
    margin-bottom: 36px;
  }
}

/* ===== 절구방앗간 히어로 ===== */
.mill-hero {
  position: relative;
  background: url('../images/rice.png') center center / cover no-repeat;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.mill-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  /* 어두운 오버레이 */
  z-index: 1;
}

.mill-hero-inner {
  position: relative;
  z-index: 2;
  padding: 0 20px;
}

.mill-hero .eyebrow {
  font-family: 'GmarketSansMedium';
  letter-spacing: 3px;
  font-size: 1rem;
  color: #ffd98a;
  margin-bottom: 10px;
}

.mill-hero h1 {
  font-family: 'GmarketSansBold';
  font-size: 2.6rem;
  line-height: 1.3;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 18px;
}

.mill-hero p {
  font-family: 'GmarketSansMedium';
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

/* 반응형 */
@media (max-width: 768px) {
  .mill-hero {
    height: 380px;
  }

  .mill-hero h1 {
    font-size: 1.8rem;
  }

  .mill-hero p {
    font-size: 0.95rem;
  }
}

/* ===== 절구방앗간 메뉴 안내문 ===== */
.menu-intro {
  background: linear-gradient(to bottom, #fffaf5 0%, #fff7ef 100%);
  text-align: center;
  padding: 80px 20px 40px;
  margin-bottom: 0;
}

.menu-intro h2 {
  font-family: 'GmarketSansBold';
  font-size: 2rem;
  color: #2c2c2c;
  margin-bottom: 14px;
}

.menu-intro p {
  font-family: 'GmarketSansMedium';
  font-size: 1.05rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 0;
}

/* ===== 프랑파즈 제목 부분과 시각적 연결 ===== */
.menu-section {
  background: #fff7ef;
  padding-top: 0;
  padding-bottom: 100px;
}

.menu-title {
  text-align: center;
  margin-top: 0;
  font-family: 'GmarketSansBold';
  font-size: 1.7rem;
  color: #2c2c2c;
}

.menu-bar {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, #c6934b, #e2b66d);
  margin: 8px auto 40px;
  border-radius: 2px;
}

@media (max-width: 768px) {
  .menu-intro {
    padding: 60px 16px 20px;
  }

  .menu-intro h2 {
    font-size: 1.5rem;
  }

  .menu-intro p {
    font-size: 0.95rem;
  }
}


/* ===== 메뉴 소제목 (대메뉴 하단 설명문) ===== */
.menu-subtitle {
  font-family: 'GmarketSansMedium';
  font-size: 1rem;
  color: #777;
  text-align: center;
  margin-top: -6px;
  margin-bottom: 32px;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .menu-subtitle {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }
}



/* 모바일에서 h1만 작게 */
@media (max-width: 768px) {
  .mill-hero h1.mobile-text {
    font-size: 1.6rem;   /* 🔥 여기 숫자만 조절하면 됨 */
    line-height: 1.35;
  }
}

/* 모바일에서 절구방앗간 HERO 전체를 아래로 살짝 내리기 */
@media (max-width: 768px) {
  .mill-hero-inner {
    position: relative;
    top: 30px;   /* 🔥 원하는 만큼 조절 (20~40px 추천) */
  }
}