/* === Visual table card utilities (Tailwind palette additions) ===
   These rules add the color classes used by visual replacements of
   tabular content (price-bar cards, series cards, status cards, etc.)
   so the precompiled Tailwind bundle does not need a rebuild. */

/* Solid backgrounds */
.bg-rose-50 { background-color: #fff1f2; }
.bg-rose-100 { background-color: #ffe4e6; }
.bg-amber-50 { background-color: #fffbeb; }
.bg-amber-100 { background-color: #fef3c7; }
.bg-sky-50 { background-color: #f0f9ff; }
.bg-sky-100 { background-color: #e0f2fe; }
.bg-emerald-50 { background-color: #ecfdf5; }
.bg-emerald-100 { background-color: #d1fae5; }
.bg-emerald-600 { background-color: #059669; }
.bg-emerald-700 { background-color: #047857; }
.hover\:bg-emerald-700:hover { background-color: #047857; }
.bg-orange-50 { background-color: #fff7ed; }
.bg-purple-50 { background-color: #faf5ff; }
.bg-indigo-50 { background-color: #eef2ff; }

/* Translucent (15%) icon backgrounds */
.bg-rose-500\/15 { background-color: rgba(244, 63, 94, 0.15); }
.bg-amber-500\/15 { background-color: rgba(245, 158, 11, 0.15); }
.bg-sky-500\/15 { background-color: rgba(14, 165, 233, 0.15); }
.bg-orange-500\/15 { background-color: rgba(249, 115, 22, 0.15); }
.bg-purple-500\/15 { background-color: rgba(168, 85, 247, 0.15); }
.bg-indigo-500\/15 { background-color: rgba(99, 102, 241, 0.15); }
.bg-slate-700\/15 { background-color: rgba(51, 65, 85, 0.15); }

/* Text colors */
.text-rose-600 { color: #e11d48; }
.text-amber-600 { color: #d97706; }
.text-sky-500 { color: #0ea5e9; }
.text-sky-600 { color: #0284c7; }
.text-emerald-600 { color: #059669; }
.text-orange-600 { color: #ea580c; }
.text-purple-600 { color: #9333ea; }
.text-indigo-600 { color: #4f46e5; }
.text-slate-700 { color: #334155; }

/* Borders (semi-transparent) */
.border-rose-100 { border-color: #ffe4e6; }
.border-amber-100 { border-color: #fef3c7; }
.border-sky-100 { border-color: #e0f2fe; }
.border-emerald-200\/60 { border-color: rgba(167, 243, 208, 0.6); }
.border-rose-200\/60 { border-color: rgba(254, 205, 211, 0.6); }
.border-amber-200\/60 { border-color: rgba(253, 230, 138, 0.6); }
.border-amber-200\/50 { border-color: rgba(253, 230, 138, 0.5); }
.border-sky-200\/50 { border-color: rgba(186, 230, 253, 0.5); }
.border-orange-200\/60 { border-color: rgba(254, 215, 170, 0.6); }
.border-orange-200\/50 { border-color: rgba(254, 215, 170, 0.5); }
.border-purple-200\/60 { border-color: rgba(233, 213, 255, 0.6); }
.border-purple-200\/50 { border-color: rgba(233, 213, 255, 0.5); }
.border-indigo-200\/50 { border-color: rgba(199, 210, 254, 0.5); }
.border-slate-300\/60 { border-color: rgba(203, 213, 225, 0.6); }

/* Gradient direction (mimics Tailwind's CSS-variable approach) */
.bg-gradient-to-br {
  background-image: linear-gradient(
    to bottom right,
    var(--tw-gradient-stops, var(--tw-gradient-from, transparent), var(--tw-gradient-to, transparent))
  );
}

/* Gradient color stops */
.from-amber-50 { --tw-gradient-from: #fffbeb; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 251, 235, 0)); }
.from-amber-50\/60 { --tw-gradient-from: rgba(255, 251, 235, 0.6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 251, 235, 0)); }
.from-orange-50 { --tw-gradient-from: #fff7ed; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 247, 237, 0)); }
.from-orange-50\/60 { --tw-gradient-from: rgba(255, 247, 237, 0.6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 247, 237, 0)); }
.from-rose-50 { --tw-gradient-from: #fff1f2; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(255, 241, 242, 0)); }
.from-purple-50 { --tw-gradient-from: #faf5ff; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(250, 245, 255, 0)); }
.from-purple-50\/60 { --tw-gradient-from: rgba(250, 245, 255, 0.6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(250, 245, 255, 0)); }
.from-sky-50\/60 { --tw-gradient-from: rgba(240, 249, 255, 0.6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(240, 249, 255, 0)); }
.from-indigo-50\/60 { --tw-gradient-from: rgba(238, 242, 255, 0.6); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(238, 242, 255, 0)); }
.from-emerald-50 { --tw-gradient-from: #ecfdf5; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(236, 253, 245, 0)); }
.from-slate-100 { --tw-gradient-from: #f1f5f9; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, rgba(241, 245, 249, 0)); }

.to-white { --tw-gradient-to: #ffffff; }
.to-emerald-100\/50 { --tw-gradient-to: rgba(209, 250, 229, 0.5); }

/* === Product detail sticky sidebar layout === */
.product-detail-layout {
  max-width: 72rem;
  margin: 0 auto;
  padding: 1.25rem 1rem 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.25rem;
  align-items: start;
}

.product-detail-content {
  min-width: 0;
}

.product-detail-content > section {
  position: relative;
  margin-bottom: 1.25rem;
  border-radius: 1.75rem;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.12);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.06);
}

.product-detail-content > section:last-child {
  margin-bottom: 0;
}

.product-detail-content > section[id],
.product-page-mobile-nav[id] {
  scroll-margin-top: 6.75rem;
}

.product-page-mobile-nav {
  margin-bottom: 1.25rem;
}

.product-sidecard {
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.14);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 18px 44px rgba(15, 23, 42, 0.08);
  backdrop-filter: blur(16px);
}

.product-sidecard + .product-sidecard {
  margin-top: 1rem;
}

.product-sidecard__inner {
  padding: 1.15rem;
}

.product-sidecard__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(180, 83, 9, 0.08);
  color: #92400e;
  font-size: 0.82rem;
  font-weight: 700;
}

.product-sidecard__title {
  margin: 0;
  color: #0f172a;
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 800;
}

.product-sidecard__text {
  margin: 0.7rem 0 0;
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.7;
}

.product-sidecard__meta {
  margin-top: 0.95rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.product-sidecard__meta-item {
  padding: 0.85rem;
  border-radius: 1rem;
  background: rgba(248, 250, 252, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.product-sidecard__meta-label {
  display: block;
  color: #64748b;
  font-size: 0.78rem;
  margin-bottom: 0.2rem;
}

.product-sidecard__meta-value {
  display: block;
  color: #0f172a;
  font-size: 0.98rem;
  font-weight: 700;
}

.product-sidebar {
  display: none;
}

.product-sidebar__nav {
  display: grid;
  gap: 0.55rem;
  margin-top: 1rem;
}

.product-sidebar__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  padding: 0.8rem 0.95rem;
  border-radius: 0.95rem;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 250, 252, 0.92);
  color: #334155;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.product-sidebar__link:hover,
.product-sidebar__link.is-active {
  border-color: rgba(180, 83, 9, 0.3);
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.1), rgba(245, 158, 11, 0.08));
  color: #92400e;
  transform: translateX(2px);
}

.product-sidebar__link-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.8rem;
  height: 1.8rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  color: #92400e;
  font-size: 0.8rem;
  font-weight: 800;
  flex-shrink: 0;
}

.product-sidebar__link-label {
  flex: 1;
  min-width: 0;
}

.product-sidebar__cta-group {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.product-sidebar__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  min-height: 3rem;
  padding: 0.85rem 1rem;
  border-radius: 999px;
  font-weight: 800;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.product-sidebar__cta:hover {
  opacity: 0.96;
  transform: translateY(-1px);
}

.product-sidebar__cta--primary {
  background: linear-gradient(135deg, #92400e, #b45309);
  color: #fff;
  box-shadow: 0 12px 30px rgba(146, 64, 14, 0.26);
}

.product-sidebar__cta--secondary {
  background: #fff;
  color: #92400e;
  border: 1px solid rgba(180, 83, 9, 0.24);
}

.product-sidecard__list {
  display: grid;
  gap: 0.65rem;
  margin-top: 1rem;
}

.product-sidecard__list-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: #475569;
  font-size: 0.93rem;
  line-height: 1.65;
}

.product-sidecard__list-item i {
  margin-top: 0.18rem;
  color: #92400e;
  flex-shrink: 0;
}

.product-mobile-nav__scroll {
  display: flex;
  gap: 0.7rem;
  margin-top: 1rem;
  overflow-x: auto;
  padding-bottom: 0.2rem;
  scrollbar-width: thin;
}

.product-mobile-nav__scroll::-webkit-scrollbar {
  height: 6px;
}

.product-mobile-nav__scroll::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.45);
  border-radius: 999px;
}

.product-mobile-nav__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
  padding: 0.78rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: rgba(248, 250, 252, 0.96);
  color: #334155;
  font-size: 0.9rem;
  font-weight: 700;
}

.product-mobile-nav__chip:hover,
.product-mobile-nav__chip.is-active {
  border-color: rgba(180, 83, 9, 0.28);
  background: linear-gradient(135deg, rgba(180, 83, 9, 0.1), rgba(245, 158, 11, 0.08));
  color: #92400e;
}

@media (min-width: 1280px) {
  .product-detail-layout {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.5rem;
    padding-top: 2rem;
    padding-bottom: 0.5rem;
  }

  .product-sidebar {
    display: block;
    position: sticky;
    top: 6.5rem;
    align-self: start;
    height: fit-content;
  }

  .product-page-mobile-nav {
    display: none;
  }
}

@media (max-width: 1279px) {
  .product-detail-layout {
    padding-top: 1rem;
  }

  .product-detail-content > section {
    border-radius: 1.5rem;
  }
}

@media (max-width: 767px) {
  .product-detail-layout {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .product-sidecard__inner {
    padding: 1rem;
  }

  .product-sidecard__meta {
    grid-template-columns: 1fr 1fr;
  }
}

/* === Product detail width tuning (2026-03-06) === */
@media (min-width: 1280px) {
  .product-detail-page .product-detail-layout {
    max-width: 80rem;
    grid-template-columns: minmax(0, 1fr) 336px;
    gap: 2rem;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  .product-detail-page .product-detail-content > section > .container.max-w-5xl {
    max-width: 72rem;
  }

  .product-detail-page .product-detail-content > section > .container.max-w-4xl {
    max-width: 64rem;
  }
}

@media (min-width: 1536px) {
  .product-detail-page .product-detail-layout {
    max-width: 80rem;
    grid-template-columns: minmax(0, 1fr) 352px;
    gap: 2.25rem;
  }
}

/* Blog sidebar */
.blog-sidebar-column{
  min-width:0;
}

.blog-sidebar-sticky{
  position:static;
}
.blog-sidebar-card{
  border:1px solid rgba(229,231,235,0.95);
  box-shadow:0 18px 48px rgba(15,23,42,0.08);
}
.blog-sidebar-card + .blog-sidebar-card{ margin-top:1.5rem; }
.blog-sidebar-title{
  font-size:0.78rem;
  font-weight:800;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:#a16207;
}
.blog-sidebar-list a{
  display:flex;
  align-items:flex-start;
  gap:.75rem;
  padding:.85rem 0;
  color:#1f2937;
  transition:color .18s ease, transform .18s ease;
}
.blog-sidebar-list a + a{ border-top:1px solid rgba(229,231,235,0.9); }
.blog-sidebar-list a:hover{
  color:#b45309;
  transform:translateX(2px);
}
.blog-sidebar-bullet{
  flex:0 0 .55rem;
  width:.55rem;
  height:.55rem;
  margin-top:.45rem;
  border-radius:999px;
  background:#f5b200;
  box-shadow:0 0 0 6px rgba(245,178,0,0.12);
}
.blog-toc-list{ list-style:none; padding:0; margin:0; }
.blog-toc-list a{
  display:block;
  padding:.6rem .85rem;
  border-radius:.9rem;
  color:#4b5563;
  line-height:1.45;
  transition:background .18s ease, color .18s ease, transform .18s ease;
}
.blog-toc-list a:hover{
  background:rgba(245,178,0,0.12);
  color:#92400e;
  transform:translateX(2px);
}
.blog-toc-list a.is-active{
  background:linear-gradient(135deg, rgba(245,178,0,0.18), rgba(245,178,0,0.08));
  color:#7c2d12;
  font-weight:700;
}
.blog-toc-list li + li{ margin-top:.35rem; }
.blog-toc-list li[data-level="3"] a{ padding-left:1.65rem; font-size:.95rem; }
.blog-article-content h2,
.blog-article-content h3{
  scroll-margin-top:120px;
}
.blog-sidebar-cta-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.55rem;
  border-radius:999px;
  padding:.8rem 1rem;
  font-weight:700;
  width:100%;
}
@media (max-width: 1023px){
  .blog-sidebar-column,
  .blog-sidebar-sticky{ position:static; top:auto; }
}

.blog-detail-layout,
.blog-list-layout{
  display:block;
}
.blog-detail-main,
.blog-list-main,
.blog-sidebar-column{ min-width:0; }
.blog-sidebar-column{ margin-top:2.5rem; }
.blog-sidebar-btn--whatsapp{
  background:#25D366;
  color:#fff;
}
.blog-sidebar-btn--whatsapp:hover{ background:#128C7E; }
.blog-sidebar-btn--soft{
  background:rgba(245,178,0,0.12);
  color:#a16207;
}
.blog-sidebar-btn--soft:hover{ background:rgba(245,178,0,0.22); }
@media (min-width:1024px){
  .blog-detail-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:2rem;
    align-items:start;
  }
  .blog-sidebar-column{
    margin-top:0;
    position:sticky;
    top:calc(88px + 1.5rem);
    align-self:start;
    height:fit-content;
  }
}
@media (min-width:1280px){
  .blog-list-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 320px;
    gap:2rem;
    align-items:start;
  }
  .blog-list-sidebar{
    margin-top:0;
    position:sticky;
    top:calc(88px + 1.5rem);
    align-self:start;
    height:fit-content;
  }
}



/* === Product page utility compatibility shims (2026-03-19) === */
.text-text-primary { color: #0f172a; }
.text-text-secondary { color: #475569; }
.text-text-light { color: var(--color-light-text); }
.text-dark-text { color: #1f2937; }
.text-secondary-light { color: #d1d5db; }
.text-accent { color: var(--color-primary-dark); }
.text-gold-dark { color: #92400e; }

.bg-background { background-color: var(--color-light-bg); }
.bg-surface { background-color: #ffffff; }
.bg-section-bg { background-color: #fcfaf7; }
.bg-subtle { background-color: #fcfaf7; }
.bg-neutral { background-color: #fafaf9; }
.bg-secondary-light { background-color: rgba(34, 34, 34, 0.88); }
.bg-gold-light { background-color: rgba(var(--color-primary-rgb), 0.14); }
.bg-radial-gradient { background-image: radial-gradient(circle at center, rgba(255,255,255,0.55), rgba(255,255,255,0) 70%); }
.bg-secondary\/98 { background-color: rgba(34, 34, 34, 0.98); }

.shadow-soft { box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08); }
.shadow-lift { box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12); }
.shadow-lifted { box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14); }
.shadow-subtle { box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08); }
.hover\:shadow-soft:hover { box-shadow: 0 18px 44px rgba(15, 23, 42, 0.10); }
.hover\:shadow-lift:hover { box-shadow: 0 26px 60px rgba(15, 23, 42, 0.16); }

.btn-primary,
.btn-secondary,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.85rem 1.2rem;
  border-radius: 9999px;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #ffffff;
  box-shadow: 0 14px 32px rgba(var(--color-primary-rgb), 0.28);
}

.btn-primary:hover,
.btn-secondary:hover,
.btn-outline:hover {
  transform: translateY(-1px);
}

.btn-secondary,
.btn-outline {
  background: #ffffff;
  color: var(--color-secondary);
  border: 1px solid rgba(var(--color-primary-rgb), 0.32);
}

.btn-secondary:hover,
.btn-outline:hover {
  background: rgba(var(--color-primary-rgb), 0.06);
  border-color: rgba(var(--color-primary-rgb), 0.5);
}

.aspect-w-1.aspect-h-1,
.aspect-w-4.aspect-h-3 {
  position: relative;
  overflow: hidden;
}

.aspect-w-1.aspect-h-1 { padding-bottom: 100%; }
.aspect-w-4.aspect-h-3 { padding-bottom: 75%; }

.aspect-w-1.aspect-h-1 > *,
.aspect-w-4.aspect-h-3 > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Champagne CTA panel fix */
body[data-page="champagne"] .champagne-cta-panel {
  min-height: 100%;
}

body[data-page="champagne"] .champagne-cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  flex-shrink: 0;
  border-radius: 1rem;
  background: rgba(245, 178, 0, 0.12);
  color: #f5b200;
}

body[data-page="champagne"] .champagne-cta-primary,
body[data-page="champagne"] .champagne-cta-secondary {
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 1rem;
  padding: 1rem 1.25rem;
  text-align: center;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease, border-color .18s ease;
}

body[data-page="champagne"] .champagne-cta-primary {
  border: 1px solid rgba(245, 178, 0, 0.18);
  background: linear-gradient(135deg, rgba(245, 178, 0, 0.98), rgba(255, 200, 61, 0.94));
  color: #111827;
  box-shadow: 0 16px 30px rgba(245, 178, 0, 0.18);
}

body[data-page="champagne"] .champagne-cta-primary:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, rgba(255, 200, 61, 0.98), rgba(245, 178, 0, 0.94));
}

body[data-page="champagne"] .champagne-cta-secondary {
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: rgba(255, 255, 255, 0.96);
}

body[data-page="champagne"] .champagne-cta-secondary:hover {
  transform: translateY(-1px);
  border-color: rgba(245, 178, 0, 0.35);
  color: #f5b200;
}

body[data-page="champagne"] .champagne-cta-primary:focus-visible,
body[data-page="champagne"] .champagne-cta-secondary:focus-visible {
  outline: 2px solid rgba(245, 178, 0, 0.6);
  outline-offset: 2px;
}

/* === Unified page hero system === */
.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  /* 捲動時避免 hero 內大範圍 filter/backdrop-filter 與固定 navbar 共用合成層，
     引發 Chrome/Edge 桌面偶發性黑屏閃爍 */
  contain: layout paint style;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

.page-hero--standard,
.page-hero--compact {
  padding-bottom: 2.75rem !important;
}

.page-hero--standard {
  min-height: clamp(430px, 56vh, 580px);
}

.page-hero--compact {
  min-height: clamp(320px, 42vh, 430px);
}

.page-hero__image {
  transform: scale(1.03);
  filter: saturate(0.96) contrast(1.04);
}

.page-hero__overlay {
  background:
    radial-gradient(circle at top center, rgba(245, 178, 0, 0.16), transparent 38%),
    linear-gradient(180deg, rgba(8, 12, 20, 0.42) 0%, rgba(8, 12, 20, 0.64) 58%, rgba(8, 12, 20, 0.8) 100%);
}

.page-hero__content,
.page-hero__feature-content {
  position: relative;
  z-index: 2;
}

.page-hero__content--center {
  display: flex;
  justify-content: center;
}

.page-hero__surface {
  width: min(100%, 72rem);
  padding: clamp(1.5rem, 2.8vw, 2.75rem);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(10, 15, 26, 0.58), rgba(10, 15, 26, 0.28));
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 26px 80px rgba(2, 6, 23, 0.34);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.page-hero--compact .page-hero__surface {
  width: min(100%, 65rem);
  padding: clamp(1.35rem, 2.2vw, 2.25rem);
}

.page-hero__surface > h1,
.page-hero__surface > p,
.page-hero__surface > nav,
.page-hero__surface > div,
.page-hero__surface > span {
  margin-left: auto;
  margin-right: auto;
}

.page-hero__surface > h1 {
  max-width: 17ch;
  text-wrap: balance;
}

.page-hero--standard .page-hero__surface > h1 {
  max-width: 18ch;
}

.page-hero__surface > p {
  max-width: 58rem;
  color: rgba(255, 255, 255, 0.92);
}

.page-hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.page-hero__breadcrumb {
  width: fit-content;
  color: rgba(255, 255, 255, 0.82);
}

.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
}

.page-hero__actions a {
  box-shadow: 0 12px 28px rgba(8, 12, 20, 0.18);
}

.page-hero--feature {
  padding-bottom: 4rem !important;
}

.page-hero__feature-grid {
  align-items: center;
}

.page-hero__feature-main {
  padding: clamp(1.5rem, 2.8vw, 2.75rem);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(10, 15, 26, 0.42), rgba(10, 15, 26, 0.18));
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.page-hero__feature-card {
  box-shadow: 0 26px 80px rgba(2, 6, 23, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.page-hero__feature-main h1 {
  text-wrap: balance;
}

.page-hero__feature-main p:last-of-type {
  margin-bottom: 0;
}

/* 固定 navbar 本身有 backdrop-filter:blur(18px)，與 hero 的 blur 濾鏡合成時
   會造成桌面捲動一瞬間黑屏；將 shell 提升到獨立合成層避免交叉重繪 */
.site-navbar-shell {
  will-change: transform, background-color;
  transform: translate3d(0, 0, 0);
  -webkit-transform: translate3d(0, 0, 0);
}

.legal-page-shell {
  position: relative;
  padding-top: 4rem;
  padding-bottom: 4rem;
  background:
    linear-gradient(180deg, rgba(248, 244, 236, 0.95) 0%, rgba(255, 255, 255, 1) 34%),
    radial-gradient(circle at top center, rgba(245, 178, 0, 0.14), transparent 42%);
}

.legal-page-shell::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: min(28rem, 48vh);
  background:
    linear-gradient(180deg, rgba(8, 12, 20, 0.82), rgba(8, 12, 20, 0.58)),
    url('https://ik.imagekit.io/singwo/W9fgUbQ.jpg') center/cover no-repeat;
}

.legal-page-container {
  position: relative;
  z-index: 1;
  max-width: 72rem !important;
}

.legal-page-hero {
  padding: clamp(1.75rem, 3vw, 3rem);
  border-radius: 2rem;
  background: linear-gradient(145deg, rgba(10, 15, 26, 0.78), rgba(10, 15, 26, 0.56));
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  box-shadow: 0 24px 70px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.legal-page-hero h1 {
  color: #fff;
  text-wrap: balance;
}

.legal-page-hero__meta {
  display: inline-flex;
  width: fit-content;
  margin-top: 0.25rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.82) !important;
}

.legal-page-hero__text {
  max-width: 58rem;
  color: rgba(255, 255, 255, 0.92) !important;
}

.legal-page-card {
  position: relative;
  border-radius: 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.16) !important;
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.06);
}

.legal-page-container > .legal-page-card,
.legal-page-container > section {
  margin-top: 1.5rem;
}

@media (max-width: 1023px) {
  .page-hero--feature {
    padding-top: 7rem !important;
  }

  .page-hero__feature-main {
    margin-bottom: 1rem;
  }
}



/* === Compact blog hero tuning for long H1 pages === */
body:is(
  [data-page="blog-yamazaki-recycling-guide-2026"],
  [data-page="blog-yoichi-recycling-guide-2026"],
  [data-page="blog-dom-perignon-vintage-philosophy"],
  [data-page="blog-la-tache-investment-guide"],
  [data-page="blog-dom-perignon-krug-salon-value-comparison"],
  [data-page="blog-martell-recycling-price-guide-2026"]
) .page-hero.page-hero--compact {
  min-height: clamp(340px, 45vh, 460px);
}

body:is(
  [data-page="blog-yamazaki-recycling-guide-2026"],
  [data-page="blog-yoichi-recycling-guide-2026"],
  [data-page="blog-dom-perignon-vintage-philosophy"],
  [data-page="blog-la-tache-investment-guide"],
  [data-page="blog-dom-perignon-krug-salon-value-comparison"],
  [data-page="blog-martell-recycling-price-guide-2026"]
) .page-hero--compact .page-hero__surface {
  width: min(100%, 69rem);
  padding: clamp(1.45rem, 2.4vw, 2.35rem);
}

body:is(
  [data-page="blog-yamazaki-recycling-guide-2026"],
  [data-page="blog-yoichi-recycling-guide-2026"],
  [data-page="blog-dom-perignon-vintage-philosophy"],
  [data-page="blog-la-tache-investment-guide"],
  [data-page="blog-dom-perignon-krug-salon-value-comparison"],
  [data-page="blog-martell-recycling-price-guide-2026"]
) .page-hero--compact .page-hero__surface > h1 {
  max-width: 24ch;
  font-size: clamp(1.9rem, 3.2vw, 3.35rem) !important;
  line-height: 1.12 !important;
  letter-spacing: -0.02em;
}

@media (max-width: 767px) {
  body:is(
    [data-page="blog-yamazaki-recycling-guide-2026"],
    [data-page="blog-yoichi-recycling-guide-2026"],
    [data-page="blog-dom-perignon-vintage-philosophy"],
    [data-page="blog-la-tache-investment-guide"],
    [data-page="blog-dom-perignon-krug-salon-value-comparison"],
    [data-page="blog-martell-recycling-price-guide-2026"]
  ) .page-hero.page-hero--compact {
    min-height: 330px;
  }

  body:is(
    [data-page="blog-yamazaki-recycling-guide-2026"],
    [data-page="blog-yoichi-recycling-guide-2026"],
    [data-page="blog-dom-perignon-vintage-philosophy"],
    [data-page="blog-la-tache-investment-guide"],
    [data-page="blog-dom-perignon-krug-salon-value-comparison"],
    [data-page="blog-martell-recycling-price-guide-2026"]
  ) .page-hero--compact .page-hero__surface {
    width: min(100%, 100%);
    padding: 1.15rem;
  }

  body:is(
    [data-page="blog-yamazaki-recycling-guide-2026"],
    [data-page="blog-yoichi-recycling-guide-2026"],
    [data-page="blog-dom-perignon-vintage-philosophy"],
    [data-page="blog-la-tache-investment-guide"],
    [data-page="blog-dom-perignon-krug-salon-value-comparison"],
    [data-page="blog-martell-recycling-price-guide-2026"]
  ) .page-hero--compact .page-hero__surface > h1 {
    max-width: 15ch;
    font-size: clamp(1.7rem, 7vw, 2.15rem) !important;
    line-height: 1.14 !important;
  }
}


body[data-page="blog-holiday-seafood-gift-box-cashout-guide"] .page-hero.page-hero--compact {
  min-height: clamp(400px, 50vh, 520px);
  padding-top: 6.5rem !important;
}

body[data-page="blog-holiday-seafood-gift-box-cashout-guide"] .page-hero__content--center {
  padding-top: 1.25rem;
}

body[data-page="blog-holiday-seafood-gift-box-cashout-guide"] .page-hero--compact .page-hero__surface {
  width: min(100%, 66rem);
}

body[data-page="blog-holiday-seafood-gift-box-cashout-guide"] .page-hero--compact .page-hero__surface > h1 {
  max-width: 18ch;
  font-size: clamp(1.95rem, 3.15vw, 3.3rem) !important;
  line-height: 1.1 !important;
}

@media (max-width: 767px) {
  body[data-page="blog-holiday-seafood-gift-box-cashout-guide"] .page-hero.page-hero--compact {
    min-height: 360px;
    padding-top: 5.75rem !important;
  }

  body[data-page="blog-holiday-seafood-gift-box-cashout-guide"] .page-hero__content--center {
    padding-top: 0.85rem;
  }

  body[data-page="blog-holiday-seafood-gift-box-cashout-guide"] .page-hero--compact .page-hero__surface > h1 {
    max-width: 13ch;
    font-size: clamp(1.72rem, 7.2vw, 2.25rem) !important;
    line-height: 1.14 !important;
  }
}

@media (max-width: 767px) {
  .page-hero--standard {
    min-height: 420px;
  }

  .page-hero--compact {
    min-height: 310px;
  }

  .page-hero__surface,
  .page-hero__feature-main,
  .legal-page-hero {
    border-radius: 1.5rem;
  }

  .page-hero__surface {
    padding: 1.25rem;
  }

  .page-hero__actions {
    gap: 0.7rem;
  }

  .page-hero__actions a {
    width: 100%;
  }

  .page-hero__actions a[href^="#"] {
    width: auto;
  }

  .legal-page-shell {
    padding-top: 3rem;
  }

  .legal-page-shell::before {
    height: 21rem;
  }
}


/* === Utility compatibility shims (2026-03-23 layout audit) === */
.text-secondary-dark { color: #1f2937; }
.border-surface { border-color: #ffffff; }
.border-gold { border-color: rgba(var(--color-primary-rgb), 0.34); }
.border-gold\/30 { border-color: rgba(var(--color-primary-rgb), 0.30); }
.bg-gold\/10 { background-color: rgba(var(--color-primary-rgb), 0.10); }
.bg-primary\/12 { background-color: rgba(var(--color-primary-rgb), 0.12); }
.border-white\/12 { border-color: rgba(255, 255, 255, 0.12); }
.hover\:shadow-soft-lg:hover { box-shadow: 0 22px 52px rgba(15, 23, 42, 0.14); }
.hover\:border-gold:hover { border-color: rgba(var(--color-primary-rgb), 0.36); }
.group:hover .group-hover\:text-gold { color: var(--color-primary); }
.shadow-\[0_24px_80px_rgba\(0\,0\,0\,0\.28\)\] { box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28); }
.bg-\[radial-gradient\(circle_at_top\,_rgba\(201\,169\,97\,0\.22\)\,_transparent_48\%\)\] {
  background-image: radial-gradient(circle at top, rgba(201, 169, 97, 0.22), transparent 48%);
}
.prose.prose-lg,
.prose-lg {
  font-size: 1.0625rem;
  line-height: 1.85;
}
@media (min-width: 768px) {
  .prose.prose-lg,
  .prose-lg {
    font-size: 1.125rem;
  }
}


/* === Desktop width tuning pass (2026-03-30, widen again) === */
@media (min-width: 1280px) {
  .max-w-7xl {
    max-width: 88rem !important;
  }

  .max-w-6xl {
    max-width: 82rem !important;
  }

  .max-w-5xl {
    max-width: 74rem !important;
  }

  .container:not(.max-w-3xl):not(.max-w-4xl):not(.max-w-5xl):not(.max-w-6xl):not(.max-w-7xl) {
    max-width: 88rem !important;
  }

  .page-hero__surface {
    width: min(100%, 80rem);
  }

  .page-hero--compact .page-hero__surface {
    width: min(100%, 72rem);
  }

  .legal-page-container {
    max-width: 80rem !important;
  }

  .blog-detail-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2.25rem;
  }

  .blog-list-layout {
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 2.25rem;
  }

  .product-detail-page .product-detail-layout {
    max-width: 88rem;
    grid-template-columns: minmax(0, 1fr) 352px;
    gap: 2.25rem;
  }

  .product-detail-page .product-detail-content > section > .container.max-w-5xl {
    max-width: 76rem;
  }

  .product-detail-page .product-detail-content > section > .container.max-w-4xl {
    max-width: 68rem;
  }
}

@media (min-width: 1536px) {
  .blog-detail-layout,
  .blog-list-layout {
    gap: 2.5rem;
  }

  .product-detail-page .product-detail-layout {
    max-width: 90rem;
    grid-template-columns: minmax(0, 1fr) 368px;
    gap: 2.5rem;
  }
}

/* === Design refinement pass (2026-04-17) ===
 * Four global, CSS-only fixes applied in response to a UI review:
 *   1. Typography hierarchy — step down font-black inside inner cards
 *   2. Primary color variation — differentiate eyebrow vs CTA tone
 *   3. Card shadow + border de-duplication — hairline when both present
 *   4. Homepage card noise reduction — tame repeated shadows on cards
 */

/* --- 1. Typography hierarchy --------------------------------------
 * Hero H1, section H2 and large stats keep `font-black` (900) as
 * dominant hits. Mid-level labels inside rounded cards (STEP 1,
 * card sub-titles, card meta-titles) step down to 800 so the
 * visual hierarchy no longer reads as "everything is loudest".
 */
.rounded-2xl p.font-black,
.rounded-xl  p.font-black,
.rounded-3xl p.font-black,
.rounded-2xl h3.font-black,
.rounded-2xl h4.font-black,
.rounded-xl  h3.font-black,
.rounded-xl  h4.font-black,
.rounded-3xl h3.font-black,
.rounded-3xl h4.font-black {
  font-weight: 800;
  letter-spacing: -0.005em;
}

/* --- 2. Primary color variation -----------------------------------
 * Uppercase / tracked micro-labels (eyebrow text, "STEP 1", hot-this-week
 * category badges) shift to a deeper, more elegant gold (#b27a00) so the
 * page stops reading as a single flat yellow. Buttons, icons, ping dots
 * and backgrounds keep the original bright #f5b200 (those come in via
 * `.bg-primary` / `.border-primary` utilities which aren't touched here).
 */
.text-primary.uppercase,
.dropdown-eyebrow,
.page-hero__eyebrow,
p.text-primary[class*="tracking-"],
span.text-primary[class*="tracking-"],
div.text-primary[class*="tracking-"] {
  color: #b27a00;
}
/* `.product-sidecard__eyebrow` already ships with its own brown tone
 * (#92400e) — intentionally left untouched. */
/* Pull the eyebrow pill in the hero to match the new muted tone while
 * keeping its translucent glass-chip background unchanged. */
.page-hero__eyebrow.text-primary {
  color: #f5b200; /* keep original on dark hero backgrounds for legibility */
}

/* --- 3. Shadow + border de-duplication ----------------------------
 * When a card ships with both a shadow AND a solid `border-gray-100`,
 * the two edges compete and cards look cluttered. Soften the border
 * to a near-invisible hairline so the shadow alone defines the card.
 * Fully opaque border stays on bordered-only cards (no shadow class).
 */
.shadow-sm.border-gray-100,
.shadow.border-gray-100,
.shadow-md.border-gray-100,
.shadow-lg.border-gray-100,
.shadow-xl.border-gray-100,
.shadow-soft.border-gray-100,
.shadow-sm.border.border-gray-100,
.shadow-soft.border.border-gray-100,
.hover\:shadow-xl.border-gray-100,
.hover\:shadow-lg.border-gray-100 {
  border-color: rgba(226, 232, 240, 0.5);
}

/* --- 4. Homepage card noise reduction -----------------------------
 * On the index page, dozens of identical `bg-light-bg` info cards stack
 * vertically and all carry the same drop shadow. Drop the shadow on
 * these inner cards so the hierarchy is: hero (shadow-2xl) > primary
 * section card (shadow-sm) > inner tile (flat). Cards that earn
 * emphasis (hover-lift "why-us" tiles, "hot this week" chips on dark
 * bg) are scoped-out and keep their treatment.
 */
[data-page="index"] section .bg-light-bg.rounded-lg:not(.shadow-xl),
[data-page="index"] section .bg-light-bg.rounded-xl:not(.shadow-xl),
[data-page="index"] section .bg-light-bg.rounded-2xl:not(.shadow-xl) {
  box-shadow: none;
}

/* Stepped-card grids (grid > card) get a unified softer shadow rather
 * than each card reaching for `shadow-sm` / `shadow-lg` individually. */
[data-page="index"] section .grid > .bg-white.rounded-xl,
[data-page="index"] section .grid > .bg-white.rounded-2xl {
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.05);
}

/* Preserve deliberately emphasised cards (hero side-card, hot-this-week
 * panel, why-us hover tiles) — they live outside the selectors above
 * so these rules simply don't touch them. Kept here as a reminder. */


/* --- global blog article typography safety net --- */
.blog-article-content{
  font-size:1.125rem;
  line-height:1.9;
  color:var(--color-body-text);
}
.blog-article-content p,
.blog-article-content li{
  font-size:1.125rem;
  line-height:1.9;
  color:var(--color-body-text);
}
.blog-article-content p{
  margin-bottom:1.5em;
}
.blog-article-content h2{
  font-size:clamp(1.65rem, 2.2vw, 2rem);
  line-height:1.3;
  font-weight:800;
  color:var(--color-secondary);
  margin-top:2.35em;
  margin-bottom:1.05em;
  padding-bottom:.55rem;
  border-bottom:2px solid var(--color-primary);
  display:inline-block;
}
.blog-article-content h3{
  font-size:clamp(1.35rem, 1.8vw, 1.6rem);
  line-height:1.35;
  font-weight:750;
  color:var(--color-secondary);
  margin-top:2em;
  margin-bottom:.9em;
}
.blog-article-content h2 + p,
.blog-article-content h3 + p{
  margin-top:0;
}
.blog-article-content ul,
.blog-article-content ol{
  margin-bottom:1.5em;
  padding-left:1.45em;
}
.blog-article-content ul{ list-style:disc; }
.blog-article-content ol{ list-style:decimal; }
.blog-article-content .not-prose,
.blog-article-content .not-prose p,
.blog-article-content .not-prose li{
  font-size:revert;
  line-height:revert;
  color:revert;
}

/* === Factor accordion — 收酒因素 / 酒類比較 (取代部分表格用) === */
.factor-accordion{
  display:grid;
  gap:.85rem;
}
.factor-accordion__item{
  border:1px solid rgba(148, 163, 184, .25);
  border-radius:1rem;
  background:#fff;
  box-shadow:0 1px 2px rgba(15, 23, 42, .03);
  overflow:hidden;
  transition:border-color .2s ease, box-shadow .2s ease;
}
.factor-accordion__item[open]{
  border-color:rgba(180, 83, 9, .35);
  box-shadow:0 8px 24px rgba(15, 23, 42, .06);
}
.factor-accordion__summary{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.65rem .85rem;
  padding:1rem 1.1rem;
  cursor:pointer;
  list-style:none;
  -webkit-user-select:none;
  user-select:none;
  font-weight:700;
  color:var(--color-secondary, #1f2937);
}
.factor-accordion__summary::-webkit-details-marker{ display:none; }
.factor-accordion__summary::marker{ display:none; content:""; }
.factor-accordion__summary:focus-visible{
  outline:2px solid #f5b200;
  outline-offset:2px;
}
.factor-accordion__title{
  display:inline-flex;
  align-items:center;
  gap:.6rem;
  flex:1 1 auto;
  min-width:0;
  font-size:1.02rem;
  line-height:1.45;
  word-break:break-word;
}
.factor-accordion__icon{
  width:1.65rem;
  height:1.65rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:.55rem;
  background:rgba(245, 178, 0, .14);
  color:#b45309;
  font-size:.9rem;
  flex-shrink:0;
}
.factor-accordion__badge{
  display:inline-flex;
  align-items:center;
  gap:.3rem;
  padding:.28rem .7rem;
  border-radius:999px;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.02em;
  white-space:nowrap;
  flex-shrink:0;
}
.factor-accordion__badge--high{
  background:#fff1f2;
  color:#be123c;
  border:1px solid #ffe4e6;
}
.factor-accordion__badge--mid{
  background:#fffbeb;
  color:#b45309;
  border:1px solid #fef3c7;
}
.factor-accordion__badge--low{
  background:#f0f9ff;
  color:#0369a1;
  border:1px solid #e0f2fe;
}
.factor-accordion__badge--neutral{
  background:#f1f5f9;
  color:#334155;
  border:1px solid #e2e8f0;
}
.factor-accordion__chev{
  margin-left:auto;
  color:#94a3b8;
  font-size:.85rem;
  transition:transform .25s ease;
  flex-shrink:0;
}
.factor-accordion__item[open] .factor-accordion__chev{
  transform:rotate(180deg);
}
.factor-accordion__body{
  padding:.2rem 1.1rem 1.1rem;
  border-top:1px dashed rgba(148, 163, 184, .25);
}
.blog-article-content .factor-accordion__body > p{
  margin:.85rem 0 0;
  color:#475569;
  font-size:.95rem;
  line-height:1.75;
}
.blog-article-content .factor-accordion__body > p strong{
  color:#1f2937;
  font-weight:700;
}

@media (max-width: 480px){
  .factor-accordion__summary{
    padding:.9rem 1rem;
    gap:.55rem .65rem;
  }
  .factor-accordion__title{
    flex:1 1 100%;
    order:1;
    font-size:.98rem;
  }
  .factor-accordion__badge{
    order:2;
    font-size:.74rem;
    padding:.22rem .55rem;
  }
  .factor-accordion__chev{
    order:3;
  }
  .factor-accordion__body{
    padding:.1rem .95rem 1rem;
  }
}

/* === Price-table sortable headers (wine-price-inquiry) === */
@media (min-width: 641px){
  .price-table thead th.price-table__sortable{
    cursor:pointer;
    -webkit-user-select:none;
    user-select:none;
    position:relative;
    padding-right:1.9em;
    transition:background-color .15s ease;
  }
  .price-table thead th.price-table__sortable::after{
    content:'\2195'; /* ↕ default */
    position:absolute;
    right:.7em;
    top:50%;
    transform:translateY(-50%);
    opacity:.45;
    font-size:.85em;
    font-weight:700;
    transition:opacity .2s ease, transform .2s ease;
    pointer-events:none;
  }
  .price-table thead th.price-table__sortable:hover{
    background-color:rgba(255,255,255,.08);
  }
  .price-table thead th.price-table__sortable:hover::after{
    opacity:.85;
  }
  .price-table thead th.price-table__sortable:focus-visible{
    outline:2px solid #f5b200;
    outline-offset:-2px;
  }
  .price-table thead th[data-sort-dir="asc"]::after{
    content:'\25B2'; /* ▲ */
    opacity:1;
    color:#f5b200;
  }
  .price-table thead th[data-sort-dir="desc"]::after{
    content:'\25BC'; /* ▼ */
    opacity:1;
    color:#f5b200;
  }
}

/* === 2026-05-05 missing-class fixes ===
   修復 HTML 用咗但 dist/style.css 冇 compile 嘅 class。
   寫喺 custom.css（手寫文件）— 重 build Tailwind 唔會被覆蓋。 */

/* navbar 2xl breakpoint gap variant —— Tailwind 預編譯 bundle 漏咗 */
@media (min-width: 1536px){
  .\32xl\:gap-1\.5{ gap: 0.375rem; }
}

/* page-hero 右側 5/12 容器（about-us / contact / index / wine-recycling-knowledge） */
.page-hero__feature-side{
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* 博客文章目錄卡 + nav（52 個 blog 頁） */
.blog-toc-card{
  display: block;
}
.blog-toc-nav{
  display: block;
  max-height: 60vh;
  overflow-y: auto;
}

/* 博客 sidebar chip 連結（cristal / hakushu blog） */
.blog-sidebar-chip{
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  margin: 0.2rem 0.25rem 0.2rem 0;
  border-radius: 999px;
  background: rgba(245, 178, 0, 0.10);
  border: 1px solid rgba(245, 178, 0, 0.32);
  color: var(--color-secondary, #222);
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}
.blog-sidebar-chip:hover{
  background: rgba(245, 178, 0, 0.18);
  border-color: rgba(245, 178, 0, 0.55);
  color: var(--color-primary, #f5b200);
}

/* 5 個 blog 用咗一套未統一嘅 mobile menu BEM class
   (cristal / hakushu / hibiki-box-seal / macallan-18-vs-25 / yamazaki-hibiki) */
.site-mobile-section__panel{
  display: block;
  margin-top: 0.75rem;
}
.site-mobile-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}
.site-mobile-chip{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.75rem;
  border-radius: 0.75rem;
  background: rgba(245, 178, 0, 0.08);
  border: 1px solid rgba(245, 178, 0, 0.28);
  color: var(--color-secondary, #222);
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  transition: background-color .2s ease, border-color .2s ease;
}
.site-mobile-chip:hover{
  background: rgba(245, 178, 0, 0.16);
  border-color: rgba(245, 178, 0, 0.5);
}
.site-mobile-contact{
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.site-mobile-contact__item{
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  background: #f8fafc;
  color: var(--color-secondary, #222);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
}
.site-mobile-contact__item:hover{
  background: #f1f5f9;
  color: var(--color-primary, #f5b200);
}

/* hanyu.html 用咗一套同其他頁唔同嘅 cta BEM 變體 */
.cta-text{
  margin-top: 1rem;
  color: #6b7280;
  font-size: 1rem;
  line-height: 1.65;
  max-width: 56ch;
}
.cta-card__actions{
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}
.cta-btn--primary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: var(--color-primary, #f5b200);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s ease, transform .2s ease;
}
.cta-btn--primary:hover{
  background: var(--color-primary-dark, #c98f00);
}
.cta-btn--secondary{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  background: #fff;
  color: var(--color-secondary, #222);
  font-weight: 700;
  border: 2px solid var(--color-secondary, #222);
  cursor: pointer;
  transition: background-color .2s ease, color .2s ease;
}
.cta-btn--secondary:hover{
  background: var(--color-secondary, #222);
  color: #fff;
}
.cta-card__grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 0 2rem 2rem;
}
@media (max-width: 768px){
  .cta-card__grid{ grid-template-columns: 1fr; }
}
.cta-mini-card{
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  padding: 1rem 1.1rem;
  border-radius: 1rem;
  background: rgba(245, 178, 0, 0.06);
  border: 1px solid rgba(245, 178, 0, 0.22);
}
.cta-mini-card h3{
  margin: 0 0 .25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-secondary, #222);
}
.cta-mini-card p{
  margin: 0;
  font-size: .9rem;
  color: #6b7280;
  line-height: 1.55;
}
.cta-mini-card__icon{
  flex-shrink: 0;
  width: 2.4rem;
  height: 2.4rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  background: var(--color-primary, #f5b200);
  color: #fff;
  font-size: 1.05rem;
}

/* silver.html step badge / hairline */
.bg-gold{
  background-color: var(--color-primary, #f5b200);
}
.process-step-icon-wrapper{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.process-step-number-badge{
  /* utility 嗰部分（absolute 等）已由 Tailwind base utility cover，呢度只補 base style */
  z-index: 2;
}

/* wine-price-inquiry.html 表單同 tab */
.form-group{
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.tab-content{
  display: block;
}
.tab-content.hidden{
  display: none;
}

/* balvenie.html price guide table + related links section */
.price-guide-table{
  width: 100%;
  border-collapse: collapse;
}
.price-guide-table th,
.price-guide-table td{
  padding: 0.65rem 0.9rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
  font-size: 0.95rem;
}
.price-guide-table thead th{
  background: #f9fafb;
  font-weight: 700;
  color: var(--color-secondary, #222);
  text-align: left;
}
.related-links{
  /* 容器，內部已用 Tailwind utility，呢度只確保 section 有正常 block 行為 */
  display: block;
}
/* === 2026-05-05 missing-class fixes 完 === */

/* hook class — 套喺 <section> 嘅 wrapper（balvenie.html line 466 等）只作 utility hook 用 */
.section{ display: block; }
