/*********************************/
/* EXTENDED CSS BY FIVE BY SEVEN */
/*********************************/

:root {
  --color-cream: 249, 246, 240;
  --color-gray: 157, 166, 179;
  --color-gold: 173, 147, 109;
}

/*================ ANIMATED UNDERLINES <span class="underline-animation"></span> ================*/

/* disable text underlines */
.header__menu-item,
.header__menu-item span,
.list-menu__item,
.underline-links-hover a,
.footer__blocks-wrapper a.link--text {
  text-decoration: none !important;
}

.header__menu-item,
.header__menu-item span,
.list-menu__item,
.footer__blocks-wrapper a.link--text {
  position: relative;
}

/* add underline animation */
.header__menu-item,
.underline-links-hover {
  .underline-animation {
    background-position: center calc(100% - (0em + 3px));
    background-image: linear-gradient(to right,rgb(var(--color-foreground)),rgb(var(--color-foreground)));
    background-size: 0% 1px;
    background-repeat: no-repeat;
    display: inline;
    padding-bottom: 3px;
    transition: all .15s linear;
    i {
      display: block;
    }
  }
  &:hover .underline-animation {
    background-size: 100% 1px;
  }
}

.footer__blocks-wrapper {
  a.link--text {
    &:after {
      content: "";
      position: absolute;
      height: 100%;
      top: 0;
      left: 0;
      right: 0;
      background-position: 0 calc(1em + 8px);
      background-image: linear-gradient(to right,#fff,#fff);
      background-size: 0% 1px;
      background-repeat: no-repeat;
      display: inline;
      transition: all .15s linear;
    }
    &:hover:after {
      background-size: 100% 1px;
    }
  }
}

.underline-animation {
  background-position: 0 calc(1em + 6px);
  background-image: linear-gradient(to right,rgb(var(--color-foreground)),rgb(var(--color-foreground)));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  display: inline;
  padding-bottom: 3px;
  transition: all .15s linear;
}
a:hover .underline-animation {
  background-size: 100% 1px;
}

/*================ MENU ================*/

.list-menu--disclosure {
  top: 61px;
}

.header__icon--link {
  font-size: 13px;
  line-height: 30px;
  height: 30px;
  white-space: nowrap;
  margin: 7px 10px 0 0;
  transition: all .15s linear;
  overflow: hidden;
  color: #fff;    
  justify-content: center;
  align-items: center;
  display: flex;
  padding: 10px;
  border-radius: 2px;
  background-color: rgba(var(--color-gold), 1);
  .button-scroll-in {
    animation-duration: .25s;
    animation-timing-function: ease-in-out;
    position: relative;
    top: 0;
  }        
  &:hover {
    background-color: rgba(var(--color-button), 1);
    .button-scroll-in {
      animation-name: scroll-in-big;
    }
  }
}

.header__submenu.list-menu {
  width: max-content;  
}

.header__menu-item,
.header__menu-item span,
.list-menu__item {
  font-size: 13px;
}

header-menu .header__submenu .header__menu-item {
  padding: 6px 40px 10px 30px;
}

.fbs__login header-menu a {
  width: auto;
}

@media screen and (min-width: 990px) {
  .utility-bar__grid--3-col {
    grid-template-columns: 2fr 5fr 2fr;  
  }
}

@media screen and (min-width: 990px) {
  .header:not(.drawer-menu).page-width {
    padding-left: 3.2rem;
    padding-right: 3.2rem;
    summary.list-menu__item {
        padding-right: 2.2rem;
        letter-spacing: 0px;
    }    
    a.header__heading-link {
      display: flex;
      align-items: center;
    }
  }
}

@media screen and (min-width: 1060px) {
  .header:not(.drawer-menu).page-width {
    summary.list-menu__item {
        padding-right: 2.7rem;
        letter-spacing: .6px;
    } 
  }
}

@media screen and (min-width: 750px) {
  .mobile-announcement {
    display: none;
    p {
      text-transform: uppercase;
    }
  }
}

/*================ SOME RESETS ================*/

a {
  text-decoration: none !important;
  &.foreground-color,
  &.foreground-color:hover {
    opacity: .75;
    color: rgba(var(--color-foreground), 1);
    &:hover {
      opacity: 1;
    }
  }
}

a,
input:focus {
  box-shadow: none !important;
}

.button, 
.shopify-challenge__button, 
.customer button {
  line-height: 1;
} 

/*================ GLOBAL ================*/

#MainContent {
  padding: 0 0 100px 0;  
}

.template-page-coffee-quiz {
   #MainContent {
    padding: 0;  
  } 
}

.shopify-section-group-footer-group {
  background-color: #4a4a4a;
}

.announcement-bar__message {
  font-size: calc(var(--font-heading-scale)* 1rem);
  line-height: 1.5;
  min-height: auto;
}

@media screen and (min-width: 990px) {
  header {  
    &.header:not(.header--middle-left,
    &.header--middle-center) .header__inline-menu {
      margin: 1rem auto 0;
    }
    &.header--top-left .header__heading-link {
      margin: 0 auto;
    }
    &.header--top-left .header__heading {
      justify-self: center;
    }
    .header__icons {
      position: absolute;
      top: 17px;
      right: 45px;
    }
  }
}

/*================ PAGE ================*/

/* #MainContent section:first-child {
  float: left;
  width: 180px;
  height: 100vh;
  h1 {
    writing-mode: tb-rl;
    transform: rotate(-180deg);
    text-align: right;
  }
}

#MainContent {
  div.shopify-section.section {
    padding-left: 180px;
  }
} */

/*================ CART ================*/

.template-cart .is-empty .cart__warnings {
    display: flex;
    flex-direction: column;
    height: 50vh;
    justify-content: center;
    align-items: center;
}

/*================ ACCOUNT ================*/

.reduce-top-margin {
  display: flex;
  min-height: 100vh;
  align-items: center;  
}

.simple-block:not(:last-child) {
    margin-bottom: 50px;
}
.simple-address {
  font-size: 1.4rem;
  opacity: .75;
}

.fbs__account .customer table {
  box-shadow: none;
  font-size: 1.1rem;
  margin: 25px 0;
  tbody {
    tr {
      border: none;
      border-bottom: 1px solid rgba(var(--color-foreground), .08);
      display: block;
      margin-bottom: 20px;
      padding-bottom: 20px;
      width: 100%;
      &:last-child {
        margin-bottom: 0;
      }
      td {
        position: relative;
        width: 100%;
        display: block;
        border: none;
        min-height: 20px;
        margin: 0;
        padding: 0 0 0 40% !important;
        text-align: right !important;
        opacity: .75;
        &:first-child {
          opacity: 1;
          font-weight: 600;
        }
        span.label {
          position: absolute;
          top: 7px;
          left: 0;
          width: 45%;
          white-space: nowrap;
          display: block;
          line-height: 1;
          text-transform: uppercase;
          text-align: left;        
        }
        a {
          padding: 0;
          box-shadow: none;
          border: none;
          color: rgba(var(--color-foreground),1);
        }
      }
    }
  }
}

