:root {
  --orders-ink: #1a1a1a;
  --orders-muted: #6b6b6b;
  --orders-line: #e4e4e4;
  --orders-red: #e60023;
  --orders-green: #1a9d4b;
  --orders-status-pending: #e60023;
  --orders-status-pending-complete: #3f4a5a;
  --orders-status-packed: #2563eb;
  --orders-status-shipped: #0891b2;
  --orders-status-transit: #c2710c;
  --orders-status-delivered: #16a34a;
  --orders-thumb: #ededed;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

.pending-match-banner {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: #fff7e6;
  color: #111;
  border-radius: 0;
  padding: 7px 18px;
  margin: 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.pending-match-banner[hidden] { display: none; }
.pending-match-banner-dot {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e8a327;
  animation: pending-match-pulse-dot 1.2s ease-in-out infinite;
}
@keyframes pending-match-pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}
.pending-match-banner-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 12.5px;
  font-weight: 700;
}
.pending-match-banner-sub { font-size: 11px; font-weight: 500; color: #8a6d1f; }
.pending-match-banner svg { flex-shrink: 0; color: #8a6d1f; }

html {
  background: #fff;
  min-height: 100%;
  scrollbar-width: none;
}

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

.orders-start-detail #orders-screen-list { display: none; }
.orders-start-detail #orders-screen-detail[hidden] { display: block; }

body.orders-modal-open { overflow: hidden; }

body {
  font-family: -apple-system, "SF Pro Text", "SF Pro Display", BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  letter-spacing: -0.24px;
  background: #fff;
  color: var(--orders-ink);
  -webkit-font-smoothing: antialiased;
  display: flex;
  justify-content: center;
  overflow-x: hidden;
  width: 100%;
}

.orders-phone {
  background: #fff;
  isolation: isolate;
  max-width: 430px;
  position: relative;
  width: 100%;
  z-index: 1;
}

.orders-screen { padding: 16px 18px 20px; }

.orders-screen__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

#orders-screen-detail .orders-screen__head { margin-bottom: 16px; }
.orders-screen__title { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }

.orders-screen__head-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.orders-icon-btn {
  border: none;
  background: none;
  color: var(--orders-ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 4px;
  position: relative;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  text-decoration: none;
  -webkit-tap-highlight-color: transparent;
}

.orders-icon-btn b {
  background: #111114;
  border-radius: 999px;
  color: #fff;
  display: grid;
  font-size: 7px;
  font-weight: 700;
  height: 12px;
  letter-spacing: normal;
  line-height: 1;
  margin: 0;
  min-width: 12px;
  padding: 0 3px;
  -webkit-font-smoothing: auto;
  place-items: center;
  position: absolute;
  right: 0;
  top: 0;
  width: auto;
}
.orders-icon-btn:hover,
.orders-icon-btn:focus,
.orders-icon-btn:active { background: none; outline: none; }


.orders-field { display: block; margin-bottom: 20px; margin-top: -10px; -webkit-tap-highlight-color: transparent; }
.orders-field__label { display: block; font-size: 15px; font-weight: 500; color: var(--orders-ink); margin-bottom: 12px; }
.orders-field__input-wrap { position: relative; display: block; }
.orders-field__search-icon {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--orders-muted);
  pointer-events: none;
}
.orders-field__input {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--orders-line);
  font-size: 16px;
  padding: 6px 26px 10px 32px;
  color: var(--orders-ink);
  outline: none;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.orders-field__input::placeholder { color: #9a9a9a; }
.orders-field__input:focus { outline: none; border-bottom-color: var(--orders-ink); }
.orders-field__clear {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  color: var(--orders-muted);
  cursor: pointer;
  display: grid;
  place-items: center;
  padding: 4px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.orders-field__clear:hover,
.orders-field__clear:focus,
.orders-field__clear:active { background: none; outline: none; }
.orders-field__clear[hidden] { display: none; }


.orders-section-label { font-size: 13px; font-weight: 400; color: #6E6E73; margin-bottom: 10px; }
.orders-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 3px 0 5px;
  margin-bottom: 20px;
}
.orders-tab-skeleton {
  display: none;
  flex: 0 0 auto;
  min-height: 34px;
  border-radius: 999px;
  background: var(--orders-thumb);
}
.orders-tabs--loading .orders-tab { display: none; }
.orders-tabs--loading .orders-tab-skeleton {
  display: block;
  animation: orders-skeleton-pulse 1.1s ease-in-out infinite;
}
.orders-tab-skeleton--all { width: 70px; }
.orders-tab-skeleton--pending { width: 98px; }
.orders-tab-skeleton--delivered { width: 106px; }
.orders-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid var(--orders-line);
  background: #fff;
  color: var(--orders-ink);
  border-radius: 999px;
  padding: 0 15px;
  min-height: 34px;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.15;
  font-family: inherit;
  cursor: pointer;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  -webkit-tap-highlight-color: transparent;
}
.orders-tab:hover, .orders-tab:focus, .orders-tab:active { outline: none; }
.orders-tab--pending { padding-left: 12px; }
.orders-tab--pending svg { flex-shrink: 0; }
.orders-tab--active { background: var(--orders-ink); color: #fff; border-color: var(--orders-ink); }
.orders-tab--has-count { padding-right: 10px; }
.orders-tab-count {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  margin-left: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  color: inherit;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
}
.orders-tab--active .orders-tab-count { background: rgba(255, 255, 255, 0.22); }

.orders-price-filter { margin-bottom: 24px; }
.orders-price-filter__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6E6E73;
  font-size: 13px;
  font-weight: 400;
  margin-bottom: 16px;
}
.orders-price-filter__head span:last-child {
  color: var(--orders-ink);
  font-size: 15px;
  font-weight: 500;
}
.orders-price-slider {
  position: relative;
  height: 20px;
  margin: 6px 10px 0;
}
.orders-price-slider__track {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  transform: translateY(-50%);
  background: var(--orders-line);
  border-radius: 999px;
}
.orders-price-slider__range {
  position: absolute;
  top: 50%;
  height: 2px;
  transform: translateY(-50%);
  background: #6E6E73;
  border-radius: 999px;
}
.orders-price-slider__handle {
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  transform: translate(-50%, -50%);
  background: #fff;
  border: 1.5px solid #6E6E73;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
  cursor: grab;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
}
.orders-price-slider__handle:active { cursor: grabbing; }
.orders-price-slider--disabled {
  opacity: 0.45;
  pointer-events: none;
}
.orders-price-filter--loading .orders-price-filter__head span:last-child {
  visibility: hidden;
  position: relative;
  min-width: 110px;
  display: inline-block;
}
.orders-price-filter--loading .orders-price-filter__head span:last-child::after {
  content: "";
  position: absolute;
  inset: 2px -4px;
  border-radius: 6px;
  background: var(--orders-thumb);
  visibility: visible;
  animation: orders-skeleton-pulse 1.1s ease-in-out infinite;
}
.orders-price-filter--loading .orders-price-slider__handle,
.orders-price-filter--loading .orders-price-slider__range {
  visibility: hidden;
}
.orders-price-filter--loading .orders-price-slider__track {
  background: var(--orders-thumb);
  animation: orders-skeleton-pulse 1.1s ease-in-out infinite;
}

.orders-orders { display: flex; flex-direction: column; }
.orders-order { padding: 16px 0; border-bottom: 1px solid var(--orders-line); }
.orders-order:first-child { padding-top: 0; }
.orders-order:last-child { border-bottom: none; }
.orders-order__meta { font-size: 13px; font-weight: 400; color: var(--orders-muted); }
.orders-order__body { display: flex; gap: 14px; align-items: stretch; }
.orders-thumb {
  width: 76px; flex: 0 0 76px;
  background: var(--orders-thumb);
  border-radius: 12px;
  position: relative;
  color: #a6a6a6; font-size: 13px;
  overflow: hidden;
  animation: orders-skeleton-pulse 1.1s ease-in-out infinite;
}
.orders-thumb--loaded { animation: none; }
.orders-thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.orders-thumb--loaded img { opacity: 1; }
.orders-order__main { flex: 1; min-width: 0; }
.orders-order__name { font-size: 14px; font-weight: 500; line-height: 1.35; }
.orders-order__brand { font-size: 14px; font-weight: 500; color: var(--orders-ink); }
.orders-order__price { font-size: 15px; font-weight: 500; }
.orders-order__status { font-size: 13px; font-weight: 400; color: var(--orders-muted); }
.orders-order__status b { font-weight: 500; }
.orders-is-pending { color: var(--orders-status-pending); }
.orders-is-frozen { color: #3f4a5a; }
.orders-is-pending-complete { color: var(--orders-status-pending-complete); }
.orders-is-packed { color: var(--orders-status-packed); }
.orders-is-shipped { color: var(--orders-status-shipped); }
.orders-is-in-transit { color: var(--orders-status-transit); }
.orders-is-delivered { color: var(--orders-status-delivered); }
.orders-order__details {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  border: 1px solid var(--orders-line);
  background: var(--orders-thumb);
  color: var(--orders-ink);
  border-radius: 999px;
  padding: 6px 6px 6px 10px;
  font-size: 13px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.orders-order__details:hover,
.orders-order__details:focus,
.orders-order__details:active { outline: none; }

.orders-empty { text-align: center; color: var(--orders-muted); padding: 40px 0; font-size: 14px; }


.orders-meta { font-size: 13px; font-weight: 400; color: var(--orders-muted); }

.orders-product { display: flex; gap: 16px; margin-bottom: 18px; align-items: stretch; }
.orders-product__thumb {
  width: 74px; flex: 0 0 74px;
  background: var(--orders-thumb); border-radius: 12px;
  position: relative;
  color: #a6a6a6; font-size: 13px;
  overflow: hidden;
  animation: orders-skeleton-pulse 1.1s ease-in-out infinite;
}
.orders-product__thumb--loaded { animation: none; }
.orders-product__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.25s ease;
}
.orders-product__thumb--loaded img { opacity: 1; }
.orders-product__info { flex: 1; }
.orders-product__name { font-size: 14px; font-weight: 500; line-height: 1.35; margin-bottom: 0; }
.orders-product__brand { font-size: 14px; font-weight: 500; color: var(--orders-ink); line-height: 1.35; }
.orders-product__line { font-size: 14px; line-height: 1.5; }
.orders-product__label { font-size: 13px; font-weight: 400; color: var(--orders-muted); }
.orders-product__line span:not(.orders-product__label) { color: var(--orders-ink); font-weight: 500; }


@keyframes orders-skeleton-pulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}
#orders-screen-detail.orders-is-loading .orders-skel-real,
#orders-orders.orders-is-loading .orders-skel-real {
  width: fit-content;
  max-width: 100%;
  color: transparent;
  background: var(--orders-thumb);
  border-radius: 6px;
  animation: orders-skeleton-pulse 1.1s ease-in-out infinite;
}
#orders-screen-detail.orders-is-loading .orders-status__description.orders-skel-real {
  height: 18px;
  width: min(290px, 100%);
}
#orders-screen-detail.orders-is-loading .orders-stepper__date.orders-skel-real {
  height: 25px;
  min-height: 25px;
  width: 34px;
}
#orders-screen-detail.orders-is-loading .orders-pricing__v.orders-skel-real {
  height: 19px;
  width: 44px;
}
#orders-screen-detail.orders-is-loading .orders-product__thumb.orders-skel-real,
#orders-orders.orders-is-loading .orders-thumb.orders-skel-real {
  border-radius: 12px;
  width: 74px;
  color: initial;
  animation: orders-skeleton-pulse 1.1s ease-in-out infinite;
}
#orders-orders.orders-is-loading .orders-thumb.orders-skel-real {
  width: 76px;
}
#orders-screen-detail.orders-is-loading .orders-product__thumb img,
#orders-orders.orders-is-loading .orders-thumb img {
  visibility: hidden;
}
#orders-orders.orders-is-loading .orders-order__status b,
#orders-screen-detail.orders-is-loading .orders-product__label,
#orders-screen-detail.orders-is-loading .orders-product__line span:not(.orders-product__label) {
  color: transparent;
}


