/* Subway home — header + CMS content from subway.com + footer */

.subway-external-disabled {
  pointer-events: none !important;
  cursor: default !important;
  opacity: 0.55;
}

body.subway-home .subway-home-main {
  overflow: visible !important;
  max-width: 100% !important;
}

body.cms.subway-home .component_wrapper:not(.swiper-wrapper) {
  width: 100% !important;
  max-width: 1280px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
}

body.cms.subway-home #homePageNew,
body.cms.subway-home .subway-home-main {
  width: 100% !important;
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

body.subway-home .component_promotions .fullwidth.button,
body.subway-home .feature-banner__cta,
body.subway-home .component_menu_link {
  cursor: pointer;
}

body.cms.subway-home #paint-the-house .feature-banner.subway-home-banner {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  height: auto !important;
  overflow: hidden;
}

body.subway-home #paint-the-house .feature-banner.subway-home-banner > div {
  width: 100%;
}

body.subway-home #paint-the-house .feature-banner__poster {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
}

body.subway-home #paint-the-house .feature-banner.subway-home-banner > .feature-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.5rem 1.25rem 2rem;
  box-sizing: border-box;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 35%,
    rgba(0, 0, 0, 0.2) 55%,
    rgba(0, 0, 0, 0.72) 82%,
    rgba(0, 0, 0, 0.85) 100%
  );
}

body.subway-home #paint-the-house .feature-banner__overlay .feature-banner__cta,
body.subway-home #paint-the-house .feature-banner__overlay .feature-banner__link {
  pointer-events: auto;
}

body.subway-home #paint-the-house .feature-banner__overlay .feature-banner__title {
  margin: 0 0 1rem;
  max-width: 11em;
  line-height: 1.05;
  text-transform: uppercase;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.65);
}

@media only screen and (max-width: 669px) {
  body.subway-home .subway-home-main {
    padding-top: 0 !important;
  }

  body.subway-home #paint-the-house .feature-banner #feature-banner-desktop-video {
    display: none !important;
  }

  body.subway-home #paint-the-house .feature-banner #feature-banner-mobile-video,
  body.subway-home #paint-the-house .feature-banner #feature-banner-mobile-video.sf-hidden {
    display: block !important;
    visibility: visible !important;
    width: 100%;
    min-height: 0;
    max-height: none;
    aspect-ratio: 5 / 7.2;
    overflow: hidden;
  }

  body.subway-home #paint-the-house .feature-banner #feature-banner-mobile-video .feature-banner__poster {
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 7.2;
    min-height: 0;
    object-position: center top;
  }

  body.subway-home #paint-the-house .feature-banner.subway-home-banner > .feature-banner__overlay {
    justify-content: flex-end;
    align-items: center;
    text-align: center;
    padding: 1rem 1rem 1.5rem;
    background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 42%,
      rgba(0, 0, 0, 0.12) 68%,
      rgba(0, 0, 0, 0.42) 100%
    ) !important;
  }

  body.subway-home #paint-the-house .feature-banner__overlay .feature-banner__title {
    font-size: clamp(1.75rem, 5.2vw, 2.25rem) !important;
    line-height: 1.15 !important;
    max-width: 100% !important;
    margin: 0 auto 0.75rem !important;
    text-align: center;
  }

  body.subway-home #paint-the-house .feature-banner__overlay .feature-banner__cta {
    width: auto !important;
    min-width: 11rem !important;
    max-width: calc(100% - 1rem) !important;
    margin: 0.75rem auto 0 !important;
    padding: 1.1rem 1.5rem !important;
    font-size: 1.8rem !important;
    border-radius: 0.5rem !important;
    align-self: center;
  }
}

@media only screen and (min-width: 670px) {
  body.subway-home #paint-the-house .feature-banner #feature-banner-mobile-video {
    display: none !important;
  }

  body.subway-home #paint-the-house .feature-banner #feature-banner-desktop-video {
    display: block !important;
    min-height: 48.5rem;
    max-height: min(56vh, 720px);
    aspect-ratio: 5 / 2;
  }

  body.subway-home #paint-the-house .feature-banner #feature-banner-desktop-video .feature-banner__poster {
    min-height: 48.5rem;
    aspect-ratio: 5 / 2;
    object-position: center center;
  }

  body.subway-home #paint-the-house .feature-banner.subway-home-banner > .feature-banner__overlay {
    justify-content: center;
    align-items: flex-start;
    width: 52%;
    max-width: 620px;
    padding: 2.5rem;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.35) 80%,
      transparent 100%
    );
  }

  body.subway-home #paint-the-house .feature-banner__overlay .feature-banner__title {
    font-size: clamp(2.8rem, 4vw, 4.5rem) !important;
  }
}

