@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,500&display=swap');

.btn {
  border-radius: 10px;
  font-weight: 500;
  text-transform: uppercase !important;
}

.btn--secondary {
  font-weight: 400;
  background-color: #ffffff !important;
  border-radius: 10px !important;
}

.section-header__title {
  text-transform: uppercase;
  letter-spacing: 20px;
}

.index-section-small {
  margin: 34px 0;
  @media (min-width: 590px) {
    margin: 67px 0;
  }
}

.theme-block--rich-text {
  margin-bottom: 15px;
  p {
    font-size: 20px;
  }
}

a.link--orange {
  color: #f07800;
  border: 0 !important;
  font-weight: 600;
}

h2,
h3 {
  &.h2-small {
    font-size: 20px;
    letter-spacing: 0.3em;
    font-weight: 500;
  }
  &.h2-rich-text {
    font-size: 24px;
    letter-spacing: 10px;
    font-weight: 600;
    margin-bottom: 0;
    @media (min-width: 590px) {
      letter-spacing: 20px;
    }
  }
  &.section-header__title {
    font-size: calc(var(--typeHeaderSize) * 0.7);
  }
  &.h2-alt {
    font-family: "ClimateCrisis", sans-serif;
    font-size: clamp(35px, 6.46vw, 93px);
    line-height: 0.9em;
    color: #ffa621;
    font-weight: 600;
    word-break: break-word;
    text-transform: uppercase;
    letter-spacing: 0px;
    @media (max-width: 1315px) {
      font-size: clamp(35px, 6vw, 93px);
    }
    @media (min-width: 590px) {
      margin-bottom: 0;
    }
    @media (max-width: 589.98px) {
      text-align: center;
      line-height: 1.3em;
    }
    span {
      color: #7c2d4e;
    }
  }
}

.template-index {
  .shopify-section {
    header {
      &.site-header {
        @media (min-width: 590px) {
          padding-top: 40px;
        }
      }
    }
  }
}

.shopify-section {
  header {
    &.site-header {
      @media (min-width: 590px) {
        padding: 17px 0;
      }
    }
    .page-width {
      max-width: 2200px;
      margin: 0;
      @media (min-width: 768px) {
        padding-inline: 100px;
      }
    }
    .header-item--navigation {
      .site-navigation {
        margin: 0;
        .site-nav__link {
          padding-left: 16px;
          padding-right: 16px;
        }
        .site-nav--active {
          .site-nav__link {
            @media (min-width: 768px) {
              position: relative;
              &::after {
                content: "";
                position: absolute;
                bottom: 0;
                left: 16px;
                right: 0;
                height: 2px;
                background-color: #b3d6da;
                width: calc(100% - 32px);
              }
            }
          }
        }
      }
    }
    .header-item--icons {
      .site-nav__icons {
        .site-nav__link {
          img {
            width: 20px;
            height: 20px;
          }
        }
      }
    }
  }
}

.index-section--hero {
  .page-width {
    max-width: 2200px;
    margin: 0;
    @media (min-width: 768px) {
      padding-inline: 100px;
      display: flex;
    }
    .hero__text-content {
      width: 100%;
      @media (min-width: 768px) {
        display: flex;
        justify-content: space-between;
        align-items: flex-end;
      }
      .h1.hero__title {
        font-family: "ClimateCrisis", sans-serif !important;
        font-size: 35px;
        line-height: 35px;
        color: #b3d6da;
        @media (min-width: 980px) {
          font-size: 60px;
          line-height: 60px;
        }
        @media (min-width: 1300px) {
          font-size: 83px;
          line-height: 83px;
        }
      }

      .hero__subtitle {
        font-size: 18px;
      }
    }
  }
}

