@use '../abstract' as *;

/*----------------------------------------*/
/*  10. PRODUCT CSS START
/*----------------------------------------*/

.product{
    &__sm{
        padding: 20px;
        & ul{
            & li{
                display: flex;
                margin-bottom: 20px;
            }
        }
        &-thumb{
            & img{
                width: 85px;
                height: 100px;
            }
        }
        &-content{
            & h5{
                font-size: 14px;
                margin-bottom: 0px;
                font-weight: 500;
                & a{
                    &:hover{
                        color: $e-blue;
                    }
                }
            }
        }
        &-price{
            color: $e-blue;
            font-weight: 500;
            &-wrapper{
                & span{
                    font-size: 14px;
                }
            }
        }
    }
}




.cartmini{
    &__area{
        position: relative;
    }
    &__wrapper{
        position: fixed;
        right: -360px;
        top: 0;
        width: 340px;
        height: 100%;
        background: $white;
        -webkit-transition: all 600ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
        -moz-transition: all 600ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
        -ms-transition: all 600ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
        -o-transition: all 600ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
        transition: all 600ms cubic-bezier(0.175, 0.885, 0.320, 1.275);
        @include box-shadow(-5px 0 20px -5px rgba(0, 0, 0, 0.5));
		z-index: 9999;
		overflow: hidden;
		&.opened{
			right: 0px;
		}
    }
    &__title{
        padding: 20px 20px;
		border-bottom: 1px solid $border;
        box-shadow: 0 0 10px 0 rgba(129,129,129,.2);
		& h4{
			font-size: 16px;
			text-transform: uppercase;
			font-weight: 600;
			margin-bottom: 0;
		}
    }
	&__close{
		position: absolute;
		top: 17px;
		right: 20px;
		&-btn{
			background: transparent;
			color: $black;
			font-size: 22px;
			&:hover{
				@include transform(rotate(90deg));
			}
		}
	}
    &__widget{
        overflow-y: scroll;
        height: 100%;
    }
    &__inner{
        & ul{
            & li{
                position: relative;
                display: flex;
                padding: 20px;
                padding-right: 35px;
                border-bottom: 1px solid rgba(129,129,129,.2);
                transition: background-color .3s;
                &:hover{
                    background: #F9F9F9;
                }
            }
        }
    }
    &__thumb{
        margin-right: 15px;
        & img{
            width: 70px;
            height: 90px;
        }
    }
    &__content{
        & h5{
            font-size: 13px;
            margin-bottom: 12px;
            font-weight: 500;
            & a{
                &:hover{
                    color: $e-blue;
                }
            }
        }

    }
    &__del{
        position: absolute;
        top: 10px;
        right: 10px;
        width: 25px;
        height: 25px;
        line-height: 25px;
        text-align: center;
        color: $black;
        font-size: 12px;
        background: transparent;
        @include border-radius(50%);
        &:hover{
            background: $white;
        }
    }
    &__checkout{
        padding: 20px;
        padding-bottom: 85px;
        width: 100%;
        background: $white;
        border-top: 2px solid $border;
        &-title{
            & h4{
                font-size: 18px;
                display: inline-block;
                font-weight: 600;
                margin-bottom: 0;
            }
            & span{
                float: right;
                font-size: 20px;
                color: $black;
                font-weight: 600;
                color: $e-blue;
            }
        }
    }
}


.cart-plus,
.cart-minus{
    width: 25px;
    height: 30px;
    border: 2px solid $border;
    display: inline-block;
    vertical-align: middle;
    text-align: center;
    font-size: 14px;
    &:hover{
        cursor: pointer;
        color: $white;
        background: $e-blue;
        border-color: $e-blue;
    }
}

.cart-input{
    height:30px;
    width: 32px;
    text-align: center;
    font-size: 14px;
    border: none;
    border-top: 2px solid $border;
    border-bottom: 2px solid $border;
    display: inline-block;
    vertical-align: middle;
    margin: 0 -3px;
    padding-bottom: 0px;
    &:focus{
        outline: none;
    }
} 



/* 16. Cart */

