/**
 * "Preparing your brochure…" overlay.
 *
 * Only ever seen on a cold click — once a yacht's brochure is warm the button behaves
 * like any other link and this never appears.
 */

.bb-brochure-wait {
    position: fixed;
    inset: 0;
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, .72);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.bb-brochure-wait.is-visible {
    opacity: 1;
    visibility: visible;
}

.bb-brochure-wait__box {
    max-width: 380px;
    width: 100%;
    padding: 34px 30px 30px;
    border-radius: 4px;
    background: #fff;
    color: #111;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, .35);
}

.bb-brochure-wait__spinner {
    width: 34px;
    height: 34px;
    margin: 0 auto 18px;
    border: 2px solid rgba(0, 0, 0, .14);
    border-top-color: #111;
    border-radius: 50%;
    animation: bb-brochure-spin .8s linear infinite;
}

@keyframes bb-brochure-spin {
    to { transform: rotate(360deg); }
}

.bb-brochure-wait__title {
    margin: 0 0 8px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: .01em;
}

.bb-brochure-wait__hint {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    opacity: .62;
}

/* Respect a reduced-motion preference — the overlay still communicates, just calmly. */
@media (prefers-reduced-motion: reduce) {
    .bb-brochure-wait { transition: none; }
    .bb-brochure-wait__spinner { animation-duration: 2.4s; }
}
