/* ==========================================================
   Header 樣式（由 home.css 抽出 header 相關區塊）
   涵蓋：桌機 navbar、下拉選單、桌機搜尋遮罩、
        手機漢堡選單（含 script.js 動態產生的畫面）
========================================================== */

/* ==========================================================
   Tokens
========================================================== */
:root {
  --navy-900: #0b1730;
  --navy-800: #12213f;
  --brand-gold: #f0b429;
  --ink: #1c1c1c;
  --ink-soft: #4D4A4A;
  --nav-dark: #4D4A4A;
  --nav-bg: #f1f1f1;
  --grey: #f1f1f1;
  --grey-500: #8a8f98;
  --white: #ffffff;
  --footer-bg: #ececec;
  --products-bg: #E3E4EA;
  --container-max: 1160px;
  --font-base: "Helvetica Neue", "Noto Sans TC", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  font-family: var(--font-base);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;

}

.page-frame {
  background: var(--grey);
  border-radius: 40px;
  padding: 0 1.2rem;
}

/* ==========================================================
  Header
========================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  /* 要高於 .mobile-menu-overlay(1040)，選單從 header 下方滑出時才不會蓋住 header */
  z-index: 1050;
  background: #fff;
}

.nav-inner {
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  padding: 0 1.75rem;
  background: var(--grey);
  border-radius: 40px 40px 0 0;
}

.nav-inner img {
  max-width: 180px;
}

.nav-inner i img {
  max-width: 17px;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 800;
  font-size: 22px;
  color: var(--ink);
  letter-spacing: .5px;
  padding: 28px 0;
  text-decoration: none;
}

.nav-main {
  display: flex;
  align-items: stretch;
  list-style: none;
  padding: 0;
  gap: 8px;
  margin: 0;
}

.nav-main li {
  display: flex;
}

.nav-main a,
.nav-main .drop-label a{
  display: flex;
  align-items: center;
  padding: 0 22px;
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  line-height: 85px;
}

.has-dropdown {
  position: relative;
}

.nav-main li>a:hover, .nav-main li>a.active, .has-dropdown .drop-label a.active, .has-dropdown:hover .drop-label, .has-dropdown:hover .drop-label a, .has-dropdown:focus-within .drop-label {
    background: #8CB8BE;
    color: #fff;
    line-height: 85px;
    transition: all 0.3s ease-in-out;
}

.dropdown-panel {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 150px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .14);
  z-index: 20;
}

.has-dropdown:hover .dropdown-panel,
.has-dropdown:focus-within .dropdown-panel {
  display: block;
}

.dropdown-panel a {
  display: block;
  padding: 20px 24px;
  font-size: 16px;
  font-weight: 500;
  color: #6b6b6b;
  text-decoration: none;
  background: #e3e4ea;
  line-height: normal;
}

.dropdown-panel a:hover,
.dropdown-panel a.active {
  background: #8CB8BE;
  color: #fff;
}

/*.dropdown-panel a:hover:not(.active) {
  background: #e6e6e6;
}

*/

.nav-right {
  /* margin-left: auto; */
  align-items: center;
}

.search-pill {
  display: flex;
  align-items: center;
  background: var(--nav-dark);
  border-radius: 999px;
  overflow: hidden;
  height: 25px;
  cursor: pointer;
}

.search-pill a {
  text-decoration: none;
}

.search-pill i {
  padding: 0 9px 3px 12px;
  border-right: 1px solid rgba(255, 255, 255, .25);
}

.search-pill a {
  display: flex;
  align-items: center;
}

.search-pill span {
  color: #d3d3d4;
  font-size: 16px;
  font-weight: 600;
  padding: 0 40px;
}

/* ==========================================================
  語系選單（搜尋左側，hover 展開）
========================================================== */
.lang-switch {
  display: flex;
  align-items: center;
  margin-right: 18px;
}

.lang-switch__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  /* 上下補滿 header 高度，滑到選單之間不會斷開 */
  height: 85px;
  padding: 0 4px;
  color: var(--nav-dark);
  font-size: 18px;
  cursor: pointer;
  transition: color .2s ease;
}

