.Cart__Taxes {
  font-size: 12px;
}

/* Product Slider Redesign */
.section-product-recommendations {
  margin-left: 25px;
  margin-right: 25px;
  .ss__theme.ss__recommendation--carousel {
    padding-left: 16px !important;
    padding-right: 0 !important;
    margin: 48px 0 !important;

    .ss__recommendation__header {
      gap: 10px;
      justify-content: space-between;
      align-items: flex-end;
      padding-right: 16px;
      margin-bottom: 32px;

      .ss__title--recommendation {
        font-weight: 500;
        font-size: 22px;
        line-height: 1.3;
        letter-spacing: -0.05px;
        text-transform: none;
        text-align: left;
      }

      .ss__carousel__navigation {
        display: flex !important;

        .ss__carousel__prev-wrapper,
        .ss__carousel__next-wrapper {
          width: 32px;
          height: 32px;
          background-color: #f9f9f9;
        }

        .ss__carousel__next-wrapper {
          margin-left: 10px;
        }

        .ss__icon__wrapper {
          position: relative;
          width: 10px;
          height: 10px;

          &::before {
            content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDEyIDEyIiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTEuMTk5NzEgNS45OTk5NUgxMC43OTk3TTEwLjc5OTcgNS45OTk5NUw1Ljk5OTcxIDEuMTk5OTVNMTAuNzk5NyA1Ljk5OTk1TDUuOTk5NzEgMTAuOCIgc3Ryb2tlPSIjMUExOTE5IiBzdHJva2Utd2lkdGg9IjEuMzMyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+');
            display: block;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
          }

          svg {
            display: none;
          }
        }

        .ss__carousel__prev-wrapper .ss__icon__wrapper {
          transform: scaleX(-1);
        }
      }
    }
  }
}

/* Product Card Redesign */
.ss__theme .ss__results .ss__result .ProductItem .ProductItem__ImageWrapper {
  &:hover,
  &:focus {
    .ProductItem__Badge {
      background-color: #1a1919;
      color: #fff;
    }
  }
}

.ProductItem {
  .ProductItem__ImageWrapper {
    margin-bottom: 18px;
  }

  .ProductItem__Title,
  .ProductItem__PriceList {
    font-size: 14px;
    line-height: 1.5;
    letter-spacing: -0.16px;
    font-weight: 500;
    margin-bottom: 6px;
  }

  .ProductItem__PriceList {
    color: #666465;
    font-weight: 400;
  }

  .ProductItem__InfoProductItem__Info--left,
  .ProductItem__Info.ProductItem__Info--left {
    text-align: left;
  }

  .color-options {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2px;

    .color-swatch {
      display: flex;
      align-items: center;
      justify-content: center;
      width: 28px;
      height: 28px;
      flex-shrink: 0;
      border-radius: 50%;

      &.color-swatch--selected {
        border: 1px solid #1a1919;
      }

      &.color-swatch--unavailable.sold-out {
        display: flex;
        width: 28px;
        height: 28px;
        border-width: 1px;

        &::before {
          border-top-width: 1px;
        }
      }

      &.plus-more {
        font-size: 14px;
        line-height: 1.5;
        color: #666465;
        letter-spacing: -0.14px;
        width: auto;
        margin-left: 2px;
      }

      img {
        width: 24px;
        height: 24px;
        max-width: 24px !important;
        max-height: 24px !important;
        flex-shrink: 0;
        border: 0;
      }
    }
  }
}

/* Collection Title Redesign */
.CollectionMain {
  .ss__header.SectionHeader__Heading.Heading.u-h1.gbda_h1 {
    font-weight: 400;
    font-size: 26px !important;
    line-height: 1.3;
    letter-spacing: -0.05px;
    text-transform: none !important;
    text-align: left;
  }

  .ss__theme .ss__results .ss__result .ProductItem__ImageWrapper .ProductItem__Badge {
    z-index: 1;
  }

  .CollectionToolbar {
    .ss__theme.ss__header__container {
      padding-top: 20px;
    }
  }

  .ss__theme .ss__toolbar.ss__toolbar--mobile .ss__dropdown .ss__dropdown__button .ss__dropdown__button__label,
  .ss__theme .ss__slideout__default .ss__slideout__button .ss__slideout__button__label {
    font-size: 12px;
  }
}

@media screen and (min-width: 768px) {
  .CollectionMain  .CollectionToolbar { 
    min-height: 52px;
    max-height: 52px;
  }
}

