﻿@charset "utf-8";
/* ==========================================================================
   storeStar.css
   用途：繁星旗艦店專用樣式。
   共用 Meals 輪播與兩個門市共用 RWD 規則集中在 storeFound.css。
   HTML 載入順序請維持：storeStar.css → storeFound.css
   ========================================================================== */
.bg_star {
    background: url(../images/bg_menu_grey.jpg) #0f0f0f;
    overflow: hidden;
}
.storeStar_top {
  max-height: 760px;
  overflow: hidden;
  position: relative;
}
.view_storeStar {
  overflow-x: hidden;
  /* background: url("../images/blue_halo2.png") 59vh 60% no-repeat;
  background-size: 90%;*/
}
.tms_title {
  /*  width: 420px;*/
}
.tms_title .tms_titleWord span {}
.tms_title p {
  color: #aba285;
  letter-spacing: 2px;
  padding-left: 5px;
}
/**茶館視覺區塊**/
.star_pageBg {
  background: url("../images/blue_halo1.png") 100vh -42vh no-repeat;
  background-size: 60%;
}
.star_page {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 30px;
  width: 80%;
  max-width: 1336px;
  margin: 0 auto;
  /*  background: url("../images/blue_halo1.png") top right no-repeat;
  background-size: 60%;*/
}
.star_page_w2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-bottom: 30px;
  width: 80%;
  max-width: 1336px;
  margin: 0 auto;
}
/* --- 詩詞區 --- */
.star_area_poem {
  position: relative;
  z-index: 1;
  margin-top: 0;
}
.poem_img {
  background: url("../images/poem-img.png") no-repeat;
  width: 287px;
  height: auto;
  display: flex;
  justify-content: center;
  margin: 5% auto;
  position: relative;
  z-index: 2;
}
.poem {
  text-orientation: upright;
  writing-mode: vertical-rl;
  margin-top: 42%;
  color: #fff;
  font-size: 22px;
  letter-spacing: 10px;
  font-family: "Noto Serif TC", serif;
  position: relative;
  z-index: 3;
}
.poem p {
  font-weight: bold;
}
.venus {
  background: url("../images/venus.png") no-repeat center center;
  background-size: contain;
  width: 800px;
  height: 800px;
  margin: 0 auto;
  position: relative;
  top: -2vh;
  left: 0;
  z-index: 1;
  /*  pointer-events: none;*/
}
/**THE SPACEL-新中式茶館**/
/* --- 店家照片 --- */
.star_area {
  position: relative;
  z-index: 2;
  margin-top: -56vh;
}
.star_title {
  margin: 30px auto;
}
.star_title .tms_title .tms_titleWord {
  color: #fff;
}
.star_photo {
  position: relative;
  z-index: 1;
}
/* --- 店家標籤 --- */
.star_tag {
  background: #fff;
  width: 500px;
  padding: 3% 7%;
  text-align: center;
  border-radius: 8px;
  position: relative;
  top: -8vh;
  right: -93vh;
  z-index: 2;
}
.star_tag img {
  height: 38px;
}
.star_tag h1 {
  margin-bottom: 15px;
}
.star_tag p {
  font-size: 15px;
  color: #383838;
  line-height: 2em;
}
/* --- 地址 --- */
.view_storeStar .star_address {
  z-index: 3;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  margin-top: -20vh;
}
.view_storeStar .star_address li {
  color: #fff;
  line-height: 2.5em;
  display: flex;
  align-items: center;
}
.view_storeStar .star_address span {
  margin-right: 5px;
}
.add_bt_wr {
  display: flex;
  margin-top: 40px;
}
.add_bt_wr .bt-chain,  .add_bt_wr .bt-chain_b {
  margin: 0 4px;
}
.add_bt_wr .bt-chain input {
  font-size: 14px;
  background: #393939;
  color: #fff;
  width: 180px;
  padding: 14px 60px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.add_bt_wr .bt-chain input:hover {
  background: #474747;
  cursor: pointer;
}
.add_bt_wr .bt-chain_b input {
  font-size: 14px;
  background: #4994C4;
  color: #fff;
  width: 180px;
  padding: 14px 60px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.add_bt_wr .bt-chain_b input:hover {
  background: #C59644;
  cursor: pointer;
}
.add_bt_wr .star_chain_b input {
  font-size: 14px;
  background: #002695;
  color: #fff;
  width: 180px;
  padding: 14px 60px;
  border-radius: 4px;
  letter-spacing: 1px;
}
.add_bt_wr .star_chain_b input:hover {
  background: #C59644;
  cursor: pointer;
}

/**------------------------meals伴手禮視覺區------------------------**/
.wrapper_m {
  opacity: 1;
}
.meals_pageBg {
  background: url("../images/blue_halo2.png") 71vh -13vh no-repeat;
  background-size: 90%;
}
.meals_page {
  padding: 10% 0;
}
.meals_title {
  text-align: center;
  letter-spacing: 2px;
}
.meals_title h1 {
  color: #aba285;
  font-family: "微軟正黑體";
  font-size: 16px;
  margin-bottom: 10px;
}
.meals_title h2 {
  color: #fff;
  /*font-family: 'cwTeXFangSong', serif, "微軟正黑體";*/
  font-family: "Noto Serif TC", serif, "微軟正黑體";
  font-weight: bold;
  font-size: 25px;
}

/* 共用 Meals 輪播基礎樣式已集中至 storeFound.css。
   此檔僅保留繁星頁專用的輪播尺寸與斷點設定。 */
/* visit_link拜訪按鈕 star*/
.visit_link {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  width: 80%;
  margin: 5vh auto 13vh auto;
  border-top: 1px solid #444;
  border-bottom: 1px solid #444;
  height: 164px;
  padding: 10px;
  gap: 5px; /* 文字與箭頭間距 */
}
.link_modle a:hover {
  text-decoration: none;
}
/* 更新 店家連結*/
.link_modle {
  display: flex;
  justify-content: center;
  /*  border-top: 1px solid #bbb7af;
  border-bottom: 1px solid #bbb7af;*/
  padding: 60px 0;
  /* width: 80%;*/
}
.link_modle_s {
  color: #CCC;
  font-family: "Noto Serif TC", serif, "微軟正黑體";
  font-size: 21px;
  line-height: 21px;
  font-weight: bold;
  letter-spacing: 2px;
}
.icon-arrow-right-circle {
  color: #CCC; /* 黃色 */
}
/* 滑入整個超連結時變紅色 */
.visit_link:hover .link_modle_s,  .visit_link:hover .icon-arrow-right-circle {
  color: #C59644;
}
@keyframes MoveLeftRight {
  0% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(20px);
  }
  100% {
    transform: translateX(0);
  }
}
/* visit_link 拜訪按鈕 end */

/**hatch_page**/
.hatch_music {
  width: 325px;
}
.hatch_title {
  letter-spacing: 2px;
  margin: 40px 0;
}
.hatch_title h1 {
  color: #aba285;
  font-family: "微軟正黑體";
  font-size: 16px;
  margin-bottom: 10px;
}
.hatch_title h2 {
  color: #fff;
  /*font-family: 'cwTeXFangSong', serif, "微軟正黑體";*/
  font-family: "Noto Serif TC", serif, "微軟正黑體";
  font-size: 32px;
}
.hatch_title span {
  font-size: 38px;
}
.hatch_space_box {
  color: #fff;
  margin: 40px 0;
}
.hatch_space_box p {
  font-size: 16px;
  letter-spacing: 2px;
  font-family: "微軟正黑體";
  line-height: 2em;
}
.hatch_page {
  padding: 0.1%;
  display: flex;
}
.hatch_pageWrap {
  display: flex;
  flex-wrap: wrap;
}
.hatch_space {
  width: 434px;
}
.hatch_img1 {
  width: 55%;
  max-width: 1055px;
  position: relative;
}
.hatch_img2 {
  position: relative;
  right: 0;
  margin-top: -64vh;
  /* margin-right: 0; */
  margin-left: 150vh;
  width: 215px;
  height: 288px;
  overflow: hidden; /* 超出裁掉 */
  position: relative; /* 方便絕對定位 */
}
.hatch_img2 img {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover; /* 填滿容器，必要時裁切 */
  display: block;
}
.hatch_img3 {
  position: relative;
  right: 0;
  margin-left: 114vh;
  margin-top: 27vh;
  width: 440px;
  height: 330px;
  overflow: hidden; /* 超出就隱藏 */
}
.hatch_img3 img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 填滿容器，必要時裁切 */
  display: block;
}
.hatch_spaceWrap {
  position: relative;
  z-index: 2;
}
.hatch_pageWrap {
  display: grid; /* ✅ 用 grid 疊層 */
  justify-content: start; /* 控制對齊 */
  align-items: start;
  margin: 5% auto;
}
.hatch_space,  .hatch_spaceWrap {
  grid-area: 1 / 1; /* ✅ 疊在同一格 */
  width: 100%; /* RWD：跟著螢幕寬度縮放 */
  min-height: 100px; /* 基本高度，手機時不會太小 */
}
.hatch_space {
  position: relative;
  z-index: 10;
  width: 422px;
  margin-top: 10vh;
  margin-left: 102vh;
}
.hatch_spaceWrap {
  z-index: 2;
  margin-top: 40vh; /* 疊在 A 下面 */
  margin: 0 auto;
}
/**點點**/
.slick-dots li button:before {
  font-family: "slick";
  font-size: 6px;
  line-height: 20px;
  position: absolute;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  content: "•";
  text-align: center;
  opacity: 0.2;
  color: #FFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale
}
.slick-dots li.slick-active button:before {
  opacity: 1;
  color: #8d6e39;
  transform: scale(1.5)
}
.slick-dots li button:hover:before,  .slick-dots li button:focus:before {
  opacity: 1;
  transform: scale(1.5);
}
@media (max-width: 1680px) {
  .star_area {
    margin-top: -66vh;
  }
  .view_storeStar .star_address {
    margin-top: -25vh;
  }
}
@media (max-width: 1440px) {
  .star_area {
    margin-top: -77vh;
  }
  .star_address {
    margin-top: -24vh;
  }
}
@media (max-width: 1336px) {
  /**調整背景**/
  .star_pageBg {
    background-position: 89vh -30vh;
  }
  .meals_pageBg {
    background-position: 42vh -15vh
  }
  /**輪播去圓角**/
  #myCarousel .carousel-item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    border-bottom-right-radius: 0;
    border-bottom-left-radius: 0;
  }
  .star_area {
    margin-top: -72vh;
  }
  .star_tag {
    background: #fff;
    width: 100%;
    padding: 3% 7%;
    text-align: center;
    border-radius: 8px;
    position: relative;
    top: 0;
    right: 0;
    z-index: 2;
    border-top-right-radius: 0;
    border-top-left-radius: 0;
  }
  .view_storeStar .star_address {
    margin-top: 0;
  }
  .hatch_space {
    width: 422px;
    margin-top: -3vh;
    margin-left: 74vh;
  }
  .hatch_img1 {
    width: 50%;
  }
  .hatch_img2 {
    width: 20%;
    margin-left: 104vh;
    height: 300px;
    margin-top: 8vh;
  }
  .hatch_img3 {
    width: 50%;
    margin-top: -19vh;
    margin-left: 21vh;
  }
  .hatch_spaceWrap {}
}
@media (max-width: 1280px) {
  .hatch_space {
    margin-left: 105vh;
  }
  .hatch_img2 {
    margin-left: 146vh;
    margin-top: 8vh;
  }
}
/* (max-width: 1180px) and (orientation: landscape)這裡的樣式只會在手機橫式且寬度 ≤1180 時套用 */
@media (max-width: 1180px) and (orientation: landscape) {
  .hatch_space {
    margin-left: 90vh;
  }
  .hatch_img2 {
    margin-left: 118vh;
  }
}
@media (max-width: 1024px) {
  /**調整背景**/
  .star_pageBg {
    background-position: 77vh -27vh;
  }
  .meals_pageBg {
    background-position: 42vh -8vh
  }
}
@media (max-width: 820px) {
  .star_pageBg {
    background-size: 100%;
    background-position: 18vh -22vh;
  }
  .star_page {
    width: 90%;
    margin: 0 auto;
  }
  .poem {
    margin-top: 100px;
  }
  .venus {
    width: 600px;
    height: 600px;
    top: -15vh;
    left: 28vh;
  }
  .star_area {
    margin-top: -52vh;
  }
  .star_address {
    margin-top: 0;
  }
  .hatch_page {
    width: 90%;
    margin: 0 auto;
  }
  .hatch_space {
    position: relative;
    z-index: 10;
    width: 90%;
    margin: 0 auto;
  }
  .hatch_spaceWrap {
    margin-top: 42vh;
    z-index: 2;
    margin: 5% auto;
    margin-top: 56%;
  }
  .hatch_img1 {
    width: 100%;
    margin-top: 0;
    margin-left: 0;
  }
  .hatch_img2 {
    width: 30%;
    margin-left: 48vh;
    height: 267px;
    margin-top: 10%;
  }
  .hatch_img3 {
    margin-top: -16vh;
    margin-left: 0;
    transform: translateX(-10%);
  }
  .visit_link {
    height: 130px;
  }
}
@media (max-width: 500px) {
  .venus {
    top: 0;
    left: 15vh;
  }
  .poem {
    font-size: 18px;
  }
  .view_storeStar .star_address {
    padding: 20px 0;
  }
  .add_bt_wr {
    display: flex;
    flex-wrap: wrap; /* 允許自動換行 */
    justify-content: center;
    gap: 10px; /* 這就是你要的按鈕間距 */
  }
  .add_bt_wr .bt-chain,  .add_bt_wr .bt-chain_b {
    flex: 1; /* 讓每個自動等寬 */
    display: flex;
    justify-content: center;
    /*width: 100%;*/
  }
  .add_bt_wr .bt-chain input,  .add_bt_wr .bt-chain_b input {
    width: 150px;
    /*width: 100%;*/ display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  .bt-chain {
    width: 45%; /* 上排兩個佔寬 */
  }
  /* 讓第三個自動換行並置中 */
  .bt-chain:last-child {
    width: 100%;
    justify-content: center;
  }
  .star_tag h1 {
    margin: 0;
  }
  .star_tag img {
    height: 28px;
  }
  .hatch_spaceWrap {
    z-index: 2;
    margin: 5% auto;
    margin-top: 120%;
  }
  .hatch_space_box p {
    letter-spacing: 0;
  }
  .hatch_img1 {
    width: 90%;
    margin-top: 0;
    margin-left: 0;
  }
  .hatch_img2 {
    width: 35%;
    margin-left: 36vh;
    height: 174px;
    margin-top: 10%;
  }
  .hatch_img3 {
    width: 75%;
    height: 216px;
    margin-top: 10%;
    margin-left: 0;
  }
  .view_storeFound .visit_link p {
    letter-spacing: 1px;
  }
}
/* storeStar 專用 slick dots：不影響 storeFound */
body.bg_star .slick-dots li button::before {
  color: rgba(255, 255, 255, 0.5);
  opacity: 1;
}

body.bg_star .slick-dots li.slick-active button::before {
  color: #8d6e39;
  opacity: 1;
  transform: scale(1.5);
}

body.bg_star .slick-dots li button:hover::before, 
body.bg_star .slick-dots li button:focus::before {
  opacity: 1;
}

/* ===== hatch_page 最終 RWD（Vue 整合） =====
   768–990px：平板版，直式／橫式共用。
   767px 以下：手機版，直式／橫式共用。
   直接寫在原 storeStar.css，不另加覆蓋檔。 */
@media (min-width: 768px) and (max-width: 990px) {
  .view_storeStar .hatch_page {
    box-sizing: border-box;
    display: block;
    width: 90%;
    margin: 0 auto;
    padding: 56px 0;
    overflow: hidden;
  }
  .view_storeStar .hatch_pageWrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
  }
  .view_storeStar .hatch_space {
    position: relative;
    z-index: 10;
    width: 90%;
    margin: 0 auto 36px;
  }
  .view_storeStar .hatch_spaceWrap {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
  }
  .view_storeStar .hatch_spaceImg {
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr);
    grid-template-areas:
      "main main"
      "wide tall";
    gap: 20px;
    width: 100%;
    align-items: stretch;
  }
  .view_storeStar .hatch_img1,
  .view_storeStar .hatch_img2,
  .view_storeStar .hatch_img3 {
    position: relative;
    inset: auto;
    box-sizing: border-box;
    margin: 0;
    transform: none;
    overflow: hidden;
  }
  .view_storeStar .hatch_img1 { grid-area: main; width: 100%; height: auto; }
  .view_storeStar .hatch_img3 { grid-area: wide; width: 100%; height: clamp(220px, 31vw, 300px); }
  .view_storeStar .hatch_img2 { grid-area: tall; width: 100%; height: clamp(220px, 31vw, 300px); }
  .view_storeStar .hatch_img1 img,
  .view_storeStar .hatch_img2 img,
  .view_storeStar .hatch_img3 img {
    position: static;
    display: block;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
  }
  .view_storeStar .hatch_img1 img { height: auto; }
}

