/* Fuel Max CRO popups — front-end presentation only. */
html.fuelmax-cro-locked,
body.fuelmax-cro-locked {
  overflow: hidden !important;
}

.fuelmax-cro-overlay[hidden],
.fuelmax-cro-modal[hidden],
.fuelmax-cro-toast[hidden],
.fuelmax-cro-extra[hidden] {
  display: none !important;
}

.fuelmax-cro-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147483000;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  padding: 35px 12px;
  overflow-x: hidden;
  overflow-y: auto;
  background: rgba(0, 0, 0, 0.7);
  font-family: Arial, Helvetica, sans-serif;
  color: #2f2f2f;
}

.fuelmax-cro-modal {
  position: relative;
  width: min(800px, calc(100vw - 24px));
  min-height: 360px;
  box-sizing: border-box;
  margin: 0 auto;
  padding: 34px 48px 40px;
  background: #ffe300;
  border: 5px solid #e43b2c;
  border-radius: 10px;
  box-shadow: 0 3px 18px rgba(0, 0, 0, 0.45);
  text-align: center;
}

.fuelmax-cro-close {
  position: absolute;
  top: -20px;
  right: -20px;
  z-index: 2;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 3px solid #fff;
  border-radius: 50%;
  background: #1d1d1d;
  color: #fff;
  box-shadow: 0 2px 7px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  font: 700 25px/31px Arial, sans-serif;
  text-align: center;
}

.fuelmax-cro-close:hover,
.fuelmax-cro-close:focus-visible {
  background: #000;
  outline: 3px solid rgba(255, 255, 255, 0.95);
  outline-offset: 2px;
}

.fuelmax-cro-sale-ribbon {
  display: block;
  width: 256px;
  max-width: 100%;
  height: 77px;
  margin: 0 auto;
  object-fit: contain;
}

.fuelmax-cro-modal__headline {
  width: min(700px, 100%);
  margin: 22px auto 0;
  color: #0000ee;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.fuelmax-cro-modal__copy {
  width: min(700px, 100%);
  margin: 22px auto 0;
  color: #2f2f2f;
  font-size: 18px;
  line-height: 1.45;
}

.fuelmax-cro-timer {
  width: 300px;
  max-width: 100%;
  margin: 17px auto 0;
  color: #2f2f2f;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 2px;
  line-height: 1.2;
}

.fuelmax-cro-timer-labels {
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 150px;
  margin: 2px auto 0;
  color: #4e4e4e;
  font-size: 10px;
  line-height: 1.2;
  text-align: center;
}

.fuelmax-cro-button {
  display: block;
  width: 400px;
  max-width: 92%;
  min-height: 50px;
  box-sizing: border-box;
  margin: 38px auto 0;
  padding: 12px 16px;
  border: 1px solid #099513;
  border-radius: 4px;
  background: #0bba18;
  color: #fff;
  cursor: pointer;
  font: 700 20px/1.25 Arial, Helvetica, sans-serif;
  text-align: center;
}

.fuelmax-cro-button:hover,
.fuelmax-cro-button:focus-visible {
  background: #03880d;
  border-color: #04730c;
  outline: 3px solid rgba(0, 0, 0, 0.25);
  outline-offset: 2px;
}

.fuelmax-cro-modal--recovery {
  padding-top: 54px;
}

.fuelmax-cro-modal--recovery .fuelmax-cro-modal__wait {
  margin: 0;
  color: #2f2f2f;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
}

.fuelmax-cro-modal--recovery .fuelmax-cro-modal__headline {
  color: #2f2f2f;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.45;
}

.fuelmax-cro-toast {
  position: fixed;
  left: 10px;
  bottom: 10px;
  z-index: 2147482000;
  width: auto;
  min-width: max-content;
  max-width: min(430px, calc(100vw - 20px));
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 0 5px #6f6f6f;
  color: #000;
  transform: translateY(calc(100% + 20px));
  transition: transform 0.8s ease;
  pointer-events: none;
}

.fuelmax-cro-toast.is-visible {
  transform: translateY(0);
}

.fuelmax-cro-toast__item {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr);
  align-items: center;
  min-height: 92px;
}

.fuelmax-cro-toast__thumb {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  min-height: 92px;
  border-radius: 20px 0 0 20px;
  overflow: hidden;
  background: #fff;
}

.fuelmax-cro-toast__thumb img {
  display: block;
  width: 70px;
  height: 70px;
  object-fit: contain;
}

.fuelmax-cro-toast__copy {
  padding: 10px;
  font-size: 14px;
  line-height: 1.35;
  text-align: left;
}

.fuelmax-cro-toast__copy p {
  margin: 0;
  color: #000;
}

.fuelmax-cro-toast__copy p + p {
  margin-top: 3px;
}

.fuelmax-cro-toast__copy strong {
  color: #000;
  font-weight: 700;
}

.fuelmax-cro-extra {
  color: #169447;
  font-weight: 700;
}

@media screen and (max-width: 900px) {
  .fuelmax-cro-overlay {
    padding: 15px 6px;
    -webkit-overflow-scrolling: touch;
  }

  .fuelmax-cro-modal {
    width: 97%;
    min-height: 160px;
    padding: 12px 12px 24px;
    border-width: 5px;
    box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
    font-size: 14px;
  }

  .fuelmax-cro-close {
    top: -13px;
    right: -10px;
    width: 32px;
    height: 32px;
    font-size: 21px;
    line-height: 25px;
  }

  .fuelmax-cro-sale-ribbon {
    width: 205px;
    height: auto;
  }

  .fuelmax-cro-modal__headline {
    margin-top: 8px;
    padding: 2px;
    font-size: 16px;
  }

  .fuelmax-cro-modal__copy {
    width: 92%;
    margin-top: 7px;
    padding: 2px;
    font-size: 13px;
    line-height: 1.35;
  }

  .fuelmax-cro-timer {
    margin-top: 7px;
    padding: 2px;
    font-size: 25px;
  }

  .fuelmax-cro-button {
    width: 92%;
    max-width: 360px;
    margin-top: 28px;
    font-size: 16px;
  }

  .fuelmax-cro-modal--recovery {
    padding-top: 27px;
  }

  .fuelmax-cro-modal--recovery .fuelmax-cro-modal__wait {
    font-size: 25px;
  }

  .fuelmax-cro-modal--recovery .fuelmax-cro-modal__headline {
    margin-top: 15px;
    font-size: 17px;
  }
}

@media screen and (max-width: 767px) {
  .fuelmax-cro-toast {
    top: 10px;
    bottom: auto;
    transform: translateY(calc(-100% - 20px));
  }

  .fuelmax-cro-toast.is-visible {
    transform: translateY(0);
  }
}

@media screen and (max-width: 420px) {
  .fuelmax-cro-toast {
    right: 10px;
    width: auto;
    min-width: 0;
    max-width: none;
  }

  .fuelmax-cro-toast__item {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .fuelmax-cro-toast__thumb {
    width: 76px;
  }

  .fuelmax-cro-toast__thumb img {
    width: 60px;
    height: 60px;
  }

  .fuelmax-cro-toast__copy {
    padding-left: 5px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fuelmax-cro-toast {
    transition: none;
  }
}
