/*
=========================================================
OfferCircle Interactive Offer Discovery Loader
Version: 3.10 Loader 1
=========================================================
*/


/*
---------------------------------------------------------
MAIN LOADER
---------------------------------------------------------
*/

.oc-discovery-loader {
  width: 100%;
  padding: 18px 0 8px;
}

.oc-discovery-loader.hidden {
  display: none !important;
}


/*
---------------------------------------------------------
TOP DISCOVERY AREA
---------------------------------------------------------
*/

.oc-loader-hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;

  min-height: 150px;

  margin-bottom: 18px;

  padding: 10px 18px;
}


/*
---------------------------------------------------------
ORBIT
---------------------------------------------------------
*/

.oc-loader-orbit {
  position: relative;

  width: 136px;
  height: 136px;

  flex: 0 0 136px;

  display: flex;
  align-items: center;
  justify-content: center;
}


/*
---------------------------------------------------------
CENTER LOGO
---------------------------------------------------------
*/

.oc-loader-logo {
  position: relative;

  width: 62px;
  height: 62px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background:
    linear-gradient(
      145deg,
      #ffffff,
      #eaf8f3
    );

  border: 2px solid #07946d;

  box-shadow:
    0 10px 28px rgba(6, 126, 94, .16),
    0 0 0 7px rgba(7, 141, 104, .055);

  z-index: 5;

  animation:
    ocLoaderFloat 2.4s
    ease-in-out
    infinite;
}

.oc-loader-logo span {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 38px;
  height: 38px;

  border-radius: 50%;

  background: #078d68;

  color: #ffffff;

  font-size: 22px;
  line-height: 1;

  font-weight: 900;
}


/*
---------------------------------------------------------
ORBIT RINGS
---------------------------------------------------------
*/

.oc-loader-ring {
  position: absolute;

  left: 50%;
  top: 50%;

  border-radius: 50%;

  border:
    1px solid
    rgba(7, 141, 104, .20);

  pointer-events: none;
}

.oc-loader-ring::before {
  content: "";

  position: absolute;

  top: -4px;
  left: 50%;

  width: 8px;
  height: 8px;

  transform:
    translateX(-50%);

  border-radius: 50%;

  background: #07946d;

  box-shadow:
    0 0 0 5px
    rgba(7, 141, 104, .08);
}

.oc-loader-ring.ring-one {
  width: 102px;
  height: 102px;

  margin-left: -51px;
  margin-top: -51px;

  animation:
    ocLoaderSpin 5.5s
    linear
    infinite;
}

.oc-loader-ring.ring-two {
  width: 126px;
  height: 126px;

  margin-left: -63px;
  margin-top: -63px;

  opacity: .55;

  animation:
    ocLoaderSpinReverse 8s
    linear
    infinite;
}


/*
---------------------------------------------------------
FLOATING OFFER BUBBLES
---------------------------------------------------------
*/

.oc-loader-bubble {
  position: absolute;

  z-index: 6;

  padding: 5px 9px;

  border:
    1px solid
    #d7ebe4;

  border-radius: 999px;

  background:
    rgba(255, 255, 255, .96);

  color: #315e52;

  font-size: 9px;
  line-height: 1;

  font-weight: 800;

  white-space: nowrap;

  box-shadow:
    0 6px 18px
    rgba(19, 76, 61, .08);
}

.oc-loader-bubble::before {
  display: inline-block;

  margin-right: 4px;

  color: #07946d;
}

.oc-loader-bubble.bubble-one {
  left: -14px;
  top: 27px;

  animation:
    ocBubbleOne 2.8s
    ease-in-out
    infinite;
}

.oc-loader-bubble.bubble-one::before {
  content: "●";
}

.oc-loader-bubble.bubble-two {
  right: -17px;
  top: 16px;

  animation:
    ocBubbleTwo 3.2s
    ease-in-out
    infinite;
}

.oc-loader-bubble.bubble-two::before {
  content: "⌖";
}

.oc-loader-bubble.bubble-three {
  right: -23px;
  bottom: 20px;

  animation:
    ocBubbleThree 3s
    ease-in-out
    infinite;
}

.oc-loader-bubble.bubble-three::before {
  content: "%";
}


/*
---------------------------------------------------------
LOADING TEXT
---------------------------------------------------------
*/

.oc-loader-copy {
  max-width: 340px;

  display: flex;
  flex-direction: column;

  align-items: flex-start;

  gap: 5px;
}

.oc-loader-copy strong {
  color: #123c31;

  font-size: 18px;
  line-height: 1.25;

  font-weight: 850;
}

.oc-loader-copy > span {
  color: #658078;

  font-size: 12px;
  line-height: 1.45;
}


