.modal-mask {
  position: fixed;
  z-index: 9998;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  display: table;
  transition: opacity 0.3s ease;
}

.body-overscroll {
  overflow-y: hidden;
  position: relative;
}

.modal-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100vw;
}

.modal-container {
  width: calc(100% - 56px);
  height: 70vh;
  max-width: 888px !important;
  max-height: 1024px !important;
  margin: 0px auto;
  background-color: #fff;
  border-radius: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.33);
  transition: all 0.3s ease;
  font-family: Helvetica, Arial, sans-serif;
  position: relative;
}

.modal-header h3 {
  margin-top: 0;
  color: #42b983;
}

.modal-body {
  margin: 20px 0;
}

.modal-default-button {
  float: right;
}

/*
   * The following styles are auto-applied to elements with
   * transition="modal" when their visibility is toggled
   * by Vue.js.
   *
   * You can easily play with the modal transition by editing
   * these styles.
   */

.modal-enter {
  opacity: 0;
}

.modal-leave-active {
  opacity: 0;
}

.modal-enter .modal-container,
.modal-leave-active .modal-container {
  -webkit-transform: scale(1.1);
  transform: scale(1.1);
}


/* Enter and leave animations can use different */
/* durations and timing functions.              */
.slide-fade-enter-active {
  transition: all .3s ease;
}

.slide-fade-leave-active {
  transition: all .8s cubic-bezier(1.0, 0.5, 0.8, 1.0);
}

.slide-fade-enter,
.slide-fade-leave-to,
.slide-fade-leave-active {
  transform: translateX(30px);
  opacity: 0;
}

.fade-enter-active,
.fade-leave-active,
.fade-leave {
  transition: opacity .4s linear;
}

.fade-enter,
.fade-leave-to {
  opacity: 0;
}

.pop-enter-active,
.pop-leave-active,
.pop-leave {
  transition: transform 0.4s cubic-bezier(0.5, 0, 0.5, 1), opacity 0.4s linear;
}

.pop-enter {
  opacity: 0;
  transform: translateY(50%);
}

.pop-leave,
.pop-leave-to,
.pop-leave-active {
  transform: translateY(-50%);
  opacity: 1;

}

.kp-add-to-cart-popup-close-btn {
  font-weight: bold;
}

div#kp-add-to-cart-popup {
  border-radius: 5px;
  display: flex;
  flex-direction: column;
}

.kp-add-to-cart-popup-header {
  min-height: 44px;
  display: flex;
  justify-content: end;
}

button.kp-add-to-cart-popup-close-btn {
  border: #fff 2px solid;
  background: none;
  display: flex;
  align-items: center;
  padding-right: 20px;
  font-size: 15px;
  text-decoration: underline;
  cursor: pointer;
  border-radius: 0px 5px 0px 0px;

}

.kp-add-to-cart-popup-close-btn svg {
  padding-left: 10px;
}

button.kp-add-to-cart-popup-close-btn:hover {
  border: #000 2px solid;
  border-radius: 0px 5px 0px 0px;
}

.kp-add-to-cart-popup-header-text {
  flex-grow: 1;
}

.kp-add-to-cart-popup-body {
  flex-grow: 1;
  /* padding: 20px; */
}
.kp-add-to-cart-popup-footer{
  padding:10px 20px;
}
.kp-add-to-cart-popup-footer-content {
  display: grid;
  /* width: 100%; */
  column-gap: 8px;
  grid-template-columns: 1fr 1fr;
}
.kp-add-to-cart-popup-btn{
  display: inline-flex;
  -webkit-box-align: center;
  align-items: center;
  -webkit-box-pack: center;
  justify-content: center;
  border: none;
  text-decoration: none;
  font-family: Inter, sans-serif;
  line-height: 1;
  font-weight: 600;
  text-align: center;
  font-size: 1.1429rem;
  padding: 16px;
  height: 3.4286rem;
  border-radius: 8px;
  color: rgb(0, 0, 0);
  background-color: rgb(216, 209, 203);
}

img.kp-add-to-cart-popup-main-pimage {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.kp-add-to-cart-popup-main-product {
  display: flex;
  flex-direction: row;
}

.kp-add-to-cart-popup-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid rgb(234, 235, 235) !important;
  border-radius: 8px;
  padding: 8px 12px;
}

.kp-add-to-cart-popup-main-ptitle {
      display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  color: rgb(102, 102, 102);
  font-size: 0.8571rem;
  line-height: 1.2;
  font-weight: 400;
}

.kp-add-to-cart-popup-main-pcontent {
  display: flex;
  flex-flow: column;
  justify-content: space-evenly;
  flex-grow: 1;
}

