:root {
  color-scheme: dark;
  background: #000;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 0; }
[hidden] { display: none !important; }

.diable {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 100vh;
  min-height: 100svh;
}
.diable::before {
  content: "";
  position: fixed;
  inset: 0;
  background: linear-gradient(rgb(0 0 0 / 80%), rgb(0 0 0 / 80%)),
    url("images/le-diable.png") center / cover no-repeat;
  pointer-events: none;
}

.panier {
  position: relative;
  width: 100%;
  min-height: 33.333svh;
  padding: 24px max(24px, env(safe-area-inset-right))
    max(24px, env(safe-area-inset-bottom)) max(24px, env(safe-area-inset-left));
  border-radius: 16px 16px 0 0;
  color-scheme: light;
  background: #fafaf8;
  color: #202223;
  animation: arrivee-panier .25s cubic-bezier(.16, 1, .3, 1) both;
}
.panier-contenu { width: 100%; max-width: 420px; margin: 0 auto; }
h1 { margin: 0 0 22px; font-size: 22px; font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
.article { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
h2 { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.4; }
.quantite { margin: 5px 0 0; font-size: 12px; line-height: 1.4; color: #747974; }
.prix { margin: 0; flex-shrink: 0; font-size: 15px; line-height: 1.4; }
.total {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid #e1e3df;
  font-size: 15px;
  line-height: 1.4;
}
.total strong { font-size: 20px; font-weight: 600; }
.payer {
  display: block;
  width: 100%;
  min-height: 48px;
  margin-top: 18px;
  padding: 12px 16px;
  border: 1px solid #202223;
  border-radius: 7px;
  background: #202223;
  color: #fff;
  font: 600 15px/1.4 system-ui, sans-serif;
  cursor: pointer;
}
.payer:hover { background: #353837; }
.payer:focus-visible { outline: 3px solid #ab8350; outline-offset: 4px; }
.confirmation { margin: 0; color: #626663; font-size: 16px; line-height: 1.6; }
@keyframes arrivee-panier {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .panier { animation: none; }
}