@media screen and (min-width: 992px) {
  .section-product-recommendations {
    .ss__theme.ss__recommendation--carousel {
      padding-left: 0 !important;
      margin: 64px 0 !important;

      .ss__carousel.ss__carousel__recommendation {
        padding: 0 !important;

        .ss__carousel__next-wrapper,
        .ss__carousel__prev-wrapper {
          display: none !important;
        }
      }

      .ss__recommendation__header {
        align-items: center;
        padding-left: 32px;
        padding-right: 32px;

        .ss__title--recommendation {
          font-size: 30px !important;
          letter-spacing: -1.2px;
        }

        .ss__carousel__navigation {
          .ss__carousel__prev-wrapper,
          .ss__carousel__next-wrapper {
            width: 40px;
            height: 40px;
          }
        }
      }
    }
  }

  .ProductItem {
    .ProductItem__Title,
    .ProductItem__PriceList {
      font-size: 15px;
      line-height: 1.3;
      letter-spacing: -0.01px;
    }

    .color-options .color-swatch.plus-more {
      font-size: 16px;
    }
  }

  .CollectionMain {
    .ss__header.SectionHeader__Heading.Heading.u-h1.gbda_h1 {
      font-size: 26px !important;
      letter-spacing: -1.2px;
    }

    .CollectionToolbar {
      .ss__theme.ss__header__container {
        padding-top: 10px;
      }
    }
  }
}

/* Collection List Redesign */

.CollectionList {
  gap: 2px;

  &:not(.CollectionList--spaced) {
    &.CollectionList--grid {
      margin: 0;
    }

    .CollectionItem {
      padding: 0;
    }
  }

  .CollectionItem__Content .SectionHeader {
    display: flex;
    flex-direction: column;

    & > * {
      margin: 0;
    }
  }
}

@media screen and (max-width: 640px) {
  .CollectionList {
    gap: 0;
  }
}

@media screen and (min-width: 641px) {
  .CollectionItem {
    min-width: calc(50% - 2px);
  }
}

@media screen and (min-width: 1140px) {
  .CollectionItem {
    min-width: calc(33.333% - 2px);
  }
}

/* Foursixty Redesign */

.fs-section {
  position: relative;
  padding: 48px 0 112px;

  .fs-title {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: -0.05px;
    margin-bottom: 48px;
    text-align: left;
    padding-left: 16px;
  }

  .fs-slider-container {
    position: static;
  }

  .fs-slider-next-button {
    top: auto;
    right: auto;
    left: calc(50% + 21px);
    bottom: 48px;
    width: 32px;
    min-width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    transform: translateX(-50%);

    &::before {
      content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDEyIDEyIiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTEuMTk5NzEgNS45OTk5NUgxMC43OTk3TTEwLjc5OTcgNS45OTk5NUw1Ljk5OTcxIDEuMTk5OTVNMTAuNzk5NyA1Ljk5OTk1TDUuOTk5NzEgMTAuOCIgc3Ryb2tlPSIjMUExOTE5IiBzdHJva2Utd2lkdGg9IjEuMzMyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+');
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
    }

    svg {
      display: none;
    }
  }

  .fs-slider-prev-button {
    top: auto;
    right: auto;
    left: calc(50% - 21px);
    bottom: 48px;
    width: 32px;
    min-width: 32px;
    height: 32px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background-color: #f9f9f9;
    transform: translateX(-50%);

    &.fs-hidden::before {
      content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDEyIDEyIiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTEuMTk5NzEgNS45OTk5NUgxMC43OTk3TTEwLjc5OTcgNS45OTk5NUw1Ljk5OTcxIDEuMTk5OTVNMTAuNzk5NyA1Ljk5OTk1TDUuOTk5NzEgMTAuOCIgc3Ryb2tlPSIjOTk5Nzk4IiBzdHJva2Utd2lkdGg9IjEuMzMyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+');
    }

    &::before {
      content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDEyIDEyIiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTEuMTk5NzEgNS45OTk5NUgxMC43OTk3TTEwLjc5OTcgNS45OTk5NUw1Ljk5OTcxIDEuMTk5OTVNMTAuNzk5NyA1Ljk5OTk1TDUuOTk5NzEgMTAuOCIgc3Ryb2tlPSIjMUExOTE5IiBzdHJva2Utd2lkdGg9IjEuMzMyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+');
      display: block;
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scaleX(-1);
    }

    svg {
      display: none;
    }
  }

  .fs-slider_v2_5 .fs-entry-container {
    width: 78.5% !important;
    padding-top: 98.5% !important;
  }
}

@media screen and (min-width: 640px) {
  .fs-section .fs-slider_v2_5 .fs-entry-container {
    width: 45% !important;
    padding-top: 60% !important;
  }
}

