﻿/*Variable*/
:root {
  --sb-accent: #00bee3;
  --sb-accent-hover: #0e9ec0;
  --sb-brand-pink: #ff006f;
  --sb-brand-green: #76b72a;
  --sb-brand-green-hover: #6ca625;
  --sb-brand-purple: #8857f2;
  --sb-brand-orange: #e36900;
  --sb-brand-blue: #00AFAA;
  --sb-brand-grey: #3c433e;
  --sb-border-soft: #b2b7b3;
  --sb-favorite-size: 2rem;
  --sb-favorite-icon-off: url("/modules/selecteobuyback/views/img/favorite-star-outline.svg");
  --sb-favorite-icon-on: url("/modules/selecteobuyback/views/img/favorite-star-filled.svg");
  --sb-trash-icon: url("/modules/selecteobuyback/views/img/trash.svg?v=20260417");
  --sb-white-rgb: 255, 255, 255;
  --primary-color: var(--sb-brand-pink);
  --secondary-color: var(--sb-accent);
  --accent-color: var(--sb-brand-green);
  --grey: var(--sb-brand-grey);
  --bs-body-font-family: "Montserrat", sans-serif;
  --sb-vw-unit: 1vw;
  --bs-primary:var(--sb-accent);
}


@supports (width: 1svw) {
  :root {
    --sb-vw-unit: 1svw;
  }
}

/* Typographie globale du theme enfant */
body,
button,
input,
select,
textarea {
    font-family: "Montserrat", sans-serif;
}

html {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    overflow-x: clip;
    scrollbar-width: thin;
    scrollbar-color: var(--sb-brand-grey) rgb(255, 255, 255);
}

body {
    overflow-x: clip;
}

@supports not (overflow: clip) {
    html,
    body {
        overflow-x: hidden;
    }
}

#header,
#header .header__banner,
#header .header-bottom {
    overflow-x: clip;
}

.promo-banner-shell {
    position: relative;
}

.promo-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 6;
    display: block;
    text-decoration: none;
    cursor: pointer;
}

.promo-banner__overlay:focus-visible {
    outline: 2px solid var(--sb-brand-pink);
    outline-offset: -2px;
}

body.ce-preview-mode .promo-banner__overlay {
    display: none;
}

.promo-banner-shell .promo-banner,
.promo-banner-shell .promo-banner__track,
.promo-banner-shell .elementor-widget-wrap {
    position: relative;
    z-index: 1;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--sb-brand-grey) rgb(255, 255, 255);
}

*::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

*::-webkit-scrollbar-track {
    background: rgba(60, 67, 62, 0.14);
}

*::-webkit-scrollbar-thumb {
    background: var(--sb-brand-pink);
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.65);
}

*::-webkit-scrollbar-thumb:hover {
    background: var(--sb-brand-pink);
}

/* Scrollbar arrows (Chromium/WebKit legacy buttons) */
*::-moz-scrollbar-button:decrement,
*::-moz-scrollbar-button:increment,
*::-webkit-scrollbar-button:decrement,
*::-webkit-scrollbar-button:increment {
  width: 0 !important;
  height: 0 !important;
}
*::-moz-scrollbar-button,
*::-webkit-scrollbar-button,
html::-webkit-scrollbar-button,
body::-webkit-scrollbar-button {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: transparent !important;
  border: 0 !important;
}

/*alert*/

.alert {
    display: flex;
    text-align: center;
    justify-content: center;
    align-items: center;
    gap: 0.5em;
    flex-wrap: wrap;
}
.alert button.close {
    display: none;
}
.alert a.btn.btn-primary {
    margin-left: 1em;
    background: var(--sb-accent);
}

/*elements*/
a {
    color: var(--sb-brand-green);
}
strong {
    font-weight: 700;
}
.rich-text .h1, .rich-text h1, .rich-text .h2, .rich-text h2, .rich-text .h3, .rich-text h3, .rich-text .h4, .rich-text h5, .rich-text .h5, .rich-text h4,.rich-text .h4, .rich-text h4,.rich-text .h4, .rich-text h4 {
    margin:0;
}
.btn {
    --bs-btn-padding-x: 1.2rem;
    --bs-btn-padding-y: 0.62rem;
    --bs-btn-font-size: clamp(0.9rem, 2.5vw, 1.02rem);
    --bs-btn-border-radius: 10px;
    --bs-btn-border-width: 2px;
    --bs-btn-line-height: 1.2;
    font-family: "Montserrat", sans-serif;
    color: #000;
    font-weight: 600;
    white-space:nowrap;
    min-height:40px;
    width: fit-content;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--bs-btn-border-radius);
    border-style: solid;
    border-width: var(--bs-btn-border-width);
    background-color: rgba(255, 255, 255, 0.9);
    line-height: 1;
    text-shadow:none;
}

.btn-success {
    --bs-btn-bg: #fff;
    --bs-btn-border-color: var(--sb-brand-green);
    --bs-btn-hover-bg: var(--sb-brand-grey);
    --bs-btn-hover-border-color: var(--sb-brand-grey);
    --bs-btn-active-bg: var(--sb-brand-grey);
    --bs-btn-active-border-color: var(--sb-brand-grey);
    --bs-btn-disabled-bg: var(--sb-brand-green);
    --bs-btn-disabled-border-color: var(--sb-brand-green);
}
.btn-primary {
    --bs-btn-bg: var(--sb-brand-green);
    --bs-btn-border-color: var(--sb-brand-green);
    --bs-btn-hover-bg: var(--sb-brand-green);
    --bs-btn-hover-border-color: var(--sb-brand-green);
    --bs-btn-active-bg: var(--sb-brand-green);
    --bs-btn-active-border-color: var(--sb-brand-green);
    --bs-btn-disabled-bg: var(--sb-brand-green);
    --bs-btn-disabled-border-color: var(--sb-brand-green);
}

body #wrapper .btn-vert a, button.btn-vert, button.btn-primary {
    color: var(--sb-brand-green);
    border-color: var(--sb-brand-green);
}
body #wrapper .btn-bleu a, button.btn-bleu {
    color: var(--sb-accent);
    border-color: var(--sb-accent);    
}
body #wrapper .btn-rose a, button.btn-rose {
    color: var(--sb-brand-pink);
    border-color: var(--sb-brand-pink);    
}
body #wrapper .btn-violet a, button.btn-violet {
    color: var(--sb-brand-purple);
    border-color: var(--sb-brand-purple);    
}
body #wrapper .btn-orange a, button.btn-orange {
    color: var(--sb-brand-orange);
    border-color: var(--sb-brand-orange);
}
body #wrapper .btn-bleu-fonce a, button.btn-bleu-fonce {
    color: var(--sb-brand-blue);
    border-color: var(--sb-brand-blue);
}
body #wrapper .btn-gris a, button.btn-gris {
    color: var(--sb-brand-grey);
    border-color: var(--sb-brand-grey);    
}
body #wrapper .btn-blanc a, body #footer .btn-blanc a, button.btn-blanc {
    color: #fff;
    border-color: #fff;
    background: transparent;  
}
body #wrapper .btn a:hover, button.btn:hover, body #wrapper .btn a:focus,button.btn:focus, body #wrapper .btn a:active, button.btn:active {
    background-color: var(--sb-brand-grey);
    color: #fff;
}
body #wrapper a.btn.btn-picto,
body #wrapper button.btn.btn-picto {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
}
body #wrapper a.btn.btn-picto > :last-child,
body #wrapper button.btn.btn-picto > :last-child {
    margin-left: auto;
}
body #wrapper .btn-vert a:hover,button.btn-vert:hover, button.btn-primary:hover, body #wrapper .btn-vert a:focus,button.btn-vert:focus, button.btn-primary:focus, body #wrapper .btn-vert a:active,button.btn-vert:active, button.btn-primary:active {
    background-color: var(--sb-brand-green);
    border-color: var(--sb-brand-green);
    color: #fff;
}
body #wrapper .btn-bleu a:hover, button.btn-bleu:hover, body #wrapper .btn-bleu a:focus, button.btn-bleu:focus, body #wrapper .btn-bleu a:active, button.btn-bleu:active {
    background-color: var(--sb-accent);
    border-color: var(--sb-accent);
    color: #fff;
}
body #wrapper .btn-rose a:hover, button.btn-rose:hover, body #wrapper .btn-rose a:focus, button.btn-rose:focus, body #wrapper .btn-rose a:active, button.btn-rose:active {
    background-color: var(--sb-brand-pink);
    border-color: var(--sb-brand-pink);
    color: #fff;
}
body #wrapper .btn-violet a:hover,button.btn-violet:hover, body #wrapper .btn-violet a:focus,button.btn-violet:focus, body #wrapper .btn-violet a:active,button.btn-violet:active {
    background-color: var(--sb-brand-purple);
    border-color: var(--sb-brand-purple);
    color: #fff;
}
body #wrapper .btn-orange a:hover,button.btn-orange:hover, body #wrapper .btn-orange a:focus,button.btn-orange:focus, body #wrapper .btn-orange a:active,button.btn-orange:active {
    background-color: var(--sb-brand-orange);
    border-color: var(--sb-brand-orange);
    color: #fff;
}
body #wrapper .btn-bleu-fonce a:hover,button.btn-bleu-fonce:hover, body #wrapper .btn-bleu-fonce a:focus,button.btn-bleu-fonce:focus, body #wrapper .btn-bleu-fonce a:active,button.btn-bleu-fonce:active {
    background-color: var(--sb-brand-blue);
    border-color: var(--sb-brand-blue);
    color: #fff;
}
body #wrapper .btn-gris a:hover, button.btn-gris:hover, body #wrapper .btn-gris a:focus, button.btn-gris:focus, body #wrapper .btn-gris a:active, button.btn-gris:active {
    background-color: var(--sb-brand-grey);
    border-color: var(--sb-brand-grey);
    color: #fff;
}
body #wrapper .btn-blanc a:hover, button.btn-blanc:hover, body #wrapper .btn-blanc a:focus, button.btn-blanc:focus, body #wrapper .btn-blanc a:active, button.btn-blanc:active {
    background-color: #fff;
    border-color: #fff;
    color: var(--sb-brand-pink);
}
body #wrapper .btn-anim a,
body #footer .btn-anim a,
body #wrapper a.btn.btn-anim,
body #wrapper button.btn.btn-anim {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background-clip: border-box;
    transition: color 0.44s ease, border-color 0.44s ease;
}
body #wrapper .btn-anim a::before,
body #footer .btn-anim a::before,
body #wrapper a.btn.btn-anim::before,
body #wrapper button.btn.btn-anim::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 0;
    pointer-events: none;
    z-index: -1;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns%3D%22http://www.w3.org/2000/svg%22 viewBox%3D%220 0 120 34%22 preserveAspectRatio%3D%22none%22%3E%3Cpath fill%3D%22black%22 d%3D%22M0%2C20c22.9-11.3%2C43.5%2C5.6%2C70-2s46-2%2C50%2C0v16H0v-14Z%22/%3E%3C/svg%3E");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns%3D%22http://www.w3.org/2000/svg%22 viewBox%3D%220 0 120 34%22 preserveAspectRatio%3D%22none%22%3E%3Cpath fill%3D%22black%22 d%3D%22M0%2C20c22.9-11.3%2C43.5%2C5.6%2C70-2s46-2%2C50%2C0v16H0v-14Z%22/%3E%3C/svg%3E");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 140px;
    mask-size: 100% 140px;
    -webkit-mask-position: top center;
    mask-position: top center;
    border-radius: 0;
    transition: height 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}
body #wrapper .btn-anim a:hover,
body #wrapper a.btn.btn-anim:hover,
body #wrapper button.btn.btn-anim:hover {
    background-color: rgba(255, 255, 255, 0.9);
}
body #wrapper .btn-anim.btn-vert a:hover,
body #wrapper .btn-anim.btn-bleu a:hover,
body #wrapper .btn-anim.btn-rose a:hover,
body #wrapper .btn-anim.btn-violet a:hover,
body #wrapper .btn-anim.btn-orange a:hover,
body #wrapper .btn-anim.btn-bleu-fonce a:hover,
body #wrapper .btn-anim.btn-gris a:hover,
body #wrapper a.btn.btn-anim.btn-vert:hover,
body #wrapper a.btn.btn-anim.btn-bleu:hover,
body #wrapper a.btn.btn-anim.btn-rose:hover,
body #wrapper a.btn.btn-anim.btn-violet:hover,
body #wrapper a.btn.btn-anim.btn-orange:hover,
body #wrapper a.btn.btn-anim.btn-bleu-fonce:hover,
body #wrapper a.btn.btn-anim.btn-gris:hover,
body #wrapper button.btn.btn-anim.btn-vert:hover,
body #wrapper button.btn.btn-anim.btn-bleu:hover,
body #wrapper button.btn.btn-anim.btn-rose:hover,
body #wrapper button.btn.btn-anim.btn-violet:hover,
body #wrapper button.btn.btn-anim.btn-orange:hover,
body #wrapper button.btn.btn-anim.btn-bleu-fonce:hover,
body #wrapper button.btn.btn-anim.btn-gris:hover {
    background-color: rgba(255, 255, 255, 0.9);
}
body #wrapper .btn-anim a::before,
body #wrapper a.btn.btn-anim::before,
body #wrapper button.btn.btn-anim::before {
    background: var(--sb-brand-grey);
}
body #wrapper .btn-anim.btn-vert a::before,
body #wrapper .btn-anim.btn-vert a:hover::before,
body #wrapper .btn-anim.btn-vert a:focus-visible::before,
body #wrapper a.btn-anim.btn-vert::before,
body #wrapper a.btn-anim.btn-vert:hover::before,
body #wrapper a.btn-anim.btn-vert:focus-visible::before,
body #wrapper button.btn-anim.btn-vert::before,
body #wrapper button.btn-anim.btn-vert:hover::before,
body #wrapper button.btn-anim.btn-vert:focus-visible::before {
    background: var(--sb-brand-green);
}
body #wrapper .btn-anim.btn-bleu a::before,
body #wrapper .btn-anim.btn-bleu a:hover::before,
body #wrapper .btn-anim.btn-bleu a:focus-visible::before,
body #wrapper a.btn-anim.btn-bleu::before,
body #wrapper a.btn-anim.btn-bleu:hover::before,
body #wrapper a.btn-anim.btn-bleu:focus-visible::before,
body #wrapper button.btn-anim.btn-bleu::before,
body #wrapper button.btn-anim.btn-bleu:hover::before,
body #wrapper button.btn-anim.btn-bleu:focus-visible::before {
    background: var(--sb-accent);
}
body #wrapper .btn-anim.btn-rose a::before,
body #wrapper .btn-anim.btn-rose a:hover::before,
body #wrapper .btn-anim.btn-rose a:focus-visible::before,
body #wrapper a.btn-anim.btn-rose::before,
body #wrapper a.btn-anim.btn-rose:hover::before,
body #wrapper a.btn-anim.btn-rose:focus-visible::before,
body #wrapper button.btn-anim.btn-rose::before,
body #wrapper button.btn-anim.btn-rose:hover::before,
body #wrapper button.btn-anim.btn-rose:focus-visible::before {
    background: var(--sb-brand-pink);
}
body #wrapper .btn-anim.btn-violet a::before,
body #wrapper .btn-anim.btn-violet a:hover::before,
body #wrapper .btn-anim.btn-violet a:focus-visible::before,
body #wrapper a.btn-anim.btn-violet::before,
body #wrapper a.btn-anim.btn-violet:hover::before,
body #wrapper a.btn-anim.btn-violet:focus-visible::before,
body #wrapper button.btn-anim.btn-violet::before,
body #wrapper button.btn-anim.btn-violet:hover::before,
body #wrapper button.btn-anim.btn-violet:focus-visible::before {
    background: var(--sb-brand-purple);
}
body #wrapper .btn-anim.btn-orange a::before,
body #wrapper .btn-anim.btn-orange a:hover::before,
body #wrapper .btn-anim.btn-orange a:focus-visible::before,
body #wrapper a.btn-anim.btn-orange::before,
body #wrapper a.btn-anim.btn-orange:hover::before,
body #wrapper a.btn-anim.btn-orange:focus-visible::before,
body #wrapper button.btn-anim.btn-orange::before,
body #wrapper button.btn-anim.btn-orange:hover::before,
body #wrapper button.btn-anim.btn-orange:focus-visible::before {
    background: var(--sb-brand-orange);
}
body #wrapper .btn-anim.btn-bleu-fonce a::before,
body #wrapper .btn-anim.btn-bleu-fonce a:hover::before,
body #wrapper .btn-anim.btn-bleu-fonce a:focus-visible::before,
body #wrapper a.btn-anim.btn-bleu-fonce::before,
body #wrapper a.btn-anim.btn-bleu-fonce:hover::before,
body #wrapper a.btn-anim.btn-bleu-fonce:focus-visible::before,
body #wrapper button.btn-anim.btn-bleu-fonce::before,
body #wrapper button.btn-anim.btn-bleu-fonce:hover::before,
body #wrapper button.btn-anim.btn-bleu-fonce:focus-visible::before {
    background: var(--sb-brand-blue);
}
body #wrapper .btn-anim.btn-blanc a::before,
body #wrapper .btn-anim.btn-blanc a:hover::before,
body #wrapper .btn-anim.btn-blanc a:focus-visible::before,
body #wrapper a.btn-anim.btn-blanc::before,
body #wrapper a.btn-anim.btn-blanc:hover::before,
body #wrapper a.btn-anim.btn-blanc:focus-visible::before,
body #footer .btn-anim.btn-blanc a::before,
body #footer .btn-anim.btn-blanc a:hover::before,
body #footer .btn-anim.btn-blanc a:focus-visible::before,
body #footer a.btn-anim.btn-blanc::before,
body #footer a.btn-anim.btn-blanc:hover::before,
body #footer a.btn-anim.btn-blanc:focus-visible::before,
body #wrapper button.btn-anim.btn-blanc::before,
body #wrapper button.btn-anim.btn-blanc:hover::before,
body #wrapper button.btn-anim.btn-blanc:focus-visible::before {
    background: #fff;
}
body #wrapper .btn-anim a:hover::before,
body #wrapper .btn-anim a:focus-visible::before,
body #footer .btn-anim a:hover::before,
body #footer .btn-anim a:focus-visible::before,
body #wrapper a.btn.btn-anim:hover::before,
body #wrapper a.btn.btn-anim:focus-visible::before,
body #wrapper button.btn.btn-anim:hover::before,
body #wrapper button.btn.btn-anim:focus-visible::before {
    height: 140px;
}

