/* ALDHAMEN customer order status — 6.6.90
   Matches the public Menu visual language and stays readable on phone, iPad and desktop. */
body.page-order-status {
  --order-wine: #741c36;
  --order-wine-deep: #4b1f2a;
  --order-pink: #e45c83;
  --order-blush: #f8d7dc;
  --order-paper: #fffafb;
  --order-shell: #fff0f3;
  --order-line: #ead4da;
  --order-muted: #76515c;
  --order-green: #315e48;
  margin: 0 !important;
  min-width: 0 !important;
  overflow-x: clip !important;
  background: #f8f1f3 !important;
  color: var(--order-wine-deep) !important;
  font-family: "Tajawal", system-ui, sans-serif !important;
}

body.page-order-status *, body.page-order-status *::before, body.page-order-status *::after { box-sizing: border-box; }
body.page-order-status b { min-width: 0 !important; max-width: 100% !important; overflow-wrap: anywhere !important; }

body.page-order-status .success.next-order-success {
  width: min(1240px, calc(100% - 32px)) !important;
  min-height: 100vh !important;
  margin: 0 auto !important;
  padding: 20px 0 120px !important;
  background: transparent !important;
}

body.page-order-status .success-card.order-track-card {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  gap: 14px !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
}

body.page-order-status .page-local-actions,
body.page-order-status .success-brand {
  grid-column: 1 / -1 !important;
  min-height: 72px !important;
  margin: 0 !important;
  padding: 10px 14px !important;
  border: 1px solid var(--order-line) !important;
  background: rgba(255, 250, 251, .96) !important;
  box-shadow: 0 10px 28px rgba(75, 31, 42, .07) !important;
}

body.page-order-status .page-local-actions {
  grid-row: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-end !important;
  gap: 8px !important;
  border-radius: 16px !important;
}

body.page-order-status .page-local-actions a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 44px !important;
  padding: 0 14px !important;
  border: 0 !important;
  border-radius: 10px !important;
  background: var(--order-blush) !important;
  color: var(--order-wine-deep) !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
}

body.page-order-status .success-brand {
  grid-row: 1 !important;
  align-self: center !important;
  justify-self: start !important;
  width: auto !important;
  min-width: 260px !important;
  border-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  z-index: 2 !important;
}

body.page-order-status .success-brand img {
  width: 50px !important;
  height: 50px !important;
  object-fit: contain !important;
}
body.page-order-status .customer-logo-home-link { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-width: 50px !important; min-height: 50px !important; }

body.page-order-status .success-brand > div { display: grid !important; gap: 1px !important; }
body.page-order-status .success-brand strong { color: var(--order-wine-deep) !important; font-size: 16px !important; line-height: 1.3 !important; }
body.page-order-status .success-brand span { color: var(--order-muted) !important; font-size: 10px !important; font-weight: 700 !important; letter-spacing: .2em !important; }

body.page-order-status .check,
body.page-order-status .success-card > h1,
body.page-order-status .success-card > p,
body.page-order-status .order-number-label,
body.page-order-status .order-id {
  grid-column: 1 / -1 !important;
  position: relative !important;
  z-index: 1 !important;
}

body.page-order-status .check {
  grid-row: 2 !important;
  width: 54px !important;
  height: 54px !important;
  margin: 32px auto 0 !important;
  border: 1px solid rgba(255, 247, 249, .46) !important;
  border-radius: 16px !important;
  background: rgba(255, 247, 249, .14) !important;
  color: #fff7f9 !important;
  font-size: 30px !important;
}

body.page-order-status .success-card > h1,
body.page-order-status .success-card > p,
body.page-order-status .order-number-label,
body.page-order-status .order-id {
  margin: 0 clamp(22px, 6vw, 70px) !important;
  text-align: center !important;
  color: #fff7f9 !important;
}

body.page-order-status .success-card > h1 {
  grid-row: 3 !important;
  max-width: none !important;
  font-size: clamp(34px, 6vw, 64px) !important;
  font-weight: 800 !important;
  line-height: 1.05 !important;
  letter-spacing: -.03em !important;
}

