/* 원본 sections/eilik-cart.liquid 의 {% style %} 블록 이식 — 카트 드로어(#customCart) 공용 스타일 */
.product-cart {
  position: fixed;
  right: 0;
  top: 0;
  transition: all 0.3s ease-in-out;
  transform: translateX(120%);
  z-index: 9999;
}
.product-cart.show {
  font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
  transform: translateX(0%);
}
.product-cart-overlay{
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width:100% ;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index:9998;
}
.product-cart .body {
  height: 100vh;
  width: 500px;
  background-color: #F3F3F7;
  padding: 60px 20px;
  position: relative;
  overflow-y: auto;
  box-sizing: border-box;
  box-shadow: 0px 4px 10px 0px rgba(8, 53, 61, 0.16);
}
.product-cart .body .title {
  font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: bold;
  color: #1b191a;
  line-height: 1;
  text-align: center;
}
.product-cart .body .free {
  font-size: 18px;
  font-weight: bold;
  color: #1b191a;
  line-height: 1;
  margin-top: 20px;
  text-align: center;
  padding: 0 30px;
}
.product-cart .body .tip {
  font-size: 16px;
  margin-top: 4px;
  color: #929292;
  line-height: 22px;
  text-align: center;
  padding: 0 30px;
}
.product-cart .body .close-btn {
  cursor: pointer;
  position: absolute;
  top: 26px;
  right: 30px;
}
.product-cart .body > ul {
  padding: 0 0;
  float:none;
}
.product-cart .body > ul > li {
  list-style: none;
  background-color: #fff;
  margin-top: 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  padding: 30px;
  float:none;

}
.product-cart .body > ul > li > .img {
  width: 80px;
  height: 80px;
  border-radius:8px;
  overflow: hidden;
}
.product-cart .body > ul > li > .img > img {
  width: 100%;
  object-fit: cover;
}
.product-cart .body > ul > li .info {
  flex: 1;
  padding: 0 10px;
}

.product-cart .body > ul > li .info .variant{
  font-size:14px;
  color: #747474;
}
.product-cart .body > ul > li .info .ptitle {
  font-size: 16px;
  font-weight: bold;
  color: #1b191a;
  line-height: 1;
}
.product-cart .body > ul > li .info .price {
  font-size: 16px;
  font-weight: 400;
  color: #929292;
  line-height: 1;
  margin-top: 8px;
}

.product-cart .body > ul > li .ipt > input {
  height: 40px;
  line-height: 40px;
  font-size: 16px;
  width: 120px;
  background-color: #f3f3f3;
  border: 1px solid #DFDFDF;
  color: #323232;
}
.product-cart .body > ul > li .ipt > input:active, .product-cart .body > ul > li .ipt > input:focus {
  outline: none;
}
.product-cart .body > ul > li .tools {
  padding: 0 ;
  margin-left: 16px;
  opacity:0.6;
  transition:all .5s;
}
.product-cart .body > ul > li .tools:hover {
  opacity:1;
}
.product-cart .body > ul > li .tools > a {
   text-decoration:none;
    border : 0;
}
.product-cart .body > ul > li .tools .remove {
  cursor: pointer;
  display:flex;
  align-items: center;
}
.product-cart .body .total-title {
  margin-top: 40px;
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: black;
  line-height: 36px;
}
.product-cart .body .total-price {
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  color: black;
  line-height: 40px;
}
.product-cart .body .desc {
  font-size: 16px;
  text-align: center;
  font-weight: 300;
  color: #929292;
  line-height: 22px;
}
.product-cart .body .btn-wrap {
  margin-top: 40px;
  text-align: center;
}
.product-cart .body .btn-wrap .btn {
  background-color: #3BE3FE;
  border-radius: 30px;

  font-family: "Myriad Pro", Arial, Helvetica, sans-serif;
  font-size: 22px;
  text-align: center;
  color: #fffeff;
  width: 245px;
  height: 50px;

  text-transform:none;
}
.cart{
  display:flex;
  justify-content:flex-end
}
@media screen and (max-width: 750px) {
  .product-cart {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    overflow: hidden;
  }
  .product-cart-overlay{
    display: none!important;
  }
  .product-cart.show {
      display: block;
  }
  .product-cart > form {
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  .product-cart .body {
	max-width: 100%;
    height: 100vh;
    left: 0;
    top: 0;
    overflow-x: hidden;
  }
  .product-cart .body .free {
	font-size: 14px;
  }
  .product-cart .body > ul > li {

  }
  .product-cart .body > ul > li > .img {
	width: 60px;
	height: 60px;
  }
  .product-cart .body > ul > li .info {
      font-size: 12px;
  }
  .product-cart .body > ul > li .info .ptitle {
	font-size: 14px;
  }

  .product-cart .body > ul > li .ipt > input {
    width:90px;
  }
}

/* ===== 드로어 보강 (2026-06-07): 수량 스테퍼 / 빈 카트 / 비활성 버튼 ===== */
#customCart .cd-stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e2e5e9;
  border-radius: 999px;
  overflow: hidden;
  background: #fff;
}
#customCart .cd-step {
  width: 30px;
  height: 30px;
  border: 0;
  background: none;
  font-size: 16px;
  line-height: 1;
  color: #495057;
  cursor: pointer;
  transition: background 0.15s;
}
#customCart .cd-step:hover:not(:disabled) { background: #f1f3f5; }
#customCart .cd-step:disabled { color: #ced4da; cursor: not-allowed; }
#customCart .cd-qty {
  min-width: 26px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  color: #111;
}
#customCart .cd-empty {
  text-align: center;
  padding: 18px 0;
}
#customCart .cd-empty-link {
  display: inline-block;
  margin-top: 10px;
  color: #19c8e0;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
#customCart .cd-empty-link:hover { text-decoration: underline; }
#customCart .btn:disabled {
  background: #e9ecef;
  color: #adb5bd;
  cursor: not-allowed;
}
