/* Pour Devenir Grand — panier de démonstration, styles compatibles vitrine et fiches. */
.pdg-header-cart{position:relative;cursor:pointer}
.pdg-cart-badge{
  position:absolute;top:-5px;right:-8px;min-width:19px;height:19px;
  border-radius:50%;background:#bc7154;color:#fff;display:grid;place-items:center;
  padding:0 5px;font:800 10px/1 Arial,sans-serif;border:2px solid #fff
}
.pdg-cart-badge[hidden]{display:none!important}
.pdg-cart-nav-toggle{
  position:relative;display:inline-flex;align-items:center;gap:8px;white-space:nowrap;
  min-height:39px;padding:10px 17px;border:1px solid #d8d9cf;border-radius:99px;
  color:#2f493a;background:#fffdf8;font-size:12px;font-weight:800;
}
.pdg-cart-nav-toggle:hover{background:#ebf0e8}
.pdg-cart-nav-toggle:focus-visible,.pdg-header-cart:focus-visible{
  outline:3px solid #5b8568;outline-offset:3px
}
.pdg-cart-dialog{
  position:fixed;inset:0 0 0 auto;margin:0;max-width:min(100%,520px);
  width:100%;height:100dvh;max-height:100dvh;overflow:auto;
  border:0;border-radius:24px 0 0 24px;
  background:#fffcf6;color:#2c4433;box-shadow:-22px 0 70px #172a2430;
  padding:0;display:flex;flex-direction:column;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif
}
.pdg-cart-dialog:not([open]){display:none}
.pdg-cart-dialog::backdrop{background:rgba(18,35,27,.5)}
.pdg-cart-head{
  position:sticky;top:0;z-index:1;background:#fffcf6;border-bottom:1px solid #e8e8dd;
  display:flex;justify-content:space-between;align-items:center;padding:26px 26px 20px;gap:18px
}
.pdg-cart-kicker{color:#a97654;font-size:9px;letter-spacing:.1em;font-weight:900;margin-bottom:7px}
.pdg-cart-head h2{font:700 34px/1.1 Georgia,serif;letter-spacing:-.04em;margin:0}
.pdg-cart-close{
  display:grid;place-items:center;flex:none;width:43px;height:43px;border-radius:50%;
  background:#f2eee5;border:1px solid #e2dfd4;color:#2f493a;font-size:28px
}
.pdg-cart-body{padding:8px 26px 18px;flex:1}
.pdg-cart-item{
  display:grid;grid-template-columns:92px minmax(0,1fr) auto;
  align-items:start;gap:14px;padding:20px 0;border-bottom:1px solid #e8e8dd
}
.pdg-cart-photo{display:block;width:92px;aspect-ratio:1/1.14;border-radius:12px;overflow:hidden;background:#f0eee6}
.pdg-cart-photo img{width:100%;height:100%;object-fit:cover}
.pdg-cart-item-content{min-width:0}
.pdg-cart-name{display:block;font-size:13px;font-weight:800;line-height:1.4;margin-bottom:7px}
.pdg-cart-name:hover{text-decoration:underline;text-underline-offset:2px}
.pdg-cart-variant{font-size:11px;line-height:1.45;color:#768077;overflow-wrap:anywhere;margin-bottom:10px}
.pdg-cart-line-warning{font-size:11px;line-height:1.5;color:#95634f;margin:0 0 9px}
.pdg-cart-item-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px;margin-top:9px}
.pdg-cart-qty{display:grid;place-items:center;width:28px;height:28px;border:1px solid #d8ded4;border-radius:8px;background:#fff;font-size:16px;color:#284b36}
.pdg-cart-quantity{min-width:24px;text-align:center;font-size:12px;font-weight:800}
.pdg-cart-remove{border:0;background:transparent;color:#9b6b59;text-decoration:underline;font-size:11px;margin-left:7px}
.pdg-cart-item-total{font-size:12px;white-space:nowrap;font-weight:850}
.pdg-cart-footer{
  position:sticky;bottom:0;background:#fffdf8;border-top:1px solid #e8e8dd;
  padding:20px 26px 26px;box-shadow:0 -12px 30px #faf7ef80
}
.pdg-cart-subtotal{display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:13px;font-weight:800}
.pdg-cart-subtotal strong{font-size:22px}
.pdg-cart-caveat{color:#798277;font-size:11px;line-height:1.6;margin:13px 0 19px}
.pdg-cart-checkout{
  width:100%;padding:17px 13px;border:0;border-radius:12px;background:#38523f;
  font-size:12px;font-weight:850;color:#fff;opacity:.65;cursor:not-allowed
}
.pdg-cart-demo{
  display:block;text-align:center;margin:0 0 10px;padding:15px 13px;border-radius:12px;
  background:#8a3f2a;color:#fff;font-size:12px;font-weight:850;text-decoration:none
}
.pdg-cart-demo:hover{background:#73331f}
.pdg-cart-empty{font-size:14px;color:#657269;line-height:1.8;margin:38px 0 16px}
.pdg-cart-browse{display:inline-block;border-radius:12px;background:#35553e;color:#fff;padding:15px 20px;font-size:12px;font-weight:800}
.pdg-cart-status{font-size:13px;color:#6a766c;margin:24px 0}
.pdg-cart-warning{border-radius:12px;padding:13px 15px;background:#fcf0e7;font-size:12px;color:#885d46;line-height:1.6}
.pdg-cart-dialog button:focus-visible,.pdg-cart-dialog a:focus-visible{outline:3px solid #66906f;outline-offset:3px}
.pdg-cart-dialog button:disabled{opacity:.5}
@media(max-width:700px){
  .pdg-cart-dialog{border-radius:0}
  .pdg-cart-head{padding:20px 18px 17px}
  .pdg-cart-head h2{font-size:29px}
  .pdg-cart-body{padding:7px 18px 15px}
  .pdg-cart-footer{padding:18px 18px 24px}
  .pdg-cart-item{grid-template-columns:75px minmax(0,1fr);gap:12px}
  .pdg-cart-photo{width:75px}
  .pdg-cart-item-total{grid-column:2;margin-top:-4px}
  .pdg-cart-nav-toggle{padding:10px 12px}
}
@media(prefers-reduced-motion:reduce){.pdg-cart-dialog *{scroll-behavior:auto}}