body.page-order-status .success-card > p {
  grid-row: 4 !important;
  color: #fce8ee !important;
  font-size: clamp(14px, 1.7vw, 18px) !important;
  line-height: 1.65 !important;
}

body.page-order-status .order-number-label {
  grid-row: 5 !important;
  color: #f8cbd7 !important;
  font-size: 12px !important;
  font-weight: 800 !important;
}

body.page-order-status .order-id {
  grid-row: 6 !important;
  margin-bottom: 34px !important;
  color: #fff7f9 !important;
  font-size: clamp(42px, 8vw, 78px) !important;
  font-weight: 900 !important;
  font-variant-numeric: tabular-nums !important;
  line-height: 1 !important;
  letter-spacing: .02em !important;
}

body.page-order-status .success-card.order-track-card::before {
  content: "";
  grid-column: 1 / -1;
  grid-row: 2 / 7;
  min-height: 390px;
  border-radius: 16px;
  background:
    linear-gradient(118deg, transparent 58%, rgba(228, 92, 131, .7) 58% 66%, transparent 66%),
    linear-gradient(118deg, transparent 67%, rgba(248, 215, 220, .22) 67% 74%, transparent 74%),
    var(--order-wine);
  box-shadow: 0 18px 44px rgba(75, 31, 42, .12);
}

body.page-order-status .order-eta-card,
body.page-order-status .order-notification-button {
  grid-column: span 6 !important;
  margin: 0 !important;
  min-height: 88px !important;
  border: 1px solid var(--order-line) !important;
  border-radius: 16px !important;
  box-shadow: 0 10px 28px rgba(75, 31, 42, .05) !important;
}

body.page-order-status .order-eta-card {
  display: flex !important;
  align-items: center !important;
  gap: 14px !important;
  padding: 18px 20px !important;
  background: var(--order-blush) !important;
  color: var(--order-wine-deep) !important;
}
body.page-order-status .order-eta-card > span { font-size: 26px !important; }
body.page-order-status .order-eta-card > div { display: grid !important; gap: 4px !important; }
body.page-order-status .order-eta-card small { color: var(--order-muted) !important; font-size: 12px !important; }
body.page-order-status .order-eta-card b { color: var(--order-wine-deep) !important; font-size: 20px !important; }

body.page-order-status .order-notification-button {
  padding: 14px 18px !important;
  background: var(--order-paper) !important;
  color: var(--order-wine-deep) !important;
  font-size: 15px !important;
  font-weight: 800 !important;
}