.background-media-text {
  .background-media-text__text {
    border-radius: 10px;
    &.larger-text {
      background-color: rgba(255, 255, 255, 0.8);
      @media (min-width: 590px) {
        width: 100%;
        max-width: 592px;
        padding: 60px 36px 36px 48px;
      }
    }
    h2 {
      font-size: 20px;
      font-weight: 600;
      letter-spacing: 6px;
    }
    .background-media-text__subtext {
      p {
        font-size: 16px;
      }
    }
  }
}

.grid-product__content {
  border-radius: 8px;
  overflow: hidden;
}

.roast-level-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.roast-label {
  font-size: 16px;
  width: 70px;
  text-align: start;
  font-weight: 500;
  color: #333;
}

.roast-dots {
  display: flex;
  gap: 4px;
}

.roast-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 2px solid #acacac;
  background-color: #acacac;
  transition: all 0.3s ease;
}

.roast-dot.filled {
  background-color: #ff9f0f;
  border-color: #ff9f0f;
}

.acidity-level-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.acidity-label {
  font-size: 16px;
  width: 70px;
  text-align: start;
  font-weight: 500;
  color: #333;
}

.acidity-dots {
  display: flex;
  gap: 4px;
}

.acidity-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 2px solid #ccc;
  background-color: transparent;
  transition: all 0.3s ease;
}

.acidity-dot.filled {
  background-color: #ff9f0f;
  border-color: #ff9f0f;
}

.meta-flavour {
  font-size: 16px;
  font-weight: 700;
}

.meta-origin {
  font-size: 16px;
}

.grid-product__metaflavour {
  max-width: 60%;
  font-size: 16px;
  font-weight: 800;
  // min-height: 72px;
  margin-bottom: 4px;
}

.grid-product__metaorigin {
  font-size: 16px;
  margin-bottom: 16px;
}

.custom-quick-product__btn {
  padding: 0;
  margin-bottom: 24px;
  color: #f07800;
  font-size: 16px;
  @media (max-width: 767px) {
    display: none;
  }
}

.grid-product {
  .grid-product__meta {
    background-color: #ffffff;
    padding-inline: 24px;
    padding-bottom: 32px;
  }
  .grid-product__title {
    font-size: 18px;
    font-weight: 500;
    line-height: 28px;
    text-transform: uppercase;
    letter-spacing: 5.4px;
  }
  .add-to-cart {
    color: #141414;
    text-transform: uppercase;
  }
  .btn--full {
    box-sizing: border-box;
    border-radius: 8px;
    background-color: #b3d6da !important;
    border: none;
  }
}

.custom-quick-view {
  display: flex;
  align-items: center;
  gap: 8px;
}

.custom-quick-view img {
  width: 5px;
  height: 9px;
}

.custom-title-price-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.custom-full-description {
  margin-bottom: 20px;
  summary {
    font-size: 16px;
    color: #f07800;
    display: flex;
    gap: 8px;
    align-items: center;
  }
  .roast-dots {
    gap: 10px;
  }
  .full-description {
    font-size: 16px;
    margin-top: 15px;
    p {
      &:last-child {
        margin-bottom: 0;
      }
    }
  }
  img {
    width: 10px;
    height: 10px;
  }
  @media (min-width: 768px) {
    display: none;
  }
}

.shopify-app-block {
  #insta-feed {
    h2 {
      font-weight: 600;
      letter-spacing: 10px;
      margin-bottom: 45px;
      margin-top: 20px;
      @media (min-width: 768px) {
        letter-spacing: 20px;
        margin-top: 0;
      }
    }
  }
}

