/*--------------------------------------------------------------
# Compte
--------------------------------------------------------------*/

.woocommerce-MyAccount-navigation-link.woocommerce-MyAccount-navigation-link--dashboard {
    display: none !important;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab__orders .woocommerce-MyAccount-content-wrapper {
    background: transparent;
    border: none;
    padding: 0;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab__orders .woocommerce-MyAccount-content-wrapper  {
    border-collapse: collapse;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab__orders:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-orders-table th,
body .elementor-widget-woocommerce-my-account .e-my-account-tab__orders:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-orders-table td,
body .elementor-widget-woocommerce-my-account .e-my-account-tab__orders:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-orders-table td a {
    background-color: #FFF;
    padding: 16px;
    text-align: center;
    color: #000;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab__orders:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-orders-table th {
    border-top: 0;
    background-color: var( --e-global-color-primary );
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab__orders:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-orders-table th span {
    color: #FFF;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab__orders:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-orders-table thead tr th:first-child,
body .elementor-widget-woocommerce-my-account .e-my-account-tab__orders:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-orders-table tbody tr td:first-child {
    border-left: 0;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab__orders:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-orders-table thead tr th:last-child,
body .elementor-widget-woocommerce-my-account .e-my-account-tab__orders:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-orders-table tbody tr td:last-child {
    border-right: 0;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab__orders:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-orders-table tbody tr tr:last-child td {
    border-bottom: 0;    
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab__orders:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-orders-table td a {
    border: 0;
    padding: 0;
    color: #000;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab__orders:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-orders-table td a:hover {
    text-decoration: underline;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab__orders:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-orders-table td a + a {
    position: relative;
    padding-left: 32px;
}

address .company-name {
    font-family: "Quicksand", sans-serif;
    font-weight: 400;
}

/*--------------------------------------------------------------
# Order list
--------------------------------------------------------------*/

.e-my-account-tab__orders .woocommerce-MyAccount-content-wrapper {
    overflow: auto;
}

.e-my-account-tab__orders .woocommerce-MyAccount-content-wrapper .woocommerce-MyAccount-orders {
    padding: 32px;
    background-color: #EDEDED;
    border-spacing: 8px;
}

.woocommerce-orders-table__cell .woocommerce-button {
    position: relative;
    padding-left: 20px !important;
}

.woocommerce-orders-table__cell a.woocommerce-button + a {
    padding-left: 32px !important;
} 

.woocommerce-orders-table__cell .woocommerce-button:after {
    content: "";
    display: block;
    position: absolute;
    top: 3px;
    left: 0;
    height: 10px;
    width: 10px;
}

.woocommerce-orders-table__cell a + a.woocommerce-button:after {
    left: 12px;
}

.woocommerce-orders-table__cell .woocommerce-button.view:after {
    background-image: url('../img/btn-view.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.woocommerce-orders-table__cell .woocommerce-button.order-again:after {
    background-image: url('../img/btn-again.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.woocommerce-orders-table__cell .woocommerce-button.arc:after,
.woocommerce-orders-table__cell .woocommerce-button.invoice:after {
    background-image: url('../img/btn-arc.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.dierre-web-icon {
    display: inline-block;
    width: 18px;
    height: 18px;
    background-image: url("data:image/svg+xml,%3Csvg class='w-64 h-64' xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512' fill='currentColor'%3E%3Cpath d='M267,474l-.8-.13A.85.85,0,0,0,267,474Z'%3E%3C/path%3E%3Cpath d='M448.9,187.78a5.51,5.51,0,0,0-10.67-.63h0A5.52,5.52,0,0,1,433,191H417.53a5.48,5.48,0,0,1-2.84-.79l-22.38-13.42a5.48,5.48,0,0,0-2.84-.79h-35.8a5.48,5.48,0,0,0-3.06.93l-44.15,29.43A5.52,5.52,0,0,0,304,211v41.74a5.51,5.51,0,0,0,2.92,4.87l57.89,30.9a5.55,5.55,0,0,1,2.92,4.8L368,316.8a5.53,5.53,0,0,0,2.85,4.75l23.26,12.87a5.54,5.54,0,0,1,2.85,4.83v48.6a5.52,5.52,0,0,0,9.17,4.14c9.38-8.26,22.83-20.32,24.62-23.08q4.44-6.87,8.33-14.07a207.39,207.39,0,0,0,13.6-31C465.36,287.13,455.34,221.14,448.9,187.78Z'%3E%3C/path%3E%3Cpath d='M286.4,302.8l-61.33-46a4,4,0,0,0-2.4-.8h-29.1a3.78,3.78,0,0,1-2.68-1.11l-13.72-13.72a4,4,0,0,0-2.83-1.17H121.15a3.79,3.79,0,0,1-2.68-6.47l8.42-8.42a3.78,3.78,0,0,1,2.68-1.11h32.37a8,8,0,0,0,7.7-5.83l6.89-24.5a4,4,0,0,1,2-2.47L206,177.06a3.79,3.79,0,0,0,2.05-3.37v-12.5a3.82,3.82,0,0,1,.68-2.17L223.33,138a3.75,3.75,0,0,1,1.78-1.38l20.43-7.67a3.79,3.79,0,0,0,2.46-3.55V114a3.8,3.8,0,0,0-1.69-3.16L225.83,97.22A3.83,3.83,0,0,0,222,97l-27.88,13.94a3.78,3.78,0,0,1-4-.41L176.9,100.08a3.8,3.8,0,0,1,.1-6l10.74-7.91a3.78,3.78,0,0,0-.09-6.16L170.92,68.34a3.78,3.78,0,0,0-4-.22c-6.05,3.31-23.8,13.11-30.1,17.52a209.48,209.48,0,0,0-68.16,80c-1.82,3.76-4.07,7.59-4.29,11.72s-3.46,13.35-4.81,17.08a3.78,3.78,0,0,0,.24,3.1l35.69,65.58a3.74,3.74,0,0,0,1.38,1.44l37.55,22.54a3.78,3.78,0,0,1,1.81,2.73l7.52,54.54a3.82,3.82,0,0,0,1.61,2.61l29.3,20.14a4,4,0,0,1,1.65,2.48l15.54,73.8a3.6,3.6,0,0,0,.49,1.22c1.46,2.36,7.28,11,14.3,12.28-.65.18-1.23.59-1.88.78a47.63,47.63,0,0,1,5,1.16c2,.54,4,1,6,1.43,3.13.62,3.44,1.1,4.94-1.68,2-3.72,4.29-5,6-5.46a3.85,3.85,0,0,0,2.89-2.9l10.07-46.68a4,4,0,0,1,1.6-2.42l45-31.9a4,4,0,0,0,1.69-3.27V306A4,4,0,0,0,286.4,302.8Z'%3E%3C/path%3E%3Cpath d='M262,48s-3.65.21-4.39.23q-8.13.24-16.22,1.12A207.45,207.45,0,0,0,184.21,64c2.43,1.68-1.75,3.22-1.75,3.22L189,80h35l24,12,21-12Z'%3E%3C/path%3E%3Cpath d='M354.23,120.06l16.11-14a4,4,0,0,0-.94-6.65l-18.81-8.73a4,4,0,0,0-5.3,1.9l-7.75,16.21a4,4,0,0,0,1.49,5.11l10.46,6.54A4,4,0,0,0,354.23,120.06Z'%3E%3C/path%3E%3Cpath d='M429.64,140.67l-5.83-9c-.09-.14-.17-.28-.25-.43-1.05-2.15-9.74-19.7-17-26.51-5.45-5.15-7-3.67-7.43-2.53a3.77,3.77,0,0,1-1.19,1.6L369.1,127.11a4,4,0,0,1-2.51.89H351.66a4,4,0,0,0-2.83,1.17l-12,12a4,4,0,0,0,0,5.66l12,12a4,4,0,0,0,2.83,1.17h75.17a4,4,0,0,0,4-4.17l-.55-13.15A4,4,0,0,0,429.64,140.67Z'%3E%3C/path%3E%3Cpath d='M256,72a184,184,0,1,1-130.1,53.9A182.77,182.77,0,0,1,256,72m0-40C132.3,32,32,132.3,32,256S132.3,480,256,480,480,379.7,480,256,379.7,32,256,32Z'%3E%3C/path%3E%3C/svg%3E");
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
}


/*  Bordures tableaux */
body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-rswd {
    overflow: auto;
    margin-bottom: 26px;
}
body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details {
    margin-bottom: 0;
    border: none;
    table-layout: fixed;
    border-collapse: collapse;
    min-width: 960px;
    padding: 0;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details thead tr th,
body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details tbody tr td {
    border: none;    
    padding: 20px;
    font-size: 16px;
    font-weight: 400;
    text-align: left;
    font-family: "Roboto", sans-serif;
    color: #000;
    vertical-align: middle;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details thead tr th {
    padding: 24px 34px;
    background-color: #000;
    color: #FFF;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details thead tr th:first-child {
    width: 155px;;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details thead tr th:nth-child(3),
body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details thead tr th:last-child {
    width: 150px;
    text-align: center;
} 

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details tbody tr td:last-child,
body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details tbody tr td:nth-child(3)  {
    text-align: center;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details tbody tr td {
    border-bottom: 8px solid #EDEDED;
    color: #000;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details tbody tr td img {
    width: 72px;
    height: 72px;
    object-fit: cover;
}


/*  Image produit */
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details__title {
    font-weight: 800;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details tbody tr td.woocommerce-table__product-name {
    position: relative;
    height: 142px;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details tbody tr td.woocommerce-table__product-name a {
    color: #000;
    font-size: 16px;
    font-weight: 600;
}

/* Attributs */
body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details tbody tr td.woocommerce-table__product-name .wc-item-meta {
    margin: 8px 0 0 0;
    padding: 0;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details tbody tr td.woocommerce-table__product-name .wc-item-meta li {
    display: flex;
    gap: 3px;
    font-size: 16px;
    color: #000;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .woocommerce-table--order-details tbody tr td.woocommerce-table__product-name .wc-item-meta li strong {
    color: #000;
    font-weight: 400;
}

/*--------------------------------------------------------------
# Details totals
--------------------------------------------------------------*/
body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .order-details-totals {
    width: 468px;
    max-width: 100%;
    margin-left: auto;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .order-details-totals > div {
    display: flex;
    justify-content: space-between;
    padding: 20px;
    border-bottom: 4px solid #EDEDED;
    background-color: #FFF;
    font-size: 16px;
    color: var( --e-global-color-primary );
    text-transform: uppercase;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .order-details-totals > div:last-child {
    text-align: right;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .order-details-totals > div:nth-child(2) {
    text-transform: none;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .order-details-totals > div:nth-child(4),
body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .order-details-totals > div:nth-child(5),
body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .order-details-totals > div:nth-child(6),
body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .order-details-totals > div:nth-child(7) {
    display: none !important; 
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .order-details-totals > div:first-child > div {
    opacity: 0.54;
    text-transform: none;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .order-details-totals-delay {
    width: 468px;
    max-width: 100%;
    margin-left: auto;
    font-size: 14px;
    color: var( --e-global-color-primary );
}

.woocommerce-table__product-name img {
    width: 120px;
    height: 120px;
    object-fit: contain;
    position: absolute;
    top: calc(50% - 60px);
    left: 0;
}

/* Details adresse */
body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce address {
    background-color: var( --e-global-color-primary );
    border: none;
    color: #FFF;
    font-family: "Source Sans Pro", sans-serif;
    font-size: 16px;
    font-style: normal;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce address.default {
    order: -1;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce address:first-line {
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    font-size: 20px;
}

body .woocommerce-MyAccount-content-wrapper .woocommerce-customer-details .woocommerce-columns--addresses .woocommerce-column h2 {
    margin: 48px 0 24px;
    font-family: "Raleway", sans-serif;
    font-size: 24px;
    color: var( --e-global-color-primary );
    text-transform: none;
    font-weight: 600;
}

@media (min-width: 768px) {
    .woocommerce-columns--addresses {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 40px;
    }
}

/*--------------------------------------------------------------
# Re-order
--------------------------------------------------------------*/
.order-again {
    margin-top: 16px;
    text-align: right;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .order-again .button {
    display: inline-block;
    border-radius: 0;
    border: none;
    background-color: var(--e-global-color-primary);
    color: #FFF;
    text-align: center;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .order-again .button:hover {
    background-color: #000;
}

.order-again-popup {
    position: fixed;
    z-index: 99999;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 0px 200vw 100vw rgba(1, 49, 129, 0.78);
    padding: 88px 32px 32px;
    background-color: #FFF;
    width: 470px;
    max-width: calc(100vw - 50px);
    font-family: "Raleway", Sans-serif;
}

.order-again-popup p {
    font-weight: 700;
    text-align: center;
    color: #000;
    font-size: 24px;
}

.order-again-popup-actions {
    margin-top: 32px;
    display: flex;
    justify-content: center;
    gap: 32px;
}

.order-again-popup-actions button {
    display: inline-block;
    border: none;
    padding: 16px;
    width: 230px;
    max-width: calc(50% - 25px);
    text-align: center;
    font-weight: 600;
}

.order-again-popup .close {
    position: absolute;
    top: 32px;
    right: 32px;
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.order-again-popup .close:before,
.order-again-popup .close:after {
    content: "";
    display: block;
    position: absolute;
    top: 11px;
    left: -2px;
    width: 30px;
    height: 1px;
    background-color: #000;
}

.order-again-popup .close:before {
    transform: rotate(45deg);
}

.order-again-popup .close:after {
    transform: rotate(-45deg);
}

@media (max-width: 767px) {
    .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-order-details .order-again .button {
        min-width: 100%;
    }
}

/*--------------------------------------------------------------
# Detail profile
--------------------------------------------------------------*/

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-MyAccount-content-wrapper {
    border: none;
    background: transparent;
    padding: 0;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-EditAccountForm.edit-account>div {
    display: grid;
    grid-template-columns: 1fr;
    grid-gap: 8px 32px; 
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce form:not(.login) .form-row .input-text, 
.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .form-row select {
    background-color: #FFF !important;
}

.elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .form-row label {
    visibility: hidden;
    display: none;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-address-fields, 
body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-EditAccountForm {
    text-align: right;
}

body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-address-fields .button, 
body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-EditAccountForm .button {
    margin-top: 32px;
    min-width: 230px;
    text-align: center;
    background-color: var(--e-global-color-primary);
    font-size: 20px;
}

.woocommerce .login {
    border: none !important;
    border-radius: 0 !important;
}

.woocommerce .login input {
    color: #000 !important;
}

.woocommerce .login .woocommerce-form-login__submit {
    width: 100%;
}

.woocommerce .login .woocommerce-LostPassword {
    text-align: center;
}

.woocommerce .login a,
.wommerce .login p a {
    color: #000 !important;
    text-decoration: underline !important;
}

.woocommerce .login a:hover {
    color: #000 !important;
}

body.logged-in .login-access {
    display: none;
}

body:not(.logged-in) .elementor-widget-woocommerce-my-account {
    width: 530px !important;
    margin: 0 auto;
}

body:not(.logged-in) .e-my-account-tab .woocommerce {
    background-color: #FFF;
}

body:not(.logged-in) .e-my-account-tab .woocommerce h2 {
    text-align: center;
    margin: 0 !important;
    padding-top: 56px;
}

@media (min-width: 768px) {
    .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce .woocommerce-EditAccountForm.edit-account>div {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 767px) {
    body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-address-fields .button,  
    body .elementor-widget-woocommerce-my-account .e-my-account-tab:not(.e-my-account-tab__dashboard--custom) .woocommerce-EditAccountForm .button {
        min-width: 100%;
    }
}

/*--------------------------------------------------------------
# Adresses
--------------------------------------------------------------*/


body .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h3 {
    margin-bottom: 20px;
    font-family: "Raleway", sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--e-global-color-primary);
}

body .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h3 + p {
    font-size: 14px;
    font-family: "Source Sans Pro", sans-serif;
    color: var(--e-global-color-primary);
}   

.address-list {
    margin-top: 23px;
    display: grid;
    grid-gap: 8px;
}

#toast-container {
  font-size: 0;
}

body .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .address-list address {
    position: relative;
    padding: 20px 20px 30px; 
}

body .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .address-list address:not(.default) {
    background-color: #FFF;
    color: var(--e-global-color-primary);
}

body .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .address-list address input {
    position: absolute;
    top: 0;
    left: 0;
    visibility: hidden;
}

.change_address {
  display: none;
}

body .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .address-list address input + label {
  display: inline-block;
  position: absolute;
  padding: 2px 4px;
  background-color: #FFF;
  text-transform: uppercase;
  font-size: 10px;
  text-transform: uppercase;
  font-weight: bold;
  color: #000;
  line-height: 1;
}

body .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .address-list address.default input + label {
  bottom: 12px;
  right: 20px;
}

body .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .address-list address.default input + label span {
  display: none;
}

body .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .address-list address:not(.default) label {
  cursor: pointer;
  bottom: 12px;
  right: 20px;
}

body .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .address-list address label:hover {
  text-decoration: underline;
}

body .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .address-list address svg {
    position: absolute;
    top: 20px;
    z-index: 3;
    right: 20px;
    cursor: pointer;
}

body .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .address-list address svg path {
  stroke: #000;
}

body .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .address-list address.default svg path {
  stroke: #FFF;
}

body .woocommerce .woocommerce-MyAccount-content #searchaddress {
  display: none;
} 

.woocommerce-Address-contact {
    margin-top: 24px;
}

body .woocommerce .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-Address-contact a {
    color: #FFF;
}

body .woocommerce .woocommerce-MyAccount-content .woocommerce-MyAccount-content-wrapper .woocommerce-Address-contact a:hover {
    background-color: #000;
    color: #FFF;
}

.woocommerce-Addresses .woocommerce-Address {
    margin-bottom: 32px;
}

.woocommerce-Addresses .woocommerce-Address:first-child .woocommerce-Address-contact {
    display: none;
}


address .nom_de_ladresse {
    font-family: 'quicksand', sans-serif;
    font-size: 16px;
    font-weight: 600;
    line-height: 20px;
    margin-bottom: 18px;
    display: inline-block;
}

address .company,
address .nom,
address .prenom,
address .address,
address .code_postal,
address .ville,
address .pays,
address .telephone {
    font-family: 'Roboto';
    font-size: 14.06px;
    font-weight: 400;
    line-height: 16.48px;
}

@media (max-width: 991px) {
    .woocommerce-account .elementor-widget-woocommerce-my-account .woocommerce-Addresses {
        display: flex;
        flex-direction: column-reverse;
    }
}

@media (min-width: 768px) {
    .woocommerce-Addresses {
        display: flex;
        flex-direction: column-reverse;
    }
    body .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h3 {
        margin-bottom: 27px;
        font-size: 20px;
        font-weight: 500;
    }
    body .woocommerce .woocommerce-MyAccount-content .woocommerce-Addresses .woocommerce-Address-title h3 + p {
        font-size: 18px;
    }
}

@media (min-width: 600px) {
    .address-list {
        margin-top: 30px;
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}


/*--------------------------------------------------------------
# TOAST
--------------------------------------------------------------*/

#toast {
    position: fixed;
    bottom: 5vh;
    right: 5vw;
}

#toast div {
    margin-bottom: 20px;
    padding: 12px 26px;
    border-radius: 8px;
    width: 300px;
    background-color: var(--e-global-color-primary);
    color: #FFF;
    animation: toastUp .5s ease-in-out 1 forwards;
}

#toast div.cacher {
    animation: toastDown .5s ease-in-out 1 forwards;
}

#toast div.success {
    background-color: #28a745;
}

@keyframes toastUp {
    0% {opacity: 0; transform: translate(0px, 10px);}
    100% {opacity: 1; transform: translate(0px, 0px);}
}

@keyframes toastDown {
    0% {opacity: 1; transform: translate(0px, 0px);}
    100% {opacity: 0; transform: translate(10px, 0px);}
    
}


.change_adresses_facturation,
.change_adresses_livraison  {
  display: none !important;
}

.woocommerce-MyAccount-content-wrapper .woocommerce-Pagination {
    text-align: center;
}

/*--------------------------------------------------------------
# View order
--------------------------------------------------------------*/

.order-info-cancel {
    margin-top: 20px;
    padding: 10px 10px 10px 36px;
    border: 2px solid #69727d;
    border-radius: 3px;
    background-image: url("data:image/svg+xml,%3Csvg class='w-64 h-64' xmlns='http://www.w3.org/2000/svg' fill='%2369727d' viewBox='0 0 24 24'%3E%3Cg data-name='info'%3E%3Cpath d='M12 2a10 10 0 1 0 10 10A10 10 0 0 0 12 2zm1 14a1 1 0 0 1-2 0v-5a1 1 0 0 1 2 0zm-1-7a1 1 0 1 1 1-1 1 1 0 0 1-1 1z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 24px;
    background-position: 5px 6px;
}