/* ==========================================================================
   1. 基礎重置、設計變數 (Design Tokens) 與全站排版
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+TC:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;1,400&display=swap');
@import url('https://fonts.googleapis.com/css2?family=LXGW+WenKai+TC:wght@300;400;700&display=swap');

:root {
  /* 品牌核心色彩 */
  --primary-color: #7f5539;
  --primary-hover: #9c6644;
  --primary-light: #faf7f2;
  --accent-color: #b07d62;
  --dark-accent: #382923;
  --btn-dark: #5a4a42;
  --btn-dark-hover: #3f332c;

  /* 文字色彩 */
  --text-main: #444444;
  --text-muted: #666666;
  --text-sub: #777777;
  --text-light: #9c8a7c;

  /* 背景與邊框 */
  --bg-body: #ffffff;
  --bg-alt: #fdfbf7;
  --bg-warm: #f7f4ee;
  --bg-hero: #e8ded2;
  --border-light: #eee8df;
  --border-card: rgba(0, 0, 0, 0.04);
  --footer-bg: #262422;

  /* 字體族系 */
  --font-base: 'LXGW WenKai TC', "Noto Serif TC", "Songti TC", serif;
  --font-en: "Playfair Display", "Noto Serif TC", serif;
}

/* SEO / 無障礙專用隱藏樣式 */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
}

body {
  font-family: var(--font-base);
  color: var(--text-main);
  background-color: var(--bg-body);
  line-height: 1.75;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-base);
  color: var(--text-main);
  letter-spacing: 0.8px;
}

.sub-title, .cart-header h3, .product-detail-price {
  font-family: var(--font-en);
  letter-spacing: 0.8px;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.sub-title {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 2px;
  color: var(--accent-color);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.section-header h1,
.section-header h2 {
  font-size: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
}

/* ★ 跨裝置文字響應式斷行控制：電腦版啟用 pc-br、隱藏 mob-br */
.mob-br {
  display: none !important;
}
.pc-br {
  display: inline !important;
}

/* ==========================================================================
   2. 頂部導覽列 (Navbar)
   ========================================================================== */
.navbar {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.4rem 1.5rem 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  position: relative;
}

/* 電腦版隱藏、手機版才會顯現 */
.mobile-menu-btn {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  z-index: 10;
}

.hamburger-line {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
}

.logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: var(--text-main);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.logo-img {
  width: auto;
  height: 53px;
  max-width: 185px;
  object-fit: contain;
  display: block;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2.8rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 2px;
  position: relative;
  padding: 0.3rem 0;
  display: inline-block;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
  transform: scale(1.08);
}

.nav-links a.active {
  color: var(--primary-color);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 18px;
  height: 2px;
  background-color: var(--primary-color);
  border-radius: 2px;
}

/* 導覽列操作組 (搜尋、購物車) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.nav-icon-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.3rem;
  transition: color 0.25s ease, transform 0.25s ease;
}

.nav-icon-btn:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

/* 手機版抽屜在電腦版隱藏 */
.mobile-menu-overlay,
.mobile-menu-drawer {
  display: none;
}

/* ==========================================================================
   3. 主視覺相框式輪播 (Hero Slider)
   ========================================================================== */
.hero-slider-section {
  padding: 3.5rem 0 4.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: var(--bg-hero);
  overflow: hidden;
}

.slider-container {
  position: relative;
  width: 55%;
  max-width: 860px;
  min-width: 320px;
  aspect-ratio: 4 / 3;
  overflow: visible;
  perspective: 1000px;
  touch-action: pan-y;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: scale(0.75);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.6s ease, filter 0.6s ease;
  z-index: 1;
  pointer-events: none;
}

.slide.active {
  opacity: 1;
  visibility: visible;
  transform: translateX(0) scale(1);
  z-index: 5;
  pointer-events: auto;
  filter: brightness(1);
}

.slide.prev,
.slide.next {
  opacity: 0.6;
  visibility: visible;
  transform: translateX(-20%) scale(0.9);
  z-index: 3;
  filter: brightness(0.85);
}

.slide.next {
  transform: translateX(20%) scale(0.9);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  color: #ffffff;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 10;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.slider-arrow:hover {
  opacity: 0.75;
  transform: translateY(-50%) scale(1.08);
}

.prev-btn { left: -25px; }
.next-btn { right: -25px; }

.slider-dots {
  position: absolute;
  bottom: -2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.7rem;
  z-index: 10;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(127, 85, 57, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: var(--primary-color);
  transform: scale(1.25);
}

/* ==========================================================================
   4. 品牌理念簡介 (About)
   ========================================================================== */
.about-section {
  background-color: var(--bg-body);
}

.about-grid {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-text {
  max-width: 760px;
  text-align: center;
  margin: 0 auto;
}

.about-text h2 {
  font-size: 2.2rem;
  line-height: 1.4;
  margin-bottom: 1.8rem;
  letter-spacing: 1.5px;
}

.about-text p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.mobile-break { display: none; }
.desktop-comma { display: inline; }

/* ==========================================================================
   5. 精選商品展示區 (Works / Featured Products)
   ========================================================================== */
.works-section {
  background-color: var(--bg-alt);
}

.works-slider-wrapper {
  position: relative;
}

.works-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.works-grid .card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.works-grid .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.works-grid .card-img-box {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background-color: #f5efe8;
}

.works-grid .card-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.works-grid .card:hover .card-img-box img {
  transform: scale(1.05);
}

.works-grid .card-info {
  padding: 1.5rem 1.2rem;
  text-align: center;
}

.works-grid .card-info h3 {
  font-size: 1.15rem;
  color: var(--dark-accent);
  margin-bottom: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.03em;
}

.works-grid .card-info p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 auto;
  max-width: 240px;
}

.works-swipe-hint {
  display: none;
}

/* ==========================================================================
   6. 訂購流程區 (Process)
   ========================================================================== */
.process-section {
  background-color: var(--bg-warm);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.2rem;
  align-items: stretch;
}

.step-card {
  background: #ffffff;
  padding: 2.5rem 1.4rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

.step-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  letter-spacing: 1px;
}

.step-card p {
  font-size: 0.88rem;
  color: var(--text-sub);
  line-height: 1.7;
}

.step-card:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -1.1rem;
  top: 50%;
  transform: translate(50%, -50%);
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--accent-color);
  pointer-events: none;
}

.process-cta {
  text-align: center;
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}

.btn-primary {
  display: inline-block;
  padding: 0.85rem 2.2rem;
  background-color: var(--btn-dark);
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid var(--btn-dark);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.btn-primary:hover {
  background-color: var(--btn-dark-hover);
  border-color: var(--btn-dark-hover);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* ==========================================================================
   7. 聯絡我們頁面 (Contact Page)
   ========================================================================== */
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 4rem;
  align-items: start;
}

.info-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1.5rem 0.8rem;
  transition: transform 0.25s ease;
}

.info-card:hover {
  transform: translateY(-4px);
}

.info-icon {
  color: var(--accent-color);
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.info-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  letter-spacing: 1px;
}

.info-card p {
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 0.4rem;
}

.info-note {
  font-size: 0.8rem;
  color: var(--text-light);
  line-height: 1.5;
}

.contact-social-links {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.3rem;
  width: 100%;
  max-width: 175px;
}

.contact-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.45rem 0.8rem;
  font-size: 0.82rem;
  color: var(--primary-color);
  text-decoration: none;
  border: 1px solid rgba(127, 85, 57, 0.35);
  border-radius: 20px;
  background-color: var(--primary-light);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.contact-social-btn svg {
  flex-shrink: 0;
}

.contact-social-btn:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(127, 85, 57, 0.15);
}