.lang-switch:hover .lang-switch__toggle {
  color: #8CB8BE;
}

/* 以 icon 為中心展開 */
.lang-switch .dropdown-panel {
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 200px;
}

.lang-switch .dropdown-panel a {
  padding: 14px 20px;
  font-size: 15px;
  white-space: nowrap;
}

/* ---------------- 手機版語系選單 ---------------- */
/* 手機沒有 hover，改用點擊；高度跟著 .mobile-icons 不吃桌機的 85px */
.lang-switch--mobile {
  position: relative;
  margin-right: 0;
}

.lang-switch--mobile .lang-switch__toggle {
  height: auto;
  padding: 0;
  font-size: 22px;
  color: #4D4A4A;
}

/* 只有點開（is-open）才顯示，並蓋掉桌機的 hover 規則 */
/* 手機的 icon 靠右，置中展開會超出畫面，所以改為靠右對齊 */
.lang-switch--mobile .dropdown-panel {
  display: none;
  top: calc(100% + 16px);
  left: auto;
  right: 0;
  transform: none;
}

.lang-switch--mobile:hover .dropdown-panel {
  display: none;
}

.lang-switch--mobile.is-open .dropdown-panel {
  display: block;
}

.lang-switch--mobile.is-open .lang-switch__toggle {
  color: #8CB8BE;
}

.mobile-icons {
  align-items: center;
  gap: 20px;
  margin-left: auto;
  padding: 16px 0;
}

/* ==========================================================
  desktop-search
========================================================== */
.desktop-search-overlay {
  position: fixed;
  left: 0;
  right: 0;
  top: var(--header-h, 84px);
  height: 640px;
  z-index: 90;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(157deg, rgba(199, 200, 201, .9) 0%, rgba(255, 255, 255, .9) 25%, rgba(255, 255, 255, .9) 75%, rgba(181, 182, 182, .9) 100%), url('./img/product-img.jpg') center 20% / cover no-repeat;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-100%);
  transition: opacity .4s ease, transform .45s cubic-bezier(.22, 1, .36, 1), visibility .45s;
  pointer-events: none;
  box-shadow: 2px 2px 3px rgba(0, 0, 0, 0.35);
  border-radius: 0 0 60px 60px;
}

.desktop-search-overlay.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.desktop-search-overlay__close {
  position: fixed;
  top: calc(var(--header-h, 84px) + -60px);
  right: 32px;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 91;
  font-weight: bold;
}

.desktop-search-overlay__inner {
  position: relative;
  width: 100%;
  max-width: 720px;
  padding: 0 24px;
  text-align: center;
}

/* desktop-search-open */
body.desktop-search-open .site-header {
  box-shadow: 2px 2px 6px rgba(0, 0, 0, 0.35);
}

.desktop-search-overlay__inner h2 {
  font-size: 72px;
  font-weight: 800;
  color: var(--ink-soft);
  margin: 0 0 28px;
}

.desktop-search-overlay__input {
  display: flex;
  align-items: center;
  background: rgba(77, 74, 73, 0.85);
  border-radius: 999px;
  padding: 4px 8px 4px 28px;
  height: 50px;
}

.desktop-search-overlay__input input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 18px;
}

.desktop-search-overlay__input input::placeholder {
  color: #cfcfcf;
}

.desktop-search-overlay__input .divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, .3);
  margin: 0 16px;
}

.desktop-search-overlay__input button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0);
  color: #d3d3d4;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 991.98px) {
  .desktop-search-overlay {
    display: none !important;
  }
}

.mobile-icons i {
  font-size: 22px;
  color: #4D4A4A;
  cursor: pointer;
}

/* Ã¦Â¼Â¢Ã¥Â Â¡Ã©ÂÂ¸Ã¥â€“Â®Ã¦Å’â€°Ã©Ë†â€¢Ã¯Â¼Å¡Ã¤Â¸â€°Ã¦Â¢ÂÃ§Â·Å¡ <-> X Ã¥Â½Â¢Ã§â€¹â‚¬Ã¤Âºâ€™Ã§â€ºÂ¸Ã¥Ë†â€¡Ã¦Ââ€º */
.hamburger-btn {
  width: 22px;
  height: 16px;
  padding: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 0 0 auto;
}

