#wpadminbar {
    position: fixed;
}

/* Styles pour la récupération du code postal dans le checkout */
.postal-code-input-group {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: nowrap;
    margin-top: 8px;
}

.postal-code-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
}

.postal-code-input:focus {
    outline: none;
    border-color: #007cba;
    box-shadow: 0 0 0 3px rgba(0, 124, 186, 0.1);
}

.postal-code-input.error {
    border-color: #dc3545;
}

.postal-code-input.success {
    border-color: #28a745;
}

.postal-code-or {
    color: #000000;
    font-size: 14px;
    font-weight: 400;
}

.use-saved-address-link {
    color: #000000;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
    transition: color 0.3s ease;
    white-space: nowrap;
}

.use-saved-address-link:hover {
    text-decoration: none;
}

.use-saved-address-link.loading {
    color: #666;
    cursor: wait;
    text-decoration: none;
}

.postal-code-message {
    padding: 10px 15px;
    border-radius: 6px;
    margin-top: 10px;
    font-size: 14px;
    max-width: 100%;
}

.postal-code-message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.postal-code-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.postal-code-message.info {
    background: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}

#order_review input.shipping_method {
    display: none;
}
#order_review .woocommerce-checkout-review-order-table tr.woocommerce-shipping-totals.shipping,
#order_review .woocommerce-checkout-review-order-table tr > th {
    color: #000000;
}

/* Responsive design pour le code postal */
@media only screen and (max-width: 768px) {

    .postal-code-or {
        text-align: center;
        margin: 5px 0;
    }

    .use-saved-address-link {
        text-align: center;
        display: block;
        white-space: normal;
    }

    .postal-code-input {
        min-width: auto;
    }
}

/* Styles pour la page Mon Compte - reset password */
.woocommerce-ResetPassword.lost_reset_password button[type="submit"] {
    display: block;
    width: 100%;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 0.75rem !important;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 10px;
}

.woocommerce-ResetPassword.lost_reset_password button[type="submit"]:hover {
    padding: 0.75rem !important;
}

.woocommerce-ResetPassword.lost_reset_password p {
    font-family: 'Poppins', sans-serif;
    color: #313131;
}

.woocommerce-ResetPassword.lost_reset_password .woocommerce-form-row--first, .woocommerce-ResetPassword.lost_reset_password .woocommerce-form-row--last {
    position: relative;
    margin-top: 1em;
}

.woocommerce-ResetPassword.lost_reset_password .woocommerce-form-row--first label, .woocommerce-ResetPassword.lost_reset_password .woocommerce-form-row--last label {
    position: absolute;
    height: 20px;
    top: -7px;
    left: 13px;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    padding: 0 5px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 5px;
    color: #1C1B1F;
    line-height: 1.5 !important;
    z-index: 1;
}

.woocommerce-ResetPassword.lost_reset_password .woocommerce-form-row--first input, .woocommerce-ResetPassword.lost_reset_password .woocommerce-form-row--last input {
    height: 56px;
    font-size: 16px;
    margin-bottom: 15px;
    border: 1px solid #79747E;
    width: 100%;
    padding: 0.75rem;
    border-radius: 4px;
    background-color: #fff;
    color: #4e4e4e;
}


/* Styles pour la page Mon Compte - Connexion */
.woocommerce-account .container {
    max-width: 1440px;
}

.woocommerce-account #main-content {
    background-color: #f8f8f8;
}

.wrapper-login {
    margin-top: 3em;
}

#lost-password-form,
.wrapper-login #register-form,
.wrapper-login #login-form {
    display: flex;
    justify-content: center;
    margin-bottom: 5em;
}

.woocommerce-account #page-container h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    margin-bottom: 16px;
    font-size: 40px;
    line-height: 1;
    color: #000;
}

.woocommerce-account #page-container .wrapper-form-login.lost-pass h1 {
    margin: .5em 0 .2em;
}

#login-form .wrapper-form-login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 512px;
    margin-right: 5em;
}

#register-form .wrapper-form-login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 640px;
    margin-left: 5em;
}

#lost-password-form .wrapper-form-login {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 640px;
    margin-left: 5em;
}

#lost-password-form .wrapper-form-login.lost-pass {
    margin-right: 5em;
}

.wrapper-form-login > p {
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: #313131;
}

.wrapper-img-login img {
    width: 616px;
    min-width: 300px;
    max-height: 816px;
    object-fit: cover;
    border-radius: 30px;
}

body.woocommerce-account .form-login-custom {
    max-width: 600px;
    padding: 3rem 0;
}

.form-login-custom p.form-row {
    position: relative;
    width: 100%;
}

.form-login-custom p.form-row label {
    position: absolute;
    height: 20px;
    top: -7px;
    left: 13px;
    font-family: 'Poppins', sans-serif;
    background-color: #ffffff;
    padding: 0 5px;
    font-size: 14px;
    font-weight: 400;
    border-radius: 5px;
    color: #1C1B1F;
    line-height: 1.5 !important;
}

.form-login-custom p.form-row input,
.form-lost-password-custom p.form-row input {
    height: 56px;
    font-size: 16px;
    margin-bottom: 15px;
    border: 1px solid #79747E;
}