@media (hover: none) and (pointer: coarse), (prefers-reduced-motion: reduce) {
    body #wrapper .btn-anim a,
    body #footer .btn-anim a,
    body #wrapper a.btn.btn-anim,
    body #wrapper button.btn.btn-anim {
        transition: none;
    }

    body #wrapper .btn-anim a::before,
    body #footer .btn-anim a::before,
    body #wrapper a.btn.btn-anim::before,
    body #wrapper button.btn.btn-anim::before {
        content: none;
    }

    body #wrapper .btn-anim.btn-vert a:hover,
    body #wrapper .btn-anim.btn-vert a:focus,
    body #wrapper .btn-anim.btn-vert a:focus-visible,
    body #wrapper .btn-anim.btn-vert a:active,
    body #wrapper a.btn.btn-anim.btn-vert:hover,
    body #wrapper a.btn.btn-anim.btn-vert:focus,
    body #wrapper a.btn.btn-anim.btn-vert:focus-visible,
    body #wrapper a.btn.btn-anim.btn-vert:active,
    body #wrapper button.btn.btn-anim.btn-vert:hover,
    body #wrapper button.btn.btn-anim.btn-vert:focus,
    body #wrapper button.btn.btn-anim.btn-vert:focus-visible,
    body #wrapper button.btn.btn-anim.btn-vert:active,
    body #wrapper button.btn.btn-primary.btn-anim:hover,
    body #wrapper button.btn.btn-primary.btn-anim:focus,
    body #wrapper button.btn.btn-primary.btn-anim:focus-visible,
    body #wrapper button.btn.btn-primary.btn-anim:active {
        background: var(--sb-brand-green);
    }

    body #wrapper .btn-anim.btn-bleu a:hover,
    body #wrapper .btn-anim.btn-bleu a:focus,
    body #wrapper .btn-anim.btn-bleu a:focus-visible,
    body #wrapper .btn-anim.btn-bleu a:active,
    body #wrapper a.btn.btn-anim.btn-bleu:hover,
    body #wrapper a.btn.btn-anim.btn-bleu:focus,
    body #wrapper a.btn.btn-anim.btn-bleu:focus-visible,
    body #wrapper a.btn.btn-anim.btn-bleu:active,
    body #wrapper button.btn.btn-anim.btn-bleu:hover,
    body #wrapper button.btn.btn-anim.btn-bleu:focus,
    body #wrapper button.btn.btn-anim.btn-bleu:focus-visible,
    body #wrapper button.btn.btn-anim.btn-bleu:active {
        background: var(--sb-accent);
    }

    body #wrapper .btn-anim.btn-rose a:hover,
    body #wrapper .btn-anim.btn-rose a:focus,
    body #wrapper .btn-anim.btn-rose a:focus-visible,
    body #wrapper .btn-anim.btn-rose a:active,
    body #wrapper a.btn.btn-anim.btn-rose:hover,
    body #wrapper a.btn.btn-anim.btn-rose:focus,
    body #wrapper a.btn.btn-anim.btn-rose:focus-visible,
    body #wrapper a.btn.btn-anim.btn-rose:active,
    body #wrapper button.btn.btn-anim.btn-rose:hover,
    body #wrapper button.btn.btn-anim.btn-rose:focus,
    body #wrapper button.btn.btn-anim.btn-rose:focus-visible,
    body #wrapper button.btn.btn-anim.btn-rose:active {
        background: var(--sb-brand-pink);
    }

    body #wrapper .btn-anim.btn-violet a:hover,
    body #wrapper .btn-anim.btn-violet a:focus,
    body #wrapper .btn-anim.btn-violet a:focus-visible,
    body #wrapper .btn-anim.btn-violet a:active,
    body #wrapper a.btn.btn-anim.btn-violet:hover,
    body #wrapper a.btn.btn-anim.btn-violet:focus,
    body #wrapper a.btn.btn-anim.btn-violet:focus-visible,
    body #wrapper a.btn.btn-anim.btn-violet:active,
    body #wrapper button.btn.btn-anim.btn-violet:hover,
    body #wrapper button.btn.btn-anim.btn-violet:focus,
    body #wrapper button.btn.btn-anim.btn-violet:focus-visible,
    body #wrapper button.btn.btn-anim.btn-violet:active {
        background: #7b5cff;
    }

    body #wrapper .btn-anim.btn-orange a:hover,
    body #wrapper .btn-anim.btn-orange a:focus,
    body #wrapper .btn-anim.btn-orange a:focus-visible,
    body #wrapper .btn-anim.btn-orange a:active,
    body #wrapper a.btn.btn-anim.btn-orange:hover,
    body #wrapper a.btn.btn-anim.btn-orange:focus,
    body #wrapper a.btn.btn-anim.btn-orange:focus-visible,
    body #wrapper a.btn.btn-anim.btn-orange:active,
    body #wrapper button.btn.btn-anim.btn-orange:hover,
    body #wrapper button.btn.btn-anim.btn-orange:focus,
    body #wrapper button.btn.btn-anim.btn-orange:focus-visible,
    body #wrapper button.btn.btn-anim.btn-orange:active {
        background: #f28c28;
    }

    body #wrapper .btn-anim.btn-bleu-fonce a:hover,
    body #wrapper .btn-anim.btn-bleu-fonce a:focus,
    body #wrapper .btn-anim.btn-bleu-fonce a:focus-visible,
    body #wrapper .btn-anim.btn-bleu-fonce a:active,
    body #wrapper a.btn.btn-anim.btn-bleu-fonce:hover,
    body #wrapper a.btn.btn-anim.btn-bleu-fonce:focus,
    body #wrapper a.btn.btn-anim.btn-bleu-fonce:focus-visible,
    body #wrapper a.btn.btn-anim.btn-bleu-fonce:active,
    body #wrapper button.btn.btn-anim.btn-bleu-fonce:hover,
    body #wrapper button.btn.btn-anim.btn-bleu-fonce:focus,
    body #wrapper button.btn.btn-anim.btn-bleu-fonce:focus-visible,
    body #wrapper button.btn.btn-anim.btn-bleu-fonce:active {
        background: #204b9b;
    }

    body #wrapper .btn-anim.btn-gris a:hover,
    body #wrapper .btn-anim.btn-gris a:focus,
    body #wrapper .btn-anim.btn-gris a:focus-visible,
    body #wrapper .btn-anim.btn-gris a:active,
    body #wrapper a.btn.btn-anim.btn-gris:hover,
    body #wrapper a.btn.btn-anim.btn-gris:focus,
    body #wrapper a.btn.btn-anim.btn-gris:focus-visible,
    body #wrapper a.btn.btn-anim.btn-gris:active,
    body #wrapper button.btn.btn-anim.btn-gris:hover,
    body #wrapper button.btn.btn-anim.btn-gris:focus,
    body #wrapper button.btn.btn-anim.btn-gris:focus-visible,
    body #wrapper button.btn.btn-anim.btn-gris:active {
        background: var(--sb-brand-grey);
    }

    body #footer .btn-anim.btn-blanc a:hover,
    body #footer .btn-anim.btn-blanc a:focus,
    body #footer .btn-anim.btn-blanc a:focus-visible,
    body #footer .btn-anim.btn-blanc a:active,
    body #wrapper .btn-anim.btn-blanc a:hover,
    body #wrapper .btn-anim.btn-blanc a:focus,
    body #wrapper .btn-anim.btn-blanc a:focus-visible,
    body #wrapper .btn-anim.btn-blanc a:active,
    body #footer a.btn.btn-anim.btn-blanc:hover,
    body #footer a.btn.btn-anim.btn-blanc:focus,
    body #footer a.btn.btn-anim.btn-blanc:focus-visible,
    body #footer a.btn.btn-anim.btn-blanc:active,
    body #wrapper a.btn.btn-anim.btn-blanc:hover,
    body #wrapper a.btn.btn-anim.btn-blanc:focus,
    body #wrapper a.btn.btn-anim.btn-blanc:focus-visible,
    body #wrapper a.btn.btn-anim.btn-blanc:active,
    body #wrapper button.btn.btn-anim.btn-blanc:hover,
    body #wrapper button.btn.btn-anim.btn-blanc:focus,
    body #wrapper button.btn.btn-anim.btn-blanc:focus-visible,
    body #wrapper button.btn.btn-anim.btn-blanc:active {
        background: #fff;
        color: var(--sb-brand-grey);
    }
}

.btn-outline-primary {
    --bs-btn-color: var(--sb-accent);
    --bs-btn-border-color: var(--sb-accent);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--sb-accent);
    --bs-btn-hover-border-color: var(--sb-accent);
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--sb-accent);
    --bs-btn-active-border-color: var(--sb-accent);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, .125);
    --bs-btn-disabled-color: var(--sb-accent);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: var(--sb-accent);
    --bs-gradient: none;
}
.form-check-input {
    border: var(--bs-border-width) solid var(--sb-brand-grey);
}
.form-check-input:checked {
    background-color: var(--sb-accent);
    border-color: var(--sb-accent);
}
.form-check-input:focus {
    border-color: var(--sb-accent-hover);
    box-shadow: 0 0 0 .25rem rgb(0 190 227 / 25%);
    outline: 0;
}

@media (prefers-reduced-motion: reduce) {
    #top-menu li:nth-child(1) a,
    #top-menu li:nth-child(1) a::before,
    #top-menu li:nth-child(2) a,
    #top-menu li:nth-child(2) a::before,
    .btn-animation {
       transition: none !important;
       animation: none !important;
    }
}

/*MENU DESKTOP*/
    #header {
        box-shadow: 0 3px 10px color-mix(in srgb, var(--sb-brand-grey) 25%, transparent);
    }
    /*Alignement*/  
    .main-menu {justify-content: center;}
    #top-menu li {padding: 0 1em;}
    #panier .header-block {
        display: flex;
    }
    .header-bottom {
        border: none;
    }
    .header-bottom .header-bottom__container {
        padding:0;
    }
    @media (min-width: 1640px) {
        .nav-row-2 {justify-content: center;}
    }
    @media (max-width: 1639.98px) {
        .nav-row-2 {justify-content: space-between;}
    }
    /*Taille des liens*/
    @media (min-width: 1640px) {
        #top-menu li a, .header-right a span {font-size: clamp(14px, 0.9vw, 17px);}
    }
    @media (min-width: 1640px) {
        .container, .container-lg, .container-md, .container-sm, .container-xl, .container-xs, .container-xxl {
            max-width: 98%;
        }
        #module-selecteobuyback-catalog #buyback-catalog.container {
            width: 100% !important;
            max-width: 100% !important;
            padding-left: 0 !important;
            padding-right: 0 !important;
        }
    }
    /*Logo*/ 
    .logo {justify-content: center;}
    .header-bottom .navbar-brand {
        padding: 10px;
        max-width: 200px;
    }
    .header-bottom .header-bottom__row-1 .navbar-brand::after {
        content: '';
        background-size: cover;
        background-position: center;
        background-image: url(/img/cms/Logos/drapeau-france.svg);
        display: block;
        height: 5px;
        margin-top: 5px;
    }

    /*Bouton Estimer rachat et Envoi immédiat*/
    #top-menu li:nth-child(1) a {
        border: 2.5px solid var(--primary-color);
        color: var(--primary-color);
    }
    #top-menu li:nth-child(2) a {
        border: 2.5px solid var(--sb-brand-blue);
        color: var(--sb-brand-blue);
    }
    #top-menu li:nth-child(1) a, #top-menu li:nth-child(2) a {
        position: relative;
        isolation: isolate;
        overflow: hidden;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 5px 15px;
        border-radius: 10px;
        background: transparent;
        text-decoration: none;
        font-weight: 600;
        transition: color 0.24s ease, border-color 0.24s ease;
    }
    #top-menu li:nth-child(1) a::before {
        background: var(--sb-brand-pink);
    }
    #top-menu li:nth-child(2) a::before {
        background: var(--sb-brand-blue);
    }
    #top-menu li:nth-child(1) a::before, #top-menu li:nth-child(2) a::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: 100%;
        height: 0;
        pointer-events: none;
        z-index: -1;
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns%3D%22http://www.w3.org/2000/svg%22 viewBox%3D%220 0 120 34%22 preserveAspectRatio%3D%22none%22%3E%3Cpath fill%3D%22black%22 d%3D%22M0%2C20c22.9-11.3%2C43.5%2C5.6%2C70-2s46-2%2C50%2C0v16H0v-14Z%22/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns%3D%22http://www.w3.org/2000/svg%22 viewBox%3D%220 0 120 34%22 preserveAspectRatio%3D%22none%22%3E%3Cpath fill%3D%22black%22 d%3D%22M0%2C20c22.9-11.3%2C43.5%2C5.6%2C70-2s46-2%2C50%2C0v16H0v-14Z%22/%3E%3C/svg%3E");
        -webkit-mask-repeat: no-repeat;
        mask-repeat: no-repeat;
        -webkit-mask-size: 100% 120px;
        mask-size: 100% 120px;
        -webkit-mask-position: top center;
        mask-position: top center;
        transition: height 0.42s cubic-bezier(0.22, 0.61, 0.36, 1);
    }
    #top-menu li:nth-child(1) a:hover,
    #top-menu li:nth-child(1) a:focus-visible{
        color: #ffffff !important;
        border-color: var(--primary-color);
    }
    #top-menu li:nth-child(2) a:hover,
    #top-menu li:nth-child(2) a:focus-visible {
        color: #ffffff !important;
        border-color: var(--sb-brand-blue);
    }
    #top-menu li:nth-child(1) a:hover::before,
    #top-menu li:nth-child(1) a:focus-visible::before,
    #top-menu li:nth-child(2) a:hover::before,
    #top-menu li:nth-child(2) a:focus-visible::before {
        height: 120px;
    }
    
    /*Survol des titres*/
    #top-menu li:nth-child(3):hover a {
        color:var(--sb-brand-green);
    }
    #top-menu li:nth-child(4):hover a {
        color:var(--sb-brand-orange);
    }
    #top-menu li:nth-child(5):hover a {
        color:var(--sb-brand-purple);
    }
    #compte a:not(.dropdown-item):not(.btn):hover, #compte  a:not(.dropdown-item):not(.btn):hover i {
        color:var(--secondary-color);
    }
    #panier a:not(.dropdown-item):not(.btn):hover {
        color:var(--primary-color);
    }
    /*Affichage compte menu*/
    #compte {
        display: flex;
        align-items: center;
    }
    #compte .dropdown-item.active, #compte  .dropdown-item:active, #compte .dropdown-item:focus, #compte .dropdown-item:hover {
        color:var(--secondary-color);
    }
    #compte .header-block__icon{
        width: 23px;
        height: 23px;
        fill: currentColor;
        color: var(--sb-brand-grey);
    }
    #compte .icon-account {
        display: inline-block;
        background-color: var(--sb-brand-grey);
        -webkit-mask: url("/themes/hummingbird_child/assets/icons/account.svg") center / contain no-repeat;
        mask: url("/themes/hummingbird_child/assets/icons/account.svg") center / contain no-repeat;
        transition: background-color 0.2s ease;
    }
    #compte a:not(.dropdown-item):not(.btn):hover .icon-account,
    #compte a:not(.dropdown-item):not(.btn):focus-visible .icon-account {
        background-color: var(--secondary-color);
    }
    #compte .header-block__title {
        line-height: 0;
    }

    #compte .header-block a {
        gap: 10px;
    }
    /* Affichage des gains */
    .cart-stack {
        --cart-icon-size: 2rem;
        gap: 10px;
    }
    .cart-stack__icon {
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: var(--cart-icon-size);
        height: var(--cart-icon-size);
        margin-top: -10px;
        transform-origin: 50% 60%;
    }
    .cart-stack__icon.is-gain-bump {
        animation: cart-gain-bump 0.55s ease-in-out 1;
    }
    @keyframes cart-gain-bump {
        0% { transform: rotate(0deg); }
        20% { transform: rotate(-10deg); }
        40% { transform: rotate(8deg); }
        60% { transform: rotate(-6deg); }
        80% { transform: rotate(4deg); }
        100% { transform: rotate(0deg); }
    }
    .cart-stack__svg {
        display: block;
        width: 100%;
        height: 100%;
        object-fit: contain;
    }
    .cart-stack__text { line-height:1.2; }
    #panier .cart-stack__text  .header-block__badge { margin: 0; padding: 0;background: none;color: var(--primary-color);}

    /* Accessibilité => lecture d'écran */
    .sr-only {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

/*MENU MOBILE*/

    /* Affichage du burger à droite */
    #header .main-menu { order: 1;}
    #header .main-menu__desktop {
        display: none;
    }
    #header .main-menu__burger-trigger {
        display: flex;
        align-items: center;
    }
    #header .main-menu__inline-logo {
        display: flex;
        align-items: center;
    }
    #header .main-menu__inline-logo .navbar-brand {
        padding: 0;
        max-width: 180px;
    }
    #header .main-menu__inline-logo .navbar-brand .logo,
    #header .main-menu__inline-logo .navbar-brand .mobile-logo-alt {
        max-height: clamp(18px, calc(6 * var(--sb-vw-unit)), 25px);
        width: 100%;
        margin: clamp(-10px, calc(-1.8 * var(--sb-vw-unit)), -4px) 0.2em 0 0.5em;
    }
    #header .header-block__icon {
        margin:0;
    }
    /*Bouton Ouverture*/
    #header .main-menu a.header-block__action-btn {
        padding: 0.3em;
        width: 25px;
        height: 25px;
        display: inline-block;
        background: url(/themes/hummingbird_child/assets/icons/Icone-Menu.svg) center/contain no-repeat;
        color: transparent;
    }
    @media (min-width: 1640px) {
        #header .main-menu__desktop {
            display: block;
        }
        #header .main-menu__burger-trigger,
        #header .main-menu__inline-logo {
            display: none;
        }
    }
    @media (max-width: 767px) {
        .main-menu.d-flex.align-items-center {padding-left: 12px;}
    }
    @media (max-width: 374.98px) {
        #header .main-menu__inline-logo .navbar-brand .mobile-logo-alt {
            margin:-1px 0.2em 0 0.5em;
            max-height: clamp(18px, calc(8 * var(--sb-vw-unit)), 30px);
        }
    }
    @supports (-webkit-touch-callout: none) {
        @media (max-width: 1639.98px) {
            #header .main-menu__inline-logo .navbar-brand .mobile-logo-alt {
                width: auto !important;
                height: 26px !important;
                max-height: 26px !important;
                min-height: 26px;
            }
        }
        @media (max-width: 374.98px) {
            #header .main-menu__inline-logo .navbar-brand .mobile-logo-alt {
                height: 24px !important;
                max-height: 24px !important;
                min-height: 24px;
            }
        }
    }
    /* Menu de gauche */
        /*Logo*/
    a.navbar-brand.d-block.menu-mobile__brand {
        width: 70px;
        margin: auto;
        margin-top: -30px;
    }
        /*Design*/
    .main-menu__offcanvas {
        border-radius: 0 20px 0 0;
    }
    .background-left-menu {
        background-color: white;
        border-radius: 0 20px 0 0;
        opacity: 0.85;
        backdrop-filter: blur(3px);
    }
    #header .menu__list li:nth-child(7) a::after {
        content: "";
        position: absolute;
        width: 20px;
        height: 20px;
        mask-size: 20px;
        mask-position: center;
        mask-repeat: no-repeat;
    }
    #header #menu-mobile {
        background: white !important;
        display: block;
    }
    #header .menu__list li:nth-child(7) a::after {
        mask-image: url(/themes/hummingbird_child/assets/icons/account.svg);
        background-color: var(--sb-brand-grey);
    }

    #header .menu__list li:nth-child(3) {
        border-bottom: 1px var(--sb-brand-green) solid;
    }
    #header .menu__list li:nth-child(4) {
        border-bottom: 1px var(--sb-brand-orange) solid;
    }
    #header .menu__list li:nth-child(5) {
        border-bottom: 1px var(--sb-brand-purple) solid;
    }
    #header .menu__list li:nth-child(6) {
        border-bottom: 1px var(--sb-brand-grey) solid;
    }
        /*Alignement*/
    .menu__list li {
        padding: 10px 0;
        font-weight: 600;
    }
    .menu__list li:not(:nth-child(1)):not(:nth-child(2)):not(:nth-child(7)) a {
        text-align: center;
        color: black !important;
    }
    .menu__list li a .text-link {
        font-weight: 500;
    }
    #header .menu__list li:nth-child(7) .text-link {
        padding: 0 10px 0 0;
    }
    .menu__list li:nth-child(7) {
        padding-top: 33px;
    }
        /*Bouton Fermeture*/
    #header .btn-close {
        opacity: 1;
        padding: 0.6em;
        --bs-btn-close-bg: url(/themes/hummingbird_child/assets/icons/Croix.svg);
        border-radius: 6px;
        background-size: 1.5em;
    }
        /*Bouton Estimer rachat*/
    #header .menu__list li:nth-child(1) a {
        padding: 10px 20px;
        border-radius: 10px;
        width: fit-content;
        background-color: var(--primary-color);
        color: #ffffff;
        font-size: 18px;
        margin: auto;
    }
            /*Bouton Envoi immédiat*/
    #header .menu__list li:nth-child(2) a {
        padding: 10px 20px;
        border-radius: 10px;
        width: fit-content;
        background-color: var(--sb-brand-blue);
        color: #ffffff;
        font-size: 18px;
        margin: auto;
    }
        /*Bouton Connexion*/
    #header .menu__list li:nth-child(7) a {
        padding: 10px 40px 10px 20px;
        border-radius: 10px;
        width: fit-content;
        border: 2px solid var(--sb-brand-grey);
        color: var(--sb-brand-grey);
        font-size: 18px;
        margin: auto;
    }
    #panier {
        padding-right: 0.5em;
    }

    /* Blog */

    #module-prestablog-blog #left-column, #module-prestablog-blog .prestablogExtra {
        display: none;
    }
    #module-prestablog-blog #content-wrapper {
            width: 100% !important;
        }
    #module-prestablog-blog #prestablogfront {
        max-width:1080px;
    }
    #module-prestablog-blog .toc-fixed {
        top:80px;
    }
    #module-prestablog-blog #prestablog_menu_cat ul {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }
    #module-prestablog-blog .container {max-width: 100% !important;}

