.popular-dishes-section {
  text-align: center;
  padding: 80px 0;
}

.section-title {
margin:0;
}


.section-subtitle {
  max-width: 600px;
  margin: auto;
  margin-top: 8px;
  color: #6A6A6A;
}

.dish-card-wrapper {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: flex-start;
padding: 80px 0 0;
}

/* ------- Card Flip Parent ------- */
.dish-card {
  width: 31.2%;
  height: 450px;
  perspective: 1000px;
  flex:0 0 31.2%;
  
        margin-bottom: 130px;
}

/* ------- Flip Logic ------- */
.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s ease;
  transform-style: preserve-3d;
}

.dish-card:hover .card-inner {
  transform: rotateY(180deg);
}

/* ------- Front & Back ------- */
.card-front, .card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  backface-visibility: hidden;
  background: #fff;
  box-shadow: 0 6px 20px rgba(0,0,0,.1);
}
.card-back {overflow-y:scroll;}

/* ------- Front ------- */
.card-front img {
  width: 100%;
  height: 100%!important;
  object-fit: cover;
  border-radius: 12px 12px 0 0;
}

.card-front h3 {
  margin: 12px 0 4px;
  text-transform: uppercase;
}

.card-front .time {
  font-size: 14px;
  opacity: 0.7;
}

/* Badge */
.badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0,0,0,.6);
  padding: 6px 12px;
  border-radius: 20px;
  color: #fff;
  font-size: 12px;
}

/* ------- Back ------- */
.card-back {
  background: #171717;
  color: #fff;
  padding: 25px;
  transform: rotateY(180deg);
}

.card-back ul {
  text-align: left;
  line-height: 1.6;
  margin-top: 16px;
}

.view-btn {
  margin-top: 20px;
  padding: 10px 18px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  background: #FF5D41;
  color: white;
  font-weight: 600;
}
.card-bottom {padding-top:20px;}
.card-bottom p{margin:0;}


@media(max-width:991px){

  .dish-card{width:45%;flex:none;
        margin-bottom: 130px;}
}
@media(max-width:767px){
 .dish-card{width:100%;}
}
}