/* KS mobile cart stable v3. Only the sticky mobile purchase panel. */
@media (max-width: 767px) {
  .product-info--type2 .counter_wrapp.ks-mobile-bar {
    display: flex !important;
    gap: 8px !important;
    padding: 0 12px !important;
    box-sizing: border-box !important;
    align-items: center !important;
  }
  .product-info--type2 .counter_wrapp.ks-mobile-bar > .ks-mobile-buy-now,
  .product-info--type2 .counter_wrapp.ks-mobile-bar > .button_block {
    flex: 1 1 0 !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    float: none !important;
    box-sizing: border-box !important;
  }
  .product-info--type2 .counter_wrapp.ks-mobile-bar > .counter_block_inner {
    display: none !important;
  }
  .product-info--type2 .counter_wrapp.ks-mobile-bar .ks-mobile-buy-now > .one_click {
    display: flex !important;
    width: 100% !important;
    height: 42px !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }
  .product-info--type2 .counter_wrapp.ks-mobile-bar .button_block.ks-mc-active > :not(.ks-mc-stepper):not(.ks-mc-error) {
    display: none !important;
  }
  .product-info--type2 .counter_wrapp.ks-mobile-bar .button_block.ks-mc-empty > .in-cart {
    display: none !important;
  }
  .product-info--type2 .counter_wrapp.ks-mobile-bar .button_block.ks-mc-empty > .to-cart {
    display: flex !important;
  }
  .product-info--type2 .counter_wrapp.ks-mobile-bar .button_block > .ks-mc-stepper {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    width: 100% !important;
    height: 42px !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    border-radius: 6px;
    background: #17434c;
    color: #fff;
    overflow: hidden;
  }
  .product-info--type2 .counter_wrapp.ks-mobile-bar .ks-mc-stepper button {
    appearance: none;
    border: 0;
    background: transparent;
    color: #fff;
    width: 34px;
    min-width: 34px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
  }
  .product-info--type2 .counter_wrapp.ks-mobile-bar .ks-mc-stepper button:disabled { opacity: .5; cursor: wait; }
  .product-info--type2 .counter_wrapp.ks-mobile-bar .ks-mc-center {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
    color: #fff;
  }
  .product-info--type2 .counter_wrapp.ks-mobile-bar .ks-mc-number { font-size: 17px; font-weight: 700; color: #fff; }
  .product-info--type2 .counter_wrapp.ks-mobile-bar .ks-mc-caption { font-size: 10px; opacity: .85; color: #fff; }
  .product-info--type2 .counter_wrapp.ks-mobile-bar .button_block { position: relative !important; }
  .product-info--type2 .counter_wrapp.ks-mobile-bar .ks-mc-error {
    position: absolute; bottom: 100%; right: 0; max-width: 260px;
    padding: 6px 9px; background: #fff; color: #b42318;
    border: 1px solid #f4b4ae; border-radius: 5px; font-size: 11px; z-index: 20;
  }
}