/*Bandeau cookie*/
    .container .lgcookieslaw-banner-message {
        padding:1em;
        text-align: center;
    }
    .container .lgcookieslaw-button-container {
        justify-content: center;
        margin: 10px 0;
        align-items: center;
        gap: 1em;
    }
    .container .lgcookieslaw-button-container .lgcookieslaw-button {
        width:fit-content !important;
        padding: 0 1em;
        border-radius:10px;
        font-size:1em;
    }

    /*Footer*/
    #footer {
        background-color: var(--sb-brand-green);
    }
    #footer .footer__before {
        background-color: #fff;
        position: relative;
        overflow: hidden;
    }
    #footer .footer__before > * {
        position: relative;
        z-index: 1;
    }
    #footer .footer__before .footer__block {
        display: flex;
        padding :140px 0 1em 0;
        margin:0;
        width: 100%;
    }
     #footer .footer__before .footer__block__title, #footer_sub_menu_5 .footer__block__toggle, #footer .footer__main__bottom .footer__block .footer__block__title, #footer .footer__main__bottom .footer__block__toggle {
        display:none !important;
    }
    #footer_sub_menu_5 {
        display: flex;
        justify-content: space-evenly;
        flex-direction: row;
        width: 100vw;
        padding: 2em;
        margin:0;
        flex-wrap: wrap;
        row-gap: 2em;
        background-color: var(--sb-brand-green);
    }
    #footer_sub_menu_5 a:hover::before {
        height: 140px;
        background: var(--sb-brand-grey);
    }
    #footer .footer__main .container {
        width: 100%;
        max-width: 100%;
        padding: 0;
        margin: auto;
    }
    #footer .footer__main {
        background-color: var(--sb-brand-green);
        width: 100%;
        max-width: 100%;
        margin: auto;
        position: relative;
        overflow: hidden;
    }
    #footer .footer__block__title, #footer .footer__main .custom-page-link, #footer .footer__main .cms-page-link, #footer .footer__main .copyright {
        color: white;
    }
    #footer .footer__main .custom-page-link:hover, #footer .footer__main .cms-page-link:hover {
        color: var(--sb-brand-grey);
    }
    #footer .footer__main__top .footer__block__content {
        padding-left: 1em;
        border-left: 2px #fff solid;
    }
    #footer .footer__main .footer__main__top {
        justify-content: space-around;
    }
    #footer .footer__main .footer__block {
        width:fit-content
    }
    #footer .footer__main__bottom .footer__block{
        width: 100%;
    }
    #footer .footer__main__bottom .footer__block #footer_sub_menu_4{
        display: flex;
        gap: 0.5em;
        flex-wrap: wrap;
        justify-content: space-around;
    }
    body #footer .btn-footer a:hover, body #footer .btn-footer a:focus,body #footer .btn-footer a:active {
        color: var(--sb-brand-green);
        border-color:#fff;
        background-color: #fff;
    }
    #footer .footer__block--brand::before {
        content: "";
        display: block;
        position: absolute;
        left: 0;
        top: 0;
        width: 100%;
        height: 320px;
        background-repeat: no-repeat;
        background-position: center top;
        background-size: cover;
        pointer-events: none;
        z-index: -1;
        background-image: url("../img/footer/vague_selecteo.svg");
    }
    #footer .footer__block__content-list a {
        padding: 0.5rem;
    }

    #footer #blockEmailSubscription_displayFooterBefore {
        padding: 3em 0 6em 0;
    }
    #footer #blockEmailSubscription_displayFooterBefore .sb-newsletter__card {
        position: relative;
        z-index: 2;
    }
    #footer .footer__before .block-social {
        margin-top: clamp(1.75rem, 4vw, 3rem);
        padding-bottom: clamp(1.25rem, 3vw, 2.25rem);
    }
    #footer .footer__before .footer__block--brand {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        justify-self: center;
        text-align: center;
        height: 300px;
        gap: 1.5em;
        width: 100%;
        margin: 0;
        padding: 2em;
        border: 0;
        box-shadow: none;
    }
    #footer .footer__before .footer__block--brand .footer__brand-logo {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding-top:100px;
    }
    #footer .footer__before .footer__block--brand .footer__brand-logo img {
        width: clamp(180px, 26vw, 380px);
        height: auto;
    }
    #footer .footer__before .footer__block--brand .footer__brand-ecosystem {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-wrap: wrap;
        gap: 0.55rem;
        line-height: 1;
    }
    #footer .footer__before .footer__block--brand .footer__brand-ecosystem-label {
        font-size: clamp(0.9rem, 1.2vw, 1.05rem);
        color: #fff;
        font-weight: 500;
        white-space: nowrap;
    }
    #footer .footer__before .footer__block--brand .footer__brand-ecosystem img {
        width: clamp(115px, 15vw, 175px);
        height: auto;
    }
    #footer .btn-footer {
        width: 210px;
        text-align: center;
    }
    #footer .btn-footer a{
        background-color: #ffffff10;
    }
    #footer .block-social a{
        color: #fff;
    }
    @media (max-width: 767.98px) {

        #footer .footer__before .footer__block--brand .footer__brand-logo img {
            width: min(260px, 72vw);
        }

        #footer .footer__before .footer__block--brand .footer__brand-ecosystem {
            gap: 0.35rem;
        }

        #footer .footer__before .footer__block--brand .footer__brand-ecosystem-label {
            font-size: 0.85rem;
        }

        #footer .footer__before .footer__block--brand .footer__brand-ecosystem img {
            width: min(150px, 58vw);
        }
        #footer .footer__main .footer__main__top{
            flex-direction: column;
            width: calc(100% - 40px);
            margin: 0 auto;
            box-sizing: border-box;
        }
        #footer .footer__main__top .footer__block__content {
            padding-left: 0;
            border:none;
        }
        #footer .footer__main .footer__block {
            width:100%;
            padding: 0;
        }
        #footer .footer__main__bottom {
            width: calc(100% - 40px);
            margin: 0 auto;
            box-sizing: border-box;
            padding-top:2em;
        }
        #footer .footer__before .footer__block--brand .footer__brand-logo {
            padding-top: 40px;
        }
        #footer .footer__before .footer__block--brand {
            padding:0;
            height: 260px;
        }
        #footer .footer__block--brand::before {
            height:260px;
        }
        #footer #footer_sub_menu_5 {
            padding: 0;
        }
        #footer .footer__main {
            padding-top:3em;
        }
    }

    /*Page Contact*/
    #contact .container {
        max-width: 1080px;
        padding: 0 20px;
    }
    #contact #left-column {
        padding:0;
        width: 100%;
    }
    #contact #wrapper .container.row {
        flex-direction: column;
    }
    #contact #content-wrapper {
        padding-top:2em;
        width: 100%;
    }
    #contact .h2 {
        text-align: center;
    }
    #contact .form-footer .btn {
        color:var(--sb-brand-green);
    }
    #contact .form-footer .btn:hover {
        color: white;
    }
    #contact .sb-newsletter__submit {
        color:white;
    }
    #contact .form-footer .btn {
        margin:auto;
    }

    #contact .contact__details, #contact .contact-form {
        padding: 1em;
        box-shadow: 0px 3px 10px 2px rgba(0, 0, 0, 0.2);
        border-radius: 20px;
        margin: 0 20px;
        max-width: 1080px;
    }
    #contact .contact__details i, #contact .contact__info, #contact  .contact__item a {
        color: var(--sb-brand-grey);
    }
    #contact  .contact__item a:hover {
        color: var(--sb-brand-green);
    }
    /*Affichage du texte de gain*/
    @media (min-width: 992px) {
        #panier .d-gains {display: flex !important;}
        #header .header-bottom__container {
            max-width: 100%;
        }
        #product .container {
            max-width:100%;
            padding:0;
        }
        .page-product .buyback-product-content-wrap {
            max-width:90%;
            margin:auto;
        }
    }
    @media (min-width: 768px) {
        #panier .d-gains {display: flex !important;}
        #header .header-bottom__container {
            padding: 0 0.5em;
        }
        .page-product .product-accessories--buyback .product-miniature__title{
            width: 200px;
        }
        .customer-link .link-item {
            box-shadow: 0 3px 10px color-mix(in srgb, var(--sb-brand-grey) 18%, transparent);
            background: rgb(255, 255, 255);
            border-radius: 12px;
        }
    }
    @media (max-width: 992px) {
        .cart-stack {
            --cart-icon-size: 25px;
        }
        .cart-stack__icon {
            margin-top: -4px;
        }
        #panier .header-block__badge {
        background: none;
        border-radius: initial;
        display: inline-block;
        font-size: 1em;
        font-weight: 600;
        height: auto;
        line-height: 1em;
        min-width: fit-content;
        padding: 0;
        position: relative;
        text-align: center;
        top: 0;
        }
        #header .header-right {gap: 12px;}
    }

/*Footer*/

    #content-wrapper {
        padding: 0;
    }

    /*Block Réassurance*/
    .blockreassurance .block-icon #fill{
        opacity: 1;
    }
    .blockreassurance .block-icon #color {
        fill: white;
    }
    .blockreassurance .block-title {
        padding-top: 10px;
    }

/* Buyback steps (tunnel reprise) */
.bb-steps {
    width: 100%;
}
.bb-steps__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
}
.bb-steps__item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: #6c757d;
    font-weight: 500;
    flex: 1;
}
.bb-steps__item--done,
.bb-steps__item--current {
    color: var(--primary-color);
}
.bb-steps__link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    color: inherit;
    text-decoration: none;
}
.bb-steps__link:hover {
    text-decoration: none;
    color: inherit;
}
.bb-steps__index {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid var(--primary-color);
    font-weight: 600;
}
.bb-steps__item--done .bb-steps__index {
    background: #fde6f0;
    color: var(--primary-color);
}
.bb-steps__item--current .bb-steps__index {
    background: var(--primary-color);
    color: #fff;
}
#module-selecteobuyback-recap .container, #module-selecteobuyback-finalize .container {
    padding:0;
}
#module-selecteobuyback-recap #bb-recap-block,
#module-selecteobuyback-finalize #bb-finalize-recap-block {
    padding: 0 0.5em;
}
/* Buyback recap (panier rachat) */
#module-selecteobuyback-recap .bb-recap-page,
#module-selecteobuyback-finalize .bb-recap-page {
    max-width: 980px;
}
#module-selecteobuyback-recap .bb-recap-title,
#module-selecteobuyback-finalize .bb-recap-title {
        margin: 1em 0 0.5em;
    text-align: center;
    font-weight: 700;
    font-size: clamp(1.5rem, 1.5vw, 2rem);
    color: var(--sb-brand-grey);
}
#module-selecteobuyback-recap .bb-recap-subtitle, #module-selecteobuyback-finalize .bb-recap-subtitle, #module-selecteobuyback-finalize .bb-finalize-section-title, #module-selecteobuyback-finalize .bb-finalize-success-next h2 {
    margin: 0 0 1em;
    text-align: center;
    font-weight: 600;
    font-size: clamp(1.2rem, 1.2vw, 1.8rem);
    color: var(--sb-brand-grey);
    padding: 0 0.5em;
}
#module-selecteobuyback-recap .bb-recap-block,
#module-selecteobuyback-finalize #bb-finalize-recap-block.bb-recap-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
#module-selecteobuyback-recap .bb-recap-table-wrap,
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-recap-table-wrap {
    background: #fff;
    border: 1px solid #d8dcda;
    border-radius: 14px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.09);
    overflow: hidden;
}
#module-selecteobuyback-recap #bb-recap-table,
#module-selecteobuyback-finalize #bb-finalize-recap-table {
    margin-bottom: 0;
}
#module-selecteobuyback-recap #bb-recap-table thead th,
#module-selecteobuyback-finalize #bb-finalize-recap-table thead th {
    padding: 12px 10px;
    border-bottom: 1px solid #e1e5e2;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--sb-brand-grey);
    background: #fff;
    vertical-align: middle;
}
#module-selecteobuyback-recap #bb-recap-table .bb-col-fav,
#module-selecteobuyback-finalize #bb-finalize-recap-table .bb-col-fav {
    width: 50px;
}
#module-selecteobuyback-recap #bb-recap-table .bb-col-remove {
    width: 56px;
}
#module-selecteobuyback-recap #bb-recap-table tbody td,
#module-selecteobuyback-finalize #bb-finalize-recap-table tbody td {
    padding: 10px;
    vertical-align: middle;
    border-bottom: 1px solid #ecefed;
    color: var(--sb-brand-grey);
}
#module-selecteobuyback-recap #bb-recap-table tbody tr:last-child td,
#module-selecteobuyback-finalize #bb-finalize-recap-table tbody tr:last-child td {
    border-bottom: 0;
}
#module-selecteobuyback-recap .bb-product-wrap,
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-product-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}
#module-selecteobuyback-recap .bb-product-image,
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-product-image {
    width: 36px;
    height: auto;
    object-fit: contain;
}
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-product-name, #module-selecteobuyback-recap .bb-product-name {
    font-size: 1.18rem;
    font-weight: 500;
    line-height: 1.2;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}
#module-selecteobuyback-recap .bb-unit-price-value, #module-selecteobuyback-finalize .bb-unit-price-value {
    display: inline-flex;
    align-items: baseline;
    gap: 6px;
    white-space: nowrap;
}
#module-selecteobuyback-recap .bb-unit-price-old, #module-selecteobuyback-finalize .bb-unit-price-old {
    color: #7e8682;
    text-decoration: line-through;
    font-size: 0.96em;
}
#module-selecteobuyback-recap .bb-unit-price-current.is-promo, #module-selecteobuyback-finalize .bb-unit-price-current.is-promo {
    color: var(--sb-brand-pink);
    font-weight: 700;
}
#module-selecteobuyback-recap .bb-recap-favorite-btn,
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-recap-favorite-btn {
    box-shadow: none !important;
    border: 0;
    background: transparent;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}
#module-selecteobuyback-recap .bb-recap-favorite-btn .buyback-favorite-star,
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-recap-favorite-btn .buyback-favorite-star {
    width: 25px;
    height: 25px;
    display: inline-block;
    font-size: 0;
    line-height: 0;
    background-color: #7b8480;
    -webkit-mask: var(--sb-favorite-icon-off) center / contain no-repeat;
    mask: var(--sb-favorite-icon-off) center / contain no-repeat;
}
#module-selecteobuyback-recap .bb-recap-favorite-btn.is-active .buyback-favorite-star,
#module-selecteobuyback-recap .bb-recap-favorite-btn[aria-pressed="true"] .buyback-favorite-star,
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-recap-favorite-btn.is-active .buyback-favorite-star,
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-recap-favorite-btn[aria-pressed="true"] .buyback-favorite-star {
    background-color: #eeb005;
    -webkit-mask: var(--sb-favorite-icon-on) center / contain no-repeat;
    mask: var(--sb-favorite-icon-on) center / contain no-repeat;
}
#module-selecteobuyback-recap .bb-recap-favorite-btn.is-loading,
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-recap-favorite-btn.is-loading {
    opacity: 0.55;
    cursor: progress;
}
#module-selecteobuyback-recap .sb-qty-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
#module-selecteobuyback-recap .sb-qty-control .sb-qty-btn {
    width: 22px;
    height: 22px;
    border: 0;
    border-radius: 50%;
    background: var(--sb-accent);
    color: #fff;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#module-selecteobuyback-recap .sb-qty-control .sb-qty {
    width: 56px;
    min-height: 24px;
    border: 1px solid #bcc5bf;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 1rem;
    line-height: 1.1;
}
#module-selecteobuyback-recap .sb-qty-control .sb-qty::-webkit-outer-spin-button,
#module-selecteobuyback-recap .sb-qty-control .sb-qty::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
#module-selecteobuyback-recap .sb-qty-control .sb-qty {
    -moz-appearance: textfield;
    appearance: textfield;
}
#module-selecteobuyback-recap .sb-qty-control .sb-qty:focus {
    border-color: var(--sb-accent);
    box-shadow: 0 0 0 .2rem rgb(0 190 227 / 20%);
}
#module-selecteobuyback-recap .buyback-mobile-qty-layer {
    display: none !important;
}
#module-selecteobuyback-recap .bb-clear-line {
    border: 0;
    background: transparent;
    color: #5f6763;
    font-size: 0;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#module-selecteobuyback-recap .bb-clear-line::before {
    content: "";
    width: 25px;
    height: 25px;
    display: inline-block;
    background-color: currentColor;
    -webkit-mask: var(--sb-trash-icon) center / contain no-repeat;
    mask: var(--sb-trash-icon) center / contain no-repeat;
}
#module-selecteobuyback-recap .bb-add-more-link {
    border: 1px solid #d8dcda;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row-reverse;
    gap: 10px;
    min-height: 40px;
    padding: 8px 18px;
    margin: 6px auto 10px;
    width: fit-content;
    color: var(--sb-accent);
    text-decoration: none;
}
#module-selecteobuyback-recap .bb-add-more-link:hover,
#module-selecteobuyback-recap .bb-add-more-link:focus,
#module-selecteobuyback-recap .bb-add-more-link:active {
    background: var(--sb-accent);
    border-color: var(--sb-accent);
    color: #fff;
}
#module-selecteobuyback-recap .bb-add-more-link__plus {
    font-size: 2.2rem;
    text-align: center;
    line-height: 0.9;
    font-weight: 500;
}
#module-selecteobuyback-recap .bb-add-more-link__text {
    font-size: 1.02rem;
    font-weight: 500;
    line-height: 1.1;
    white-space: nowrap;
}
#module-selecteobuyback-recap .bb-recap-summary-card {
    border: 1px solid #d8dcda;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.07);
    padding: 14px 18px;
    display: grid;
    grid-template-columns: 1fr minmax(230px, 300px);
    gap: 20px;
}
#module-selecteobuyback-recap .bb-recap-summary-main {
    align-self: center;
}
#module-selecteobuyback-recap .bb-recap-summary-count {
    margin: 0 0 8px;
    font-size: 1.02rem;
    color: #252c28;
}
#module-selecteobuyback-recap .bb-clear-all-link {
    border: 0;
    padding: 0;
    background: transparent;
    text-decoration: underline;
    color: #4a5750;
    font-size: 1rem;
}
#module-selecteobuyback-recap .bb-recap-summary-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-size: 1.06rem;
    line-height: 1.4;
}
#module-selecteobuyback-recap .bb-recap-summary-line > span:last-child {
    font-weight: 700;
    white-space: nowrap;
}
#module-selecteobuyback-recap .bb-recap-summary-line--gain {
    font-weight: 700;
}
#module-selecteobuyback-recap .bb-recap-summary-note {
    align-self: center;
    justify-self: end;
    max-width:300px;
    color: #4a5750;
    font-size: 1rem;
    line-height: 1.35;
    text-align: right;
}
#module-selecteobuyback-recap .recap-free-shipping-msg {
    background: #fff6db;
    border: 1px solid #ead08b;
    color: #7d6223;
    border-radius: 8px;
    box-shadow: none;
}
#module-selecteobuyback-recap .recap-annual-warning-msg.alert,
#module-selecteobuyback-recap .recap-annual-block-msg.alert,
#module-selecteobuyback-recap .recap-free-shipping-msg.alert,
#module-selecteobuyback-recap .recap-bonus-hints.alert {
    font-size: clamp(1rem, 1.02vw, 1.12rem);
    line-height: 1.3;
}
#module-selecteobuyback-recap .recap-annual-warning-msg.alert,
#module-selecteobuyback-recap .recap-annual-block-msg.alert {
    display: block;
    gap: 0;
}
#module-selecteobuyback-recap .recap-minimum-msg .alert {
    display: block;
    gap: 0;
}
#module-selecteobuyback-recap .recap-bonus-hints.alert {
    display: block;
    gap: 0;
}
#module-selecteobuyback-recap .recap-bonus-hints > div + div {
    margin-top: 4px;
}
#module-selecteobuyback-recap .bb-recap-actions {
    display: flex;
    justify-content: center;
    margin-top: 8px;
}
#module-selecteobuyback-recap .bb-recap-validate {
    min-width: 230px;
    border-radius: 8px;
    font-size: 1.14rem;
    font-weight: 600;
}

/* Buyback finalize: recap-like cart with read-only quantities */
#module-selecteobuyback-finalize .bb-finalize-section-title {
    border-bottom: 0;
}
#module-selecteobuyback-finalize #bb-finalize-recap-table tfoot th {
    padding: 10px;
    vertical-align: middle;
    border-top: 1px solid #ecefed;
    color: var(--sb-brand-grey);
    background: #fff;
}
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-readonly-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-readonly {
    min-width: 56px;
    min-height: 24px;
    border: 1px solid #bcc5bf;
    border-radius: 999px;
    padding: 2px 8px;
    font-size: 1rem;
    line-height: 1.1;
    font-weight: 600;
    text-align: center;
    background: #fff;
}

