.icon-header-section {
  &:before {
    bottom: -2px;
    z-index: 10;
    opacity: 0;
    left: 50%;
    border: solid transparent;
    content: '';
    height: 0;
    width: 0;
    position: absolute;
    pointer-events: none;
  }
}

.icon-header-section {
  align-self: center;
}

.icon-header-wrap {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  //text-align: right;
  padding-left: 15px;
  .nb-account-dropdown {
    display: none;
    position: absolute;
    left: -50px;
    top: 45px;
    z-index: 9;
    width: 250px;
    background-color: #fff;
    margin-top: 0;
    margin-bottom: 0;
    padding: 30px;
    box-shadow: 3px 3px 10px -2px #5c5c5c;
    ul {
      list-style-type: none;
      padding-left: 0;
      margin: 0;
      li:not(:last-of-type) {
        a {
          border-bottom: 1px solid;
        }
      }
    }
    a {
      display: block;
      padding-top: 8px;
      padding-bottom: 8px;
      text-transform: uppercase;
    }
  }
  .header-cart-wrap {
    display: inline-block;
    position: relative;
    z-index: auto;
  }
  .header-account-wrap, .header-cart-wrap {
    margin-right: 5px;
  }
  i {
    font-size: 16px;
  }
  .nb-cart-section {
    display: inline-block;
    margin-top: -5px;
    &:before {
      font-size: 18px;
    }
  }
}

// .header-account-wrap {
//   .nb-account-dropdown {
//     opacity: 0;
//     visibility: hidden;
//   }
//   &:hover {
//     .nb-account-dropdown {
//       opacity: 1;
//       visibility: visible;
//     }
//   }
// }

.mini-cart-section {
  //opacity: 0;
  //visibility: hidden;
  display: none;
  z-index: 9 !important;
  //transition: all .2s ease;
  @include media-breakpoint-down(sm){
    display: none !important;
  }
  .mini-cart-wrap{
    .mini_cart_item{
      color: #444;
      *{
        color: #444;
      }
      .minicart-pd-meta{
        color: #444;
        *{
          color: #444;
        }

        h6 {
          font-size: 14px;
        }
      }
      .mini-cart-pd-image{
        img{
          border-width: 1px;
          border-style: solid;
          border-color: #ccc;
          border-radius: 5px;
          transition: all 0.1s ease-in-out;
        }
      }
    }
    .woocommerce-mini-cart__total{
      color: #444;
      *{
        color: #444;
      }
    }
  }
}

.mini-cart-wrap {
  position: absolute;
  background: #fff;
  top: 45px;
  right: 0;
  width: 370px;
  box-shadow: 3px 3px 10px -2px rgba(92,92,92,1);
  padding: 15px;
  border-radius: 5px;
  transition: all .2s ease;
  z-index: 9 !important;
  border-top-style: solid;
  border-top-width: 3px;
  //&.show {
  //  display: block;
  //}
  .cart_list {
    float: left;
    width: 100%;
    padding-left: 0;
    list-style-type: none;
  }
  .mini_cart_item {
    float: left;
    position: relative;
    width: 100%;
    margin-bottom: 15px;
    padding: 10px 0 20px 0;
    border-bottom: 1px solid #d7d7d7;

    &:last-child {
      border-bottom: none;
      padding-bottom: 0;
    }

    .mini-cart-pd-image {
      display: inline-block;
      width: 80px;
      height: 80px;
      margin-right: 15px;
      float: left;
    }
    .minicart-pd-meta {
      display: inline-block;
      text-align: left;
      float: left;
      > a {
        display: block;
        padding-right: 40px;
      }
      .quantity {
        display: block;
        margin: 10px 0 0 0;
        display: inline-block;
        float: left;
      }
      .variation {
        margin: 10px 0 -8px 0;
        dt {
          float: left;
          margin-right: 10px;
        }

        dd {
          margin: 5px;
            p {
              margin: 0;
            }
        }
      }
    }
    .remove {
      position: absolute;
      top: 12px;
      right: 15px;
      color: #ccc;
    }
  }
  .total {
    display: inline-block;
    width: 100%;
    text-align: center;
    border-top: 1px solid;
    border-bottom: 1px solid;
    margin-top: 0;
    padding-top: 10px;
    padding-bottom: 10px;
  }
  .buttons {
    .button {
      display: inline-block;
      height: 50px;
      line-height: 50px;
      padding-left: 25px;
      padding-right: 25px;
      border-radius: 5px;
      float: left;
      border: 0 none;
      &.checkout {
        float: right;
      }
    }
  }
}


