/* Custom overrides for LunchLink */

/* Try to visually remove white backgrounds from raster logos without alpha.
   Works best on non-white backgrounds. Recommend replacing with true transparent PNG when available. */
.logo-remove-white {
  mix-blend-mode: multiply;
}

/* Crisp pixel-art rendering for the sandwich icon */
.logo-pixelated {
  image-rendering: pixelated;
}

/* Slight depth for logos/hero art */
.logo-shadow {
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
}

/* Balanced max-widths for hero content */
.hero-wrap {
  max-width: 80rem;
}

/* Hero background with the new image */
.hero-background {
  background-image: url("../img/hero_background_lunchlink_169_2.fbd2fa8237c3.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

/* Semi-transparent overlay for better text readability */
.hero-background::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.85) 0%, rgba(219, 234, 254, 0.85) 100%);
  z-index: 1;
}

/* Ensure content appears above the overlay */
.hero-background > * {
  position: relative;
  z-index: 2;
}

.order-detail-entry-grid {
  display: grid;
  gap: 1.5rem;
}

.order-detail-staged-card {
  background: #ffffff;
  border: 2px solid #000000;
  padding: 1.25rem;
}

.order-detail-shell--treatment {
  max-width: 88rem;
}

.order-detail-shell--treatment .order-detail-hero {
  position: relative;
  overflow: hidden;
  padding: 1.25rem;
  background:
    radial-gradient(circle at top right, rgba(244, 215, 56, 0.28), transparent 34%),
    linear-gradient(135deg, #1d2b53 0%, #4263eb 55%, #e90064 100%);
  border: 3px solid #000000;
  box-shadow: var(--shadow-neo-lg);
}

.order-detail-shell--treatment .order-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.3;
  pointer-events: none;
}

.order-detail-shell--treatment .order-detail-hero > * {
  position: relative;
  z-index: 1;
}

.order-detail-shell--treatment .order-detail-title-block h1,
.order-detail-shell--treatment .order-detail-stats h3 {
  color: #ffffff;
}

.order-detail-shell--treatment .order-detail-kicker {
  letter-spacing: 0.25em;
}

.order-detail-shell--treatment .order-detail-title-block > p:not(:first-child) {
  color: rgba(255, 255, 255, 0.84);
}

.order-detail-shell--treatment .order-detail-primary-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.order-detail-shell--treatment .order-detail-quick-steps {
  display: grid;
  gap: 0.75rem;
}

.order-detail-shell--treatment .order-detail-quick-step {
  display: flex;
  gap: 0.875rem;
  align-items: flex-start;
  padding: 0.9rem 1rem;
  border: 2px solid #000000;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(3px);
}

.order-detail-shell--treatment .order-detail-quick-step strong {
  display: block;
  color: #ffffff;
  font-size: 0.95rem;
}

.order-detail-shell--treatment .order-detail-quick-step p {
  margin: 0.2rem 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
}

.order-detail-shell--treatment .order-detail-quick-step-number,
.order-detail-shell--treatment .order-detail-name-step {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.55rem;
  background: #f4d738;
  color: #000000;
  border: 2px solid #000000;
  font-weight: 800;
  line-height: 1;
}

.order-detail-shell--treatment .order-detail-share-card {
  background: #ffffff;
  color: #1a1a1a;
  box-shadow: var(--shadow-neo-lg);
}

.order-detail-shell--treatment .order-detail-share-card h3,
.order-detail-shell--treatment .order-detail-share-card span,
.order-detail-shell--treatment .order-detail-share-card button {
  color: inherit;
}

.order-detail-shell--treatment .order-detail-share-card .grid button,
.order-detail-shell--treatment .order-detail-share-card .flex.w-full button {
  background: #fff4e6;
  border-color: #000000;
}

.order-detail-shell--treatment .order-detail-share-card .grid button:hover,
.order-detail-shell--treatment .order-detail-share-card .flex.w-full button:hover {
  background: #f4d738;
  color: #000000;
}

.order-detail-shell--treatment .order-detail-share-card input {
  background: #ffffff;
}

.order-detail-shell--treatment .order-detail-focus-card {
  padding: 1rem;
  border: 2px solid #000000;
  background: #fff4e6;
  color: #1a1a1a;
}

