/*
Theme Name: The7 Child
Theme URI: https://the7.io/
Description: Child theme for The7 custom WooCommerce cart overrides.
Author: Dream-Theme
Author URI: https://dream-theme.com/
Template: dt-the7
Version: 1.0.0
Text Domain: the7-child
*/

.woocommerce-cart .woocommerce-cart-wrap {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 36px;
}

.woocommerce-cart .woocommerce-cart-wrap .woocommerce-cart-form {
    flex: 1 1 760px;
    min-width: 0;
}

.woocommerce-cart .woocommerce-cart-wrap .cart-collaterals {
    flex: 0 0 320px;
    width: 320px;
    max-width: 320px;
    margin-left: 0;
    padding: 30px;
}

.woocommerce-cart .woocommerce-cart-wrap .cart-collaterals .cart_totals {
    width: 100%;
}

.woocommerce-cart .cart_totals .shipping th,
.woocommerce-cart .cart_totals .shipping td {
    vertical-align: top;
}

.woocommerce-cart .cart_totals .shipping th {
    font-weight: 700;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods {
    margin: 0;
    padding: 0;
    list-style: none;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods li {
    margin: 0;
    padding: 0;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods label.the7-child-cart__shipping-label {
    display: inline;
    font-weight: 400;
}

.woocommerce-cart .cart_totals .woocommerce-shipping-methods .the7-child-cart__shipping-dash {
    font-weight: 400;
}

.woocommerce-cart .shop_table.cart {
    table-layout: fixed;
    width: 100%;
}

.woocommerce-cart .shop_table.cart th.product-thumbnail,
.woocommerce-cart .shop_table.cart td.product-thumbnail {
    width: 150px;
    padding-left: 0;
    padding-right: 6px;
    vertical-align: top;
}

.woocommerce-cart .shop_table.cart th.product-name,
.woocommerce-cart .shop_table.cart td.product-name {
    padding-left: 0;
    padding-right: 12px;
}

.woocommerce-cart .shop_table.cart th.product-subtotal,
.woocommerce-cart .shop_table.cart td.product-subtotal {
    width: 150px;
    text-align: right;
    white-space: nowrap;
    vertical-align: top;
}

.woocommerce-cart .shop_table.cart td.product-name > a {
    display: none !important;
}

.woocommerce-cart .shop_table.cart td.product-name {
    font-size: 15px;
    line-height: 1.35;
    word-break: normal;
    overflow-wrap: break-word;
}

.woocommerce-cart .shop_table.cart .the7-child-cart__product-name {
    display: inline-block;
    margin-bottom: 10px;
    font-size: 21px;
    font-weight: 700;
    line-height: 1.2;
    word-break: normal;
    overflow-wrap: anywhere;
}

.woocommerce-cart .shop_table.cart td.product-name dl.variation,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta,
.woocommerce-cart .shop_table.cart td.product-name p,
.woocommerce-cart .shop_table.cart td.product-name div {
    font-size: inherit;
    line-height: inherit;
}

.woocommerce-cart .shop_table.cart td.product-name dd,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta li,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta-item {
    margin-bottom: 8px;
    font-weight: 700;
}

.woocommerce-cart .shop_table.cart td.product-name dt,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta strong,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta-item strong {
    display: inline;
    font-weight: 400;
}

.woocommerce-cart .shop_table.cart td.product-name dd p,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta p {
    font-weight: 700;
}

.woocommerce-cart .shop_table.cart td.product-name dd .amount,
.woocommerce-cart .shop_table.cart td.product-name dd .woocommerce-Price-amount,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta .amount,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta .woocommerce-Price-amount,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta .tm-epo-price,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta .tc-price,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta .price {
    color: #d70000;
}

.woocommerce-cart .shop_table.cart td.product-name dd .amount bdi,
.woocommerce-cart .shop_table.cart td.product-name dd .woocommerce-Price-amount bdi,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta .amount bdi,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta .woocommerce-Price-amount bdi,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta .tm-epo-price .amount,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta .tm-epo-price .woocommerce-Price-amount,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta .tc-price .amount,
.woocommerce-cart .shop_table.cart td.product-name .wc-item-meta .tc-price .woocommerce-Price-amount {
    color: #d70000;
}

.single-product .tm-extra-product-options .tc-price,
.single-product .tm-extra-product-options .tm-epo-price,
.single-product .tm-extra-product-options .amount,
.single-product .tm-extra-product-options .woocommerce-Price-amount,
.single-product .tm-extra-product-options .tc-price .amount,
.single-product .tm-extra-product-options .tc-price .woocommerce-Price-amount,
.single-product .tm-extra-product-options .tm-epo-price .amount,
.single-product .tm-extra-product-options .tm-epo-price .woocommerce-Price-amount {
    color: #d70000 !important;
}

.woocommerce-cart .shop_table.cart .the7-child-cart__thumb-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.woocommerce-cart .shop_table.cart .the7-child-cart__actions {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.woocommerce-cart .shop_table.cart .the7-child-cart__action-link {
    color: #1f94d1;
    text-decoration: underline;
    line-height: 1.35;
}

.woocommerce-cart .shop_table.cart .the7-child-cart__action-link--edit {
    padding-bottom: 4px;
    margin-bottom: 4px;
    border-bottom: 1px dotted #1f94d1;
}

.woocommerce-cart .shop_table.cart .the7-child-cart__action-link:hover,
.woocommerce-cart .shop_table.cart .the7-child-cart__action-link:focus {
    color: #1f94d1;
    text-decoration: underline;
}

.product:not(.elementor-location-single) table.variations,
.elementor-widget table.variations {
    display: none;
}

.single-product .summary > .price,
.single-product .summary form.cart table.variations,
.single-product .summary form.cart .reset_variations,
.single-product .summary form.cart .woocommerce-variation-price,
.single-product .summary form.cart .woocommerce-variation-availability,
.single-product .summary .cpf-type-variations,
.single-product .summary .tm-epo-reset-variation,
.single-product .summary .tc-epo-element-single-variation,
.single-product .summary .single_variation > .price,
.single-product .summary .single_variation_wrap > .woocommerce-variation {
    display: none !important;
}

@media (max-width: 767px) {
    .woocommerce-cart .woocommerce-cart-wrap {
        gap: 24px;
    }

    .woocommerce-cart .woocommerce-cart-wrap .woocommerce-cart-form,
    .woocommerce-cart .woocommerce-cart-wrap .cart-collaterals {
        flex-basis: 100%;
        width: 100%;
        max-width: none;
    }

    .woocommerce-cart .woocommerce-cart-wrap .cart-collaterals {
        padding: 20px;
    }

    .woocommerce-cart .shop_table.cart th.product-thumbnail,
    .woocommerce-cart .shop_table.cart td.product-thumbnail,
    .woocommerce-cart .shop_table.cart th.product-subtotal,
    .woocommerce-cart .shop_table.cart td.product-subtotal {
        width: auto;
    }

    .woocommerce-cart .shop_table.cart td.product-name {
        font-size: 16px;
    }

    .woocommerce-cart .shop_table.cart .the7-child-cart__product-name {
        font-size: 20px;
    }
}
