/**
 * Description: Styling sheet for Hex Custom Cart page
 * Author: WorkerBee.TV
 * Date created: January 21, 2025
 * @package Hex
 */

.wb-custom-cart-tbl > thead > tr,
.wb-custom-cart-tbl > tbody > tr {
    display: flex;
    width: 100%;
}

.wb-custom-cart-tbl > thead > tr > th.product-name,
.wb-custom-cart-tbl > tbody > tr > td.product-name {
    width: 55%;
}

.wb-custom-cart-tbl > thead > tr > th.product-quantity,
.wb-custom-cart-tbl > tbody > tr > td.product-quantity {
    width: 30%;
}

.wb-custom-cart-tbl > thead > tr > th.product-subtotal,
.wb-custom-cart-tbl > tbody > tr > td.product-subtotal {
    font-size: 16px;
    font-weight: 700;
    width: 15%;
}

.wb-custom-cart-tbl > thead > tr > th.product-name,
.wb-custom-cart-tbl > thead > tr > th.product-quantity,
.wb-custom-cart-tbl > thead > tr > th.product-subtotal {
    font-size: 18px;
    font-weight: 900;
}

table.shop_table.wb-custom-cart-tbl > tbody > tr > td {
    padding-top: 1.2rem;
}

table.cart.wb-custom-cart-tbl img {
    border-radius: 8px;
    height: 80px;
    object-fit: cover;
    width: 80px;
}

.wb-custom-cart-tbl > tbody > tr > td.product-name {
    font-size: 16px;
}

.wb-custom-cart-tbl > tbody > tr > td.product-name .woocommerce-Price-amount.amount{
    font-size: 14px;
    font-weight: 400;
}

.wb-custom-cart-item-qty {
    border: 1px solid #B4B4B4;
    border-radius: 8px;
    padding: 4px 22px;
    margin-right: 1.8rem;
}

/*Remove the input type=number arrows*/
.wb-custom-cart-item-qty input[type="number"]::-webkit-inner-spin-button,
.wb-custom-cart-item-qty input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.wb-custom-cart-item-qty.quantity .qty {
    border: none;
    font-size: 14px;
    width: 2.5rem;
}

.wb-custom-cart-item-qty.quantity .qty:focus-visible {

}

.wb-custom-cart-item-qty input[type="number"] {
    -moz-appearance: textfield; /* For Firefox */
}

button.wb-cart-qty-decrement,
button.wb-cart-qty-increment {
    border: none;
    background-color: transparent;
    padding: 0;
}

.woocommerce .wb-custom-cart-form a.remove:hover {
    background-color: transparent;
}

/*Custom Radio button for Cart page*/
.wb-org-cart-selection input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border: 1px solid #000;
    background-color: #fff;
    border-radius: 50%;
    outline: none;
    cursor: pointer;
    position: relative;
}

/* When the radio button is checked */
.wb-org-cart-selection input[type="radio"]:checked {
    border-color: #000;
    background-color: #00ADA9;
}

.wb-org-cart-selection input[type="radio"]:checked::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background-color: #fff;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.wb-custom-cart-totals .wb-org-cart-selection label {
    align-items: center;
    display: flex !important;
    justify-content: start;
}

.wb-custom-cart-form .woocommerce-cart-form__cart-item:not(:first-of-type) td {
    border-top: none;
}

.wb-custom-cart-totals tr.cart-subtotal th {
    font-size: 14px;
    font-weight: 700;
    vertical-align: middle !important;
}

.wb-custom-cart-totals tr.cart-subtotal .woocommerce-Price-amount.amount {
    font-size: 18px;
    font-weight: 900;
}

.wb-custom-cart-totals tr.wb-cart-tax-and-discount-notice {
    font-size: 14px;
    font-weight: 400;
}

.wb-custom-cart-totals .wc-proceed-to-checkout a.checkout-button.button {
    font-size: 16px;
    font-weight: 700;
    padding: 12px 40px;
    text-decoration: none;
}

.wb-space-between-totals-and-checkout-btn {
    margin-bottom: 2rem;
}

.woocommerce .woocommerce-notices-wrapper .woocommerce-message {
    background-color: #d4edda !important;
    border-color: #c3e6cb !important;
    color: #155724;
    margin-top: 1rem;
}

.woocommerce .cart-empty.woocommerce-info,
.woocommerce .woocommerce-notices-wrapper .woocommerce-message{
    font-size: 14px;
    font-weight: 400;
}

.return-to-shop {
    padding-top: .8rem;
}

.return-to-shop a.button.wc-backward {
    font-size: 16px;
    font-weight: 700;
    padding: 12px 40px;
    text-decoration: none;
}