/* Key-Soft MultiDiscount visual redesign V8.2.9, scoped to module hook.
   Checkout prices and server-side discounts are deliberately unchanged. */
.md-bundle-stage{--md-green:#009a57;--md-deep:#006b43;--md-ink:#071c2a;--md-edge:#d9eee3;--md-mint:#e8fbf0;font-family:inherit;min-width:0;}
.md-bundle-stage *{box-sizing:border-box}
.md-top-text{font-size:clamp(18px,2vw,26px)!important;color:#081f2c!important;font-weight:850!important;letter-spacing:-.035em;margin:28px 0 17px!important}
.md-bundle-stage .md-bundle-card.md-bundle-card--premium{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) minmax(255px,.9fr)!important;
  grid-auto-rows:1fr;gap:clamp(12px,1.7vw,24px)!important;align-items:stretch!important;
  position:relative!important;padding:clamp(18px,2.4vw,34px)!important;
  border:1px solid #d8efe1!important;border-radius:36px!important;
  background:radial-gradient(ellipse 68% 72% at 15% 62%,rgba(174,249,211,.43),transparent 90%),
             radial-gradient(ellipse 65% 60% at 94% 8%,rgba(167,245,194,.34),transparent 84%),
             linear-gradient(145deg,#f8fffc,#fff 60%,#f3fcf8)!important;
  box-shadow:0 16px 35px rgba(14,96,57,.075)!important;overflow:hidden!important;
}
.md-bundle-stage .md-bundle-card--premium:before{content:none!important}
.md-bundle-stage .md-bundle-mainline{display:contents!important}
.md-bundle-stage .md-bundle-mainline>.md-product-tile:first-child{grid-column:1!important}
.md-bundle-stage .md-bundle-mainline>.md-bundle-bonus-trigger{grid-column:2!important}
.md-bundle-stage .md-bundle-card--premium .md-product-tile{
  display:flex!important;align-items:center!important;gap:15px!important;position:relative!important;
  padding:clamp(15px,1.7vw,24px)!important;min-height:215px!important;min-width:0!important;
  border:1px solid #e5eeea!important;border-radius:28px!important;background:rgba(255,255,255,.94)!important;
  box-shadow:0 15px 28px rgba(4,90,52,.08)!important;z-index:1!important;
}
.md-bundle-stage .md-bundle-card--premium .md-bundle-bonus-trigger{border-color:#d4ecde!important;background:linear-gradient(140deg,#fff 65%,#f0fbf4)!important}
.md-bundle-stage .md-bundle-card--premium .md-product-image{
 width:clamp(82px,7vw,112px)!important;height:clamp(82px,7vw,112px)!important;
 min-width:clamp(82px,7vw,112px)!important;flex:none!important;padding:7px!important;
 border:1px solid #e3eee8!important;border-radius:20px!important;object-fit:contain!important;background:#fff!important;
}
.md-bundle-stage .md-product-copy{min-width:0!important}
.md-bundle-stage .md-product-name{color:#082132!important;font-size:clamp(13px,1.26vw,17px)!important;line-height:1.28!important;font-weight:850!important;overflow-wrap:anywhere;}
.md-bundle-stage .md-bundle-card .md-product-price{color:#007f4b!important;font-size:clamp(19px,2vw,27px)!important;font-weight:900!important;margin:9px 0 0!important}
.md-bundle-stage .md-bundle-bonus-label{display:inline-flex!important;align-items:center!important;gap:7px!important;
 padding:7px 11px!important;margin-bottom:11px!important;border-radius:999px!important;
 background:#e2f9ea!important;color:#007846!important;text-transform:none!important;letter-spacing:0!important;font-size:11px!important;font-weight:850!important}
.md-bundle-stage .md-bundle-bonus-label:before{content:'';display:inline-block;width:17px;height:17px;background:currentColor;mask:url('../img/branding/gift.svg') center/contain no-repeat;-webkit-mask:url('../img/branding/gift.svg') center/contain no-repeat}
.md-bundle-stage .md-bundle-card .md-product-old{margin-top:5px!important;color:#879a91!important}
.md-bundle-stage .md-bundle-card .md-product-save{color:#00864e!important;font-size:12px!important;font-weight:800!important;margin-top:7px!important}
.md-bundle-stage .md-bundle-card .md-discount-badge{color:#007c48!important;background:#dcfae6!important;border-radius:999px!important}
.md-bundle-stage .md-join-sign.md-join-sign--premium{
 grid-column:auto!important;position:absolute!important;top:50%!important;left:calc(34.7% - 1px)!important;
 transform:translate(-50%,-50%)!important;width:70px!important;height:70px!important;
 background:radial-gradient(circle,#e4fff0 57%,rgba(88,217,139,.14) 70%)!important;border:0!important;
 z-index:5!important;box-shadow:none!important;border-radius:50%!important;font-size:0!important;pointer-events:none!important;
}
.md-bundle-stage .md-join-sign img{display:block;width:61px;height:61px;max-width:100%;margin:auto;filter:drop-shadow(0 5px 8px rgba(0,133,73,.25))}
.md-bundle-stage .md-bundle-side{grid-column:3!important;position:relative!important;z-index:1!important;min-width:0!important}
.md-bundle-stage .md-bundle-cta{display:flex!important;flex-direction:column!important;justify-content:center!important;
 width:100%!important;gap:10px!important;padding:clamp(17px,1.7vw,23px)!important;
 border:1px solid #d6ebdf!important;border-radius:25px!important;background:#fff!important;
 box-shadow:0 14px 26px rgba(0,123,62,.10)!important;}
.md-bundle-stage .md-discount-text.md-discount-text--premium{
 display:flex;align-items:center;gap:9px;text-align:left!important;font-size:clamp(15px,1.52vw,19px)!important;
 font-weight:900!important;color:#063927!important;margin-bottom:8px!important}
.md-bundle-stage .md-discount-text.md-discount-text--premium:before{content:'';width:30px;height:30px;min-width:30px;display:inline-block;background:url('../img/branding/tag.svg') center/22px no-repeat,#dcfae8;border-radius:10px}
.md-bundle-stage .md-bundle-side-meta{gap:0!important}
.md-bundle-stage .md-bundle-side-line{display:flex!important;align-items:center;justify-content:space-between;gap:7px!important;
 flex-direction:row!important;padding:6px 0!important;border-bottom:1px solid #e8f1eb!important;}
.md-bundle-stage .md-bundle-side-line strong{font-size:11px!important;color:#687d73!important;letter-spacing:0!important}
.md-bundle-stage .md-bundle-side-line span{font-size:13px!important;white-space:nowrap;font-weight:850!important;color:#14252a!important}
.md-bundle-stage .md-bundle-side-save span{color:#06884f!important}
.md-bundle-stage .md-bundle-side-line:last-child{padding-top:15px!important;border-bottom:0!important}
.md-bundle-stage .md-bundle-side-line:last-child span{font-size:clamp(20px,2vw,28px)!important;color:#008d51!important;font-weight:900!important}
.md-bundle-stage .md-action-btn.md-action-btn--ghost{width:100%!important;min-height:44px!important;border:1px solid #c9ddd2!important;
 border-radius:13px!important;font-size:13px!important;font-weight:800!important;color:#082332!important;background:#fff!important;
 box-shadow:0 5px 9px rgba(0,83,49,.06)!important;}
.md-bundle-stage .md-action-btn.md-action-btn--ghost:hover{border-color:#00aa61!important;background:#f5fff9!important;color:#007849!important}
.md-bundle-stage .md-right-text.md-right-text--premium{display:none!important}
.md-bundle-stage .md-bundle-buy{cursor:pointer;display:flex;align-items:center;justify-content:center;gap:9px;
 min-height:46px;width:100%;border:0;border-radius:13px;background:linear-gradient(115deg,#12b95a,#008c4c);
 color:#fff;font-size:13px;font-weight:850;text-align:center;padding:10px 12px;box-shadow:0 6px 16px rgba(0,151,76,.17);}
.md-bundle-stage .md-bundle-buy:hover{background:linear-gradient(115deg,#06ad53,#00753c)}
.md-bundle-stage .md-bundle-buy svg{width:18px;height:18px;stroke:#fff}

/* Bundle configurator — the three panels form one consistent row, footer stays fixed. */
.md-picker-overlay{--md-ink:#091f2d;--md-green:#049451;--md-edge:#e0ece6}
.md-picker-overlay .md-picker-frame{display:flex!important;flex-direction:column!important;width:min(1440px,98vw)!important;
 height:min(890px,93dvh)!important;max-height:93dvh!important;overflow:hidden!important;
 border-radius:31px!important;background:#fff!important;box-shadow:0 27px 85px rgba(8,34,29,.26)!important;position:relative!important;}
.md-picker-overlay .md-picker-content-scroll{display:grid!important;grid-template-columns:minmax(260px,.93fr) minmax(320px,1.08fr) minmax(310px,1.08fr)!important;
 min-width:0!important;min-height:0!important;flex:1 1 auto!important;overflow:hidden!important;background:#fff}
.md-picker-overlay .md-picker-left,.md-picker-overlay .md-picker-middle,.md-picker-overlay .md-picker-right{
 min-height:0!important;min-width:0!important;overflow-y:auto!important;overscroll-behavior:contain;
 scrollbar-width:thin;scrollbar-color:#c8e5d4 #fff;padding:25px!important;
 border:0!important;opacity:1!important;}
.md-picker-overlay .md-picker-left{display:flex!important;flex-direction:column!important;gap:16px!important;
 background:radial-gradient(ellipse 100% 70% at 52% 63%,#daf9e7,transparent 89%),linear-gradient(145deg,#f1fff8,#f7fcf9)!important;
 border-right:1px solid #e5efe9!important}
.md-picker-overlay .md-picker-middle{display:flex!important;flex-direction:column!important;gap:10px!important;background:#fff!important;border-right:1px solid #edf2ee!important}
.md-picker-overlay .md-picker-right{display:flex!important;flex-direction:column!important;background:#fff!important}
.md-picker-overlay .md-picker-frame:not(.has-variants) .md-picker-content-scroll{grid-template-columns:minmax(280px,.9fr) minmax(320px,1.65fr)!important}
.md-picker-overlay .md-picker-frame:not(.has-variants) .md-picker-right{display:none!important}
.md-picker-overlay .md-picker-title{font-size:clamp(21px,2.2vw,29px)!important;font-weight:900!important;color:#061c2a!important}
.md-picker-overlay .md-picker-subtitle{font-size:13px!important;line-height:1.55!important;color:#73817e!important}
.md-picker-overlay .md-picker-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:10px!important}
.md-picker-overlay .md-picker-close-global{position:absolute!important;right:15px!important;top:15px!important;z-index:15!important;
 width:38px!important;height:38px!important;min-width:38px!important;border:1px solid #dfebe3!important;border-radius:50%!important;background:#fff!important;
 font-size:24px!important;color:#10202a!important;display:flex!important;align-items:center!important;justify-content:center!important;padding:0!important}
.md-picker-overlay .md-picker-header>.md-picker-close{display:none!important}
.md-picker-overlay .md-picker-section-title,.md-picker-overlay .md-picker-variant-title{font-size:15px!important;line-height:1.35!important;color:#081c2a!important;font-weight:900!important;margin:0 0 15px!important;padding-right:28px}
.md-picker-overlay .md-picker-main-card,.md-picker-overlay .md-picker-current{border:1px solid #cbe9d8!important;
 border-radius:22px!important;box-shadow:0 12px 25px rgba(0,115,63,.07)!important;background:rgba(255,255,255,.93)!important;padding:17px!important}
.md-picker-overlay .md-picker-chip,.md-picker-overlay .md-picker-current-label{background:#ddfae8!important;color:#067949!important;
 border-radius:999px!important;letter-spacing:0!important;font-weight:900!important;padding:7px 12px!important;font-size:11px!important;display:inline-flex!important;margin-bottom:13px!important}
.md-picker-overlay .md-picker-main-top,.md-picker-overlay .md-picker-current-card{align-items:center!important;gap:11px!important}
.md-picker-overlay .md-picker-main-card .md-product-image,.md-picker-overlay .md-picker-current-card .md-product-image{width:85px!important;height:85px!important;min-width:85px!important;padding:6px!important;border-radius:16px!important}
.md-picker-overlay .md-picker-content-scroll .md-product-name{font-size:14px!important;color:#0b2130!important;font-weight:850!important;line-height:1.27!important;overflow-wrap:anywhere}
.md-picker-overlay .md-picker-content-scroll .md-product-price{font-size:18px!important;color:#006f45!important;font-weight:900!important}
.md-picker-overlay .md-picker-content-scroll .md-product-save{font-size:12px!important;color:#07884d!important}
.md-picker-overlay .md-picker-content-scroll .md-product-old{color:#95a3a0!important}
.md-picker-overlay .md-picker-connection{display:flex;justify-content:center;align-items:center;margin:-4px 0 -3px;min-height:34px}
.md-picker-overlay .md-picker-connection img{width:51px;height:51px;filter:drop-shadow(0 6px 10px rgba(0,143,74,.18))}
.md-picker-overlay .md-picker-list,.md-picker-overlay .md-picker-variant-list{gap:10px!important}
.md-picker-overlay .md-picker-option,.md-picker-overlay .md-picker-variant,.md-picker-overlay .md-picker-variant-base{
 gap:12px!important;padding:14px!important;background:#fff!important;border:1px solid #e0eae5!important;
 border-radius:18px!important;box-shadow:0 3px 11px rgba(7,71,44,.025)!important;min-width:0!important;flex-shrink:0!important}
.md-picker-overlay .md-picker-option:hover,.md-picker-overlay .md-picker-variant:hover{border-color:#63c992!important;background:#fafffc!important;transform:none!important}
.md-picker-overlay .md-picker-option.is-selected,.md-picker-overlay .md-picker-variant.is-selected,.md-picker-overlay .md-picker-variant-base.is-selected{
 background:linear-gradient(120deg,#fff,#eafbF1)!important;border:1.5px solid #10b65d!important;
 box-shadow:0 5px 16px rgba(11,155,74,.1)!important}
.md-picker-overlay .md-picker-option.is-selected:after,.md-picker-overlay .md-picker-variant.is-selected:after,.md-picker-overlay .md-picker-variant-base.is-selected:after{
 background:#0eb45e!important;color:#fff!important;box-shadow:0 0 0 3px #e3ffec!important}
.md-picker-overlay .md-picker-option img,.md-picker-overlay .md-picker-variant img,.md-picker-overlay .md-picker-variant-base img{
 width:65px!important;height:65px!important;min-width:65px!important;object-fit:contain!important;padding:5px!important;
 border:1px solid #e3eee8!important;border-radius:14px!important;background:#fff!important}
.md-picker-overlay .md-picker-option-variants{background:#dffae9!important;color:#007f49!important;border-radius:999px!important;font-weight:850!important;font-size:11px!important;padding:8px 12px!important}
.md-picker-overlay .md-picker-option-meta{min-width:0!important;width:100%!important}
.md-picker-overlay .md-picker-right .md-picker-variant-panel{height:auto!important}
.md-picker-overlay .md-picker-frame.has-variants .md-picker-variant-inner.is-open{display:block!important;animation:none!important}
.md-picker-overlay .md-picker-bottom{flex:0 0 auto!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
 gap:13px!important;align-items:center!important;min-width:0!important;padding:15px 20px!important;
 border-top:1px solid #cfebd9!important;background:linear-gradient(115deg,#fbfffc,#e9f9ef)!important;position:relative!important;z-index:3!important}
.md-picker-overlay .md-picker-summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:9px!important;min-width:0!important}
.md-picker-overlay .md-picker-summary-card{padding:11px!important;border-radius:15px!important;border:1px solid #e1eee6!important;background:rgba(255,255,255,.97)!important;box-shadow:none!important;min-width:0!important}
.md-picker-overlay .md-picker-summary-label{font-size:10px!important;line-height:1.25!important;letter-spacing:0!important;color:#678073!important;margin-bottom:8px!important}
.md-picker-overlay .md-picker-summary-value{font-size:13px!important;color:#082637!important;line-height:1.25!important;overflow-wrap:anywhere}
.md-picker-overlay .md-picker-summary-card:nth-child(3) .md-picker-summary-value,
.md-picker-overlay .md-picker-summary-card:nth-child(4) .md-picker-summary-value{color:#05864e!important;font-size:17px!important}
.md-picker-overlay .md-picker-summary-sub{font-size:11px!important;color:#728279!important;line-height:1.25!important}
.md-picker-overlay .md-picker-confirm{width:auto!important;min-width:215px!important;min-height:53px!important;padding:12px 20px!important;
 border-radius:15px!important;background:linear-gradient(120deg,#009f59,#006f44)!important;font-size:14px!important;
 color:#fff!important;font-weight:900!important;box-shadow:0 8px 18px rgba(0,129,62,.20)!important}
.md-picker-overlay .md-picker-confirm:hover{background:linear-gradient(120deg,#08ad5a,#005f3c)!important}

@media(max-width:1250px) and (min-width:768px){
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important}
 .md-bundle-stage .md-bundle-side{grid-column:1/-1!important}
 .md-bundle-stage .md-bundle-cta{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;align-items:center!important;gap:12px!important}
 .md-bundle-stage .md-bundle-side-meta{grid-row:1 / 4;grid-column:2}
 .md-bundle-stage .md-join-sign.md-join-sign--premium{left:50%!important;top:30%!important}
 .md-picker-overlay .md-picker-left,.md-picker-overlay .md-picker-middle,.md-picker-overlay .md-picker-right{padding:16px!important}
 .md-picker-overlay .md-picker-content-scroll{grid-template-columns:minmax(230px,.85fr) minmax(280px,1fr) minmax(280px,1fr)!important}
}
/* Mobile: NO horizontal scrolling. Two product tiles in one row, summary below.
   The modal uses ONE full-width vertical column so all three sections are accessible
   by normal vertical scrolling, including at 320px. Desktop remains unchanged. */
@media (max-width:767px) {
 .md-bundle-stage{width:100%!important;min-width:0!important;max-width:100%!important}
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium{
  display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-auto-rows:auto!important;align-items:stretch!important;
  gap:7px!important;padding:9px!important;max-width:100%!important;width:100%!important;
  overflow:hidden!important;border-radius:18px!important;scroll-snap-type:none!important;
 }
 .md-bundle-stage .md-bundle-mainline{display:contents!important}
 .md-bundle-stage .md-bundle-mainline>.md-product-tile:first-child{grid-column:1!important}
 .md-bundle-stage .md-bundle-mainline>.md-bundle-bonus-trigger{grid-column:2!important}
 .md-bundle-stage .md-bundle-card .md-product-tile{
  display:flex!important;flex-direction:column!important;align-items:flex-start!important;
  gap:6px!important;padding:9px!important;min-width:0!important;min-height:0!important;
  width:100%!important;border-radius:13px!important;scroll-snap-align:none!important;
 }
 .md-bundle-stage .md-bundle-card .md-product-image{
  width:54px!important;height:54px!important;min-width:0!important;max-width:100%!important;
  padding:3px!important;border-radius:10px!important;object-fit:contain!important;
 }
 .md-bundle-stage .md-product-copy{width:100%!important;min-width:0!important}
 .md-bundle-stage .md-bundle-card .md-product-name{font-size:11px!important;line-height:1.27!important;overflow-wrap:anywhere!important;word-break:normal!important}
 .md-bundle-stage .md-bundle-card .md-product-price{font-size:16px!important;line-height:1.2!important;margin-top:6px!important}
 .md-bundle-stage .md-bundle-bonus-label{font-size:9px!important;padding:4px 6px!important;margin:3px 0!important;letter-spacing:0!important;white-space:normal!important}
 .md-bundle-stage .md-bundle-bonus-label:before{width:12px!important;height:12px!important;flex:0 0 12px!important}
 .md-bundle-stage .md-bundle-card .md-product-save{font-size:10px!important}
 .md-bundle-stage .md-bundle-side{grid-column:1/-1!important;display:block!important;min-width:0!important;width:100%!important}
 .md-bundle-stage .md-bundle-cta{padding:12px!important;gap:8px!important;border-radius:14px!important}
 .md-bundle-stage .md-discount-text{font-size:15px!important;line-height:1.3!important;margin:0!important}
 .md-bundle-stage .md-bundle-side-meta{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
 .md-bundle-stage .md-bundle-side-line{min-width:0!important;gap:3px!important}
 .md-bundle-stage .md-bundle-side-line strong{font-size:9px!important;line-height:1.25!important;letter-spacing:0!important;overflow-wrap:anywhere!important}
 .md-bundle-stage .md-bundle-side-line span,.md-bundle-stage .md-bundle-side-line:last-child span{font-size:13px!important;line-height:1.3!important;overflow-wrap:anywhere!important}
 .md-bundle-stage .md-bundle-buy,.md-bundle-stage .md-action-btn{min-height:40px!important;font-size:12px!important;padding:8px 10px!important;width:100%!important;white-space:normal!important}
 .md-bundle-stage .md-join-sign.md-join-sign--premium{
  position:absolute!important;left:50%!important;top:22%!important;transform:translate(-50%,-50%)!important;
  width:33px!important;height:33px!important;z-index:8!important;
 }
 .md-bundle-stage .md-join-sign img{width:30px!important;height:30px!important}
 .md-picker-overlay{padding:4px!important;overflow:hidden!important;align-items:center!important;justify-content:center!important}
 .md-picker-overlay .md-picker-frame,
 .md-picker-overlay .md-picker-frame.has-variants{
  display:flex!important;flex-direction:column!important;width:100%!important;max-width:100%!important;
  height:calc(100dvh - 8px)!important;max-height:calc(100dvh - 8px)!important;
  border-radius:14px!important;overflow:hidden!important;
 }
 .md-picker-overlay .md-picker-frame .md-picker-content-scroll,
 .md-picker-overlay .md-picker-frame.has-variants .md-picker-content-scroll,
 .md-picker-overlay .md-picker-frame:not(.has-variants) .md-picker-content-scroll{
  display:flex!important;flex-direction:column!important;gap:0!important;
  flex:1 1 auto!important;min-height:0!important;width:100%!important;max-width:100%!important;
  overflow-y:auto!important;overflow-x:hidden!important;scroll-snap-type:none!important;
  -webkit-overflow-scrolling:touch!important;
 }
 .md-picker-overlay .md-picker-frame .md-picker-left,
 .md-picker-overlay .md-picker-frame .md-picker-middle,
 .md-picker-overlay .md-picker-frame.has-variants .md-picker-right{
  display:flex!important;flex-direction:column!important;flex:0 0 auto!important;
  width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;
  min-height:0!important;min-width:0!important;overflow:visible!important;opacity:1!important;
  padding:12px!important;border:0!important;border-bottom:1px solid #e1eee8!important;
  grid-column:auto!important;grid-row:auto!important;scroll-snap-align:none!important;
 }
 .md-picker-overlay .md-picker-frame:not(.has-variants) .md-picker-right{display:none!important}
 .md-picker-overlay .md-picker-title{font-size:19px!important;margin:0!important;padding-right:40px!important}
 .md-picker-overlay .md-picker-subtitle{font-size:11px!important;line-height:1.4!important}
 .md-picker-overlay .md-picker-header{display:flex!important}
 .md-picker-overlay .md-picker-close-global{top:6px!important;right:6px!important;width:34px!important;height:34px!important;min-width:34px!important}
 .md-picker-overlay .md-picker-section-title,.md-picker-overlay .md-picker-variant-title{font-size:14px!important;margin:0 0 8px!important;padding-right:36px!important}
 .md-picker-overlay .md-picker-main-card,.md-picker-overlay .md-picker-current{padding:9px!important;border-radius:13px!important}
 .md-picker-overlay .md-picker-main-card .md-product-image,.md-picker-overlay .md-picker-current-card .md-product-image{width:48px!important;height:48px!important;min-width:48px!important}
 .md-picker-overlay .md-picker-connection{min-height:22px!important;margin:0!important}
 .md-picker-overlay .md-picker-connection img{width:28px!important;height:28px!important}
 .md-picker-overlay .md-picker-list,.md-picker-overlay .md-picker-variant-list{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:7px!important}
 .md-picker-overlay .md-picker-option,.md-picker-overlay .md-picker-variant,.md-picker-overlay .md-picker-variant-base{
  width:100%!important;min-width:0!important;gap:9px!important;padding:9px!important;border-radius:12px!important;
 }
 .md-picker-overlay .md-picker-option img,.md-picker-overlay .md-picker-variant img,.md-picker-overlay .md-picker-variant-base img{width:48px!important;height:48px!important;min-width:48px!important;padding:3px!important}
 .md-picker-overlay .md-picker-content-scroll .md-product-name{font-size:12px!important;line-height:1.25!important}
 .md-picker-overlay .md-picker-content-scroll .md-product-price{font-size:14px!important}
 .md-picker-overlay .md-picker-option-variants{font-size:10px!important;padding:6px 10px!important}
 .md-picker-overlay .md-picker-bottom{
  flex:0 0 auto!important;display:grid!important;grid-template-columns:minmax(0,1fr)!important;
  width:100%!important;gap:7px!important;padding:8px!important;position:relative!important;min-width:0!important;
 }
 .md-picker-overlay .md-picker-summary{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}
 .md-picker-overlay .md-picker-summary-card:nth-child(1),.md-picker-overlay .md-picker-summary-card:nth-child(2){display:none!important}
 .md-picker-overlay .md-picker-summary-card{padding:7px!important;min-width:0!important;border-radius:9px!important}
 .md-picker-overlay .md-picker-summary-label{font-size:9px!important;margin-bottom:3px!important;letter-spacing:0!important}
 .md-picker-overlay .md-picker-summary-value,.md-picker-overlay .md-picker-summary-card:nth-child(3) .md-picker-summary-value,
 .md-picker-overlay .md-picker-summary-card:nth-child(4) .md-picker-summary-value{font-size:14px!important}
 .md-picker-overlay .md-picker-summary-sub{display:none!important}
 .md-picker-overlay .md-picker-actions{width:100%!important;justify-content:stretch!important}
 .md-picker-overlay .md-picker-confirm{width:100%!important;min-width:0!important;min-height:43px!important;font-size:12px!important;padding:9px!important;border-radius:11px!important}
}
@media (max-width:360px){
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium{gap:5px!important;padding:6px!important}
 .md-bundle-stage .md-bundle-card .md-product-tile{padding:7px!important}
 .md-bundle-stage .md-bundle-card .md-product-name{font-size:10px!important}
 .md-bundle-stage .md-bundle-side-line strong{font-size:8px!important}
}

/* KS MOBILE INITIAL VIEW: main tile remains LEFT and reachable by swiping.
   This changes only the mobile bundle preview viewport and its start point. */
@media (max-width:767px){
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium{
  display:grid!important;
  grid-template-columns:60vw 60vw 60vw!important;
  grid-template-rows:auto!important;
  gap:9px!important;
  overflow-x:auto!important;
  overflow-y:hidden!important;
  scroll-behavior:auto!important;
  scroll-snap-type:none!important;
  overscroll-behavior-x:contain;
  -webkit-overflow-scrolling:touch;
 }
 .md-bundle-stage .md-bundle-mainline{display:contents!important}
 .md-bundle-stage .md-bundle-mainline>.md-product-tile:first-child{
  display:flex!important;grid-column:1!important;grid-row:1!important;
 }
 .md-bundle-stage .md-bundle-mainline>.md-bundle-bonus-trigger{
  display:flex!important;grid-column:2!important;grid-row:1!important;
 }
 .md-bundle-stage .md-bundle-side{
  display:block!important;grid-column:3!important;grid-row:1!important;
 }
 .md-bundle-stage .md-join-sign.md-join-sign--premium{
  left:calc(60vw + 4px)!important;top:50%!important;
 }
}

/* KS mobile patch: summary is one readable column, never three cramped cells. */
@media (max-width:767px){
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-side{
   min-width:0!important;width:100%!important;box-sizing:border-box!important;
 }
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-cta{
   width:100%!important;box-sizing:border-box!important;
 }
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-side-meta{
   display:flex!important;flex-direction:column!important;gap:7px!important;
   grid-template-columns:none!important;
 }
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-side-line{
   display:flex!important;flex-direction:column!important;min-width:0!important;
   gap:3px!important;width:100%!important;
 }
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-side-line strong{
   display:block!important;font-size:10px!important;line-height:1.25!important;
   letter-spacing:.02em!important;overflow-wrap:normal!important;word-break:normal!important;
 }
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-side-line span{
   display:block!important;font-size:14px!important;line-height:1.3!important;
   overflow-wrap:normal!important;word-break:normal!important;
 }
}

/* KS MOBILE LABELS FIX 8.2.10.2 — ONLY the three summary labels/values.
   More specific than earlier three-column mobile styles. Do not change scroll position. */
@media (max-width:767px){
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-side .md-bundle-cta .md-bundle-side-meta{
   display:flex!important;
   flex-direction:column!important;
   grid-template-columns:none!important;
   align-items:stretch!important;
   gap:0!important;
   min-width:0!important;
   width:100%!important;
 }
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-side .md-bundle-cta .md-bundle-side-meta .md-bundle-side-line{
   display:flex!important;
   flex-direction:column!important;
   flex-wrap:nowrap!important;
   align-items:flex-start!important;
   justify-content:flex-start!important;
   min-width:0!important;
   width:100%!important;
   padding:8px 0!important;
   gap:4px!important;
 }
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-side .md-bundle-cta .md-bundle-side-meta .md-bundle-side-line>strong{
   display:block!important;
   width:100%!important;
   max-width:100%!important;
   min-width:0!important;
   white-space:normal!important;
   overflow-wrap:normal!important;
   word-break:normal!important;
   hyphens:none!important;
   font-size:11px!important;
   line-height:1.35!important;
   text-align:left!important;
   letter-spacing:0!important;
 }
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-side .md-bundle-cta .md-bundle-side-meta .md-bundle-side-line>span{
   display:block!important;
   min-width:0!important;
   width:100%!important;
   white-space:nowrap!important;
   overflow-wrap:normal!important;
   word-break:normal!important;
   font-size:15px!important;
   line-height:1.35!important;
   text-align:left!important;
 }
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-side .md-bundle-cta .md-bundle-side-meta .md-bundle-side-line:last-child>span{
   font-size:20px!important;
 }
}

/* 8.2.10.3: ONLY vertically center content of both product tiles on mobile.
   Do not alter scrolling, widths, horizontal alignment, summary or desktop. */
@media (max-width:767px){
 .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-mainline > .md-product-tile{
  justify-content:center!important;
 }
}

/* 8.2.10.4: plus centred between REAL product-card boundaries on all screens.
   Both product cards have their content vertically centred at the plus height.
   Does not change widths, scrolling, prices or summary layout. */
.md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-join-sign.md-join-sign--premium{
 left:var(--md-join-center-x,34.7%)!important;
 top:var(--md-join-center-y,50%)!important;
}
.md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-mainline > .md-product-tile{
 justify-content:center!important;
}

/* 8.2.10.5 — compact mobile bundle cards. Keep the existing three-card horizontal
   flow, initial offset, desktop layout and all discount/checkout behaviour. */
@media (max-width:767px) {
  .md-bundle-stage .md-bundle-card.md-bundle-card--premium {
    align-items:center!important;
    grid-auto-rows:minmax(0,auto)!important;
    padding-top:11px!important;
    padding-bottom:11px!important;
  }
  .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-mainline > .md-product-tile {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    align-self:center!important;
    width:100%!important;
    height:auto!important;
    min-height:220px!important;
    max-height:none!important;
    padding:15px 13px!important;
    gap:10px!important;
    border-radius:19px!important;
  }
  .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-product-image {
    width:64px!important;
    height:64px!important;
    min-width:64px!important;
    border-radius:13px!important;
    padding:4px!important;
  }
  .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-product-copy {
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    justify-content:center!important;
    gap:4px!important;
    min-width:0!important;
    width:100%!important;
  }
  .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-product-name {
    font-size:12px!important;
    line-height:1.28!important;
    font-weight:800!important;
    margin:0!important;
    overflow-wrap:anywhere!important;
  }
  .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-product-price {
    font-size:20px!important;
    line-height:1.2!important;
    margin:3px 0 0!important;
  }
  .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-bonus-label {
    font-size:10px!important;
    line-height:1.2!important;
    padding:5px 8px!important;
    margin:0 0 3px!important;
  }
  .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-product-save {
    margin:2px 0 0!important;
    line-height:1.25!important;
  }
  .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-product-tile:first-child .md-discount-badge:empty {
    display:none!important;
  }
  .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-join-sign.md-join-sign--premium {
    z-index:5!important;
  }
}
@media (max-width:360px) {
  .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-bundle-mainline > .md-product-tile {
    min-height:205px!important;
    padding:12px 10px!important;
  }
  .md-bundle-stage .md-bundle-card.md-bundle-card--premium .md-product-image {
    width:55px!important;height:55px!important;min-width:55px!important;
  }
}

/* KS 8.2.10.6: ONLY MOBILE PICKER DIALOG: three horizontal swipe screens.
   Screen 1 = current bundle, 2 = vertically scrolling extras, 3 = variants.
   The product-page bundle preview (.md-bundle-stage) is untouched. */
@media (max-width:767px){
 .md-picker-overlay .md-picker-frame,
 .md-picker-overlay .md-picker-frame.has-variants,
 .md-picker-overlay .md-picker-frame:not(.has-variants){
   display:flex!important;flex-direction:column!important;
   width:100%!important;max-width:100%!important;
   height:calc(100dvh - 8px)!important;max-height:calc(100dvh - 8px)!important;
   overflow:hidden!important;position:relative!important;
 }
 .md-picker-overlay .md-picker-frame .md-picker-content-scroll,
 .md-picker-overlay .md-picker-frame.has-variants .md-picker-content-scroll,
 .md-picker-overlay .md-picker-frame:not(.has-variants) .md-picker-content-scroll{
   display:flex!important;flex-direction:row!important;
   flex-wrap:nowrap!important;align-items:stretch!important;
   grid-template-columns:none!important;grid-template-rows:none!important;
   gap:0!important;flex:1 1 auto!important;
   width:100%!important;max-width:100%!important;min-height:0!important;
   overflow-x:auto!important;overflow-y:hidden!important;
   overscroll-behavior-x:contain!important;
   scroll-snap-type:x mandatory!important;scroll-behavior:smooth!important;
   -webkit-overflow-scrolling:touch!important;scrollbar-width:none!important;
 }
 .md-picker-overlay .md-picker-content-scroll::-webkit-scrollbar{display:none!important}
 .md-picker-overlay .md-picker-frame .md-picker-content-scroll>.md-picker-left,
 .md-picker-overlay .md-picker-frame .md-picker-content-scroll>.md-picker-middle,
 .md-picker-overlay .md-picker-frame .md-picker-content-scroll>.md-picker-right,
 .md-picker-overlay .md-picker-frame.has-variants .md-picker-content-scroll>.md-picker-right,
 .md-picker-overlay .md-picker-frame:not(.has-variants) .md-picker-content-scroll>.md-picker-right{
   display:flex!important;flex-direction:column!important;
   flex:0 0 100%!important;width:100%!important;min-width:100%!important;
   max-width:100%!important;height:100%!important;max-height:100%!important;
   box-sizing:border-box!important;overflow-x:hidden!important;overflow-y:auto!important;
   scroll-snap-align:start!important;scroll-snap-stop:always!important;
   -webkit-overflow-scrolling:touch!important;
   padding:16px 13px 24px!important;margin:0!important;
   grid-column:auto!important;grid-row:auto!important;opacity:1!important;
   border:0!important;border-right:1px solid #e2efe8!important;
 }
 .md-picker-overlay .md-picker-frame .md-picker-content-scroll>.md-picker-left{
   background:linear-gradient(145deg,#f2fff7,#e5f9ed)!important;
 }
 .md-picker-overlay .md-picker-frame .md-picker-content-scroll>.md-picker-middle,
 .md-picker-overlay .md-picker-frame .md-picker-content-scroll>.md-picker-right{
   background:#fff!important;
 }
 .md-picker-overlay .md-picker-frame .md-picker-bottom{
   flex:0 0 auto!important;width:100%!important;min-width:0!important;
   position:relative!important;bottom:auto!important;z-index:4!important;
   display:grid!important;grid-template-columns:minmax(0,1fr)!important;
   border-top:1px solid #dcefe4!important;background:#fff!important;
 }
 .md-picker-overlay .md-picker-frame .md-picker-list,
 .md-picker-overlay .md-picker-frame .md-picker-variant-list{
   display:flex!important;flex-direction:column!important;gap:9px!important;
 }
 .md-picker-overlay .md-picker-close-global{z-index:40!important}
}
