/* EatsOne Front V7.5 — slim flow-style supply timeline.
 * Pure visual update; the original data-service-* hooks and reservation
 * controls remain intact. Only order.php loads this stylesheet. */
body.order-front-v7 .order-service-window-v154 {
  display:grid;
  grid-template-columns:minmax(195px,255px) minmax(0,1fr);
  gap:12px 20px;
  align-items:center;
  width:100%;min-width:0;
  margin:14px 0 24px;
  padding:20px 24px 15px;
  overflow:hidden;
  border:1px solid #e8d8c6;
  border-radius:17px;
  background:#fffbf6;
  box-shadow:0 8px 26px rgba(60,43,31,.035);
}
body.order-front-v7 .order-service-window-v154[hidden] {display:none!important}
body.order-front-v7 .order-service-window-v154::before{display:none}
body.order-front-v7 .order-service-now-v154 {
  display:flex;
  align-items:center;
  min-width:0;
  min-height:0;
  gap:12px;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
body.order-front-v7 .order-service-clock-icon-v154 {
  display:grid;
  place-items:center;
  flex:0 0 39px;
  width:39px;height:39px;
  border-radius:50%;
  background:#f1e4d4;
  color:#9d6541;
  box-shadow:none;
}
body.order-front-v7 .order-service-clock-icon-v154 svg{width:20px;height:20px}
body.order-front-v7 .order-service-now-v154>div{display:block;min-width:0}
body.order-front-v7 .order-service-kicker-v154 {
  display:block;
  margin:0 0 5px;
  color:#a08977;
  font:700 9px/1.3 Arial,sans-serif;
  letter-spacing:.14em;
}
body.order-front-v7 .order-service-now-v154 h2 {
  margin:0;
  color:#392e27;
  font-family:"Noto Sans TC","PingFang TC","Microsoft JhengHei",sans-serif;
  font-size:clamp(16px,1.55vw,20px);
  font-weight:700;
  line-height:1.42;
  letter-spacing:.025em;
  overflow-wrap:anywhere;
}
/* The legacy JS writes "限定時段分類／商品暫不顯示" here.
   Keep its data target for the script, but don't display this explanation. */
body.order-front-v7 .order-service-now-v154 p,
body.order-front-v7 .order-service-now-v154 p strong {display:none!important}
body.order-front-v7 .order-service-now-v154 p strong::before {content:none!important}

/* A connected timeline rather than individual cards. Each stop draws its own
   part of the connecting line so it also works when mobile scrolling occurs. */
body.order-front-v7 .order-service-timeline-v154 {
  display:flex;
  align-items:stretch;
  gap:0;
  min-width:0;
  width:100%;
  margin:0;
  padding:3px 0 0;
  overflow-x:auto;
  overflow-y:hidden;
  scrollbar-width:thin;
  scrollbar-color:#ddcbb8 transparent;
  scroll-behavior:smooth;
  -webkit-overflow-scrolling:touch;
}
body.order-front-v7 .order-service-timeline-v154::before{display:none}
body.order-front-v7 .order-service-timeline-v154>div {
  position:relative;
  display:block;
  flex:1 0 128px;
  min-width:0;
  width:auto;
  min-height:86px;
  margin:0;
  padding:0;
  overflow:visible;
  border:0;
  border-radius:0;
  background:transparent;
  color:#77695d;
  text-align:center;
  box-shadow:none;
  opacity:1;
}
body.order-front-v7 .order-service-timeline-v154>div::after {
  content:"";
  display:block;
  position:absolute;
  z-index:0;
  top:16px;
  right:0;
  left:0;
  height:1px;
  background:#d8c4ae;
  pointer-events:none;
}
body.order-front-v7 .order-service-timeline-v154>div::before {
  content:"";
  display:block;
  position:absolute;
  z-index:2;
  top:8px;
  left:calc(50% - 8px);
  width:16px;height:16px;
  border:3px solid #fffaf5;
  border-radius:50%;
  background:#c9aa90;
  box-shadow:0 0 0 1px #c9aa90;
  pointer-events:none;
}
body.order-front-v7 .order-service-timeline-v154>div.is-current-v154,
body.order-front-v7 .order-service-timeline-v154>div.is-past-v154{
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
body.order-front-v7 .order-service-timeline-v154>div.is-current-v154::before{
  background:#a87552;
  box-shadow:0 0 0 2px rgba(168,117,82,.16);
}
body.order-front-v7 .order-service-timeline-v154>div.is-past-v154{opacity:.7}
body.order-front-v7 .order-service-timeline-v154>div>button {
  position:relative;
  z-index:3;
  display:flex;
  flex-direction:column;
  justify-content:flex-start;
  align-items:center;
  gap:4px;
  min-height:86px;
  width:100%;
  margin:0;
  padding:39px 7px 8px;
  border:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  box-shadow:none;
  text-align:center;
  cursor:pointer;
}
body.order-front-v7 .order-service-timeline-v154>div.is-current-v154>button{
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
}
body.order-front-v7 .order-service-timeline-v154 span {
  color:#776658;
  font-size:13px;
  font-weight:700;
  line-height:1.5;
  letter-spacing:.025em;
  white-space:normal;
  overflow-wrap:break-word;
}
body.order-front-v7 .order-service-timeline-v154 small {
  display:block;
  width:auto;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#a09184;
  font-size:11px;
  font-weight:500;
  line-height:1.4;
  white-space:nowrap;
  letter-spacing:0;
}
body.order-front-v7 .order-service-timeline-v154>div.is-current-v154 span {color:#9d6644}
body.order-front-v7 .order-service-timeline-v154>div button:hover span{text-decoration:underline;text-underline-offset:4px}
body.order-front-v7 .order-service-timeline-v154>div button:focus-visible {
  outline:2px solid #aa7956;
  outline-offset:-2px;
  border-radius:7px;
}

body.order-front-v7 .order-service-foot-v154 {
  grid-column:1/-1;
  display:flex;
  flex-wrap:wrap;
  justify-content:flex-start;
  align-items:center;
  gap:7px 16px;
  margin:0;
  padding:13px 0 0;
  border:0;
  border-top:1px solid #eee4d9;
  color:#8d8075;
  font-size:11px;
}
body.order-front-v7 .order-service-foot-v154>span {
  display:inline-flex;
  align-items:center;
  flex:1 1 215px;
  gap:8px;
  margin:0;
  min-width:0;
  color:#8d8075;
  font-size:11px;
  line-height:1.5;
}
body.order-front-v7 .order-service-foot-v154 i {
  flex:0 0 7px;
  width:7px;height:7px;
  border-radius:50%;
  background:#80b99a;
  box-shadow:0 0 0 3px rgba(128,185,154,.13);
}
body.order-front-v7 .order-service-foot-v154 strong {
  margin-left:auto;
  color:#9a6d50;
  font-size:11px;
  font-weight:600;
  white-space:normal;
  line-height:1.5;
}
body.order-front-v7 .order-service-foot-v154 time {
  padding-left:13px;
  border-left:1px solid #e2d3c3;
  color:#59493e;
  font-size:13px;
  font-weight:700;
  white-space:nowrap;
  font-variant-numeric:tabular-nums;
}
body.order-front-v7 .order-service-reserve-v51[hidden]{display:none!important}
body.order-front-v7 .order-service-reserve-v51 {
  grid-column:1/-1;
  margin:0;
  padding:14px 0 0;
  border-top:1px solid #eee4d9;
}
body.order-front-v7 .order-service-booking-controls-v51 {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr)) auto auto;
  gap:9px;
  align-items:end;
}
@media (max-width:980px){
  body.order-front-v7 .order-service-window-v154 {
    grid-template-columns:minmax(0,1fr);
    gap:12px;
    margin:13px 0 21px;
    padding:17px 18px 14px;
  }
  body.order-front-v7 .order-service-now-v154 h2{font-size:18px}
  body.order-front-v7 .order-service-timeline-v154>div{flex-basis:125px;min-height:81px}
  body.order-front-v7 .order-service-timeline-v154>div>button{min-height:81px;padding-top:36px}
  body.order-front-v7 .order-service-timeline-v154>div::before{top:6px}
  body.order-front-v7 .order-service-timeline-v154>div::after{top:14px}
  body.order-front-v7 .order-service-foot-v154 {display:flex;gap:7px 14px;padding-top:12px}
  body.order-front-v7 .order-service-foot-v154>span{flex:1 1 100%;}
  body.order-front-v7 .order-service-foot-v154 strong{margin:0}
  body.order-front-v7 .order-service-booking-controls-v51 {grid-template-columns:1fr 1fr}
}
@media (max-width:600px){
  body.order-front-v7 .order-service-window-v154 {padding:15px 14px 12px;border-radius:14px}
  body.order-front-v7 .order-service-now-v154 {gap:10px}
  body.order-front-v7 .order-service-clock-icon-v154 {width:35px;height:35px;flex-basis:35px}
  body.order-front-v7 .order-service-clock-icon-v154 svg{width:18px;height:18px}
  body.order-front-v7 .order-service-kicker-v154 {font-size:9px}
  body.order-front-v7 .order-service-now-v154 h2{font-size:17px}
  body.order-front-v7 .order-service-timeline-v154 {padding-bottom:5px}
  body.order-front-v7 .order-service-timeline-v154>div {flex-basis:124px}
  body.order-front-v7 .order-service-timeline-v154 span{font-size:12px}
  body.order-front-v7 .order-service-timeline-v154 small{font-size:10px}
  body.order-front-v7 .order-service-foot-v154>span {font-size:11px}
  body.order-front-v7 .order-service-foot-v154 strong {font-size:11px}
  body.order-front-v7 .order-service-foot-v154 time {font-size:12px}
  body.order-front-v7 .order-service-booking-controls-v51 {grid-template-columns:minmax(0,1fr)}
}
@media (prefers-reduced-motion:reduce){
  body.order-front-v7 .order-service-timeline-v154{scroll-behavior:auto}
}
