
/* PlantsCafe mobile-first compact cart rows and always-visible Buy Now — 2026-10-29 */
.pc-mobile-cart-checkout-bar{display:none!important}
@media (max-width:768px) {
  body.pc-mobile-cart-sticky-active{
    padding-bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;
  }
  body.pc-mobile-cart-sticky-active .pc-cart-floating{display:none!important}
  .pcwc-page-container .pcwc-heading{
    padding-top:14px!important;padding-bottom:2px!important;
    gap:3px!important;margin-bottom:2px!important;
  }
  .pcwc-page-container .pcwc-kicker .elementor-heading-title{font-size:9px!important}
  .pcwc-page-container .pcwc-page-title .elementor-heading-title{
    font-size:30px!important;line-height:1.14!important;
  }
  .pcwc-page-container .pcwc-subtitle p{
    font-size:11px!important;line-height:1.45!important;
  }
  .pcwc-classic-cart-shortcode .woocommerce{
    padding:9px 11px 12px!important;
    gap:0!important;
    border-radius:12px!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart tbody tr.cart_item{
    display:grid!important;
    grid-template-columns:64px minmax(0,1fr) 23px!important;
    grid-template-rows:auto auto auto!important;
    grid-template-areas:
      "photo name remove"
      "photo subtotal subtotal"
      "qty qty qty"!important;
    align-items:start!important;
    column-gap:9px!important;row-gap:1px!important;
    width:100%!important;min-width:0!important;
    margin:0!important;padding:10px 0!important;
    background:transparent!important;border:0!important;
    border-bottom:1px solid #e3ebdf!important;
    border-radius:0!important;box-shadow:none!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart tr.cart_item td{
    min-width:0!important;max-width:100%!important;
    padding:0!important;
    border:0!important;background:transparent!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart td.product-thumbnail{
    display:block!important;grid-area:photo!important;
    width:64px!important;min-width:0!important;
    padding:0!important;margin:0!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart td.product-thumbnail img{
    display:block!important;
    width:62px!important;max-width:62px!important;
    height:65px!important;min-height:0!important;
    object-fit:cover!important;border-radius:7px!important;
    margin:0!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart td.product-name{
    grid-area:name!important;
    display:block!important;
    width:100%!important;min-width:0!important;
    padding:0!important;text-align:left!important;
    overflow-wrap:anywhere!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart td.product-name a{
    display:-webkit-box!important;
    -webkit-box-orient:vertical!important;
    -webkit-line-clamp:3!important;
    overflow:hidden!important;
    font:600 11px/1.35 Poppins,"Noto Sans Bengali",sans-serif!important;
    color:#214832!important;
    overflow-wrap:anywhere!important;
    word-break:normal!important;
    text-decoration:none!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart td.product-remove{
    grid-area:remove!important;justify-content:center!important;
    width:23px!important;min-width:0!important;
    padding:0!important;margin:0!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart td.product-remove a.remove{
    display:inline-flex!important;justify-content:center!important;
    align-items:center!important;
    width:23px!important;height:23px!important;
    padding:0!important;margin:0!important;
    font-size:16px!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart td.product-price{
    display:none!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart td.product-subtotal{
    grid-area:subtotal!important;
    display:flex!important;justify-content:flex-start!important;align-items:center!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    padding:1px 0 0!important;
    border:0!important;margin:0!important;
    font:700 13px/1.3 Poppins,"Noto Sans Bengali",sans-serif!important;
    color:#2e8b57!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart td.product-subtotal:before,
  .pcwc-classic-cart-shortcode table.shop_table.cart td.product-subtotal::before{
    display:none!important;content:none!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart td.product-subtotal .amount,
  .pcwc-classic-cart-shortcode table.shop_table.cart td.product-subtotal bdi{
    color:#2e8b57!important;
    font:700 13px/1.3 Poppins,"Noto Sans Bengali",sans-serif!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart td.product-quantity{
    grid-area:qty!important;
    display:flex!important;justify-content:flex-end!important;align-items:center!important;
    gap:8px!important;
    width:100%!important;min-width:0!important;max-width:100%!important;
    margin:2px 0 0!important;padding:0!important;border:0!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart td.product-quantity:before,
  .pcwc-classic-cart-shortcode table.shop_table.cart td.product-quantity::before{
    display:block!important;content:"Qty"!important;
    position:static!important;float:none!important;
    font:500 10px/1.3 Poppins,sans-serif!important;color:#607766!important;
  }
  .pcwc-classic-cart-shortcode .woocommerce .quantity{
    height:34px!important;min-height:34px!important;
    width:max-content!important;max-width:115px!important;
    border-radius:20px!important;margin:0!important;
  }
  .pcwc-classic-cart-shortcode .quantity .product-qty,
  .pcwc-classic-cart-shortcode .quantity .pc-cart-qty-fallback{
    height:32px!important;min-height:32px!important;
    flex:0 0 32px!important;min-width:32px!important;width:32px!important;
    padding:0!important;
  }
  .pcwc-classic-cart-shortcode .woocommerce .quantity input.qty{
    width:36px!important;min-width:34px!important;max-width:36px!important;
    height:32px!important;min-height:32px!important;
    font-size:12px!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart tr:not(.cart_item) td.actions{
    margin:0!important;padding:6px 0 0!important;
    border:0!important;box-shadow:none!important;
    background:transparent!important;
  }
  .pcwc-classic-cart-shortcode table.shop_table.cart tr:not(.cart_item) td.actions .coupon{
    gap:6px!important;
  }
  .pcwc-classic-cart-shortcode .cart-collaterals{
    border-top:1px solid #dfe9dc!important;
    margin:8px 0 0!important;padding:11px 0 0!important;
  }
  .pcwc-classic-cart-shortcode .cart_totals h2{
    font-size:20px!important;margin-bottom:6px!important;
  }
  .pcwc-classic-cart-shortcode .cart_totals .shop_table tbody tr>*{
    padding:8px 3px!important;font-size:12px!important;
  }
  .pcwc-classic-cart-shortcode .wc-proceed-to-checkout{
    padding:12px 0 0!important;
  }
  .pcwc-classic-cart-shortcode .wc-proceed-to-checkout .checkout-button{
    min-height:43px!important;font-size:13px!important;
  }
  .pc-mobile-cart-checkout-bar{
    display:flex!important;
    position:fixed!important;left:0!important;right:0!important;bottom:0!important;
    z-index:99999!important;
    width:100%!important;max-width:100%!important;
    min-height:68px!important;
    padding:8px 13px calc(8px + env(safe-area-inset-bottom,0px))!important;
    box-sizing:border-box!important;
    align-items:center!important;justify-content:space-between!important;gap:14px!important;
    background:rgba(255,255,255,.98)!important;
    border-top:1px solid #dce9dd!important;
    box-shadow:0 -6px 23px rgba(21,67,39,.11)!important;
    -webkit-backdrop-filter:blur(12px)!important;
    backdrop-filter:blur(12px)!important;
  }
  .pc-mobile-cart-checkout-bar .pc-mobile-cart-total{
    min-width:0!important;flex:1 1 auto!important;
    display:flex!important;flex-direction:column!important;gap:2px!important;
  }
  .pc-mobile-cart-checkout-bar .pc-mobile-cart-total-label{
    color:#667a6e!important;
    font:500 10px/1.3 Poppins,"Noto Sans Bengali",sans-serif!important;
  }
  .pc-mobile-cart-checkout-bar .pc-mobile-cart-total-value{
    color:#1e4e32!important;
    white-space:nowrap!important;
    font:700 18px/1.2 Poppins,"Noto Sans Bengali",sans-serif!important;
  }
  .pc-mobile-cart-checkout-bar .pc-mobile-cart-cta{
    flex:0 0 auto!important;
    display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
    min-height:45px!important;min-width:146px!important;
    padding:10px 18px!important;margin:0!important;
    border:1px solid #d4af37!important;border-radius:10px!important;
    background:#245b42!important;color:#fff!important;
    text-decoration:none!important;
    font:700 14px/1.3 Poppins,"Noto Sans Bengali",sans-serif!important;
    box-shadow:0 5px 12px rgba(31,89,49,.13)!important;
    touch-action:manipulation!important;
  }
  .pc-mobile-cart-checkout-bar .pc-mobile-cart-cta:hover,
  .pc-mobile-cart-checkout-bar .pc-mobile-cart-cta:focus-visible{
    color:#fff!important;background:#2e8b57!important;
  }
  .pc-mobile-cart-checkout-bar .pc-mobile-cart-cta svg{
    width:16px!important;height:16px!important;fill:none!important;
    stroke:currentColor!important;stroke-width:2!important;
  }
  /* The existing floating WhatsApp button should not obscure mobile checkout. */
  body.pc-mobile-cart-sticky-active a[href*="wa.me/"],
  body.pc-mobile-cart-sticky-active a[href*="api.whatsapp.com"]{
    /* Do not change normal footer/social links. */
  }
}
@media (max-width:365px) {
  .pc-mobile-cart-checkout-bar .pc-mobile-cart-cta{min-width:126px!important;padding:10px 13px!important}
  .pc-mobile-cart-checkout-bar .pc-mobile-cart-total-value{font-size:16px!important}
}

/* Keep Chaty WhatsApp floating launcher above the mobile checkout dock. */
@media(max-width:768px){
 body.pc-mobile-cart-sticky-active .chaty-widget,
 body.pc-mobile-cart-sticky-active .chaty-widget-container,
 body.pc-mobile-cart-sticky-active [class*="chaty-widget"][style*="bottom"],
 body.pc-mobile-cart-sticky-active [id^="chaty-widget-"]{
   bottom:calc(88px + env(safe-area-inset-bottom,0px))!important;
 }
}
