/* ==========================================================================
   Okabee 歐佳比咖啡館 - 靜態站樣式
   ========================================================================== */
:root {
  --coffee-dark: #2b1d16;
  --coffee: #4a3428;
  --coffee-light: #7a5c46;
  --cream: #f5efe6;
  --cream-dark: #e8dcc8;
  --gold: #b08d57;
  --white: #fff;
  --text: #3a2e26;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

.container { max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ---------- Header ---------- */
.site-header {
  background: var(--coffee-dark);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.25);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--white); }
.brand img { height: 40px; width: auto; }
.brand .brand-name { font-size: 1.15rem; font-weight: 700; letter-spacing: 1px; }

.main-nav ul { list-style: none; display: flex; gap: 24px; }
.main-nav a {
  color: var(--cream);
  text-decoration: none;
  font-size: .98rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.main-nav a:hover, .main-nav a.active { color: var(--white); border-bottom-color: var(--gold); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.6rem;
  cursor: pointer;
}

/* ---------- Hero ---------- */
.hero img { width: 100%; height: auto; display: block; }

/* ---------- Page title ---------- */
.page-title {
  background: var(--coffee);
  color: var(--white);
  padding: 18px 0;
  text-align: center;
}
.page-title h1 { font-size: 1.5rem; font-weight: 700; letter-spacing: 2px; }

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section-alt { background: var(--white); }

.intro-list { list-style: none; text-align: center; }
.intro-list li { margin-bottom: 12px; }
.intro-list h3 { font-size: 1.2rem; color: var(--coffee-dark); }

.shop-link {
  display: inline-block;
  margin-top: 16px;
  background: var(--gold);
  color: var(--white);
  padding: 12px 28px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 1px;
  transition: background .2s;
}
.shop-link:hover { background: var(--coffee-light); }
.shop-note { display: block; margin-top: 8px; font-size: .9rem; color: var(--coffee-light); }

/* ---------- Product cards ---------- */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  list-style: none;
}
.product-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: transform .2s, box-shadow .2s;
}
.product-card:hover { transform: translateY(-4px); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.product-card a.card-link { text-decoration: none; color: inherit; display: block; }
.product-card .thumb {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--cream-dark);
}
.product-card .card-body { padding: 16px; }
.product-card h3 { font-size: 1.05rem; color: var(--coffee-dark); margin-bottom: 8px; }
.product-card .price { color: var(--gold); font-weight: 700; font-size: 1.05rem; }
.product-card .desc { font-size: .9rem; color: var(--coffee-light); margin-top: 6px; }

/* ---------- Product detail ---------- */
.product-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 32px;
  align-items: start;
}
.product-detail .main-img { width: 100%; border-radius: 8px; }
.detail-list { list-style: none; margin: 12px 0; }
.detail-list li { padding: 8px 0; border-bottom: 1px dashed var(--cream-dark); }
.detail-list strong { color: var(--coffee-dark); }
.prose { margin-top: 16px; }
.prose p { margin-bottom: 12px; }

/* ---------- Article ---------- */
.article-meta { color: var(--coffee-light); font-size: .9rem; margin-bottom: 16px; }
.article img { max-width: 100%; border-radius: 8px; margin-bottom: 16px; }
.article h3 { margin: 18px 0 10px; color: var(--coffee-dark); }

/* ---------- Info list ---------- */
.info-list { list-style: none; counter-reset: info; }
.info-list li { padding: 12px 0; border-bottom: 1px solid var(--cream-dark); }
.info-list strong { color: var(--coffee-dark); }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 12px 0; font-size: .85rem; color: var(--coffee-light); }
.breadcrumb a { color: var(--coffee-light); }
.breadcrumb a:hover { color: var(--coffee); }
.breadcrumb .sep { margin: 0 6px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--coffee-dark);
  color: var(--cream);
  text-align: center;
  padding: 28px 20px;
  margin-top: 48px;
}
.site-footer .container { padding: 0; }
.site-footer a { color: var(--gold); }
.site-footer p { margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .main-nav { display: none; width: 100%; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: 4px; padding: 8px 0; }
  .main-nav a { display: block; padding: 10px 0; }
  .nav-toggle { display: block; }
  .site-header .container { flex-wrap: wrap; }
  .product-detail { grid-template-columns: 1fr; }
}
