.mellia-bundle{--mb-accent:#099a98;--mb-text:#111;--mb-muted:#666;width:100%}.mellia-bundle *{box-sizing:border-box}.mellia-bundle-size-selector{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-bottom:24px}.mellia-bundle-size-option{min-height:74px;padding:13px 20px;border:1px solid rgba(17,17,17,.12);border-radius:32px;background:#fff;color:#111;display:flex;align-items:center;justify-content:space-between;gap:14px;cursor:pointer;transition:transform .2s ease,border-color .2s ease,background .2s ease,color .2s ease}.mellia-bundle-size-option:hover{transform:translateY(-1px);border-color:rgba(9,154,152,.45)}.mellia-bundle-size-option.is-active{background:var(--mb-accent);color:#fff;border-color:var(--mb-accent)}.mellia-bundle-size-name{font-weight:700}.mellia-bundle-size-discount{font-size:18px;line-height:1;color:var(--mb-accent)}.mellia-bundle-size-option.is-active .mellia-bundle-size-discount{color:inherit}.mellia-bundle-layout{display:flex;align-items:flex-start;gap:28px}.mellia-bundle-grid{display:grid;flex:1;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.mellia-bundle-card{position:relative;display:flex;flex-direction:column;min-width:0;padding:22px;background:#f7f6f2;border:1px solid rgba(17,17,17,.09);border-radius:28px;transition:transform .25s ease,border-color .25s ease,background .25s ease}.mellia-bundle-card:hover{transform:translateY(-2px)}.mellia-bundle-card.is-selected{background:#e8f7f6;border-color:var(--mb-accent)}.mellia-bundle-image-link{display:block;text-decoration:none}.mellia-bundle-image{height:210px;display:flex;align-items:center;justify-content:center;margin-bottom:14px}.mellia-bundle-image img{display:block;width:100%;height:100%;object-fit:contain}.mellia-bundle-content{display:flex;flex-direction:column;gap:7px;flex:1}.mellia-bundle-title{margin:0;font-size:21px;line-height:1.15}.mellia-bundle-title a{color:inherit;text-decoration:none}.mellia-bundle-excerpt{font-size:14px;line-height:1.45;color:#5e5e5e}.mellia-bundle-price{font-size:15px;font-weight:600;margin-top:auto;padding-top:8px}.mellia-bundle-qty{height:48px;margin-top:17px;display:grid;grid-template-columns:48px 1fr 48px;align-items:center;background:#fff;border:1px solid rgba(17,17,17,.14);border-radius:32px;overflow:hidden}.mellia-bundle-qty button{height:100%;border:0;background:transparent;font-size:22px;line-height:1;cursor:pointer}.mellia-bundle-qty button:disabled{opacity:.25;cursor:not-allowed}.mellia-bundle-value{text-align:center;font-weight:700}.mellia-bundle-out{margin-top:17px;display:flex;align-items:center;justify-content:center;min-height:48px;padding:12px 18px;border-radius:32px;background:#111;color:#fff!important;text-decoration:none;font-weight:700;text-align:center}.mellia-bundle-card.is-unavailable .mellia-bundle-image{opacity:.62}.mellia-bundle-card.is-unavailable:after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;background:linear-gradient(180deg,transparent 40%,rgba(255,255,255,.08))}.mellia-bundle-summary{position:sticky;top:120px;width:380px;flex:0 0 auto;padding:24px;border-radius:32px;background:#e8f7f6;border:1px solid rgba(9,154,152,.18)}.mellia-bundle-discount-badge{display:flex;align-items:baseline;justify-content:center;gap:8px;padding:15px 18px;margin-bottom:18px;border-radius:24px;background:var(--mb-accent);color:#fff}.mellia-bundle-discount-big{font-size:32px;line-height:1;font-weight:800}.mellia-bundle-discount-label{font-size:13px;font-weight:700;text-transform:uppercase;letter-spacing:.06em}.mellia-bundle-slots{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-bottom:16px}.mellia-bundle-slot{width:82px;height:82px;border:1px dashed rgba(9,154,152,.22);border-radius:22px;background:#fff;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;transition:border-color .2s ease,transform .2s ease}.mellia-bundle-slot.is-filled{border-style:solid;border-color:rgba(9,154,152,.35)}.mellia-bundle-slot img{width:100%;height:100%;object-fit:contain;padding:5px}.mellia-bundle-slot-empty{font-size:22px;color:rgba(17,17,17,.28);font-weight:500}.mellia-bundle-summary-list{display:flex;flex-direction:column;gap:7px;margin-bottom:14px}.mellia-bundle-summary-item{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.mellia-bundle-summary-name{font-weight:700;line-height:1.2}.mellia-bundle-summary-qty{opacity:.7;white-space:nowrap}.mellia-bundle-progress{height:6px;background:rgba(17,17,17,.08);border-radius:99px;overflow:hidden;margin:8px 0 18px}.mellia-bundle-progress span{display:block;height:100%;width:0;background:var(--mb-accent);border-radius:inherit;transition:width .25s ease}.mellia-bundle-summary-row{display:flex;justify-content:space-between;gap:16px;padding:8px 0;font-size:14px}.mellia-bundle-summary-row.is-total{font-size:18px;border-top:1px solid rgba(17,17,17,.12);margin-top:5px;padding-top:16px}.mellia-bundle-add{width:100%;min-height:52px;margin-top:16px;border:0;border-radius:32px;background:var(--mb-accent);color:#fff;font-weight:700;cursor:pointer;transition:opacity .2s ease,transform .2s ease,background .2s ease}.mellia-bundle-add:hover:not(:disabled){transform:translateY(-1px)}.mellia-bundle-add:disabled{opacity:.45;cursor:not-allowed}.mellia-bundle-message{font-size:13px;line-height:1.4;margin-top:10px;min-height:0}.mellia-bundle-message.is-error{color:#9d2323}.mellia-bundle-message.is-success{color:#176c50}.mellia-cart-static-qty{white-space:nowrap}
@media(max-width:1024px){.mellia-bundle-layout{flex-direction:column}.mellia-bundle-summary{position:relative;top:auto;width:100%!important;margin-top:22px}.mellia-bundle-grid{width:100%;grid-template-columns:repeat(2,minmax(0,1fr))}.mellia-bundle-size-selector{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:767px){.mellia-bundle-size-selector{grid-template-columns:1fr;gap:8px}.mellia-bundle-size-option{min-height:58px}.mellia-bundle-grid{grid-template-columns:1fr}.mellia-bundle-card{display:grid;grid-template-columns:110px 1fr;gap:14px;align-items:center}.mellia-bundle-image{height:130px;margin:0}.mellia-bundle-content{align-self:stretch}.mellia-bundle-qty,.mellia-bundle-out{grid-column:1/-1;margin-top:2px}.mellia-bundle-summary{border-radius:24px}.mellia-bundle-card:hover{transform:none}.mellia-bundle-slot{width:72px;height:72px}.mellia-bundle-discount-big{font-size:28px}}

/* v1.2.0 responsive bundle experience */
.mellia-bundle-mobile-step,.mellia-bundle-mobile-bar,.mellia-bundle-mobile-summary-head{display:none}
@media(max-width:767px){
  .mellia-bundle{padding-bottom:84px}
  .mellia-bundle-size-selector{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin-bottom:22px}
  .mellia-bundle-size-option{min-height:48px;padding:8px 10px;border-radius:999px;justify-content:center;position:relative;flex-direction:column;gap:2px}
  .mellia-bundle-size-name{font-size:12px;line-height:1.1;white-space:nowrap}
  .mellia-bundle-size-discount{font-size:10px;line-height:1.1;font-weight:800}
  .mellia-bundle-mobile-step{display:flex;align-items:center;gap:9px;font-weight:700;font-size:15px;margin:0 0 14px}
  .mellia-bundle-mobile-step span{width:23px;height:23px;border-radius:50%;background:#111;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:12px;flex:0 0 auto}
  .mellia-bundle-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}
  .mellia-bundle-card{display:flex;grid-template-columns:none;gap:0;padding:12px;border-radius:20px;min-width:0}
  .mellia-bundle-image{height:150px;margin:0 0 8px}
  .mellia-bundle-title{font-size:14px;line-height:1.1}
  .mellia-bundle-excerpt{font-size:10.5px;line-height:1.3}
  .mellia-bundle-price{font-size:11px;padding-top:5px}
  .mellia-bundle-qty{grid-column:auto;height:38px;grid-template-columns:38px 1fr 38px;margin-top:10px;border-radius:999px}
  .mellia-bundle-qty button{font-size:18px}
  .mellia-bundle-out{grid-column:auto;min-height:38px;margin-top:10px;padding:8px 10px;border-radius:999px;font-size:11px}
  .mellia-bundle-layout{display:block}
  .mellia-bundle-summary{display:block;position:fixed!important;z-index:99999;left:12px;right:12px;bottom:12px;top:auto!important;width:auto!important;max-height:min(72%,620px);overflow:auto;margin:0!important;padding:18px!important;background:var(--mb-mobile-panel-bg,#fff)!important;border-radius:24px!important;transform:translateY(calc(100% + 30px));opacity:0;visibility:hidden;transition:transform .28s cubic-bezier(.16,1,.3,1),opacity .2s ease,visibility .2s ease;box-shadow:0 18px 55px rgba(0,0,0,.18)}
  .mellia-bundle.is-summary-open .mellia-bundle-summary{transform:translateY(0);opacity:1;visibility:visible}
  .mellia-bundle-mobile-summary-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:17px;font-weight:800;margin-bottom:14px}
  .mellia-bundle-summary-close{width:38px;height:38px;border:0;border-radius:50%;background:#111;color:#fff;font-size:22px;line-height:1;cursor:pointer}
  .mellia-bundle-discount-badge{border-radius:18px;padding:12px 14px;margin-bottom:14px}
  .mellia-bundle-slots{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;padding-bottom:2px}
  .mellia-bundle-slot{flex:0 0 64px;width:64px!important;height:78px!important;border-radius:16px!important}
  .mellia-bundle-mobile-bar{display:flex;position:fixed;z-index:99998;left:12px;right:12px;bottom:12px;min-height:62px;padding:10px 14px;border:1px solid rgba(17,17,17,.16);background:var(--mb-mobile-panel-bg,#fff);color:inherit;align-items:center;gap:10px;box-shadow:0 12px 35px rgba(0,0,0,.14);cursor:pointer;text-align:left}
  .mellia-bundle.is-summary-open .mellia-bundle-mobile-bar{opacity:0;pointer-events:none}
  .mellia-bundle-mobile-bar-step{display:flex;align-items:center;gap:7px;font-size:13px;font-weight:800;min-width:0}
  .mellia-bundle-mobile-bar-step b{display:inline-flex;width:22px;height:22px;align-items:center;justify-content:center;border-radius:50%;background:#111;color:#fff;font-size:11px;flex:0 0 auto}
  .mellia-bundle-mobile-bar-meta{margin-left:auto;display:flex;align-items:center;gap:7px;white-space:nowrap}
  .mellia-bundle-mobile-bar-meta strong{font-size:12px}
  .mellia-bundle-mobile-bar-meta em{font-style:normal;font-size:11px;font-weight:800;color:var(--mb-accent);background:rgba(9,154,152,.10);padding:5px 7px;border-radius:999px}
  .mellia-bundle-mobile-chevron{width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#111;color:#fff;font-size:16px}
}
@media(max-width:380px){
  .mellia-bundle-card{padding:9px}.mellia-bundle-image{height:132px}.mellia-bundle-title{font-size:13px}.mellia-bundle-excerpt{font-size:10px}.mellia-bundle-size-name{font-size:11px}
}

/* v1.3.0 mobile dock + selector discount badge */
.mellia-bundle-size-option{position:relative;overflow:visible}
.mellia-bundle-size-discount{
  position:absolute;
  top:-9px;
  right:-7px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:42px;
  min-height:24px;
  padding:5px 8px;
  background:#b8ff6a;
  color:#111!important;
  border-radius:999px;
  font-size:11px;
  line-height:1;
  font-weight:800;
  box-shadow:0 2px 7px rgba(0,0,0,.10);
}
.mellia-bundle-size-option.is-active .mellia-bundle-size-discount{color:#111!important}
.mellia-bundle-qty button{transition:background-color .2s ease,color .2s ease}
.mellia-bundle-out{transition:background-color .2s ease,color .2s ease,border-color .2s ease}

@media(max-width:767px){
  .mellia-bundle{padding-bottom:104px}
  .mellia-bundle-mobile-step-products{display:none!important}
  .mellia-bundle-size-option{overflow:visible;min-height:46px;padding:9px 8px}
  .mellia-bundle-size-discount{top:-8px;right:-5px;min-width:38px;min-height:21px;padding:4px 6px;font-size:9px}
  .mellia-bundle-mobile-bar{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:10px!important;
    top:auto!important;
    width:auto!important;
    margin:0!important;
    min-height:76px;
    padding:9px 11px;
    border-radius:22px!important;
    overflow:visible;
  }
  .mellia-bundle-mobile-thumbs{display:flex;align-items:center;gap:4px;min-width:0;flex:1}
  .mellia-bundle-mobile-thumb{
    flex:0 0 43px;
    width:43px;
    height:54px;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
    border:1px dashed rgba(17,17,17,.18);
    border-radius:12px;
    background:rgba(255,255,255,.72);
    color:rgba(17,17,17,.3);
    font-size:17px;
    font-weight:700;
  }
  .mellia-bundle-mobile-thumb.is-filled{border-style:solid}
  .mellia-bundle-mobile-thumb img{width:100%;height:100%;object-fit:contain;padding:2px}
  .mellia-bundle-mobile-bar-meta{margin-left:4px;flex-direction:column;align-items:flex-end;gap:3px}
  .mellia-bundle-mobile-chevron{flex:0 0 28px}
  .mellia-bundle-summary{
    position:fixed!important;
    left:10px!important;
    right:10px!important;
    bottom:10px!important;
    top:auto!important;
    margin:0!important;
  }
}


/* v1.4.0: persistent responsive dock, image reliability, selector typography */
.mellia-bundle-size-name{font-size:inherit;line-height:inherit;text-align:center;width:100%}
.mellia-bundle-size-option{justify-content:center;text-align:center}
.mellia-bundle-mobile-bar-label{display:none;font-weight:800;line-height:1.05;white-space:nowrap}

@media(max-width:1024px){
  .mellia-bundle{padding-bottom:106px}
  .mellia-bundle-mobile-bar{
    display:flex!important;position:fixed!important;z-index:99998;left:10px!important;right:10px!important;bottom:10px!important;top:auto!important;width:auto!important;margin:0!important;min-height:78px;padding:9px 12px;border:1px solid rgba(17,17,17,.16);border-radius:22px!important;background:var(--mb-mobile-panel-bg,#fff);color:inherit;align-items:center;gap:10px;box-shadow:0 12px 35px rgba(0,0,0,.14);cursor:pointer;text-align:left;overflow:visible
  }
  .mellia-bundle-mobile-bar-label{display:block;font-size:14px}
  .mellia-bundle-mobile-thumbs{display:flex;align-items:center;gap:4px;min-width:0;flex:1;justify-content:flex-start}
  .mellia-bundle-mobile-thumb{flex:0 0 43px;width:43px;height:54px;display:flex;align-items:center;justify-content:center;overflow:hidden;border:1px dashed rgba(17,17,17,.18);border-radius:12px;background:rgba(255,255,255,.72);color:rgba(17,17,17,.3);font-size:17px;font-weight:700}
  .mellia-bundle-mobile-thumb.is-filled{border-style:solid}
  .mellia-bundle-mobile-thumb img{display:block!important;visibility:visible!important;opacity:1!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important;padding:2px}
  .mellia-bundle-mobile-bar-meta{margin-left:auto;display:flex;align-items:flex-end;flex-direction:column;gap:3px;white-space:nowrap}
  .mellia-bundle-mobile-chevron{flex:0 0 28px;width:28px;height:28px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:#111;color:#fff;font-size:16px}
  .mellia-bundle-summary{display:block;position:fixed!important;z-index:99999;left:10px!important;right:10px!important;bottom:10px!important;top:auto!important;width:auto!important;max-height:min(72%,620px);overflow:auto;margin:0!important;padding:18px!important;background:var(--mb-mobile-panel-bg,#fff)!important;border-radius:24px!important;transform:translateY(calc(100% + 30px));opacity:0;visibility:hidden;transition:transform .28s cubic-bezier(.16,1,.3,1),opacity .2s ease,visibility .2s ease;box-shadow:0 18px 55px rgba(0,0,0,.18)}
  .mellia-bundle.is-summary-open .mellia-bundle-summary{transform:translateY(0);opacity:1;visibility:visible}
  .mellia-bundle.is-summary-open .mellia-bundle-mobile-bar{opacity:0;pointer-events:none}
  .mellia-bundle-mobile-summary-head{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:17px;font-weight:800;margin-bottom:14px}
}
@media(max-width:767px){
  .mellia-bundle-size-name{font-size:inherit!important;line-height:inherit!important}
  .mellia-bundle-mobile-bar-label{font-size:12px}
  .mellia-bundle-mobile-thumb{flex-basis:38px;width:38px;height:49px}
}
@media(max-width:520px){
  .mellia-bundle-mobile-bar{gap:7px;padding:8px 9px}
  .mellia-bundle-mobile-bar-label{max-width:64px;white-space:normal}
  .mellia-bundle-mobile-thumb{flex-basis:34px;width:34px;height:45px}
  .mellia-bundle-mobile-bar-meta{gap:2px}
}

/* v1.4.2 — bundle CTA stays disabled until the selected bundle is complete */
.mellia-bundle-add:disabled,.mellia-bundle-add.is-disabled{opacity:.42!important;cursor:not-allowed!important;pointer-events:none!important;filter:saturate(.45)}
.mellia-bundle-mobile-bar:disabled,.mellia-bundle-mobile-bar.is-disabled{opacity:.5!important;cursor:not-allowed!important;pointer-events:none!important;filter:saturate(.45)}
.mellia-bundle-mobile-bar:disabled .mellia-bundle-mobile-chevron,.mellia-bundle-mobile-bar.is-disabled .mellia-bundle-mobile-chevron{opacity:.45}

/* v1.4.3 — desktop: mobile/tablet dock must never render */
@media (min-width:1025px){
  .mellia-bundle-mobile-bar,
  .mellia-bundle-mobile-summary-head,
  .mellia-bundle-mobile-step,
  .mellia-bundle-mobile-step-products{
    display:none!important;
    visibility:hidden!important;
    opacity:0!important;
    pointer-events:none!important;
  }
  .mellia-bundle{padding-bottom:0!important;}
}

/* v1.5.0 — reliable selected-product rendering */
.mellia-bundle-summary-item{display:grid!important;grid-template-columns:48px minmax(0,1fr)!important;align-items:center!important;justify-content:initial!important;gap:10px!important;padding:4px 0}
.mellia-bundle-summary-thumb{display:flex;width:48px;height:56px;align-items:center;justify-content:center;overflow:hidden;border-radius:12px;background:rgba(255,255,255,.72);flex:0 0 auto}
.mellia-bundle-summary-thumb img,.mellia-bundle-slot img,.mellia-bundle-mobile-thumb img{display:block!important;visibility:visible!important;opacity:1!important;max-width:100%!important;width:100%!important;height:100%!important;object-fit:contain!important}
.mellia-bundle-summary-product{display:flex;min-width:0;flex-direction:column;gap:3px}
.mellia-bundle-summary-name{display:block!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700;line-height:1.2;color:inherit}
.mellia-bundle-summary-line{display:block;font-size:12px;line-height:1.25;opacity:.7}
.mellia-bundle-mobile-bar:disabled{opacity:1!important;cursor:pointer!important;pointer-events:auto!important}