.form-login-custom > p.form-options {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.form-login-custom > p.form-options > a {
    color: #ff0000;
    text-decoration: underline;
    font-weight: 500;
}

.form-login-custom > p.form-register-link,
.form-login-custom > p.form-login-link {
    text-align: center;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #313131;
}

.form-login-custom > p.form-register-link > a,
.form-login-custom > p.form-login-link > a,
.form-login-custom > p.form-terms > label a {
    color: #ff0000;
    text-decoration: underline;
    font-weight: 600;
}

.form-login-custom > p.form-options > label {
    font-family: 'Poppins', sans-serif;
    color: #313131;
}


.form-login-custom input[type="text"],
.form-login-custom input[type="email"],
.form-login-custom input[type="tel"],
.form-login-custom input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-login-custom .password-wrapper {
    position: relative;
}

.form-login-custom .toggle-password {
    position: absolute;
    width: 50px;
    padding: 0;
    margin: 0;
    right: 0;
    top: 18px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
}

.form-login-custom button {
    display: block;
    width: 100%;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    margin-top: 1rem;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 10px;
}

.form-login-custom button[type="submit"] {
    margin-bottom: .5em;
}

.form-login-custom.lost_reset_password button[type="submit"] {
    margin: 0;
}

.form-register-custom {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
}

.form-register-custom h1 {
    font-size: 2rem;
    margin-bottom: 1rem;
    font-family: 'Poppins', sans-serif;
}

.wrapper-img-register img {
    width: 486px;
    min-width: 300px;
    max-height: 816px;
    object-fit: cover;
    border-radius: 30px;
}

.form-register-custom input[type="email"],
.form-register-custom input[type="password"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.form-register-custom button {
    width: 100%;
    background: black;
    color: white;
    padding: 0.75rem;
    border: none;
    cursor: pointer;
}

.form-login-custom button[disabled] {
    cursor: not-allowed;
    background-color: #bcbbbb;
}

#password-hint:not(.on-test) {
    font-size: 10px;
    margin: -5px 0;
    display: block;
    position: absolute;
    bottom: 4px;
}

.password-checklist {
    margin: -10px 0;
    padding-left: 1rem;
    font-size: 14px;
    color: #555;
}

.password-checklist li {
    font-size: 10px;
    line-height: 1.2;
}


.password-checklist li.invalid {
    color: #d00;
}

.password-checklist li.valid {
    color: #080;
}

.form-login-custom .confirm-password-message {
    color: #ff0000;
    margin: -15px 0 10px;
    display: block;
}


#register-form {
    display: flex;
    justify-content: center;
    align-items: center;
    /*margin-top: 3em;*/
    margin-left: 5em;
}

.form-flex-group {
    display: flex;
}

.form-terms label {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

.required-info {
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 400;
    margin: -1em 0 -1.5em;
    color: #313131;
}


input[type="checkbox"] {
    min-width: 18px;
    min-height: 18px;
    border: 2px solid #313131; /* Épaisseur et couleur */
    border-radius: 4px;
    appearance: none;
    -webkit-appearance: none;
    background-color: #fff;
    cursor: pointer;
    position: relative;
    line-height: 1;
    margin: 0;
}

input[type="checkbox"]:checked::before {
    content: '✔';
    font-size: 14px;
    color: #313131;
    position: absolute;
    top: 0;
    left: 2px;
}

.form-terms label,
.form-options label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.3;
    color: #313131;
}

.wrapper-form-login.lost-pass a.back-link {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    color: #313131;
    display: flex;
    gap: .5em;
}

.wrapper-form-login.lost-pass a.back-link span {
    font-size: 16px;
}

.woocommerce-account .et_pb_section_2_tb_footer.et_pb_section {
    margin-top: 0;
}

@media only screen and ( max-width: 1140px ) {
    .form-flex-group {
        display: block;
    }

    /*.wrapper-img-register img,*/
    /*.wrapper-img-login img {*/
    /*  min-width: 300px;*/
    /*}*/
}

@media only screen and ( max-width: 1024px ) {
    .wrapper-img-login img {
        max-width: 100%;
    }

    .woocommerce-account #page-container .wrapper-form-login.lost-pass h1 {
        font-size: 32px;
    }
}

@media only screen and ( max-width: 768px ) {
    .wrapper-img-login,
    .wrapper-img-register {
        display: none;
    }

    #lost-password-form .wrapper-form-login.lost-pass {
        margin: 0;
    }

    #register-form {
        margin-left: 0;
    }

    #login-form .wrapper-form-login {
        margin-right: 0;
    }

    #register-form .wrapper-form-login {
        margin-left: 0;
    }
}

@media only screen and ( max-width: 425px ) {
    .woocommerce-account #page-container h1 {
        font-size: 32px;
    }

    .wrapper-form-login > p {
        font-size: 14px;
    }
}


/* Page mon-compte connecté */
body.woocommerce-account .woocommerce-MyAccount-content {
    float: none;
    max-width: 1316px;
    width: 100%;
    color: #000000 !important;
}

.woocommerce .woocommerce-error {
    color: #721c24 !important;
    background: #f8d7da !important;
    border-radius: 10px !important;
    font-weight: initial;
    border: 2px solid #fdb7bd !important;
}

.woocommerce .woocommerce-error a {
    color: #721c24 !important;
    text-decoration-line: underline;
}

.woocommerce .woocommerce-message {
    color: #155724 !important;
    background: #d4edda !important;
    border-radius: 10px !important;
    font-weight: initial;
    border: 2px solid #c0face !important;
}

.woocommerce .woocommerce-warning:before {
    content: "i";
    min-width: 30px;
    min-height: 30px;
    position: relative;
    border-radius: 10px;
    border: 2px solid #856404;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #856404;
    font-size: 17px;
    font-weight: 600;
    font-family: cursive;

}
#msg-livraison-longue {
    max-width: 450px;
}
#msg-livraison-longue > p {
    font-size: 14px;
}
#msg-livraison-longue a {
    color: #856404;
}
@media only screen and ( max-width: 426px ) {
    #msg-livraison-longue > p {
        font-size: 13px;
    }
}
.woocommerce .woocommerce-warning {
    background-color: #fff3cd !important;
    color: #856404 !important;
    border-radius: 10px !important;
    border: 2px solid #faebbd !important;
    display: flex;
    align-items: center;
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.4;
    padding: 1em;
    gap: 1em;
}
.woocommerce .woocommerce-info {
    background-color: #d1ecf1 !important;
    color: #0c5460 !important;
    border-radius: 10px !important;
    border: 2px solid #b6eaf3 !important;
}

