/* Arcosinop visual - carrinho e finalizar compra. Somente aparencia (mesmas cores do resto do site). */
html body.woocommerce-cart .main-page-wrapper,html body.woocommerce-checkout .main-page-wrapper{background:#F4F7FC!important}

/* ===== CARRINHO ===== */
html body.woocommerce-cart .wd-cart-table{background:#fff!important;border:1px solid #E1E8F4!important;border-radius:16px!important;box-shadow:0 4px 18px rgba(6,37,111,.07)!important}
html body.woocommerce-cart .arc-cart-group .arc-cg-name{color:#06256F!important}
html body.woocommerce-cart .arc-cart-group .arc-cg-name b{color:#06256F!important;font-weight:800!important}
html body.woocommerce-cart .arc-cg-edit,html body.woocommerce-cart .shipping-calculator-button,html body #arc-cbar .arc-cb-det{color:#1050BE!important;font-weight:700!important}
html body.woocommerce-cart .woocommerce-cart-form td.product-name a{color:#282A3F!important;font-weight:600!important}
html body.woocommerce-cart .woocommerce-cart-form td.product-name a:hover{color:#1050BE!important}
html body.woocommerce-cart .woocommerce-cart-form td.product-price .amount,html body.woocommerce-cart .woocommerce-cart-form td.product-subtotal .amount{color:#E3191F!important;font-weight:800!important}
html body.woocommerce-cart .woocommerce-cart-form td.product-price del .amount{color:#8A94A8!important;font-weight:400!important}
html body.woocommerce-cart .cart_totals h2{color:#06256F!important;font-weight:800!important}
html body.woocommerce-cart .cart_totals th{color:#282A3F!important;font-weight:700!important}
html body.woocommerce-cart .cart_totals .cart-subtotal .amount{color:#282A3F!important;font-weight:700!important}
html body.woocommerce-cart .cart_totals .woocommerce-shipping-methods li{border-color:#E1E8F4!important;border-radius:12px!important}
html body.woocommerce-cart .cart_totals .woocommerce-shipping-methods li .amount{color:#06256F!important;font-weight:800!important}
html body.woocommerce-cart .cart_totals .woocommerce-shipping-destination strong{color:#06256F!important}
html body.woocommerce-cart .cart_totals .order-total th{color:#06256F!important;font-weight:800!important}
html body.woocommerce-cart .cart_totals .order-total .amount{color:#E3191F!important;font-weight:800!important;font-size:24px!important}
html body #arc-cbar .arc-cb-total strong{color:#E3191F!important;font-weight:800!important}
@media (min-width:1025px){
html body.woocommerce-cart .arc-sum-row{background:#fff!important;border:1px solid #E1E8F4!important;border-radius:16px!important;box-shadow:0 4px 18px rgba(6,37,111,.07)!important}
}

/* quantidade (carrinho e finalizar) */
html body.woocommerce-cart .quantity input.qty,html body.woocommerce-checkout .quantity input.qty{color:#06256F!important;font-weight:700!important;border-color:#D5DEEE!important}
html body.woocommerce-cart .quantity .minus,html body.woocommerce-cart .quantity .plus,html body.woocommerce-checkout .quantity .minus,html body.woocommerce-checkout .quantity .plus{background:#fff!important;color:#06256F!important;border-color:#D5DEEE!important}
html body.woocommerce-cart .quantity .minus:hover,html body.woocommerce-cart .quantity .plus:hover,html body.woocommerce-checkout .quantity .minus:hover,html body.woocommerce-checkout .quantity .plus:hover{background:#EEF4FF!important}

/* botoes principais: laranja igual ao Comprar agora */
html body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,html body #arc-cbar .arc-cb-go,html body .arc-sum-row .arc-sum-go,html body.woocommerce-cart .return-to-shop a.button,html body #arc-co-bar .arc-co-go,html body.woocommerce-checkout #place_order{background:#FF8200!important;border-color:#FF8200!important;color:#fff!important;font-weight:800!important;border-radius:10px!important;box-shadow:0 8px 18px rgba(255,130,0,.28)!important;transition:background .2s ease}
html body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button:hover,html body #arc-cbar .arc-cb-go:hover,html body .arc-sum-row .arc-sum-go:hover,html body.woocommerce-cart .return-to-shop a.button:hover,html body #arc-co-bar .arc-co-go:hover,html body.woocommerce-checkout #place_order:hover{background:#EE7A00!important;border-color:#EE7A00!important;color:#fff!important}

/* ===== FINALIZAR COMPRA ===== */
html body.woocommerce-checkout .arc-co-top{background:#06256F!important}
html body.woocommerce-checkout .wd-content-area h4.woodmart-title-container,html body.woocommerce-checkout .wd-content-area .title-wrapper .title{color:#06256F!important;font-weight:800!important}
html body.woocommerce-checkout .wd-content-area #ship-to-different-address{color:#06256F!important}
html body.woocommerce-checkout .form-row .input-text:focus,html body.woocommerce-checkout .form-row select:focus,html body.woocommerce-checkout .form-row textarea:focus{border-color:#1050BE!important;box-shadow:0 0 0 3px rgba(16,80,190,.12)!important}
html body.woocommerce-checkout #shipping_method li{border-color:#1050BE!important}
html body.woocommerce-checkout #shipping_method li .amount{color:#06256F!important;font-weight:800!important}
html body.woocommerce-checkout .woocommerce-checkout-review-order-table .cart_item .amount{color:#E3191F!important;font-weight:800!important}
html body.woocommerce-checkout .woocommerce-checkout-review-order-table .order-total .amount{color:#E3191F!important;font-weight:800!important}
html body.woocommerce-checkout .wc_payment_methods li.wc_payment_method{border-color:#E1E8F4!important}
html body.woocommerce-checkout .wc_payment_methods li.wc_payment_method:has(>input:checked){border-color:#1050BE!important;background:#F7FAFF!important}
html body #arc-co-bar .arc-co-pr,html body #arc-co-bar .arc-co-pr strong{color:#E3191F!important;font-weight:800!important}
html body #arc-co-bar .arc-co-lt strong{color:#E3191F!important}

/* selo Compra Segura ao lado do titulo (carrinho e finalizar compra) */
html body.woocommerce-cart .whb-general-header .whb-col-center::after,html body.woocommerce-checkout .arc-co-top::after{content:'';display:block;flex:none;width:136px;height:32px;margin-left:22px;border-radius:7px;background:url(/wp-content/uploads/2026/11/compra-segura-459x108-1.png?v=1795711827) center/100% 100% no-repeat}/* selo no celular */
html body.woocommerce-cart .whb-header .whb-col-mobile::after{content:'';display:block;flex:none;width:110px;height:26px;margin-left:auto;margin-right:4px;border-radius:6px;background:url(/wp-content/uploads/2026/11/compra-segura-459x108-1.png?v=1795711827) center/100% 100% no-repeat}
html body.woocommerce-cart .whb-header .whb-col-mobile .arc-cart-title{min-width:0;flex:0 1 auto}
html body.woocommerce-cart .whb-header .whb-col-mobile .arc-cart-loc{display:block;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
@media (max-width:767px){
html body.woocommerce-checkout .arc-co-top>span{min-width:0;flex:0 1 auto;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
html body.woocommerce-checkout .arc-co-top::after{width:110px;height:26px;margin-left:auto;border-radius:6px}
}
@media (max-width:374px){
html body.woocommerce-checkout .arc-co-top>span{font-size:14px}
html body.woocommerce-checkout .arc-co-top::after{width:88px;height:21px}
html body.woocommerce-cart .whb-header .whb-col-mobile::after{width:96px;height:23px}
}@media (max-width:374px){html body.woocommerce-checkout .arc-co-top::after,html body.woocommerce-cart .whb-header .whb-col-mobile::after{border-radius:5px}}

/* faixa final: bandeiras + CNPJ (carrinho e finalizar compra) */
html body.woocommerce-cart,html body.woocommerce-checkout,html body.woocommerce-cart .website-wrapper,html body.woocommerce-checkout .website-wrapper{background:#F4F7FC!important}
html body .arc-cfoot{background:#F4F7FC;padding:6px 15px 26px;clear:both}
html body .arc-cfoot-in{max-width:calc(var(--wd-container-w,1400px) - 30px);margin:0 auto;box-sizing:border-box;background:#fff;border:1px solid #E1E8F4;border-radius:16px;box-shadow:0 4px 18px rgba(6,37,111,.07);padding:16px 22px;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:14px 28px}
html body .arc-cfoot-h{display:block;margin:0 0 9px;color:#06256F;font:800 13px/1.2 'Lexend Deca',sans-serif;letter-spacing:.01em}
html body .arc-cfoot-tiles{display:flex;flex-wrap:wrap;gap:6px}
html body .arc-cf-t{display:inline-flex;align-items:center;justify-content:center;gap:5px;width:50px;height:32px;box-sizing:border-box;background:#fff;border:1px solid #E1E8F4;border-radius:7px;overflow:hidden}
html body .arc-cf-t svg{display:block;width:100%;height:100%}
html body .arc-cf-tw{width:auto;padding:0 9px}
html body .arc-cf-tw img,html body .arc-cf-tw svg{width:18px;height:18px}
html body .arc-cf-tw b{color:#06256F;font:700 12.5px/1 'Lexend Deca',sans-serif}
html body .arc-cfoot-co{color:#5B6780;font-size:13.5px;line-height:1.5;text-align:right}
html body .arc-cfoot-co strong{color:#06256F;font-weight:800}
@media (max-width:767px){
html body .arc-cfoot{padding:4px 12px 22px}
html body .arc-cfoot-in{flex-direction:column;align-items:center;text-align:center;padding:14px 12px;gap:12px}
html body .arc-cfoot-h{text-align:center}
html body .arc-cfoot-tiles{justify-content:center;gap:5px}
html body .arc-cf-t{width:44px;height:29px}
html body .arc-cf-tw{width:auto;padding:0 7px}
html body .arc-cfoot-co{text-align:center;font-size:13px}
html body .arc-cfoot-sep{display:none}
html body .arc-cfoot-cnpj{display:block}
}@media (min-width:768px){html body.woocommerce-checkout .arc-cfoot{padding-bottom:98px}}
html body.woocommerce-checkout .arc-cfoot-in{max-width:1070px}

/* ===== desktop: carrinho com topo igual ao finalizar compra; selo alinhado com o resumo ===== */
@media (min-width:1025px){
html body.woocommerce-cart .arc-tbar{display:none!important}
html body.woocommerce-cart .whb-header .whb-header-bottom{display:none!important}
html body.woocommerce-cart .whb-general-header .whb-col-left,html body.woocommerce-cart .whb-general-header .whb-col-right{display:none!important}
html body.woocommerce-cart .whb-general-header .whb-col-center{flex:1 1 100%!important;max-width:100%!important;width:100%!important;justify-content:flex-start!important;padding:0!important}
html body.woocommerce-cart .whb-general-header .whb-general-header-inner,html body.woocommerce-cart .whb-general-header .whb-flex-row{height:64px!important;max-height:64px!important}
html body.woocommerce-cart .whb-general-header .whb-col-center::after{margin-left:auto!important}
html body.woocommerce-checkout .arc-co-top{padding-left:max(8px,calc((100% - 1070px) / 2 - 8px))!important;padding-right:max(12px,calc((100% - 1070px) / 2 + 15px))!important}
html body.woocommerce-checkout .arc-co-top::after{margin-left:auto!important}
}@media (min-width:1025px){html body.woocommerce-cart .whb-header{position:sticky!important;top:0;z-index:390;box-shadow:0 2px 10px rgba(6,37,111,.18)}}
/* finalizar compra: barra de topo provisoria enquanto a pagina carrega (evita o conteudo pular) */
html body.arc-checkout:not(:has(>.arc-co-top))::before{content:'Finalize sua compra';display:flex;align-items:center;position:sticky;top:0;z-index:1000;height:54px;box-sizing:border-box;padding:0 12px 0 54px;color:#fff;font:600 17px/1 'Lexend Deca',sans-serif;background:#06256F url(/wp-content/uploads/2026/11/compra-segura-459x108-1.png?v=1795711827) no-repeat right 12px center/110px 26px}
@media (max-width:374px){html body.arc-checkout:not(:has(>.arc-co-top))::before{font-size:14px;background-size:88px 21px}}
@media (min-width:1025px){html body.arc-checkout:not(:has(>.arc-co-top))::before{padding-left:calc(max(8px,(100% - 1070px) / 2 - 8px) + 46px);background-size:136px 32px;background-position:right max(12px,calc((100% - 1070px) / 2 + 15px)) center}}/* carrinho: reserva o espaco do que o JavaScript monta depois (evita a pagina pular ao carregar) */
html body.woocommerce-cart form.woocommerce-cart-form:has(.cart_item):not(:has(.arc-cart-group))::before{content:'Produtos de Arcosinop';display:block;box-sizing:border-box;height:50px;padding:12px 0;border-bottom:1px solid #eef0f4;line-height:25px;color:#06256F}
@media (max-width:1024px){
html body.woocommerce-cart .whb-header{height:60px!important}
html body.woocommerce-cart .vc_row.vc_inner:has(.cart_totals):not(.arc-sum-row){display:none!important}
}html body.woocommerce-cart .cart_totals tr.arc-pix-total th,html body.woocommerce-cart .cart_totals tr.arc-pix-total td{color:#0f8a78!important}html body.woocommerce-cart .cart_totals tr.arc-pix-total strong .amount{color:#0f8a78!important;font-weight:800}html body.woocommerce-cart .cart_totals tr.arc-pix-total small{color:#5B6780}