.account__title-wrapper {
  .reduce-top-margin {
    flex-direction: column;
    justify-content: center;
    align-items: start;
  }
  .h1 {
    font-size: 48px;
    font-weight: 600;
    line-height: 1.1;
    font-style: normal;
    letter-spacing: .1rem;
  }
  .logout__button-wrapper {
    display: flex;
    flex-direction: column;
    align-items: start;
    a.button {
      margin-bottom: 2.5rem;
      width: fit-content;
      transition: all .15s linear;
      position: relative;
      &:before,
      &:after {
        display: none;
      }
      &.button--primary .icon {
          width: 0;
          height: 100%;
          display: block;
          text-align: right;
          position: absolute;
          right: 40px;
          top: 0;
          opacity: 0;
          transition: all .15s linear;
          svg {
            position: absolute;
            top: 50%;
            left: 0;
            margin-top: -4px;
            width: 21px;
            height: 10px;
            fill: #fff;
          }
      }
      &.button--primary:hover {
        background: rgba(var(--color-gold),1); 
        padding-right: 60px;
        .icon {
          opacity: 1;
          right: 15px;
          width: 31px;
        }
      }
      &.button--secondary {
        border: 2px solid rgba(var(--color-gray),1);
        color: rgba(var(--color-gray),1);
        overflow: hidden;
      }
      .button-scroll-in {
        animation-duration: .25s;
        animation-timing-function: ease-in-out;
        position: relative;
        top: 0;
      }        
      &:hover {
        .button-scroll-in {
          animation-name: scroll-in-big;
        }
      }
    }
  }  
}

.account__content-wrapper {
  .customer {
    > div {
      width: 100%;
    }
    form {
      margin: 0;
    }
    button {
      display: block;
    }
    .inner {
      width: 100%;
    }
    .field {
      width: 100%;
      margin: 0 0 30px;
      padding: 0 15px;
      position: relative;
    }    
  }
  a.button {
    display: inline-flex;
  }  
  .login__button-wrapper {
    display: flex;
    margin-bottom: 20px;
    button,
    a.button {
      height: 55px;
      margin: 0 25px 0 0;
      transition: all .15s linear;
      overflow: hidden;
      &:before,
      &:after {
        display: none;
      }
    }
    button,
    a.button {  
      .button-scroll-in {
        animation-duration: .25s;
        animation-timing-function: ease-in-out;
        position: relative;
        top: 0;
      }        
      &:hover {
        background: rgb(var(--color-gold));
        .button-scroll-in {
          animation-name: scroll-in-big;
        }
      }
    }
    a.button.button--secondary {
      border: 1px solid rgb(var(--color-link));
      &:hover {
        background: none;
      }
    }
    .helper {
      position: relative;
      text-align: left;
    }
    p {
      margin: 0 !important;
      font-size: 1.4rem;
    }
    a.text-link {
      display: inline-block !important;
      text-decoration: none;
      color: rgb(var(--color-foreground));
    }
  }
  .appstle__magic {
    text-align: left; 
    a,
    a:hover {
      color: rgb(var(--color-gold));
      .underline-animation {
        background-image: linear-gradient(to right,rgb(var(--color-gold)),rgb(var(--color-gold)));
      }
    }
  }  
}

form#create_customer {
  width: 100%;
  max-width: 600px;
}

@media screen and (max-width: 749px) {
  .reduce-top-margin {
    min-height: 35vh;
    flex-direction: column;
    align-items: start;
    justify-content: center;
  }
  .account__title-wrapper {
    border-bottom: 1px solid rgba(var(--color-foreground),.08);
    .reduce-top-margin {
      align-items: center;
    }
    .logout__button-wrapper {
      align-items: center;
    }
    .h1 {
      font-size: 28px;
      margin: 20px auto;
      text-align: center;
    }
  }
  .account__content-wrapper {
    .customer:not(.account):not(.order) {
      max-width: 100%;
      padding: 75px 3rem;
    }
    .customer form {
      margin-top: 1.5rem;
    }
    .login p {
      font-size: 1.3rem;
    }
    .customer .inner {
      text-align: left;
    }
  }
}

@media screen and (min-width: 750px) {
  .box--big {
    min-height: 100vh;
    position: relative;
    z-index: 0;
  }
  .account__title-wrapper {
    padding-left: 9vw;
    padding-right: 9vw;
    &:after {
      content: "";
      height: 100%;
      background: rgba(var(--color-foreground), .08);
      position: absolute;
      right: 0;
      top: 1px;
      width: 1px;
      z-index: 9;
    }
  }
  .account__content-wrapper { 
    .customer:not(.account):not(.order) {    
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: start;
      max-width: none;
      padding-left: 80px;
      padding-right: 80px;
    }
    .customer { 
      padding-top: 100px;
      padding-bottom: 100px;
    }
  }
}

@-webkit-keyframes scroll-in-big {
  0%{top: 0}
  49%{top: -35px}
  50%{top: 35px}
  100%{top: 0}
}

@keyframes scroll-in-big {
  0%{top: 0}
  49%{top: -35px}
  50%{top: 35px}
  100%{top: 0}
}

/*================ FRONT PAGE ================*/

#shopify-section-template--15104120717363__image_banner {
  //margin-top: -60px;  
}

/* Background Alt Elements */

.fbs__index {
  .multicolumn.background-primary .multicolumn-card {
    border: 1px solid rgba(var(--color-gray), .5);
    background: rgba(var(--color-gray), 0);
    .multicolumn-card__image-wrapper {
      position: absolute;
      top: 0;
      left: 0;
      margin: 0;
      padding: 1rem 0 0 1.7rem;
      .media {
        width: 60px;
        height: 60px;
      }
    }
    .multicolumn-card__info {
      padding: 4rem 2.5rem 2.5rem; 
    }
    img {
      height: 60px;
      width: 60px;
    }
  }
  .multicolumn-list h3 {
    padding-left: 60px;
  }
}

/*================ PRODUCT PAGE ================*/

/* Appstle Product Customization */
.price {
  .appstle_subscription_final_price {
    color: inherit;
  }
  .appstle_subscription_save {
    display: none;
  }
  /* .price-item[data-appstle-price-modified="true"] {
    display: none;
  } */
}

.prepaidPlansDropdownWrapper, .appstle_subscription_wrapper_option+.payAsYouGoPlansDropdownWrapper {
  border-top: 1.5px solid #cccccc !important;
}
.appstle_subscription_wrapper .appstle_select {
  color: rgba(var(--color-foreground), 0.75);
  font-family: inherit;
  margin: 10px 0 !important;
  padding: 12px !important;
  line-height: 1.5;
}
.appstle_subscription_wrapper .appstle_select,
.appstle_subscription_amount,
.appstle_subscription_compare_amount {
  font-size: 13px;
}
#appstle_subscription_widget0 .appstle_subscription_wrapper .appstle_circle {
  border-width: 1px;
  border-color: rgba(var(--color-foreground), 0.75);
  width: 16px;
  height: 16px;
  span.appstle_dot {
    background-color: rgb(var(--color-button));
  }
}
.appstle_subscription_compare_amount {
  display: none;
}

.fbs__product {
  @media screen and (min-width: 990px) {
    .product--medium:not(.product--no-media) {
      .product__media-wrapper,
      .product__info-wrapper {
        max-width: 50%;
        width: calc(50% - var(--grid-desktop-horizontal-spacing) / 2);
      }
    }
  }
  @media screen and (max-width: 749px) {
    .product__info-wrapper {
      margin-top: 50px;
    }
  }
}