.my-account-dashboard h2,
.my-account-dashboard h3,
.my-account-dashboard p,
.my-account-dashboard button {
    font-family: 'Inter', sans-serif !important;
}

.my-account-dashboard .title-section {
    display: flex;
    justify-content: space-between;
}

.my-account-dashboard .title-section a button {
    display: block;
    width: 100%;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 0.35rem;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    margin-bottom: 10px;
}

.account-info h2,
.my-account-orders h2 {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 10px;
    color: #000000 !important;
}

.account-info h3 {
    font-weight: 700;
    font-size: 18px;
    color: #000000 !important;
}

.account-info p {
    font-weight: 400;
    font-size: 14px;
    padding: 0;
    line-height: 1.5;
    color: #000000;
}

.account-info {
    margin-bottom: 47px;
}

.my-account-addresses {
    display: flex;
    justify-content: space-between;
}

.my-account-address-block {
    position: relative;
    width: 100%;
    padding: 34px 27px;
    background-color: #ffffff;
    height: min-content;
}

.my-account-address-block.my-account-billing-address-block {
    margin-right: 2em;
}

.my-account-address-block button {
    position: absolute;
    top: 34px;
    right: 27px;
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
}

.copied_billing_to_shipping {
    font-family: Inter, sans-serif;
    font-weight: 700 !important;
    font-size: 12px;
    color: #00A136 !important;
}

.hide-it {
    display: none;
}

.woocommerce abbr[title] {
    text-decoration: none;
    border-bottom: none;
}


@media only screen and ( max-width: 900px ) {
    .my-account-address-block button {

    }
}

@media only screen and ( max-width: 860px ) {
    .my-account-addresses {
        flex-direction: column;
    }

    .my-account-address-block.my-account-billing-address-block {
        margin-bottom: 2em;
    }

}

@media only screen and ( max-width: 768px ) {

    .woocommerce-orders-table .my-account-order-product {
        justify-content: end;
    }
}

@media only screen and ( max-width: 425px ) {
    .my-account-address-block button {
        top: inherit;
        bottom: 15px;
    }

    .woocommerce-orders-table .my-account-order-product {
        flex-wrap: wrap;
    }

    .woocommerce-orders-table__cell.woocommerce-orders-table__cell-order-number {
        display: flex !important;
        align-items: center;
        justify-content: space-between;
    }

    .woocommerce-orders-table .my-account-order-product .my-account-order-product-title {
        font-size: 12px;
    }
}

/* Page mon-compte connecté : partie Mes dernières commandes */
.woocommerce-orders-table {
    padding: 24px 27px;
    border: none;
    background: #ffffff;
}

.woocommerce-orders-table .my-account-order-product {
    display: flex;
}

.woocommerce-orders-table .my-account-order-product:not(:first-child) {
    margin-top: 1em;
}

.woocommerce-orders-table .my-account-order-product-thumbnail img {
    max-width: 45px;
}

.woocommerce-orders-table .my-account-order-product .my-account-order-product-thumbnail {
    margin-right: 1em;
}

.woocommerce-orders-table .my-account-order-product .my-account-order-product-title {
    font-weight: 700;
    font-size: 18px;
    padding: 0;
    color: #000000;
}

.woocommerce-orders-table .my-account-order-product .my-account-order-product-title span {
    font-size: 14px;
}

.woocommerce-orders-table .my-account-order-product .my-account-order-product-attributes {
    font-weight: 400;
    font-size: 14px;
    color: #000000;
}

.woocommerce table.shop_table,
.woocommerce table.shop_table td.woocommerce-orders-table__cell {
    border: none;
}

.woocommerce-orders-table thead {
    background: #F6F8FA;
}

.woocommerce-orders-table__header.woocommerce-orders-table__header-order-number {
    border-radius: 10px 0 0 10px;
    padding-left: 1.2em !important;
}

.woocommerce-orders-table__header.woocommerce-orders-table__header-order-status {
    border-radius: 0 10px 10px 0;
}

.entry-content .woocommerce-orders-table thead th {
    color: #000000;
}

.woocommerce table.my_account_orders {
    font-size: 14px;
    padding-bottom: 0;
}

.woocommerce-orders-table > tbody > tr {
    height: 108px !important;
}

.woocommerce-orders-table > thead > tr > td,
.woocommerce-orders-table > tbody > tr > td {
    /*border-bottom: 1px solid #EFEFEF;*/
    padding-bottom: 0;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 14px;
}

.woocommerce-orders-table > tbody > tr:not(:first-child) > td {
    border-top: 1px solid #EFEFEF !important;
}

@media only screen and ( max-width: 768px ) {
    .woocommerce-orders-table > tbody > tr {
        height: auto !important;
    }

    .woocommerce table.my_account_orders {
        padding-bottom: 24px;
    }

    .woocommerce-orders-table .my-account-order-product .my-account-order-product-title {
        font-size: 14px;
    }

    .woocommerce-orders-table > tbody > tr:not(:first-child) > td {
        border: none !important;
    }
}

@media only screen and ( max-width: 630px ) {
    .woocommerce-orders-table .my-account-order-product .my-account-order-product-thumbnail {
        display: none;
    }
}

