#loading,
.loading {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  background-color: #dadada;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  height: 100%;
  left: 0;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
}

#loading {
  display: none;
}

.loading-wrapper {
  margin: 0 auto;
}

.p_modal h2,
.p_modal p {
  padding: 0;
  text-align: center;
}

.p_modal h2 {
  color: #333;
  display: block;
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 16px;
  text-transform: none;
}

.p_modal p {
  text-align: center;
  color: #555;
  float: none;
  font-size: 17px !important;
  font-weight: 400;
  line-height: 1.5;
  margin: 0 0 10px;
}

.highlight-box {
  background: #fff5ee;
  border-radius: 8px;
  margin: 0 0 20px !important;
  padding: 16px 20px !important;
  text-align: center;
}

.highlight-box p {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
}

.p_modal .btn-theme,
.p_modal .btn-success {
  margin-top: 12px;
}

.p_modal img:not(.urgency-icon) {
  max-height: 20vh;
  max-width: 100%;
  margin: auto;
  display: block;
}

.circle_loader,
.confeti,
.p_modal h2,
.p_modal p {
  position: relative;
}

.btn-success,
.survey_button {
  border-radius: 10px !important;
}

.btn-lg,
.comments_face {
  font-size: 1rem !important;
}

.btn-theme {
  background-color: var(--btn-color);
  border-color: var(--btn-color);
  color: var(--btn-text-color, #fff);
}

/* Button style variants */
body.btn-style-flat .btn-theme,
body.btn-style-flat .btn-success,
body.btn-style-flat #submitForm,
body.btn-style-flat .survey_button {
  border: none !important;
}

.survey_button {
  border: 2px solid #f0f0f0 !important;
  box-shadow: 0 1px 4px 0 rgba(0, 0, 0, 0.74) !important;
  margin: 5px 0 !important;
  padding: 5px 0 !important;
  background-color: #fff;
  background: var(--btn-color);
  color: var(--btn-text-color, #fff) !important;
  font-weight: 400;
  position: relative;
  text-align: center;
  cursor: pointer;
}

.loading,
.survey_button {
  text-align: center;
}


.survey_button {
  padding: 10px;
}

.btn-theme,
.btn-success {
  color: var(--btn-text-color, #fff);
}

@-webkit-keyframes shaking {

  10%,
  90% {
    -webkit-transform: translate3d(-1px, 0, 0);
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    -webkit-transform: translate3d(2px, 0, 0);
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    -webkit-transform: translate3d(-4px, 0, 0);
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    -webkit-transform: translate3d(4px, 0, 0);
    transform: translate3d(4px, 0, 0);
  }
}

@keyframes shaking {

  10%,
  90% {
    -webkit-transform: translate3d(-1px, 0, 0);
    transform: translate3d(-1px, 0, 0);
  }

  20%,
  80% {
    -webkit-transform: translate3d(2px, 0, 0);
    transform: translate3d(2px, 0, 0);
  }

  30%,
  50%,
  70% {
    -webkit-transform: translate3d(-4px, 0, 0);
    transform: translate3d(-4px, 0, 0);
  }

  40%,
  60% {
    -webkit-transform: translate3d(4px, 0, 0);
    transform: translate3d(4px, 0, 0);
  }
}

.shaking:hover {
  -webkit-animation: shaking 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  animation: shaking 0.82s cubic-bezier(0.36, 0.07, 0.19, 0.97) both;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-perspective: 1000px;
  perspective: 1000px;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

@-webkit-keyframes shaking_inf {
  0% {
    -webkit-transform: translate(1px, 1px) rotate(0);
    transform: translate(1px, 1px) rotate(0);
  }

  10% {
    -webkit-transform: translate(-1px, -2px) rotate(-1deg);
    transform: translate(-1px, -2px) rotate(-1deg);
  }

  20% {
    -webkit-transform: translate(-3px) rotate(1deg);
    transform: translate(-3px) rotate(1deg);
  }

  30% {
    -webkit-transform: translate(3px, 2px) rotate(0);
    transform: translate(3px, 2px) rotate(0);
  }

  40% {
    -webkit-transform: translate(1px, -1px) rotate(1deg);
    transform: translate(1px, -1px) rotate(1deg);
  }

  50% {
    -webkit-transform: translate(-1px, 2px) rotate(-1deg);
    transform: translate(-1px, 2px) rotate(-1deg);
  }

  60% {
    -webkit-transform: translate(-3px, 1px) rotate(0);
    transform: translate(-3px, 1px) rotate(0);
  }

  70% {
    -webkit-transform: translate(3px, 1px) rotate(-1deg);
    transform: translate(3px, 1px) rotate(-1deg);
  }

  80% {
    -webkit-transform: translate(-1px, -1px) rotate(1deg);
    transform: translate(-1px, -1px) rotate(1deg);
  }

  90% {
    -webkit-transform: translate(1px, 2px) rotate(0);
    transform: translate(1px, 2px) rotate(0);
  }

  100% {
    -webkit-transform: translate(1px, -2px) rotate(-1deg);
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

@keyframes shaking_inf {
  0% {
    -webkit-transform: translate(1px, 1px) rotate(0);
    transform: translate(1px, 1px) rotate(0);
  }

  10% {
    -webkit-transform: translate(-1px, -2px) rotate(-1deg);
    transform: translate(-1px, -2px) rotate(-1deg);
  }

  20% {
    -webkit-transform: translate(-3px) rotate(1deg);
    transform: translate(-3px) rotate(1deg);
  }

  30% {
    -webkit-transform: translate(3px, 2px) rotate(0);
    transform: translate(3px, 2px) rotate(0);
  }

  40% {
    -webkit-transform: translate(1px, -1px) rotate(1deg);
    transform: translate(1px, -1px) rotate(1deg);
  }

  50% {
    -webkit-transform: translate(-1px, 2px) rotate(-1deg);
    transform: translate(-1px, 2px) rotate(-1deg);
  }

  60% {
    -webkit-transform: translate(-3px, 1px) rotate(0);
    transform: translate(-3px, 1px) rotate(0);
  }

  70% {
    -webkit-transform: translate(3px, 1px) rotate(-1deg);
    transform: translate(3px, 1px) rotate(-1deg);
  }

  80% {
    -webkit-transform: translate(-1px, -1px) rotate(1deg);
    transform: translate(-1px, -1px) rotate(1deg);
  }

  90% {
    -webkit-transform: translate(1px, 2px) rotate(0);
    transform: translate(1px, 2px) rotate(0);
  }

  100% {
    -webkit-transform: translate(1px, -2px) rotate(-1deg);
    transform: translate(1px, -2px) rotate(-1deg);
  }
}

.shaking_inf {
  -webkit-animation: shaking_inf 2s infinite;
  animation: shaking_inf 2s infinite;
}

#modal_one,
#modal_two {
  overflow-y: auto;
}

#modal_one h2,
#modal_two h2,
#modal_three h2 {
  text-align: center;
}

#modal_three .modal-body {
  max-height: none;
  overflow: visible;
  padding: 10px;
}

#modal_three .p_modal p {
  margin: 0 0 10px
}

#modal_three {
  display: block;
  margin: 0 auto 0;
  max-width: 520px;
  background: transparent;
}

#modal_three .modal-dialog {
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-shadow: none;
}