.fbs__product {
  .product-popup-modal__opener {
    display: none; 
  }
  .product__info-container .product-form {
    margin: 1.5rem 0 5rem 0;  
  }  
  .product__title>* {
    white-space: nowrap;
    font-size: calc(var(--font-heading-scale) * 3rem);
    @media screen and (max-width: 749px) {
      margin-top: 5px;
      white-space: unset;
      font-size: calc(var(--font-heading-scale) * 2rem);
    }
  }
  .price {
    display: flex;
    justify-content: space-between;
    font-size: 1.8rem;
    font-weight: 700;
    margin: -1.1rem 0 0 0;
  }
    .product__title h1 {
      margin: 0;
      font-size: unset;
      font-weight: unset;
      text-transform: uppercase;
      line-height: 1.25;
      letter-spacing: .8px;
    }
    .price__container {
      margin: 0;
      line-height: 1.25;
    }
  .product__tax {
    display: none;
  }
  variant-selects {
    display: flex;
    gap: 2%;
  }
  .product-form__input {
    flex: 1 1 0;
    min-width: 0;
    max-width: none;
    .quantity__input {
      font-size: 1.2rem; 
    }
    .select {
      max-width: none;
    }
    .quantity {
      width: 100%;
    }    
  }
  .product-form__buttons {
    display: flex;
    flex-direction: column;
    max-width: none;
    margin-top: 16px;
    .product-form__submit {
      order: 10;
      flex: 1;
      margin: 1.5rem 0 0;    
      text-transform: uppercase;
      font-size: 1.25rem;
    }
  }
  .product__info-container .product__description {
    margin: 0 0 50px 0; 
  }
  .roast-level {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: -5px 0 50px;
    .icon-with-text {
      display: flex;
      align-items: center;
      margin: 0;
    }
    span {
      display: inline-block;
      font-size: 15px;
      margin-right: 5px;
    }
    ul.roast-level-boxes {
      list-style: none;
      display: flex;
      flex-direction: row;
      margin: 0 5px;
      padding: 0;
      li.roast-level-box {
        display: block;
        width: 14px;
        height: 14px;
        margin: 0 5px 0 0;
        padding: 0;
        border: 1px solid rgba(var(--color-gray), .7); 
        text-indent: -99999px;
        font-size: 0;
        overflow: hidden;
        border-radius: 2px;
      }
      &.level-one li:nth-child(-n + 1) {
        background-color: rgba(var(--color-gray), .7);
      }
      &.level-two li:nth-child(-n + 2) {
        background-color: rgba(var(--color-gray), .7);
      }
      &.level-three li:nth-child(-n + 3) {
        background-color: rgba(var(--color-gray), .7);
      }
      &.level-four li:nth-child(-n + 4) {
        background-color: rgba(var(--color-gray), .7);
      }
      &.level-five li:nth-child(-n + 5) {
        background-color: rgba(var(--color-gray), .7);
      }
    }
  }
  .varieties {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin-bottom: calc(1.0 * 2rem);
    .icon-with-text {
      display: flex;
      align-items: center;
      margin: 0; 
    }
  }
  ul.variety-list {
    list-style: none;
    display: flex;
    flex-direction: row;
    margin: 0;
    padding-left: 6px;
    li.variety-item {
      display: inline-block;
      margin: 0;
      a {
        color: rgba(var(--color-foreground), .7);
        font-size: calc(var(--font-heading-scale) * 1.5rem);
        font-weight: 300;
        padding: 0 1px 2px 0;
        border-bottom: 1px dotted rgba(var(--color-foreground), .7);
        &:hover {
          color: rgba(var(--color-foreground), 1);
          border-bottom: 1px dotted rgba(var(--color-foreground), 1);
        }
      }
    }
    li::before {
      content: ', ';
    }
    li:first-of-type::before {content:'';}  
  }  
}
.product__pickup-availabilities {
  display: none;
}

/*================ COLECTION PAGE ================*/

.inline-title {
  display: inline-block;
  padding-right: 8px;
}
.card-information {
  .price {
    .product__title {
      display: none;
    }
  }
}

@media screen and (min-width: 990px) {
  variant-selects {
    float: left;
    width: 66%;
  }
  .product-form__quantity {
    float: right;
    width: 33%;
    margin-left: 1%;
  }
  product-form.product-form {
    clear: both;
  }
}

@media screen and (min-width: 750px) {
  .section-we-think .content-container:after {
    background-image: url('/cdn/shop/files/chat.svg?v=1711588705');
    background-repeat: no-repeat;
    opacity: 1;
    background-position: 7rem 3rem;
    background-size: 25%;
  }
}

.country-rotation {
  strong {
    display: block;
  }
}
.coffee-meta {
  em {
    display: inline-block;
    font-style: normal;
    padding-right: 5px;
  }
  em::before {
    content: ' - ';
  }
  em:empty::before {content:'';}
  em:first-of-type::before {content:'';}
  em:first-of-type:empty + em:not(:empty)::before {content:'';}
  em:first-of-type:empty + em:empty + em:not(:empty)::before {content:'';}
}

 .icon-with-text.free-shipping-icon {
   img {
     height: calc(var(--font-heading-scale)* 5rem);
     width: calc(var(--font-heading-scale)* 5rem);
   }
   .h4 strong {
     display: block;
   }
 }

.template-product-blend,
.template-product-coffee {
  .multicolumn.brewguide-enabled {
    margin-top: -51px;  
    .multicolumn-card__image-wrapper {
      width: 25%;
      img {
        opacity: .75;
      }
    }    
  }
  
  .brewguide-enabled {
    .multicolumn-card__info {
      h3 {
        text-transform: uppercase;
      }
      .metafield-rich_text_field {
        display: flex;
        justify-content: center;
        ul {
          list-style: none;
          padding: 0;
          text-align: left;
          font-size: 14px;
          strong {
            display: inline-block;
            min-width: 8rem;
          }
        }
      }
    }
  }
  .brewguide-disabled {
    display: none;
  }
}

product-info.product__info-container {
  .product__text.behind-the-cup {
    margin: 50px 0 -50px;
  }  
}

.fbs__product {
  .country-rotation {
    &.icon-with-text {
      img {
        height: auto;
        width: 80px;
      }
    }
  }
  .blend-origins {
    .title-wrapper-with-link,
    ul {
      justify-content: center;
    }
    .multicolumn-list__item--empty {
      //display: none;
      .multicolumn-card__info {
        display: block;
        width: 100%;
        height: 100%;
        opacity: .15;
        background-image: url(/cdn/shop/files/world.svg?v=1710572011);
        background-repeat: no-repeat;
        background-position: 50% 50%;
        background-size: contain;
      }
    }
  }
}

.product__info-container {
  .product__text {
    &.title {
      text-transform: uppercase;
    }
    &.subtitle {
      margin: 0;
      font-size: calc(var(--font-heading-scale) * 1.5rem);
    }
    &.lined {
      border-top: 1px solid rgba(var(--color-foreground), .7);
      margin-top: 20px;
      padding-top: 20px;
    }
  }
  .icon-with-text {
    margin-bottom: 20px;
    img {
      opacity: .5;
    }
    .h4 {
      color: rgba(var(--color-foreground), .7);
    }
  }
}
/* Subscription Frequency Customization */