@media screen and (min-width: 768px) {
  .fs-section .fs-slider_v2_5 .fs-entry-container {
    width: 30% !important;
    padding-top: 40% !important;
  }
}

@media screen and (min-width: 992px) {
  .fs-section {
    padding: 64px 0;

    .fs-title {
      font-size: 30px;
      padding-left: 32px;
    }

    .fs-slider_v2_5 .fs-entry-container {
      width: 20% !important;
      padding-top: 25% !important;
    }

    .fs-slider-next-button {
      top: 60px;
      right: 32px;
      left: auto;
      bottom: auto;
      width: 40px;
      min-width: 40px;
      height: 40px;
    }

    .fs-slider-prev-button {
      top: 60px;
      right: 84px;
      left: auto;
      bottom: auto;
      width: 40px;
      min-width: 40px;
      height: 40px;
    }
  }
}

/* Yotpo Reviews */

#yotpo-reviews-carousel-widget {
  width: 100%;
  padding: 0 16px;
  position: relative;
  .yotpo-reviews-carousel-bottomline-seo {
    display: none;
  }

  .yotpo-reviews-carousel-header-container {
    justify-content: flex-start !important;
  }

  .yotpo-reviews-carousel-header {
    margin-top: 0;
    margin-bottom: 32px;
    max-width: 75%;
    font-size: 26px;
    line-height: 1.3;
  }

  .reviews-carousel-card-container {
    background-color: transparent;
    border: 1px solid #fff;
    backdrop-filter: blur(3px);
  }

  .reviews-carousel-card-star-rating-shop-badge-container {
    order: 1;
    justify-content: center;
  }

  .review-title {
    order: 2;
    font-weight: 500 !important;
    font-size: 20px;
    line-height: 1.3;
    text-align: center;
    margin-top: 16px;
  }

  .reviews-carousel-card-review-content-container {
    order: 3;
  }

  .review-content {
    font-size: 16px;
    line-height: 1.5;
  }

  .reviews-carousel-reviewer-info-container {
    order: 4;
  }

  .reviewer-status {
    display: none;
  }

  .glide--carousel {
    position: static;
  }

  .glide__arrows {
    position: absolute;
    top: 4px;
    right: 16px;
    display: flex !important;
    align-items: center;
    gap: 12px;

    .glide__arrow {
      display: flex;
      align-items: center;
      justify-content: center;
      position: static;
      width: 32px;
      height: 32px;
      border-radius: 0;
      background-color: #f9f9f9;
      transform: translateY(0);

      &::before {
        content: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxMCIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDEyIDEyIiBmaWxsPSJub25lIj4KPHBhdGggZD0iTTEuMTk5NzEgNS45OTk5NUgxMC43OTk3TTEwLjc5OTcgNS45OTk5NUw1Ljk5OTcxIDEuMTk5OTVNMTAuNzk5NyA1Ljk5OTk1TDUuOTk5NzEgMTAuOCIgc3Ryb2tlPSIjMUExOTE5IiBzdHJva2Utd2lkdGg9IjEuMzMyIiBzdHJva2UtbGluZWNhcD0icm91bmQiIHN0cm9rZS1saW5lam9pbj0icm91bmQiLz4KPC9zdmc+');
        display: block;
      }

      &.glide__arrow--left {
        transform: scaleX(-1);
      }

      svg {
        display: none;
      }
    }
  }
}

@media screen and (min-width: 992px) {
  #yotpo-reviews-carousel-widget {
    padding: 0 32px;

    .yotpo-reviews-carousel-header {
      font-size: 30px;
    }

    .glide__arrows {
      top: 8px;
      right: 32px;

      .glide__arrow {
        width: 40px;
        height: 40px;
      }
    }
  }
}

/* PDP Redesign */