.site-footer {
  padding: 32px 0;
  @media (min-width: 590px) {
    padding: 56px 0 32px 0;
  }
  .footer__title {
    color: #b3d6da;
    font-size: 16px;
    @media (min-width: 590px) {
      margin-bottom: 10px;
    }
  }
  .footer__collapsible {
    p {
      margin-bottom: 0;
      font-size: 16px;
    }
    li {
      margin-bottom: 0;
      a {
        padding: 0;
      }
    }
  }
  .page-width {
    padding: 0 20px;
  }
  .grid {
    margin: 0;
    @media (min-width: 1366px) {
      margin: 0 0 0 -20px;
    }
  }
  .grid__item {
    padding-left: 0;
  }
  .grid-newsletter {
    p {
      margin-bottom: 10px;
    }
    .footer__newsletter {
      .footer__newsletter-input {
        background-color: #ffffff;
        color: #67728a;
        max-width: 320px;
        padding: 10px 16px;
        font-size: 16px;
        border-radius: 6px;
        margin-bottom: 18px;
        &::placeholder {
          color: #67728a;
        }
        @media (max-width: 590px) {
          width: 100%;
          max-width: 100%;
        }
      }
      .btn {
        min-width: 190px;
        @media (max-width: 590px) {
          width: 100%;
        }
      }
    }
  }
  .footer--social-icons {
    span {
      font-weight: 600;
    }
    .social-icons {
      display: flex;
      gap: 10px;
    }
  }

  .footer__bottom--wrapper {
    .footer__bottom--container {
      @media (min-width: 970px) {
        display: flex;
        justify-content: space-between;
        align-items: center;
      }
      .footer__bottom--info {
        ul {
          list-style: none;
          margin: 0;
          padding: 0;
          @media (min-width: 970px) {
            display: flex;
          }
          li {
            margin-bottom: 20px;
            line-height: 17px;
            font-size: 16px;
            text-align: center;
            @media (min-width: 970px) {
              text-align: left;
              margin-bottom: 0;
              padding-right: 16px;
              margin-right: 16px;
              font-size: 13px;
            }
          }
        }
      }
      .footer__bottom--copyright {
        font-size: 13px;
        text-align: center;
        margin-bottom: 40px;
        margin-top: 40px;
        @media (min-width: 970px) {
          text-align: left;
          margin-bottom: 0;
          margin-top: 0;
        }
      }
    }
  }
}

.contact-form {
  input,
  textarea {
    border-radius: 6px;
    background-color: rgba(255, 255, 255, 0.8);
    color: #141414;
    font-size: 16px;
    resize: none;
    &::placeholder {
      color: #141414;
    }
  }
  .form-actions {
    text-align: right;
    .btn {
      min-width: 140px;
    }
  }
  .contact-form__subject {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
    input,
    label {
      margin: 0;
    }
    span {
      margin-right: 20px;
    }

    .radio-group {
      display: flex;
      flex-wrap: wrap;
    }

    .custom-radio {
      display: flex;
      align-items: center;
      margin-bottom: 0;
      cursor: pointer;
      gap: 8px;
      margin-right: 25px;
    }

    .custom-radio input[type="radio"] {
      display: none;
    }

    .radio-mark {
      width: 20px;
      height: 20px;
      border: 1px solid #acacac;
      border-radius: 50%;
      position: relative;
      flex-shrink: 0;
      margin-right: 3px;
      background-color: #ffffff;
    }

    .custom-radio input[type="radio"]:checked + .radio-mark::after {
      content: "";
      width: 10px;
      height: 10px;
      background-color: #b3d6da;
      border-radius: 50%;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }
  }
}