@media only screen and ( max-width: 425px ) {
    .woocommerce-orders-table .my-account-order-product .my-account-order-product-title {
        font-size: 12px;
    }
}


/* Modale popup */
#modal-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

#slide-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 40%;
    /*max-width: 480px;*/
    height: 100%;
    background: #fff;
    z-index: 1001;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    overflow-y: auto;
    transition: right 0.4s ease;
    padding: 2rem;
}

#slide-modal.active {
    right: 0;
}

#modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-close {
    background: none;
    border: none;
    font-size: 2rem;
    position: absolute;
    top: 1.2em;
    left: 0;
    cursor: pointer;
}

.modal-content {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    flex-wrap: nowrap;
    /* height: 100%; */
    margin: 2em 0;
    min-height: 100vh;
}


/* Modale popup content */
.modal-content .label_same_as_billing_checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    line-height: 1.3;
    color: #313131;
}

.modal-content .label_same_as_billing_checkbox input {
    border: 2px solid #313131;
}

.my-account-form-row-group {
    width: 100%;
    display: flex;
    align-items: flex-end;
    gap: 20px;
    margin-bottom: 20px;
}

.my-account-form-row.my-account-half {
    flex: 1 1 calc(50% - 10px);
}

.my-account-form-row input,
.my-account-form-row select {
    width: 100%;
    padding: 14px;
    border: 1px solid #79747E;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    background-color: #fff;
}

.my-account-form-label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

.my-account-form-static {
    padding: 14px;
    border: 1px solid #ccc;
    background: #f5f5f5;
    border-radius: 4px;
    font-family: 'Poppins', sans-serif;
    height: 55px;
}

.modal-content button[type="submit"] {
    display: block;
    width: 100%;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.my-account-form-row input#same_as_billing_checkbox {
    width: auto;
    padding: 0;
}

@media only screen and ( max-width: 1024px ) {
    #slide-modal {
        width: 50%;
    }
}

@media only screen and ( max-width: 768px ) {
    #slide-modal {
        width: 70%;
    }

    .my-account-form-row .form-row {
        line-height: 1.2;
    }
}

@media only screen and ( max-width: 600px ) {
    .my-account-form-row {
        font-size: 10px;
    }

    #slide-modal {
        width: 90%;
    }
}

/* spinner */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    border-top-color: #000;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    vertical-align: middle;
    margin-left: 10px;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Page fiche produit front */
.product-template-default {
    font-family: Inter, sans-serif !important;
}

.product-template-default .et_pb_module_inner > h1 {
    font-weight: 600;
    font-size: 30px;
    text-align: center;
    text-transform: uppercase;
}

.product-template-default .et_pb_module_inner > h2 {
    font-weight: 200;
    font-size: 14px;
}

.product-template-default .et_pb_module_inner > ul {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.5;
    color: #000000;
}

a.reset_variations {
    display: none;
}

.td-value > span {
    display: none;
}

.passe_partout_product_bloc .td-value select {
    display: none !important;
}

.variations.passe_partout_product_bloc > table > tbody > tr {
    flex-direction: column;
}

.main_image_product > img {
    box-shadow: 20px 12px 5px #00000040;
}

.custom-swatch-radio_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-swatch-radio img {
    border: 2px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: border 0.2s ease;
}

.custom-swatch-radio input[type="radio"]:checked + img {
    border: 4px solid black !important;
    padding: 5px;
}

.radio-swatch-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.custom-swatch-radio {
    display: inline-block;
    margin: 0 10px 10px 0;
    line-height: 0 !important;
}

.custom-swatch-radio input {
    display: none;
}

.custom-swatch-radio img {
    width: 62px;
    height: 62px;
    border: 1px solid #ccc;
    border-radius: 50%;
    object-fit: none;
}

.custom-swatch-radio span {
    display: inline-block;
    width: 60px;
    /*height: 60px;*/
    line-height: 1;
    text-align: center;
    font-size: 13px;
}

.custom-swatch-radio.more-swatch {
    display: inline-block;
    margin: 0 10px 10px 0;
    cursor: pointer;
}

.is_finition .custom-swatch-radio.more-swatch span {
    display: inline-block;
    width: 62px;
    height: 62px;
    border: 1px solid #7B7B7B;
    border-radius: 50%;
    background: #fff;
    font-weight: 400;
    font-size: 17px;
    line-height: 62px;
    color: #7B7B7B;
}

.is_format .custom-swatch-radio.more-swatch span {
    display: inline-block;
    line-height: 1;
    width: 100%;
    border-radius: 10px;
    border: 2px solid #7B7B7B;
    color: #7B7B7B;
    height: auto;
    padding: 8px;
    font-size: 13px;
    background: #fff;
    font-weight: bold;
}


.modal-content.fiche-prod-modal {
    padding: 2em;
    place-items: start;
}

.finition_item {
    position: relative;
    max-width: 198px;
    max-height: 138px;
    cursor: pointer;
    display: inline-block;
    border: 1px solid #B4B4B4;
    border-radius: 4px;
    margin-bottom: 15px;
}

.format_wrapper {
    display: flex;
    gap: 8px;
    max-width: 555px;
    flex-wrap: wrap;
}

.format_item .format_variation_name {
    margin-bottom: 5px;
}

.is_format .custom-swatch-radio_wrapper label:not(.more-swatch),
.format_item .format_input_wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 33px;
    border: 2px solid #000000;
    border-radius: 10px;
    background-color: #ffffff;
}

.is_format .custom-swatch-radio_wrapper label:not(.more-swatch).active,
.format_item .format_input_wrapper.active {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 33px;
    border: 2px solid #000000;
    border-radius: 10px;
    background-color: #000000;
    color: #ffffff !important;
}

