/* NN Boost – packs + countdown. Mobile first (375px). */
.nnb-pack, .nnb-banner, .nnb-cd { --nnb-red: #d71920; --nnb-ink: #111; --nnb-mute: #666; --nnb-line: #e6e6e6; box-sizing: border-box; font-family: inherit; }
.nnb-pack *, .nnb-banner *, .nnb-cd * { box-sizing: border-box; }

/* ---------- Pack ---------- */
.nnb-pack { margin: 18px 0; border: 2px solid var(--nnb-ink); border-radius: 12px; padding: 14px; background: #fff; clear: both; }
.nnb-pack__head { margin-bottom: 10px; }
.nnb-pack__title { display: block; font-size: 17px; color: var(--nnb-ink); line-height: 1.25; }
.nnb-pack__sub { display: block; font-size: 13px; color: var(--nnb-mute); margin-top: 2px; }
.nnb-pack__list { list-style: none; margin: 0 !important; padding: 0 !important; }
.nnb-item { display: grid; grid-template-columns: 64px 1fr auto; gap: 10px; align-items: center; padding: 10px 0; border-top: 1px solid var(--nnb-line); margin: 0; }
.nnb-item:first-child { border-top: 0; }
.nnb-item__img { position: relative; display: block; width: 64px; height: 64px; }
.nnb-item__img img { width: 64px; height: 64px; object-fit: contain; border-radius: 8px; background: #f6f6f6; margin: 0; }
.nnb-item__body { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.nnb-item__name { font-size: 13px; font-weight: 600; color: var(--nnb-ink); line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.nnb-item__price { font-size: 14px; font-weight: 700; color: var(--nnb-ink); }
.nnb-item__price del { color: #999; font-weight: 400; font-size: 12px; margin-right: 4px; }
.nnb-item__price ins { text-decoration: none; color: var(--nnb-red); }
.nnb-item__save { font-size: 12px; font-weight: 700; color: var(--nnb-red); }
.nnb-tag { position: absolute; top: -6px; left: -6px; background: var(--nnb-red); color: #fff; font-size: 10px; font-weight: 800; padding: 2px 6px; border-radius: 6px; letter-spacing: .3px; line-height: 1.4; }
.nnb-add.button { margin: 0 !important; min-height: 40px; padding: 0 14px !important; font-size: 13px !important; line-height: 40px !important; border-radius: 8px !important; background: var(--nnb-ink) !important; color: #fff !important; border: 0 !important; white-space: nowrap; text-transform: none !important; }
.nnb-item.is-sale .nnb-add.button { background: var(--nnb-red) !important; }
.nnb-add.is-loading { opacity: .6; pointer-events: none; }
.nnb-add.is-done { background: #1a7f37 !important; }
.nnb-pack__ship { margin-top: 8px; padding-top: 10px; border-top: 1px dashed var(--nnb-line); font-size: 13px; font-weight: 600; color: var(--nnb-ink); }
.nnb-pack--checkout { margin-top: 24px; }

/* ---------- Countdown ---------- */
.nnb-cd { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.nnb-cd__label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .4px; }
.nnb-cd__clock { display: flex; gap: 6px; }
.nnb-cd__clock > span { display: flex; flex-direction: column; align-items: center; min-width: 48px; padding: 6px 4px; border-radius: 8px; background: var(--nnb-ink); color: #fff; }
.nnb-cd__clock b { font-size: 20px; line-height: 1; font-variant-numeric: tabular-nums; }
.nnb-cd__clock i { font-style: normal; font-size: 10px; opacity: .8; margin-top: 3px; text-transform: uppercase; }
.nnb-cd--single { margin: 6px 0 14px; padding: 10px 12px; border-radius: 10px; background: #fff1f1; border: 1px solid #f3c2c4; color: var(--nnb-red); }
.nnb-cd--single .nnb-cd__clock > span { background: var(--nnb-red); }
.nnb-low { margin: 0 0 12px; font-weight: 700; color: var(--nnb-red); font-size: 14px; }

/* ---------- Bannière accueil ---------- */
.nnb-banner { background: var(--nnb-ink); color: #fff; padding: 18px 14px 16px; }
.nnb-banner__top { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.nnb-banner__title { font-size: 24px; letter-spacing: 1px; line-height: 1.1; }
.nnb-cd--big { justify-content: center; color: #fff; }
.nnb-cd--big .nnb-cd__label { width: 100%; text-align: center; opacity: .85; }
.nnb-cd--big .nnb-cd__clock > span { background: var(--nnb-red); min-width: 64px; padding: 8px 6px; }
.nnb-cd--big .nnb-cd__clock b { font-size: 28px; }
.nnb-banner__row { max-width: 1200px; margin: 14px auto 0; display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; -webkit-overflow-scrolling: touch; }
.nnb-card { flex: 0 0 150px; scroll-snap-align: start; background: #fff; color: var(--nnb-ink); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 4px; text-decoration: none !important; }
.nnb-card__img { position: relative; display: block; }
.nnb-card__img img { width: 100%; height: 120px; object-fit: contain; margin: 0; }
.nnb-card__img .nnb-tag { top: 0; left: 0; }
.nnb-card__name { font-size: 12px; font-weight: 600; line-height: 1.3; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; color: var(--nnb-ink); }
.nnb-card__price { font-size: 13px; font-weight: 700; }
.nnb-card__price del { color: #999; font-weight: 400; font-size: 11px; display: block; }
.nnb-card__price ins { text-decoration: none; color: var(--nnb-red); }

@media (min-width: 768px) {
	.nnb-banner { padding: 26px 20px 22px; }
	.nnb-banner__top { flex-direction: row; justify-content: space-between; text-align: left; }
	.nnb-banner__title { font-size: 32px; }
	.nnb-cd--big { justify-content: flex-end; }
	.nnb-cd--big .nnb-cd__label { width: auto; }
	.nnb-cd--big .nnb-cd__clock > span { min-width: 78px; }
	.nnb-cd--big .nnb-cd__clock b { font-size: 34px; }
	.nnb-card { flex-basis: 180px; }
	.nnb-card__img img { height: 150px; }
}
@media (max-width: 360px) {
	.nnb-cd__clock > span { min-width: 42px; }
	.nnb-cd--big .nnb-cd__clock > span { min-width: 54px; }
	.nnb-cd--big .nnb-cd__clock b { font-size: 24px; }
}

/* ---------- Phrases sous le bouton ---------- */
.nnb-badges { margin: 10px 0 4px; }
.nnb-badges .nnb-cd--single { margin: 0 0 10px; }
.nnb-badges__list { list-style: none; margin: 0 !important; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 6px; }
.nnb-badges__list li { margin: 0 !important; padding: 6px 10px; border-radius: 999px; background: #f4f4f4; font-size: 13px; font-weight: 600; color: #111; line-height: 1.3; }
.nnb-badges__list li:first-child { background: #fff1f1; color: #d71920; }
.nnb-badges__list a { color: #d71920; text-decoration: none; }
/* lien « Voir le panier » ajouté par WooCommerce après l'ajout : sur toute la ligne, discret */
.nnb-item .added_to_cart { grid-column: 1 / -1; justify-self: end; margin: -4px 0 0 !important; padding: 0 !important; font-size: 12px; font-weight: 700; text-transform: none; color: #d71920; }
.nnb-item__type { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: #d71920; line-height: 1.2; }
