form {
    overflow-y: auto;
}

fieldset {
    height: 100%;
}

article {
    height: 100%;
    //justify-content: space-between;
    overflow: visible;
}

#id_Div_Pagamento {
    margin-top: auto;
}

img, div:has(video), #id_Div_Product_1, #id_Div_Product_3 {
    width: 100%;
    max-width: 550px;
    min-width: 100%;
}

video {
    /*aspect-ratio: 16 / 9;*/
    /*max-height: 282px;*/
    /*object-fit: cover;*/
    object-position: 50% 50%;
    max-width: 500px;
    width: 100%;
    max-height: 100%;
    border-radius: 4px;
}
div:has(>video) {
    display: flex;
    max-height: 100%;
    background-color:#000000;
    border-radius: 4px;
    align-items: center;
    justify-content: center;
}

#id_Div_Product_1, #id_Div_Product_3 {
    border-radius: 4px;
    border: 1px solid #000000;
    margin: 10px 0px;
    padding: 5px;
    text-align: justify;
    background-color: #FFFFFF;
}

a img {
    pointer-events: auto;
}

#id_Div_Product_1 h3, #id_Div_Product_3 h3, h2, h5 {
    margin: 0;
}

h4 {
    color: #7a7a7a;
    margin: 8px 0px;
}