@import url("./shop-flow-v2.css?v=vertical-order-flow-20260907");


:root {
  --figma-primary: 130px;
  --figma-secondary: 65px;
  --figma-rail: 25px;
  --figma-gap: 15px;
  --figma-content-width: 316px;
  --figma-gray: #d9d9d9;
  --figma-muted: #999;
}

html,
body {
  margin: 0;
  padding-top: 0 !important;
  background: #fff;
  scrollbar-width: none;
}

body.has-site-breadcrumb {
  padding-top: 0 !important;
}

body[data-flow-step="cart"] .order-flow-shop {
  filter: grayscale(1);
  opacity: 0.35;
}

body.shop-third-frame .order-flow-shop {
  display: none !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

.shop-stage.shop-products-stage.shop-order-flow {
  width: 100%;
  min-height: 100dvh;
  padding: 0;
  overflow-x: clip;
  background: #fff;
}

.shop-order-flow > .page-breadcrumb,
.order-flow-heading,
.flow-boundary-hint,
.flow-page-indicator,
.flow-up-button,
.flow-stage-menu,
.flow-summary-bar,
.shop-selection-scrim,
.shop-cart-scrim,
.shop-cart-panel,
.shop-cart-fab {
  display: none !important;
}

.shop-stage.shop-products-stage .order-flow-shop,
.shop-stage.shop-products-stage .order-flow-cart {
  position: relative;
  width: 100%;
  min-height: 100dvh;
  padding: 0;
  overflow: hidden;
  background: #fff;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-main {
  display: block;
  width: 100%;
  min-height: 100dvh;
  margin: 0;
  padding: 0;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-list {
  display: grid !important;
  width: min(var(--figma-content-width), calc(100vw - 30px));
  grid-template-columns: minmax(0, 1fr) !important;
  gap: var(--figma-gap) 0 !important;
  margin: 35.878dvh auto 0;
  padding: 0;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product {
  display: grid !important;
  width: 100% !important;
  min-height: var(--figma-secondary);
  grid-template-columns: var(--figma-primary) var(--figma-rail) minmax(0, 1fr) !important;
  align-items: start;
  gap: 0 var(--figma-gap) !important;
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  opacity: 1;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product-visual {
  display: flex;
  width: var(--figma-primary) !important;
  height: var(--figma-secondary);
  align-items: flex-start;
  justify-content: flex-end;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product-media {
  display: block;
  width: var(--figma-secondary) !important;
  height: var(--figma-secondary) !important;
  min-width: 0;
  min-height: 0;
  overflow: hidden !important;
  border: 0;
  border-radius: var(--figma-gap);
  padding: 0;
  background: var(--figma-gray);
  box-shadow: none;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product-media::before {
  display: none !important;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product-rail {
  display: flex;
  width: var(--figma-rail);
  height: var(--figma-secondary);
  min-width: 0;
  min-height: 0;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--figma-gray);
  border-radius: 999px;
  padding: 0;
  background: #fff;
  color: transparent;
  box-sizing: border-box;
  cursor: pointer;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product-rail b {
  display: none;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product-info {
  display: grid !important;
  height: var(--figma-secondary) !important;
  min-width: 0;
  grid-template-rows: auto auto !important;
  align-content: center;
  gap: 22px !important;
  padding: 0 !important;
  color: var(--figma-muted);
  overflow: hidden;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product-title,
.shop-stage.shop-products-stage .order-flow-shop .shop-product-price {
  display: block;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product-price del {
  display: none;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product-add {
  display: none !important;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product.is-selected {
  min-height: var(--figma-primary);
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product.is-selected .shop-product-visual {
  height: var(--figma-primary);
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product.is-selected .shop-product-media {
  width: var(--figma-primary) !important;
  height: var(--figma-primary) !important;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product.is-selected .shop-product-rail {
  height: var(--figma-primary);
  border: 0;
  background: #000;
}

.shop-stage.shop-products-stage .order-flow-shop .shop-product.is-selected .shop-product-info {
  height: var(--figma-primary) !important;
  gap: 22px !important;
  color: #000;
}

.shop-inline-cart-row {
  display: grid;
  width: 100%;
  height: var(--figma-rail);
  min-height: var(--figma-rail);
  grid-template-columns: var(--figma-primary) var(--figma-rail) minmax(0, 1fr);
  align-items: center;
  gap: 0 var(--figma-gap);
  border: 0;
  border-radius: 0;
  padding: 0;
  background: transparent;
  color: var(--figma-muted);
  font: inherit;
  text-align: left;
  cursor: pointer;
}

.shop-inline-cart-visual {
  display: flex;
  width: var(--figma-primary);
  height: var(--figma-rail);
  align-items: center;
  justify-content: flex-end;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
}

.shop-inline-cart-visual strong {
  color: inherit;
  font: inherit;
  white-space: nowrap;
}

.shop-inline-cart-rail {
  display: block;
  width: var(--figma-rail);
  height: var(--figma-rail);
  border-radius: 50%;
  background: var(--figma-gray);
}

.shop-inline-cart-info {
  display: flex;
  min-width: 0;
  height: var(--figma-rail);
  align-items: center;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  overflow: hidden;
}

.shop-inline-cart-info span {
  overflow: hidden;
  color: inherit;
  font: inherit;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-flow-cart .flow-cart-items,
.order-flow-cart .flow-empty,
.order-flow-cart .flow-price-list,
.order-flow-cart .flow-cart-checkout {
  position: absolute;
  left: 50%;
  width: min(var(--figma-content-width), calc(100vw - 30px));
  margin: 0;
  transform: translateX(-50%);
}

.order-flow-cart .flow-cart-items {
  bottom: 24.100dvh;
  display: grid;
  max-height: calc((var(--figma-secondary) * 5) + (var(--figma-gap) * 4));
  gap: var(--figma-gap);
  overflow-y: auto;
  scrollbar-width: none;
}

.order-flow-cart .flow-cart-items::-webkit-scrollbar {
  display: none;
}

.order-flow-cart .flow-cart-item {
  display: grid;
  width: 100%;
  min-height: var(--figma-secondary);
  grid-template-columns: var(--figma-primary) var(--figma-rail) minmax(0, 1fr);
  align-items: center;
  gap: 0 var(--figma-gap);
}

.order-flow-cart .flow-cart-item > img {
  display: block;
  width: var(--figma-secondary);
  height: var(--figma-secondary);
  justify-self: end;
  border-radius: var(--figma-gap);
  background: var(--figma-gray);
  object-fit: cover;
}

.order-flow-cart .flow-cart-item-rail {
  display: block;
  width: var(--figma-rail);
  height: var(--figma-secondary);
  border: 0;
  border-radius: 999px;
  padding: 0;
  background: #000;
  cursor: pointer;
}

.order-flow-cart .flow-cart-item-copy {
  display: grid;
  height: var(--figma-secondary);
  min-width: 0;
  grid-template-rows: auto auto;
  align-content: center;
  gap: 22px;
}

.order-flow-cart .flow-cart-item-copy > strong {
  overflow: hidden;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-flow-cart .flow-cart-item-copy > .flow-cart-line-total {
  color: #f00;
}

.order-flow-cart .flow-empty {
  bottom: 24.100dvh;
  color: var(--figma-muted);
  font-size: 14px;
  line-height: 17px;
  text-align: center;
}

.order-flow-cart .flow-price-list {
  top: 77.536dvh;
  display: grid;
  gap: var(--figma-gap);
  padding: 0;
}

.order-flow-cart .flow-price-list > div {
  display: grid;
  width: 100%;
  height: var(--figma-rail);
  grid-template-columns: var(--figma-primary) var(--figma-rail) minmax(0, 1fr);
  align-items: center;
  gap: 0 var(--figma-gap);
  border: 0;
  padding: 0;
}

.order-flow-cart .flow-price-list dt,
.order-flow-cart .flow-shipping-choice button > span,
.order-flow-cart .flow-cart-checkout > span {
  color: var(--figma-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  text-align: right;
  white-space: nowrap;
}

.order-flow-cart .flow-price-list dd {
  display: contents;
  margin: 0;
}

.order-flow-cart .flow-price-list dd i,
.order-flow-cart .flow-shipping-choice button i,
.order-flow-cart .flow-cart-checkout i {
  display: block;
  width: var(--figma-rail);
  height: var(--figma-rail);
  border: 0;
  border-radius: 50%;
  background: #000;
  box-sizing: border-box;
}

.order-flow-cart .flow-price-list dd span,
.order-flow-cart .flow-shipping-choice button strong,
.order-flow-cart .flow-cart-checkout strong {
  overflow: hidden;
  color: #000;
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-flow-cart .flow-price-list > .flow-shipping-choice {
  display: block;
}

.order-flow-cart .flow-shipping-choice button {
  display: grid;
  width: 100%;
  height: var(--figma-rail);
  grid-template-columns: var(--figma-primary) var(--figma-rail) minmax(0, 1fr);
  align-items: center;
  gap: 0 var(--figma-gap);
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.order-flow-cart .flow-shipping-choice:not(.is-selected) button i {
  border: 2px solid var(--figma-gray);
  background: #fff;
}

.order-flow-cart .flow-shipping-choice:not(.is-selected) button strong {
  color: var(--figma-muted);
}

.order-flow-cart .flow-price-list .is-discount dd span {
  color: #f00;
}

.order-flow-cart .flow-cart-checkout {
  top: 94.984dvh;
  display: grid;
  height: var(--figma-rail);
  grid-template-columns: var(--figma-primary) var(--figma-rail) minmax(0, 1fr);
  align-items: center;
  gap: 0 var(--figma-gap);
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.order-flow-cart .flow-cart-checkout i,
.order-flow-cart .flow-cart-checkout:disabled i {
  background: var(--figma-gray);
}

.order-flow-cart .flow-cart-checkout:disabled {
  cursor: not-allowed;
}

.order-flow-cart .flow-cart-checkout strong {
  color: #000;
  text-align: left;
}

@media (max-height: 760px) {
  .shop-stage.shop-products-stage .order-flow-shop .shop-list {
    margin-top: 28dvh;
  }

  .order-flow-cart .flow-cart-items {
    bottom: 27dvh;
  }

  .order-flow-cart .flow-price-list {
    top: 72dvh;
  }

  .order-flow-cart .flow-cart-checkout {
    top: calc(72dvh + 160px);
  }
}

/* The cart is the next part of the same vertical page. Its shop summary stays
   visible but muted while the cart itself is the active black section. */
.order-flow-cart {
  display: flex !important;
  min-height: 100dvh;
  flex-direction: column;
  align-items: center;
  overflow: visible !important;
}

.order-flow-cart .flow-cart-shop-overview,
.order-flow-cart .flow-cart-items,
.order-flow-cart .flow-price-list,
.order-flow-cart .flow-cart-checkout {
  position: relative;
  top: auto;
  bottom: auto;
  left: auto;
  width: min(var(--figma-content-width), calc(100vw - 30px));
  margin-right: auto;
  margin-left: auto;
  transform: none;
}

.order-flow-cart .flow-cart-shop-overview {
  display: grid;
  flex: 0 0 auto;
  gap: var(--figma-gap);
  margin-top: 9dvh;
  color: var(--figma-muted);
}

.order-flow-cart .flow-cart-items {
  flex: 0 0 auto;
  max-height: none;
  margin-top: var(--figma-gap);
  overflow: visible;
}

.order-flow-cart .flow-price-list,
.order-flow-cart .flow-cart-checkout {
  flex: 0 0 auto;
  margin-top: var(--figma-gap);
}

.order-flow-cart .flow-cart-shop-overview::before,
.order-flow-cart .flow-cart-items::before {
  display: block;
  width: 100%;
  height: var(--figma-rail);
  padding-right: 186px;
  background: radial-gradient(circle at 157.5px 50%, currentColor 0 12.5px, transparent 13px);
  box-sizing: border-box;
  content: "상점";
  font-size: 14px;
  font-weight: 400;
  line-height: 25px;
  text-align: right;
}

.order-flow-cart .flow-cart-items::before {
  color: #000;
  content: "장바구니";
}

.order-flow-cart .flow-cart-shop-item {
  display: grid;
  width: 100%;
  height: var(--figma-secondary);
  grid-template-columns: var(--figma-primary) var(--figma-rail) minmax(0, 1fr);
  align-items: center;
  gap: 0 var(--figma-gap);
}

.order-flow-cart .flow-cart-shop-item > img {
  width: var(--figma-secondary);
  height: var(--figma-secondary);
  justify-self: end;
  border-radius: var(--figma-gap);
  background: var(--figma-gray);
  filter: grayscale(1);
  object-fit: cover;
  opacity: 0.35;
}

.order-flow-cart .flow-cart-shop-item > button {
  width: var(--figma-rail);
  height: var(--figma-secondary);
  border: 2px solid var(--figma-gray);
  border-radius: 999px;
  padding: 0;
  background: #fff;
  cursor: pointer;
}

.order-flow-cart .flow-cart-shop-item > div {
  display: grid;
  height: var(--figma-secondary);
  align-content: center;
  gap: 22px;
  overflow: hidden;
}

.order-flow-cart .flow-cart-shop-item strong,
.order-flow-cart .flow-cart-shop-item span {
  overflow: hidden;
  color: var(--figma-muted);
  font-size: 14px;
  font-weight: 400;
  line-height: 17px;
  text-overflow: ellipsis;
  white-space: nowrap;
}