.emf-cart-preview { position: fixed; right: 1.25rem; bottom: 1.25rem; width: 310px; max-width: calc(100vw - 2rem); z-index: 500; color: #243349; font: 1rem/1.5 system-ui, sans-serif; }
.emf-cart-preview details { background: #fff; border: 1px solid #d6dce3; border-radius: 12px; box-shadow: 0 8px 32px #14243a26; overflow: hidden; }
.emf-cart-preview summary { cursor: pointer; padding: .9rem 1.1rem; background: #13294b; color: white; font-weight: 650; }
.emf-cart-count { float: right; border-radius: 20px; background: #ffffff26; padding: 0 .65rem; }
.emf-cart-body { padding: 1.1rem; max-height: 55vh; overflow-y: auto; }
.emf-cart-body ul { list-style: none; margin: 0; padding: 0; }
.emf-cart-body li { display: flex; gap: 1rem; justify-content: space-between; padding: .7rem 0; border-bottom: 1px solid #e5e9ed; }
.emf-cart-body li span { min-width: 0; overflow-wrap: anywhere; }
.emf-cart-body li strong { white-space: nowrap; }
.emf-cart-body small { display: block; color: #617080; margin-top: .3rem; }
.emf-cart-total { display: flex; justify-content: space-between; margin: 1rem 0; }
.emf-cart-checkout { display: block; text-align: center; padding: .65rem; border-radius: 6px; background: #13294b; color: white; text-decoration: none; font-weight: 600; }
.emf-cart-checkout:hover { background: #254875; color: white; }
.emf-cart-edit { display: block; text-align: center; margin-top: .75rem; color: #254875; }
.emf-cart-empty { margin: 0 0 .35rem; font-weight: 600; }
.emf-cart-hint { margin: 0; color: #617080; font-size: .9rem; }
.emf-cart-preview :focus-visible { outline: 3px solid #c99836; outline-offset: -3px; }

/* In-flow right column: no overlay over the page or checkout controls. */
.emf-cart-preview { position: static; width: auto; max-width: none; margin: 1rem 0 1.5rem 1.5rem; }
.emf-cart-body { max-height: none; overflow: visible; }
@media (max-width: 991px) {
  .emf-cart-preview { margin: 1.25rem 0; }
}