body.page-order-status :is(.customer-ready-banner,.customer-arrival-confirmed) {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
  padding: 16px 18px !important;
  border: 1px solid var(--order-green) !important;
  border-radius: 14px !important;
  background: var(--order-green) !important;
  color: #ffffff !important;
}
body.page-order-status :is(.customer-ready-banner,.customer-arrival-confirmed) * { color: #ffffff !important; }
body.page-order-status .customer-cancelled {
  grid-column: 1 / -1 !important;
  margin: 0 !important;
  padding: 16px 18px !important;
  border: 1px solid var(--order-wine) !important;
  border-radius: 14px !important;
  background: var(--order-wine) !important;
  color: #ffffff !important;
}
body.page-order-status :is(.customer-ready-banner,.customer-cancelled,.customer-arrival-confirmed)[hidden] { display: none !important; }

body.page-order-status .customer-track {
  grid-column: 1 / -1 !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  margin: 0 !important;
  padding: 24px clamp(12px, 4vw, 34px) !important;
  border: 1px solid var(--order-line) !important;
  border-radius: 16px !important;
  background: var(--order-paper) !important;
}

body.page-order-status .track-step { position: relative !important; min-width: 0 !important; color: var(--order-muted) !important; }
body.page-order-status .track-step:not(:last-child)::after {
  content: "" !important;
  position: absolute !important;
  top: 21px !important;
  inset-inline-start: calc(50% + 24px) !important;
  width: calc(100% - 48px) !important;
  height: 2px !important;
  background: var(--order-line) !important;
}
body.page-order-status .track-step > span {
  position: relative !important;
  z-index: 1 !important;
  width: 44px !important;
  height: 44px !important;
  margin-bottom: 8px !important;
  border: 2px solid var(--order-line) !important;
  background: var(--order-shell) !important;
  color: var(--order-wine-deep) !important;
  font-size: 14px !important;
  font-weight: 900 !important;
}
body.page-order-status .track-step.done > span,
body.page-order-status .track-step.current > span { border-color: var(--order-green) !important; background: var(--order-green) !important; color: #f7fff9 !important; }
body.page-order-status .track-step b { display: block !important; overflow: hidden !important; color: var(--order-wine-deep) !important; font-size: 13px !important; text-overflow: ellipsis !important; white-space: nowrap !important; }

body.page-order-status .order-summary,
body.page-order-status .track-info-grid,
body.page-order-status .arrival-actions,
body.page-order-status .order-rating-card,
body.page-order-status .order-rating-thanks,
body.page-order-status .guest-convert-card,
body.page-order-status .game-promo,
body.page-order-status .order-rewards-card,
body.page-order-status .success-footer-actions {
  min-width: 0 !important;
  margin: 0 !important;
  border: 1px solid var(--order-line) !important;
  border-radius: 16px !important;
  background: var(--order-paper) !important;
  color: var(--order-wine-deep) !important;
  box-shadow: 0 10px 28px rgba(75, 31, 42, .05) !important;
}

body.page-order-status .order-summary {
  grid-column: span 7 !important;
  align-self: stretch !important;
  padding: 20px !important;
}
body.page-order-status .summary-line { display: grid !important; grid-template-columns: minmax(0, 1fr) auto !important; align-items: start !important; gap: 16px !important; padding: 14px 0 !important; border-bottom: 1px solid var(--order-line) !important; }
body.page-order-status .summary-main { display: flex !important; gap: 10px !important; min-width: 0 !important; }
body.page-order-status .summary-qty { flex: 0 0 auto !important; color: var(--order-wine) !important; }
body.page-order-status .summary-name { display: grid !important; min-width: 0 !important; color: var(--order-wine-deep) !important; font-weight: 800 !important; }
body.page-order-status .summary-name small { margin-top: 4px !important; color: var(--order-muted) !important; font-size: 12px !important; font-weight: 500 !important; line-height: 1.55 !important; }
body.page-order-status .summary-price { color: var(--order-wine-deep) !important; font-size: 15px !important; white-space: nowrap !important; }
body.page-order-status .summary-line.total { margin-top: 6px !important; padding-bottom: 0 !important; border: 0 !important; font-size: 20px !important; font-weight: 900 !important; }
body.page-order-status .summary-line.total .summary-price { color: var(--order-wine) !important; font-size: 24px !important; }

body.page-order-status .track-info-grid {
  grid-column: span 5 !important;
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  padding: 16px !important;
}
body.page-order-status .track-info-grid > div { display: grid !important; align-content: center !important; gap: 5px !important; min-height: 82px !important; padding: 14px !important; border: 1px solid var(--order-line) !important; border-radius: 12px !important; background: var(--order-shell) !important; }
body.page-order-status .track-info-grid small { color: var(--order-muted) !important; font-size: 11px !important; }
body.page-order-status .track-info-grid b { color: var(--order-wine-deep) !important; font-size: 14px !important; line-height: 1.45 !important; }

body.page-order-status .order-rewards-card,
body.page-order-status .guest-convert-card,
body.page-order-status .arrival-actions,
body.page-order-status .order-rating-card,
body.page-order-status .order-rating-thanks,
body.page-order-status .game-promo,
body.page-order-status .success-footer-actions { grid-column: 1 / -1 !important; padding: 20px !important; }

body.page-order-status .order-rewards-card { display: grid !important; grid-template-columns: auto minmax(0, 1fr) auto !important; align-items: center !important; gap: 14px !important; text-decoration: none !important; }
body.page-order-status .order-rewards-icon { display: grid !important; place-items: center !important; width: 48px !important; height: 48px !important; border-radius: 14px !important; background: var(--order-blush) !important; color: var(--order-wine) !important; font-size: 22px !important; }
body.page-order-status .order-rewards-card > div:nth-child(2) { display: grid !important; gap: 3px !important; }
body.page-order-status .order-rewards-card b { font-size: 18px !important; }
body.page-order-status .order-rewards-card span,
body.page-order-status .order-rewards-card small { color: var(--order-muted) !important; }
body.page-order-status .order-rewards-card b { max-width: 100% !important; overflow-wrap: anywhere !important; }
body.page-order-status .guest-convert-card a { min-height: 44px !important; }

body.page-order-status .arrival-actions { display: grid !important; grid-template-columns: minmax(0, 1fr) minmax(190px, auto) !important; align-items: center !important; gap: 18px !important; }
body.page-order-status .pickup-success-note { display: grid !important; gap: 5px !important; }
body.page-order-status .pickup-success-note b { font-size: 19px !important; }
body.page-order-status .pickup-success-note span { color: var(--order-muted) !important; line-height: 1.65 !important; }
body.page-order-status .arrival-actions form { margin: 0 !important; }
body.page-order-status .arrival-actions button { min-width: 190px !important; min-height: 50px !important; border: 0 !important; border-radius: 12px !important; background: var(--order-wine) !important; color: #fff7f9 !important; font-weight: 900 !important; }

body.page-order-status .order-rating-card { background: var(--order-shell) !important; }
body.page-order-status .order-rating-card[hidden] { display: none !important; }
body.page-order-status .order-rating-card h2 { margin: 3px 0 5px !important; color: var(--order-wine-deep) !important; font-size: 24px !important; }
body.page-order-status .order-rating-card p { color: var(--order-muted) !important; }
body.page-order-status .rating-stars { display: flex !important; flex-direction: row !important; justify-content: center !important; gap: 8px !important; margin: 16px 0 !important; }
body.page-order-status .rating-stars label { position: relative !important; display: grid !important; place-items: center !important; width: 58px !important; min-width: 0 !important; min-height: 58px !important; padding: 6px !important; border: 1px solid var(--order-line) !important; border-radius: 14px !important; background: var(--order-paper) !important; cursor: pointer !important; }
body.page-order-status .rating-stars input { position: absolute !important; width: 1px !important; height: 1px !important; min-height: 0 !important; opacity: 0 !important; }
body.page-order-status .rating-stars span { color: #b98e99 !important; font-size: 24px !important; }
body.page-order-status .rating-stars input:checked + span { color: var(--order-wine) !important; transform: scale(1.12) !important; }
body.page-order-status .rating-stars small { color: var(--order-muted) !important; font-size: 11px !important; }
body.page-order-status .order-rating-card textarea { width: 100% !important; min-height: 92px !important; padding: 13px !important; border: 1px solid var(--order-line) !important; border-radius: 12px !important; background: var(--order-paper) !important; color: var(--order-wine-deep) !important; font: inherit !important; }
body.page-order-status .order-rating-card button[type="submit"] { width: 100% !important; min-height: 48px !important; margin-top: 10px !important; border: 0 !important; border-radius: 12px !important; background: var(--order-wine) !important; color: #fff7f9 !important; font-weight: 900 !important; }

body.page-order-status .game-promo { background: var(--order-blush) !important; }
body.page-order-status .game-promo h2 { color: var(--order-wine-deep) !important; }
body.page-order-status .game-promo p { color: var(--order-muted) !important; }
body.page-order-status .game-promo .play,
body.page-order-status .success-footer-actions .new-order { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 48px !important; padding: 0 18px !important; border-radius: 12px !important; background: var(--order-wine) !important; color: #fff7f9 !important; font-weight: 900 !important; text-decoration: none !important; }
body.page-order-status .success-footer-actions { display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 12px !important; }
body.page-order-status .live-order-indicator { color: var(--order-muted) !important; font-size: 12px !important; }

@media (max-width: 760px) {
  body.page-order-status .success.next-order-success { width: min(100% - 20px, 680px) !important; padding-top: 10px !important; }
  body.page-order-status .success-card.order-track-card { gap: 10px !important; }
  body.page-order-status .page-local-actions { min-height: 64px !important; padding: 8px !important; }
  body.page-order-status .success-brand { min-width: 0 !important; padding: 8px 10px !important; }
  body.page-order-status .success-brand img { width: 44px !important; height: 44px !important; }
  body.page-order-status .customer-logo-home-link { min-width: 44px !important; min-height: 44px !important; }
  body.page-order-status .success-brand > div { display: none !important; }
  body.page-order-status .page-local-actions a { min-height: 44px !important; padding-inline: 11px !important; font-size: 12px !important; }
  body.page-order-status .success-card.order-track-card::before { min-height: 340px !important; }
  body.page-order-status .check { margin-top: 25px !important; }
  body.page-order-status .success-card > h1 { font-size: clamp(30px, 10vw, 43px) !important; }
  body.page-order-status .order-id { margin-bottom: 28px !important; font-size: clamp(50px, 18vw, 72px) !important; }
  body.page-order-status .order-eta-card,
  body.page-order-status .order-notification-button,
  body.page-order-status .order-summary,
  body.page-order-status .track-info-grid { grid-column: 1 / -1 !important; }
  body.page-order-status .order-eta-card,
  body.page-order-status .order-notification-button { min-height: 74px !important; }
  body.page-order-status .customer-track { padding: 18px 6px !important; }
  body.page-order-status .track-step:not(:last-child)::after { inset-inline-start: calc(50% + 19px) !important; width: calc(100% - 38px) !important; top: 18px !important; }
  body.page-order-status .track-step > span { width: 38px !important; height: 38px !important; }
  body.page-order-status .track-step b { font-size: 10px !important; }
  body.page-order-status .order-summary { padding: 15px !important; }
  body.page-order-status .summary-line { gap: 9px !important; padding: 12px 0 !important; }
  body.page-order-status .summary-price { font-size: 13px !important; }
  body.page-order-status .summary-line.total .summary-price { font-size: 20px !important; }
  body.page-order-status .track-info-grid { grid-template-columns: 1fr !important; padding: 12px !important; }
  body.page-order-status .track-info-grid > div { min-height: 68px !important; }
  body.page-order-status .arrival-actions { grid-template-columns: 1fr !important; }
  body.page-order-status .arrival-actions button { width: 100% !important; min-width: 0 !important; }
  body.page-order-status .rating-stars { gap: 5px !important; }
  body.page-order-status .rating-stars label { width: min(58px, 18vw) !important; min-height: 52px !important; }
  body.page-order-status .order-rewards-card { grid-template-columns: auto minmax(0, 1fr) !important; }
  body.page-order-status .order-rewards-card > strong { grid-column: 2 !important; }
  body.page-order-status .success-footer-actions { align-items: stretch !important; flex-direction: column !important; }
  body.page-order-status .success-footer-actions .new-order { width: 100% !important; }
}

@media (max-width: 380px) {
  body.page-order-status .success.next-order-success { width: calc(100% - 14px) !important; }
  body.page-order-status .success-brand img { width: 40px !important; height: 40px !important; }
  body.page-order-status .customer-logo-home-link { min-width: 44px !important; min-height: 44px !important; }
  body.page-order-status .page-local-actions a { padding-inline: 8px !important; }
  body.page-order-status .success-card > p { font-size: 13px !important; }
  body.page-order-status .track-step b { font-size: 9px !important; }
}

@media (prefers-reduced-motion: reduce) {
  body.page-order-status * { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
