.order-info {
  position: relative;
  margin-top: 20px;
}

.payment-wrap {
  position: relative;
  display: flex;
  gap: 20px;
}

.payment-wrap .input-wrap {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
}

.payment-wrap .btn.active {
  background: var(--theme);
  color: var(--colorF);
}

.payment-wrap .btn.active2 {
  background: var(--theme3);
  color: var(--colorF);
}

/*payment-left */
.payment-left {
  position: relative;
  flex: 1.5;
}

.payment-left.product {
  flex: 2.2;
}

.payment-left label {
  display: block;
  margin-bottom: 5px;
  font-size: 14px;
  color: #505050;
  font-weight: 500;
}

.point-info,
.coupon-info,
.total-discount {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  font-weight: 500;
}


.total-discount {
  font-weight: bold;
  font-size: 16px;
}




.payment-wrap .payment-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
  margin-bottom: 30px;
  border: solid 1px #ddd;
  border-width: 1px 0;
  gap: 10px;
}


.payment-wrap .payment-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 5px;
}


.payment-wrap .payment-info {
  flex-grow: 1;
  padding-left: 15px;
}

.payment-wrap .payment-price {
  font-size: 20px;
  color: var(--color0);
  margin-top: -20px;
}

.payment-wrap .payment-number {
  color: var(--color7);
  margin-bottom: 10px;
}

.payment-wrap .payment-detail-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.payment-wrap .payment-name {
  font-weight: 600;
  font-size: 18px;
}

.payment-wrap .payment-day {
  color: var(--color7);
  margin-top: -20px;
}

.reservation-info {
  position: relative;
  border-top: 1px solid #ddd;
  margin-bottom: 20px;
}

.reservation-info li {
  display: flex;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid #ddd;
}

.info-label {
  color: var(--color5);
  min-width: 100px;
}

.info-value {
  flex-grow: 1;
  text-align: left;
  color: var(--color0);
}

.info-value div {
  margin-bottom: 20px;
}


.info-value p {
  margin-left: 20px;
  margin-top: 10px;
  font-size: 14px;
  color: var(--color5);
}


@media screen and (max-width: 767px) {
  .product-info {
    position: relative;
    padding: 0;
  }

  .product-detail-wrap {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    align-items: flex-start;
    gap: 10px;
  }

  .product-name {
    font-size: 16px;
    margin-top: 0;
  }

  .product-day {
    margin-top: 0;
    font-size: 14px;
  }

  .product-price {
    margin-top: 0;
  }

  .info-label {
    font-size: 14px;
  }

  .info-value {
    font-size: 15px;
  }
}



/* payment-right */
.payment-right {
  position: sticky;
  top: 190px;
  display: flex;
  padding: 30px;
  flex: 1;
  margin: 0 auto;
  padding: 30px;
  background: var(--colorF);
  border: 1px solid var(--color1);
  border-radius: 5px;
  flex-direction: column;
  height: fit-content;
}

.payment-right h3 {
  font-size: 18px;
  color: #111;
  margin-bottom: 15px;
  font-weight: bold;
  padding-bottom: 10px;
}

.amount-box {
  font-size: 15px;
}

.amount-item gray {
  color: #8C8B8F;
}

.amount-item,
.amount-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.amount-total {
  border-top: solid 1px var(--colorD);
  padding: 20px 0;
  font-weight: bold;
  font-size: 18px;
}

.coupon-popup {
  position: fixed;
  bottom: -100%;
  left: 0;
  width: 100%;
  background: var(--colorF);
  border-top: 1px solid var(--colorD);
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  transition: bottom 0.3s ease-in-out;
  z-index: 2000;
  padding: 20px;
  border-radius: 8px 8px 0 0;
}

.coupon-popup.active {
  bottom: 0;
}

.ScreenDimmer {
  background-color: var(--color0);
  bottom: 0;
  left: 0;
  opacity: .65;
  position: fixed;
  right: 0;
  top: 0;
  z-index: 1001;
  display: none;
}

.ScreenDimmer.active {
  display: block;
}


.popup-header {
  display: flex;
  justify-content: space-between;
  padding: 10px 20px;
  border-bottom: 1px solid var(--colorD);
}

.coupon-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.coupon-list li {
  padding: 15px 20px;
  cursor: pointer;
  border-bottom: 1px solid #eee;
  font-size: 16px;
}

