/**
 * Order tracker sandbox — scoped under .emp-ot-* only.
 * Do not share selectors with #order-confirmation / .order-receipt-*.
 */

.emp-ot-sandbox {
  --emp-ot-bg: #1a1209;
  --emp-ot-cream: #faf6ef;
  --emp-ot-gold: #c9a227;
  --emp-ot-muted: #8a7a66;
  --emp-ot-ink: #2d1f0f;
  --emp-ot-active: #2f6f4e;
  box-sizing: border-box;
  max-width: 42rem;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
  font-family: "Source Sans 3", system-ui, sans-serif;
  color: var(--emp-ot-ink);
}

.emp-ot-sandbox *,
.emp-ot-sandbox *::before,
.emp-ot-sandbox *::after {
  box-sizing: border-box;
}

.emp-ot-sandbox__banner {
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--emp-ot-muted);
  margin: 0 0 0.5rem;
}

.emp-ot-sandbox__title {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.75rem;
  font-weight: 400;
  margin: 0 0 0.35rem;
  color: var(--emp-ot-ink);
}

.emp-ot-sandbox__lede {
  margin: 0 0 1.5rem;
  color: var(--emp-ot-muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.emp-ot-mode {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #efe6d6;
  color: var(--emp-ot-ink);
  margin-bottom: 1rem;
}

.emp-ot-rail {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

@media (min-width: 720px) {
  .emp-ot-rail {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 0.5rem;
  }
}

.emp-ot-step {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.85rem 0;
  position: relative;
  flex: 1;
  min-width: 0;
}

@media (min-width: 720px) {
  .emp-ot-step {
    flex-direction: column;
    text-align: center;
    padding: 0.5rem 0.25rem 0;
  }
}

.emp-ot-step__dot {
  width: 0.85rem;
  height: 0.85rem;
  border-radius: 50%;
  border: 2px solid var(--emp-ot-muted);
  background: transparent;
  flex-shrink: 0;
}

.emp-ot-step--complete .emp-ot-step__dot {
  background: var(--emp-ot-gold);
  border-color: var(--emp-ot-gold);
}

.emp-ot-step--active .emp-ot-step__dot {
  background: var(--emp-ot-active);
  border-color: var(--emp-ot-active);
  box-shadow: 0 0 0 4px rgba(47, 111, 78, 0.2);
}

.emp-ot-step__copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  min-width: 0;
}

.emp-ot-step__label {
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.25;
}

.emp-ot-step__hint {
  font-size: 0.8rem;
  font-weight: 400;
  color: var(--emp-ot-muted);
  line-height: 1.35;
}

.emp-ot-step--upcoming .emp-ot-step__label {
  color: var(--emp-ot-muted);
  font-weight: 500;
}

.emp-ot-step--active .emp-ot-step__label {
  color: var(--emp-ot-active);
}

.emp-ot-lead {
  margin: 0 0 1rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--emp-ot-ink);
  line-height: 1.4;
}

.emp-ot-meta {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--emp-ot-muted);
}

.emp-ot-receipt {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(45, 31, 15, 0.12);
}

.emp-ot-receipt__heading {
  margin: 0 0 0.65rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--emp-ot-muted);
}

.emp-ot-receipt-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.emp-ot-receipt-table th,
.emp-ot-receipt-table td {
  text-align: left;
  padding: 0.4rem 0.35rem;
  border-bottom: 1px solid rgba(45, 31, 15, 0.12);
  vertical-align: top;
}

.emp-ot-receipt-table th {
  font-weight: 600;
  color: var(--emp-ot-ink);
}

.emp-ot-num {
  text-align: right;
  white-space: nowrap;
}

.emp-ot-receipt-total {
  margin: 0.75rem 0 0.5rem;
  font-size: 1.05rem;
  color: var(--emp-ot-ink);
}

.emp-ot-note {
  margin: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--emp-ot-ink);
  line-height: 1.4;
}

.emp-ot-note--notes {
  margin-top: 0.65rem;
}

.emp-ot-next {
  margin-top: 1rem;
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--emp-ot-ink);
}

.emp-ot-contact {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  color: var(--emp-ot-muted);
  line-height: 1.4;
}

.emp-ot-contact__body {
  margin: 0;
}

.emp-ot-error {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  background: #fde8e8;
  color: #7a1f1f;
  border-radius: 0.35rem;
  font-size: 0.9rem;
}

.emp-ot-links {
  margin-top: 1.75rem;
  font-size: 0.85rem;
}

