/* These classes aren't used...? */
/* .product { */
/*   margin: 0; */
/* } */
/**/
/* .product--no-media { */
/*   max-width: 57rem; */
/*   margin: 0 auto; */
/* } */
/**/
/* .product__media-wrapper { */
/*   padding-left: 0; */
/* } */
/**/
/* .product__info-wrapper { */
/*   padding-left: 0; */
/*   padding-bottom: 0; */
/* } */
/**/
/* @media screen and (max-width: 749px) { */
/*   .product-section { */
/*     margin-top: 0; */
/*   } */
/* } */
/**/
/* @media screen and (min-width: 750px) { */
/*   .product__info-container--sticky { */
/*     position: sticky; */
/*     top: 3rem; */
/*     z-index: 2; */
/*   } */
/**/
/*   .product__info-wrapper { */
/*     padding-left: 5rem; */
/*   } */
/**/
/*   .product__media-container .slider-buttons { */
/*     display: none; */
/*   } */
/* } */
/**/
/* @media screen and (min-width: 990px) { */
/*   .product:not(.product--no-media) .product__media-wrapper { */
/*     max-width: 64%; */
/*     width: calc(64% - 1rem / 2); */
/*   } */
/**/
/*   .product:not(.product--no-media) .product__info-wrapper { */
/*     padding-left: 4rem; */
/*     max-width: 36%; */
/*     width: calc(36% - 1rem / 2); */
/*   } */
/* } */
/**/

/* PDP */
.template-product {
  --oke-stars-backgroundColor: transparent !important;
  --oke-stars-foregroundColor: #3d3939 !important;
  --oke-stars-borderColor: #3d3939 !important;
}

[data-product-type="bundle"] {
  [data-block-id="variant_picker"] {
    display: none;
  }
}

