/* Existing Cart Block: native Store API, totals and controls remain authoritative. */
.woocommerce-cart.bentv-commerce #content .wp-block-woocommerce-cart{font-size:1rem;line-height:1.65}
.woocommerce-cart.bentv-commerce #content .wc-block-cart__main{min-width:0}
.woocommerce-cart.bentv-commerce #content .wc-block-cart__sidebar{background:var(--bentv-surface);border:1px solid var(--bentv-border);border-radius:var(--bentv-radius-card);padding:1.5rem}
.woocommerce-cart.bentv-commerce #content .wc-block-cart__totals-title{font-size:1.15rem;line-height:1.5;text-transform:none;color:var(--bentv-brand-blue-dark);padding:0 0 1rem}
.woocommerce-cart.bentv-commerce #content .wc-block-cart-items{border:1px solid var(--bentv-border);border-radius:var(--bentv-radius-card);border-spacing:0;overflow-wrap:anywhere}
.woocommerce-cart.bentv-commerce #content .wc-block-cart-items__header th{background:var(--bentv-surface);padding:1rem;font-size:.8rem;letter-spacing:.03em;color:var(--bentv-text-muted)}
.woocommerce-cart.bentv-commerce #content .wc-block-cart-items__row td{padding:1.25rem 1rem;border-color:var(--bentv-border)}
.woocommerce-cart.bentv-commerce #content .wc-block-cart-item__image img{border-radius:var(--bentv-radius);object-fit:contain;background:#fff}
.woocommerce-cart.bentv-commerce #content .wc-block-components-product-name{font-size:1.05rem;font-weight:700;line-height:1.5;color:var(--bentv-text);text-decoration:none}
.woocommerce-cart.bentv-commerce #content .wc-block-components-product-name:hover{color:var(--bentv-brand-blue)}
.woocommerce-cart.bentv-commerce #content .wc-block-components-product-metadata{color:var(--bentv-text-muted);font-size:.875rem}
.woocommerce-cart.bentv-commerce #content .wc-block-components-product-price{color:var(--bentv-action-red);font-weight:700}
.woocommerce-cart.bentv-commerce #content .wc-block-components-quantity-selector{min-height:44px;min-width:132px;max-width:156px;border-radius:var(--bentv-radius);background:#fff}
.woocommerce-cart.bentv-commerce #content .wc-block-components-quantity-selector :is(button,input){min-width:44px;min-height:44px;width:44px;padding:.3rem;line-height:1.2;background:transparent;color:var(--bentv-text);border:0;border-radius:0;font-size:1rem}
.woocommerce-cart.bentv-commerce #content .wc-block-components-quantity-selector button:hover{background:var(--bentv-brand-blue-soft)}
.woocommerce-cart.bentv-commerce #content .wc-block-cart-item__remove-link{min-width:44px;min-height:44px;padding:.5rem;color:var(--bentv-error);background:transparent;border-radius:var(--bentv-radius)}
.woocommerce-cart.bentv-commerce #content .wc-block-cart-item__remove-link:hover{background:#fff1f2}
.woocommerce-cart.bentv-commerce #content .wc-block-components-panel__button{min-height:44px;line-height:1.6;padding-block:.65rem;color:var(--bentv-brand-blue-dark)}
.woocommerce-cart.bentv-commerce #content .wc-block-components-totals-item{padding-block:.6rem;gap:.75rem}
.woocommerce-cart.bentv-commerce #content .wc-block-components-totals-item__label{overflow-wrap:anywhere}
.woocommerce-cart.bentv-commerce #content .wc-block-components-totals-item__value{flex-shrink:0}
.woocommerce-cart.bentv-commerce #content .wc-block-cart__submit-button{min-height:50px;border-radius:var(--bentv-radius);background:var(--bentv-action-red);color:#fff;font-weight:700;text-decoration:none}
.woocommerce-cart.bentv-commerce #content .wc-block-cart__submit-button:hover{background:var(--bentv-action-red-hover)}
.woocommerce-cart.bentv-commerce #content .wc-block-components-notice-banner{border-radius:var(--bentv-radius);overflow-wrap:anywhere}
.woocommerce-cart.bentv-commerce #content .wc-block-cart__empty-cart__title{font-size:clamp(1.3rem,2vw,1.7rem);padding-top:2rem}
.woocommerce-cart.bentv-commerce #content .wc-block-grid__products .wc-block-grid__product{border:1px solid var(--bentv-border);border-radius:var(--bentv-radius);padding:1rem}
@media(max-width:782px){.woocommerce-cart.bentv-commerce #content .wc-block-cart__sidebar{padding:1.25rem}.woocommerce-cart.bentv-commerce #content .wc-block-cart-items__row td{padding:1rem .65rem}.woocommerce-cart.bentv-commerce #content .wc-block-cart-item__image{width:72px}.woocommerce-cart.bentv-commerce #content .wc-block-cart-item__total{font-size:.9rem}.woocommerce-cart.bentv-commerce #content .wc-block-cart__submit-container--sticky{position:static;box-shadow:none;padding:0}.woocommerce-cart.bentv-commerce #content .wc-block-components-product-name{font-size:1rem}}
/* Keep the native mobile row inside its container, including the visible subtotal. */
.woocommerce-cart.bentv-commerce #content .wc-block-cart:not(.is-large) .wc-block-cart-items,
.woocommerce-cart.bentv-commerce #content .wc-block-cart:not(.is-large) .wc-block-cart-items tbody{display:block;width:100%}
.woocommerce-cart.bentv-commerce #content .wc-block-cart:not(.is-large) .wc-block-cart-items__row{display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:12px;width:100%;padding:.75rem}
.woocommerce-cart.bentv-commerce #content .wc-block-cart:not(.is-large) .wc-block-cart-items__row td{min-width:0;padding:.4rem 0;width:auto}
.woocommerce-cart.bentv-commerce #content .wc-block-cart:not(.is-large) .wc-block-cart-item__image{grid-column:1;grid-row:1/span 2}
.woocommerce-cart.bentv-commerce #content .wc-block-cart:not(.is-large) .wc-block-cart-item__product{grid-column:2;grid-row:1}
.woocommerce-cart.bentv-commerce #content .wc-block-cart:not(.is-large) .wc-block-cart-item__total{grid-column:2;grid-row:2;justify-content:flex-start}
.woocommerce-cart.bentv-commerce #content .wc-block-cart:not(.is-large) .wc-block-cart__main{margin-bottom:1.5rem}

/* Server-rendered native product cards after the saved Cart Block content. */
.cart-recommendations { clear: both; margin-top: 32px; }
.cart-recommendations > h2 { font-size: 1.5rem; margin-bottom: 8px; }
.cart-recommendations > p { color: var(--bentv-text-muted); }
.bentv-catalogue #content .cart-recommendations ul.products { grid-template-columns: repeat(4,minmax(0,1fr)); }
@media(max-width:1023px) { .bentv-catalogue #content .cart-recommendations ul.products { grid-template-columns: repeat(2,minmax(0,1fr)); } }
/* Cart Block can become empty without navigation; hide stale server suggestions. */
body:has(.wp-block-woocommerce-empty-cart-block) .cart-recommendations { display: none; }
