:root {
    --radius-card: 10px;
    --radius-pill: 999px;
}

* {
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
    font-family: 'Open Sans', sans-serif;
    color: var(--bb-embed-empty-title-color);
}

body {
    line-height: 1.4;
}

img {
    display: block;
    width: 100%;
    max-width: 100%;
}

button,
a {
    color: inherit;
}

a {
    text-decoration: none;
}

#main,
.bb-embed-section,
.bb-embed-shell,
.bb-embed-slider-wrap,
.bb-embed-slider,
.bb-embed-viewport {
    width: 100%;
    height: 100%;
}

#main {
    overflow: hidden;
}

.bb-embed-section {
    padding: 0;
    background: var(--bb-embed-background);
}

.bb-embed-shell {
    margin: 0 auto;
    padding: 0;
    height: 100%;
}

.bb-embed-section.bb-embed-count-0 .bb-embed-shell {
    display: flex;
    align-items: center;
    justify-content: center;
}

.bb-embed-empty-state {
    width: min(100%, 640px);
    padding: 18px 20px;
    text-align: center;
}

.bb-embed-empty-title {
    margin: 0;
    color: var(--bb-embed-empty-title-color);
    font-size: clamp(1.15rem, 3.8vw, 2rem);
    font-weight: 800;
    line-height: 1.2;
}

