.native-checkout {
  --nco-red: #f4364c;
  position: absolute;
  inset: 0;
  z-index: 50;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding-top: var(--safe-top, 44px);
  padding-bottom: var(--safe-bottom, 24px);
  background: #f5f5f5;
  color: #181818;
}

.native-checkout.nd-active { bottom: 88px; padding-bottom: 0; }
.phone.floating-call-browsing .native-checkout.nd-active { bottom: 0; padding-bottom: var(--safe-bottom, 24px); }
.phone:has(.native-checkout) .native-product { visibility: hidden; pointer-events: none; }
.phone:not(.call-overlay):has(.native-checkout) .statusbar { z-index: 55; }
.phone.call-overlay .native-checkout { visibility: hidden; pointer-events: none; }

.nco-nav {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 44px;
  align-items: center;
  flex: 0 0 44px;
  background: white;
  text-align: center;
}

.nco-nav button { display: grid; place-items: center; height: 44px; padding: 0; background: none; }
.nco-nav h2 { font-size: 18px; font-weight: 500; }
.nco-icon { width: 22px; height: 22px; flex: none; opacity: .6; }
.nco-chevron { width: 13px; height: 15px; opacity: .42; }
.nco-preview-note { background: #fff4f4; color: #a52536; padding: 7px 16px; font-size: 12px; text-align: center; }
.nco-scroll { display: grid; align-content: start; gap: 8px; flex: 1; min-height: 0; overflow: auto; scrollbar-width: none; overscroll-behavior: contain; }
.nco-panel { background: white; padding-inline: 16px; }

.nco-address {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr) 13px;
  align-items: center;
  gap: 10px;
  padding-block: 14px 18px;
  position: relative;
}

.nco-address::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 3px;
  background: repeating-linear-gradient(135deg,#ff5966 0 12px, transparent 12px 23px,#7399ce 23px 35px,transparent 35px 46px);
}

.nco-location { width: 18px; height: 23px; }
.nco-recipient { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 4px; font-size: 15px; font-weight: 500; }
.nco-address-line { display: flex; align-items: flex-start; gap: 6px; margin-top: 9px; font-size: 14px; line-height: 1.45; color: #666; }
.nco-address-line span { flex: none; padding: 1px 6px; border-radius: 999px; background: var(--nco-red); color: white; font-size: 11px; }

.nco-row { display: flex; align-items: center; gap: 8px; min-height: 26px; font-size: 14px; }
.nco-row > span:first-child { flex: none; color: #666; }
.nco-row > span:nth-child(2) { flex: 1; text-align: right; overflow-wrap: anywhere; }
.nco-row em { color: var(--nco-red); font-style: normal; }
.nco-payment { min-height: 48px; }
.nco-product { padding-block: 22px 12px; }
.nco-item { display: flex; align-items: center; gap: 20px; margin-bottom: 14px; }
.nco-thumbnail { flex: none; width: 77px; height: 77px; object-fit: contain; }
.nco-item-copy { flex: 1; min-width: 0; display: grid; gap: 6px; }
.nco-item h3 { font-size: 15px; font-weight: 600; line-height: 1.4; }
.nco-spec { color: #666; font-size: 13px; line-height: 1.45; overflow-wrap: anywhere; }
.nco-item-price { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.nco-item-price strong { font-size: 18px; font-weight: 600; color: var(--nco-red); }
.nco-item-price span { color: #666; font-size: 14px; font-weight: 600; }
.nco-item-copy small { width: max-content; max-width: 100%; padding: 1px 3px; border-radius: 999px; background: #fff0f2; color: #b2293d; font-size: 11px; }
.nco-row-hint { padding-left: 50px; font-size: 13px; text-align: right; line-height: 1.5; }
.nco-insurance { margin-top: 18px; }
.nco-options .nco-row { min-height: 44px; }
.nco-muted > span:nth-child(2) { color: #707070; }

.nco-memo { display: grid; gap: 12px; padding-block: 16px; color: #666; font-size: 14px; }
.nco-memo textarea { min-width: 0; resize: none; padding: 12px; border: 0; border-radius: 4px; background: #f7f7f7; color: #181818; font: inherit; }
.nco-memo textarea:focus-visible { outline: 2px solid #aa72b0; outline-offset: 2px; }

.nco-footer { display: flex; justify-content: flex-end; align-items: stretch; min-height: 48px; background: white; }
.nco-totals { display: grid; align-content: center; gap: 3px; padding: 5px 16px; text-align: right; font-size: 17px; }
.nco-totals strong, .nco-totals span { color: var(--nco-red); }
.nco-totals p + p { color: #666; font-size: 13px; }
.nco-footer button { flex: 0 0 104px; min-height: 48px; background: var(--nco-red); color: #fff; font-size: 16px; }
.nco-footer button:disabled { opacity: 1; background: #f7c0c7; color: #6e3039; }
.native-checkout::after { content: ''; position: absolute; inset: auto 0 0; height: var(--safe-bottom, 24px); background: #fff; pointer-events: none; }
.native-checkout.nd-active::after { display: none; }
.phone.floating-call-browsing .native-checkout.nd-active::after { display: block; }
