main#main {
  /*max-width: 1240px;*/
  max-width: 64.583vw;
  /*  padding: 60px 20px 88px 20px;*/
  padding: 3.125vw 1.042vw 4.583vw 1.042vw;
  margin: auto;
}

/*子選單控制*/
.pc_menu_button {
  display: block;
}

.mb_menu_button {
  display: none;
}

@media screen and (max-width:1024px) {
main#main {
    max-width: 100%;
    padding: 30px 20px 40px 80px;
}
  .pc_menu_button {
    display: none;
  }

  .mb_menu_button {
    display: block;
  }
}

/*PC子選單樣式*/

.pc_menu_button .ay-filter-buttons {
  text-align: center;
  display: flex;
  /* gap: 15px;*/
  gap: 0.781vw;
  justify-content: center;
  flex-wrap: wrap;
  /*  margin-bottom: 60px;*/
  margin-bottom: 3.125vw;
}

.pc_menu_button .ay-filter-buttons button {
   border-radius: 40px;
  /*border-radius: 2.083vw;*/
  /*padding: 15px 20px;*/
  padding: 0.781vw 1.042vw;
  /* font-size: 20px;*/
  font-size: 1.042vw;
  line-height: 130%;
  letter-spacing: 0;
  color: #6E6E6E;
  cursor: pointer;
  background-color: #E2ECDD;
  font-weight: 400;
}

.pc_menu_button .ay-filter-buttons button:hover,
.pc_menu_button .ay-filter-buttons button.active {
  background-color: #00321D;
  color: #fff;
}

/*MB子選單樣式*/
.accordion-content {
  width: 62px;
  overflow: hidden;
  transition: width 0.4s ease, top 0.8s ease, transform 0.8s ease;
  background: #E2ECDD;
  position: fixed;
  z-index: 2;
  left: 0;
  border-radius: 0 20px 20px 0;
padding: 20px 6px;
top: 212px;
}

.accordion-content.centered {
  top: 50%;
  transform: translateY(-50%);
}

/* 展開時（加上 active 類別） */


.accordion-content.active {
 width: 164px;
 padding: 20px 23px 20px 6px;
}

.accordion-content .ay-filter-buttons {
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow: hidden;
  width: 100%;
}

/* 讓 .accordion_tab 例外可以點擊 */
.accordion_tab {
  pointer-events: auto;
  cursor: pointer;
}

.accordion-content.active .ay-filter-buttons {
  opacity: 1;
  pointer-events: auto;
}

.filter_box {
  display: grid;
 grid-template-columns: 50px auto;
  overflow: hidden;
 grid-column-gap: 10px;
}

.filter_box button {
font-size: 16px;
  line-height: 130%;
  letter-spacing: 0;
  color: #65726C;
  background: unset;
  text-align: left;
  font-weight: 400;
  padding: 0;
  white-space: nowrap;
}

.filter_box.active svg {
  background: #EBC136;
  border-radius: 50%;
}

.filter_box.active button {
  color: #00321D;
  font-weight: 700;
}

.filter_box.active svg path {
  fill: #fff;
}

/*菜單輸出*/
.ay-item-list {
  display: grid;
  flex-wrap: wrap;

  grid-template-columns: repeat(3, 1fr);
  transition: min-height 0.3s ease;
  /*  grid-column-gap: 60px;*/
  grid-column-gap: 3.125vw;
  /*  grid-row-gap: 15px;*/
  grid-row-gap: 0.781vw;
}

.ay-item {
  box-sizing: border-box;
  opacity: 1;
  transition: transform 0.4s ease;
  position: relative;
  display: block;
}

.ay-item .bk_img {
  background-repeat: no-repeat;
  background-size: cover;
  padding-bottom: 66%;
  background-position: center center;
  position: relative;
}

.ay-item .text_box {
  padding: 10px 0 0 0;
}
.bk_img.no {
    opacity: 0;
}
.ay-item h2,
p.price {
  /* font-size: 20px !important;*/
  font-size: 1.042vw !important;
  line-height: 130% !important;
  font-weight: 600 !important;
  color: #00321D;
}

.dish_name {
  display: flex;
  justify-content: space-between;
   margin-bottom: 5px;
}

.name {
  display: flex;
  justify-content: flex-start;
  gap: 10px;
  align-items: center;
}

.ay-item h3 {
  /*font-size: 16px;*/
  font-size: 0.833vw;
  line-height: 130%;
  font-weight: 400;
  color: #00321D;
 margin-bottom: 5px;
}

.ay-item p {
  /* font-size: 16px;*/
  font-size: 0.833vw;
  line-height: 160%;
 margin-bottom: 10px;
  font-weight: 400;
}

.allergy_tag ul {
  display: flex;
   gap: 4px;
}


.ay-item a:hover {
  color: unset;
}

@media screen and (max-width:1024px) {
  .ay-item-list {
    grid-template-columns: 1fr;
    grid-row-gap: 0;
  }
  .ay-item h2, p.price {
    font-size: 18px !important;
}
 p.price {
  font-weight: 400!important;
     margin-bottom: 0;
}

.ay-item h3 {
    font-size: 14px;
    margin-bottom: 5px;
}
.ay-item p {
    font-size: 14px;
    line-height: 140%;
}
.filter_box button {
    display: flex;
    align-items: center;
}
}