.map-wrapper-center {
  max-width: 1000px;
  height: 520px;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.06);
}

.map-wrapper-center iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}

.traffic-guide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
  margin-bottom: 3.5rem;
}

.traffic-card {
  background: #ffffff;
  padding: 1.6rem 1.8rem;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.03);
  display: flex;
  align-items: flex-start;
  gap: 1.2rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.traffic-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.traffic-icon {
  color: var(--accent-color);
  flex-shrink: 0;
  margin-top: 0.15rem;
}

.traffic-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.45rem;
  letter-spacing: 0.05em;
}

.traffic-text p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

.traffic-text strong {
  color: #333333;
  font-weight: 600;
}

/* ==========================================================================
   8. 線上購買商店頁 (Shop Page)
   ========================================================================== */
.shop-page {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.shop-layout {
  display: flex;
  gap: 3.5rem;
  align-items: flex-start;
  margin-top: 1rem;
}

.shop-sidebar {
  width: 230px;
  flex-shrink: 0;
  position: sticky;
  top: 110px;
}

.mobile-sub-bar {
  display: none;
}

.sidebar-title {
  font-size: 1.15rem;
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 2px solid var(--bg-hero);
  letter-spacing: 1px;
  font-weight: 600;
}

.category-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.category-group-header,
.category-all-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.9rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all 0.25s ease;
  user-select: none;
}

.category-group-header:hover,
.category-all-btn:hover {
  background-color: #f5efe6;
  color: var(--primary-color);
}

.category-arrow {
  font-size: 0.75rem;
  color: #8c7365;
  transition: transform 0.3s ease;
}

.category-group.open .category-arrow {
  transform: rotate(90deg);
}

.subcategory-list {
  list-style: none;
  padding: 0 0 0 1.2rem;
  margin: 0.2rem 0 0.4rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.35s ease, opacity 0.3s ease;
}

.category-group.open .subcategory-list {
  max-height: 380px;
  opacity: 1;
}

.subcategory-item {
  padding: 0.45rem 0.8rem;
  font-size: 0.88rem;
  color: #665b53;
  cursor: pointer;
  border-radius: 4px;
  border-left: 2px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.subcategory-item:hover {
  color: var(--primary-color);
  background-color: #faf6f0;
  border-left-color: #c4a482;
}

.category-all-btn.active,
.category-group-header.active {
  background-color: #ede2d5;
  color: var(--primary-color);
}

.subcategory-item.active {
  color: var(--primary-color);
  font-weight: 700;
  border-left-color: var(--primary-color);
  background-color: #f7f1ea;
}

.shop-content {
  flex-grow: 1;
  min-width: 0;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.product-card {
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--border-card);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-img-box {
  position: relative;
  width: 100%;
  padding-top: 115%;
  overflow: hidden;
  background-color: #f0ebe3;
}

.product-slider-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.45s ease, transform 0.5s ease;
  pointer-events: none;
}

.product-slider-img.active {
  opacity: 1;
  pointer-events: auto;
}

.product-card:hover .product-slider-img.active {
  transform: scale(1.05);
}

.product-card-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-card-dots {
  opacity: 1;
}

.product-card-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
  transition: background-color 0.25s ease, transform 0.25s ease;
}

.product-card-dot.active {
  background-color: #ffffff;
  transform: scale(1.25);
}

.product-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: rgba(127, 85, 57, 0.9);
  color: #ffffff;
  font-size: 0.72rem;
  padding: 0.25rem 0.65rem;
  border-radius: 3px;
  letter-spacing: 1px;
  z-index: 6;
  font-weight: 500;
}

.product-details {
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.05rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.4;
}

.product-desc {
  font-size: 0.85rem;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 1.2rem;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.8rem;
  border-top: 1px solid #f2ede4;
}

.product-price {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.5px;
}

