:root {
  --pink: #A82F59;
  --pink-dark: #8F2449;
  --pink-soft: #FBEFF4;
  --pink-wash: #FFF8FA;
  --navy: #0F3569;
  --navy-2: #294C78;
  --muted: #708098;
  --ink: #172F50;
  --line: #E8E6E8;
  --surface: #FFFFFF;
  --warm: #FFFCFC;
  --green: #21834F;
  --shadow: 0 16px 40px rgba(15, 53, 105, .065);
  --radius-lg: 22px;
  --radius-md: 14px;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #fff; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--navy);
  background:
    radial-gradient(ellipse at 50% 0%, rgba(248, 222, 233, .45), transparent 36rem),
    linear-gradient(180deg, #FFFEFE 0%, #FFFFFF 48%, #FFFCFD 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; }
button { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

/* Shared header — matched to the NEYVERO product-page header */
.mobile-header {
  width: 100%; max-width: none; margin: 0; background: #FFFFFF;
  border-radius: 0 0 20px 20px;
  padding: max(12px, env(safe-area-inset-top)) 14px 10px;
  box-shadow: 0 8px 30px rgba(15,53,105,.07);
  overflow: hidden; position: relative; z-index: 10;
}
.top-row { min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; color: var(--navy); flex: 0 1 auto; min-width: 0; }
.brand-logo { width: 175px; height: auto; max-width: 100%; display: block; object-fit: contain; }
.top-actions { display: flex; align-items: center; gap: 2px; flex: 0 0 auto; }
.icon-button { position: relative; width: 42px; height: 42px; border: 0; border-radius: 50%; background: transparent; display: grid; place-items: center; color: var(--navy); box-shadow: none; cursor: pointer; -webkit-tap-highlight-color: transparent; transition: transform 220ms cubic-bezier(.22,1,.36,1), color 220ms ease; }
.icon-button:active { transform: scale(.91); }
.icon-button:focus-visible { outline: 3px solid rgba(168,47,89,.18); outline-offset: 2px; }
.tracking-icon { width: 31px; height: 31px; display: block; background-image: url("../assets/tracking-icon.svg"); background-repeat: no-repeat; background-position: center; background-size: contain; }
.account-button svg { width: 26px; height: 26px; display: block; fill: currentColor; }
.back-to-shop { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; margin: 0 0 18px; padding: 0 12px; border: 1px solid #E7DEE6; border-radius: 999px; background: #FFFFFF; color: var(--navy); box-shadow: 0 4px 12px rgba(15,53,105,.045); font-size: 12px; line-height: 1; font-weight: 650; -webkit-tap-highlight-color: transparent; transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.back-to-shop svg { width: 16px; height: 16px; flex: 0 0 auto; color: var(--pink); }
.back-to-shop:hover { border-color: #E4B8C9; background: #FFF8FB; }
.back-to-shop:active { transform: translateY(1px); }
.back-to-shop:focus-visible { outline: 3px solid rgba(168,47,89,.18); outline-offset: 2px; }

.page-shell { width: min(100% - 36px, 480px); margin: 0 auto; padding: 36px 0 30px; }
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 5px; }
.hero-symbol {
  display: grid; place-items: center;
  width: 76px; height: 76px; margin-bottom: 18px;
  border-radius: 25px; color: var(--pink);
  background: linear-gradient(145deg, #FFF5F8, #F9E7EE);
  border: 1px solid #F3D9E3;
  box-shadow: 0 10px 24px rgba(168,47,89,.09), inset 0 1px 0 rgba(255,255,255,.9);
}
.hero-symbol svg { width: 48px; height: 48px; }
.eyebrow { margin: 0 0 8px; color: var(--pink); font-size: 10px; font-weight: 750; letter-spacing: .15em; line-height: 1.4; }
h1, h2, h3, p { margin-top: 0; }
.hero h1 { margin: 0; color: var(--navy); font-size: clamp(27px, 7.5vw, 32px); font-weight: 750; line-height: 1.18; letter-spacing: -.045em; }
.hero-copy { max-width: 344px; margin: 11px 0 0; color: #677992; font-size: 14px; line-height: 1.65; font-weight: 400; }

.lookup-card {
  margin-top: 28px; padding: 23px 22px 21px;
  background: rgba(255,255,255,.96);
  border: 1px solid #EEE6E9; border-radius: var(--radius-lg);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255,255,255,.95);
}
.lookup-heading { display: flex; align-items: center; gap: 12px; margin-bottom: 21px; }
.lookup-heading-icon { display: grid; place-items: center; width: 43px; height: 43px; flex: 0 0 auto; border-radius: 14px; color: var(--pink); background: var(--pink-soft); }
.lookup-heading-icon svg { width: 24px; height: 24px; }
.lookup-heading h2 { margin: 0 0 4px; font-size: 16px; line-height: 1.3; font-weight: 700; letter-spacing: -.02em; }
.lookup-heading p { margin: 0; color: var(--muted); font-size: 11.5px; line-height: 1.5; }
#tracking-form label { display: block; margin-bottom: 8px; color: var(--navy); font-size: 12px; line-height: 1.3; font-weight: 650; }
.input-wrap { position: relative; display: flex; align-items: center; height: 55px; border: 1px solid #DCDDE3; border-radius: 13px; background: #FFFEFE; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.input-wrap:focus-within { border-color: var(--pink); box-shadow: 0 0 0 3px rgba(168,47,89,.10); background: #fff; }
.input-wrap.has-error { border-color: #C44754; box-shadow: 0 0 0 3px rgba(196,71,84,.08); }
.input-icon { width: 20px; height: 20px; flex: 0 0 auto; margin-left: 15px; color: #7F8DA1; }
#order-id { min-width: 0; width: 100%; height: 100%; padding: 0 10px 0 12px; border: 0; outline: none; border-radius: inherit; background: transparent; color: var(--navy); font-size: 14px; font-weight: 550; letter-spacing: .01em; }
#tracking-phone { min-width: 0; width: 100%; height: 100%; padding: 0 14px 0 12px; border: 0; outline: none; border-radius: inherit; background: transparent; color: var(--navy); font-size: 15px; font-weight: 650; letter-spacing: .04em; }
#tracking-phone::placeholder { color: #A4ADBA; font-weight: 400; letter-spacing: .04em; }
#order-id::placeholder { color: #A4ADBA; font-weight: 400; }
.clear-input { display: grid; place-items: center; width: 38px; height: 42px; flex: 0 0 auto; margin-right: 5px; border: 0; border-radius: 10px; background: transparent; color: #7C8798; cursor: pointer; }
.clear-input svg { width: 17px; height: 17px; }
.clear-input:hover { background: #F7F4F5; color: var(--navy); }
.field-hint, .field-error { display: flex; align-items: center; gap: 6px; margin: 9px 0 0; font-size: 10.5px; line-height: 1.5; }
.field-hint { color: #7A879A; }
.field-hint svg { width: 14px; height: 14px; flex: 0 0 auto; }
.field-error { color: #B52E46; font-size: 11px; font-weight: 550; }
.primary-button { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 52px; margin-top: 20px; padding: 0 18px; border: 1px solid var(--pink); border-radius: 14px; color: #fff; background: linear-gradient(135deg, #B43A64, #A82F59 70%, #98254C); box-shadow: 0 9px 18px rgba(168,47,89,.17), inset 0 1px 0 rgba(255,255,255,.19); font-size: 14px; font-weight: 700; cursor: pointer; transition: transform .16s ease, box-shadow .16s ease, filter .16s ease; }
.primary-button svg { width: 19px; height: 19px; }
.primary-button:hover { filter: brightness(1.025); box-shadow: 0 11px 22px rgba(168,47,89,.21), inset 0 1px 0 rgba(255,255,255,.19); }
.primary-button:active { transform: translateY(1px) scale(.995); box-shadow: 0 4px 10px rgba(168,47,89,.15); }
.primary-button:focus-visible, .clear-input:focus-visible { outline: 3px solid rgba(168,47,89,.23); outline-offset: 3px; }

.journey { margin-top: 30px; padding: 21px 20px 19px; border: 1px solid #F0E8EB; border-radius: 20px; background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,249,251,.92)); }
.section-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 18px; }
.section-heading .eyebrow { margin-bottom: 5px; font-size: 9px; }
.section-heading h2 { margin: 0; color: var(--navy); font-size: 17px; font-weight: 700; line-height: 1.3; letter-spacing: -.025em; }
.journey-badge { flex: 0 0 auto; color: var(--pink); padding: 6px 9px; border: 1px solid #F1D4E0; border-radius: 999px; background: #FFF4F8; font-size: 9px; line-height: 1; font-weight: 650; }
.steps-list { display: flex; flex-direction: column; }
.journey-step { display: flex; align-items: center; gap: 12px; min-height: 54px; }
.step-icon { display: grid; place-items: center; width: 38px; height: 38px; flex: 0 0 auto; border-radius: 13px; color: var(--pink); background: #FBEFF4; border: 1px solid #F4DEE7; }
.step-icon svg { width: 21px; height: 21px; }
.step-icon-final { color: var(--green); background: #EEF8F1; border-color: #D9EDE0; }
.step-copy { flex: 1; min-width: 0; }
.step-copy h3 { margin: 0 0 3px; color: var(--navy); font-size: 12px; font-weight: 650; line-height: 1.35; }
.step-copy p { margin: 0; color: #78869A; font-size: 10.5px; line-height: 1.45; }
.step-number { align-self: center; color: #B4BAC4; font-size: 10px; font-weight: 700; letter-spacing: .05em; }
.step-connector { height: 12px; width: 1px; margin-left: 18px; background: #E7DCE1; }
.support-note { display: flex; justify-content: center; align-items: center; gap: 7px; margin: 20px 0 0; color: #7E8B9D; font-size: 10.5px; line-height: 1.5; text-align: center; }
.support-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--pink); }
.site-footer { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 19px 18px 24px; color: #8792A2; font-size: 10px; text-align: center; }
.footer-brand { color: #8792A2; font-size: 10px; font-weight: 750; letter-spacing: .04em; }

@media (min-width: 390px) {
  .brand-logo { width: 185px; }
}
@media (min-width: 761px) {
  .mobile-header { max-width: 1180px; margin: 0 auto; padding-left: 30px; padding-right: 30px; border-radius: 0 0 24px 24px; }
}
@media (max-width: 420px) {
  .mobile-header { padding-left: 14px; padding-right: 14px; border-radius: 0 0 20px 20px; }
  .brand-logo { width: 175px; }
  .top-actions { gap: 2px; }
  .tracking-icon { width: 31px; height: 31px; }
  .account-button svg { width: 26px; height: 26px; }
}
@media (max-width: 360px) {
  .brand-logo { width: 160px; }
  .top-row { gap: 8px; }
  .tracking-icon { width: 30px; height: 30px; }
  .account-button svg { width: 25px; height: 25px; }
}

@media (min-width: 700px) {
  .site-header { height: 78px; }
  .page-shell { width: min(100% - 48px, 480px); padding-top: 46px; }
  .hero-symbol { width: 82px; height: 82px; }
  .hero h1 { font-size: 32px; }
  .lookup-card { padding: 25px 24px 23px; }
  .journey { padding: 23px 22px 21px; }
}
@media (max-width: 380px) {
  .site-header { height: 64px; padding-inline: 16px; }
  .brand-name { font-size: 15px; }
  .header-meta { font-size: 10px; }
  .page-shell { width: calc(100% - 28px); padding-top: 25px; }
  .hero-symbol { width: 66px; height: 66px; border-radius: 22px; margin-bottom: 15px; }
  .hero-symbol svg { width: 42px; height: 42px; }
  .hero h1 { font-size: 27px; }
  .hero-copy { font-size: 13px; }
  .lookup-card { margin-top: 22px; padding: 18px 16px; border-radius: 19px; }
  .lookup-heading { gap: 10px; margin-bottom: 17px; }
  .lookup-heading-icon { width: 40px; height: 40px; }
  .lookup-heading h2 { font-size: 15px; }
  .lookup-heading p { font-size: 10.5px; }
  .journey { margin-top: 22px; padding: 18px 15px 16px; }
  .section-heading h2 { font-size: 16px; }
  .journey-badge { font-size: 8px; padding: 6px 7px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

/* Order tracking results page — additive styles; lookup page remains unchanged. */
.results-page .result-shell { padding-top: 16px; padding-bottom: 34px; min-width: 0; }
.back-to-search { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; color: var(--navy-2); font-size: 12px; font-weight: 650; }
.back-to-search svg { width: 18px; height: 18px; }
.result-eyebrow { margin: 0 0 5px; color: var(--pink); font-size: 9px; line-height: 1.4; font-weight: 750; letter-spacing: .13em; }
.result-card { width: 100%; min-width: 0; margin-top: 16px; padding: 19px 18px; border: 1px solid #E4E8EF; border-radius: 20px; background: #FFFFFF; box-shadow: 0 8px 24px rgba(15,53,105,.045); }
.result-section-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 9px 10px; margin-bottom: 15px; min-width: 0; }
.result-section-head h2 { margin: 0; color: var(--navy); font-size: 16px; line-height: 1.3; letter-spacing: -.025em; font-weight: 750; }
.result-section-head .result-eyebrow { margin-bottom: 4px; }
.progress-count, .order-id-tag { flex: 0 0 auto; color: var(--pink); border: 1px solid #F1D6E1; background: #FFF5F8; padding: 6px 8px; border-radius: 999px; font-size: 9px; font-weight: 700; }
.tracking-timeline { display: flex; flex-direction: column; }
.timeline-event { position: relative; display: flex; gap: 11px; min-height: 61px; }
.timeline-event:last-child { min-height: 31px; }
.timeline-event:not(:last-child)::after { position: absolute; content: ""; left: 14px; top: 30px; bottom: -1px; width: 2px; background: #E8E6E8; }
.timeline-event.is-complete:not(:last-child)::after { background: #D6E9DD; }
.timeline-marker { z-index: 1; display: grid; place-items: center; width: 30px; height: 30px; flex: 0 0 auto; border: 1px solid #E5E4E8; border-radius: 50%; color: #A7AFBC; background: #F8F8FA; font-size: 9px; font-weight: 750; }
.timeline-marker svg { width: 15px; height: 15px; }
.is-complete .timeline-marker { color: #fff; background: #21834F; border-color: #21834F; }
.is-current .timeline-marker { color: #fff; background: var(--pink); border-color: var(--pink); box-shadow: 0 0 0 4px rgba(168,47,89,.10); }
.timeline-copy { flex: 1; min-width: 0; padding: 2px 0 12px; }
.timeline-copy-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; }
.timeline-copy strong { color: #A0A8B6; font-size: 11px; line-height: 1.4; font-weight: 650; }
.is-complete .timeline-copy strong, .is-current .timeline-copy strong { color: var(--navy); }
.timeline-copy time { flex: 0 0 auto; color: #9AA3B2; font-size: 9px; line-height: 1.4; }
.timeline-copy p { margin: 3px 0 0; color: #9AA3B2; font-size: 10px; line-height: 1.4; }
.is-complete .timeline-copy p, .is-current .timeline-copy p { color: #738197; }
.compact-head { margin-bottom: 14px; }
.tracked-product { display: flex; align-items: center; gap: 12px; padding-bottom: 15px; border-bottom: 1px solid #F0EAED; }
.tracked-product-art { display: grid; place-items: center; width: 78px; height: 78px; flex: 0 0 auto; border-radius: 14px; overflow: hidden; }
.tracked-product-art svg, .tracked-product-art img { width: 100%; height: 100%; object-fit: contain; }
.tracked-product-art img[hidden], .tracked-product-art svg[hidden] { display: none; }
.tracked-product-copy { min-width: 0; flex: 1; }
.tracked-product-copy h3 { margin: 0 0 5px; color: var(--navy); font-size: 12px; line-height: 1.4; font-weight: 700; }
.tracked-product-copy p { margin: 0 0 7px; color: #7B8799; font-size: 10px; line-height: 1.4; }
.tracked-product-copy span { color: var(--navy); font-size: 12px; line-height: 1.3; font-weight: 750; }
.order-meta-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 14px 12px; padding: 16px 0; border-bottom: 1px solid #F0EAED; min-width: 0; }
.order-meta-grid div { min-width: 0; }
.order-meta-grid span, .order-meta-grid strong { display: block; }
.order-meta-grid span { margin-bottom: 4px; color: #8290A2; font-size: 9.5px; line-height: 1.35; }
.order-meta-grid strong { min-width: 0; overflow-wrap: anywhere; word-break: normal; color: var(--navy); font-size: 11px; line-height: 1.45; font-weight: 650; }
.price-breakdown { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
.price-breakdown > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #728097; font-size: 11px; line-height: 1.4; }
.price-breakdown strong { color: var(--navy); font-weight: 650; }
.price-breakdown .price-total { margin-top: 2px; padding-top: 12px; border-top: 1px dashed #E5DDE1; color: var(--navy); font-size: 13px; font-weight: 750; }
.price-breakdown .price-total strong { color: var(--pink); font-size: 16px; font-weight: 750; }
.result-actions { margin-top: 18px; }
.track-again-button { margin-top: 0; min-height: 49px; text-decoration: none; }
.track-again-button svg { width: 18px; height: 18px; }
.not-found-card { text-align: center; padding: 30px 22px 24px; }
.not-found-card .primary-button { max-width: 100%; }
.not-found-card[hidden], #tracking-found[hidden] { display: none; }
.not-found-icon { display: grid; place-items: center; width: 55px; height: 55px; margin: 0 auto 14px; border-radius: 17px; color: var(--pink); background: var(--pink-soft); }
.not-found-icon svg { width: 27px; height: 27px; }
.not-found-card h1 { margin: 0; color: var(--navy); font-size: 21px; line-height: 1.25; letter-spacing: -.025em; }
.not-found-card p { margin: 9px 0 19px; color: #718097; font-size: 12px; line-height: 1.6; }
.privacy-note { display: flex; align-items: flex-start; justify-content: center; gap: 7px; margin: 17px 2px 0; color: #8993A2; font-size: 9px; line-height: 1.5; text-align: center; }
.privacy-note svg { width: 13px; height: 13px; flex: 0 0 auto; }
@media (max-width: 380px) {
  .results-page .result-shell { padding-top: 13px; padding-bottom: 28px; }
  .result-card { padding: 16px 14px; border-radius: 17px; }
  .timeline-copy-head { align-items: flex-start; flex-direction: column; gap: 2px; }
  .timeline-copy time { white-space: normal; }
  .order-meta-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .tracked-product { gap: 10px; }
  .tracked-product-art { width: 68px; height: 68px; }
  .tracked-product-copy h3 { font-size: 12.5px; overflow-wrap: anywhere; }
}

.order-summary-tags { display: flex; flex: 0 0 auto; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; max-width: 100%; }

/* One compact status badge is shown for every state; the large status hero is intentionally removed. */
.compact-order-status { display: inline-flex; align-items: center; justify-content: center; padding: 6px 9px; border: 1px solid #D7EDE0; border-radius: 999px; background: #EDF8F1; color: #176C3A; font-size: 9px; line-height: 1.1; font-weight: 700; white-space: nowrap; }
.compact-order-status.shipped { color: var(--pink); background: #FBEFF4; border-color: #F0D6E1; }
.compact-order-status.processing { color: #98601A; background: #FFF6E9; border-color: #F1E2C9; }
.compact-order-status.cancelled { color: #6F7785; background: #F3F4F6; border-color: #E1E4E8; }
@media (max-width: 380px) { .order-summary-tags { gap: 5px; } .compact-order-status { font-size: 8.5px; padding: 6px 7px; } }
