body{
    font-size: 1.2rem;
    font-family: "DM Sans", sans-serif;
}

h1, h2, h3, h4, h5, h6{
    margin: .25rem 0;
    font-family: "Poppins", sans-serif;
}

h6{
    font-size: 1rem;
}

p {
    margin: 0 0 0rem 0;
    color: #181A20;
    line-height: 1.4;
}

/* grid */
.common-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: .5rem;
    max-height: 15cm;
    place-content: start;
    grid-auto-flow: row;
}

.title-logo{
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    width: 100%;
}

.common-grid .title-logo span{
    text-transform: uppercase;
    font-size: 2rem;
    background-color: #b13648d1;
    padding: 0.25rem;
    color: #fff;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header img{
    height: 60px;
    width: auto;
}

.grid-item h4{
    padding: 1rem 0;
}

.prod-info{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
    margin-top: 2rem;
}

.price{
    margin: 1rem 0 0 0;
    font-size: 2.5rem;
}
.subgrid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
    height: 100%;
}
.subgrid > img {
    max-width: 100%;
    /* height: 100%; */
    width: 100%;
    /* object-fit: cover; */
    margin-bottom: 1rem;
}

.ribbon{
    position: absolute;
    /* transform: rotate(315deg); */
    background-color: #b13648d1;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
    /* Ribbon al 112% della larghezza pagina */
    width: 112%;
}

.ribbon-sell{
    top: 42%;
    right: -7%;
    text-align: center;
}
.ribbon-poured{
    top: 39%;
    right: 25%;
}

.ribbon p{
    font-size: 4rem;
    padding: 0 1rem;
    color: #fff;
}

.website{
    margin: 1rem 0 0 0;
}

.poured-container{
    margin-top: 1.5rem;
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
}

.poured-container span{
    background-color: #b13648d1;
    font-size: 2.5rem;
    color: #fff;
    padding: .5rem;
    padding-left: 0;
}

.qrcode{
    display: flex;
    align-items: center;
    width: 35%;
}

.btn-print{
    margin-top: 1rem;
    padding: .5rem;
    outline: 0;
    background-color: #b13649;
    border: 1px solid #b13649;
    color: #ffffff;
    font-style: normal;
    letter-spacing: 0em;
    padding: 13px 30px;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-radius: .5rem;
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: .25rem;
}

.container-bottom{
    position: fixed;
    bottom: 20px;
}

.mt3{
    margin-top: 1rem;
}

@media print {
    .btn-print{
        display: none;
    }
}