.btn-order {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.4rem 0.9rem;
  font-size: 0.82rem;
  border-radius: 20px;
  transition: all 0.25s ease;
  font-weight: 500;
}

.product-card:hover .btn-order {
  background-color: var(--primary-color);
  color: #ffffff;
}

/* ==========================================================================
   9. 獨立商品詳情頁 (Product Detail Page)
   ========================================================================== */
.breadcrumb {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 2rem;
}

.breadcrumb a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.product-detail-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.product-gallery {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* ★ 大圖外框：支援原始比例自適應、放大鏡游標 */
.product-detail-img-box {
  width: 100%;
  max-height: 580px;
  background-color: #faf8f5;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: zoom-in;
  position: relative;
}

/* ★ 大圖影像：原比例 contain 不裁切、維持高解析度銳利度 */
.product-detail-img-box img {
  width: 100%;
  height: 100%;
  max-height: 580px;
  object-fit: contain;
  display: block;
  transition: opacity 0.25s ease, transform 0.3s ease;
  image-rendering: -webkit-optimize-contrast;
}

.product-detail-img-box:hover img {
  transform: scale(1.02);
}

.product-thumbnails {
  display: flex;
  gap: 0.8rem;
  overflow-x: auto;
  padding-bottom: 4px;
}

.thumb-item {
  width: 80px;
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  background-color: #f0ebe3;
  flex-shrink: 0;
  opacity: 0.65;
  transition: opacity 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}

.thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-item:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.thumb-item.active {
  opacity: 1;
  border-color: var(--primary-color);
}

.product-detail-content {
  display: flex;
  flex-direction: column;
}

.product-detail-title {
  font-size: 1.8rem;
  margin: 0.5rem 0 1rem;
  line-height: 1.3;
}

.product-detail-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.product-detail-desc {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid #eae5de;
}

.order-notice {
  background-color: var(--bg-warm);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2.2rem;
}

.order-notice h4 {
  font-size: 0.95rem;
  margin-bottom: 0.8rem;
}

.order-notice ul {
  padding-left: 1.2rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
}

.product-options-box {
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  padding: 1.2rem 0;
  border-top: 1px solid #eee8e2;
  border-bottom: 1px solid #eee8e2;
}

.option-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.option-field label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #555;
  letter-spacing: 0.5px;
}

.custom-select {
  width: 100%;
  max-width: 320px;
  padding: 0.65rem 1rem;
  font-size: 0.92rem;
  color: var(--text-main);
  background-color: #faf9f7;
  border: 1px solid #ded8ce;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: inherit;
}

.custom-select:focus {
  border-color: #a38c7b;
  box-shadow: 0 0 0 2px rgba(163, 140, 123, 0.15);
}

.product-action-box {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-buy-primary {
  display: inline-block;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  cursor: pointer;
  padding: 0.9rem 2rem;
  border-radius: 30px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(127, 85, 57, 0.25);
}

.btn-buy-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(127, 85, 57, 0.35);
}

.btn-back-shop {
  display: inline-block;
  color: var(--primary-color);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 0.9rem 1.5rem;
  transition: color 0.2s ease;
}

.btn-back-shop:hover {
  text-decoration: underline;
}

/* ★ 全螢幕圖片放大燈箱 (Lightbox) 樣式 */
.image-lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  cursor: zoom-out;
  padding: 1.5rem;
}

.image-lightbox-overlay.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-img-wrapper {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  max-height: 90dvh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 90vh;
  max-height: 90dvh;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  transform: scale(0.95);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  image-rendering: -webkit-optimize-contrast;
}

.image-lightbox-overlay.open .lightbox-img-wrapper img {
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 5001;
}

.lightbox-close-btn:hover {
  opacity: 1;
  transform: scale(1.1);
}

/* ==========================================================================
   10. 頁尾 (Footer)
   ========================================================================== */
.site-footer {
  background-color: var(--footer-bg);
  color: #b0a9a2;
  padding: 4.5rem 0 4rem;
  margin-top: 5rem;
}

.footer-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.footer-col h4 {
  color: #fdfbf7;
  font-size: 1.05rem;
  letter-spacing: 1.5px;
  margin-bottom: 1.4rem;
  font-weight: 600;
}

.footer-col p {
  font-size: 0.9rem;
  line-height: 1.8;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.7rem;
}

.footer-links a,
.care-modal-btn {
  color: #b0a9a2;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.care-modal-btn {
  background: transparent;
  border: none;
  padding: 0;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  display: inline-block;
  -webkit-tap-highlight-color: transparent;
}

.footer-links a:hover,
.care-modal-btn:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: #b0a9a2;
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-link svg {
  flex-shrink: 0;
}

.social-link:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-bottom {
  width: 100%;
  margin-top: 3.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #77726d;
  letter-spacing: 0.8px;
  line-height: 1.6;
}

/* ==========================================================================
   11. 購物車抽屜 (Cart Drawer)
   ========================================================================== */
.cart-nav-btn {
  position: relative;
}

.cart-badge {
  position: absolute;
  top: -4px;
  right: -6px;
  background-color: var(--accent-color);
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.cart-overlay.open {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -420px;
  width: 380px;
  max-width: 90vw;
  height: 100vh;
  height: 100dvh;
  background-color: var(--bg-alt);
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
  z-index: 2001;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-drawer.open {
  right: 0;
}

.cart-header {
  padding: 1.5rem 1.8rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-light);
}

.cart-header h3 {
  font-size: 1.05rem;
  letter-spacing: 2px;
  margin: 0;
}

.cart-close-btn {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: #888;
  cursor: pointer;
  line-height: 1;
}

.cart-close-btn:hover {
  color: var(--text-main);
}

.cart-items-container {
  flex: 1;
  overflow-y: auto;
  padding: 1.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.cart-empty-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  color: #888;
  gap: 1.2rem;
}

.btn-go-shop {
  color: var(--primary-color);
  border: 1px solid var(--primary-color);
  padding: 0.5rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s ease;
}

.btn-go-shop:hover {
  background: var(--primary-color);
  color: #ffffff;
}

.cart-item-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: 1.2rem;
  border-bottom: 1px solid #f2ede4;
}

