/* V7.15: order.php-only footer integration with the new HTML visual language.
   The legacy shared footer continues to provide the operating-hours dialog,
   but only this page hides its legacy footer's visible layout. */
body.order-front-v7 footer[data-global-footer-v249]{display:none!important}
body.order-front-v7 .order-modern-footer-v715{
  display:block;
  position:relative;
  background:linear-gradient(180deg,#faf6f0 0%,#f8efe6 100%);
  border-top:1px solid #e4d8cb;
  color:#3e322b;
  margin:0;
  padding:0;
  box-shadow:none;
  font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
}
body.order-front-v7 .order-modern-footer-v715 *{box-sizing:border-box}
body.order-front-v7 .order-modern-footer-inner-v715{
  width:min(1200px,calc(100% - 64px));
  margin:0 auto;
}
body.order-front-v7 .order-modern-footer-main-v715{
  display:grid;
  grid-template-columns:minmax(245px,310px) minmax(0,1fr);
  align-items:start;
  gap:clamp(32px,5vw,80px);
  padding:48px 0 54px;
}
body.order-front-v7 .order-modern-footer-brand-v715{min-width:0}
body.order-front-v7 .order-modern-footer-brandlink-v715{
  display:flex;
  align-items:center;
  gap:16px;
  text-decoration:none;
  color:inherit;
  min-width:0;
}
body.order-front-v7 .order-modern-footer-brandlink-v715 img{
  display:block;
  width:59px;
  height:59px;
  flex:0 0 59px;
  padding:4px;
  background:#fffdf9;
  border-radius:12px;
  object-fit:contain;
}
body.order-front-v7 .order-modern-footer-brandtext-v715{display:flex;flex-direction:column;min-width:0;gap:8px}
body.order-front-v7 .order-modern-footer-brandtext-v715 strong{
  color:#2f261f;
  font-size:clamp(18px,1.55vw,22px);
  font-weight:650;
  line-height:1.3;
  letter-spacing:.055em;
  overflow-wrap:anywhere;
}
body.order-front-v7 .order-modern-footer-brandtext-v715 small{
  font:10px/1.2 Arial,sans-serif;
  letter-spacing:.28em;
  color:#97897d;
}
body.order-front-v7 .order-modern-footer-about-v715{
  margin:18px 0 0;
  padding-left:1px;
  color:#8c7d70;
  font-size:12px;
  line-height:1.75;
  overflow-wrap:anywhere;
  max-width:300px;
}
body.order-front-v7 .order-modern-footer-navigation-v715{min-width:0;padding-top:4px}
body.order-front-v7 .order-modern-footer-links-v715{
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-items:center;
  gap:15px 25px;
  max-width:760px;
}
body.order-front-v7 .order-modern-footer-links-v715 a{
  display:inline-flex;
  align-items:center;
  min-height:30px;
  padding:4px 0;
  color:#63584e;
  font-size:12px;
  font-weight:500;
  letter-spacing:.06em;
  line-height:1.5;
  text-decoration:none;
  white-space:nowrap;
  border:0;
  background:transparent;
}
body.order-front-v7 .order-modern-footer-links-v715 a:hover{
  color:#ac7048;
  text-decoration:underline;
  text-underline-offset:5px;
}
body.order-front-v7 .order-modern-footer-copyright-v715,
body.order-front-v7 .order-modern-footer-legal-v715{
  margin:22px 0 0;
  color:#92877d;
  font-size:11px;
  line-height:1.65;
  letter-spacing:.02em;
  text-align:left;
}
body.order-front-v7 .order-modern-footer-legal-v715{
  display:flex;
  flex-wrap:wrap;
  gap:7px 16px;
  margin-top:7px;
  color:#a09287;
}
body.order-front-v7 .order-modern-footer-brandlink-v715:focus-visible,
body.order-front-v7 .order-modern-footer-links-v715 a:focus-visible{
  outline:2px solid #ad7854;
  outline-offset:4px;
  border-radius:3px;
}
/* Keep the existing top action, but visually match the modern footer. */
body.order-front-v7 .back-to-top{
  width:45px;
  height:45px;
  border-radius:50%;
  background:#fffdf9;
  border:1px solid #d8c8b8;
  color:#6d5645;
  box-shadow:0 5px 18px rgba(68,48,30,.12);
}
body.order-front-v7 .back-to-top span{font-size:21px;color:inherit}
body.order-front-v7 .back-to-top strong{display:none}
body.order-front-v7 .back-to-top:hover{background:#5b4b3f;color:#fff;border-color:#5b4b3f}
@media(max-width:900px){
  body.order-front-v7 .order-modern-footer-main-v715{
    grid-template-columns:minmax(0,1fr);
    gap:30px;
    padding:39px 0 45px;
  }
  body.order-front-v7 .order-modern-footer-inner-v715{width:calc(100% - 44px)}
}
@media(max-width:600px){
  body.order-front-v7 .order-modern-footer-inner-v715{width:calc(100% - 32px)}
  body.order-front-v7 .order-modern-footer-main-v715{gap:27px;padding:33px 0 136px}
  body.order-front-v7 .order-modern-footer-brandlink-v715 img{width:53px;height:53px;flex-basis:53px}
  body.order-front-v7 .order-modern-footer-brandtext-v715 strong{font-size:20px}
  body.order-front-v7 .order-modern-footer-about-v715{margin-top:11px;font-size:12px}
  body.order-front-v7 .order-modern-footer-links-v715{gap:8px 20px}
  body.order-front-v7 .order-modern-footer-links-v715 a{font-size:12px;min-height:32px}
  body.order-front-v7 .order-modern-footer-copyright-v715{margin-top:21px;font-size:11px}
  body.order-front-v7 .order-modern-footer-legal-v715{font-size:10px}
  body.order-front-v7 .back-to-top{bottom:calc(86px + env(safe-area-inset-bottom));right:14px;width:41px;height:41px}
}
