/* v3.0.406 - Shop Mobile/Tablet Cart Quantity / Woo Session Bridge. Frontend only. */
.woocommerce ul.products li.product,
.product,
.wc-block-grid__product,
.spviet-product-card,
.spviet-menu-product-card,
.spviet-food-card{
  position:relative;
}
.woocommerce ul.products li.product .price,
.product .price,
.wc-block-grid__product .wc-block-grid__product-price,
.spviet-product-card .price,
.spviet-menu-product-card .price,
.spviet-food-card .price,
.spviet-product-price,
.spviet-menu-price{
  display:block!important;
  position:relative!important;
  z-index:3!important;
  margin:10px 0 16px!important;
  padding-right:8px!important;
  padding-bottom:10px!important;
  line-height:1.35!important;
  white-space:normal!important;
}
.spviet-card-qty-badge-v30406{
  position:absolute!important;
  top:50%!important;
  left:50%!important;
  transform:translate(-50%,-50%)!important;
  width:92px!important;
  height:92px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.78)!important;
  border:7px solid rgba(255,255,255,.92)!important;
  box-shadow:0 16px 42px rgba(185,28,28,.22), inset 0 0 0 2px rgba(239,68,68,.18)!important;
  color:#ef1f2a!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  font-weight:900!important;
  font-size:56px!important;
  line-height:1!important;
  z-index:16!important;
  pointer-events:none!important;
  font-family:Arial,"Noto Sans",sans-serif!important;
}
.spviet-add-cart-working-v30406{opacity:.78;pointer-events:none;filter:saturate(.85)}
.spviet-add-cart-done-v30406::after{content:' ✓';font-weight:900;margin-left:6px}
.spviet-cart-rescue-v30406{padding:18px 20px 110px;background:#fff;color:#0f172a;font-family:Arial,"Noto Sans",sans-serif}
.spviet-cart-rescue-v30406 h3{margin:0 0 12px;font-size:22px;color:#8b1224}
.spviet-cart-rescue-v30406 ul{list-style:none;margin:0;padding:0;display:grid;gap:10px}.spviet-cart-rescue-v30406 li{display:flex;justify-content:space-between;gap:12px;border:1px solid #f1d5d9;border-radius:16px;padding:12px;background:#fffaf7}.spviet-cart-rescue-v30406 b{font-size:15px}.spviet-cart-rescue-v30406 small{display:block;color:#64748b}.spviet-cart-rescue-v30406 .spviet-cart-rescue-total{margin:14px 0;font-weight:900;color:#8b1224}.spviet-cart-rescue-v30406 .spviet-cart-rescue-actions{display:flex;gap:10px;flex-wrap:wrap}.spviet-cart-rescue-v30406 a{display:inline-flex;align-items:center;justify-content:center;min-height:44px;border-radius:999px;padding:0 18px;text-decoration:none;font-weight:800}.spviet-cart-rescue-v30406 a:first-child{background:#b90922;color:#fff}.spviet-cart-rescue-v30406 a:last-child{border:1px solid #f1c8ce;color:#8b1224;background:#fff}
@media(max-width:1024px){
  .woocommerce ul.products li.product .button,
  .woocommerce a.button.add_to_cart_button,
  .wc-block-grid__product-add-to-cart .wp-block-button__link,
  .spviet-product-card .button,
  .spviet-menu-product-card .button,
  .spviet-food-card .button,
  .spviet-order-button,
  [data-product_id].add_to_cart_button{
    position:relative!important;
    z-index:5!important;
    max-width:calc(100% - 18px)!important;
    white-space:nowrap!important;
  }
  .woocommerce ul.products li.product,
  .wc-block-grid__product,
  .spviet-product-card,
  .spviet-menu-product-card,
  .spviet-food-card{
    padding-bottom:18px!important;
    overflow:visible!important;
  }
}
@media(max-width:640px){
  .spviet-card-qty-badge-v30406{width:76px!important;height:76px!important;font-size:46px!important;border-width:6px!important}
  .woocommerce ul.products li.product .price,
  .product .price,
  .wc-block-grid__product .wc-block-grid__product-price,
  .spviet-product-price,
  .spviet-menu-price{font-size:clamp(16px,4.6vw,22px)!important;padding-bottom:14px!important;margin-bottom:18px!important}
}