.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: #4D4A4A;
  transform-origin: center;
  transition: transform .35s cubic-bezier(.22, 1, .36, 1), opacity .25s ease;
}

.hamburger-btn.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger-btn.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================
   mobile-menu
========================================================== */
/* 手機選單：從 header 下緣往下滑出
   top 用 JS 量到的 --header-h，讓選單接在 header 正下方，
   本體往上位移 100% 藏在 header 後面，開啟時滑下來。 */
.mobile-menu-overlay {
  position: fixed;
  top: var(--header-h, 64px);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  background: #fff;
  display: flex;
  flex-direction: column;
  /* overlay 本身不捲動：改由 .menu-body 內部捲，
     這樣 .menu-footer-fixed 才能真的固定在底部 */
  overflow: hidden;
  visibility: hidden;
  transform: translateY(-100%);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), visibility .4s;
  pointer-events: none;
}

.mobile-menu-overlay.open {
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.back-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 21px 10px;
  font-size: 16px;
  color: var(--ink);
  border-bottom: 1px solid #e2e2e2;
  cursor: pointer;
}

.back-row i {
  transform: scale(-1);
  background-image: url(../img/gary-arrow.png);
  background-size: 100%;
  display: block;
  width: 8px;
  height: 20px;
  background-repeat: no-repeat;
}

.menu-body {
  margin: 0 1rem;
  position: relative;
  /* 佔滿 footer 以外的剩餘空間，內容多就自己捲，不往下溢出 */
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
}

/* ============================================================
   menu-screen
============================================================ */
.menu-screen {
  width: 100%;
}

/* 各層畫面都在 DOM 裡，只顯示 is-active 那一層 */
.menu-screen:not(.is-active) {
  display: none;
}

/* 動畫期間兩層並存，都要能看到 */
.menu-body.is-animating .menu-screen.is-active,
.menu-body.is-animating .menu-screen--exit-left,
.menu-body.is-animating .menu-screen--exit-right {
  display: block;
}

/* 動畫期間兩層並存：讓它們疊在同一位置做左右滑動。
   此時鎖住捲動，避免絕對定位的層跟著捲動位置跑掉。 */
.menu-body.is-animating {
  overflow-y: hidden;
}

.menu-body.is-animating .menu-screen {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
}

.menu-screen--enter-right {
  transform: translateX(100%);
  opacity: 0;
}

.menu-screen--enter-left {
  transform: translateX(-100%);
  opacity: 0;
}

.menu-screen--active {
  transform: translateX(0);
  opacity: 1;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
}

.menu-screen--exit-left {
  transform: translateX(-100%);
  opacity: 0;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
}

.menu-screen--exit-right {
  transform: translateX(100%);
  opacity: 0;
  transition: transform .32s cubic-bezier(.22, 1, .36, 1), opacity .28s ease;
}

/* 固定在選單底部，不被 .menu-body 的內容推開或壓縮 */
.menu-footer-fixed {
  flex: 0 0 auto;
  background: #fff;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: #fff;
}

.menu-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #e2e2e2;
  font-size: 20px;
  color: var(--ink);
  cursor: pointer;
}

.menu-list li.js-drill,
.menu-list li.js-drill-child {
 padding: 23px 10px;
}

.menu-list li a {
  padding: 23px 10px;
  color:inherit;
  text-decoration:none;
  display:flex;
  justify-content:space-between;
  align-items:center;
  width:100%;
}

.menu-list li i {
  background-image: url(../img/gary-arrow.png);
  background-size: 100%;
  display: block;
  width: 10px;
  height: 21px;
  background-repeat: no-repeat;
}

.menu-sub-links {
  background: var(--nav-bg);
  padding: 0 18px 40px;
  position: relative;
}

.menu-sub-links ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-sub-links li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid #e0dfda;
  font-size: 18px;
  color: #4D4A4A;
  text-decoration: none;
}

.menu-sub-links li:last-child a {
  border-bottom: none;
}

.menu-sub-links li i {
  background-image: url(../img/gary-arrow.png);
  background-size: 100%;
  display: block;
  width: 9px;
  height: 19px;
  background-repeat: no-repeat;
}

