.bb-age-media-placeholder {
    display: grid;
    place-items: center;
    gap: 8px;
    width: 100%;
    min-height: 132px;
    padding: 16px;
    border: 1px solid rgba(185, 28, 28, .22);
    border-radius: 20px;
    background:
        radial-gradient(circle at 50% 0%, rgba(220, 38, 38, .12), transparent 42%),
        linear-gradient(180deg, #fff7ed, #fff);
    color: #111827;
    text-align: center;
}

.bb-age-media-placeholder[hidden],
.bb-age-image[hidden],
.bb-age-gate[hidden] {
    display: none !important;
}

.bb-age-media-placeholder strong {
    display: grid;
    place-items: center;
    min-width: 58px;
    min-height: 58px;
    border-radius: 999px;
    background: #b91c1c;
    color: #fff;
    font-size: 24px;
    line-height: 1;
    font-weight: 950;
    box-shadow: 0 14px 28px rgba(185, 28, 28, .22);
}

.bb-age-media-placeholder span {
    max-width: 220px;
    color: #475569;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 850;
}

.bb-age-media-placeholder button,
.bb-age-gate__actions button {
    min-height: 42px;
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    font: inherit;
    font-weight: 900;
}

.bb-age-media-placeholder button {
    padding: 0 14px;
    background: #111827;
    color: #fff;
}

.bb-age-image.is-age-hidden {
    display: none !important;
}

.bb-age-gate {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: grid;
    place-items: center;
    padding: 18px;
    background: rgba(15, 23, 42, .72);
    backdrop-filter: blur(10px);
}

.bb-age-gate[hidden] {
    display: none !important;
}

.bb-age-gate__dialog {
    width: min(440px, 100%);
    padding: 24px;
    border-radius: 26px;
    background: #fff;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .26);
}

.bb-age-gate__badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 54px;
    min-height: 54px;
    margin-bottom: 14px;
    border-radius: 999px;
    background: #b91c1c;
    color: #fff;
    font-size: 22px;
    font-weight: 950;
}

.bb-age-gate__dialog h2 {
    margin: 0;
    color: #111827;
    font-size: 26px;
    line-height: 1.1;
}

.bb-age-gate__dialog p {
    margin: 12px 0 0;
    color: #475569;
    line-height: 1.55;
    font-weight: 750;
}

.bb-age-gate__notice {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 16px;
    background: #fff7ed;
    color: #9a3412;
    font-weight: 850;
}

.bb-age-gate__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 18px;
}

.bb-age-gate__yes {
    background: #b91c1c;
    color: #fff;
}

.bb-age-gate__no {
    background: #f1f5f9;
    color: #111827;
}

.bb-age-gate-message {
    margin-top: 8px;
    color: #b91c1c;
    font-size: 13px;
    font-weight: 900;
}

@media (max-width: 520px) {
    .bb-age-gate__dialog {
        padding: 20px;
    }

    .bb-age-gate__actions {
        grid-template-columns: 1fr;
    }
}


/* P2-A-R: age gate modal polish */
.bb-age-gate {
    background:
        radial-gradient(circle at 50% 0%, rgba(248, 113, 113, .18), transparent 36%),
        rgba(15, 23, 42, .72);
    backdrop-filter: blur(10px);
}

.bb-age-gate__dialog {
    border: 1px solid rgba(148, 163, 184, .26);
    box-shadow:
        0 24px 70px rgba(15, 23, 42, .30),
        0 0 0 1px rgba(255, 255, 255, .70) inset;
}

.bb-age-gate__dialog h2 {
    letter-spacing: -0.03em;
}

.bb-age-gate__dialog p {
    max-width: 42rem;
}

.bb-age-gate__yes,
.bb-age-gate__no {
    min-height: 48px;
    border-radius: 14px;
    font-weight: 800;
}

.bb-age-gate__yes {
    box-shadow: 0 12px 26px rgba(15, 23, 42, .20);
}

.bb-age-gate__no {
    background: #ffffff;
    border: 1px solid rgba(148, 163, 184, .42);
    color: #111827;
}

.bb-age-gate__no:hover,
.bb-age-gate__no:focus-visible {
    background: #f8fafc;
    border-color: rgba(100, 116, 139, .58);
}

.bb-age-gate-message {
    border-radius: 12px;
    border: 1px solid rgba(185, 28, 28, .22);
    background: #fff7ed;
    color: #7f1d1d;
    font-weight: 700;
}

@media (max-width: 520px) {
    .bb-age-gate {
        padding: 14px;
        align-items: flex-end;
    }

    .bb-age-gate__dialog {
        width: 100%;
        border-radius: 24px 24px 18px 18px;
        padding: 22px 18px 18px;
    }

    .bb-age-gate__actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .bb-age-gate__yes,
    .bb-age-gate__no {
        width: 100%;
    }
}

/* P2-D: keep catalog 18+ placeholders inside compact product-card media zones. */
.product-card .img-box .bb-age-media-placeholder,
.bb-product-card-2026__media .bb-age-media-placeholder {
    box-sizing: border-box;
    align-self: stretch;
    justify-self: stretch;
    width: 100%;
    height: 100%;
    min-height: 0;
    max-width: 100%;
    padding: 10px;
    gap: 6px;
    border-radius: 16px;
    overflow: hidden;
}

.product-card .img-box .bb-age-media-placeholder strong,
.bb-product-card-2026__media .bb-age-media-placeholder strong {
    min-width: 42px;
    width: 42px;
    min-height: 42px;
    height: 42px;
    font-size: 18px;
    box-shadow: 0 10px 18px rgba(185, 28, 28, .16);
}

.product-card .img-box .bb-age-media-placeholder span,
.bb-product-card-2026__media .bb-age-media-placeholder span {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    min-height: 0;
    padding: 0;
    border-radius: 0;
    background: transparent;
    color: #475569;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 850;
}

.product-card .img-box .bb-age-media-placeholder button,
.bb-product-card-2026__media .bb-age-media-placeholder button {
    max-width: 100%;
    min-height: 30px;
    padding: 0 10px;
    font-size: 11px;
    line-height: 1.1;
    white-space: normal;
}

@media (max-width: 720px) {
    .product-card .img-box .bb-age-media-placeholder,
    .bb-product-card-2026__media .bb-age-media-placeholder {
        padding: 8px;
        gap: 5px;
    }

    .product-card .img-box .bb-age-media-placeholder strong,
    .bb-product-card-2026__media .bb-age-media-placeholder strong {
        width: 38px;
        min-width: 38px;
        height: 38px;
        min-height: 38px;
        font-size: 16px;
    }

    .product-card .img-box .bb-age-media-placeholder span,
    .bb-product-card-2026__media .bb-age-media-placeholder span {
        font-size: 10px;
    }
}
