/* VictorStore VS-010 - mobile purchase layout TEST v2
   Only HikaShop V11 product purchase panel, viewport <= 400px.
   Do not style the + / - controls or quantity input internally.
*/
@media screen and (max-width: 400px) {
  .vs-signature-buy #hikashop_product_quantity_main.hikashop_modern_cart {
    display: flex !important;
    flex-direction: column !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    justify-content: flex-start !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
  }
  .vs-signature-buy #hikashop_product_quantity_main > .hikashop_product_stock_count,
  .vs-signature-buy #hikashop_product_quantity_main > .hikashop_quantity_form {
    display: block !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: 0 1 auto !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
  .vs-signature-buy #hikashop_product_quantity_main > .hikashop_quantity_form {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;
  }
  .vs-signature-buy #hikashop_product_quantity_main > button.hikabtn.hikacart {
    display: block !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    min-height: 54px !important;
    height: auto !important;
    padding: 12px 10px !important;
    text-align: center !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
  .vs-signature-buy #hikashop_product_quantity_main > button.hikabtn.hikacart > span {
    display: inline !important;
    white-space: normal !important;
  }
  .vs-signature-buy #hikashop_product_quantity_main > button.hikabtn.hikawishlist {
    display: block !important;
    position: static !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    flex: none !important;
    box-sizing: border-box !important;
    margin: 0 !important;
  }
}
