// * GENERAL OVERRIDE *
.woocommerce {
  .onsale {
    display: none !important;
  }
}

.woo-file-upload td{
  border: 0 !important;
}
.woo-file-upload table{
  margin-bottom: 1rem;

  input {
    margin-bottom: 0;
  }
}

.shipping-handler .toggle-default-handling {
  width: 14px;
  height: 14px;
  position: relative;
  border-radius: 2px;
  display: inline-block;
}

.table-checkout {
  overflow: auto;
}

@media screen and (max-width: $bp-phablet) {
  .cross-sells {
    display: none;
  }
}

.cross-sells {
  h2 {
    margin-top: 5rem;
    margin-bottom: 3rem;
    font-size: 2.5rem;
  }
}

.shipping-handler {
  > div {
    margin-bottom: 10px;
    
    &:last-child {
      margin-bottom: 16px;
    }
  }
}

.woocommerce-checkout-review-order-table {
  .shipping-handler {
    > div {
      margin-bottom: 0;
      
      &:last-child {
        margin-bottom: 0;
      }
    }
  }
}

.pickup-location-field {
  small {
    display: none;
  }
}

p#wc-local-pickup-plus-toggle-default-handling {
  display: none;
}

.pickup-location-package-field .select2-container {
  margin: 0 !important;
}

.order-total {
  td {
    padding-bottom: 0 !important;
  }
}

p#wc-local-pickup-plus-toggle-default-handling {
  span {
    &:last-of-type {
      display: none;
    }
  }
}

.toggle-default-handling {
  display: none;
}

