/* DealFun V2.0.4 — proposition B. Uniquement l'accueil des listes cadeaux. */
.gift-main-page .gift-main-hero { min-height: 390px; padding: 27px 28px 27px 44px; }
.gift-main-page .gift-main-hero__badge { margin-bottom: 13px; }
.gift-main-page .gift-main-hero p { margin-top: 12px; line-height: 1.6; }
.gift-main-page .gift-main-hero__actions { margin-top: 17px; }
.gift-main-page .gift-main-hero__reassurance { margin-top: 12px; }
.gift-main-page .gift-main-hero__panel { padding: 17px 17px 15px; }
.gift-main-page .gift-main-hero__total { padding-bottom: 12px; }
.gift-main-page .gift-main-hero h2.gift-main-hero__panel-title { margin: 12px 0 7px; }
.gift-main-page .gift-main-hero__counts { gap: 2px; }
.gift-main-page .gift-main-hero__counts > div, .gift-main-page .gift-main-hero__counts dt :is(a,span) { min-height: 34px; }
.gift-main-page .gift-main-hero p.gift-main-hero__panel-note { margin-top: 9px; }
/* Le ruban est dans le flux : aucun chevauchement avec le panneau ou les boutons. */
.gift-main-page.is-member .gift-main-hero { display: grid; grid-template-columns: minmax(0,1fr) 226px; align-items: center; gap: 14px 20px; min-height: 0; padding-bottom: 19px; }
.gift-main-page.is-member .gift-main-hero__content { width: min(100%, 535px); }
.df-hero-events { grid-column: 1 / -1; position: relative; z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 13px; width: fit-content; max-width: 100%; min-height: 58px; padding: 7px 85px 7px 17px; border: 1px solid #efbd58; border-radius: 32px; background: radial-gradient(ellipse at 94% 85%,#674520a8,transparent 33%),linear-gradient(105deg,#13151deF,#181b23f5); box-shadow: 0 0 13px #ffc65a45,inset 0 0 12px #f1a42d22; color: #fff; }
.df-hero-events a { color: #fff; text-decoration: none; }
.df-hero-events a:hover { color: #ffe3a0; }
.df-hero-events a:focus-visible { outline: 2px solid #ffce65; outline-offset: 2px; }
.df-hero-events__label,.df-hero-events__next,.df-hero-events__name,.df-hero-events__links { display: flex; align-items: center; gap: 9px; min-width: 0; }
.df-hero-events__label { font-size: 13px; font-weight: 750; padding-right: 13px; border-right: 1px solid #ffffff3b; min-height: 36px; }
.df-hero-events__label .gift-home-icon,.df-hero-events__name .gift-home-icon { color: #ffd365; }
.df-hero-events__next { flex-wrap: wrap; gap: 9px 12px; min-height: 36px; }
.df-hero-events__count { display: inline-block; padding: 3px 13px; border-radius: 20px; background: linear-gradient(150deg,#ffe69b,#ffc743); color: #201709; font-size: 22px; line-height: 1.2; font-weight: 850; white-space: nowrap; font-variant-numeric: tabular-nums; }
.df-hero-events__count.is-near { background: linear-gradient(145deg,#ffdfb0,#ff9b50); color: #4b2009; }
.df-hero-events__name { font-size: 14px; overflow-wrap: anywhere; max-width: 235px; }
.df-hero-events__next time { font-size: 12px; white-space: nowrap; padding-left: 12px; border-left: 1px solid #ffffff3b; }
.df-hero-events__links { flex-wrap: wrap; gap: 4px 8px; }
.df-hero-events__links a { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 650; min-height: 36px; border: 1px solid #ffffff35; padding: 5px 10px; border-radius: 18px; white-space: nowrap; }
.df-hero-events__links .gift-home-icon { width: 14px; height: 14px; }
.df-hero-events__empty { font-size: 13px; color: #ebdcc3; }
.df-hero-events__gift { position: absolute; right: 5px; bottom: -4px; width: 80px; height: 76px; object-fit: contain; pointer-events: none; filter: drop-shadow(0 0 9px #ffd3786e); }
.gift-main-page .gift-main-benefits { width: 100%; margin: 9px auto 0; padding-block: 14px; }
.gift-main-page #mes-listes { margin-top: 15px; padding: 22px 27px; }
.gift-main-page #mes-listes .df-gift-workspace-head { display: block; margin: 0 0 10px; }
.gift-main-page #mes-listes .df-gift-workspace-main { gap: 10px 18px; }
.gift-main-page #mes-listes .gift-main-workspace-toolbar { margin: 10px 0 8px; gap: 10px; }
.gift-main-page #mes-listes .gift-main-tabs { margin-bottom: 12px; }
@media (min-width:901px) and (max-width:1100px) {
 .gift-main-page.is-member .gift-main-hero { grid-template-columns:minmax(0,1fr) 210px; padding: 22px 24px 18px; }
 .df-hero-events { gap: 5px 9px; }
}
@media(max-width:900px) {
 .gift-main-page .gift-main-hero,.gift-main-page.is-member .gift-main-hero { display:flex; flex-direction:column; align-items:stretch; gap:0; min-height:0; padding:0; }
 .gift-main-page.is-member .gift-main-hero__content { width:100%; max-width:none; }
 .gift-main-page .gift-main-hero__panel { margin:14px 18px 12px; }
 .df-hero-events { order:3; width:auto; max-width:none; margin:0 18px 18px; border-radius:18px; padding:10px 72px 10px 13px; gap:6px 10px; }
 .df-hero-events__gift { width:68px; height:68px; right:3px; bottom:5px; }
 .df-hero-events__label { border-right:0; padding:0; }
 .df-hero-events__links a { min-height:40px; }
 .gift-main-page .gift-main-benefits { width:100%; margin:9px auto 0; }
 .gift-main-page #mes-listes { padding:18px; }
}
@media(max-width:540px) {
 .gift-main-page .gift-main-hero__total { padding-bottom:12px; }
 .df-hero-events__label { flex-basis:100%; }
 .df-hero-events__next { gap:6px 8px; }
 .df-hero-events__name { max-width:100%; }
 .df-hero-events__next time { padding:0; border:0; white-space:normal; }
 .df-hero-events__links { flex-basis:100%; }
 .df-hero-events__links a { min-height:44px; padding-inline:7px; }
 .df-hero-events__count { font-size:20px; }
 .gift-main-page #mes-listes { padding:15px; }
}

/* V2.0.5 — espace cadeaux : deux rangées utiles, pas de troisième ligne d'onglets. */
.gift-main-page #mes-listes .df-gift-workspace-head { margin:0 0 14px; }
.gift-main-page #mes-listes .df-gift-workspace-main { align-items:center; gap:10px 18px; }
.gift-main-page #mes-listes #gift-lists-title { margin:0; font-size:clamp(22px,2vw,30px); line-height:1.15; }
.gift-main-page #mes-listes .gift-main-section__intro { margin-top:4px; }
.gift-main-page #mes-listes .df-gift-unified-toolbar { display:flex; align-items:center; justify-content:flex-start; flex-wrap:wrap; gap:10px 14px; padding:12px 0; margin:0 0 12px; border-top:1px solid #e8edf5; border-bottom:1px solid #e8edf5; }
.gift-main-page #mes-listes .df-gift-unified-toolbar .gift-main-tabs { flex:0 0 auto; width:auto; max-width:100%; margin:0; padding:3px; }
.gift-main-page #mes-listes .df-gift-unified-toolbar .gift-main-tab { min-height:38px; padding:8px 11px; }
.gift-main-page #mes-listes .df-gift-unified-toolbar .gift-main-search { flex:1 1 180px; width:auto; min-width:150px; max-width:390px; }
.gift-main-page #mes-listes .df-gift-unified-toolbar .gift-main-tools { flex:0 0 auto; width:auto; margin-left:auto; gap:8px; }
.gift-main-page #mes-listes .df-gift-unified-toolbar .gift-main-search input:focus { outline:none!important; box-shadow:none!important; }
.gift-main-page #mes-listes .df-gift-unified-toolbar .gift-main-search:focus-within { outline:2px solid var(--df-season-primary,#006bff); outline-offset:-2px; box-shadow:none; }
.gift-main-page #mes-listes .df-gift-card-heading { display:flex; align-items:flex-start; flex-wrap:wrap; gap:8px 12px; }
.gift-main-page #mes-listes .df-gift-card-heading__title { flex:1 1 120px; min-width:0; overflow-wrap:anywhere; }
.gift-main-page #mes-listes .df-gift-leave { flex:0 0 auto; margin:0 0 4px auto; }
.gift-main-page #mes-listes .df-gift-leave button { display:inline-flex; align-items:center; justify-content:center; gap:6px; min-height:36px; padding:6px 11px; border:1px solid #ecd1d6; border-radius:9px; background:#fff5f6; color:#a83248; font:inherit; font-size:12px; font-weight:700; cursor:pointer; white-space:nowrap; }
.gift-main-page #mes-listes .df-gift-leave button .gift-home-icon { width:16px; height:16px; }
.gift-main-page #mes-listes .df-gift-leave button:hover { background:#ffe4e8; border-color:#bc5d70; }
.gift-main-page #mes-listes .df-gift-leave button:focus-visible { outline:2px solid #a83248; outline-offset:2px; }
.gift-main-page #mes-listes .df-gift-flash--success { background:#ecfdf3; border:1px solid #bbf7d0; color:#166534; }
@media(max-width:1000px) {
 .gift-main-page #mes-listes .df-gift-unified-toolbar .gift-main-tabs { flex-basis:100%; width:fit-content; }
 .gift-main-page #mes-listes .df-gift-unified-toolbar .gift-main-search { max-width:none; }
}
@media(max-width:540px) {
 .gift-main-page #mes-listes .df-gift-unified-toolbar { gap:8px; padding:10px 0; }
 .gift-main-page #mes-listes .df-gift-unified-toolbar .gift-main-tabs { width:100%; }
 .gift-main-page #mes-listes .df-gift-unified-toolbar .gift-main-tab { min-height:44px; padding:6px; }
 .gift-main-page #mes-listes .df-gift-unified-toolbar .gift-main-search { flex-basis:100%; }
 .gift-main-page #mes-listes .df-gift-unified-toolbar .gift-main-tools { flex-basis:100%; margin:0; justify-content:space-between; }
 .gift-main-page #mes-listes .df-gift-leave button { min-height:44px; }
}
