/* VietMart Studio 4.1.4.2 — Mobile Product Cards only.
 * Intentionally isolated from desktop, cart, checkout, account and order pages.
 */
@media screen and (max-width:849px){
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small{
    min-width:0!important;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small>.col-inner{
    height:100%;
    min-width:0!important;
    overflow:visible!important;
    border-radius:14px;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .box{
    display:flex!important;
    flex-direction:column!important;
    height:100%!important;
    min-width:0!important;
    overflow:hidden!important;
    border-radius:14px;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .box-image{
    flex:0 0 auto!important;
    width:100%!important;
    overflow:hidden!important;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .box-image .image-cover,
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .box-image .image-fade_in_back{
    padding-top:100%!important;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .box-image img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .box-text{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    min-width:0!important;
    padding:13px 12px 12px!important;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .box-text-inner{
    display:flex!important;
    flex:1 1 auto!important;
    flex-direction:column!important;
    min-width:0!important;
    width:100%!important;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .title-wrapper{
    min-width:0!important;
    min-height:4.08em!important;
    margin-bottom:6px!important;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .product-title,
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .woocommerce-loop-product__title{
    display:-webkit-box!important;
    overflow:hidden!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    line-height:1.36!important;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .price-wrapper{
    margin-top:auto!important;
    margin-bottom:8px!important;
    min-width:0!important;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .price{
    line-height:1.25!important;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .add-to-cart-button{
    width:100%!important;
    margin:0!important;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .add-to-cart-button a,
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .vm-mobile-card-actions>a.add_to_cart_button,
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .vm-mobile-card-actions>a.product_type_simple,
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .vm-mobile-card-actions>a.product_type_variable,
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .vm-mobile-card-actions>a.product_type_external{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    max-width:100%!important;
    min-height:43px!important;
    margin:0!important;
    padding:8px 7px!important;
    white-space:normal!important;
    text-align:center!important;
    line-height:1.15!important;
    box-sizing:border-box!important;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .vm-mobile-card-actions{
    display:flex!important;
    flex-direction:column!important;
    gap:7px!important;
    width:100%!important;
    min-width:0!important;
    margin-top:2px!important;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .vm-mobile-card-actions .added_to_cart,
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small a.added_to_cart.wc-forward{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    position:static!important;
    float:none!important;
    clear:both!important;
    width:100%!important;
    max-width:100%!important;
    min-height:38px!important;
    margin:0!important;
    padding:7px 8px!important;
    border:1px solid #166534!important;
    border-radius:9px!important;
    background:#eff8f2!important;
    color:#166534!important;
    font-size:12px!important;
    font-weight:700!important;
    line-height:1.2!important;
    text-align:center!important;
    text-decoration:none!important;
    white-space:normal!important;
    box-sizing:border-box!important;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .added_to_cart:before{
    content:'✓';
    margin-right:5px;
    font-weight:800;
  }
}

@media screen and (max-width:549px){
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .box-text{
    padding:11px 10px 10px!important;
  }
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .add-to-cart-button a,
  body:not(.woocommerce-cart):not(.woocommerce-checkout):not(.woocommerce-account):not(.woocommerce-order-received) .products .product-small .vm-mobile-card-actions>a{
    min-height:41px!important;
    font-size:12px!important;
  }
}