body.subway-home .menu_slider .menu_wrapper,
body.cms.subway-home .component_wrapper.swiper-wrapper.threeColumn,
body.cms.subway-home .swiper-wrapper.threeColumn,
body.subway-home #bestsellerCarousel .slick-list {
  scroll-behavior: smooth;
  scrollbar-width: thin;
}

body.cms.subway-home .component_wrapper.swiper-wrapper.threeColumn,
body.cms.subway-home .swiper-wrapper.threeColumn.mobileScroll {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  gap: 1rem;
  overflow-x: auto !important;
  overflow-y: visible !important;
  padding-bottom: 0.5rem;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  align-items: stretch !important;
}

body.cms.subway-home .offers_promoslider {
  overflow: hidden;
  width: 100%;
}

body.cms.subway-home .offers_promoslider .component_promotions.swiper-slide {
  flex: 0 0 396px !important;
  width: 396px !important;
  max-width: 396px !important;
  margin-right: 16px !important;
}

/* Top Picks / Bestseller */
body.cms.subway-home #BestSeller.bestseller {
  width: 100%;
  background: #f6f6f6;
}

body.cms.subway-home #BestSeller #bestseller-component {
  width: 100% !important;
  max-width: 1280px !important;
  margin: 0 auto !important;
  padding: 2rem 0 1.5rem !important;
  box-sizing: border-box;
}

body.cms.subway-home #BestSeller #bestseller-component .button_tabs {
  margin: 0 0 1rem !important;
  padding: 0 !important;
}

body.cms.subway-home #BestSeller #bestsellerCarousel.favorites-carousel.slick-slider {
  margin: 0 !important;
  width: 100% !important;
}

body.cms.subway-home #bestsellerCarousel .slick-list {
  overflow-x: auto !important;
  overflow-y: visible !important;
  width: 100% !important;
  -webkit-overflow-scrolling: touch;
}

body.cms.subway-home #bestsellerCarousel .slick-track {
  display: flex !important;
  flex-wrap: nowrap !important;
  width: max-content !important;
  transform: none !important;
  margin: 0 !important;
}

body.cms.subway-home #bestsellerCarousel .bestseller_link.slick-slide {
  display: flex !important;
  flex-direction: column !important;
  flex: 0 0 228px !important;
  width: 228px !important;
  min-width: 228px !important;
  height: auto !important;
  margin: 20px 12px 19px !important;
  padding: 10px 10px 16px !important;
  background: #fff !important;
  border-radius: 5px !important;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.17) !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
  text-decoration: none !important;
  color: #000 !important;
  box-sizing: border-box;
}

body.cms.subway-home #bestsellerCarousel .bestseller_link .sub {
  width: 100%;
  text-align: center;
}

body.cms.subway-home #bestsellerCarousel .bestseller_link .sub img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 150px;
  object-fit: contain;
  margin: 0 auto;
}

body.cms.subway-home #bestsellerCarousel .bestseller_link .Oven-Roasted-Chicken {
  margin: 12px 0 0 !important;
  min-height: 40px;
  font-family: "SubwaySansCondMedium", "Subway Sans LCG Web", "Helvetica Neue", Helvetica, Arial,
    sans-serif !important;
  font-size: 1.8rem !important;
  line-height: 1.2 !important;
  text-align: center !important;
  color: #000 !important;
}

body.cms.subway-home #BestSeller .arrowWrapper {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.25rem;
}

@media only screen and (max-width: 767px) {
  body.cms.subway-home #BestSeller #bestseller-component {
    margin: 1rem 2rem !important;
    padding: 0 !important;
  }

  body.cms.subway-home #BestSeller #bestseller-component .button_tabs {
    margin: 2rem 0 1rem !important;
    padding: 0 !important;
    border: 3px solid #00491e !important;
    border-radius: 5.6rem !important;
    box-shadow: 0 1px 5px rgba(0, 0, 0, 0.17) !important;
    display: inline-flex !important;
    background: #fff !important;
  }

  body.cms.subway-home #BestSeller #bestseller-component .button_tabs .button_segment {
    font-family: "Subway Sans LCG Web", Georgia, "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-weight: 500 !important;
    padding: 1rem 1.5rem !important;
    border-radius: 5.6rem !important;
    min-height: 3.6rem !important;
    color: #000 !important;
    border: none !important;
    background: transparent !important;
  }

  body.cms.subway-home #BestSeller #bestseller-component .button_tabs .button_segment_icon {
    display: inline-block !important;
    margin: 0 0.5rem 0.1rem 0 !important;
  }

  body.cms.subway-home #bestsellerCarousel .bestseller_link.slick-slide {
    flex: 0 0 min(72vw, 260px) !important;
    width: min(72vw, 260px) !important;
    min-width: min(72vw, 260px) !important;
  }

  body.cms.subway-home #bestsellerCarousel .bestseller_link .sub img {
    max-height: 110px;
  }
}

