/**
 * Kolache Factory — Global Site CSS
 * Recommended S3 path:
 * https://kolfac.s3.amazonaws.com/global/kf-global.css
 */

/* ---------------------------------------------------------
   MOBILE HEADER — prevent desktop CTA group from duplicating
   Rewards / Order inside the mobile header
--------------------------------------------------------- */

@media screen and (max-width: 767px) {
  .header-display-mobile .kf-header-buttons {
    display: none !important;
  }
}

/* ---------------------------------------------------------
   ORDER OVERLAY
--------------------------------------------------------- */

.order-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 0;
  box-sizing: border-box;

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  background: rgba(0, 0, 0, 0.65);

  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

.order-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.order-overlay-inner {
  position: absolute;
  top: 0;
  bottom: 0;

  width: 100%;
  padding: 30px;
  box-sizing: border-box;

  background:
    url("https://kolfac.s3.us-east-1.amazonaws.com/AUG+26+Home+PG+Mobile2-min.png")
    center center / cover no-repeat;

  color: #fff;
  text-align: center;
  border-radius: 0;

  opacity: 0;
  transform: translateY(30px);

  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}

.order-overlay.is-open .order-overlay-inner {
  opacity: 1;
  transform: translateY(0);
}

.order-overlay-close {
  position: absolute;
  top: 15px;
  right: 20px;

  border: 0;
  background: transparent;

  font-size: 42px;
  color: #fff;
  cursor: pointer;
}

.order-overlay-options {
  position: absolute;
  bottom: 30px;

  display: flex;
  flex-direction: column;
  gap: 15px;

  width: 85%;
  margin-top: 25px;
}

.order-overlay-options a {
  display: block;

  width: 100%;
  padding: 18px 20px;
  box-sizing: border-box;

  background: #fff;
  color: #ff2823;

  text-align: center;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;

  border: 3px solid #fff;
  border-radius: 35px;
}

.order-overlay-inner img.order-logo {
  position: absolute;
  top: 20px;
  left: 20px;

  height: 40px;
  border: 0;
  background: transparent;
}

img.order-hero {
  display: block;
  width: 25%;
  margin: 30px auto;
}

@media screen and (max-width: 767px) {
  img.order-hero {
    width: 85%;
  }
}

.order-overlay-inner h3 {
  margin: 0;
  color: #fff !important;
  font-size: 42px !important;
}

/* ---------------------------------------------------------
   DESKTOP / TABLET ORDER CTA
--------------------------------------------------------- */

.kf-desktop-order-nav-item {
  display: flex !important;
  align-items: center;
  margin-left: 18px;
}

.order-hdr-cta-desktop {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;

  min-width: 105px;
  height: 44px;
  padding: .1em 2em;

  box-sizing: border-box;

  background: #fc241d !important;
  border: 2px solid #b8100d !important;
  border-radius: 999px !important;

  color: #fff !important;
  text-decoration: none !important;

  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: 1.25px !important;
  text-transform: uppercase !important;

  white-space: nowrap;

  transition:
    transform 0.2s ease,
    background-color 0.2s ease;
}

.order-hdr-cta-desktop:hover {
  background: #e9201b !important;
  transform: translateY(-1px);
}

.header-display-desktop .header-nav-list {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .kf-desktop-order-nav-item,
  .order-hdr-cta-desktop {
    display: none !important;
  }
}

@media screen and (min-width: 768px) and (max-width: 1100px) {
  .kf-desktop-order-nav-item {
    margin-left: 10px;
  }

  .order-hdr-cta-desktop {
    min-width: 92px;
    height: 40px;
    padding: .1em 2em;
    font-size: 13px !important;
  }
}