/*
---------------------------------------------------------
THREE ANIMATED DOTS
---------------------------------------------------------
*/

.oc-loader-dots {
  display: flex;

  align-items: center;

  gap: 5px;

  margin-top: 5px;
}

.oc-loader-dots i {
  display: block;

  width: 6px;
  height: 6px;

  border-radius: 50%;

  background: #078d68;

  animation:
    ocDotBounce 1.2s
    ease-in-out
    infinite;
}

.oc-loader-dots i:nth-child(2) {
  animation-delay: .15s;
}

.oc-loader-dots i:nth-child(3) {
  animation-delay: .30s;
}


/*
---------------------------------------------------------
SKELETON OFFER GRID
---------------------------------------------------------
*/

.oc-skeleton-grid {
  display: grid;

  grid-template-columns:
    repeat(
      4,
      minmax(0, 1fr)
    );

  gap: 16px;

  width: 100%;
}


/*
---------------------------------------------------------
SKELETON CARD
---------------------------------------------------------
*/

.oc-skeleton-card {
  overflow: hidden;

  min-width: 0;

  border:
    1px solid
    #dcebe6;

  border-radius: 17px;

  background: #ffffff;

  box-shadow:
    0 8px 26px
    rgba(23, 67, 56, .045);
}


/*
---------------------------------------------------------
SKELETON IMAGE
---------------------------------------------------------
*/

.oc-skeleton-image {
  position: relative;

  overflow: hidden;

  width: 100%;
  height: 138px;

  background:
    linear-gradient(
      110deg,
      #edf4f2 8%,
      #f7faf9 18%,
      #edf4f2 33%
    );

  background-size:
    220% 100%;

  animation:
    ocSkeletonShimmer
    1.35s
    linear
    infinite;
}

.oc-skeleton-image::before {
  content: "%";

  position: absolute;

  left: 15px;
  top: 14px;

  width: 30px;
  height: 30px;

  display: grid;
  place-items: center;

  border-radius: 9px;

  background:
    rgba(7, 141, 104, .10);

  color:
    rgba(7, 141, 104, .55);

  font-weight: 900;
}


/*
---------------------------------------------------------
SKELETON BODY
---------------------------------------------------------
*/

.oc-skeleton-body {
  padding: 13px;
}

.oc-skeleton-line {
  display: block;

  height: 9px;

  margin-bottom: 10px;

  border-radius: 999px;

  background:
    linear-gradient(
      110deg,
      #edf3f1 8%,
      #fafcfb 18%,
      #edf3f1 33%
    );

  background-size:
    220% 100%;

  animation:
    ocSkeletonShimmer
    1.35s
    linear
    infinite;
}

.oc-skeleton-line.line-short {
  width: 38%;

  height: 7px;
}

.oc-skeleton-line.line-title {
  width: 88%;

  height: 13px;
}

.oc-skeleton-line.line-medium {
  width: 62%;
}


/*
---------------------------------------------------------
SKELETON FOOTER
---------------------------------------------------------
*/

.oc-skeleton-footer {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 10px;

  margin-top: 17px;
}

.oc-skeleton-footer span {
  display: block;

  height: 28px;

  border-radius: 9px;

  background:
    linear-gradient(
      110deg,
      #edf3f1 8%,
      #fafcfb 18%,
      #edf3f1 33%
    );

  background-size:
    220% 100%;

  animation:
    ocSkeletonShimmer
    1.35s
    linear
    infinite;
}

.oc-skeleton-footer span:first-child {
  width: 66%;
}

.oc-skeleton-footer span:last-child {
  width: 28px;
}


/*
---------------------------------------------------------
CARD STAGGER
---------------------------------------------------------
*/

.oc-skeleton-card:nth-child(2)
.oc-skeleton-image,

.oc-skeleton-card:nth-child(2)
.oc-skeleton-line,

.oc-skeleton-card:nth-child(2)
.oc-skeleton-footer span {
  animation-delay: .10s;
}


.oc-skeleton-card:nth-child(3)
.oc-skeleton-image,

.oc-skeleton-card:nth-child(3)
.oc-skeleton-line,

.oc-skeleton-card:nth-child(3)
.oc-skeleton-footer span {
  animation-delay: .20s;
}


.oc-skeleton-card:nth-child(4)
.oc-skeleton-image,

.oc-skeleton-card:nth-child(4)
.oc-skeleton-line,

.oc-skeleton-card:nth-child(4)
.oc-skeleton-footer span {
  animation-delay: .30s;
}


/*
---------------------------------------------------------
ANIMATIONS
---------------------------------------------------------
*/

@keyframes ocLoaderSpin {
  from {
    transform:
      rotate(0deg);
  }

  to {
    transform:
      rotate(360deg);
  }
}


