//
// Ecommerce
// 

// Dashboard

.dashboard-map {
  height: 270px;
}
.renenue-chart{
  position: relative;
  height: 350px;
}
.card-eco{
  .card-eco-title{
    border: 2px solid $white;
    border-radius: 8px;
    padding: 2px 8px;
    position: relative;
    top: -30px; 
    &.eco-title-success{
      background-color: $success;
      color: $white;
      box-shadow: 0px 0px 0px 1px $success
    }
    &.eco-title-danger{
      background-color: $danger;
      color: $white;
      box-shadow: 0px 0px 0px 1px $danger
    }
    &.eco-title-secondary{
      background-color: $secondary;
      color: $white;
      box-shadow: 0px 0px 0px 1px $secondary
    }
    &.eco-title-purple{
      background-color: $purple;
      color: $white;
      box-shadow: 0px 0px 0px 1px $purple
    }
    &.eco-title-warning{
      background-color: $warning;
      color: $white;
      box-shadow: 0px 0px 0px 1px $warning
    }   
  } 
  .bg-pattern{
    position: absolute;
    background-image: url('../images/1.png');
    background-position: center center;
    background-size: cover; 
    background-repeat: no-repeat;
    opacity: 0.3;
    z-index: 0;
    width: 140px;
    height: 100%;
    top: 0;
    right: 0;
  }
  .card-eco-icon{
    font-size: 40px;
    color: $gray-500;
    
    &.bg-icon-purple{
      background-color: $purple;
      box-shadow: 0px 5px 5px 0.25px rgba($purple, 0.5);
    }
    &.bg-icon-pink{
      background-color: $pink;
      box-shadow: 0px 5px 5px 0.25px rgba($pink, 0.5);
    }
    &.bg-icon-secondary{
      background-color: $secondary;
      box-shadow: 0px 5px 5px 0.25px rgba($secondary, 0.5);
    }
    &.bg-icon-warning{
      background-color: $warning;
      box-shadow: 0px 5px 5px 0.25px rgba($warning, 0.5);
    }
  }
  h3{
    font-size: 28px;
  }
}

.re-customers-detail{
  h3{
    color: $gray-700;
    font-weight: 600;
    font-size: 22px;
  }
}

.order-list {
  table {
    td {
      img {
        width: 40px;
      }
    }
  }
}



.e-co-product{
  background-color: lighten($gray-300, 4%);
  a{
    text-align: center !important;
    padding-top: 30px;
    img{
      height: 230px;
    }
  }
  .ribbon-box {
    position: relative;
    margin-bottom: 0;
    padding-top: 30px;
    .ribbon {
      position: absolute;
      color: $white;
    }
    .ribbon-label{
      clear: none;
      padding: 0 5px;
      height: 66px;
      width: 66px;
      line-height: 66px;
      text-align: center;
      left: 0;
      top: 0;
      border-radius: 52% 48% 23% 77% / 44% 68% 32% 56%;
      font-weight: 500;
    }
  }
  .product-info{
    background-color: $white;
    .product-title{
      font-size: 15px;
      color: $gray-600;
      font-weight: 500;
    }
    .product-price{
      color: $gray-700;
      font-weight: 600;
      padding: 5px 0;
      margin-bottom: 0;
      font-size: 24px;
      span{
        color: $gray-500;
        font-weight: 400;
        font-size: 13px;
      }
    }
    .product-review{
      li{
        margin: 0;
        i{
          font-size: 20px;
        }
      }
    }
    
    .wishlist,
    .quickview{
      border-radius: 50px;
      padding: 4px 10px;
      opacity: 0;
      transition: all .3s ease-out;
    }
  }
  &:hover{
    .wishlist,
    .quickview{
      opacity: 1;
    }
    box-shadow: 0px 0px 13px 0px rgba($gray-200, 0.1);
  }
}
.offer-box{
  background-image: url('../images/products/offer.jpg');
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  .offer-content{
    padding: 30px;
    h3{
      font-weight: 600;
      font-size: 30px;
      color: $gray-700; 
    }
  }
}



.ribbon{  
    position: absolute;
    top: 0;
    padding: 6px;
    left: -5px;
    color: $white;    
    &:before {
      position: absolute;
      top: 31px;
      left: 0;
      content: "";
      border: 3px solid transparent;
    }
  &.ribbon-pink {
    background-color: $pink;    
    &:before {      
      border-top-color: $pink;
      border-right-color: $pink;
    }
  }
  &.ribbon-secondary {
    background-color: $secondary;    
    &:before {      
      border-top-color: $secondary;
      border-right-color: $secondary;
    }
  }
}


hr.thick {
  border: 0;
  height: 3px;
  max-width: 150px;
  background-image: linear-gradient(to right,$primary,$purple);
  border-radius: 30px;
}

//
// Product Detail
//