.custom-content {
  &.custom-content--signature-section {
    .custom__item {
      &.one-third {
        @media (min-width: 1315px) {
          &:nth-of-type(1) {
            width: calc(50% - 142px);
          }
          &:nth-of-type(3) {
            max-width: 382px;
            padding-left: 0;
          }
          &:nth-of-type(2) {
            max-width: 295px;
            margin-inline: 45px;
            padding-left: 0;
          }
        }
      }
    }
    .custom__item-inner--liquid {
      p {
        line-height: 26px;
        &:nth-of-type(1) {
          margin-bottom: 0;
        }
      }
      .btn {
        min-width: 215px;
      }
    }
  }
  .custom__item {
    @media (min-width: 767px) {
      &.custom__item--offset-left {
        margin-left: -30px;
        width: calc(50% + 30px);
      }
      &.custom__item--offset-right {
        margin-right: -30px;
        width: calc(50% + 30px);
      }
      &.custom__item--offset-text-left {
        padding-right: 70px;
        width: calc(50% - 30px);
        margin-right: 30px;
      }
      &.custom__item--offset-text-right {
        padding-left: 70px;
        width: calc(50% - 30px);
        margin-left: 30px;
      }
    }
    .tag {
      display: inline-block;
      border: 2px solid #141414;
      padding: 4px 20px;
      border-radius: 20px;
      vertical-align: middle;
      margin-right: 7px;
      margin-bottom: 7px;
    }
    .tag--orange,
    .tag--blue,
    .tag--brown {
      display: inline-block;
      border-radius: 20px;
      vertical-align: middle;
      font-size: 14px;
      padding: 4px 11px;
      margin-right: 4px;
      margin-bottom: 8px;
      color: #141414;
    }
    .tag--blue {
      background-color: #bbecff;
    }
    .tag--brown {
      background-color: #6b5757;
      color: #ffffff;
    }
    .tag--orange {
      background-color: #ff9f0f;
    }
  }
}

.grid-product__meta {
  .custom-title-price-wrapper {
    .grid-product__price {
      display: flex;
      flex-direction: column;

      .sale-price {
        font-size: 16px;
        font-weight: 600;
        line-height: 26px;
        letter-spacing: 0.8px;
      }

      .grid-product__price--original {
        color: #acacac;
        font-size: 15.5px;
        margin-left: 3px;
        line-height: 26px;
        letter-spacing: 0.8px;
      }
    }
  }
}

