html:has(body.order-focus-page) {
  scrollbar-gutter: stable;
  background: #ffffff;
  overflow-x: clip;
}

body.order-focus-page {
  --order-focus-header-offset: 12px;
  --order-focus-panel-offset: 96px;
  --order-focus-content-start: clamp(24px, 3vw, 56px);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  padding-top: 0;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;
  scrollbar-gutter: stable;
}

body.order-focus-page .flexlast-shared-header .top-bar {
  display: none !important;
}

body.order-focus-page .flexlast-shared-header {
  padding: 12px 0 !important;
}

.order-focus-main {
  position: relative;
  flex: 1 0 auto;
  min-height: auto;
  padding-bottom: 0;
  overflow-x: clip;
}

.order-focus-seo-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.order-focus-shell {
  width: 100%;
  max-width: none;
  margin: var(--order-focus-panel-offset) 0 0;
  padding: 0 0 0 var(--order-focus-content-start);
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  overflow-x: clip;
}

.order-focus-layout {
  display: block;
  min-height: auto;
}

.order-focus-panel {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-width: 0;
  width: min(620px, calc(100vw - 64px));
  padding: 6px 0 8px;
  overflow-x: clip;
}

.order-focus-page .hero-right {
  width: 100%;
  margin-top: 0;
  overflow-x: clip;
}

.order-focus-page #quickOrderWidget .widget-top,
.order-focus-page #quickOrderWidget .widget-bottom {
  transform: translateX(0) translateY(-25px);
}

.order-focus-page #quickOrderWidget {
  scroll-margin-top: 148px;
  margin-bottom: -25px;
  overflow-x: clip;
}

.order-focus-map-pane {
  position: fixed;
  inset: 0;
  z-index: 0;
  min-width: 0;
  min-height: 0;
}

.order-focus-map-surface {
  position: absolute;
  inset: 0;
  height: auto;
  width: auto;
  transform: none;
  overflow: hidden;
  background: #ffffff;
  box-shadow: none;
}

.order-focus-live-map {
  width: 100%;
  height: 100%;
  border-radius: 0;
  box-shadow: none;
  background: #ffffff;
}

.order-focus-locate-me-btn {
  position: absolute;
  right: 18px;
  bottom: 108px;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  color: #0f172a;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
  cursor: pointer;
  z-index: 3;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, opacity 0.18s ease;
}

.order-focus-locate-me-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.22);
}

.order-focus-locate-me-btn:disabled {
  cursor: wait;
  opacity: 0.72;
}

.order-focus-locate-me-btn .material-icons-round {
  font-size: 24px;
}

.order-focus-locate-me-btn.is-loading .material-icons-round {
  animation: order-focus-spin 0.9s linear infinite;
}

@keyframes order-focus-spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.order-focus-page #mapModal {
  align-items: center;
  justify-content: center;
}

.order-focus-page #mapModal .map-modal-content {
  width: min(560px, calc(100vw - 32px));
  max-width: 560px;
  display: block;
  padding: 0;
  background: transparent;
}

.order-focus-page #mapModal .map-panel {
  width: 100%;
  max-width: none;
  border-radius: 28px;
  padding: 24px;
  box-shadow: 0 28px 64px rgba(15, 23, 42, 0.28);
}

.order-focus-page #mapModal .map-panel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.order-focus-page #mapModal .map-panel-header-main {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.order-focus-page #mapModal .map-panel-title {
  margin: 0;
  color: #0f172a;
  font-size: 24px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.order-focus-page #mapModal .map-back-pill {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.order-focus-page #mapModal .map-toggle-btn {
  display: none;
}

@media (min-width: 981px) {
  .order-focus-page #mapModal {
    top: var(--flexlast-header-height);
    height: calc(100dvh - var(--flexlast-header-height));
    align-items: flex-start;
    justify-content: flex-start;
    padding: 0 0 0 var(--order-focus-content-start);
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    pointer-events: none;
  }

  .order-focus-page #mapModal .map-modal-content {
    width: min(620px, calc(100vw - 64px));
    max-width: min(620px, calc(100vw - 64px));
    height: 100%;
    max-height: 100%;
    pointer-events: auto;
  }

  .order-focus-page #mapModal .map-panel {
    height: 100%;
    max-height: none;
    min-height: 0;
    border-radius: 0;
    padding: 24px 24px 20px;
    background: #ffffff;
    box-shadow: 0 24px 56px rgba(15, 23, 42, 0.14);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 18px;
    overflow: hidden;
  }

  .order-focus-page #mapModal .map-panel-header {
    margin-bottom: 0;
  }

  .order-focus-page #mapModal .route-inputs {
    padding-right: 4px;
  }

  .order-focus-page #mapModal .modal-actions {
    gap: 14px;
  }

  .order-focus-page #mapModal .btn-cancel,
  .order-focus-page #mapModal .btn-confirm {
    min-height: 64px;
    padding: 18px 24px;
    border-radius: 16px;
    font-size: 18px;
    font-weight: 800;
  }
}