.coupon-list li:hover {
  background: #f8f8f8;
}

button#close-popup {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #888;
}

@media screen and (max-width: 1024px) {
  .payment-wrap {
    flex-direction: column;
  }

  .payment-right {
    width: 100%;
  }
}




.payment-section {
  background: #fff;
  color: #111;
}


/* 예약 정보 */
.payment-section .infoChk .list {
  list-style: none;
  margin: 0 0 12px;
  padding: 0;
  border-radius: 8px;
}

.payment-section .infoChk .list li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 10px;
  padding: 16px;
  border-bottom: 1px solid #f6f6f6;
}

.payment-section .infoChk .list li:last-child {
  border-bottom: none;
}

.payment-section .infoChk .tit {
  color: #666;
}

.payment-section .infoChk .date {
  font-weight: 600;
}

/* 카드 */
.payment-section .card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .05);
  margin-bottom: 10px;
}

.payment-section .card h2 {
  margin-bottom: 10px;
  font-size: 18px;
  font-weight: bold;
}


/* 행 */
.payment-section .row {
  display: f;
  grid-template-columns: 100px 1fr;
  gap: 14px;
  padding: 8px 0;
  border-bottom: 1px solid #f3f3f3;
}

.payment-section .row label {
  display: block;
  font-weight: bold;
  margin-bottom: 10px;
}

.payment-section .row:last-child {
  border-bottom: none;
}

.payment-section .field {
  display: grid;
  gap: 6px;
}

.payment-section .field input,
.payment-section .field select,
.payment-section .field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
}

/* 인라인 입력+버튼 */
.payment-section .field-inline {
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}

.payment-section .hint {
  font-size: 12px;
  color: #888;
}

/* 결제수단 */
.payment-section .methods {
  display: grid;
  gap: 10px;
}

.payment-section .method {
  border: 1px solid #ccc;
  border-radius: 6px;
  overflow: hidden;
}

.payment-section .method-head {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  cursor: pointer;
  background: #fafafa;
}

.payment-section .method.active .panel {
  display: block;
}

.payment-section .panel {
  display: none;
  padding: 12px;
  background: #fff;
  border-top: 1px solid #eee;
}

/* 쿠폰 칩 */
.payment-section .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 6px;
}

.payment-section .chip {
  background: #fafafa;
  border: 1px solid #ccc;
  border-radius: 16px;
  padding: 6px 10px;
  cursor: pointer;
}

/* 약관 */
.payment-section .agree {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
}

.payment-section .agreelist {
  display: grid;
  gap: 8px;
}



.payment-section .btn-sm {
  padding: 8px 12px;
  font-size: 14px;
}

.payment-section .btn-border {
  background: #fff;
  border: 1px solid #ddd;
}

/* 고정 결제 바 */
.payment-section .checkout-bar {
  position: sticky;
  bottom: 0;
  z-index: 10;
  background: #fff;
  border-top: 1px solid #ddd;
  padding: 12px 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: bold;
}

.payment-section .checkout-bar .breakdown {
  display: flex;
  gap: 10px;
  font-weight: 500;
  color: #666;
}

/* 접근성 */
.payment-section .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.compleat-box {
  position: relative;
  font-size: 16px;
  margin-bottom: 50px;
  text-align: center;
  font-weight: 600;
}

.compleat-title {
  position: relative;
  text-align: center;
}

.compleat-title h3 {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 10px;
}

.compleat-num {
  padding: 15px 50px;
  color: var(--colorF);
  background: var(--theme);
  border-radius: 20px;
  width: 50%;
  max-width: 520px;
  text-align: center;
  margin: 20px auto;
  box-sizing: border-box;
}

/* 태블릿 정도 */
@media (max-width: 1024px) {
  .compleat-box {
    font-size: 15px;
    margin-bottom: 40px;
    padding: 0 20px;
  }

  .compleat-title h3 {
    font-size: 26px;
  }

  .compleat-num {
    width: 70%;
    padding: 12px 32px;
  }
}

/* 모바일 */
@media (max-width: 520px) {
  .compleat-box {
    font-size: 14px;
    margin-bottom: 30px;
    padding: 0 12px;
  }

  .compleat-title h3 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  .compleat-num {
    width: 100%;
    padding: 10px 16px;
    border-radius: 14px;
  }
}