/* ============================================================
   成功醬油 — Main Stylesheet
   ============================================================ */

:root {
  --red:     #993300;
  --red-dk:  #7A2800;
  --gold-lt: #FFCC00;
  --brown:   #5C3D22;
  --brown-dk:#2A1200;
  --cream:   #FAF6EE;
  --cream2:  #F0E6D2;
  --border:  #D5C0A0;
  --text:    #2A1200;
  --muted:   #6B5040;
  --white:   #ffffff;
  --shadow:  rgba(42, 18, 0, 0.10);
}

*,*::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
.me-1 { margin-right: .3rem; }

body {
  font-family: 'Microsoft JhengHei', 'Noto Sans TC', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.75;
  font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--red); text-decoration: none; }

/* ────────────────────────────────────────
   Container
──────────────────────────────────────── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ────────────────────────────────────────
   Topbar
──────────────────────────────────────── */
.topbar {
  background: var(--brown-dk);
  color: #B09070;
  font-size: 0.78rem;
  padding: 0.4rem 0;
  letter-spacing: 0.02em;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { color: #B09070; transition: color 0.2s; }
.topbar a:hover { color: var(--gold-lt); }
.topbar-right { display: flex; align-items: center; gap: 1.2rem; }
.topbar-divider { opacity: 0.25; }

/* ────────────────────────────────────────
   Navbar
──────────────────────────────────────── */
.site-header {
  background: rgba(250, 246, 238, 0.97);
  border-bottom: 1.5px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: 0 2px 24px var(--shadow); }

.navbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 96px;
  transition: height 0.3s cubic-bezier(.4,0,.2,1);
}
.site-header.scrolled .navbar-inner { height: 72px; }

.navbar-logo img {
  height: 86px;
  width: auto;
  transition: height 0.3s cubic-bezier(.4,0,.2,1);
}
.site-header.scrolled .navbar-logo img { height: 64px; }

.navbar-nav {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 0;
}
.navbar-nav .nav-item { position: relative; }

.navbar-nav .nav-link {
  display: block;
  padding: 0.5rem 0.82rem;
  color: var(--brown);
  font-size: 0.92rem;
  font-weight: 500;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  letter-spacing: 0.02em;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--red); background: rgba(153,51,0,0.06); }

