/* For Her 1.20.313 — Desktop-only compact Misk/Cozma purchase dock.
 * On tablets/phones (<992px), v120311 stays responsible for the original
 * two-row look. Misk visibility/motion and translucent pane are untouched.
 */
@media (min-width:992px){
  html body .sticky-cart-bar.sticky-cart-style-misk.misk-dock-v2.misk-dock-v3{
    padding:8px max(16px,env(safe-area-inset-right,0px)) calc(8px + env(safe-area-inset-bottom,0px)) max(16px,env(safe-area-inset-left,0px))!important;
    min-height:0!important;
    /* Keep the glass sheet flush with the bottom of the window. */
    bottom:0!important;
    inset-block-end:0!important;
  }
  html body .sticky-cart-bar.sticky-cart-style-misk.misk-dock-v2.misk-dock-v3 .sticky-cart-inner{
    width:min(100%,860px)!important;
    max-width:860px!important;
    min-height:0!important;
    height:auto!important;
  }
  html body .sticky-cart-bar.sticky-cart-style-misk.misk-dock-v2.misk-dock-v3 .sticky-cart-controls{
    display:flex!important;
    direction:rtl!important;
    flex-direction:row!important;
    flex-wrap:nowrap!important;
    align-items:center!important;
    justify-content:center!important;
    column-gap:10px!important;
    row-gap:0!important;
    width:100%!important;
    min-height:0!important;
  }
  /* First item: a compact, real quantity selector. */
  html body .sticky-cart-bar.sticky-cart-style-misk.misk-dock-v2.misk-dock-v3 .sticky-cart-reference-quantity{
    display:grid!important;
    flex:0 0 170px!important;
    grid-column:auto!important;
    grid-row:auto!important;
    grid-template-columns:40px minmax(0,1fr) 40px!important;
    width:170px!important;
    max-width:170px!important;
    min-width:0!important;
    height:44px!important;
    min-height:44px!important;
    margin:0!important;
    border-radius:8px!important;
  }
  html body .sticky-cart-bar.sticky-cart-style-misk.misk-dock-v2.misk-dock-v3 .sticky-cart-reference-quantity :is(button,output){
    height:44px!important;
    min-height:44px!important;
    line-height:1!important;
  }
  html body .sticky-cart-bar.sticky-cart-style-misk.misk-dock-v2.misk-dock-v3 .sticky-cart-reference-quantity button{
    font-size:22px!important;
  }
  html body .sticky-cart-bar.sticky-cart-style-misk.misk-dock-v2.misk-dock-v3 .sticky-cart-reference-quantity output{
    font-size:16px!important;
  }
  /* Cart and whichever optional buttons are enabled share one horizontal row. */
  html body .sticky-cart-bar.sticky-cart-style-misk.misk-dock-v2.misk-dock-v3 .sticky-cart-action,
  html body .sticky-cart-bar.sticky-cart-style-misk.misk-dock-v2.misk-dock-v3 .pdp-misk-dock-option,
  html body .sticky-cart-bar.sticky-cart-style-misk.misk-dock-v2.misk-dock-v3 .pdp-sticky-apple-pay.has-native-apple-pay{
    flex:1 1 0!important;
    grid-column:auto!important;
    grid-row:auto!important;
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    margin:0!important;
    border-radius:8px!important;
  }
  html body .sticky-cart-bar.sticky-cart-style-misk.misk-dock-v2.misk-dock-v3 .sticky-cart-action .btn-add-to-cart{
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
    padding:6px 10px!important;
    border-radius:8px!important;
    font-size:14px!important;
    line-height:1.2!important;
  }
  html body .sticky-cart-bar.sticky-cart-style-misk.misk-dock-v2.misk-dock-v3 .pdp-misk-dock-option{
    padding:6px 9px!important;
    font-size:14px!important;
    line-height:1.2!important;
    gap:6px!important;
  }
  html body .sticky-cart-bar.sticky-cart-style-misk.misk-dock-v2.misk-dock-v3 .pdp-misk-dock-option svg{
    width:19px!important;
    height:19px!important;
    flex:0 0 19px!important;
  }
  html body .sticky-cart-bar.sticky-cart-style-misk.misk-dock-v2.misk-dock-v3 .pdp-sticky-apple-pay.has-native-apple-pay :is(.pdp-sticky-apple-pay__native,apple-pay-button,.apple-pay-button){
    height:44px!important;
    min-height:44px!important;
    max-height:44px!important;
  }
  /* Avoid losing the full row when the merchant enables only Add to cart. */
  html body .sticky-cart-bar.sticky-cart-style-misk.misk-dock-v2.misk-dock-v3:not(:has(.pdp-misk-dock-option)):not(:has(.pdp-sticky-apple-pay.has-native-apple-pay)) .sticky-cart-action{
    flex:1 1 auto!important;
  }
}
