/* Home promo typography and Happy Hour eligibility badge.
 * This layer is loaded after device styles so the same hierarchy wins on every kiosk viewport. */
body[data-step="home"] .heroPromoStrip {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
}

body[data-step="home"] .heroPromoStrip .heroPromo {
  position: relative;
  box-sizing: border-box;
  display: flex !important;
  min-width: 0;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: clamp(4px, .55vw, 10px) !important;
  overflow: hidden;
  text-align: center !important;
}

body[data-step="home"] .heroPromoStrip .heroPromo > * {
  max-width: 100%;
  margin: 0 !important;
  overflow-wrap: anywhere;
  word-break: keep-all;
}

body[data-step="home"] .heroPromoStrip .heroPromo h3 {
  padding-block: 4px !important;
  color: #ffffff !important;
  font-size: clamp(28px, 3.35vw, 44px) !important;
  line-height: 1.2 !important;
  font-weight: 1000 !important;
}

body[data-step="home"] .happyBenefit {
  display: flex;
  min-width: 0;
  padding-block: 4px !important;
  align-items: baseline;
  justify-content: center;
  gap: clamp(6px, 1vw, 14px);
}

body[data-step="home"] .happySize,
body[data-step="home"] .takeoutSizeNote,
body[data-step="home"] .happyHours {
  color: #ffffff !important;
  font-size: clamp(18px, 2.15vw, 28px) !important;
  line-height: 1.3 !important;
  font-weight: 900 !important;
}

body[data-step="home"] .heroPromoStrip .happyPromo .happyPrice,
body[data-step="home"] .heroPromoStrip .takeoutPromo .takeoutDiscount {
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #ffffff !important;
  font-size: clamp(34px, 4.2vw, 52px) !important;
  line-height: 1.25 !important;
  font-weight: 1000 !important;
}

body[data-step="home"] .heroPromoStrip .takeoutPromo .takeoutDiscount {
  padding-block: 4px !important;
}

body[data-step="home"] .happyTakeoutOnly {
  display: inline-flex;
  min-height: clamp(44px, 3.7vw, 56px);
  max-width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
  padding: 7px clamp(14px, 1.8vw, 24px);
  border: 2px solid #ffffff;
  border-radius: 999px;
  background: #c8102e;
  box-shadow: 0 4px 12px rgba(36, 5, 11, .38), 0 0 0 1px rgba(255, 255, 255, .28);
  color: #ffffff !important;
  font-size: clamp(20px, 2.4vw, 30px) !important;
  line-height: 1.16 !important;
  font-weight: 1000 !important;
  text-align: center;
}

body[data-step="home"] .happyDineInExclusion {
  color: #ffffff !important;
  font-size: clamp(15px, 1.65vw, 21px) !important;
  line-height: 1.22 !important;
  font-weight: 800 !important;
}

body[data-step="home"] :is(.happyOrderNow, .takeoutOrderNow) {
  color: #ffffff !important;
  font-size: clamp(17px, 1.85vw, 24px) !important;
  line-height: 1.15 !important;
  font-weight: 950 !important;
}

body[data-step="home"] .heroPromoStrip .takeoutPromo > * {
  width: min(90%, 420px);
}

html[data-layout="kiosk21"] body[data-step="home"] .happyTakeoutOnly {
  min-height: 52px;
  font-size: clamp(26px, 2.4vw, 32px) !important;
}

html[data-layout="kiosk21"] body[data-step="home"] .heroPromoStrip .heroPromo h3 {
  padding-block: 4px !important;
  line-height: 1.22 !important;
}

html[data-layout="kiosk21"] body[data-step="home"] .happyBenefit {
  padding-block: 2px !important;
}

html[data-layout="kiosk21"] body[data-step="home"] :is(.happySize, .takeoutSizeNote, .happyHours) {
  line-height: 1.3 !important;
}

html[data-layout="kiosk21"] body[data-step="home"] .heroPromoStrip .happyPromo .happyPrice,
html[data-layout="kiosk21"] body[data-step="home"] .heroPromoStrip .takeoutPromo .takeoutDiscount {
  padding-block: 4px !important;
  font-size: clamp(42px, 4.2vw, 52px) !important;
  line-height: 1.25 !important;
}

html[data-layout="kiosk21"] body[data-step="home"] .happyDineInExclusion {
  line-height: 1.35 !important;
}

html[data-layout="kiosk21"] body[data-step="home"] :is(.happyOrderNow, .takeoutOrderNow) {
  line-height: 1.3 !important;
}

html[data-layout="kiosk21"] body[data-step="home"] .heroPromoStrip .takeoutPromo {
  gap: clamp(14px, 1.5vw, 20px) !important;
}

