﻿/* HEADER TRANSPARENTE */
header {
    position: fixed;
    width: 100%;
    z-index: 1000;
    /*background: transparent;*/
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

    header .nav-link {
        color: #6e6f70 !important;
    }

    /* Navbar fica branca ao passar o mouse */
    header:hover {
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

    /* Navbar fica branca quando rolar a página */
    header.scrolled {
        top: 0px;
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    }

        /* Deixar links pretos quando a navbar estiver branca */
        header.scrolled .nav-link,
        header:hover .nav-link {
            color: #000 !important;
            text-shadow: none;
        }

        header.scrolled .topbar-text,
        header:hover .topbar-text {
            color: #fff !important;
            text-shadow: none;
        }

    header.activatemenu {
        background: #fff;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        transition: background 0.3s ease, box-shadow 0.3s ease;
        color: #000 !important;
    }

    /* Ajuste do logo (opcional para versão transparente) */
    header .navbar-brand img {
        transition: filter 0.3s;
    }

    header.scrolled .navbar-brand img,
    header:hover .navbar-brand img {
        filter: none; /* Se quiser escurecer ou clarear, pode usar brightness() */
    }

.product-footer {
    flex-grow: 1;
    display: flex;
    align-items: end;
    padding: 1rem 1.25rem;
    justify-content: center;
    height: 80px;
}

.product-card {
    transition: box-shadow 0.23s, border 0.23s, transform 0.23s;
    min-height: 500px;
    max-height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.product-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 2.8em;
    white-space: normal;
    font-size: 1rem;
    line-height: 1.4;
    margin-bottom: 0.1em;
}

.card-img-top {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 10px 10px 0 0;
}

    .card-img-top img,
    .card-img-top picture img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        display: block;
        background: #fff;
        margin: auto;
    }


/*@media (max-width: 768px) {
    .product-card {
        min-height: 350px;
        max-height: 380px;
    }

    .product-title {
        -webkit-line-clamp: 4;
        height: 5.6em;
    }

    .card-img-top {
        height: 180px;
    }
}*/

@media (max-width: 576px) {
    .product-card {
        min-height: 350px;
        max-height: 390px;
    }

    .product-title {
        -webkit-line-clamp: 4;
        height: 5.6em;
    }

    .card-img-top {
        height: 200px;
    }

        .card-img-top img,
        .card-img-top picture img {
            max-width: 90%;
            max-height: 100%;
        }
}

.product-card .product-footer {
    display: block;
    opacity: 0;
    transition: opacity 0.3s;
    height: 80px;
}

.card-img-top {
    position: relative;
}

    .card-img-top .hover-img {
        display: none;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
    }

.product-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
    width: 100%;
    /* transform: scale(1.03); */
}

    .product-card:hover .main-img {
        display: block;
    }

    .product-card:hover .hover-img {
        display: block;
    }

    .product-card:hover .product-footer {
        display: block;
        opacity: 1;
    }

.product-card .product-instalments {
    display: block;
    opacity: 0;
    transition: opacity 0.15s;
}

.product-card:hover .product-instalments {
    display: block;
    opacity: 1;
}

@media (max-width: 768px) {
    .fullscreen-banner img {
        object-fit: contain;
    }
}

.playlist-area {
    position: absolute;
    display: block;
    z-index: 10;
}

.playlist-area {
    top: 15%;
    left: 6.73%;
    width: 45%;
    height: 56%;
}

@media (max-width: 768px) {
    Posição para Mobile
    .playlist-area {
        top: 42%;
        left: 25%;
        width: 55%;
        height: 36%;
    }
}
