.elementor-9 .elementor-element.elementor-element-bc57b20{--display:flex;}.elementor-9 .elementor-element.elementor-element-ef11c8e .woocommerce .wc-proceed-to-checkout .checkout-button{background-color:var( --e-global-color-primary );}.elementor-9 .elementor-element.elementor-element-ef11c8e .woocommerce .wc-proceed-to-checkout .checkout-button:hover{background-color:var( --e-global-color-accent );}.elementor-9 .elementor-element.elementor-element-ef11c8e{--links-normal-color:var( --e-global-color-primary );--links-hover-color:var( --e-global-color-accent );--forms-buttons-hover-border-color:var( --e-global-color-accent );--forms-buttons-border-color:var( --e-global-color-primary );}:root{--page-title-display:none;}/* Start custom CSS */.elementor-widget-woocommerce-cart .woocommerce .cart_totals table.shop_table_responsive tbody th, .elementor-widget-woocommerce-cart .woocommerce-page .cart_totals table.shop_table_responsive tbody th {
    display: table-cell;
}
td:before
{
    display:none
}
@media (max-width: 768px) {

    /* Cart totals - svaki red kao flex */
    .cart_totals table.shop_table tr {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .cart_totals table.shop_table tr th {
        width: 50%;
        font-weight: 600;
        font-size: 14px;
        padding: 0;
    }

    .cart_totals table.shop_table tr td {
        width: 50%;
        text-align: right;
        padding: 0;
        font-size: 14px;
    }

    /* Isporuka - td ima više sadržaja, pusti ga da raste */
    .cart_totals table.shop_table tr.woocommerce-shipping-totals td {
        width: 60%;
    }

    /* Order savings redovi */
    .cart_totals table.shop_table tr.order-savings th,
    .cart_totals table.shop_table tr.order-savings-amount th {
        width: 50%;
        font-weight: 600;
    }

    .cart_totals table.shop_table tr.order-savings td,
    .cart_totals table.shop_table tr.order-savings-amount td {
        width: 50%;
        text-align: right;
    }
}

@media (max-width: 768px) {

    /* Sakrij header tabele */
    .woocommerce-cart-form table thead {
        display: none;
    }

    /* Svaki red postaje kartica */
    .woocommerce-cart-form table tbody tr.cart_item {
        display: flex;
        flex-wrap: wrap;
        background: #fff;
        border: 1px solid #eee;
        border-radius: 12px;
        padding: 16px;
        margin-bottom: 16px;
        box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        position: relative;
    }

    /* Sličica */
    .woocommerce-cart-form table tbody tr.cart_item td.product-thumbnail {
        width: 80px;
        padding: 0;
        display:block;
    }

    .woocommerce-cart-form table tbody tr.cart_item td.product-thumbnail img {
        width: 80px;
        height: 80px;
        object-fit: cover;
        border-radius: 8px;
    }

    /* Naziv proizvoda pored sličice */
    .woocommerce-cart-form table tbody tr.cart_item td.product-name {
        width: calc(100% - 100px);
        padding: 0 0 0 12px;
        font-weight: 600;
        font-size: 15px;
        display: flex;
        align-items: center;
    }

    /* Cena i subtotal -  */
    .woocommerce-cart-form table tbody tr.cart_item td.product-price,
    .woocommerce-cart-form table tbody tr.cart_item td.product-subtotal {
        width: 100%;
        padding: 12px 0 0 0;
        text-align: center;
        font-size: 14px;
    }

    /* Količina - pun red ispod */
    .woocommerce-cart-form table tbody tr.cart_item td.product-quantity {
        width: 100%;
        padding: 12px 0 0 0;
        text-align: center;
        font-size: 14px;
    }

    /* Labele iznad cene/količine/subtotala */
    .woocommerce-cart-form table tbody tr.cart_item td.product-price::before {
        content: "Cena";
        display: block;
        font-size: 11px;
        color: #999;
        margin-bottom: 4px;
    }

    .woocommerce-cart-form table tbody tr.cart_item td.product-quantity::before {
        content: "Količina";
        display: block;
        font-size: 11px;
        color: #999;
        margin-bottom: 4px;
    }

    .woocommerce-cart-form table tbody tr.cart_item td.product-subtotal::before {
        content: "Ukupno";
        display: block;
        font-size: 11px;
        color: #999;
        margin-bottom: 4px;
    }

    /* Dugme za brisanje — gore desno na kartici */
    .woocommerce-cart-form table tbody tr.cart_item td.product-remove {
        position: absolute;
        top: 12px;
        right: 12px;
        width: auto;
        padding: 0;
    }

    .woocommerce-cart-form table tbody tr.cart_item td.product-remove a {
        font-size: 18px;
        color: #ccc;
    }

    .woocommerce-cart-form table tbody tr.cart_item td.product-remove a:hover {
        color: #e74c3c;
    }
}
@media only screen and (max-width: 768px) {
    .woocommerce #content table.cart .product-thumbnail, .woocommerce table.cart .product-thumbnail, .woocommerce-page #content table.cart .product-thumbnail, .woocommerce-page table.cart .product-thumbnail {
        display: block;
    }
}
@media only screen and (max-width: 768px) {
.product-name a {
    font-size: 1.2em;
}}

@media only screen and (max-width: 768px) {
.quantity {
    justify-content: flex-end;
}}

.quantity {
    display: flex;
    align-items: center;
    gap: 8px;
    
}

.qty-btn {
    width: 32px;
    height: 32px;
    border: 1px solid #ddd;
    border-radius: 50%;
    background: #fff;
    font-size: 18px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    transition: all 0.2s;
}

.qty-btn:hover {
    background: #f0f0f0;
    border-color: #999;
}

button.qty-btn.qty-minus {
    color: #95C807;
}

button.qty-btn.qty-plus {
    color: #95C807;
}

input.qty {
    width: 50px !important;
    text-align: center;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 6px;
    font-size: 14px;
    -moz-appearance: textfield;
}

input.qty::-webkit-outer-spin-button,
input.qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.elementor-widget-woocommerce-cart .woocommerce .input-text.qty {
   
    text-align: center;
}

input#coupon_code {
    width: 40%;
}

@media only screen and (min-width: 768px) {
.elementor-widget-woocommerce-cart .woocommerce .coupon-col {
    display: flex;
    align-items: center;
}}

[type=button]:focus:not(:focus-visible), [type=submit]:focus:not(:focus-visible), button:focus:not(:focus-visible) {
    outline: none;
    color: #fff;
    background: #95c70b;
}/* End custom CSS */