.product-section,
.wt__quick-buy {
  .wt-product__wrapper--full {
    padding-left: 16px;
    padding-right: 16px;
    max-width: 100%;
    padding-top: 0;
    padding-bottom: 0;

    @media (min-width: 1024px) {
      padding-right: 64px;
      padding-left: 32px;
    }
  }

  .wt-product {
    @media (min-width: 1024px) {
      gap: 64px;
    }

    .wt-product__main {
      @media (min-width: 1024px) {
        max-width: var(--main-width, 50%);
        width: calc(50% - 64px);
      }
    }

    .wt-product__badges {
      position: relative;
      top: unset;
      left: unset;
      flex-direction: row;

      .card__badges--item {
        line-height: 1;
        padding: 6px;
      }
    }

    .wt-product__name {
      font-size: var(--font-size-h3);
      font-family: var(--font-heading);
      line-height: var(--line-height-heading);
      font-weight: var(--font-heading-weight);
      color: var(--color-brand-blue);

      @media (min-width: 1024px) {
        font-size: var(--font-size-h4);
      }
    }

    .wt-product__price {
      span,
      s {
        font-family: var(--font-body);
        font-size: var(--font-size-para-large);
        line-height: var(--line-height-para);
        font-weight: var(--font-body-weight-medium);
      }

      .price-item {
        margin: 0 16px 0 0;
      }

      .price__sale {
        flex-direction: row;

        .price-item--percent {
          display: none;
        }

        .price-item--sale {
          font-weight: 500;
        }

        .price-item--regular {
          opacity: 0.5;
          font-weight: 300;
        }
      }
    }

    .wt-product__gallery {
      @media (min-width: 1024px) {
        max-width: var(--gallery-width, 50%);
      }

      .thumbs-list-item {
        &::before {
          border-color: var(--color-brand-orange);
        }

        .wt-product__img {
          background-color: var(--color-brand-cream);
        }
      }
      .wt-slider__container {
        @media (max-width: 899px) {
          margin-left: 0;
          margin-right: 0;
        }

        .swiper-slide {
          background-color: var(--color-brand-cream);
          border-radius: var(--border-radius);
        }

        .swiper-button-prev,
        .swiper-button-next {
          background: transparent;

          svg {
            width: 15px;
            height: auto;
          }
        }

        .swiper-button-prev {
          margin-left: 0;
        }

        .swiper-button-next {
          margin-right: 0;
        }

        &.wt-slider__container--thumbs {
          &::after {
            content: unset;
          }
        }
      }
    }

    .wt-collapse__trigger {
      padding-top: 0;
      padding-bottom: 0;

      .wt-collapse__trigger__title {
        margin: 0;
        color: var(--color-brand-blue);
        font-family: var(--font-heading);
        font-size: var(--font-size-h5);
        line-height: var(--line-height-heading);
        font-weight: var(--font-heading-weight);

        @media (min-width: 1024px) {
          font-family: var(--font-heading);
          font-size: var(--font-size-h7);
          line-height: var(--line-height-heading);
          font-weight: var(--font-heading-weight);
        }
      }
    }

    .wt-collapse__target__content {
      font-family: var(--font-body);
      font-size: var(--font-base-size);
      line-height: var(--line-height-para);
      font-weight: var(--font-body-weight-book);
      color: var(--color-brand-blue);
      padding-top: 16px;
    }

    .wt-product__separator-block {
      margin: 0;

      &:has(+ .wt-product__separator-block) {
        display: none;
      }
    }

    .complementary-products {
      .complementary-products__container {
        gap: 16px;
      }

      .summary__title--h3 {
        @media (min-width: 1024px) {
          font-family: var(--font-heading);
          font-size: var(--font-size-h6);
          line-height: var(--line-height-heading);
          font-weight: var(--font-heading-weight);
          color: var(--color-brand-blue);
        }
      }

      li {
        background-color: var(--color-brand-cream);
        border-radius: var(--border-radius);
        padding: var(--space-16);
      }

      .wt-product__upsell__content {
        margin-top: 0;
        align-items: center;

        picture {
          height: 100%;
          object-fit: contain;
          aspect-ratio: 1 / 1;
          max-width: 150px;
        }

        .wt-product__upsell__image {
          margin: 0;
          max-width: 100%;
        }

        .wt-product__upsell__product {
          flex-direction: column;
          justify-content: space-between;
          align-items: flex-start;
          gap: 14px;

          .wt-product__upsell__info {
            @media (max-width: 1023px) {
              padding-right: 16px;
            }

            width: 100%;
            min-width: 100%;

            .card__subtitle {
              margin-top: 0;
              font-family: var(--font-body);
              font-size: var(--font-size-para-xsmall);
              line-height: var(--line-height-para-xsmall);
              font-weight: var(--font-body-weight-book);
              text-transform: unset;
              letter-spacing: 0;
              margin-bottom: 18px;

              @media (min-width: 1024px) {
                margin-bottom: 8px;
              }
            }

            .card__title,
            .card__title a {
              background-image: unset;
              font-family: var(--font-heading);
              font-size: var(--font-size-h8);
              line-height: 1.1;
              font-weight: var(--font-heading-weight);

              &:hover {
                background-image: unset;
              }
            }

            .card__title {
              margin-bottom: 18px;

              @media (min-width: 1024px) {
                margin-bottom: 10px;
              }
            }

            .card__price {
              display: flex;
              justify-content: space-between;
              align-items: center;
              margin: 0;
              line-height: 1;

              .price {
                span,
                s {
                  font-size: var(--font-size-para-small);
                  line-height: var(--line-height-para);
                  font-weight: var(--font-body-weight-medium);
                }
              }

              .price__sale.visible {
                display: flex;
                flex-direction: row;

                .price-item--percent {
                  display: none;
                }
              }

              .okeReviews {
                > div {
                  display: flex;
                  flex-direction: row-reverse;
                  align-items: center;
                }

                .oke-sr-count {
                  display: none;
                }

                .oke-sr-stars {
                  margin-right: 6px;

                  .oke-stars {
                    &::before {
                      content: "";
                      display: inline-block;
                      width: 15px;
                      height: 15px;
                      background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEwLjAwMDEgMi41TDExLjY4NCA3LjY4MjM3SDE3LjEzM0wxMy41NTggMTAuODg1M0wxNC40MDg1IDE2LjA2NzZMMTAuMDAwMSAxMi44NjQ3TDUuNTkxNzIgMTYuMDY3Nkw2LjQ0MjI0IDEwLjg4NTNMMi44NjcxOSA3LjY4MjM3SDguMzE2MjZMMTAuMDAwMSAyLjVaIiBmaWxsPSIjM0QzOTM5IiBzdHJva2U9IiMzRDM5MzkiIHN0eWxlPSJmaWxsOiMzRDM5Mzk7ZmlsbDpjb2xvcihkaXNwbGF5LXAzIDAuMjM5MiAwLjIyMzUgMC4yMjM1KTtmaWxsLW9wYWNpdHk6MTtzdHJva2U6IzNEMzkzOTtzdHJva2U6Y29sb3IoZGlzcGxheS1wMyAwLjIzOTIgMC4yMjM1IDAuMjIzNSk7c3Ryb2tlLW9wYWNpdHk6MTsiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIvPgo8L3N2Zz4K);
                      background-size: contain;
                      background-position: center;
                      background-repeat: no-repeat;
                    }
                    .oke-stars-background,
                    .oke-stars-foreground {
                      display: none;
                    }
                  }
                }

                .oke-sr-rating {
                  display: inline-block;
                  font-size: 16px;
                  font-weight: 500;
                }
              }
            }
          }
        }
      }

      .wt-product__upsell__button {
        @media (max-width: 1023px) {
          display: none;
        }

        width: 100%;
        max-width: 226px;

        &.mobile-only {
          flex: 1;
          margin-top: 16px;
          display: block;
          max-width: 100%;

          @media (min-width: 1024px) {
            display: none;
          }
        }

        button {
          letter-spacing: 0;
          width: 100%;
        }
      }
    }

    .wt-product__info .installment,
    .wt-product__variant-description {
      font-size: var(--font-base-size);
      font-family: var(--font-body);

      h1,
      h2,
      h3,
      h4,
      h5,
      h6 {
        font-family: var(--font-heading);
      }

      h5,
      h6 {
        font-size: var(--font-size-para-medium);
      }
    }

    .wt-product__subscriptions {
      border: 1px solid var(--color-brand-olive-black);
      border-radius: var(--border-radius);
      margin-top: 0;
      margin-bottom: var(--space-40);

      &:has(> div + div[hidden]) {
        display: none;
      }

      label,
      span {
        font-size: var(--font-size-para-small);
        text-transform: capitalize;
        color: var(--color-brand-olive-black);

        input[type="radio"] {
          appearance: none;
          width: 1.6rem;
          height: 1.6rem;
          margin-left: 0;
          margin-right: var(--space-8);
          border: 1px solid var(--color-brand-olive-black);
          border-radius: 50%;
          background: transparent;
          cursor: pointer;

          &:checked {
            border-color: var(--color-brand-orange);
            background: var(--color-brand-orange);
            box-shadow: inset 0 0 0 2px var(--color-brand-white);
          }
        }
      }

      .shopify_subscriptions_app_block_purchase_options {
        border: 0 !important;
        background-color: transparent !important;

        .shopify_subscriptions_app_block_label {
          border-color: var(--color-brand-olive-black) !important;
          padding: 0;
        }
      }

      .shopify_subscriptions_app_policy {
        display: none;
      }

      .shopify_subscriptions_app_block_label {
        display: flex;
        flex-direction: column;

        > label {
          display: grid;
          grid-template-columns: auto 1fr auto auto auto;
          gap: 0;
          padding: 16px;
          line-height: 1;
          transition: color 0.3s ease;
          font-weight: 500;

          &:has(> input:checked) {
            color: var(--color-brand-orange);

            &::after {
              color: var(--color-brand-orange) !important; /* !! */
            }
          }

          &:not(&:has(+ .shopify_subscriptions_app_block_label_children)) {
            &::after {
              margin-right: 0;
              font-weight: 300;
            }
          }

          &:has(+ .shopify_subscriptions_app_block_label_children) {
            order: 1;

            &:has(> input:checked) {
              + .shopify_subscriptions_app_block_label_children {
                display: block;
              }
            }
          }
        }
      }

      .shopify_subscriptions_app_block_label:has(
          .shopify_subscriptions_app_block_label_children
        )::before {
        content: var(--subscription-banner-text, "");
        display: block;
        width: 100%;
        font-size: var(--font-size-para-small);
        background-color: var(--color-brand-orange);
        color: var(--color-brand-white);
        text-align: center;
        font-size: 10px;
        line-height: 1;
        font-weight: 500;
        letter-spacing: 0.8px;
        text-transform: uppercase;
        padding: 8px;
        order: 2;
      }

      .shopify_subscriptions_app_block_label > label[data-variant-price]::after {
        content: attr(data-variant-price);
        font-weight: 500;
        margin-left: auto;
        margin-right: var(--space-16);
        color: var(--color-brand-olive-black);
      }

      .shopify_subscriptions_app_block_label > label[data-has-discount]::before {
        content: attr(data-variant-compare-price);
        text-decoration: line-through;
        order: 3;
        color: var(--color-brand-olive-black);
        opacity: 0.5;
        font-weight: 300;
      }

      .shopify_subscriptions_app_block_label > label[data-has-discount]::after {
        margin-left: 0;
        order: 2;
      }

      .shopify_subscriptions_app_block_label_children {
        display: none;
        padding: 0;
        order: 3;
        margin-left: 32px;

        ul {
          padding: 0;
          margin: 0;
          li {
            list-style: none;

            @media (min-width: 1024px) {
              margin: 5px 0;
            }

            label {
              display: flex;
              align-items: center;
            }

            input {
              margin-right: 8px;
            }
          }
        }
      }

      .wt-product__subscriptions-icons {
        padding: 16px 8px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);

        @media (min-width: 1024px) {
          padding: 16px;
        }

        &[hidden] {
          display: none;
        }

        .wt-product__subscriptions-icon {
          position: relative;
          display: flex;
          flex-direction: column;
          justify-content: flex-start;
          align-items: center;

          &:not(:last-child) {
            &::after {
              content: "";
              position: absolute;
              top: 50%;
              right: 0;
              transform: translateY(-50%);
              width: 1px;
              height: 53px;
              background-color: var(--color-brand-cream);
            }
          }

          .wt-product__subscriptions-icon-label {
            text-align: center;
            font-weight: 300;
            font-size: var(--font-size-para-xsmall);
            line-height: 1.2;
            text-transform: unset;
            padding: var(--space-8) var(--space-12);
          }
        }
      }
    }

    .wt-product__options {
      variant-options {
        gap: 40px;
      }

      .wt-product__option__title {
        font-size: var(--font-base-size);
        margin-bottom: var(--space-16);
        line-height: 1;

        .label {
          font-weight: 500;
        }

        .value {
          font-weight: 500;
        }
      }

      .f-thumb__list {
        .f-thumb__list__link {
          &.f-thumb__list__link {
            &::before {
              border: none;
            }

            img {
              background-color: var(--color-brand-cream);
            }
          }

          &.f-thumb__list__link--current {
            position: relative;

            &::before {
              content: "";
              inset: 0;
              position: absolute;
              border: 1px solid var(--color-brand-orange);
              display: block;
              transition: border-color 0.3s;
              border-radius: max(5px, var(--border-radius));
            }
          }
        }
      }

      .f-button__list__item {
        input:checked + label {
          border-color: var(--color-brand-orange);
          background-color: var(--color-brand-white);

          span {
            color: var(--color-brand-orange);
          }
        }

        input.disabled + label {
          border-color: var(--color-neutral-tertiary-grey);

          span {
            opacity: 0.5;
            color: var(--color-brand-olive-black);
          }
        }

        .f-button__list__link {
          border: 1px solid var(--color-brand-olive-black);
          display: inline-flex;
          margin-right: 0;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          border-radius: var(--border-radius);
          padding: 8px 21px;
          height: unset;
          background-color: var(--color-neutral-light-cream);
          transition:
            border 0.3s ease-in,
            background 0.3s ease-in;

          &:hover {
            background-color: var(--color-brand-white);
          }

          span {
            display: inline-block;
            color: var(--color-brand-olive-black);
            font-size: var(--font-button-size);
            letter-spacing: 0;
            font-weight: 300;

            &.option-unit-price {
              margin-top: 3px;
              font-size: var(--font-size-para-xsmall);
              color: var(--color-brand-olive-black);
            }
          }

          &::before {
            content: none;
          }
        }
      }
    }

    .wt-product__add-to-cart_form--wrapper {
      @media (max-width: 1023px) {
        flex-wrap: nowrap;
      }

      align-items: center;

      &:has(> button[disabled]) {
        quantity-counter {
          cursor: not-allowed;

          border-color: var(--color-neutral-light-cream);

          svg {
            stroke: var(--color-neutral-secondary-grey);
          }

          .js-counter-quantity {
            color: var(--color-neutral-secondary-grey);
          }

          button,
          input {
            pointer-events: none;
            font-family: var(--font-body);
            font-size: var(--font-size-para-small);
            line-height: var(--line-height-para);
            font-weight: var(--font-body-weight-medium);
          }
        }
      }

      #klaviyo-bis-button-container {
        margin-bottom: 0 !important;
        flex-grow: 2;

        > div {
          width: 100%;
          display: flex;
        }

        button {
          width: 100%;
          height: 42px;
          transition: all 0.3s ease;

          &:hover {
            color: #fff;
            background-color: var(--color-brand-orange);
            border-color: var(--color-brand-orange);
          }
        }
      }

      a.klaviyo-bis-trigger {
        display: none;
      }

      #klaviyo-bis-button-container + .klaviyo-bis-trigger {
        display: none;

        &:has(+ button[disabled]) {
          display: block;
          flex-grow: 1;

          + button[disabled] {
            display: none;
          }
        }
      }
    }

    .counter-wrapper {
      height: 44px;
      border-color: var(--color-brand-cream);
      background-color: transparent;

      button {
        width: auto;
        height: 100%;
        border: 0;
        margin: 0 !important;
        aspect-ratio: 1/1;

        &:hover {
          background-color: var(--color-brand-white);
          color: var(--color-brand-olive-black);

          &.js-counter-decrease {
            border-top-right-radius: 0px;
            border-bottom-right-radius: 0px;
          }

          &.js-counter-increase {
            border-top-left-radius: 0px;
            border-bottom-left-radius: 0px;
          }
        }

        svg {
          width: 15px;
          height: auto;
          stroke: var(--color-brand-olive-black);
        }
      }
    }

    .wt-product__add-to-cart_form {
      margin-top: 0;

      .wt-product__add-to-cart {
        margin: 0;
      }

      .product-form__submit {
        margin-bottom: 0;

        &[disabled] {
          background-color: var(--color-brand-cream);
          border-color: var(--color-brand-cream);
          opacity: 1;

          span {
            color: var(--color-neutral-primary-grey);
          }
        }

        span {
          letter-spacing: 0;
          font-size: var(--font-size-para-small);

          &.product-form__submit-separator {
            padding: 0 4px;
          }
        }
      }
    }
  }

  .wt-product__promo {
    font-family: var(--font-body);
    font-size: var(--font-size-para-xsmall);
    line-height: var(--line-height-para-xsmall);
    font-weight: var(--font-body-weight-medium);
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    gap: 8px;

    @media (min-width: 1024px) {
      justify-content: space-between;
      flex-wrap: wrap;
      flex-direction: row;
    }

    p {
      margin-bottom: 0;
    }

    a {
      transition: color 0.3s ease-in;

      &:hover {
        color: var(--color-brand-orange);
      }
    }
  }
}

