.order-confirm-screen {
  overflow: hidden;
  background: #f8f8f8;
  color: #333;
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.order-confirm-page {
  position: relative;
  min-height: 100%;
  background: #f8f8f8;
}

.order-confirm-page h1,
.order-confirm-page h2,
.order-confirm-page h3,
.order-confirm-page p {
  margin: 0;
}

.order-confirm-page button,
.order-confirm-page input {
  border: 0;
  color: inherit;
  font: inherit;
}

.order-confirm-header {
  position: relative;
  z-index: 10;
  display: flex;
  height: 23.467cqw;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 3.2cqw;
  background: #fff;
}

.order-confirm-header h1 {
  color: rgba(0, 0, 0, 0.9);
  font-size: 4.533cqw;
  font-weight: 500;
  line-height: 5.867cqw;
}

.order-confirm-back {
  position: absolute;
  bottom: 0;
  left: 0;
  display: grid;
  width: 11.733cqw;
  height: 11.733cqw;
  place-items: center;
  padding: 0;
  background: transparent;
}

.order-confirm-back img {
  display: block;
  width: 2.4cqw;
  height: 4.533cqw;
}

.order-confirm-content {
  padding: 2.667cqw;
}

.order-confirm-address,
.order-confirm-row {
  width: 100%;
  padding: 0;
  background: #fff;
}

.order-confirm-address {
  display: grid;
  height: 21.867cqw;
  grid-template-columns: 5.333cqw minmax(0, 1fr) 5.333cqw;
  gap: 2.667cqw;
  align-items: center;
  padding: 0 2.667cqw 0 3.467cqw;
  border-radius: 2.667cqw;
  text-align: left;
}

.order-confirm-address > img {
  display: block;
  width: 5.333cqw;
  height: 5.333cqw;
}

.order-confirm-address > span {
  min-width: 0;
}

.order-confirm-address strong,
.order-confirm-address small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-confirm-address strong {
  color: #363636;
  font-size: 4cqw;
  font-weight: 500;
  line-height: 5.333cqw;
}

.order-confirm-address small {
  margin-top: 1.067cqw;
  color: #88888a;
  font-size: 3.2cqw;
  line-height: 4.267cqw;
}

.order-confirm-product-card {
  position: relative;
  height: 64.267cqw;
  margin-top: 2.667cqw;
  overflow: hidden;
  border-radius: 2.667cqw;
  background: #fff;
}

.order-confirm-product-card > h2 {
  position: absolute;
  top: 3.2cqw;
  left: 2.133cqw;
  max-width: 86.667cqw;
  overflow: hidden;
  color: #414141;
  font-size: 3.733cqw;
  font-weight: 500;
  line-height: 5.333cqw;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-confirm-product {
  position: absolute;
  top: 13.6cqw;
  right: 2.133cqw;
  left: 2.133cqw;
  display: grid;
  height: 24cqw;
  grid-template-columns: 24cqw minmax(0, 1fr) auto;
  gap: 2.133cqw;
}

.order-confirm-product > img {
  display: block;
  width: 24cqw;
  height: 24cqw;
  border-radius: 1.6cqw;
  object-fit: cover;
}

.order-confirm-product > div {
  min-width: 0;
}

.order-confirm-product h3 {
  display: -webkit-box;
  min-height: 9.6cqw;
  overflow: hidden;
  color: #333;
  font-size: 3.467cqw;
  font-weight: 500;
  line-height: 4.8cqw;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.order-confirm-product p {
  margin-top: 1.067cqw;
  color: #88888a;
  font-size: 3.2cqw;
  line-height: 4.267cqw;
}

.order-confirm-product > div > strong {
  display: block;
  margin-top: 0.8cqw;
  color: #f04432;
  font-size: 4.267cqw;
  font-weight: 500;
  line-height: 5.867cqw;
}

.order-confirm-quantity {
  align-self: end;
  padding-bottom: 0.8cqw;
  color: #363636;
  font-size: 3.2cqw;
  line-height: 4.267cqw;
}

.order-confirm-quantity b {
  font-weight: 400;
}

.order-confirm-delivery {
  position: absolute;
  top: 42.667cqw;
  right: 2.133cqw;
  left: 2.133cqw;
  display: flex;
  height: 8cqw;
  align-items: center;
  padding: 0;
  background: transparent;
  text-align: left;
}

.order-confirm-delivery > strong,
.order-confirm-delivery > span,
.order-confirm-delivery > em {
  font-size: 3.733cqw;
  line-height: 5.333cqw;
}

.order-confirm-delivery > strong {
  color: #333;
  font-weight: 500;
}

.order-confirm-delivery > span {
  margin-left: 4cqw;
  color: #959595;
}

.order-confirm-delivery > em {
  display: flex;
  align-items: center;
  gap: 0.8cqw;
  margin-left: auto;
  color: #333;
  font-style: normal;
}

.order-confirm-delivery img {
  width: 5.333cqw;
  height: 5.333cqw;
}

.order-confirm-card-total {
  position: absolute;
  right: 2.667cqw;
  bottom: 3.733cqw;
  color: #313131;
  font-size: 3.733cqw;
  line-height: 5.333cqw;
}

.order-confirm-card-total strong {
  color: #f04432;
  font-size: 4.8cqw;
  font-weight: 500;
}

.order-confirm-product-card.is-cart-order {
  height: auto;
  padding: 3.2cqw 2.133cqw 3.733cqw;
}

.order-confirm-product-card.is-cart-order > h2 {
  position: static;
  max-width: 100%;
}

.order-confirm-product-card.is-cart-order .order-confirm-product-list {
  margin-top: 2.667cqw;
}

.order-confirm-product-card.is-cart-order .order-confirm-product {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
}

.order-confirm-product-card.is-cart-order .order-confirm-product + .order-confirm-product {
  height: 26.667cqw;
  margin-top: 2.667cqw;
  padding-top: 2.667cqw;
  border-top: 0.133cqw solid #eeeeef;
}

.order-confirm-product-card.is-cart-order .order-confirm-delivery {
  position: static;
  width: 100%;
  margin-top: 3.2cqw;
  border-top: 0.133cqw solid #eeeeef;
}

.order-confirm-product-card.is-cart-order .order-confirm-card-total {
  position: static;
  margin-top: 2.667cqw;
  text-align: right;
}

.order-confirm-screen.is-cart-checkout .order-confirm-page {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
}

.order-confirm-screen.is-cart-checkout .order-confirm-header {
  flex: 0 0 auto;
}

.order-confirm-screen.is-cart-checkout .order-confirm-content {
  min-height: 0;
  flex: 1 1 auto;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.order-confirm-screen.is-cart-checkout .order-confirm-footer {
  position: relative;
  flex: 0 0 24.8cqw;
}

.order-confirm-row {
  display: flex;
  height: 12cqw;
  align-items: center;
  margin-top: 2.667cqw;
  padding: 0 2.667cqw;
  border-radius: 2.667cqw;
}

.order-confirm-row > strong {
  flex: 0 0 auto;
  color: #333;
  font-size: 3.733cqw;
  font-weight: 500;
  line-height: 5.333cqw;
}

.order-confirm-coupon > span {
  margin-left: auto;
  color: #949494;
  font-size: 3.733cqw;
}

.order-confirm-coupon > img {
  width: 5.333cqw;
  height: 5.333cqw;
}

.order-confirm-note {
  gap: 6.667cqw;
}

.order-confirm-note input {
  min-width: 0;
  flex: 1 1 auto;
  padding: 0;
  outline: 0;
  background: transparent;
  color: #555;
  font-size: 3.733cqw;
  line-height: 5.333cqw;
}

.order-confirm-note input::placeholder {
  color: #acacac;
  opacity: 1;
}

.order-confirm-breakdown {
  height: 30.933cqw;
  margin-top: 2.667cqw;
  padding: 2.667cqw;
  border-radius: 2.133cqw;
  background: #fff;
}

.order-confirm-breakdown p {
  display: flex;
  height: 8.533cqw;
  align-items: center;
  justify-content: space-between;
  color: #414141;
  font-size: 3.733cqw;
  line-height: 5.333cqw;
}

.order-confirm-breakdown strong {
  color: #777;
  font-weight: 500;
}

.order-confirm-footer {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 15;
  display: flex;
  height: 24.8cqw;
  align-items: flex-start;
  justify-content: space-between;
  padding: 4.8cqw 3.2cqw 0 4cqw;
  border-top: 0.267cqw solid #fcfcfc;
  background: #fff;
}

.order-confirm-footer::after {
  position: absolute;
  bottom: 2.133cqw;
  left: 50%;
  width: 35.733cqw;
  height: 1.333cqw;
  border-radius: 1.333cqw;
  background: #000;
  content: "";
  transform: translateX(-50%);
}

.order-confirm-footer p {
  color: #5f646b;
  font-size: 4.267cqw;
  line-height: 10.667cqw;
}

.order-confirm-footer p strong {
  color: #f04432;
  font-weight: 500;
}

.order-confirm-footer button {
  width: 29.333cqw;
  height: 10.667cqw;
  padding: 0;
  border-radius: 5.333cqw;
  background: #204a46;
  color: #fff;
  font-size: 3.733cqw;
  font-weight: 500;
}

.order-confirm-footer button:disabled {
  opacity: 0.45;
}

.product-detail-sheet-layer[data-sheet-type="order-coupon"] .product-detail-sheet-backdrop {
  background: rgba(0, 0, 0, 0.6);
}

.product-detail-sheet-layer[data-sheet-type="order-coupon"] .product-detail-sheet {
  width: 100%;
  max-width: 100%;
  height: 144cqw;
  max-height: 144cqw;
  flex: 0 0 100%;
  border-radius: 2.667cqw 2.667cqw 0 0;
  background: #f6f6f6;
  color: #333;
}

.product-detail-sheet-layer[data-sheet-type="order-coupon"] .product-detail-sheet > header {
  min-height: 14.4cqw;
  flex: 0 0 14.4cqw;
  border-bottom: 0;
  background: #fff;
}

.product-detail-sheet-layer[data-sheet-type="order-coupon"] .product-detail-sheet > header h2 {
  color: #333;
  font-size: 4.267cqw;
  font-weight: 500;
  line-height: 5.867cqw;
}

.product-detail-sheet-layer[data-sheet-type="order-coupon"] .product-detail-sheet-close {
  overflow: hidden;
  background: url("./assets/figma-order-confirm-156554/coupon-close.svg") center / 6.4cqw 6.4cqw no-repeat;
  color: transparent;
  font-size: 0;
}

.product-detail-sheet-layer[data-sheet-type="order-coupon"] .product-detail-sheet-body {
  display: flex;
  width: 100%;
  min-height: 0;
  min-width: 0;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  background: #f6f6f6;
}

.order-coupon-tabs {
  display: grid;
  width: 100%;
  min-width: 0;
  height: 8.533cqw;
  flex: 0 0 8.533cqw;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  background: #fff;
}

.order-coupon-tabs button {
  position: relative;
  padding: 0;
  border: 0;
  background: #fff;
  color: #333;
  font-size: 3.467cqw;
  font-weight: 400;
  line-height: 5.333cqw;
  text-align: center;
}

.order-coupon-tabs button.is-active {
  color: #204a46;
  font-weight: 500;
}

.order-coupon-tabs button.is-active::after {
  position: absolute;
  bottom: 1.333cqw;
  left: 50%;
  width: 13.333cqw;
  height: 0.267cqw;
  border-radius: 0.133cqw;
  background: #204a46;
  content: "";
  transform: translateX(-50%);
}

.order-coupon-panels {
  width: 100%;
  min-height: 0;
  min-width: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.order-coupon-list {
  display: grid;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  gap: 2.667cqw;
  grid-template-columns: minmax(0, 1fr);
  padding: 2.133cqw 2.667cqw;
}

.order-coupon-card {
  position: relative;
  display: grid;
  width: 100%;
  min-width: 0;
  height: 26.667cqw;
  grid-template-columns: 26.4cqw minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #fff;
  text-align: left;
}

.order-coupon-value {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: url("./assets/figma-order-confirm-156554/coupon-shape.svg") center / 100% 100% no-repeat;
  color: #fff;
}

.order-coupon-value > span {
  display: flex;
  height: 10.667cqw;
  align-items: baseline;
  justify-content: center;
}

.order-coupon-value i {
  margin-right: 0.533cqw;
  font-size: 4cqw;
  font-style: normal;
  font-weight: 500;
  line-height: 5.867cqw;
}

.order-coupon-value b {
  font-size: 8cqw;
  font-weight: 500;
  line-height: 10.667cqw;
}

.order-coupon-value em {
  margin-top: -0.267cqw;
  font-size: 3.733cqw;
  font-style: normal;
  font-weight: 400;
  line-height: 5.333cqw;
}

.order-coupon-copy {
  display: flex;
  min-width: 0;
  justify-content: center;
  flex-direction: column;
  padding: 0 10.667cqw 0 2.667cqw;
}

.order-coupon-copy strong,
.order-coupon-copy small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-coupon-copy strong {
  margin-bottom: 1.333cqw;
  color: #333;
  font-size: 4cqw;
  font-weight: 500;
  line-height: 5.333cqw;
}

.order-coupon-copy small {
  color: #777;
  font-size: 2.667cqw;
  font-weight: 400;
  line-height: 5.067cqw;
}

.order-coupon-radio {
  position: absolute;
  top: 50%;
  right: 3.733cqw;
  width: 4.533cqw;
  height: 4.533cqw;
  transform: translateY(-50%);
}

.order-coupon-card.is-selected .order-coupon-radio {
  width: 5.333cqw;
  height: 5.333cqw;
}

.order-coupon-empty {
  padding-top: 16cqw;
  color: #8a918f;
  font-size: 3.733cqw;
  line-height: 5.333cqw;
  text-align: center;
}

.product-detail-sheet-layer[data-sheet-type="order-coupon"] .product-detail-sheet-footer {
  height: 20.267cqw;
  flex: 0 0 20.267cqw;
  padding: 2.667cqw 4.267cqw 5.867cqw;
  border-top: 0;
  background: #fff;
  box-shadow: 0 -0.267cqw 1.067cqw rgba(101, 101, 101, 0.15);
}

.product-detail-sheet-layer[data-sheet-type="order-coupon"] .product-detail-sheet-footer button {
  height: 11.733cqw;
  min-height: 11.733cqw;
  flex: 1 1 auto;
  border-radius: 13.333cqw;
  background: #204a46;
  font-size: 3.733cqw;
  font-weight: 500;
}

.order-confirm-page button:active {
  opacity: 0.78;
}

.order-confirm-page button:focus-visible,
.order-confirm-page input:focus-visible {
  outline: 0.533cqw solid rgba(32, 74, 70, 0.5);
  outline-offset: 0.533cqw;
}

.phone[data-subpage="market-order-confirm"] .bottom-nav {
  display: none;
}

.phone[data-subpage="market-order-confirm"] .statusbar {
  height: 11.733cqw;
  padding: 3.2cqw 3.911cqw 0 6.4cqw;
  align-items: flex-start;
  background: #fff;
  box-shadow: none;
  color: #111;
  font-size: 4cqw;
  line-height: 5.333cqw;
}

.phone[data-subpage="market-order-confirm"] .statusbar .island {
  display: none;
}

.phone[data-subpage="market-order-confirm"] .toast {
  bottom: 26.667cqw;
}

.phone.has-product-sheet .order-confirm-screen {
  overflow: hidden;
}

html.view-h5 .order-confirm-footer {
  height: calc(24.8cqw + env(safe-area-inset-bottom, 0px));
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