body.bb-auth-modal-open {
    overflow: hidden;
}
.bb-auth-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: none;
    box-sizing: border-box;
    overflow-y: auto;
    padding: 56px 12px 24px;
}
.bb-auth-modal.is-open {
    display: block;
}
.bb-auth-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
}
@media (min-width: 992px) and (prefers-reduced-motion: no-preference) {
    .bb-auth-modal__backdrop {
        -webkit-backdrop-filter: blur(2px);
        backdrop-filter: blur(2px);
    }
}
.bb-auth-modal__dialog {
    position: relative;
    width: min(92vw, 500px);
    max-height: calc(100vh - 80px);
    max-height: calc(100dvh - 80px);
    margin: 0 auto;
    background: #fff;
    border: 1px solid #d8dcda;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
    padding: 16px 20px 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
.bb-auth-modal__close {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
}
.bb-auth-modal__title {
    margin: 0 0 4px;
    font-size: clamp(1.2rem, 1.4vw, 1.55rem);
    font-weight: 600;
    color: var(--sb-brand-grey);
}
.bb-auth-modal__subtitle {
    margin: 0 0 10px;
    font-size: 0.95rem;
    color: #59645f;
}
.bb-auth-modal .form-label {
    margin-bottom: 4px;
    color: var(--sb-brand-grey);
    font-weight: 500;
}
.bb-auth-modal .bb-auth-required::after,
.bb-auth-modal label.required::after,
.bb-auth-modal .form-control-label.required::after {
    content: " *";
    color: #b42318;
    font-weight: 700;
}
.bb-auth-required a {
    color: var(--sb-brand-grey);
    text-decoration: underline;
}
.bb-auth-modal .form-control {
    min-height: 40px;
    border-color: #d6dcda;
}
.bb-auth-modal .form-control:focus {
    border-color: var(--sb-accent);
    box-shadow: 0 0 0 .2rem rgb(0 190 227 / 18%);
}
.bb-auth-modal .bb-auth-password-group {
    flex-wrap: nowrap;
}
.bb-auth-modal .bb-auth-password-group .form-control {
    border-right: 0;
    min-width: 0;
}
.bb-auth-modal .bb-auth-password-toggle,  .password-field .btn {
    min-width: 42px;
    width: 42px;
    flex: 0 0 42px;
    border-color: #d6dcda;
    background: #4f5a55;
    color: #fff;
}
.bb-auth-modal .bb-auth-password-toggle,  .password-field .btn:hover,
.bb-auth-modal .bb-auth-password-toggle,  .password-field .btn:focus {
    background: #3d4743;
    color: #fff;
}
.bb-auth-modal .bb-auth-password-toggle,  .password-field .btn .material-icons {
    font-size: 1.1rem;
}
.bb-auth-modal .form-check-label {
    color: var(--sb-brand-grey);
    padding-left: 0.2em;
}
.bb-auth-modal .btn {
    min-height: 38px;
    border-radius: 6px;
}
#bb-auth-register-form .btn-outline-primary {
    color:var(--sb-accent);
}
#bb-auth-register-form .btn-outline-primary:hover {
    background-color:var(--sb-accent);
    color: #fff;
}
.bb-auth-modal .form-check-input, .bb-auth-modal .form-check-label {
    cursor: pointer;
}
.bb-auth-modal .invalid-feedback {
    font-size: 0.84rem;
}
.bb-auth-modal .bb-auth-optins {
    margin-bottom: 10px;
}
.bb-auth-modal .bb-auth-optins .form-check {
    margin-bottom: 8px;
}
.bb-auth-modal .bb-auth-form-error {
    margin-top: 8px;
    margin-bottom: 10px;
}
.bb-auth-modal .bb-auth-forgot-password {
    margin-top: -2px;
}
.bb-auth-modal .bb-auth-forgot-password a {
    font-size: 0.9rem;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.bb-auth-modal .bb-auth-register-step[data-step="2"] .d-flex.gap-2 {
    flex-wrap: wrap;
}
.bb-auth-modal .bb-auth-register-step[data-step="2"] .d-flex.gap-2 .btn {
    flex: 1 1 auto;
}



.bb-favorite-toast {
    position: fixed;
    right: 20px;
    top: 90px;
    z-index: 9999;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid #e5e5e5;
    background: #fff;
    box-shadow: 0.125rem 0.125rem 0.625rem 0 rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.bb-favorite-toast.is-active {
    opacity: 1;
    transform: translateY(0);
}
.bb-favorite-toast.is-success {
    background: #69b92d;
    border-color: #69b92d;
}
.bb-favorite-toast.is-error {
    background: #b9312d;
    border-color: #b9312d;
}
.bb-favorite-toast__text {
    margin: 0;
    color: #fff;
    font-size: 0.92rem;
    line-height: 1.2;
}





/* Finalize buyback maquette */
#module-selecteobuyback-finalize .bb-recap-page {
    max-width: 980px;
    padding: 0 12px;
}

#module-selecteobuyback-finalize #bb-finalize-recap-block {
    padding: 0;
}

#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-recap-table-wrap {
    border-radius: 12px;
    border: 1px solid #dadfdd;
    box-shadow: 0 1px 8px rgba(0, 0, 0, 0.08);
}
#module-selecteobuyback-finalize #bb-finalize-recap-table thead th {
    font-size: 1rem;
    font-weight: 600;
    padding: 12px 8px;
}
#module-selecteobuyback-finalize #bb-finalize-recap-table tbody td {
    padding: 9px 8px;
}
#module-selecteobuyback-finalize #bb-finalize-recap-table .bb-col-fav {
    width: 40px;
}
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-product-image {
    width: 32px;
}
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-product-ref {
    font-size: 0.9rem;
}
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-readonly-wrap {
    gap: 8px;
}
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-readonly {
    min-width: 30px;
    border: 0;
    border-radius: 0;
    padding: 0;
    font-weight: 500;
    background: transparent;
}
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-readonly-btn {
    display: none;
}
#module-selecteobuyback-finalize .bb-finalize-summary-card {
    margin-top: 10px;
    border: 1px solid #dadfdd;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 1px 7px rgba(0, 0, 0, 0.07);
    padding: 10px 12px;
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 14px;
}
#module-selecteobuyback-finalize .bb-finalize-summary-count {
    margin: 0 0 8px;
    font-size: 1.02rem;
    color: var(--sb-brand-grey);
}
#module-selecteobuyback-finalize .bb-finalize-summary-note {
    color: #4a5750;
    font-size: 1rem;
    line-height: 1.35;
}
#module-selecteobuyback-finalize .bb-finalize-bonus-label {
    margin-bottom: 3px;
    font-size: 1rem;
    color: var(--sb-brand-grey);
}
#module-selecteobuyback-finalize .bb-finalize-bonus-input {
    max-width: 220px;
    min-height: 30px;
    padding: 4px 8px;
    border-radius: 5px;
}
#module-selecteobuyback-finalize .bb-finalize-bonus-applied {
    margin-top: 5px;
    font-size: 0.85rem;
}
#module-selecteobuyback-finalize .bb-finalize-bonus-text {
    color: var(--sb-brand-pink) !important;
}
#module-selecteobuyback-finalize .bb-finalize-summary-right {
    align-self: center;
}
#module-selecteobuyback-finalize .bb-finalize-summary-line {
    display: flex;
    justify-content: end;
    align-items: baseline;
    gap: 12px;
    font-size: 1.06rem;
    line-height: 1.4;
    color: var(--sb-brand-grey);
}
#module-selecteobuyback-finalize .bb-finalize-summary-line > span:last-child {
    font-weight: 700;
    white-space: nowrap;
}
#module-selecteobuyback-finalize .bb-finalize-summary-line--gain {
    font-weight: 700;
}
#module-selecteobuyback-finalize .bb-finalize-summary-line--vat {
    margin-top: 4px;
    font-size: 0.95rem;
    color: var(--sb-brand-grey);
}
#module-selecteobuyback-finalize .bb-finalize-form {
    margin-top: 8px;
}
#module-selecteobuyback-finalize .bb-finalize-payment-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}
#module-selecteobuyback-finalize .bb-finalize-payment-card {
    width: min(100%, 560px);
}
#module-selecteobuyback-finalize .bb-finalize-payment-methods {
    display: grid;
    gap: 6px;
    margin-bottom: 8px;
    font-size: 0.98rem;
    justify-self: center;
}
#module-selecteobuyback-finalize .bb-finalize-payment-methods .form-check {
    min-height: 24px;
}
#module-selecteobuyback-finalize .bb-finalize-bank-card,
#module-selecteobuyback-finalize .bb-finalize-paypal-card {
    margin: 0 auto;
    width: min(100%, 380px);
    border: 1px solid #d7dcd9;
    border-radius: 10px;
    box-shadow: 0 1px 7px rgba(0, 0, 0, 0.07);
    background: #fff;
    padding: 10px;
}
#module-selecteobuyback-finalize .bb-finalize-bank-title {
    margin: 0 0 8px;
    text-align: center;
    font-size: 1.06rem;
    font-weight: 600;
    color: black;
}
#module-selecteobuyback-finalize .bb-finalize-bank-card .form-label,
#module-selecteobuyback-finalize .bb-finalize-paypal-card .form-label {
    margin-bottom: 3px;
    font-size: 0.9rem;
    color: var(--sb-brand-grey);
}
#module-selecteobuyback-finalize .bb-finalize-bank-card .form-control,
#module-selecteobuyback-finalize .bb-finalize-paypal-card .form-control {
    min-height: 34px;
    border-radius: 6px;
}
#module-selecteobuyback-finalize .bb-finalize-terms {
    margin: 1.5em auto 0;
    width: min(100%, 560px);
    font-size: 1.1rem;
    color: var(--sb-brand-grey);
}
#module-selecteobuyback-finalize .bb-finalize-terms a {
    text-decoration: underline;
    color: var(--sb-brand-grey);
}
#module-selecteobuyback-finalize .bb-finalize-submit {
    display: block;
    margin: 0 auto;
    min-width: 260px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    padding: 8px 16px;
}
#module-selecteobuyback-finalize .bb-finalize-submit-note {
    margin: 6px auto 0;
    width: min(100%, 560px);
    text-align: center;
    font-size: 0.9rem;
    color: var(--sb-brand-grey);
    padding: 1em;
}

/* Finalize confirmation: quantities are display-only (no editable controls) */
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-static {
    min-width: 26px;
    min-height: 18px;
    border: none;
    padding: 0;
    font-size: clamp(1rem, 2.9vw, 1.3rem);
    font-weight: 600;
    line-height: 1.2;
    display: inline-flex;
    align-items: center;
    justify-content: left;
}
#module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-readonly-btn {
    display: none !important;
}



/* Buttons disabled (anchors) */
.btn.disabled,
.btn[aria-disabled="true"] {
    pointer-events: none;
    opacity: 0.65;
    cursor: not-allowed;
}

/* Wishlist: replace hearts by stars everywhere */

.wishlist-button-add
{
    box-shadow: .125rem -0.125rem .25rem 0 rgba(255, 0, 111, .2);
}
.wishlist-button-add .material-icons {
    margin-left: 1px;
    margin-bottom: 2px;
    color: var(--primary-color);

}
/*ESPACE PERSONNEL*/

#my-account #wrapper, #identity #wrapper, #address #wrapper, #module-selecteobuyback-history #wrapper, #module-blockwishlist-lists #wrapper, #module-psgdpr-gdpr #wrapper {
    padding-bottom: 4em;
}
    /*Historique et détails de mes rachats*/

#my-account h1,#address h1, #module-selecteobuyback-history h1, #module-blockwishlist-lists h1, #module-psgdpr-gdpr h1 {
    font-size: clamp(1.5rem, 1.5vw, 2rem);
}
#my-account h2,#address h2, #module-selecteobuyback-history h2, #module-blockwishlist-lists h2, #module-psgdpr-gdpr h2, #my-account h1,#address h2 strong, #module-selecteobuyback-history h2 strong, #module-blockwishlist-lists h2 strong, #module-psgdpr-gdpr h2 strong {
    background-color: transparent;
    font-weight:600;
    font-size: clamp(1.2rem, 1.2vw, 1.8rem);
}
#module-selecteobuyback-history h2, #module-selecteobuyback-history .card-rapport {padding:0;}
#module-selecteobuyback-history #content.page-customer thead tr th, #module-selecteobuyback-history #buyback-history-rows td {text-align:center;}
#content.page-customer thead tr {
    border: none;
}
.btn-back-account {
    display:flex;
    justify-content: space-evenly;
    align-items:center;
}
#content.page-customer thead tr th {
    background-color: var(--sb-brand-grey);
    color: #fff;
    text-align: center;
    padding: 0.5em 1em;
    font-weight: 500;
    vertical-align: middle;
    border: none;
    border-right: 2px #fff solid;
}
#content.page-customer thead tr th:nth-child(1) {
    border-radius: 15px 0 0 15px;
    text-align: left;
}
#content.page-customer thead tr th:last-child {
    border-radius: 0 15px 15px 0;
    border: none;
}
#content.page-customer tbody tr {
    border-color: inherit;
    border: none;
    border-bottom: 1px #b3b3b3 solid;
}
#content.page-customer tbody tr td {
    text-align: left;
    vertical-align: middle;
    border: none;
}
#content.page-customer tbody tr:first-child td {
    padding-top: 1em;
}
#content.page-customer tfoot th {
    font-size: clamp(1rem, 1vw, 1.4rem);
    font-weight: 600;
}
#content.page-customer .table-striped-columns>:not(caption)>tr>:nth-child(2n), #content.page-customer .table-striped>tbody>tr:nth-of-type(even)>* {
    --bs-table-color-type: var(--bs-table-striped-color);
    --bs-table-bg-type: var(--bs-table-striped-bg);
}
#content.page-customer .table-striped-columns>:not(caption)>tr>:nth-child(2n), #content.page-customer .table-striped>tbody>tr:nth-of-type(odd)>* {
    --bs-table-bg-type: none;
}
.account-menu .link-item {
    text-align: left;
}
.customer-link__link {
    display: flex;
    width: 100%;
}
.customer-link.row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.customer-link.row > .customer-link__link {
    width: 100%;
    max-width: 100%;
}
.account-menu .link-item,
.customer-link .link-item,
.dropdown-menu .dropdown-item,
#block_myaccount_infos a, .dropdown-menu .link-item {
    display: flex;
    align-items: center;
    width: 100%;
    gap: 0.55rem;
}
.account-menu .link-item i {
    margin-right: 1px;
    margin-left: -2px;
    margin-top: -4px;
    width: 20px;
    height: 20px;
}
.account-menu .link-item,
.customer-link .link-item {
    flex: 1 1 auto;
}
.sb-account-link-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
    display: inline-block;
    min-width: 20px;
    min-height: 20px;
    max-width: 20px;
    max-height: 20px;
    aspect-ratio: 1 / 1;
    line-height: 0;
    font-size: 0;
    overflow: hidden;
    background-color: currentColor;
    -webkit-mask: var(--sb-account-icon) center / cover no-repeat;
    mask: var(--sb-account-icon) center / cover no-repeat;
    transition: background-color 0.2s ease, opacity 0.2s ease;
}
.account-menu .lgcookieslaw-account-button img {
    width: 20px !important;
}
.customer-link .lgcookieslaw-account-button img {
    height: 30px !important;
    width: auto !important;
}
.customer-link a .link-item:hover .sb-account-link-icon, .customer-link__link .link-item:hover .sb-account-link-icon {
    background: var(--bs-primary);
    color: var(--bs-white);
}
.customer-link a .sb-account-link-icon,
.customer-link__link .sb-account-link-icon {
    background-color: currentColor !important;
    align-self: center;
    padding:0;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    max-width: 30px;
    max-height: 30px;
    aspect-ratio: 1 / 1;
}
@media (max-width: 575.98px) {
    .customer-link.row {
        grid-template-columns: minmax(0, 1fr);
    }
}
#identity .input-group>:not(:first-child):not(.dropdown-menu):not(.valid-tooltip):not(.valid-feedback):not(.invalid-tooltip):not(.invalid-feedback) {
    background: var(--sb-accent);
    border: solid 2px var(--sb-accent-hover);
    color: white;
}
#identity .account-menu__back, #module-psgdpr-gdpr .account-menu__back, #address .account-menu__back,#password .account-menu__back, #back-to-login {
    padding-right: 1em;
    height: 40px;
}
#identity #content-wrapper {
    text-align: center;
}
#identity #content-wrapper #content {
    text-align: left;
}
#identity #customer-form .form-footer {
    justify-content: center;
}
#identity .form-control-submit, #module-psgdpr-gdpr #exportDataToCsv, #module-psgdpr-gdpr #exportDataToPdf {
    color: var(--sb-brand-green);
    border-color: var(--sb-brand-green);
    background-color: white;
}
#identity .form-control-submit:hover,
#identity .form-control-submit:focus,
#identity .form-control-submit:active,
#module-psgdpr-gdpr #exportDataToCsv:hover,
#module-psgdpr-gdpr #exportDataToCsv:focus,
#module-psgdpr-gdpr #exportDataToCsv:active,
#module-psgdpr-gdpr #exportDataToPdf:hover,
#module-psgdpr-gdpr #exportDataToPdf:focus,
#module-psgdpr-gdpr #exportDataToPdf:active {
    background-color: var(--sb-brand-green);
    border-color: var(--sb-brand-green);
    color: #fff;
}

#identity .buyback-identity-locked-group .form-control[disabled] {
    background: #f3f4f6;
    color: #6b7280;
    border-color: #d1d5db;
    cursor: not-allowed;
}

#identity .field-password-policy {
    padding-top: 1em;
}

#identity .form-control-label {
    align-self: center;
}
#identity .buyback-identity-locked-group {
    padding: 0.5em 0;
}

#module-blockwishlist-lists .wishlist-footer-links a, .wishlist-footer-links a {
    color: var(--sb-accent);
    margin-top: 1em;
}

/* Global header sticky behavior (CSS-only):
   promo strip + logo row stay in normal flow,
   only row-2 remains visible at top while scrolling. */
#header.header,
#header {
    /* Keep the global sticky header from the parent theme,
       but offset it upward by promo + row-1 heights. */
    --sb-header-banner-h: 30px;
    --sb-header-row1-h: 88px;
    --sb-header-row2-h: 70px;
    position: sticky;
    top: calc(-1 * (var(--sb-header-banner-h) + var(--sb-header-row1-h)) + 9px);
    z-index: 100;
}

#header .header-bottom__row-2 {
    position: relative;
    top: auto;
    z-index: 1035;
    background: #fff;
    overflow: visible;
    min-height: var(--sb-header-row2-h);
    height: var(--sb-header-row2-h);
    align-items: center;
}

#header .header-bottom__row-2 .nav-row-2 {
    height: 100%;
}

#header .header-bottom__row-2 > .col,
#header .header-bottom__row-2 > .col-auto {
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 1em;
}

/* Force promo strip to stay non-sticky/fixed */
#header .header__banner .sticky,
#header .header__banner .sticky-top,
#header .header__banner [style*="position: sticky"],
#header .header__banner [style*="position:sticky"],
#header .header__banner [style*="position: fixed"],
#header .header__banner [style*="position:fixed"] {
    position: static !important;
    top: auto !important;
}

/* Promo banner (Creative Elements + displayBanner hook) */
.promo-banner {
  height: 30px;
  overflow: hidden;
}
.promo-banner__track {
    height: 30px;
}

.promo-banner__track .elementor-widget-wrap {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
  animation: promoMarquee var(--promo-duration, 20s) linear infinite;
}

.promo-banner__slot {
    display: flex;
    align-items: center;
    flex: 0 0 auto;
    padding: 0;
    align-items: center;
    justify-content: center;
    justify-items: center;
    justify-self: center;
}

.promo-banner__item {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  padding: 0 0 0 2em!important;
  margin: 0 !important;
  font-size: 0.9rem;
  white-space: nowrap;
}

.promo-banner__item p {
  margin: 0;
}

@keyframes promoMarquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--promo-slot-width)));
  }
}

.promo-clone {
  display: inline-flex !important;
}

.row.product.js-product-container {
    padding-bottom: 2em;
}


@media (max-width: 1639.98px) {
    #header.header,
    #header {
        --sb-header-row1-h: 0px;
        --sb-header-row2-h: 57px;
        /* Guard against sub-pixel clipping on the sticky row-2 top edge. */
        top: calc(-1 * var(--sb-header-banner-h));
    }

    #header .header-bottom__row-1 {
        display: none;
    }

    #header .main-menu {
        justify-content: flex-start;
        gap: 0.5rem;
    }
}



@media (min-width: 1640px) {
    #header .header-bottom__row-1 {
        display: flex !important;
    }
}


/* ------------------------------
   PAGE PRODUIT - STRUCTURE & IMAGE
------------------------------ */
.page-product .product__images .carousel-inner {
    position: relative;
    height: max-content;
    width: max-content;
}
.page-product .product__images .carousel-inner picture{
    display:block;
    height: 100%;
}

