/* General Free Label and Price overrides for Cart and Checkout page */
.product-thumbnail-wrapper {
    position: relative;
    display: inline-block;
}

.product-thumbnail-wrapper .ptn-free-label {
    position: absolute;
    left: 0;
    bottom: 0;
    font-size: 14px;
    color: var(--black-color, #000);
    background: var(--theme-color, #fbaf6b);
    width: 100%;
    text-align: center;
    font-weight: 600;
    padding: 2.7px 0;
    line-height: 17px;
    z-index: 1;
}

.ptn-free-item-price-wrapper {
    column-gap: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
}

.ptn-free-item-price-wrapper .ptn-old-price {
    color: #666;
    text-decoration: line-through;
    font-weight: normal;
}

.ptn-free-item-price-wrapper .ptn-new-price {
    font-weight: 600;
    color: #000;
}

/* Mobile responsive adjustments */
@media screen and (max-width: 767px) {
    .product-thumbnail-wrapper .ptn-free-label {
        font-size: 10px;
        line-height: 14px;
        padding: 1px 0;
    }
}

.ptn-free-label-checkout {
    display: inline-block;
    background: var(--theme-color, #fbaf6b);
    color: var(--black-color, #000);
    font-weight: 600;
    font-size: 11px;
    padding: 2px 6px;
    margin-left: 10px;
    border-radius: 2px;
    vertical-align: middle;
    line-height: 1.2;
}

.checkout-product-info {
    display: flex;
    align-items: center;
    column-gap: 15px;
}

.checkout-product-thumbnail {
    width: 60px;
    flex-shrink: 0;
}

.checkout-product-thumbnail img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.checkout-product-thumbnail .product-thumbnail-wrapper .ptn-free-label {
    font-size: 10px;
    line-height: 13px;
    padding: 1px 0;
}

.checkout-product-total-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 15px;
    width: 100%;
}

.checkout-product-remove {
    flex-shrink: 0;
}

.checkout-product-remove a.remove {
    font-size: 1.5em;
    height: 24px;
    width: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: red !important;
    text-decoration: none;
    border: 1px solid red;
    line-height: 1;
}

.checkout-product-remove a.remove:hover {
    background-color: red !important;
    color: #fff !important;
}

.woocommerce-checkout-review-order-table tr.removing {
    opacity: 0.5;
}