@media screen and (max-width: $bp-phablet) {
  .page-title {
    font-size: 1.75em;
    line-height: 1.25;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  .page-subtitle {
    text-align: center;
  }
}

.pickup-location-cart-item-field {
  display: none;
}

.enable-local-pickup,
.disable-local-pickup {
  background-color: $primary-color;
  color: rgb(7,7,7); 

  &:hover {
    color: rgb(7,7,7);
  }
}

span.select2-container--default.select2-container--focus .select2-selection--multiple {
  border: 0;
  padding: 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered,
.select2-container {
}

.woocommerce-checkout  .woocommerce-message {
  display: none !important;
}

.woocommerce-checkout {
  margin-bottom: 0 !important;
}

.woocommerce-widget-layered-nav-dropdown__submit {
  color: black;
}

.select2-container--default .select2-search--inline .select2-search__field {
  border: 0;
  max-width: 100%;
}

.select2-container--default .select2-selection--multiple {
  border: 0 !important;
}

.select2-container--default .select2-selection--multiple .select2-selection__rendered li {
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  border: 0;
  max-width: 100%;
  background: transparent;
  margin: 0;
  padding: 5px 5px 0 0;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: #d0be4e !important;
  padding: 5px 5px 5px 0;
}

li.select2-search.select2-search--inline::after {
  width: 0;
  height: 0;
  position: relative;
  top: -4px;
  display: inline-block;
  border: solid;
  border-width: 10px 8.5px 0 8.5px;
  border-color: #333 transparent transparent transparent;
  content: "";
  border-width: 5px 4px 0 4px;
}

// * ARCHIVE PRODUCT *
body.post-type-archive-product {
  .widget_product_categories {
    ul {
      li {
        &.cat-item-shop a {
          font-weight: 500;
        }
      }
    }
  }
}

.excerpt-container {
  max-width: 1024px;
  margin: 0 auto;
}

.product-pay {
  display: block;
  margin-top: 3rem;

  img {
    margin: 0;
  }
}

.excerpt-see-more {
  margin: 0 auto;
  display: none;
  margin-bottom: 1.5rem;

  p {
    display: inline;
    margin-bottom: 0;
  }

  &.active {
    display: inline;
  }
}

.pickup-location-field span {
  max-width: 200px;
  font-size: 0.95em;
}

.products-description-excerpt {
  margin: 0 auto;
  text-align: center;
  display: inline;
  margin-bottom: 1.5rem;

  p {
    display: inline;
    margin-bottom: 0;
  }
}

.toggle-excerpt {
  white-space: nowrap;
  cursor: pointer;

  &.active {
    display: none;
  }
}
body.tax-product_cat, body.post-type-archive-product {
  .woocommerce-products-header {
    text-align: center;
    margin: 0;
    padding-bottom: 0;

    @media screen and ($bp-larger-than-mobile) {
      margin-top: 5rem;
      padding-bottom: 2rem;
    }

    h1 {
      letter-spacing: .05rem;
    }
    .term-description {
      width: 100%;
      margin: 0 auto;
      @media screen and ($bp-larger-than-mobile) {
        max-width: 60%;
      }
    }
    .woocommerce-ordering {
      float: none;
      margin: 5rem 0 0;
      padding: 0;
    }
  }

  @media screen and ($bp-larger-than-mobile) {
    .sidebar-wrapper-mobile {
      display: none !important;
    }
  }

  .sidebar-wrapper-mobile {
    display: block;
    position: fixed;
    background: white;
    left: 0;
    top: 0;
    bottom: 0;
    overflow: auto;
    padding-top: 4rem;
    padding-bottom: 4rem;
    padding: 25px;
    background: white;
    opacity: 0;
    z-index: -1;
    right: 0;
    transition: all 0.2s ease-in-out;

    .filter-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 40px;

      .delete-all-filters {
        font-size: 1.15em;
        text-decoration: underline;
        font-weight: 400;
        color: black;
      }

      .filter-toggler {
        margin-bottom: 0!important;
        padding: 0!important;
        border: 0!important;
      }
    }

    &.active {
      z-index: 999999;
      opacity: 1;
    }
  }

  .sidebar-wrapper,
  .sidebar-wrapper-mobile {
    aside {
      form,
      ul {
        margin-bottom: 2rem !important;
        display: none;

        &.active {
          display: inherit;
        }

        li {
          &.chosen {
            a {
              font-weight: 400;
            }
          }
        }

        li a {
          font-size: 1em;
          padding-top: 6px !important;
          padding-bottom: 6px !important;
          font-weight: 300;
        }
      }

      &:last-child {
        border-bottom: 2px solid $gray-ultralight;
      }

      border-top: 2px solid $gray-ultralight;
    }
  }

  #sidebar aside {
      h4.widget-title {
        font-size: 1.12em;
        padding-top: 20px;
        position: relative;
        padding-bottom: 20px;
        cursor: pointer;
        display: flex;
        justify-content: space-between;
        align-items: center;

        &.active,
        &.active-filter {
          color: $primary-color;
        }

        &::after {
          content: "";
          height: 15px;
          width: 15px;
          border-bottom: 0 !important;
          display: inline-block;
          position: relative;
          right: 0;
          top: 0;
          bottom: 0;
          background-image: url('../images/arrow-down.png');
          background-position: center center;
          background-size: contain;
          background-repeat: no-repeat;
      }
    }
  }

  .filter-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
    margin-bottom: 5rem;
    padding-bottom: 1rem;
    @media screen and (min-width: $bp-mobile) {
      max-width: 500px;
    }
    .woocommerce-ordering {
      width: 50%;
      margin: 0 auto;
      select {
        margin-bottom: 0;
        width: 100%;
        font-family: $font-family-serif;
        font-weight: 700;
        font-size: 1.2em;
        border-color: $gray-light;
      }
    }
    .filter-toggler {
      width: 50%;
      height: 38px;
      padding: 6px 10px;
      background-color: #fff;
      font-family: $font-family-serif;
      font-weight: 700;
      font-size: 1.2em;
      border-color: $gray-light;
      border: 1px solid #e2e2e2;
      border-radius: 4px;
      color: $black;
      margin: 0 auto;
      margin-right: 20px;
      line-height: 1.5em;
      font-weight: 500;
      letter-spacing: .05rem;
      display: flex;
      align-items: center;
      justify-content: space-between;
      transition: all .4s $easing;
      i {
        vertical-align: middle;
      }
      @media screen and ($bp-larger-than-mobile) {
        display: none;
      }
    }
  }
  .sidebar-wrapper {
    width: 100%;
    border-top: 0 !important;
    display: none;
    @media screen and ($bp-larger-than-mobile) {
      display: block;
      max-width: 30%;
      float: left;
      padding-right: 5rem;
    }
    @media screen and ($bp-larger-than-phablet) {
      max-width: 20%;
    }
  }
  .page-content {
    width: 100%;
    @media screen and ($bp-larger-than-mobile) {
      max-width: 70%;
      float: left;
    }
    @media screen and ($bp-larger-than-phablet) {
      max-width: 80%;
    }
    li.chosen {
        a {
          color: $black;
          font-weight: 400;
          &:before {
            content:'\e68d';
            font-family: 'dueper-font';
            color: $primary-color;
            // margin-top: .25rem;
            vertical-align: middle;
            display: inline-block;
          }
        }
      }
    .products {
      display: inline-block;
      width: 100%;
      > div {
        vertical-align: top;
      }
    }
    .product-teaser {
      margin-bottom: 2.5rem;
      @media screen and($bp-larger-than-tablet) {
        margin-bottom: 10rem;
      }
    }
    .lmp_button {
      color: $black;
      font-weight: 400;
      font-size: 1.35em;
      letter-spacing: .05rem;
      margin-bottom: 10rem;
      display: inline-block;
      @extend .custom-underline;
      &:hover {
        &:after {
          height: 3px;
        }
      }
    }
    .lmp_products_loading {
      .fa {
        opacity: .15 !important;
      }
    }
  }
  .woocommerce-pagination {
    display: none !important;
  }
}

