.sgm-coffee-box {
    box-sizing: border-box;
    max-inline-size: 55rem;
    margin-inline: auto;
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid #dfd6c8;
    border-radius: 1.5rem;
    background: #fbf7ef;
    color: #263b30;
}

.sgm-coffee-box--has-qr {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 15rem);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 3rem);
}

.sgm-coffee-box .sgm-coffee-box__content h2 {
    margin: 0 0 1rem;
    color: inherit;
    font-size: clamp(2.25rem, 5vw, 3.5rem);
    line-height: 1.05;
}

.sgm-coffee-box .sgm-coffee-box__intro {
    margin-block: 0 1.25rem;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.sgm-coffee-box .sgm-coffee-box__intro p:last-child {
    margin-bottom: 0;
}

.sgm-coffee-box .sgm-coffee-box__options {
    margin: 0;
    padding: 0;
    list-style: none;
}

.sgm-coffee-box .sgm-coffee-box__options li {
    margin: 0;
    padding: 0.7rem 0;
    border-bottom: 1px solid #dfd6c8;
    line-height: 1.45;
    overflow-wrap: anywhere;
}

.sgm-coffee-box .sgm-coffee-box__options li:last-child {
    border-bottom: 0;
}

.sgm-coffee-box .sgm-coffee-box__qr {
    display: grid;
    justify-items: center;
    gap: 0.75rem;
    margin: 0;
    padding: 1rem;
    border-radius: 1rem;
    background: #e9eee6;
    text-align: center;
}

.sgm-coffee-box .sgm-coffee-box__qr img {
    box-sizing: border-box;
    display: block;
    inline-size: 100%;
    max-inline-size: 13rem;
    block-size: auto;
    padding: 0.5rem;
    border-radius: 0.5rem;
    background: #fff;
}

.sgm-coffee-box .sgm-coffee-box__qr figcaption {
    margin: 0;
    color: inherit;
    font-size: 0.9rem;
    font-style: normal;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 650px) {
    .sgm-coffee-box--has-qr {
        grid-template-columns: minmax(0, 1fr);
    }

    .sgm-coffee-box .sgm-coffee-box__qr {
        inline-size: 100%;
        max-inline-size: 17rem;
        box-sizing: border-box;
        justify-self: center;
    }
}
