/* Merciful Hearts Toolkit — pop-up mini basket (slide-in drawer). Opened from the header basket icon
   and after a gift is added from the donate panel. Built by assets/js/mh-mini.js. */
.mh-mini { position: fixed; inset: 0; z-index: 9999; }
.mh-mini[hidden] { display: none; }
.mh.mh-mini { background: transparent; padding: 0; margin: 0; border: 0; min-height: 0; }
.mh-mini__veil { position: absolute; inset: 0; background: rgba(60, 12, 10, .5); opacity: 0; transition: opacity .25s; }
.mh-mini__panel { position: absolute; top: 0; right: 0; bottom: 0; display: flex; flex-direction: column; width: min(420px, 100%); background: #fff; box-shadow: -20px 0 50px -20px rgba(90, 20, 16, .45); transform: translateX(100%); transition: transform .25s ease; outline: 0; }
.mh-mini.mh-is-open .mh-mini__veil { opacity: 1; }
.mh-mini.mh-is-open .mh-mini__panel { transform: none; }
html.mh-mini-open { overflow: hidden; }
.mh-mini__head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--line, #EADBD7); }
.mh .mh-mini__head h2 { margin: 0; font-family: var(--fd); font-weight: 900; letter-spacing: -.02em; font-size: 24px; color: var(--ink, #221A1A); }
.mh .mh-mini__x { display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: var(--blush, #FBF0ED); color: var(--ink, #221A1A); cursor: pointer; }
.mh-mini__x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; }
.mh-mini__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.mh-mini__list { margin: 0; padding: 0; list-style: none; }
.mh-mini__item { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--line, #EADBD7); transition: opacity .2s; }
.mh-mini__item.mh-is-busy { opacity: .4; pointer-events: none; }
.mh .mh-mini__img { display: block; width: 64px; height: 64px; border-radius: 10px; overflow: hidden; background: var(--blush, #FBF0ED); }
.mh .mh-mini__img img { width: 100%; height: 100%; object-fit: cover; }
.mh-mini__txt { display: grid; gap: 3px; min-width: 0; }
.mh .mh-mini__name { font-family: var(--fd); font-weight: 800; font-size: 15.5px; line-height: 1.3; color: var(--ink, #221A1A); text-decoration: none; }
.mh-mini__meta { font-size: 13.5px; color: var(--mute, #776A68); }
.mh .mh-mini__rm { justify-self: start; margin-top: 4px; padding: 0; border: 0; background: none; font: inherit; font-size: 13.5px; font-weight: 600; color: var(--red, #D62D26); text-decoration: underline; cursor: pointer; }
.mh-mini__amt { font-family: var(--fd); font-weight: 800; color: var(--ink, #221A1A); white-space: nowrap; }
.mh-mini__foot { display: grid; gap: 10px; padding: 18px 24px 24px; border-top: 1px solid var(--line, #EADBD7); background: var(--blush, #FBF0ED); }
.mh-mini__foot:empty { display: none; }
.mh-mini__sub { display: flex; justify-content: space-between; align-items: baseline; margin: 0 0 4px; font-size: 16px; color: var(--ink, #221A1A); }
.mh-mini__sub strong { font-family: var(--fd); font-weight: 900; font-size: 24px; color: var(--red, #D62D26); }
.mh .mh-mini__basket { justify-self: center; font-weight: 700; font-size: 15px; color: var(--red, #D62D26); }
.mh-mini__note { margin: 2px 0 0; text-align: center; font-size: 13px; color: var(--mute, #776A68); }
.mh-mini__empty { padding: 40px 0; text-align: center; color: var(--mute, #776A68); }
.mh-mini__empty-t { font-family: var(--fd); font-weight: 800; font-size: 20px; color: var(--ink, #221A1A); }
.mh-mini__loading { padding: 32px 0; text-align: center; color: var(--mute, #776A68); }
.mh-mini .btn-block { width: 100%; }
.mh-mini__skel { display: grid; gap: 14px; padding: 18px 0; }
.mh-mini__skel span { display: block; height: 64px; border-radius: 12px; background: linear-gradient(90deg, #FBF0ED 25%, #FDF7F5 50%, #FBF0ED 75%); background-size: 200% 100%; animation: mh-skel 1.1s linear infinite; }
@keyframes mh-skel { to { background-position: -200% 0; } }
.mh-mini__sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.mh-mini.mh-is-updating .mh-mini__foot .btn { opacity: .85; }
.mh-mini__adding { margin: 18px 0 0; font-weight: 700; color: var(--red, #D62D26); }
@media (prefers-reduced-motion: reduce) { .mh-mini__panel, .mh-mini__veil { transition: none; } .mh-mini__skel span { animation: none; } }