.klaviyo-form.klaviyo-form.klaviyo-form {
  @media (max-width: 1023px) {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  h5 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h5);
    line-height: var(--line-height-heading);
    font-weight: var(--font-heading-weight);
  }

  span {
    display: inline-block;
    line-height: 1.1;
  }

  div {
    &:has(> #rich-text-01KFHW3TQJWZFXNZ2FNGQ1H6F2) {
      border-bottom: 1px solid var(--color-neutral-secondary-grey);
      margin-bottom: 32px;
    }

    &:has(> button) {
      padding: 0 !important;
    }
  }

  input {
    &[type="email"] {
      margin-bottom: 32px;
      border-top: 0 !important;
      border-left: 0 !important;
      border-right: 0 !important;
      border-color: var(--color-neutral-secondary-grey) !important;
      padding: 0 !important;
    }

    &[type="checkbox"] {
      &:checked + label p {
        font-family: var(--font-body);
        font-size: var(--font-size-para-xsmall);
        line-height: var(--line-height-para-xsmall);
        font-weight: var(--font-body-weight-book);
      }

      & + label > svg rect {
        rx: 0;
      }

      &:checked + label > svg {
        stroke: var(--color-brand-orange) !important;

        rect {
          fill: var(--color-brand-orange);
        }

        + svg {
          width: 14px;
          height: auto;
          left: 3px;
          top: 11px;

          polygon {
            fill: var(--color-brand-white);
          }
        }
      }
    }
  }

  button[type="button"] {
    margin-top: 32px;
  }
}

