/* Cart / checkout display improvements 09.11.2026. Presentation only. */
body.woocommerce-cart .pms-cart-recommendations-mount {margin-top:14px;margin-bottom:26px}
body.woocommerce-cart .pms-cart-recommendations{padding-top:16px}
body.woocommerce-cart .pms-cart-recommendations-intro{margin-bottom:10px}
body.woocommerce-cart .pms-cart-recommendations-intro h2{font-size:clamp(18px,2vw,22px)}
body.woocommerce-cart .pms-cart-recommendations-grid {grid-auto-columns:minmax(158px,188px)!important;gap:10px!important;padding-bottom:10px}
body.woocommerce-cart .pms-cart-rec-image{aspect-ratio:auto;height:110px;padding:8px 12px}
body.woocommerce-cart .pms-cart-rec-image img{height:94px!important;max-height:94px!important;object-fit:contain}
body.woocommerce-cart .pms-cart-rec-body{padding:9px 10px!important;gap:5px}
body.woocommerce-cart .pms-cart-rec-body h3{font-size:12px!important;line-height:1.35;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;line-clamp:3;overflow:hidden;min-height:3.95em}
body.woocommerce-cart .pms-cart-rec-price{font-size:14px;margin-top:auto}
body.woocommerce-cart .pms-cart-rec-cta{min-height:35px!important;padding:7px 8px!important;font-size:12px!important;margin-top:3px}
body.woocommerce-cart .pms-cart-rec-all{margin-top:8px}
body.woocommerce-cart .pms-cart-continue-shopping{padding:12px 16px;margin-top:12px;gap:12px}
body.woocommerce-cart .pms-cart-continue-shopping h2{font-size:15px}
body.woocommerce-cart .pms-cart-continue-shopping p{font-size:12px}
body.woocommerce-cart .pms-cart-continue-shopping>a{padding:9px 12px}
/* Floating CTA is shown only while the native Woo button is outside the viewport.
   It invokes the native checkout action instead of bypassing Woo validation. */
.pms-cart-floating-checkout[hidden]{display:none!important}
body.woocommerce-cart .pms-cart-floating-checkout{
 position:fixed;inset:auto 0 0;z-index:1000;display:flex;justify-content:center;
 background:rgba(248,245,238,.97);border-top:1px solid #D8E1D8;
 padding:10px max(18px,env(safe-area-inset-right,0px)) calc(10px + env(safe-area-inset-bottom,0px)) max(18px,env(safe-area-inset-left,0px));
 box-shadow:0 -8px 24px rgba(36,68,60,.11);backdrop-filter:blur(8px)
}
body.woocommerce-cart .pms-cart-floating-checkout-inner{width:min(100%,780px);display:flex;align-items:center;justify-content:space-between;gap:15px}
body.woocommerce-cart .pms-cart-floating-checkout-text{font-size:13px;color:#24443C;font-weight:700}
body.woocommerce-cart .pms-cart-floating-checkout-action{border:0;border-radius:7px;background:#C4622E;color:#fff;text-decoration:none;padding:11px 26px;min-height:45px;min-width:230px;text-align:center;font-size:15px;font-weight:750;cursor:pointer}
body.woocommerce-cart .pms-cart-floating-checkout-action:hover{background:#a75028}
body.woocommerce-cart .pms-cart-floating-checkout-action:focus-visible{outline:3px solid #24443C;outline-offset:3px}
body.woocommerce-cart.pms-cart-floating-checkout-active{padding-bottom:75px}
/* The optional chat launcher must remain separate from notices and checkout actions. */
body.woocommerce-cart .pms-st21-controls,body.woocommerce-cart > .pms-st21-launcher {bottom:calc(22px + var(--pms-chat-notice-lift,0px))}
body.woocommerce-checkout .pms-st21-controls,body.woocommerce-checkout > .pms-st21-launcher {bottom:calc(22px + var(--pms-chat-notice-lift,0px))}
body.woocommerce-cart.pms-cart-floating-checkout-active .pms-st21-controls,body.woocommerce-cart.pms-cart-floating-checkout-active > .pms-st21-launcher {bottom:calc(93px + var(--pms-chat-notice-lift,0px))}
@media(max-width:860px){
 body.woocommerce-cart .pms-cart-recommendations-grid{grid-auto-columns:minmax(138px,53vw)!important}
 body.woocommerce-cart .pms-cart-floating-checkout-inner{width:100%}
 body.woocommerce-cart .pms-cart-floating-checkout-text{display:none}
 body.woocommerce-cart .pms-cart-floating-checkout-action{width:100%;min-width:0}
 body.woocommerce-cart .pms-st21-controls,body.woocommerce-cart > .pms-st21-launcher {bottom:calc(20px + env(safe-area-inset-bottom,0px) + var(--pms-chat-notice-lift,0px))}
 body.woocommerce-checkout .pms-st21-controls,body.woocommerce-checkout > .pms-st21-launcher {bottom:calc(90px + env(safe-area-inset-bottom,0px) + var(--pms-chat-notice-lift,0px))}
 body.woocommerce-cart.pms-cart-floating-checkout-active .pms-st21-controls,body.woocommerce-cart.pms-cart-floating-checkout-active > .pms-st21-launcher {bottom:calc(91px + env(safe-area-inset-bottom,0px) + var(--pms-chat-notice-lift,0px))}
 body.woocommerce-cart.pms-cart-floating-checkout-active{padding-bottom:calc(77px + env(safe-area-inset-bottom,0px))}
 body.woocommerce-cart .pms-cart-continue-shopping{padding:11px 12px}
 body.woocommerce-cart .pms-cart-continue-shopping h2{font-size:14px}
 body.woocommerce-cart .pms-cart-continue-shopping p{font-size:11px}
 body.woocommerce-cart .pms-cart-continue-shopping>a{font-size:12px}
}
