/* =========================================================
   The Butcher – Carte de Noël Asnières
   ========================================================= */
.tbn{
	--gold:#d8a64a; --gold-2:#e9c27a; --red:#a3201f; --ink:#1b1918; --txt:#f3eee6; --muted:#c9c0b3;
	--f-title:'Oswald',Impact,'Arial Narrow',sans-serif;
	--f-text:'Open Sans',Arial,sans-serif;
	--f-script:'Kaushan Script','Brush Script MT',cursive;
	--f-serif:'Playfair Display',Georgia,serif;
	position:relative; color:var(--txt); font-family:var(--f-text); font-size:15px; line-height:1.45;
	background:#1d1b1a var(--tbn-bg) center top/100% auto repeat-y;
	padding:0 0 120px; overflow:hidden;
}
.tbn-in{container-type:inline-size;container-name:tbn;width:100%}
.tbn *,.tbn *::before,.tbn *::after{box-sizing:border-box}
.tbn img{max-width:100%;display:block}
.tbn sup{font-size:.6em;vertical-align:.45em}
.tbn a{color:var(--gold-2)}

/* ---------- En-tête ---------- */
.tbn-head{
	max-width:1100px;margin:0 auto;padding:40px 24px 10px;
	display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:20px;
}
.tbn-logo{width:150px;justify-self:center}
.tbn-title{margin:0;text-align:center;line-height:.9;color:var(--gold)}
.tbn-title__a{display:block;font-family:var(--f-serif);font-size:clamp(48px,9vw,104px);letter-spacing:.04em;text-transform:uppercase}
.tbn-title__b{display:block;font-family:var(--f-script);font-size:clamp(54px,10vw,120px);margin-top:-.05em}

/* ---------- Mises en page ---------- */
.tbn-row{max-width:1100px;margin:0 auto;padding:14px 24px;display:grid;grid-template-columns:1fr 1fr;gap:28px;align-items:stretch}
.tbn-row--hero{grid-template-columns:1.25fr 1fr}
.tbn-row--3{grid-template-columns:repeat(3,1fr)}
.tbn-row--3 .tbn-card__name{font-size:19px}
.tbn-card--flip .tbn-card__img img{transform:scaleX(-1)}