.main-product-section {
  .Product {
    width: 100%;
    max-width: 100%;
    margin: 0;

    .Product__Info {
      margin: 0;
      width: 100%;
      max-width: 100%;

      .Container {
        padding: 0;
      }

      .ProductMeta__Title {
        font-size: 21px;
        font-weight: 500;
        margin-bottom: 10px;
      }

      .yotpo {
        position: static;
      }

      .yotpo .yotpo-icon-star,
      .yotpo .yotpo-icon-half-star {
        color: #f469db;
      }

      .yotpo .yotpo-bottomline a {
        display: none;
      }

      .ProductMeta__PriceList {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 20px;

        .Price {
          margin: 0;
          font-size: 20px;
          line-height: 1.3;
          font-weight: 500;
          letter-spacing: -0.6px;
          color: #1a1919;

          &.Price--compareAt {
            font-size: 18px;
            color: #807e7f;

            &::before {
              left: 0;
              width: 100%;
            }
          }

          &.Price--percentOff {
            margin: 0;
            padding: 4px 16px;
            font-size: 14px;
            color: #f469db;
            background-color: #fce3f7;
          }
        }
      }

      .color-label {
        font-size: 16px;
        line-height: 1.3;
        font-weight: 500;
        letter-spacing: -0.6px;
        color: #807e7f;
        margin-bottom: 12px;

        strong {
          color: #1a1919;
        }
      }

      .color-options {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 32px;

        .color-swatch {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 36px;
          height: 36px;
          border-radius: 50%;
          margin-right: 12px;
          margin: 0;
          border: 0;

          &.color-swatch--selected {
            border: 1px solid #000;
          }

          &.sold-out {
            width: 32px;
            height: 32px;
            border: 2px solid #c4c3c3;

            &::before {
              border-top-color: #c4c3c3;
            }
          }
        }

        img {
          width: 30px;
          height: 30px;
          flex-shrink: 0;
          border: 0;
        }
      }
    }

    .ProductMeta__Description {
      margin: 0;
      font-size: 15px;
      line-height: 1.5;
    }
  }

  .ProductForm__BuyButtons {
    .ProductForm__AddToCart {
      font-size: 16px;
      font-weight: 500;
      line-height: 1.5;
      letter-spacing: -0.16px;
    }
  }

  .Product__Wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }

  .Product__InfoWrapper {
    width: 100%;
    padding: 0 16px;
  }

  .ProductForm__Variants:not(.ProductForm__Variants--values-gift) {
    display: none;
  }

  .free-shipping-meta {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: -0.14px;
    margin-top: 16px;
    margin-bottom: 24px;
  }

  shopify-payment-terms {
    white-space: normal !important;
  }

  .gbda-shop-terms {
    margin-bottom: 32px;
  }

  more-payment-options-link {
    display: none !important;
  }

  sticky-atc {
    .ProductForm__BuyButtons {
      display: none;
      position: fixed;
      left: 0;
      bottom: 0;
      width: 100%;
      transform: translateY(100%);
      padding: 10px 16px;
      background-color: #fff;
      z-index: 10;
      transition: 0.25s ease-in-out;
    }

    &[data-active] {
      .ProductForm__BuyButtons {
        transform: translateY(0);
      }
    }
  }

  &:has(.ProductForm__Variants--values-gift) {
    .color-label,
    .ProductForm__AddToCart:not(.GiftWizard-gift-button),
    .shopify-payment-button,
    shopify-accelerated-checkout,
    .free-shipping-meta,
    .gbda-shop-terms {
      display: none;
    }
  }
}

.template-product {
  #yotpo-app {
    .yotpo-base-layout {
      width: 100% !important;

      .yotpo-head {
        justify-content: flex-start;

        .yotpo-headline {
          text-align: left;
          font-size: 32px;
          letter-spacing: -1.2px;
          color: #1c1b1b;
        }
      }

      .yotpo-layout-header-wrapper {
        justify-content: flex-start;
      }
    }
  }
}

@media screen and (max-width: 991px) {
  .template-product {
    #yotpo-app {
      .yotpo-base-layout {
        .yotpo-head {
          .yotpo-headline {
            font-size: 22px;
          }
        }
      }
    }
  }
}

@media screen and (min-width: 992px) {
  .main-product-section {
    .Product__Wrapper {
      flex-direction: row;
      padding: 48px 32px;
      max-width: 100%;

      .Product__Info {
        .ProductMeta__Title {
          font-size: 23px;
        }
      }
    }

    .Product__InfoWrapper {
      position: sticky;
      top: calc(var(--header-height) + 20px);
      min-width: 350px;
      max-width: 30%;
      padding: 0;
      height: fit-content;
    }

    sticky-atc .ProductForm__BuyButtons {
      display: block;
    }
  }
}

.gap-xs {
  gap: 4px;
}
.gap-sm {
  gap: 8px;
}
.gap-md {
  gap: 12px;
}
.gap-lg {
  gap: 20px;
}
.gap-xl {
  gap: 32px;
}

@media screen and (max-width: 991px) {
  .mobile-gap-xs {
    gap: 4px;
  }
  .mobile-gap-sm {
    gap: 8px;
  }
  .mobile-gap-md {
    gap: 12px;
  }
  .mobile-gap-lg {
    gap: 20px;
  }
  .mobile-gap-xl {
    gap: 32px;
  }
}