/* Legacy minimal hero (rebuild-home-clean) */

:root {
  --subway-home-header-h: 52px;
  --subway-home-delivery-h: 0px;
  --subway-home-top-chrome-h: 52px;
  --subway-home-mobile-gutter: 1.2rem;
  --subway-home-order-h: 5.5rem;
  --subway-home-banner-mobile: url("/images/home-mobile-banner.png");
  --subway-home-banner-desktop: url("/images/home-desktop-banner.png");
}

html,
body.subway-home,
body#stick-to.subway-home,
body#stick-to.cms.subway-home {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
}

html,
body#stick-to.subway-home,
body#stick-to.cms.subway-home,
body#stick-to.cms {
  height: auto !important;
  min-height: 100dvh !important;
  overflow-y: auto !important;
}

body.subway-home .subway-home-main,
body.subway-home #homePageNew {
  overflow: visible !important;
  height: auto !important;
}

/* ——— Header (keep CMS markup, tune layout) ——— */
body.subway-home .header-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10001;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.13);
}

body.subway-home .header-sticky > header {
  margin: 0;
  padding: 0;
  min-height: 0;
  height: auto;
}

body.subway-home .navbar.cms {
  position: relative;
  top: auto;
  min-height: 0;
  height: auto;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0.55rem 0.85rem;
  box-shadow: none;
}

body.subway-home .navbar.cms .navbar_logo .primary_logo {
  height: 2.75rem;
  max-width: 9.5rem;
}

.subway-home-main {
  display: block;
  min-height: 0;
  padding-top: var(--subway-home-header-h, 52px);
  box-sizing: border-box;
  max-width: 100%;
  margin: 0 auto;
  overflow: visible !important;
  height: auto !important;
}

/* ——— Hero ——— */
.subway-home-hero {
  position: relative;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 0;
  overflow: hidden;
  background: #0a0a0a;
}

.subway-home-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
}

/* Mobile-first: portrait banner */
.subway-home-hero__bg--mobile {
  display: block;
  z-index: 0;
  background-image: var(--subway-home-banner-mobile);
}

.subway-home-hero__bg--desktop {
  display: none;
  z-index: 0;
  background-image: var(--subway-home-banner-desktop);
}

.subway-home-hero__content {
  position: relative;
  z-index: 2;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: 1.5rem 1.25rem 2rem;
  padding-bottom: 22vh;
  box-sizing: border-box;
  min-height: min(72vh, calc(100dvh - var(--subway-home-header-h) - 12rem));
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 40%,
    rgba(0, 0, 0, 0.25) 60%,
    rgba(0, 0, 0, 0.75) 85%,
    rgba(0, 0, 0, 0.88) 100%
  );
}

.subway-home-hero__title {
  margin: 0 0 1.25rem;
  max-width: 11em;
  font-family: "SubwaySansCondMedium", "Subway Sans LCG Web", "Helvetica Neue", Helvetica, Arial,
    sans-serif;
  font-size: clamp(3.2rem, 11vw, 5.75rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.75);
}

.subway-home-hero__line {
  display: block;
}

/* ——— Order Now ——— */
.subway-home-order-bar {
  display: none;
}

.subway-home-order__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  min-height: 4.8rem;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  font-family: "SubwaySansCondMedium", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(1.35rem, 4.5vw, 1.75rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: #008938 !important;
  color: #fff !important;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 73, 30, 0.35);
  -webkit-tap-highlight-color: transparent;
}

/* ——— Footer ——— */
.subway-home-footer {
  flex-shrink: 0;
  margin-top: 0;
  padding: 1.25rem 1rem 1.5rem;
  border-top: 1px solid #e5e5e5;
  background: #fff;
}

.subway-home-footer .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  justify-content: center;
}

.subway-home-footer .footer-links a {
  color: #00491e;
  font-size: 1.25rem;
  font-weight: 600;
  text-decoration: none;
}