div.lmp_load_more_button.br_lmp_button_settings .lmp_button {
  background-color: $primary-color !important;
  padding: 1.5rem !important;
  padding-left: 1.5rem !important;
  font-size: 1.8em !important;
  font-weight: 700;
  font-family: $font-family-serif;
  padding-right: 1.5rem !important;
  margin-top: 1rem;
  margin-bottom: 10rem !important;
  transition: all 0.2s ease;
  top: 0;

  &:hover {
    top: 2px;
    background-color: $primary-color !important;
    color: white !important;
  }

  &::after {
    display: none;
  }
}

// * PROD TEASER *
.product-teaser {
  margin: 0 1rem;
  text-align: center;
  figure {
    position: relative;
    width: 100%;
    height: 20rem;
    max-width: 20rem;
    margin: 0 auto 2rem;
    a {
      @extend .fill;
      overflow: hidden;
      img {
        @extend .fill;
        width: 100%;
        height: 100%;
        object-fit: contain;
        font-family: 'object-fit:contain';
        transition: all .4s $easing;
      }
    }
  }
  .content {
    header {
      a {
        color: $black;
        .brand-title {
          margin: 0 auto .25rem;
          font-size: 1.35em;
          line-height: 1.125;
          font-family: $font-family-serif;
          @media screen and($bp-larger-than-mobile) {
            height: 4rem;
            font-size: 1.75em;
          }
        }
        .product-title {
          font-size: .85em;
          letter-spacing: .035rem;
          font-family: $font-family-sans-serif;

          @media screen and (min-width: $bp-mobile ) {
            font-size: .9em;
          }
        }
      }
    }
    .original-price {
      font-weight: 400;
      letter-spacing: .035rem;
      font-size: 0.85em;
      @media screen and (min-width: $bp-mobile) {
        font-size: 1.075em;
      }
      &.override {
        float: left;
        width: 50%;
        color: $gray-base;
        text-decoration: line-through;
        text-align: right;
        padding-right: .5rem;
      }
    }
    .sale-price {
      font-weight: 400;
      letter-spacing: .035rem;
      font-size: 0.85em;
      float: left;
      width: 50%;
      text-align: left;
      padding-left: .5rem;

      @media screen and (min-width: $bp-mobile) {
        font-size: 1.075em;
      }
    }
  }
}