.cart-area{

    .table-content table {
        background: #ffffff;
        border-color: #eaedff;
        border-radius: 0;
        border-style: solid;
        border-width: 1px 0 0 1px;
        text-align: center;
        width: 100%;
        margin-bottom: 0;
      }
      .table-content .product-quantity {
          float: none;
      }
      .table-content table td.product-name {
        font-size: 16px;
        font-weight: 400;
        text-transform: capitalize;
      }
      
        
      .table > :not(:last-child) > :last-child > * {
        border-bottom-color: #eaedff;
      }
    
      .table-content table td.product-name a:hover {
        color: $black;
      }
      
      .table-content table td {
        border-top: medium none;
        padding: 20px 10px;
        vertical-align: middle;
        font-size: 16px;
      }
      
      .table-content table th, .table-content table td {
        border-bottom: 1px solid #eaedff;
        border-right: 1px solid #eaedff;
      }
      
      
      .table td, .table th {
          border-top: 1px solid #eaedff;
      }

      .table-content table td.product-subtotal {
        font-size: 16px;
      }
      
      .table-content table td .cart-plus-minus {
        float: none;
        margin: 0 auto;
      }
      
      .coupon-all {
        margin-top: 50px;
      }
      
      .coupon {
        float: left;
      }
      
      @media (max-width: 767px) {
        .coupon {
          float: none;
        }
      }
      #coupon_code {
          height: 50px;
          border: 2px solid #eaedff;
          padding: 0 15px;
          margin-right: 10px;
          outline: none;
        @include box-shadow(none);
        &:focus{
            border-color: $black;
        }
      }
      
      @media (max-width: 767px) {
        #coupon_code {
          margin-bottom: 15px;
        }
      }
      
      .coupon2 {
        float: right;
      }
      
      @media (max-width: 767px) {
        .coupon2 {
          float: none;
          margin-top: 15px;
        }
      }
      
      .cart-page-total {
        padding-top: 50px;
      }
      
      .cart-page-total > h2 {
          font-size: 25px;
          margin-bottom: 20px;
          text-transform: capitalize;
      }
      
      .cart-page-total > ul {
        border: 1px solid #eaedff;
      }
      
      .cart-page-total > ul > li {
        list-style: none;
        font-size: 15px;
        color: #6f7172;
        padding: 10px 30px;
        border-bottom: 1px solid #eaedff;
        font-weight: 400;
      }
      
      .cart-page-total ul > li > span {
        float: right;
      }
      
      .cart-page-total li:last-child {
        border-bottom: 0;
      }
      td.product-thumbnail img {
          width: 125px;
      }

      & .product-quantity-form{
          margin: auto;
        width: 122px;
        height: 58px;
        border: 2px solid #dadada;
        text-align: center;
        position: relative;
        @include transition(.3s);
        &:hover{
            border-color: $black;
        }
    }

    & .cart-plus,
    & .cart-minus{
        position: absolute;
        top: 50%;
        left: 0;
        @include transform(translateY(-50%));
        width: 45px;
        height: 40px;
        display: inline-block;
        vertical-align: middle;
        text-align: center;
        font-size: 14px;
        background: transparent;
        border: none;
        outline: none;
        &:hover{
            cursor: pointer;
            color: $black;
            background: transparent;
        }
    }

    & .cart-plus{
        left: auto;
        right: 0;
    }

    & .cart-input{
        height:58px;
        width: 32px;
        text-align: center;
        font-size: 14px;
        border: none;
        display: inline-block;
        vertical-align: middle;
        margin: 0 -3px;
        padding-bottom: 4px;
        background: transparent;
        &:focus{
            outline: none;
        }
    }
}



  
/* 17. Checkout */
.coupon-accordion h3 {
	background-color: #f6f6f6;
	border-top: 3px solid $black;
	font-size: 14px;
	font-weight: 400;
	margin: 0 0 25px;
	padding: 1em 2em 1em 3.5em;
	position: relative;
	width: auto;
}

.coupon-accordion h3::before {
  content: "\f07b";
  left: 15px;
  top: 13px;
  position: absolute;
  color: #6f7172;
  font-family: "Font Awesome 5 Pro";
  font-weight: 700;
}

.coupon-accordion span {
  color: #6f7172;
  cursor: pointer;
  transition: .3s;
  font-weight: 500;
}

.coupon-accordion span:hover, p.lost-password a:hover {
  color: $black;
}

.coupon-content {
  border: 1px solid #eaedff;
  display: none;
  margin-bottom: 20px;
  padding: 30px;
}

.coupon-info p.coupon-text {
  margin-bottom: 15px;
}

.coupon-info p {
  margin-bottom: 0;
}

