/* Layout and typography for the existing WP Factory cart; commerce is owned by the plugin. */
[data-wpfcu-drawer] { --wpfcu-primary:#111; font-family:Arial,Helvetica,sans-serif; }
[data-wpfcu-drawer] .wpfcu-header { border-bottom:1px solid #dedede; }
[data-wpfcu-drawer] .wpfcu-heading { letter-spacing:0; text-transform:none; }
[data-wpfcu-drawer] .wpfcu-items { scrollbar-gutter:stable; padding-inline:16px; }
[data-wpfcu-drawer] [data-wpfcu-item] { grid-template-columns:minmax(60px,88px) minmax(0,1fr); grid-template-rows:auto auto auto; gap:6px 14px; align-items:start; }
[data-wpfcu-drawer] .wpfcu-item-image { grid-column:1; grid-row:1 / span 3; width:100%; }
[data-wpfcu-drawer] .wpfcu-item-image img { width:100%; height:auto; aspect-ratio:1 / 1; object-fit:contain; }
[data-wpfcu-drawer] .wpfcu-item-main { grid-column:2; grid-row:1; min-width:0; }
[data-wpfcu-drawer] .wpfcu-item-name, [data-wpfcu-drawer] .wpfcu-item-name a, [data-wpfcu-drawer] .variation, [data-wpfcu-drawer] .wpfcu-item-price, [data-wpfcu-drawer] .wpfcu-item-total { white-space:normal; overflow:visible; text-overflow:clip; overflow-wrap:anywhere; word-break:normal; }
[data-wpfcu-drawer] .wpfcu-item-main a { font-weight:600; }
[data-wpfcu-drawer] .wpfcu-item-main dl.variation dt, [data-wpfcu-drawer] .wpfcu-item-main dl.variation dd { float:none; overflow-wrap:anywhere; }
[data-wpfcu-drawer] .wpfcu-item-total { grid-column:2; grid-row:2; min-width:0; text-align:left; }
[data-wpfcu-drawer] [data-wpfcu-remove] { grid-column:2; grid-row:3; position:static; justify-self:start; margin:2px 0 0; }
[data-wpfcu-drawer] .wpfcu-quantity { max-width:100%; }
[data-wpfcu-drawer] .wpfcu-drawer-footer { max-height:50dvh; overflow-y:auto; overflow-x:hidden; scrollbar-gutter:stable; }
[data-wpfcu-drawer] .wpfcu-estimated { flex-wrap:wrap; min-width:0; }
[data-wpfcu-drawer] .wpfcu-estimated > *, [data-wpfcu-drawer] .wpfcu-breakdown dt, [data-wpfcu-drawer] .wpfcu-breakdown dd { min-width:0; white-space:normal; overflow-wrap:anywhere; }
[data-wpfcu-drawer] .wpfcu-actions a { white-space:normal; overflow-wrap:anywhere; }
[data-wpfcu-page] .product-name, [data-wpfcu-page] .product-price, [data-wpfcu-page] .product-subtotal, [data-wpfcu-page] .variation, [data-wpfcu-page] .wpfcu-summary th, [data-wpfcu-page] .wpfcu-summary td { min-width:0; white-space:normal; overflow-wrap:anywhere; }
[data-wpfcu-page] .woocommerce-cart-form { min-width:0; }
@media(max-width:380px) {
 [data-wpfcu-drawer] .wpfcu-items { padding-inline:12px; }
 [data-wpfcu-drawer] [data-wpfcu-item] { grid-template-columns:minmax(52px,68px) minmax(0,1fr); gap:6px 10px; }
 [data-wpfcu-drawer] .wpfcu-drawer-footer { padding-inline:14px; }
}