@media (max-width: 991.98px), (prefers-reduced-motion: reduce) {
    .background-left-menu {
        opacity: 1;
        -webkit-backdrop-filter: none;
        backdrop-filter: none;
    }

    .page-product .product__images .carousel-inner {
        width: 100%;
        height: auto;
    }

    .page-product .product__images .carousel-inner picture {
        height: auto;
    }
}



@media (min-width: 992px) {
    .page-product .js-product-container {
        margin-left: auto;
        margin-right: auto;
        align-items: start;
        display: flex;
        column-gap: 4em;
    }

    .page-product .js-product-container > .product__col {
        margin:auto;
    }
    #module-selecteobuyback-finalize .bb-form-payment, #module-selecteobuyback-finalize .bb-form-payment label {
        width: fit-content;
    }
}

@media (min-width: 992px) and (hover: hover) and (pointer: fine) {
    .page-product .product__images .carousel-inner {
        overflow: hidden;
    }

    .page-product .product__images .carousel-inner.is-zooming {
        cursor: none;
    }

    .page-product .product__images .carousel-inner.is-zooming .carousel-item.active img {
        transform: scale(1.02);
    }

    .page-product .product__images .carousel-item img {
        transition: transform 0.18s ease;
    }

    .page-product .buyback-product-zoom-lens {
        position: absolute;
        width: 132px;
        height: 132px;
        border-radius: 50%;
        border: 3px solid rgba(var(--sb-white-rgb), 0.95);
        box-shadow: 0 10px 26px rgba(17, 24, 39, 0.22);
        background-repeat: no-repeat;
        background-color: rgba(var(--sb-white-rgb), 0.78);
        pointer-events: none;
        opacity: 0;
        transform: scale(0.88);
        transition: opacity 0.16s ease, transform 0.16s ease;
        z-index: 5;
    }

    .page-product .buyback-product-zoom-lens.is-visible {
        opacity: 1;
        transform: scale(1);
    }
}

/* ------------------------------
   PAGE PRODUIT - CONTENEUR & PRIX
------------------------------ */
.page-product .container {
    width: 100%;
    padding: 0;
}

.page-product .buyback-promo-ribbon {
    position: absolute;
    top: 4rem;
    left: -4rem;
    z-index: 6;
    width: 17rem;
    height: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--sb-brand-pink);
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    padding-top: 2px;
    line-height: 1;
    letter-spacing: 0.01em;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.2);
    pointer-events: none;
}

.page-product .product__discount--buyback {
    color: var(--sb-brand-grey);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.page-product .product__discount-amount--buyback {
    color: black;
    font-weight: 600;
}

.page-product .product__current-price--buyback {
    color: var(--bs-heading-color, #000);
}

.page-product .product__current-price--buyback.is-promo {
    color: var(--sb-brand-pink);
}

.page-product .buyback-product-promo-pill {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: var(--sb-brand-pink);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.1;
}

/* ------------------------------
   PAGE PRODUIT - PHOTO, FAVORIS, SUPPRESSION
------------------------------ */
.page-product #product-images {
    position: relative;
    border-radius:20px;
    border: 2px solid #e7e7e7;
    max-width: 400px;
    max-height: 400px;
    margin: 0 auto;
}

.page-product .buyback-product-favorite-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    z-index: 7;
    border: none;
    background: none;
    border: none;
    background: none;
    height: 40px;
    width: 40px;
    padding: 0;
}

.page-product .buyback-product-favorite-btn.is-loading {
    opacity: 0.55;
    cursor: progress;
}

.page-product .buyback-product-favorite-btn .buyback-favorite-star {
    display: inline-block;
    width: 100%;
    height: 100%;
    font-size: 0;
    line-height: 0;
    background-color: var(--sb-brand-grey);
    -webkit-mask: var(--sb-favorite-icon-off) center / contain no-repeat;
    mask: var(--sb-favorite-icon-off) center / contain no-repeat;
    transition: background-color 0.2s ease;
}

.page-product .buyback-product-favorite-btn.is-active .buyback-favorite-star {
    background-color: #eeb005;
    -webkit-mask: var(--sb-favorite-icon-on) center / contain no-repeat;
    mask: var(--sb-favorite-icon-on) center / contain no-repeat;
}

.page-product .buyback-product-remove-btn {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 7;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: none;
}

.page-product .buyback-product-remove-btn[hidden] {
    display: none !important;
}

.page-product .buyback-product-remove-icon {
    display: inline-block;
    width: 100%;
    height: 100%;
    background-color: var(--sb-brand-grey);
    -webkit-mask: var(--sb-trash-icon) center / contain no-repeat;
    mask: var(--sb-trash-icon) center / contain no-repeat;
}

/* ------------------------------
   PAGE PRODUIT - ACTIONS & AJOUT AUX GAINS
------------------------------ */
.page-product .buyback-product-actions {
    align-items: center;
    justify-content: left;
    row-gap:1em;
}

.page-product .buyback-product-actions.is-in-estimate .product-actions__button {
    display: none;
}

.page-product .buyback-product-qty-control .buyback-product-qty-btn {
    width: 40px;
    min-width: 40px;
    height: 40px;
    border-radius: 999px;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sb-accent);
    border: 0;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1;
}

.page-product .buyback-product-qty-control .buyback-product-qty-input {
    min-width: 88px;
    height: 40px;
    border: 1px solid var(--sb-border-soft);
    border-radius: 999px;
    padding: 0 0.9rem;
    text-align: center;
    font-weight: 700;
    color: var(--sb-brand-grey);
    box-shadow: none;
    max-width:120px;
}

.page-product .buyback-product-add-plus {
    font-size: 1.35rem;
    line-height: 1;
    font-weight: 700;
}

/* ------------------------------
   PAGE PRODUIT - CONTENU & NOTICE OEM
------------------------------ */
.page-product #content-wrapper > .row:not(.product) {
    padding-bottom:10em;
}
.page-product .product-actions__quantity {
    width:100%;
    max-width: 300px;
    margin: 0;
}
.page-product .buyback-product-qty-control {
    display: flex;
    justify-content: space-between;
}

.page-product .buyback-product-actions .product-actions__quantity {
    display: none;
}

.page-product .buyback-product-actions.is-in-estimate .product-actions__quantity {
    display: block;
}
.page-product .product-actions__button {
    margin: 0;
}
.page-product .product__add-to-cart .product-actions__button button {
    width:fit-content;
    gap: 0.65em;
}
.page-product .buyback-oem-alternative-line {
    margin: 0.9rem 0 0;
    color: var(--sb-brand-grey);
    font-size: 0.95rem;
    line-height: 1.45;
    display: flex;
    align-items: flex-start;
    column-gap: 0.6rem;
    row-gap: 0.2rem;
}

.page-product .buyback-oem-alternative-line::before {
    content: "i";
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--sb-brand-grey);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 2;
    margin-top: 0.1rem;
}

.page-product .buyback-oem-alternative-link {
    flex: 0 0 100%;
    margin-left: calc(20px + 0.6rem);
    color: var(--sb-brand-green);
    font-weight: 600;
    text-decoration: underline;
    margin: 0;
}

.page-product .buyback-oem-alternative-text {
    white-space: nowrap;
}

/* ------------------------------
   PAGE PRODUIT - ACCORDEONS & BLOCS INFOS
------------------------------ */
.page-product .col-12 {
    padding:0;
}
.page-product .accordion-flush {
    padding: 0;
    box-shadow: #3c433e2b 10px 10px 20px;
    border-radius: 20px;
}

.page-product .product-accessories--buyback .product-accessories__list {
    display: flex;
    flex-wrap: wrap;
    gap: 2em;
    justify-content: flex-start;
}

.page-product .product-accessories--buyback .product-accessories__item {
    width: 200px;
    max-width: 200px;
    flex: 0 0 200px;
    padding: 0;
    display: flex;
}

.page-product .product-accessories--buyback .product-miniature {
    margin-bottom: 0;
    z-index: 39;
    position: relative;
    border-radius: 20px;
    background: white;
    border: none;
    width: 100%;
    display: flex;
}

.page-product .product__images {
    padding: 0 1em;
}
.page-product .product-accessories--buyback .product-miniature__infos,
.page-product .product-accessories--buyback .product-miniature__infos__top,
.page-product .product-accessories--buyback .product-miniature__infos__bottom,
.page-product .product-accessories--buyback .product-miniature__prices {
    text-align: center;
}

.page-product .product-accessories--buyback .product-miniature__infos {
    position: relative;
    z-index: auto;
}

.page-product .product-accessories--buyback .product-miniature__title {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 0;
    color:black;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    padding:0 0.3em;
    line-height: 1.2;
    min-height: 2.4em;
    max-height: 2.4em;
}
.page-product .product-miniature__infos__top {
    display:flex;
    justify-content:center;
    align-items:center;
    min-height: 2.8em;
}
.page-product .product-miniature__infos__top a {
    width:100%;
}
.page-product h2 {
    color: black;
    font-size: 1.5rem;
    font-weight: 700;
}
.product-miniature .product-miniature__infos__bottom {
    margin:0;
}

.page-product .product__infos .accordion-button {
    color:black;
    padding: 1.25rem 1.5em;
}
.page-product .accordion-flush>.accordion-item:first-child, .page-product .accordion-item:first-of-type>.accordion-header .accordion-button {
    border-radius: 20px 20px 0 0;
}
.page-product .accordion-flush>.accordion-item:last-child, .page-product .accordion-item:last-child>.accordion-header .accordion-button  {
    border-radius: 0 0 20px 20px;
}
.page-product #product-description-collapse .product__description, .page-product #product-compatible-printers-collapse .accordion-body {
    padding: 0 2em;
}
.page-product #product-faq-collapse .accordion-body {
    padding-bottom: 1em;
    padding-left: 1.5em;
}
.page-product .breadcrumb {padding-left:2em;}

.page-product .accordion-item:not(:first-of-type) {
    border-top: 1px solid #e7e7e7;
}

.page-product .product__infos .accordion-button 
.page-product .product-accessories--buyback .product-miniature__price,
.page-product .product-accessories--buyback .product-miniature__regular-price {
    display: block;
    text-align: center;
}

/* ------------------------------
   PAGE PRODUIT - PRODUITS SIMILAIRES
------------------------------ */
.page-product .product-accessories--buyback .product-miniature__price.is-promo {
    color: var(--sb-brand-pink);
}

.page-product .product-accessories--buyback .card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.page-product .product-accessories--buyback .buyback-accessory-remove-btn {
    position: absolute;
    top: 0.8rem;
    right: 0.8rem;
    z-index: 22;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 0;
    background: none;
    display: none;
}

.page-product .product-accessories--buyback .buyback-card.is-mobile-qty-added .buyback-accessory-remove-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.page-product .product-accessories--buyback .buyback-accessory-remove-icon {
    display: inline-block;
    width: 80%;
    height: 80%;
    background-color: var(--sb-brand-grey);
    -webkit-mask: var(--sb-trash-icon) center / contain no-repeat;
    mask: var(--sb-trash-icon) center / contain no-repeat;
}

.page-product .product-accessories--buyback .buyback-card-body {
    position: static;
    display: grid;
    grid-template-rows: 2.8em auto auto;
    align-content: start;
    gap: 0.35rem;
    min-height: 120px;
    padding-bottom:1em;
    padding-top: 0.3em;
    background: white;
    flex: 1 1 auto;
}

.page-product .product-miniature .product-miniature__image-container {
    border-radius:0;
    box-shadow:none;
}
.page-product .product-miniature .product-miniature__image-container {
    display:block;
    height:100%;
}

.page-product .product-accessories--buyback .product-miniature__infos__top,
.page-product .product-accessories--buyback .product-miniature__infos__bottom,
.page-product .product-accessories--buyback .product-miniature__prices,
.page-product .product-accessories--buyback .product-miniature__price,
.page-product .product-accessories--buyback .product-miniature__regular-price {
    position: relative;
    z-index: 1;
    padding:0;
}

.page-product .product-accessories--buyback .product-accessories__qty-control {
    display: none;
    justify-content: center;
    position: relative;
    z-index: 20;
    min-height: 40px;
    align-items: center;
}

.page-product .product-accessories--buyback .buyback-card.is-mobile-qty-added .product-accessories__qty-control {
    display: flex;
}

.page-product .product-accessories--buyback .product-accessories__qty-control .sb-qty-btn {
    display: none;
}

.page-product .product-accessories--buyback .product-miniature__prices {
    min-height: 2.8em;
    height: 2.8em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-product .product-accessories--buyback .product-miniature__price,
.page-product .product-accessories--buyback .product-miniature__discount-price {
    min-height: 1.4em;
    height: 1.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-product .product-accessories--buyback .product-accessories__qty-display {
    width: 100%;
    max-width: 132px;
    height: 40px;
    border: 1px solid var(--sb-border-soft);
    border-radius: 999px;
    padding: 0 1rem;
    text-align: center;
    font-weight: 700;
    color: var(--sb-brand-grey);
    background: #fff;
    cursor: pointer;
    box-shadow: none;
}

.page-product .product-accessories--buyback .product-accessories__qty-display::-webkit-outer-spin-button,
.page-product .product-accessories--buyback .product-accessories__qty-display::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.page-product .product-accessories--buyback .product-accessories__qty-display {
    -moz-appearance: textfield;
    appearance: textfield;
}

.page-product .product-accessories--buyback .product-accessories__qty-layer {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: auto;
    z-index: 20;
    min-height: 40px;
    align-items: center;
}

.page-product .product-accessories--buyback .buyback-card.is-mobile-qty-added .product-accessories__qty-layer {
    display: none;
}

.page-product .product-accessories--buyback .buyback-mobile-add-btn {
    position: static;
    transform: none;
    width: min(160px, 100%);
    min-width: 0;
    height: 40px;
    border: 0;
    border-radius: 10px;
    padding: 0 0.8rem;
    background: var(--sb-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    box-shadow: none;
}

.page-product .product-accessories--buyback .buyback-card.is-mobile-qty-open .card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.8);
    z-index: 15;
    border-radius: 20px;
    pointer-events: auto;
}

.page-product .product-accessories--buyback .buyback-card.is-mobile-qty-open .product-miniature__link,
.page-product .product-accessories--buyback .buyback-card.is-mobile-qty-open .buyback-card-body > :not(.buyback-mobile-qty-layer):not(.buyback-mobile-qty-editor) {
    pointer-events: none;
}

.page-product .product-accessories--buyback .buyback-card.is-mobile-qty-open .buyback-mobile-add-btn {
    visibility: hidden;
    pointer-events: none;
}

.page-product .product-accessories--buyback .buyback-card.is-mobile-qty-open .sb-qty-control,
.page-product .product-accessories--buyback .buyback-card.is-mobile-qty-open .product-accessories__qty-control {
    z-index: 1 !important;
    pointer-events: none;
    opacity: 0 !important;
    visibility: hidden !important;
}

.page-product .product-accessories--buyback .buyback-mobile-qty-editor {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
}

.page-product .product-accessories--buyback .buyback-mobile-qty-controls {
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    bottom: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    z-index: 21;
    pointer-events: none;
}

.page-product .product-accessories--buyback .buyback-mobile-qty-btn {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 0;
    background: var(--sb-accent);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.page-product .product-accessories--buyback .buyback-mobile-qty-input {
    width: min(78%, 220px);
    height: 56px;
    border: 2px solid var(--sb-border-soft);
    border-radius: 999px;
    padding: 0 1rem;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--sb-brand-grey);
    background: #fff;
    pointer-events: auto;
}

.page-product .product-accessories--buyback .buyback-mobile-qty-input::-webkit-outer-spin-button,
.page-product .product-accessories--buyback .buyback-mobile-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.page-product .product-accessories--buyback .buyback-mobile-qty-apply-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    z-index: 21;
}

.page-product .product-accessories--buyback .buyback-mobile-qty-apply {
    width: min(170px, 100%);
    height: 40px;
    border: 0;
    border-radius: 10px;
    padding: 0 0.8rem;
    background: var(--sb-brand-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    pointer-events: auto;
}

.page-product .product-accessories--buyback .buyback-mobile-qty-apply-check {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-color: currentcolor;
    -webkit-mask: url("/modules/selecteobuyback/views/img/check.svg") center / contain no-repeat;
    mask: url("/modules/selecteobuyback/views/img/check.svg") center / contain no-repeat;
}

.page-product .product-accessories--buyback .wishlist-button,
.page-product .product-accessories--buyback .wishlist-button-add {
    display: none !important;
}

.page-product .product__description-short {
    padding: 0 0.5em;
}

/* ------------------------------
   PAGE PRODUIT - DIVERS
------------------------------ */
.page-product .js-buyback-product-cart-notice {
      margin-top:2em;
  }

.page-product .buyback-product-content-wrap
{
    padding-bottom: 20%;
}
.product-miniature .product-miniature__prices {
    justify-content: center;
}
.page-category .product-miniature__price.is-promo {
    color: var(--sb-brand-pink);
}
.page-category .product-miniature__regular-price {
    text-decoration: line-through;
}
.page-cms .product-miniature .product-miniature__prices,
body#cms .product-miniature .product-miniature__prices, .elementor-price-wrapper {
    display: none;
}
.page-cms .product-miniature .product-miniature__quickview,
body#cms .product-miniature .product-miniature__quickview,
.page-cms .product-miniature .wishlist-button-add,
body#cms .product-miniature .wishlist-button-add {
    display: none !important;
}
.page-cms .product-miniature .product-miniature__discount-price,
body#cms .product-miniature .product-miniature__discount-price,
.page-cms .product-miniature .product-miniature__regular-price,
body#cms .product-miniature .product-miniature__regular-price,
.page-cms .product-miniature .product-miniature__price.is-promo,
body#cms .product-miniature .product-miniature__price.is-promo,
.page-cms .badge.discount,
body#cms .badge.discount,
.page-cms .product-flags .discount,
body#cms .product-flags .discount {
    display: none !important;
}
.page-cms .product-miniature form,
body#cms .product-miniature form,
.page-cms .product-miniature [data-button-action="add-to-cart"],
body#cms .product-miniature [data-button-action="add-to-cart"],
.page-cms .product-miniature .quantity-button,
body#cms .product-miniature .quantity-button {
    display: none !important;
}
.product-miniature .card {
    padding-top: 0.5em;
    border-radius: 0;
    background: white;
}
.product-miniature .js-thumb-container {
    cursor:pointer;
}
.page-product .js-product-container > .product__left,
.page-product .js-product-container > .product__col {
    width: fit-content;
    padding:0;
}

/* ------------------------------
   PAGE PRODUIT - RESPONSIVE
------------------------------ */


@media (max-width: 399.98px) {
    .page-product .product-accessories--buyback .product-accessories__list {
        grid-template-columns: minmax(0, 1fr);
    }
    .page-product .product-accessories--buyback .product-miniature__title {
        font-size: 1.2rem;
    }
}

/* Keep accessory cards visually identical to their 20px wrapper.
   A global .product-miniature .card rule above resets radius to 0. */
.page-product .product-accessories--buyback .product-miniature .card {
    border-radius: 20px;
    background: #fff;
    overflow: hidden;
    box-shadow: none !important;
    filter: none !important;
}

.page-product .product-accessories--buyback .product-miniature .card:hover {
    box-shadow: none !important;
    filter: none !important;
}

#product .product-accessories--buyback .product-miniature,
#product .product-accessories--buyback .product-miniature:hover {
    box-shadow: #3c433e2b 6px 0px 25px;;
    filter: none !important;
}

/* Safety guard: no dark overlay unless the qty editor is explicitly open. */
.page-product .product-accessories--buyback .buyback-card:not(.is-mobile-qty-open) .card::after {
    content: none !important;
}

