/* GREPOOL cart and checkout visual refinement. No checkout logic or payment fields changed. */
/* ShopEye custom cart uses ul#cart, not the standard WooCommerce product table. */
body.woocommerce-cart .breadcrumb{padding-top:16px!important;padding-bottom:12px!important;margin-bottom:0!important}
body.woocommerce-cart .entry-header{margin:8px 0 20px!important}
body.woocommerce-cart .shopeye-cart-wrap{display:grid!important;grid-template-columns:minmax(0,1.15fr) minmax(310px,.85fr)!important;gap:24px!important;align-items:start!important;width:100%!important;max-width:1150px!important;margin:0 auto!important}
body.woocommerce-cart .shopeye-cart-wrap>.shopeye-card-content,body.woocommerce-cart .shopeye-cart-wrap>.cart-collaterals{width:100%!important;min-width:0!important;max-width:none!important;float:none!important;margin:0!important;padding:0!important}
body.woocommerce-cart .shopeye-cart-wrap #cart{list-style:none!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column!important;gap:12px!important}
body.woocommerce-cart .shopeye-cart-wrap #cart>li.cart_item{position:relative!important;display:grid!important;grid-template-columns:116px minmax(0,1fr) auto!important;grid-template-rows:auto auto!important;gap:6px 16px!important;align-items:center!important;min-height:0!important;margin:0!important;padding:16px 38px 16px 14px!important;background:#fff!important;border:1px solid #dbe9f1!important;border-radius:13px!important;box-sizing:border-box!important;width:100%!important;float:none!important}
body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-thumbnail{grid-column:1!important;grid-row:1/3!important;display:block!important;width:116px!important;height:106px!important;margin:0!important;float:none!important}
body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-thumbnail img{display:block!important;width:100%!important;height:100%!important;max-width:100%!important;object-fit:contain!important}
body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-name{grid-column:2!important;grid-row:1!important;display:block!important;min-width:0!important;width:auto!important;margin:0!important;font-size:16px!important;font-weight:700!important;line-height:1.35!important}
body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-name a{color:#103b63!important;text-decoration:none!important}
body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-price{display:none!important}
body.woocommerce-cart .shopeye-cart-wrap #cart>li .product_price_wrap{grid-column:2/4!important;grid-row:2!important;display:flex!important;flex-wrap:wrap!important;gap:12px!important;align-items:center!important;justify-content:space-between!important;width:100%!important;margin:0!important;float:none!important}
body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-quantity,body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-subtotal{display:block!important;margin:0!important;float:none!important;width:auto!important}
body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-subtotal{color:#0796bd!important;font-weight:750!important;font-size:17px!important;white-space:nowrap!important}
body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-remove{position:absolute!important;right:12px!important;top:12px!important;left:auto!important;z-index:2!important}
body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-remove a{display:flex!important;align-items:center!important;justify-content:center!important;width:26px!important;height:26px!important}
body.woocommerce-cart .shopeye-cart-wrap .woocommerce-cart-form__contents{margin-top:14px!important;width:100%!important}
body.woocommerce-cart .shopeye-cart-wrap .woocommerce-cart-form__contents td.actions{padding:12px!important;text-align:right!important}
body.woocommerce-cart .shopeye-cart-wrap button[name=update_cart]{border-radius:9px!important;min-height:42px!important;padding:10px 18px!important}
body.woocommerce-cart .shopeye-cart-wrap .cart-collaterals .cart_totals{width:100%!important;float:none!important;box-sizing:border-box!important}
body.woocommerce-cart .shopeye-cart-wrap .wc-proceed-to-checkout{padding:12px 0 0!important}
body.woocommerce-cart .shopeye-cart-wrap .wc-proceed-to-checkout a{width:100%!important;box-sizing:border-box!important}
body.woocommerce-cart .post-edit-link,body.woocommerce-cart a[href*="vc_action=vc_inline"],body.woocommerce-cart a[href*="post.php?post=530"]{display:none!important}
@media(max-width:767px){
 body.woocommerce-cart .breadcrumb{padding:8px 14px!important;min-height:0!important}
 body.woocommerce-cart .entry-header{margin:6px 0 14px!important}
 body.woocommerce-cart .shopeye-cart-wrap{display:flex!important;flex-direction:column!important;gap:18px!important}
 body.woocommerce-cart .shopeye-cart-wrap #cart>li.cart_item{grid-template-columns:100px minmax(0,1fr)!important;grid-template-rows:auto auto!important;gap:8px 12px!important;padding:12px 34px 12px 10px!important}
 body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-thumbnail{width:100px!important;height:100px!important}
 body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-name{font-size:14px!important;padding-right:0!important}
 body.woocommerce-cart .shopeye-cart-wrap #cart>li .product_price_wrap{grid-column:2!important;gap:6px!important;align-items:flex-start!important;flex-direction:column!important}
 body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-subtotal{font-size:16px!important}
 body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-quantity input.qty{min-height:38px!important;height:38px!important;width:65px!important}
 body.woocommerce-cart .shopeye-cart-wrap .cart-collaterals{margin-top:0!important}
 body.woocommerce-cart .shopeye-cart-wrap .woocommerce-cart-form__contents td.actions{padding:10px!important}
}

body.woocommerce-cart,body.woocommerce-checkout{--gre-order-navy:#103b63;--gre-order-line:#dbe9f1;--gre-order-orange:#f45116}
body.woocommerce-cart #primary,body.woocommerce-checkout #primary{max-width:1200px;margin-left:auto;margin-right:auto}
body.woocommerce-cart .entry-title,body.woocommerce-checkout .entry-title{color:var(--gre-order-navy);font-weight:750;letter-spacing:-.035em;line-height:1.15}
body.woocommerce-cart .woocommerce table.shop_table,body.woocommerce-checkout .woocommerce table.shop_table{border:1px solid var(--gre-order-line);border-radius:14px;border-collapse:separate;overflow:hidden;background:#fff}
body.woocommerce-cart .woocommerce table.shop_table th,body.woocommerce-cart .woocommerce table.shop_table td,body.woocommerce-checkout .woocommerce table.shop_table th,body.woocommerce-checkout .woocommerce table.shop_table td{border-color:#edf3f7;padding:14px 12px}
body.woocommerce-cart .woocommerce a.remove{color:#a94c43!important}
body.woocommerce-cart .woocommerce .quantity .qty{min-height:44px;min-width:64px;border:1px solid #c9dce7;border-radius:8px}
body.woocommerce-cart .woocommerce .cart_totals,body.woocommerce-checkout .woocommerce #payment{border:1px solid var(--gre-order-line);border-radius:14px;background:#f7fbfd;padding:18px}
body.woocommerce-cart .woocommerce .cart_totals h2,body.woocommerce-checkout .woocommerce #order_review_heading{color:var(--gre-order-navy);font-weight:750;letter-spacing:-.02em}
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button,body.woocommerce-checkout .woocommerce #place_order,body.woocommerce-cart .woocommerce .return-to-shop .button{background:var(--gre-order-orange)!important;border:1px solid var(--gre-order-orange)!important;border-radius:10px!important;color:#fff!important;font-weight:750!important;min-height:50px;display:flex;align-items:center;justify-content:center;text-align:center;box-shadow:none!important}
body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button:hover,body.woocommerce-checkout .woocommerce #place_order:hover{filter:brightness(.94)}
body.woocommerce-cart .woocommerce .cart-empty{background:#f0f8fc;border:1px solid var(--gre-order-line);border-radius:12px;color:var(--gre-order-navy);padding:24px;text-align:center}
body.woocommerce-cart .woocommerce .return-to-shop{text-align:center;margin-top:22px}
body.woocommerce-checkout .woocommerce form .form-row input.input-text,body.woocommerce-checkout .woocommerce form .form-row select,body.woocommerce-checkout .woocommerce form .form-row textarea{border:1px solid #c9dce7;border-radius:9px;background:#fff}
body.woocommerce-checkout .woocommerce form .form-row input.input-text:focus,body.woocommerce-checkout .woocommerce form .form-row textarea:focus{outline:2px solid #9ad5eb;outline-offset:1px}
@media(max-width:767px){
 body.woocommerce-cart #primary,body.woocommerce-checkout #primary{padding-left:14px!important;padding-right:14px!important;box-sizing:border-box}
 body.woocommerce-cart .entry-title,body.woocommerce-checkout .entry-title{font-size:clamp(28px,8vw,36px)!important}
 body.woocommerce-cart .woocommerce table.shop_table_responsive tr,body.woocommerce-cart .woocommerce-page table.shop_table_responsive tr{border-bottom:1px solid #edf3f7}
 body.woocommerce-cart .woocommerce table.shop_table_responsive tr td{padding:11px 12px!important;overflow-wrap:anywhere}
 body.woocommerce-cart .woocommerce table.shop_table_responsive tr td::before{color:var(--gre-order-navy);font-weight:700}
 body.woocommerce-cart .woocommerce .cart_totals,body.woocommerce-checkout .woocommerce #payment{padding:14px!important}
 body.woocommerce-cart .woocommerce .wc-proceed-to-checkout a.checkout-button,body.woocommerce-checkout .woocommerce #place_order{width:100%!important;min-height:52px!important;font-size:16px!important;box-sizing:border-box}
 body.woocommerce-checkout .woocommerce #order_review table.shop_table th,body.woocommerce-checkout .woocommerce #order_review table.shop_table td{padding:10px 8px!important}
 body.woocommerce-cart .woocommerce .cart-empty{padding:18px 12px}
}
/* Checkout: clearer order summary and more balanced desktop proportions. */
@media(min-width:992px){
 body.woocommerce-checkout form.checkout #customer_details{width:60%!important;max-width:60%!important;box-sizing:border-box!important}
 body.woocommerce-checkout form.checkout #order_review,body.woocommerce-checkout form.checkout .woocommerce-checkout-review-order{min-width:0!important;box-sizing:border-box!important}
 body.woocommerce-checkout form.checkout #order_review_heading{font-size:22px!important}
 body.woocommerce-checkout #order_review table.shop_table{width:100%!important;table-layout:auto!important}
 body.woocommerce-checkout #order_review table.shop_table th,body.woocommerce-checkout #order_review table.shop_table td{font-size:14px!important;line-height:1.4!important;overflow-wrap:normal!important;word-break:normal!important;padding:12px 10px!important}
 body.woocommerce-checkout #order_review table.shop_table .product-total,body.woocommerce-checkout #order_review table.shop_table tfoot td{white-space:nowrap!important;text-align:right!important}
}
body.woocommerce-checkout #payment .payment_box{overflow-wrap:break-word!important;word-break:normal!important;line-height:1.55!important}
body.woocommerce-checkout #payment ul.payment_methods li{overflow-wrap:break-word!important;word-break:normal!important}
@media(max-width:767px){body.woocommerce-checkout .woocommerce-billing-fields>h3{margin:8px 0 12px!important}body.woocommerce-checkout .woocommerce-billing-fields .form-row{margin-bottom:11px!important}body.woocommerce-checkout .woocommerce-billing-fields .form-row label{margin-bottom:5px!important}body.woocommerce-checkout .woocommerce-billing-fields .form-row input.input-text,body.woocommerce-checkout .woocommerce-billing-fields .form-row select{min-height:44px!important;height:44px!important}body.woocommerce-checkout #order_review table.shop_table .product-total,body.woocommerce-checkout #order_review table.shop_table tfoot td{white-space:normal!important}}
/* Final cart polish: remove controls inside cards and compact undo notice. */
body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-remove{position:absolute!important;top:9px!important;right:9px!important;left:auto!important;bottom:auto!important;margin:0!important;transform:none!important;z-index:5!important;width:26px!important;height:26px!important}
body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-remove a{display:flex!important;align-items:center!important;justify-content:center!important;width:26px!important;height:26px!important;margin:0!important;line-height:1!important}
body.woocommerce-cart .woocommerce-message{padding:13px 16px!important;margin:0 0 14px!important;border:1px solid #cfe5f0!important;border-radius:11px!important;background:#f5fafc!important;color:#103b63!important;font-size:14px!important;line-height:1.45!important;box-shadow:none!important}
body.woocommerce-cart .woocommerce-message::before{display:none!important}
body.woocommerce-cart .woocommerce-message .button,body.woocommerce-cart .woocommerce-message a.button{float:none!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:32px!important;padding:6px 12px!important;margin:0 10px 0 0!important;border-radius:7px!important;background:#fff!important;color:#103b63!important;border:1px solid #bfd9e7!important;font-size:13px!important;font-weight:700!important;line-height:1.2!important;box-shadow:none!important}
@media(max-width:767px){body.woocommerce-cart .shopeye-cart-wrap #cart>li.cart_item{padding-right:38px!important}body.woocommerce-cart .shopeye-cart-wrap #cart>li .product-remove{right:9px!important;top:9px!important;left:auto!important}body.woocommerce-cart .woocommerce-message{padding:10px 12px!important;margin-bottom:12px!important;font-size:13px!important}body.woocommerce-cart .woocommerce-message .button,body.woocommerce-cart .woocommerce-message a.button{min-height:30px!important;padding:5px 10px!important;font-size:12px!important}}