.navbar-nav .has-dropdown > .nav-link::after {
  content: '▾';
  font-size: 0.6rem;
  margin-left: 0.3rem;
  opacity: 0.5;
  vertical-align: 1px;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 150px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 10px;
  box-shadow: 0 8px 30px var(--shadow);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: all 0.2s;
  z-index: 100;
}
/* Dropdown opens on click via JS (.dropdown-open) */
.has-dropdown.dropdown-open .dropdown-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.has-dropdown > .nav-link::after {
  transition: transform 0.25s;
  display: inline-block;
}
.has-dropdown.dropdown-open > .nav-link::after {
  transform: rotate(180deg);
}
.dropdown-menu a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--muted);
  font-size: 0.87rem;
  border-radius: 6px;
  transition: all 0.15s;
}
.dropdown-menu a:hover { background: var(--cream2); color: var(--red); }

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 22px !important;
  padding: 0.52rem 1.4rem !important;
  font-weight: 700 !important;
  font-size: 0.9rem !important;
  margin-left: 0.4rem !important;
}
.nav-cta:hover { background: var(--red-dk) !important; color: var(--white) !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 40px; height: 40px;
  cursor: pointer; background: none; border: none; padding: 8px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: var(--brown); border-radius: 2px; transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ────────────────────────────────────────
   Mobile Nav
──────────────────────────────────────── */
.mobile-nav {
  /* Always rendered so the slide-in transition works */
  display: block;
  position: fixed; inset: 0;
  background: #1C0A02;
  z-index: 1100;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  /* 關閉時不攔截觸控與捲動事件 */
  visibility: hidden;
  pointer-events: none;
}
.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

/* Close button */
.mobile-nav-close {
  position: sticky; top: 0;
  display: flex; align-items: center; justify-content: flex-end;
  width: 100%; padding: 1.1rem 1.5rem;
  background: rgba(28,10,2,0.96);
  border: none; cursor: pointer;
  font-size: 1.4rem; color: #B89060;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  z-index: 10;
  transition: color 0.2s;
}
.mobile-nav-close:hover { color: var(--gold-lt); }

/* Main nav links */
.mobile-nav > a {
  display: flex; align-items: center;
  color: #E8D0A8;
  font-size: 1.05rem; font-weight: 600;
  padding: 1rem 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  transition: color 0.15s, padding-left 0.2s, background 0.15s;
  text-decoration: none;
}
.mobile-nav > a:hover {
  color: var(--gold-lt);
  background: rgba(255,255,255,0.04);
  padding-left: 2.4rem;
}

/* Sub-menu group toggle button */
.mobile-nav-group {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%;
  color: #E8D0A8;
  font-size: 1.05rem; font-weight: 600;
  padding: 1rem 2rem;
  border: none; border-bottom: 1px solid rgba(255,255,255,0.06);
  background: transparent;
  cursor: pointer;
  transition: color 0.15s, background 0.15s;
  text-align: left;
  font-family: inherit;
}
.mobile-nav-group:hover {
  color: var(--gold-lt);
  background: rgba(255,255,255,0.04);
}
.mobile-group-arrow {
  transition: transform 0.25s;
  font-size: 0.85rem;
  opacity: 0.7;
}
.mobile-nav-group.open .mobile-group-arrow { transform: rotate(180deg); }

/* Sub-menu items (hidden by default, toggled by JS) */
.mobile-sub {
  background: rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: none;
}
.mobile-sub.open { display: block; }
.mobile-sub a {
  display: flex; align-items: center;
  color: #C8A878 !important;
  font-size: 0.95rem; font-weight: 400;
  padding: 0.75rem 2rem 0.75rem 2.8rem !important;
  border-bottom: 1px solid rgba(255,255,255,0.04) !important;
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.mobile-sub a:last-child { border-bottom: none !important; }
.mobile-sub a::before {
  content: '';
  display: inline-block; width: 5px; height: 5px;
  border-radius: 50%; background: #C05030;
  margin-right: 0.7rem; flex-shrink: 0;
}
.mobile-sub a:hover { color: var(--gold-lt) !important; background: rgba(255,255,255,0.04); }

/* ────────────────────────────────────────
   Hero
──────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  /* 比例完全對應圖片 2560×1086，background-size:cover 不會裁切 */
  aspect-ratio: 2560 / 1086;
}
.hero-slider {
  position: absolute; inset: 0;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center center;
  opacity: 0; transition: opacity 0.9s cubic-bezier(.4,0,.2,1);
}
.hero-slide.active { opacity: 1; }
.hero-prev, .hero-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  z-index: 10; background: rgba(255,255,255,0.12); border: 1.5px solid rgba(255,255,255,0.25);
  color: #fff; font-size: 1.2rem; width: 46px; height: 46px;
  border-radius: 50%; cursor: pointer; transition: background .25s;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.hero-prev:hover, .hero-next:hover { background: rgba(255,255,255,0.28); }
.hero-prev { left: 2rem; }
.hero-next { right: 2rem; }
.hero-dots {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  z-index: 10; display: flex; gap: .45rem; align-items: center;
}
.hero-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.45); cursor: pointer;
  transition: all .35s; border: none; padding: 0;
}
.hero-dot.active { background: #fff; width: 26px; border-radius: 4px; }
.hero-content {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 0 2rem; width: 100%;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.75rem; letter-spacing: 4px; text-transform: uppercase;
  color: rgba(255,204,0,0.85); margin-bottom: 1.2rem;
}
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900; color: #fff; line-height: 1.2;
  text-shadow: 0 2px 16px rgba(0,0,0,0.4);
  margin-bottom: 1.1rem; letter-spacing: 0.05em;
}
.hero-title em { font-style: normal; color: #FFCC00; }
.hero-subtitle {
  font-size: clamp(0.92rem, 1.8vw, 1.05rem); color: rgba(255,255,255,0.82);
  margin-bottom: 2.2rem; max-width: 400px; line-height: 1.85;
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--red); color: #fff;
  padding: 0.85rem 2.2rem; border-radius: 32px;
  font-size: 0.95rem; font-weight: 700; letter-spacing: 0.04em;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 4px 20px rgba(153,51,0,0.45);
}
.btn-hero-primary:hover { background: var(--red-dk); color: #fff; transform: translateY(-2px); }
.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent; color: #fff;
  padding: 0.85rem 2rem; border-radius: 32px;
  font-size: 0.95rem; font-weight: 600;
  border: 2px solid rgba(255,255,255,0.45);
  transition: all 0.2s;
}
.btn-hero-secondary:hover { border-color: #fff; background: rgba(255,255,255,0.1); color: #fff; }

/* ────────────────────────────────────────
   Values Strip
──────────────────────────────────────── */
.values-strip { background: var(--red); padding: 1.8rem 0; }
.values-strip .container { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.value-item { display: flex; align-items: center; gap: 1.1rem; color: #fff; padding: 0.5rem 2rem; }
.value-item + .value-item { border-left: 1px solid rgba(255,255,255,0.2); }
.value-icon { font-size: 1.8rem; flex-shrink: 0; opacity: 0.9; }
.value-title { font-size: 0.97rem; font-weight: 700; letter-spacing: 0.04em; }
.value-desc { font-size: 0.8rem; opacity: 0.78; margin-top: 0.1rem; }

/* ────────────────────────────────────────
   Section Base
──────────────────────────────────────── */
.section { padding: 5.5rem 0; }
.section-bg-cream { background: var(--cream2); }
.section-bg-white { background: rgba(255,255,255,0.7); }

.section-label {
  display: block;
  font-size: 0.73rem; letter-spacing: 4px; color: var(--red);
  text-transform: uppercase; font-weight: 700; margin-bottom: 0.5rem;
}
.section-title {
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  font-weight: 800; color: var(--brown-dk); line-height: 1.3;
  margin-bottom: 1rem;
}
.section-desc { font-size: 0.95rem; color: var(--muted); line-height: 1.9; }
.section-center { text-align: center; }
.section-center .section-desc { max-width: 520px; margin: 0 auto; }

/* Divider */
.section-divider {
  width: 100%; height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  border: none; margin: 0;
}

/* ────────────────────────────────────────
   Brand Story Block
──────────────────────────────────────── */
.brand-block { display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center; }
.brand-img { border-radius: 16px; overflow: hidden; box-shadow: 0 20px 60px var(--shadow); }
.brand-img img { width: 100%; height: 420px; object-fit: cover; }
.brand-text p { color: var(--muted); font-size: 0.95rem; line-height: 1.9; margin-bottom: 1rem; }
.btn-outline-red {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 0.8rem; padding: 0.65rem 1.8rem;
  border: 2px solid var(--red); border-radius: 28px;
  color: var(--red); font-size: 0.9rem; font-weight: 700;
  transition: all 0.2s;
}
.btn-outline-red:hover { background: var(--red); color: #fff; }

/* ────────────────────────────────────────
   Products — Icon Cards (no image)
──────────────────────────────────────── */
.products-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; margin-top: 3rem; }

.product-card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--border); border-radius: 14px;
  overflow: hidden; text-decoration: none; color: var(--text);
  transition: box-shadow 0.35s cubic-bezier(.25,.46,.45,.94), transform 0.35s cubic-bezier(.25,.46,.45,.94);
}
.product-card:hover { box-shadow: 0 16px 48px var(--shadow); transform: translateY(-8px); color: var(--text); }

/* Image area (carousel) */
.product-img-area {
  aspect-ratio: 4/3; overflow: hidden;
  background: var(--cream2);
}
.product-img-area img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s cubic-bezier(.25,.46,.45,.94);
}
.product-card:hover .product-img-area img { transform: scale(1.07); }