.cart-item-img {
  width: 65px;
  height: 65px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-hero);
}

.cart-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
  font-weight: 600;
}

.cart-item-price {
  font-size: 0.85rem;
  color: var(--primary-color);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cart-qty-ctrl {
  display: inline-flex;
  align-items: center;
  border: 1px solid #ded5c9;
  border-radius: 4px;
  background: #ffffff;
}

.cart-qty-ctrl button {
  background: transparent;
  border: none;
  width: 24px;
  height: 24px;
  cursor: pointer;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.cart-qty-ctrl span {
  padding: 0 0.5rem;
  font-size: 0.8rem;
}

.cart-item-del {
  background: transparent;
  border: none;
  font-size: 1.4rem;
  color: #aaa;
  cursor: pointer;
}

.cart-item-del:hover {
  color: var(--accent-color);
}

.cart-footer {
  padding: 1.5rem 1.8rem;
  border-top: 1px solid var(--border-light);
  background-color: var(--primary-light);
}

.cart-subtotal {
  display: flex;
  justify-content: space-between;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.cart-shipping-note {
  font-size: 0.78rem;
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

.btn-checkout-primary {
  width: 100%;
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 0.9rem 0;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.btn-checkout-primary:hover {
  background-color: var(--primary-hover);
}

/* ==========================================================================
   12. 顧客須知彈窗 (Care Modal)
   ========================================================================== */
.care-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 1.5rem;
}

.care-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.care-modal-box {
  background-color: var(--bg-alt);
  width: 100%;
  max-width: 520px;
  max-height: 85vh;
  max-height: 85dvh;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.care-modal-overlay.open .care-modal-box {
  transform: translateY(0);
}

.care-modal-header {
  padding: 1.2rem 1.6rem;
  border-bottom: 1px solid #eee5da;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.care-modal-header h3 {
  font-size: 1.15rem;
  margin: 0;
}

.care-modal-close {
  background: transparent;
  border: none;
  font-size: 2rem;
  color: #888;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.5rem;
}

.care-modal-body {
  padding: 1.6rem;
  overflow-y: auto;
  color: #555;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ==========================================================================
   13. 品牌故事頁面 (About Page - 不裁切、自然完整呈現原始比例)
   ========================================================================== */
.about-page {
  background-color: #faf9f6;
}

.about-hero {
  padding: 4.5rem 1.5rem 3rem;
  text-align: center;
  background: #ffffff;
  border-bottom: 1px solid #f0ede6;
}

.about-hero .page-title {
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 1.5px;
  margin: 0 0 1rem;
}

.about-hero .title-divider {
  width: 45px;
  height: 2px;
  background-color: #8c7362;
  margin: 0 auto 1.5rem;
}

.about-hero .hero-quote {
  font-size: 1.05rem;
  font-style: italic;
  color: #6a645e;
  max-width: 600px;
  margin: 0 auto;
}

.timeline-section {
  padding: 4.5rem 1.5rem;
}

.timeline-container {
  max-width: 1080px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 4rem;
}

.timeline-row {
  display: flex;
  align-items: center;
  gap: 3.5rem;
}

.timeline-row.reverse {
  flex-direction: row-reverse;
}

/* ★ 圖片容器：自適應長寬比，不強制裁切 */
.timeline-img-box {
  flex: 1;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ★ 圖片本體：高度自動依原圖比例展開，以 contain 完整保留細節 */
.timeline-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: contain;
  display: block;
  border-radius: 10px;
  transition: transform 0.4s ease;
  image-rendering: -webkit-optimize-contrast;
}

.timeline-img-box:hover .timeline-img {
  transform: scale(1.02);
}

.timeline-content {
  flex: 1;
  padding: 1rem 0;
  text-align: center;
}

.timeline-content .step-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 1.5px;
  color: #8c7362;
  background: #f1ebe5;
  padding: 0.3rem 0.75rem;
  border-radius: 20px;
  margin-bottom: 1rem;
  font-weight: 600;
}

.timeline-content .step-title {
  font-size: 1.45rem;
  font-weight: 600;
  margin-bottom: 1.2rem;
  line-height: 1.4;
}

/* ★ 故事內文排版升級：電腦版舒緩排版、舒適行距 */
.timeline-content .step-desc {
  font-size: 0.95rem;
  line-height: 2;
  color: #554e48;
  text-align: center;
  max-width: 520px;
  margin: 0 auto;
  word-break: normal;
  overflow-wrap: break-word;
  white-space: normal;
}

.about-features {
  background: #ffffff;
  padding: 4.5rem 1.5rem;
  border-top: 1px solid #f0ede6;
  border-bottom: 1px solid #f0ede6;
}

.features-container {
  max-width: 1080px;
  margin: 0 auto;
  text-align: center;
}

.features-heading {
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 2.8rem;
  letter-spacing: 1.5px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  padding: 2.2rem 1.8rem;
  background: #faf9f6;
  border-radius: 8px;
  border: 1px solid #eeebe3;
  transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  cursor: default;
}

.feature-card:hover {
  transform: translateY(-6px) scale(1.04);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
  border-color: #d8cfc4;
}

.feature-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.8rem;
  position: relative;
  padding-bottom: 0.6rem;
}

.feature-card h4::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2px;
  background-color: #8c7362;
  border-radius: 1px;
}

.feature-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: #6a645e;
}

.about-cta {
  padding: 4.5rem 1.5rem;
  text-align: center;
  background: #f7f3ee;
}

.about-cta h3 {
  font-size: 1.6rem;
  margin-bottom: 0.6rem;
}

.about-cta p {
  color: #6a645e;
  margin-bottom: 2rem;
  font-size: 0.95rem;
}

.cta-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.btn-cta-primary,
.btn-cta-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  height: 46px;
  padding: 0 1.5rem;
  border-radius: 4px;
  font-size: 0.92rem;
  letter-spacing: 0.5px;
  text-decoration: none;
  text-align: center;
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--text-main);
  transition: all 0.25s ease;
}

