/*
Theme Name: Hello Elementor Child
Theme URI: https://studionumerik.fr/
Description: Hello Elementor Child Theme
Author: Studio Numerik
Author URL: https://studionumerik.fr/
Template: hello-elementor
Version: 1.0.0
License: GNU General Public License v2 or later
License URL: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hello-elementorchild
*/
/* Placer votre CSS ci-dessous */

@media screen and (max-width: 767px) {    input,    textarea,    select {        font-size: 16px !important;    }}
@media screen and (max-width: 767px) {    .woocommerce input,    .woocommerce textarea,    .woocommerce select {        font-size: 16px !important;    }}





.wp-block-woocommerce-cart.alignwide {
	margin-inline: 0px;
	margin-top:40px;
}

.wc-block-components-button{
	background-color: var( --e-global-color-accent );
    border-radius: 25px;
    color: #FFF !important;
}

.wc-block-components-checkout-place-order-button__text {
	color: #FFF !important;
}


/* ==========================================
   GHOST - MESSAGES WOOCOMMERCE
   ========================================== */

/* Conteneur général */
.woocommerce-notices-wrapper {
    width: 100%;
    margin: 0 0 24px;
}


/* BASE DES MESSAGES */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    position: relative;

    width: 100%;
    margin: 0 0 16px !important;
    padding: 18px 22px 18px 58px !important;

    background: #ffffff !important;

    border: 1px solid #e7e9ed !important;
    border-radius: 14px !important;

    box-shadow:
        0 8px 28px rgba(15, 23, 42, 0.07),
        0 2px 7px rgba(15, 23, 42, 0.03);

    color: #171b24 !important;

    font-size: 14px;
    font-weight: 500;
    line-height: 1.6;

    list-style: none !important;
}


/* Supprime l'ancien trait WooCommerce */
.woocommerce-message,
.woocommerce-info,
.woocommerce-error {
    border-top: 0 !important;
}


/* ==========================================
   SUCCÈS
   ========================================== */

.woocommerce-message {
    border-left: 4px solid #1da66a !important;
}

.woocommerce-message::before {
    content: "✓" !important;

    position: absolute;
    top: 50%;
    left: 18px;

    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    background: #eaf8f1;
    color: #15965c !important;

    border-radius: 50%;

    font-size: 14px;
    font-weight: 700;
}


/* ==========================================
   INFORMATION
   ========================================== */

.woocommerce-info {
    border-left: 4px solid #171b24 !important;
}

.woocommerce-info::before {
    content: "i" !important;

    position: absolute;
    top: 50%;
    left: 18px;

    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    background: #f0f1f3;
    color: #171b24 !important;

    border-radius: 50%;

    font-size: 14px;
    font-weight: 700;
}


/* ==========================================
   ERREUR
   ========================================== */

.woocommerce-error {
    border-left: 4px solid #ff1726 !important;
}

.woocommerce-error::before {
    content: "!" !important;

    position: absolute;
    top: 50%;
    left: 18px;

    width: 26px;
    height: 26px;

    display: flex;
    align-items: center;
    justify-content: center;

    transform: translateY(-50%);

    background: #fff0f1;
    color: #ff1726 !important;

    border-radius: 50%;

    font-size: 14px;
    font-weight: 700;
}


/* Plusieurs erreurs dans la liste */
.woocommerce-error li {
    margin: 3px 0;
    padding: 0 !important;
}


/* ==========================================
   LIENS
   ========================================== */

.woocommerce-message a,
.woocommerce-info a,
.woocommerce-error a {
    color: #171b24;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.woocommerce-message a:hover,
.woocommerce-info a:hover,
.woocommerce-error a:hover {
    color: #ff1726;
}


/* ==========================================
   BOUTON WOOCOMMERCE
   Ex. "Voir le panier"
   ========================================== */

.woocommerce-message .button,
.woocommerce-info .button,
.woocommerce-error .button {
    float: right;

    margin: -5px 0 -5px 20px !important;
    padding: 11px 18px !important;

    background: #171b24 !important;
    color: #ffffff !important;

    border: 0 !important;
    border-radius: 9px !important;

    font-size: 12px !important;
    font-weight: 600 !important;

    text-decoration: none !important;

    transition: all .25s ease;
}

.woocommerce-message .button:hover,
.woocommerce-info .button:hover,
.woocommerce-error .button:hover {
    background: #ff1726 !important;
    color: #ffffff !important;

    transform: translateY(-1px);
}


/* ==========================================
   MOBILE
   ========================================== */

@media (max-width: 767px) {

    .woocommerce-message,
    .woocommerce-info,
    .woocommerce-error {
        padding: 16px 16px 16px 52px !important;

        border-radius: 12px !important;

        font-size: 13px;
    }

    .woocommerce-message::before,
    .woocommerce-info::before,
    .woocommerce-error::before {
        left: 15px;

        width: 24px;
        height: 24px;
    }

    .woocommerce-message .button,
    .woocommerce-info .button,
    .woocommerce-error .button {
        float: none;

        display: block;
        width: fit-content;

        margin: 12px 0 0 !important;
    }
}