.menu-footer-brand {
  background: var(--nav-bg);
  padding: 44px 18px 24px;
  text-align: center;
}

.menu-footer-brand .brands {
  font-size: 13px;
  font-weight: 700;
  color: #555;
  margin-bottom: 8px;
}

.menu-footer-brand .copyright {
  font-size: 13px;
  color: var(--grey-500);
  font-weight: 400;
}

/* search */
.search-panel {
  position: relative;
  height: 52vh;
  margin: 16px 0;
  border-radius: 20px;
  overflow: hidden;
  background: url(../img/m-search-bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
}

.search-panel::before {
  content: "";
  position: absolute;
  inset: 0;
}

.search-panel .search-title {
  position: relative;
  font-size: 38px;
  font-weight: 800;
  color: #4D4A4A;
  margin: 0 0 24px;
}

.search-input-bar {
  margin: 16px;
  display: flex;
  align-items: center;
  background: var(--nav-dark);
  border-radius: 12px;
  padding: 0px 8px 0 20px;
  height: 45px;
  position: relative;
}

.search-panel .search-input-bar {
  width: 100%;
  margin: 0;
}

.search-input-bar input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: #fff;
  font-size: 20px;
}

.search-input-bar input::placeholder {
  color: #d8d8d8;
}

.search-input-bar .divider {
  width: 1px;
  height: 22px;
  background: rgba(255, 255, 255, .3);
  margin: 0 12px;
}

.search-input-bar button {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  padding: 0 5px 3px 0;
  cursor: pointer;
}

.search-input-bar button i img {
  max-width: 25px;
}

.result-summary {
  text-align: center;
  padding: 0 32px 15px;
}

.result-summary p {
  font-size: 21px;
  color: #4a4a4a;
  margin: 0;
  line-height: 1.6;
}

.no-result {
  text-align: center;
  padding: 64px 32px 96px;
}

.no-result p {
  font-size: 20px;
  color: #4a4a4a;
  margin: 0 0 4px;
  line-height: 1.6;
}

.result-list {
  padding: 0 18px;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid #eaeaea;
  cursor: pointer;
}

.result-item img {
  width: 40%;
  aspect-ratio: 4 / 3;
  flex: 0 0 150px;
  object-position: center;
  object-fit: cover;
  border-radius: 6px;
  background: #eee;
}

.result-item .cat {
  font-size: 15px;
  color: #4D4A4A;
  margin: 0 0 4px;
}

.result-item h4 {
  font-size: 16px;
  font-weight: 300;
  color: #4D4A4A;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 991.98px) {
  .mobile-menu-overlay.open~.follow-panel,
  .follow-panel {
    transform-origin: center center;
  }
}
.page-banner{
  position: relative;
    min-height: 500px;
    border-radius: 60px 60px 0 0;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: flex-end;
    padding: 0 56px 56px;
}
@media (max-width: 991px) {
    .page-banner {
        min-height: 280px;
        padding: 0px 28px 32px;
        border-radius: 40px 40px 0px 0px;
    }
}
@media (max-width: 575px) {
    .page-banner {
        min-height: 210px;
    }
}

.page-banner .page-title {
    position: relative;
    z-index: 1;
    font-size: 56px;
    font-weight: 800;
    color: #fff;
    margin: 0 0 1rem;
    text-shadow: 0 2px 12px rgba(0, 0, 0, .25);
}
@media (max-width: 991px) {
    .page-banner .page-title {
        font-size: 34px;
    }
}
.breadcrumb {
    position: absolute;
    top:0;
    background-color: transparent;
}
.breadcrumb li a {
    color: #fff;
    font-size: 0.8rem;
    text-decoration: none;
}
.breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
}
.breadcrumb li:before {
    padding-right: 0.15rem;
    color: #fff !important;
}
.footer-brand {
  text-align: center;
}

.footer-brand .brands {
  font-size: 16px;
  font-weight: 700;
  color: #555;
  margin-bottom: 10px;
}

.menu-footer-brand img,
.footer-brand .brands img {
  max-height: 20px;
}