/* Dynamic checkout */

.shopify-payment-button__button {
  border-radius: 0;
  min-height: 4.6rem;
  overflow: hidden;
}

.shopify-payment-button__button--unbranded {
  background-color: rgba(var(--color-button), var(--alpha-button-background));
  box-shadow: 0 0 0 0.1rem rgba(var(--color-button), var(--alpha-button-border));
  font-size: 1.6rem;
  line-height: 1.2;
  letter-spacing: 0.07rem;
}

.shopify-payment-button__button--unbranded:hover,
.shopify-payment-button__button--unbranded:hover:not([disabled]) {
  background-color: rgba(var(--color-button), var(--alpha-button-background));
  box-shadow: 0 0 0 0.2rem rgba(var(--color-button), var(--alpha-button-border));
}

.shopify-payment-button__button--unbranded:focus {
  outline: 0.3rem solid rgb(var(--color-foreground));
  outline-offset: 0.3rem;
}

.shopify-payment-button__button--unbranded:focus-visible {
  outline: 0.3rem solid rgb(var(--color-foreground));
  outline-offset: 0.3rem;
}

.shopify-payment-button__button--unbranded:focus:not(:focus-visible) {
  outline: 0;
}

.shopify-payment-button__more-options {
  margin: 1.6rem 0 1rem;
  font-size: 1.2rem;
  line-height: 1.5;
  letter-spacing: 0.05rem;
  text-decoration: underline;
  text-underline-offset: 0.3rem;
}