/* Icon area (fallback) */
.product-icon-area {
  aspect-ratio: 1/1;
  background: linear-gradient(140deg, var(--cream2) 0%, #E5D0B0 100%);
  display: flex; align-items: center; justify-content: center;
  font-size: 3.2rem; color: var(--red);
  position: relative; overflow: hidden;
}
.product-icon-area::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(255,255,255,0.3));
}
.product-icon-area i { position: relative; z-index: 1; }

/* ────────────────────────────────────────
   Product Carousel
──────────────────────────────────────── */
.prod-carousel { position: relative; margin-top: 3rem; }
.prod-track-outer { overflow: hidden; border-radius: 4px; }
.prod-track {
  display: flex; gap: 1.5rem;
  transition: transform 0.45s cubic-bezier(.4,0,.2,1);
  will-change: transform;
}
.prod-slide { flex: 0 0 calc((100% - 3rem) / 3); }
.prod-arrow {
  position: absolute; top: 40%; transform: translateY(-50%);
  z-index: 5; width: 44px; height: 44px; border-radius: 50%;
  background: var(--white); border: 1.5px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1rem; color: var(--brown);
  box-shadow: 0 4px 16px var(--shadow);
  transition: all 0.2s;
}
.prod-arrow:hover { background: var(--red); color: #fff; border-color: var(--red); transform: translateY(-50%) scale(1.08); }
.prod-prev-btn { left: -22px; }
.prod-next-btn { right: -22px; }
.prod-dots-row {
  display: flex; justify-content: center; gap: 0.4rem; margin-top: 1.5rem;
}
.prod-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--border); border: none; cursor: pointer;
  transition: all 0.3s; padding: 0;
}
.prod-dot.active { background: var(--red); width: 22px; border-radius: 4px; }