.frequency-selector {
  width: 100%;
  .product-popup-modal__opener {
    display: block;
  }
  .qty-box,
  .freq-box {
    position: relative; 
  }
  .frequency-input {
    margin: 0;
    padding: 19px 34px;
    text-align: center;
    line-height: 1; 
    border: 1px solid rgba(var(--color-gray),.5);
    width: 110px;
    font-size: 1.2rem;
    color: rgba(var(--color-foreground), .75);
  }
  button {
    background: none;
    border: none;
    box-shadow: none;
    cursor: pointer;
  }
  .freq-button {
      width: 35px;
      height: 55px;
      line-height: 55px;
      text-align: center;
      position: absolute;
      top: 0;
      cursor: pointer;
      font-size: .9375rem;
      z-index: 9;
  }
  .freq-button.freq-minus {
      left: 0;
  }  
    .freq-button.freq-plus {
      right: 0;
  }  
  .freq-button svg {
      opacity: .4;
  }  
  .freq-button.disabled {
    cursor: default;  
    svg {
      opacity: .12;
    }
  }  
}

.frequency-selector {
  max-height: 0;
  order: 2;
  flex: 1;
  margin-bottom: 2rem;
  opacity: 0;
  transition: all ease-out .2s;
  &.active {
    max-height: 580px;
    opacity: 1;
  }
  .frequency_select_label {
    font-size: 1.3rem;
    line-height: calc(1 + .5 / var(--font-body-scale));
    letter-spacing: .04rem;
    margin-bottom: 0.6rem;
  }
  .freq-box-wrapper {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
    .freq-box {
      max-width: 110px;  
    }
    .freq-txt {
      display: flex;
      flex-direction: column; 
      width: 100%;
      padding: 0 20px;
      justify-content: space-evenly;
      max-height: 50px;
      line-height: 1;
      .sellingplan {
        margin: 0;
        line-height: 1.2;
        font-size: 14px;
      }
      .sub-details {
        display: block;
        font-size: 11px;
        color: rgba(var(--color-gray), 1);
        padding-top: 2px;
      }
      .rte {
        line-height: .7;
      }
      .link {
        width: fit-content;
        font-size: 11px;
        font-family: Futura, sans-serif;
        color: rgba(var(--color-link), 1);
        padding: 0;
        letter-spacing: .6px;
        min-height: auto;
        &:hover {
          text-decoration-thickness: 0px;
        }
      }
    }
  }
}

@media screen and (max-width: 749px) {
  .frequency-selector {
    .freq-box-wrapper .freq-box {
      max-width: 110px;
      margin-top: 1px;
    }
    .freq-button {
      width: 45px;
      height: 45px;
      line-height: 50px;
    }
    .frequency-input {
      width: 110px;
      padding: 14px 40px 12px;
    }
  }
}

@media screen and (max-width: 1054px) {
  .appstle_subscribe_save_text {
    .dash {
      display: none;
    }
    strong {
      display: block;
    }
  }
}

.collection .grid {
  column-gap: 20px;
  row-gap: 40px;
}

.fbs__collection .mobile-facets__open {
  color: rgb(var(--color-foreground));   
}

.card__content {
  padding: 20px 0 !important;
  .card__information {
    padding: 0;
    display: flex;
    justify-content: space-between;
    font-size: 1.2rem;
    text-transform: uppercase;
    .card-information {
      width: auto;
    }
    .price {
      font-size: unset;
      margin: 0 !important;
    }
  }
}

@media screen and (max-width: 749px) {
  .grid--2-col-tablet-down .grid__item {
      width: calc(50% - 20px / 2);
  }
}

@media screen and (min-width: 750px) {  
  .grid--3-col-desktop .grid__item {
      width: calc(33.33% - 20px* 2 / 3);
      max-width: calc(33.33%);
  }
  .grid--4-col-desktop .grid__item {
      width: calc(25% - 20px* 3 / 4);
      max-width: calc(25% - 20px* 3 / 4);
  }  
}

/* Appstle Widget Customization */

.appstle_sub_widget.one-time-buy {
  display: none;
}

.product-form__buttons #appstle_subscription_widget0 {
  margin: 1.5rem 0 .7rem 0;
  max-width: none;
  order: 1;
  flex: 1;
  .appstle_fields_wrapper.appstle_fields_wrapper0 {
    display: none;
  }
  .appstle_widget_title {
    font-size: 1.3rem;
    line-height: calc(1 + .5 / var(--font-body-scale));
    letter-spacing: .04rem;
    margin-bottom: 0.6rem; 
  }
  .appstle_subscription_wrapper {
    display: flex;
    justify-content: space-between;
    margin: 0 0 20px 0 !important;
    border: 1px solid rgba(var(--color-gray),.5) !important;
    border-radius: 0 !important;
    .appstle_subscription_wrapper_option {
      display: flex;
      width: 50%;
      padding: 0;
      border: none;
      label {
        background-color: #fff;
        color: rgba(var(--color-gray), 1);
        cursor: pointer;
        transition: all ease-out .2s;
      }
      &.appstle-active-option label {
        height: 100%;
        background-color: rgba(var(--color-gray), 1);
        color: #fff;
      }
    }
    .appstle_one_time_details_wrapper,
    .appstle_subscription_radio_wrapper {
      display: block;
      flex: 1;
      label {
        text-align: center;
        justify-content: center;
        .appstle-save-badge {
          display: none;
        }
      }
      .appstle_one_time_text,
      .appstle_subscribe_save_text {
        font-size: 1.2rem;
        padding: 12px;
        white-space: nowrap;
        overflow: hidden;
        color: inherit;
      }
    }
    input[type=radio],
    .appstle_circle,
    .appstle_subscribe_option {
      border: 0px;
      clip: rect(0px, 0px, 0px, 0px);
      height: 1px;
      width: 1px;
      margin: -1px;
      padding: 0px;
      overflow: hidden;
      white-space: nowrap;
      position: absolute;      
    }
    .appstle_one_time_price_wrapper,
    .appstle_subscription_amount_wrapper {
      display: none;
    }
  }  
}
  
/*================ COFFEE CALCULATOR ================*/

/*http://rangeslider.js.org/*/
.rangeslider,
.rangeslider__fill {
  display: block;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
}

.rangeslider {
  background: rgb(var(--color-gray));
  position: relative;
}

.rangeslider--horizontal {
  height: 1px;
  width: 100%;
}

.rangeslider--vertical {
  width: 20px;
  min-height: 150px;
  max-height: 100%;
}

.rangeslider--disabled {
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  opacity: 0.4;
}

.rangeslider__fill {
  background: rgb(var(--color-gray));
  position: absolute;
}
.rangeslider--horizontal .rangeslider__fill {
  top: 0;
  height: 100%;
  display: block;
}
.rangeslider--vertical .rangeslider__fill {
  bottom: 0;
  width: 100%;
}

.rangeslider__handle {
  background: rgb(var(--color-link));
  display: block !important;
  outline: none;
  width: 20px;
  height: 20px;
  position: absolute;
  cursor: -webkit-grabbing;
  cursor: grab;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
  transition: transform .2s ease-in-out;
}
.rangeslider__handle:after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  margin: auto;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -moz-border-radius: 50%;
  -webkit-border-radius: 50%;
  border-radius: 50%;
}
.rangeslider__handle:active {
  transform: scale(1.4);
  cursor: grabbing;
}
.rangeslider--horizontal .rangeslider__handle {
  top: -10px;
  touch-action: pan-y;
  -ms-touch-action: pan-y;
}
  
.caffeinator {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  width: 100%;
}