.product_wrapper {
  max-width: 100%;
  margin: 0 auto;
}

#content_two h2 {
  text-align: center;
}

.empty-box-img {
  width: 90px;
}

/* Urgency block */
@keyframes blinkSlow {

  0%,
  90%,
  100% {
    opacity: 1;
  }

  95% {
    opacity: 0.2;
  }
}

@keyframes pulse {
  0% {
    color: red;
  }

  50% {
    color: orange;
  }

  100% {
    color: red;
  }
}

#urgency-container {
  position: relative;
  right: 16px;
  text-align: right;
  font-family: Arial, sans-serif;
  z-index: 10;
  margin: 10px 0 15px;
}

@media screen and (max-width: 400px) {
  #urgency-container {
    position: static;
    max-width: 100%;
    margin: 20px 0 0;
    text-align: center;
  }
}

.urgency-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 6px 0 0;
}

.urgency-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

#items-left.blink {
  animation: blinkSlow 4s ease-in-out infinite;
  font-weight: 1000;
  font-size: 15px;
  color: #c40000;
  margin: 0;
  line-height: 1.2;
}

#people-viewing.pulse {
  animation: pulse 5s ease-in-out infinite;
  font-size: 14px;
  color: #555;
  margin-top: 3px;
  line-height: 1.2;
}

/* Notifications */
.notifications {
  position: fixed;
  top: 1%;
  right: 1%;
  max-width: 320px;
  z-index: 10;
}

