@charset "UTF-8";
/* 在檔案最上方引入共用函數*/
/*筆電平板*/
/* 手機版轉換 (基準 375px) */
/*swiper*/
.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: rgba(255, 255, 255, 0);
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-pagination {
  bottom: 0px !important;
  display: block;
}

.swiper-pagination-bullet-active {
  background: #C7A973 !important;
}

.swiper-pagination {
  position: relative !important;
}

.swiper-pagination-bullet {
  width: 10px !important;
  height: 10px !important;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
  margin: 0 8px !important;
}

@media screen and (max-width: 992px) {
  .swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet, .swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0px 5px !important;
  }
}
/*section#ay_sn_01 */
section#ay_sn_01 {
  position: relative;
}

.color_bk {
  background: #F9F3E6;
  position: absolute;
  top: 9.375vw;
  left: 0;
  width: 100%;
  height: 23.4375vw;
  z-index: 0;
}

.ay_sn_01_div {
  position: relative;
  max-width: 62.5vw;
  margin: auto;
  padding: 5.4166666667vw 1.0416666667vw 0 1.0416666667vw;
  z-index: 1;
}

.ay_sn_01_div .page_title {
  opacity: 0.6;
  position: absolute;
  left: 0;
  top: 3.125vw;
}

/* --- 圖片 Swiper 基本設定 --- */
.ay_sn_01_img_swiper {
  padding-top: 6.5104166667vw !important;
  padding-bottom: 2.0833333333vw;
  overflow: hidden;
  width: 100%;
}

.ay_sn_01_img_swiper .swiper-slide {
  transition: transform 0.5s ease, opacity 0.5s ease;
  transform-origin: center bottom;
  transform: scale(0.7363) !important;
  bottom: 1.0416666667vw;
}

.ay_sn_01_img_swiper .swiper-slide-active {
  z-index: 2;
  transform: scale(1.4727) !important;
  bottom: 0;
}

.ay_sn_01_img_swiper .bk_img {
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
  padding-bottom: 70%;
  width: 100%;
  display: block;
}

.text_slider_container {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 33.8541666667vw;
  margin: 0 auto;
}

/* --- 下方：文字白色框 --- */
.ay_sn_01_text_swiper {
  background: #fff;
  width: 100%;
  max-width: 32.2916666667vw;
}

.slider_text_box {
  padding: 1.0416666667vw 2.6041666667vw;
  text-align: left;
}

.slider_text_box h2 {
  font-size: 24px;
  color: #000;
  margin-bottom: 0.625vw;
  font-weight: 500;
  line-height: 140%;
}

.slider_text_box ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.slider_text_box ul li {
  font-size: 18px;
  color: #333;
  line-height: 180%;
  position: relative;
  padding-left: 1.1458333333vw;
  margin-bottom: 0.5208333333vw;
}

.slider_text_box ul li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.625vw;
  width: 0.5208333333vw;
  height: 0.5208333333vw;
  border: 1px solid #CCAE66;
  border-radius: 50%;
}

.slider_text_box li svg {
  fill: none;
}

.text_slider_container .custom-nav-btn {
  position: static; /* 解除預設的絕對定位 */
  width: 1.5625vw;
  height: 2.5vw;
  background-color: #C7A973; /* 雅聚品牌金色 */
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.text_slider_container .custom-nav-btn:hover {
  background-color: #B29562;
}

.text_slider_container .custom-nav-btn::after {
  display: none !important;
}

.text_slider_container .custom-nav-btn svg {
  display: block;
  width: 0.7291666667vw;
  height: 1.25vw;
}

.text_slider_container .custom-nav-btn svg {
  fill: none;
}

.swiper-button-prev.custom-nav-btn {
  margin-right: -0.78125vw;
}

.swiper-button-next.custom-nav-btn {
  margin-left: -0.78125vw;
}

section#ay_sn_01 .swiper-pagination {
  margin-bottom: 0.625vw;
}