/* Product form */

.product-form {
  display: block;
}

/* Form Elements */
.product-form__input {
  flex: 0 0 100%;
  padding: 0;
  margin: 0 0 1.2rem 0;
  max-width: 37rem;
  min-width: fit-content;
  border: none;
}

variant-radios,
variant-selects {
  display: block;
}

.product-form__input--dropdown {
  margin-bottom: 1.6rem;
}

.product-form__input .form__label {
  padding-left: 0;
}

fieldset.product-form__input .form__label {
  margin-bottom: 0.2rem;
}

.product-form__input input[type="radio"] {
  clip: rect(0, 0, 0, 0);
  overflow: hidden;
  position: absolute;
  height: 1px;
  width: 1px;
}

.product-form__input input[type="radio"] + label {
  border: 0.1rem solid rgba(var(--color-foreground), 0.55);
  border-radius: 4rem;
  background-color: rgb(var(--color-background));
  color: rgb(var(--color-foreground));
  display: inline-block;
  margin: 0rem 0.5rem 0rem 0;
  padding: 1rem 2rem;
  font-size: 1.6rem;
  letter-spacing: 0.1rem;
  line-height: 1;
  text-align: center;
  transition: border var(--duration-short) ease;
  cursor: pointer;
}

.product-form__input input[type="radio"] + label:hover {
  border: 0.1rem solid rgb(var(--color-foreground));
}

.product-form__input input[type="radio"]:checked + label {
  background-color: rgb(var(--color-foreground));
  color: rgb(var(--color-background));
}

.product-form__input input[type="radio"]:disabled + label {
  border-color: rgba(var(--color-foreground), 0.1);
  color: rgba(var(--color-foreground), 0.4);
  text-decoration: line-through;
}
.product-form__input input[type="radio"]:focus-visible + label {
  box-shadow:
    0 0 0 0.3rem rgb(var(--color-background)),
    0 0 0 0.5rem rgba(var(--color-foreground), 0.55);
}

/* Fallback */
.product-form__input input[type="radio"]:focus + label {
  box-shadow:
    0 0 0 0.3rem rgb(var(--color-background)),
    0 0 0 0.5rem rgba(var(--color-foreground), 0.55);
}

/* No outline when focus-visible is available in the browser */
.product-form__input input[type="radio"]:focus:not(:focus-visible) + label {
  box-shadow: none;
}

.product-form__input .select {
  max-width: 25rem;
}

.product-form__submit {
  margin-bottom: 1rem;
}

.product-form__submit[disabled] + .shopify-payment-button {
  display: none;
}

/* Overrides */
.shopify-payment-button__more-options {
  color: rgb(var(--color-foreground));
}

.shopify-payment-button__button {
  font-size: 1.5rem;
  letter-spacing: 0.1rem;
}

/* Product info */

.product__info-container > * + * {
  margin: 1.5rem 0;
}

.product__info-container .product-form,
.product__info-container .product__description,
.product__info-container .share-button {
  margin: 2.5rem 0;
}

.product__text {
  margin-bottom: 0;
}

a.product__text {
  display: block;
  text-decoration: none;
  color: rgba(var(--color-foreground), 0.75);
}

.product__text.caption-with-letter-spacing {
  text-transform: uppercase;
}

.product__title {
  word-break: break-word;
  margin-bottom: 1.5rem;
}

.product__title + .product__text.caption-with-letter-spacing {
  margin-top: -1.5rem;
}

.product__text.caption-with-letter-spacing + .product__title {
  margin-top: 0;
}

.product__accordion .accordion__content {
  padding: 0 1rem;
}

.product .price {
  align-items: flex-start;
}

.product .price--sold-out .price__badge-sold-out {
  background: transparent;
  color: rgb(var(--color-background));
  padding: 1rem 1.6rem 0 0.6rem;
  border: none;
}

.product .price--sold-out .price__badge-sale {
  display: none;
}

@media screen and (min-width: 750px) {
  .product__info-container > *:first-child {
    margin-top: 0;
  }
}

.product__description-title {
  font-weight: 600;
}

.product--no-media .product__title,
.product--no-media .product__text {
  text-align: center;
}

