/******************** Boutique ***********************************************/
.flag-storage {
    position: absolute !important;
    font-family: var(--font-body) !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    background: var(--color-content-primary-grad);
    right: 10px !important;
    padding-right: .8rem !important;
    padding-left: .8rem !important;
    border-radius: 2rem !important;
    text-align: center;
}


/***** My account > Redemption *************************************************/
.woocommerce-account .l-section-h.i-cf {
    padding-top: 0 !important;
}

.woocommerce-MyAccount-content {
    width: 80%!important;
}

.woocommerce .blockUI.blockOverlay {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    opacity: 60%;
    z-index: 99;
}

.woocommerce .blockUI.blockOverlay:before{
    height: 3em;
    width: 3em;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-left: -0.5em;
    margin-top: -0.5em;
    display: block;
    content: "";
    -webkit-animation: none;
    -moz-animation: none;
    animation: none;
    background: url("../../woocommerce/assets/images/select2-spinner.gif") center center;
    background-size: cover;
    line-height: 1;
    text-align: center;
    font-size: 2em;
}

.redemption-form {
    display: inline-flex;
    gap: 30px;
}

.redemption-block {
    display: inline-block;
}

.redemption-block .cart_totals {
    margin-bottom: 0 !important;
}

.rib {
    display: inline-flex;
    align-items: center;
    gap: 30px;
}

#ribToUploadLabel {
    width: auto;
}

.iban {
    margin-bottom: 40px;
    max-width: 350px;
}

.warning-msg {
    margin-top: 1.5rem!important;
    margin-bottom: 0!important;
    padding: 10px!important;
}

.redemption-cart th {
    text-align: left!important;
}

.redemption-cart .product-thumbnail {
    padding: 0.2rem !important;
}

.redemption-cart tfoot th {
    border: none !important;
    padding: 0;
}

.redemption-cart .warning-msg {
    text-align: left !important;
    margin-top: 2rem !important;
}

.woocommerce .shop_table .product-certificat {
    text-align: center !important;
}

/***** My account > Mes Produits Stockés *************************************************/
.my-storage {
    width: 100%!important;
}

.woocommerce .my-storage th.product-buttons,
.my-storage .product-price {
    text-align: center !important;
}

.my-storage .responsive-label {
    display: none;
}

.storage-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.my-storage .storage-buttons div {
    margin: 3px;
    width: 100px;
    max-width: 100% !important;
    border: 1px solid var(--color-content-primary);
    border-radius: 5px;
    padding: 10px;
    text-transform: uppercase;
    background: var(--color-content-primary);
}

.my-storage .storage-buttons div:hover {
    background-color: var(--color-content-primary) !important;
}

.woocommerce .shop_table.my-storage thead th {
    text-align: center !important;
    color: black;
    opacity: 1 !important;
    padding: 0.3rem !important;
    line-height: 1.3 !important;
    font-weight: bold !important;
}

th.product-price-bought,
th.product-price-metal,
th.product-price-sell {
    min-width: 110px !important;
}

.my-storage a {
    font-size: 1rem;
}

.my-storage td {
    padding: 0.2rem;
    text-align: center;
}

.my-storage td.product-name:last-child {
    text-align: center!important;
}

.my-storage th.product-loomis {
    width: 22rem !important;
    padding: 0 5px 0.6rem;
    text-align: center!important;
}

.my-storage th.product-id {
    width: 60rem !important;
    padding: 0 5px 0.6rem;
    text-align: center!important;
}

.my-storage th.product-order {
    width: 10rem !important;
    padding: 0 5px 0.6rem;
    text-align: center!important;
}

.my-storage th.product-certificat {
    width: 22rem !important;
    padding: 0 5px 0.6rem;
    text-align: center!important;
}

.my-storage a {
    font-weight: normal;
}

@media (max-width: 1024px) {
    .redemption-block .cart-collaterals {
        margin-top: 30px;
    }
}

@media screen and (max-width:767px) {
    .woocommerce-MyAccount-content {
        width: 100% !important;
    }
    
    .woocommerce .shop_table.cart.my-storage .product-price {
        display: flex !important;
        flex-direction: row;
        margin-left: 20px;
        width: 100%;
    }    
    .my-storage .responsive-label {
        display: block;
        width: 125px;
    }
    
    .my-storage .product-quantity  {
        padding: 0 1rem .4rem 0!important;
    }
    
    .my-storage .product-thumbnail {
        display: none!important;
    }
    
    .my-storage .storage-buttons {
        display: flex !important;
        flex-direction: row;
        gap: 20px;
        width: 100%;
    }

    .my-storage .storage-buttons button {
        width: 33%;
    }
    
    .redemption-block .cart-subtotal th {
        width: auto;
        padding-top: 0!important;
    }

    .redemption-block td:last-child  {
        padding: 0!important;
    }
}