@media (min-width: 701px) and (max-width: 1024px) {
  body[data-step="home"] .heroPromoStrip .heroPromo {
    padding: 2px 10px !important;
    gap: 3px !important;
  }

  body[data-step="home"] .heroPromoStrip .heroPromo h3 {
    font-size: clamp(28px, 3.6vw, 34px) !important;
  }

  body[data-step="home"] .heroPromoStrip :is(.happyPromo .happyPrice, .takeoutPromo .takeoutDiscount) {
    font-size: clamp(34px, 4.7vw, 42px) !important;
  }

  body[data-step="home"] :is(.happySize, .takeoutSizeNote, .happyHours) {
    font-size: clamp(18px, 2.5vw, 24px) !important;
  }

  body[data-step="home"] .happyTakeoutOnly {
    min-height: 44px;
    padding: 5px 16px;
    font-size: clamp(20px, 2.7vw, 24px) !important;
  }

  body[data-step="home"] .happyDineInExclusion {
    font-size: clamp(15px, 1.9vw, 18px) !important;
  }
}

@media (max-width: 700px) {
  body[data-step="home"] .heroPromoStrip {
    gap: 8px !important;
  }

  body[data-step="home"] .heroPromoStrip .heroPromo {
    min-height: 0 !important;
    padding: 10px 5px !important;
    gap: 4px !important;
  }

  html[data-layout="phone"] body[data-step="home"] .heroPromoStrip .heroPromo h3 {
    font-size: clamp(22px, 6.5vw, 28px) !important;
    line-height: 1.08 !important;
  }

  body[data-step="home"] .happyBenefit {
    flex-wrap: wrap;
    gap: 2px 6px;
  }

  html[data-layout="phone"] body[data-step="home"] .heroPromoStrip :is(.happyPromo .happyPrice, .takeoutPromo .takeoutDiscount) {
    font-size: clamp(28px, 8.2vw, 34px) !important;
  }

  html[data-layout="phone"] body[data-step="home"] .heroPromoStrip .happyPromo .happyPrice {
    font-size: clamp(28px, 7.2vw, 30px) !important;
  }

  html[data-layout="phone"] body[data-step="home"] .heroPromoStrip :is(.happySize, .takeoutSizeNote, .happyHours) {
    font-size: clamp(15px, 4.5vw, 19px) !important;
    line-height: 1.2 !important;
  }

  html[data-layout="phone"] body[data-step="home"] .heroPromoStrip .happyTakeoutOnly {
    min-height: 54px;
    padding: 5px 10px;
    border-width: 2px;
    font-size: clamp(18px, 5.1vw, 20px) !important;
    line-height: 1.12 !important;
  }

  html[data-layout="phone"] body[data-step="home"] .heroPromoStrip .happyDineInExclusion {
    width: 100%;
    box-sizing: border-box;
    font-size: clamp(15px, 4.1vw, 17px) !important;
    line-height: 1.3 !important;
  }

  html[data-layout="phone"] body[data-step="home"] .heroPromoStrip :is(.happyOrderNow, .takeoutOrderNow) {
    font-size: clamp(15px, 4.2vw, 18px) !important;
  }

  html[lang="es"][data-layout="phone"] body[data-step="home"] .heroPromoStrip .takeoutPromo .takeoutDiscount {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    font-size: 26px !important;
    line-height: 1.3 !important;
    letter-spacing: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  html[lang="ja"][data-layout="phone"] body[data-step="home"] .heroPromoStrip .happyPromo h3 {
    font-size: 22px !important;
    letter-spacing: -.08em;
    white-space: nowrap !important;
  }
}

@media (max-width: 380px) and (max-height: 700px) {
  body[data-step="home"] .heroPromoStrip .heroPromo {
    padding-block: 4px !important;
    gap: 0 !important;
  }

  body[data-step="home"] .heroPromoStrip .takeoutPromo {
    padding-inline: 2px !important;
  }

  body[data-step="home"] .happyBenefit {
    padding-block: 0 !important;
  }

  html[data-layout="phone"] body[data-step="home"] .heroPromoStrip .heroPromo h3 {
    padding-block: 3px !important;
    font-size: 22px !important;
  }

  html[data-layout="phone"] body[data-step="home"] .heroPromoStrip :is(.happyPromo .happyPrice, .takeoutPromo .takeoutDiscount) {
    font-size: 28px !important;
  }

  html[data-layout="phone"] body[data-step="home"] .heroPromoStrip :is(.happySize, .takeoutSizeNote, .happyHours) {
    font-size: 15px !important;
  }

  html[data-layout="phone"] body[data-step="home"] .heroPromoStrip .takeoutSizeNote {
    line-height: 1.35 !important;
  }

  html[data-layout="phone"] body[data-step="home"] .heroPromoStrip .happyTakeoutOnly {
    min-height: 54px;
    font-size: 18px !important;
  }

  html[data-layout="phone"] body[data-step="home"] .heroPromoStrip .happyDineInExclusion,
  html[data-layout="phone"] body[data-step="home"] .heroPromoStrip :is(.happyOrderNow, .takeoutOrderNow) {
    font-size: 15px !important;
  }
}