.calculation {  
  .result-container {
    display: flex;
    flex: 1;
    flex-direction: column;
    text-transform: uppercase;
    justify-content: space-between;
    margin: 10px 0;
    .result {
      //padding: 10px 20px;
      //background: rgba(var(--color-gray), .5);  
    }
  }
}
  
.recommendation {
  font-size: 14px;
  line-height: 1;
  font-weight: bold;
  text-transform: uppercase; 
  .output-text {
    padding-top: 10px;
  }
  strong {
    font-size: 28px;
    font-weight: 600;
  }
}

.caffeinator-inner {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
  background: rgba(var(--color-gray), 0.1);
  width: 50%;
  min-height: 300px; 
  padding: 35px;
} 
  
.single-box,
.double-box {
  display: block;
  height: 125px;
  margin-left: 90px;
  background-image: url('/cdn/shop/files/coffee-bean-edit_ddbe27ee-b91b-4132-90b7-758386649e6a.svg?v=1699075042');
  background-repeat: no-repeat;
  background-position: 0px bottom;
  transform-origin: 0px bottom;
}
.double-box  {
  margin-left: 50px;
  background-image: url('/cdn/shop/files/coffee-beans-edit_13529f6d-41b3-4c74-af94-e07c09a9f7d5.svg?v=1699075042');
}

.animate .single-box,
.animate .double-box {
  -webkit-animation-name: bounce;
  animation-name: bounce;
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-timing-function: cubic-bezier(0.5, 0, 0.8, 1);
  animation-timing-function: cubic-bezier(0.5, 0, 0.8, 1);
}

@-webkit-keyframes bounce {
  0%{-webkit-transform:translateY(0);transform:translateY(0)}
  16%{-webkit-transform:translateY(-50px);transform:translateY(-50px)}
  24%{-webkit-transform:translateY(-56px);transform:translateY(-56px)}
  30%{-webkit-transform:translateY(-59px);transform:translateY(-59px)}
  35%{-webkit-transform:translateY(2px);transform:translateY(2px)}
  50%{-webkit-transform:translateY(-2px);transform:translateY(-2px)}
  65%{-webkit-transform:translateY(0px);transform:translateY(0px)}
  100%{-webkit-transform:translateY(0px);transform:translateY(0px)}
}

@keyframes bounce {
  0%{-webkit-transform:translateY(0);transform:translateY(0)}
  16%{-webkit-transform:translateY(-50px);transform:translateY(-50px)}
  24%{-webkit-transform:translateY(-56px);transform:translateY(-56px)}
  30%{-webkit-transform:translateY(-59px);transform:translateY(-59px)}
  35%{-webkit-transform:translateY(2px);transform:translateY(2px);-webkit-transform:scaleY(.8);transform:scaleY(.8)}
  50%{-webkit-transform:translateY(-2px);transform:translateY(-2px);-webkit-transform:scaleY(1);transform:scaleY(1)}
  65%{-webkit-transform:translateY(0px);transform:translateY(0px)}
  100%{-webkit-transform:translateY(0px);transform:translateY(0px)}
}

.cup-icon.animate {
  -webkit-animation-name: bouncecup;
  animation-name: bouncecup;
  -webkit-animation-duration: .6s;
  animation-duration: .6s;
  -webkit-animation-timing-function: cubic-bezier(0.8, 0.58, 0.57, 1);
  animation-timing-function: cubic-bezier(0.8, 0.58, 0.57, 1);
}

@-webkit-keyframes bouncecup {
  0%{-webkit-transform:translateY(0);transform:translateY(0)}
  16%{-webkit-transform:translateY(-3px);transform:translateY(-3px)}
  32%{-webkit-transform:translateY(0px);transform:translateY(0px)}
  48%{-webkit-transform:translateY(-1px);transform:translateY(-1px)}
  60%{-webkit-transform:translateY(0px);transform:translateY(0px)}
  76%{-webkit-transform:translateY(-1px);transform:translateY(-1px)}
  100%{-webkit-transform:translateY(0);transform:translateY(0)}
}

@keyframes bouncecup {
  0%{-webkit-transform:translateY(0);transform:translateY(0)}
  16%{-webkit-transform:translateY(-3px);transform:translateY(-3px)}
  32%{-webkit-transform:translateY(0px);transform:translateY(0px)}
  48%{-webkit-transform:translateY(-1px);transform:translateY(-1px)}
  60%{-webkit-transform:translateY(0px);transform:translateY(0px)}
  76%{-webkit-transform:translateY(-1px);transform:translateY(-1px)}
  100%{-webkit-transform:translateY(0);transform:translateY(0)}
}

.rangeslider {
  display: block;
  width: 100%;
}

.range-container {
  display: block;
  padding: 20px 2px;
}

.cup-icon {
  display: inline-block;
  height: 40px;
  width: 38px;
  text-align: center;
  line-height: 43px;
  margin: 0 18px 0 4px;
  position: relative;
  color: #333;
  letter-spacing: -1px;
}
.cup-icon:after {
  content: "";
  display: block;
  height: 50px;
  width: 50px;
  background-image: url('/cdn/shop/files/mug_f9545131-e097-4e30-9771-ddb065670754.svg?v=1700302222');
  background-repeat: no-repeat;
  background-position: 0 0;
  top: 0;
  left: 0;
  margin-top: -41px;
}

.cup-count {
  font-size: 13px;
}

.week-count {
  font-size: 12px;
}

.cup-result,
.oz-result {
  display: inline-block;
}

.brew-ratio {
  font-size: 10px;
  margin: 0;
  white-space: nowrap;
}

/*================ MODAL TRIGGER CALCULATOR ================*/

#subscription-template {
  .product__form-container {
    position: relative;
    .product__add-to-cart-button {
      margin-top: 20px;
    }
  }
  #caffeinator.btn {
    margin-bottom: 20px;;
    width: 100%;
    background-color: rgb(var(--color-link));
    opacity: .6;
    &:hover { 
      opacity: 1;
    }
  }
}

/*================ MODAL TRIGGER BENEFITS ================*/

.fbs__product .product-popup-modal__content {
  margin-top: 0;
  height: 100%;
  width: 455px;
  padding: 0 15px;
  right: 0;
  left: auto;
  transform: none;
  .product-popup-modal__content-info {
    padding: 20px;
    .h2 {
      font-size: 2.5rem;
      border-bottom: 1px solid rgba(var(--color-foreground), .08);
      margin-bottom: 0;
      padding-bottom: 20px;
    }
    .h4 {
      margin: 50px 0;
      font-weight: 700;
    }
    .rich-text__text {
      font-size: 13px;
      ul {
        font-size: 12px;
        margin: 40px 0;
      }
      img {
        display: block;
      }
      p span {
        display: block;
        font-size: 10px;
        opacity: .8;
      }
    }
  }
}

@media screen and (max-width: 749px) {
  .fbs__product .product-popup-modal__content {
    width: 100%;
  }
}


#subscription-detail-modal {
  visibility: hidden; /* Hidden by default */
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed; /* Stay in place */
  z-index: 2000; /* Sit on top */
  right: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100vh; /* Full height */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */ 
}

/* Modal Content/Box */
.subscription-modal-content {
  visibility: hidden;
  position: fixed;
  right: 0;
  overflow: auto;
  max-width: 455px;
  width: 0;
  padding: 0;
  background-color: #fff;  
  transform: translate3d(100%,0,0);
  transition: all 0.25s;
  &.visible {
    height: 100%;
    width: 100%;
    transform: translate3d(0,0,0);
  }
  .close-modal-details {
    top: 20px;
    right: 15px;
  }
  #caffeinator-calculator {
    padding: 30px;
  }
}