.et-db #et-boc .et-l .et_pb_wc_add_to_cart_0_tb_body .is_format .custom-swatch-radio_wrapper label:not(.more-swatch),
.et-db #et-boc .et-l .et_pb_wc_add_to_cart_0_tb_body .format_item .format_input_wrapper label {
    color: #000000 !important;
    cursor: pointer;
}

.et-db #et-boc .et-l .et_pb_wc_add_to_cart_0_tb_body .is_format .custom-swatch-radio_wrapper label:not(.more-swatch).active,
.et-db #et-boc .et-l .et_pb_wc_add_to_cart_0_tb_body .format_item .format_input_wrapper.active label {
    color: #ffffff !important;
}

.format_item input[type="radio"],
.finition_item input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.finition_variation_name {
    position: absolute;
    width: 100%;
    border-top: 1px solid #B4B4B4;
    border-bottom: 1px solid #B4B4B4;
    border-radius: 5px;
    padding: 0 11px;
    margin-top: -4.6em;
    background-color: #ffffff;
    bottom: -2px;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.finition_input_wrapper {
    height: 26px;
    display: flex;
    align-items: center;
}

.more_infos_finition {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 10px;
    margin-top: -8px;
}

.variations_form.cart .bloc_store_modal_produit {
    display: grid;
}

.et_pb_wc_add_to_cart_0_tb_body .finition_input_wrapper label {
    font-family: Inter, sans-serif;
    font-weight: 700 !important;
    font-size: 13px !important;
    color: #000000 !important;
    cursor: pointer;
}

.finition_item .radio-mark {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    height: 26px;
    width: 26px;
    border: 2px solid #000;
    border-radius: 50%;
    background-color: #fff;
}

.finition_item input[type="radio"]:checked + .radio-mark::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 4px;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: black;
}

.finition_wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: space-evenly;
}

.finition_item img {
    width: 198px;
    height: 138px;
    border-radius: 5px;
}

.type_finition {
    position: absolute;
    width: auto;
    max-height: 19px;
    display: flex;
    align-items: center;
    justify-content: center;
    top: 8px;
    left: 8px;
    background: #ffffff;
    padding: 0 .8em;
    border-radius: 5px;
    color: #000000;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;

}


.passe_partout_product_bloc .td-value.is_format .custom-swatch-radio_wrapper > label {
    display: none;
}


a[name="ajouter-aux-favoris"] {
    display: none;
}

.woocommerce form.cart button.single_add_to_cart_button, form.cart .quantity {
    display: inline-block !important;
}

.product-template-default.single-product.et-db #et-boc .et-l .et_pb_wc_title_0_tb_body {
    margin-bottom: 8px !important;
}

.product-template-default.single-product .et_pb_row_1_tb_header.et_pb_row {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.product-template-default.single-product .et_pb_column.et_pb_column_1_2.et_pb_column_1_tb_body.et_pb_css_mix_blend_mode_passthrough,
.product-template-default.single-product .et_pb_column.et_pb_column_1_2.et_pb_column_1_tb_body.et_pb_css_mix_blend_mode_passthrough .et_pb_wc_add_to_cart .et_pb_module_inner {
    display: grid;
    justify-items: center;
}


.single_variation_wrap:not(:last-child) .woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-enabled,
.single_variation_wrap:last-child .woocommerce-variation-price,
.single_variation_wrap:first-child .wc-no-matching-variations.woocommerce-info,
.single_variation_wrap:first-child .woocommerce-variation-add-to-cart.variations_button.woocommerce-variation-add-to-cart-disabled {
    display: none !important;
}

.single_variation_wrap .woocommerce-variation-price {
    display: none;
}

.single_variation_wrap:first-child .woocommerce-variation-price {
    display: block;
}

p.out-of-stock:first-child {
    display: none;
}

.single_variation_wrap .woocommerce-variation-add-to-cart.variations_button {
    display: flex;
    align-items: center;
}

.single_variation_wrap .alert,
.single_variation_wrap:first-child .woocommerce-variation-add-to-cart {
    display: none !important;
}


.single_variation_wrap {
    display: grid;
    place-items: center;
}

.variations_form .variations {
    justify-items: center;
}

.variations > table > tbody > tr {
    display: flex;
    flex-direction: column-reverse;
    margin-top: 48px;
    margin-bottom: 20px;
}

.format_selected,
.finition_selected {
    font-weight: 600;
    font-size: 17px;
    text-align: center;
    color: #000000;
    margin-bottom: 20px;
}

.format_selected {
    margin: 20px 0 10px;
}

#slide-modal.main_modale {
    max-height: 100vh; /* ou une hauteur fixe adaptée */
    overflow: auto; /* indispensable pour scroller */
    -webkit-overflow-scrolling: touch; /* inertie iOS */
}

#slide-modal.is_finition,
#slide-modal.is_format {
    width: 35%;
    place-items: center;
}

.modal-content.fiche-prod-modal {
    max-width: 555px;
}

button.modal-close.is_finition,
button.modal-close.is_format {
    background: none;
    border: 1px solid #000000;
    font-size: 1.2rem;
    position: absolute;
    top: 2.5em;
    right: 20px;
    left: inherit;
    cursor: pointer;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    line-height: 13px;
    padding: 0;
}

.titre_choix_format,
.titre_choix_finition,
p.more_infos_finition_title {
    display: flex;
    align-items: center;
    margin-bottom: 1em;
    font-weight: 600 !important;
    font-size: 17px !important;
    color: #000000;
    gap: 5px;
}

/*p.more_infos_finition_desc {*/
/*    font-weight: 400;*/
/*    font-size: 12px;*/
/*}*/

