/* Lojas Fortale - carrinho */
body.woocommerce-cart{--lfc-ink:#14213d;--lfc-mut:#5b6475;--lfc-line:#e3e8f2;--lfc-bg:#f4f6fb}
body.woocommerce-cart #main,body.woocommerce-cart #content{background:var(--lfc-bg)}
body.woocommerce-cart .woocommerce.row{max-width:1220px;margin:0 auto;padding:22px 0 8px}
body.woocommerce-cart .woocommerce.row.row-divided>.col+.col{border-left:0}

/* cabecalho */
.lfc-head{display:flex;align-items:baseline;gap:10px;margin:0 0 12px}
.lfc-title{margin:0;font-size:26px;font-weight:800;color:var(--lfc-ink)}
.lfc-count{font-size:14px;color:var(--lfc-mut);font-weight:600}

/* itens como cartoes */
body.woocommerce-cart .cart-wrapper{background:transparent}
body.woocommerce-cart table.shop_table.cart{display:block;border:1px solid var(--lfc-line);border-radius:16px;background:#fff;box-shadow:0 4px 18px rgba(20,33,61,.06);margin:0 0 14px;overflow:hidden}
body.woocommerce-cart table.shop_table.cart thead{display:none}
body.woocommerce-cart table.shop_table.cart tbody{display:block}
body.woocommerce-cart table.shop_table.cart tr{display:block}
body.woocommerce-cart table.shop_table.cart td{display:block;border:0;padding:0;background:none}
body.woocommerce-cart table.shop_table.cart td::before{display:none!important}
body.woocommerce-cart table.shop_table.cart tr.cart_item{display:grid;grid-template-columns:96px minmax(0,1fr) auto;grid-template-areas:"thumb name remove" "thumb qty sub";gap:8px 16px;padding:18px 20px;border-bottom:1px solid var(--lfc-line);align-items:center}
body.woocommerce-cart td.product-thumbnail{grid-area:thumb}
body.woocommerce-cart td.product-thumbnail img{width:96px;height:96px;object-fit:contain;border:1px solid var(--lfc-line);border-radius:12px;background:#fff;padding:6px}
body.woocommerce-cart td.product-name{grid-area:name;font-weight:700;line-height:1.35;color:var(--lfc-ink)}
body.woocommerce-cart td.product-name a{color:var(--lfc-ink);text-decoration:none}
body.woocommerce-cart td.product-name .mobile-product-price{margin-top:4px;font-weight:600;color:var(--lfc-mut)}
body.woocommerce-cart td.product-price{display:none!important}
body.woocommerce-cart td.product-quantity{grid-area:qty}
body.woocommerce-cart td.product-subtotal{grid-area:sub;text-align:right;font-size:19px;font-weight:800;color:var(--ae-primary,#0033A0)}
body.woocommerce-cart td.product-remove{grid-area:remove;text-align:right;align-self:start}
body.woocommerce-cart td.product-remove a.remove{display:inline-block;width:auto;height:auto;line-height:1.2;font-size:0!important;background:none!important;color:var(--lfc-mut)!important;border:0;padding:2px 0;position:static}
body.woocommerce-cart td.product-remove a.remove::after{content:"Excluir";font-size:13px;font-weight:600;text-decoration:underline;color:var(--lfc-mut)}
body.woocommerce-cart td.product-remove a.remove:hover::after{color:#b3261e}
body.woocommerce-cart td.actions{display:flex;justify-content:flex-end;padding:12px 20px}
body.woocommerce-cart td.actions .button{margin:0;border-radius:10px;font-size:13px}

/* aviso de frete */
.lfc-ship{display:flex;align-items:center;gap:14px;background:#fff;border:1px solid var(--lfc-line);border-radius:14px;padding:14px 18px;margin:0 0 14px}
.lfc-ship__ico{flex:none;display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:12px;background:#fff4d6;color:#8a6200}
.lfc-ship__ico .ae-ico{width:22px;height:22px}
.lfc-ship__txt strong{display:block;color:var(--lfc-ink);font-size:15px}
.lfc-ship__txt small{display:block;color:var(--lfc-mut);font-size:13px;line-height:1.4}

/* escolha de pagamento */
.lfc-pay{background:#fff;border:1px solid var(--lfc-line);border-radius:16px;padding:20px;margin:0 0 14px;box-shadow:0 4px 18px rgba(20,33,61,.06)}
.lfc-pay__t{margin:0 0 14px;font-size:19px;font-weight:800;color:var(--lfc-ink)}
.lfc-pay__grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}
.lfc-opt{position:relative;display:flex;flex-direction:column;gap:4px;border:2px solid var(--lfc-line);border-radius:14px;padding:16px;cursor:pointer;background:#fff;margin:0;transition:border-color .15s,box-shadow .15s,background .15s}
.lfc-opt input{position:absolute;opacity:0;pointer-events:none}
.lfc-opt.is-on,.lfc-opt:has(input:checked){border-color:var(--ae-primary,#0033A0);background:#f3f6ff;box-shadow:0 0 0 3px rgba(0,51,160,.10)}
.lfc-opt__top{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.lfc-opt__top strong{font-size:16px;color:var(--lfc-ink)}
.lfc-opt__dot{flex:none;width:18px;height:18px;border-radius:50%;border:2px solid #aab3c5;background:#fff;box-sizing:border-box}
.lfc-opt.is-on .lfc-opt__dot,.lfc-opt:has(input:checked) .lfc-opt__dot{border:5px solid var(--ae-primary,#0033A0)}
.lfc-opt__tag{margin-left:auto;font-size:11.5px;font-weight:800;color:#0b6b3a;background:#e4f6ec;border-radius:999px;padding:3px 9px}
.lfc-opt__line{font-size:13px;color:var(--lfc-mut)}
.lfc-opt__price{margin-top:6px;font-size:22px;font-weight:800;color:var(--lfc-ink)}
.lfc-opt__price .woocommerce-Price-amount{color:inherit}
.lfc-opt__save{font-size:13px;font-weight:700;color:#0b6b3a}
.lfc-opt__save--n{color:var(--lfc-mut);font-weight:600}
.lfc-opt__brands{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.lfc-opt__brands img{display:block;height:18px;width:auto;padding:3px 6px;border:1px solid var(--lfc-line);border-radius:6px;background:#fff;box-sizing:content-box}
.lfc-pay__hint{margin:12px 0 0;font-size:12.5px;color:var(--lfc-mut)}

/* resumo */
body.woocommerce-cart .cart-collaterals .cart-sidebar{background:#fff;border:1px solid var(--lfc-line);border-radius:16px;padding:20px;box-shadow:0 4px 18px rgba(20,33,61,.06)}
body.woocommerce-cart .cart_totals>h2,body.woocommerce-cart .cart_totals .widget-title,body.woocommerce-cart .cart-collaterals h2{font-size:18px;font-weight:800;color:var(--lfc-ink)}
body.woocommerce-cart .cart_totals .order-total .amount{font-size:26px;font-weight:800;color:var(--lfc-ink)}
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button{display:block;width:100%;margin:14px 0 0;border:0;border-radius:12px;background:var(--ae-accent,#FFC400)!important;color:#0b1b4d!important;font-size:17px;font-weight:800;text-transform:none;letter-spacing:0;padding:15px 18px;line-height:1.2;box-shadow:0 6px 16px rgba(255,196,0,.35)}
body.woocommerce-cart .wc-proceed-to-checkout .checkout-button:hover{filter:brightness(.96)}

/* rodape de confianca */
.lfc-foot{grid-column:1/-1;width:100%;margin:26px 0 0}
body.woocommerce-cart .woocommerce.row>.lfc-foot{flex:0 0 100%;max-width:100%}
.lfc-trust{background:#fff;border-top:1px solid var(--lfc-line);border-bottom:1px solid var(--lfc-line);padding:22px 15px}
.lfc-trust__list{list-style:none;margin:0 auto;padding:0;max-width:1220px;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;text-align:center}
.lfc-trust__list li{margin:0!important;display:flex;flex-direction:column;align-items:center;gap:3px}
.lfc-trust__ico{display:inline-flex;color:var(--ae-primary,#0033A0)}
.lfc-trust__ico .ae-ico{width:26px;height:26px}
.lfc-trust__list strong{font-size:14px;color:var(--lfc-ink)}
.lfc-trust__list small{font-size:12.5px;color:var(--lfc-mut)}
.lfc-safe{max-width:1220px;margin:0 auto;padding:20px 15px;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;background:#fff}
.lfc-safe__l{display:flex;align-items:center;gap:12px}
.lfc-safe__ico{display:inline-flex;width:42px;height:42px;align-items:center;justify-content:center;border-radius:12px;background:#e4f6ec;color:#0b6b3a}
.lfc-safe__ico .ae-ico{width:21px;height:21px}
.lfc-safe strong{display:block;font-size:15px;color:var(--lfc-ink)}
.lfc-safe small{display:block;font-size:12.5px;color:var(--lfc-mut)}
.lfc-safe__brands{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.lfc-safe__brands img{display:block;height:20px;width:auto;padding:4px 7px;border:1px solid var(--lfc-line);border-radius:7px;background:#fff;box-sizing:content-box}
.lfc-pixchip{font-size:13px;font-weight:800;color:#0b6b3a;border:1px solid #b9e4cb;background:#e4f6ec;border-radius:7px;padding:5px 11px}
.lfc-more{max-width:1220px;margin:0 auto;padding:0 15px 24px;background:#fff}
.lfc-more summary{cursor:pointer;list-style:none;text-align:center;font-size:13.5px;font-weight:700;color:var(--lfc-mut);padding:12px 0;border-top:1px solid var(--lfc-line)}
.lfc-more summary::-webkit-details-marker{display:none}
.lfc-more summary::after{content:" ▾"}
.lfc-more[open] summary::after{content:" ▴"}
.lfc-more__nav{display:flex;flex-wrap:wrap;justify-content:center;gap:10px 22px;padding:10px 0}
.lfc-more__nav a{font-size:14px;color:var(--ae-primary,#0033A0);text-decoration:none}
.lfc-more__nav a:hover{text-decoration:underline}
.lfc-more__legal{margin:8px 0 0;text-align:center;font-size:12.5px;color:var(--lfc-mut);line-height:1.5}


@media (max-width:849px){
body.woocommerce-cart .woocommerce.row{padding:14px 0 4px}
.lfc-title{font-size:22px}
body.woocommerce-cart table.shop_table.cart tr.cart_item{grid-template-columns:76px minmax(0,1fr) auto;padding:14px;gap:8px 12px}
body.woocommerce-cart td.product-thumbnail img{width:76px;height:76px}
body.woocommerce-cart td.product-subtotal{font-size:17px}
.lfc-pay__grid{grid-template-columns:1fr}
.lfc-pay{padding:16px}
.lfc-trust__list{grid-template-columns:repeat(2,minmax(0,1fr))}
.lfc-trust__list li:last-child{grid-column:1/-1}
.lfc-safe{flex-direction:column;align-items:flex-start}
}
/* corrige cartao duplo do tema */
body.woocommerce-cart .woocommerce-cart-form{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:0!important}
body.woocommerce-cart .woocommerce.row>.col>.col-inner,body.woocommerce-cart .woocommerce.row>.col{background:transparent;border:0;box-shadow:none}
body.woocommerce-cart .cart-collaterals .cart-sidebar{padding:20px!important;border:1px solid var(--lfc-line)!important;border-radius:16px}
body.woocommerce-cart .page-title,body.woocommerce-cart .checkout-page-title,body.woocommerce-cart .page-title-inner{display:none!important}
body.woocommerce-cart .cart_totals .shop_table{border:0}
@media (max-width:849px){body.woocommerce-cart .cart-collaterals .cart-sidebar{padding:16px!important}}
/* celular estreito */
.lfc-count{white-space:nowrap}
@media (max-width:549px){
body.woocommerce-cart table.shop_table.cart tr.cart_item{grid-template-columns:72px minmax(0,1fr) auto;grid-template-areas:"thumb name name" "thumb remove remove" "qty qty sub";gap:6px 12px;align-items:center}
body.woocommerce-cart td.product-thumbnail img{width:72px;height:72px}
body.woocommerce-cart td.product-name{font-size:14px}
body.woocommerce-cart td.product-remove{text-align:left;align-self:start}
body.woocommerce-cart td.product-quantity{margin-top:4px}
body.woocommerce-cart td.product-subtotal{margin-top:4px}
body.woocommerce-cart td.actions{justify-content:stretch;padding:12px 14px}
body.woocommerce-cart td.actions .button{flex:1}
.lfc-opt__price{font-size:20px}
}
/* lfc-opt */
.lfc-pay>summary.lfc-pay__t{cursor:pointer;list-style:none;display:flex;align-items:center;gap:8px;margin:0}
.lfc-pay>summary::-webkit-details-marker{display:none}
.lfc-pay>summary small{font-weight:500;color:#5b6475;font-size:13px}
.lfc-pay>summary::after{content:'';width:9px;height:9px;border-right:2px solid #5b6475;border-bottom:2px solid #5b6475;transform:rotate(45deg);margin-left:auto;transition:transform .2s;flex:none}
.lfc-pay[open]>summary::after{transform:rotate(-135deg)}
.lfc-pay[open]>summary{margin-bottom:14px}
