/* Archive de nos bières — widget #pb-bieres.
   Règles copiées telles quelles de la page en ligne (perspective.beer/archive-de-nos-bieres/), nov. 2026. */
#pb-bieres { --bg: #ffffff; --tile: #f7f7f7; --card: #ffffff; --ink: #303133; --muted: #777777; --line: #e5e5e5; --accent: #303133; --chip: #f7f7f7; --can-w: 100px; }
#pb-bieres, #pb-bieres * { box-sizing: border-box; }
#pb-bieres { margin: 0px; background: var(--bg); color: var(--ink); font: 15px / 1.5 Signika, system-ui, -apple-system, "Segoe UI", sans-serif; }
#pb-bieres button, #pb-bieres input, #pb-bieres select { font: inherit; color: inherit; }
#pb-bieres .pb-head { max-width: 1240px; margin: 0px auto; padding: 48px 16px 28px; text-align: center; }
#pb-bieres .pb-head img { height: 64px; display: block; margin: 0px auto 22px; }
#pb-bieres h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 600; margin: 0px 0px 6px; }
#pb-bieres .sub { color: var(--muted); margin: 0px; font-size: 16px; }
#pb-bieres .toolbar { position: sticky; top: 0px; z-index: 5; background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
#pb-bieres .toolbar-inner { max-width: 1240px; margin: 0px auto; padding: 12px 16px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#pb-bieres input[type="search"], #pb-bieres select { color: var(--ink); background: rgb(255, 255, 255); border: 1px solid var(--line); border-radius: 0px; padding: 9px 12px; outline: none; }
#pb-bieres input[type="search"] { flex: 1 1 220px; min-width: 0px; }
#pb-bieres select:hover, #pb-bieres input[type="search"]:hover, #pb-bieres input[type="search"]:focus, #pb-bieres select:focus { border-color: var(--ink); }
#pb-bieres .count { color: var(--muted); font-size: 13px; margin-left: auto; letter-spacing: 0.02em; }
@media (max-width: 600px){#pb-bieres .toolbar { position: static; }}
#pb-bieres .pb-grid { width: min(1208px, 100% - 32px); margin: 32px auto 72px; padding: 0px; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); border-left: 1px solid var(--line); border-top: 1px solid var(--line); }
@media (max-width: 560px){#pb-bieres .pb-grid { grid-template-columns: minmax(0px, 1fr) minmax(0px, 1fr); }}
@media (max-width: 560px){#pb-bieres { --can-w: 70px; }}
@media (max-width: 560px){#pb-bieres .card .name { font-size: 16px; margin: 14px 8px 4px; overflow-wrap: break-word; hyphens: auto; }}
@media (max-width: 560px){#pb-bieres .card .style, #pb-bieres .card .date { margin-left: 10px; margin-right: 10px; font-size: 13px; }}
#pb-bieres .card { background: var(--card); border-top: 0px; border-left: 0px; border-image: none; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); border-radius: 0px; padding: 0px 0px 26px; margin: 0px; text-align: center; cursor: pointer; display: flex; flex-direction: column; }
#pb-bieres .card:focus-visible { outline: 2px solid var(--ink); outline-offset: -2px; }
#pb-bieres .stage { background: rgb(255, 255, 255); height: 340px; padding-bottom: 34px; display: flex; align-items: flex-end; justify-content: center; transition: background 0.25s; }
#pb-bieres .card:hover .stage { background: var(--tile); }
@media (max-width: 560px){#pb-bieres .stage { height: 250px; padding-bottom: 24px; }}
#pb-bieres .card .name { font-weight: 600; font-size: 20px; line-height: 1.2; margin: 18px 18px 4px; }
#pb-bieres .card .style { color: var(--muted); font-size: 15px; margin: 0px 18px; }
#pb-bieres .card .date { color: rgb(153, 153, 153); font-size: 13px; margin: 10px 18px 0px; }
#pb-bieres .can { --w: var(--can-w); --k: 2.228; width: var(--w); position: relative; display: flex; flex-direction: column; align-items: center; filter: drop-shadow(0 calc(var(--w) * .1) calc(var(--w) * .08) rgba(0,0,0,.22)); transition: transform 0.25s; }
#pb-bieres .card:hover .can { transform: translateY(-4px); }
#pb-bieres .can .lid { width: 82%; height: calc(var(--w) * .055); position: relative; z-index: 2; border-radius: calc(var(--w) * .018) calc(var(--w) * .018) calc(var(--w) * .006) calc(var(--w) * .006); background: linear-gradient(rgba(255, 255, 255, 0.55) 0px, rgba(255, 255, 255, 0) 30%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, 0.22) 100%), linear-gradient(90deg, rgb(122, 126, 131) 0%, rgb(184, 188, 192) 10%, rgb(230, 232, 234) 24%, rgb(251, 251, 252) 33%, rgb(212, 215, 218) 52%, rgb(178, 182, 186) 72%, rgb(136, 140, 145) 90%, rgb(110, 114, 119) 100%); }
#pb-bieres .can .neck { width: 79%; height: calc(var(--w) * .014); position: relative; z-index: 1; background: linear-gradient(90deg, rgb(85, 89, 94) 0%, rgb(141, 145, 150) 20%, rgb(185, 188, 192) 34%, rgb(154, 158, 163) 60%, rgb(92, 96, 101) 100%); }
#pb-bieres .can .label { width: 100%; height: calc(var(--w) * var(--k)); position: relative; overflow: hidden; background: rgb(233, 230, 225); clip-path: polygon(90.00% calc(var(--w) * 0.0000), 90.38% calc(var(--w) * 0.0187), 91.46% calc(var(--w) * 0.0375), 93.09% calc(var(--w) * 0.0562), 95.00% calc(var(--w) * 0.0750), 96.91% calc(var(--w) * 0.0938), 98.54% calc(var(--w) * 0.1125), 99.62% calc(var(--w) * 0.1313), 100.00% calc(var(--w) * 0.1500), 100% calc(100% - var(--w) * .03), 96% 100%, 4% 100%, 0 calc(100% - var(--w) * .03), 0.00% calc(var(--w) * 0.1500), 0.38% calc(var(--w) * 0.1313), 1.46% calc(var(--w) * 0.1125), 3.09% calc(var(--w) * 0.0938), 5.00% calc(var(--w) * 0.0750), 6.91% calc(var(--w) * 0.0562), 8.54% calc(var(--w) * 0.0375), 9.62% calc(var(--w) * 0.0187), 10.00% calc(var(--w) * 0.0000)); }
#pb-bieres .can .label img { position: absolute; left: 0px; right: 0px; top: var(--top, 0); width: 100%; height: calc(100% * var(--fill, 1)); object-fit: cover; object-position: var(--x, 87%) 100%; }
#pb-bieres .can .label::after { content: ""; position: absolute; inset: 0px; pointer-events: none; background: linear-gradient(180deg, rgba(0,0,0,.32) 0, rgba(0,0,0,.08) calc(var(--w) * .05), rgba(255,255,255,.22) calc(var(--w) * .1), rgba(0,0,0,0) calc(var(--w) * .17)), linear-gradient(90deg, rgba(0,0,0,.42) 0%, rgba(0,0,0,.1) 13%, rgba(255,255,255,0) 24%, rgba(255,255,255,.38) 31%, rgba(255,255,255,0) 40%, rgba(0,0,0,0) 62%, rgba(0,0,0,.16) 80%, rgba(0,0,0,.46) 100%); }
#pb-bieres .can .base { width: 92%; height: calc(var(--w) * .06); margin-top: -1px; background: linear-gradient(90deg, rgb(124, 128, 133) 0%, rgb(217, 220, 223) 25%, rgb(246, 247, 248) 36%, rgb(180, 184, 189) 65%, rgb(116, 120, 125) 100%); border-radius: 0px 0px 40% 40% / 0px 0px 80% 80%; }
#pb-bieres .can.blank .label { background: linear-gradient(rgb(255, 255, 255), rgb(236, 236, 236)); display: grid; place-items: center; }
#pb-bieres .can .mark { position: relative; z-index: 1; writing-mode: vertical-rl; transform: rotate(180deg); margin-bottom: 14%; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: rgb(48, 49, 51); font-size: calc(var(--w) * var(--fs, .15)); max-height: 70%; overflow: hidden; white-space: nowrap; }
#pb-bieres .can .brand { position: absolute; z-index: 1; bottom: 7%; left: 0px; right: 0px; text-align: center; font-size: calc(var(--w) * .085); letter-spacing: 0.14em; color: var(--accent); font-weight: 700; }
#pb-bieres dialog { border: 0px; padding: 0px; width: min(960px, 100% - 24px); max-height: calc(100% - 24px); border-radius: 0px; background: rgb(255, 255, 255); color: var(--ink); overflow: hidden; box-shadow: rgba(0, 0, 0, 0.4) 0px 30px 80px -30px; }
#pb-bieres dialog::backdrop { background: rgba(48, 49, 51, 0.55); }
#pb-bieres dialog[open] { animation: 0.2s ease-out 0s 1 normal none running pb-pop; }
#pb-bieres .m { display: grid; grid-template-columns: 400px 1fr; max-height: calc(-24px + 100vh); }
#pb-bieres .m-stage { background: var(--tile); position: relative; min-height: 540px; }
#pb-bieres .m-stage .gl { position: absolute; inset: 0px; touch-action: pan-y; cursor: grab; }
#pb-bieres .m-stage .gl:active { cursor: grabbing; }
#pb-bieres .m-stage .flat { position: absolute; inset: 0px; display: grid; place-items: center; }
#pb-bieres .m-stage .flat .can { --w: 130px; }
#pb-bieres .m-stage .hint { position: absolute; bottom: 14px; left: 0px; right: 0px; text-align: center; font-size: 11px; color: rgb(153, 153, 153); text-transform: uppercase; letter-spacing: 0.08em; pointer-events: none; }
#pb-bieres .m-info { padding: 36px 36px 28px; overflow-y: auto; }
#pb-bieres .m-info h2 { font-size: 32px; font-weight: 600; margin: 0px; line-height: 1.1; }
#pb-bieres .m-info .style { color: var(--muted); margin-top: 6px; font-size: 16px; }
#pb-bieres .m-info .desc { margin-top: 22px; }
#pb-bieres .close { position: absolute; top: 0px; right: 0px; z-index: 2; width: 48px; height: 48px; border-radius: 0px; border-top: 0px; border-right: 0px; border-image: none; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgb(255, 255, 255); cursor: pointer; font-size: 18px; line-height: 1; }
#pb-bieres .close:hover { background: var(--ink); color: rgb(255, 255, 255); }
#pb-bieres .close:focus:not(:focus-visible) { outline: none; }
#pb-bieres .stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 1px; margin: 24px 0px; background: var(--line); border: 1px solid var(--line); }
#pb-bieres .stat { background: rgb(255, 255, 255); padding: 12px 14px; }
#pb-bieres .stat b { display: block; font-size: 22px; font-weight: 600; }
#pb-bieres .stat span { color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; }
#pb-bieres .desc { margin: 0px 0px 22px; white-space: pre-line; color: var(--muted); font-size: 16px; line-height: 1.6; }
#pb-bieres .desc.none { font-style: italic; }
#pb-bieres .actions { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 24px; align-items: center; }
#pb-bieres .rating { color: var(--muted); font-size: 14px; }
#pb-bieres .rating b { color: var(--ink); font-size: 18px; font-weight: 600; margin-right: 2px; }
#pb-bieres .btn { border: 1px solid var(--ink); background: rgb(255, 255, 255); border-radius: 0px; padding: 10px 16px; cursor: pointer; text-decoration: none; color: var(--ink); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
#pb-bieres .btn.primary, #pb-bieres .btn:hover { background: var(--ink); color: rgb(255, 255, 255); }
#pb-bieres details { border-top: 1px solid var(--line); padding-top: 14px; }
#pb-bieres summary { cursor: pointer; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; font-size: 13px; }
#pb-bieres .meta-grid { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; font-size: 13px; margin: 14px 0px; }
#pb-bieres .meta-grid dt { color: var(--muted); }
#pb-bieres .meta-grid dd { margin: 0px; word-break: break-word; }
#pb-bieres pre { background: var(--tile); color: var(--ink); border: 1px solid var(--line); border-radius: 0px; padding: 12px; font-size: 12px; overflow: auto; max-height: 260px; margin: 8px 0px 0px; }
@media (max-width: 760px){#pb-bieres .m { grid-template-columns: 1fr; overflow-y: auto; }}
@media (max-width: 760px){#pb-bieres .m-stage { min-height: 380px; }}
@media (max-width: 760px){#pb-bieres .m-info { overflow: visible; padding: 24px 20px; }}
@media (max-width: 760px){#pb-bieres .m-info h2 { font-size: 26px; }}
#pb-bieres .more { display: block; margin: -40px auto 72px; border: 1px solid var(--ink); background: rgb(255, 255, 255); border-radius: 0px; padding: 10px 18px; cursor: pointer; font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
#pb-bieres .more:hover { background: var(--ink); color: rgb(255, 255, 255); }
#pb-bieres .more[hidden] { display: none; }
#pb-bieres .empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 48px 0px; background: rgb(255, 255, 255); }
#pb-bieres .toast { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); background: var(--ink); color: rgb(255, 255, 255); z-index: 10; padding: 10px 18px; border-radius: 0px; font-size: 13px; opacity: 0; transition: opacity 0.2s; pointer-events: none; }
#pb-bieres .toast.show { opacity: 1; }
#pb-bieres { max-width: none; }
#pb-bieres button.card { appearance: none; width: 100%; min-height: 0px; height: auto; box-shadow: none; text-transform: none; letter-spacing: normal; font: inherit; color: var(--ink); background: var(--card); }
#pb-bieres button.card:hover, #pb-bieres button.card:focus { background: var(--card); color: var(--ink); box-shadow: none; }
#pb-bieres .close { appearance: none; padding: 0px; min-height: 0px; box-shadow: none; color: var(--ink); text-transform: none; letter-spacing: 0px; }
#pb-bieres .btn { display: inline-block; line-height: 1.4; box-shadow: none; font-weight: 400; }
#pb-bieres a.btn, #pb-bieres a.btn:visited { text-decoration: none; }
#pb-bieres .can .label img { max-width: none; max-height: none; border: 0px; box-shadow: none; margin: 0px; padding: 0px; }
#pb-bieres h1, #pb-bieres h2 { font-family: inherit; color: var(--ink); text-transform: none; letter-spacing: normal; }
#pb-bieres input[type="search"], #pb-bieres select { min-height: 0px; box-shadow: none; font-size: 15px; line-height: 1.4; height: auto !important; margin: 0px !important; }
#pb-bieres select { max-width: 100%; flex: 0 1 auto; width: auto !important; min-width: 0px !important; display: inline-block !important; }
#pb-bieres input[type="search"] { width: auto !important; min-width: 0px !important; display: block !important; }
#pb-bieres .more { appearance: none; box-shadow: none; color: var(--ink); line-height: 1.4; min-height: 0px; font-weight: 400; }
#pb-bieres .more:hover { color: rgb(255, 255, 255); }
#pb-bieres dialog { margin: auto; }
#pb-bieres .m-stage canvas { max-width: none; }
#pb-bieres .pb-noscript { columns: 2; padding: 0px 16px; }

/* Ajouts du site statique : la barre de recherche colle sous l'en-tête fixe */
#pb-bieres .toolbar{top:var(--hdr-h)}
#pb-bieres .m-info .desc{white-space:pre-line}
#pb-bieres .facts{display:grid;grid-template-columns:auto 1fr;gap:6px 16px;margin:18px 0;font-size:14px;line-height:1.45}
#pb-bieres .facts dt{color:var(--muted)}
#pb-bieres .facts dd{margin:0;color:var(--ink)}
#pb-bieres .facts a{color:var(--ink);text-decoration:underline;text-underline-offset:2px}
@media (max-width:560px){#pb-bieres .facts{grid-template-columns:1fr;gap:2px}#pb-bieres .facts dd{margin-bottom:8px}}