.product-body { padding: 1.2rem 1.1rem; flex: 1; display: flex; flex-direction: column; border-top: 1px solid var(--border); }
.product-name { font-size: 0.97rem; font-weight: 700; margin-bottom: 0.35rem; color: var(--brown-dk); }
.product-sub { font-size: 0.81rem; color: var(--muted); flex: 1; line-height: 1.6; }
.product-price { font-size: 0.9rem; color: var(--red); font-weight: 700; margin-top: 0.8rem; }

.btn-more {
  display: inline-flex; align-items: center; gap: 0.4rem;
  margin-top: 3rem; padding: 0.75rem 2.5rem;
  border: 2px solid var(--border); border-radius: 28px;
  color: var(--muted); font-size: 0.92rem; font-weight: 600;
  transition: all 0.2s;
}
.btn-more:hover { border-color: var(--red); color: var(--red); }

/* Product filter (products page) */
.products-filter { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-bottom: 2rem; }
.filter-btn { padding: 0.45rem 1.2rem; border: 1.5px solid var(--border); border-radius: 20px; font-size: 0.87rem; color: var(--muted); cursor: pointer; background: #fff; transition: all 0.2s; font-family: inherit; }
.filter-btn:hover, .filter-btn.active { border-color: var(--red); color: var(--red); background: rgba(153,51,0,0.04); }
.products-page-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }

/* ────────────────────────────────────────
   News Section (homepage)
──────────────────────────────────────── */
.news-section { display: grid; grid-template-columns: 1fr 2fr; gap: 5rem; align-items: start; }
.news-list { list-style: none; }
.news-item { display: flex; gap: 1.2rem; padding: 1.3rem 0; border-bottom: 1px solid var(--border); align-items: flex-start; }
.news-item:first-child { border-top: 1px solid var(--border); }
.news-date-badge { flex-shrink: 0; text-align: center; background: var(--cream2); border-radius: 8px; padding: 0.4rem 0.75rem; min-width: 60px; border: 1px solid var(--border); }
.news-date-badge .month { font-size: 0.68rem; color: var(--muted); display: block; letter-spacing: 1px; }
.news-date-badge .day { font-size: 1.5rem; font-weight: 800; color: var(--red); line-height: 1.1; }
.news-item-text { flex: 1; }
.news-title { font-size: 0.93rem; color: var(--text); font-weight: 600; margin-bottom: 0.3rem; line-height: 1.55; transition: color 0.2s; }
.news-item:hover .news-title { color: var(--red); }
.news-excerpt { font-size: 0.81rem; color: var(--muted); line-height: 1.6; }

