.woocommerce-message,
.woocommerce-info {
  position: relative;
  border: 1px solid $border-color;
  padding: 11px 20px;
  background-color: $smoke-color;
  color: $title-color;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 30px;
  border-radius: 0;

  a {
    color: inherit;
    text-decoration: underline;

    &:hover {
      text-decoration: underline;
    }
  }

  &:before {
    content: '\f06a';
    font-family: $icon-font;
    font-weight: 900;
    margin-right: 10px;
  }
}

.stock-product {
  margin: 0 0 22px 0;

  .stock-title {
    margin-right: 10px;
    color: $title-color;
  }

  i {
    margin-right: 5px;
  }
}

.woocommerce-notices-wrapper {
  .woocommerce-message {
    background-color: $light-color;
    color: $white-color;
    border-color: transparent;

    &:before {
      content: '\f14a';
      font-weight: 300;
    }
  }
}

.woocommerce-form-login-toggle {
  .woocommerce-info {
    background-color: $smoke-color;
  }
}

.woocommerce-form-register,
.woocommerce-form-coupon,
.woocommerce-form-login {
  padding: 40px;
  background-color: $smoke-color;
  margin-bottom: 30px;

  @include xs {
    padding: 40px 20px;
  }

  .form-group {
    margin-bottom: 20px;

    &:last-child {
      margin-bottom: 0;
    }
  }

  p {
    &:last-child {
      margin-bottom: 0;
    }
  }
}

.woocommerce-error {
  background-color: $error-color;
  color: #fff;
  list-style: none;
  padding: 10px 26px;
  margin: 0 0 30px 0;
  border-radius: 5px;
  font-weight: 700;
  font-size: 14px;
}

nav.woocommerce-MyAccount-navigation {
  li {
    border: 1px solid $border-color;
    margin: 0;
    border-top: none;

    &:first-child {
      border-top: 1px solid $border-color;
    }

    a {
      color: $title-color;
      font-weight: 700;
      padding: 7px 17px;
      display: block;
    }

  }


  li.is-active a,
  li a:hover {
    color: $white-color;
    background-color: $theme-color;
  }
}

.woocommerce-MyAccount-content {
  h3 {
    margin-top: -0.3em;
  }

  .btn {
    background-color: $theme-color;
    color: $white-color;
    font-size: 14px;
    padding: 10px 25px;
    font-weight: 700;

    &:hover {
      background-color: $title-color;
      color: $white-color;
    }
  }
}
table.variations,
// .woocommerce-grouped-product-list.group_table {
.woocommerce-grouped-product-list-item {
  border-collapse: separate;
  border-spacing: 0 15px;
  margin-bottom: 5px;
  align-items: center;
  border: none;

  td {
    border: none;
    vertical-align: middle;
    padding: 0 5px;

    &:first-child {
      padding: 0;
    }
  }

  label {
    margin: 0;
    font-size: 14px;
    text-transform: capitalize;

    a {
      color: $title-color;

      &:hover {
        color: $theme-color;
      }
    }
  }

}

.woocommerce-product-attributes {

  th,
  td {
    border: 1px solid $border-color;

    p {
      &:last-child {
        margin-bottom: 0;
      }
    }
  }
}

.woocommerce-grouped-product-list.group_table {
  border-collapse: collapse;
  margin-top: 25px;
  margin-bottom: 15px;
  border: none;

  .woocommerce-Price-amount {
    font-size: 16px;
    color: $theme-color;
    position: relative;
    top: 2px;
    font-weight: 500;
  }

  del {
    .woocommerce-Price-amount {
      margin-left: 5px;
      color: $body-color;
      font-size: 0.8em;
      opacity: 0.7;
    }
  }

  .quantity {
    width: max-content;
    
    label {
      margin: 0 0 0 10px;
      font-weight: 500;
      font-family: $title-font;
      font-size: 20px;
    }
  }

  .woocommerce-grouped-product-list-item__quantity {
    width: 110px;
  }

  .qty-input {
    border-color: #e3e6e9;
  }

  tr {
    margin-bottom: 20px;

    &:last-child {
      border-bottom: none;
    }
  }

  td {
    padding: 0 0;
    margin: 0;
  }
}