.menu-footer-brand img:last-child,
.footer-brand .brands img:last-child {
  max-height: 32px;
}

.footer-brand .copyright {
  font-size: 12px;
  color: var(--grey-500);
}

@media (max-width:991px) {
  .nav-inner {
    padding: 10px 1.75rem;
  }
  .brand {
    padding: 16px 0;
    font-size: 19px;
  }
  .footer-brand {
    padding-top: 44px;
  }
  .footer-brand .brands {
    font-size: 13px;
    margin-bottom: 5px;
  }
  .footer-brand .copyright {
    font-size: 13px;
  }
  .footer-brand .brands img {
    max-height: 18px;
  }
  .footer-brand .brands img:last-child {
    max-height: 23px;
  }
}

@media (min-width:992px) {
  .mobile-menu-overlay {
    display: none !important;
  }
}


/* ==========================================================
   Footer
   （由 reference/css/home.css 抽出 footer 與 Follow 面板相關區塊）
========================================================== */

/* ==========================================================
   Footer
========================================================== */
.site-footer {
  padding: 80px 0.75rem 40px;
  position: relative;
  z-index: 30;
  background: #f1f1f1;
  border-radius: 0 0 40px 40px;
  margin-top: -40px;
}

.footer-inner {
  position: relative;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 180px);
  row-gap: 16px;
  column-gap: 60px;
  margin-bottom: 135px;
}

.footer-links a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: var(--nav-dark);
  text-decoration: none;
  padding-bottom: 8px;
  border-bottom: 1px solid #d8d8d8;
}

.footer-links a i {
  background-image: url(../img/gary-arrow.png);
  background-size: 100%;
  display: block;
  width: 9px;
  height: 20px;
  background-repeat: no-repeat;
}

.follow-fab {
  position: fixed;
  bottom: 240px;
  right: 40px;
  z-index: 1060;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--nav-dark);
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.4;
  transition: top .2s ease, right .2s ease, opacity .2s ease, transform .2s ease;
  background-size: 100%;
  background-repeat: no-repeat;
  cursor: pointer;
}

.follow-fab.hide-for-panel {
  opacity: 0;
  pointer-events: none;
}

/* docked class */
.follow-fab.docked {
  position: fixed;
  bottom: 160px;
  right: 40px;
  z-index: 1060;
}

@media (max-width: 991px) {
  .footer-links a:last-child {
    border-bottom: none;
  }
  .follow-fab.hide-for-panel {
    opacity: 1;
  }
}

/* ==========================================================
   Follow
========================================================== */
.follow-panel {
  position: fixed;
  z-index: 1061;
  background: rgba(77, 74, 74, 0.9);
  border-radius: 24px;
  padding: 30px 32px;
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-around;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-50%) scale(.6);
  transform-origin: right center;
  transition: opacity .25s ease, transform .25s ease, visibility .25s;
  pointer-events: none;
  min-width: 300px;
}

.follow-panel.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(-80%) scale(1);
  pointer-events: auto;
}

.follow-panel__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
}

.follow-panel__icon {
  width: 25px;
  height: 25px;
  border-radius: 10px;
  color: #4d4a49;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease;
}

.follow-panel__icon img {
  width: 100%;
  opacity: 0.9;
}

.follow-panel__item:hover .follow-panel__icon {
  transform: translateY(-4px);
}

.follow-panel__title,
.follow-panel__arrow,
.follow-panel__close {
  display: none;
}

