.tb-christmas[hidden] { display: none !important; }
.tb-christmas { position: fixed; z-index: 9990; bottom: 24px; left: 20px; border: 0; border-radius: 30px; background: #813744; color: #fff; padding: 13px 22px; font: 600 16px Overpass, sans-serif; box-shadow: 0 4px 20px #0003; cursor: pointer; }
.tb-buches { width: min(1000px, 94vw); max-width: none; max-height: 92vh; max-height: 92dvh; margin: auto; padding: 0; border: 0; border-radius: 12px; color: #422b2b; background: #fffaf4; overflow: auto; box-shadow: 0 20px 80px #0006; }
.tb-buches::backdrop { background: #1c1010c9; }
.tb-buches__header { position: sticky; top: 0; z-index: 1; padding: 18px 66px 14px 24px; background: #fffaf4; border-bottom: 1px solid #e6d8cb; }
.tb-buches__header h2 { margin: 0; color: #813744; font: 28px/1.25 'Playfair Display', serif; }
.tb-buches__header p { margin: 6px 0 0; font-size: 15px; }
.tb-buches__close { position: absolute; top: 12px; right: 14px; width: 44px; height: 44px; border: 0; background: #813744; color: #fff; border-radius: 50%; font: 28px/1 sans-serif; cursor: pointer; }
.tb-buches__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; padding: 16px; }
.tb-buches__actions a { padding: 11px 18px; border: 1px solid #813744; border-radius: 5px; color: #813744; font-weight: 600; text-align: center; }
.tb-buches__actions a:first-child { background: #813744; color: #fff; }
.tb-buches__pages { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 12px; padding: 0 16px 20px; }
.tb-buches__pages a, .tb-buches__pages img { display: block; width: 100%; height: auto; }
.tb-buches__note { margin: 0; text-align: center; padding: 0 16px 16px; font-size: 14px; }
html.tb-buches-open, html.tb-buches-open body { overflow: hidden; }
@media (max-width: 650px) { .tb-buches__pages { grid-template-columns: 1fr; } .tb-buches__header { padding-left: 16px; } .tb-buches__header h2 { font-size: 23px; } .tb-christmas { left: 12px; bottom: 12px; font-size: 14px; padding: 12px 18px; } }
