/* Shortcode: ff_banner_produto – banner galeria página produto */

.ff-banner-produto {
    position: relative;
    width: 100%;
    max-height: 700px;
    margin-bottom: 15px;
    overflow: hidden;
}

.ff-banner-produto-slider {
    position: relative;
    max-height: 700px;
}

.ff-banner-produto-slider .slick-list,
.ff-banner-produto-slider .slick-track {
    max-height: 700px;
}

.ff-banner-produto-slider .slick-list {
    margin: 0 -2.5px;
}

.ff-banner-produto-slider .slick-slide {
    margin: 0 2.5px;
}

.ff-banner-produto-slide {
    outline: none;
}

.ff-banner-produto-link {
    display: block;
    cursor: pointer;
}

.ff-banner-produto-img {
    width: 100%;
    height: auto;
    max-height: 700px;
    height: 700px !important;
    display: block;
    object-fit: cover;
    vertical-align: top;
}

.ff-banner-produto-badge {
    position: absolute;
    bottom: 12px;
    right: 12px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.65);
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

.ff-banner-produto-badge-icon {
    display: inline-flex;
    align-items: center;
}

.ff-banner-produto-badge-icon svg {
    flex-shrink: 0;
}

.ff-banner-produto .slick-prev,
.ff-banner-produto .slick-next {
    width: 44px;
    height: 44px;
    z-index: 5;
    background: #ef4935 !important;
    color: #fff !important;
    border: none;
    border-radius: 6px;
    font-size: 0;
    line-height: 1;
}

.ff-banner-produto .slick-prev:hover,
.ff-banner-produto .slick-next:hover {
    background: #d93d29 !important;
    color: #fff !important;
}

.ff-banner-produto .slick-prev:before,
.ff-banner-produto .slick-next:before {
    font-family: inherit;
    font-size: 32px;
    font-weight: 200;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.ff-banner-produto .slick-prev {
    left: 12px;
}

.ff-banner-produto .slick-prev:before {
    content: '\2039';
}

.ff-banner-produto .slick-next {
    right: 12px;
}

.ff-banner-produto .slick-next:before {
    content: '\203A';
}

.ff-banner-produto-lightbox {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
    box-sizing: border-box;
}

.ff-banner-produto-lightbox[hidden] {
    display: none !important;
}

.ff-banner-produto-lightbox-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
}

.ff-banner-produto-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.ff-banner-produto-lightbox-prev,
.ff-banner-produto-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: #ef4935;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 32px;
    font-weight: 200;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ff-banner-produto-lightbox-prev:hover,
.ff-banner-produto-lightbox-next:hover {
    background: #d93d29;
    color: #fff;
}

.ff-banner-produto-lightbox-prev {
    left: 16px;
}

.ff-banner-produto-lightbox-next {
    right: 16px;
}

.ff-banner-produto-lightbox-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Telemóvel */
@media (max-width: 768px) {
    .ff-banner-produto {
        height: 250px;
        max-height: 250px;
    }

    .ff-banner-produto-slider,
    .ff-banner-produto-slider .slick-list,
    .ff-banner-produto-slider .slick-track {
        max-height: 250px;
    }

    .ff-banner-produto-img {
        max-height: 250px;
        object-fit: cover;
    }
    .ff-banner-produto-img {
        height: 250px !important;
    }
}