.woocommerce-grouped-product-list.group_table {
  label {
    margin-right: 0;
  }
}

table.variations {
  width: max-content;
  position: relative;

  th {
    border: none;
    text-align: left;
    padding: 0 15px 0 0;
  }

  td {
    padding: 0;
  }

  td.label {
    padding-right: 10px;
    width: max-content;
  }

  select {
    width: max-content;
    font-weight: 400;
    line-height: 1.5;
    vertical-align: middle;
    margin: 0;
    padding-right: 54px;
    padding-left: 20px;
    height: 50px;
    background-position: right 20px center;
  }

  .reset_variations {
    margin-left: 16px;
    display: inline-block;
    position: absolute;
    left: 100%;
    bottom: 25px;
    color: $title-color;
    text-transform: uppercase;
  }
}

.woocommerce-variation.single_variation {
  margin-bottom: 30px;

  .price {
    color: $title-color;
    font-weight: 700;
    font-size: 26px;
  }
}

.wooscp-table-items {
  td.woocommerce-product-attributes-item__value {
    padding-left: 15px !important;
  }

  a.added_to_cart.wc-forward {
    margin-left: 15px;
    text-decoration: underline;
  }
}

.woosq-product>.product {
  .thumbnails {
    border: 1px solid $border-color;
  }
  
  .thumbnails,
  .summary {
    background-color: $white-color;
  }
}

#woosq-popup {
  .product_meta {
    margin-top: 20px;
    font-size: 16px;

    > span {
      color: $title-color;
      
      > a {
        color: $body-color;
        font-weight: 400;

        &:hover {
          color: $theme-color;
        }
      }
    }
  }

  .mfp-close {
    top: 10px;
    right: 10px;
  }

  .product_title {
    font-size: 30px;
    margin-bottom: 10px;
  }

  .star-rating {
    width: 75px;
    font-size: 11px;
    margin-right: 8px;
    display: inline-block;
    top: 2px;
  }

  .woocommerce-product-rating {
    margin: 0 0 10px 0;

    .woocommerce-review-link {
      color: $body-color;
    }
  }


  .price {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 10px;

    del {
      color: $body-color;
    }
  }


  .single-product .product {
    .actions {
      align-items: center;
      display: flex;
      gap: 20px;
      flex-wrap: wrap;

      .vs-btn {
        padding: 17px 30px;
      }

      >div {
        height: auto;
        overflow: visible;
        width: max-content;
        line-height: 1;

        .quantity.style2.woocommerce-grouped-product-list-item__quantity {
          width: max-content;
        }
      }
    }
  }
}



.login-tab {
  margin-bottom: 30px;
  justify-content: center;
  border-bottom-color: $border-color;

  button.nav-link {
    background-color: $title-color;
    color: $title-color;
    padding: 11px 39px;
    font-size: 18px;
    font-weight: 500;
    border-radius: 15px ​15px 0;

    &.active {
      background-color: $title-color;
      color: $white-color;
      border-color: $border-color;
    }
  }
}

.wcboost-variation-swatches {
  &__wrapper {
    margin: 0;
    padding: 0;
    list-style: none;
    line-height: 1;
  }

  &__item {
    display: inline-block;
    margin-right: 3px;

    &:last-child {
      margin-right: 0;
    }
  }

  &__name {
    width: var(--swatches-size, 22px);
    height: var(--swatches-size, 22px);
    line-height: var(--swatches-size, 22px);
    font-size: 0;
    display: inline-block;
    border-radius: 50%;
  }
}

.woocommerce-noreviews {
  font-size: 18px;
  color: $title-color;
  margin: 0;
  font-weight: 500;
  background-color: $smoke-color;
  padding: 10px 20px;
}