@media (max-width: 991.98px) {
  .follow-panel {
    left: 20px !important;
    right: 20px !important;
    top: 50% !important;
    bottom: auto !important;
    width: auto;
    min-width: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 28px;
    padding: 32px 22px 100px;
    border-radius: 24px;
    transform: translateY(-50%) scale(.94) !important;
  }
  .mobile-menu-overlay.open~.follow-panel,
  .follow-panel {
    transform-origin: center center;
  }
  .follow-panel.open {
    transform: translateY(-57%) scale(1) !important;
  }
  .follow-panel__title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    font-size: 26px;
    font-weight: 300;
    margin: 0 0 8px;
    background-color: #4D4A4A;
    padding: 9px 0;
    border-radius: 10px;
  }
  .follow-panel__title i img {
    max-width: 21px;
    padding-bottom: 5px;
  }
  .follow-panel__item {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    background: #dde3ec;
    border-radius: 16px;
    padding: 30px 20px;
    color: var(--ink);
  }
  .follow-panel__icon {
    width: 35px;
    height: 35px;
    flex: 0 0 auto;
  }
  .follow-panel__label {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: .5px;
    opacity: 0.9;
  }
  .follow-panel__arrow {
    display: block;
  }
  .follow-panel__arrow img {
    display: block;
    max-width: 9px;
  }
  .follow-panel__item:hover .follow-panel__icon {
    transform: none;
  }
  .follow-panel__close {
    display: flex;
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    width: 38px;
    height: 38px;
    background: transparent;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    border: unset;
  }
  .follow-panel__close img {
    max-width: 40px;
  }
}

.footer-brand {
  text-align: center;
}

.footer-brand .brands {
  font-size: 16px;
  font-weight: 700;
  color: #555;
  margin-bottom: 10px;
}

.footer-brand .copyright {
  font-size: 12px;
  color: var(--grey-500);
}

@media (max-width:991px) {
  .site-footer {
    padding: 30px 0 28px;
    margin-top: -20px;
  }
  .footer-links {
    grid-template-columns: 1fr;
    row-gap: 0;
    margin-bottom: 40px;
  }
  .footer-links a {
    padding: 16px 2px;
    border-bottom: 1px solid #d8d8d8;
    font-size: 18px;
  }
  .follow-fab {
    right: 18px;
    bottom: 90px;
    width: 78px;
    height: 78px;
  }
  .footer-brand {
    padding-top: 44px;
  }
  .footer-brand .brands {
    font-size: 13px;
    margin-bottom: 5px;
  }
  .footer-brand .copyright {
    font-size: 13px;
  }
  .footer-brand .brands img {
    max-height: 18px;
  }
  .footer-brand .brands img:last-child {
    max-height: 23px;
  }
}


/* ==========================================================
   跨頁共用元件（區塊外框、標題、更多按鈕）
========================================================== */

.section {
  padding: 64px 0;
  border-radius: 60px 60px 0 0;
  position: relative;
}

.btn-explore,
.btn-outline-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 18px;
  font-weight: 300;
  text-decoration: none;
  border-radius: 8px;
  padding: 2px 10px;
}

.section-title {
  font-size: 48px;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: #4D4A4A;
}

.btn-outline-more {
  color: #4D4A4A;
  border: 1.5px solid #4D4A4A;
  transition: all 0.2s ease-in-out;
}

.btn-outline-more:hover {
  background: #4D4A4A;
  color: #fff;
  transition: all 0.2s ease-in-out;
}

.btn-outline-more i img {
  max-width: 8px;
  padding-bottom: 3px;
}

.btn-outline-more:hover i img {
  background-image: url(../img/more-arrow-white.png);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media (max-width:991px) {
  .section {
    padding: 28px 0.5rem 35px !important;
    border-radius: 30px 30px 0 0 !important;
  }
  .section-title {
    font-size: 30px;
    margin-bottom: 1.25rem;
  }
  .btn-outline-more {
    background: #4D4A4A;
    color: #fff;
    border: 1.5px solid #4D4A4A;
  }
  .btn-outline-more i img {
    background-image: url(../img/more-arrow-white.png);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    max-width: 7px;
  }
  .btn-explore,
  .btn-outline-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 17px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 10px;
    padding: 2px 10px;
  }
  .btn-explore {
    background: var(--nav-dark);
    color: #fff;
  }
}
.privacy-div {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  transform: scale(0);
  transition: all 0.3s;
  opacity: 0;
  z-index: 100;
}
.privacy-div.show {
  display: block;
  transform: scale(1);
  opacity: 1;
}
.privacy-div .privacy-btn {
    background-color: #1C355E;
    color: #fff;
}
.privacy-div .privacy-btn:hover {
    background-color: #112649;
    border-color: #1c355e;
}
@media (min-width: 1200px) {
  .privacy-div .container {
    max-width: 1440px;
  }
}
.editor-content img{
  max-width: 100%;
}