.product--no-media fieldset.product-form__input,
.product--no-media .product-form__quantity,
.product--no-media .product-form__input--dropdown,
.product--no-media .share-button {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.product--no-media .product-form__quantity,
.product--no-media .product-form__input--dropdown {
  flex-direction: column;
  max-width: 100%;
}

.product--no-media fieldset.product-form__input {
  flex-wrap: wrap;
  margin: 0 auto 1.2rem auto;
}

.product--no-media .product__info-container > modal-opener {
  display: block;
  text-align: center;
}

.product--no-media .product-popup-modal__button {
  padding-right: 0;
}

.product--no-media .price {
  justify-content: center;
}

.product--no-media .product__info-wrapper {
  padding-left: 0;
}

/* Product media */

@media screen and (max-width: 749px) {
  .product__media-list {
    margin-left: -2.5rem;
    padding-bottom: 2rem;
    margin-bottom: 3rem;
    width: calc(100% + 4rem);
  }

  .product__media-wrapper slider-component {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
  }

  .slider.product__media-list {
    padding-bottom: 0;
  }

  .slider.product__media-list::-webkit-scrollbar {
    height: 0.2rem;
    width: 0.2rem;
  }

  .product__media-list::-webkit-scrollbar-thumb {
    background-color: rgb(var(--color-foreground));
  }

  .product__media-list::-webkit-scrollbar-track {
    background-color: rgba(var(--color-foreground), 0.2);
  }

  .product__media-list .product__media-item {
    width: calc(100% - 3rem);
  }

  .product__media-list .product__media-item:first-of-type {
    padding-left: 1.5rem;
  }
}

@media screen and (min-width: 750px) {
  .product__media-item:first-child {
    width: 100%;
  }
}

@media screen and (min-width: 750px) and (max-width: 989px) {
  .product__media-list .product__media-item:first-child {
    padding-left: 0;
  }

  .product__media-list .product__media-item {
    padding: 0 0 0.5rem;
    width: 100%;
  }
}

.product__media-icon .icon {
  width: 1.2rem;
  height: 1.4rem;
}

.product__media-icon {
  background-color: rgb(var(--color-background));
  border-radius: 50%;
  border: 0.1rem solid rgba(var(--color-foreground), 0.1);
  color: rgb(var(--color-foreground));
  display: flex;
  align-items: center;
  justify-content: center;
  height: 3rem;
  width: 3rem;
  position: absolute;
  left: 1.5rem;
  top: 1.5rem;
  z-index: 1;
  transition:
    color var(--duration-short) ease,
    opacity var(--duration-short) ease;
}

.product__media-video .product__media-icon {
  opacity: 1;
}

.product__modal-opener--image .product__media-toggle:hover {
  cursor: zoom-in;
}

.product__modal-opener:hover .product__media-icon {
  border: 0.1rem solid rgba(var(--color-foreground), 0.1);
}

@media screen and (min-width: 750px) {
  .grid__item.product__media-item--full {
    width: 100%;
  }
}

@media screen and (min-width: 990px) {
  .product__media-icon {
    opacity: 0;
  }

  .product__modal-opener:hover .product__media-icon,
  .product__modal-opener:focus .product__media-icon {
    opacity: 1;
  }
}

.product__media-item > * {
  display: block;
  position: relative;
}

.product__media-toggle {
  background-color: transparent;
  border: none;
  cursor: pointer;
  display: block;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  height: 100%;
  width: 100%;
}

.product-media-modal {
  background-color: rgb(var(--color-background));
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  visibility: hidden;
  opacity: 0;
  z-index: -1;
}

.product-media-modal[open] {
  visibility: visible;
  opacity: 1;
  z-index: 101;
}

.product-media-modal__dialog {
  display: flex;
  align-items: center;
  height: 100vh;
}

.product-media-modal__content {
  max-height: 100vh;
  width: 100%;
  overflow: auto;
}

.product-media-modal__content > *:not(.active),
.product__media-list .deferred-media {
  display: none;
}

@media screen and (min-width: 750px) {
  .product-media-modal__content {
    padding-bottom: 2rem;
  }

  .product-media-modal__content > *:not(.active) {
    display: block;
  }

  .product-media-modal__content > *:first-child {
    padding-top: 2rem;
  }

  .product__modal-opener:not(.product__modal-opener--image) {
    display: none;
  }

  .product__media-list .deferred-media {
    display: block;
  }
}

.product-media-modal__content > * {
  display: block;
  height: auto;
  margin: auto;
}

.product-media-modal__content .media {
  background: none;
}

.product-media-modal__model {
  width: 100%;
}

.product-media-modal__toggle {
  background-color: rgb(var(--color-background));
  border: 0.1rem solid rgba(var(--color-foreground), 0.1);
  border-radius: 50%;
  color: rgba(var(--color-foreground), 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  right: 2rem;
  padding: 1.2rem;
  position: fixed;
  z-index: 2;
  top: 2rem;
  width: 4rem;
}

.product-media-modal__content .deferred-media {
  width: 100%;
}

@media screen and (min-width: 750px) {
  .product-media-modal__content > * {
    max-width: 96%;
    width: 100%;
  }

  .product-media-modal__content > * + * {
    margin-top: 2rem;
  }

  .product-media-modal__toggle {
    right: 4.8rem;
    top: 3.5rem;
  }
}

@media screen and (min-width: 990px) {
  .product-media-modal__content > * {
    max-width: 98%;
  }

  .product-media-modal__content > * + * {
    margin-top: 1.5rem;
  }

  .product-media-modal__content {
    padding-bottom: 1.5rem;
  }

  .product-media-modal__content > *:first-child {
    padding-top: 1.5rem;
  }

  .product-media-modal__toggle {
    right: 4.3rem;
    top: 3rem;
  }
}

.product-media-modal__toggle:hover {
  color: rgba(var(--color-foreground), 0.75);
}

.product-media-modal__toggle .icon {
  height: auto;
  margin: 0;
  width: 2.2rem;
}

/* Product share */

.share-button {
  display: block;
  position: relative;
}

.share-button__button .icon-share {
  margin-right: 1rem;
}

.share-button__fallback {
  border: 0.1rem solid rgba(var(--color-foreground), 0.1);
  background: rgb(var(--color-background));
  padding: 2rem;
  position: absolute;
  top: 4rem;
  left: -0.1rem;
  z-index: 3;
  width: 100%;
}

.share-button__fallback {
  display: flex;
  flex-direction: column;
}

.share-button__fallback .button {
  margin-top: 1rem;
}

.share-button__fallback .icon-clipboard {
  height: 1.4rem;
  width: 1.8rem;
}

.share-button__message:not(:empty) {
  font-size: 1.2rem;
  text-align: right;
  display: block;
  margin-top: 0.5rem;
}

/* Product popup */

.product-popup-modal {
  box-sizing: border-box;
  opacity: 0;
  position: fixed;
  visibility: hidden;
  z-index: -1;
  margin: 0 auto;
  top: 0;
  left: 0;
  overflow: auto;
  width: 100%;
  background: rgba(var(--color-foreground), 0.2);
  height: 100%;
}

.product-popup-modal[open] {
  opacity: 1;
  visibility: visible;
  z-index: 101;
}

.product-popup-modal__content {
  background-color: rgb(var(--color-background));
  overflow: auto;
  height: 80%;
  margin: 0 auto;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 5rem;
  width: 92%;
  position: absolute;
  top: 0;
  padding: 0 1.5rem 0 3rem;
}

@media screen and (min-width: 750px) {
  .product-popup-modal__content {
    padding-right: 1.5rem;
    margin-top: 10rem;
    width: 70%;
    padding: 0 3rem;
  }
}

.product-popup-modal__content img {
  max-width: 100%;
}

@media screen and (max-width: 749px) {
  .product-popup-modal__content table {
    display: block;
    max-width: fit-content;
    overflow-x: auto;
    white-space: nowrap;
    margin: 0;
  }
}

.product-popup-modal__opener {
  display: block;
}

.product-popup-modal__button {
  font-size: 1.6rem;
  padding-right: 1.3rem;
  padding-left: 0;
  height: 4.4rem;
  text-underline-offset: 0.3rem;
  text-decoration-thickness: 0.1rem;
  transition: text-decoration-thickness var(--duration-short) ease;
}

.product-popup-modal__button:hover {
  text-decoration-thickness: 0.2rem;
}

.product-popup-modal__content-info {
  padding-right: 4.4rem;
}

.product-popup-modal__content-info > * {
  height: auto;
  margin: 0 auto;
  max-width: 100%;
  width: 100%;
}

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

.product-popup-modal__toggle {
  background-color: rgb(var(--color-background));
  border: 0.1rem solid rgba(var(--color-foreground), 0.1);
  border-radius: 50%;
  color: rgba(var(--color-foreground), 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: sticky;
  padding: 1.2rem;
  z-index: 2;
  top: 1.5rem;
  width: 4rem;
  margin: 0 0 0 auto;
}

.product-popup-modal__toggle:hover {
  color: rgba(var(--color-foreground), 0.75);
}

.product-popup-modal__toggle .icon {
  height: auto;
  margin: 0;
  width: 2.2rem;
}

.wt-apps {
  &:has(.wt-apps__wrapper > .shopify-app-block div[data-oke-carousel]) {
    background-color: var(--color-brand-cream);

    .wt-apps__wrapper {
      @media (max-width: 1023px) {
        padding-left: 0;
        padding-right: 0;
      }
      padding-top: 0;
      padding-bottom: 0;

      .oke-reviewCarousel-slider {
        @media (max-width: 1023px) {
          padding-left: 16px;
          padding-right: 16px;
        }
      }
    }
  }
}

[data-oke-carousel] {
  .oke-reviewCarousel {
    --oke-avatar-size: 120px;
    margin: 0 auto !important;
    padding: 56px 0;

    @media (min-width: 1024px) {
      padding: 80px 0;
    }

    .oke-reviewCarousel-reviews-review--testimonial {
      padding-top: 0 !important;
    }

    .oke-reviewCarousel-reviews {
      @media (max-width: 767px) {
        width: calc(100% - 32px);
      }
    }

    .oke-reviewCarousel-header {
      display: flex;
      flex-direction: column-reverse;

      .okeReviews {
        margin-bottom: 10px;

        @media (min-width: 1024px) {
          margin-bottom: 18px;
        }

        .oke-minimalBadge-count {
          display: none;
        }
      }

      h2 {
        font-family: var(--font-heading);
        font-size: var(--font-size-h4);
        line-height: var(--line-height-heading);
        font-weight: var(--font-heading-weight);
        color: var(--color-neutral-text-black);
      }
    }

    .oke-w-reviewer {
      .oke-w-reviewer-avatar {
        transform: translateX(-50%) !important;
        top: 32px !important;

        @media (min-width: 1024px) {
          top: 40px !important;
        }
      }
    }

    .oke-testimonialCard {
      padding: 0 16px 32px;
      background-color: var(--color-brand-beige);
      border: 0;
      border-radius: var(--border-radius);

      @media (min-width: 1024px) {
        padding: 0 32px 40px;
        border: 0;
      }
    }

    .oke-testimonialCard.oke-testimonialCard--above {
      .oke-testimonialCard-head {
        order: 9999;
        margin-top: 0;
        border-bottom: 0;
        margin-bottom: 0;
        padding-bottom: 0;
        height: auto;
      }
    }

    .oke-testimonialCard-content {
      border-bottom: 1px solid var(--color-brand-cream);
      margin-bottom: 32px;
      flex: 1;
      margin-top: calc(var(--oke-avatar-size) + 32px + 23px);

      @media (min-width: 1024px) {
        margin-top: calc(var(--oke-avatar-size) + 40px + 25px);
        margin-bottom: 16px;
      }

      .oke-reviewContent-title {
        @media (max-width: 1023px) {
          font-size: var(--font-size-h4);
        }
        font-family: var(--font-heading);
        font-size: var(--font-size-h6);
        line-height: var(--line-height-heading);
        font-weight: var(--font-heading-weight);
      }

      .oke-reviewContent-body {
        font-family: var(--font-body);
        font-size: var(--font-size-para-medium);
        line-height: var(--line-height-para);
        font-weight: var(--font-body-weight-medium);

        @media (min-width: 1024px) {
          margin-top: 20px;
        }

        p {
          line-height: inherit;
        }
      }

      .oke-reviewContent-readMore {
        letter-spacing: 0;
        line-height: 1;
        margin-top: 16px;
        color: var(--color-brand-orange);
        text-underline-offset: 6px;

        @media (min-width: 1024px) {
          margin-top: 8px;
        }
        span {
          color: inherit;
        }
      }
    }

    .oke-w-review-helpful {
      /* Wasn't included in design */
      display: none;
    }

    .oke-testimonialCard-reviewer {
      width: 100%;
      text-align: center;

      .oke-w-reviewer {
        justify-content: center;
      }

      .oke-w-reviewer-avatar + div {
        display: flex;
        flex-direction: column;
        gap: 2px;

        .oke-w-reviewer-name,
        .oke-w-reviewer-verified {
          font-weight: 500;
        }

        .oke-w-reviewer-name {
          color: var(--color-brand-orange);
        }

        .oke-w-reviewer-verified {
          margin-left: 0;
        }
      }
    }

    .oke-testimonialCard-container,
    .oke-w-review-footer {
      display: none !important;
    }
  }
}

/* Bundle Product Cards */
.wt-product__bundles {
  margin-top: var(--section-gap-top, var(--space-24));
  margin-bottom: var(--section-gap-bottom, 0px);
}

.wt-product__bundles__title {
  font-family: var(--font-heading);
  margin-bottom: var(--space-16);
  color: var(--color-brand-blue);
  font-size: var(--font-size-h5);
  line-height: 1.1;

  @media (min-width: 1024px) {
    font-size: var(--font-size-h7);
  }
}

.wt-product__bundles__list {
  display: flex;
  flex-direction: column;
  gap: var(--space-16);
}

.bundle-product-card {
  display: grid;
  align-items: start;
  background-color: var(--color-brand-cream);
  border-radius: var(--border-radius);
  padding: 20px 16px;
  grid-template-columns: 107px 1fr;
  gap: 0 12px;

  @media (min-width: 1024px) {
    grid-template-columns: 185px 1fr;
    gap: 0 var(--space-16);
  }
}

.bundle-product-card__image {
  grid-column: 1;
  grid-row: 1;
  display: flex;
  flex-direction: column;
}

.bundle-product-card__image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
  background-color: var(--color-neutral-light-cream);
}

.bundle-product-card__info {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  height: 100%;
}

.bundle-product-card__vendor {
  font-size: var(--font-size-para-xsmall);
  color: var(--color-neutral-primary-grey);
  line-height: 1;
}

.bundle-product-card__title {
  font-family: var(--font-heading);
  line-height: var(--line-height-heading);
  font-weight: var(--font-heading-weight);
  font-size: var(--font-size-h6);

  @media (min-width: 1024px) {
    font-size: var(--font-size-h7);
  }
}

.bundle-product-card__price {
  .price {
    display: flex;
  }

  .price__sale {
    flex-direction: row;

    &.visible {
      .price-item--sale {
        font-weight: 500;
        margin-right: 0;
      }

      .price-item--lower {
        opacity: 0.5;
        margin-right: 0;
        margin-left: var(--space-16);
      }

      .price-item--percent {
        display: none;
      }
    }
  }

  span,
  s {
    font-size: var(--font-size-para-small);
    font-weight: var(--font-body-weight-medium);
    line-height: 1;
  }
}

.bundle-product-card .wt-product__options {
  margin: 2px 0;
  flex: 1;

  .f-button__list {
    gap: 4px;

    .f-button__list__item {
      input:checked + label {
        span {
          opacity: 1;

          &:last-child:not(:first-child) {
            color: var(--color-brand-olive-black);
          }
        }
      }

      label.f-button__list__link {
        padding: 9px 6px;

        span {
          opacity: 0.5;
        }
      }
    }
  }
}

.bundle-product-card__toggle {
  display: inline-flex;
  padding: 0;
  font-size: var(--font-size-para-small);
  background: none;
  border: none;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 6px;
  color: var(--color-brand-olive-black);
  padding-bottom: 2px;

  &:hover,
  &[aria-expanded="true"] {
    background-color: transparent;
    color: var(--color-brand-orange);
  }
}

.bundle-product-card__toggle[aria-expanded="true"] .bundle-product-card__toggle-icon {
  transform: rotate(180deg);
}

.bundle-product-card__description {
  grid-column: 1 / -1;
  /* Animate height from 0 to auto using grid */
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;

  h1,
  h2,
  h3,
  h4,
  h5,
  h6,
  h7 {
    font-family: var(--font-heading);
  }

  h5,
  h6 {
    font-size: var(--font-size-para-medium);
    margin-block: 0;
  }
}

.bundle-product-card__description[aria-hidden="false"] {
  grid-template-rows: 1fr;
}

.bundle-product-card__description-inner {
  overflow: hidden;
  font-size: var(--font-size-para-small);
  color: var(--color-brand-olive-black);
  padding-top: 0;
  transition: padding-top 0.3s ease;
}

.bundle-product-card__description[aria-hidden="false"] .bundle-product-card__description-inner {
  padding-top: 8px;
}

/* Product Information Tab */
.wt-product-info__list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.wt-product-info__list li {
  display: flex;
  gap: 0.5em;
}

.wt-product-info__label {
  font-weight: 700;
}
