/* EatsOne V7.16 / Shared migrated front footer.
   Baseline: index.php V1 footer layout and typography. Standalone selectors
   prevent legacy order/style.css and inner-page CSS from altering its layout. */
body footer.eo-footer-v716{
  display:block;position:relative;float:none;clear:both;width:100%;height:auto;
  margin:0;padding:0;border:0;border-top:1px solid rgba(69,55,43,.07);
  background:#f6f2eb;color:#28231f;
  box-shadow:none;text-align:left;
  font-family:"Noto Serif TC","Songti TC","PMingLiU",serif;
  font-size:14px;font-weight:400;line-height:normal;
}
body footer.eo-footer-v716,body footer.eo-footer-v716 *{box-sizing:border-box}
body footer.eo-footer-v716 .eo-footer-container-v716{
  display:block;width:min(1280px,calc(100% - 64px));max-width:1280px;
  margin:0 auto;padding:0;position:relative;float:none;
}
body footer.eo-footer-v716 .eo-footer-main-v716{
  display:grid;grid-template-columns:300px minmax(0,1fr);gap:50px;
  align-items:center;margin:0;padding:34px 0 40px;
}
body footer.eo-footer-v716 .eo-footer-brand-v716{
  display:flex;align-items:flex-start;gap:14px;min-width:0;
  margin:0;padding:0;
}
body footer.eo-footer-v716 .eo-footer-brand-v716 img{
  display:block;width:54px;min-width:54px;max-width:54px;
  height:auto;max-height:85px;flex:0 0 54px;object-fit:contain;
  margin:0;padding:0;border:0;border-radius:11px;box-shadow:none;background:none;
}
body footer.eo-footer-v716 .eo-footer-brand-copy-v716{min-width:0;flex:1}
body footer.eo-footer-v716 .eo-footer-brand-copy-v716 strong{
  display:block;font-size:24px;font-weight:500;letter-spacing:.09em;
  line-height:1.35;color:#28231f;overflow-wrap:anywhere;
}
body footer.eo-footer-v716 .eo-footer-brand-copy-v716 small{
  display:block;margin-top:6px;color:#8a8077;
  font:8px/1.2 Arial,sans-serif;letter-spacing:.32em;
}
body footer.eo-footer-v716 .eo-footer-desc-v716{
  display:block;margin:9px 0 0;padding:0;color:#81766c;
  font-size:11px;line-height:1.65;letter-spacing:normal;overflow-wrap:anywhere;
}
body footer.eo-footer-v716 .eo-footer-right-v716{min-width:0;margin:0;padding:0}
body footer.eo-footer-v716 .eo-footer-links-v716{
  display:flex;justify-content:center;align-items:center;
  flex-wrap:wrap;gap:16px 38px;margin:0;padding:0;
  font-size:12px;font-weight:400;letter-spacing:.13em;
}
body footer.eo-footer-v716 .eo-footer-links-v716 a{
  display:inline-block;position:static;min-height:0;width:auto;margin:0;padding:0;
  flex:0 0 auto;white-space:nowrap;line-height:1.65;
  font:inherit;color:#28231f;text-decoration:none;text-transform:none;
  background:none;border:0;box-shadow:none;opacity:1;
}
body footer.eo-footer-v716 .eo-footer-links-v716 a:hover,
body footer.eo-footer-v716 .eo-footer-links-v716 a:focus-visible{
  color:#a76c48;text-decoration:underline;text-underline-offset:4px;
}
body footer.eo-footer-v716 .eo-footer-links-v716 a:focus-visible{outline:2px solid #a76c48;outline-offset:4px}
body footer.eo-footer-v716 .eo-footer-copyright-v716{
  display:block;margin:10px 0 0;padding:0;color:#8d857d;
  font:10px/1.5 Arial,sans-serif;text-align:center;letter-spacing:normal;
}
body footer.eo-footer-v716 .eo-footer-legal-v716{
  margin:12px 0 0;padding:0;text-align:center;color:#887e74;
  font-size:10px;font-weight:400;line-height:1.6;letter-spacing:normal;
}
/* Do not hide its operation-closed dialog: suppress just the old visual footer. */
body footer[data-global-footer-v249]{display:none!important}
@media(max-width:900px){
  body footer.eo-footer-v716 .eo-footer-container-v716{width:calc(100% - 32px)}
  body footer.eo-footer-v716 .eo-footer-main-v716{grid-template-columns:minmax(0,1fr);gap:25px;padding:30px 0 40px}
  body footer.eo-footer-v716 .eo-footer-links-v716{justify-content:flex-start;gap:18px 24px}
  body footer.eo-footer-v716 .eo-footer-copyright-v716,
  body footer.eo-footer-v716 .eo-footer-legal-v716{text-align:left}
}
@media(max-width:560px){
  body footer.eo-footer-v716 .eo-footer-main-v716{gap:23px;padding:27px 0 42px}
  body footer.eo-footer-v716 .eo-footer-brand-copy-v716 strong{font-size:21px}
  body footer.eo-footer-v716 .eo-footer-links-v716{gap:13px 20px}
  body footer.eo-footer-v716 .eo-footer-links-v716 a{font-size:12px}
}
/* The ordering screen has a fixed bottom cart bar. Keep the shared footer readable above it. */
@media(max-width:980px){
  body.order-front-v7 footer.eo-footer-v716 .eo-footer-main-v716{padding-bottom:calc(100px + env(safe-area-inset-bottom,0px))}
}

/* V7.17 - Social row: identical on every migrated frontend page */
body footer.eo-footer-v716 .eo-footer-social-v717{
  display:flex;align-items:center;flex-wrap:wrap;gap:10px;
  margin:15px 0 0;padding:0;max-width:100%;
}
body footer.eo-footer-v716 .eo-footer-social-v717 > a,
body footer.eo-footer-v716 .eo-footer-social-v717 > span{
  display:inline-flex;justify-content:center;align-items:center;
  flex:0 0 40px;width:40px;height:40px;
  margin:0;padding:7px;border-radius:50%;
  background:#fffaf5;border:1px solid #ded2c7;
  box-shadow:0 2px 8px rgba(65,52,41,.06);
  text-decoration:none;line-height:1;color:#4a403b;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease;
}
body footer.eo-footer-v716 .eo-footer-social-v717 img{
  display:block;width:100%;height:100%;max-width:27px;max-height:27px;
  object-fit:contain;margin:0;padding:0;border:0;background:transparent;
}
body footer.eo-footer-v716 .eo-footer-social-v717 > a:hover{
  transform:translateY(-2px);background:#fff;border-color:#aa907c;
  box-shadow:0 6px 14px rgba(65,52,41,.13);
}
body footer.eo-footer-v716 .eo-footer-social-v717 > a:focus-visible{
  outline:2px solid #a76c48;outline-offset:3px;
}
body footer.eo-footer-v716 .eo-footer-social-v717 > .eo-footer-social-unset-v717{
  cursor:default;box-shadow:none;border-color:#e6ddd5;
}
@media(max-width:560px){
  body footer.eo-footer-v716 .eo-footer-social-v717{gap:9px;margin-top:13px}
  body footer.eo-footer-v716 .eo-footer-social-v717 > a,
  body footer.eo-footer-v716 .eo-footer-social-v717 > span{flex-basis:39px;width:39px;height:39px}
}
@media(prefers-reduced-motion:reduce){
  body footer.eo-footer-v716 .eo-footer-social-v717 > a{transition:none}
}

/* V7.18: the five brand icons always occupy one row, even on 320px phones. */
body footer.eo-footer-v716 .eo-footer-desc-v716{display:none!important}
body footer.eo-footer-v716 .eo-footer-social-v717{
  display:flex;align-items:center;flex-wrap:nowrap;justify-content:flex-start;
  width:max-content;max-width:none;gap:8px;margin-top:15px;
}
body footer.eo-footer-v716 .eo-footer-social-v717 > a,
body footer.eo-footer-v716 .eo-footer-social-v717 > span{
  flex:0 0 38px;width:38px;min-width:38px;height:38px;min-height:38px;
}
@media(max-width:560px){
  body footer.eo-footer-v716 .eo-footer-social-v717{flex-wrap:nowrap;gap:6px;width:max-content;max-width:none}
  body footer.eo-footer-v716 .eo-footer-social-v717 > a,
  body footer.eo-footer-v716 .eo-footer-social-v717 > span{
    flex:0 0 34px;width:34px;min-width:34px;height:34px;min-height:34px;padding:6px;
  }
}


/* V7.26 - small, per-domain back-office link after the designer credit. */
body footer.eo-footer-v716 .eo-footer-designer-v726{
  display:block;
  margin:5px 0 0;
  padding:0;
  color:#8d857d;
  font:10px/1.7 Arial,"Noto Sans TC",sans-serif;
  text-align:center;
}
body footer.eo-footer-v716 .eo-footer-designer-v726 a{
  display:inline-block;
  padding:0 4px;
  margin:0;
  color:#78685c;
  font:inherit;
  font-weight:700;
  text-decoration:none;
  border-radius:3px;
}
body footer.eo-footer-v716 .eo-footer-designer-v726 a:hover{
  color:#a76c48;
  text-decoration:underline;
  text-underline-offset:2px;
}
body footer.eo-footer-v716 .eo-footer-designer-v726 a:focus-visible{
  outline:2px solid #a76c48;
  outline-offset:2px;
}
@media(max-width:900px){
  body footer.eo-footer-v716 .eo-footer-designer-v726{text-align:left}
}


/* V7.27 - copyright and designer credit are ONE line on all front pages. */
body footer.eo-footer-v716 .eo-footer-credits-v727{
  display:flex;
  flex-flow:row nowrap;
  align-items:baseline;
  justify-content:center;
  gap:13px;
  min-width:0;
  max-width:100%;
  margin:10px 0 0;
  padding:0 0 2px;
  overflow-x:auto;
  overflow-y:hidden;
  white-space:nowrap;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
body footer.eo-footer-v716 .eo-footer-credits-v727::-webkit-scrollbar{display:none}
body footer.eo-footer-v716 .eo-footer-credits-v727 > .eo-footer-copyright-v716,
body footer.eo-footer-v716 .eo-footer-credits-v727 > .eo-footer-designer-v726{
  display:inline-block;
  flex:0 0 auto;
  margin:0;
  padding:0;
  color:#8d857d;
  font:10px/1.65 Arial,"Noto Sans TC",sans-serif;
  text-align:left;
  white-space:nowrap;
}
@media(max-width:900px){
  body footer.eo-footer-v716 .eo-footer-credits-v727{justify-content:flex-start}
}
@media(max-width:560px){
  body footer.eo-footer-v716 .eo-footer-credits-v727{gap:9px}
  body footer.eo-footer-v716 .eo-footer-credits-v727 > .eo-footer-copyright-v716,
  body footer.eo-footer-v716 .eo-footer-credits-v727 > .eo-footer-designer-v726{font-size:9px}
}

/* V7.60: unified footer and legacy footer branding on every public page.
   Scope intentionally excludes social icons, product images and other artwork. */
body footer.eo-footer-v716 .eo-footer-brand-v716 > img,
body footer.footer-v2 .footer-brand-head > img.footer-logo,
body footer[data-global-footer-v249] img.footer-logo {
  border-radius:11px !important;
  overflow:hidden !important;
}
