/* Local mobile comparison: expose navigation alongside the purchase panels. */
@media(max-width:984px){
 html body.mp-purchase-enabled .floating-navigation{visibility:visible!important;pointer-events:auto!important;z-index:100250!important;transform:none!important;}
 html body.mp-purchase-enabled .floating-navigation .mobile-dock{visibility:visible!important;pointer-events:auto!important;}
 body.product-quick-add-open #mp-open-sidebar{display:none!important;}
}
/* Mobile prototype: purchase area and navigation share one silhouette. */
@media(max-width:984px){
 html body.mp-purchase-enabled .floating-navigation{border-radius:0 0 28px 28px!important;box-shadow:0 3px 5px rgba(0,0,0,.16)!important;overflow:visible!important;background:#fff!important;}
 html body.mp-purchase-enabled .floating-navigation .mobile-dock{border-radius:0 0 28px 28px!important;background:#fff!important;}
 html body.mp-purchase-enabled .add-to-basket__sticky,
 html body.mp-purchase-enabled .product-quick-add--open .quick-purchase{
  position:fixed!important;left:20px!important;right:20px!important;width:auto!important;max-width:390px!important;margin:0 auto!important;
  bottom:calc(67px + env(safe-area-inset-bottom) + var(--mobile-viewport-bottom-offset,0px))!important;
  border:0!important;border-radius:28px 28px 0 0!important;background:#fff!important;
  padding:14px 12px 8px!important;box-shadow:0 -3px 5px rgba(0,0,0,.12)!important;z-index:100251!important;
 }
 html body.product-quick-add-open .add-to-basket__sticky{visibility:hidden!important;pointer-events:none!important;}
 html body.mp-purchase-enabled .add-to-basket__sticky .ig-entry-tab,
 html body.mp-purchase-enabled .quick-purchase .ig-entry-tab{position:relative!important;inset:auto!important;margin:0 2px 8px!important;background:transparent!important;border:0!important;}
 html body.mp-purchase-enabled .add-to-basket__sticky-primary,
 html body.mp-purchase-enabled .quick-purchase .sg-primary,
 html body.mp-purchase-enabled .quick-purchase .product-quick-add__submit,
 html body.mp-purchase-enabled .sg-mobile-reopen{border-radius:22px!important;min-height:48px!important;}
 html body.mp-purchase-enabled .add-to-basket__sticky .sg-mobile-summary,
 html body.mp-purchase-enabled .quick-purchase .sg-mobile-summary{background:transparent!important;padding:0!important;}
}
@media(max-width:984px){
 html body.mp-purchase-enabled .product-quick-add--open .product-quick-add__dialog{transform:none!important;}
}
@media(max-width:984px){
 html body.mp-purchase-enabled .quick-purchase .sg-actions{display:grid!important;grid-template-columns:92px minmax(0,1fr)!important;gap:8px!important;}
 html body.mp-purchase-enabled .quick-purchase .product-quick-add__submit{min-width:0!important;width:100%!important;font-size:13px!important;padding:8px!important;display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:4px!important;white-space:normal!important;}
 html body.mp-purchase-enabled .quick-purchase .sg-purchase-price{font-size:12px!important;}
 html body.mp-purchase-enabled .add-to-basket__sticky{padding-bottom:16px!important;}
}
@media(max-width:984px){
 html body.mp-purchase-enabled .add-to-basket__sticky .ig-entry-tab,html body.mp-purchase-enabled .quick-purchase .ig-entry-tab,
 html body.mp-purchase-enabled .add-to-basket__sticky-primary,html body.mp-purchase-enabled .add-to-basket__sticky-cart,
 html body.mp-purchase-enabled .quick-purchase .sg-primary,html body.mp-purchase-enabled .quick-purchase .sg-actions,
 html body.mp-purchase-enabled .add-to-basket__sticky .sg-mobile-summary,html body.mp-purchase-enabled .quick-purchase .sg-mobile-summary{display:none!important;}
 .mp-purchase-row{display:grid;grid-template-columns:82px minmax(0,1fr) 40px;gap:8px;align-items:center;margin-top:4px;}
 .mp-purchase-row button{height:46px;min-width:0;padding:0 8px;font:14px inherit;cursor:pointer;}
 .mp-size{border:1px solid #e5e5e5;border-radius:18px;background:#fff;color:#111;white-space:nowrap;}
 .mp-cart{background:#e9b354;color:#fff;border:0;border-radius:20px;font-size:15px!important;font-weight:600!important;}
 .mp-guide{display:flex;align-items:center;justify-content:center;border:0;background:transparent;color:#111;padding:4px!important;}
 .mp-guide svg{width:30px;height:26px;fill:none;stroke:currentColor;stroke-width:1.5;}
 html body.mp-purchase-enabled .add-to-basket__sticky{padding-bottom:8px!important;}
}
@media(max-width:984px){html body.mp-purchase-enabled .add-to-basket__sticky .mp-purchase-row,html body.mp-purchase-enabled .quick-purchase .mp-purchase-row{display:grid!important;visibility:visible!important;opacity:1!important;}}
@media(max-width:984px){
 html body.mp-purchase-enabled .mp-purchase-row{grid-template-columns:minmax(0,1fr) 40px!important;}
 html body.mp-purchase-enabled .mp-cart{font-size:14px!important;font-weight:500!important;}
 html body.mp-purchase-enabled .add-to-basket__sticky .mp-size-expansion,html body.mp-purchase-enabled .quick-purchase .mp-size-expansion{display:grid!important;grid-template-rows:0fr;transition:grid-template-rows 420ms cubic-bezier(.22,1,.36,1);}
 html body.mp-purchase-enabled .mp-size-grid{min-height:0;overflow:hidden;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:0 6px;opacity:0;transition:opacity 240ms;}
 html body.mp-purchase-enabled .mp-size-expansion[data-open="true"]{grid-template-rows:1fr!important;}
 html body.mp-purchase-enabled .mp-size-expansion[data-open="true"] .mp-size-grid{opacity:1;}
 .mp-size-title{grid-column:1/-1;font-size:14px;font-weight:600;padding:4px 0 10px;}
 .mp-size-grid button{height:38px;margin-bottom:6px;border:1px solid #e5e5e5;border-radius:10px;background:white;color:#111;cursor:pointer;}
 .mp-size-grid button:disabled{opacity:.35;text-decoration:line-through;cursor:default;}
 .mp-size-grid button[aria-pressed=true]{background:#e9b354;border-color:#e9b354;}
 html body.mp-purchase-enabled .add-to-basket__sticky-panel,html body.mp-purchase-enabled .quick-purchase .sg-native-sizes,html body.mp-purchase-enabled .quick-purchase .ig-picker-heading{display:none!important;}
}
@media(prefers-reduced-motion:reduce){.mp-size-expansion,.mp-size-grid{transition:none!important;}}
@media(max-width:984px){html body.mp-purchase-enabled .mp-purchase-row,html body.mp-purchase-enabled .mp-purchase-row button,html body.mp-purchase-enabled .mp-size-expansion,html body.mp-purchase-enabled .mp-size-grid,html body.mp-purchase-enabled .mp-size-grid button{pointer-events:auto!important;}}
@media(max-width:984px){html body.product-quick-add-open .add-to-basket__sticky{display:none!important;}}
@media(max-width:984px){
 .mp-size-title{display:none!important;}
 html body.mp-purchase-enabled .mp-guide-expansion{display:grid!important;grid-template-rows:0fr;transition:grid-template-rows 420ms cubic-bezier(.22,1,.36,1);pointer-events:auto!important;}
 html body.mp-purchase-enabled .mp-guide-expansion[data-open="true"]{grid-template-rows:1fr;}
 html body.mp-purchase-enabled .mp-guide-inner{display:block!important;min-height:0;overflow:hidden;pointer-events:auto!important;}
 html body.mp-purchase-enabled #kabooki-size-guide.mp-embedded-guide{position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;height:auto!important;max-height:55vh!important;margin:0!important;padding:16px 0 8px!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:white!important;transform:none!important;opacity:1!important;overflow-y:auto!important;pointer-events:auto!important;}
 html body.mp-purchase-enabled #kabooki-size-guide.mp-embedded-guide *{pointer-events:auto;}
 html body.mp-purchase-enabled #kabooki-size-guide .ig-close{border:0!important;box-shadow:none!important;background:transparent!important;border-radius:0!important;top:0!important;right:0!important;}
 html body.mp-purchase-enabled .mp-embedded-guide .ig-content{padding:0 4px!important;}
 html body.mp-purchase-enabled .mp-embedded-guide .ig-picker{position:static!important;padding:8px 0!important;}
}
@media(max-width:984px){html body.mp-purchase-enabled .add-to-basket__sticky .mp-guide-expansion,html body.mp-purchase-enabled .quick-purchase .mp-guide-expansion{display:grid!important;visibility:visible!important;}html body.mp-purchase-enabled .add-to-basket__sticky .mp-guide-inner,html body.mp-purchase-enabled .quick-purchase .mp-guide-inner{display:block!important;}}
/* One shared size selection, with the guide filling the available space. */
@media(max-width:984px){
 html body.mp-purchase-enabled #kabooki-size-guide.mp-embedded-guide .ig-picker{display:none!important;}
 html body.mp-purchase-enabled .floating-navigation,html body.mp-purchase-enabled .floating-navigation .mobile-dock{height:52px!important;min-height:52px!important;}
 html body.mp-purchase-enabled .add-to-basket__sticky,html body.mp-purchase-enabled .product-quick-add--open .quick-purchase{bottom:calc(57px + env(safe-area-inset-bottom) + var(--mobile-viewport-bottom-offset,0px))!important;padding-bottom:2px!important;}
 html body.mp-purchase-enabled .add-to-basket__sticky:has(.mp-guide-expansion[data-open="true"]),html body.mp-purchase-enabled .quick-purchase:has(.mp-guide-expansion[data-open="true"]){height:auto!important;max-height:calc(100dvh - 62px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;display:flex!important;flex-direction:column!important;}
 html body.mp-purchase-enabled .add-to-basket__sticky .mp-guide-expansion[data-open="true"],html body.mp-purchase-enabled .quick-purchase .mp-guide-expansion[data-open="true"]{flex:0 1 auto;min-height:0;}
 html body.mp-purchase-enabled .mp-guide-expansion[data-open="true"] .mp-guide-inner{overflow-y:auto!important;}
 html body.mp-purchase-enabled #kabooki-size-guide.mp-embedded-guide{max-height:none!important;overflow:visible!important;}
 html body.mp-purchase-enabled .mp-size-expansion,html body.mp-purchase-enabled .mp-purchase-row{flex-shrink:0;}
 html body.mp-purchase-enabled .mp-purchase-row{margin-top:2px!important;}
 html body.product-quick-add-open .add-to-basket__sticky{display:none!important;}
}
@media(max-width:984px){
 html body.mp-purchase-enabled .mp-embedded-guide .ig-empty{display:grid!important;grid-template-columns:minmax(0,1fr) 42px;column-gap:16px;align-items:center;text-align:left!important;padding:4px 32px 16px 0!important;min-height:0!important;}
 html body.mp-purchase-enabled .mp-embedded-guide .ig-empty>svg{grid-column:2;grid-row:1 / 3;width:36px!important;height:32px!important;margin:0!important;justify-self:end;}
 html body.mp-purchase-enabled .mp-embedded-guide .ig-empty>h2{grid-column:1;grid-row:1;text-align:left!important;margin:0 0 8px!important;}
 html body.mp-purchase-enabled .mp-embedded-guide .ig-empty>p{grid-column:1;grid-row:2;text-align:left!important;margin:0!important;}
 .mp-cart>span[aria-hidden]{display:inline-block;transform:rotate(0deg);transition:transform 180ms;}
 .add-to-basket__sticky:has(.mp-size-expansion[data-open="true"]) .mp-cart>span[aria-hidden],
 .add-to-basket__sticky:has(.mp-guide-expansion[data-open="true"]) .mp-cart>span[aria-hidden],
 .quick-purchase:has(.mp-size-expansion[data-open="true"]) .mp-cart>span[aria-hidden],
 .quick-purchase:has(.mp-guide-expansion[data-open="true"]) .mp-cart>span[aria-hidden]{transform:rotate(180deg);}
}

@media(max-width:984px){.mp-selected-cart-icon{display:inline-block;vertical-align:middle;margin-left:5px;flex-shrink:0;}}
/* Compact top spacing only when both purchase extensions are closed. */
@media(max-width:984px){
 html body.mp-purchase-enabled .add-to-basket__sticky:not(:has(.mp-size-expansion[data-open="true"],.mp-guide-expansion[data-open="true"])),
 html body.mp-purchase-enabled .product-quick-add--open .quick-purchase:not(:has(.mp-size-expansion[data-open="true"],.mp-guide-expansion[data-open="true"])){padding-top:10px!important;}
}

@media(max-width:984px){
 html body.mp-purchase-enabled .add-to-basket__sticky .mp-cart-confirmation,html body.mp-purchase-enabled .quick-purchase .mp-cart-confirmation{display:block!important;margin:0 0 8px!important;font-size:12px;text-align:center;color:#265b34;}
}

@media(max-width:984px){
 html body.mp-purchase-enabled .add-to-basket__sticky .mp-success-expansion,html body.mp-purchase-enabled .quick-purchase .mp-success-expansion{display:grid!important;grid-template-rows:0fr;transition:grid-template-rows 420ms cubic-bezier(.22,1,.36,1);pointer-events:auto!important;}
 html body.mp-purchase-enabled .mp-success-expansion[data-open="true"]{grid-template-rows:1fr!important;}
 html body.mp-purchase-enabled .mp-success-inner{display:block!important;min-height:0;overflow:hidden;}
 .mp-success-content{position:relative;padding:8px 0 14px;max-height:55dvh;overflow-y:auto;}
 html body.mp-purchase-enabled .mp-success-content *{pointer-events:auto!important;}
 .mp-success-content [role="status"]{margin:0 30px 18px 0;font-size:14px;font-weight:600;color:#265b34;}
 html body.mp-purchase-enabled .mp-success-close{position:absolute;right:0;top:0;border:0;background:none;font-size:24px;padding:0 4px;cursor:pointer;}
 .mp-success-content h2{font-size:18px;margin:0 0 12px;}
 .mp-look-cards{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;}
 .mp-look-card{display:flex;flex:0 0 44%;flex-direction:column;gap:5px;scroll-snap-align:start;color:#111;text-decoration:none;font-size:12px;line-height:1.3;}
 .mp-look-card img{width:100%;height:150px;object-fit:contain;background:#f7f7f5;border-radius:12px;}
 .mp-look-card strong{font-size:13px;}
}
@media(prefers-reduced-motion:reduce){html body.mp-purchase-enabled .mp-success-expansion{transition:none!important;}}

@media(max-width:984px){
 .mp-look-cards{scrollbar-width:none;}
 .mp-look-cards::-webkit-scrollbar{display:none;}
 .mp-success-content h2{padding-right:28px;}
 html body.mp-purchase-enabled .mp-purchase-row.is-success{grid-template-columns:minmax(0,1fr)!important;}
 html body.mp-purchase-enabled .mp-purchase-row.is-success .mp-guide{display:none!important;}
 html body.mp-purchase-enabled .mp-purchase-row.is-success .mp-cart{background:#e8f2e9;color:#265b34;min-height:46px;height:46px;padding:0 8px!important;cursor:default;}
 html body.mp-purchase-enabled .mp-purchase-row.is-success .mp-cart>span{transform:none!important;}
 html body.mp-purchase-enabled .mp-has-inline>form{display:none!important;}
 html body.mp-purchase-enabled .mp-inline-purchase{display:block!important;padding:16px 0 24px;margin:0;}
 .mp-inline-guide{display:flex;align-items:center;justify-content:space-between;width:100%;background:transparent;border:0;padding:10px 0;font:inherit;cursor:pointer;}
 .mp-inline-guide svg{width:30px;height:26px;}
 .mp-inline-sizes{display:grid;grid-template-columns:repeat(5,1fr);gap:6px;margin:12px 0;}
 .mp-inline-sizes button{border:1px solid #e5e5e5;border-radius:10px;background:#fff;height:40px;font:inherit;cursor:pointer;}
 .mp-inline-sizes button:disabled{opacity:.35;text-decoration:line-through;}
 .mp-inline-sizes button[aria-pressed=true]{background:#e9b354;border-color:#e9b354;}
 .mp-inline-cart{width:100%;min-height:48px;border:0;border-radius:20px;background:#e9b354;color:white;font:inherit;cursor:pointer;}


 html body.mp-nav-only .floating-navigation,html body.mp-nav-only .floating-navigation .mobile-dock{border-radius:28px!important;}
}

/* Collapse the purchase row into the dock when the inline purchase is reached. */
@media(max-width:984px){
 html body.mp-purchase-enabled .add-to-basket__sticky,html body.mp-purchase-enabled .product-quick-add--open .quick-purchase{min-height:0!important;transition:padding 480ms cubic-bezier(.22,1,.36,1),box-shadow 480ms,visibility 0s!important;}
 html body.mp-purchase-enabled .add-to-basket__sticky .mp-purchase-row,html body.mp-purchase-enabled .quick-purchase .mp-purchase-row{max-height:64px;overflow:hidden;transition:max-height 480ms cubic-bezier(.22,1,.36,1),margin 480ms cubic-bezier(.22,1,.36,1),opacity 300ms!important;}
 html body.mp-purchase-enabled .add-to-basket__sticky .mp-row-hidden,html body.mp-purchase-enabled .quick-purchase .mp-row-hidden{max-height:0;margin-top:0!important;opacity:0!important;pointer-events:none!important;}
 html body.mp-purchase-enabled .add-to-basket__sticky.mp-purchase-hidden,html body.mp-purchase-enabled .product-quick-add--open .quick-purchase.mp-purchase-hidden{padding-top:0!important;padding-bottom:0!important;box-shadow:none!important;visibility:hidden!important;transition:padding 480ms cubic-bezier(.22,1,.36,1),box-shadow 480ms,visibility 0s 480ms!important;}
 html body.mp-purchase-enabled .floating-navigation,html body.mp-purchase-enabled .floating-navigation .mobile-dock{transition:border-radius 480ms cubic-bezier(.22,1,.36,1)!important;}
}
@media(prefers-reduced-motion:reduce){html body.mp-purchase-enabled .add-to-basket__sticky,html body.mp-purchase-enabled .product-quick-add--open .quick-purchase,html body.mp-purchase-enabled .mp-purchase-row,html body.mp-purchase-enabled .floating-navigation,html body.mp-purchase-enabled .floating-navigation .mobile-dock{transition:none!important;}}

/* A single navbar surface owns every purchase expansion and the icon dock. */
@media(max-width:984px){
 html body.mp-purchase-enabled .mp-inline-guide{justify-content:flex-start;gap:10px;}
 html body.mp-purchase-enabled .mp-native-purchase{display:none!important;}
 html body.mp-purchase-enabled .floating-navigation{height:auto!important;min-height:52px!important;max-height:calc(100dvh - 10px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;display:flex!important;flex-direction:column!important;left:20px!important;right:20px!important;width:auto!important;max-width:390px!important;border-radius:28px!important;background:#fff!important;box-shadow:0 0 5px #0003!important;overflow:hidden!important;}
 html body.mp-purchase-enabled .floating-navigation .mobile-dock{position:relative!important;inset:auto!important;flex:0 0 52px!important;width:100%!important;max-width:none!important;margin:0!important;transform:none!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;}
 html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase{position:relative!important;inset:auto!important;width:100%!important;max-width:none!important;margin:0!important;transform:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;display:block!important;flex:0 1 auto;min-height:0!important;overflow:hidden!important;visibility:visible!important;}
 html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase:has(.mp-guide-expansion[data-open="true"]){display:flex!important;flex-direction:column!important;max-height:calc(100dvh - 62px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;}
 html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase.mp-purchase-hidden{visibility:hidden!important;}
 html body.product-quick-add-open .floating-navigation .mp-product-purchase,html body:not(.product-quick-add-open) .floating-navigation .mp-sidebar-purchase{display:none!important;}
 html body.mp-nav-only .floating-navigation .mobile-dock{border-radius:0!important;}
}

@media(max-width:984px){
 html body.mp-purchase-enabled .mp-success-content .mp-success-heading{padding:4px 22px 16px;margin:0 0 12px;text-align:center;font-size:18px;line-height:1.4;color:#265b34;}
 html body.mp-purchase-enabled .mp-purchase-row.is-success .mp-cart{cursor:pointer;background:#e9b354;color:white;}
 .mp-nudge{animation:mp-purchase-nudge 360ms ease-in-out;}
}
@keyframes mp-purchase-nudge{0%,100%{transform:translateX(0)}25%{transform:translateX(-5px)}50%{transform:translateX(5px)}75%{transform:translateX(-3px)}}
@media(prefers-reduced-motion:reduce){.mp-nudge{animation:none;outline:2px solid #b86b00;}}
/* Finish fading the controls before collapsing their space on scroll. */
@media(max-width:984px){
 html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase .mp-row-hidden{transition:max-height 480ms cubic-bezier(.22,1,.36,1) 200ms,margin 480ms cubic-bezier(.22,1,.36,1) 200ms,opacity 200ms ease-out!important;}
 html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase.mp-purchase-hidden{transition:padding 480ms cubic-bezier(.22,1,.36,1) 200ms,visibility 0s 680ms!important;}
}
@media(prefers-reduced-motion:reduce){html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase.mp-purchase-hidden,html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase .mp-row-hidden{transition:none!important;}}

@media(max-width:984px){
 html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase{padding:14px 12px 2px!important;}
 html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase:not(:has([data-open="true"])){padding-top:10px!important;}
 html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase.mp-purchase-hidden{padding-top:0!important;padding-bottom:0!important;}
 .mp-cart{position:relative;overflow:hidden;}
 .mp-label-current{display:block;}
 .mp-label-out{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;pointer-events:none;}
}

/* Preserve both grid tracks while the purchase button grows into the guide space. */
@media(max-width:984px){
 html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase .mp-purchase-row{grid-template-columns:minmax(0,1fr) 40px!important;column-gap:8px;transition:grid-template-columns 400ms ease,column-gap 400ms ease,max-height 480ms cubic-bezier(.22,1,.36,1),margin 480ms cubic-bezier(.22,1,.36,1),opacity 300ms!important;}
 html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase .mp-purchase-row.is-success{grid-template-columns:minmax(0,1fr) 0px!important;column-gap:0;}
 html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase .mp-purchase-row .mp-guide{display:flex!important;min-width:0;overflow:hidden;opacity:1;transition:opacity 180ms,visibility 0s;}
 html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase .mp-purchase-row.is-success .mp-guide{padding:0!important;opacity:0;visibility:hidden;pointer-events:none!important;transition:opacity 180ms,visibility 0s 180ms;}
 html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase .mp-purchase-row.mp-row-hidden{transition:grid-template-columns 400ms ease,column-gap 400ms ease,max-height 480ms cubic-bezier(.22,1,.36,1) 200ms,margin 480ms cubic-bezier(.22,1,.36,1) 200ms,opacity 200ms ease-out!important;}
}
@media(prefers-reduced-motion:reduce){html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase .mp-purchase-row,html body.mp-purchase-enabled .floating-navigation .mp-navbar-purchase .mp-purchase-row .mp-guide{transition:none!important;}}

/* Runtime integration: keep native desktop controls and other dock panels intact. */
.mp-inline-purchase,.mp-navbar-purchase{display:none;}
@media(max-width:984px){
 body.mp-purchase-enabled .sg-mobile-inline-reopen{display:none!important;}
 body.mp-purchase-enabled .floating-navigation{visibility:visible!important;pointer-events:auto!important;}
 html body.mp-purchase-enabled .floating-navigation.is-expanded .mp-navbar-purchase{display:none!important;}
 html body.mp-purchase-enabled .mp-look-cards>[data-complete-look-product]{flex:0 0 44%;min-width:0;}
 html body.mp-purchase-enabled .mp-look-cards .inner-product__images img{height:150px;object-fit:contain;}
 .mp-purchase-error:empty{display:none;}
}

/* Mobile quick product lives inside the same rounded navigation surface. */
@media(max-width:984px){
 html body .product-quick-add__dialog.mp-sidebar-empty{visibility:hidden!important;pointer-events:none!important;}
 html body .floating-navigation .mp-sidebar-integrated{display:flex!important;flex-direction:column!important;padding-top:0!important;position:relative!important;max-height:calc(100dvh - 72px)!important;}
 html body .mp-sidebar-content{position:relative;min-height:0;height:calc(100dvh - 142px);overflow:hidden;margin:0 -12px 0;}
 html body .mp-sidebar-content .product-quick-add__scroll{height:100%!important;max-height:none!important;overflow:auto!important;padding-bottom:12px!important;overscroll-behavior:contain;}
 html body .mp-sidebar-content .product-quick-add__content{padding:0!important;}
 html body .mp-sidebar-content .product-quick-add__prices,html body .mp-sidebar-content .mp-inline-purchase{display:none!important;}
 html body .mp-sidebar-close{position:absolute;right:10px;top:10px;z-index:4;width:36px;height:36px;border:0;border-radius:50%;background:#fff;color:#000;font-size:24px;cursor:pointer;}
 html body .mp-sidebar-integrated .mp-purchase-row{flex-shrink:0;margin-top:10px!important;}
 html body .mp-sidebar-integrated .mp-size-expansion{position:absolute!important;left:12px;right:12px;bottom:58px;z-index:5;background:#fff;border-radius:18px 18px 0 0;box-shadow:0 -6px 14px #0000000a;}
 html body .mp-sidebar-integrated .mp-size-grid{padding-top:10px;}
 html body .mp-sidebar-show-guide .mp-sidebar-content,html body .mp-sidebar-show-success .mp-sidebar-content{display:none!important;}
 html body .mp-sidebar-show-guide .mp-size-expansion{position:relative!important;inset:auto!important;flex-shrink:0;box-shadow:none;}
 html body .mp-sidebar-show-guide .mp-guide-expansion{min-height:0;flex-shrink:1;}
 html body:not(.product-quick-add-open) .floating-navigation .mp-sidebar-integrated{display:none!important;}
}

@media(max-width:984px){
 html body .mp-sidebar-content .product-quick-add__feature img{width:40px!important;height:40px!important;object-fit:contain;}
 html body .mp-sidebar-content .product-quick-add__feature .feature-symbol-label{font-size:12px!important;line-height:1.3!important;}
 html body .mp-sidebar-content .product-quick-add__features{row-gap:16px!important;}
}

@media(max-width:984px){
 html body .mp-sidebar-content .product-quick-add__scroll,
 html body .mp-sidebar-content .product-quick-add__content{scrollbar-width:none!important;}
 html body .mp-sidebar-content .product-quick-add__scroll::-webkit-scrollbar,
 html body .mp-sidebar-content .product-quick-add__content::-webkit-scrollbar{display:none!important;width:0!important;height:0!important;}
}

@media(max-width:984px){
 html body .mp-sidebar-content{flex-shrink:0;transition:height 480ms cubic-bezier(.22,1,.36,1),opacity 260ms ease;}
}
@media(prefers-reduced-motion:reduce){html body .mp-sidebar-content{transition:none!important;}}

/* Suppress the original mobile sheet from its very first loading frame. */
@media(max-width:984px){
 html body:has(.floating-navigation) .product-quick-add--loading .product-quick-add__dialog,
 html body .product-quick-add__dialog:has(.mp-native-purchase){visibility:hidden!important;pointer-events:none!important;transition:none!important;animation:none!important;}
 html body .mp-sidebar-content{will-change:height,opacity;}
}

/* Tap an image to expand the mobile quick-product gallery, as on product pages. */
@media(max-width:984px){
 .product-quick-add__gallery.is-gallery-expanded .product-quick-add__slide{min-width:100%;scroll-snap-align:start;}
 .product-quick-add__slide[role=button]{cursor:zoom-in;}
 .is-gallery-expanded .product-quick-add__slide[role=button]{cursor:zoom-out;}
 .product-quick-add__gallery.is-gallery-morphing .product-quick-add__gallery-track .product-quick-add__slide{visibility:hidden;}
 .product-quick-add__gallery-track{align-items:flex-start;}
 .product-quick-add__slide.quick-gallery-visual{max-width:none;}
}

/* Compact mobile product features, matching the navbar product drawer. */
@media(max-width:767px){
 html body .product-page__features.product-page__features--labelled{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px 8px;}
 html body .product-page__features--labelled .product-page__feature img{width:40px;height:40px;object-fit:contain;}
 html body .product-page__features--labelled .feature-symbol-label{font-size:12px;line-height:1.3;}
}
