* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body{
    background-color: #000000ec;
}

header.header {
    display: flex;
    position: fixed;
    width: 80%;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    min-height: 18vh;
    background: none;
    backdrop-filter: blur(4px) brightness(0.07);
    justify-content: center;
    align-items: left;
    align-content: center;
    padding: 0 20px;
    flex-direction: column;
    border-radius: 40px;
    border: 2px solid rgb(0, 0, 0);
    box-shadow: inset 0 0 8px rgb(255, 196, 0);
    z-index: 999999999999;
}

@media (max-width: 600px) {
    header.header {
        width: 100%;
        top: 0;
        left: 0;
        transform: none;
        border-radius: 0;
        background: none;
        backdrop-filter: blur(4px) brightness(0.08);
    }
    input#barra-de-pesquisa:focus ~ img#btn-pesquisar{
        animation: none !important;
    }
    img#btn-pesquisar{
        position: absolute;
        top: 50%;
        right: 0;
        width: auto;
        padding: 2px;
        height: 28px !important;
        margin-right: 8px;
        transform: translate(-50%, -50%);
    }
    input#barra-de-pesquisa{
        padding-right: 40px;
    }
}

h1.titulo-h {
    font-size: clamp(24px, 5vw, 34px);
    letter-spacing: clamp(1px, 0.5vw, 4px);
    color: white;
    text-shadow: 0 0 8px #FFD700;
    width: 100%;
    margin: 8px 0;
    text-align: center;
}




div.div-pesquisa {
    width: 100%;
    height: 30%;
    display: flex;
    justify-content: center;
    margin-bottom: 12px;
    border-radius: 20px;
    position: relative;
}

input#barra-de-pesquisa {
    width: clamp(280px, 90%, 600px);
    height: 6vh;
    background-color: #080801; 
    color: #fae678;            
    border: 2px solid #FFD700; 
    outline: none;
    padding-inline-start: 8px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    text-shadow: none;
    box-shadow: inset 0 0 4px yellow;
}

input#barra-de-pesquisa:focus {
    outline: none;
    border: 2px solid #f7e581; 
    border-left: 2px solid #ffffff; 
    border-right: 2px solid #ffffff;
    text-shadow: 0 0 2px rgb(255, 187, 0);
}

input#barra-de-pesquisa::placeholder {
    text-shadow:  none;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.418);
}

img#btn-pesquisar{
    max-width: 32px;
    height: 32px;
    cursor: pointer;
    filter: drop-shadow(0 0 2px rgb(204, 175, 10));
    margin-left: 8px;
    transform-origin: right bottom;
}

input#barra-de-pesquisa:focus ~ img#btn-pesquisar{
    animation: anima-pesquisar 1.2s ease;
}

@keyframes anima-pesquisar {
    0%{
        filter: drop-shadow(0 0 2px rgb(204, 175, 10));
        transform: rotate(0deg) scale(1.0);
    }
    50%{
        filter: drop-shadow(0 0 8px rgb(238, 255, 1));
        transform: rotate(45deg) scale(0.93);
    }
    100%{
        filter: drop-shadow(0 0 2px rgb(204, 175, 10));
        transform: rotate(0deg) scale(1.0);
    }
}


/*******************/
/*     [MAIN]      */
/*******************/

main.produtos {
    width: 100%;
    min-height: 100%;
    padding: 22vh 20px 40px;

    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    justify-items: center;

    grid-auto-rows: minmax(180px, 340px);
}



/*******************/
/*   [CARD BASE]   */
/*******************/

div.protudo {
    background-color: #1c1c1c;
    border: 1px solid #333;
    border-radius: 10px;
    width: clamp(280px, 90vw, 300px);
    overflow: hidden;
    height: auto;
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 0 12px #00000055;
    transition: transform 0.2s ease;
    cursor: pointer;
}

div.protudo:hover {
    transform: scale(1.008);
}

/*******************/
/*   [IMAGEM]      */
/*******************/

img.imagem-oferta {
    width: auto;
    height: 60%;
    display: block;
    object-fit: cover;
}

h3.desc {
    position: absolute;
    top: 10px;
    right: 10px;

    background: #ffa600;
    color: #fff;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: 0 0 3px #000;
    box-shadow: 0 2px 6px rgba(0,0,0,0.6);
    z-index: 1;
}

/*******************/
/*    [INFO]       */
/*******************/

div.info-p {
    cursor: default;
    padding: 12px;
    box-shadow: 0 -1px 2px #000;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow: auto;
}

div.info-p h2 {
    font-size: clamp(16px, 2.5vw, 20px);
    color: white;
}

/*******************/
/*   [PREÇO]       */
/*******************/

div.valor {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

h3.preco {
    color: #FFD700;
    font-size: 18px;
}

p.dura {
    background-color: #FFD700;
    color: #000;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 14px;
}

/*******************/
/*   [SITE]        */
/*******************/

div.site {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
}

div.oferecedor {
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 20px;
    width: max-content;
    padding: 3px 8px;
    background: var(--mercadolivre);
}

img.imagem-ofertador {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

h3.nome-ofertador {
    color: white;
    font-size: 16px;
    margin: 0;
    font-weight: 700;
    text-shadow: 0 0 8px #000, 0 0 3px #000;
}

h4.loja {
    color: #ccc;
    font-size: 13px;
    margin: 0;
    margin-left: 4px;
    width: max-content;
    vertical-align: middle;
}

div.info-vendedor{
    display: flex;
    flex-direction: row;
    gap: 2px;
    margin-top: 2px;
    align-items: center;
}

img.icone-verificado{
    display: inline !important;
    width: 14px;
    max-height: 14px;
    vertical-align: middle;

}


/*******************/
/*   [FIM - FOOTER]        */
/*******************/

footer.aplicacoes {
    background-color: #1d1d1d;
    padding: 20px 10px;
    text-align: center;
    color: #c5c5c5;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-top: 1px solid #000000;
}

footer.aplicacoes .autoria {
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    font-weight: 600;
    margin-bottom: 6px;
}

footer.aplicacoes .avisso {
    font-size: clamp(0.8rem, 1.2vw, 1rem);
    color: #666;
    width: 100%;
    margin: 0 auto 10px;
    line-height: 1.5;
}

/* UL de políticas */
footer.aplicacoes .politicas {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* LI de políticas */
footer.aplicacoes .politicas li a {
    font-size: clamp(0.85rem, 1.2vw, 1rem);
    color: #b6b6b6;
    cursor: pointer;
    transition: color 0.3s ease;
}

footer.aplicacoes .politicas li a:hover {
    color: #fff781;
    text-decoration: underline;
}




.info-poblema{
    width: max-content;
    height: max-content;
    padding: 6px 12px;
    font-size:  clamp(18px, 5vw, 26px);;
    border: 2px solid yellow;
    margin: auto 0;

}