// * SINGLE PRODUCT *
body.single-product {
  #main-container > .inner--main > .type-product {
    margin-top: 10rem;

    @media screen and (max-width: $bp-phablet) {
      margin-top: 0;
    }

    .product-code {
      font-size: 0.8em;
      margin-bottom: 2.5rem;
    }

    .shipping-infographic {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;

      .info {
        p {
          font-size: 1.4rem;
        }
      }
    }

    .details-list {
      margin-bottom: 0;
      li {
        list-style: none;
        display: flex;
        label {
          width: 42% !important;
          flex: none;
          font-weight: 500;
          margin-right: 10px;
          font-size: 0.9em;
        }
        p {
          display: inline-block;
          font-size: 0.9em;
          margin: 0;
        }
      }
    }

    .page-header {
      margin-top: 0;
      margin-bottom: 3.5rem;
      margin-left: 1.5rem;
      text-align: left;
      .page-title {
        margin-bottom: 1rem;
      }
      .page-subtitle {
        font-family: $font-family-sans-serif;
        font-size: 1em;
        font-weight: 300;
        letter-spacing: .05em;
      }
    }
    .prod-content {
      p {
        // margin-bottom: 0;
      }
    }
    .title-expandable {
      font-family: $font-family-sans-serif;
      position: relative;
      display: block;
      font-size: 1.15em;
      margin-top: 3.5rem;
      margin-bottom: 3.5rem;
      cursor: pointer;
      // &:first-of-type {
      //   margin-top: 3.5rem;
      // }
      img {
        max-width: .75rem;
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%) rotate(90deg);
        transition: all .4s $easing;
      }
      &.closed {
        img {
          transform: translateY(-50%);
        }
      }
      &:after {
        content:'';
        position: absolute;
        left: 0;
        right: 0;
        bottom: -1rem;
        border-bottom: 1px solid $gray-light;
      }
    }
    .collapsable-text {
      p {
        a {
          @extend .custom-underline;
          color: $primary-color;
          &:after {
            background-color: $primary-color;
          }
        }
      }
      @media screen and (max-width: $bp-phablet) {
        &.mobile-collapsable-closed {
          display: none;
        }
      }
    }
    .galleries-wrapper {
      padding: 0;
      @media screen and($bp-larger-than-phablet) {
        padding: 0 5rem;
      }
      .big-slider {
        .slick-dots {
          left: 0;
          right: 0;

          li {
            margin: 0;
            margin-bottom: 0.5rem;

            button {
              &::before {
                font-size: 18px;
              }
            }
          }
        }
        img {
          width: 100%;
          height: 16rem;
          font-family: 'object-fit:contain';
          object-fit: contain;
          cursor: grab;
          @media screen and($bp-larger-than-phablet) {
            height: 30rem;
          }
          @media screen and($bp-larger-than-tablet) {
            height: 50rem;
          }
          &:hover, &:focus {
            outline: none;
            box-sizing: none;
          }
        }
      }
      .small-slider {
        img {
          width: 100%;
          height: 10rem;
          padding: 0 1rem;
          font-family: 'object-fit:cover';
          object-fit: cover;
          cursor: pointer;
          &:hover, &:focus {
            outline: none;
            box-sizing: none;
          }
        }
      }
    }
    .woocommerce-product-gallery {
      width: 100% !important;
      float: none !important;
      padding: 0 2rem;
      .woocommerce-product-gallery__wrapper {
        padding: 0 2rem !important;
        img {
          width: 100%;
        }
      }
      .slick-arrow {
        &:before {
          color: $black;
        }
        &.slick-prev {
          &:before {
            content:'';
            background-size: contain;
            background-repeat: no-repeat;
            background-image:url('../images/arrow_left.png');
            height: 100%;
            width: 100%;
            display: inline-block;
          }
        }
        &.slick-next {
          &:before {
            content:'';
            background-size: contain;
            background-repeat: no-repeat;
            background-image:url('../images/arrow_right.png');
            height: 100%;
            width: 100%;
            display: inline-block;
          }
        }
      }
    }
    @media screen and (max-width: $bp-phablet) {
      .small-slider {
        display: none;
      }
      .product-section-gallery {
        order: 0;
      }
      .product-section-header {
        order: 2;
      }
      .buy-section {
        order: 1;
      }
    }
    .buy-section {
      text-align: center;
      .sale-price {
        font-size: calc(1em + 1vw);
        font-weight: 400;
      }
      .original-price {
        font-size: calc(1.05em + 1vw);
        font-weight: 400;
        margin-bottom: 5rem;
        @media screen and (max-width: $bp-phablet) {
          margin-bottom: 0;
        }
        &.override {
          font-size: calc(.5em + .5vw);
          text-decoration: line-through;
          color: $gray-light;
        }
      }
      .quantity {
        display: inline-block;
        float: none;
        display: none;
        label {
          display: none;
        }
        input {
          border-radius: 0;
          border-color: $gray-light;
          margin-right: 1rem;
          margin-bottom: 0;
          height: auto;
          padding: .8rem 1rem 1rem;
        }
      }
      .add-to-cart-container {
          max-width: 240px;
          margin: 2.5rem auto;
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          @media screen and (max-width: $bp-phablet) {
            margin: 2rem auto 0 auto;
          }
        .single_add_to_cart_button {
          @extend .btn;
          @extend .btn-primary;
          float: none !important;
          text-transform: uppercase;
          padding-left: 2rem;
          padding-right: 2rem;
          margin-bottom: 1rem;
          padding-top: .35rem;
          padding-bottom: .25rem;
          font-size: 1.25em;
  
          &.cart-button {
            background: transparent;
            color: black;
            font-size: 1em;
            text-decoration: underline;
          }
        }
      }
      a.with-icon {
        display: inline-block;
        text-align: center;
        width: 100%;
        position: relative;
        img {
          max-width: 4rem;
          max-height: none;
          margin: 0 auto !important;
          // width: 100%;
        }
      }
    }
    .contact-link {
      letter-spacing: 1px;
      text-transform: uppercase;
      font-weight: 500;
      // @extend .custom-underline;
      // @extend .lined-up;
    }
    .related-products {
      width: 100%;
      margin-bottom: 5rem;
      overflow: hidden;
      @media screen and ($bp-larger-than-phablet) {
        padding-top: 5rem;
        margin-bottom: 10rem;
        padding-right: 5rem;
        padding-left: 5rem;
      }
      @media screen and($bp-larger-than-tablet) {
        padding-right: 10rem;
        padding-left: 10rem;
        padding-top: 3rem;
      }
      .product-teaser {
        margin: 0 1rem;
      }
      .related-title {
        text-align: center;
        font-weight: 500;
        font-size: calc(1.25em + 1.25vw);
        letter-spacing: .25rem;
        position: relative;
        margin-top: 3.5rem;
        margin-bottom: 3.5rem;
        padding-bottom: 1rem;

        @media screen and ($bp-larger-than-phablet) {
          margin-bottom: 3rem;
        }
      }
      .slick-dots {
        width: auto;
        bottom: -10rem;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        @media screen and(bp-larger-than-mobile) {
          width: auto;
        }
        li {
          margin: 0 .5rem;
          height: 1.25rem;
          width: 1.25rem;
          @media screen and(bp-larger-than-mobile) {
            margin: 0 1rem;
            height: 1.5rem;
            width: 1.5rem;
          }
          button {
            &:before {
              content:'';
              opacity: 1;
              position: absolute;
              top: 0.025rem;
              right: 0.025rem;
              bottom: 0.025rem;
              left: 0.025rem;
              background-color: $black;
              border-radius: 100%;
              padding: 0;
              height: auto;
              width: auto;
              border: 2px solid $black;
              transition: all .4s $easing
            }
          }
          &.slick-active {
            button {
              &:before {
                border-color: $primary-color;
                background-color: transparent;
              }
            }
          }
        }
      }
      .slick-arrow {
        &:before {
          color: $black;
        }
        &.slick-prev {
          left: -5rem;
          &:before {
            content:'';
            background-size: contain;
            background-repeat: no-repeat;
            background-image:url('../images/arrow_left.png');
            height: 100%;
            width: 100%;
            display: inline-block;
          }
        }
        &.slick-next {
          right: -5rem;
          &:before {
            content:'';
            background-size: contain;
            background-repeat: no-repeat;
            background-image:url('../images/arrow_right.png');
            height: 100%;
            width: 100%;
            display: inline-block;
          }
        }
      }
    }
  }
}