.kp-add-to-cart-popup-main-pprice {
  line-height: normal;
  font-weight: 600;
  font-size: 0.8571rem;
}

.kp-add-to-cart-popup-main-qty-container {
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  background-color: rgb(239, 237, 234);
  border-radius: 8px;
}

button.kp-atcp-btn-minus {
  width: 34px;
  height: 30px;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  border: none !important;
  font-size: 1.4286rem;
  padding: 6px 8px;
  margin: 0px;
  background: transparent !important;

  font-weight: bold;
  line-height: 1.2;
  align-self: center;
}

button.kp-atcp-btn-plus {
  width: 34px;
  height: 30px;
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  border: none !important;
  font-size: 1.4286rem;
  padding: 6px 8px;
  margin: 0px;
  background: transparent !important;
  font-weight: bold;
  line-height: 1.2;
  align-self: center;
}

input.kp-atcp-input {
  border: none !important;
  background: transparent;
  width: 100%;
  height: 100%;
  text-align: center;
  font-size: 1.1429rem;
  line-height: 1.2;
  width:30px !important;
  height:30px !important;
  padding: 0px !important;
}

input.kp-atcp-input::-webkit-outer-spin-button,
    input.kp-atcp-input::-webkit-inner-spin-button {
      display: none;
    }

span.kp-atcp-input-wrapper {
  padding: 8px 10px;
}
.kp-atcp-header{
  line-height: 1.2;
  margin-top: 0px;
  margin-bottom: 0px;
  font-size: 1.5rem;
  font-weight: 400;
}
.kp-atcp-recommended-section{
  background-color: #f4f4f4;
  /* width:100%;
  padding: 24px 40px; */
}

.kp-atcp-recommended-header{
  font-size: 1.5rem !important;
  font-weight: 400;
  line-height: 1.2;
  width:100%;
  margin-top: 25px;
}
.kp-atcp-recommended-item {
  display: flex;
  width: 48%;
}

a.kp-atcp-recommended-item-img {
  margin-right: 20px;
}

.kp-atcp-recommended {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
padding: 0px 20px;
}


.kp-add-to-cart-popup-body {
  overflow-y: scroll;
  overscroll-behavior: contain;
  background-color: #f4f4f4;
}

.kp-add-to-cart-popup-body::-webkit-scrollbar-track, .kp-add-to-cart-popup-body::-webkit-scrollbar{
      background: rgb(255, 255, 255);
  border-left: 1px solid rgb(232, 227, 224);
}
.kp-add-to-cart-popup-body::-webkit-scrollbar {
      width: 6px;
  height: 6px;
}
.kp-add-to-cart-popup-body::-webkit-scrollbar-thumb {
  background: rgb(216, 209, 203);
}

.kp-add-to-cart-popup-main {
  margin: 20px;
}

.kp-atcp-header {
  margin: 0px 20px;
}
.kp-atcp-header-full{
  background-color: rgb(255, 255, 255);
  padding-bottom:10px;
}
.kp-atcp-recommended-item {
  margin-bottom:15px;
  border-radius: 8px;
  padding:5px;
  overflow: hidden;
  background-color: rgb(255, 255, 255);
  border: 1px solid rgb(234, 235, 235) !important;
}
.kp-atcp-recommended-cart-btn{
  border: none !important;
  padding: 12px !important;
  height: 2.8571rem;
  border-radius: 8px;
  color: rgb(255, 255, 255);
  background-color: rgb(0, 38, 67);
  cursor: pointer;
  
  transition: background-color 500ms linear 0s;
}
.kp-atcp-recommended-cart-btn-wrapper{
  display: flex;
  flex-direction: column-reverse;
  padding: 8px;
}

.kp-atcp-recommended-cart-btn:hover {
  background-color: rgb(40, 72, 97);
}

button.kp-add-to-cart-popup-close-btn {
    background-color: #fff !important;
    color: #000  !important;
}
.kp-add-to-cart-popup-close-btn svg {
    width: 25px  !important;
    height: 25px  !important;
}

.kp-atcp-showmore {
  width: 100%;
  text-align: center;
  text-decoration: underline;
  font-size: 15px;
  font-weight: bold;
  cursor: pointer;
  margin-bottom: 25px;
}
.kp-add-to-cart-popup-loader{
  width:100%;
  height:100%;
  display:flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: #f4f4f4;
  position: absolute;
  border-radius: 4px;
}