.star-rating {
  overflow: hidden;
  position: relative;
  width: 90px;
  height: 1.2em;
  line-height: 1.2em;
  display: block;
  font-family: $icon-font;
  font-weight: 700;
  font-size: 14px;

  &:before {
    content: "\f005\f005\f005\f005\f005";
    color: $theme-color;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    letter-spacing: 3px;
    font-weight: 400;
  }

  span {
    overflow: hidden;
    float: left;
    top: 0;
    left: 0;
    position: absolute;
    padding-top: 1.5em;

    &:before {
      content: "\f005\f005\f005\f005\f005";
      top: 0;
      position: absolute;
      left: 0;
      color: $theme-color;
      letter-spacing: 3px;
      font-weight: 700;
    }
  }
}


.quantity {
  position: relative;
  
  input {
    padding: 0 26px 0 26px;
    font-size: 20px;
    color: $title-color;
    border: 3px solid $border-color;
  }

  .qty-btn {
    position: absolute;
    right: 5px;
    top: 0;
    border: none;
    background-color: transparent;
    padding: 0;
    line-height: 1;
    width: 33px;
    height: 33px;
    color: $title-color;
    
    &:hover {
      color: $theme-color;
    }
  }
  
  .quantity-minus {
    top: auto;
    bottom: 0;
  }
}


.rating-select {
  margin-top: -0.4em;

  label {
    margin: 0 10px 0 0 ;
    display: inline-block;
  }

  p.stars {
    margin-bottom: 0;
    line-height: 1;
    display: inline-block;


    a {
      position: relative;
      height: 14px;
      width: 18px;
      text-indent: -999em;
      display: inline-block;
      text-decoration: none;
    }

    a::before {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      width: 18px;
      height: 14px;
      line-height: 1;
      font-family: $icon-font;
      content: "\f005";
      font-weight: 400;
      text-indent: 0;
      color: $theme-color;
    }

    a:hover~a::before {
      content: "\f005";
      font-weight: 400;
    }

    &:hover a::before {
      content: "\f005";
      font-weight: 700;
    }

    &.selected a.active::before {
      content: "\f005";
      font-weight: 700;
    }

    &.selected a.active~a::before {
      content: "\f005";
      font-weight: 400;
    }

    &.selected a:not(.active)::before {
      content: "\f005";
      font-weight: 700;
    }

  }
}

.cart-notification {
  position: fixed;
  bottom: 50px;
  left: 50px;
  z-index: 999;
  background-color: #fff;
  transition: all ease 0.4s;
  box-shadow: 0 0 30px 0 rgba(0, 0, 0, 0.1);

  .notification-content {
    display: flex;
    align-items: center;
    padding: 20px 20px;
  }

  h6 {
    margin: 0 0 5px 0;
  }

  p {
    margin: 0 0 -.2em 0;
    font-size: 14px;
  }

  img {
    background-color: #f6f6f6;
    border: 1px solid #f6f6f6;
    margin: 0 20px 0 0;
  }
}


@include sm {

  .woocommerce-message,
  .woocommerce-info {
    font-size: 12px;
    padding: 5px 10px;

    a {
      font-size: 11px;
    }

    &:before {
      margin-right: 5px;
    }
  }

  .woocommerce-grouped-product-list.group_table {
    .quantity label {
      font-size: 16px;
      margin: 0;
    }

    .woocommerce-Price-amount {
      font-size: 12px;
    }
  }


  .cart-notification {
    left: 20px;
    bottom: 20px;

    .notification-content {
      display: block;
    }

    img {
      margin-bottom: 15px;
      width: 100%;
    }
  }
}

@include sm {
  #woosq-popup .single-product .product .summary .summary-content {
    padding: 30px 15px;

    table.variations select {
      max-width: 160px;
    }
  }

  .woocommerce-grouped-product-list.group_table {
    .quantity {
      gap: 0 10px;
    }
    
    .woocommerce-grouped-product-list-item__quantity {
      width: 90px;
    }
  }
}