/* 
Theme Name: La Quincaillerie child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: la-quincaillerie
Version: 1.0.1
Text Domain: la-quincaillerie-child
License: GNU General Public License v3 or later.
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/*
    Add your custom styles here
*/
.hide {
    display: none;
    @media (width > 1024px) {
        display: block;
    }
}
body.woocommerce-order-pay div.elementor-676 {
    padding-top: 0!important;
}
.elementor-676 .elementor-element {
    padding: 0!important;
}
#payment > * input[type="radio"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid black; /* Bordure noire */
    background-color: white; /* Fond noir */
    position: relative;
    outline: none;
    cursor: pointer;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease; /* Transition pour un effet plus fluide */
}
#payment > * input[type="radio"]:checked {
    background-color: white; /* Fond noir */
    border: 1px solid black; /* Bordure noire */
}
#payment > * input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: black; /* Cercle intérieur blanc */
}
#yousign-container > iframe {
    height: 800px;
}
button.button-next-step.contract:disabled {
    background-color: grey;
}
.button-next-step {
    margin-top: 35px;
    width: 100%;
}
.checkout-button-valider {
    margin-top: 20px;
}
/*Page form pay (paiement d'une commande) */
.checkout__step-title {
    text-align: center;
}
.checkout__step-container {
    display: grid;
    grid-gap: 0;
    align-items: center;
    position: relative;
    width: 60%;
    margin: auto;
    justify-content: center;
}
.elementor-widget-woocommerce-checkout-page .woocommerce .shop_table tfoot {
    th,td {
        color: black !important;
    }
}
table.woocommerce-table.woocommerce-table--order-details.shop_table.order_details {
    color: black !important;
}
.thank-you__header_array {
    margin-top: 40px;
    margin-bottom:40px
}
td.woocommerce-table__product-name.product-name,
td.woocommerce-table__product-total.product-total
{
    font-family: Questrial, Sans-serif;
}
.thank-you-cell-table {
    font-family: Questrial, Sans-serif;
}
.woocommerce-order.thank-you-container {
    font-family: var(--e-global-typography-f95815e-font-family ), Sans-serif;
}
.checkout__step-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    grid-row: 1 / 2;
}

.checkout__step-circle {
    margin:20px 50px 0 50px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #9B9B9B;
    color: white;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    z-index: 1;
    grid-row: 1 / 2;
    position: relative;
    font-family: var(--e-global-typography-f95815e-font-family ), Sans-serif;
}
.checkout__step-circle:after {
    content: "";
    height: 1px;
    background: #9B9B9B;
    width: 100px;
    position: absolute;
    right: 100%;
}
.step-validated {
    background-color: #90d38f;
    content: "";
    background-image:url("assets/validated.svg");
    text-indent: -9999px;
    background-size: 24px 24px; /* Redimensionne l'image à 150px par 150px */
    background-repeat: no-repeat;
    background-position: center;
}
.step-validated:after {
    background-color: black;
}
.step-pending {
    background-color: black;
}
.step-pending:after {
    background-color: black;
}
.checkout__step-container .checkout__step-circle:nth-child(1):after {
    display: none;
}
.checkout__step-text {
    font-family: Questrial, Sans-serif;
    font-size: 13px;
    text-align: center;
    grid-row: 2 / 3;
}

.checkout__step-line {
    width: 101%;
    height: 2px;
    background-color: #3498db;
    margin-bottom: -1px; /* Ajuste l'écart entre la ligne et la bulle */
    grid-row: 1 / 2;
}
.product-name, .customer-coordinates-title {
    font-family: var(--e-global-typography-f95815e-font-family ), Sans-serif;
}
.elementor-widget-woocommerce-checkout-page .woocommerce .woocommerce-privacy-policy-text p {
    font-family: Questrial, Sans-serif;
    font-size: 16px !important;
}
.checkout__container-product-info {
    color: #202020;
    font-family: Questrial, Sans-serif;
}
.checkout__step-checkout__step-title {
    text-align: center;
    color: #9B9B9B;
}
.product-info > .product-name {
    font-family: var(--e-global-typography-f95815e-font-family ), Sans-serif;
    margin-top: 20px;
    margin-bottom: 10px;

}
.checkout__container {
    margin: auto;
}
.checkout__header, .form-pay-header {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    text-align: center;
    color: #9B9B9B;
}

.checkout__header-logo, .form-pay-header-logo {
    width: 100px;
    margin: auto;
    margin-bottom: 10px;
}

.checkout__header-title, .form-pay-header-title {
    font-weight: 500;
    font-size: 2.5em;
    color: #202020;
    margin-bottom: 0;
    font-family: var(--e-global-typography-f95815e-font-family ), Sans-serif;
    line-height: 42px;
}
.checkout__product-info-header-logo {
    height: 30px;
}
.checkout__product-info-header-title {
    color: #202020;
    padding-left: 10px;
    font-size: 30px;
    font-family: var(--e-global-typography-f95815e-font-family), Sans-serif;
}
div.checkout__cgv.checkbox-container{
    padding-top: 15px;
    margin-top: 15px;
}
.checkout__cgv a {
    text-decoration: none;
    color: #F4B7AE;
}

.form-pay-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
}

