/* Desktop purchase summary — outside the page transition via a body portal. */
.mg-pdp-desktop-buy-bar { display: none; }
@media (min-width: 992px) {
  .mg-pdp-desktop-buy-bar { position: fixed; inset: auto 0 0; z-index: 100; display: block; padding: 12px 24px; border-top: 1px solid #e5e7eb; background: #fff; color: #212b36; box-shadow: 0 -6px 24px #212b360a; transform: translateY(100%); visibility: hidden; transition: transform 220ms cubic-bezier(.22,1,.36,1), visibility 220ms; }
  .mg-pdp-desktop-buy-bar.is-visible { transform: translateY(0); visibility: visible; }
  .mg-pdp-desktop-buy-bar__inner { display: flex; align-items: center; gap: 24px; max-width: 1360px; min-height: 56px; margin-inline: auto; }
  .mg-pdp-desktop-buy-bar__product { display: flex; flex: 1; align-items: center; gap: 12px; min-width: 0; }
  .mg-pdp-desktop-buy-bar__image { position: relative; flex: 0 0 56px; height: 56px; }
  .mg-pdp-desktop-buy-bar__image img { object-fit: contain; }
  .mg-pdp-desktop-buy-bar__identity { min-width: 0; }
  .mg-pdp-desktop-buy-bar__identity p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 4px; font-size: 14px; font-weight: 600; line-height: 20px; }
  .mg-pdp-desktop-buy-bar__identity > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: #637381; font-size: 12px; line-height: 18px; }
  .mg-pdp-desktop-buy-bar__price { flex-shrink: 0; text-align: right; font-variant-numeric: tabular-nums; }
  .mg-pdp-desktop-buy-bar__price strong { display: block; color: #d02915; font-size: 22px; font-weight: 700; line-height: 28px; }
  .mg-pdp-desktop-buy-bar__price > div { display: flex; justify-content: flex-end; gap: 8px; font-size: 12px; line-height: 18px; }
  .mg-pdp-desktop-buy-bar__price del { color: #637381; }
  .mg-pdp-desktop-buy-bar__price div span { color: #d02915; }
  .mg-pdp-desktop-buy-bar__actions { display: flex; align-items: center; flex-shrink: 0; gap: 12px; }
  .mg-pdp-desktop-buy-bar__actions > button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 24px; border: 1px solid #d02915; border-radius: 8px; font: inherit; font-size: 14px; font-weight: 600; cursor: pointer; transition: background-color 140ms, color 140ms; }
  .mg-pdp-desktop-buy-bar__cart { background: #fff; color: #d02915; }
  .mg-pdp-desktop-buy-bar__cart:hover { background: #fff4f2; }
  .mg-pdp-desktop-buy-bar__buy { min-width: 180px; background: #d02915; color: #fff; }
  .mg-pdp-desktop-buy-bar__buy:hover { background: #b92311; }
  .mg-pdp-desktop-buy-bar__actions > button:disabled { opacity: .5; cursor: not-allowed; }
  .mg-pdp-desktop-buy-bar button:focus-visible { outline: 2px solid #d02915; outline-offset: 3px; }
  .mg-pdp-desktop-buy-bar .pd-contact-entry { min-width: 210px; }
  .mg-pdp-desktop-buy-bar__spinner { animation: mg-desktop-buy-spin 800ms linear infinite; }
  html[data-pdp-desktop-buy-bar] .contact-box-bottom--desktop { bottom: calc(var(--pdp-desktop-buy-bar-height, 88px) + 16px); }
  html[data-pdp-desktop-buy-bar] .global-goTop { bottom: calc(var(--pdp-desktop-buy-bar-height, 88px) + 20px); }
}
@media (min-width: 992px) and (max-width: 1199px) {
  .mg-pdp-desktop-buy-bar__inner { gap: 16px; }
  .mg-pdp-desktop-buy-bar__actions > button { padding-inline: 16px; }
  .mg-pdp-desktop-buy-bar__buy { min-width: 150px; }
  .mg-pdp-desktop-buy-bar__cart span { display: none; }
}
@keyframes mg-desktop-buy-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) {
  .mg-pdp-desktop-buy-bar, .mg-pdp-desktop-buy-bar__actions > button { transition: none; }
  .mg-pdp-desktop-buy-bar__spinner { animation: none; }
}
