.wfs-minicart-ready .ast-site-header-cart-data,
.wfs-minicart-ready #astra-mobile-cart-drawer,
.wfs-minicart-ready .astra-mobile-cart-overlay { display: none !important; }
#wfs-cart-panel[hidden], #wfs-cart-backdrop[hidden] { display: none !important; }
.wfs-cart-panel { position: fixed; z-index: 100100; width: min(410px, calc(100vw - 32px)); background: #fff; color: #17251b; border: 1px solid #e1e8df; border-radius: 14px; box-shadow: 0 14px 50px #14241330; overflow: auto; padding: 20px; font-size: 15px; line-height: 1.5; }
.wfs-cart-heading, .wfs-confirmation-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.wfs-cart-heading h2, .wfs-confirmation-heading h2 { margin: 0; font: 700 22px/1.3 Lato, sans-serif; color: #17251b; }
.wfs-cart-heading button, .wfs-confirmation-heading button { flex: 0 0 40px; width: 40px; height: 40px; padding: 0; border: 0; border-radius: 50%; background: #edf3e9; color: #244b1d; font: 28px/1 sans-serif; cursor: pointer; }
#wfs-cart-content ul { list-style: none; padding: 0; margin: 0; }
#wfs-cart-content li.woocommerce-mini-cart-item { position: relative; padding: 14px 30px 14px 76px; min-height: 94px; border-bottom: 1px solid #edf0ea; }
#wfs-cart-content li > a:not(.remove) { display: block; color: #17251b; font-weight: 600; text-decoration: none; }
#wfs-cart-content li img { position: absolute; left: 0; top: 14px; float: none; width: 64px; height: 64px; object-fit: contain; border-radius: 8px; margin: 0; transform: none; }
#wfs-cart-content .ast-product-image { display: contents; }
#wfs-cart-content .ast-product-name { font-size: 14px; line-height: 1.5; }
#wfs-cart-content .woocommerce-Price-amount { font-size: inherit !important; color: inherit; }
#wfs-cart-content a.remove { position: absolute; right: 0; top: 14px; width: 26px; height: 26px; border-radius: 50%; color: #5b6659 !important; background: #f1f4ef; text-align: center; text-decoration: none; font-size: 23px; line-height: 24px; }
#wfs-cart-content .quantity { display: block; margin-top: 5px; color: #53614f; font-size: 14px; }
#wfs-cart-content .quantity .woocommerce-Price-amount { display: inline !important; }
#wfs-cart-content dl.variation { font-size: 13px; margin: 4px 0 0; }
#wfs-cart-content .total { clear: both; display: flex; justify-content: space-between; gap: 12px; margin: 16px 0; padding-top: 8px; font-size: 17px; }
#wfs-cart-content .buttons, .wfs-confirm-actions { display: flex; gap: 10px; margin: 0; }
#wfs-cart-content .buttons a, .wfs-confirm-actions a, .wfs-confirm-actions button { flex: 1; display: inline-flex; justify-content: center; align-items: center; min-height: 44px; padding: 10px 14px; border: 1px solid #357f15; border-radius: 24px; background: #fff; color: #286510; font: 600 14px/1.3 Poppins, sans-serif; font-size: 14px !important; text-transform: none !important; text-align: center; text-decoration: none; cursor: pointer; }
#wfs-cart-content .buttons .checkout, .wfs-confirm-actions a { background: #357f15; color: #fff; }
.wfs-cart-help { font-size: 12px; color: #62705d; margin: 14px 0 0; text-align: center; }
#wfs-cart-backdrop { position: fixed; inset: 0; z-index: 100099; background: #14241366; }
.wfs-cart-open { overflow: hidden; }
.wfs-cart-confirmation { width: min(510px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 24px; border: 0; border-radius: 16px; color: #17251b; background: #fff; box-shadow: 0 18px 70px #0003; }
.wfs-cart-confirmation::backdrop { background: #14241366; }
.wfs-confirm-item { display: flex; gap: 18px; align-items: flex-start; margin: 8px 0 24px; }
.wfs-confirm-item img { width: 90px; height: 90px; object-fit: contain; border-radius: 10px; }
.wfs-confirm-item strong { font-size: 16px; line-height: 1.4; }
.wfs-confirm-item p { margin: 6px 0; color: #53614f; font-size: 14px; }
.wfs-confirm-item dl { font-size: 13px; margin: 5px 0; }
.wfs-confirm-price { font-weight: 600; color: #286510; }
.wfs-cart-panel :focus-visible, .wfs-cart-confirmation :focus-visible { outline: 3px solid #91b73b; outline-offset: 3px; }
@media (max-width: 921px), (hover: none), (pointer: coarse) {
    .wfs-cart-panel { top: 0 !important; right: 0 !important; bottom: 0; width: min(440px, 100vw); height: 100dvh; max-height: 100dvh !important; border-radius: 0; padding: 20px; padding-bottom: max(20px, env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow: hidden; }
    .wfs-cart-panel > .wfs-cart-heading, .wfs-cart-panel > .wfs-cart-help { flex: 0 0 auto; }
    #wfs-cart-content { display: flex; flex-direction: column; flex: 1 1 auto; min-height: 0; }
    #wfs-cart-content > ul.woocommerce-mini-cart { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; padding-bottom: 12px; }
    #wfs-cart-content > .total { flex: 0 0 auto; position: relative; z-index: 1; background: #fff; margin: 0; padding: 16px 0; border-top: 1px solid #e1e8df; box-shadow: 0 -8px 14px -12px #14241355; }
    #wfs-cart-content > .buttons { flex: 0 0 auto; position: relative; z-index: 1; background: #fff; }
    #wfs-cart-content > .woocommerce-mini-cart__empty-message { flex: 1 1 auto; }
}
