/* The site's styling surrounds the official, cross-origin Booksy panel. */
.booksy-card { scroll-margin-top: 120px; }
.booksy-heading { margin-bottom: 24px; }
.booksy-heading h2, .booksy-more h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 400;
}
.booksy-heading p {
    color: var(--text-secondary);
    font-size: .9rem;
    line-height: 1.8;
    margin-top: 12px;
}
.booksy-shell {
    background: white;
    color: #303030;
    border: 1px solid rgba(201, 169, 110, .35);
    border-radius: 12px;
    overflow: hidden;
    color-scheme: light;
}
.booksy-status { padding: 28px 20px; text-align: center; font-size: .9rem; }
#booksy-host { min-height: 440px; }
#booksy-host .booksy-widget-container { width: 100%; margin: 0; padding: 0; }
#booksy-host iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    min-height: 440px;
    max-height: 880px;
    border: 0;
}
.booksy-error { margin-top: 16px; padding: 20px; border: 1px solid var(--glass-border); border-radius: 12px; }
.booksy-error p { margin-bottom: 14px; font-size: .9rem; color: var(--text-secondary); }
.booksy-status[hidden], .booksy-shell[hidden], .booksy-error[hidden] { display: none; }
.booksy-fallback { display: flex; justify-content: space-between; gap: 16px; margin-top: 15px; font-size: .75rem; color: var(--text-secondary); }
.booksy-fallback a { color: var(--gold); white-space: nowrap; }
.booksy-fallback a:hover { text-decoration: underline; }
.booksy-more .cennik-service-links { margin: 24px 0; }
#booksy-retry:focus-visible, .booksy-fallback a:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }
@media (max-width: 600px) {
    .booksy-card { padding: 20px 12px; border-radius: 18px; }
    .booksy-heading { padding: 0 6px; }
    .booksy-heading p { font-size: .8rem; }
    .booksy-shell { border-radius: 8px; }
    #booksy-host iframe { max-height: 760px; }
    .booksy-fallback { flex-direction: column; gap: 8px; padding: 0 6px; font-size: .7rem; }
}