.template-product {
  .product__photos {
    .product__thumbs--below {
      .product__thumb-item {
        @media (min-width: 590px) {
          max-width: 176px;
          min-width: 176px;
          max-height: 176px;
        }
      }
    }
  }
  .product-single__meta {
    padding-left: 5px;
    .product-block--header {
      .product-single__title {
        font-size: 24px;
        font-weight: 600;
        letter-spacing: 10px;
        @media (min-width: 590px) {
          letter-spacing: 20px;
        }
      }
      .product-single__metaflavour {
        font-weight: 600;
        margin-bottom: 7px;
      }
    }
    .product__quantity-with--add-to-cart {
      display: flex;
      align-items: center;
      gap: 16px;
      padding-bottom: 20px;
      @media (max-width: 767px) {
        flex-direction: column;
        align-items: stretch;
      }
      .btn.add-to-cart {
        min-width: 332px;
      }
    }
    .product__quantity {
      .js-qty__wrapper {
        max-width: 160px;
        .js-qty__num {
          padding: 9px 20px;
          border-radius: 10px;
          border-color: #acacac;
          background-color: #ffffff;
        }
        .js-qty__adjust {
          padding: 0 21px;
        }
        .js-qty__adjust--minus {
          border-right: 1px solid #acacac;
          border-radius: 10px 0 0 10px;
        }
        .js-qty__adjust--plus {
          border-left: 1px solid #acacac;
          border-radius: 0 10px 10px 0;
        }
      }
    }
    .product-block--tab + .product-block--tab {
      margin-top: 0;
    }
    .collapsibles-wrapper {
      border: 0;
      .collapsible-trigger-btn {
        font-size: 16px;
        font-weight: 600;
        background-color: #ffffff;
        text-transform: none;
        padding: 24px 24px;
        border-radius: 10px;
        .collapsible-trigger__icon {
          right: 24px;
        }
      }
      .collapsible-content__inner {
        padding: 24px 0;
        font-size: 16px;
        @media (min-width: 590px) {
          padding: 24px;
        }
      }
    }
  }

  .sealsubs-container {
    border: 1px solid #acacac;
    padding: 24px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    .sls-purchase-options-label {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 20px;
      color: #141414;
    }
    .sls-purchase-options-container {
      border: 0;
      .sls-option-container {
        border-radius: 10px !important;
        background-color: #fff;
        border: 1px solid #acacac !important;
        margin-bottom: 35px;
        position: relative;
        @media (min-width: 590px) {
          padding-left: 24px;
        }
        &[data-selling-plan-group="0"] {
          margin-bottom: 0;
        }
        &.sls-active {
          box-shadow: inset 0px 0px 0px 1px #ff9f0f;
          border: 1px solid #ff9f0f !important;
          background-color: #fffaf1;
          @media (min-width: 590px) {
            padding-left: 24px;
          }
          .sls-selling-plan-group-name {
            color: #ff9f0f;
          }
        }
        .sls-savings-badge {
          position: absolute;
          top: -20px;
          right: 60px;
          background-color: #b3d6da;
          transform: none;
          font-size: 14px;
          padding: 3px 10px;
          border-radius: 20px;
          @media (min-width: 590px) {
            padding: 6px 10px;
          }
          &::before {
            display: none;
          }
        }
        .selling-plan-group-options-name-select {
          font-size: 14px;
        }
        .seal-col-radio {
          display: none;
        }
        .sls-selling-plan-group-options {
          width: calc(100% + 39px);
          margin-left: -25px;
          background-color: #deeced;
          margin-bottom: -18px;
          padding: 9px 11px 9px 24px;
          border-radius: 0 0 10px 10px;
          margin-top: 13px;
          border-top: 2px solid #ff9f0f !important;
          .selling-plan-group-options-name-select {
            margin-top: 0;
          }
        }
      }
    }
    .sls-more-info-container,
    .sls-widget-branding {
      display: none;
    }
  }

  product-recommendations {
    border: 1px solid #acacac;
    padding: 24px 20px;
    border-radius: 10px;
    margin-bottom: 30px;
    .product-recommendations__title {
      font-size: 16px;
      font-weight: 600;
      margin: 0 0 20px 0;
      color: #141414;
    }
    .grid-product__content {
      border: 1px solid #acacac;
      border-radius: 10px;
      background-color: #fff;
    }
    .grid-product__meta {
      margin-left: 0 !important;
      padding-right: 13px;
      .custom-quick-product__btn, .product-single__form {
        display: none;
      }
      .custom-full-description {
        @media (max-width: 767px) {
          display: none;
        }
      }
    }
    .grid-product__title {
      font-size: 17px;
      font-weight: 600;
      text-transform: none;
      letter-spacing: normal;
    }
    .grid-product__price {
      .sale-price,
      .grid-product__price--original {
        font-size: 17px !important;
        font-weight: 400 !important;
      }
    }
  }
}

.modal--quick-shop {
  product-recommendations {
    .grid-product__meta {
      .custom-quick-product__btn, .product-single__form {
        display: none;
      }
    }
  }
}

.custom-content {
  .video-wrapper {
    .video-placeholder {
      position: absolute;
      left: 0;
      right: 0;
      top: 0;
      bottom: 0;
      height: 100%;
      width: 100%;
      object-fit: cover;
      border-radius: 10px 0 0 10px;
    }
    .video-play-button {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 60px;
      height: 60px;
      background-color: rgba(255, 255, 255, 0.8);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      cursor: pointer;
      svg {
        width: 30px;
        height: 30px;
        fill: #b3d6da;
        margin-right: -5px;
      }
    }
  }
}

.section-faq {
  .collapsibles-wrapper {
    margin-bottom: 15px;
  }
  .collapsible-trigger {
    width: 100%;
    font-size: 16px;
    font-weight: 600;
    background-color: #ffffff;
    text-transform: none;
    padding: 24px;
    border-radius: 10px;
    .collapsible-trigger__icon {
      left: auto;
      right: 24px;
    }
    @media (max-width: 767px) {
      padding: 10px;
      .collapsible-trigger__icon {
        right: 10px;
      }
    }
  }
  .collapsible-content__inner {
    padding: 24px 0;
    font-size: 16px;
    @media (min-width: 590px) {
      padding: 24px;
    }
  }
  .btn--faqs {
    min-width: 180px;
  }
}

