/* doc-project | commande/v1/assets/css/components/pending_orders_gate.css | Habille la modale premium d’interception des commandes à venir sur account/cart/menu, avec hiérarchie visuelle claire, excellente lisibilité mobile et focus accessibles. | Expose: aucun | Dépend de: .btn, body.hasPendingGateOpen | Impacte: UI de la modale de gate, scroll body, accessibilité focus | Tables: aucune */
.hasPendingGateOpen{
  overflow: hidden;
}

.pendingGate{
  position: fixed;
  inset: 0;
  z-index: 55;
}

.pendingGate__backdrop{
  position: absolute;
  inset: 0;
  background: rgba(7, 10, 16, .62);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.pendingGate__dialog{
  position: relative;
  z-index: 1;
  width: min(100% - 24px, 560px);
  margin: max(18px, calc(72px + env(safe-area-inset-top, 0px))) auto 0;
  padding: 22px 20px 20px;
  border-radius: 26px;
  background:
    radial-gradient(640px 260px at 0% 0%, rgba(255, 196, 91, .16), transparent 45%),
    radial-gradient(480px 220px at 100% 0%, rgba(235, 111, 45, .18), transparent 45%),
    linear-gradient(180deg, rgba(255,255,255,.99), rgba(248,248,248,.97));
  box-shadow:
    0 26px 70px rgba(0,0,0,.28),
    inset 0 1px 0 rgba(255,255,255,.7);
  border: 1px solid rgba(255,255,255,.24);
}

.pendingGate__primary:focus,
.pendingGate__secondary:focus{
  outline: 3px solid rgba(137, 0, 0, .22);
  outline-offset: 2px;
}

.pendingGate__eyebrow{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(17,17,17,.06);
  color: #7a3f16;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.pendingGate__title{
  margin: 14px 0 0;
  color: #111;
  font-size: clamp(26px, 6vw, 34px);
  line-height: 1.02;
  letter-spacing: -.03em;
}

.pendingGate__text{
  margin: 12px 0 0;
  color: #4f5560;
  font-size: 15px;
  line-height: 1.6;
}

.pendingGate__summary{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.pendingGateSummaryPill{
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(17,17,17,.08);
  color: #111;
  font-size: 13px;
  font-weight: 900;
}

.pendingGateSummaryPill--soft{
  background: rgba(17,17,17,.04);
  color: #5b616b;
}

.pendingGate__orders{
  margin-top: 16px;
}

.pendingGateOrders{
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-height: min(40vh, 320px);
  overflow: auto;
  padding-right: 2px;
}

.pendingGateOrderCard{
  padding: 14px;
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(17,17,17,.10);
  box-shadow: 0 10px 24px rgba(17,17,17,.08);
}

.pendingGateOrderCard__top{
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.pendingGateOrderCard__store{
  color: #14171b;
  font-size: 15px;
  font-weight: 900;
}

.pendingGateOrderCard__total{
  color: #14171b;
  font-size: 15px;
  font-weight: 950;
  white-space: nowrap;
}

.pendingGateOrderCard__slot{
  margin-top: 8px;
  color: #111;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.35;
}

.pendingGateOrderCard__meta{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.pendingGatePill{
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(235, 111, 45, .12);
  color: #6c3810;
  font-size: 12px;
  font-weight: 900;
}

.pendingGatePill--status{
  background: rgba(17,17,17,.06);
  color: #20242a;
}

.pendingGatePill--soft{
  background: rgba(17,17,17,.04);
  color: #5c6570;
}

.pendingGate__actions{
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.pendingGate__actions .btn{
  width: 100%;
}

@media (max-width: 640px){
  .pendingGate__dialog{
    width: min(100% - 16px, 560px);
    margin-top: max(10px, calc(60px + env(safe-area-inset-top, 0px)));
    padding: 20px 16px 16px;
    border-radius: 22px;
  }

  .pendingGateOrderCard__top{
    flex-direction: column;
  }

  .pendingGateOrderCard__total{
    white-space: normal;
  }
}