/* ——— Desktop ——— */
@media only screen and (min-width: 768px) {
  body.subway-home .navbar.cms .navbar_menu_items {
    display: flex;
  }

  body.subway-home .subway-home-main {
    padding-top: var(--subway-home-header-h, 72px);
  }

  body.subway-home .subway-home-hero__bg--desktop {
    display: block;
  }

  body.subway-home .subway-home-hero__bg--mobile {
    display: none !important;
  }

  /* Wide desktop poster 1280×490 — only on PC */
  body.subway-home .subway-home-hero {
    flex: 0 0 auto;
    width: 100%;
    padding-top: 0 !important;
    aspect-ratio: 5 / 2;
    max-height: min(56vh, 720px);
    min-height: 320px;
  }

  body.subway-home .subway-home-hero__bg {
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
  }

  .subway-home-hero__content {
    justify-content: center;
    align-items: flex-start;
    padding: 2.5rem 2.5rem 2.75rem;
    min-height: 100%;
    height: 100%;
    width: 52%;
    max-width: 620px;
    padding-bottom: 2.75rem;
    background: linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.65) 0%,
      rgba(0, 0, 0, 0.35) 80%,
      transparent 100%
    );
  }

  .subway-home-hero__title {
    font-size: clamp(3rem, 4.2vw, 5rem);
    margin-bottom: 1.75rem;
    max-width: 10em;
  }

  .subway-home-order__btn {
    width: auto;
    min-width: 200px;
    min-height: 5rem;
    font-size: 1.8rem;
    padding: 1.2rem 2rem;
  }
}

