.fp-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.fp-item {
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
}

.fp-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease, filter 0.3s ease;
    aspect-ratio: 4 / 3;
}

.fp-item:hover img {
    transform: scale(1.1);
    filter: brightness(0.8);
}

/* LIGHTBOX */
.fp-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.95);

    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;

    z-index: 9999999;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition: opacity 0.3s ease;
}


.fp-lightbox,
.fp-lightbox * {
    z-index: 999999;
}

.fp-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.fp-lightbox-img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    opacity: 1;
    transition: opacity 0.25s ease;
}

/* BOTÕES */
.fp-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
}

.fp-prev, .fp-next {
    position: fixed; /* 🔥 muda aqui */
    top: 50%;
    transform: translateY(-50%);
    font-size: 40px;
    color: #fff;
    cursor: pointer;
    padding: 10px;
        z-index: 10000;
}

.fp-prev { left: 20px; }
.fp-next { right: 20px; }

/* THUMBS */
.fp-thumbs {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    overflow-x: auto;
    max-width: 90%;

    scrollbar-width: none;
    -ms-overflow-style: none;
}

.fp-thumbs::-webkit-scrollbar {
    display: none;
}

.fp-thumbs img {
    width: 70px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    opacity: 0.6;
    cursor: pointer;
    transition: 0.3s;
}

.fp-thumbs img.active {
    opacity: 1;
    transform: scale(1.1);
    border: 2px solid #fff;
}

@media (max-width: 768px) {

    .fp-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .fp-item {
        border-radius: 10px;
    }

    .fp-item:hover img {
        transform: none;
        filter: none;
    }

}

/* FAQ */

.fp-faq {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.fp-faq-item {
    border: 1px solid #0D5028;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}

.fp-faq-question {
    width: 100%;
    background: #fff;
    border: none;
    padding: 10px 20px;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    position: relative;
	color: #0D5028;
}

.fp-faq-question::after {
    content: '+';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 22px;
	color:#0D5028;
}

.fp-faq-item.active .fp-faq-question::after {
    content: '-';
}

.fp-faq-answer {
    display: none;
    overflow: hidden;

    max-height: 0;

    padding: 0 20px;

    color: #000000;
    line-height: 1.6;

    transition: max-height 0.3s ease;
}

.fp-faq-item.active .fp-faq-answer {
    padding: 0 20px 20px;
}