/*================ CALCULATOR MODAL CSS ================*/

/* The Modal (background) */
.modal {
  visibility: hidden; /* Hidden by default */
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed; /* Stay in place */
  z-index: 2000; /* Sit on top */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100vh; /* Full height */
  padding: 15px;
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
    background-color: #fff;
    max-height: calc(100vh - 20px);
    overflow: auto;
    margin: 0 auto;
    padding: 0;
    width: 100%;
    flex-direction: column;
}

.caffeinator-intro,
.caffeinator-slider {    
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-conetent: space-evenly;
}

.caffeinator-intro {
  width: 100%; 
  padding: 0 0 50px 0;
  align-items: center;
  text-align: center;
  h2 {
    margin: 0;
  }
  .sub {
    display: inline-block;
    font-size: 11px;
    text-transform: uppercase;
    color: rgba(var(--color-gray));
    padding-bottom: 20px;
  }
  a {
    margin-top: 20px;
  }
}

.caffeinator-slider {
  width: 100%;  
  padding: 0;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 2%;
  h3 {
    margin: 0 0 10px 0;
    font-weight: 700;
    font-size: 1.8rem;
    text-align: left;   
  }
}

.modal-content {
  display: flex;
  align-items: center;
  max-width: 1280px;
}

/* The Close Button */
.close-modal-details {
  display: block;
  background: none;
  cursor: pointer;
  padding: 5px;
  position: absolute;
  right: 5px;
  top: 5px;
  width: 25px;
  height: 25px;
  z-index: 999;
  &:hover {
    background-color: #0000001a;
  }
  svg {
    width: 100%;
    height: 100%;
    display: block;
  }
}

.close-modal-details:hover,
.close-modal-details:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.subscription-calculator-container {
  padding: 0 5rem;
  margin: 0 auto;
  max-width: 1600px;
  #caffeinator {
    display: none;
  }
  .modal {
    visibility: visible;
    background-color: transparent;
    position: relative;
    height: inherit;
    padding: 0;
    z-index: 0;
  } 
  .modal-content {
    max-width: 1530px;
    max-height: fit-content;
    .close-modal-calculator {
      display: none;
    }
  }  
}

.caffeinator-slider .calc-cta {
  //display: none;
  flex-basis: 100%;
  text-align: center;
  margin-top: 50px;
}

@media only screen and (max-width: 1200px) {
  .modal-content {
    flex-direction: column;
    .caffeinator-intro {
      padding: 50px;
      width: 100%;
    }  
    .caffeinator-slider {
     width: 100%;
    }
  }
}  
@media only screen and (max-width: 825px) {
  .modal-content {
    .caffeinator-intro {
      padding: 20px;
    }
    .caffeinator-slider {
      width: 100%;
      flex-direction: column;
      padding: 0 20px 20px;
      .caffeinator-inner {
        padding: 20px;
        min-height: auto;
      }
      .calculation {
        margin: 30px 10px;
        padding: 30px 20px;
        border-top: 1px solid #ededed;
        border-bottom: 1px solid #ededed;
      }
      .cup-count {
        font-size: 12px;
        letter-spacing: -0.5px;
      }
      .week-count {
        font-size: 10px;
      }
      .result {
        padding: 10px;
      }
      .recommendation {
        text-align: center;
        font-size: 18px;
      }
      #box-count {
        height: 75px;
      }
      .single-box {
        padding-left: 50px;
      }      
      .double-box {
        padding-left: 90px;
      }
      
      .brew-ratio {
        font-size: 9.5px;
        letter-spacing: -0.5px;
        padding: 0;
        text-align: center;
        white-space: unset;
      }
    }
  }
}
  
@media screen and (max-width: 749px) {
  .subscription-calculator-container {
    padding: 0 1.5rem 0;
    .modal {
      a.button,
      .caffeinator-inner {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
      }
    }
  }
  .range-container {
    margin-bottom: 0;
    input {
      position: relative !important;
      opacity: 1 !important;
      width: 100% !important;
      height: 15px !important;
      margin-bottom: 30px !important;
      overflow: visible !important;
    }
    .rangeslider {
      display: none;
    }
  }
  #subscription-template #caffeinator.btn {
    top: 264px;
  }
}

@media only screen and (max-width: 490px) {
  .modal-content {
    .caffeinator-intro,
    .caffeinator-slider {
      padding: 0 5px 5px;
      h3 {
        font-size: 1.6rem;
      }
    }
  }
  .caffeinator-intro .button {
    display: none;
  }
  .caffeinator-slider .button {
    display: inline-flex;
    margin-top: 20px;
  }  
}

/*================ FOOTER ================*/

.footer__blocks-wrapper .footer-block.grid__item {
  max-width: 15%;
  .footer-block__heading,
  .footer-block__details-content,
  .footer-block__details-content .list-menu__item--link {
    text-transform: uppercase;
    font-size: 1.2rem;
    padding:0 0 5px 0;
  }  
  .footer-block__details-content {
    font-weight: 400;
  }
}

.footer__blocks-wrapper .footer-block.grid__item:first-child {
  width: 100%;
  max-width: 100%;
  .footer-block__heading {
    font-size: 1.6rem;
  }
}

.footer__blocks-wrapper .footer-block.grid__item:last-child {
  max-width: 33%;
  margin-left: auto;
  .footer-block__details-content {
    text-transform: none;
  }
}

.footer-block__brand-info {
  .footer-block__image-wrapper {
    display: none;
  }
  p {
    font-size: 1.4rem;
  }
  .footer__list-social {
    margin-top: 15px;  
  }
}

@media only screen and (max-width: 749px) { 
  footer .footer__content-top {
    padding: 0 20px;
  }
  .footer .footer__blocks-wrapper.grid {
    display: flex;
    .footer-block.grid__item {
      max-width: 33.33%;
      width: 32%;
      margin: 0 0 20px 0;
    }
    .footer-block.grid__item:first-child {
      margin-bottom: 2rem; 
      width: 100%;
      max-width: 100%;
    }
    .footer-block.grid__item:last-child {
      max-width: 100%;
      width: 100%;
    }
  }
  .footer-block__brand-info p {
     padding-bottom: 10px;
  }
}

/*================ APPSTLE CUSTOMER PORTAL ================*/

/* Subscription list page */
.fbs__ {
  #MainContent {
    padding: 0;
  }
  .appstle-wrapper,
  .appstle-cp-list,
  .appstle-cp-detail {
    .app-main {
      font-family: Futura, sans-serif;
      max-width: none;
      padding: 0;
      .as-subscription-detail-wrapper {
        margin: 0 0 50px 0; 
      }
      svg {
        display: inline-block;
      }
      p.as-magic-link-description {
        visibility: hidden;
        position: relative;
        text-align: left;
        width: 100%;
        min-height: 40px;
        &:after {
          visibility: visible;
          position: absolute;
          top: 0;
          left: 0;
          content: "We'll send you a fresh Magic Link to login with via email - they do tend to expire though...eventually."
        }
      }
    }
  }
}

.appstle-cp-detail {
   .app-main {
     padding: 50px 0 100px 0;
     .as-subscription-detail-header,
     .container.clearfix {
       display: none;
     }
   }
}

