/* EatsOne V7.53 — contained menu showcase. Loaded AFTER the V7.52 reader style.
   Wood is only used for the central reading stage, not the page/main/footer. */
:root{color-scheme:light}
html,body{overflow-x:hidden}
body.eatsone-menu-v752.eatsone-menu-v753{
  overflow-x:hidden;overflow-y:auto;min-height:100vh;background:#fbf8f4;color:#34291f;
  font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",Arial,sans-serif
}
.eatsone-menu-v753 .page-main{padding-top:22px;padding-bottom:58px;background:#fbf8f4!important;color:#34291f}
.eatsone-menu-v753 .menu-v753-container{width:min(100% - 44px,1360px);max-width:1360px;margin:0 auto}
.eatsone-menu-v753 .menu-v753-page-heading{padding:16px 3px 20px;margin:0}
.eatsone-menu-v753 .menu-v753-page-heading .eyebrow{color:#a26f4e;font-size:11px;letter-spacing:.18em}
.eatsone-menu-v753 .menu-v753-page-heading h1{margin:12px 0 9px;font-size:clamp(28px,3vw,44px);font-weight:500;letter-spacing:.06em;color:#392d24}
.eatsone-menu-v753 .menu-v753-page-heading p{margin:0;color:#877368;font-size:14px;line-height:1.75}
.eatsone-menu-v753 .menu-v752-reader{
  position:relative;isolation:isolate;width:100%;min-height:0;height:auto;
  padding:0;overflow:visible;background:#fffaf4;background-image:none;
  border:1px solid #e6d9cb;border-radius:18px;box-shadow:0 18px 45px rgba(83,58,38,.08)
}
.eatsone-menu-v753 .menu-v752-reader::before{display:none}
.eatsone-menu-v753 .menu-v753-showcase-head{
  min-height:91px;padding:17px 22px;display:flex;align-items:center;gap:12px 26px;
  justify-content:space-between;flex-wrap:wrap;background:#fffaf4;border-radius:18px 18px 0 0
}
.eatsone-menu-v753 .menu-v753-reader-title{display:flex;flex-direction:column;gap:6px;min-width:190px;flex:1 1 210px}
.eatsone-menu-v753 .menu-v753-reader-title span{font:700 10px/1.4 Arial,sans-serif;color:#bc8d6a;letter-spacing:.18em}
.eatsone-menu-v753 .menu-v753-reader-title strong{font:500 clamp(18px,2vw,24px)/1.35 "Noto Serif TC","Songti TC",serif;color:#423024;letter-spacing:.045em}
.eatsone-menu-v753 .menu-v753-showcase-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px 14px;max-width:100%}
.eatsone-menu-v753 .menu-v752-topbar{position:static;inset:auto;display:flex;align-items:center;justify-content:flex-end;gap:8px;pointer-events:auto}
.eatsone-menu-v753 .menu-v752-topbar a{
  min-height:38px;display:inline-flex;align-items:center;border:1px solid #dcc9b6;
  padding:9px 13px;background:#fff;color:#6d503d;border-radius:20px;
  font-size:12px;font-weight:600;letter-spacing:.025em;box-shadow:none;backdrop-filter:none
}
.eatsone-menu-v753 .menu-v752-topbar a:hover{background:#f4e8dc;color:#593c2c}
.eatsone-menu-v753 .menu-v752-topbar a.menu-v752-home{opacity:1}
.eatsone-menu-v753 .menu-v752-tabs{
  position:static;inset:auto;transform:none;max-width:100%;display:flex;align-items:center;
  flex-wrap:wrap;gap:4px;padding:4px;border:1px solid #ddcbbc;border-radius:24px;
  background:#f0e2d2;box-shadow:none;backdrop-filter:none
}
.eatsone-menu-v753 .menu-v752-tab{
  flex:0 1 auto;min-height:32px;padding:7px 12px;border:0;border-radius:19px;
  color:#644838;background:transparent;font-size:12px;line-height:1.3;white-space:nowrap
}
.eatsone-menu-v753 .menu-v752-tab.is-active{background:#574237;color:#fff8ec;box-shadow:0 2px 5px #67473725}
.eatsone-menu-v753 .menu-v752-panel{position:relative;inset:auto;overflow:visible;width:100%;height:auto;padding:0;display:block}
.eatsone-menu-v753 .menu-v752-panel[hidden]{display:none!important}
.eatsone-menu-v753 .menu-v752-stage{
  position:relative;inset:auto;display:block;width:100%;height:clamp(480px,58vw,805px);
  min-height:0;overflow:hidden;isolation:isolate;border-radius:0;
  border-top:1px solid #e8dbcc;
  background-color:#805131;
  background-image:linear-gradient(rgba(35,23,14,.11),rgba(35,23,14,.13)),var(--menu-wood-v752);
  background-size:cover,cover;background-position:center center,center center;
  background-repeat:no-repeat;
}
.eatsone-menu-v753 .menu-v752-book-position{
  position:absolute;left:50%;top:calc(50% - 26px);transform:translate(-50%,-50%);
  width:auto;height:auto;max-width:none;perspective:none
}
.eatsone-menu-v753 .menu-v752-book-shift{transition:transform .35s cubic-bezier(.22,.68,.18,1)}
.eatsone-menu-v753 .menu-v752-book-pose,
.eatsone-menu-v753 .menu-v752-book-pose.is-open{
  transform:perspective(1800px) rotateX(9deg) rotateY(-6deg) rotateZ(-3deg);transform-style:preserve-3d!important;
  transition:transform .7s cubic-bezier(.22,.68,.18,1)!important
}
.eatsone-menu-v753 .menu-v752-engine{z-index:2;transform:none!important}
.eatsone-menu-v753 .menu-v752-engine .stf__parent{margin:0!important;filter:none!important}
.eatsone-menu-v753 .menu-v752-book-base{
  top:0;height:100%;border-radius:2px;background:#231b14;border:1px solid #32271e;
  box-shadow:0 3px 0 #251b15,0 7px 0 #8e7760,0 10px 0 #281e17,0 15px 20px #170e0a75,0 24px 32px #180c0754
}
.eatsone-menu-v753 .menu-v752-book-base::after{bottom:-8px}
.eatsone-menu-v753 .menu-v752-book-spine{
  top:0;bottom:0;border-radius:3px 0 0 3px;z-index:4;
  background:linear-gradient(to right,#17130f,#594b3b 26%,#201914 62%,#755c42);
  box-shadow:-3px 0 5px #0007,2px 0 3px #0007
}
.eatsone-menu-v753 .menu-v752-book-page{background:#faf2e6}
.eatsone-menu-v753 .menu-v752-book-cover{background:#211a16}
.eatsone-menu-v753 .menu-v752-arrow{
  position:absolute;top:calc(50% - 26px);z-index:10;
  width:44px;height:50px;border:1px solid rgba(245,221,182,.40);
  border-radius:22px;background:rgba(41,27,18,.66);color:#f9ebd4;
  box-shadow:0 5px 15px rgba(30,16,10,.22);backdrop-filter:blur(6px)
}
.eatsone-menu-v753 .menu-v752-arrow-left{left:17px}
.eatsone-menu-v753 .menu-v752-arrow-right{right:17px}
.eatsone-menu-v753 .menu-v752-dock{
  position:absolute;left:50%;bottom:16px;max-width:calc(100% - 22px);z-index:20;
  transform:translateX(-50%);border-color:#eac99750;
  background:rgba(38,26,18,.94);box-shadow:0 8px 22px #1f0f0857
}
.eatsone-menu-v753 .menu-v752-hint{
  bottom:77px;color:#fff5e5;font-size:11px;text-shadow:0 2px 8px #241207
}
.eatsone-menu-v753 .menu-v752-thumbs{
  position:absolute;bottom:88px;z-index:24;max-height:155px;background:#271b15ed
}
.eatsone-menu-v753 .menu-v752-loading,.eatsone-menu-v753 .menu-v752-error{top:44%}
.eatsone-menu-v753 .menu-v752-empty{position:relative;top:auto;left:auto;transform:none;max-width:100%;min-height:260px;padding:50px 20px;background:#fbf7f1;color:#483a2e}
.eatsone-menu-v753 .menu-v752-empty a{color:#a35d30}
.eatsone-menu-v753 .menu-v753-order-cta{
  display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;
  margin-top:25px;padding:20px 24px;border:1px solid #e7d9ca;border-radius:14px;
  background:#fffaf4;color:#6e5648;font-size:14px
}
.eatsone-menu-v753 .menu-v753-order-cta a{
  display:inline-flex;align-items:center;gap:10px;border-radius:24px;
  padding:10px 17px;text-decoration:none;color:#fff;background:#564033;font-size:13px
}
.eatsone-menu-v753 .menu-v753-order-cta a:hover{background:#8d5438}
.eatsone-menu-v753 .menu-v752-reader:fullscreen{
  width:100vw;max-width:none;height:100vh;overflow:auto;background:#f9f3ea
}
.eatsone-menu-v753 .menu-v752-reader:fullscreen .menu-v752-stage{height:calc(100vh - 105px);max-height:none}
@media(max-width:1050px){
  .eatsone-menu-v753 .menu-v753-showcase-head{align-items:flex-start}
  .eatsone-menu-v753 .menu-v753-showcase-actions{justify-content:flex-start}
}
@media(max-width:760px){
  .eatsone-menu-v753 .menu-v753-container{width:calc(100% - 24px)}
  .eatsone-menu-v753 .page-main{padding-top:9px;padding-bottom:35px}
  .eatsone-menu-v753 .menu-v753-page-heading{padding:14px 2px 17px}
  .eatsone-menu-v753 .menu-v753-page-heading h1{font-size:30px}
  .eatsone-menu-v753 .menu-v753-page-heading p{font-size:13px}
  .eatsone-menu-v753 .menu-v752-reader{border-radius:15px}
  .eatsone-menu-v753 .menu-v753-showcase-head{padding:14px 13px;min-height:0;border-radius:15px 15px 0 0;gap:13px}
  .eatsone-menu-v753 .menu-v753-reader-title{flex-basis:100%;gap:4px}
  .eatsone-menu-v753 .menu-v753-reader-title strong{font-size:19px}
  .eatsone-menu-v753 .menu-v753-showcase-actions{width:100%;justify-content:space-between;gap:8px}
  .eatsone-menu-v753 .menu-v752-topbar{justify-content:flex-start}
  .eatsone-menu-v753 .menu-v752-topbar a{font-size:10px;padding:7px 9px;min-height:33px}
  .eatsone-menu-v753 .menu-v752-tabs{max-width:100%;gap:2px;overflow-x:auto;flex-wrap:nowrap;scrollbar-width:none}
  .eatsone-menu-v753 .menu-v752-tab{font-size:10px;padding:7px 8px;flex-shrink:0;white-space:nowrap}
  .eatsone-menu-v753 .menu-v752-stage{height:clamp(440px,132vw,650px);min-height:0}
  .eatsone-menu-v753 .menu-v752-book-position{top:calc(50% - 25px)}
  .eatsone-menu-v753 .menu-v752-arrow{top:auto;bottom:99px;width:37px;height:40px}
  .eatsone-menu-v753 .menu-v752-arrow-left{left:8px}
  .eatsone-menu-v753 .menu-v752-arrow-right{right:8px}
  .eatsone-menu-v753 .menu-v752-dock{bottom:12px;padding:6px 8px}
  .eatsone-menu-v753 .menu-v752-hint{bottom:69px;font-size:10px}
  .eatsone-menu-v753 .menu-v752-thumbs{bottom:84px}
  .eatsone-menu-v753 .menu-v753-order-cta{margin-top:16px;padding:16px}
}
@media(max-width:400px){
  .eatsone-menu-v753 .menu-v753-showcase-actions{flex-direction:column;align-items:stretch}
  .eatsone-menu-v753 .menu-v752-topbar{justify-content:space-between}
  .eatsone-menu-v753 .menu-v752-tabs{max-width:100%;justify-content:flex-start}
  .eatsone-menu-v753 .menu-v752-stage{height:clamp(430px,142vw,570px)}
}
@media(prefers-reduced-motion:reduce){.eatsone-menu-v753 .menu-v752-book-shift{transition:none!important}}
/* Keep the unified storefront footer; suppress the legacy footer produced by
   front_render_footer_v249(), while preserving its existing JS hooks. */
.eatsone-menu-v753 footer[data-global-footer-v249]{display:none!important}
@media(min-width:600px) and (max-width:1000px){
  .eatsone-menu-v753 .menu-v752-stage{height:clamp(550px,78vw,720px)}
}
/* Old on-stage instructional captions are intentionally hidden; controls are self-explanatory. */
.eatsone-menu-v753 .menu-v752-hint{display:none!important}

/* V7.54 — 3D tilted book + guaranteed wood image on the contained stage.
   The inline stage image is the saved site_menu_background_image; this is a fallback. */
.eatsone-menu-v753 .menu-v752-stage{
  background-color:#805131;
  background-size:cover,cover!important;
  background-position:center center,center center!important;
  background-repeat:no-repeat!important;
}
.eatsone-menu-v753 .menu-v752-book-position{perspective:1800px!important;}
.eatsone-menu-v753 .menu-v752-book-pose{
  transform:perspective(1800px) rotateX(9deg) rotateY(-6deg) rotateZ(-3deg);
  transform-style:preserve-3d!important;
  transform-origin:50% 50%;
  transition:transform .7s cubic-bezier(.22,.68,.18,1)!important;
}
.eatsone-menu-v753 .menu-v752-book-pose.is-open{
  transform:perspective(2200px) rotateX(4deg) rotateY(-1deg) rotateZ(-.8deg);
}
.eatsone-menu-v753 .menu-v752-engine .stf__parent{filter:drop-shadow(9px 14px 14px rgba(22,12,5,.25))!important;}
@media(max-width:760px){
 .eatsone-menu-v753 .menu-v752-book-pose{transform:perspective(1600px) rotateX(6deg) rotateY(-4deg) rotateZ(-2deg);}
 .eatsone-menu-v753 .menu-v752-book-pose.is-open{transform:perspective(2000px) rotateX(2deg) rotateY(0deg) rotateZ(-.4deg);}
}

/* V7.56: reliable native touch swipe/pan for iOS Safari and Android browsers. */
.menu-v752-zoom-view{touch-action:none;overscroll-behavior:contain;cursor:grab;user-select:none;-webkit-user-select:none}
.menu-v752-zoom-view.is-dragging{cursor:grabbing}
.menu-v752-zoom-view img{pointer-events:none;-webkit-user-drag:none;user-select:none;-webkit-user-select:none}

.menu-v752-zoom-view{-webkit-overflow-scrolling:auto;touch-action:none!important;overscroll-behavior:contain}
.menu-v752-zoom-view img{touch-action:none!important;-webkit-touch-callout:none}