// * FILE UPLOAD PLUGIN *
form[id^='alg_checkout_files_upload_form_'] {
  width: 50%;
  display: inline-block;
  &:nth-of-type(even) {
    padding-left: 2rem;
  }
  &:nth-of-type(odd) {
    padding-right: 2rem;
  }
  @media screen and(max-width: $bp-phablet) {
    width: 100%;
    &:nth-of-type(even) {
      padding-left: 0rem;
    }
    &:nth-of-type(odd) {
      padding-right: 0rem;
    }
  }
}
.woo-file-upload {
  label {
    font-family: $font-family-serif;
    font-weight: 600;
    letter-spacing: .05rem;
    font-size: calc(1em + 1vw);
  }
  input[type="file"] {
    margin-bottom: 0;
  }
}

[id^='alg-wc-checkout-files-upload-progress-wrapper'] {
  display: none !important;
}

// * BILLING *
.woocommerce-shipping-fields {
  h3 {
    margin-bottom: .75rem;
  }
}
.woocommerce-billing-fields, .woocommerce-additional-fields, .woocommerce-shipping-fields {
  h3 {
    font-family: $font-family-serif;
    font-weight: 600;
    letter-spacing: .05rem;
    font-size: calc(1em + 1vw);
  }
  label {
    font-weight: 500;
  }
  input, select, textarea {
    border-radius: 0;
    border-color: $gray-light;
    font-family: $font-family-sans-serif;
    font-weight: 200;
    &::placeholder {
      color: $gray-base;
    }
    &:focus {
      color: $gray-base;
    }
  }
  .woocommerce-input-wrapper {
    .select2-selection--single {
      border-color: $gray-light;
      border-radius: 0;
      padding-top: .75rem;
      padding-bottom: .5rem;
      padding-left: .25rem;
      height: auto;
      color: $gray-darker;
      b {
        margin-top: .5rem;
      }
    }
  }
}

