/* --- Estilos Originais --- */
*{
    margin: 0;
    padding: 0;
    border: 0;
}

#interface{
    position: relative;
    margin: auto;
    width: 100%;
    height: auto;
}

header{
    position: relative;
    display: flex;
    justify-content: center;
    margin: auto;
    width: 100%;
    height: 70px;
    background: linear-gradient(silver,black);
}

img#veios{
    width: 100px;
    left:20px;
}
img#lokos{
    width: 100px;
    left:-17px;
}

.img{
    position: relative;
    margin-left: 12px;
    margin-bottom: 10px;
    width: 32%;
    height: 80%;
}
#logo{
    position: relative;
    margin-left: 14px;
    height: 110px;
    z-index: 1;
}
    #texto{
        display: flex;
        justify-content: space-between;
        position: absolute;
        width: 100%;
        height: auto;
        color: rgb(65, 65, 194);
    }

    main{
        background-color: black;
        display: flex;
        flex-direction: column;
        justify-content: center;
        margin: auto;
        width: 100%;
        height: auto;
    }
 
    /*--------------------------------------------------------------------------------------cardVenda*/
    #cardVenda{
        margin-top: 10px;
        padding: 10px;
        display: flex;
        justify-content: center;
        background-image: url(./imagem/Originals/background.jpg);
        background-repeat: no-repeat;
        background-position: center;
        background-size: cover;
        width: 100%;
        height: auto;
    }


    #card{
        margin: 20px;
        border-radius: 20px;
        display: flex;
        flex-direction: column;
        width: 200px;
        height: 400px;
        background-color: rgb(57, 57, 83);
    }
    #produto{
        margin: auto;
        width: 180px;
        height: 200px;
        background-image: url(./imagem/background.jpg);
        background-repeat: no-repeat;
        background-size: 100%;
        border: 1px solid gold;
    }
    #preço{
        margin: auto;
        width: 180px;
        height: 100px;
        background-color: rgba(250, 249, 249, 0.274);
        border-radius: 10px;
        border: 1px solid gold;
    }
    #imgcamisa{
        margin-left: -5px;
        width: 190px;
    }
    img#camisa{
        width: 100%;
        height: 200px;
    }
 
    #preço h2{
        color: rgb(251, 251, 252);
        -webkit-text-stroke: 0.2px;
        -webkit-text-stroke-color: rgb(15, 15, 15);
    }
    #preço h3{
        font-size: 13px;
        color: rgb(17, 17, 20);
    }
    #preço h4{
        margin-left: 15px;
        font-size: 38px;
        color: rgb(212, 5, 5);
    }
    /*---------------------------------------*/
    #historico{
        display: flex;
        align-items: center;
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
    }
    #historCard{
        padding: 10px;
    }
    .historCard{
        width: 110px;
        height: 120px;
        cursor: pointer; /* Adicionado para indicar que é clicável */
    }

    /*----------------------------------------------------------------*/
    #bolaOuro{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        height: auto;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    #Jboladeouro{
        color: gold;
    }

    #Bouro{
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin: 10px;
    }

    .bolaOuro{
        height: 100px;
        padding: 5px;
        cursor: pointer; /* Adicionado para indicar que é clicável */
    }

/* --- NOVO: Estilos do Modal (Imagem Ampliada) --- */
.modal {
    display: none; 
    position: fixed; 
    z-index: 999; 
    padding-top: 50px; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.9); 
}

.modal-conteudo {
    margin: auto;
    display: block;
    width: 80%; 
    max-width: 700px; 
    animation-name: zoom;
    animation-duration: 0.6s;
}

/* Animação para aparecer */
@keyframes zoom {
    from {transform: scale(0.1)} 
    to {transform: scale(1)}
}

/* O botão de fechar (x) */
.fechar {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.fechar:hover,
.fechar:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* --- NOVO: Responsividade Geral --- */
@media (max-width: 600px) {
    /* Header */
    header {
        height: 55px; 
    }
    #logo {
        height: 70px; 
        margin-left: 0;
    }
    .img {
        width: 30%; 
        height: 70%;
    }
    #texto h4 {
        font-size: 10px; 
    }

    /* Cards de Venda */
    #cardVenda {
        flex-direction: column; 
        align-items: center;
    }
    #card {
        margin: 10px 0; 
    }

    /* Imagens de Histórico */
    .historCard {
        width: 90px; 
        height: 100px;
    }
    #historCard {
        padding: 5px;
    }
    
    /* Imagens Bola de Ouro */
    .bolaOuro {
        height: 80px; 
        padding: 3px;
    }

    /* Modal Responsivo */
    .modal-conteudo {
        width: 95%; 
    }
}