/* V7.19: Shared homepage-exact header, scoped to avoid legacy module styles. */
.eo19-topbar.topbar.site-header{position:fixed!important;z-index:1900!important;top:0!important;left:0!important;right:0!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important;display:block!important;min-height:0!important;background:rgba(248,245,239,.96)!important;border:0!important;border-bottom:1px solid rgba(60,48,38,.08)!important;border-radius:0!important;box-shadow:0 8px 24px rgba(60,48,38,.055)!important;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);transform:translateY(-110%)!important;opacity:0!important;pointer-events:none!important;transition:transform .28s ease,opacity .28s ease!important}
.eo19-topbar.topbar.site-header.show{transform:translateY(0)!important;opacity:1!important;pointer-events:auto!important}
.eo19-topbar .eo19-inner.topbar-inner{width:min(1280px,calc(100% - 64px))!important;max-width:1280px!important;min-height:88px!important;height:auto!important;margin:0 auto!important;padding:0!important;display:flex!important;align-items:center!important;flex-direction:row!important;justify-content:initial!important;gap:28px!important}
.eo19-topbar .eo19-brand.top-brand{display:flex!important;align-items:center!important;flex-direction:row!important;gap:14px!important;min-width:240px!important;flex:0 1 auto!important;max-width:46%!important;margin:0!important;padding:0!important;text-decoration:none!important;color:#28231f!important}
.eo19-brand img,.eo19-mobile-brand img{display:block!important;width:56px!important;height:56px!important;flex:0 0 56px!important;object-fit:contain!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}
.eo19-brand-text{display:flex!important;flex-direction:column!important;justify-content:center!important;min-width:0!important;max-width:100%!important}
.eo19-brand-text strong{display:block!important;max-width:100%!important;font-family:"Noto Serif TC","Songti TC","PMingLiU",serif!important;font-size:24px!important;line-height:1.1!important;font-weight:650!important;letter-spacing:.075em!important;white-space:normal!important;overflow-wrap:anywhere!important}
.eo19-brand-text small{display:block!important;margin-top:5px!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;color:#8a8077!important;font:11px/1.2 Arial,sans-serif!important;letter-spacing:.28em!important}
.eo19-topbar .eo19-nav.top-links{display:flex!important;align-items:center!important;flex-direction:row!important;justify-content:flex-end!important;flex-wrap:nowrap!important;gap:clamp(12px,2.1vw,38px)!important;min-width:0!important;margin:0 0 0 auto!important;padding:0!important;max-width:none!important;background:none!important;box-shadow:none!important;border:0!important;border-radius:0!important;position:static!important;opacity:1!important;visibility:visible!important;transform:none!important;font-family:"Noto Serif TC","Songti TC",serif!important;font-size:18px!important;font-weight:400!important;letter-spacing:.12em!important;overflow:visible!important}
.eo19-topbar .eo19-nav a{display:inline-block!important;position:relative!important;padding:32px 0 28px!important;margin:0!important;white-space:nowrap!important;min-height:0!important;color:#51483f!important;background:transparent!important;border:0!important;border-radius:0!important;text-decoration:none!important;font-size:inherit!important;font-weight:inherit!important;letter-spacing:inherit!important}
.eo19-topbar .eo19-nav a::after{content:""!important;position:absolute!important;left:0!important;right:0!important;bottom:22px!important;height:1px!important;background:#4d453e!important;transform:scaleX(0)!important;transform-origin:left!important;transition:transform .2s!important}
.eo19-topbar .eo19-nav a:hover::after,.eo19-topbar .eo19-nav a.current::after{transform:scaleX(1)!important}
.eo19-topbar .eo19-actions.top-actions{display:flex!important;flex-direction:row!important;align-items:center!important;gap:16px!important;margin:0 0 0 12px!important;padding:0!important;flex:0 0 auto!important}
.eo19-topbar .eo19-actions a{position:relative!important;display:grid!important;place-items:center!important;width:34px!important;height:34px!important;padding:0!important;margin:0!important;border:0!important;background:transparent!important;border-radius:0!important;color:#51483f!important;text-decoration:none!important}
.eo19-actions img{display:block!important;width:24px!important;height:24px!important;object-fit:contain!important;max-width:none!important}
.eo19-topbar .cart-count,.eo19-drawer .cart-count{position:absolute!important;top:-4px!important;right:-6px!important;min-width:16px!important;height:16px!important;padding:0 4px!important;border-radius:20px!important;color:#fff!important;background:#5d554d!important;text-align:center!important;font:10px/16px Arial,sans-serif!important}
.eo19-header-spacer{height:88px!important;max-height:88px!important}
.eo19-mobile-header.mobile-header,.eo19-drawer.mobile-drawer,.eo19-overlay.mobile-overlay{display:none!important}
/* For SEO pages, generic `header/nav` CSS must not apply to the global header. */
.eo19-topbar a,.eo19-mobile-header a,.eo19-drawer a{box-sizing:border-box!important}
@media(max-width:1160px) and (min-width:901px){
  .eo19-topbar .eo19-inner.topbar-inner{width:calc(100% - 36px)!important;gap:15px!important}
  .eo19-topbar .eo19-brand.top-brand{min-width:180px!important}
  .eo19-brand-text strong{font-size:20px!important}
  .eo19-topbar .eo19-nav.top-links{gap:15px!important;font-size:16px!important}
  .eo19-topbar .eo19-actions.top-actions{gap:9px!important;margin-left:0!important}
}
@media(max-width:900px){
  body.eo19-menu-open{overflow:hidden!important}
  .eo19-topbar.topbar.site-header{display:none!important}
  .eo19-mobile-header.mobile-header{position:fixed!important;inset:0 0 auto 0!important;z-index:1900!important;display:flex!important;align-items:center!important;flex-direction:row!important;justify-content:space-between!important;min-height:70px!important;height:70px!important;width:100%!important;margin:0!important;padding:10px 15px!important;background:rgba(248,245,239,.97)!important;border:0!important;border-bottom:1px solid rgba(60,48,38,.1)!important;box-shadow:0 7px 22px rgba(50,40,30,.055)!important;backdrop-filter:blur(15px)}
  .eo19-mobile-brand.mobile-brand{display:flex!important;align-items:center!important;flex-direction:row!important;gap:10px!important;min-width:0!important;max-width:calc(100% - 58px)!important;padding:0!important;margin:0!important;text-decoration:none!important;color:#28231f!important}
  .eo19-mobile-brand img{width:43px!important;height:43px!important;flex-basis:43px!important}
  .eo19-mobile-brand-copy{display:block!important;min-width:0!important}
  .eo19-mobile-brand-copy strong{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;font-family:"Noto Serif TC","Songti TC","PMingLiU",serif!important;font-size:18px!important;font-weight:650!important;line-height:1.1!important;letter-spacing:.075em!important}
  .eo19-mobile-brand-copy small{display:block!important;max-width:100%!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important;margin-top:5px!important;color:#8a8077!important;font:11px/1.2 Arial,sans-serif!important;letter-spacing:.28em!important}
  .eo19-mobile-header .eo19-menu-btn.mobile-menu-btn{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:5px!important;flex:0 0 46px!important;width:46px!important;height:46px!important;padding:0!important;margin:0!important;border:1px solid rgba(79,67,56,.16)!important;border-radius:50%!important;background:#fffaf4!important;box-shadow:none!important;cursor:pointer!important}
  .eo19-menu-btn span{display:block!important;width:19px!important;height:2px!important;background:#3f3832!important;border-radius:4px!important;transition:transform .2s,opacity .2s!important}
  .eo19-menu-btn.active span:nth-child(1){transform:translateY(7px) rotate(45deg)!important}
  .eo19-menu-btn.active span:nth-child(2){opacity:0!important}
  .eo19-menu-btn.active span:nth-child(3){transform:translateY(-7px) rotate(-45deg)!important}
  .eo19-overlay.mobile-overlay{position:fixed!important;inset:0!important;z-index:1905!important;display:block!important;background:rgba(35,29,24,.36)!important;opacity:0!important;pointer-events:none!important;transition:opacity .25s!important}
  .eo19-overlay.mobile-overlay.show{opacity:1!important;pointer-events:auto!important}
  .eo19-drawer.mobile-drawer{position:fixed!important;z-index:1910!important;left:0!important;top:0!important;bottom:0!important;width:min(82vw,330px)!important;height:100vh!important;display:flex!important;flex-direction:column!important;align-items:stretch!important;margin:0!important;padding:23px 19px!important;background:linear-gradient(180deg,#fbf8f2,#f1ece4)!important;transform:translateX(-105%)!important;opacity:1!important;visibility:visible!important;overflow-y:auto!important;box-shadow:14px 0 35px rgba(41,32,25,.15)!important;transition:transform .26s ease!important}
  .eo19-drawer.mobile-drawer.open{transform:translateX(0)!important}
  .eo19-drawer-brand.mobile-drawer-head{display:flex!important;align-items:center!important;gap:12px!important;padding:0 0 20px!important;border-bottom:1px solid #ded4ca!important}
  .eo19-drawer-brand img{width:50px!important;height:50px!important;object-fit:contain!important}
  .eo19-drawer-brand strong{display:block!important;font-family:"Noto Serif TC","Songti TC","PMingLiU",serif!important;font-size:18px!important;font-weight:650!important;line-height:1.1!important;letter-spacing:.075em!important;overflow-wrap:anywhere!important}
  .eo19-drawer-brand small{display:block!important;margin-top:5px!important;font:11px/1.2 Arial,sans-serif!important;color:#8a8077!important;letter-spacing:.28em!important}
  .eo19-drawer-nav.mobile-drawer-nav{display:block!important;position:static!important;visibility:visible!important;margin:17px 0 0!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;transform:none!important;opacity:1!important}
  .eo19-drawer-nav a{display:flex!important;align-items:center!important;flex-direction:row!important;justify-content:space-between!important;min-height:53px!important;padding:9px 0!important;margin:0!important;border:0!important;border-bottom:1px solid #ded4ca!important;border-radius:0!important;background:none!important;color:#342b25!important;text-decoration:none!important;font-size:15px!important}
  .eo19-drawer-nav .drawer-arrow{font:18px Arial,sans-serif!important;color:#86756a!important}
  .eo19-drawer-actions.mobile-drawer-tools{display:flex!important;align-items:center!important;gap:15px!important;margin:24px 0 0!important;padding:0!important}
  .eo19-drawer-actions a{display:grid!important;position:relative!important;place-items:center!important;width:46px!important;height:46px!important;margin:0!important;padding:0!important;border:1px solid #ded3c7!important;border-radius:50%!important;background:#fffdf9!important}
  .eo19-drawer-actions img{width:23px!important;height:23px!important;object-fit:contain!important}
  .eo19-drawer-slogan.mobile-drawer-slogan{margin:auto 0 0!important;padding:34px 0 0!important;color:#8d8278!important;font-size:11px!important;line-height:1.9!important;letter-spacing:.08em!important}
  .eo19-header-spacer{height:70px!important;max-height:70px!important}
  /* migrated pages already pad below their fixed header */
  body.inner-page .page-main{padding-top:112px!important}
}
@media(max-width:350px){.eo19-mobile-brand-copy strong{font-size:16px!important}.eo19-mobile-brand img{width:38px!important;height:38px!important;flex-basis:38px!important}}
@media(prefers-reduced-motion:reduce){.eo19-menu-btn span,.eo19-overlay,.eo19-drawer,.eo19-topbar{transition:none!important}}


/* V7.20: Homepage-matched header motion on every public page.
   Homepage retains its original hero-midpoint scroll trigger. On inner
   pages the same header eases in once, then stays reachable for ordering. */
.eo19-topbar.topbar.site-header{
  transition:transform .32s cubic-bezier(.22,.61,.36,1),opacity .32s ease,background-color .25s ease,box-shadow .25s ease!important;
}
.eo19-topbar.topbar.site-header.eo20-scrolled{
  background:rgba(248,245,239,.985)!important;
  box-shadow:0 11px 30px rgba(60,48,38,.09)!important;
}
/* Same fine underline reveal used by the homepage. */
.eo19-topbar .eo19-nav a::after{
  transition:transform .24s ease!important;
}
.eo19-topbar .eo19-nav a.current::after{
  transform:scaleX(0)!important;
}
.eo19-topbar .eo19-nav a:hover::after,
.eo19-topbar .eo19-nav a:focus-visible::after{
  transform:scaleX(1)!important;
}
/* Consistent subtle icon feedback on home and other front pages. */
.eo19-topbar .eo19-actions a img{
  transition:transform .24s ease,opacity .24s ease!important;
}
.eo19-topbar .eo19-actions a:hover img,
.eo19-topbar .eo19-actions a:focus-visible img{
  transform:translateY(-2px)!important;
  opacity:.82!important;
}
.eo19-drawer-nav .drawer-arrow{
  transition:transform .26s ease!important;
}
.eo19-drawer-nav a:hover .drawer-arrow,
.eo19-drawer-nav a:focus-visible .drawer-arrow{
  transform:translateX(4px)!important;
}
@media(max-width:900px){
  .eo19-mobile-header .eo19-menu-btn span{
    transition:transform .25s ease,opacity .25s ease!important;
  }
  .eo19-overlay.mobile-overlay{
    transition:opacity .28s ease!important;
  }
  .eo19-drawer.mobile-drawer{
    transition:transform .30s cubic-bezier(.22,.61,.36,1)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .eo19-topbar.topbar.site-header,
  .eo19-topbar .eo19-nav a::after,
  .eo19-topbar .eo19-actions a img,
  .eo19-drawer-nav .drawer-arrow,
  .eo19-mobile-header .eo19-menu-btn span,
  .eo19-overlay.mobile-overlay,
  .eo19-drawer.mobile-drawer{
    transition:none!important;
  }
}

/* V7.60: all public pages — round the configured tenant LOGO only. */
.eo19-topbar .eo19-brand > img,
.eo19-mobile-header .eo19-mobile-brand > img,
.eo19-drawer .eo19-drawer-brand > img {
  border-radius:11px !important;
  overflow:hidden !important;
}