.modal-content.is_format > p,
.modal-content.is_finition > p {
    font-weight: 400;
    line-height: 1.3;
    color: #000000;
    font-size: 12px;
    margin-bottom: 2em;
}

.modal-content.is_finition > p.more_infos_finition_title {
    margin: 0;
}

.modal-content.is_format > hr,
.modal-content.is_finition > hr {
    height: 1px;
    width: 100%;
    margin: 2em 0;
    background-color: #D6D6D6;
    border: 0;
}

.choix_formfini_button,
.more-infos_finition_data_retour {
    display: block;
    background-color: #000;
    color: #fff;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    border-radius: 4px;
    margin-left: auto;
}

@media only screen and ( max-width: 1440px ) {

    #slide-modal.is_finition,
    #slide-modal.is_format {
        width: 45%;
    }
}

@media only screen and ( max-width: 1024px ) {

    #slide-modal.is_finition,
    #slide-modal.is_format {
        width: 65%;
    }
}

@media only screen and ( max-width: 768px ) {

    #slide-modal.is_finition,
    #slide-modal.is_format {
        width: 85%;
    }
}

.woocommerce-variation-add-to-cart > .quantity > input[name="quantity"] {
    display: none;
}

.et-db #et-boc .et-l .et_pb_wc_add_to_cart_0_tb_body .quantity-wrapper input {
    background-color: inherit !important;
}

.quantity-wrapper {
    margin: 0 20px 0 0;
}


.variation-image-overlay {
    transition: opacity 0.8s ease;
    /*pointer-events: none; !* Pour ne pas gêner les clics derrière *!*/
}


/*.et_pb_column.et_pb_css_mix_blend_mode_passthrough,*/
/*.et_builder_inner_content.et_pb_gutters3.product .et_pb_section.et_pb_section_1_tb_body.et_section_regular {*/
/*    z-index: -1;*/
/*}*/

/* Block Cartes Avantages */
.avantages-triples-bloc {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 40px 0;
}

.carte-avantage {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 15px 0 #00000040;
    padding: 30px 20px;
    max-width: 390px;
    text-align: center;
    flex: 1 1 250px;
}

.carte-avantage .icone img {
    height: 60px;
    margin-bottom: 20px;
}

.carte-avantage h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.carte-avantage p.cart-text {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
    color: #000000;
}

.carte-avantage p:last-child {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #000000;
}

.carte-avantage a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: underline;
    color: #000000 !important;
}

body.product-template-default.single-product #page-container .et_pb_section .et_pb_wc_add_to_cart_0_tb_body .button:hover {
    color: #ffffff !important;
    background-image: initial !important;
    background-color: #000000 !important;
}

/* Bloc Comment utiliser ce cadre */
.double-section-visuelle {
    font-family: 'Inter', sans-serif;
    margin: 4rem 0;
}

.double-section-visuelle > h2 {
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    color: #000000;
    text-align: center;
    font-weight: 600;
}

.double-section-visuelle > p {
    font-family: 'Inter', sans-serif;
    font-size: 25px;
    color: #000000;
    text-align: center;
    font-weight: 200;
    margin-bottom: 50px;
}

.double-section-visuelle .row {
    display: flex;
    /*flex-wrap: wrap;*/
    align-items: center;
}

.double-section-visuelle .row-1 .image,
.double-section-visuelle .row-2 .image {
    flex: 1 1 50%;
    max-width: 50%;
    min-width: 250px;
}

.double-section-visuelle .row-2 {
    margin-top: -7px;
}

.double-section-visuelle h3 {
    margin: .5em 0;
    font-family: 'Inter', sans-serif;
    font-size: 40px;
    font-weight: 600;
    color: #000000;
}

.double-section-visuelle .text {
    flex: 1 1 50%;
    max-width: 50%;
    padding: 3em;
}

.double-section-visuelle .text .badge {
    display: flex;
    max-width: 130px;
    justify-content: center;
    align-items: center;
    line-height: 1;
    gap: 5px;
    font-size: 0.9rem;
    font-weight: 600;
    background: #ffffff;
    padding: 0.3rem;
    margin-bottom: 0.8rem;
    border-radius: 10px;
    border: 3px solid #000000;
    color: #000000;
}

@media only screen and ( max-width: 860px ) {

    .double-section-visuelle h2 {
        font-size: 25px;
    }

    .double-section-visuelle h3 {
        font-size: 18px;
    }

    .double-section-visuelle > p {
        font-size: 16px !important;
    }

    .double-section-visuelle p {
        font-size: 10px;
    }
}

@media only screen and ( max-width: 600px ) {

    .double-section-visuelle {
        max-width: 100%;
        margin: 0;
    }

    .double-section-visuelle .row {
        display: block;
    }

    .double-section-visuelle .image {
        /*display: none;*/
        justify-self: center;
    }

    .double-section-visuelle h3 {
        font-size: 22px;
    }

    .double-section-visuelle p {
        font-size: 14px;
    }

    .double-section-visuelle .text {
        max-width: 100%;
        justify-self: center;
    }
}

/* Block Process d'anodisation */
section .bloc-anodisation {
    font-family: 'Inter', sans-serif;
    color: #000000;
}

.bloc-anodisation {
    text-align: center;
    margin: 4rem 0;
}

.bloc-anodisation .anodisation-header h3 {
    font-size: 40px;
    font-weight: 600;
    margin-bottom: 0.5rem;

}

.bloc-anodisation .anodisation-header p.sous-titre {
    margin-bottom: 2.5rem;
    font-size: 25px;
    font-weight: 200;
    color: #000000;
}

.bloc-anodisation .etape h4 {
    margin-top: 2em;
    font-size: 17px;
    font-weight: 700;
}

