﻿/* mobi */
@media only screen and (max-width: 768px) {
  .section-title-custom {
    margin-bottom: 15px !important;
    margin-top: 30px;
  }

  .productpopup__details__pic__left {
    width: 15% !important;
  }

  .productpopup__details__slider__content {
    width: calc(85% - 20px) !important;
    float: left;
    margin-left: 20px;
  }

  .col-sm-6 {
    -ms-flex: 0 0 50%;
    flex: 0 0 50%;
    max-width: 50%
  }

  .carousel-control-prev_custom {
    top: -50px;
  }

  .carousel-control-next_custom {
    top: -50px;
  }

  .search-model-form-mb, .cart_mb {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .breadcrumb-option {
    margin-top: 120px !important;
  }

  .header_desk {
    display: none !important;
  }

  .section_1 {
    margin-top: 114px
  }

  .product__details__text h3 {
    font-size: 22px;
  }

  .product_sum {
    overflow: hidden;
  }

    .product_sum > table {
      width: unset !important;
    }

  .desk_chat {
    display: none !important;
  }
}

/* desk */
@media only screen and (min-width: 768px) {
  .carousel-control-prev_custom {
    left: -50px;
  }

  .carousel-control-next_custom {
    right: -50px;
  }

  .search-model-form-mb {
    display: none;
  }

  .search-model-form-mb, .cart_mb {
    display: none;
  }

  .header_mb {
    display: none !important
  }

  .section_1 {
    margin-top: 85px
  }

  .mobile_chat {
    display: none !important;
  }

  .desk_chat {
    display: block !important;
    position: fixed;
    bottom: 20vh;
    right: 15px;
    z-index: 2000
  }

  .product_sum {
    overflow: hidden;
  }

  .chat-item-desk {
    width: 100% !important;
    height: 50px;
    border: 1px solid #e0c150;
    border-radius: 50%;
  }
}

.mobile_chat {
  background: linear-gradient(180deg, black, orange);
  background-image: linear-gradient(black, orange);
  background-position-x: initial;
  background-position-y: initial;
  background-size: initial;
  background-repeat: initial;
  background-attachment: initial;
  background-origin: initial;
  background-clip: initial;
  background-color: initial;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  box-shadow: #ebebeb 0 0 20px;
}

.chat-item {
  width: 25%;
  padding: 5px 10px;
}

  .chat-item .chat-item-image {
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .chat-item .chat-item-image {
    width: 100%;
    float: left;
  }

    .chat-item .chat-item-image img {
      height: 32px;
    }

  .chat-item .chat-item-text {
    color: white;
    height: 20px;
    font-size: 11px;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .chat-item .chat-item-text {
    width: 100%;
    float: left;
  }

.logo_mb {
  height: 70px;
  width: auto;
  padding: 6px 0px;
}

.cart_mb {
  position: absolute;
  right: 15px;
  top: 24px
}

  .cart_mb > a {
    margin-right: 20px;
    cursor: pointer;
    font-size: 18px;
    color: #fff;
    position: relative;
  }

    .cart_mb > a > .tip {
      position: absolute;
      right: -12px;
      top: -11px;
      height: 18px;
      width: 18px;
      background: #fff;
      font-size: 10px;
      font-weight: 500;
      color: red;
      line-height: 18px;
      text-align: center;
      border-radius: 50%;
    }

@media (min-width: 1000px) {
  .modal-dialog {
    max-width: 900px !important;
    margin: 1.75rem auto;
  }
}

#listcart_header {
  position: absolute;
  background: white;
  width: 300px;
  right: 5%;
  z-index: 1;
  top: 70px;
}

.cart-count1 {
  position: absolute;
  background: red;
  color: #fff;
  padding: 2px 8px;
  font-size: 11px;
  right: 0;
  border-radius: 4px;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  top: 0;
}


/*cart*/
.cart_container {
  display: grid;
  grid-template-columns: 1fr 40%;
  padding: 10px;
  max-width: 95%;
  margin: 20px auto;
  line-height: 1.5;
}

.user_cart {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 30px;
}

.user_info {
  width: 100%;
}

.cart_container h3 {
  margin: 20px 0;
}

.user_info .user_input {
  border: thin solid #aeaeae;
  background: white;
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0;
}

.user_info input {
  border: none;
  background-color: transparent;
  width: 100%;
}

.delivery_method {
  width: 100%;
}

.city_select select {
  width: 100%;
  border-radius: 5px;
  padding: 10px 5px;
  margin: 0px 5px 0 0px;
}

.user_addr_input {
  width: 100%;
  border: thin solid #aeaeae;
  border-radius: 5px;
  padding: 10px;
  margin: 10px 0;
}

.city_select select {
  border-radius: 5px;
  padding: 10px 5px;
}

.payment_method {
  width: 100%;
}

  .payment_method > div {
    margin-bottom: 15px;
    grid-template-columns: 20px 1fr;
    grid-gap: 10px;
    line-height: 20px;
    align-items: center;
  }

.total_amount {
  padding: 20px;
  background: #f4f6f7;
  border-radius: 20px;
}

  .total_amount .cart_detail {
    height: auto;
  }

.user_addr_input input {
  border: none;
  background-color: transparent;
  width: 100%;
  border: none;
  width: 100%;
}

.cart_detail {
  display: flex;
  width: 100%;
  height: 100vh;
  flex-direction: column;
  align-items: center;
  overflow-y: hidden;
  padding: 0;
}

.cart_item-list {
  overflow-y: auto;
  max-height: calc(100vh);
  width: 100%;
}

.search-model-form-mb {
  margin-bottom: 10px;
  text-align: center;
  /*  border-radius: 50px;
  background: white;*/
}

  .search-model-form-mb > input {
    font-size: 18px;
    line-height: 40px;
  }

@media (max-width: 426px) {
  .cart_item-list {
    max-height: calc(100% - 111px);
  }
}

@media (max-width: 1225px) {
  /*  .cart_item-list {
    min-height: 35vh;
  }*/
}

.remove_item_mini_cart .icon-bin {
  width: 15px !important;
  height: 15px !important;
  stroke: #aeaeae;
  fill: transparent;
}

.cart_preview .item_info > * {
  margin-bottom: 10px;
}

.cart_preview .item_info > * {
  color: #111111;
  margin-bottom: 10px;
}

.payment_detail {
  color: #111111;
}

  .payment_detail > .total > * {
    color: #111111;
  }

.item_info {
  padding: 15px 15px 0 15px !important;
}

.add_item {
  display: flex;
  align-items: center;
  margin-top: 10px;
}

  .add_item span {
    transition: all ease-in-out .3s;
    border: none;
    background: 0 0;
    font-size: 20px;
  }

  .add_item span {
    width: 30px;
    padding: 5px 10px;
    text-align: center;
  }

  .add_item input {
    padding: 5px 0;
    border: thin solid black;
    background-color: white;
    border-radius: 5px;
    text-align: center;
    align-items: center;
    width: 30px;
  }


.remove_item_mini_cart {
  position: absolute;
  padding: 3px 4px 0px 3px;
  background-color: white;
  cursor: pointer;
}

.cart_preview {
  margin: 0;
  position: relative;
}

.img_preview {
  padding: 0 !important;
}

#SaveOrder {
  width: 100%;
  font-size: 14px;
  text-transform: uppercase;
  background-color: #ba8562;
  padding: 20px;
  border: none;
  color: white;
}

.close_quickview {
  z-index: 2;
  font-size: 30px;
  right: 0;
  height: 30px;
  top: 0;
  position: absolute;
  width: 30px;
}

.modal-content {
  border: 0px solid;
}

.product-scroll-content > .price {
  font-size: 16px;
  font-weight: 600;
  color: #ba8562 !important;
}

.team-item > h4 > a {
  color: #ba8562 !important
}

.cart_header_top_box {
  border: 1px solid #aeaeae;
}

  .cart_header_top_box:before {
    content: '';
    border-top: 8px solid transparent;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-bottom: 8px solid #fff;
    position: absolute;
    top: -16px;
    right: 0;
  }

.cart_icon_trang {
  border: 2px solid white;
  height: 50px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 37px;
  background-image: url(/Content/style/images/cart_trang.png);
  width: 50px;
  border-radius: 50%;
}

.cart_icon_xam {
  border: 2px solid #a6a5a5;
  height: 50px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 37px;
  background-image: url(/Content/style/images/cart_xam.png);
  width: 50px;
  border-radius: 50%;
}


.btn-primary {
  background-color: #ba8562
}

.btn-primary {
  position: relative;
  /*  height: 36px;
  line-height: 34px;
  padding: 0 20px;*/
  padding: 7px 30px;
  cursor: pointer;
  border-radius: 0;
  color: white;
  background: #ba8562;
  text-align: center;
  border: 0px solid #ffffff;
  font-weight: 500;
  /*  width: 100%;*/
  border-radius: 0;
  text-transform: uppercase;
}

  .btn-primary.focus, .btn-primary:focus {
    color: #ba8562;
    background-color: white;
    border-color: #ba8562;
    box-shadow: 0 0 0 .2rem rgba(38, 143, 255, .5);
  }

  .btn-primary:hover {
    color: #ba8562;
    background-color: white;
    border-color: #ba8562;
  }

.price-holder, .count_total {
  color: #ba8562 !important
}

.text-2-line {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-align: justify;
}