.coupon-info p.form-row-first label, .coupon-info p.form-row-last label {
  display: block;
  color: #6f7172;
}

.coupon-info p.form-row-first label span.required, .coupon-info p.form-row-last label span.required {
  color: red;
  font-weight: 700;
}

.coupon-info p.form-row-first input, .coupon-info p.form-row-last input {
  border: 1px solid #eaedff;
  height: 45px;
  margin: 0 0 14px;
  max-width: 100%;
  padding: 0 0 0 10px;
  width: 100%;
  outline: none;
  @include box-shadow(none);
  &:focus{
      border-color: $black;
  }
}

.coupon-info p.form-row input[type="submit"]:hover, p.checkout-coupon input[type="submit"]:hover {
  background: #3e976c none repeat scroll 0 0;
}

.coupon-info p.form-row input[type="checkbox"] {
  position: relative;
  top: 2px;
}

.form-row > label {
  margin-top: 15px;
  margin-left: 15px;
  color: #6f7172;
}

.buttons-cart input, .coupon input[type="submit"], .buttons-cart a, .coupon-info p.form-row input[type="submit"] {
  background: #252525 none repeat scroll 0 0;
  border: medium none;
  color: #fff;
  display: inline-block;
  float: left;
  font-size: 12px;
  font-weight: 700;
  height: 40px;
  line-height: 40px;
  margin-right: 15px;
  padding: 0 15px;
  text-transform: uppercase;
  transition: all 0.3s ease 0s;
}

p.lost-password {
  margin-top: 15px;
}

p.lost-password a {
  color: #6f6f6f;
}

p.checkout-coupon input[type="text"] {
  height: 45px;
  padding: 0 15px;
  width: 100%;
  border: 1px solid #eaedff;
  margin-bottom: 15px;
  outline: none;
  @include box-shadow(none);
  &:focus{
      border-color: $black;
  }
}

.coupon-checkout-content {
  display: none;
}

.checkbox-form h3 {
  border-bottom: 1px solid #eaedff;
  font-size: 26px;
  margin: 0 0 20px;
  padding-bottom: 10px;
  width: 100%;
}

.country-select {
  margin-bottom: 30px;
  position: relative;
}
.country-select select{
  width: 100%;
  background-color: transparent;
  border: 1px solid #eaedff;
  padding: 0 10px;
  height: 50px;
}

.country-select label, .checkout-form-list label {
  color: #6f7172;
  display: block;
  margin: 0 0 5px;
}

.country-select label span.required, .checkout-form-list label span.required {
  color: red;
}

.country-select .nice-select {
  border: 1px solid #eaedff;
  height: 45px;
  padding-left: 10px;
  width: 100%;
  color: #6f7172;
  margin-bottom: 20px;
}

.country-select .nice-select .list{
 width: 100%;
}

.country-select .nice-select::after {
	border-top: 4px solid #6f7172;
	border-right: 4px solid transparent;
	border-left: 4px solid transparent;
}

.checkout-form-list {
  margin-bottom: 30px;
}

.checkout-form-list label {
  color: #6f7172;
}

.checkout-form-list input[type="text"], .checkout-form-list input[type="password"], .checkout-form-list input[type="email"] {
  background: #ffffff;
  border: 1px solid #eaedff;
  border-radius: 0;
  height: 45px;
  padding: 0 0 0 10px;
  width: 100%;
  outline: none;
  @include box-shadow(none);
  &:focus{
      border-color: $black;
  }
}

.checkout-form-list input[type="text"]::-moz-placeholder,
.checkout-form-list input[type="password"]::-moz-placeholder,
.checkout-form-list input[type="email"]::-moz-placeholder {
  color: #6f7172;
  opacity: 1;
}

.checkout-form-list input[type="text"]::placeholder,
.checkout-form-list input[type="password"]::placeholder,
.checkout-form-list input[type="email"]::placeholder {
  color: #6f7172;
  opacity: 1;
}

.checkout-form-list input[type="checkbox"] {
  display: inline-block;
  margin-right: 10px;
  position: relative;
  top: 1px;
}

.create-acc label {
  color: #6f7172;
  display: inline-block;
}

.create-account {
  display: none;
}

.ship-different-title h3 label {
  display: inline-block;
  margin-right: 20px;
  color: #6f7172;
}

.order-notes textarea {
  border: 1px solid #eaedff;
  height: 90px;
  padding: 15px;
  width: 100%;
}