.woocommerce, .shipping_address {
  form {
    .form-row {
      margin-bottom: 2.5rem;
    }
  }
  #order_review_heading {
    font-family: $font-family-serif;
    font-weight: 600;
    letter-spacing: .05rem;
    font-size: calc(1em + 1vw);
    margin-top: 2.5rem;
  }
  table.shop_table th, table.shop_table td {
    font-weight: 200 !important;
    border-bottom: none;
    strong {
      font-weight: 500 !important;
    }
    thead {
      th {
        font-weight: 500 !important;
      }
    }
  }
  // table.shop_table {
  //   > thead {
  //     position: relative;
  //     &:after {
  //       content:'';
  //       position: absolute;
  //       bottom: 0;
  //       left: 0;
  //       right: 0;
  //       border-bottom: 1px solid rgba($black, .5);
  //     }
  //   }
  // }
}

.woocommerce-checkout-review-order {
  overflow: auto;
}

// * MESSAGES *
.woocommerce-info {
  background-color: $gray-ultralight;
  border: none;
  padding: 2.5rem 3rem;
  line-height: 3.5em;
  &:before {
    display: none;
  }
}
.woocommerce-checkout-payment {
  margin-top: 5rem;
  margin-bottom: 5rem;
  label[for="payment_method_cod"] {
    font-family: $font-family-serif;
    font-size: calc(1em + 1vw);
  }
  &#payment {
    background-color: $gray-ultralight;
    border-radius: 0;
    div.payment_box {
      background-color: $white;
      &:before {
        border: 1em solid $white;
        border-right-color: transparent;
        border-left-color: transparent;
        border-top-color: transparent;
      }
    }
    ul.payment_methods {
      border-bottom: 2px solid $white;
      padding-left: 4rem;
      padding-right: 4rem;
      padding-top: 3.5rem;
      padding-bottom: 2.5rem;

      @media screen and (max-width: $bp-mobile) {
        padding-top: 2.5rem;
        padding-bottom: 2.5rem;
        padding-left: 2rem;
        padding-right: 2rem;
      } 

      li {
        color: $gray-darker;
      }
    }
    div.form-row {
      padding: 2.5rem 4rem;
      font-weight: 400;
      color: $gray-darker;

      @media screen and (max-width: $bp-mobile) {
        padding: 2.5rem 2rem !important;
      }

      a {
        font-weight: 500;
        // @extend .custom-underline;
        // color: $primary-color;
        // &:after {
        //   background-color: $primary-color;
        // }
      }
      #place_order {
        border-radius: 0;
        background-color: $black;
        transition: all .4s $easing;
        &:hover {
          background-color: $primary-color;
        }
      }
    }
  }
}
.woocommerce-message {
  background-color: $gray-ultralight;
  border: none;
  padding: 2.5rem 3rem;
  @media screen and($bp-larger-than-phablet) {
    line-height: 3.5em;
  }
  &:before {
    display: none;
  }
  .button {
    text-transform: none !important;
    border: none !important;
    height: auto !important;
    font-size: 1em !important;
    line-height: 3rem !important;
    padding: 1rem 2rem !important;
    font-family: $font-family-sans-serif !important;
    font-weight: 500 !important;
    border-radius: 0 !important;
    color: $white !important;
    background-color: $primary-color !important;
    float: none !important;
    margin-bottom: 1.5rem !important;
    @media screen and($bp-larger-than-phablet) {
      float: right !important;
      margin-bottom: 0rem !important;
    }
  }
}