.template-blog {
  .grid__item {
    @media (max-width: 767px) {
      margin-bottom: 25px;
    }
  }
  .pagination {
    text-align: left;
    padding-top: 0;
    display: flex;
    .page {
      border: 1px solid #ebebeb;
      border-radius: 10px;
      margin-right: 8px;
      width: 40px;
      height: 40px;
      display: flex;
      align-items: center;
      justify-content: center;
      &.current {
        background-color: #b3d6da;
        border-color: #b3d6da;
        opacity: 1;
        padding: 0;
      }
      a {
        width: 100%;
        height: 100%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }
    .next,
    .prev {
      border-radius: 10px;
      width: 40px;
      height: 40px;
      margin: 0;
      background-color: transparent;
      border: 1px solid #ebebeb;
      a {
        width: 100%;
        height: 100%;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
      }
    }
    .prev {
      margin-right: 8px;
    }
  }
}

.article--layout {
  display: block;
  .article__image-wrap {
    height: auto;
    margin: 0;
  }
  .article__content {
    max-width: 100%;
    padding: 32px 40px;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    .article__h3 {
      font-size: 16px;
      font-weight: 600;
    }
    .rte--block {
      p {
        font-size: 16px;
      }
    }
  }
}

.article__back-to-blog {
  margin-bottom: 55px;
  .return-link {
    font-size: 16px;
    svg {
      margin-right: 10px;
      margin-top: -2px;
      vertical-align: middle;
    }
  }
}

.template-article {
  .section-header__title {
    font-size: 24px;
    letter-spacing: 10px;
    font-weight: 600;
    @media (min-width: 590px) {
      letter-spacing: 20px;
    }
  }
  .article__body {
    h2 {
      font-size: 20px;
      font-weight: 600;
      letter-spacing: 8px;
    }
    @media (min-width: 590px) {
      padding: 0 60px;
      img {
        margin: 0 -30px;
        width: calc(100% + 60px);
        max-width: calc(100% + 60px);
      }
    }
  }
  .article__grid-image {
    margin-bottom: 0;
  }
  .article__grid-meta {
    padding: 32px 24px;
    background-color: #fff;
    border-radius: 0 0 10px 10px;
    .article__title {
      font-size: 16px;
      font-weight: 600;
      margin-bottom: 10px;
    }
    .rte--block {
      margin-top: 10px;
      p {
        font-size: 16px;
      }
    }
  }
}

main {
  .shopify-section {
    .background-media-text {
      .text-full-width-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;

        @media only screen and (max-width: 589px) {
          position: relative;
        }

        .background-media-text__inner {
          width: calc(100% - 80px);

          @media (max-width: 590px) {
            width: 100%;
          }
        }
      }
    }
  }
}

.custom-email-input::-webkit-input-placeholder { /* Chrome and Safari */
  color: #141414 !important;
}
 
.custom-email-input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
  color: #141414 !important;
  opacity: 1 !important;
}
 
.custom-email-input::-moz-placeholder { /* Mozilla Firefox 19+ */
  color: #141414 !important;
  opacity: 1 !important;
}
 
.custom-email-input:-ms-input-placeholder { /* Internet Explorer 10-11 */
  color: #141414 !important;
  opacity: 1 !important;
}
 
.custom-email-input::-ms-input-placeholder { /* Microsoft Edge */
  color:#141414 !important;
  opacity: 1 !important;
}
 
.custom-email-input::placeholder {
  color: #141414 !important;
  opacity: 1 !important;
}

footer {
  .page-width {
    .grid {
      .grid-newsletter--index {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;

        @media (max-width: 768px) {
          display: none;
        }
      }
    }
  }
}
