/* Preserve names and variant data, with no clipping or one-line truncation. */
[data-wpfcu-drawer] .wpfcu-item-main,
[data-wpfcu-page] .wpfcu-item-main,
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name{min-width:0;overflow:visible;white-space:normal;overflow-wrap:anywhere;word-break:normal;text-overflow:clip}
[data-wpfcu-drawer] .wpfcu-item-main a,
[data-wpfcu-drawer] .wpfcu-item-main .variation,
[data-wpfcu-page] .wpfcu-item-main a,
[data-wpfcu-page] .wpfcu-item-main .variation,
.woocommerce-checkout .woocommerce-checkout-review-order-table .product-name .variation{max-width:100%;overflow:visible;white-space:normal;overflow-wrap:anywhere;text-overflow:clip;-webkit-line-clamp:unset}
/* Only the dedicated quick-view link is hidden on hover-capable devices.
   The separate cart-preview and mobile-add links remain available. */
@media (hover:hover) and (pointer:fine){
 .wgm-native-card .wgm-native-card__actions > a.quick-view:not(.wgm-native-card__cart-preview){opacity:0!important;visibility:hidden!important;pointer-events:none!important}
 .wgm-native-card:hover .wgm-native-card__actions > a.quick-view:not(.wgm-native-card__cart-preview),
 .wgm-native-card:focus-within .wgm-native-card__actions > a.quick-view:not(.wgm-native-card__cart-preview){opacity:1!important;visibility:visible!important;pointer-events:auto!important}
}
.wgm-native-card:focus-within .wgm-native-card__actions{opacity:1!important;visibility:visible!important;transform:none!important}
.wgm-native-card a:focus-visible,.wgm-native-card button:focus-visible{outline:2px solid #111;outline-offset:3px}
/* Let the existing WooCommerce/Flatsome calculated badge fit its content. */
.wgm-native-card .badge-container .badge-inner{min-width:0;width:auto;min-height:0;height:auto;line-height:1.2;white-space:normal;padding:6px 9px}
@media(max-width:380px){
 [data-wpfcu-drawer] [data-wpfcu-item]{grid-template-columns:64px minmax(0,1fr) 32px;gap:8px}
 [data-wpfcu-drawer] .wpfcu-item-image{width:64px}
 [data-wpfcu-drawer] .wpfcu-item-image img{height:auto;min-height:72px}
 [data-wpfcu-drawer] .wpfcu-item-total{grid-column:2;grid-row:2;text-align:left}
 [data-wpfcu-drawer] [data-wpfcu-remove]{grid-column:3;grid-row:1;position:static;align-self:start}
}