.col-md-5 {
    width: 60%;
}
.order-review {
    margin-top: 40px;
}
.customer-coordinates-top-row {
    border-bottom: solid 1px #ffffff;
    display: flex;
    margin-bottom: 20px;
    justify-content: space-between;
    width: 100%;
}

.customer-coordinates-title {
    font-size: 32px;
    padding-left: 15px;
    line-height: 42px;
}


.customer-coordinates-container {
    position: sticky;
    top: 100px;
    background-color: #1D252C;
    color: #ffffff;
    padding: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
    height: fit-content;
}

.picto {
    width: 18px;
}

.chevron-btn {
    width: 40px;
    background-color: transparent!important;
    border:none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.chevron-btn-close {
    width: 40px;
    background-color: transparent!important;
    border:none;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    display: none;
    transform: rotate(180deg);
    margin-bottom: 15px;
}

.customer-coordinates-form-row {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    margin-bottom: 20px;
}

.w-50 {
    width:48%;
}

.w-100 {
    width:100%;
}

.customer-coordinates-label {
    color: #F4B7AE;
    margin-bottom: 5px;
}

.customer-coordinates-input {
    background-color: #9E9E9E;
    color: #000000;
    height: 40px;
    padding: 0 10px;
}

.customer-coordinates-input:disabled {
    opacity: 1;
}

.order-info-container {
    margin-bottom: 20px;
    padding: 30px;
}

.order-info-top-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 20px;
}

.product-info {
    border: 2px solid #F5F7F7;
    padding: 20px;
    margin-top: 40px;
}

.product-name {
    color: #F4B7AE;
    font-size: 1.3em;
}

.product-price {
    font-size: 1.2em;
    margin-bottom: 2px;
}

.price-row {
    display: flex;
    justify-content: flex-start;
    font-size: 1.3em;
    font-weight: 700;
}

.product-price-label {
    margin: 0;
    border: 1px solid #F5F7F7;
    border-top: none;
    padding: 15px 10px;
    width: 50%;
}

.product-price-value {
    margin: 0;
    border-bottom: 1px solid #F5F7F7;
    border-right: 1px solid #F5F7F7;
    padding: 15px 10px;
    width: 50%;
}

.text-xs {
    font-size: 0.7em;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    margin-bottom: 12px;
}

.label-checkbox {
    color: #9B9B9B;
    margin-left: 13px;
    font-size: 15px;
}
.payment-container > h1 {
    margin: 16px;
    font-size: 28px;
    margin-bottom: 0px;
}
.payment-container {
    border: 1px solid #D2D2D2;
    border-radius: 0!important;
    background-color: white!important;
    color: #9B9B9B;
    font-size: 16px;
    font-family: var(--e-global-typography-1e67fd3-font-family), Sans-serif;
    > * label {
        color: black !important;
        font-family: var(--e-global-typography-1e67fd3-font-family), Sans-serif;
        font-size: 16px;
    }
    > * .description {
        font-family: Questrial, Sans-serif;
    }
}
.payment-btn {
    font-weight: normal!important;
    width: 100%;
    height: 50px;
    background-color: #BE7256!important;
}

form.order-review a {
    color: #F4B7AE;
}

body.woocommerce-order-pay section.headcheckout {
    display: none!important;
}

/*Page thank you*/

.thank-you-container {
    padding-top : 130px
}

.thank-you-header-table {
    color: white;
    background-color: #1D252C!important;
    border: none;
    text-align: center;
}

.thank-you-cell-table {
    color: black;
    text-align:center;
    border: 1px solid #F5F7F7;
}

body.woocommerce-order-received h2.woocommerce-order-details__title {
    font-size: 18px;
    font-weight: bold;
}

body.woocommerce-order-received table,
body.woocommerce-order-received .product-name{
    font-size: 14px !important;
    color: black !important;
}

body.woocommerce-order-received table a {
    color: black;
    font-weight: 500;
}

table tbody>tr:nth-child(odd)>td {
    background-color: transparent;
}

table td, table th {
    border:1px solid #F5F7F7 !important;
}

table thead:first-child tr:first-child th {
    border-top:1px solid #F5F7F7 !important;
}

.woocommerce table.shop_table {
    border: none;
}

.woocommerce table.shop_table th {
    padding: 15px 12px;
}

.elementor-widget-woocommerce-checkout-page .woocommerce .shop_table th,
.elementor-widget-woocommerce-checkout-page .woocommerce .shop_table td {
    padding: 15px!important;
}
.validation {
    margin-top: 15px;
}
@media (max-width > 1024px) {
    #coordinates {
        display: block;
    }
}
@media (max-width: 1024px)  {
    .form-pay-container {
        display: flex;
        flex-direction: column;
    }

    .col-md-5 {
        width: 100%;
    }

    .customer-coordinates-container {
        position: inherit;
        top: 0px;
        background-color: #1D252C;
        color: #ffffff;
        padding: 30px;
        margin-bottom: 20px;
        height: fit-content;
    }

    .picto {
        display: none;
    }

    .customer-coordinates-container-button {
        background-color: #1D252C;
        color: #ffffff;
        padding: 30px;
        margin-bottom: 20px;
        height: fit-content;
        display: none;
        margin-top: 20px;
    }

    .customer-coordinates-phone-row {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        width: 100%;
    }

    .chevron-btn-close {
        display: block;
    }
}
