@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

.bt-offer-heading__title {
  display: none;
  font-family: Inter;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.2;
  color: #413E3E;
  margin: 24px 0 18px;
  text-align: left;
  position: relative;
}
/* .bt-offer-heading__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  height: 5px;
  width: 60px;
  background-color: var(--cart, #ff8419);
} */


.bt-offer-section {
  /* background: #f7f7f7; */
  /* border: 1px solid #e6e6e6; */
  border-radius: 14px;
  /* padding: 14px; */
  margin-top: 20px;
}

.bt-offer-heading__column {
  width: 100%;
  min-width: 0;
  background: #fff;
  padding: 16px 14px;
  border-radius: 12px;
}
.bt-offer-heading {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 25px;
  /* margin-top: 20px; */
}

/* If there is an odd number of offer cards, make the last card full width */
.bt-offer-heading > .bt-offer-heading__column:last-child:nth-child(odd) {
  grid-column: 1 / -1;
}
.bt-offer-heading__column h2 {
  font-family: Inter;
  font-size: 24px;
  font-weight: 600;
  line-height: 40px;
  text-transform: uppercase;
  margin: 0;
  color: #413E3E;
}
.bt-offer-heading__column .bt-free-deilivery-text h2 {
  margin-bottom: 22px;
}
.bt-offer-heading__column .bt-free-deilivery-text li {
  list-style: disc;
  margin-left: 20px;
}
.bt-offer-heading__badge {
  font-family: Inter;
  font-weight: 500;
  font-size: 12px;
  line-height: 18px;
  background: #000;
  color: #fff;
  width: fit-content;
  display: inline-block;
  padding: 4px 16px;
  border-radius: 100vw;
  height: fit-content;
}
.bt-offer-heading__column_heading {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-direction: column;
}
.bt-offer-heading__column.bt-free-delivery {
  display: flex;
  justify-content: space-between;
}
.bt-offer-heading__column.bt-free-delivery img {
  width: 168px;
  display: block;
}
.bt-offer-heading__badge.bt-badge-green {
  background: #0FB522;
}
.bt-offer-heading__badge.bt-badge-blue {
  background: #2B6FD4;
}
.btyeeat-menu-offer__heading_badges {
  display: flex;
  flex-flow: row wrap;
  gap: 8px;
  height: fit-content;
}
.bt-offer-heading__column_body_text, .bt-free-delivery-reason {
  font-family: "Inter";
  font-weight: 400;
  font-size: 20px;
  color: #565353;
  margin: 0;
}
.bt-offer-min-spend-amount-text {
  font-weight: 400;
  font-size: 16px;
  color: #FF8419;
  margin-block: 28px;
}
.bt-offer-heading__column_categories {
  gap: 8px;
  display: flex;
  flex-flow: row wrap;
  align-items: center;
}
.bt-offer-heading__column_applicable_categories {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 25px;
}
.bt-offer-category-exception-text {
  color: #000;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  color: #413E3E;
}
.bt-offer-heading__column_categories {
  font-family: "Inter";
  color: #413E3E;
  font-size: 14px;
  line-height: 18px;
  font-weight: 400;
}

@media screen and (max-width: 992px) {
  .bt-offer-heading {
    grid-template-columns: 1fr;
  }

  .bt-offer-heading > .bt-offer-heading__column:last-child:nth-child(odd) {
    grid-column: auto;
  }
}


@media screen and (max-width: 400px) {
    .bt-offer-heading {
        gap: 14px;
    }
    .bt-offer-heading__column_body_text, .bt-free-delivery-reason {
        font-size: 16px;
    }
    
    .bt-offer-heading__column.bt-free-delivery img {
        width: 110px;
    }
}

/* Compact offer slider displayed inside the menu hero. */
.v2-hero-offers-slot {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 18px;
  left: 0;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.bt-hero-offer-slider,
.bt-hero-offer-slider * {
  box-sizing: border-box;
}

.bt-hero-offer-slider {
  position: relative;
  max-width: 700px;
  overflow: hidden;
  color: #fff;
  background: rgba(12, 12, 12, 0.82);
  border: 1px solid rgba(245, 190, 50, 0.42);
  border-radius: 8px;
  backdrop-filter: blur(8px);
}

.bt-hero-offer-slider__viewport {
  overflow: hidden;
}

.bt-hero-offer-slider__track {
  display: flex;
  transition: transform 420ms ease;
}

.bt-hero-offer-slider__slide {
  display: block;
  flex: 0 0 100%;
  min-width: 0;
  min-height: 96px;
  padding: 14px 22px 20px;
}

.bt-hero-offer-slider__main {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  align-items: center;
}

.bt-hero-offer-slider__label {
  flex: 0 0 100%;
  color: #f5be32;
  font-size: 9px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.bt-hero-offer-slider__slide strong {
  color: #fff;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.bt-hero-offer-slider__main > span:last-child {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  line-height: 1.45;
}

.bt-hero-offer-slider__details {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
  margin-top: 9px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 10px;
  line-height: 1.3;
}

.bt-hero-offer-slider__badge {
  flex: 0 0 auto;
  padding: 2px 7px;
  color: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
}

.bt-hero-offer-slider__excluded {
  flex: 0 0 100%;
  min-width: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.bt-hero-offer-slider__excluded b {
  color: #f5be32;
}

.bt-hero-offer-slider__slide--free-delivery {
  position: relative;
  display: flex;
  align-items: center;
  padding-right: 96px;
}

.bt-hero-offer-slider__slide--free-delivery .bt-hero-offer-slider__main {
  flex: 1;
}

.bt-hero-offer-slider__delivery-image {
  position: absolute;
  top: 50%;
  right: 20px;
  width: 64px;
  height: 64px;
  object-fit: contain;
  transform: translateY(-50%);
}

.bt-hero-offer-slider__dots {
  position: absolute;
  right: 0;
  bottom: 7px;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.bt-hero-offer-slider__dots button {
  width: 6px;
  height: 6px;
  margin: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.38);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.bt-hero-offer-slider__dots button.is-active {
  background: #f5be32;
}

@media (max-width: 720px) {
  .v2-hero-offers-slot {
    bottom: 10px;
    width: calc(100% - 28px);
  }

  .v2-hero.has-offer-slider .v2-hero-content {
    padding-bottom: 112px !important;
  }

  .bt-hero-offer-slider__slide {
    min-height: 104px;
    padding: 12px 14px 19px;
  }

  .bt-hero-offer-slider__main {
    display: flex;
    flex-wrap: wrap;
    gap: 2px 8px;
  }

  .bt-hero-offer-slider__main .bt-hero-offer-slider__label {
    flex-basis: 100%;
  }

  .bt-hero-offer-slider__slide strong {
    font-size: 16px;
  }

  .bt-hero-offer-slider__main > span:last-child {
    flex: 1;
    min-width: 0;
    font-size: 12px;
    white-space: normal;
  }

  .bt-hero-offer-slider__slide--free-delivery {
    padding-right: 76px;
  }

  .bt-hero-offer-slider__delivery-image {
    right: 12px;
    width: 54px;
    height: 54px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bt-hero-offer-slider__track {
    transition: none;
  }
}
