/*
 * cart.css
*/
@charset "UTF-8";

.layer-cart {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  opacity: 0.0;
  display: none;
  background-color: rgba(0,0,0,0.6);
}
.visible {
  display: block;
}
.layer-cart.fade {
  animation-name: cartIn;
  animation-duration: 1500ms;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}
.layer-cart p {
  position: absolute;
  box-sizing: border-box;
  top: calc( 50% - 50px) ;
  left: calc(50% - 100px );
  width: 200px;
  height: 100px;
  padding-top: 80px;
  letter-spacing: normal;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #fff;
  background: url(../gs-images/search/cart-checkin.svg) no-repeat 50% 0;
  background-size: 60px;

}

@keyframes cartIn {
  0% {
    opacity:0.0;
    z-index: 1000;
  }
  1% {
    display: block;
    opacity:0.0;
  }
  20% {
    opacity: 1.0;
  }
  60% {
    opacity: 1.0;
  }
  100% {
    opacity: 0.0;
    display: none;
    z-index: 0;
  }
}

.head-cart {
  width: 28px;
  height: 28px;
}

.head-cart .numOfitmes {
  position:absolute;
  width: 20px;
  height: 20px;
  top: -6px;
  right: -10px;
  padding-top: 3px;
  color: #fff;
  font-size: 10px;
  font-weight: bold;
  text-align: center;
  line-height: 1.5;
  border-radius: 50%;
  background: #f00;
  z-index: 2;

}

.head-cart img {
  position: absolute;
  width: 20px;
  top: 5px;
  left: 4px;
  z-index: 1;
}