.order-focus-page .site-footer {
  position: relative;
  z-index: 2;
  margin-top: auto;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  isolation: isolate;
  overflow: visible;
}

.order-focus-page .site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
  background: #ffffff;
  z-index: -1;
  pointer-events: none;
}

.order-focus-page .footer-top::after {
  left: 50%;
  width: 100vw;
  transform: translateX(-50%);
}

.order-focus-page .moving-footer-app {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding-top: 0;
}

.order-focus-page .moving-footer-app-title {
  color: #526071;
  font-size: 13px;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-align: left;
}

.order-focus-page .moving-footer-app .app-badges {
  gap: 10px;
  flex-wrap: nowrap;
  justify-content: flex-start;
}

.order-focus-page .moving-footer-app .store-badge {
  border-radius: 14px;
  overflow: visible;
  opacity: 1;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.order-focus-page .moving-footer-app .store-badge img {
  display: block;
  height: 48px;
  width: auto;
}

.order-focus-page .footer-top--with-app {
  justify-content: center;
  gap: 40px;
}

.order-focus-page .footer-top--with-app .moving-footer-app--inline {
  justify-content: center;
  gap: 10px;
  width: auto;
}

.order-focus-page .footer-top--with-app .moving-footer-app--inline .moving-footer-app-title {
  display: none;
}

@media (min-width: 981px) and (max-width: 1139px) {
  body.order-focus-page {
    --order-focus-content-start: 4vw;
  }
}

@media (max-width: 980px) {
  html:has(body.order-focus-page) {
    scrollbar-gutter: auto;
  }

  body.order-focus-page.order-focus-mobile-map-static .order-focus-live-map {
    pointer-events: none;
    touch-action: pan-y;
  }

  body.order-focus-page.order-focus-mobile-map-static .order-focus-locate-me-btn {
    display: none;
  }

  body.order-focus-page {
    --order-focus-header-offset: 12px;
    --order-focus-panel-offset: 0px;
    padding-top: 92px;
    scrollbar-gutter: auto;
  }

  .order-focus-page .service-type-tabs {
    display: none;
  }

  .order-focus-main {
    min-height: auto;
  }

  .order-focus-shell {
    margin: 0;
    padding: 4px 12px 28px;
  }

  .order-focus-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    min-height: auto;
  }

  .order-focus-panel {
    width: 100%;
    padding: 0;
  }

  .order-focus-page .hero-right {
    width: 100%;
    margin-top: -24px;
  }

  .order-focus-page #quickOrderWidget .widget-top,
  .order-focus-page #quickOrderWidget .widget-bottom {
    transform: none;
  }

  .order-focus-page #quickOrderWidget {
    margin-bottom: 0;
  }

  .order-focus-map-pane {
    position: relative;
    inset: auto;
    min-height: 52vh;
  }

  .order-focus-map-surface {
    position: relative;
    top: 0;
    left: auto;
    inset: auto;
    width: auto;
    height: 52vh;
    transform: none;
    border-radius: 28px;
    box-shadow: 0 16px 40px rgba(15, 23, 42, 0.08);
  }

  .order-focus-live-map {
    border-radius: 28px;
  }

  .order-focus-locate-me-btn {
    right: 16px;
    bottom: 92px;
    width: 48px;
    height: 48px;
    border-radius: 16px;
  }

  .order-focus-page #mapModal .map-modal-content {
    width: calc(100vw - 16px);
    max-width: none;
  }

  .order-focus-page #mapModal .map-panel {
    border-radius: 24px;
    padding: 18px;
  }

  .order-focus-page .moving-footer-app {
    flex-direction: column;
    gap: 12px;
  }

  .order-focus-page .moving-footer-app-title {
    font-size: 12px;
    text-align: center;
  }

  .order-focus-page .moving-footer-app .store-badge img {
    height: 44px;
  }

  .order-focus-page .footer-top--with-app {
    justify-content: center;
  }

  .order-focus-page .footer-top--with-app .moving-footer-app--inline {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 640px) {
  body.order-focus-page {
    --order-focus-header-offset: 10px;
    --order-focus-panel-offset: 0px;
  }

  .order-focus-shell {
    padding: 4px 12px 24px;
  }

  .order-focus-map-pane,
  .order-focus-map-surface {
    min-height: 44vh;
    height: 44vh;
  }

  .order-focus-locate-me-btn {
    right: 14px;
    bottom: 84px;
  }
}

@media (min-width: 681px) and (max-width: 980px) {
  body.order-focus-page {
    padding-top: 92px;
  }

  .order-focus-shell {
    margin: 0;
    padding: 4px 12px 28px;
  }

  .order-focus-layout {
    gap: 12px;
  }

  .order-focus-page .hero-right {
    margin-top: -24px;
  }
}
