.bct-gallery,.bct-chooser,.bct-view,.bct-offline{--bct-ink:#242620;--bct-muted:#565b51;--bct-line:#d6d4ca;--bct-paper:#fffdf8;--bct-tint:#f2f1e9;--bct-accent:#5d7046;--bct-radius:10px;color:var(--bct-ink)}
.bct-gallery .bc-grid,.bct-offline-grid,.bct-editions{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:clamp(.85rem,1.9vw,1.5rem);align-items:stretch}
.bct-gallery .bc-grid,.bct-offline-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.bct-card,.bct-edition{min-width:0;overflow:hidden;display:flex;flex-direction:column;background:white;border:1px solid var(--bct-line);border-radius:var(--bct-radius)}
.bct-gallery .bct-card>.bc-card,.bct-offline .bct-card>.bc-card{display:flex;flex-direction:column;gap:.35rem;flex:1;margin:0;padding:0 0 .8rem;border:0;border-radius:0;color:var(--bct-ink);background:white;box-shadow:none;text-decoration:none}
.bct-gallery .bct-card>.bc-card:hover strong,.bct-offline .bc-card:hover strong{text-decoration:underline}
.bct-card>.bc-card img,.bct-edition img{width:100%;max-width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top;display:block;border-bottom:1px solid var(--bct-line)}
.bct-card>.bc-card>span,.bct-card>.bc-card>strong{margin:0 1rem;padding:0}.bct-card>.bc-card>strong{font:600 clamp(1.2rem,1.8vw,1.55rem)/1.3 Georgia,serif}.bct-card>.bc-card>.bc-kicker{margin-top:.65rem;color:var(--bct-muted);font-size:.77rem;line-height:1.35}.bct-card .bct-price{font-size:.86rem;color:var(--bct-muted)}
.bct-actions{display:flex;align-items:center;gap:.7rem;flex-wrap:wrap;padding:.75rem 1rem;border-top:1px solid var(--bct-line);background:#f9f8f4}
.bct-action,.bct-primary{display:inline-flex;align-items:center;justify-content:center;min-height:40px;line-height:1.2;font-family:inherit;font-size:.89rem;font-weight:650;text-decoration:none!important}
.bct-action{color:var(--bct-ink)!important;text-decoration:underline!important;text-underline-offset:3px}.bct-primary{color:white!important;background:var(--bct-ink);border-radius:5px;padding:.6rem .85rem}.bct-primary:hover{background:#414c36}.bct-gallery a:focus-visible,.bct-chooser a:focus-visible,.bct-view a:focus-visible,.bct-offline :focus-visible{outline:3px solid #3877ae;outline-offset:2px}
.bct-chooser{margin-block:clamp(1.4rem,4vw,3.5rem);width:100%}.bct-chooser h2,.bct-offline h1,.bct-offline h2{font-family:Georgia,serif;line-height:1.13;letter-spacing:-.035em;font-weight:500}.bct-chooser h2{margin:0 0 1.15rem;font-size:clamp(1.75rem,3.3vw,2.65rem)}.bct-edition{max-width:550px}.bct-edition>div{padding:1rem;flex:1;display:flex;flex-direction:column;align-items:start;gap:.55rem}.bct-edition h3{font-weight:650;font-family:inherit;letter-spacing:normal;font-size:1.1rem;margin:0}.bct-edition p{margin:0;line-height:1.45}.bct-edition details{font-size:.9rem}.bct-edition summary{cursor:pointer}.bct-edition ul{margin:.4rem 0;padding-inline-start:1.25rem}.bct-edition .bct-primary{margin-top:auto}.bct-chooser[dir=rtl],.bct-view[dir=rtl]{text-align:right}
.bct-view{box-sizing:border-box;margin:0;padding:0;width:100%;height:100vh;height:100dvh;display:flex;flex-direction:column;overflow:hidden;background:var(--bct-paper);font:15px/1.35 system-ui,sans-serif}.bct-view *,.bct-offline *{box-sizing:border-box}.bct-bar{background:var(--bct-paper);padding:.5rem clamp(.65rem,2vw,2rem);display:flex;align-items:center;justify-content:space-between;gap:.5rem;border-bottom:1px solid var(--bct-line);flex-shrink:0}.bct-bar .bct-action{min-width:0}.bct-bar span{font-size:.86rem;color:var(--bct-muted);text-align:center}.bct-view iframe{width:100%;flex:1;min-height:0;border:0;background:white}.bct-bar .bct-primary{text-align:center}.bct-mobile-brand{display:none}
.bct-offline{background:var(--bct-paper);font:16px/1.55 system-ui,sans-serif;margin:0}.bct-offline a{color:inherit}.bct-offline header,.bct-offline main{max-width:1400px;margin:auto;padding:1.1rem clamp(1rem,5vw,5rem)}.bct-offline header{border-bottom:1px solid var(--bct-line);display:flex;justify-content:space-between;align-items:center;gap:1rem}.bct-offline header strong{font-weight:750}.bct-offline h1{font-size:clamp(2.7rem,6vw,5rem);margin:1rem 0}.bct-offline .bct-intro{color:var(--bct-muted);max-width:65ch}.bct-offline form{display:flex;gap:1rem;align-items:end;flex-wrap:wrap;margin:1.5rem 0}.bct-offline label{display:grid;gap:.3rem;font-size:.9rem}.bct-offline select,.bct-offline input{min-height:42px;border:1px solid #8b8e80;border-radius:4px;padding:.45rem .65rem;background:white;color:var(--bct-ink);font:inherit;max-width:100%}.bct-offline [hidden]{display:none}.bct-offline main{padding-bottom:4rem}
@media(max-width:930px){.bct-gallery .bc-grid,.bct-offline-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.bct-gallery .bc-grid,.bct-offline-grid,.bct-editions{grid-template-columns:minmax(0,1fr)}.bct-bar{flex-wrap:wrap}.bct-bar span{order:3;width:100%;font-size:.75rem}.bct-bar a{font-size:.8rem}.bct-action,.bct-primary{min-height:42px}}
.bct-tools{display:flex;gap:.8rem;align-items:end;flex-wrap:wrap;margin:.8rem 0 1.2rem}.bct-tools label{display:grid;gap:.2rem;color:var(--bct-muted);font:600 .85rem/1.5 system-ui,sans-serif}.bct-tools input,.bct-tools select{padding:.45rem .65rem;min-height:42px;border:1px solid #8b8e80;border-radius:4px;background:white;color:var(--bct-ink);font:inherit;max-width:100%}.bct-tools output{align-self:center}.bct-gallery [hidden]{display:none!important}

.bct-view-actions{display:flex;gap:.8rem;align-items:center;flex-wrap:wrap;justify-content:flex-end}.bct-bar{flex-wrap:wrap}.bct-view-actions .bct-action{font-size:.79rem}
@media(max-width:540px){.bct-bar{display:grid;grid-template-columns:1fr auto;gap:.1rem .4rem}.bct-bar>span{order:0;grid-column:1;grid-row:2;text-align:start;line-height:1.3}.bct-view-actions{grid-column:2;grid-row:1 / 3;flex-direction:column-reverse;gap:0}.bct-view-actions .bct-action{min-height:29px}.bct-bar>.bct-action{justify-self:start;min-height:29px}}