/* News list page */
.news-list-page { list-style: none; }
.news-list-page li { border-bottom: 1px solid var(--border); }
.news-list-page li:first-child { border-top: 1px solid var(--border); }
.news-list-page a { display: flex; align-items: center; gap: 1.5rem; padding: 1.1rem 0.8rem; color: var(--text); transition: all 0.15s; border-radius: 8px; }
.news-list-page a:hover { background: var(--cream2); padding-left: 1.4rem; color: var(--red); }
.news-tag-date { font-size: 0.82rem; color: var(--muted); white-space: nowrap; flex-shrink: 0; }
.news-tag-title { font-size: 0.93rem; font-weight: 600; flex: 1; }

.pagination { display: flex; gap: 0.4rem; list-style: none; margin-top: 2rem; }
.pagination li a, .pagination li span { display: block; padding: 0.45rem 0.95rem; border: 1.5px solid var(--border); border-radius: 8px; color: var(--brown); font-size: 0.87rem; transition: all 0.15s; }
.pagination li a:hover { border-color: var(--red); color: var(--red); }
.pagination li.active span { background: var(--red); border-color: var(--red); color: #fff; }

/* ────────────────────────────────────────
   Homepage FAQ (AEO)
──────────────────────────────────────── */
.home-faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 3rem;
  margin-top: 2.5rem;
}
.home-faq-item {
  border-bottom: 1px solid var(--border);
}
.home-faq-item:first-child,
.home-faq-item:nth-child(2) {
  border-top: 1px solid var(--border);
}
.home-faq-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0; background: none; border: none; cursor: pointer;
  font-family: inherit; text-align: left; gap: 1rem;
}
.home-faq-q {
  font-size: 0.93rem; font-weight: 600; color: var(--brown-dk); line-height: 1.5;
}
.home-faq-icon {
  font-size: 1rem; color: var(--red); flex-shrink: 0;
  transition: transform 0.3s cubic-bezier(.4,0,.2,1);
}
.home-faq-btn.open .home-faq-icon { transform: rotate(45deg); }
.home-faq-a {
  display: none; padding: 0 0 1.2rem;
  font-size: 0.88rem; color: var(--muted); line-height: 1.9;
}
.home-faq-a.open { display: block; }
@media(max-width:768px){
  .home-faq-grid { grid-template-columns: 1fr; }
  .home-faq-item:nth-child(2) { border-top: none; }
}