/* Bandeaux pleine largeur (alignés sur la grille) */
.tbn-band{max-width:1052px;margin:14px auto;border-radius:6px;padding:28px 34px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.tbn-band--red{background:var(--red) var(--tbn-red-bg) center/cover;display:grid;grid-template-columns:1.6fr 1fr;gap:30px;align-items:center}
.tbn-band--red p{margin:0 0 8px}
.tbn-band__promo{text-align:center;border:2px solid var(--gold-2);border-radius:8px;padding:16px 10px;color:var(--gold-2)}
.tbn-promo__big{display:block;font-family:var(--f-title);font-weight:700;font-size:64px;line-height:1}
.tbn-promo__txt{display:block;font-weight:600;margin-top:6px}
.tbn-band--gold{background:var(--gold) var(--tbn-gold-bg) center/cover;color:var(--ink)}
.tbn-band--sauces .tbn-script{margin-bottom:14px}
.tbn-card--row{flex-direction:row;align-items:stretch;gap:28px}
.tbn-card--row .tbn-card__img{flex:0 0 46%;aspect-ratio:16/10;border-radius:4px}
.tbn-card--row .tbn-card__body{padding:0}
.tbn-band--game{display:grid;grid-template-columns:1.3fr 1fr;gap:30px;align-items:center;margin-top:28px}
.tbn-band--game img{border-radius:4px}
.tbn-band--game .tbn-game{text-align:left}
.tbn-band--game .tbn-script--red{text-align:left}

/* ---------- Carte produit ---------- */
.tbn-card{background:rgba(10,9,9,.72);border-radius:6px;overflow:hidden;display:flex;flex-direction:column;
	box-shadow:0 10px 30px rgba(0,0,0,.35)}
.tbn-card__img{aspect-ratio:16/10;overflow:hidden;background:#000}
.tbn-card__img img{width:100%;height:100%;object-fit:cover}
.tbn-homard .tbn-card__img img{object-fit:contain}
.tbn-card__body{padding:18px 20px 20px;display:flex;flex-direction:column;gap:6px;flex:1}
.tbn-card__name{margin:0;font-family:var(--f-title);font-weight:700;font-size:21px;line-height:1.15;color:#fff;text-transform:none;letter-spacing:.01em}
.tbn-card--big .tbn-card__name{font-size:26px}
.tbn-card__desc{margin:0;color:var(--muted);font-size:14px}
.tbn-card__price{margin:2px 0 0;font-family:var(--f-title);font-weight:700;font-size:22px;color:var(--gold)}
.tbn-card__table{display:flex;gap:28px;margin:4px 0}
.tbn-card__table ul{list-style:none;margin:0;padding:0;font-family:var(--f-title);font-size:17px;color:var(--gold)}
.tbn-card__table li strong{color:#fff;font-weight:600}
.tbn-card__na{margin:10px 0 0;color:var(--muted);font-style:italic}
.tbn-card--flat{background:transparent;box-shadow:none}
.tbn-card--flat .tbn-card__body{padding:10px 0 0}

/* ---------- Formulaire d'ajout ---------- */
.tbn-add{margin-top:auto;padding-top:12px;display:flex;flex-direction:column;gap:10px}
.tbn-add select{width:100%;height:46px;padding:0 14px;border:1px solid rgba(255,255,255,.35);border-radius:8px;
	background:#000;color:#fff;font:inherit;font-size:15px}
.tbn-add__price{font-family:var(--f-title);font-size:20px;color:var(--gold)}
.tbn-add__row{display:flex;gap:10px;align-items:stretch}
.tbn-qty{display:flex;border:1px solid rgba(255,255,255,.35);border-radius:8px;overflow:hidden;background:#000}
.tbn-qty button{width:38px;border:0;background:transparent;color:#fff;font-size:20px;cursor:pointer}
.tbn-qty input{width:44px;border:0;background:transparent;color:#fff;text-align:center;font:inherit;-moz-appearance:textfield}
.tbn-qty input::-webkit-inner-spin-button,.tbn-qty input::-webkit-outer-spin-button{-webkit-appearance:none}
.tbn-btn{flex:1;min-height:46px;padding:0 18px;border:0;border-radius:8px;background:var(--red);color:#fff;
	font-family:var(--f-title);font-size:18px;font-weight:600;letter-spacing:.03em;cursor:pointer;text-decoration:none;
	display:inline-flex;align-items:center;justify-content:center;transition:background .2s,transform .1s}
.tbn-btn:hover{background:#c22a28;color:#fff}
.tbn-btn:active{transform:scale(.98)}
.tbn-btn[disabled]{opacity:.6;cursor:wait}
.tbn-btn--full{width:100%}

/* ---------- Encarts ---------- */
.tbn-box{border-radius:6px;padding:26px 28px;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.tbn-box--red{background:var(--red) var(--tbn-red-bg) center/cover}
.tbn-box--gold{background:var(--gold) var(--tbn-gold-bg) center/cover;color:var(--ink)}
.tbn-box--gold .tbn-card__name{color:var(--ink)}
.tbn-box--gold .tbn-card__desc{color:#4a3b22;font-style:italic}
.tbn-box--gold .tbn-card__price{color:var(--ink)}
.tbn-box--gold img{margin-top:14px;border-radius:4px}
.tbn-script{margin:0 0 10px;font-family:var(--f-script);font-weight:400;font-size:40px;line-height:1.1;color:#fff;text-transform:none}
.tbn-script--red{color:var(--red);text-align:center}
.tbn-script--white{color:#fff;text-align:center;text-shadow:0 2px 8px rgba(0,0,0,.25)}
.tbn-box--red ul{margin:14px 0;padding-left:18px}
.tbn-muted{color:#f2c9b9;margin:0}
.tbn-box--red .tbn-muted a{color:#fff}
.tbn-promo{color:var(--gold-2);font-weight:600;margin:0}
.tbn-game{margin:0 0 8px;text-align:center;font-family:var(--f-title);font-weight:700;font-size:26px;line-height:1.15}
.tbn-small{font-size:12.5px;margin:0}
.tbn-group{background:rgba(10,9,9,.72);border-radius:6px;overflow:hidden;box-shadow:0 10px 30px rgba(0,0,0,.35)}
.tbn-group .tbn-card--flat .tbn-card__body{padding:16px 20px 4px}
.tbn-group .tbn-card--flat:last-child .tbn-card__body{padding-bottom:20px}

/* ---------- Pied ---------- */
.tbn-foot{max-width:1100px;margin:30px auto 0;padding:24px;text-align:center;font-family:var(--f-title);font-size:17px;letter-spacing:.02em}
.tbn-foot .tbn-small{font-family:var(--f-text);color:var(--muted);margin-top:6px}

/* ---------- Panier flottant ---------- */
.tbn-cart{position:fixed;right:20px;bottom:20px;z-index:9999;font-family:var(--f-text)}
.tbn-cart__toggle{display:flex;align-items:center;gap:10px;padding:14px 20px;border:0;border-radius:40px;background:var(--red);color:#fff;
	font-family:var(--f-title);font-size:18px;cursor:pointer;box-shadow:0 10px 30px rgba(0,0,0,.5)}
.tbn-cart__count{min-width:26px;height:26px;border-radius:13px;background:#fff;color:var(--red);display:inline-flex;align-items:center;justify-content:center;font-size:15px;padding:0 6px}
.tbn-cart__total:empty{display:none}
.tbn-cart__panel{position:absolute;right:0;bottom:70px;width:370px;max-height:70vh;overflow:auto;background:#141211;color:var(--txt);
	border:1px solid rgba(255,255,255,.12);border-radius:12px;padding:16px;box-shadow:0 20px 50px rgba(0,0,0,.6);
	opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s}
.tbn-cart[data-open="1"] .tbn-cart__panel{opacity:1;transform:none;pointer-events:auto}
.tbn-cart__head{display:flex;justify-content:space-between;align-items:center;font-family:var(--f-title);font-size:20px;margin-bottom:10px}
.tbn-cart__close{border:0;background:none;color:#fff;font-size:26px;cursor:pointer;line-height:1}
.tbn-cart__item{display:grid;grid-template-columns:1fr auto;gap:4px 10px;padding:10px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.tbn-cart__item small{color:var(--muted);display:block}
.tbn-cart__line{display:flex;align-items:center;gap:8px;grid-column:1/-1;justify-content:space-between}
.tbn-cart__line .tbn-qty{height:32px}
.tbn-cart__line .tbn-qty button{width:30px;font-size:16px}
.tbn-cart__line .tbn-qty span{min-width:26px;text-align:center;align-self:center}
.tbn-cart__rm{border:0;background:none;color:var(--muted);cursor:pointer;font-size:13px;text-decoration:underline}
.tbn-cart__sum{padding:12px 0;display:grid;gap:4px}
.tbn-cart__sum div{display:flex;justify-content:space-between}
.tbn-cart__sum .tbn-fee{color:var(--gold-2)}
.tbn-cart__sum .tbn-tot{font-family:var(--f-title);font-size:20px;margin-top:4px}
.tbn-cart__empty{color:var(--muted);margin:6px 0}
.tbn-cart[data-empty="1"] .tbn-cart__go{display:none}

.tbn-toast{position:fixed;left:50%;bottom:96px;transform:translate(-50%,20px);z-index:10000;max-width:min(92vw,520px);
	padding:12px 18px;border-radius:8px;background:#fff;color:var(--ink);font-weight:600;box-shadow:0 10px 30px rgba(0,0,0,.4);
	opacity:0;pointer-events:none;transition:.25s}
.tbn-toast.is-on{opacity:1;transform:translate(-50%,0)}
.tbn-toast.is-err{background:#ffe1df;color:#7a1414}

/* ---------- Mobile (selon la largeur réelle du bloc, pas de l'écran) ---------- */
@media (max-width:820px){
	.tbn{background-size:200% auto}
	.tbn-cart{left:12px;right:12px;bottom:12px}
	.tbn-cart__toggle{width:100%;justify-content:center}
	.tbn-cart__panel{width:auto;left:0;right:0}
}
@container tbn (max-width:900px){
	.tbn-row--3{grid-template-columns:1fr 1fr}
	.tbn-row--3 > :first-child{grid-column:1/-1}
}
@container tbn (max-width:760px){
	.tbn-head{grid-template-columns:1fr 1fr;padding-top:24px}
	.tbn-title{grid-column:1/-1;grid-row:1}
	.tbn-logo{width:110px}
	.tbn-row,.tbn-row--hero,.tbn-row--3{grid-template-columns:1fr;padding:10px 16px;gap:20px}
	.tbn-row--3 > :first-child{grid-column:auto}
	.tbn-band{margin:10px 16px;padding:22px 20px}
	.tbn-band--red,.tbn-band--game{grid-template-columns:1fr;gap:18px}
	.tbn-card--row{flex-direction:column;gap:14px}
	.tbn-promo__big{font-size:52px}
}

/* ---------- Protection contre les styles du thème ---------- */
body .tbn h1,body .tbn h2,body .tbn h3{text-transform:none!important;letter-spacing:normal}
body .tbn .tbn-title{margin:0!important;padding:0!important;line-height:1!important;color:var(--gold)!important}
body .tbn .tbn-title span{display:block!important;color:var(--gold)!important;margin:0!important}
body .tbn .tbn-title__a{line-height:1!important;font-size:clamp(46px,8.5vw,96px)!important}
body .tbn .tbn-title__b{line-height:1.1!important;font-size:clamp(50px,9vw,110px)!important;margin-top:-.08em!important}
body .tbn .tbn-title__a{font-family:var(--f-serif)!important;text-transform:uppercase!important;letter-spacing:.04em!important}
body .tbn .tbn-title__b{font-family:var(--f-script)!important}
body .tbn .tbn-card__name{color:#fff!important;font-family:var(--f-title)!important}
body .tbn .tbn-box--gold .tbn-card__name{color:var(--ink)!important}
body .tbn .tbn-script{font-family:var(--f-script)!important;font-weight:400!important;color:#fff!important}
body .tbn .tbn-script--red{color:var(--red)!important}
body .tbn .tbn-qty input{width:44px!important;height:auto!important;min-height:0!important;padding:0!important;margin:0!important;border:0!important;
	background:transparent!important;color:#fff!important;box-shadow:none!important;text-align:center!important;-moz-appearance:textfield}
body .tbn .tbn-qty button,body .tbn .tbn-cart__close,body .tbn .tbn-cart__rm{padding:0!important;min-height:0!important;box-shadow:none!important}
body .tbn .tbn-add select{color:#fff!important;background-color:#000!important}
body .tbn .tbn-add select option{color:#fff;background:#000}

/* Bandeau sauces : produit à l'horizontale, textes foncés sur fond or */
body .tbn .tbn-band .tbn-card--row{flex-direction:row;gap:28px;background:transparent;box-shadow:none}
body .tbn .tbn-band .tbn-card--row .tbn-card__img{flex:0 0 46%;aspect-ratio:16/10;border-radius:4px}
body .tbn .tbn-band .tbn-card--row .tbn-card__body{padding:0;justify-content:center}
body .tbn .tbn-band--gold .tbn-card__name{color:var(--ink)!important;font-size:24px}
body .tbn .tbn-band--gold .tbn-card__desc{color:#4a3b22;font-style:italic}
body .tbn .tbn-band--gold .tbn-card__price{color:var(--ink);font-size:24px}
@container tbn (max-width:760px){
	body .tbn .tbn-band .tbn-card--row{flex-direction:column;gap:14px}
}

/* Bandeau idée cadeau : même gabarit que le bandeau -20 % */
body .tbn .tbn-band--gift{display:grid;grid-template-columns:1.6fr 1fr;grid-template-rows:auto 1fr;column-gap:30px;row-gap:8px;align-items:center}
.tbn-band--gift .tbn-gift__head{grid-column:1;grid-row:1}
.tbn-band--gift .tbn-card{display:contents}
.tbn-band--gift .tbn-card__img{grid-column:2;grid-row:1/3;align-self:stretch;aspect-ratio:auto!important;height:100%;min-height:0;border-radius:6px;overflow:hidden}
.tbn-band--gift .tbn-card__img img{width:100%;height:100%;object-fit:cover}
.tbn-band--gift .tbn-card__body{grid-column:1;grid-row:2;padding:0!important;display:flex;flex-wrap:wrap;align-items:center;gap:6px 18px}
.tbn-gift__head{display:flex;align-items:center;gap:14px;color:var(--gold-2);flex-wrap:wrap}
.tbn-gift__icon{width:42px;height:42px;flex:0 0 42px}
body .tbn .tbn-script--gold{color:var(--gold-2)!important;font-size:38px;margin:0!important;line-height:1}
.tbn-gift__sub{margin:0;font-family:var(--f-title);font-weight:700;font-size:19px;color:var(--gold-2)}
.tbn-gift__head > div{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}
body .tbn .tbn-band--gift .tbn-card__name{flex:1 1 100%;font-size:20px!important;line-height:1.2;text-transform:uppercase!important;color:#fff!important}
body .tbn .tbn-band--gift .tbn-card__desc{display:none}
body .tbn .tbn-band--gift .tbn-card__price{margin:0;color:var(--gold-2);font-size:30px;line-height:1}
.tbn-band--gift .tbn-add{margin:0;padding:0;flex:1 1 260px}
body .tbn .tbn-band--gift .tbn-btn{background:var(--gold-2);color:var(--ink)}
body .tbn .tbn-band--gift .tbn-btn:hover{background:#f3d18e;color:var(--ink)}
@container tbn (max-width:760px){
	body .tbn .tbn-band--gift{grid-template-columns:1fr;grid-template-rows:auto}
	.tbn-band--gift .tbn-card__img{grid-column:1;grid-row:2;height:auto;aspect-ratio:16/9!important}
	.tbn-band--gift .tbn-card__body{grid-row:3}
	body .tbn .tbn-script--gold{font-size:32px}
	.tbn-gift__icon{width:36px;height:36px;flex-basis:36px}
	body .tbn .tbn-band--gift .tbn-card__name{font-size:18px!important}
}
.tbn-band--gift .tbn-card__img{position:relative}
.tbn-band--gift .tbn-card__img img{position:absolute;inset:0}
body .tbn .tbn-band--gift .tbn-card__body{flex-direction:row;flex:none}
.tbn-band--gift .tbn-add{flex-direction:row}
.tbn-band--gift .tbn-add__row{flex:1}
.tbn-band--gift .tbn-gift__head{flex-wrap:nowrap}
body .tbn .tbn-band--gift .tbn-script--gold{font-size:34px}
body .tbn .tbn-band--gift .tbn-card__name{font-size:18px!important}

/* Couleurs protégées contre le thème (constaté sur mobile) */
body .tbn .tbn-card__price,body .tbn .tbn-add__price{color:var(--gold)!important}
body .tbn .tbn-band--gold .tbn-card__price{color:var(--ink)!important}
body .tbn .tbn-band--gift .tbn-card__price{color:var(--gold-2)!important}
body .tbn .tbn-band--gold p:not(.tbn-card__desc),body .tbn .tbn-band--gold .tbn-game{color:var(--ink)!important}
body .tbn .tbn-band--gold .tbn-card__desc{color:#4a3b22!important}
body .tbn .tbn-band--red p{color:#fff!important}
body .tbn .tbn-band--red .tbn-muted{color:#f2c9b9!important}
body .tbn .tbn-band--gift .tbn-gift__sub{color:var(--gold-2)!important}
body .tbn .tbn-card__desc{color:var(--muted)}
/* Le bouton « retour en haut » du thème chevauche le panier */
#wpfront-scroll-top-container{display:none!important}

/* Conteneur Elementor : pleine largeur, sans marge (évite la bande noire en haut
   et le vide sous la page sur mobile) */
.elementor-widget-shortcode:has(.tbn){width:100%!important;max-width:100%!important}
.e-con:has(.tbn),.e-con:has(.tbn) > .e-con-inner{padding:0!important;gap:0!important}
.elementor-section:has(.tbn) .elementor-container,.elementor-section:has(.tbn) .elementor-widget-wrap{padding:0!important}

/* ---------- Panier flottant – même modèle que The Butcher Strasbourg ---------- */
.tbnc,.tbnc *{box-sizing:border-box}
.tbnc{position:fixed;right:20px;bottom:20px;z-index:9999;width:250px;background:#1f3d2b;color:#fff;border:2px solid #c9a961;border-radius:10px;
	padding:12px 14px;box-shadow:0 8px 24px rgba(0,0,0,.3);font-size:14px;font-family:var(--f-text)}
.tbnc.open{width:300px}
.tbnc-head{display:flex;align-items:center;gap:8px}
.tbnc-ico{font-size:22px;line-height:1}
.tbnc-title{flex:1;font-weight:700;font-family:Oswald,sans-serif;text-transform:uppercase;letter-spacing:1px}
.tbnc-count{background:#c9a961;color:#1f3d2b;border-radius:50%;min-width:24px;height:24px;display:flex;align-items:center;justify-content:center;font-weight:700}
.tbnc-items{display:none;max-height:260px;overflow-y:auto;margin:10px 0 4px;border-top:1px solid rgba(201,169,97,.5)}
.tbnc.open .tbnc-items{display:block}
.tbnc-item{display:flex;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid rgba(201,169,97,.25)}
.tbnc-item-txt{flex:1;display:flex;flex-direction:column;font-size:13px;line-height:1.3}
.tbnc-item-name{font-family:Oswald,sans-serif;letter-spacing:.3px}
.tbnc-item-var,.tbnc-item-qty{opacity:.85;font-size:12px}
body .tbn .tbnc-item-del{background:none!important;border:0!important;color:#c9a961!important;font-size:18px;line-height:1;cursor:pointer;padding:0 4px!important;box-shadow:none!important}
body .tbn .tbnc-item-del:hover{color:#fff!important}
.tbnc-sum{margin:8px 0}
.tbnc-fee{display:flex;justify-content:space-between;gap:8px;font-size:12.5px;color:#e9dcae}
.tbnc-total{margin-top:4px}
.tbnc-empty{display:none;margin:6px 0;opacity:.8;font-size:13px}
.tbnc[data-empty="1"] .tbnc-empty{display:block}
.tbnc[data-empty="1"] .tbnc-sum,.tbnc[data-empty="1"] .tbnc-btns{display:none}
.tbnc-btns{display:flex;gap:6px}
body .tbn .tbnc-btns button,body .tbn .tbnc-btns a{flex:1;text-align:center;padding:8px!important;border-radius:3px!important;font-family:Oswald,sans-serif!important;
	text-transform:uppercase;letter-spacing:1px;border:1px solid #c9a961!important;background:transparent!important;color:#fff!important;
	text-decoration:none!important;font-size:13px!important;cursor:pointer;line-height:1.2!important;box-shadow:none!important;min-height:0!important}
body .tbn .tbnc-btns a.tbnc-go{background:#821f05!important;border-color:#821f05!important;font-weight:700}
.tbnc.bump{animation:tbncBump .5s ease}
@keyframes tbncBump{0%,100%{transform:scale(1)}40%{transform:scale(1.06)}}
@media (max-width:600px){.tbnc,.tbnc.open{left:10px;right:10px;bottom:10px;width:auto;max-width:calc(100vw - 20px)}}
.tbnc:not(.open) .tbnc-fee{display:none}

/* Quantités modifiables dans le panier */
.tbnc-item-qty{display:flex;align-items:center;gap:6px;margin-top:3px;opacity:1!important}
.tbnc-q{display:inline-flex;align-items:center;border:1px solid rgba(201,169,97,.6);border-radius:3px;overflow:hidden}
body .tbn .tbnc-q-btn{width:24px;height:24px;padding:0!important;border:0!important;background:transparent!important;color:#c9a961!important;font-size:15px;line-height:1;cursor:pointer;box-shadow:none!important;min-height:0!important}
body .tbn .tbnc-q-btn:hover{background:rgba(201,169,97,.2)!important;color:#fff!important}
.tbnc-q b{min-width:22px;text-align:center;font-weight:700;font-size:13px}
