.linkproducts-block {
    margin: 12px 0;
}

.linkproducts-title {
    margin: 0 0 10px !important;
}

.linkproducts-title .heading-font {
    font-size: 10px;
    text-transform: uppercase;
    font-weight: 600;
}

.linkproducts-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    transition: max-height 0.2s ease;
}

.linkproducts-item {
    position: relative;
    display: inline-flex;
    width: 59px;
    height: 59px;
    flex: 0 0 59px;
    border: 1px solid #d8d8d8;
    background: #fff;
    overflow: hidden;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.linkproducts-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.linkproducts-item.is-current {
    border-color: #111;
    cursor: default;
}

.linkproducts-current-check {
    position: absolute;
    right: 4px;
    bottom: 4px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #111;
    color: #fff;
    font-size: 11px;
    line-height: 16px;
    text-align: center;
}

.linkproducts-no-image {
    width: 100%;
    height: 100%;
    background: #f3f3f3;
}

.linkproducts-show-all {
    margin-top: 8px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #1e87f0;
    font-size: 13px;
    line-height: 1.2;
    cursor: pointer;
    text-decoration: none;
    border-bottom: 1px dashed currentColor;
}

.linkproducts-show-all:hover,
.linkproducts-show-all:focus {
    text-decoration: none;
    color: #0f6ecd;
}

@media (max-width: 1023px) {
    .linkproducts-show-all {
        display: none !important;
    }
}