#load-more {
  display: none;
}

p#wc-local-pickup-plus-toggle-default-handling {
  font-size: 0.85em;
  margin-top: 20px;
  margin-bottom: 5px;
  
  span {
    &:last-child {
      display: none !important;
    }

    span:not(a) {
      display: none !important;
    }
  }
}

#shipping_method {
  margin-top: 25px !important;
}

tr.shipping {
  padding-top: 1.5rem;
  border-top: 1px solid $gray-ultralight;
}

.woocommerce-shipping-calculator {
  display: none;
}

.pickup-location-package-field {
  .select2-container {
    margin-bottom: 10px;
    margin-top: 7px;
  }

  em {
    display: none;
  }

  .pickup-location-address {
    display: none;
  }
}

.product-quantity {
  display: none;
}

.woocommerce div.product form.cart {
  @media screen and (max-width: $bp-phablet) {
    margin-bottom: 0;
  }
}

@media screen and (max-width: 767px) {
  .woocommerce .woocommerce-error .button,
  .woocommerce .woocommerce-error .button,
  .woocommerce-page .woocommerce-message .button {
    margin-top: 10px;
  }

    .woocommerce-form-coupon {
    .form-row-first {
      width: 100% !important;
    }
    .form-row-last {
      width: 100% !important;
      font-size: 0.85em !important;

      button {
        width: 100% !important;
      }
    }
  }

  .woocommerce-error, .woocommerce-info, .woocommerce-message {
    padding: 1em;
    margin-bottom: 1em;
    line-height: 1.25;
  }

  .woocommerce-error::before, .woocommerce-info::before, .woocommerce-message::before {
    display: none;
  }
  
  .woocommerce-error li, .woocommerce-info li, .woocommerce-message li, .woocommerce-message {
      display: flex;
      flex-direction: column-reverse;
      list-style: none outside!important;
  }
}