@media (max-width: 767px) {
  .view_storeStar .hatch_page {
    box-sizing: border-box;
    display: block;
    width: 90%;
    margin: 0 auto;
    padding: 40px 0;
    overflow: hidden;
  }
  .view_storeStar .hatch_pageWrap {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin: 0;
  }
  .view_storeStar .hatch_space {
    position: relative;
    width: 100%;
    margin: 0 0 28px;
  }
  .view_storeStar .hatch_spaceWrap {
    position: relative;
    width: 100%;
    margin: 0;
  }
  .view_storeStar .hatch_spaceImg {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .view_storeStar .hatch_img1,
  .view_storeStar .hatch_img2,
  .view_storeStar .hatch_img3 {
    position: relative;
    inset: auto;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    margin: 0;
    transform: none;
    overflow: hidden;
  }
  .view_storeStar .hatch_img1 img,
  .view_storeStar .hatch_img2 img,
  .view_storeStar .hatch_img3 img {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    min-width: 0;
    min-height: 0;
    object-fit: cover;
  }
}

/* ===== storeStar hatch_page 補強（2026-07-23） =====
   共用斷點主要由 storeFound.css 最末端控制；
   此區只確保 storeStar 後載入時，不會用舊定位覆蓋共用手機／平板規則。 */
@media screen and (min-width: 768px) and (max-width: 990px) {
  body.bg_star .view_storeStar .hatch_spaceImg {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr);
    grid-template-areas:
      "main main"
      "wide tall";
    gap: 20px;
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 0;
    transform: none;
  }

  body.bg_star .view_storeStar .hatch_img1,
  body.bg_star .view_storeStar .hatch_img2,
  body.bg_star .view_storeStar .hatch_img3 {
    position: relative;
    inset: auto;
    float: none;
    margin: 0;
    transform: none;
  }
}

@media screen and (max-width: 767px) {
  body.bg_star .view_storeStar .hatch_page,
  body.bg_star .view_storeStar .hatch_pageWrap,
  body.bg_star .view_storeStar .hatch_space,
  body.bg_star .view_storeStar .hatch_spaceWrap,
  body.bg_star .view_storeStar .hatch_spaceImg {
    height: auto;
    min-height: 0;
  }

  body.bg_star .view_storeStar .hatch_spaceImg {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin: 0;
    transform: none;
  }

  body.bg_star .view_storeStar .hatch_img1,
  body.bg_star .view_storeStar .hatch_img2,
  body.bg_star .view_storeStar .hatch_img3 {
    position: relative;
    inset: auto;
    display: block;
    float: none;
    clear: both;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    transform: none;
  }

  body.bg_star .view_storeStar .hatch_img1 img,
  body.bg_star .view_storeStar .hatch_img2 img,
  body.bg_star .view_storeStar .hatch_img3 img {
    position: static;
    display: block;
    float: none;
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 0;
    max-height: none;
    margin: 0;
    transform: none;
  }
}