@media (max-width: 1525.98px) {
    .page-product .product__left,
    .page-product .product__col,
    .page-product .product__actions,
    .page-product .product__add-to-cart,
    .page-product .product__prices,
    .page-product .product__description-short,
    .page-product .js-buyback-product-cart-notice,
    .page-product .product__minimal-quantity,
    .page-product .product__availability {
        text-align: center;
    }

    .page-product .product__left {
        display: flex;
        justify-content: center;
    }

    .page-product .product__name {
        text-align: center;
    }

    .page-product .prices__wrapper--buyback {
        align-items: center;
    }

    .page-product .buyback-product-promo-pill {
        align-self: center;
    }

    .page-product .product__price-line--buyback {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.65rem;
        flex-wrap: wrap;
        width: 100%;
    }

    .page-product .product__price-line--buyback .product__unit-price, .page-product .buyback-product-qty-control {
        width: 100%;
        text-align: center;
    }

    .page-product .js-product-container > .product__left,
    .page-product .js-product-container > .product__col {
        width: 100%;
    }
    .page-product .product__discount--buyback {
        justify-content: center;
    }

    .page-product .product__description-short {
        margin-left: auto;
        margin-right: auto;
    }

    .page-product .buyback-product-actions {
        justify-content: center;
        row-gap: 1.5em;
        padding: 0 1em;
    }

    .page-product .product-actions__quantity,
    .page-product .product-actions__button {
        display: flex;
        justify-content: center;
    }

    .page-product .product-actions__button {
        padding-left: 0;
        padding-right: 0;
    }

    .page-product .product__add-to-cart .product-actions__button button {
        margin-left: auto;
        margin-right: auto;
    }

    .page-product .js-buyback-product-cart-notice {
        margin-left: auto;
        margin-right: auto;
    }

    .page-product .buyback-oem-alternative-line {
        justify-content: center;
        flex-wrap: wrap;
        padding: 0 1em;
    }
    .page-product .buyback-oem-alternative-text {
        white-space: wrap;
    }
    .page-product .buyback-oem-alternative-link {
        margin: 0;
    }
}
@media (max-width: 574.98px) {
    .page-product .container .buyback-product-content-wrap {
        width:95%;
        margin: auto;
    }
    .page-product .buyback-product-content-wrap .row.row:not(.product) {
        margin: 0;
    }
}
@media (max-width: 455.98px) {
    .page-product .product-accessories--buyback .product-miniature {
        margin:auto;
    }
}

/* ------------------------------
   WISHLIST RACHAT (blockwishlist)
------------------------------ */
.page-module-blockwishlist-view .buyback-wishlist-products {
    max-width: 1320px;
    margin: 0 auto;
}

.page-module-blockwishlist-view .buyback-wishlist-header {
    text-align: center;
}

.page-module-blockwishlist-view .buyback-wishlist-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: flex-start;
}

.page-module-blockwishlist-view .buyback-card-item {
    width: 200px;
    max-width: 200px;
    flex: 0 0 200px;
    padding: 0;
}

.page-module-blockwishlist-view .buyback-card {
    margin-bottom: 0;
    border-radius: 20px;
    background: #fff;
    border: 2px solid #e7e7e7;
    position: relative;
}

.page-module-blockwishlist-view .buyback-card .card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

#buyback-wishlist .buyback-promo-ribbon {
    position: absolute;
    top: 2.35rem;
    left: -3.7rem;
    z-index: 26;
    width: 14rem;
    height: 1.85rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--sb-brand-pink);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: 0.01em;
    transform: rotate(-45deg);
    box-shadow: 0 2px 8px rgba(17, 24, 39, 0.2);
    pointer-events: none;
}

.page-module-blockwishlist-view .buyback-wishlist-actions-top {
    position: absolute;
    top: 0.65rem;
    left: 0.65rem;
    right: 0.65rem;
    z-index: 24;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: none;
}

.page-module-blockwishlist-view .buyback-icon,
.page-module-blockwishlist-view .buyback-wishlist-remove-btn {
    pointer-events: auto;
}

.page-module-blockwishlist-view .buyback-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(60, 67, 62, 0.25);
    background: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}

.page-module-blockwishlist-view .buyback-favorite-btn .buyback-favorite-star {
    font-size: 1.1rem;
    color: #767b77;
}

.page-module-blockwishlist-view .buyback-favorite-btn.is-active .buyback-favorite-star {
    color: var(--sb-brand-pink);
}

.page-module-blockwishlist-view .buyback-favorite-btn.is-loading {
    opacity: 0.55;
}

.page-module-blockwishlist-view .buyback-wishlist-remove-btn {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 1px solid rgba(60, 67, 62, 0.22);
    background: rgba(255, 255, 255, 0.95);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.page-module-blockwishlist-view .buyback-wishlist-remove-icon {
    width: 17px;
    height: 17px;
    display: inline-block;
    background-color: var(--sb-brand-grey);
    -webkit-mask: var(--sb-trash-icon) center / contain no-repeat;
    mask: var(--sb-trash-icon) center / contain no-repeat;
}

.page-module-blockwishlist-view .buyback-wishlist-link {
    display: block;
}

.page-module-blockwishlist-view .product-miniature__image-container {
    box-shadow: none;
    border-radius: 0;
}

.page-module-blockwishlist-view .buyback-wishlist-card-body {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    min-height: 120px;
    padding-bottom: 1rem;
    padding-top: 0.35rem;
    background: #fff;
}

.page-module-blockwishlist-view .product-miniature__infos,
.page-module-blockwishlist-view .product-miniature__infos__top,
.page-module-blockwishlist-view .product-miniature__infos__bottom,
.page-module-blockwishlist-view .product-miniature__prices,
.page-module-blockwishlist-view .product-miniature__price,
.page-module-blockwishlist-view .product-miniature__regular-price {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 0;
}

.page-module-blockwishlist-view .product-miniature__title {
    margin: 0;
    color: #000;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 500;
    padding: 0 0.3rem;
}

.page-module-blockwishlist-view .product-miniature__price.is-promo {
    color: var(--sb-brand-pink);
}

.page-module-blockwishlist-view .buyback-wishlist-qty-control {
    display: none;
    justify-content: center;
    margin-top: 0.25rem;
    position: relative;
    z-index: 20;
}

.page-module-blockwishlist-view .buyback-card.is-mobile-qty-added .buyback-wishlist-qty-control {
    display: flex;
}

.page-module-blockwishlist-view .buyback-wishlist-qty-control .sb-qty-btn {
    display: none;
}

.page-module-blockwishlist-view .buyback-wishlist-qty-display {
    width: 100%;
    max-width: 132px;
    height: 40px;
    border: 1px solid var(--sb-border-soft);
    border-radius: 999px;
    padding: 0 1rem;
    text-align: center;
    font-weight: 700;
    color: var(--sb-brand-grey);
    background: #fff;
    cursor: pointer;
    box-shadow: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

.page-module-blockwishlist-view .buyback-wishlist-qty-display::-webkit-outer-spin-button,
.page-module-blockwishlist-view .buyback-wishlist-qty-display::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.page-module-blockwishlist-view .buyback-wishlist-qty-layer {
    position: relative;
    display: flex;
    justify-content: center;
    margin-top: auto;
    z-index: 20;
}

.page-module-blockwishlist-view .buyback-card.is-mobile-qty-added .buyback-wishlist-qty-layer {
    display: none;
}

.page-module-blockwishlist-view .buyback-mobile-add-btn {
    position: static;
    transform: none;
    width: min(160px, 100%);
    min-width: 0;
    height: 40px;
    border: 0;
    border-radius: 10px;
    padding: 0 0.8rem;
    background: var(--sb-accent);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    box-shadow: none;
}

.page-module-blockwishlist-view .buyback-card.is-mobile-qty-open .card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 15, 0.8);
    z-index: 15;
    border-radius: 20px;
    pointer-events: auto;
}

.page-module-blockwishlist-view .buyback-card.is-mobile-qty-open .buyback-wishlist-link,
.page-module-blockwishlist-view .buyback-card.is-mobile-qty-open .buyback-card-body > :not(.buyback-mobile-qty-layer):not(.buyback-mobile-qty-editor),
.page-module-blockwishlist-view .buyback-card.is-mobile-qty-open .buyback-wishlist-actions-top {
    pointer-events: none;
}

.page-module-blockwishlist-view .buyback-card.is-mobile-qty-open .buyback-mobile-add-btn {
    display: none;
}

.page-module-blockwishlist-view .buyback-card.is-mobile-qty-open .sb-qty-control,
.page-module-blockwishlist-view .buyback-card.is-mobile-qty-open .buyback-wishlist-qty-control {
    z-index: 1 !important;
    pointer-events: none;
    opacity: 0 !important;
    visibility: hidden !important;
}

.page-module-blockwishlist-view .buyback-card.is-mobile-qty-open .buyback-wishlist-remove-btn {
    opacity: 0;
    pointer-events: none;
}

.page-module-blockwishlist-view .buyback-mobile-qty-editor {
    position: absolute;
    inset: 0;
    z-index: 20;
    pointer-events: none;
}

.page-module-blockwishlist-view .buyback-mobile-qty-controls {
    position: absolute;
    top: 16px;
    left: 0;
    right: 0;
    bottom: 76px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    z-index: 21;
    pointer-events: none;
}

.page-module-blockwishlist-view .buyback-mobile-qty-btn {
    width: 56px;
    height: 56px;
    border-radius: 999px;
    border: 0;
    background: var(--sb-accent);
    color: #fff;
    font-size: 2rem;
    line-height: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
}

.page-module-blockwishlist-view .buyback-mobile-qty-input {
    width: min(78%, 220px);
    height: 56px;
    border: 2px solid var(--sb-border-soft);
    border-radius: 999px;
    padding: 0 1rem;
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--sb-brand-grey);
    background: #fff;
    pointer-events: auto;
}

.page-module-blockwishlist-view .buyback-mobile-qty-input::-webkit-outer-spin-button,
.page-module-blockwishlist-view .buyback-mobile-qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

.page-module-blockwishlist-view .buyback-mobile-qty-apply-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 16px;
    display: flex;
    justify-content: center;
    z-index: 21;
}

.page-module-blockwishlist-view .buyback-mobile-qty-apply {
    width: min(170px, 100%);
    height: 40px;
    border: 0;
    border-radius: 10px;
    padding: 0 0.8rem;
    background: var(--sb-brand-green);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    pointer-events: auto;
}

.page-module-blockwishlist-view .buyback-mobile-qty-apply-check {
    width: 16px;
    height: 16px;
    display: inline-block;
    background-color: currentcolor;
    -webkit-mask: url("/modules/selecteobuyback/views/img/check.svg") center / contain no-repeat;
    mask: url("/modules/selecteobuyback/views/img/check.svg") center / contain no-repeat;
}

.page-module-blockwishlist-view .buyback-wishlist-pagination .pagination {
    justify-content: center;
}





/* ------------------------------
   UNIFICATION CARTES RACHAT
   (similaires + favoris)
------------------------------ */
.page-product .product-accessories--buyback,
#buyback-wishlist {
    --sb-unified-card-w: 256px;
    --sb-unified-card-h: 380px;
}

.page-product .product-accessories--buyback .product-accessories__list,
#buyback-wishlist .buyback-wishlist-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.page-product .product-accessories--buyback .product-accessories__item,
#buyback-wishlist .buyback-card-item {
    width: var(--sb-unified-card-w);
    max-width: var(--sb-unified-card-w);
    flex: 0 0 var(--sb-unified-card-w);
    padding: 0;
    display: flex;
}

.page-product .product-accessories--buyback .buyback-card,
#buyback-wishlist .buyback-card {
    width: 100%;
    max-width: var(--sb-unified-card-w);
    min-height: var(--sb-unified-card-h);
    margin-bottom: 0;
    border-radius: 10px;
    border: 2px solid #e7e7e7;
    background: #fff;
    box-shadow: 0 2px 8px rgba(16, 24, 40, 0.12);
}

.page-product .product-accessories--buyback .buyback-card .card,
#buyback-wishlist .buyback-card .card {
    min-height: var(--sb-unified-card-h);
    border-radius: 10px;
    overflow: hidden;
    border: 0;
    box-shadow: none !important;
    padding-top: 0;
}

.page-product .product-accessories--buyback .product-miniature__image-container,
#buyback-wishlist .product-miniature__image-container {
    width: 100%;
    aspect-ratio: 1 / 1;
    height: auto;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 0;
    box-shadow: none;
    overflow: hidden;
}

.page-product .product-accessories--buyback .product-miniature__image,
#buyback-wishlist .product-miniature__image {
    width: 100%;
    height: 100%;
    object-fit: cover !important;
    object-position: center center;
    max-width: none !important;
}

.page-product .product-accessories--buyback .buyback-card-body,
#buyback-wishlist .buyback-wishlist-card-body {
    display: grid;
    grid-template-rows: 2.8em auto auto;
    align-content: start;
    gap: 0.35rem;
    min-height: calc(var(--sb-unified-card-h) - var(--sb-unified-card-w));
    padding: 0.35rem 0.65rem 1rem;
    background: transparent;
}

.page-product .product-accessories--buyback .product-miniature__infos__top,
#buyback-wishlist .product-miniature__infos__top {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.8em;
}

.page-product .product-accessories--buyback .product-miniature__title,
#buyback-wishlist .product-miniature__title {
    margin: 0;
    color: #000;
    font-weight: 500;
    line-height: 1.2;
    min-height: 2.8em;
    max-height: 2.8em;
    padding: 0 0.3rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: center;
}

.page-product .product-accessories--buyback .product-miniature__prices,
#buyback-wishlist .product-miniature__prices {
    min-height: 2.8em;
    height: 2.8em;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.page-product .product-accessories--buyback .product-miniature__price,
.page-product .product-accessories--buyback .product-miniature__discount-price,
#buyback-wishlist .product-miniature__price,
#buyback-wishlist .product-miniature__discount-price {
    min-height: 1.4em;
    height: 1.4em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-product .product-accessories--buyback .product-miniature__price.is-promo,
#buyback-wishlist .product-miniature__price.is-promo {
    color: var(--sb-brand-pink);
}



