/* Daft-Web — fiches code promo (complément de daft-articles.css). CSS seul. */
/* Badge « Offre vérifiée » : uniquement la date dynamique (texte) ; le titre span éventuel reste une simple mention */
body.daft-code .page-content > .elementor > .elementor-section:first-child .elementor-widget-heading:has(h1) + .elementor-widget-text-editor + .elementor-widget-text-editor{display:inline-flex!important;align-items:center;gap:8px;width:auto!important;max-width:100%;align-self:flex-start;background:#E3F7EE;border:2px solid var(--d-ink);border-radius:999px;padding:6px 14px 6px 8px!important;font-size:14px!important;font-weight:800!important;font-style:normal!important;letter-spacing:0!important;text-transform:none!important;color:var(--d-ink)!important;line-height:1.3!important}
body.daft-code .page-content > .elementor > .elementor-section:first-child .elementor-widget-heading:has(h1) + .elementor-widget-text-editor + .elementor-widget-text-editor::before{content:"";flex:0 0 auto;width:22px;height:22px;border-radius:50%;background:#1DBF82 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFFFFF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") no-repeat center/14px}
body.daft-code .page-content > .elementor > .elementor-section:first-child .elementor-widget-heading:has(h1) + .elementor-widget-text-editor + .elementor-widget-heading .elementor-heading-title{font-size:14px!important;font-weight:700!important;font-style:normal!important;letter-spacing:.04em!important;text-transform:uppercase!important;color:var(--d-doux)!important}
body.daft-code .page-content > .elementor > .elementor-section:first-child .elementor-widget-heading:has(h1) + .elementor-widget-text-editor + .elementor-widget-heading h2.elementor-heading-title::before{display:none}

/* Bloc offre : grande carte */
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container{background:#FFFFFF;border:2px solid var(--d-ink);border-radius:24px;box-shadow:8px 8px 0 var(--d-ink);padding:clamp(10px,2.5vw,24px);align-items:center}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) .elementor-widget-image img{box-shadow:none!important;border-radius:16px!important;max-width:100%!important}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap{gap:14px}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap h2.elementor-heading-title,body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap > .elementor-widget-heading:first-child .elementor-heading-title{font-size:15px!important;line-height:1.3!important;font-weight:800!important;text-transform:uppercase!important;letter-spacing:.08em!important;color:var(--d-violet)!important}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap h2.elementor-heading-title::before{display:none!important}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap .elementor-widget-text-editor + .elementor-widget-heading:has(h3){border-top:0;padding-top:0}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap > .elementor-widget-text-editor:not(:first-child){font-size:17px!important;line-height:1.8!important;color:var(--d-ink)!important;font-weight:600}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap .elementor-widget-button{width:100%}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap .elementor-widget-button .elementor-button{display:flex!important;width:100%;justify-content:center;font-size:18px!important;font-weight:800!important;padding:17px 24px!important}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap .elementor-widget-spacer .elementor-spacer-inner{height:0!important}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap .elementor-widget-heading:has(+ .elementor-widget-share-buttons),body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap .elementor-widget-share-buttons{padding-top:10px!important}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap .elementor-share-btn{width:38px!important;height:38px!important}

/* Ticket du code (pastille ou liste, toutes variantes) */
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap > .elementor-widget-heading:first-child + .elementor-widget-text-editor{position:relative;display:flex!important;flex-direction:column;justify-content:center;gap:8px;min-height:64px;box-sizing:border-box;padding:12px 18px!important;border:2px dashed var(--d-ink);border-radius:14px;background:var(--d-mout-soft);font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace!important;font-size:clamp(20px,2vw,26px)!important;font-weight:800!important;letter-spacing:.04em;line-height:1.3!important;color:var(--d-ink)!important;text-align:center!important;word-break:break-word}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap > .elementor-widget-heading:first-child + .elementor-widget-text-editor :is(p,div,span,li,a,strong,b){font-family:inherit!important;font-size:inherit!important;font-weight:inherit!important;color:inherit!important;background:none!important;border:0!important;padding:0!important;margin:0!important;display:block!important;text-align:center!important;letter-spacing:inherit}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap > .elementor-widget-heading:first-child + .elementor-widget-text-editor.daft-has-copy{padding-right:76px!important}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap > .elementor-widget-heading:first-child + .elementor-widget-text-editor a{text-decoration:underline!important;text-decoration-color:var(--d-mout)!important;text-decoration-thickness:3px!important}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap > .elementor-widget-heading:first-child + .elementor-widget-text-editor br{display:none}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap > .elementor-widget-heading:first-child + .elementor-widget-text-editor ul{list-style:none!important;margin:0!important;padding:0!important;display:flex!important;flex-direction:column;gap:6px}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap > .elementor-widget-heading:first-child + .elementor-widget-text-editor ul>li{padding:0!important}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap > .elementor-widget-heading:first-child + .elementor-widget-text-editor ul>li::before{display:none!important}
.daft-copy{position:absolute;top:-2px;right:-2px;bottom:-2px;width:64px;border:2px solid var(--d-ink);border-radius:0 14px 14px 0;background:var(--d-ink);display:grid;place-items:center;cursor:pointer;padding:0}
.daft-copy:hover{background:var(--d-violet)}
.daft-copy:focus-visible{outline:3px solid var(--d-mout);outline-offset:2px}
.daft-copy svg{width:22px;height:22px}
.daft-copy.is-copied{background:#1DBF82}

/* Étapes numérotées dans la description */
body.daft-code .page-content > .elementor > .elementor-section:nth-child(3) .elementor-widget-text-editor ol{list-style:none;padding:0;counter-reset:daft-etape;gap:12px}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(3) .elementor-widget-text-editor ol>li{counter-increment:daft-etape;position:relative;padding-left:46px;min-height:32px}
body.daft-code .page-content > .elementor > .elementor-section:nth-child(3) .elementor-widget-text-editor ol>li::before{content:counter(daft-etape);position:absolute;left:0;top:-1px;width:32px;height:32px;box-sizing:border-box;border:2px solid var(--d-ink);border-radius:10px;background:var(--d-mout);display:grid;place-items:center;font-weight:900;font-size:15px;line-height:1;color:var(--d-ink)}

/* Retour en haut */
body.daft-code .page-content > .elementor .elementor-widget-icon .elementor-icon{border:2px solid var(--d-ink)!important;border-radius:12px!important;background:#FFFFFF!important;color:var(--d-ink)!important;box-shadow:3px 3px 0 var(--d-ink)}
body.daft-code .page-content > .elementor .elementor-widget-icon .elementor-icon svg{fill:var(--d-ink)!important}

@media (max-width:767px){
  body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container > .elementor-column:last-child > .elementor-widget-wrap > .elementor-widget-heading:first-child + .elementor-widget-text-editor.daft-has-copy{padding-right:72px!important}
  body.daft-code .page-content > .elementor > .elementor-section:nth-child(2) > .elementor-container{padding:10px}
}
