/* Pasta Bianca · message des bons cadeaux de Noël */
#pbn-noel[hidden] { display: none; }
#pbn-noel:focus { outline: none; }

/* Le bouton flottant de Zenchef ne doit pas se mêler à la fenêtre */
html.pbn-ouvert #zenchef-sdk,
html.pbn-ouvert iframe[class*="ZC_sdk"] { display: none !important; }

/* Sous le bandeau cookies (2147483000), au-dessus du widget Zenchef (100000) */
#pbn-noel { position: fixed; inset: 0; z-index: 2147482000; display: flex; align-items: center; justify-content: center; padding: 24px; }
#pbn-noel .pbn-fond { position: absolute; inset: 0; background: rgba(0, 0, 0, .7); }

/* Fond clair : le bandeau cookies et le site sont sombres, la fenêtre doit trancher */
#pbn-noel .pbn-boite { position: relative; display: flex; width: 100%; max-width: 820px; max-height: calc(100vh - 48px); background: #f7f2e9; color: #1f1c1a; border-radius: 2px; overflow: hidden; }

#pbn-noel .pbn-visuel { position: relative; flex: 0 0 46%; width: 46%; min-height: 440px; overflow: hidden; background: #2a2622; }
#pbn-noel .pbn-photo { position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; }
#pbn-noel .pbn-cadeau { position: absolute; left: 50%; top: 50%; width: 92%; height: auto; transform: translate(-50%, -50%); filter: drop-shadow(0 6px 10px rgba(0, 0, 0, .45)); }

#pbn-noel .pbn-texte { flex: 1 1 auto; align-self: center; padding: 44px 40px; }

#pbn-noel h2 { margin: 0 0 16px; padding: 0; color: #914137; font-family: 'Barlow Condensed', sans-serif; font-size: 42px; font-weight: 700; line-height: 1.05; text-transform: uppercase; }
#pbn-noel p { margin: 0 0 24px; color: #1f1c1a; font-family: 'Open Sans', sans-serif; font-size: 16px; line-height: 1.55; }
#pbn-noel .pbn-adresse { margin: 20px 0 0; color: #5a5048; font-size: 14px; line-height: 1.45; }

#pbn-noel .pbn-bouton { display: inline-block; padding: 12px 22px; background: #914137; color: #fff; font-family: 'Barlow Condensed', sans-serif; font-size: 19px; font-weight: 600; letter-spacing: .03em; line-height: 1.2; text-decoration: none; text-transform: uppercase; border-radius: 2px; box-shadow: none; }
#pbn-noel .pbn-bouton:hover { background: #7a352c; color: #fff; }
#pbn-noel .pbn-bouton:focus-visible,
#pbn-noel .pbn-croix:focus-visible { outline: 2px solid #1f1c1a; outline-offset: 2px; }

#pbn-noel .pbn-croix { position: absolute; top: 8px; right: 8px; z-index: 1; width: 40px; height: 40px; margin: 0; padding: 0; background: transparent; color: #1f1c1a; border: 0; font-size: 30px; line-height: 40px; text-align: center; cursor: pointer; }
#pbn-noel .pbn-croix:hover { color: #914137; background: transparent; }

/* Téléphone : toujours une fenêtre centrale, le visuel passe au-dessus du texte.
   La croix prend un fond clair pour rester lisible sur la photo. */
@media (max-width: 640px) {
	#pbn-noel { padding: 16px; }
	#pbn-noel .pbn-boite { display: block; max-height: calc(100vh - 32px); overflow-y: auto; }
	#pbn-noel .pbn-visuel { width: 100%; min-height: 0; height: 220px; }
	#pbn-noel .pbn-cadeau { width: auto; height: 94%; }
	#pbn-noel .pbn-croix { background: #f7f2e9; border-radius: 2px; }
	#pbn-noel .pbn-croix:hover { background: #f7f2e9; }
	#pbn-noel .pbn-texte { padding: 20px 20px 22px; }
	#pbn-noel h2 { font-size: 32px; margin-bottom: 10px; }
	#pbn-noel p { margin-bottom: 16px; }
	#pbn-noel .pbn-adresse { margin: 14px 0 0; }
	#pbn-noel .pbn-bouton { display: block; text-align: center; font-size: 18px; padding: 12px 14px; }
}