.emp-ot-links a {
  color: var(--emp-ot-ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.emp-ot-page {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(ellipse at top, #3a2a18 0%, transparent 55%),
    linear-gradient(180deg, #1a1209 0%, #faf6ef 280px, #faf6ef 100%);
}

.emp-ot-page__shell {
  padding-top: 2rem;
  padding-bottom: 3rem;
}

.emp-ot-card {
  background: var(--emp-ot-cream, #faf6ef);
  border-radius: 0.75rem;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

/* —— Homepage confirmation context mock —— */
.emp-ot-context-page {
  --empire-gold: #c9a227;
  --empire-gold-light: #e8d48a;
  --empire-warm: #2d1f0f;
  --empire-cream: #faf6ef;
  --empire-brown: #5c4033;
  --emp-header-h: 60px;
  margin: 0;
  min-height: 100vh;
  font-family: "Source Sans 3", system-ui, sans-serif;
  background: linear-gradient(165deg, var(--empire-warm) 0%, #1a1209 50%, var(--empire-brown) 100%);
  color: var(--empire-cream);
  box-sizing: border-box;
  padding: 0 1.1rem 2.5rem;
  padding-top: calc(var(--emp-header-h) + 0.75rem);
}

@media (min-width: 768px) {
  .emp-ot-context-page {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.emp-ot-site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1100;
  min-height: var(--emp-header-h);
  display: flex;
  align-items: center;
  padding: 0.35rem 0.75rem;
  background: rgba(26, 18, 9, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(201, 162, 39, 0.28);
  box-sizing: border-box;
}

.emp-ot-site-header-inner {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}

.emp-ot-header-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--empire-cream);
  flex-shrink: 0;
}

.emp-ot-header-brand img {
  height: 40px;
  width: auto;
  border-radius: 0.35rem;
  border: 1px solid var(--empire-gold-light);
  background: #fff;
  display: block;
}

.emp-ot-header-brand-text {
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.15rem;
  color: var(--empire-cream);
  line-height: 1.1;
}

@media (max-width: 420px) {
  .emp-ot-header-brand-text {
    display: none;
  }
}

.emp-ot-site-nav {
  display: none;
  gap: 1rem;
}

@media (min-width: 720px) {
  .emp-ot-site-nav {
    display: flex;
  }
}

.emp-ot-site-nav a {
  color: rgba(250, 246, 239, 0.88);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 600;
}

.emp-ot-site-nav a:hover {
  color: var(--empire-gold-light);
}

.emp-ot-header-order {
  display: inline-block;
  background: var(--empire-gold);
  color: var(--empire-warm);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 2rem;
  text-decoration: none;
}

.emp-ot-header-order:hover {
  background: var(--empire-gold-light);
  color: var(--empire-warm);
}

.emp-ot-context-main {
  max-width: 960px;
  margin: 0 auto;
  width: 100%;
}

.emp-ot-plan {
  background: rgba(250, 246, 239, 0.1);
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 0.75rem;
  padding: 1.15rem 1.25rem 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--empire-cream);
}

.emp-ot-plan__eyebrow {
  margin: 0 0 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--empire-gold-light);
  font-weight: 700;
}

.emp-ot-plan__title {
  margin: 0 0 0.75rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--empire-cream);
}

.emp-ot-plan__steps {
  margin: 0;
  padding-left: 1.2rem;
  font-size: 0.95rem;
  line-height: 1.5;
  color: rgba(250, 246, 239, 0.92);
}

.emp-ot-plan__steps li + li {
  margin-top: 0.45rem;
}

.emp-ot-plan__steps code {
  font-size: 0.85em;
  background: rgba(0, 0, 0, 0.25);
  padding: 0.05rem 0.3rem;
  border-radius: 0.25rem;
}

.emp-ot-plan__note {
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  line-height: 1.45;
  color: rgba(250, 246, 239, 0.78);
}

.emp-ot-page-flow {
  width: 100%;
}

.emp-ot-ghost-section {
  margin-top: 1.25rem;
  opacity: 0.55;
}

.emp-ot-ghost-card {
  background: rgba(250, 246, 239, 0.12);
  border: 1px dashed rgba(201, 162, 39, 0.35);
  border-radius: 1rem;
  padding: 1.25rem 1.5rem;
}

.emp-ot-ghost-label {
  margin: 0 0 0.75rem;
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(250, 246, 239, 0.7);
}

.emp-ot-ghost-lines span {
  display: block;
  height: 0.65rem;
  border-radius: 0.25rem;
  background: rgba(250, 246, 239, 0.18);
  margin-bottom: 0.45rem;
}

.emp-ot-ghost-lines span:nth-child(1) {
  width: 72%;
}
.emp-ot-ghost-lines span:nth-child(2) {
  width: 88%;
}
.emp-ot-ghost-lines span:nth-child(3) {
  width: 54%;
}

.emp-ot-menu-section {
  margin-top: 1.75rem;
  width: 100%;
}

.emp-ot-confirmation-slot {
  position: relative;
}

.emp-ot-slot-callout {
  display: inline-block;
  margin-bottom: 0.55rem;
  padding: 0.25rem 0.55rem;
  border-radius: 0.35rem;
  background: var(--empire-gold);
  color: var(--empire-warm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.emp-ot-slot-callout code {
  font-weight: 700;
  font-size: 0.9em;
}

.emp-ot-menu-card {
  background: rgba(250, 246, 239, 0.97);
  color: var(--empire-brown);
  border-radius: 1rem;
  padding: 1.5rem 1.35rem 1.75rem;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.35);
  border: 2px solid var(--empire-gold);
  outline: 3px solid rgba(201, 162, 39, 0.25);
  outline-offset: 4px;
}

@media (min-width: 768px) {
  .emp-ot-menu-card {
    padding: 2rem 2.5rem;
  }
}

.emp-ot-menu-card-title {
  margin: 0 0 1rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--empire-brown);
}

/* EmpOt nested in homepage menu-card / confirmation: no second card chrome */
.emp-ot-menu-card .emp-ot-sandbox,
.menu-card .emp-ot-sandbox {
  max-width: none;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border-radius: 0;
}

.emp-ot-menu-card .emp-ot-sandbox__banner,
.menu-card .emp-ot-sandbox__banner {
  margin-bottom: 0.75rem;
}

.menu-card .emp-ot-sandbox__banner[hidden] {
  display: none;
}

/* When confirmation is open (order return / courier preview), kill cart chrome. */
body.emp-ot-confirmation-open #cart-bar,
body.emp-ot-confirmation-open #cart-drawer-backdrop,
body.emp-ot-confirmation-open #cart-drawer-panel {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

body.emp-ot-confirmation-open #order-confirmation {
  position: relative;
  z-index: 5;
}


.emp-ot-links--context {
  margin-top: 1.75rem;
  text-align: center;
}

.emp-ot-links--context a {
  color: var(--empire-gold-light);
}

/* Courier details card — primary live-delivery block under the rail */
.emp-ot-courier {
  margin: 1.25rem 0 1.5rem;
  padding: 1.15rem 1.2rem 1.2rem;
  border: 1px solid rgba(92, 64, 51, 0.22);
  border-left: 4px solid #c9a227;
  border-radius: 14px;
  background: #fffdf9;
  box-shadow: 0 10px 28px rgba(28, 20, 16, 0.06);
}

.emp-ot-courier__eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #c45c26;
}

.emp-ot-courier__title {
  margin: 0 0 0.55rem;
  font-family: "DM Serif Display", Georgia, serif;
  font-size: 1.45rem;
  font-weight: 400;
  color: var(--empire-brown, #5c4033);
  line-height: 1.15;
}

.emp-ot-courier__msg {
  margin: 0 0 0.95rem;
  font-weight: 700;
  color: var(--empire-brown, #5c4033);
  font-size: 1.08rem;
  line-height: 1.4;
}

.emp-ot-courier__dl {
  margin: 0;
  display: grid;
  gap: 0.55rem 0;
}

.emp-ot-courier__row {
  display: grid;
  grid-template-columns: 6.25rem minmax(0, 1fr);
  gap: 0.65rem;
  margin: 0;
  font-size: 1rem;
  align-items: baseline;
}

.emp-ot-courier__row dt {
  margin: 0;
  font-weight: 700;
  color: rgba(92, 64, 51, 0.72);
}

.emp-ot-courier__row dd {
  margin: 0;
  color: var(--emp-ot-ink, #2d1f0f);
  font-weight: 700;
  word-break: break-word;
}

.emp-ot-courier__waypoints {
  list-style: none;
  margin: 1rem 0 0;
  padding: 0.85rem 0 0;
  border-top: 1px solid rgba(92, 64, 51, 0.14);
  display: grid;
  gap: 0.55rem;
}

.emp-ot-courier__waypoints li {
  display: grid;
  grid-template-columns: 4.75rem minmax(0, 1fr) auto;
  gap: 0.5rem;
  align-items: baseline;
  font-size: 0.95rem;
  color: var(--emp-ot-ink, #2d1f0f);
}

.emp-ot-courier__wp-type {
  font-weight: 700;
  color: rgba(92, 64, 51, 0.72);
}

.emp-ot-courier__wp-title {
  font-weight: 700;
  min-width: 0;
}

.emp-ot-courier__wp-eta {
  font-weight: 600;
  color: rgba(92, 64, 51, 0.75);
  white-space: nowrap;
}

.emp-ot-courier__actions {
  margin: 1.05rem 0 0;
}

.emp-ot-courier__uber-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.6rem;
  padding: 0.55rem 1.1rem;
  border-radius: 999px;
  background: #c45c26;
  border: 1px solid #c45c26;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none !important;
}

.emp-ot-courier__uber-link:hover {
  background: #9a4519;
  border-color: #9a4519;
  color: #fff !important;
}



