/* Palette ButinePromo : crème, miel et vert sauge. Styles limités au catalogue. */
.bp-offers{--bp-cream:#fffaf0;--bp-honey:#f4b62b;--bp-forest:#304b3b;--bp-muted:#59685b;--bp-border:#e4e8dc;color:var(--bp-forest);padding-top:32px;padding-bottom:32px}
.bp-offers .bp-offers-heading{margin-bottom:24px;max-width:700px}
.bp-offers .bp-eyebrow{display:block;color:#79601c;font-size:.75rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;margin-bottom:8px}
.bp-offers .bp-offers-heading h2{color:var(--bp-forest);font-size:clamp(1.6rem,3vw,2.1rem);font-weight:750;line-height:1.2;margin:0 0 10px}
.bp-offers .bp-offers-heading p{color:var(--bp-muted);margin:0;line-height:1.6}
.bp-offers .bp-offer-column{display:flex;min-width:0}
.bp-offers .bp-offer{display:flex;flex-direction:column;min-width:0;width:100%;padding:26px;border:1px solid var(--bp-border);border-top:4px solid var(--bp-honey);border-radius:18px;background:linear-gradient(160deg,var(--bp-cream),#fff 55%);box-shadow:0 7px 25px #304b3b0a}
.bp-offers .bp-offer-top{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px;font-size:.8rem;line-height:1.5}
.bp-offers .bp-partner{font-weight:650;overflow-wrap:anywhere}
.bp-offers .bp-partner .bi{color:#798c69;margin-right:4px}
.bp-offers .bp-validated{border:1px solid #d9e5d4;border-radius:30px;padding:4px 10px;background:#edf3e8;color:#35523c;white-space:nowrap;font-size:.72rem;font-weight:650}
.bp-offers .bp-offer h3{font-size:1.35rem;line-height:1.35;font-weight:750;color:var(--bp-forest);margin:0 0 14px;overflow-wrap:anywhere}
.bp-offers .bp-description{font-size:.94rem;line-height:1.75;color:#4c5d50;margin:0 0 22px;overflow-wrap:anywhere}
.bp-offers .bp-coupon{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:16px;background:#fff4d3;border:1px dashed #bd8a24;border-radius:12px}
.bp-offers .bp-coupon-value{min-width:0;flex:1}
.bp-offers .bp-caption{display:block;color:#725719;text-transform:uppercase;letter-spacing:.08em;font-size:.65rem;font-weight:700;margin-bottom:6px}
.bp-offers .bp-coupon strong{display:block;color:#304b3b;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:.95rem;line-height:1.6;overflow-wrap:anywhere;user-select:all}
.bp-offers .bp-copy{border:1px solid #304b3b;background:#304b3b;color:white;border-radius:8px;padding:9px 12px;font:inherit;font-size:.8rem;font-weight:650;cursor:pointer;flex-shrink:0;min-height:42px}
.bp-offers .bp-copy:hover{background:#45664b}
.bp-offers .bp-copy:disabled{opacity:.8;cursor:wait}
.bp-offers .bp-copy-status{font-size:.75rem;color:#45664b;margin:6px 0 0;line-height:1.4}
.bp-offers .bp-copy-status:empty{margin:0}
.bp-offers .bp-validity{display:flex;align-items:baseline;gap:9px;color:var(--bp-muted);font-size:.8rem;margin:17px 0;line-height:1.6}
.bp-offers .bp-validity .bi{color:#7a8c69}
.bp-offers .bp-validity time{font-weight:650;color:#304b3b;white-space:nowrap}
.bp-offers .bp-conditions{border-top:1px solid #e5e9df;padding-top:15px;margin-bottom:24px}
.bp-offers .bp-conditions h4{color:#304b3b;font-size:.76rem;font-weight:700;margin:0 0 7px}
.bp-offers .bp-conditions p{font-size:.82rem;line-height:1.65;margin:0;color:var(--bp-muted);overflow-wrap:anywhere}
.bp-offers a.bp-partner-link{display:flex;align-items:center;justify-content:center;gap:12px;align-self:stretch;margin-top:auto;background:var(--bp-honey);color:#30402d;border:1px solid #e5a31c;border-radius:10px;padding:12px 16px;font-size:.87rem;font-weight:750;text-decoration:none;min-height:46px;transition:background .15s}
.bp-offers a.bp-partner-link:hover{background:#ffc847;color:#253a2d}
.bp-offers :is(a,button):focus-visible{outline:3px solid #628761;outline-offset:4px}
.bp-offers .bp-pagination{display:flex;justify-content:center;gap:16px;flex-wrap:wrap;margin-top:28px}
.bp-offers .bp-pagination a{color:#304b3b;border:1px solid #cdd7c5;border-radius:8px;padding:8px 14px;text-decoration:none;background:#fffaf0}
.bp-offers .bp-empty{padding:24px;border:1px dashed #c9d7c0;border-radius:14px;background:#fffaf0;color:#4c5d50}
@media(max-width:575px){.bp-offers .bp-offer{padding:20px}.bp-offers .bp-coupon{align-items:stretch;flex-direction:column;gap:12px}.bp-offers .bp-copy{align-self:flex-start}.bp-offers .bp-offer h3{font-size:1.2rem}}
@media(prefers-reduced-motion:reduce){.bp-offers a.bp-partner-link{transition:none}}

/* Grand écran : 3 cartes sur la première ligne, puis 4 par ligne. */
@media(min-width:1200px){
 .bp-offers .bp-offer-grid>.bp-offer-column{width:33.33333333%}
 .bp-offers .bp-offer-grid>.bp-offer-column:nth-child(n+4){width:25%}
}
/* Cartes synthétiques ; les informations complètes restent dans les détails. */
.bp-offers .bp-offer-compact{padding:20px;gap:0;border-top-width:1px;background:#fff;box-shadow:0 4px 16px #304b3b07}
.bp-offers .bp-offer-compact>.bp-offer-top{margin-bottom:15px;flex-wrap:nowrap;gap:8px}
.bp-offers .bp-offer-compact>.bp-offer-top .bp-partner{display:flex;align-items:center;gap:8px;min-width:0;font-size:.78rem;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.bp-offers .bp-shop-mark{display:inline-grid;place-items:center;flex-shrink:0;width:32px;height:32px;border-radius:50%;background:#edf2e7;color:#45664c}
.bp-offers .bp-shop-mark .bi{margin:0}
.bp-offers .bp-offer-compact .bp-validated{font-size:.65rem;padding:3px 7px}
.bp-offers .bp-offer-compact>.bp-compact-title{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;min-height:2.7em;font-size:1.1rem;line-height:1.35;margin:0 0 14px}
.bp-offers .bp-offer-compact>.bp-copy-area .bp-coupon{flex-direction:row;align-items:center;gap:8px;padding:6px 10px;border-radius:8px}
.bp-offers .bp-offer-compact>.bp-copy-area .bp-coupon strong{min-width:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.88rem;line-height:1.4}
.bp-offers .bp-offer-compact>.bp-copy-area .bp-copy{align-self:auto;display:grid;place-items:center;border:0;background:transparent;color:#304b3b;padding:6px;min-width:32px;min-height:32px}
.bp-offers .bp-offer-compact>.bp-copy-area .bp-copy:hover{background:#f9e6b0}
.bp-offers .bp-offer-compact>.bp-validity{margin:11px 0 15px;font-size:.75rem}
.bp-offers .bp-offer-details{margin-top:auto}
.bp-offers .bp-offer-details>summary{display:flex;align-items:center;justify-content:center;gap:10px;list-style:none;cursor:pointer;padding:8px 12px;border:1px solid #52755b;border-radius:8px;color:#304b3b;font-size:.82rem;font-weight:650;min-height:38px}
.bp-offers .bp-offer-details>summary::-webkit-details-marker{display:none}
.bp-offers .bp-offer-details>summary:hover{background:#edf3e8}
.bp-offers .bp-offer-details>summary:focus-visible{outline:3px solid #628761;outline-offset:3px}
.bp-offers .bp-offer-details[open]>.bp-detail-content{margin-top:24px;padding-top:20px;border-top:1px solid #e4e8dc}
.bp-offers .bp-offer-modal{position:fixed;inset:0;width:calc(100% - 32px);max-width:680px;max-height:calc(100dvh - 40px);margin:auto;padding:0;border:0;border-top:7px solid #f4b62b;border-radius:18px;background:#fff;color:#304b3b;box-shadow:0 24px 80px #152b2540;overflow:auto;overscroll-behavior:contain}
.bp-offers .bp-offer-modal::backdrop{background:#233b32a6;backdrop-filter:blur(4px)}
.bp-offers .bp-modal-shell{position:relative;padding:52px 32px 32px}
.bp-offers .bp-modal-close{position:absolute;top:8px;right:10px;display:grid;place-items:center;width:36px;height:36px;border:0;border-radius:50%;background:#f1f4ee;color:#304b3b;font-size:27px;line-height:1;cursor:pointer}
.bp-offers .bp-modal-close:hover{background:#e2eadd}
.bp-offers .bp-detail-content .bp-detail-title{font-size:1.75rem;font-weight:750;line-height:1.25;margin:0 0 18px;overflow-wrap:anywhere;color:#304b3b}
.bp-offers .bp-detail-content .bp-description{font-size:1rem;line-height:1.75}
.bp-offers .bp-detail-content .bp-coupon{flex-direction:row;align-items:center;padding:18px}
.bp-offers .bp-detail-content .bp-coupon strong{white-space:normal;overflow-wrap:anywhere;font-size:1.05rem}
.bp-offers .bp-detail-content .bp-copy{align-self:auto}
.bp-offers .bp-detail-content .bp-conditions p{font-size:.94rem}
body.bp-offer-modal-open{overflow:hidden}
@media(min-width:1200px){
 .bp-offers .bp-offer-grid>.bp-offer-column:nth-child(n+1) .bp-offer-compact{padding:18px}
 .bp-offers .bp-offer-grid>.bp-offer-column:nth-child(n+1) .bp-offer-compact>.bp-compact-title{font-size:1.08rem}
 .bp-offers .bp-offer-grid>.bp-offer-column:nth-child(n+4) .bp-offer-compact{padding:15px}
 .bp-offers .bp-offer-grid>.bp-offer-column:nth-child(n+4) .bp-offer-compact>.bp-compact-title{font-size:1rem}
}
@media(max-width:575px){
 .bp-offers .bp-modal-shell{padding:50px 20px 24px}
 .bp-offers .bp-detail-content .bp-detail-title{font-size:1.4rem}
 .bp-offers .bp-detail-content .bp-coupon{flex-direction:column;align-items:stretch;gap:12px}
 .bp-offers .bp-detail-content .bp-copy{align-self:flex-start}
}

.bp-offers .bp-offer-category{display:flex;align-items:baseline;gap:6px;margin:0 0 10px;color:#5b6c51;font-size:.73rem;line-height:1.5;overflow-wrap:anywhere}
.bp-offers .bp-offer-category .bi{flex-shrink:0;color:#967019}
.bp-offers .bp-detail-content .bp-offer-category{font-size:.85rem;margin-bottom:14px}

/* Recherche et catégories : formulaires et liens utilisables sans JavaScript. */
.bp-offers{scroll-margin-top:90px}
.bp-offers .bp-filters{background:#fffaf0;border:1px solid #e5e8dc;border-radius:16px;padding:22px;margin-bottom:20px}
.bp-offers .bp-search-form{display:flex;align-items:flex-end;gap:12px}
.bp-offers .bp-search-field{flex:1;min-width:0}
.bp-offers .bp-search-form label{display:block;font-size:.8rem;font-weight:650;margin:0 0 7px;color:#304b3b}
.bp-offers .bp-search-form input[type=search],.bp-offers .bp-search-form select{box-sizing:border-box;width:100%;min-height:46px;border:1px solid #c5d2bd;border-radius:9px;background:#fff;color:#304b3b;padding:10px 13px;font:inherit;font-size:.9rem}
.bp-offers .bp-search-form input::placeholder{color:#687466}
.bp-offers .bp-search-form :is(input,select):focus-visible{outline:3px solid #628761;outline-offset:2px}
.bp-offers .bp-search-submit{min-height:46px;border:1px solid #dfa521;border-radius:9px;background:#f4b62b;color:#30402d;padding:10px 20px;font:inherit;font-size:.9rem;font-weight:700;cursor:pointer}
.bp-offers .bp-search-submit:hover{background:#ffca51}
.bp-offers .bp-category-select{display:none}
.bp-offers .bp-category-nav{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}
.bp-offers .bp-category-nav a{display:inline-flex;align-items:center;min-height:36px;padding:7px 12px;border:1px solid #d7dfcf;border-radius:24px;background:white;color:#42583f;font-size:.78rem;line-height:1.4;text-decoration:none}
.bp-offers .bp-category-nav a:hover{background:#eaf0e4;border-color:#8fa386}
.bp-offers .bp-category-nav a[aria-current=true]{background:#304b3b;color:#fff;border-color:#304b3b}
.bp-offers .bp-result-summary{display:flex;align-items:baseline;justify-content:space-between;flex-wrap:wrap;gap:8px 16px;font-size:.85rem;color:#59685b;margin-bottom:14px}
.bp-offers .bp-result-summary p{margin:0;overflow-wrap:anywhere}
.bp-offers .bp-result-summary a,.bp-offers .bp-empty a{color:#304b3b;text-underline-offset:3px}
.bp-offers .bp-empty p{margin:0 0 10px}
.bp-offers .bp-pagination{align-items:center;font-size:.85rem}
@media(max-width:767px){
 .bp-offers .bp-filters{padding:16px}
 .bp-offers .bp-search-form{flex-direction:column;align-items:stretch}
 .bp-offers .bp-category-select{display:block}
 .bp-offers .bp-category-nav{display:none}
 .bp-offers .bp-search-submit{align-self:stretch}
}

.bp-offers .bp-report-link{display:block;margin-top:18px;text-align:center;font-size:.8rem;color:#586b53;text-decoration:underline;text-underline-offset:3px}
.bp-offers .bp-report-link:hover{color:#304b3b}

.bp-offers a.bp-partner{color:#304b3b;text-decoration:none}
.bp-offers a.bp-partner:hover{text-decoration:underline;text-underline-offset:3px}

/* Mention visible avant le lien partenaire, également dans le détail sans JavaScript. */
.bp-offers .bp-affiliation-label{display:inline-block;align-self:flex-start;color:#66521f;background:#fff4d4;border:1px solid #ead7a1;border-radius:6px;padding:3px 8px;font-size:.72rem;line-height:1.5;margin:0 0 10px}
.bp-offers .bp-affiliation-notice{font-size:.82rem;line-height:1.6;color:#4f5c4a;background:#fffaf0;border:1px solid #e8dfc9;border-radius:9px;padding:12px 14px;margin:16px 0 12px}