@media screen and (max-width: 1440px) {
  .ay_sn_01_div {
    max-width: 90%;
  }
  .ay_sn_01_div .page_title {
    position: relative;
    top: 0;
    right: 0;
  }
  .ay_sn_01_div .page_title h2 {
    writing-mode: unset;
    letter-spacing: 10%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
  }
  .ay_sn_01_div .page_title h2::before {
    position: relative;
    height: 1px;
    flex: 1;
    margin-left: 0.5555555556vw;
    left: 0;
    transform: none;
    bottom: 0;
  }
  .ay_sn_01_img_swiper {
    padding-top: 8.6805555556vw !important;
    padding-bottom: 2.7777777778vw;
  }
  .color_bk {
    top: 12.5vw;
    height: 31.25vw;
  }
  .swiper-button-prev.custom-nav-btn {
    margin-right: -1.0416666667vw;
  }
  .swiper-button-next.custom-nav-btn {
    margin-left: -1.0416666667vw;
  }
  section#ay_sn_01 .swiper-pagination {
    margin-bottom: 0.8333333333vw;
  }
}
@media screen and (max-width: 992px) {
  .ay_sn_01_div {
    max-width: 100%;
    padding: 10.6666666667vw 1.3333333333vw 0 1.3333333333vw;
  }
  .ay_sn_01_div .page_title {
    margin: 0 4vw;
  }
  .ay_sn_01_img_swiper .swiper-slide-active, .ay_sn_01_img_swiper .swiper-slide {
    transform: none !important;
    bottom: unset;
  }
  .ay_sn_01_img_swiper {
    padding-top: 3.2vw !important;
    max-width: 67%;
  }
  .text_slider_container, .ay_sn_01_text_swiper {
    max-width: 100% !important;
  }
  .color_bk {
    top: 38.9333333333vw;
    left: 0;
    width: 100%;
    height: 59.4666666667vw;
  }
  section#ay_sn_01 .swiper-pagination {
    margin: 1.3333333333vw 0 2.1333333333vw 0;
    line-height: 0;
  }
  .slider_text_box {
    padding: 2.6666666667vw 5.3333333333vw;
  }
  .slider_text_box h2 {
    font-size: 20px;
  }
  .slider_text_box ul li {
    font-size: 16px;
    padding-left: 4.8vw;
  }
  .slider_text_box ul li::before {
    top: 2.6666666667vw;
    width: 2.6666666667vw;
    height: 2.6666666667vw;
  }
  .text_slider_container .custom-nav-btn {
    width: 8vw;
    height: 12.8vw;
  }
  .text_slider_container .custom-nav-btn svg {
    width: 3.7333333333vw;
    height: 6.4vw;
  }
  .swiper-button-prev.custom-nav-btn {
    margin-right: -4vw;
  }
  .swiper-button-next.custom-nav-btn {
    margin-left: -4vw;
  }
}
/*section#ay_sn_02 */
.ay_sn_02_div {
  position: relative;
  max-width: 62.5vw;
  margin: auto;
  padding: 5.2083333333vw 1.0416666667vw;
  box-sizing: border-box;
}

.ay_sn_02_div .swiper-wrapper {
  margin-bottom: 0.5208333333vw;
}

.menu_group_wrap h2 {
  font-size: 40px;
  line-height: 130%;
  text-align: center;
  font-weight: 500;
  color: #000;
  margin-bottom: 1.25vw;
}

.menu_slider_wrapper {
  position: relative;
  max-width: 57.2916666667vw;
  margin: 0 auto; /* 置中 */
}

.ay_sn_02_swiper {
  width: 100%;
  max-width: 47.2916666667vw; /* 強制菜單區塊就是 908px */
  margin: 0 auto; /* 置中 */
  padding-bottom: 2.6041666667vw;
}

.ay_sn_02_swiper .swiper-slide {
  display: block;
}

.ay_sn_02_swiper .swiper-slide a {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.ay_sn_02_swiper .swiper-slide img {
  width: 100%;
  height: auto;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
}

/* --- 頁碼點點樣式 --- */
.ay_sn_02_swiper .swiper-pagination {
  bottom: 0;
}

.ay_sn_02_swiper .swiper-pagination-bullet {
  width: 0.5208333333vw;
  height: 0.5208333333vw;
  margin: 0 8px !important;
}

.ay_sn_02_swiper .swiper-pagination-bullet-active {
  background: #C7A973;
}

.menu_slider_wrapper .custom-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 2.96875vw;
  height: 2.96875vw;
  background: transparent;
  margin-top: -1.3020833333vw;
}

.menu_slider_wrapper .custom-nav-btn svg g {
  transition: opacity 0.3s ease;
}

.menu_slider_wrapper .custom-nav-btn:hover svg g {
  opacity: 1 !important;
}

/* 貼齊 1100px Wrapper 的左右邊界 */
.menu_slider_wrapper .swiper-button-prev.custom-nav-btn {
  left: 0;
}

.menu_slider_wrapper .swiper-button-next.custom-nav-btn {
  right: 0;
}

.menu_slider_wrapper .custom-nav-btn::after {
  display: none !important;
}

.menu_slider_wrapper .custom-nav-btn svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
}

/* 確保 Fancybox 自己的圖層要在最上面 */
.fancybox__container {
  z-index: 99999 !important;
}

/* 1. 預設狀態 (可點擊時)：透明度 100% */
.menu_slider_wrapper .custom-nav-btn {
  opacity: 1;
  transition: opacity 0.3s ease, background-color 0.3s ease;
}

/* 2. 到底/到頭狀態 (不可點擊時)：透明度 50% */
.menu_slider_wrapper .swiper-button-disabled {
  opacity: 0.5 !important;
  cursor: not-allowed !important; /* 游標變成禁止符號，體驗更好 */
}

/* 確保 disabled 狀態下，滑鼠移過去也不會亮起來 */
.menu_slider_wrapper .swiper-button-disabled:hover svg g {
  opacity: 1 !important; /* 維持 SVG 內部的原始顏色不被 hover 影響 */
}

