﻿
details {
    border: 1px solid lightgrey;
}

    details > div {
        padding: 1rem;
    }

    details > summary::after, details[open] > summary::after {
        font-weight: bold;
        font-size: 35px;
    }

    details > summary::after {
        content: '+';
    }

    details[open] > summary::after {
        content: '–';
    }

summary {
    display: flex;
    justify-content: space-between;
    padding: .5rem 1rem .5rem 1rem;
    border-bottom: 1px solid lightgrey;
    align-items: center;
}

    summary > span {
        font-size: 35px
    }

    summary::marker {
        content: '';
    }

.canbuy > summary, .canbuy.banner {
    background-color: hsl(151, 75%, 28%);
    color: white;
}

.canbuy.banner {
    padding: .5rem 1rem .5rem 1rem;
}

.canbuy.item > summary {
    background-color: #ededed;
    color: black
}

.canbuy.item > div {
    justify-content: center;
}

.canbuy.item .group {
    margin-right: 3rem;
}

    .canbuy.item .group:last-child {
        margin-right: 0;
    }

    .canbuy.item .group > div {
        justify-content: center;
        margin-bottom: 1rem;
    }

        .canbuy.item .group > div > div {
            margin: 0 1rem 1rem 1rem;
            align-self: center;
        }

    .canbuy.item .group p {
        text-align: center;
    }

.canbuy.item img {
    align-self: center;
}

.cannotbuy summary {
    background-color: hsl(0, 100%, 97%);
    color: hsl(0, 73%, 41%);
}

.x-padding-react-3rem {
    padding: 0 3rem 0 3rem;
}

#yogurt.cols-max-auto {
    gap: 1px;
}

    #yogurt.cols-max-auto > div {
        border-bottom: 2px dotted black;
        padding: 1rem;
    }

        #yogurt.cols-max-auto > div:last-child, #yogurt.cols-max-auto > div:nth-last-child(2) {
            border: none;
        }

.cereal-example {
    height: auto;
    width: 788px;
}

@media screen and (max-width: 768px) {
    .cols-max-auto {
        margin-bottom: 2rem;
    }

        /*.cols-max-auto img {
            width: 100%;
            height: auto;
        }*/

    .x-padding-react-3rem {
        padding: 0;
    }

    .canbuy.item .group {
        margin: 0;
    }       

    .cereal-example {
        height: auto;
        width: 340px;
    }
}

.folate-cir, .gluten-free-cir, .whole-grain-cir {
    font-size: 2rem;
    line-height: .25rem;
}

.folate-cir {
    color: #b06327;
}

.gluten-free-cir {
    color: #0068b3;
}

.whole-grain-cir {
    color: #8b1b67;
}
