/* MKT Cart 1.2.7 */
body.woocommerce-cart{overflow-x:hidden!important}
body.woocommerce-cart .woocommerce,body.woocommerce-cart .woocommerce *{box-sizing:border-box!important}
body.woocommerce-cart .woocommerce-cart-form,body.woocommerce-cart .cart-collaterals{width:100%!important;max-width:100%!important}
body.woocommerce-cart .woocommerce-cart-form table.shop_table{width:100%!important;margin:0!important;border:1px solid var(--mkt-cart-border)!important;border-radius:var(--mkt-cart-table-radius)!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden!important;background:var(--mkt-cart-table-bg)!important}
body.woocommerce-cart .woocommerce-cart-form table.shop_table thead th{background:var(--mkt-cart-table-header-bg)!important;color:var(--mkt-cart-table-header-text)!important;border-color:var(--mkt-cart-divider)!important}
body.woocommerce-cart .woocommerce-cart-form tbody tr.cart_item:nth-child(odd),body.woocommerce-cart .woocommerce-cart-form tbody tr.cart_item:nth-child(odd) td{background:var(--mkt-cart-row-odd-bg)!important}
body.woocommerce-cart .woocommerce-cart-form tbody tr.cart_item:nth-child(even),body.woocommerce-cart .woocommerce-cart-form tbody tr.cart_item:nth-child(even) td{background:var(--mkt-cart-row-even-bg)!important}
body.woocommerce-cart .woocommerce-cart-form tbody tr.cart_item td{border-color:var(--mkt-cart-divider)!important}
body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img{width:var(--mkt-cart-thumb-desktop)!important;height:var(--mkt-cart-thumb-desktop)!important;object-fit:cover!important;border:1px solid var(--mkt-cart-divider)!important;border-radius:10px!important}
body.woocommerce-cart .woocommerce-cart-form td.product-name a{color:var(--mkt-cart-text)!important;font-size:var(--mkt-cart-d-name-size)!important;font-weight:var(--mkt-cart-d-name-weight)!important;text-decoration:none!important}
body.woocommerce-cart .woocommerce-cart-form td.product-name a:hover{color:var(--mkt-cart-text)!important}
body.woocommerce-cart .woocommerce-cart-form td.product-price{font-size:var(--mkt-cart-d-price-size)!important;color:var(--mkt-cart-text)!important}
body.woocommerce-cart .woocommerce-cart-form td.product-subtotal,body.woocommerce-cart .woocommerce-cart-form td.product-subtotal *{color:var(--mkt-cart-price)!important}
body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove{display:flex!important;align-items:center!important;justify-content:center!important;width:36px!important;height:36px!important;min-width:36px!important;margin:auto!important;border:1px solid var(--mkt-cart-remove-x-color)!important;border-radius:50%!important;background:var(--mkt-cart-remove-x-bg)!important;color:var(--mkt-cart-remove-x-color)!important;font-size:22px!important;line-height:1!important;text-decoration:none!important}
body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove:hover{background:var(--mkt-cart-remove-x-hover-bg)!important;color:var(--mkt-cart-remove-x-hover-color)!important;border-color:var(--mkt-cart-remove-x-hover-bg)!important}
body.woocommerce-cart .woocommerce-cart-form .quantity{display:inline-flex!important;align-items:stretch!important;gap:0!important;border:1px solid var(--mkt-cart-qty-border)!important;border-radius:8px!important;overflow:hidden!important;background:var(--mkt-cart-qty-input-bg)!important}
body.woocommerce-cart .woocommerce-cart-form .quantity .qty-minus,body.woocommerce-cart .woocommerce-cart-form .quantity .qty-plus{display:inline-flex!important;align-items:center!important;justify-content:center!important;border:0!important;border-radius:0!important;background:var(--mkt-cart-qty-button-bg)!important;color:var(--mkt-cart-qty-button-text)!important;box-shadow:none!important}
body.woocommerce-cart .woocommerce-cart-form .quantity .qty-minus{border-right:1px solid var(--mkt-cart-qty-border)!important}
body.woocommerce-cart .woocommerce-cart-form .quantity .qty-plus{border-left:1px solid var(--mkt-cart-qty-border)!important}
body.woocommerce-cart .woocommerce-cart-form .quantity .qty-minus:hover,body.woocommerce-cart .woocommerce-cart-form .quantity .qty-plus:hover{background:var(--mkt-cart-qty-button-hover-bg)!important;color:var(--mkt-cart-qty-button-hover-text)!important}
body.woocommerce-cart .woocommerce-cart-form .quantity input.qty{border:0!important;border-radius:0!important;background:var(--mkt-cart-qty-input-bg)!important;color:var(--mkt-cart-qty-input-text)!important;text-align:center!important;box-shadow:none!important;-moz-appearance:textfield!important;appearance:textfield!important}
body.woocommerce-cart .woocommerce-cart-form .quantity input.qty::-webkit-inner-spin-button,body.woocommerce-cart .woocommerce-cart-form .quantity input.qty::-webkit-outer-spin-button{-webkit-appearance:none!important;appearance:none!important}
body.woocommerce-cart .woocommerce-cart-form td.actions{background:var(--mkt-cart-table-bg)!important;border-color:var(--mkt-cart-divider)!important}
body.woocommerce-cart .woocommerce-cart-form td.actions .coupon .input-text{border:1px solid var(--mkt-cart-coupon-border)!important;background:#fff!important;box-shadow:none!important}
body.woocommerce-cart .woocommerce-cart-form td.actions .coupon .button{background:var(--mkt-cart-coupon-bg)!important;color:var(--mkt-cart-coupon-text)!important;border-color:var(--mkt-cart-coupon-bg)!important}
body.woocommerce-cart .woocommerce-cart-form td.actions .coupon .button:hover{background:var(--mkt-cart-coupon-hover-bg)!important;color:var(--mkt-cart-coupon-hover-text)!important;border-color:var(--mkt-cart-coupon-hover-bg)!important}
body.woocommerce-cart .woocommerce-cart-form td.actions button[name="update_cart"]{background:var(--mkt-cart-update-bg)!important;color:var(--mkt-cart-update-text)!important;border-color:var(--mkt-cart-update-bg)!important}
body.woocommerce-cart .woocommerce-cart-form td.actions button[name="update_cart"]:hover{background:var(--mkt-cart-update-hover-bg)!important;color:var(--mkt-cart-update-hover-text)!important;border-color:var(--mkt-cart-update-hover-bg)!important}
body.woocommerce-cart .cart-collaterals .cart_totals{width:100%!important;max-width:620px!important;padding:20px 18px 18px!important;border:1px solid var(--mkt-cart-totals-border)!important;border-radius:12px!important;background:#fff!important}
body.woocommerce-cart .cart_totals h2{font-size:var(--mkt-cart-summary-title-size)!important;font-weight:var(--mkt-cart-summary-title-weight)!important;color:var(--mkt-cart-text)!important}
body.woocommerce-cart .cart_totals table.shop_table{width:100%!important;border:1px solid var(--mkt-cart-totals-border)!important;border-radius:8px!important;border-collapse:separate!important;border-spacing:0!important;overflow:hidden!important}
body.woocommerce-cart .cart_totals table.shop_table th,body.woocommerce-cart .cart_totals table.shop_table td{border-color:var(--mkt-cart-totals-border)!important}
body.woocommerce-cart .cart_totals tr.cart-subtotal th,body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals th,body.woocommerce-cart .cart_totals tr.shipping th{font-size:var(--mkt-cart-summary-label-size)!important;font-weight:var(--mkt-cart-summary-label-weight)!important}
body.woocommerce-cart .cart_totals tr.cart-subtotal th,body.woocommerce-cart .cart_totals tr.cart-subtotal td{background:var(--mkt-cart-subtotal-bg)!important}
body.woocommerce-cart .cart_totals tr.cart-subtotal td,body.woocommerce-cart .cart_totals tr.cart-subtotal td *{font-size:var(--mkt-cart-subtotal-value-size)!important;font-weight:var(--mkt-cart-subtotal-value-weight)!important;color:var(--mkt-cart-price)!important}
body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td,body.woocommerce-cart .cart_totals tr.shipping td{font-size:var(--mkt-cart-shipping-text-size)!important}
body.woocommerce-cart .cart_totals .shipping-calculator-button{color:var(--mkt-cart-shipping-link)!important}
body.woocommerce-cart .cart_totals .shipping-calculator-button:hover{color:var(--mkt-cart-shipping-link-hover)!important}
body.woocommerce-cart .cart_totals tr.order-total{background:var(--mkt-cart-total-bg)!important}
body.woocommerce-cart .cart_totals tr.order-total th{font-size:var(--mkt-cart-total-label-size)!important;font-weight:var(--mkt-cart-total-label-weight)!important;background:transparent!important}
body.woocommerce-cart .cart_totals tr.order-total td,body.woocommerce-cart .cart_totals tr.order-total td *,body.woocommerce-cart .cart_totals tr.order-total strong,body.woocommerce-cart .cart_totals tr.order-total .woocommerce-Price-amount{font-size:var(--mkt-cart-total-value-size)!important;font-weight:var(--mkt-cart-total-value-weight)!important;color:var(--mkt-cart-price)!important;background:transparent!important}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{background:var(--mkt-cart-checkout-bg)!important;color:var(--mkt-cart-checkout-text)!important;border-color:var(--mkt-cart-checkout-bg)!important}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover{background:var(--mkt-cart-checkout-hover-bg)!important;color:var(--mkt-cart-checkout-hover-text)!important;border-color:var(--mkt-cart-checkout-hover-bg)!important}
@media(min-width:1025px){
 body.woocommerce-cart .woocommerce-cart-form table.shop_table thead{display:table-header-group!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-quantity::before{display:none!important;content:none!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove::before,body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove::after{display:none!important;content:none!important}
 body.woocommerce-cart .woocommerce-cart-form .quantity .qty-minus,body.woocommerce-cart .woocommerce-cart-form .quantity .qty-plus{width:var(--mkt-cart-d-qty-button-width)!important;min-width:var(--mkt-cart-d-qty-button-width)!important;height:var(--mkt-cart-d-qty-height)!important;min-height:var(--mkt-cart-d-qty-height)!important}
 body.woocommerce-cart .woocommerce-cart-form .quantity input.qty{width:var(--mkt-cart-d-qty-input-width)!important;min-width:var(--mkt-cart-d-qty-input-width)!important;height:var(--mkt-cart-d-qty-height)!important;font-size:var(--mkt-cart-d-qty-font-size)!important}
 body.woocommerce-cart .woocommerce-cart-form td.actions .coupon{display:flex!important;align-items:center!important;gap:10px!important;float:left!important}
 body.woocommerce-cart .woocommerce-cart-form td.actions .coupon .input-text{width:210px!important;height:46px!important;margin:0!important}
 body.woocommerce-cart .woocommerce-cart-form td.actions .coupon .button,body.woocommerce-cart .woocommerce-cart-form td.actions button[name="update_cart"]{height:46px!important}
}
@media(max-width:1024px){
 body.woocommerce-cart .woocommerce-cart-form table.shop_table{border:0!important;background:transparent!important;overflow:visible!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table thead{display:none!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody{display:block!important;width:100%!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr.cart_item{display:grid!important;grid-template-columns:var(--mkt-cart-thumb-mobile) minmax(0,1fr) 58px!important;grid-template-rows:auto auto auto!important;column-gap:12px!important;row-gap:8px!important;width:100%!important;margin:0 0 14px!important;padding:14px!important;border:1px solid var(--mkt-cart-card-border)!important;border-radius:var(--mkt-cart-card-radius)!important;background:var(--mkt-cart-card-bg)!important;overflow:hidden!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr.cart_item td{display:block!important;width:auto!important;min-width:0!important;margin:0!important;padding:0!important;border:0!important;background:transparent!important;text-align:left!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr.cart_item td::before{display:none!important;content:none!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail{grid-column:1!important;grid-row:1/3!important;width:var(--mkt-cart-thumb-mobile)!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail a,body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img{width:var(--mkt-cart-thumb-mobile)!important;height:var(--mkt-cart-thumb-mobile)!important;min-width:var(--mkt-cart-thumb-mobile)!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-name{grid-column:2/4!important;grid-row:1!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-name a{font-size:var(--mkt-cart-m-name-size)!important;font-weight:var(--mkt-cart-m-name-weight)!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-price{grid-column:2/4!important;grid-row:2!important;font-size:var(--mkt-cart-m-price-size)!important;font-weight:700!important;color:var(--mkt-cart-price)!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-quantity{grid-column:1/3!important;grid-row:3!important;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:8px!important;width:100%!important;overflow:visible!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr.cart_item td.product-quantity::before{display:inline-block!important;visibility:visible!important;flex:0 0 auto!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;font-size:var(--mkt-cart-m-qty-label-size)!important;font-weight:600!important;line-height:1.2!important;color:var(--mkt-cart-text)!important;white-space:nowrap!important}
 body.woocommerce-cart .woocommerce-cart-form .quantity .qty-minus,body.woocommerce-cart .woocommerce-cart-form .quantity .qty-plus{width:var(--mkt-cart-m-qty-button-width)!important;min-width:var(--mkt-cart-m-qty-button-width)!important;height:var(--mkt-cart-m-qty-height)!important;min-height:var(--mkt-cart-m-qty-height)!important}
 body.woocommerce-cart .woocommerce-cart-form .quantity input.qty{width:var(--mkt-cart-m-qty-input-width)!important;min-width:var(--mkt-cart-m-qty-input-width)!important;height:var(--mkt-cart-m-qty-height)!important;font-size:var(--mkt-cart-m-qty-font-size)!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-remove{grid-column:3!important;grid-row:3!important;justify-self:end!important;align-self:center!important;width:58px!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove{width:58px!important;height:auto!important;min-width:58px!important;display:flex!important;flex-direction:column!important;gap:4px!important;border:0!important;background:transparent!important;font-size:0!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove::before{content:""!important;display:block!important;width:var(--mkt-cart-remove-icon-size)!important;height:var(--mkt-cart-remove-icon-size)!important;background:var(--mkt-cart-trash-icon)!important;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4l1-2Zm-2 6h10l-.8 11H7.8L7 9Zm3 2v7h2v-7h-2Zm4 0v7h2v-7h-2Z'/%3E%3C/svg%3E") center/contain no-repeat!important;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M9 3h6l1 2h4v2H4V5h4l1-2Zm-2 6h10l-.8 11H7.8L7 9Zm3 2v7h2v-7h-2Zm4 0v7h2v-7h-2Z'/%3E%3C/svg%3E") center/contain no-repeat!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove::after{display:block!important;color:var(--mkt-cart-trash-text)!important;font-size:var(--mkt-cart-remove-text-size)!important;font-weight:var(--mkt-cart-remove-text-weight)!important;line-height:1.1!important;white-space:nowrap!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove:hover::before{background:var(--mkt-cart-trash-hover)!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove:hover::after{color:var(--mkt-cart-trash-hover)!important}
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr.cart_item td.product-subtotal,
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr.cart_item td.product-subtotal *,
 body.woocommerce-cart .woocommerce-cart-form td.product-subtotal,
 body.woocommerce-cart .woocommerce-cart-form .product-subtotal{display:none!important;visibility:hidden!important;width:0!important;min-width:0!important;height:0!important;min-height:0!important;margin:0!important;padding:0!important;border:0!important;overflow:hidden!important}
 body.woocommerce-cart .woocommerce-cart-form tr:not(.cart_item) td.actions{display:block!important;width:100%!important;padding:12px!important;border:1px solid var(--mkt-cart-border)!important;border-radius:10px!important;background:var(--mkt-cart-table-bg)!important}
 body.woocommerce-cart .woocommerce-cart-form td.actions .coupon{display:grid!important;grid-template-columns:1fr!important;gap:8px!important;width:100%!important;margin:0 0 8px!important;float:none!important}
 body.woocommerce-cart .woocommerce-cart-form td.actions .coupon .input-text,body.woocommerce-cart .woocommerce-cart-form td.actions .coupon .button{display:block!important;width:100%!important;min-width:0!important;max-width:none!important;height:42px!important;margin:0!important;justify-self:stretch!important;float:none!important}
 body.woocommerce-cart .woocommerce-cart-form td.actions button[name="update_cart"]{display:flex!important;width:100%!important;height:42px!important;margin:0!important}
 body.woocommerce-cart .cart-collaterals{width:100%!important;margin-top:18px!important}
 body.woocommerce-cart .cart-collaterals .cart_totals{width:100%!important;max-width:100%!important;margin:0!important;padding:14px!important}
 body.woocommerce-cart .cart_totals table.shop_table{display:block!important;width:100%!important}
 body.woocommerce-cart .cart_totals table.shop_table tbody{display:block!important;width:100%!important}
 body.woocommerce-cart .cart_totals table.shop_table td::before{display:none!important;visibility:hidden!important;content:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important}
 body.woocommerce-cart .cart_totals tr.cart-subtotal,body.woocommerce-cart .cart_totals tr.order-total{display:grid!important;grid-template-columns:1fr auto!important;width:100%!important;align-items:center!important}
 body.woocommerce-cart .cart_totals tr.cart-subtotal{background:var(--mkt-cart-subtotal-bg)!important}
 body.woocommerce-cart .cart_totals tr.order-total{background:var(--mkt-cart-total-bg)!important}
 body.woocommerce-cart .cart_totals tr.cart-subtotal th,body.woocommerce-cart .cart_totals tr.cart-subtotal td,body.woocommerce-cart .cart_totals tr.order-total th,body.woocommerce-cart .cart_totals tr.order-total td{display:block!important;width:auto!important;margin:0!important;padding:12px!important;background:transparent!important;border:0!important;white-space:nowrap!important}
 body.woocommerce-cart .cart_totals tr.cart-subtotal td,body.woocommerce-cart .cart_totals tr.order-total td{text-align:right!important;justify-self:end!important}
 body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals,body.woocommerce-cart .cart_totals tr.shipping{display:block!important;width:100%!important}
 body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals th,body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td,body.woocommerce-cart .cart_totals tr.shipping th,body.woocommerce-cart .cart_totals tr.shipping td{display:block!important;width:100%!important}
}
@media(max-width:420px){
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr.cart_item{grid-template-columns:var(--mkt-cart-thumb-mobile) minmax(0,1fr) 52px!important;padding:11px 9px!important;column-gap:9px!important}
 body.woocommerce-cart .woocommerce-cart-form td.actions .coupon{grid-template-columns:1fr!important}
}

/* MKT Cart 1.2.7 - correções mobile consolidadas */
@media(max-width:1024px){
 body.woocommerce-cart .woocommerce-cart-form td.product-quantity::before,
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr.cart_item td.product-quantity::before{display:none!important;content:none!important}
 body.woocommerce-cart .woocommerce-cart-form td.product-quantity .mkt-cart-qty-label{display:inline-block!important;visibility:visible!important;flex:0 0 auto!important;margin:0!important;padding:0!important;font-size:var(--mkt-cart-m-qty-label-size)!important;font-weight:600!important;line-height:1.2!important;color:var(--mkt-cart-text)!important;white-space:nowrap!important}
 body.woocommerce-cart .woocommerce-cart-form td.actions .coupon{display:flex!important;flex-direction:column!important;align-items:stretch!important;justify-content:flex-start!important;width:100%!important;gap:8px!important;margin:0 0 8px!important;float:none!important}
 body.woocommerce-cart .woocommerce-cart-form td.actions .coupon .input-text,
 body.woocommerce-cart .woocommerce-cart-form td.actions .coupon .button{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-width:0!important;max-width:100%!important;height:42px!important;min-height:42px!important;margin:0!important;padding:0 14px!important;float:none!important;line-height:1!important;text-align:center!important}
 body.woocommerce-cart .woocommerce-cart-form td.actions .coupon .input-text{justify-content:flex-start!important;text-align:left!important}
 body.woocommerce-cart .woocommerce-cart-form td.actions button[name="update_cart"]{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:42px!important;height:42px!important;margin:0!important;padding:0 16px!important;line-height:1!important;text-align:center!important}
 body.woocommerce-cart .cart_totals table.shop_table td::before,
 body.woocommerce-cart .cart_totals table.shop_table th::before{display:none!important;visibility:hidden!important;content:none!important;width:0!important;height:0!important;margin:0!important;padding:0!important}
 body.woocommerce-cart .cart_totals tr.cart-subtotal td,
 body.woocommerce-cart .cart_totals tr.order-total td{font-size:inherit!important}
 body.woocommerce-cart .cart_totals tr.cart-subtotal td *,
 body.woocommerce-cart .cart_totals tr.order-total td *{font-size:inherit!important}
 body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only .form-row:not(#calc_shipping_postcode_field){display:none!important}
 body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only #calc_shipping_postcode_field{display:block!important;width:100%!important;margin:0 0 10px!important;padding:0!important}
 body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only #calc_shipping_postcode{width:100%!important;min-height:44px!important;margin:0!important;padding:8px 12px!important;border:1px solid var(--mkt-cart-border)!important;border-radius:8px!important;background:#fff!important}
 body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only button[name="calc_shipping"]{display:flex!important;align-items:center!important;justify-content:center!important;width:100%!important;min-height:42px!important;margin:0!important;padding:0 16px!important;line-height:1!important;text-align:center!important}
}

/* MKT Cart 1.2.8 — evita duplicação do rótulo Quantidade */
@media (max-width:1024px){
 body.woocommerce-cart .woocommerce-cart-form td.product-quantity::before,
 body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr.cart_item td.product-quantity::before{display:none!important;content:none!important;}
 body.woocommerce-cart .woocommerce-cart-form td.product-quantity > .mkt-cart-qty-label{display:inline-block!important;visibility:visible!important;}
}


/* MKT Cart 1.2.9 — calculadora de frete simplificada */
body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only .form-row:not(#calc_shipping_postcode_field){
    display:none!important;
}

body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only #calc_shipping_postcode_field{
    display:block!important;
    width:100%!important;
    margin:0 0 12px!important;
    padding:0!important;
    float:none!important;
    text-align:left!important;
}

body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only #calc_shipping_postcode_field label{
    display:block!important;
    width:100%!important;
    margin:0 0 7px!important;
    padding:0!important;
    color:var(--mkt-cart-text)!important;
    font-size:15px!important;
    font-weight:700!important;
    line-height:1.25!important;
    text-align:left!important;
    float:none!important;
}

body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only #calc_shipping_postcode{
    display:block!important;
    width:100%!important;
    min-width:0!important;
    height:46px!important;
    min-height:46px!important;
    margin:0!important;
    padding:8px 13px!important;
    border:1px solid var(--mkt-cart-border)!important;
    border-radius:8px!important;
    background:#fff!important;
    color:var(--mkt-cart-text)!important;
    font-size:15px!important;
    font-weight:600!important;
    line-height:1.2!important;
    text-align:left!important;
    box-shadow:none!important;
}

body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only button[name="calc_shipping"]{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    min-width:0!important;
    height:48px!important;
    min-height:48px!important;
    margin:0!important;
    padding:0 18px!important;
    border-radius:8px!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1!important;
    text-align:center!important;
    white-space:nowrap!important;
}

/* Antes do primeiro cálculo, a linha Envio fica oculta. */
body.woocommerce-cart.mkt-cart-shipping-pending .cart_totals tr.woocommerce-shipping-totals,
body.woocommerce-cart.mkt-cart-shipping-pending .cart_totals tr.shipping{
    display:none!important;
}

@media(max-width:1024px){
    body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only #calc_shipping_postcode_field label{
        font-size:15px!important;
        font-weight:700!important;
        text-align:left!important;
    }

    body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only #calc_shipping_postcode{
        height:48px!important;
        min-height:48px!important;
        font-size:16px!important;
        font-weight:600!important;
    }

    body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only button[name="calc_shipping"]{
        height:50px!important;
        min-height:50px!important;
        font-size:15px!important;
        font-weight:700!important;
    }
}


/* MKT Cart 1.3.0 — correções de frete, rótulo e X desktop */

/* O rótulo Quantidade é exclusivo do tablet/mobile. */
@media (min-width:1025px){
    body.woocommerce-cart .woocommerce-cart-form td.product-quantity > .mkt-cart-qty-label{
        display:none!important;
    }

    /* X do desktop centralizado e controlado pelo painel. */
    body.woocommerce-cart .woocommerce-cart-form td.product-remove{
        text-align:center!important;
        vertical-align:middle!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove{
        position:relative!important;
        display:block!important;
        width:var(--mkt-cart-remove-x-button-size)!important;
        height:var(--mkt-cart-remove-x-button-size)!important;
        min-width:var(--mkt-cart-remove-x-button-size)!important;
        min-height:var(--mkt-cart-remove-x-button-size)!important;
        margin:0 auto!important;
        padding:0!important;
        font-size:0!important;
        line-height:0!important;
        text-align:center!important;
        text-indent:0!important;
        transform:none!important;
        overflow:hidden!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove::before{
        content:"×"!important;
        position:absolute!important;
        top:50%!important;
        left:50%!important;
        display:block!important;
        width:auto!important;
        height:auto!important;
        margin:0!important;
        padding:0!important;
        color:var(--mkt-cart-remove-x-color)!important;
        background:transparent!important;
        font-family:Arial,Helvetica,sans-serif!important;
        font-size:var(--mkt-cart-remove-x-icon-size)!important;
        font-weight:400!important;
        line-height:1!important;
        text-align:center!important;
        transform:translate(-50%,-54%)!important;
        -webkit-mask:none!important;
        mask:none!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove:hover::before{
        color:var(--mkt-cart-remove-x-hover-color)!important;
    }
}

/* Antes do cálculo, mantém disponível o link de calcular frete e oculta só o rótulo Envio. */
body.woocommerce-cart.mkt-cart-shipping-pending .cart_totals tr.woocommerce-shipping-totals,
body.woocommerce-cart.mkt-cart-shipping-pending .cart_totals tr.shipping{
    display:table-row!important;
}
body.woocommerce-cart.mkt-cart-shipping-pending .cart_totals tr.woocommerce-shipping-totals > th,
body.woocommerce-cart.mkt-cart-shipping-pending .cart_totals tr.shipping > th{
    display:none!important;
}
body.woocommerce-cart.mkt-cart-shipping-pending .cart_totals tr.woocommerce-shipping-totals > td,
body.woocommerce-cart.mkt-cart-shipping-pending .cart_totals tr.shipping > td{
    width:100%!important;
}

@media(max-width:1024px){
    body.woocommerce-cart.mkt-cart-shipping-pending .cart_totals tr.woocommerce-shipping-totals,
    body.woocommerce-cart.mkt-cart-shipping-pending .cart_totals tr.shipping{
        display:block!important;
        width:100%!important;
    }
    body.woocommerce-cart.mkt-cart-shipping-pending .cart_totals tr.woocommerce-shipping-totals > td,
    body.woocommerce-cart.mkt-cart-shipping-pending .cart_totals tr.shipping > td{
        display:block!important;
        width:100%!important;
        padding:12px 13px!important;
    }
}


/* MKT Cart 1.3.1 — força apenas CEP na calculadora de frete */
body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only #calc_shipping_country_field,
body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only #calc_shipping_state_field,
body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only #calc_shipping_city_field,
body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only .form-row-wide:not(#calc_shipping_postcode_field),
body.woocommerce-cart .shipping-calculator-form.mkt-postcode-only p.form-row:not(#calc_shipping_postcode_field){
    display:none!important;
}

@media (min-width:1025px){
    body.woocommerce-cart .woocommerce-cart-form td.product-quantity > .mkt-cart-qty-label{display:none!important;}
}


/* MKT Cart 1.3.3 — somente CEP, aplicado desde o carregamento da página */
body.woocommerce-cart.mkt-cart-postcode-only .shipping-calculator-form #calc_shipping_country_field,
body.woocommerce-cart.mkt-cart-postcode-only .shipping-calculator-form #calc_shipping_state_field,
body.woocommerce-cart.mkt-cart-postcode-only .shipping-calculator-form #calc_shipping_city_field,
body.woocommerce-cart.mkt-cart-postcode-only .shipping-calculator-form p.form-row:not(#calc_shipping_postcode_field),
body.woocommerce-cart.mkt-cart-postcode-only .shipping-calculator-form .form-row:not(#calc_shipping_postcode_field){
    display:none!important;
    visibility:hidden!important;
    width:0!important;
    height:0!important;
    min-height:0!important;
    margin:0!important;
    padding:0!important;
    overflow:hidden!important;
}

body.woocommerce-cart.mkt-cart-postcode-only .shipping-calculator-form #calc_shipping_postcode_field{
    display:block!important;
    visibility:visible!important;
    width:100%!important;
    height:auto!important;
    margin:0 0 12px!important;
    padding:0!important;
    overflow:visible!important;
    float:none!important;
    text-align:left!important;
}

body.woocommerce-cart.mkt-cart-postcode-only .shipping-calculator-form #calc_shipping_postcode_field label{
    display:block!important;
    width:100%!important;
    margin:0 0 7px!important;
    color:var(--mkt-cart-text)!important;
    font-size:15px!important;
    font-weight:700!important;
    line-height:1.25!important;
    text-align:left!important;
}

body.woocommerce-cart.mkt-cart-postcode-only .shipping-calculator-form #calc_shipping_postcode{
    display:block!important;
    width:100%!important;
    height:46px!important;
    min-height:46px!important;
    padding:8px 13px!important;
    border:1px solid var(--mkt-cart-border)!important;
    border-radius:8px!important;
    background:#fff!important;
    color:var(--mkt-cart-text)!important;
    font-size:15px!important;
    font-weight:600!important;
    text-align:left!important;
    box-shadow:none!important;
}

body.woocommerce-cart.mkt-cart-postcode-only .shipping-calculator-form button[name="calc_shipping"]{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;
    height:48px!important;
    min-height:48px!important;
    margin:0!important;
    padding:0 18px!important;
    border-radius:8px!important;
    font-size:14px!important;
    font-weight:700!important;
    line-height:1!important;
    text-align:center!important;
}


/* MKT Cart 1.3.4 — segurança extra: somente CEP */
body.woocommerce-cart .shipping-calculator-form #calc_shipping_country_field,
body.woocommerce-cart .shipping-calculator-form #calc_shipping_state_field,
body.woocommerce-cart .shipping-calculator-form #calc_shipping_city_field{display:none!important;}

/* MKT Cart 1.4.0 — melhorias visuais, frete e controles */
body.woocommerce-cart .cart-collaterals .cart_totals{
    margin-top:24px!important;
    margin-left:0!important;
    margin-right:auto!important;
}

body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove{
    width:var(--mkt-cart-remove-x-button-size)!important;
    height:var(--mkt-cart-remove-x-button-size)!important;
    min-width:var(--mkt-cart-remove-x-button-size)!important;
    min-height:var(--mkt-cart-remove-x-button-size)!important;
    border-style:solid!important;
    border-width:var(--mkt-cart-remove-x-border-width)!important;
    border-color:var(--mkt-cart-remove-x-border-color)!important;
    background:var(--mkt-cart-remove-x-bg)!important;
    color:var(--mkt-cart-remove-x-color)!important;
}
body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove:hover{
    border-style:solid!important;
    border-width:var(--mkt-cart-remove-x-hover-border-width)!important;
    border-color:var(--mkt-cart-remove-x-hover-border-color)!important;
    background:var(--mkt-cart-remove-x-hover-bg)!important;
    color:var(--mkt-cart-remove-x-hover-color)!important;
}

body.woocommerce-cart .cart_totals .mkt-cart-selected-shipping{
    display:block!important;
    margin:0 0 8px!important;
    color:var(--mkt-cart-text)!important;
    font-size:var(--mkt-cart-shipping-text-size)!important;
    font-weight:600!important;
    line-height:1.35!important;
}
body.woocommerce-cart .cart_totals ul#shipping_method{
    list-style:none!important;
    margin:0!important;
    padding:0!important;
}
body.woocommerce-cart .cart_totals ul#shipping_method li{
    display:flex!important;
    align-items:flex-start!important;
    gap:8px!important;
    margin:0 0 8px!important;
}
body.woocommerce-cart .cart_totals ul#shipping_method li:last-child{margin-bottom:0!important}
body.woocommerce-cart .cart_totals ul#shipping_method li input[type="radio"]{
    margin:4px 0 0!important;
    flex:0 0 auto!important;
}
body.woocommerce-cart .cart_totals ul#shipping_method li label{
    display:block!important;
    flex:1 1 auto!important;
    color:var(--mkt-cart-text)!important;
    font-size:var(--mkt-cart-shipping-text-size)!important;
    line-height:1.35!important;
}

@media(max-width:1024px){
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr.cart_item{
        grid-template-columns:var(--mkt-cart-thumb-mobile) minmax(0,1fr) 58px!important;
        grid-template-rows:auto auto auto!important;
        column-gap:14px!important;
        row-gap:10px!important;
        padding:16px!important;
        border-radius:calc(var(--mkt-cart-card-radius) + 2px)!important;
        box-shadow:0 4px 18px rgba(0,0,0,.04)!important;
        background:var(--mkt-cart-card-bg)!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail{
        grid-column:1!important;
        grid-row:1 / span 2!important;
        align-self:start!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail a,
    body.woocommerce-cart .woocommerce-cart-form td.product-thumbnail img{
        border-radius:14px!important;
        border:1px solid var(--mkt-cart-divider)!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-name{
        grid-column:2!important;
        grid-row:1!important;
        padding-top:2px!important;
        padding-right:4px!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-name a{
        display:block!important;
        line-height:1.3!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-price{
        grid-column:2!important;
        grid-row:2!important;
        display:flex!important;
        align-items:center!important;
        font-weight:700!important;
        color:var(--mkt-cart-text)!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-remove{
        grid-column:3!important;
        grid-row:1 / span 2!important;
        align-self:start!important;
        justify-self:end!important;
        width:58px!important;
        padding-top:2px!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove{
        width:58px!important;
        min-width:58px!important;
        background:transparent!important;
        border:0!important;
        display:flex!important;
        flex-direction:column!important;
        align-items:center!important;
        justify-content:flex-start!important;
        gap:5px!important;
        text-decoration:none!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-quantity{
        grid-column:1 / 4!important;
        grid-row:3!important;
        display:flex!important;
        align-items:center!important;
        justify-content:space-between!important;
        gap:10px!important;
        padding-top:8px!important;
        border-top:1px solid var(--mkt-cart-divider)!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-quantity .mkt-cart-qty-label{
        font-size:var(--mkt-cart-m-qty-label-size)!important;
        font-weight:600!important;
        color:var(--mkt-cart-text)!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-quantity .quantity{
        margin-left:auto!important;
    }
    body.woocommerce-cart .woocommerce-cart-form tr:not(.cart_item) td.actions{
        border-radius:14px!important;
        padding:14px!important;
    }
    body.woocommerce-cart .cart-collaterals .cart_totals{
        border-radius:14px!important;
        padding:16px!important;
    }
    body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals th,
    body.woocommerce-cart .cart_totals tr.shipping th{
        margin:0 0 6px!important;
        padding:10px 12px 0!important;
    }
    body.woocommerce-cart .cart_totals tr.woocommerce-shipping-totals td,
    body.woocommerce-cart .cart_totals tr.shipping td{
        padding:0 12px 12px!important;
    }
    body.woocommerce-cart .cart_totals .mkt-cart-selected-shipping{
        margin-bottom:8px!important;
    }
}

@media(max-width:420px){
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr.cart_item{
        grid-template-columns:var(--mkt-cart-thumb-mobile) minmax(0,1fr) 52px!important;
        padding:14px!important;
    }
}

/* MKT Cart 1.4.1 — preset visual mais fiel ao layout aprovado */
body.woocommerce-cart .cart_totals tr.cart-subtotal td,
body.woocommerce-cart .cart_totals tr.cart-subtotal td *,
body.woocommerce-cart .cart_totals tr.cart-subtotal strong,
body.woocommerce-cart .cart_totals tr.cart-subtotal .woocommerce-Price-amount{
    color:var(--mkt-cart-text)!important;
}
body.woocommerce-cart .woocommerce-cart-form td.actions .coupon .button,
body.woocommerce-cart .woocommerce-cart-form td.actions button[name="update_cart"],
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
    border-radius:10px!important;
}
body.woocommerce-cart .woocommerce-cart-form td.actions .coupon .input-text{
    border-radius:10px!important;
    background:#fff!important;
}
body.woocommerce-cart .woocommerce-cart-form .quantity{
    border-radius:10px!important;
}

/* MKT Cart 1.4.4 — separação desktop/mobile e controles de borda/separador */
body.woocommerce-cart .woocommerce-cart-form table.shop_table{
    border-width:var(--mkt-cart-border-width)!important;
    border-color:var(--mkt-cart-border)!important;
}
body.woocommerce-cart .woocommerce-cart-form table.shop_table thead th,
body.woocommerce-cart .woocommerce-cart-form tbody tr.cart_item td,
body.woocommerce-cart .woocommerce-cart-form td.actions{
    border-width:var(--mkt-cart-divider-width)!important;
    border-color:var(--mkt-cart-divider)!important;
}
body.woocommerce-cart .woocommerce-cart-form td.actions .coupon .input-text{
    border-width:var(--mkt-cart-coupon-border-width)!important;
    border-color:var(--mkt-cart-coupon-border)!important;
}
body.woocommerce-cart .cart-collaterals .cart_totals,
body.woocommerce-cart .cart_totals table.shop_table,
body.woocommerce-cart .cart_totals table.shop_table th,
body.woocommerce-cart .cart_totals table.shop_table td{
    border-width:var(--mkt-cart-totals-border-width)!important;
    border-color:var(--mkt-cart-totals-border)!important;
}
body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove{
    width:var(--mkt-cart-remove-x-button-size)!important;
    height:var(--mkt-cart-remove-x-button-size)!important;
    min-width:var(--mkt-cart-remove-x-button-size)!important;
    min-height:var(--mkt-cart-remove-x-button-size)!important;
    border-color:var(--mkt-cart-remove-x-border-color)!important;
    border-width:var(--mkt-cart-remove-x-border-width)!important;
    color:var(--mkt-cart-remove-x-color)!important;
}
body.woocommerce-cart .woocommerce-cart-form td.product-remove a.remove:hover{
    border-color:var(--mkt-cart-remove-x-hover-border-color)!important;
    border-width:var(--mkt-cart-remove-x-hover-border-width)!important;
    background:var(--mkt-cart-remove-x-hover-bg)!important;
    color:var(--mkt-cart-remove-x-hover-color)!important;
}

@media(max-width:1024px){
    body.woocommerce-cart .woocommerce-cart-form table.shop_table tbody tr.cart_item{
        border-width:var(--mkt-cart-card-border-width)!important;
        border-color:var(--mkt-cart-card-border)!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-quantity{
        position:relative!important;
        padding-top:var(--mkt-cart-product-qty-separator-spacing)!important;
        margin-top:2px!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-quantity::after{
        content:""!important;
        position:absolute!important;
        left:0!important;
        right:0!important;
        top:0!important;
        border-top:var(--mkt-cart-product-qty-separator-width) solid var(--mkt-cart-product-qty-separator-color)!important;
        display:block!important;
        pointer-events:none!important;
    }
    body.woocommerce-cart .woocommerce-cart-form td.product-quantity .mkt-cart-qty-label{
        margin-right:8px!important;
    }
}