.btn-cta-primary:hover,
.btn-cta-outline:hover {
  background-color: var(--text-main);
  color: #ffffff;
}

/* ==========================================================================
   14. 課程資訊頁樣式 (Course Page)
   ========================================================================== */
.course-slider-wrapper {
  position: relative;
  margin-bottom: 4rem;
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.course-card {
  background: #ffffff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  border: 1px solid var(--border-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.course-img-box {
  width: 100%;
  height: 240px;
  overflow: hidden;
  background-color: #f0ebe3;
}

.course-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.course-card:hover .course-img-box img {
  transform: scale(1.05);
}

.course-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.course-badge {
  align-self: flex-start;
  font-size: 0.75rem;
  color: var(--accent-color);
  background-color: #f7f1ea;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.course-title {
  font-size: 1.25rem;
  color: var(--dark-accent);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.course-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.course-meta {
  list-style: none;
  margin: 0 0 1.5rem 0;
  border-top: 1px solid #f2ede4;
  padding-top: 1rem;
  font-size: 0.85rem;
  color: var(--text-sub);
}

.course-meta li {
  margin-bottom: 0.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.course-price {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary-color);
}

.course-action-box {
  text-align: center;
  background-color: var(--bg-warm);
  padding: 3rem 2rem;
  border-radius: 12px;
}

.course-action-box h3 {
  font-size: 1.4rem;
  color: var(--dark-accent);
  margin-bottom: 0.8rem;
}

.course-action-box p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.course-swipe-hint {
  display: none;
}

/* ==========================================================================
   15. 全站搜尋彈窗浮層 (Global Search Modal - 桌機版)
   ========================================================================== */
.search-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 3000;
  opacity: 0;
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 6rem 1.5rem 2rem;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.search-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.search-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 680px;
  max-height: 80vh;
  max-height: 80dvh;
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(-20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.search-modal-overlay.open .search-modal-box {
  transform: translateY(0);
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  padding: 1.2rem 1.5rem;
  border-bottom: 1px solid var(--border-light);
  gap: 0.8rem;
}

.search-box-icon {
  color: #a38c7b;
  flex-shrink: 0;
}

.search-input-wrapper input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  font-family: inherit;
  font-size: 1rem;
  color: var(--text-main);
  background: transparent;
}

.search-input-wrapper input::placeholder {
  color: #a89f97;
  font-size: 0.9rem;
}

.search-modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: #888;
  cursor: pointer;
  line-height: 1;
  padding: 0 0.4rem;
  flex-shrink: 0;
  transition: color 0.2s ease;
}

.search-modal-close:hover {
  color: var(--text-main);
}

.search-results-wrapper {
  padding: 1rem 1.2rem;
  overflow-y: auto;
  max-height: calc(80vh - 80px);
  max-height: calc(80dvh - 80px);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  -webkit-overflow-scrolling: touch;
}

.search-hint-text {
  text-align: center;
  color: #8c827a;
  padding: 2rem 1rem;
  font-size: 0.88rem;
  line-height: 1.6;
}

.search-result-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.7rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.2s ease;
}

.search-result-item:hover {
  background-color: var(--primary-light);
}

.search-result-img {
  width: 55px;
  height: 55px;
  border-radius: 6px;
  overflow: hidden;
  background-color: #f0ebe3;
  flex-shrink: 0;
}

.search-result-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.search-result-info {
  flex: 1;
  min-width: 0;
}

.search-result-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-info p {
  font-size: 0.8rem;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

.search-result-price {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-color);
  white-space: nowrap;
  flex-shrink: 0;
}

/* ==========================================================================
   16. 平板適配 (max-width: 992px)
   ========================================================================== */