.app-main__inner {
  .as-font-medium {
    font-weight: 300;
  }
  a.appstle_contract_see_more {
    margin: 0 !important;
    width: fit-content;
    transition: all .15s linear;
    position: relative;
    border: 1px solid rgba(var(--color-gray),1);
    color: rgba(var(--color-gray),1);
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 0 3rem 0 2.7rem;
    min-width: calc(12rem + var(--buttons-border-width) * 2);
    min-height: calc(4.5rem + var(--buttons-border-width) * 2);
    max-height: 50px;
    font-size: 13px;
    &:hover {
      color: #fff;
      background: rgba(var(--color-gray),1);
    }    
  }
  .as-customer-info {
    h2.as-customer-info-name {
      font-size: 28px;
      font-weight: bold;
      margin-bottom: 3.5rem;
    }
    .as-ml-3 .as-text-sm {
      display: none;
    }
  }
  div:not([class]):first-child {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    overflow: hidden;
    .as-flex.as-justify-between.as-customer-info,
    .as-subscription {
      flex-direction: column;
      align-items: start;
      justify-content: center;
      width: 50%;
      max-width: 100%;
      margin: 0;
      padding-left: 9vw;
      padding-right: 9vw;
      min-height: 100vh;
      position: relative;
      z-index: 0;
    }
    .as-flex.as-justify-between.as-customer-info:after {
      content: "";
      height: 100%;
      background: rgba(var(--color-foreground), .08);
      position: absolute;
      right: 0;
      top: 1px;
      width: 1px;
      z-index: 9;
    }    
    .as-card.as-subscription {
      display: flex;
      padding: 0 80px !important;
      box-shadow: none;
      border-radius: 0;
      border: none;
      .as-px-4 {
        flex-wrap: wrap;
        width: 100%;
        padding: 0;
      }
      .as-subscription-header {
        .as-text-lg,
        .as-text-sm {
          font-size: 1.1rem;
          line-height: 1;
          text-transform: uppercase;
          margin: 12px 0;
          span.as-label {  
            font-size: 1.1rem !important;
          }
        }
        h3.as-text-lg {
          width: 100%;
          justify-content: space-between;
          margin: 0;
          padding: 0 0 10px 0;
          border-bottom: 1px solid rgba(var(--color-foreground), .08);
          .as-status {
            margin: 0;
            padding: 0;
            font-size: 1.1rem;
            font-weight: 300;
            color: rgba(var(--color-foreground), 1);
            background: none;
          }
        }
      }
      .as-subscription-detail {
        .as-grid {
          display: block;
        }
        .as-subscription-product {
          display: flex;
          align-items: end;
          margin: 20px 0;
          .as-subscription-product-image-wrapper {
            max-width: 200px; 
          }
          .as-subscription-product-details p {
            font-size: 1.1rem;
            margin-bottom: 3px;
            &.as-product-title {
              font-size: 1.4rem;
              font-weight: 700; 
              margin-bottom: 15px;
            }
            span.as-label {
              font-size: 1.1rem !important;
            }
          }
        }
      }
      .as-subscription-list-item-detail {
        padding: 12px 0;
      }
      .as-subscription-footer {
        margin: 10px 0;
        a.appstle_contract_see_more.as-see-more-link {
          border: none;
          padding: 0;
          background: transparent;
        }
        button {
          position: relative;
          transition: all .15s linear;
          min-height: 50px;
          white-space: nowrap;
          svg {
            display: none;
          }
          &.as-see-more-button {
            /* &:after {
              content: "";
              display: block;
              height: 10px;
              width: 21px;
              background-image: url('/cdn/shop/files/arrow.svg?v=1700624381');
              background-repeat: no-repeat;
              background-position: 0 0;
              position: absolute;
              top: 20px;
              right: 15px;
              opacity: 0;
            } */
            &:hover {
              background-color: rgba(var(--color-gold),1) !important;
              /* &:after {
                opacity: 1;
              } */
            }
          }  
        }
      }
    }
  }
  .as-text-green-900 {
    color: #fff;
  }
  .as-border-green-900 {
    border:none;
    background: rgb(var(--color-link));
  }
  .hover\:as-bg-green-900:hover {
    background: rgb(var(--color-gold));
  }
}

/* Subscription management page */

#root {
  .appstle-wrapper {
    margin: 0;  
    :is(.as-my-8) {
    }
    .as-tab-content-wrapper {
      padding: 40px;
    }
  }
}

.as-shadow {
  box-shadow: none !important;
  border: 1px solid rgba(var(--color-foreground), .08);
}
.as-add-product-search-input {
  border-radius: 0 !important;
  border-width: 1px !important;
}
.as-product-card footer select {
  border-radius: 0;
  background-color: rgb(var(--color-background));
  color: rgba(var(--color-foreground), 1);
  border: 1px solid rgba(var(--color-foreground), .5);
  font-size: 1.2rem !important;
  opacity: .6;
}
.as-bg-gray-100.as-cp-wrapper {
  background-color: #FFF;
  min-height: 60vh;
  .appstle_preloader.appstle_loader--big {
    top: 30%;
  }
} 
  
