/*!
Theme Name: design_hu 2025
Theme URI: https://www.design-hu.com/
Author: design_hu by Peter Chen
Author URI: https://www.design-hu.com/
Description: Description
Version: 1.0.0
Tested up to: 6.0
Requires PHP: 8.0
*/

/* ================================================================= */

/* header 導航列 */
#menu-header-nav,
#menu-header-nav-en {
  display: flex;
  gap: 24px;
}

/* 首頁 banner 輪播圖 swiper */
.autoplay-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 8px;
  background: rgba(255, 255, 255, 0.25);
  z-index: 10;
  /* overflow: hidden; */
}

.autoplay-progress .bar {
  width: 100%;
  height: 100%;
  background: #fff;
  transform-origin: left;
  transform: scaleX(0);
}

/* 首頁 產品列 左右箭頭 */
.swiper-button-disabled {
  pointer-events: none !important;
  opacity: 0.3 !important;
}

/* app & product single頁 swiper */
.custom-btn {
  background: transparent !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  display: none !important; /* 移除預設箭頭 */
}

.mySwiper .swiper-slide-thumb-active {
  border: 1px solid #15b2c0 !important;
}

/* 語言切換容器 */
/* 下拉預設隱藏 */
.language-switcher .lang-dropdown {
  position: absolute;
  left: -40px;
  top: calc(100% + 8px);
  min-width: 120px;
  background: #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.15s ease,
    transform 0.15s ease,
    visibility 0.15s ease;
  z-index: 50;
}

/* hover / focus 顯示 */
.language-switcher:hover .lang-dropdown,
.language-switcher:focus-within .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* 語言切換容器 end */

/* 隱私權政策 */
.privacy-policy {
  position: relative;
  z-index: 50;
}

.entry-content {
  padding: 120px 80px 80px 80px; /* 上右下左 */
}

/* 在 header 外製造背景 */
.privacy-policy .site-header::before,
.page-slug-privacy-policy .site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  height: 96px; /* h-24 */
  background: linear-gradient(
      0deg,
      rgba(0, 0, 0, 0.2) 0%,
      rgba(0, 0, 0, 0.2) 100%
    ),
    var(--Primary-01, #0551a3);
  z-index: 0;
}

/* --- 匯集頁 pagination 樣式 ---  */
.page-numbers {
  width: 48px;
  height: 48px;

  text-align: center;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  border: 0.5px solid #0551a3; /* primary1 */
  border-radius: 100px;
  color: #0551a3;
  font-family: Chakra Petch;
  line-height: 120%;
  font-weight: 500;
}
/* 當前頁 */
.page-numbers.current {
  background-color: #0551a3; /* primary1 */
  color: #ffffff;
  box-shadow: 2px 8px 10px 0 rgba(0, 0, 0, 0.05);
  font-weight: 600;
}
.prev,
.next {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background-color: #0551a31a;
  border-radius: 100px;
  border: none;
  padding: 12px;
}

.hu-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.hu-pagination .page-numbers.disabled {
  pointer-events: none;
  background-color: #0551a31a;
  opacity: 0.6;
  border: none;
}
/* --- 匯集頁 pagination 樣式 end --- */

/* Contact Us input */
input::placeholder {
  color: #9ca3af; /* gray-400 */
}