/* ——— Mobile ——— */
@media only screen and (max-width: 767px) {
  body.cms.subway-home,
  body.cms.subway-home .subway-home-main,
  body.cms.subway-home #homePageNew {
    background: #fff !important;
    color: #000;
  }

  body.subway-home .header-sticky {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 10001 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    background: #fff !important;
    box-shadow: none !important;
  }

  body.subway-home .header-sticky > header {
    min-height: 0 !important;
    height: auto !important;
    padding: 0 !important;
    width: 100% !important;
    position: relative !important;
    top: auto !important;
    flex-shrink: 0;
  }

  body.subway-home .navbar.cms {
    min-height: 6.9rem !important;
    height: auto !important;
    padding: 0 !important;
    max-width: 100% !important;
    position: relative !important;
    top: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-shadow: 0 1px 10px rgba(0, 0, 0, 0.13) !important;
    flex-shrink: 0;
  }

  body.subway-home .navbar.cms .navbar_left {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding-left: 1.2rem !important;
    gap: 0.8rem !important;
  }

  body.subway-home .navbar.cms .navbar_logo {
    position: absolute !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
  }

  body.subway-home .navbar.cms .navbar_logo .primary_logo {
    height: 3.2rem !important;
    width: auto !important;
    max-width: 11rem !important;
    min-width: 7rem !important;
    object-fit: contain !important;
  }

  body.subway-home .navbar.cms .navbar_menu_items,
  body.subway-home .navbar.cms .start_order {
    display: none !important;
  }

  body.subway-home .navbar.cms .navbar_right {
    flex: 1 1 0 !important;
    justify-content: flex-end !important;
    gap: 0.35rem !important;
    padding-right: 1.2rem !important;
  }

  body.subway-home .navbar.cms .navbar_right .account_logged,
  body.subway-home .navbar.cms .navbar_right .account_loggedIn {
    display: inline-flex !important;
    visibility: visible !important;
    width: auto !important;
    height: auto !important;
    overflow: visible !important;
    pointer-events: auto !important;
    padding: 0.35rem !important;
    border: none !important;
    background: transparent !important;
  }

  body.subway-home .navbar.cms .navbar_right .account_logged img {
    width: 2.4rem !important;
    height: 2.4rem !important;
  }

  body.subway-home .subway-home-main {
    background: #fff !important;
  }

  .subway-home-delivery-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    margin: 0;
    padding: 1.5rem;
    border: none;
    border-bottom: 1px solid #eaeaea;
    background: hsla(0, 0%, 100%, 0.95);
    box-shadow: 0 6px 6px 0 rgba(0, 0, 0, 0.05);
    box-sizing: border-box;
    cursor: pointer;
    color: #000;
    flex-shrink: 0;
  }

  .subway-home-delivery-strip__row {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .subway-home-delivery-strip__icon {
    flex-shrink: 0;
    width: 2.4rem;
    height: 2.4rem;
    background: center / contain no-repeat
      url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M3 7h11v8H3V7Z' stroke='%23008938' stroke-width='1.6'/%3E%3Cpath d='M14 10h4l3 3v2h-7v-5Z' stroke='%23008938' stroke-width='1.6'/%3E%3Ccircle cx='7' cy='17' r='2' fill='%23008938'/%3E%3Ccircle cx='17' cy='17' r='2' fill='%23008938'/%3E%3C/svg%3E");
  }

  .subway-home-delivery-strip__mode {
    flex-shrink: 0;
    padding-left: 1rem;
    font-family: "SubwaySansLCGMedium", "Subway Sans LCG Web", "Helvetica Neue", Helvetica, Arial,
      sans-serif;
    font-size: 1.4rem;
    font-weight: 500;
    line-height: 1.2;
    color: #000;
  }

  .subway-home-delivery-strip__addr {
    min-width: 0;
    padding-left: 0.6rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-family: "SubwaySansCondMedium", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 1.2;
    color: #000;
    text-align: left;
    text-decoration: underline;
    text-transform: uppercase;
  }

  body.cms.subway-home #paint-the-house .feature-banner.subway-home-banner {
    width: calc(100% - (2 * var(--subway-home-mobile-gutter)));
    max-width: calc(100% - (2 * var(--subway-home-mobile-gutter)));
    margin-left: var(--subway-home-mobile-gutter);
    margin-right: var(--subway-home-mobile-gutter);
    border-radius: 0;
  }

  body.cms.subway-home .component_wrapper:not(.swiper-wrapper) {
    max-width: 100% !important;
    padding-left: var(--subway-home-mobile-gutter) !important;
    padding-right: var(--subway-home-mobile-gutter) !important;
    box-sizing: border-box;
  }

  body.cms.subway-home .component_wrapper.withGape {
    margin-top: 1.75rem !important;
    margin-bottom: 1.75rem !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.cms.subway-home .offers_promoslider .component_promotions.swiper-slide {
    flex: 0 0 min(88vw, 340px) !important;
    width: min(88vw, 340px) !important;
    max-width: min(88vw, 340px) !important;
  }

  body.subway-home .subway-home-hero {
    padding-top: var(--subway-home-header-h, 52px);
    box-sizing: border-box;
    min-height: calc(100dvh - var(--subway-home-order-h, 5.5rem));
  }

  body.subway-home .subway-home-hero__bg--mobile {
    display: block;
  }

  body.subway-home .subway-home-hero__bg--desktop {
    display: none !important;
  }

  body.subway-home .subway-home-hero__bg--mobile {
    top: 0;
  }

  .subway-home-hero__content {
    justify-content: flex-end;
    padding: 0 1rem 0;
    padding-bottom: calc(var(--subway-home-order-h) + 12vh);
    min-height: calc(100dvh - var(--subway-home-header-h) - var(--subway-home-order-h) - 3rem);
  }

  .subway-home-hero__title {
    font-size: clamp(3rem, 10.5vw, 5.25rem) !important;
    max-width: 10.5em;
    margin-bottom: 0;
  }

  /* Sticky START ORDER bar — fixed at bottom on mobile (matches .horizontal_footer .start_order) */
  .subway-home-order-bar {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: fixed !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 10002 !important;
    width: 100% !important;
    padding: 2rem !important;
    padding-bottom: max(2rem, env(safe-area-inset-bottom, 0px)) !important;
    background: #fff !important;
    border-top: none !important;
    box-shadow: 0 1px 5px 0 rgba(0, 0, 0, 0.18) !important;
    box-sizing: border-box;
    pointer-events: auto;
  }

  .subway-home-order-bar .subway-home-order__btn,
  .subway-home-order-bar .subway-mobile-start-order,
  .subway-home-order-bar .button.start_order {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 1.3rem 2rem !important;
    font-family: "SubwaySansCondMedium", "Helvetica Neue", Helvetica, Arial, sans-serif !important;
    font-size: 1.8rem !important;
    font-weight: 500 !important;
    letter-spacing: normal !important;
    text-transform: uppercase !important;
    text-decoration: none !important;
    text-align: center !important;
    border-radius: 0.5rem !important;
    border: 1px solid #008938 !important;
    box-shadow: none !important;
    background: #008938 !important;
    color: #fff !important;
    cursor: pointer !important;
    -webkit-tap-highlight-color: transparent;
  }

  /* Hide in-hero button on phone — only sticky bar */
  .subway-home-hero__content > .subway-home-order__btn {
    display: none !important;
  }

  body.subway-home:has(#subway-home-order-bar) .subway-home-main {
    padding-bottom: calc(var(--subway-home-order-h) + env(safe-area-inset-bottom, 0px));
  }

  .subway-home-footer {
    padding-bottom: 0.5rem;
  }

  .subway-home-footer .footer-links {
    font-size: 1rem;
    gap: 0.5rem 1rem;
  }

  .subway-home-footer .footer-links a {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 380px) {
  .subway-home-hero__title {
    font-size: clamp(2.65rem, 9.5vw, 3.5rem) !important;
  }
}
