/* Customer collection badge on catalog product cards.
   It overlays the image/card and therefore does not change card height. */
.product-item-info,
.product-item {
    position: relative;
}

.customer-collection-card-badge {
    position: absolute;
    top: .75rem;
    left: .75rem;
    z-index: 20;
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    max-width: calc(100% - 1.5rem);
    padding: .45rem .7rem;
    border: 1px solid #cfe0d3;
    border-radius: 9999px;
    background: rgba(237, 244, 239, .96);
    color: #245530;
    font-size: .78rem;
    line-height: 1.15;
    font-weight: 700;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .08);
    pointer-events: none;
}

.customer-collection-card-badge[hidden] {
    display: none !important;
}

.customer-collection-card-badge-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 1.15rem;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: #2f6b3c;
    color: #fff;
    font-size: .72rem;
    line-height: 1;
}
