/** Shopify CDN: Minification failed

Line 6:0 Unexpected "$"

**/
$min: min-width;
$max: max-width;
$small: 480px;
$s-medium: 768px;
$large: 1024px;
$x-large: 1200px;

/*Text colors*/

$colorWhite: #fff;
$colorBlack: #000;

/*Text colors End*/

$themeFontBaskerVille: "Baskerville No 2";
$themeFontGillSans: "Gill Sans Nova Book";
@font-face {
  font-family: 'Gill Sans Nova Book';
  src: url('GillSansNova-Book.woff2') format('woff2'), url('GillSansNova-Book.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

.swell-rewards .site-header {
  z-index: 500 !important;
}

.swell-rewards .site-footer-wrapper {
  margin-top: 0;
}

.rewards-page {
  &.swell-logged-in {
    .banner-section {
      margin-bottom: 40px;
      @media(min-width: 480px) {
        margin-bottom: 60px;
      }
      @media(min-width: 768px) {
        margin-bottom: 40px;
      }
    }
  }
  /* banner-section Code Start */
  .banner-section {
    position: relative;
    margin-bottom: 15px;
    @media(min-width: 480px) {
      margin-bottom: 20px;
    }
    @media(min-width: 768px) {
      margin-bottom: 40px;
    }
    img {
      width: 100%;
      &.desktop {
        display: none;
        @media($min: $s-medium) {
          display: block;
        }
      }
      &.mobile {
        display: block;
        margin-bottom: 40px;
        @media($min: $s-medium) {
          display: none;
        }
      }
    }
    .holder {
      display: flex;
      justify-content: center;
      align-items: center;
      @media($min: $s-medium) {
        position: absolute;
        top: 0;
        left: 18.5%;
        width: 70%;
        height: 100%;
        justify-content: flex-start;
      }
      .text-section {
        display: flex;
        justify-content: center;
        align-items: flex-start;
        flex-direction: column;
        text-align: center;
        padding: 0 20px;
        @media($min: $small) {
          padding: initial;
        }
        h1 {
          font-family: $themeFontBaskerVille;
          color: #4d4d4f;
          font-weight: normal;
          line-height: 1;
          font-size: 30px;
          margin: 0 auto 18px;
          @media($min: $small) {
            font-size: 36px;
            margin: 0 auto 25px;
            max-width: 360px;
          }
          @media($min: $s-medium) {
            max-width: initial;
            font-size: 28px;
            margin: 0 0 25px;
          }
        }
        p {
          font-family: $themeFontGillSans;
          color: #4d4d4f;
          margin: 0;
          font-size: 18px;
          margin-bottom: 40px;
          text-align: center;
          @media($min: $small) {
            font-size: 24px;
            max-width: 420px;
          }
          @media($min: $s-medium) {
            text-align: left;
            max-width: 360px;
            font-size: 18px;
            line-height: 1.7;
          }
        }
        .swell-btn-holder {
          display: flex;
          align-items: center;
          justify-content: space-between;
          max-width: 300px;
          width: 100%;
          flex-direction: column;
          margin: 0 auto;
          @media($min: $small) {
            max-width: 370px;
          }
          @media($min: $s-medium) {
            margin: initial;
            max-width: 310px;
            flex-direction: row;
          }
          .swell-btn {
            border: 1px solid #646464;
            background-color: #646464;
            font-family: $themeFontGillSans;
            font-size: 16px;
            font-weight: normal;
            font-stretch: normal;
            font-style: normal;
            line-height: normal;
            letter-spacing: normal;
            text-align: center;
            color: #ffffff;
            max-width: 370px;
            width: 100%;
            text-decoration: none;
            padding: 12px 0;
            text-transform: uppercase;
            @media($min: $s-medium) {
              max-width: 150px;
            }
            &.sign-in {
              background-color: transparent;
              color: #646464;
              &:hover {
                background-color: #646464;
                color: $colorWhite;
              }
            }
            &:first-child {
              margin-bottom: 12px;
              @media($min: $s-medium) {
                margin-bottom: 0;
              }
              &:hover {
                background: #8b8b8b;
                border: 1px solid #8b8b8b;
              }
            }
          }
        }
      }
    }
  }
  /* banner-section Code End */

  .swell-referral-section {
    .yotpo-widget-referral-widget {
      .yotpo-background {
        background-image: url(swell-banner-mobile.jpg) !important;
        @media($min: $s-medium) {
          background-image: url("https://cdn-widget-assets.yotpo.com/static_assets/2OCOqtJ9NxMb_sUWtwO57Q/images/image_2020_11_10_11_01_24_738") !important;
        }
      }
    }
  }
}

.swell-referral-back-link {
  width: 1.5em;
  height: 1.5em;
  max-width: 18px;
  max-height: 18px;
  display: block;
  vertical-align: middle;
  margin-left: auto;
  cursor: pointer;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  cursor: pointer;
  &:after,
  &:before {
    background: $colorWhite;
    content: "";
    height: 2px;
    max-width: calc(18px * 1.414);
    position: absolute;
    top: 0;
    transition: 0.05s ease-in-out background-color;
    width: calc(1.5em * 1.414);
  }
  &:before {
    left: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: left;
    -ms-transform-origin: left;
    transform-origin: left;
  }
  &:after {
    right: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transform-origin: right;
    -ms-transform-origin: right;
    transform-origin: right;
  }
  @media ($min: $small) {
    width: 2em;
    height: 2em;
    max-width: 25px;
    max-height: 25px;
    &:after,
    &:before {
      max-width: calc(25px * 1.414);
      width: calc(2em * 1.414);
    }
  }
}

.swell-referral-back-link {
  width: 2em;
  height: 2em;
  max-width: 18px;
  max-height: 18px;
  display: block;
  vertical-align: middle;
  cursor: pointer;
  position: absolute;
  &:after,
  &:before {
    background: $colorBlack;
    content: "";
    height: 2px;
    max-width: calc(18px * 1.414);
    position: absolute;
    top: 0;
    transition: 0.05s ease-in-out background-color;
    width: calc(2em * 1.414);
  }
  &:before {
    left: 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    -webkit-transform-origin: left;
    -ms-transform-origin: left;
    transform-origin: left;
  }
  &:after {
    right: 0;
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transform-origin: right;
    -ms-transform-origin: right;
    transform-origin: right;
  }
}

.swell-post-checkout {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  z-index: 9999;
  background-color: rgba(140, 172, 180, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0;
  @media($min: $s-medium) {
    padding: 0 10px;
  }
  .swell-post-checkout-holder {
    margin: 0 auto;
    width: 100%;
    max-width: 500px;
    position: relative;
    @media($min: $s-medium) {
      background-color: $colorWhite;
    }
    img {
      display: none;
    }
    @media($min: $s-medium) {
      max-width: 600px;
    }
    .swell-referral-back-link {
      top: 45px;
      left: initial;
      right: 25px;
      @media($min: $s-medium) {
        top: 15px;
        right: 15px;
        margin: initial;
      }
      &:after,
      &:before {
        background: #000;
      }
    }
    .swell-referral-section {
      .yotpo-widget-referral-widget {
        .yotpo-background {
          background: none !important;
          min-height: unset !important;
          .yotpo-tile-wrapper {
            .yotpo-tab-details {
              /*@media($min: $s-medium) {
                min-height: initial !important;
                }*/
            }
            .yotpo-tile {
              padding: 50px 0 20px !important;
              @media(min-width: 801px) {
                padding: 20px 0 !important;
              }
              .yotpo-tile-box {
                .yotpo-email-view {
                  .yotpo-title-text {
                    font-family: $themeFontGillSans !important;
                  }
                  .yotpo-header-text {
                    display: none;
                  }
                  .yotpo-referral-widget-form {
                    .yotpo-email-input-container {}
                  }
                }
                &.yotpo-final-view {}
              }
              .yotpo-share-buttons-container {
                li {
                  .yotpo-share-button-widget {
                    .yotpo-share-button-icons {
                      svg {}
                    }
                    .yotpo-share-button-txt {}
                  }
                }
              }
            }
          }
        }
        .yotpo-tile-wrapper {
          .yotpo-tabs-content {}
        }
      }
    }
  }
}
