/* Edvera LMS — bundle card (block edvera/bundle, [edvera_bundle], single bundle pages). Inherits the
   theme's fonts and colours; every colour is a variable a theme can override. Accent, corners and
   font default to Settings → Appearance (--edv-brand-*, edvera_brand_css()). Logical properties
   only, so it works left-to-right and right-to-left. */
.edv-bundle{--edv-accent:var(--edv-brand-accent,#17b8a6);--edv-accent-ink:var(--edv-brand-on-accent,#06231f);--edv-line:rgba(127,127,127,.38);--edv-ok:#256b29;--edv-radius:min(12px,var(--edv-brand-radius,999px));font-family:var(--edv-font-stack);box-sizing:border-box;max-inline-size:720px;margin-block:1.5em;margin-inline:auto;padding:clamp(14px,4vw,24px);border:1px solid var(--edv-line);border-radius:min(calc(var(--edv-radius) + 4px),var(--edv-brand-radius,999px));overflow-wrap:anywhere}
.edv-bundle *,.edv-bundle *::before,.edv-bundle *::after{box-sizing:border-box}
.edv-bundle-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px;margin-block-end:10px}
.edv-bundle-title{margin:0;font-size:1.25em;line-height:1.3}
.edv-bundle-title a{color:inherit;text-decoration:none}
.edv-bundle-title a:hover,.edv-bundle-title a:focus-visible{text-decoration:underline}
.edv-bundle-mode{display:inline-block;font-size:.8em;font-weight:700;line-height:1.4;padding:.25em .8em;border-radius:min(999px,var(--edv-brand-radius,999px));border:1px solid var(--edv-accent)}
.edv-bundle-lead{margin:0 0 4px;font-weight:600}
.edv-bundle-note,.edv-bundle-progress{margin:0 0 12px;font-size:.92em;opacity:.85}
.edv-bundle-progress{font-weight:600;opacity:1}
.edv-bundle-items{list-style:none;margin:12px 0 16px;padding:0;display:flex;flex-direction:column;gap:8px}
.edv-bundle-item{display:flex;align-items:center;gap:12px;margin:0;padding:10px 12px;border:1px solid var(--edv-line);border-radius:var(--edv-radius);min-inline-size:0}
.edv-bundle-n{flex:0 0 28px;block-size:28px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.85em;background:var(--edv-accent);color:var(--edv-accent-ink)}
.edv-bundle-body{flex:1 1 0%;min-inline-size:0;display:flex;flex-direction:column;gap:2px}
.edv-bundle-t{font-weight:600;color:inherit}
a.edv-bundle-t{text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:2px}
.edv-bundle-meta{font-size:.85em;opacity:.8}
.edv-bundle-state{flex:0 0 auto;font-size:.78em;font-weight:700;line-height:1.4;padding:.2em .7em;border-radius:min(999px,var(--edv-brand-radius,999px));border:1px solid var(--edv-line);white-space:nowrap}
.edv-bundle-item.is-open .edv-bundle-state{border-color:var(--edv-accent)}
.edv-bundle-item.is-done .edv-bundle-state{border-color:var(--edv-ok);color:var(--edv-ok)}
.edv-bundle-item.is-locked{border-style:dashed}
.edv-bundle-item.is-locked .edv-bundle-n{background:transparent;color:inherit;border:1px solid var(--edv-line)}
.edv-bundle-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 16px;border-block-start:1px dashed var(--edv-line);padding-block-start:14px}
.edv-bundle-value{margin:0;display:flex;flex-direction:column;gap:2px;font-size:.95em}
.edv-bundle-value del{opacity:.8}
.edv-bundle-save{color:var(--edv-ok)}
.edv-bundle .edv-buy{margin:0}
.edv-bundle-pick{margin:0;padding:12px;border:1px dashed var(--edv-line,rgba(127,127,127,.38));border-radius:min(8px,var(--edv-brand-radius,999px))}
@media (max-width:480px){
	.edv-bundle-item{gap:10px;padding:10px}
	.edv-bundle-foot{flex-direction:column;align-items:stretch}
	.edv-bundle .edv-buy{justify-content:space-between}
}
