.bidoe-reels {
    position: relative;
    width: 100%;
}

.bidoe-reels-inner {
    display: flex;
    align-items: center;
    gap: 12px;
}

.bidoe-reels-viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.bidoe-reels.bidoe-touch .bidoe-reels-viewport {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
}

.bidoe-reels-track {
    display: flex;
    flex-wrap: nowrap;
    gap: var(--bidoe-reels-gap, 16px);
    overflow: hidden;
    padding: 10px 0;
}

.bidoe-reels.bidoe-touch .bidoe-reels-track {
    overflow: visible;
}

.bidoe-reel {
    position: relative;
    width: 100%;
    aspect-ratio: var(--bidoe-aspect, 9/16);
    height: var(--bidoe-reel-height, auto);
    background: #0f0f0f;
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: center;
    display: flex;
    flex-direction: column;
    opacity: 0.35;
    transform: scale(0.97);
    transform-origin: center center;
    transition: opacity 0.35s ease, transform 0.45s ease;
    will-change: opacity, transform;
}

.bidoe-reel-media {
    flex: 1;
    position: relative;
}

.bidoe-reel-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bidoe-reel-overlay {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 12px;
    background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0.55) 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.bidoe-reel-title {
    font-weight: 700;
}

.bidoe-reel-caption {
    font-size: 14px;
    line-height: 1.4;
}

.bidoe-reel-cta {
    align-self: flex-start;
    background: #ffb300;
    color: #1f1f1f;
    padding: 8px 12px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bidoe-reel-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.18);
}

.bidoe-reel.is-visible {
    opacity: 1;
    transform: scale(1);
}

.bidoe-reels-nav {
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    border: none;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease;
}

.bidoe-reels-nav:hover {
    background: rgba(0, 0, 0, 0.8);
}

.bidoe-reels-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
}

.bidoe-reels-dots button {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    border: none;
    background: rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.bidoe-reels-dots button.is-active {
    background: rgba(0,0,0,0.6);
    transform: scale(1.2);
}

.bidoe-reels-placeholder {
    padding: 12px;
    background: #f5f5f5;
}

@media (max-width: 1024px) {
    .bidoe-reels-inner {
        gap: 8px;
    }
}