.bb-embed-empty-subtitle {
    margin-bottom: 8px;
    color: var(--bb-embed-empty-subtitle-color);
    font-family: 'Raleway', sans-serif;
    font-size: clamp(2rem, 9vw, 4rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    text-transform: uppercase;
}

.bb-embed-empty-separator {
    display: block;
    width: 50px;
    height: 3px;
    margin: 18px auto 0;
    border-radius: 999px;
    background: var(--bb-embed-empty-separator-background);
}

.bb-embed-slider-wrap {
    position: relative;
}

.bb-embed-viewport {
    overflow: hidden;
}

.bb-embed-track {
    display: flex;
    align-items: stretch;
    gap: 12px;
    height: 100%;
    margin: 0;
    padding: 0 8px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.bb-embed-track::-webkit-scrollbar {
    display: none;
}

.bb-embed-track.bb-embed-count-1 {
    justify-content: center;
}

.bb-embed-track.bb-embed-count-1 .bb-embed-slide {
    flex-basis: calc(100% - 16px);
    max-width: 560px;
}

.bb-embed-track.bb-embed-count-2 .bb-embed-slide {
    flex-basis: min(calc(100% - 28px), 360px);
}

.bb-embed-slider-wrap.bb-embed-count-1 .bb-embed-nav-btn {
    display: none;
}

.bb-embed-slide {
    flex: 0 0 min(100%, 320px);
    height: 100%;
    min-height: 0;
    scroll-snap-align: start;
}

.bb-embed-slide-item,
.bb-embed-card-list,
.bb-embed-card,
.bb-embed-card-media {
    height: 100%;
    min-height: 0;
}

.bb-embed-slide-item {
    padding: 0;
}

.bb-embed-card {
    position: relative;
    border-radius: var(--radius-card);
    background: var(--bb-embed-list-card-background);
    border: 1px solid var(--bb-embed-list-card-border-color);
    overflow: hidden;
}

.bb-embed-card::after {
    display: none;
}

.bb-embed-card-media {
    position: relative;
    border-radius: var(--radius-card);
    overflow: hidden;
    background: var(--bb-embed-list-card-media-background);
}

.bb-embed-card-media-link,
.bb-embed-card-media-link img {
    width: 100%;
    height: 100%;
}

.bb-embed-card-media-link {
    display: block;
    position: absolute;
    inset: 0;
}

.bb-embed-card-media-link::before {
    content: '';
    position: absolute;
    inset: 30% 0 0;
    background: var(--bb-embed-list-card-overlay-background);
    z-index: 2;
}

.bb-embed-card-media img {
    object-fit: cover;
}

.bb-embed-card-save {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    min-height: 34px;
    padding: 0 14px;
    border-radius: var(--radius-pill);
    background: var(--bb-embed-list-card-save-background);
    backdrop-filter: blur(8px);
    color: var(--bb-embed-list-card-save-color);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.bb-embed-card-meta {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 4;
    display: grid;
    gap: 3px;
    padding: 8px 12px;
    border-radius: 8px;
    background: var(--bb-embed-list-card-meta-background);
    color: var(--bb-embed-list-card-meta-color);
    box-shadow: var(--bb-embed-list-card-meta-shadow);
}

.bb-embed-card-meta strong {
    font-size: 11px;
    line-height: 1;
}

.bb-embed-card-meta span {
    font-size: 10px;
    line-height: 1;
    opacity: 0.92;
}

.bb-embed-card-content {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    padding: 10px 14px 12px;
    color: var(--bb-embed-list-card-content-color);
}

.bb-embed-card-badge {
    display: inline-flex;
    align-items: center;
    min-height: 22px;
    margin-bottom: 8px;
    padding: 0 12px;
    border-radius: var(--radius-pill);
    background: var(--bb-embed-list-card-badge-background);
    color: var(--bb-embed-list-card-badge-color);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.bb-embed-card-title {
    margin: 0 0 8px;
    font-size: clamp(1rem, 2vw, 1.15rem);
    font-weight: 700;
    line-height: 1.15;
}

.bb-embed-card-title a {
    color: var(--bb-embed-list-card-title-color);
}

.bb-embed-card-location a {
    color: var(--bb-embed-list-card-location-color);
    font-size: 12px;
}

.bb-embed-card-rating {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
}

.bb-embed-card-score {
    background: var(--bb-embed-list-card-score-background);
    color: var(--bb-embed-list-card-score-color);
    border-radius: 4px;
    padding: 8px 10px;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.bb-embed-card-reviews {
    color: var(--bb-embed-list-card-reviews-color);
    font-size: 11px;
    opacity: 0.92;
    text-align: right;
}

.bb-embed-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 12px;
    padding-top: 10px;
    border-top: 1px solid var(--bb-embed-list-card-footer-border-color);
}

.bb-embed-card-taxonomy {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.bb-embed-card-taxonomy-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    flex: 0 0 28px;
}

.bb-embed-accent-red {
    background: var(--bb-embed-list-accent-red);
}

.bb-embed-accent-blue {
    background: var(--bb-embed-list-accent-blue);
}

.bb-embed-accent-yellow {
    background: var(--bb-embed-list-accent-yellow);
}

.bb-embed-accent-green {
    background: var(--bb-embed-list-accent-green);
}

.bb-embed-card-taxonomy span,
.bb-embed-card-price,
.bb-embed-card-author a span {
    font-size: 11px;
    white-space: nowrap;
}

.bb-embed-card-taxonomy span {
    color: var(--bb-embed-list-card-taxonomy-color);
}

.bb-embed-card-price {
    color: var(--bb-embed-list-card-price-color);
    font-weight: 700;
}

.bb-embed-card-author a span {
    color: var(--bb-embed-list-card-author-color);
}

.bb-embed-card-author {
    min-width: 0;
}

.bb-embed-nav-btn {
    position: absolute;
    top: 50%;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 50%;
    background: var(--bb-embed-list-nav-background);
    color: var(--bb-embed-list-nav-color);
    box-shadow: var(--bb-embed-list-nav-shadow);
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 18px;
    line-height: 1;
}

.bb-embed-nav-btn-prev {
    left: 8px;
}

.bb-embed-nav-btn-next {
    right: 8px;
}

.bb-embed-agenda-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.bb-embed-agenda-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.bb-embed-agenda-widget {
    width: min(100%, 520px);
    height: 100%;
    max-height: 100%;
    aspect-ratio: 9 / 10;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--bb-embed-agenda-widget-border-color);
    background: var(--bb-embed-agenda-widget-background);
    box-shadow: var(--bb-embed-agenda-widget-shadow);
}

.bb-embed-agenda-header {
    flex: 0 0 auto;
    padding: 16px 18px;
    border-bottom: 1px solid var(--bb-embed-agenda-header-border-color);
    background: var(--bb-embed-agenda-header-background);
}

.bb-embed-agenda-header h3 {
    margin: 0;
    color: var(--bb-embed-agenda-header-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.bb-embed-agenda-content {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    padding: 14px;
    background: var(--bb-embed-agenda-content-background);
    scrollbar-width: thin;
}

.bb-embed-agenda-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 12px;
}

.bb-embed-agenda-item {
    display: grid;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 14px;
    align-items: center;
    padding: 12px;
    border-radius: 8px;
    background: var(--bb-embed-agenda-item-background);
}

.bb-embed-agenda-thumb {
    display: block;
    width: 72px;
    height: 56px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--bb-embed-agenda-thumb-background);
}

.bb-embed-agenda-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bb-embed-agenda-item-body {
    min-width: 0;
}

.bb-embed-agenda-item-title-wrap {
    position: relative;
    min-height: 56px;
    padding-right: 140px;
}

.bb-embed-agenda-item-title {
    margin: 0 0 6px;
    font-size: 1rem;
    line-height: 1.2;
}

.bb-embed-agenda-item-title a {
    color: var(--bb-embed-agenda-title-color);
    font-weight: 700;
}

.bb-embed-agenda-item-date {
    display: block;
    color: var(--bb-embed-agenda-date-color);
    font-size: 0.92rem;
    line-height: 1.25;
}

.bb-embed-agenda-item-buy {
    position: absolute;
    right: 0;
    bottom: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 30px;
    padding: 0 14px;
    border-radius: 4px 0 0 4px;
    background: var(--bb-embed-agenda-buy-background);
    color: var(--bb-embed-agenda-buy-color);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: var(--bb-embed-agenda-buy-shadow);
}

.bb-embed-agenda-footer {
    flex: 0 0 auto;
    border-top: 1px solid var(--bb-embed-agenda-footer-border-color);
    background: var(--bb-embed-agenda-footer-background);
}

.bb-embed-agenda-footer a {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 12px 18px;
    color: var(--bb-embed-agenda-footer-color);
    font-size: 0.96rem;
    font-weight: 700;
}

.bb-embed-agenda-empty {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
}

.bb-embed-agenda-empty .bb-embed-empty-title {
    font-size: clamp(1.05rem, 3.4vw, 1.7rem);
}

.bb-embed-agenda-empty .bb-embed-empty-subtitle {
    font-size: clamp(1.8rem, 7vw, 3.2rem);
}

.bb-embed-gallery-section {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.bb-embed-gallery-shell {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
}

.bb-embed-gallery-widget {
    width: 100%;
    height: 100%;
    max-height: 100%;
    aspect-ratio: 8 / 3;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 12px;
    border: 1px solid var(--bb-embed-gallery-widget-border-color);
    background: var(--bb-embed-gallery-widget-background);
    box-shadow: var(--bb-embed-gallery-widget-shadow);
}

.bb-embed-gallery-header {
    flex: 0 0 auto;
    padding: 16px 18px;
    border-bottom: 1px solid var(--bb-embed-gallery-header-border-color);
    background: var(--bb-embed-gallery-header-background);
}

.bb-embed-gallery-header h3 {
    margin: 0;
    color: var(--bb-embed-gallery-header-color);
    font-size: 1.1rem;
    font-weight: 700;
}

.bb-embed-gallery-content {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    padding: 14px 0;
    background: var(--bb-embed-gallery-content-background);
}

.bb-embed-gallery-slider-wrap {
    position: relative;
    height: 100%;
}

.bb-embed-gallery-viewport {
    height: 100%;
    overflow: hidden;
}

.bb-embed-gallery-track {
    display: flex;
    align-items: stretch;
    gap: 12px;
    height: 100%;
    margin: 0;
    padding: 0 14px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x proximity;
    scroll-padding-inline: 14px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.bb-embed-gallery-track::-webkit-scrollbar {
    display: none;
}

.bb-embed-gallery-track.bb-embed-count-1 {
    justify-content: center;
}

.bb-embed-gallery-track.bb-embed-count-1 .bb-embed-gallery-slide {
    flex-basis: min(calc(100% - 28px), 420px);
}

.bb-embed-gallery-slide {
    flex: 0 0 min(100%, 320px);
    min-width: 0;
    height: 100%;
    scroll-snap-align: start;
}

.bb-embed-gallery-item {
    display: block;
    height: 100%;
    min-height: 0;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bb-embed-gallery-item-background);
}

.bb-embed-gallery-media {
    position: relative;
    height: 100%;
    overflow: hidden;
    background: var(--bb-embed-gallery-media-background);
}

.bb-embed-gallery-media::before {
    content: '';
    position: absolute;
    inset: 38% 0 0;
    z-index: 1;
    background: var(--bb-embed-gallery-media-overlay);
    pointer-events: none;
}

.bb-embed-gallery-media::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 2;
    background: var(--bb-embed-gallery-media-hover-overlay);
    opacity: 0;
    transition: opacity .35s ease;
}

.bb-embed-gallery-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease, filter .45s ease;
}

.bb-embed-gallery-likes-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    left: auto;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 34px;
    padding: 0 12px;
    border-radius: 8px;
    background: var(--bb-embed-gallery-likes-background);
    color: var(--bb-embed-gallery-likes-color);
    box-shadow: var(--bb-embed-gallery-likes-shadow);
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
}

.bb-embed-gallery-likes-icon {
    font-size: 12px;
    line-height: 1;
}

.bb-embed-gallery-zoom {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 5;
    width: 90px;
    height: 90px;
    margin-left: -45px;
    margin-top: -45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: var(--bb-embed-gallery-zoom-background);
    color: var(--bb-embed-gallery-zoom-color);
    font-size: 14px;
    font-weight: 700;
    line-height: 1.1;
    text-align: center;
    opacity: 0;
    transform: scale(.82);
    transition: opacity .35s ease, transform .35s ease;
    pointer-events: none;
}

.bb-embed-gallery-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 3;
    padding: 14px 16px 16px;
    color: var(--bb-embed-gallery-overlay-color);
}

