div.section+div.section {
    padding-top: 1em;
    margin-top: 1em;
    border-top: 1px solid #ddd;
}

.section-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1em;
    margin: 0 0.5em;
}

.section-item {
    flex: 0 0 calc(25% - 0.75em);
    text-align: center;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    padding-bottom: 1em;
    margin-top: 1em;
    min-width: 0; /* Add this to prevent flex items from overflowing */
}

.section-item img {
    max-width: 100%;
    height: auto;
}

.product-image {
    width: 100%;
    height: 21.125em;
    background-size: cover;
    background-position: center;
    background-size: 15em auto;
    background-repeat: no-repeat;
    margin: 0 auto;
}

.price {
    display: inline-block;
    font-size: 1.25em;
    font-weight: bold;
    margin: 0.375em auto 1em auto;
    padding: 0.125em 0.5em;
    width: fit-content;
    flex-grow: 1;
}

.price.bti {
    background-color: #ff0;
    box-shadow: 3px 3px 0px #f00;
}

@media screen and (max-width: 1279px) {
    .section-item {
        flex: 0 0 calc(33.333% - 0.667em);
        width: calc(33.333% - 0.667em);
    }
}

@media screen and (max-width: 991px) {
    .section-item {
        flex: 0 0 calc(50% - 0.5em);
        width: calc(50% - 0.5em);
    }
}

@media screen and (max-width: 640px) {
    .section-item {
        flex: 0 0 100%;
        width: 100%;
    }
}
