/* CSS Root */
:root {
    --primary-color: #25e7c4;
    --highlight-color: #fd2b6b;
    --secondary-color: #00006D;
    --button-bg: #ff2a6d;
}

/* Commande Display none */
body.page-id-851 section.woocommerce-order-details,
body.page-id-851 section.woocommerce-customer-details,
th.wc-block-cart-items__header-total,
.wc-block-components-checkbox,
body.page-id-851 .woocommerce-order-overview__total.total,
body.page-id-851 .wp-block-woocommerce-checkout-order-summary-block,
body.page-id-850 .wp-block-woocommerce-cart-order-summary-block,
body.page-id-850 .wc-block-grid.wp-block-product-new.wc-block-product-new.has-4-columns,
body.page-id-850 h2.has-text-align-center,
body.page-id-850 ul.wc-block-grid__products,
.error404 #footer, .error404 .tm-header, .error404 .tm-header-mobile,
.error404 .pageclass .tm-page > [class^=uk-section]:last-child,
.page-id-902 #footer, .page-id-902 .tm-header, .page-id-902 .tm-header-mobile,
.page-id-902 .tm-page > [class^=uk-section]:last-child,
body.term-38 #template-fiches,
#snippet-box {
    display: none;
}

/* Modification du panier */
body.page-id-850 a.components-button.wc-block-cart__submit-button.contained,
button.wc-block-components-checkout-place-order-button.contained {
    background: var(--highlight-color);
    border-radius: 30px;
    color: #fff;
    text-transform: uppercase;
    font-weight: 600;
    font-size: 20px !important;
    border: 0 !important;
}

/* Largeur complète pour le formulaire de commande */
.wc-block-components-main.wc-block-checkout__main.wp-block-woocommerce-checkout-fields-block {
    width: 100%;
}

/* Tableau de bord My Account */
body.page-id-852 a.button.wc-forward,
body.page-id-852 .woocommerce-MyAccount-navigation-link--orders {
    display: none;
}

/* Boutons formulaire LRM */
.lrm-form button,
.lrm-form button[type=submit] {
    background-color: var(--button-bg);
    color: #fff;
    border: 1px solid transparent;
    border-radius: 30px;
}

.lrm-form button:hover,
.lrm-form button[type=submit]:hover {
    background-color: var(--secondary-color);
}

/* Gestion du bouton d'ajout au panier selon la connexion */
body.logged-in #no-logged {
    visibility: hidden;
}
#btn-ajouter {
    display: none;
}
body.logged-in #btn-ajouter {
    display: initial;
}

/* Ajustement des formulaires WPForms */
#wpforms-form-57 ul {
    list-style: none;
    margin: 0;
    padding: 5px 0;
}

#wpforms-form-57 li {
    display: block;
    cursor: pointer;
    padding: 3px 5px;
    border-bottom: 1px solid #e9e9e9;
    font-family: sans-serif;
}

#wpforms-form-57 li:hover {
    background: #dfdfdf;
}

/* Cookie bar */
@media screen and (min-width: 980px) {
    div#cookie-law-info-bar {
        width: 667px !important;
    }
}

/* Espaceur */
span.uk-spacer {
    display: inline-block;
    width: 5px;
}

/* Liens sur el-text-1 */
.el-text-1 a {
    background: #ddd;
    padding: 2px 5px;
    border-radius: 10px;
}

.el-text-1 a[rel="tag"] {
    cursor: default;
}

/* Footer */
#footer-bg {
    background: #f5f5f5;
}
body.page-id-857 #footer-bg {
    background: #fff;
}

/* Titre widget */
.widget-title.wpc-filter-title {
    font-weight: 900;
}

/* Page Mon Compte */
body.page-id-852 label,
body.page-id-852 nav ul li a {
    color: var(--secondary-color) !important;
    font-weight: 800;
}

body.page-id-852 nav ul li a:hover,
body.page-id-852 .woocommerce-MyAccount-navigation ul>.is-active>a,
.wcmamtx_dashboard_link a:hover {
    color: var(--primary-color) !important;
}

/* Responsive adjustments */
@media screen and (max-width: 980px) {
    body.page-id-852 .wcmtx-grid {
        display: block;
    }
    body.page-id-852 .woocommerce-MyAccount-navigation ul {
        display: flex;
        flex-direction: column;
        align-items: stretch;
    }
}

@media screen and (max-width: 979px) {
    .uk-modal-dialog .woocommerce u-column1.col-1 {
        display: none;
    }
}