.bloc-anodisation .etape p {
    font-weight: 400;
    line-height: 1.5;
}

.etapes-anodisation {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.etape {
    width: 300px;
    max-width: 90%;
    text-align: center;
}

.image-wrapper {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
}

.image-wrapper img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.etape-numero {
    position: absolute;
    bottom: 15px;
    left: 15px;
    background: rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    font-weight: 900;
    border-radius: 12px;
    font-size: 1.1rem;
    color: #000000;
}


.et_pb_section.et_pb_section_0_tb_body.et_section_regular {
    z-index: 1;
}

.et_pb_section.et_pb_section_1_tb_body.et_section_regular {
    z-index: -1;
}

/* Champ quantité produits */
.quantity-wrapper {
    display: inline-flex;
    align-items: center;
    background: #f2f2f2;
    border-radius: 6px;
    padding: 0 10px;
    height: 40px;
}

.qty-input {
    width: 30px;
    border: none;
    background: transparent;
    text-align: center;
    font-weight: bold;
    font-size: 16px;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.qty-minus,
.qty-plus {
    border: none;
    background: transparent;
    font-size: 18px;
    color: #555;
    cursor: pointer;
    padding: 0 10px;
}

/* section passe partout */

.et_pb_row.et_pb_row_6_tb_body .et_pb_code_4_tb_body > .et_pb_code_inner {
    padding: 60px 0;
}

.passepartout_section_wrapper {
    display: flex;
    font-family: 'Inter', sans-serif;
    color: #000000;
}

.passepartout_section_wrapper .passepartout_section_image,
.passepartout_section_wrapper .passepartout_section_form {
    width: 50%;
    align-content: center;
}

.passepartout_section_wrapper .passepartout_section_form {
    max-width: 540px;
}

.passepartout_section_wrapper .passepartout_section_image {
    text-align: center;
}

.passepartout_section_wrapper .passepartout_section_image img {
    max-width: 496px;
}

.titre_section_passepartout {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    color: #000000;
}

.soustitre_section_passepartout {
    text-align: center;
    margin-bottom: 2em;
    font-size: 25px;
    font-weight: 200;
    color: #000000;
}

.passepartout_section_wrapper .selected_for_you {
    max-width: 195px;
    text-align: center;
    height: 32px;
    justify-self: center;
    padding: 8px;
    line-height: .9;
    font-size: 13px;
    font-weight: 600;
    border: 3px solid #000000;
    border-radius: 10px;
    margin-bottom: 1.5em;
    color: #000000;
}

.passepartout_section_wrapper .titre_produit_passepartout {
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    color: #000000;
}

.passepartout_section_wrapper p {
    text-align: center;
}

.passepartout_section_wrapper .passepartout_section_form p.description_passe_partout {
    max-width: 510px;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    color: #000000;
}

.variations_form_ {
    justify-self: center;
}

.variations_form_ .variations > table > tbody > tr {
    margin-top: 5px;
}

.woocommerce div.product form.cart .variations .passepartout_section_wrapper td {
    padding: 0 !important;
}

.passepartout_section_wrapper p.format_selected {
    font-size: 16px;
    font-weight: 700;
}

.passepartout_section_wrapper .cadre_sujet_wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    text-align: center;
}

.passepartout_section_wrapper p.variation_price {
    padding: 0 !important;
}

.passepartout_section_wrapper .variation_price .woocommerce-Price-amount {
    font-size: 22px;
}

.passepartout_section_wrapper .var_ttc {
    font-size: 11px;
    font-weight: 400;
}

.et_button_no_icon.woocommerce .passepartout_section_wrapper button.button.passepartout_add_to_cart {
    display: flex;
    justify-content: center;
    padding: 10px 30px !important;
    width: 235px;
    margin-left: 50%;
    transform: translate(-50%, 0);
    margin-top: 1.5em;
    background-color: #000000 !important;
    border-radius: 7px !important;
}

.passepartout_section_wrapper button.passepartout_add_to_cart img {
    height: 20px;
    margin-right: .4em;
}

.passepartout_section_wrapper .format_selected {
    margin: 20px 0 20px;
}

@media only screen and ( max-width: 1024px ) {
    .passepartout_section_wrapper .passepartout_section_image img {
        max-width: 350px;
    }

    .passepartout_section_wrapper .passepartout_section_form {
        width: 50%;
    }

    .passepartout_section_wrapper .passepartout_section_image {
        width: 40%;
        margin-bottom: 3em;
    }

    .passepartout_section_wrapper {
        justify-content: space-evenly;
    }
}

@media only screen and ( max-width: 768px ) {
    .passepartout_section_wrapper {
        display: block;
        justify-items: center;
    }

    .passepartout_section_wrapper .titre_produit_passepartout {
        font-size: 35px;
    }

    .passepartout_section_wrapper .passepartout_section_image {
        width: 100%;
    }

    .passepartout_section_wrapper .passepartout_section_image img {
        max-width: 307px;
    }

    .is_finition label.custom-swatch-radio {
        min-width: 62px !important;
    }
}

/* new footer */
#new_footer .et_pb_column_0_tb_footer,
#new_footer .et_pb_column_1_tb_footer {
    width: 50% !important;
    margin: 0 !important;
    height: 384px;
    color: #ffffff;
    padding: 55px 110px;
    justify-items: center;
    align-content: center;
}

#new_footer h2 {
    font-family: 'Montserrat', sans-serif !important;
    color: #ffffff;
    text-align: center;
    font-size: 36px !important;
    font-weight: 700 !important;
    text-transform: none !important;
}