.kp-add-to-cart-popup-loader-gif {
  width: 48px;
  height: 48px;
  border: 5px solid #FFF;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  position: relative;
  animation: pulse 1s linear infinite;
}
.kp-add-to-cart-popup-loader-gif:after {
  content: '';
  position: absolute;
  width: 48px;
  height: 48px;
  border: 5px solid #FFF;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: scaleUp 1s linear infinite;
}

@keyframes scaleUp {
  0% { transform: translate(-50%, -50%) scale(0) }
  60% , 100% { transform: translate(-50%, -50%)  scale(1)}
}
@keyframes pulse {
  0% , 60% , 100%{ transform:  scale(1) }
  80% { transform:  scale(1.2)}
}
.kp-atcp-upsell-item-img{
  display: flex;
  -webkit-box-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  align-items: center;
  height: 200px;
}
.kp-atcp-upsell-pimage{
  height:100%;
  width:auto;
}

img.kp-atcp-upsell-pimage {
  height: 100% !important;
  width: auto;
}

a.kp-atcp-upsell-item-img {
  background: #fff;
  margin-bottom: 20px;
  border-top-left-radius: 8px !important;
  border-top-right-radius: 8px !important;
  border-bottom-right-radius: 0px !important;
  border-bottom-left-radius: 0px !important;
  padding-top: 15px;
}

.kp-atcp-upsell-item {
  width: 30%;
  margin-bottom: 30px;
  border-radius: 8px !important;
  background-color: rgb(255, 255, 255);
}

.kp-atcp-upsell-item .kp-add-to-cart-popup-main-pcontent {
  padding: 10px 20px;
}

.kp-atcp-upsell-cart-btn-wrapper {
  padding: 0px 20px 10px 20px;
}

button.kp-atcp-upsell-cart-btn {
  width: 100%;
  border: none;
  color: #FFFFFF;
  background-color: var(--e-global-color-primary );
  font-family: "Roboto", Sans-serif;
  font-size: 15px;
  font-weight: 300;
  text-transform: uppercase;
  border-radius: 8px 8px 8px 8px;
  margin-top: 0px;
  cursor:pointer;
}
.kp-add-to-cart-popup-main-product .kp-add-to-cart-popup-main-pcontent {
  padding-left: 20px;
}
.kp-atcp-upsell-item .kp-add-to-cart-popup-main-ptitle {text-align: center;}

.kp-atcp-upsell-item .kp-add-to-cart-popup-main-pprice {
    font-size: 15px;
    font-weight: 700;
    text-align: center;
    padding-top: 15px;
}
button.kp-add-to-cart-popup-btn.kp-add-to-cart-popup-btn-shop {
  background-color: rgb(198, 192, 186);
  color: #000;
}

button.kp-add-to-cart-popup-btn.kp-add-to-cart-popup-btn-shop:hover {
  background-color: var( --e-global-color-primary );
  color: #fff;
}

button.kp-add-to-cart-popup-btn.kp-add-to-cart-popup-btn-cart:hover {
  background:#000;
  color:#fff;
}
button.kp-atcp-btn-minus.disabled {
    cursor: not-allowed;

}
button.kp-atcp-btn-minus.disabled>svg>path {
    stroke: rgba(0,0,0,0.4);
}

@media only screen and (max-width: 600px) {
	.kp-atcp-header {
    font-size: 18px;
}

div#kp-add-to-cart-popup {
    width: 100%;
    height: 90vh;
}

.kp-add-to-cart-popup-main {
    margin: 10px;
    border: none !important;
}

img.kp-add-to-cart-popup-main-pimage {
    width: 60px;
    height: 60px;
}

.kp-add-to-cart-popup-main-product .kp-add-to-cart-popup-main-pcontent {padding-left: 8px;}

button.kp-atcp-btn-plus {
    width: 32px;
    height: 32px;
}

span.kp-atcp-input-wrapper {
    padding: 3px;
}

.kp-atcp-recommended-item {
    width: 100%;
}

h2.kp-atcp-recommended-header {
    font-size: 18px !important;
}

.kp-atcp-upsell-item {
    width: 48%;
}

button.kp-atcp-upsell-cart-btn {
    font-size: 14px;
    padding-left: 5px;
    padding-right: 5px;
}

.kp-atcp-upsell-cart-btn-wrapper {
    padding: 0px 10px 10px 10px;
}

.kp-atcp-upsell-item .kp-add-to-cart-popup-main-pcontent {
    padding: 10px 5px;
}

a.kp-atcp-upsell-item-img {
    height: 130px;
}
}
button.kp-add-to-cart-popup-btn.kp-add-to-cart-popup-btn-cart{
	background:var(--e-global-color-primary );
	color:#fff;
}