/* Estrutura Base */
.jpwpp_fb-container {
    width: 100%;
    /* Altura agora é dinâmica via Shortcode */
    overflow: hidden;
    position: relative;
}

/* Slide com Conteúdo (Fundo) */
.jpwpp_fb-slide-content-wrapper {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.jpwpp_fb-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    /* Escurece para legibilidade */
    z-index: 1;
}

.jpwpp_fb-content-inner {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    padding: 20px;
}

.jpwpp_fb-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.jpwpp_fb-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.jpwpp_fb-cta-button {
    display: inline-block;
    padding: 12px 30px;
    background-color: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.3s;
}

.jpwpp_fb-cta-button:hover {
    background-color: #005177;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Tipos de CTA Personalizados */
.jpwpp_fb-cta-whatsapp {
    background-color: #25d366 !important;
}

.jpwpp_fb-cta-whatsapp:hover {
    background-color: #128c7e !important;
}

.jpwpp_fb-cta-telegram {
    background-color: #0088cc !important;
}

.jpwpp_fb-cta-telegram:hover {
    background-color: #006699 !important;
}

.jpwpp_fb-cta-compra {
    background-color: #e67e22 !important;
    text-transform: uppercase;
}

.jpwpp_fb-cta-compra:hover {
    background-color: #d35400 !important;
}

/* Slide apenas Imagem */
.jpwpp_fb-image-only-link {
    display: block;
    width: 100%;
    height: 100%;
}

.jpwpp_fb-image-only-link img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ajustes para Slider Nativo (Fade) */
.jpwpp_fb-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.jpwpp_fb-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s;
    z-index: 1;
}

.jpwpp_fb-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 5;
}

/* Navegação Nativa */
.jpwpp_fb-next,
.jpwpp_fb-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: #fff !important;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.3s;
}

.jpwpp_fb-next {
    right: 20px;
}

.jpwpp_fb-prev {
    left: 20px;
}

.jpwpp_fb-next:hover,
.jpwpp_fb-prev:hover {
    opacity: 0.8;
}

.jpwpp_fb-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.jpwpp_fb-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    display: inline-block;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.jpwpp_fb-bullet.active {
    background: #fff !important;
}

@media (max-width: 768px) {
    .jpwpp_fb-title {
        font-size: 2rem;
    }

    .jpwpp_fb-container {
        /* Altura agora é dinâmica via Shortcode */
    }
}