/* --- 手機版 RWD --- */
@media screen and (max-width: 992px) {
  .ay_sn_02_div {
    padding: 10.6666666667vw 5.3333333333vw;
    max-width: 100%;
  }
  .menu_slider_wrapper {
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 0;
    max-width: 100%;
  }
  /* 2. 魔法排序：用 order 改變 HTML 視覺順序 */
  .menu_slider_wrapper .swiper-button-prev {
    order: 1; /* 左箭頭排第 1 個 */
  }
  .ay_sn_02_swiper {
    order: 2; /* 菜單排第 2 個 (中間) */
    max-width: 100%;
  }
  .menu_group_wrap h2 {
    margin-bottom: 6.4vw;
  }
  .menu_slider_wrapper .swiper-button-next {
    order: 3; /* 右箭頭排第 3 個 */
  }
  .menu_slider_wrapper .custom-nav-btn {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    transform: none !important;
    margin-top: -5.3333333333vw !important;
    flex-shrink: 0;
    width: 8vw !important;
    height: 8vw !important;
  }
  .ay_sn_02_swiper {
    flex: 1;
    min-width: 0;
    padding-left: 0px !important;
    padding-right: 0px !important;
    padding-bottom: 0px !important;
    margin: 0 6.9333333333vw !important;
  }
  .ay_sn_02_div .swiper-wrapper {
    margin-bottom: 3.2vw;
  }
}
@media screen and (max-width: 576px) {
  .menu_slider_wrapper .custom-nav-btn {
    width: 10.6666666667vw;
    height: 10.6666666667vw;
  }
}
/*section#ay_sn_03 */
/* --- 外層總區塊 --- */
.ay_sn_03_div {
  position: relative;
  max-width: 1190px;
  margin: auto;
  padding: 0px 1.0416666667vw 10.4166666667vw 1.0416666667vw;
}

.ay_sn_03_div p.en_title {
  padding-bottom: 1.25vw;
  color: #9D7E63;
  font-weight: 500;
  font-size: 32px;
  line-height: 100%;
}

.page_title {
  position: absolute;
  right: -4.375vw;
  top: 3.3854166667vw;
}

/* --- 網格共用設定 --- */
.food_grid {
  display: grid;
  gap: 1.5625vw; /* 每個套餐卡片之間的間距 */
}

/* --- 動態欄數設定 --- */
.boxone {
  max-width: 47.2916666667vw; /* 👈 當只有一個時，精準鎖定最大 908px */
  margin: 0 auto; /* 並保持置中 */
}

/* --- 單一個套餐卡片樣式 --- */
.food_item {
  background: #fff;
}

.food_item a {
  display: block;
  width: 100%;
  overflow: hidden;
}

.food_item img {
  width: 100%;
  height: auto;
  display: block;
  -o-object-fit: cover;
     object-fit: cover;
  transition: transform 0.4s ease; /* 增加滑鼠懸停放大特效 */
}

.food_item a:hover img {
  transform: scale(1.05);
}

.food_item .text {
  padding: 1.0416666667vw 0.78125vw;
}

.food_item .text h3 {
  font-size: 20px;
  line-height: 120%;
  font-weight: 500;
  color: #895F39;
  margin-bottom: 0.625vw;
}

@media screen and (max-width: 1400px) {
  .ay_sn_03_div .page_title {
    position: relative;
    top: 0;
    right: 0;
  }
  .ay_sn_03_div .page_title h2 {
    writing-mode: unset;
    letter-spacing: 10%;
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    justify-content: flex-end;
    white-space: nowrap;
  }
  .ay_sn_03_div .page_title h2::before {
    position: relative;
    height: 1px;
    flex: 1;
    margin-left: 2.1333333333vw;
    left: 0;
    transform: none;
    bottom: 0;
  }
}
@media screen and (min-width: 992px) {
  .ay_sn_03_swiper .swiper-wrapper {
    display: grid !important;
    transform: none !important; /* 確保關閉 Swiper 時沒有殘留的位移 */
  }
  .ay_sn_03_swiper .swiper-slide {
    width: auto !important; /* 寬度交由 grid-template-columns 控制 */
    margin-right: 0 !important;
  }
}
@media screen and (max-width: 993px) {
  .ay_sn_03_div {
    padding: 0px 0px 20.8vw 5.3333333333vw;
  }
  .ay_sn_03_swiper .swiper-wrapper {
    display: flex !important; /* Swiper 需要 Flexbox 才能左右滑 */
    gap: 0 !important; /* 移除 Grid 原本的 gap，間距交給 JS 的 spaceBetween */
  }
  .ay_sn_03_swiper .swiper-slide {
    height: auto; /* 確保即使文字長度不同，卡片高度也會自動對齊 */
  }
  .page_title_box {
    display: flex;
    flex-direction: column-reverse;
    padding-right: 5.3333333333vw;
  }
  .ay_sn_03_swiper .food_item .text {
    padding: 4vw;
    text-align: left;
  }
  .food_item .text h3 {
    margin-bottom: 2.1333333333vw;
  }
  .ay_sn_03_div p.en_title {
    padding-bottom: 3.2vw;
    font-size: 14px;
    letter-spacing: 8%;
  }
  .ay_sn_03_div .page_title h2 {
    margin-bottom: 3.2vw;
  }
}/*# sourceMappingURL=menus.css.map */