.notifications__items {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

.notifications__item {
  display: flex;
  justify-content: space-between;
  gap: 0 1rem;
  background-color: #fff;
  border-radius: 0.25rem;
  border: 1px solid #e1e1e1;
  padding: 0.5rem;
  margin-top: 5px;
}

.hiddenNoty {
  animation-name: hiddenNoty;
  animation-duration: 2s;
  animation-timing-function: ease;
  -webkit-animation-name: hiddenNoty;
  -webkit-animation-duration: 2s;
  -webkit-animation-timing-function: ease;
}

@-moz-keyframes hiddenNoty {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@-webkit-keyframes hiddenNoty {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

@keyframes hiddenNoty {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.showNoty {
  animation-name: showNoty;
  animation-duration: 0.5s;
  animation-timing-function: ease;
  -webkit-animation-name: showNoty;
  -webkit-animation-duration: 0.5s;
  -webkit-animation-timing-function: ease;
}

@-moz-keyframes showNoty {
  0% {
    opacity: 0;
    transform: translateX(100%);
  }

  50% {
    opacity: 0.5;
  }

  100% {
    opacity: 1;
    transform: translateX(0%);
  }
}

@-webkit-keyframes showNoty {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}

@keyframes showNoty {
  0% {
    transform: translateX(100%);
    opacity: 0;
  }

  50% {
    opacity: 0.5;
  }

  100% {
    transform: translateX(0%);
    opacity: 1;
  }
}

.notifications__item__img {
  max-width: 60px;
}

.notifications__item__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.notifications__item__content {
  width: 100%;
  padding: 0 5px;
}

.notifications__item__content__header {
  font-size: 14px;
  margin-bottom: 0.25rem;
}

.notifications__item-name {
  font-weight: bold;
}

.notifications__item-address {
  text-decoration: underline;
}

.notifications__item__content__desc {
  font-size: 16px;
  font-weight: 500;
  color: #111;
  margin-bottom: 0.25rem;
}

.notifications__item__content__bottom {
  display: flex;
  align-items: center;
}

.notifications__item__time {
  font-size: 13px;
}

.notifications__item__icons {
  display: flex;
  margin-right: 0.25rem;
}

.notifications__item__icons img {
  width: 15px;
  height: 15px;
}

.notifications__item__btn {
  margin: 0 10px 0 5px;
}

.notifications__item__btn-close {
  vertical-align: inherit;
}

.notifications__item__content__product {
  display: block;
  margin-top: 0.25rem;
}

.offerbarexpire {
  color: var(--offerbarexpire-text-color, #fff);
  background: var(--offerbarexpire-color, #cc9900) !important;
  font-weight: 600;
  font-size: 14px;
  border-top: none !important;
  border-bottom: none !important;
}

.header-timer-box {
  background: #fff;
  color: #000;
  border-radius: 6px;
  padding: 5px 14px;
  text-align: center;
  min-width: 96px;
  flex-shrink: 0;
}

.header-timer-box__label {
  font-size: 11px;
  font-weight: 400;
  line-height: 1.3;
}

.header-timer-box__value {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

#timer-12586003 {
  display: inline;
}

.pt-3,
.py-3 {
  padding-top: 1rem !important;
}

.px-3 {
  padding-right: 10px !important;
  padding-left: 10px !important;
}

.py-1 {
  padding-bottom: 0.35rem !important;
  padding-top: 0.35rem !important;
}

.green {
  color: #2e7d32;
}

.btn-pulse {
  animation: btnPulse 1.5s ease-in-out infinite;
  display: block;
  width: 100%;
  max-width: 200px;
  margin: 24px auto 0 auto;
  padding: 16px 32px;
  border: none;
  border-radius: 8px;
  font-size: 18px !important;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
}

@keyframes btnPulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(0.95);
  }

  100% {
    transform: scale(1);
  }
}

.confetti-layer {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.confetti-layer span {
  position: absolute;
  left: 50%;
  top: 52%;
  width: 8px;
  height: 14px;
  border-radius: 2px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.25) rotate(0deg);
}

.confetti-layer.is-active span {
  animation:
    confettiBurst 900ms cubic-bezier(0.2, 0.9, 0.25, 1) var(--d, 0ms) forwards,
    confettiDrift 1300ms linear calc(900ms + var(--d, 0ms)) forwards;
}

.confetti-layer span:nth-child(1) {
  --dx: -170px;
  --dy: -120px;
  --rot: -300deg;
  --d: 0ms;
  background: #f57c00;
}

.confetti-layer span:nth-child(2) {
  --dx: -140px;
  --dy: -170px;
  --rot: -240deg;
  --d: 30ms;
  background: #43a047;
}

.confetti-layer span:nth-child(3) {
  --dx: -95px;
  --dy: -150px;
  --rot: -210deg;
  --d: 60ms;
  background: #fbc02d;
}

.confetti-layer span:nth-child(4) {
  --dx: -50px;
  --dy: -185px;
  --rot: -170deg;
  --d: 90ms;
  background: #1e88e5;
}

.confetti-layer span:nth-child(5) {
  --dx: -20px;
  --dy: -130px;
  --rot: -140deg;
  --d: 120ms;
  background: #ef5350;
}

.confetti-layer span:nth-child(6) {
  --dx: 20px;
  --dy: -180px;
  --rot: -90deg;
  --d: 150ms;
  background: #fb8c00;
}

.confetti-layer span:nth-child(7) {
  --dx: 60px;
  --dy: -140px;
  --rot: -55deg;
  --d: 180ms;
  background: #7cb342;
}

.confetti-layer span:nth-child(8) {
  --dx: 95px;
  --dy: -170px;
  --rot: -20deg;
  --d: 210ms;
  background: #fdd835;
}

.confetti-layer span:nth-child(9) {
  --dx: 130px;
  --dy: -125px;
  --rot: 30deg;
  --d: 240ms;
  background: #039be5;
}

.confetti-layer span:nth-child(10) {
  --dx: 168px;
  --dy: -160px;
  --rot: 70deg;
  --d: 270ms;
  background: #ec407a;
}

.confetti-layer span:nth-child(11) {
  --dx: -150px;
  --dy: -55px;
  --rot: -260deg;
  --d: 300ms;
  background: #ffa726;
}

.confetti-layer span:nth-child(12) {
  --dx: -105px;
  --dy: -70px;
  --rot: -195deg;
  --d: 330ms;
  background: #66bb6a;
}

.confetti-layer span:nth-child(13) {
  --dx: -45px;
  --dy: -45px;
  --rot: -130deg;
  --d: 360ms;
  background: #ffca28;
}

.confetti-layer span:nth-child(14) {
  --dx: 45px;
  --dy: -65px;
  --rot: -35deg;
  --d: 390ms;
  background: #42a5f5;
}

.confetti-layer span:nth-child(15) {
  --dx: 90px;
  --dy: -35px;
  --rot: 35deg;
  --d: 420ms;
  background: #ff7043;
}

.confetti-layer span:nth-child(16) {
  --dx: 120px;
  --dy: -80px;
  --rot: 80deg;
  --d: 450ms;
  background: #9ccc65;
}

.confetti-layer span:nth-child(17) {
  --dx: 155px;
  --dy: -50px;
  --rot: 140deg;
  --d: 480ms;
  background: #f9a825;
}

.confetti-layer span:nth-child(18) {
  --dx: 5px;
  --dy: -205px;
  --rot: 190deg;
  --d: 510ms;
  background: #29b6f6;
}

@keyframes confettiBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.25) rotate(0deg);
  }

  25% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot));
  }
}

@keyframes confettiDrift {
  0% {
    opacity: 1;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy))) scale(1) rotate(var(--rot));
  }

  100% {
    opacity: 0;
    transform: translate(calc(-50% + var(--dx)), calc(-50% + var(--dy) + 160px)) scale(0.95) rotate(calc(var(--rot) + 180deg));
  }
}

@media (prefers-reduced-motion: reduce) {
  .confetti-layer.is-active span {
    animation: none;
    opacity: 0;
  }
}

/* Steps for winning modal */
.steps-title {
  text-align: center;
  font-weight: 700;
  font-size: 18px;
  color: #333;
  margin: 24px 0 16px 0;
  border-radius: 10px;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 8px;
  background: #fff5ee;
}

.steps>p {
  margin: 0;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  /* padding: 14px 16px; */

  border-radius: 10px;
}

.step-number {
  width: 24px;
  height: 24px;
  background: #2e7d32;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  flex-shrink: 0;
}

.step-text {
  font-size: 15px;
  color: #333;
  line-height: 1.4;
  padding-top: 1px;
}

.green {
  color: #2e7d32;
}