.bb-embed-gallery-overlay-body {
    display: grid;
    gap: 6px;
}

.bb-embed-gallery-overlay-title {
    margin: 0;
    color: var(--bb-embed-gallery-title-color);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    font-weight: 700;
    line-height: 1.15;
}

.bb-embed-gallery-overlay-date {
    color: var(--bb-embed-gallery-date-color);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
}

.bb-embed-gallery-item:hover .bb-embed-gallery-media img,
.bb-embed-gallery-item.bb-embed-gallery-item-active .bb-embed-gallery-media img {
    transform: scale(1.08);
    filter: saturate(1.05);
}

.bb-embed-gallery-item:hover .bb-embed-gallery-media::after,
.bb-embed-gallery-item.bb-embed-gallery-item-active .bb-embed-gallery-media::after {
    opacity: 1;
}

.bb-embed-gallery-item:hover .bb-embed-gallery-zoom,
.bb-embed-gallery-item.bb-embed-gallery-item-active .bb-embed-gallery-zoom {
    opacity: 1;
    transform: scale(1);
}

.bb-embed-gallery-empty {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 18px;
    text-align: center;
}

@media (max-width: 640px) {
    .bb-embed-agenda-shell {
        padding: 6px;
    }

    .bb-embed-agenda-widget {
        width: 100%;
    }

    .bb-embed-agenda-header {
        padding: 14px 16px;
    }

    .bb-embed-agenda-content {
        padding: 10px;
    }

    .bb-embed-agenda-item {
        grid-template-columns: 64px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
    }

    .bb-embed-agenda-thumb {
        width: 64px;
        height: 50px;
    }

    .bb-embed-agenda-item-title-wrap {
        min-height: 50px;
        padding-right: 108px;
    }

    .bb-embed-agenda-item-title {
        font-size: 0.92rem;
    }

    .bb-embed-agenda-item-date {
        font-size: 0.86rem;
    }

    .bb-embed-agenda-item-buy {
        min-height: 28px;
        padding: 0 10px;
        font-size: 9px;
    }

    .bb-embed-agenda-footer a {
        min-height: 48px;
        font-size: 0.92rem;
    }

    .bb-embed-gallery-shell {
        padding: 6px;
    }

    .bb-embed-gallery-content {
        padding: 10px 0;
    }

    .bb-embed-gallery-track {
        gap: 10px;
        padding: 0 10px;
        scroll-padding-inline: 10px;
    }

    .bb-embed-gallery-slide {
        flex-basis: min(calc(100% - 20px), 290px);
    }

    .bb-embed-gallery-track.bb-embed-count-1 .bb-embed-gallery-slide {
        flex-basis: calc(100% - 20px);
    }

    .bb-embed-gallery-likes-badge {
        top: 10px;
        right: 10px;
        min-height: 30px;
        padding: 0 10px;
        font-size: 10px;
    }

    .bb-embed-gallery-zoom {
        width: 76px;
        height: 76px;
        margin-left: -38px;
        margin-top: -38px;
        font-size: 12px;
    }

    .bb-embed-gallery-overlay {
        padding: 12px 12px 14px;
    }

    .bb-embed-gallery-overlay-title {
        font-size: 0.96rem;
    }

    .bb-embed-gallery-overlay-date {
        font-size: 11px;
    }
}

