/* =========================================================
   ILHAS LARANJA — CARRINHO 1.2.1
   - Carrinho principal
   - Mini carrinho / carrinho lateral
   ========================================================= */

/* ---------- PÁGINA DO CARRINHO ---------- */
body.woocommerce-cart{
    background:
        radial-gradient(circle at 5% 0%,rgba(255,105,0,.13),transparent 30%),
        linear-gradient(180deg,#080808 0%,#0b0b0b 100%) !important;
    color:#f5f5f5 !important;
}

body.woocommerce-cart .site-content,
body.woocommerce-cart #content,
body.woocommerce-cart .content-area,
body.woocommerce-cart .site-main,
body.woocommerce-cart article,
body.woocommerce-cart .entry-content{
    background:transparent !important;
}

body.woocommerce-cart .content-area,
body.woocommerce-cart .site-main,
body.woocommerce-cart .entry-content{
    max-width:1280px !important;
    margin-left:auto !important;
    margin-right:auto !important;
}

body.woocommerce-cart h1,
body.woocommerce-cart .entry-title{
    color:#fff !important;
    font-size:clamp(32px,4vw,54px) !important;
    line-height:1.05 !important;
    font-weight:900 !important;
    letter-spacing:-1.2px !important;
    margin:34px 0 28px !important;
    text-transform:uppercase !important;
}

body.woocommerce-cart h1::after,
body.woocommerce-cart .entry-title::after{
    content:"";
    display:block;
    width:62px;
    height:5px;
    margin-top:13px;
    border-radius:999px;
    background:#ff6900;
}

/* tabela */
body.woocommerce-cart table.shop_table{
    width:100% !important;
    border:1px solid rgba(255,255,255,.09) !important;
    border-collapse:separate !important;
    border-spacing:0 !important;
    overflow:hidden !important;
    background:#0f0f0f !important;
    border-radius:20px !important;
    box-shadow:0 18px 55px rgba(0,0,0,.28) !important;
}

body.woocommerce-cart table.shop_table thead{
    background:#181818 !important;
}

body.woocommerce-cart table.shop_table thead th{
    color:#d7d7d7 !important;
    font-size:11px !important;
    font-weight:900 !important;
    letter-spacing:.7px !important;
    text-transform:uppercase !important;
    padding:19px 16px !important;
    border:0 !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
}

body.woocommerce-cart table.shop_table tbody td{
    color:#f6f6f6 !important;
    background:#101010 !important;
    padding:22px 16px !important;
    border:0 !important;
    border-bottom:1px solid rgba(255,255,255,.07) !important;
    vertical-align:middle !important;
}

/* imagem */
body.woocommerce-cart td.product-thumbnail{
    width:112px !important;
}
body.woocommerce-cart td.product-thumbnail img{
    width:92px !important;
    height:112px !important;
    object-fit:contain !important;
    border-radius:14px !important;
    border:1px solid rgba(255,255,255,.11) !important;
    background:#fff !important;
    box-shadow:0 8px 25px rgba(0,0,0,.25) !important;
}

/* nome + metadados */
body.woocommerce-cart td.product-name a{
    color:#fff !important;
    font-size:16px !important;
    font-weight:850 !important;
    line-height:1.38 !important;
    text-decoration:none !important;
}
body.woocommerce-cart td.product-name a:hover{
    color:#ff7a1a !important;
}
body.woocommerce-cart td.product-name dl.variation,
body.woocommerce-cart td.product-name .variation,
body.woocommerce-cart td.product-name .wc-item-meta,
body.woocommerce-cart td.product-name .wc-item-meta li{
    margin-top:9px !important;
    color:#bdbdbd !important;
    font-size:12px !important;
    line-height:1.55 !important;
}

/* preço */
body.woocommerce-cart td.product-price,
body.woocommerce-cart td.product-subtotal,
body.woocommerce-cart td.product-price .amount,
body.woocommerce-cart td.product-subtotal .amount,
body.woocommerce-cart .cart_totals .amount,
body.woocommerce-cart .order-total .amount{
    color:#ff730f !important;
    font-weight:900 !important;
    font-size:16px !important;
}

/* quantidade */
body.woocommerce-cart .quantity{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
}
body.woocommerce-cart .quantity input.qty{
    width:74px !important;
    height:48px !important;
    min-height:48px !important;
    padding:8px !important;
    border:1px solid rgba(255,255,255,.16) !important;
    border-radius:11px !important;
    background:#171717 !important;
    color:#fff !important;
    font-weight:900 !important;
    text-align:center !important;
}

/* remover */
body.woocommerce-cart td.product-remove a.remove{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:44px !important;
    height:44px !important;
    border-radius:999px !important;
    background:#171717 !important;
    color:#ff6900 !important;
    border:1px solid rgba(255,105,0,.3) !important;
    font-size:20px !important;
    transition:.2s ease !important;
}
body.woocommerce-cart td.product-remove a.remove:hover{
    background:#ff6900 !important;
    color:#fff !important;
    transform:none !important;
}

/* ações / cupom */
body.woocommerce-cart td.actions{
    background:#0c0c0c !important;
    padding:18px !important;
}
body.woocommerce-cart .coupon{
    display:flex !important;
    align-items:center !important;
    gap:10px !important;
    flex-wrap:wrap !important;
}
body.woocommerce-cart .coupon label{display:none !important}
body.woocommerce-cart .coupon input.input-text{
    width:250px !important;
    height:50px !important;
    min-height:50px !important;
    padding:0 14px !important;
    border-radius:12px !important;
    border:1px solid rgba(255,255,255,.14) !important;
    background:#171717 !important;
    color:#fff !important;
    box-sizing:border-box !important;
}

/* botões gerais */
body.woocommerce-cart button.button,
body.woocommerce-cart .button,
body.woocommerce-cart a.button,
body.woocommerce-cart input.button{
    min-height:50px !important;
    padding:13px 21px !important;
    border:1px solid #ff6900 !important;
    border-radius:12px !important;
    background:#ff6900 !important;
    color:#fff !important;
    font-size:12px !important;
    font-weight:900 !important;
    letter-spacing:.65px !important;
    text-transform:uppercase !important;
    box-shadow:none !important;
    transition:.2s ease !important;
}
body.woocommerce-cart button.button:hover,
body.woocommerce-cart .button:hover,
body.woocommerce-cart a.button:hover,
body.woocommerce-cart input.button:hover{
    background:#e85f00 !important;
    border-color:#e85f00 !important;
    transform:translateY(-1px) !important;
}
body.woocommerce-cart button.button:disabled,
body.woocommerce-cart button.button:disabled[disabled]{
    opacity:.48 !important;
    background:#353535 !important;
    border-color:#353535 !important;
    color:#aaa !important;
}

/* totais */
body.woocommerce-cart .cart-collaterals{margin-top:28px !important}
body.woocommerce-cart .cart_totals{
    float:none !important;
    width:min(100%,570px) !important;
    margin-left:auto !important;
    padding:25px !important;
    border-radius:20px !important;
    border:1px solid rgba(255,255,255,.09) !important;
    background:#101010 !important;
    box-shadow:0 18px 55px rgba(0,0,0,.24) !important;
}
body.woocommerce-cart .cart_totals h2{
    margin:0 0 16px !important;
    color:#fff !important;
    font-size:22px !important;
    font-weight:900 !important;
    text-transform:uppercase !important;
}
body.woocommerce-cart .cart_totals table{
    border:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}
body.woocommerce-cart .cart_totals table th,
body.woocommerce-cart .cart_totals table td{
    padding:14px 0 !important;
    background:transparent !important;
    color:#d9d9d9 !important;
    border:0 !important;
    border-bottom:1px solid rgba(255,255,255,.08) !important;
}
body.woocommerce-cart .wc-proceed-to-checkout{padding:18px 0 0 !important}
body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button{
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-height:58px !important;
    margin:0 !important;
    border-radius:14px !important;
    background:linear-gradient(135deg,#ff6900,#e85f00) !important;
    color:#fff !important;
    font-size:14px !important;
    font-weight:900 !important;
    letter-spacing:.7px !important;
    text-transform:uppercase !important;
}

/* ---------- MOBILE ---------- */
@media(max-width:768px){
    body.woocommerce-cart .site-main,
    body.woocommerce-cart .entry-content{
        width:100% !important;
        padding-left:14px !important;
        padding-right:14px !important;
        box-sizing:border-box !important;
    }

    body.woocommerce-cart h1,
    body.woocommerce-cart .entry-title{
        margin-top:24px !important;
        margin-bottom:20px !important;
        font-size:36px !important;
    }

    body.woocommerce-cart table.shop_table_responsive{
        border:0 !important;
        background:transparent !important;
        box-shadow:none !important;
        overflow:visible !important;
    }

    body.woocommerce-cart table.shop_table_responsive thead{
        display:none !important;
    }

    body.woocommerce-cart table.shop_table_responsive tr.cart_item{
        position:relative !important;
        display:grid !important;
        grid-template-columns:82px minmax(0,1fr) !important;
        column-gap:14px !important;
        align-items:start !important;
        margin:0 0 14px !important;
        padding:15px !important;
        border:1px solid rgba(255,255,255,.09) !important;
        border-radius:17px !important;
        background:#101010 !important;
    }

    body.woocommerce-cart table.shop_table_responsive tr.cart_item td{
        display:flex !important;
        align-items:center !important;
        justify-content:space-between !important;
        gap:12px !important;
        width:100% !important;
        padding:8px 0 !important;
        border:0 !important;
        background:transparent !important;
        text-align:right !important;
    }

    body.woocommerce-cart table.shop_table_responsive tr.cart_item td::before{
        color:#888 !important;
        font-size:10px !important;
        font-weight:900 !important;
        letter-spacing:.45px !important;
        text-transform:uppercase !important;
    }

    body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-remove{
        position:absolute !important;
        top:10px !important;
        right:10px !important;
        z-index:2 !important;
        width:auto !important;
        padding:0 !important;
    }

    body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-remove::before,
    body.woocommerce-cart table.shop_table_responsive td.product-thumbnail::before,
    body.woocommerce-cart table.shop_table_responsive td.product-name::before{
        display:none !important;
    }

    body.woocommerce-cart table.shop_table_responsive td.product-thumbnail{
        grid-column:1 !important;
        grid-row:1 !important;
        display:block !important;
        width:82px !important;
        padding:0 !important;
        text-align:left !important;
    }

    body.woocommerce-cart table.shop_table_responsive td.product-thumbnail a{
        display:block !important;
        width:82px !important;
    }

    body.woocommerce-cart table.shop_table_responsive td.product-thumbnail img{
        display:block !important;
        width:82px !important;
        height:102px !important;
        margin:0 !important;
        border-radius:11px !important;
        object-fit:contain !important;
        object-position:center !important;
    }

    body.woocommerce-cart table.shop_table_responsive td.product-name{
        grid-column:2 !important;
        grid-row:1 !important;
        display:block !important;
        min-width:0 !important;
        text-align:left !important;
        padding:0 48px 12px 0 !important;
        border-bottom:1px solid rgba(255,255,255,.07) !important;
    }

    body.woocommerce-cart table.shop_table_responsive td.product-name>a{
        display:block !important;
        color:#fff !important;
        font-size:15px !important;
        font-weight:800 !important;
        line-height:1.42 !important;
        overflow-wrap:anywhere !important;
        word-break:normal !important;
        hyphens:none !important;
    }

    body.woocommerce-cart table.shop_table_responsive td.product-name .variation,
    body.woocommerce-cart table.shop_table_responsive td.product-name dl.variation,
    body.woocommerce-cart table.shop_table_responsive td.product-name .wc-item-meta{
        display:grid !important;
        grid-template-columns:max-content minmax(0,1fr) !important;
        gap:5px 9px !important;
        width:100% !important;
        margin:11px 0 0 !important;
        padding:10px !important;
        border-radius:10px !important;
        background:#171717 !important;
        box-sizing:border-box !important;
    }

    body.woocommerce-cart table.shop_table_responsive td.product-name .variation dt,
    body.woocommerce-cart table.shop_table_responsive td.product-name .variation dd,
    body.woocommerce-cart table.shop_table_responsive td.product-name .wc-item-meta li{
        float:none !important;
        min-width:0 !important;
        margin:0 !important;
        padding:0 !important;
        font-size:12px !important;
        line-height:1.4 !important;
        overflow-wrap:anywhere !important;
    }

    body.woocommerce-cart table.shop_table_responsive td.product-price,
    body.woocommerce-cart table.shop_table_responsive td.product-quantity,
    body.woocommerce-cart table.shop_table_responsive td.product-subtotal{
        grid-column:1 / -1 !important;
    }

    body.woocommerce-cart td.actions{
        display:block !important;
        padding:14px !important;
        border-radius:14px !important;
        background:#101010 !important;
    }

    body.woocommerce-cart .coupon{
        width:100% !important;
    }

    body.woocommerce-cart .coupon input.input-text{
        width:100% !important;
        flex:1 1 100% !important;
    }

    body.woocommerce-cart .coupon button,
    body.woocommerce-cart td.actions>button.button{
        width:100% !important;
        margin-top:10px !important;
    }

    body.woocommerce-cart .cart_totals{
        width:100% !important;
        padding:18px !important;
        box-sizing:border-box !important;
    }


}

@media(max-width:380px){
    body.woocommerce-cart table.shop_table_responsive tr.cart_item{
        grid-template-columns:70px minmax(0,1fr) !important;
        column-gap:11px !important;
        padding:13px !important;
    }
    body.woocommerce-cart table.shop_table_responsive td.product-thumbnail,
    body.woocommerce-cart table.shop_table_responsive td.product-thumbnail a{
        width:70px !important;
    }
    body.woocommerce-cart table.shop_table_responsive td.product-thumbnail img{
        width:70px !important;
        height:88px !important;
    }
    body.woocommerce-cart table.shop_table_responsive td.product-name>a{
        font-size:14px !important;
    }
    body.woocommerce-cart table.shop_table_responsive td.product-name .variation,
    body.woocommerce-cart table.shop_table_responsive td.product-name dl.variation,
    body.woocommerce-cart table.shop_table_responsive td.product-name .wc-item-meta{
        grid-template-columns:1fr !important;
        gap:3px !important;
    }
}
/* Classic cart ownership: remove targets are never translucent. */
body.ilg-active.woocommerce-cart td.product-remove a.remove,body.woocommerce-cart td.product-remove a.remove{
    width:44px !important;height:44px !important;min-width:44px !important;min-height:44px !important;
    display:flex !important;align-items:center !important;justify-content:center !important;
    opacity:1 !important;color:#ff8a32 !important;background:#25201c !important;border:0 !important;
    border-radius:12px !important;font-size:26px !important;line-height:1 !important;transform:none !important;
}
body.woocommerce-cart a.remove svg{ fill:currentColor; width:20px;height:20px; }
body.woocommerce-cart a.remove:focus-visible{ outline:2px solid #ff8a32 !important;outline-offset:3px; }
body.woocommerce-cart table.shop_table,body.woocommerce-cart .cart_totals,body.woocommerce-cart .woocommerce-cart-form {border:0 !important;}
body.woocommerce-cart td.product-thumbnail img {position:static !important;float:none !important;transform:none !important;margin:0 !important;border:0 !important;object-fit:contain !important;}
body.woocommerce-cart .ilcore-cart-disclosure,body.woocommerce-cart .ilcore-coupon-disclosure {min-height:44px;padding:8px 12px;border-radius:10px;background:#241c16;color:#ffa76a;border:0;}
body.woocommerce-cart table.shop_table_responsive td.product-name .ilcore-cart-details[hidden],
body.woocommerce-cart td.actions .coupon[hidden] {display:none !important;}
body.woocommerce-cart .ilcore-cart-details {overflow-wrap:anywhere;}
body.woocommerce-cart td.product-name {overflow-wrap:anywhere;}
body.woocommerce-cart .ilg-commerce-intro h1 {font-size:clamp(26px,4vw,36px) !important;}
body.woocommerce-cart .ilg-commerce-intro {padding:20px !important;}
@media(max-width:782px){}
@media(max-width:768px){
 body.woocommerce-cart table.shop_table_responsive tr.cart_item {border:0 !important;box-sizing:border-box;}
 body.woocommerce-cart table.shop_table_responsive td.product-name {display:block !important;padding-right:48px !important;max-width:100% !important;}
 body.woocommerce-cart table.shop_table_responsive td.product-name > a {display:block !important;overflow:visible !important;-webkit-line-clamp:unset !important;}
 body.woocommerce-cart .quantity :is(input.qty,.minus,.plus) {min-height:44px !important;min-width:44px !important;}
 body.woocommerce-cart .content-area {min-width:0;}
 body.woocommerce-cart .site-main,body.woocommerce-cart .entry-content {padding-inline:8px !important;}
}
@media(min-width:769px){body.woocommerce-cart .ilcore-coupon-disclosure{display:none;}}

@media(max-width:768px){body.woocommerce-cart .woocommerce-cart-form{padding:0 !important;box-shadow:none !important;background:transparent !important;}body.woocommerce-cart table.shop_table_responsive.cart,body.woocommerce-cart table.shop_table_responsive.cart tbody{display:block !important;width:100% !important;}}
@media(max-width:768px){
 body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name {display:block !important;text-align:left !important;padding:0 48px 12px 0 !important;}
 body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name>a {display:block !important;text-align:left !important;}
 body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name .variation {display:block !important;width:100% !important;}
 body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name .variation[hidden] {display:none !important;}
 body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name .variation dt,
 body.woocommerce-cart table.shop_table_responsive tr.cart_item td.product-name .variation dd {display:block !important;float:none !important;}
 body.woocommerce-cart .quantity :is(.minus,.plus) {background:#242424 !important;color:#fff !important;border:0 !important;border-radius:10px !important;padding:0 !important;}
}
