@charset "utf-8";
/* 공용 */
.cart--wrap {
  padding-bottom: 12rem;
}
.cart__content--wrap {
  width: 100%;
}
.cart__content-top {
  position: fixed;
  width: 100%;
  top: 8.9rem;
  z-index: 1;
}


.cart__check-wrap {
  display: flex;
  width: 100%;
  padding: .8rem 1.6rem;
  background-color: #fff;
  justify-content: space-between;
  align-items: center;
}
.cart__check-wrap .sort__checkbox label {
  font-size: 1.4rem;
  font-weight: 600;
}
.cart__check-wrap .sort__checkbox label::before {
  width: 2.2rem;
  height: 2.2rem;
  margin-right: .8rem;
}
.cart__content {
  padding: 3.5rem 1.6rem;
  overflow: hidden;
}


.cart__content--bg {
  background-color: #f4f7fb;
  padding: 2.4rem 1.6rem 3.6rem;
}
.cart__content-top + .cart__content--bg  {
  padding: 7.2em 1.6rem 3.6rem;
}

.delivery__free-shipping {
  margin-bottom: 1.6rem;
}
.delivery__free-shipping .delivery__free-shipping-top{
  color: #999;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.5;
}
.delivery__free-shipping .delivery__free-shipping-text {
  margin-bottom: .7rem;
  color: #222;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}
.delivery__free-shipping .delivery__free-shipping-text .highlight {
  color: #ff3b00;
}
.delivery__free-shipping-progress {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-right: 1rem;
}
.delivery__free-shipping-bar {
  position: relative;
  flex: 1;
  height: 0.8rem;
  background-color: #f2d6cc;
  border-radius: 1rem;
  overflow: hidden;
}
.delivery__free-shipping-bar--fill {
  height: 100%;
  border-radius: 10px;
  background: linear-gradient(90deg, #ff7348 0%, #ff3b00 100%);
  border-radius: 1rem;
}
.delivery__free-shipping-icon {
  display: inline-block;
  width: 2.4rem;
  height: 2.4rem;
  background: url(../../images/icon/ico_delivery_progress.svg) no-repeat;
  flex-shrink: 0;
}
.delivery__free-shipping-icon.is-complete {
  background-image: url(../../images/icon/ico_delivery_progress_complete.svg);
}
/* 스토어 목록 */
.cart__store-box {
  padding: 2.4rem 1.6rem;
  border-radius: 1rem;    
  background: #fff;
}
.cart__store-box:not(:last-child) {
  margin-bottom: 1.6rem;
}
.cart__store-box .sort__checkbox label::before{
  width: 2.2rem;
  height: 2.2rem;
  margin-right: 0.8rem;
  color: #222;
}
.cart__store-box.close {
  padding: 1.6rem;
}
.cart__store-box.close .cart__store--close-btn {
  transform: rotate(0);
}
.cart__store-header {
  display: flex;
  margin-bottom: 1.6rem;
  justify-content: space-between;
  align-items: center;
}
.cart__store-box.close .cart__store-header {
  margin-bottom: 0;
}
.cart__store-header .sort__checkbox label {
  color: #222;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}
.cart__store-header .cart__store--close-btn {
  width: 2.4rem;
  height: 2.4rem;
  background: none;
  transform: rotate(-180deg);
}

/* 상품 리스트 - 상품 */
.cart__store-content {
  padding-top: 1.6rem;
  border-top: 1px solid #ececec;
}
.cart__product-list {
  display: flex;
  flex-flow: column;
  gap: 2.5rem;
  margin-bottom: 2.4rem;
}
.cart__product-header {
  display: flex;
  margin-bottom: 1.6rem;
  gap: .8rem;
  justify-content: space-between;
  align-items: flex-start;
}
.cart__product-header .sort__checkbox label::before {
  margin-right: 0;
}
.cart__product-notice {
  padding: 1.2rem 0 0 3.2rem;;
  color: #ff3b00;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.71;
}
.cart__product-name {
  flex: 1 0;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.cart__product-delete-btn {
  width: 2rem;
  height: 2rem;
  background: none;
}

.cart__product-info {
  display: flex;
  padding-left: 3.2rem;
  gap: 1.6rem;
}
.cart__product-info .cart__product-info--thumb{
  position: relative;
  display: flex;
  width: 9.4rem;
  height: 10.8rem;
  background-color: #f4f7fb;
  border: .1rem solid #f2f2f2;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}
.cart__product-info .cart__product-info--thumb > .thumb--image{
  position: absolute;
  top: 0;
  width: auto;
  height: 100%;
  object-fit: cover;
}
.cart__product-info .cart__product-info--detail {
  display: flex;
  flex-flow: column;
  justify-content: space-between;
}
.cart__product-origin-price {
  color: #c0c0c0;
  font-size: 1.4rem;
  font-weight: 600;
  line-height: 1.57;
  text-decoration-line: line-through;
}
.cart__product-price {
  color: #222;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.5;
}
.cart__product-price .highlight{
  color: #ff3b00;
  font-weight: 700;
  margin-right: .4rem;
}
.cart__product-price-row--sold-out .cart__product-origin-price {
  color: #ff3b00;
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.71;
  text-decoration: none;
}
.cart__product-price-row--sold-out .cart__product-price {
  color: #c0c0c0;
}
.product__list-wrap:not(:last-child) {
  margin-bottom: 3.6rem;
}
.cart-product__list .product__swiper.swiper{
  padding: 0;
}

.product__list-title {
  margin-bottom: 1.6rem;
  color: #222;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.33;
}
.cart__product-info .cart__product-info--detail .button__outline{
  min-width: 9.7rem;
}


.cart__product-option {
  display: flex;
  margin-top: 1.6rem;
  padding: 2.4rem 1.6rem;
  border-radius: 1rem;
  background: #f9f9f9;
  flex-flow: column;
  gap: 1.6rem;

}
.cart__product-option-item {
  padding-bottom: 1.6rem;
}
.cart__product-option-item:not(:last-child) {
  border-bottom: 1px solid #ececec;
}

.cart__product-option-header {
  display: flex;
  margin-bottom: 1.6rem;
  gap: .8rem;
  justify-content: space-between;
  align-items: flex-start;
}
.cart__product-option-header .cart__product-name{
  display:block;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  -webkit-line-clamp: none;
  -webkit-box-orient: unset;
}
.cart__product-option-body {
  display: flex;
  margin-bottom: 1.6rem;
  justify-content: space-between;
  align-items: center;
}
.cart__product-option-item .cart__product-notice{
  padding: 0;
}

.cart__product-option-item .info__label {
  color: #222;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}
.cart__product-option-item .info__amount {
  color: #222;
  text-align: right;
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.5;
}

.cart__store-total {
  display: flex;
  padding-top: 2.4rem;
  border-top: 1px solid #ececec;
  flex-flow: column;  
  gap: .8rem;
}
.cart__store-total .info__row {
  color: #666;
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.28;
}
.cart__store-total .info__row.info__row-total {
  color: #222;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}
.cart__store-total .info__row.info__row-total .info__amount{
  font-weight: 800;
}

/* ==================== 장바구니에 물건 없을때 ==================== */
.no__cart {
  display: flex;
  flex-flow: column;
  gap: 1.6rem;
  padding: 8rem 0;
  align-items: center;
  justify-content: center;
}
.no__cart .no__cart-image {}
.no__cart .no__cart-link {
  border-radius: 2rem;
  padding: .6rem 1.6rem;
  border: 1px solid #dde4ed;
  background: #fff;
  color: #222;
  font-size: 1.4rem;
  font-weight: 500;
}
.no__cart .no__cart-text {
color: #222;
text-align: center;
font-size: 1.6rem;
font-weight: 600;
line-height: 1.5
}



/* ==================== 구매혜택 선택하기 ==================== */
#dialog__cart--purchase-benefit .dialog__contents{
  padding-bottom: 4rem;
}
.purchase-benefit__title {
  color: #222;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.33;
}
.coupon__select--title {
  padding: 0 0 .8rem;
  margin-bottom: 1.6rem;
}
.purchase-benefit__item:not(:last-child) {
  margin-bottom: 3.6rem;
}


/* ==================== 설문조사 이벤트 ==================== */
#dialog__cart--survey-event .dialog__contents{
  padding-bottom: 4rem;
}
.survey-event__title {
  color: #222;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.33;
}
#dialog__cart--survey-event .survey-event__item--title {
  padding: 0 0 .8rem;
  margin-bottom: .8rem;
  font-size: 1.8rem;
  border-bottom: none;
}
.survey-event__item:not(:last-child) {
  margin-bottom: 3.6rem;
}

/* 설문 유형 */
.survey__list-item:not(:last-child) {
  margin-bottom: 3.6rem;
}
.survey__list-title {
  margin-bottom: 2.4rem;
}
.survey__answer.survey__answer--image {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 2.4rem;
}
.survey__answer.survey__answer--image .survey__answer-box {
  flex: 1 1 calc(50% - 2.4rem);
}
.survey__answer.survey__answer--image .survey__answer--thumb{
  position: relative;
  display: flex;
  width: 9.6rem;
  height: 11rem;
  background-color: #f4f7fb;
  border: .1rem solid #f2f2f2;
  border-radius: 4px;
  overflow: hidden;
  justify-content: center;
  align-items: center;
}
.survey__answer.survey__answer--image .survey__answer--thumb .thumb--image{
  position: absolute;
  top: 0;
  width: auto;
  height: 100%;
  object-fit: cover;
}
.survey__answer.survey__answer--text {
  display: flex;
  flex-flow: column;
  gap: 1.6rem;
}
.survey__answer .sort__checkbox {
  position: relative;
}
.survey__answer .sort__checkbox label {
  margin-right: 1.2rem;
  justify-content: flex-start;
  align-items: flex-start;
  color: #222;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
}
.survey__answer .sort__checkbox label::before {
  width: 2.4rem;
  height: 2.4rem;
}
.survey__answer .text-area__box {
  display: block;
  width: 100%;
  padding: 1rem 1.6rem;
  border-radius: 6px;
  border: 1px solid #ececec;
  background: #fff;
}
.survey__answer .text-area__box .text-area__box--inner {
  width: 100%;
  height: 12rem;
  border: none;
}
.survey__answer .text-area__box .text-area__box--inner::placeholder {
  color: #c0c0c0;
}



/* ==================== 장바구니 페이지 전용 바텀 ==================== */
.bottom__group--crat {
  border-radius: 2.4rem 2.4rem 0px 0px;
  padding: 1.2rem 2.4rem 3.4rem;
  background: #fff;
  box-shadow: 0px -4px 10px 0px rgba(0, 0, 0, 0.05);
  gap: 0;
}

.bottom__group--crat .button__toggle {
  display: flex;
  width: 100%;
  margin-bottom: 1.6rem;
  background: none;
  align-items: center;
  justify-content: center;
}
.bottom__group--crat .button__toggle .button__toggle-icon {
  width: 2.4rem;
  height: 2.4rem;
  transform: rotate(0deg);
}
.bottom__group--crat .button__toggle.up .button__toggle-icon {
  transform: rotate(-180deg);
}
.bottom__group--crat .purchase__summary-box {
  display: none;
}
.bottom__group--crat .purchase__summary-price.group {
  display: flex;
  margin-bottom: 1.6rem;
  justify-content: space-between;
}
.bottom__group--crat .info__label {
  color: #222;
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1.5;
}
.bottom__group--crat .info__amount {
  color: #222;
  text-align: right;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
}
.bottom__group--crat .purchase__summary-price.total {
  display: flex;  
  justify-content: space-between;
  margin-bottom: 2.4rem;
}
.bottom__group--crat .purchase__summary-price.total .info__label {
  font-weight: 700;
}
.bottom__group--crat .purchase__summary-price.total .info__amount {
  font-weight: 800;
}
.bottom__group--crat .info__amount.minus {
  color: #ff3b00;
}
.bottom__group--crat .naver__pay-wrap {
  margin-top: 1.6rem;
}
/* 펼쳤을때 */
.bottom__group--crat.open .purchase__summary-price.total {
  padding-top: 1.6rem;
  border-top: 1px solid #ececec;    
}
.bottom__group--crat.open .purchase__summary-price {
  display: flex;
}