@media (max-width: 992px) {
  .slider-container {
    width: 80%;
  }

  .contact-info-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .map-wrapper-center {
    height: 420px;
  }

  .shop-page {
    padding-left: 1.2rem;
    padding-right: 1.2rem;
  }

  .shop-layout {
    flex-direction: column;
    gap: 1.8rem;
  }

  .shop-sidebar {
    width: 100%;
    position: static;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.8rem;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 1.8rem;
  }

  .step-card:not(:last-child)::after {
    display: none;
  }

  .course-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

/* ==========================================================================
   17. 手機版統一整合適配 (max-width: 768px)
   ========================================================================== */
@media (max-width: 768px) {
  /* ★ 響應式斷行切換：手機版啟用 mob-br、隱藏 pc-br */
  .mob-br {
    display: inline !important;
  }
  .pc-br {
    display: none !important;
  }

  /* 頂部導覽列：右上角定位圖示，文字選單均勻展開 */
  .nav-container {
    position: relative;
    padding: 1rem 1rem 0.6rem;
    gap: 0.7rem;
    align-items: center;
  }
  
  .logo-img { 
    height: 42px; 
  }

  .nav-actions {
    position: absolute;
    top: 1rem;
    right: 1.2rem;
    gap: 0.6rem;
    z-index: 10;
  }

  .nav-links {
    width: 100%;
    display: flex;
    justify-content: space-around;
    align-items: center;
    gap: 0.2rem;
    padding: 0 0.2rem;
  }

  .nav-links a {
    font-size: 0.85rem;
    letter-spacing: 0.8px;
    white-space: nowrap;
    padding: 0.2rem 0.15rem;
  }

  .nav-links a.active::after {
    bottom: -3px;
    width: 16px;
  }

  /* 輪播區塊 */
  .hero-slider-section {
    padding: 0 0 1.2rem 0;
    background-color: transparent;
  }

  .slider-container {
    width: 100vw;
    max-width: 100vw;
    aspect-ratio: 4 / 3;
    height: auto;
    margin: 0;
    border-radius: 0;
    overflow: hidden;
  }

  .slide {
    border-radius: 0;
    box-shadow: none;
  }

  .slide.prev,
  .slide.next {
    display: none;
    opacity: 0;
    visibility: hidden;
    transform: none;
  }

  .slider-arrow {
    width: 36px;
    height: 36px;
    font-size: 1.6rem;
    background: transparent;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
  }

  .prev-btn { left: 10px; }
  .next-btn { right: 10px; }
  .slider-dots { bottom: -1.6rem; }

  /* 品牌理念區純文字 */
  .about-section {
    padding: 2.2rem 0 2rem 0;
  }

  .about-text h2 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.5;
  }

  .about-text p {
    font-size: 0.9rem;
    line-height: 1.75;
    margin-bottom: 0.8rem;
  }

  .mobile-break { display: block; }
  .desktop-comma { display: none; }

  /* 精選商品卡片與滑動橫條 */
  .works-section {
    padding-top: 2rem;
    padding-bottom: 2rem;
  }

  .works-section .section-header {
    margin-bottom: 1.6rem;
  }

  .works-slider-wrapper {
    margin-left: -1rem;
    margin-right: -1rem;
    margin-bottom: 0.5rem;
  }

  .works-grid,
  .course-grid {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1.2rem;
    padding: 0.5rem 1.2rem 1.2rem 1.2rem;
    scrollbar-width: none;
  }

  .works-grid::-webkit-scrollbar,
  .course-grid::-webkit-scrollbar {
    display: none;
  }

  .works-grid .card,
  .course-card {
    flex: 0 0 82%;
    max-width: 320px;
    width: 82%;
    scroll-snap-align: center;
  }

  .works-swipe-hint,
  .course-swipe-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-top: 0.4rem;
  }

  .works-swipe-hint .hint-arrow,
  .course-swipe-hint .hint-arrow {
    color: var(--accent-color);
    font-size: 1.4rem;
    line-height: 1;
    opacity: 0.75;
    cursor: pointer;
    user-select: none;
    padding: 4px 6px;
  }

  .works-swipe-hint .hint-bars,
  .course-swipe-hint .hint-bars {
    display: flex;
    align-items: center;
    gap: 6px;
  }

  .works-swipe-hint .hint-bar,
  .course-swipe-hint .hint-bar {
    display: inline-block;
    width: 16px;
    height: 2.5px;
    background-color: var(--accent-color);
    border-radius: 2px;
    opacity: 0.25;
    transition: all 0.3s ease;
  }

  .works-swipe-hint .hint-bar.active,
  .course-swipe-hint .hint-bar.active {
    width: 32px;
    height: 3.5px;
    opacity: 1;
    background-color: var(--primary-color);
  }

  /* 訂購流程步驟 (改垂直下箭頭) */
  .process-section {
    padding: 2.2rem 0 2rem 0;
  }

  .process-section .section-header {
    margin-bottom: 1.8rem;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .step-card {
    padding: 1.4rem 1.2rem;
  }

  .step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
  }

  .step-card p {
    font-size: 0.86rem;
    line-height: 1.6;
  }

  .step-card:not(:last-child)::after {
    display: block;
    content: "↓";
    left: 50%;
    right: auto;
    top: auto;
    bottom: -1.6rem;
    transform: translateX(-50%);
    font-size: 1.2rem;
    line-height: 1;
  }

  /* 聯絡地圖與資訊 */
  .contact-info-grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-bottom: 2.5rem;
  }

  .map-wrapper-center {
    height: 340px;
  }

  .traffic-guide {
    grid-template-columns: 1fr;
    gap: 1.2rem;
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
  }

  .traffic-card {
    padding: 1.4rem;
  }

  /* ==========================================================================
     商店頁手機版：極簡雙欄質感排版 (SUCCULAND 風格)
     ========================================================================== */
  .shop-page {
    padding-top: 1.2rem;
  }

  .shop-page .section-header {
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .shop-page .section-header h1,
  .shop-page .section-header h2 {
    font-size: 1.35rem;
    letter-spacing: 2px;
  }

  .shop-layout { 
    display: block; 
    width: 100%; 
    margin-top: 0;
  }

  .shop-sidebar { 
    width: 100%; 
    position: static; 
    margin-bottom: 1.5rem;
    clear: both; 
  }

  .sidebar-title { display: none; }
  
  .category-menu {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    gap: 0.6rem;
    padding: 0.2rem 0.2rem 0.6rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    width: 100%;
  }

  .category-menu::-webkit-scrollbar { display: none; }
  .category-all-btn, .category-group { flex-shrink: 0; }
  
  .category-all-btn, .category-group-header {
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    background-color: #f7f5f2;
    font-size: 0.82rem;
    color: var(--text-main);
    border: 1px solid #ebe5dc;
  }

  .category-arrow, .subcategory-list { display: none; }
  
  .mobile-sub-bar {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    white-space: nowrap;
    gap: 0.5rem;
    padding: 0.3rem 0 0.8rem;
    scrollbar-width: none;
  }

  .mobile-sub-bar:empty { display: none; }
  .mobile-sub-bar::-webkit-scrollbar { display: none; }
  
  .mobile-sub-item {
    padding: 0.3rem 0.8rem;
    background: #ffffff;
    border: 1px solid #e0d8ce;
    border-radius: 15px;
    font-size: 0.78rem;
    color: #665b53;
  }

  .mobile-sub-item.active {
    background: #ede2d5;
    border-color: var(--primary-color);
    color: var(--primary-color);
    font-weight: 600;
  }
  
  .shop-content { 
    width: 100%; 
    display: block; 
    margin-top: 0.5rem; 
    clear: both; 
  }

  /* ★ 手機版商店網格：改為 2 欄並排 */
  .product-grid { 
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important; 
    gap: 2rem 0.9rem !important; 
    width: 100% !important; 
    padding: 0 0.2rem;
  }

  /* 單個商品卡片：純淨無框化，去除陰影與邊框 */
  .product-grid .product-card,
  .product-grid .card {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 0 !important;
    display: flex;
    flex-direction: column;
  }

  /* 商品圖片容器：正方形簡約留白 */
  .product-grid .product-img-box,
  .product-grid .card-img-box {
    width: 100%;
    padding-top: 100% !important; /* 維持 1:1 正方形 */
    aspect-ratio: 1 / 1;
    height: auto !important;
    background-color: #faf9f7;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 0.8rem;
    position: relative;
  }

  .product-grid .product-slider-img,
  .product-grid .card-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }

  /* 商品資訊區塊：精簡留白並靠左對齊 */
  .product-grid .product-details,
  .product-grid .card-info {
    padding: 0 !important;
    text-align: left;
  }

  /* 商品標題：俐落字級，超出自動省略 */
  .product-grid .product-title,
  .product-grid .card-info h3 {
    font-size: 0.95rem !important;
    font-weight: 500 !important;
    color: var(--text-main);
    line-height: 1.4;
    margin: 0 0 0.35rem 0 !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* ★ 隱藏冗長的說明文字與加入訂購按鈕，達到純粹簡潔的視覺 */
  .product-grid .product-desc,
  .product-grid .card-info p,
  .product-grid .product-footer .btn-order {
    display: none !important;
  }

  /* 移除原本卡片底部的分隔線 */
  .product-grid .product-footer {
    border-top: none !important;
    padding-top: 0 !important;
    margin-top: 0 !important;
  }

  /* 商品價格：優雅字型 */
  .product-grid .product-price,
  .product-grid .card-price {
    font-size: 0.9rem !important;
    color: #6e645c !important;
    font-weight: 400 !important;
    letter-spacing: 0.5px;
  }

  .product-detail-layout { grid-template-columns: 1fr; gap: 2.5rem; }
  .product-detail-img-box { height: 380px; }
  .product-action-box { flex-direction: column; align-items: stretch; text-align: center; }

  /* 課程頁手機版簡約卡片 */
  .course-badge,
  .course-desc,
  .meta-hide-mobile {
    display: none;
  }

  .course-slider-wrapper {
    margin-left: -1rem;
    margin-right: -1rem;
    margin-bottom: 2.5rem;
  }

  .course-img-box {
    height: 190px;
  }

  .course-body {
    padding: 1.1rem;
  }

  .course-title {
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
  }

  .course-meta {
    margin-bottom: 0;
    padding-top: 0.8rem;
    font-size: 0.84rem;
  }

  .course-meta li {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 0.4rem;
  }

  .course-meta li > span:first-child {
    white-space: nowrap;
    flex-shrink: 0;
    min-width: 4.6rem;
    color: #888;
  }

  .course-meta li > span:last-child {
    text-align: right;
    word-break: break-word;
  }

  .course-swipe-hint {
    margin-top: 0.8rem;
  }

  /* 顧客須知彈窗 (手機版底部抽屜彈出) */
  .care-modal-overlay { 
    align-items: flex-end; 
    padding: 0; 
  }

  .care-modal-box { 
    max-height: 75vh;
    max-height: 75dvh; 
    border-radius: 16px 16px 0 0; 
    transform: translateY(100%); 
  }

  .care-modal-overlay.open .care-modal-box { 
    transform: translateY(0); 
  }

  /* 品牌故事頁手機版：原始長寬比自然展開，不裁切照片，並適配排版 */
  .about-hero { padding: 3rem 1.2rem 2rem; }
  .about-hero .page-title { font-size: 1.5rem; }
  .timeline-section { padding: 2.5rem 1.2rem; }
  .timeline-container { gap: 3rem; }
  .timeline-row, .timeline-row.reverse { flex-direction: column; gap: 1.5rem; }
  .timeline-img-box { width: 100%; }
  .timeline-img {
    height: auto !important;
    max-height: 380px !important;
    object-fit: contain !important;
  }
  .timeline-content {
    padding: 0.5rem 0.5rem;
    text-align: center;
  }
  .timeline-content .step-title { 
    font-size: 1.25rem; 
  }
  .timeline-content .step-desc {
    font-size: 0.92rem;
    line-height: 1.9;
    text-align: center; /* 配合 mob-br 讓手機置中斷句整齊美觀 */
    max-width: 320px; /* 手機寬度收攏，視線凝聚 */
    margin: 0 auto;
  }
  .features-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
    gap: 0.9rem;
  }

  .btn-cta-primary,
  .btn-cta-outline {
    width: 100%;
    max-width: 260px;
  }

  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }

  /* 手機版全螢幕滿版搜尋 (適配虛擬鍵盤，解決破版與遮擋) */
  .search-modal-overlay {
    padding: 0;
    background: #ffffff;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    align-items: stretch;
  }

  .search-modal-box {
    max-width: 100vw;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    max-height: 100vh;
    max-height: 100dvh;
    border-radius: 0;
    box-shadow: none;
    transform: none;
  }

  .search-input-wrapper {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid #ebe5dc;
    background: #faf8f5;
  }

  .search-input-wrapper input {
    font-size: 0.95rem;
  }

  .search-modal-close {
    font-size: 2rem;
    padding: 0 0.5rem;
  }

  .search-results-wrapper {
    max-height: none;
    flex: 1;
    padding: 0.8rem 1rem 3rem;
  }
}

