/*
Theme Name: Avada Child
Description: Child theme for Avada theme
Author: ThemeFusion
Author URI: https://theme-fusion.com
Template: Avada
Version: 1.0.0
Text Domain:  Avada
*/


/* CUSTOM BY TWINBI 09/2023 */
/* PAGE PANIER*/
.table-free-shipping{
    width:100%;
}
.table-free-shipping td{
    padding-top: 30px;
}
.table-free-shipping span{
    text-transform:uppercase;
}
.table-free-shipping span span{
    font-weight:bold;
}
.table-free-shipping a{
    margin-left:10px;
    text-decoration:underline;
}
.table-free-shipping td > div{
    display:flex;
    align-items:center;
    flex-wrap: wrap;
}
.button_update_cart,
.free_shipping_notice {
    flex: 1;
}
.button_update_cart{
    text-align:right;
    max-width: 280px;
}
.cart_totals table th {
    width: 100px;
    padding-bottom: 0px;
}
.cart_totals table td{
    width:calc(100% - 100px);
    text-align:left;
    padding-bottom:0;
}
.cart_totals .cart-subtotal td, .cart_totals .total td{
    text-align:left;
}
.woocommerce-shipping-totals.shipping th{
    vertical-align:top;
    padding-top:20px;
}
#shipping_method{
    text-align:left;
    margin-bottom:20px;
}
#shipping_method input[type=radio]{
    margin-left:0;
    margin-right:10px;
}
.wc-proceed-to-checkout{
    text-align:right;
}
.cart-collaterals .cart_totals .checkout-button{
    float:none;
}
.custom_cart {
    color:#9e9e9e;
}
#shipping_method li label[for*='_chrono']:before {
    top: 4px;
    height: 21px;
}
@media (max-width:991px){
    .table-free-shipping a{
        display:block;
        margin-left:0;
    }
}
@media (max-width:767px) {
    .table-free-shipping td > div {
        display: block;
    }

    .shop_table_responsive.woocommerce-cart-form__contents tbody tr.avada-cart-actions {
        padding: 0;
        display: none
    }

    .button_update_cart {
        max-width: 100%;
        text-align: center;
        margin-top: 20px;
    }

    .free_shipping_notice {
        text-align: center;
    }

    .wc-proceed-to-checkout {
        text-align: center;
        margin-top: 20px;
    }

    .shop_table_responsive.woocommerce-cart-form__contents tbody tr td {
        display: inline-block !important;
        width: auto;
        padding: 0 5px;
    }

    .shop_table_responsive.woocommerce-cart-form__contents tbody tr td.product-name {
        width: calc(100% - 300px);
        min-width: 80px;
        display: inline-block;
        padding: 0;
        line-height: normal;
        padding-right: 10px;
    }

    .shop_table_responsive.woocommerce-cart-form__contents .product-thumbnail {
        width: 100%;
    }

    .shop_table_responsive.woocommerce-cart-form__contents .product-info {
        margin-top: 0;
        font-size: 13px;
        min-width: unset;
    }

}
@media (max-width:467px){
    .shop_table_responsive.woocommerce-cart-form__contents .product-info{
        font-size: 11px;
    }
    .shop_table .product-quantity .quantity {
        transform: scale(0.7);
        margin: 0 -10px;
    }

    .shop_table_responsive.woocommerce-cart-form__contents tbody tr td.product-price,
    .shop_table_responsive.woocommerce-cart-form__contents tbody tr td.product-quantity,
    .shop_table_responsive.woocommerce-cart-form__contents tbody tr td.product-subtotal {
        font-size: 11px;
        padding:0;
    }
}

/*PAGE CHECKOUT*/
.woocommerce-error a{
    color:white;
    text-decoration:underline;
}
.wcpay-upe-element.StripeElement  {
    background:#fff!important;
}
.container-border{
    border:1px solid var(--sep_color);
    padding:20px;
}
.container-recap h3#order_review_heading{
    font-size:22px!important;
    line-height:normal!important;
    font-weight:bold;
}
.container-address h3#ship-to-different-address span{
    font-size:18px;
    vertical-align:middle
}
.container-address h3#ship-to-different-address input{
    width: 20px;
    height: 20px;
}
.checkout #order_review .shop_table{
    width:100%;

}
.checkout #order_review .shop_table th {
    padding: 0!important;
    text-align: left;
    width: 100px!important;
}

.checkout #order_review .shop_table  td {
    width: calc(100% - 100px);
}

.checkout #order_review .shop_table th.product-total{
    text-align:right;
}
.checkout #order_review .shop_table tbody .product-thumbnail{
    width:40px;
    margin-right: 10px;
}

.shipp_title {
    font-weight: bold;
    display:block;
    margin-bottom:10px;
}
#order_review #shipping_method li{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    margin-bottom:10px;
    align-items: flex-start;
}
#order_review #shipping_method li input{
    margin-top:5px;
}
#order_review #shipping_method li label{
    width:90%;
}
#order_review #shipping_method li .pickup-relay-link{
    width:100%;
    flex:1;
    flex-basis:100%;
}
#order_review .shop_table .order-total strong .woocommerce-Price-amount{
    display:block;
    font-weight:bold;
}
#order_review .shop_table .order-total th{
    font-weight:bold;
    vertical-align: top;
    padding-top: 4px!important;
}
#order_review .shop_table .order-total .includes_tax span,
#order_review .shop_table .order-total .includes_tax{
    font-size:13px;
}
#order_review .custom_cart{
    font-size:11px;
    line-height:12px;
}
#order_review .product-info {
    line-height:16px;
}
#order_review .product-info a{
    color:var(--awb-color3);
    font-size:12px;
}
#order_review .product-info .product-quantity{
    font-size:12px;
}
.woocommerce-checkout-payment{
    background:var(--form_bg_color);
    padding:20px;
    margin-top:30px;
}
.place-order button{
    float:right;
}
@media (max-width:991px){
    .container-recap{
        margin-top:30px;
    }
}
/*PAGE CATEGORIE*/
.customize_product {
    width: 100px;
    height: 100px;
    overflow: hidden;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index:99;
}
.customize_product::before,
.customize_product::after {
    border-top-color: transparent;
    border-right-color: transparent;
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid #0d0032;
}
.customize_product::before {
    top: 0;
    left: 0;
}
.customize_product::after {
    bottom: 0;
    right: 0;
}
.customize_product span {
    position: absolute;
    display: block;
    width: 150px;
    font-size:8px;
    padding: 5px;
    background-color: var(--primary_color);
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    left: -18px;
    top: 35px;
    transform: rotate(45deg);
    text-align: center;
}
.customize_product {
    width: 100px;
    height: 100px;
    overflow: hidden;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index:99;
}
.customize_product::before,
.customize_product::after {
    border-top-color: transparent;
    border-right-color: transparent;
    position: absolute;
    z-index: -1;
    content: '';
    display: block;
    border: 5px solid #0d0032;
}
.customize_product::before {
    top: 0;
    left: 0;
}
.customize_product::after {
    bottom: 0;
    right: 0;
}
.customize_product span {
    position: absolute;
    display: block;
    width: 150px;
    font-size: 10px;
    padding: 5px;
    background-color: var(--primary_color);
    box-shadow: 0 5px 10px rgba(0,0,0,.1);
    color: #fff;
    text-shadow: 0 1px 1px rgba(0,0,0,.2);
    text-transform: uppercase;
    left: -17px;
    top: 31px;
    transform: rotate(45deg);
    text-align: center;
}
