.hbp-product-list {
    display: grid;
}

.hbp-product-row {
    min-height: 76px;
    display: grid;
    grid-template-columns: 32px var(--hbp-product-row-cover) minmax(150px, 1fr) minmax(210px, 1.05fr) auto auto;
    gap: 11px;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,.07);
}

.hbp-product-row__play {
    width: 31px;
    height: 31px;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: rgba(255,255,255,.052);
    color: #fff;
    cursor: pointer;
}

.hbp-product-row__play svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.hbp-product-row__cover {
    width: var(--hbp-product-row-cover);
    height: var(--hbp-product-row-cover);
    overflow: hidden;
    border-radius: 15px;
    background: #15151c;
}

.hbp-product-row__image {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.hbp-product-row__image--fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, var(--hbp-color-primary-2), var(--hbp-color-primary));
    color: #13091f;
    font-weight: 950;
}

.hbp-product-row__main {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.hbp-product-row__title {
    overflow: hidden;
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    letter-spacing: -.035em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hbp-product-row__producer {
    color: var(--hbp-color-muted);
    font-size: 12px;
}

.hbp-product-row__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--hbp-color-soft);
    font-size: 12px;
    font-weight: 780;
}

.hbp-product-row__price {
    display: grid;
    justify-items: end;
    gap: 1px;
    min-width: 78px;
}

.hbp-product-row__price small {
    color: var(--hbp-color-soft);
    font-size: 9px;
    font-weight: 850;
    text-transform: uppercase;
}

.hbp-product-row__price strong {
    font-size: 15px;
    line-height: 1.1;
}

.hbp-product-row__actions {
    display: flex;
    gap: 6px;
}

.hbp-icon-btn {
    width: 32px;
    height: 32px;
    border: 0;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: transparent;
    color: var(--hbp-color-muted);
    padding: 0;
}

.hbp-icon-btn svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.hbp-icon-btn--primary {
    color: var(--hbp-color-primary-2);
}

.hbp-icon-btn.is-active {
    color: #ff6f9c;
}

.hbp-view-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.hbp-view-grid .hbp-product-row {
    min-height: 0;
    grid-template-columns: 32px 60px minmax(0, 1fr);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 20px;
    padding: 11px;
}

.hbp-view-grid .hbp-product-row__cover {
    width: 60px;
    height: 60px;
}

.hbp-view-grid .hbp-product-row__meta,
.hbp-view-grid .hbp-product-row__price,
.hbp-view-grid .hbp-product-row__actions {
    grid-column: 2 / -1;
    justify-self: start;
}

@media (max-width: 1100px) {
    .hbp-product-row {
        grid-template-columns: 32px 58px minmax(0, 1fr) auto;
    }

    .hbp-product-row__cover {
        width: 58px;
        height: 58px;
    }

    .hbp-product-row__meta {
        grid-column: 3 / -1;
    }

    .hbp-view-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 760px) {
    .hbp-product-row {
        min-height: 70px;
        grid-template-columns: 30px 54px minmax(0, 1fr);
        gap: 9px;
    }

    .hbp-product-row__cover {
        width: 54px;
        height: 54px;
        border-radius: 14px;
    }

    .hbp-product-row__title {
        font-size: 15px;
    }

    .hbp-product-row__meta,
    .hbp-product-row__price,
    .hbp-product-row__actions {
        grid-column: 3 / -1;
        justify-self: start;
    }

    .hbp-view-grid {
        grid-template-columns: 1fr;
    }
}
