.mg57-bundles{--bo-ink:#193e35;--bo-muted:#52685d;--bo-stroke:#d8e3d8;--bo-soft:#f1f6ee;min-width:0;color:var(--bo-ink);display:grid;gap:13px}
.mg57-bundles [hidden]{display:none!important}
.mg57-bundle-head{padding:clamp(16px,4vw,30px);border-radius:16px;background:linear-gradient(140deg,#245a48,#173f34);color:#fff}
.mg57-bundle-head h2{margin:.25em 0;color:#fff;font-size:clamp(23px,5vw,35px)}.mg57-bundle-head p{margin:0;line-height:1.7;color:#eef8ee}
.mg57-bundle-eyebrow{font-size:.82rem;letter-spacing:.035em;color:#d0e9d2;font-weight:750}
.mg57-bundle-filters,.mg57-bundle-pieces{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(165px,100%),1fr));gap:9px;min-width:0}
.mg57-bundle-filters{border:1px solid var(--bo-stroke);padding:12px;border-radius:12px;background:white;align-items:end}
.mg57-bundle-label{min-width:0;display:grid;gap:4px;font-size:.9rem;font-weight:750}
.mg57-bundle-label :is(input,select),.mg57-bundle-preview{font:inherit;padding:.58em;border-radius:8px;border:1px solid #acc2b0;color:#193e35;background:#fff;min-height:43px;width:100%;box-sizing:border-box;min-width:0;font-size:16px}
.mg57-bundle-label [aria-invalid=true]{outline:2px solid #a03434}.mg57-bundle-filter-actions,.mg57-bundle-share-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}
.mg57-bundle-primary,.mg57-bundle-secondary{font:inherit;font-weight:750;padding:.48em .72em;border:1px solid #477763;border-radius:8px;min-height:41px;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;text-decoration:none;line-height:1.35}.mg57-bundle-primary{background:#245a48;color:#fff}.mg57-bundle-secondary{background:white;color:#245a48}
.mg57-bundle-feedback,.mg57-bundle-meta,.mg57-bundle-warning,.mg57-bundle-empty{font-size:.87rem;margin:.21em 0;line-height:1.6;color:var(--bo-muted)}.mg57-bundle-feedback{min-height:1.1em;font-weight:750}.mg57-bundle-warning{color:#864a18;font-weight:700}
.mg57-bundle-results{display:grid;gap:10px}.mg57-bundle-card{border:1px solid var(--bo-stroke);border-radius:14px;background:#fff;padding:12px;min-width:0}.mg57-bundle-card-head{margin:0 0 8px}
.mg57-bundle-card-head div{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.mg57-bundle-card h3{font-size:1.21rem;margin:0}
.mg57-bundle-style,.mg57-bundle-slot{border-radius:100px;background:#e1efdf;color:#224d3d;padding:3px 7px;font-size:.8rem;font-weight:800;max-width:100%;overflow-wrap:anywhere}
.mg57-bundle-piece{display:grid;align-content:start;gap:6px;padding:8px;background:#f9fbf7;border:1px solid #e0e9dd;min-width:0;border-radius:10px}
.mg57-bundle-slot{justify-self:start;margin:0}.mg57-bundle-product{font:inherit;font-weight:850;text-align:start;color:var(--bo-ink);border:0;background:none;padding:0;min-width:0;overflow-wrap:anywhere;cursor:pointer}
.mg57-bundle-product:disabled{cursor:default}.mg57-bundle-img{display:block;width:100%;height:132px;object-fit:contain;background:#f0f2e9;border-radius:8px}
.mg57-bundle-part-details{display:flex;justify-content:space-between;flex-wrap:wrap;gap:5px;align-items:center;font-size:.84rem}
.mg57-bundle-total{display:flex;gap:8px;flex-wrap:wrap;align-items:center;background:#e8f4e7;padding:8px 11px;border-radius:8px;margin:9px 0 4px}.mg57-bundle-total span{font-size:.91rem}.mg57-bundle-total strong{font-size:1.15rem}.mg57-bundle-total small{color:#245543}
.mg57-bundle-share{padding:9px;border-radius:8px;border:1px dashed #a5bda7;margin-top:8px}.mg57-bundle-preview{font-size:.93rem;line-height:1.6;resize:vertical}
@media(max-width:560px){.mg57-bundle-filters,.mg57-bundle-pieces{grid-template-columns:1fr}.mg57-bundle-img{height:108px}.mg57-bundle-card{padding:8px}.mg57-bundle-head{padding:13px}}

/* V5.8: comfortable photos, compact wayfinding, and unmistakable price/fit states. */
.mg57-bundles{gap:15px}
.mg57-bundle-head{border-radius:20px;background:radial-gradient(ellipse at 0 0,#39705d,transparent 60%),#173f34}
.mg57-bundle-flow{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:0;margin:15px 0 0;list-style:none}
.mg57-bundle-flow li{display:flex;gap:6px;align-items:center;border:1px solid #a8cdb775;border-radius:999px;padding:4px 9px;color:#e6f1e9;font-size:.77rem}
.mg57-bundle-flow li span:first-child{border-radius:50%;background:#d7ebdb;color:#194435;font-weight:850;min-width:1.5em;text-align:center}
.mg57-bundle-filter-note{margin:0;color:var(--bo-muted);font-size:.83rem;line-height:1.65}
.mg57-bundle-card{border-radius:18px;padding:16px}.mg57-bundle-card-head{margin-bottom:12px}
.mg57-bundle-pieces{grid-template-columns:repeat(auto-fit,minmax(min(205px,100%),1fr));gap:12px}
.mg57-bundle-piece{border-radius:14px;padding:11px;gap:8px}
.mg57-bundle-piece-top{display:flex;justify-content:space-between;align-items:center;gap:5px;flex-wrap:wrap}
.mg57-bundle-role{font-size:.74rem;color:#53685b;font-weight:700}
.mg57-bundle-photo{margin:0;position:relative;overflow:hidden;border-radius:10px;aspect-ratio:4/3;max-height:330px;background:#eaf0e8;border:1px solid #dbe6da}
.mg57-bundle-photo .mg57-bundle-img{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:scale-down;object-position:center;background:none;border-radius:0}
.mg57-bundle-no-photo{position:absolute;inset:0;display:grid;place-content:center;text-align:center;padding:12px;color:#51685c;font-weight:750}
.mg57-bundle-product{min-height:35px;font-size:1rem}
.mg57-bundle-product:focus-visible,.mg57-bundle-diagram:focus-visible,.mg57-bundles :is(button,a,select,input,textarea):focus-visible{outline:2px solid #377f68;outline-offset:2px}
.mg57-bundle-part-details{align-items:flex-start;flex-direction:column;gap:4px;line-height:1.55}
.mg57-bundle-recorded{color:#325449}.mg57-bundle-warning{border-radius:7px;background:#fff4de;padding:3px 6px;color:#79430f}
.mg57-bundle-diagram{justify-self:start;max-width:100%;min-height:36px}
.mg57-bundle-total{align-items:flex-start;flex-direction:column;gap:4px;border:1px solid #cee4d2;padding:11px 13px;border-radius:11px;margin-top:13px}
.mg57-bundle-total[data-kind=quote]{background:#fff4dd;border-color:#ead9a7}.mg57-bundle-total[data-kind=quote] strong{color:#754817}
.mg57-bundle-amount{display:flex;align-items:baseline;justify-content:space-between;width:100%;gap:10px;flex-wrap:wrap}.mg57-bundle-amount span{font-weight:800}.mg57-bundle-amount strong{font-size:clamp(1.05rem,3.3vw,1.42rem)}
.mg57-bundle-total small{line-height:1.55}.mg57-bundle-budget-ok{font-weight:800}
.mg57-bundle-fit{padding:8px 10px;border-radius:9px;margin:7px 0;color:#3c5a53;background:#edf5f2;font-size:.86rem;line-height:1.65}
.mg57-bundle-fit[data-kind=verify]{background:#fff6e5;color:#744912}
.mg57-bundle-share{margin-top:11px;padding:11px}.mg57-bundle-share-actions{margin:4px 0}
@media(max-width:560px){
 .mg57-bundle-filters,.mg57-bundle-pieces{grid-template-columns:minmax(0,1fr)}
 .mg57-bundle-filters,.mg57-bundle-card{padding:10px;gap:11px}.mg57-bundle-piece{padding:9px}
 .mg57-bundle-photo{max-height:295px}.mg57-bundle-head{padding:15px}.mg57-bundle-flow{gap:5px;margin-top:10px}
}