#new_footer .et_pb_text_1_tb_footer,
#new_footer .et_pb_text_3_tb_footer {
    text-align: center !important;
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
}

#new_footer.et_pb_row.et_pb_row_0_tb_footer,
.et_pb_section.et_pb_section_2_tb_footer.et_section_regular {
    padding: 0;
!important;
}

body.et_pb_button_helper_class.et-db #et-boc #new_footer .et_pb_button.et_pb_button_0_tb_footer,
body.et_pb_button_helper_class.et-db #et-boc #new_footer .et_pb_button.et_pb_button_1_tb_footer {
    background-color: #ffffff !important;
    color: #000000;
    border-radius: 5px !important;
    margin-top: 1em;
}

/*body #new_footer .et_pb_button:hover {*/
/*    color: #000000 !important;*/
/*}*/

@media only screen and ( max-width: 1083px ) {
    #new_footer .et_pb_column_0_tb_footer,
    #new_footer .et_pb_column_1_tb_footer {
        padding: 25px 10px;
    }
}

/* Prix promo */
.woocommerce-variation-price .price {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.woocommerce-variation-price > p {
    justify-self: center !important;
}

.price ins {
    order: 1;
    color: #d6392c;
    font-weight: 700;
    font-size: 1.2em;
    text-decoration: none;
}

.price ins bdi {
    color: #d6392c;
}

.price del {
    order: 2;
    color: #777;
    text-decoration: line-through;
    margin-left: 0.4em;
}

/* Badge de réduction */
.price .discount-badge {
    order: 3;
    display: inline-block;
    background-color: #d6392c;
    color: #fff;
    font-size: 0.8em;
    font-weight: 600;
    border-radius: 1em;
    padding: 0.1em 0.6em;
    margin-left: 0.5em;
    vertical-align: middle;
}

/* Page Checkout */
#entrepot_pickup_field {
    /*display: none;*/
}

.product-info .product-link {
    color: #000000;
}

.single-product.woocommerce .et_pb_section_0_tb_body.et_pb_section {
    padding-top: 10px;
}

.et_pb_section_0_tb_body #section_haut_produit {
    max-width: 2440px;
}

/* Panier dans menu */
#mega-menu-wrap-primary-menu #mega-menu-primary-menu {
    display: flex;
    justify-content: end;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu .menu-item.menu-item-cart {
    position: relative;
    align-self: center;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu a.panier-contents {
    display: flex;
    flex-direction: column;
    margin-top: 6px;
    width: 85px;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 10px;
}

#mega-menu-secondary-menu .menu-item-myaccount {
    display: none !important;
}

.mega-menu-open ~ #mega-menu-secondary-menu .menu-item-myaccount {
    display: flex !important;
}

.mega-menu-open ~ #mega-menu-secondary-menu .cart-count {
    right: -5px !important;
}


.cart-count {
    background-color: #ffffff;
    border-radius: 50%;
    width: 16px;
    height: 15px;
    position: absolute;
    color: #000000;
    text-align: center;
    right: 10px;
    top: -10px;
    line-height: 1.6;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu li#mega-menu-item-21902 > a.mega-menu-link:before {
    font-size: 25px !important;
    margin: 0 !important;
}

#mega-menu-wrap-primary-menu #mega-menu-primary-menu li.mega-menu-item.mega-icon-top > a.mega-menu-link > span.mega-title-below {
    font-size: 10px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

#mega-toggle-block-2 {
  position: relative;
}

/* La bulle compteur */
#mega-toggle-block-2 .menu-cart-count {
    position: absolute;
    top: 5px;
    right: 0;
    transform: translate(50%, -50%);
    width: 1rem;
    height: 1rem;
    padding: 0 .3rem;
    border-radius: 999px;
    font-size: .6rem;
    line-height: 1rem;
    font-weight: 500;
    text-align: center;
    color: #ffffff;
    background: #000000;
    pointer-events: none;
    z-index: 2;
}

#mega-toggle-block-2 .menu-cart-count[data-count="0"] { display: none; }

@media (min-width: 901px) {
  #mega-toggle-block-2 .menu-cart-count { display: none; }
}

/* Page panier vide */
.page-id-34415 #et-main-area,
.page-id-34487 #et-main-area { /* 34487 id page panier vide */
    background: #f8f8f8;
}

.page-id-34415 #main-content,
.page-id-34487 #main-content {
    background: #f8f8f8;
}

.custom-cart-empty {
    max-width: 700px;
    margin: 60px auto 100px;
    padding: 20px;
    text-align: center;
    background: #fff;
    border-radius: 4px;
}

.custom-cart-empty h2 {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 10px;
}

.custom-cart-empty p {
    font-family: 'Inter', sans-serif;
    color: #555;
    font-size: 14px;
    margin-bottom: 20px;
}

.custom-cart-empty .btn-discover {
    display: inline-block;
    padding: 12px 24px;
    background: #000;
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    border-radius: 4px;
    transition: background-color .2s ease;
}

.custom-cart-empty .btn-discover:hover {
    background: #333;
}


/* États de validation */
/*.field-valid {*/
/*  border-color: #28a745 !important;*/
/*  outline: none;*/
/*}*/
/*.field-invalid {*/
/*  border-color: #dc3545 !important;*/
/*  outline: none;*/
/*}*/

/* Message d’erreur sous le champ */
.field-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
    display: none;
    width: max-content;
}

.woocommerce-input-wrapper {
    position: relative;
}

.field-invalid + .field-error {
    display: block;
    position: absolute;
    bottom: -25px;
}


/* Fancy css */
/* fix souci à la fermeture du carrousel */
.fancybox__container.is-closing[aria-hidden="true"] {
    pointer-events: none !important;
    opacity: 0 !important;
}




