/*
  Add to Cart Panel
  OpenCart Version: 2.x - 3.x
  Author: MagDevel (support@magdevel.com)
*/

.atcp-wrapper {
  display: none;
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 5px 0;
  background-color: #fff;
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, 0.3);
  z-index: 99;
}

.atcp-container {
  max-width: 1170px;
  padding-right: 5px;
  padding-left: 5px;
  margin-right: auto;
  margin-left: auto;
}

.atcp-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  min-height: 50px;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}

.atcp-row .atcp-col {
  margin-left: 10px;
  margin-right: 10px;
}

.atcp-col-image {
  width: 50px;
}

.atcp-col-name {
  flex-grow: 2;
  overflow: hidden;
}

.atcp-col-image .img-responsive {
  cursor: pointer;
}

.atcp-name {
  font-size: 16px;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.atcp-col-name .rating > p {
  margin: 0;
}

.atcp-price {
  font-size: 1.6em;
  font-weight: bold;
}

.atcp-old-price {
  color: #999;
  text-decoration: line-through;
}

.atcp-col .input-group {
  width: 120px;
}

.atcp-btn-qty {
  padding-left: 10px;
  padding-right: 10px;
}

.atcp-col .atcp-input-qty {
  padding: 4px;
  text-align: center;
}

.atcp-col-cart-add {
  flex-grow: 1;
  overflow: hidden;
}

.atcp-btn-cart {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.atcp-col .btn-group {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
}

@media (max-width: 767px) {
  .atcp-row .atcp-col {
    margin-left: 5px;
    margin-right: 5px;
  }

  .atcp-col-image {
    max-width: 44px;
  }

  .atcp-col-name {
    display: none;
  }

  .atcp-old-price {
    display: none;
  }

  .atcp-btn-qty {
    padding-left: 8px;
    padding-right: 8px;
  }

  .atcp-col .input-group {
    width: 100px;
  }
}

@media (max-width: 519px) {
  .atcp-col-qty {
    display: none;
  }
}

@media (max-width: 359px) {
  .atcp-col-image {
    display: none;
  }
}