.appstle-wrapper .appstle-customer-portal {
  .as-product-details_header {
      display: none;
  }
  .as-tab-list {
    margin-bottom: 32px;
  }
  .as-edit-billing { order: 1 }
  .as-edit-frequency { order: 3 }  
  .as-additional-order-details { order: 4 }  
  .as-edit-discount { order: 5 }  
  .as-edit-shipping { order: 6 }
  .as-edit-payment { order: 7 }
  .as-panel-right > div:last-child { 
    order: 2;
    padding: 16px;
    border: 1px solid rgba(var(--color-foreground), .08);
    border-radius: 8px;
  }
  .as-edit-billing_data {
    font-weight: 700;
  }
  .as-subscription-product-details {
    text-transform: uppercase;    
    p {
      margin-bottom: 5px;
      &.as-product-title {
        font-size: 16px;
        margin-bottom: 15px;
      }
    }
  }
  .as-edit-discount_checkbox {
    label {
      padding: 5px 10px;
      border-radius: 3px;
      color: rgb(var(--color-background));
      background: rgba(var(--color-foreground), 1);
      font-size: 11px !important;
    }
  }
  .as-product-details-table {
    .as-product-title-tag-a {
      font-weight: 700;
    }
    .as-product-image-wrapper {
      grid-column: span 5/span 5;
    }
    .as-product-line-details {
      grid-column: span 7/span 7;
    }
  }
  .as-customer-info img { display: none; }
  .as-customer-info .as-ml-3 { margin: 0; }
  label {
    margin: 0;
  } 
  svg.as-stroke-red-500 {
    stroke: #4A4A4A;
    width: 16px;
    height: 16px;
  }
  input.as-edit-discount_input {
    margin: 0;
    padding: 10px 17px;
  }
  .as-fill-blue-600 {
    fill: rgba(var(--color-link), 1); 
  }
  .as-subtotal {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
  }
  .as-text-sm,
  .as-text-lg.as-edit-frequency_data {
   font-size: 13px; 
    border-radius: 0;
  }
  button,
  .as-button,
  .as-cursor-pointer,
  .as-product-action span {
    border-radius: 0;
    transition: background-color 0.2s linear;
    -webkit-transition: background-color 0.2s linear;
    -moz-transition: background-color 0.2s linear;   
  }
  button {
    box-shadow: none !important;
  }

  .as-product-title {
    margin-bottom: 2px;
  }  
  .as-variant {
    margin-bottom: 4px;
  }   
  .as-product-action {
    text-transform: none;
    margin: 0;
    span {
      padding: 2px 5px;
      border: 1px solid rgba(var(--color-gray), 1);
      color: rgba(var(--color-gray), 1);
      border-radius: 3px;
      text-decoration: none;
      font-weight: 300;
      font-size: 11px;
      &:hover {
        color: #fff;
        background-color: rgba(var(--color-gray), 1);
      }
    }
  }  
  p.as-cta.as-cursor-pointer {
    padding: 2px 8px;
    border: none;
    background-color: rgba(var(--color-gray), .7);
    color: rgba(var(--color-background), 1);
    border-radius: 3px;
    text-decoration: none;
    font-weight: 300;
    font-size: 11px;
    &:hover {
      color: #fff;
      background-color: rgba(var(--color-gray), 1);
    }   
  }
  .hover\:as-bg-gray-50:hover {
    background-color: transparent;
  }
  .as-text-indigo-600,
  .as-text-blue-500 {
      color: rgba(var(--color-link), 1);
  }
  .as-text-red-600 {
     color: #DF193D; 
  }
  .as-border-indigo-600,
  .as-border-indigo-500 {
      border-color: rgba(var(--color-link), 1);
      &:hover {
          border-color: rgba(var(--color-gold), 1);
          background-color: rgba(var(--color-gold), 1);
      }
      &.as-button--secondary:hover {
        border-color: rgba(var(--color-link), 1);
        background-color: rgba(var(--color-link), 1);
      }
  }
  .as-border-red-600 {
      border-color: #DF193D;
      &:hover {
          border-color: #DF193D;
          background-color: #DF193D;
      }
  }  
  .as-bg-indigo-600 {
     background-color: rgba(var(--color-link), 1);
     &:hover {
       background-color: rgba(var(--color-gold), 1);
     }
  }
  .as-border-b-2:hover {
     background-color: transparent;
  }
  .multiselect-modal-body {
    .as-overflow-y-scroll {
      overflow: hidden;
    }
    ul li {
      a {
        border-radius: 0;
        border: 1px solid rgba(var(--color-gray), 1);
        color: rgba(var(--color-gray), 1);
        &.as-active {
          color: #FFF;
          background-color: rgba(var(--color-gray), 1);
        }
      }
      &:first-child a {
        border-width: 1px 0 1px 1px; 
      }        
      &:last-child a {
        border-width: 1px 1px 1px 0;
        margin-left: -2px;
      }  
    }
    p.as-add-product-title {
      display: none;
    }
    .as-product-card-button,
    .as-edit-discount_data {
      background-color: #FFF !important;
      border: 1px solid rgba(var(--color-link), 1);
      color: rgba(var(--color-link), 1);
      &:hover {
        border-color: rgba(var(--color-link), 1);
        background-color: rgba(var(--color-link), 1) !important;
        color: #FFF;
      }
    }
  }
  .as-additional-order-details {
    display: none;
  }
  p.as-skip-order,
  p.as-upcoming-reschedule,
  p.as-upcoming-reschedule {
    border: 1px solid rgba(var(--color-link), 1);
    border-radius: 3px;
    padding: 5px;
    color: rgba(var(--color-link), 1);
    &:hover {
      background-color: rgba(var(--color-link), 1);
      color: #FFF;
    }
  }
  .as-subscription-footer .as-button--cancelsub {
    display: none;
  }
  .as-border-gray-900 {
      border: 1px solid rgba(var(--color-gray), 1);
      color: rgba(var(--color-gray), 1);
      &:hover {
        color: #FFF;
        background-color: rgba(var(--color-gray), 1);
      }    
  }
  span.as-label {
    font-size: 13px !important;
  }
  .as-button--cancelsub {
    border: none;
    padding-left: 21px;
    color: #4A4A4A !important;
    position: relative;
    width: auto;
    padding: 0 0 0 26px;
    margin: 25px auto 0;
    display: flex;
    opacity: .6;
    &:hover {
      background-color: transparent;
    }
    &:before {
      content: "";
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 14px;
      height: 16px;
      opacity: .6;
      background-repeat: no-repeat;
      background-position: 0 0;
      background: url('/cdn/shop/files/Trash-Can.svg?v=1699250822');
    }
  }
  .as-edit-frequency_data,
  .as-edit-shipping_data {
    //text-transform: uppercase;
  }
  .as-shipping-option,
  .as-shipping-address-title,
  .as-shipping-address {
    font-size: 11px;
    padding: 0;
    font-style: normal;
  }
  .as-shipping-address-title {
    font-weight: 700;
    .colon-symbol {
      display: none;
    }
  }
  .as-shipping-option {
    padding-bottom: 0;
  }
  .as-full-width.as-panel-right {
    gap: 32px;
  }
}

.as-fixed,
.as-model-order-note,
.as-model-redeem-rewards,
.as-model-discount-codes,
.as-modal-swap-product {
  input[type=text]{
    margin-bottom: 10px;
    padding: 10px 15px;
  }
  label {
    margin-bottom: 0;
  }
  button {
    transition: background-color 0.2s linear, color 0.3s linear;
    -webkit-transition: background-color 0.2s linear, color 0.3s linear;
    -moz-transition: background-color 0.2s linear, color 0.3s linear;    
    box-shadow: none !important;
    &.as-bg-indigo-600 {
       background-color: rgba(var(--color-link), 1);
       &.disable,
       &:hover {
         background-color: rgba(var(--color-gold), 1);
       }      
    }
    &.as-border-indigo-600 {
      color: rgba(var(--color-link), 1);
      border-color: rgba(var(--color-link), 1);
      &.disable,
      &:hover {
          color: #fff;
          border-color: rgba(var(--color-gold), 1);
          background-color: rgba(var(--color-gold), 1);
      }      
    }
  }
  .as-text-indigo-600 {
    color: rgba(var(--color-link), 1); 
    text-decoration: none;
  }
  input[type=radio] {
    box-shadow: none;
    color: rgba(var(--color-link), 1);
  }
}

.as-model-payment-details {
  .as-mb-4 {
    margin-top: 16px;
    label {
      color: #4A4A4A;
    }
  }  
}  

@media screen and (max-width: 749px) {
  .appstle-cp-detail {
     .app-main {
       padding: 50px 0;
     }
  }  
  .app-main {  
    .app-main__inner {
      .as-flex.as-justify-between:first-child {
        padding: 0 8px;
      }
      div:not([class]):first-child {
        flex-direction: column;
        .as-flex.as-justify-between.as-customer-info,
        .as-subscription {
          min-height: 35vh;
          width: 100%;
          padding: 0 1.5rem;
          align-items: center;
          border-bottom: 1px solid rgba(var(--color-foreground),.08);
        }
        .as-card.as-subscription {
          border-bottom: none;
          padding: 75px 1.5rem !important;
          .as-subscription-detail .as-subscription-product .as-subscription-product-image-wrapper {
            max-width: 100px;
          }          
          .as-subscription-list-item-detail,
          .as-subscription-footer {
            align-items: start;
          }
          .as-subscription-footer .as-see-more-link {
            padding: 10px 0 0 0;
            margin: 0;
          }
        }
        .as-flex.as-justify-between.as-customer-info:after {
          display: none;
        }
      }
      .as-subscription-detail-header {
        padding: 0 8px;
      }
    }
  }
}