body {
    margin: 32px;
}

a {
    /* color: var(--color-green); */
    text-decoration: none;
}

.nowrap {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.smaller {
    font-size: 10px;
    line-height: normal;
}

.small {
    font-size: 9px;
    line-height: normal;
}

.tiny {
    font-size: 6px;
    line-height: normal;
}

.bold {
    font-weight: 600;
}

.code {
    font-family: 'Courier New', Courier, monospace;
}

.radio-grid .form-check {
    break-inside: avoid;
}

.item-card {
    min-width: 6rem;
    max-width: 6rem;
    flex-grow: 1;
    position: relative;
    margin: 0.5rem;
    background-color: white;
    transition: .3s;
    overflow: hidden;
}
.item-card:hover {
    transform: scale(1.1);
    overflow: hidden;
}

.item-image {
    aspect-ratio: 1 / 1;
    background-color: white;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}
.item-card:hover
.item-image {
    filter: blur(1rem);
    overflow: hidden;
}

.item-body {
    padding-top: 0.5rem;
    transform: translateY(0);
    margin-bottom: 1rem;
}
.item-card:hover
.item-body {
    visibility: hidden;
}

.item-name {
    line-height: normal;
    margin-bottom: 0.25rem;
    overflow: hidden;
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: calc(2em * 1.2);
    height: calc(2em * 1.2);
}

.item-price {
    font-weight: 600;
    line-height: normal;
    padding-bottom: 0.25rem;
}

.item-overlay {
    display: none;

}
.item-card:hover
.item-overlay {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    padding: 0.5rem;
    background-color: rgba(255 255 255 / 50%);
    overflow: hidden;
    text-overflow: ellipsis;
}