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

.atcp-container {
  display: none;
  position: fixed;
  bottom: 20px;
  width: 50%;
  margin-left: 25%;
  margin-right: 25%;
  padding: 15px 8px;
  background-color: #fff;
  border-radius: 6px;
  border-width: 1px;
  border-style: solid;
  border-color: #bbb;
  border-color: rgba(0, 0, 0, .25);
  box-shadow: 0 2px 20px 0 rgba(0, 0, 0, .3);
  z-index: 99;
}

.atcp-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -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: 8px;
  margin-right: 8px;
}

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

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

.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;
}

.atcp-mobile .atcp-container {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  bottom: 0;
  padding: 13px 9px;
  border-radius: 0;
  border-width: 0;
  border-top-width: 1px;
  border-style: solid;
  border-color: #bbb;
  border-color: rgba(0, 0, 0, .15);
  box-shadow: 0 -10px 30px -5px rgba(0, 0, 0, .15);
}

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

@media (max-width: 991px) {
  body:not(.atcp-mobile) .atcp-container {
    width: 60%;
    margin-left: 20%;
    margin-right: 20%;
  }
}

@media (max-width: 359px) {
  .atcp-mobile .atcp-container {
    padding: 10px 6px;
  }

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

  .atcp-mobile .atcp-col .input-group {
    width: 94px;
  }
}
/*
modification for zeekr theme
*/
.atcp-col-qty #atcp-btn-minus {
  margin-right: -1px;
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  border-top-left-radius: 6px;
  border-bottom-left-radius: 6px;
}
.atcp-input-qty {
  border-left: none;
  border-right: none;
}