/*
 Theme Name:   Bricks Child Theme
 Theme URI:    https://bricksbuilder.io/
 Description:  Use this child theme to extend Bricks.
 Author:       Bricks
 Author URI:   https://bricksbuilder.io/
 Template:     bricks
 Version:      1.1
 Text Domain:  bricks
*/

.woocommerce-billing-fields-custom {
    display: none !important;
}
.woocommerce-additional-fields {
    display: none !important;
}

/* Remove borders and extra padding */
.woocommerce-checkout-review-order-table {
    border: none;
    width: 100%;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
    border: none;
    padding: 10px 0;
    text-align: left;
}

/* Style product image and name container */
.wcf-product-image {
    display: flex;
    align-items: center;
}

.wcf-product-thumbnail img {
    max-width: 50px;
    max-height: 50px;
    margin-right: 10px;
}

.wcf-product-name {
    display: inline-block;
}

.product-total {
    text-align: right;
    vertical-align: middle;
}

/* Footer subtotal and total styling */
.woocommerce-checkout-review-order-table tfoot tr {
    border-top: 1px solid #e5e5e5;
}

.woocommerce-checkout-review-order-table tfoot tr th,
.woocommerce-checkout-review-order-table tfoot tr td {
    padding: 10px 0;
    font-weight: bold;
}

.wcf-product-thumbnail img {
    border-radius: 5px;
}
.wcf-product-thumbnail {
    position: relative;
}

strong.product-quantity {
    position: absolute;
    right: 5px;
    top: -5px;
    font-weight: 600;
    font-size: 12px;
    color: white;
    background-color: #2196F3;
    padding: 0px 6px;
    border-radius: 100px;
}
.woocommerce-checkout #order_review {
    border: none !important;
}
.woocommerce-checkout .shop_table tbody td {
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: #e5e5e5;
}
tr.order-total {
    font-size: larger;
}
.woocommerce-checkout .shop_table .cart-subtotal th {
    font-weight: 500 !important;
}
.woocommerce-checkout .shop_table .cart-subtotal td {
    font-weight: 500 !important;
}
.woocommerce-checkout .shop_table tfoot, .woocommerce-checkout .shop_table thead {
    border-bottom: none !important;
}