.orders-status {
  height: 186px;
  margin-bottom: 26px;
}
.orders-status__label { font-size: 14px; font-weight: 500; line-height: 1.35; margin-bottom: 4px; }
.orders-status__description {
  color: var(--orders-muted);
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 16px;
}
.orders-stepper {
  min-height: 104px;
  position: relative;
}
.orders-stepper-skeleton { display: none; }
#orders-screen-detail.orders-is-loading
  .orders-stepper:not(.orders-stepper--has-values)
  .orders-stepper-skeleton {
  display: block;
  animation: orders-skeleton-pulse 1.1s ease-in-out infinite;
}
#orders-screen-detail.orders-is-loading
  .orders-stepper:not(.orders-stepper--has-values)
  > .orders-stepper__track,
#orders-screen-detail.orders-is-loading
  .orders-stepper:not(.orders-stepper--has-values)
  > .orders-stepper__labels {
  display: none;
}
#orders-screen-detail.orders-is-loading
  .orders-stepper--has-values
  .orders-stepper-skeleton {
  display: none;
}
#orders-screen-detail.orders-is-loading
  .orders-stepper--has-values
  .orders-stepper__dot--icon {
  background: var(--orders-thumb);
  border-radius: 50%;
  color: transparent;
  animation: orders-skeleton-pulse 1.1s ease-in-out infinite;
}
#orders-screen-detail.orders-is-loading
  .orders-stepper--has-values
  .orders-stepper__dot--icon svg {
  visibility: hidden;
}
#orders-screen-detail.orders-is-loading
  .orders-stepper--has-values
  .orders-stepper__dash {
  background: var(--orders-thumb);
  animation: orders-skeleton-pulse 1.1s ease-in-out infinite;
}
#orders-screen-detail.orders-is-loading
  .orders-stepper--has-values
  .orders-stepper__name {
  background: var(--orders-thumb);
  border-radius: 5px;
  color: transparent;
  animation: orders-skeleton-pulse 1.1s ease-in-out infinite;
}
.orders-stepper-skeleton__times,
.orders-stepper-skeleton__rail,
.orders-stepper-skeleton__labels {
  display: flex;
  justify-content: space-between;
}
.orders-stepper-skeleton__times {
  margin-bottom: 16px;
}
.orders-stepper-skeleton__times i {
  background: var(--orders-thumb);
  border-radius: 5px;
  height: 10px;
  width: 28px;
}
.orders-stepper-skeleton__rail {
  align-items: center;
  background: linear-gradient(
    transparent 10px,
    var(--orders-thumb) 10px,
    var(--orders-thumb) 12px,
    transparent 12px
  );
  margin-bottom: 12px;
}
.orders-stepper-skeleton__rail i {
  background: var(--orders-thumb);
  border-radius: 50%;
  height: 22px;
  width: 22px;
}
.orders-stepper-skeleton__labels i {
  background: var(--orders-thumb);
  border-radius: 5px;
  height: 38px;
  width: 48px;
}
.orders-stepper__track {
  display: flex; align-items: center;
  margin-top: 40px;
  margin-bottom: 12px;
}
.orders-stepper__dot {
  flex: 0 0 auto;
  width: 9px; height: 9px; border-radius: 50%;
  background: #cfcfcf; position: relative; z-index: 1;
}
.orders-stepper__dot--done { background: #1a1a1a; }
.orders-stepper__dot.orders-stepper__dot--icon {
  width: 23px;
  height: 23px;
  border-radius: 0;
  background: none;
  color: #cfcfcf;
  display: flex;
  align-items: center;
  justify-content: center;
}
.orders-stepper__dot.orders-stepper__dot--icon.orders-stepper__dot--done { color: #1a1a1a; }
.orders-stepper__time {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 12px;
  font-size: 10px;
  font-weight: 500;
  color: var(--orders-muted);
  white-space: nowrap;
}
.orders-stepper__dot--icon svg { width: 100%; height: 100%; }
.orders-stepper__seg {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.orders-stepper__dash {
  flex: 1;
  height: 1.5px;
  margin: 0 1px;
  border-radius: 999px;
  background: #cfcfcf;
}
.orders-stepper__seg--done .orders-stepper__dash { background: #1a1a1a; }
.orders-stepper__seg--current .orders-stepper__dash {
  animation: orders-stepper-flow 1.1s ease-in-out infinite;
}
.orders-stepper--frozen .orders-stepper__dash {
  animation: none;
  opacity: 1;
}
@keyframes orders-stepper-flow {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}
.orders-stepper__labels { align-items: flex-start; display: flex; }
.orders-stepper__lbl {
  align-items: center;
  color: var(--orders-muted);
  display: flex;
  flex: 1;
  flex-direction: column;
  font-size: 13px;
  font-weight: 400;
  min-width: 0;
  text-align: center;
}
.orders-stepper__lbl:first-child { align-items: flex-start; text-align: left; }
.orders-stepper__lbl:last-child { align-items: flex-end; text-align: right; }
.orders-stepper__name { white-space: nowrap; }
.orders-stepper__date {
  color: #8e8e93;
  display: flex;
  flex-direction: column;
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: -0.1px;
  line-height: 1.2;
  margin-top: 5px;
  min-height: 25px;
  white-space: nowrap;
}
.orders-stepper__date span { display: block; }
.orders-stepper__lbl--done { font-weight: 500; color: var(--orders-ink); }
.orders-stepper__lbl--active { color: var(--orders-ink); }
.orders-stepper__lbl--pending { color: var(--orders-status-pending); }
.orders-stepper__lbl--frozen { color: #3f4a5a; }
.orders-stepper__lbl--pending-complete { color: var(--orders-status-pending-complete); }
.orders-stepper__lbl--packed { color: var(--orders-status-packed); }
.orders-stepper__lbl--shipped { color: var(--orders-status-shipped); }
.orders-stepper__lbl--in-transit { color: var(--orders-status-transit); }
.orders-stepper__lbl--delivered { color: var(--orders-status-delivered); }


.orders-info {
  margin-bottom: 24px;
  min-height: 61px;
}
.orders-detail-summary {
  height: 176px;
}
.orders-info__row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  margin-bottom: 4px;
}
.orders-info__row dt {
  color: var(--orders-muted);
  font-size: 13px;
  font-weight: 400;
}
.orders-info__row dd {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.35;
  min-width: 0;
}
.orders-info__row dd .orders-skel-real {
  display: block;
}
#orders-screen-detail.orders-is-loading .orders-info__row dd .orders-skel-real {
  width: 100%;
}
.orders-info__row:nth-child(2) dd { min-height: 38px; }

.orders-processing { font-size: 14px; font-weight: 500; color: var(--orders-ink); margin-bottom: 10px; }


.orders-pricing { display: flex; justify-content: space-between; margin-bottom: 18px; }
.orders-pricing__col { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; }
.orders-pricing__col:first-child { align-items: flex-start; text-align: left; }
.orders-pricing__col:last-child { align-items: flex-end; text-align: right; }
.orders-pricing__h { font-size: 13px; font-weight: 400; color: var(--orders-muted); }
.orders-pricing__v { font-size: 14px; font-weight: 500; line-height: 1.35; }

.orders-note {
  color: var(--orders-muted);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  margin-bottom: 18px;
  min-height: 61px;
}
.orders-btn-primary {
  width: 100%;
  border: none;
  background: #111;
  color: #fff;
  border-radius: 999px;
  padding: 17px;
  font-size: 15px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
}
.orders-btn-primary:disabled {
  background: #d1d1d1;
  color: #858585;
  cursor: not-allowed;
  opacity: 1;
}
a { color: var(--orders-red); }


.orders-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 430px;
  max-width: 100%;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  z-index: 50;
  overflow: hidden;
}
.orders-overlay[hidden] { display: none; }
.orders-sheet {
  width: 430px;
  max-width: 100%;
  background: #fff;
  border-radius: 28px 28px 0 0;
  padding: 22px 22px max(22px, env(safe-area-inset-bottom));
  box-shadow: 0 -2px 8px rgba(0,0,0,.05);
  animation: orders-slideUp .28s ease;
}
@keyframes orders-slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }

@media (hover: hover) and (pointer: fine) {
  html,
  body { background: #000; }

  body,
  .orders-phone { min-height: 100dvh; }
}

.orders-sheet-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 10px; position: relative; }
.orders-sheet-head::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 48px;
  height: 3px;
  border-radius: 999px;
  background: #e2e2e2;
}
.orders-close-sheet-btn {
  display: grid;
  place-items: center;
  border: none;
  background: transparent;
  color: #111;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  margin-left: auto;
  margin-right: 6px;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  box-shadow: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.orders-close-sheet-btn:focus,
.orders-close-sheet-btn:active,
.orders-close-sheet-btn:hover {
  outline: none;
  box-shadow: none;
  background: transparent;
}
.orders-sheet-title { font-size: 18px; font-weight: 700; color: #111; margin: 0; }
.orders-sheet-sub { font-size: 13px; color: #8a8a8a; }

.orders-sheet-content-group { display: flex; flex-direction: column; gap: 0; }
.orders-amount-box { margin: 0 0 22px; }
.orders-amount-label { font-size: 13px; font-weight: 400; color: #6E6E73; }
.orders-amount-value { font-size: 24.5px; font-weight: 470; letter-spacing: -0.018em; line-height: 1; color: var(--orders-ink); margin-top: 4px; }

.orders-method-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: 0 0 10px;
}
.orders-method-title { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--orders-ink); margin: 0; }
.orders-method-order { font-size: 13px; font-weight: 400; color: #6E6E73; margin: 0; }
.orders-methods { display: flex; flex-direction: column; gap: 16px; margin-bottom: 22px; }
.orders-method {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: 1px solid var(--orders-line);
  background: #fff;
  border-radius: 12px;
  padding: 8px 15px;
}
.orders-method.orders-selected { border-color: var(--orders-line); background: #f2f2f2; }
.orders-method .orders-m-icon { flex-shrink: 0; width: 24px; font-size: 20px; line-height: 1; color: var(--orders-ink); text-align: center; }
.orders-method .orders-m-icon svg { display: block; height: 24px; width: 24px; }
.orders-method .orders-m-icon--coin {
  align-items: center;
  border: 1.7px solid currentColor;
  border-radius: 50%;
  display: flex;
  font-size: 15px;
  font-weight: 600;
  height: 24px;
  justify-content: center;
  width: 24px;
}
.orders-method .orders-m-body { flex: 1; }
.orders-method .orders-m-name { font-size: 14px; font-weight: 500; line-height: 1.35; color: var(--orders-ink); }
.orders-method .orders-m-sub { font-size: 13px; font-weight: 400; color: #6E6E73; margin-top: 2px; }
.orders-method .orders-m-radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 1px solid #c8c8c8;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.orders-method.orders-selected .orders-m-radio { border-color: #777; }
.orders-method .orders-m-radio::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: transparent; }
.orders-method.orders-selected .orders-m-radio::after { background: #111; }

.orders-confirm-btn {
  width: 100%; border: none; cursor: pointer;
  background: #111;
  color: #fff; font-family: inherit; font-weight: 700; font-size: 18px;
  padding: 14px 22px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
}
.orders-confirm-btn:active,
.orders-confirm-btn:focus,
.orders-confirm-btn:hover {
  outline: none;
  box-shadow: none;
  background: #111;
}


.orders-slide-pay {
  position: relative;
  width: 100%;
  height: 52px;
  background: #111;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  overflow: hidden;
  touch-action: none;
}
.orders-slide-pay__label {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  font-family: inherit;
  pointer-events: none;
  user-select: none;
  transition: opacity 0.15s ease;
}
.orders-slide-pay__handle {
  position: absolute;
  left: 4px;
  top: 4px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #fff;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: grab;
  touch-action: none;
}
.orders-slide-pay__handle:active { cursor: grabbing; }
.orders-slide-pay.orders-is-dragging .orders-slide-pay__handle { transition: none; }
.orders-slide-pay:not(.orders-is-dragging) .orders-slide-pay__handle { transition: transform 0.2s ease; }


.orders-pin-head { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; }
.orders-pin-back {
  border: none;
  background: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  fill: #111;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}
.orders-pin-back:hover,
.orders-pin-back:focus,
.orders-pin-back:active { background: none; outline: none; }
.orders-pin-title { font-size: 18px; font-weight: 700; color: #111; margin: 0; }
.orders-pin-sub { font-size: 13px; font-weight: 400; color: var(--orders-muted); margin: 0 0 22px; }
.orders-pin-dots { display: flex; justify-content: center; gap: 16px; margin-bottom: 14px; }
.orders-pin-dots .orders-pd { width: 15px; height: 15px; border-radius: 50%; border: 1.5px solid #111; }
.orders-pin-dots .orders-pd.orders-on { background: #111; }
.orders-pin-notice { display: grid; margin: 0 0 14px; }
.orders-pin-notice > * { grid-area: 1 / 1; }
.orders-pin-error { text-align: center; color: var(--orders-red); font-size: 13px; font-weight: 600; margin: 0; visibility: hidden; }
.orders-pin-error.orders-is-visible { visibility: visible; }
.orders-pin-error.orders-is-success { color: var(--orders-green); }
.orders-pin-forgot { text-align: center; color: var(--orders-muted); font-size: 13px; font-weight: 400; margin: 0; visibility: visible; }
.orders-pin-notice.orders-is-notice .orders-pin-forgot { visibility: hidden; }
.orders-keypad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.orders-keypad .orders-key {
  border: none; cursor: pointer; background: #f2f2f2; color: #111;
  font-family: inherit; font-weight: 700; font-size: 18px;
  padding: 16px 0; border-radius: 12px;
}
.orders-keypad .orders-key.orders-blank { background: transparent; cursor: default; }
.orders-keypad .orders-key.orders-action { background: transparent; font-size: 16px; font-weight: 700; color: #111; }


.orders-success { text-align: center; padding: 14px 0 6px; }
.orders-success[hidden] { display: none; }
.orders-check-outer { width: 76px; height: 76px; border-radius: 50%; background: #e8f7ee; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.orders-check-inner { width: 52px; height: 52px; border-radius: 50%; background: var(--orders-green); color: #fff; font-size: 28px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.orders-fail-outer { width: 76px; height: 76px; border-radius: 50%; background: #fdeaea; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.orders-fail-inner { width: 52px; height: 52px; border-radius: 50%; background: var(--orders-red); color: #fff; font-size: 26px; font-weight: 800; display: flex; align-items: center; justify-content: center; }
.orders-success-title { font-size: 18px; font-weight: 700; color: #111; margin: 0 0 6px; }
.orders-success-text { font-size: 13px; font-weight: 400; color: var(--orders-muted); line-height: 1.5; margin: 0 0 6px; }
.orders-success-sub { font-size: 13px; font-weight: 400; color: var(--orders-muted); line-height: 1.5; margin: 0 0 24px; }
.orders-done-btn {
  width: 100%; border: none; cursor: pointer;
  background: #111; color: #fff; font-family: inherit; font-weight: 700; font-size: 16px;
  padding: 11px 22px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  box-sizing: border-box;
  margin: 0;
  white-space: nowrap;
}

@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
  .orders-field__input { border-bottom-width: 0.5px; }
  .orders-order { border-bottom-width: 0.5px; }
  .orders-tab { border-width: 0.5px; }
  .orders-order__details { border-width: 0.5px; }
  .orders-method { border-width: 0.5px; }
}