@media (min-width: 641px) {
    .bb-embed-track {
        gap: 18px;
        padding: 0 12px;
        scroll-padding-inline: 12px;
    }

    .bb-embed-track.bb-embed-count-1,
    .bb-embed-track.bb-embed-count-2 {
        justify-content: center;
    }

    .bb-embed-track.bb-embed-count-1 .bb-embed-slide {
        flex-basis: min(100%, 640px);
    }

    .bb-embed-track.bb-embed-count-2 .bb-embed-slide {
        flex-basis: calc((100% - 18px) / 2);
    }

    .bb-embed-slider-wrap.bb-embed-count-1 .bb-embed-nav-btn,
    .bb-embed-slider-wrap.bb-embed-count-2 .bb-embed-nav-btn {
        display: none;
    }

    .bb-embed-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
        background: var(--bb-embed-list-nav-desktop-background);
        color: var(--bb-embed-list-nav-desktop-color);
    }

    .bb-embed-nav-btn-prev {
        left: 12px;
    }

    .bb-embed-nav-btn-next {
        right: 12px;
    }

    .bb-embed-gallery-track {
        gap: 16px;
        padding: 0 18px;
        scroll-padding-inline: 18px;
    }

    .bb-embed-gallery-track.bb-embed-count-1,
    .bb-embed-gallery-track.bb-embed-count-2 {
        justify-content: center;
    }

    .bb-embed-gallery-track.bb-embed-count-1 .bb-embed-gallery-slide {
        flex-basis: min(calc(100% - 36px), 460px);
    }

    .bb-embed-gallery-track.bb-embed-count-2 .bb-embed-gallery-slide {
        flex-basis: calc((100% - 16px - 36px) / 2);
    }

    .bb-embed-gallery-slider-wrap.bb-embed-count-1 .bb-embed-nav-btn,
    .bb-embed-gallery-slider-wrap.bb-embed-count-2 .bb-embed-nav-btn {
        display: none;
    }
}