#order_review_heading {
    display: none;
  }

  td.product-name {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;

    span {
      padding-bottom: 0;
      padding-left: 5px;
      font-size: 0.9em;
      font-weight: 500;
      padding-top: 10px;
    }

    @media screen and (min-width: $bp-mobile) {
      flex-direction: row;
      align-items: center;
      text-emphasis: left;
      justify-content: flex-start;
    }

    .product-image {
      margin-bottom: 0.25rem;
      margin-right: 1rem;
    }
  }

  .checkout {
    br {
      display: none;
    }

    .remove-item {
      display: none;
    }
  }

  #payment {
    margin-top: 1.5rem !important;
  }

  #order_review {
    margin-left: -1.25rem;
    margin-right: -1.25rem;

    @media screen and(min-width: $bp-mobile) {
      margin-left: -4rem;
      margin-right: -4rem;
    }
  }

  ul.wc_payment_methods {
    padding-bottom: 1rem !important;
    padding-top: 3rem;

    .wc_payment_method {
      display: flex;
      margin-bottom: 1.5rem !important;
      flex-wrap: wrap;

      .payment_box {
        width: 100%;
      }

      label {
        line-height: .8;
        height: 20px;
      }

      .about_paypal {
        display: none;
      }

      #payment_method_paypal {
        margin-top: 8px!important;
      } 
    }
  }

  #place_order {
    margin-bottom: 0;
    float: none !important;

    @media screen and (min-width: $bp-mobile) {
      margin-top: 10px;
      margin-bottom: 10px;
    }
  }

  .woocommerce-privacy-policy-text {
    margin-bottom: 1.5rem;
  }

  .woocommerce-checkout #payment {
    margin-bottom: 0!important;
  }

  p.privacy {
    margin-bottom: 2rem !important;

    span {
      label {
        line-height: 1.5 !important;
        font-weight: 400;
      }
    }
  }

  .shipping_address form .form-row, .woocommerce form .form-row {
    margin-bottom: 1rem;
  }

  .woocommerce-billing-fields {
    h3 {
      margin-bottom: 0.875rem;
    }

    label {
      margin-bottom: 0;
    }
  }

  p.create-account {
    margin-bottom: 0 !important;

    span {
      font-family: $font-family-serif;
      font-size: calc(1em + 1vw);
      font-weight: 800;
    }
  }

  .woocommerce form .form-row .input-checkbox {
    margin: -2px 2px 0 0;
     
    @media screen and (min-width: $bp-mobile) {
      margin: -2px 8px 0 0;
    }
  }

  #ship-to-different-address {
    padding: 3px;
  }

  .woocommerce-shipping-fields #ship-to-different-address {
    margin-bottom: 0.25rem;
  }

  .shop_table {
    margin-bottom: 1.75rem !important;

    @media screen and (min-width: $bp-mobile) {
      margin-bottom: 3rem !important;
    }

    tfoot {
      .cart-subtotal {
        display: none;
      }
    }
  }

  .place-order p {
    max-width: 700px;
  }

  .payment_box {
    @media screen and(min-width: $bp-mobile) {
      margin-right: 40% !important;
    }
  }

  .shipping_address label {
    margin-bottom: 0 !important;
  }

  #ship-to-different-address {
    label {
      margin-bottom: 0;
    }

    input {
      margin-bottom: 0;
    }
  }

  .buy-now-button {
    width: 100%;
    margin-bottom: 2rem !important;
  }

  .buy-wrapper {
    display: flex;
    gap: 10px;
    width: 100%;

    .cart-button,
    .btn-product-offer {
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      color: black !important;
      background-color: #D9D9D9 !important;
      width: 50%;
      font-size: 14px !important;
      text-transform: initial;
      font-weight: 300 !important;
      white-space: normal;
      height: auto !important;
      min-height: 40px !important;
      line-height: normal !important;
      border: none !important;
      margin-bottom: 0 !important;
      padding: 10px !important;
      border-radius: 0;
      cursor: pointer;

      span {
        font-weight: 300 !important;
      }
    }
  }

  .buy-wrapper button:only-child {
    width: 100%;
  }

  .cta-worn-product {
    color: #d0be4e;
    font-weight: bold;

    p {
      margin-bottom: 0;
    }

    a {
      font-weight: bold;
      text-decoration: underline;
    }
  }