.order-notes textarea::-moz-placeholder {
  color: #6f7172;
  opacity: 1;
}

.order-notes textarea::placeholder {
  color: #6f7172;
  opacity: 1;
}

#ship-box-info {
  display: none;
}

.panel-group .panel {
  border-radius: 0;
}

.panel-default > .panel-heading {
  border-radius: 0;
}

.your-order {
	padding: 30px 40px 45px;
	border: 3px solid #eaedff;
}

@media (max-width: 767px) {
  .your-order {
    padding: 15px;
  }
}

.your-order h3 {
  border-bottom: 1px solid #eaedff;
  font-size: 30px;
  margin: 0 0 20px;
  padding-bottom: 10px;
  width: 100%;
}

.your-order-table table {
  background: none;
  border: 0;
  width: 100%;
}

.your-order-table table th, .your-order-table table td {
  border-bottom: 1px solid #eaedff;
  border-right: medium none;
  color: #6f7172;
  font-size: 14px;
  padding: 15px 0;
  text-align: left;
}

@media (max-width: 767px) {
  .your-order-table table th, .your-order-table table td {
    padding-right: 10px;
  }
}

.your-order-table table th {
  border-top: medium none;
  color: #6f7172;
  font-weight: normal;
  text-align: left;
  vertical-align: middle;
  white-space: nowrap;
  width: 250px;
}

.panel-body > p {
  color: #222;
}

.your-order-table table .shipping ul li input {
  position: relative;
  top: 2px;
}

.your-order-table table .shipping ul li label {
  color: #6f7172;
}

.your-order-table table .shipping th {
  vertical-align: top;
}

.your-order-table table .order-total th {
  border-bottom: 0;
  font-size: 14px;
}

.your-order-table table .order-total td {
  border-bottom: medium none;
}

.your-order-table table tr.cart_item:hover {
  background: #F9F9F9;
}

.your-order-table table tr.order-total td span {
  color: $black;
  font-size: 18px;
  font-weight: 500;
}

.payment-method {
  margin-top: 40px;

    & .accordion-item:last-of-type {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }
    & .accordion-item {
        background-color: #fff;
        border: 0;
        border-bottom: 1px solid $border-2;
    }
    & .accordion-button{
        font-size: 16px;
        font-weight: 500;
        color: $black;
        padding: 23px 0;
        border: none;
        &:focus{
            @include box-shadow(none);
        }
        &::after{
            position: absolute;
            content: '\f067';
            right: 0;
            top: 50%;
            @include transform(translateY(-50%));
            font-family: $fontawesome;
            font-size: 16px;
            font-weight: 400;
            margin-left: 0;
            background-image: none;
        }
    }
    & .accordion-button:not(.collapsed) {
        color: $black;
        background-color: $white;
        box-shadow: none;
        &::after{
            content: '\f068';
        }
    }
    & .accordion-body{
        padding: 8px 0;
        padding-bottom: 40px;
    }
    & .accordion-collapse{
        border: none;
    }
}

.panel-title > a {
  display: block;
}

.order-button-payment input {
  background: #232323 none repeat scroll 0 0;
  border: medium none;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  height: 40px;
  margin: 0px 0 0;
  padding: 0;
  text-transform: uppercase;
  transition: all 0.3s ease 0s;
  width: 100%;
}

.order-button-payment input:hover {
  background: #3e976c none repeat scroll 0 0;
}

.payment-method .btn-link {
  -moz-user-select: none;
  background: no-repeat;
  border: medium none;
  border-radius: 0;
  color: #444;
  cursor: pointer;
  display: inline-block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 1px;
  line-height: 1;
  margin-bottom: 0;
  padding: 3px 10px;
  text-align: center;
  text-transform: uppercase;
  transition: all 0.3s ease 0s;
  vertical-align: middle;
  white-space: nowrap;
  text-decoration: none;
}

.payment-method .card {
  background-color: #ffffff;
  border: 1px solid #eaedff;
  border-radius: 0;
  margin-bottom: 10px;
}

.payment-method .accordion .card:first-of-type {
  border: 1px solid #eaedff;
}

.card-header:first-child {
  border-radius: 0;
}

.payment-method .card-header {
  background-color: #ffffff;
  border-bottom: 1px solid #eaedff;
}

.order-button-payment button {
  width: 100%;
}
