/* MP Bundles block under the product price. Styled like the theme's delivery box
   (border, radius, Lexend Deca titles, grey Open Sans text). Every selector starts
   with .mpb so the theme's button/input rules, loaded later in the body, don't win. */
.mpb{border:1px solid rgba(0,0,0,.11);border-radius:10px;padding:20px;margin:6px 0 20px;background:#fff;width:100%;flex:1 1 100%;font-family:var(--wd-text-font,"Open Sans",Arial,sans-serif)}
.mpb .mpb__head{margin-bottom:16px}
.mpb .mpb__title{margin:0;font-family:var(--wd-title-font,"Lexend Deca",Arial,sans-serif);font-weight:500;font-size:16px;line-height:1.3;color:var(--wd-title-color,#242424)}
.mpb .mpb__perks{margin:8px 0 0;display:flex;flex-wrap:wrap;gap:6px}
.mpb .mpb__perk{font-size:13px;line-height:1.4;font-weight:600;border-radius:999px;padding:3px 10px;background:#F4F4F4;color:#333;transition:background .2s,color .2s}
.mpb .mpb__perk--ship{border-radius:8px}
.mpb .mpb__perk--ship::before{content:"🚚 "}
.mpb.mpb--ship .mpb__perk--ship{background:#000;color:#fff}
.mpb.mpb--off .mpb__perk--off{background:#CC0000;color:#fff}
.mpb .mpb__list{list-style:none;margin:0;padding:0}
.mpb .mpb__slot{display:flex;align-items:center;gap:12px;padding:0;margin:0 0 16px;border:0}
.mpb .mpb__slot:last-child{margin-bottom:0}
.mpb .mpb__tick{flex:0 0 18px;width:18px;height:18px;min-height:0;margin:0;padding:0;accent-color:#000;cursor:pointer}
.mpb .mpb__opt{flex:1 1 auto;display:flex;align-items:center;gap:12px;min-width:0}
.mpb .mpb__opt[hidden]{display:none}
.mpb .mpb__pick{flex:1 1 auto;display:flex;align-items:center;gap:12px;min-width:0;cursor:pointer;margin:0;padding:0;font-weight:400}
.mpb .mpb__img{flex:0 0 44px;width:44px;height:44px;object-fit:contain;border-radius:6px;background:#F7F7F7}
.mpb .mpb__txt{display:flex;flex-direction:column;gap:2px;min-width:0}
.mpb .mpb__slot-name{font-family:var(--wd-title-font,"Lexend Deca",Arial,sans-serif);font-size:15px;font-weight:500;line-height:1.3;color:var(--wd-title-color,#242424)}
.mpb .mpb__name{font-size:14px;line-height:1.45;color:var(--wd-text-color,#767676);display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.mpb .mpb__price{flex:0 0 auto;text-align:right;font-size:15px;line-height:1.3;white-space:nowrap;display:flex;flex-direction:column;align-items:flex-end;gap:1px}
.mpb .mpb__price del{color:#767676;font-size:13px;font-weight:400}
.mpb .mpb__price ins{text-decoration:none;font-weight:600;color:var(--wd-title-color,#242424);background:none}
.mpb .mpb__price del + ins{color:#CC0000}
.mpb .mpb__more{font-size:12px;color:#767676;text-decoration:underline}
.mpb .mpb__more:hover{color:#000}
.mpb .mpb__swap{flex:0 0 auto;min-height:0;height:auto;margin:3px 0 0;padding:6px 10px;border:1px solid rgba(0,0,0,.11);border-radius:5px;background:#fff;box-shadow:none;font-family:inherit;font-size:12px;font-weight:600;line-height:1;letter-spacing:0;text-transform:none;color:#333;cursor:pointer}
.mpb .mpb__swap:hover{border-color:#000;background:#fff;color:#000}
.mpb .mpb__slot--main{padding-bottom:16px;border-bottom:1px dashed rgba(0,0,0,.11)}
.mpb .mpb__slot--main .mpb__tick{cursor:default;opacity:1}
.mpb .mpb__slot--main .mpb__pick{cursor:default}
.mpb .mpb__dlg{width:min(520px,100%);max-width:100%;max-height:85vh;margin:auto;padding:20px;border:0;border-radius:12px;background:#fff;color:#242424;box-shadow:0 10px 40px rgba(0,0,0,.25);overflow:auto}
.mpb .mpb__dlg:not([open]){display:none}
.mpb .mpb__dlg--plain[open]{display:block;position:fixed;z-index:100000;left:0;right:0;bottom:0;top:auto;box-shadow:0 0 0 100vmax rgba(0,0,0,.5)}
.mpb .mpb__dlg::backdrop{background:rgba(0,0,0,.5)}
.mpb .mpb__dlg-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}
.mpb .mpb__dlg-x{flex:0 0 36px;width:36px;height:36px;min-height:0;margin:0;padding:0;border:0;border-radius:50%;background:#F4F4F4;box-shadow:none;font-size:22px;line-height:1;color:#242424;cursor:pointer}
.mpb .mpb__choices{list-style:none;margin:0;padding:0}
.mpb .mpb__choice{display:flex;align-items:center;gap:12px;margin:0;padding:14px 0;border-top:1px solid rgba(0,0,0,.11)}
.mpb .mpb__choice .mpb__txt{flex:1 1 auto;gap:4px}
.mpb .mpb__choice-img{flex:0 0 72px;width:72px;height:72px;object-fit:contain;border-radius:8px;background:#F7F7F7}
.mpb .mpb__choice-name{font-size:14px;line-height:1.4;color:#242424}
.mpb .mpb__choice-price{font-size:15px}
.mpb .mpb__choice-price del{color:#767676;font-size:13px}
.mpb .mpb__choice-price ins{text-decoration:none;font-weight:600;background:none;color:#242424}
.mpb .mpb__choice-price del + ins{color:#CC0000}
.mpb .mpb__choose{flex:0 0 auto;min-height:40px;margin:0;padding:8px 14px;border:1px solid #000;border-radius:5px;background:#000;box-shadow:none;font-family:inherit;font-size:14px;font-weight:600;line-height:1;letter-spacing:0;text-transform:none;color:#fff;cursor:pointer}
.mpb .mpb__choice.is-cur .mpb__choose{background:#fff;color:#000}
.mpb .mpb__foot{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;border-top:1px solid rgba(0,0,0,.11);margin-top:20px;padding-top:16px}
.mpb .mpb__sum{display:flex;flex-direction:column}
.mpb .mpb__sum-label{font-size:14px;color:#767676}
.mpb .mpb__total{font-family:var(--wd-title-font,"Lexend Deca",Arial,sans-serif);font-size:20px;font-weight:600;color:var(--wd-title-color,#242424)}
.mpb .mpb__save{font-size:13px;color:#CC0000;font-weight:600}
.mpb .mpb__add.button{min-height:42px;margin:0;padding:10px 20px;border:0;border-radius:5px;background:#000;box-shadow:none;color:#fff;font-size:14px;font-weight:600;text-transform:none;letter-spacing:0}
.mpb .mpb__add.button:hover{background:#333;color:#fff}
.mpb .mpb__add.button:disabled{background:#F4F4F4;color:#767676;cursor:default}
.mpb .mpb__add.loading{opacity:.6}
.mpb .mpb__msg{margin:12px 0 0;font-size:14px;color:#242424}
.mpb .mpb__msg a{color:#000;font-weight:600;text-decoration:underline}
@media (max-width:480px){
	.mpb{padding:16px}
	.mpb .mpb__img{flex-basis:40px;width:40px;height:40px}
	.mpb .mpb__slot,.mpb .mpb__opt,.mpb .mpb__pick{gap:10px}
	.mpb .mpb__slot-name{font-size:14px}
	.mpb .mpb__name{font-size:13px}
	.mpb .mpb__add.button{width:100%}
	.mpb .mpb__dlg{width:100%;margin:auto 0 0;border-radius:14px 14px 0 0;padding:16px}
	.mpb .mpb__choice-img{flex-basis:60px;width:60px;height:60px}
}