/* ==========================================================================
   18. 色彩尋花 (Color Discovery Section & Modal)
   ========================================================================== */
.color-discovery-section {
  padding: 3.5rem 0 4rem;
  background: linear-gradient(180deg, #ffffff 0%, #faf8f5 100%);
  text-align: center;
}

.color-discovery-box {
  max-width: 650px;
  margin: 0 auto;
}

.color-discovery-title {
  font-size: 1.8rem;
  color: var(--text-main);
  margin-bottom: 0.6rem;
}

.color-discovery-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
}

.color-circles-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2.5rem;
}

.color-circle-btn {
  background: transparent;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  outline: none;
}

.color-circle-btn:hover {
  transform: translateY(-5px);
}

.color-circle-swatch {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: block;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15), inset 0 0 0 2px rgba(255, 255, 255, 0.8);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.color-circle-btn:hover .color-circle-swatch {
  transform: scale(1.12);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.color-circle-label {
  font-size: 0.85rem;
  color: var(--text-main);
  font-weight: 500;
  letter-spacing: 0.5px;
}

/* 色彩探索彈出視窗 */
.color-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  height: 100dvh;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  z-index: 4000;
  opacity: 0;
  visibility: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.5rem;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.color-modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.color-modal-box {
  background: #ffffff;
  width: 100%;
  max-width: 620px;
  max-height: 80vh;
  max-height: 80dvh;
  border-radius: 14px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(20px);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.color-modal-overlay.open .color-modal-box {
  transform: translateY(0);
}

.color-modal-header {
  padding: 1.2rem 1.6rem;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.color-modal-title-group {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}

.color-modal-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.color-modal-header h3 {
  font-size: 1.1rem;
  margin: 0;
}

.color-modal-close {
  background: transparent;
  border: none;
  font-size: 1.8rem;
  color: #888;
  cursor: pointer;
  line-height: 1;
}

.color-modal-close:hover {
  color: var(--text-main);
}

.color-modal-body {
  padding: 1.2rem 1.6rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.color-modal-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.8rem;
  border-radius: 8px;
  text-decoration: none;
  color: inherit;
  background-color: #faf8f5;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.color-modal-item:hover {
  background-color: #f2ede4;
  transform: translateX(4px);
}

.color-modal-item-img {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  background: #eee;
  flex-shrink: 0;
}

.color-modal-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.color-modal-item-info {
  flex: 1;
  min-width: 0;
}

.color-modal-item-info h4 {
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.color-modal-item-info p {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.color-modal-price {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-top: 0.2rem;
  display: inline-block;
}

.color-modal-footer {
  padding: 1rem 1.6rem;
  border-top: 1px solid var(--border-light);
  text-align: center;
  background-color: #faf8f5;
}

@media (max-width: 768px) {
  .color-circles-wrapper {
    gap: 1.8rem;
  }
  .color-circle-swatch {
    width: 48px;
    height: 48px;
  }
  .color-discovery-title {
    font-size: 1.4rem;
  }
  .color-modal-box {
    max-height: 85vh;
  }
}

/* ==========================================================================
   19. 依價格篩選滑桿 (極簡莫蘭迪大地色美化)
   ========================================================================== */
.price-filter-widget {
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.price-filter-widget .filter-heading {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.range-slider-wrapper {
  position: relative;
  width: 100%;
  padding: 0.5rem 0;
}

/* 軌道自訂美化 */
.range-slider-wrapper input[type="range"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: #dfd7cc;
  border-radius: 4px;
  outline: none;
  cursor: pointer;
  margin: 0;
}

/* Chrome, Safari, Edge, 手機瀏覽器的圓形滑塊 */
.range-slider-wrapper input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 2px solid #ffffff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease;
}

.range-slider-wrapper input[type="range"]::-webkit-slider-thumb:hover,
.range-slider-wrapper input[type="range"]::-webkit-slider-thumb:active {
  transform: scale(1.25);
  background-color: var(--primary-hover);
}

/* Firefox 圓形滑塊 */
.range-slider-wrapper input[type="range"]::-moz-range-thumb {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background-color: var(--primary-color);
  border: 2px solid #ffffff;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}

/* 下方價格顯示文字 */
.price-filter-bottom {
  margin-top: 0.5rem;
}

.price-label-text {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.price-label-text strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* ==========================================================================
   20. 手動輸入價格區間與確認按鈕樣式
   ========================================================================== */
.price-inputs-row {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.8rem;
}

.price-currency,
.price-dash {
  font-size: 0.82rem;
  color: var(--text-muted);
  user-select: none;
}

.price-num-input {
  width: 68px;
  padding: 0.25rem 0.35rem;
  font-size: 0.82rem;
  border: 1px solid #dcd4c8;
  border-radius: 4px;
  background-color: #faf9f6;
  color: var(--text-main);
  text-align: center;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.price-num-input:focus {
  border-color: var(--primary-color);
  background-color: #ffffff;
  box-shadow: 0 0 0 2px rgba(127, 85, 57, 0.15);
}

/* 去除 number input 上下小箭頭 (符合現代 CSS 標準規範) */
.price-num-input::-webkit-outer-spin-button,
.price-num-input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.price-num-input[type="number"] {
  appearance: textfield;
  -moz-appearance: textfield;
  -webkit-appearance: textfield;
}

/* 精緻莫蘭迪大地色「確定」按鈕 */
.btn-price-confirm {
  background-color: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 0.3rem 0.75rem;
  font-size: 0.78rem;
  border-radius: 4px;
  cursor: pointer;
  letter-spacing: 0.5px;
  margin-left: auto;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-price-confirm:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(127, 85, 57, 0.25);
}