@keyframes ocLoaderSpinReverse {
  from {
    transform:
      rotate(360deg);
  }

  to {
    transform:
      rotate(0deg);
  }
}


@keyframes ocLoaderFloat {
  0%,
  100% {
    transform:
      translateY(0)
      scale(1);
  }

  50% {
    transform:
      translateY(-5px)
      scale(1.035);
  }
}


@keyframes ocBubbleOne {
  0%,
  100% {
    transform:
      translate(
        0,
        0
      );
  }

  50% {
    transform:
      translate(
        -3px,
        -5px
      );
  }
}


@keyframes ocBubbleTwo {
  0%,
  100% {
    transform:
      translate(
        0,
        0
      );
  }

  50% {
    transform:
      translate(
        4px,
        -4px
      );
  }
}


@keyframes ocBubbleThree {
  0%,
  100% {
    transform:
      translate(
        0,
        0
      );
  }

  50% {
    transform:
      translate(
        3px,
        5px
      );
  }
}


@keyframes ocDotBounce {
  0%,
  60%,
  100% {
    transform:
      translateY(0);

    opacity: .35;
  }

  30% {
    transform:
      translateY(-5px);

    opacity: 1;
  }
}


@keyframes ocSkeletonShimmer {
  0% {
    background-position:
      100% 0;
  }

  100% {
    background-position:
      -100% 0;
  }
}


/*
---------------------------------------------------------
TABLET
---------------------------------------------------------
*/

@media (
  max-width: 1050px
) {

  .oc-skeleton-grid {
    grid-template-columns:
      repeat(
        3,
        minmax(0, 1fr)
      );
  }

  .oc-skeleton-card:nth-child(4) {
    display: none;
  }

}


/*
---------------------------------------------------------
MOBILE
---------------------------------------------------------
*/

@media (
  max-width: 720px
) {

  .oc-discovery-loader {
    padding-top: 8px;
  }


  .oc-loader-hero {
    min-height: 128px;

    gap: 18px;

    padding:
      6px 2px
      12px;
  }


  .oc-loader-orbit {
    width: 105px;
    height: 105px;

    flex-basis: 105px;
  }


  .oc-loader-logo {
    width: 50px;
    height: 50px;
  }


  .oc-loader-logo span {
    width: 31px;
    height: 31px;

    font-size: 18px;
  }


  .oc-loader-ring.ring-one {
    width: 82px;
    height: 82px;

    margin-left: -41px;
    margin-top: -41px;
  }


  .oc-loader-ring.ring-two {
    width: 100px;
    height: 100px;

    margin-left: -50px;
    margin-top: -50px;
  }


  .oc-loader-bubble {
    padding:
      4px
      7px;

    font-size: 7.5px;
  }


  .oc-loader-bubble.bubble-one {
    left: -7px;
    top: 16px;
  }


  .oc-loader-bubble.bubble-two {
    right: -13px;
    top: 7px;
  }


  .oc-loader-bubble.bubble-three {
    right: -13px;
    bottom: 10px;
  }


  .oc-loader-copy {
    max-width: 190px;
  }


  .oc-loader-copy strong {
    font-size: 15px;
  }


  .oc-loader-copy > span {
    font-size: 10px;
  }


  .oc-skeleton-grid {
    grid-template-columns:
      repeat(
        2,
        minmax(0, 1fr)
      );

    gap: 10px;
  }


  .oc-skeleton-card:nth-child(n+3) {
    display: none;
  }


  .oc-skeleton-image {
    height: 112px;
  }


  .oc-skeleton-body {
    padding: 10px;
  }


  .oc-skeleton-footer {
    margin-top: 13px;
  }

}


/*
---------------------------------------------------------
VERY SMALL MOBILE
---------------------------------------------------------
*/

@media (
  max-width: 420px
) {

  .oc-loader-hero {
    flex-direction: column;

    gap: 4px;

    text-align: center;
  }


  .oc-loader-copy {
    align-items: center;

    max-width: 280px;
  }


  .oc-loader-copy strong {
    font-size: 15px;
  }


  .oc-loader-orbit {
    margin-bottom: 2px;
  }


  .oc-skeleton-image {
    height: 94px;
  }


  .oc-skeleton-body {
    padding: 9px;
  }

}


/*
---------------------------------------------------------
REDUCED MOTION
---------------------------------------------------------
*/

@media (
  prefers-reduced-motion: reduce
) {

  .oc-loader-logo,
  .oc-loader-ring,
  .oc-loader-bubble,
  .oc-loader-dots i,
  .oc-skeleton-image,
  .oc-skeleton-line,
  .oc-skeleton-footer span {
    animation: none !important;
  }

}