/* ────────────────────────────────────────
   CTA Band
──────────────────────────────────────── */
.cta-band {
  background: var(--brown-dk);
  border-top: 4px solid var(--red);
  padding: 5rem 0;
  text-align: center;
}
.cta-band h2 { font-size: clamp(1.6rem, 2.8vw, 2rem); color: #fff; font-weight: 800; margin-bottom: 0.8rem; }
.cta-band p { color: rgba(255,255,255,0.65); font-size: 0.97rem; margin-bottom: 2.2rem; }
.btn-cta-white {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--white); color: var(--red);
  padding: 0.85rem 2.5rem; border-radius: 32px;
  font-weight: 700; font-size: 0.95rem;
  transition: all 0.2s; box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-cta-white:hover { background: var(--cream2); color: var(--red-dk); }

/* ────────────────────────────────────────
   Footer — Redesigned
──────────────────────────────────────── */
footer {
  background: #1C0C02;
  border-top: 4px solid var(--red);
  color: #C8A070;
}

.footer-upper {
  padding: 4rem 0 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3.5rem;
}

/* Brand col */
.footer-logo-img { height: 60px; width: auto; margin-bottom: 1.2rem; opacity: 0.92; }
.footer-brand-name { font-size: 1.1rem; font-weight: 700; color: #F0D8B0; margin-bottom: 0.5rem; letter-spacing: 0.05em; }
.footer-tagline { font-size: 0.85rem; color: #C8A070; margin-bottom: 1.2rem; letter-spacing: 0.05em; font-weight: 500; }
.footer-brand-desc { font-size: 0.86rem; line-height: 1.95; color: #B89060; max-width: 280px; }

/* Nav col */
.footer-col-title { font-size: 0.85rem; font-weight: 700; color: #E8C888; margin-bottom: 1.1rem; letter-spacing: 1px; text-transform: uppercase; }
.footer-nav-list { list-style: none; }
.footer-nav-list li { margin-bottom: 0.55rem; }
.footer-nav-list a { color: #C0956A; font-size: 0.88rem; transition: color 0.15s; display: flex; align-items: center; gap: 0.4rem; }
.footer-nav-list a::before { content: '—'; font-size: 0.6rem; color: var(--red); opacity: 0.9; flex-shrink: 0; }
.footer-nav-list a:hover { color: #EECB88; }

/* Contact col */
.footer-contact-item { display: flex; gap: 0.85rem; align-items: flex-start; margin-bottom: 0.85rem; }
.footer-contact-item i { color: #D06040; flex-shrink: 0; margin-top: 0.2rem; font-size: 0.95rem; }
.footer-contact-item-text { font-size: 0.86rem; line-height: 1.7; color: #C0956A; }
.footer-contact-item a { color: #C0956A; transition: color 0.15s; }
.footer-contact-item a:hover { color: #EECB88; }

/* Bottom bar */
.footer-bottom {
  padding: 1.4rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.82rem;
  color: #9A7858;
  background: rgba(0,0,0,0.2);
}
.footer-bottom-sep { opacity: 0.5; }

/* ────────────────────────────────────────
   Back To Top
──────────────────────────────────────── */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: var(--red); color: #fff; border: none; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s, background 0.2s, transform 0.2s;
  z-index: 900; box-shadow: 0 4px 16px rgba(153,51,0,0.35);
}
.back-to-top.show { opacity: 1; pointer-events: auto; }
.back-to-top:hover { background: var(--red-dk); transform: translateY(-3px); }

/* ────────────────────────────────────────
   Inner Pages — Side Menu
──────────────────────────────────────── */
.page-layout { display: grid; grid-template-columns: 220px 1fr; gap: 3.5rem; padding: 5rem 0; }
.side-menu { align-self: start; position: sticky; top: 108px; }
.side-menu-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.side-menu-title { background: var(--brown); color: #fff; padding: 0.9rem 1.3rem; font-size: 0.88rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; }
.side-menu-link { display: block; padding: 0.7rem 1.3rem; color: var(--muted); font-size: 0.9rem; border-bottom: 1px solid var(--border); transition: all 0.15s; }
.side-menu-link:last-child { border-bottom: none; }
.side-menu-link:hover { background: var(--cream2); color: var(--red); padding-left: 1.6rem; }
.side-menu-link.active { background: var(--cream2); color: var(--red); border-left: 3px solid var(--red); font-weight: 700; }

.page-heading { font-size: 1.6rem; font-weight: 800; color: var(--brown-dk); padding-bottom: 0.9rem; margin-bottom: 1.8rem; border-bottom: 2px solid var(--border); }
.page-body { font-size: 0.95rem; line-height: 1.9; color: var(--text); }
.page-body p { margin-bottom: 1rem; }
.page-body img { border-radius: 10px; border: 1px solid var(--border); margin: 1.2rem 0; width: 100%; }

/* ────────────────────────────────────────
   Contact
──────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 2.5rem; padding: 5rem 0; align-items: start; }
.contact-info-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; }
.contact-info-card h3 { font-size: 1rem; font-weight: 700; color: var(--brown-dk); margin-bottom: 1.5rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border); }
.info-row { display: flex; gap: 1rem; align-items: flex-start; margin-bottom: 1.2rem; }
.info-row i { color: var(--red); font-size: 1.1rem; flex-shrink: 0; margin-top: 0.2rem; }
.info-label { font-size: 0.77rem; color: var(--muted); margin-bottom: 0.15rem; letter-spacing: 0.5px; }
.info-value { font-size: 0.92rem; font-weight: 600; color: var(--text); line-height: 1.6; }
.contact-form-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; }
.contact-form-card h3 { font-size: 1rem; font-weight: 700; color: var(--brown-dk); margin-bottom: 1.5rem; padding-bottom: 0.8rem; border-bottom: 1px solid var(--border); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: 0.84rem; font-weight: 600; color: #444; margin-bottom: 0.4rem; }
.required { color: var(--red); }
.form-control {
  width: 100%; padding: 0.65rem 1rem;
  border: 1.5px solid var(--border); border-radius: 8px;
  font-size: 0.9rem; font-family: inherit; color: var(--text);
  background: #FDFAF6; outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(153,51,0,0.1); }
textarea.form-control { resize: vertical; min-height: 140px; }
.btn-submit {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--red); color: #fff; border: none; border-radius: 28px;
  padding: 0.75rem 2.2rem; font-size: 0.93rem; font-weight: 700;
  cursor: pointer; transition: background 0.2s, transform 0.2s; font-family: inherit;
}
.btn-submit:hover { background: var(--red-dk); transform: translateY(-1px); }
.btn-reset-txt { background: none; border: none; color: var(--muted); font-size: 0.87rem; cursor: pointer; font-family: inherit; margin-left: 0.5rem; }

/* ────────────────────────────────────────
   Breadcrumb
──────────────────────────────────────── */
.breadcrumb {
  display: flex; align-items: center; gap: .45rem;
  font-size: .82rem; color: var(--muted);
  margin-bottom: 2.5rem; flex-wrap: wrap;
  list-style: none;
}
.breadcrumb a { color: var(--muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--red); }
.breadcrumb-sep { opacity: .4; font-size: .72rem; }

/* ────────────────────────────────────────
   FAQ
──────────────────────────────────────── */
.faq-list { /* full container width */ }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-q-btn { width: 100%; background: none; border: none; text-align: left; padding: 1.3rem 0; display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; cursor: pointer; font-family: inherit; font-size: 0.97rem; font-weight: 700; color: var(--text); }
.faq-q-btn:hover { color: var(--red); }
.faq-q-icon { color: var(--red); font-size: 1.2rem; flex-shrink: 0; transition: transform 0.3s; }
.faq-q-btn[aria-expanded="true"] .faq-q-icon { transform: rotate(45deg); }
.faq-a { display: none; padding: 0 0 1.4rem; color: var(--muted); font-size: 0.92rem; line-height: 1.9; }
.faq-a.open { display: block; }

/* ────────────────────────────────────────
   Channels
──────────────────────────────────────── */
.channels-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; margin-top: 1.5rem; }
.channel-card { background: var(--white); border: 1px solid var(--border); border-radius: 14px; padding: 2rem 1.5rem; text-align: center; transition: box-shadow 0.2s, transform 0.2s; }
.channel-card:hover { box-shadow: 0 8px 28px var(--shadow); transform: translateY(-4px); }
.channel-icon { font-size: 2.2rem; color: var(--red); margin-bottom: 1rem; }
.channel-name { font-size: 1rem; font-weight: 700; color: var(--brown-dk); margin-bottom: 0.5rem; }
.channel-info { font-size: 0.85rem; color: var(--muted); line-height: 1.7; }
.channel-address { margin-top: 0.5rem; font-size: 0.8rem; color: #B07040; }
.region-title { font-size: 0.95rem; font-weight: 700; color: var(--brown); border-left: 4px solid var(--red); padding-left: 0.8rem; margin: 2.5rem 0 1rem; }

/* ────────────────────────────────────────
   Location
──────────────────────────────────────── */
.location-info-list p { display: flex; align-items: flex-start; gap: 0.8rem; margin-bottom: 0.9rem; font-size: 0.95rem; }
.location-info-list i { color: var(--red); font-size: 1.05rem; flex-shrink: 0; margin-top: 0.2rem; }

/* ────────────────────────────────────────
   Process / Food
──────────────────────────────────────── */
.process-img-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin: 2rem 0; }
.process-img-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); }
.nearby-card { background: var(--white); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: box-shadow 0.2s; }
.nearby-card:hover { box-shadow: 0 6px 24px var(--shadow); }
.nearby-card img { width: 100%; height: 180px; object-fit: cover; }
.nearby-card-body { padding: 1.1rem; }
.nearby-card-body h5 { font-size: 0.97rem; font-weight: 700; color: var(--brown-dk); margin-bottom: 0.4rem; }
.nearby-card-body p { font-size: 0.85rem; color: var(--muted); margin: 0; }

/* ────────────────────────────────────────
   Responsive
──────────────────────────────────────── */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(3,1fr); }
  .brand-block { gap: 3rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .footer-grid > div:last-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .navbar-nav { display: none; }
  .hamburger { display: flex; }
  /* Banner: 比例同桌機，維持不裁切 */
  .hero { aspect-ratio: 2560 / 1086; }
  .hero-prev { left: .8rem; }
  .hero-next { right: .8rem; }
  .values-strip .container { grid-template-columns: 1fr; }
  .value-item + .value-item { border-left: none; border-top: 1px solid rgba(255,255,255,0.15); }
  .brand-block { grid-template-columns: 1fr; gap: 2.5rem; }
  .brand-img img { height: 280px; }
  .news-section { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-layout { grid-template-columns: 1fr; gap: 1.5rem; padding: 3rem 0; }
  .side-menu { position: static; }
  .contact-grid { grid-template-columns: 1fr; padding: 3rem 0; }
  .channels-grid { grid-template-columns: repeat(2,1fr); }
  .process-img-grid { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .prod-slide { flex: 0 0 calc((100% - 1.5rem) / 2); }
  .prod-prev-btn { left: -14px; }
  .prod-next-btn { right: -14px; }
}
@media (max-width: 640px) {
  .products-grid { grid-template-columns: repeat(2,1fr); gap: 1rem; }
  .products-page-grid { grid-template-columns: repeat(2,1fr); }
  /* Banner: 維持圖片比例，手機螢幕等比縮小 */
  .hero { aspect-ratio: 2560 / 1086; min-height: 140px; }
  .hero-dots { bottom: 0.6rem; }
  .hero-prev, .hero-next { width: 36px; height: 36px; font-size: 1rem; }
  .hero-prev { left: 0.4rem; }
  .hero-next { right: 0.4rem; }
  .section { padding: 3.5rem 0; }
  .navbar-inner { height: 76px; }
  .navbar-logo img { height: 66px; }
  /* Topbar: hide brand text on mobile, center the links */
  .topbar .container > span:first-child { display: none; }
  .topbar .container { justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .channels-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .prod-slide { flex: 0 0 100%; }
  .prod-prev-btn { left: 0; }
  .prod-next-btn { right: 0; }
  .home-faq-grid { grid-template-columns: 1fr; }
  .home-faq-item:nth-child(2) { border-top: none; }
  /* news-list: tighter layout on small phones */
  .news-list-page a { gap: .8rem; padding: .9rem .4rem; }
  .news-tag-date { font-size: .78rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .topbar-right { gap: .75rem; font-size: .75rem; }
  .pagination { flex-wrap: wrap; }
  .breadcrumb { margin-bottom: 1.8rem; }
  /* Products: stay at 2-col but tighter gap */
  .products-page-grid { gap: .8rem; }
  .product-body { padding: .9rem .85rem; }
  .product-name { font-size: .9rem; }
  .product-sub { font-size: .78rem; }
  .product-price { font-size: .84rem; }
}