@media (max-width: 399.98px) {
    .page-product .product-accessories--buyback .product-accessories__list,
    #buyback-wishlist .buyback-wishlist-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* ------------------------------------------------------------------
   LEGACY CMS (PS 1.6 -> PS9)
   - Consolidation des CSS "manuels Elementor" issues de PS1.6
   - Scope limite a body:is(#cms, #index) #content pour eviter les regressions catalogue/checkout
   - Pas d'injection du bootstrap 1.6 complet (conflits avec bootstrap PS9)
------------------------------------------------------------------- */

body:is(#cms, #index) #content .leader-francais {text-align:center;}
body:is(#cms, #index) #content .img-concept-selecteo
{margin:0;}
body:is(#cms, #index) #content .img-concept-selecteo img
{width:30%;}


/*Bandeau Accueil Compteur Economie Circulaire*/
body:is(#cms, #index) #content #logo-selecteo {text-align:center;}
body:is(#cms, #index) #content #logo-selecteo img {max-width: 120px;width: 60%;}


/* Section FAQ */


body:is(#cms, #index) #content #FAQ-rachat .elementor-accordion .elementor-accordion-item,body:is(#cms, #index) #content #FAQ-rachat .elementor-accordion .elementor-tab-content {
    border: none;
}
body:is(#cms, #index) #content #FAQ-rachat img,
body:is(#cms, #index) #content #FAQ-rachat .elementor-widget-image,
body:is(#cms, #index) #content #FAQ-rachat .elementor-widget-image .elementor-widget-container,
body:is(#cms, #index) #content #FAQ-rachat .elementor-widget-image .elementor-image {
    height: 100%;
}
@media (max-width: 1023.98px) {
    #content #FAQ-rachat .elementor-column.elementor-col-66, .elementor-column[data-col="66"] {
        width: 100%;
    }
}
body:is(#cms, #index) #content #FAQ-rachat img {
    object-fit: cover;
}
body:is(#cms, #index) #content #FAQ-rachat .elementor-tab-title {
    border-bottom: solid 2px #3c433e20;
}
body:is(#cms, #index) #content #FAQ-rachat .elementor-accordion div:last-child .elementor-tab-title {
    border: none;
}
/*Animation Accueil*/
body:is(#cms, #index) #content .seconde-vie-cartouche{
    display: flex;
    box-shadow: none;
    background-color:transparent;
}
body:is(#cms, #index) #content .seconde-vie-cartouche div{
    display: flex;
    flex-direction: column;
    align-items: center;
}
body:is(#cms, #index) #content .seconde-vie-cartouche p{
    text-shadow: 1px 2px 2px #3c433e;
}
body:is(#cms, #index) #content .seconde-vie-cartouche .liquidFillGaugeText{fill:#ffffff!important;}
body:is(#cms, #index) #content .seconde-vie-cartouche svg:not(:root) {border-radius: 100%;background-color: #0000004a;width: 150px;height: 150px;}

/*Video accueil*/
body:is(#cms, #index) #content #video-rachat-facile {min-width:240px;max-width:720px; width:45vw; min-height:135px;max-height:405px; height:25vw; margin:0 auto;}
body:is(#cms, #index) #content #video-rachat-facile .elementor-widget-wrap, body:is(#cms, #index) #content #video-rachat-facile .bouton-youtube, body:is(#cms, #index) #content #video-rachat-facile .bouton-youtube .elementor-widget-container, body:is(#cms, #index) #content #video-rachat-facile .bouton-youtube .elementor-button-wrapper {height:100%;}
body:is(#cms, #index) #content #video-rachat-facile .bouton-youtube a {transition: all 0.5s ease-out;display: flex;justify-content: center;align-items: center;width:100%;height:100%;}
body:is(#cms, #index) #content #video-rachat-facile .bouton-youtube .elementor-button-content-wrapper {transition: all 0.1s ease-out;background-color: white;border-radius: 100%;border: solid 3px #ff0000;display: flex;justify-content: center;align-items: center;width:80px; height:80px;}
body:is(#cms, #index) #content #video-rachat-facile .bouton-youtube i {margin: 5px 0 0 6px;}
body:is(#cms, #index) #content #video-rachat-facile .bouton-youtube a:hover {background-color:#3c433e30;}
body:is(#cms, #index) #content #video-rachat-facile .bouton-youtube a:hover .elementor-button-content-wrapper {
    background-color:#ff0000;
    animation-name: elementor-animation-pulse;
    animation-duration: 1s;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}



body #wrapper .btn-gros .elementor-button, body #wrapper .btn-gros a,body #wrapper button.btn-gros {font-size: clamp(16px, 1.5vw, 20px); border-radius: 10px;padding: 15px 30px;border-width: 3px;}
body #wrapper .btn-petit .elementor-button, body #wrapper .btn-petit a, body #wrapper button.btn-petit {font-size: clamp(12px, 0.8vw, 16px); border-radius: 10px; padding: 12px 15px;border-width: 2px;}


body:is(#cms, #index, #module-selecteobuyback-immediat, #module-selecteobuyback-neuf) #content h1 {
    font-size: clamp(20px, 6vw, 40px);
    line-height: 1.5em;
    background-color: transparent;
    border-bottom: none;
    margin: 0;
    padding: 0;
    text-align: center;
    color: var(--sb-brand-grey);
    font-weight: 700;
}
body:is(#cms, #index, #module-selecteobuyback-immediat, #module-selecteobuyback-neuf) #content h2 {
    font-size: clamp(18px, 5vw, 30px);
    line-height: 1.5em;
    color: var(--sb-brand-grey);
    margin: 0;
    font-weight: 700;
}
body:is(#cms, #index, #module-selecteobuyback-immediat, #module-selecteobuyback-neuf) #content h3 {
    font-size: clamp(17px, 4vw, 26px);
    line-height: 1.2em;
    color: var(--sb-brand-grey);
}
body:is(#cms, #index, #module-selecteobuyback-immediat, #module-selecteobuyback-neuf) #content h4 {
    font-size: clamp(16px, 3vw, 20px);
    line-height: 1.1em;
    color: var(--sb-brand-grey);
}
body:is(#cms, #index, #module-selecteobuyback-immediat, #module-selecteobuyback-neuf) #content p,
body:is(#cms, #index, #module-selecteobuyback-immediat, #module-selecteobuyback-neuf) #content ul,
body:is(#cms, #index, #module-selecteobuyback-immediat, #module-selecteobuyback-neuf) #content li {
    font-size: clamp(14px, 2vw, 18px);
    line-height: 1.4;
    color: var(--sb-brand-grey);
}
body:is(#cms, #index) #content .swiper-slide {
    background-color: rgba(255, 255, 255, 0.70);
}
body:is(#cms, #index) #content .section-grise { background-color: rgba(60, 67, 62, 0.06); }
body:is(#cms, #index) #content .columns-container #columns { margin-top: 0 !important; }

body:is(#cms, #index) #content .titre-banniere p {
    font-size: clamp(15px, 3vw, 22px);
    text-align: center;
    line-height: 1.5em;
    margin: 10px 0 0;
}
body:is(#cms, #index) #content .banniere .elementor-widget-container { width: 100%; }
@media (max-width: 767px) {
    body:is(#cms, #index) #content .banniere-mobile { background-attachment: scroll; }
    body:is(#cms, #index) #content p,
    body:is(#cms, #index) #content ul,
    body:is(#cms, #index) #content li {
        font-size: clamp(14px, 3vw, 18px);
    }
}

body .max-width-400 {
    max-width: 400px;
    margin: auto;
}

body:is(#cms, #index) #content .fit-content {
    width: fit-content;
    margin: 0 auto;
}
body:is(#cms, #index) #content .max-1080 {
    max-width: 1080px;
}
body:is(#cms, #index) #content .shadowbottom { box-shadow: 0 0 3px 5px #fff; }
body:is(#cms, #index) #content .shadowtop { box-shadow: inset 0 20px 3px 0 #fff; }

body:is(#cms, #index) #content .revente-neuf-vide img { max-height: 150px; }
body:is(#cms, #index) #content .revente-neuf-vide h3 { font-size: clamp(20px, 2vw, 22px); }

body:is(#cms, #index) #content #logo-selecteo { text-align: center; }
body:is(#cms, #index) #content #logo-selecteo img {
    max-width: 120px;
    width: 60%;
}
body:is(#cms, #index) #content .boite-economie-circulaire,
body:is(#cms, #index) #content .texte-economie-circulaire { margin: 0; }
body:is(#cms, #index) #content .boite-economie-circulaire h3 { padding: 0; }
body:is(#cms, #index) #content .boite-economie-circulaire img { height: 100px; }
body:is(#cms, #index) #content .logo-ecosystem img { height: 35px; }

body:is(#cms, #index) #content .banniere-reassurance h3 {
    padding: 0;
    font-size: clamp(16px, 2vw, 20px);
}
body:is(#cms, #index) #content .banniere-reassurance .block-reassurance { width: 300px; }
body:is(#cms, #index) #content .banniere-reassurance .elementor-row { justify-content: space-evenly; }
body:is(#cms, #index) #content .banniere-reassurance .elementor-container { max-width: 100%; }

body:is(#cms, #index) #content #avispersonas img {
    max-width: 186px;
    margin: 0 auto;
    border: 0 solid transparent;
    border-radius: 100% !important;
}
body:is(#cms, #index) #content #avispersonas .elementor-testimonial-details { flex-direction: column; justify-content: center; padding: 10px 0; }
body:is(#cms, #index) #content #avispersonas .elementor-testimonial-wrapper { display: grid; }
body:is(#cms, #index) #content #avispersonas .elementor-testimonial-wrapper div:first-child { grid-row: 2; }
body:is(#cms, #index) #content #avispersonas .elementor-testimonial-wrapper div:nth-child(2) { grid-row: 3; }
body:is(#cms, #index) #content #avispersonas .elementor-testimonial-wrapper div:last-child { grid-row: 1; }
body:is(#cms, #index) #content #avispersonas .elementor-testimonial-name { font-size: 16px; color: var(--sb-brand-grey); }
body:is(#cms, #index) #content #avispersonas .elementor-testimonial-name a { color: var(--sb-brand-grey); }
body:is(#cms, #index) #content #avispersonas .elementor-testimonial-job a { color: var(--sb-accent); }

body:is(#cms, #index) #content .logo-mySelecteo img { height: 100%; width: 350px; }
body:is(#cms, #index) #content .avantages-myselecteo .elementor-widget-container { text-align: center; }

body:is(#cms, #index) #content #colonne-envoi-immediat .elementor-column-wrap { height: fit-content; }
body:is(#cms, #index) #content #colonne-envoi-immediat { align-items: center; }
body:is(#cms, #index) #content #photo-victor { height: 100%; margin: auto; }
body:is(#cms, #index) #content #photo-victor img { margin: 0; }

body:is(#cms, #index) #content .questions-reprise-achat::before {
    background-image: url(/img/cms/Photo_Utilisateurs_Avis/Revendre-mes-cartouches-imprimante-ecologie-economie.jpg);
}
body:is(#cms, #index) #content .creative-slider .ls-wrapper p {
    font-size: clamp(7px, 2vw, 26px) !important;
    display: flex !important;
    justify-content: center;
    align-items: center;
}
body:is(#cms, #index) #content form label,
body:is(#cms, #index) #content form textarea {
    font-size: clamp(12px, 2vw, 18px);
    line-height: 18px;
    color: var(--sb-brand-grey);
}
body:is(#cms, #index) #content .sansphoto.questions-reprise-achat::before { display: none; }
body:is(#cms, #index) #content .questions-neuve .elementor-accordion .elementor-accordion-item .elementor-accordion-title.active { background-color: var(--sb-accent); }

body:is(#cms, #index) #content .leader-francais { text-align: center; }
body:is(#cms, #index) #content .img-concept-selecteo { margin: 0; }
body:is(#cms, #index) #content .img-concept-selecteo img { width: 30%; }

body:is(#cms, #index) #content .visuel-association img { width: 100%; max-width: 800px; margin: 0; padding: 0; }
body:is(#cms, #index) #content .etape-association img { width: 50px; margin: 0; }
body:is(#cms, #index) #content .etape-association h3 { padding: 0; }

@media (max-width: 767px) {
    body:is(#cms, #index) #content .etapes-association-rachat .elementor-column-wrap { border: none; }
}


/* Buyback finalize success screen (desktop + mobile) */
#module-selecteobuyback-recap #content-wrapper .page-header, #module-selecteobuyback-finalize #content-wrapper .page-header {
    margin: 0;
}
#module-selecteobuyback-finalize .container.bb-finalize-page--success {
    width: 100vw;
    padding: 0;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    max-width: 100vw !important;
}
#module-selecteobuyback-finalize .bb-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}
#module-selecteobuyback-finalize .bb-finalize-success {
    background: #ececec;
    border-radius: 0;
    overflow: hidden;
    margin-top: -4px;
    padding-bottom: 36px;
}
#module-selecteobuyback-finalize .bb-finalize-success-hero {
    --bb-wave-drop-from: calc(-100% - 36px);
    position: relative;
    background: #ececec;
    padding: 22px 16px 64px;
    overflow: hidden;
}
#module-selecteobuyback-finalize .bb-finalize-success-hero::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: -1px;
    bottom: 0;
    background: var(--sb-brand-green);
    -webkit-mask-image: url("../img/buyback/finalize/wave-green-mask.svg");
    mask-image: url("../img/buyback/finalize/wave-green-mask.svg");
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: top center;
    mask-position: top center;
    -webkit-mask-size: 100% auto;
    mask-size: 100% auto;
    transform: translateY(var(--bb-wave-drop-from));
    transform-origin: 50% 0;
    animation: bb-finalize-wave-drop 900ms cubic-bezier(0.2, 0.8, 0.2, 1) 70ms both;
    will-change: transform;
    z-index: 1;
}
#module-selecteobuyback-finalize .bb-finalize-success-stage {
    position: relative;
    z-index: 2;
    max-width: 940px;
    margin: 0 auto;
    min-height: 340px;
    display: grid;
    grid-template-columns: minmax(140px, 1fr) auto minmax(140px, 1fr);
    align-items: end;
    gap: 24px;
}
#module-selecteobuyback-finalize .bb-finalize-success-stage > * {
    position: relative;
    z-index: 2;
}
#module-selecteobuyback-finalize .bb-finalize-success-stage::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -18px;
    width: 100vw;
    max-width: none;
    height: 58px;
    transform: translateX(-50%);
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(
        ellipse at center,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, .05) 34%,
        rgba(0, 0, 0, 0) 80%
    );
}
#module-selecteobuyback-finalize .bb-finalize-success-mascot--left {
    width: 15vw;
    height: auto;
    margin-bottom: -8px;
    justify-self: end;
    min-width: 180px;
}
#module-selecteobuyback-finalize .bb-finalize-success-mascot--right {
    justify-self: start;
    align-self: end;
    width: 20vw;
    min-width: 250px;
    height: auto;
    margin-bottom: -6px;
}
#module-selecteobuyback-finalize .bb-finalize-success-phone {
    grid-column: 2;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    box-sizing: border-box;
    width: 256px;
    min-height: 354px;
    aspect-ratio: 311 / 592;
    border: 0;
    border-radius: 0;
    container-type: inline-size;
    background: url("../img/buyback/finalize/mockup.svg") no-repeat center center;
    background-size: 100% 100%;
    text-align: center;
    padding: 18px 22px 18px;
}
#module-selecteobuyback-finalize .bb-finalize-success-phone > * {
    position: relative;
    z-index: 1;
}
#module-selecteobuyback-finalize .bb-finalize-success-check {
    width: 62px;
    height: 62px;
    margin: 0 auto 10px;
    position: relative;
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 44px;
    line-height: 1;
    font-weight: 700;
}
#module-selecteobuyback-finalize .bb-finalize-success-check::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 57%;
    width: 170px;
    height: 115px;
    filter: opacity(0.5);
    transform: translate(-50%, -50%) scale(0.15);
    transform-origin: center center;
    background: url("../img/buyback/finalize/confetti.svg") no-repeat center center;
    background-size: 100% 100%;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    will-change: transform, opacity;
    animation: bb-finalize-confetti-burst 820ms cubic-bezier(0.2, 0.88, 0.2, 1) 220ms both;
}
#module-selecteobuyback-finalize .bb-finalize-success-check::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: var(--sb-brand-green);
    z-index: 1;
}
#module-selecteobuyback-finalize .bb-finalize-success-checkmark {
    position: relative;
    z-index: 2;
    display: block;
    width: 22px;
    height: 12px;
    border-left: 4px solid #fff;
    border-bottom: 4px solid #fff;
    transform: rotate(-45deg) translateY(-1px);
    -webkit-transform: rotate(-45deg) translateY(-1px);
    transform-origin: center center;
    font-size: 0;
    line-height: 0;
    color: transparent;
}
#module-selecteobuyback-finalize .bb-finalize-success-title {
    margin: 0;
    color: var(--sb-brand-green);
    font-size: clamp(1.2rem, 1.2vw, 1.6rem);
    line-height: 1.1;
    font-weight: 700;
}
#module-selecteobuyback-finalize .bb-finalize-success-ref {
    margin: 0;
     color: var(--sb-brand-grey);
    font-size: clamp(0.98rem, 1.25vw, 1.12rem);
}
#module-selecteobuyback-finalize .bb-finalize-success-estimation {
    margin: 0;
    color: var(--sb-brand-grey);
    font-size: clamp(1.08rem, 1.45vw, 1.25rem);
    line-height: 1.3;
}
#module-selecteobuyback-finalize .bb-finalize-success-note {
    margin: 0;
    color: var(--sb-brand-grey);
    font-size: clamp(0.8rem, 2vw, 0.9rem);
    line-height: 1.35;
    padding: 0 0.5em;
}
#module-selecteobuyback-finalize .bb-finalize-success-label {
    align-self: center;
    max-width: 90%;
    font-size: clamp(0.8rem, 1vw, 1rem);
    white-space: normal;
    text-align: center;
    padding: 0.4em var(--bs-btn-padding-x);
}
#module-selecteobuyback-finalize .bb-finalize-success-label--disabled {
    pointer-events: none;
    cursor: default;
}
#module-selecteobuyback-finalize .bb-finalize-success-next {
    position: relative;
    z-index: 3;
    max-width: 760px;
    margin: 34px auto 0;
    padding: 0 16px;
    text-align: center;
    overflow: visible;
}
#module-selecteobuyback-finalize .bb-finalize-success-next::before,
#module-selecteobuyback-finalize .bb-finalize-success-next::after {
    content: "";
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.32;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
#module-selecteobuyback-finalize .bb-finalize-success-next::before {
    left: -45px;
    top: 94px;
    width: 250px;
    height: 217px;
    background-image: url("../img/buyback/finalize/credit-card-back.svg");
}
#module-selecteobuyback-finalize .bb-finalize-success-next::after {
    right: -26px;
    top: 106px;
    width: 180px;
    height: 176px;
    background-image: url("../img/buyback/finalize/package-back.svg");
}
#module-selecteobuyback-finalize .bb-finalize-success-next > h2,
#module-selecteobuyback-finalize .bb-finalize-success-next > .bb-finalize-success-steps,
#module-selecteobuyback-finalize .bb-finalize-success-next > .bb-finalize-success-actions {
    position: relative;
    z-index: 2;
}
#module-selecteobuyback-finalize .bb-finalize-success-steps {
    list-style: none;
    margin: 0 auto;
    padding: 18px 16px;
    max-width: 520px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    text-align: left;
}
#module-selecteobuyback-finalize .bb-finalize-success-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--sb-brand-grey);
    font-size: clamp(0.9rem, 1.22vw, 1.12rem);
    line-height: 1.35;
}
#module-selecteobuyback-finalize .bb-finalize-success-steps li + li {
    margin-top: 11px;
    padding-top: 11px;
}
#module-selecteobuyback-finalize .bb-finalize-success-steps a {
    color: var(--sb-brand-grey);
    text-decoration: underline;
}
#module-selecteobuyback-finalize .bb-finalize-success-step-num {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--sb-brand-green);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 30px;
    text-align: center;
}
#module-selecteobuyback-finalize .bb-finalize-success-actions {
    margin-top: 24px;
    display: flex;
    justify-content: center;
    gap: 14px;
}
#module-selecteobuyback-finalize .bb-finalize-success-actions .btn {
    min-width: 208px;
    justify-content: center;
}
/*FAQ*/

#FAQ-rachat h3, #module-selecteobuyback-catalog .buyback-catalog-footer-content #FAQ-rachat h3, body:is(#cms, #index, #module-selecteobuyback-immediat) #content #FAQ-rachat h3 {
    font-size: clamp(20px, 4vw, 24px);
}
#FAQ-rachat p, #module-selecteobuyback-catalog .buyback-catalog-footer-content #FAQ-rachat p, body:is(#cms, #index, #module-selecteobuyback-immediat) #content #FAQ-rachat p {
    font-size: clamp(12px, 2vw, 16px);
}

/*Pages catégorie + marque natives*/


body#manufacturer h1.page-title-section.h2 {
    margin-top: 1.5rem !important;
}
body#manufacturer #content-wrapper > ul.row {
    justify-content: center;
    gap: 10px;
}
body:is(body:is(#category,#manufacturer),#manufacturer) #left-column, body:is(body:is(#category,#manufacturer),#manufacturer) .wishlist-button-add {
  display: none;
}
body:is(#category,#manufacturer) #content-wrapper {
  width: 100% !important;
}
body:is(#category,#manufacturer) .products {
    max-width: 1080px;
    margin: auto;
}
body:is(#category,#manufacturer) .card {
  padding: 1em;
  box-shadow: #3c433e2b 10px 10px 20px;
  border-radius: 10px;
}
body:is(#category,#manufacturer) .product-miniature__title {
    text-align: center;
    color: black;
}
body:is(#category,#manufacturer) .page-title-section  {
    text-align: center;
}
body:is(#category,#manufacturer) article.product-miniature {
  width: 25%;
}



@keyframes bb-finalize-confetti-burst {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.18);
    }
    42% {
        opacity: 0.92;
        transform: translate(-50%, -50%) scale(1.16);
    }
    100% {
        opacity: 0.72;
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes bb-finalize-wave-drop {
    0% {
        transform: translateY(var(--bb-wave-drop-from));
    }
    100% {
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    #module-selecteobuyback-finalize .bb-finalize-success-check::before {
        animation: none;
        opacity: 0.72;
        transform: translate(-50%, -50%) scale(1);
    }
    #module-selecteobuyback-finalize .bb-finalize-success-hero::before {
        animation: none;
        transform: translateY(0);
    }
    #module-selecteobuyback-finalize .bb-finalize-success-check::after {
        animation: none;
    }
}

@media (max-width: 767.98px) {
    #module-selecteobuyback-finalize .bb-finalize-success-hero::before,
    #module-selecteobuyback-finalize .bb-finalize-success-check::before,
    #module-selecteobuyback-finalize .bb-finalize-success-check::after {
        animation: none;
        will-change: auto;
    }

    #module-selecteobuyback-finalize .bb-finalize-success-stage::after {
        width: 100%;
    }
}

@media (max-width: 991.98px) {
    #module-selecteobuyback-recap #bb-recap-table thead {
        display: none;
    }
    #module-selecteobuyback-recap #bb-recap-table,
    #module-selecteobuyback-recap #bb-recap-table tbody,
    #module-selecteobuyback-recap #bb-recap-table tr,
    #module-selecteobuyback-recap #bb-recap-table td {
        display: block;
        width: 100%;
    }
    #module-selecteobuyback-recap .bb-recap-table-wrap {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }
    #module-selecteobuyback-recap #bb-recap-table tbody {
        display: grid;
        gap: 10px;
    }
    #module-selecteobuyback-recap #bb-recap-table .bb-row,
    #module-selecteobuyback-finalize #bb-finalize-recap-table .bb-row {
        position: relative;
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto;
        grid-template-areas:
            "product menu"
            "unit menu"
            "qty total";
        column-gap: 12px;
        row-gap: 10px;
        background: #fff;
        border: 1px solid #d7ddda;
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.09);
        padding: 12px;
    }
    #module-selecteobuyback-recap #bb-recap-table .bb-row--no-total {
        grid-template-areas:
            "product menu"
            "unit menu"
            "qty menu";
    }
    #module-selecteobuyback-recap #bb-recap-table .bb-col-fav {
        display: none;
    }
    #module-selecteobuyback-recap #bb-recap-table tbody td {
        border: 0;
        padding: 0;
        text-align: left !important;
    }
    #module-selecteobuyback-recap .bb-product-cell {
        grid-area: product;
        min-width: 0;
    }
    #module-selecteobuyback-recap .bb-product-wrap {
        align-items: flex-start;
    }
    #module-selecteobuyback-recap .bb-product-image {
        display: none;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-product-name, #module-selecteobuyback-recap .bb-product-name {
        font-size: clamp(1.08rem, 5vw, 1.4rem);
        font-weight: 500;
    }
    #module-selecteobuyback-recap .bb-unit-cell {
        grid-area: unit;
        display: block !important;
        text-align: left !important;
        font-size: clamp(1rem, 2vw, 1.2rem);
        color: #2b312d;
    }
    #module-selecteobuyback-recap .bb-unit-cell .bb-unit-price-value, #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-unit-cell .bb-unit-price-value{
        display: inline-flex;
        align-items: baseline;
        gap: 6px;
    }
    #module-selecteobuyback-recap .bb-unit-cell .bb-unit-price-old {
        font-size: clamp(1.15rem, 2.45vw, 1.20rem);
    }
    #module-selecteobuyback-recap .bb-unit-cell .bb-unit-price-current, #module-selecteobuyback-finalize .bb-unit-cell .bb-unit-price-current {
        font-size: clamp(1.2rem, 2.5vw, 1.25rem);
    }
    #module-selecteobuyback-recap .bb-qty-cell,
    #module-selecteobuyback-recap .bb-total-cell, #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-total-cell {
        margin-top: 0;
    }
    #module-selecteobuyback-recap .bb-qty-cell {
        grid-area: qty;
        width: auto !important;
        display: block !important;
    }
    #module-selecteobuyback-recap .bb-qty-cell .sb-qty-control {
        display: inline-flex !important;
    }
    #module-selecteobuyback-recap .bb-qty-cell .sb-qty-btn {
        display: none !important;
    }
    #module-selecteobuyback-recap .bb-qty-cell .sb-qty {
        width: clamp(50px, 20vw, 90px);
        font-size: clamp(1.2rem, 3vw, 1.4rem);
        font-weight: 600;
        min-width: 40px;
        min-height: 40px;
        cursor: pointer;
        background: #fff;
    }
    #module-selecteobuyback-recap .bb-total-cell, #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-total-cell {
        grid-area: total;
        position: static;
        justify-self: end;
        align-self: center;
        width: auto;
        min-width: 140px;
        display: flex !important;
        align-items: baseline;
        justify-content: flex-end;
        gap: 6px;
        white-space: nowrap;
        font-size: clamp(1.3rem, 4vw, 1.4rem);
        font-weight: 600;
        color: #222826;
    }
    #module-selecteobuyback-recap .bb-total-cell::before, #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-total-cell::before {
        content: "Total :";
        margin-right: 0;
        font-size: 1.05rem;
        font-weight: 500;
        color: #5f6763;
        white-space: nowrap;
    }
    #module-selecteobuyback-recap #bb-recap-table .bb-col-remove {
        grid-area: menu;
        position: static;
        justify-self: end;
        align-self: start;
        width: auto;
    }
    #module-selecteobuyback-recap .bb-row.is-mobile-qty-open .buyback-mobile-qty-layer {
        display: block !important;
        position: absolute;
        inset: 0;
        z-index: 6;
        border-radius: 10px;
        padding: 0 !important;
        margin: 0 !important;
        background: rgba(255, 255, 255, 0.97);
    }
    #module-selecteobuyback-recap .bb-row.is-mobile-qty-open .buyback-mobile-qty-editor {
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: clamp(10px, 3vw, 40px);
        padding: 12px;
    }
    #module-selecteobuyback-recap .bb-row .buyback-mobile-qty-editor[hidden] {
        display: none !important;
    }
    #module-selecteobuyback-recap .bb-row .buyback-mobile-qty-controls {
        display: inline-flex;
        align-items: center;
        gap: 10px;
    }
    #module-selecteobuyback-recap .bb-row .buyback-mobile-qty-btn {
        min-width: 40px;
        min-height: 40px;
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 50%;
        background: var(--sb-accent);
        color: #fff;
        font-size: 1.65rem;
        font-weight: 700;
        line-height: 1;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    #module-selecteobuyback-recap .bb-row .buyback-mobile-qty-input {
        width: 74px;
        min-width: 40px;
        min-height: 40px;
        border: 1px solid #bcc5bf;
        border-radius: 999px;
        text-align: center;
        font-size: 1.05rem;
        font-weight: 500;
        padding: 0 8px;
        -moz-appearance: textfield;
        appearance: textfield;
    }
    #module-selecteobuyback-recap .bb-row .buyback-mobile-qty-input::-webkit-outer-spin-button,
    #module-selecteobuyback-recap .bb-row .buyback-mobile-qty-input::-webkit-inner-spin-button {
        -webkit-appearance: none;
        margin: 0;
    }
    #module-selecteobuyback-recap .bb-row .buyback-mobile-qty-apply {
        min-width: 40px;
        min-height: 40px;
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 50%;
        background: var(--sb-brand-green);
        color: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0;
    }
    #module-selecteobuyback-recap .bb-row .buyback-mobile-qty-apply-check {
        width: 16px;
        height: 16px;
        display: inline-block;
        background: currentColor;
        -webkit-mask: url("/modules/selecteobuyback/views/img/check.svg") center / contain no-repeat;
        mask: url("/modules/selecteobuyback/views/img/check.svg") center / contain no-repeat;
    }
    #module-selecteobuyback-recap .bb-clear-line {
        font-size: 0;
        color: #68706b;
        width: 40px;
        height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: transparent;
        border: 0;
        padding: 0;
    }
    #module-selecteobuyback-recap .bb-clear-line::before {
        content: "";
        width: 30px;
        height: 30px;
        display: inline-block;
        background-color: currentColor;
        -webkit-mask: var(--sb-trash-icon) center / contain no-repeat;
        mask: var(--sb-trash-icon) center / contain no-repeat;
    }
    #module-selecteobuyback-recap .bb-add-more-link {
        min-height: 42px;
        padding: 7px 14px;
        margin: 6px auto 10px;
    }
    #module-selecteobuyback-recap .bb-add-more-link__text {
        font-size: clamp(1rem, 2vw, 1.2rem);
    }
    #module-selecteobuyback-recap .bb-recap-summary-card {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 14px;
    }
    #module-selecteobuyback-recap .bb-recap-summary-note {
        max-width: none;
        margin-top: 10px;
        text-align: left;
    }
    #module-selecteobuyback-recap .bb-recap-summary-main {
        text-align: center;
    }
    #module-selecteobuyback-recap .bb-recap-summary-count {
        margin-bottom: 6px;
        font-size: clamp(1rem, 1.1vw, 1.4rem);
    }
    #module-selecteobuyback-recap .bb-clear-all-link {
        font-size: clamp(1rem, 1.1vw, 1.4rem);
    }
    #module-selecteobuyback-recap .bb-recap-summary-line {
        font-size: clamp(1.2rem, 1.2vw, 1.4rem);
    }
    #module-selecteobuyback-recap .recap-annual-warning-msg.alert,
    #module-selecteobuyback-recap .recap-annual-block-msg.alert,
    #module-selecteobuyback-recap .recap-free-shipping-msg.alert,
    #module-selecteobuyback-recap .recap-bonus-hints.alert {
        font-size: clamp(1.2rem, 1.2vw, 1.4rem);
        line-height: 1.3;
    }
    #module-selecteobuyback-recap .bb-recap-validate {
        width: 100%;
        max-width: 320px;
        font-size: 1.3rem;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-recap-table-wrap {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-table thead {
        display: none;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-table tbody,
    #module-selecteobuyback-finalize #bb-finalize-recap-table tbody tr,
    #module-selecteobuyback-finalize #bb-finalize-recap-table tbody td {
        display: block;
        width: 100%;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-table tbody {
        display: grid;
        gap: 10px;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-table .bb-row--no-total {
        grid-template-areas:
            "product product"
            "unit unit"
            "qty qty";
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-table tbody td {
        border: 0;
        padding: 0;
        text-align: left !important;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-table .bb-col-fav {
        grid-area: menu;
        display: block !important;
        width: auto;
        justify-self: end;
        align-self: start;
        text-align: right !important;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-table .bb-col-fav.d-none {
        display: none !important;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-product-cell {
        grid-area: product;
        min-width: 0;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-product-wrap {
        align-items: flex-start;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-product-image {
        display: none;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-unit-cell {
        grid-area: unit;
        display: block !important;
        text-align: left !important;
        font-size: clamp(1rem, 2vw, 1.2rem);
        color: var(--sb-brand-grey);
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-cell {
        grid-area: qty;
        width: auto !important;
        display: block !important;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-readonly {
        width: clamp(50px, 20vw, 90px);
        min-height: 40px;
        font-size: clamp(1.2rem, 3vw, 1.4rem);
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 8px;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-table tfoot th {
        font-size: 0.95rem;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-recap-subtitle {
        text-align: center;
        font-size: 1.05rem;
    }
    /* Keep the same mobile row box model as recap (later desktop rules must not override it). */
    #module-selecteobuyback-finalize .bb-recap-page {
        padding: 0;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block, #module-selecteobuyback-finalize .bb-finalize-payment-card {
        padding: 0 0.5em;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-recap-table-wrap {
        border: 0;
        border-radius: 0;
        box-shadow: none;
        background: transparent;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-table tbody td {
        padding: 0;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-table .bb-col-fav {
        width: auto;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-cell {
        grid-area: qty;
        width: auto !important;
        display: block !important;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-cell::before {
        content: "Quantité : ";
        display: inline-block;
        margin-right: 6px;
        font-weight: 500;
        color: var(--sb-brand-grey);
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-static {
        min-width: 26px;
        min-height: 18px;
        padding: 0 6px;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #fff;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-readonly-wrap {
        display: inline-flex;
        gap: 6px;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-readonly-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 18px;
        height: 18px;
        border-radius: 50%;
        background: #1db8de;
        color: #fff;
        font-size: 0.88rem;
        line-height: 1;
        font-weight: 700;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-readonly {
        min-width: 26px;
        min-height: 18px;
        border: 1px solid #bfd0c8;
        border-radius: 999px;
        padding: 0 6px;
        font-size: 0.85rem;
        font-weight: 600;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        background: #fff;
    }
    #module-selecteobuyback-finalize .bb-finalize-summary-card {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 8px 10px;
    }
    #module-selecteobuyback-finalize .bb-finalize-summary-count {
        font-size: clamp(1rem, 1.1vw, 1.4rem);
        margin: 10px 0;
        text-align: center;
    }
    #module-selecteobuyback-finalize .bb-finalize-bonus-input {
        max-width: 100%;
    }
    #module-selecteobuyback-finalize .bb-finalize-summary-line {
        font-size: clamp(1.2rem, 1.2vw, 1.4rem);
    }
    #module-selecteobuyback-finalize .bb-finalize-section-title {
        font-size: 1.22rem;
        margin: 1.5em 0 1em;
    }
    #module-selecteobuyback-finalize .bb-finalize-payment-card,
    #module-selecteobuyback-finalize .bb-finalize-terms {
        width: 100%;
    }
    #module-selecteobuyback-finalize .bb-finalize-terms {
        padding: 0 2.5em;
    }
    #module-selecteobuyback-finalize .bb-finalize-bank-card,
    #module-selecteobuyback-finalize .bb-finalize-paypal-card {
        width: 100%;
        border-radius: 8px;
        padding: 8px;
    }
    #module-selecteobuyback-finalize .bb-finalize-submit {
        width: fit-content;
        min-width: 0;
        font-size: 0.9rem;
        padding: 6px 12px;
    }
    #module-selecteobuyback-finalize .bb-finalize-submit-note {
        font-size: 0.82rem;
        margin-top: 5px;
    }
    #module-selecteobuyback-finalize #bb-finalize-recap-block .bb-qty-static {
        min-width: 26px;
        min-height: 18px;
    }
    #header.header,
    #header {
        --sb-header-row2-h: 48px;
    }
    .page-product .product__images .carousel-inner {
        width: 100%;
        max-width: 100%;
    }

    .page-product .product__images .carousel-item,
    .page-product .product__images .carousel-item picture,
    .page-product .product__images .carousel-item img {
        width: 100%;
        max-width: 100%;
    }

    .page-product .product__images .carousel-item img {
        height: auto;
        object-fit: contain;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-stage {
        min-height: 318px;
        gap: 10px;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-phone {
        width: 224px;
        min-height: 320px;
        padding: 12px 12px 10px;
        border-width: 5px;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-mascot--left {
        width: 104px;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-mascot--right {
        width: 166px;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-actions .btn {
        min-width: 176px;
    }
}

@media (max-width: 767.98px) {
    .bb-auth-modal {
        padding: 10px;
    }
    .bb-auth-modal__dialog {
        width: 100%;
        max-height: calc(100vh - 20px);
        max-height: calc(100dvh - 20px);
        margin: 0 auto;
        padding: 12px 14px 14px;
    }
    .bb-auth-modal__close {
        top: 6px;
        right: 8px;
    }
    .bb-auth-modal__title {
        font-size: 1.35rem;
    }
    .bb-auth-modal__subtitle {
        margin-bottom: 8px;
    }
    .bb-auth-modal .mb-3 {
        margin-bottom: .6rem !important;
    }
    .bb-auth-modal .form-control {
        min-height: 38px;
    }
    .bb-auth-modal .btn {
        width: 100%;
    }
    .bb-auth-modal .bb-auth-password-toggle,  .password-field .btn {
        width: 42px;
        max-width: 42px;
        flex: 0 0 42px;
    }
    .bb-auth-modal .bb-auth-register-step[data-step="2"] .d-flex.gap-2 .btn {
        flex: 1 1 100%;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-check::before {
        width: 280px;
        height: 30vw;
        min-height: 105px;
    }
    #header.header,
    #header {
        /* Keep row-2 fully visible on mobile browsers with sticky rounding differences. */
        --sb-header-banner-h: 30px;
        --sb-header-row1-h: 0px;
        --sb-header-row2-h: 47px;
    }

    #header .header__banner {
        height: var(--sb-header-banner-h);
        min-height: var(--sb-header-banner-h);
        max-height: var(--sb-header-banner-h);
        overflow: hidden;
    }

    #header .header-bottom__row-1 {
        display: none;
    }

    #header .header-bottom__row-2 {
        min-height: var(--sb-header-row2-h);
        height: var(--sb-header-row2-h);
        align-items: center;
    }

    #header .header-bottom__row-2 > .col,
    #header .header-bottom__row-2 > .col-auto {
        height: 100%;
        display: flex;
        align-items: center;
    }
    #header .header-bottom__row-2 > .col {
        padding: 0 0.2em;
    }

    #header .header-bottom__row-2 .nav-row-2 {
        flex-wrap: nowrap;
        align-items: center;
        gap: 0.5rem;
    }

    /* Anti-gap guard under sticky row-2 on mobile (Safari/Chrome Android). */
    #header .header-bottom__row-2::after {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        bottom: -4px;
        height: 4px;
        background: #fff;
        pointer-events: none;
        z-index: 1;
    }

    .promo-banner__track {
        padding: 0 0.75rem;
    }

    .promo-banner__item {
        font-size: 0.82rem;
    }
    #module-selecteobuyback-history .btn-rapport {
        width:fit-content;
    }
    .page-product .product-accessories--buyback .product-accessories__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .page-product .product-accessories--buyback .product-accessories__item {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
    }
    .page-product .product-accessories--buyback .product-miniature__title {
        font-size: clamp(0.85rem, 3vw, 1rem);
    }
    .buyback-card.is-link-armed .card,
    .buyback-card.is-link-armed {
        transform: scale(1.02);
        transition: transform 0.2s ease;
    }
    .page-module-blockwishlist-view .buyback-wishlist-grid {
        gap: 1rem;
    }

    .page-module-blockwishlist-view .buyback-card-item {
        width: 100%;
        max-width: 100%;
        flex: 0 0 100%;
    }

    .page-module-blockwishlist-view .buyback-card {
        max-width: 320px;
        margin: 0 auto;
    }
    .page-product .product-accessories--buyback .product-accessories__list,
    #buyback-wishlist .buyback-wishlist-grid {
        gap: 0.75rem;
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .page-product .product-accessories--buyback .product-accessories__item,
    #buyback-wishlist .buyback-card-item {
        width: 100%;
        max-width: 100%;
        flex: 0 0 auto;
    }

    .page-product .product-accessories--buyback .buyback-card,
    #buyback-wishlist .buyback-card {
        max-width: 100%;
    }
    #module-selecteobuyback-finalize .bb-recap-page {
        margin-top: 0 !important;
        padding-left: 0;
        padding-right: 0;
    }
    #module-selecteobuyback-finalize .bb-finalize-success {
        margin-top: 0;
        padding-bottom: 22px;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-hero {
        --bb-wave-drop-from: calc(-100% - 24px);
        padding: 0 0 20px;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-hero::before {
        transform: translateY(var(--bb-wave-drop-from));
    }
    #module-selecteobuyback-finalize .bb-finalize-success-stage {
        min-height: 0;
        grid-template-columns: 1fr;
        justify-content: center;
        justify-items: center;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-stage::after {
        bottom: -12px;
        width: 100vw;
        max-width: none;
        height: 36px;
        background: radial-gradient(
            ellipse at center,
            rgba(0, 0, 0, .18) 0%,
            rgba(0, 0, 0, .1) 34%,
            rgba(0, 0, 0, 0) 72%
        );
    }
    #module-selecteobuyback-finalize .bb-finalize-success-mascot--left, #module-selecteobuyback-finalize .bb-finalize-success-mascot--right {
        display: none;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-phone {
        grid-column: 1;
        justify-self: center;
        /* Height-first sizing avoids bottom clipping on short screens (iPhone SE). */
        --bb-phone-max-h: calc(90vh - var(--sb-header-banner-h, 30px) - var(--sb-header-row2-h, 47px) - 110px);
        --bb-phone-max-h: calc(90svh - var(--sb-header-banner-h, 30px) - var(--sb-header-row2-h, 47px) - 110px);
        width: auto;
        max-width: 98vw;
        aspect-ratio: 311 / 592;
        height: var(--bb-phone-max-h);
        max-height: var(--bb-phone-max-h);
        min-height: 300px;
        margin-top: 30px;
        padding: clamp(12px, 3.2vw, 18px) clamp(16px, 4.4vw, 24px);
    }
    #module-selecteobuyback-finalize .bb-finalize-success-check {
        width: clamp(60px, 15vw, 100px);
        height: clamp(60px, 15vw, 100px);
        font-size: clamp(30px, 8vw, 90px);
        line-height: clamp(30px, 8vw, 90px);
    }
    #module-selecteobuyback-finalize .bb-finalize-success-title {
        font-size: clamp(1.2rem, 4vw, 1.8rem);
    }
    #module-selecteobuyback-finalize .bb-finalize-success-ref, #module-selecteobuyback-finalize .bb-finalize-success-estimation {
        font-size: clamp(1rem, 3vw, 1.5rem);
    }
    #module-selecteobuyback-finalize .bb-finalize-success-note {
        font-size: clamp(0.8rem, 1.5vw, 1.2rem);
    }
    #module-selecteobuyback-finalize .bb-finalize-success-next {
        margin-top: 20px;
        padding: 0 12px;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-next::before, #module-selecteobuyback-finalize .bb-finalize-success-next::after {
        display: none;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-steps {
        padding: 12px 10px;
        max-width: 500px;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-steps li {
        gap: 8px;
        line-height: 1.28;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-steps li + li {
        margin-top: 8px;
        padding-top: 8px;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-step-num {
        flex-basis: 22px;
        width: 22px;
        height: 22px;
        font-size: 14px;
        line-height: 22px;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-actions {
        flex-direction: column;
        gap: 8px;
        margin-top: 12px;
        align-items: center;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-actions .btn {
        width: 100%;
        max-width: 290px;
        min-width: 0;
    }
    #module-selecteobuyback-finalize .bb-finalize-success-label {
        font-size: clamp(0.8rem, 2.5vw, 1.8rem);
    }
}

/* Newsletter native ps_emailsubscription */
.email_subscription.block_newsletter.sb-newsletter {
    padding: clamp(1rem, 2.5vw, 2rem) 0;
}

.email_subscription.block_newsletter.sb-newsletter .container {
    max-width: 100%;
}
#footer #blockEmailSubscription_displayFooterBefore .container {
    width: calc(100% - 40px);
}
.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__card {
    width: min(100%, 1080px);
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 2.75rem) clamp(1rem, 3vw, 3rem) clamp(1.5rem, 3vw, 2.75rem);
    border: 4px solid var(--sb-brand-green);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 16px 38px rgba(60, 67, 62, 0.08);
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__header {
    margin-bottom: 1.2rem;
    text-align: center;
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__title {
    margin: 0;
    font-size: 2rem;
    line-height: 1.1;
    font-weight: 700;
    color: var(--sb-brand-grey);
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__alert {
    margin: 0 0 1rem;
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: stretch;
    overflow: hidden;
    border: 1px solid rgba(60, 67, 62, 0.16);
    border-radius: 14px;
    background: #fff;
    box-shadow: inset 0 1px 8px rgba(60, 67, 62, 0.08);
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__input {
    min-width: 0;
    height: auto;
    min-height: 56px;
    padding: 0 1rem;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    font-size: 1rem;
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__input:focus {
    box-shadow: none;
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__input::placeholder {
    color: rgba(60, 67, 62, 0.62);
    font-style: italic;
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__submit {
    min-width: 230px;
    width: 230px;
    min-height: 56px;
    border: 0;
    border-radius: 0;
    font-size: 1rem;
    color: #fff;
    background: var(--sb-brand-green);
    text-shadow: none;
    box-shadow: none;
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__submit:hover,
.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__submit:focus,
.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__submit:active {
    background: var(--sb-brand-green-hover);
    color: #fff;
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__consent {
    margin-top: 0.2rem;
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__consent .gdpr_consent {
    margin-bottom: 0;
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__consent .psgdpr_consent_message {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.55rem;
    font-size: clamp(0.95rem, 1.35vw, 1.05rem);
    line-height: 1.35;
    font-weight: 700;
    color: var(--sb-brand-grey);
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__consent .custom-checkbox {
    margin-right: 0.1rem;
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__consent a {
    color: var(--sb-brand-green);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__note {
    margin-top: 0.15rem;
    font-size: 0.95rem;
    line-height: 1.28;
    color: var(--sb-brand-grey);
    text-align: center;
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__note p {
    margin-bottom: 0.35rem;
}

.email_subscription.block_newsletter.sb-newsletter .sb-newsletter__more {
    font-weight: 700;
    color: var(--sb-brand-green);
    text-decoration: underline;
    text-underline-offset: 0.15em;
}

@media (max-width: 767.98px) {
    .email_subscription.block_newsletter.sb-newsletter {
        padding: 0.5rem 0;
    }

    .email_subscription.block_newsletter.sb-newsletter .sb-newsletter__card {
        padding: 2rem;
        border: 2px solid var(--sb-brand-green);
    }

    .email_subscription.block_newsletter.sb-newsletter .sb-newsletter__title {
        font-size: calc(1.325rem + .9vw);
    }

    .email_subscription.block_newsletter.sb-newsletter .sb-newsletter__row {
        grid-template-columns: 1fr;
    }

    .email_subscription.block_newsletter.sb-newsletter .sb-newsletter__submit {
        width: 100%;
        min-width: 0;
        border-radius: 0 0 12px 12px;
    }

    .email_subscription.block_newsletter.sb-newsletter .sb-newsletter__input {
        min-height: 50px;
        border-radius: 12px 12px 0 0;
    }
}

/* Social footer icons */
#footer a[href*="tiktok.com"],
#footer a[title="TikTok"] {
    color: #fff !important;
}

#footer a[href*="tiktok.com"] svg,
#footer a[title="TikTok"] svg {
    display: inline-block;
    width: 1em;
    height: 1em;
    fill: #fff !important;
    color: #fff !important;
}