.single-pro-detail{
  .custom-border{
    width: 60px;
    height: 2px;
    background-color: $dark;
  }
  .pro-title{
    color: $gray-700;
    font-size: 24px;
  }  
  .product-review{
    li{
      margin: 0;
      i{
        font-size: 16px;
      }
    }
  }
  .pro-price{
    color: $gray-700;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 0;
    span{
      font-size: 14px;
      color: $gray-500;
    }
  }
  .quantity{  
    input {
      width: 14%;
      display: inline-flex;      
      height: calc(24px + 12px + 5px);
    }
  }
  .pro-features{
    li{
      line-height: 26px;
      color: $text-muted;
      &::before{
        content: "\f00c" !important;
        font-family: 'Font Awesome 5 Free' !important;
        font-weight: 600;
        font-size: 12px;
        color: $success !important;
        display: inline-block;
        margin-right: 8px;
      }
    }
  }
  .form-check-inline{
    margin-right: 5px;
  }
}
.pro-order-box{
  padding: 20px;
  border: 1px solid $gray-200;
  border-radius: 3px;
  background-color: lighten($gray-100, 5%);
  box-shadow: 0px 0px 13px 0px rgba($gray-200,0.05);
  i{
    font-size: 42px;
  }
}


.review-box{
  background-color: $gray-100;
  padding: 20px;
  justify-content: center;
  align-items: center;
  h1{
    font-size: 48px;
    color: $danger;
  }
  .product-review{
    li{
      margin-right: 0;
      i{
        font-size: 22px;
      }
    }
  }
}

.reviewer{
  padding-bottom: 12px;
  margin-top: 8px;
  border-bottom: 2px dotted $gray-200; 
  .product-review{
    li{
      margin-right: 0;
      
    }
  }
}


// Cart

.total-payment,
.shopping-cart{
  .table,
  table{
    thead {
      tr {
        th{
          font-size: 15px;
        }
      }
    }    
    tbody{
      td{
        padding: 20px 10px;
        border-top: 0;
        border-bottom: 1px solid $gray-200;
        .product-name{
          font-size: 14px;
          color: $gray-700;
          font-weight: 500;
        }
      }
      tr:last-child td{
        border-bottom: 0;
      }
    }    
  }
}
.total-payment{
  border:1px solid $gray-200;
  background-color: lighten($gray-100, 3%);
  border-radius: 3px;
  .payment-title{
    color: $gray-700;
    font-weight: 500;
  }
}
.cart-promo{
  padding: 90px;
  background-image: url(../images/products/bg-cart.png);
  background-position: center center;
  background-size: cover;

}

.jp-card .jp-card-front, 
.jp-card .jp-card-back{
  background: $dark !important;
}

.balence-nav{
  .nav{
    background-color: $card-bg;
    .nav-link{
      padding: 8px;
      color: $gray-700;
      margin-bottom: 10px;
      font-weight: 500;     
      margin-right: 5px;
      width: 70px;
      height: 50px;
      &.active{
        color: $primary;
        background: lighten($gray-100, 5%);
        box-shadow: 0px 0px 13px 0px rgba($gray-500, 0.25);
      }
    }
  }
}



.billing-nav{
  .nav{
    &.nav-pills{
      background-color: $card-bg;
    }
    .nav-link{
      padding: 8px;
      color: $gray-700;
      margin-bottom: 10px;
      font-weight: 500;     
      margin-right: 5px;
      width: 105px;
      height: 60px;
      &.active{
        color: $primary;
        background: lighten($gray-100, 5%);
        box-shadow: 0px 0px 13px 0px rgba($gray-500, 0.25);
      }
    }
  }
}

.lightpick{
  box-shadow: none;
  font-family: $font-secondary;
  background-color: $card-bg;
  border: 1px solid $border;
  z-index: 99;
  &.lightpick--inlined{
    display: block;
  }
  .lightpick__month{
    width: 100%;
    background-color: $card-bg;
  }
  .lightpick__day{
    color: $gray-500;
  }
  .lightpick__previous-action, 
  .lightpick__next-action, 
  .lightpick__close-action{
    background-color: $gray-200;
    padding-bottom: 4px;
  }
  .lightpick__month-title-bar{
    margin-bottom: 22px;
    .lightpick__month-title > .lightpick__select-months{
      color: $gray-700;
      font-weight: 500;
    }
  }
  
  .lightpick__day-of-the-week{
      color: $gray-700;
      font-weight: 500;
      font-size: 13px;
  }
  .lightpick__day.is-start-date, 
  .lightpick__day.is-end-date, 
  .lightpick__day.is-start-date:hover, 
  .lightpick__day.is-end-date:hover,
  .lightpick__day:not(.is-disabled):hover,
  .lightpick__day.is-today{
    color: $primary;
    background-color: $gray-200;
    background-image: none;
    font-weight: 500;
    display: flex;
    justify-content: center;
    width: 40px;
    height: 40px;
    text-align: center;
    border-radius: 50%;
    margin: 0 auto;
  }
  .lightpick__day.is-today{
    border: 3px solid lighten($gray-100, 2%);
    box-shadow: 0px 0px 0px 1.25px $gray-200;
    font-weight: 600;
  }
  .lightpick__month-title > .lightpick__select{
    color: $gray-700;
  }
  .lightpick__toolbar{
    .lightpick__previous-action,
    .lightpick__next-action{
      color: $gray-700;
    }
  }
} 


.transaction-history{
  li{
    border-bottom: 1px solid $gray-200;
    padding: 12px 0;
  }
  li:last-of-type{
    border: none;
    padding-bottom: 0;
  }
  .transaction-icon{
    align-self: center;
    margin-right: 12px;
    i{
      font-size: 20px;
      width: 36px;
      height: 36px;
      display: inline-block;
      line-height: 36px;
      text-align: center;
      background-color: rgba($primary,0.15);
      color: $primary;
      border-radius: 50%; 
    }
  }
  
  .transaction-data{
    h3{
      font-size: 14px;
      color: $gray-700;
    }
  }
}