.order-detail-shell--treatment .order-detail-stats > div {
  display: grid;
  gap: 1rem;
  overflow: visible;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.order-detail-shell--treatment .order-detail-stat-card,
.order-detail-shell--treatment .order-detail-menu-resources,
.order-detail-shell--treatment .order-detail-entry-section,
.order-detail-shell--treatment .order-detail-summary-section > div:first-child {
  box-shadow: var(--shadow-neo-lg);
}

.order-detail-shell--treatment .order-detail-stat-card {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(4px);
}

.order-detail-shell--treatment .order-detail-entry-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(255, 244, 230, 0.98)),
    #ffffff;
  border-width: 3px;
}

.order-detail-shell--treatment .order-detail-entry-header {
  max-width: 44rem;
}

.order-detail-shell--treatment .order-detail-conversion-banner {
  display: grid;
  gap: 1rem;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 3px solid #000000;
  background: linear-gradient(135deg, #fff4e6 0%, #fef3c7 100%);
  box-shadow: var(--shadow-neo-sm);
}

.order-detail-shell--treatment .order-detail-conversion-label {
  display: inline-block;
  margin-bottom: 0.5rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1d2b53;
}

.order-detail-shell--treatment .order-detail-conversion-copy h3 {
  margin: 0 0 0.35rem;
  font-size: 1.35rem;
}

.order-detail-shell--treatment .order-detail-conversion-copy p {
  margin: 0;
  font-size: 0.95rem;
}

.order-detail-shell--treatment .order-detail-conversion-checklist {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.order-detail-shell--treatment .order-detail-conversion-checklist span {
  display: inline-flex;
  align-items: center;
  padding: 0.55rem 0.8rem;
  border: 2px solid #000000;
  background: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  color: #1a1a1a;
}

.order-detail-shell--treatment .order-detail-entry-form-wrap,
.order-detail-shell--treatment .order-detail-staged-wrap {
  background: #ffffff;
  border: 2px solid #000000;
  box-shadow: var(--shadow-neo-sm);
  padding: 1.25rem;
}

.order-detail-shell--treatment .order-detail-staged-wrap {
  background: linear-gradient(180deg, #ffffff 0%, #fff7eb 100%);
}

.order-detail-shell--treatment .order-detail-name-callout,
.order-detail-shell--treatment .order-detail-staged-intro {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  margin-bottom: 1.25rem;
  padding: 1rem;
  border: 2px solid #000000;
  background: #fff4e6;
}

.order-detail-shell--treatment .order-detail-name-callout h3,
.order-detail-shell--treatment .order-detail-staged-intro h3 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

.order-detail-shell--treatment .order-detail-name-callout p,
.order-detail-shell--treatment .order-detail-staged-intro p {
  margin: 0;
  font-size: 0.9rem;
}

.order-detail-shell--treatment .order-detail-staged-card {
  padding: 0;
  border: 0;
  background: transparent;
}

.order-detail-shell--treatment .order-detail-confirm-note {
  margin-top: 0.85rem;
  padding: 0.85rem 1rem;
  border: 2px dashed #000000;
  background: #ffffff;
  color: #1a1a1a;
  font-size: 0.9rem;
  font-weight: 600;
}

.order-detail-shell--treatment .order-detail-summary-section > div:first-child > div:last-child {
  box-shadow: var(--shadow-neo);
}

@media (min-width: 1024px) {
  .order-detail-shell--treatment .order-detail-hero {
    padding: 2rem;
  }

  .order-detail-shell--treatment .order-detail-hero-main {
    display: grid;
    gap: 1.5rem;
    grid-template-columns: minmax(0, 1.5fr) minmax(20rem, 28rem);
    align-items: start;
  }

  .order-detail-shell--treatment .order-detail-entry-grid {
    grid-template-columns: minmax(0, 1.45fr) minmax(19rem, 0.95fr);
    align-items: start;
  }

  .order-detail-shell--treatment .order-detail-conversion-banner {
    grid-template-columns: minmax(0, 1.4fr) minmax(16rem, 0.9fr);
    align-items: center;
  }

  .order-detail-shell--treatment .order-detail-staged-wrap {
    position: sticky;
    top: 6.5rem;
  }
}

@media (max-width: 1023px) {
  .order-detail-shell--treatment .order-detail-stats > div {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .order-detail-shell--treatment .order-detail-primary-actions > * {
    width: 100%;
  }

  .order-detail-shell--treatment .order-detail-quick-step,
  .order-detail-shell--treatment .order-detail-name-callout,
  .order-detail-shell--treatment .order-detail-staged-intro {
    padding: 0.85rem;
  }
}
