.pb-rvp {
    clear: both;
    width: 100%;
}

.pb-rvp__title {
    margin: 0 0 20px;
    color: #0d4773;
    font-size: clamp(22px, 1.7vw, 30px);
    line-height: 1.2;
    font-weight: 700;
}

.pb-rvp__loading,
.pb-rvp__empty {
    margin: 0;
}

.pb-rvp__empty {
    padding: 18px 20px;
    border: 1px solid #dbe8ef;
    border-radius: 10px;
    background: #f8fbfd;
    color: #687782;
    font-size: 15px;
    line-height: 1.5;
}

.pb-rvp--hide-empty.pb-rvp-is-empty {
    display: none !important;
}

.pb-rvp__grid {
    display: grid;
    grid-template-columns: repeat(var(--pb-rvp-columns, 4), minmax(0, 1fr));
    gap: 24px;
}

.pb-rvp-card {
    min-width: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #cfe3ee;
    border-radius: 18px;
    box-shadow: none;
}

.pb-rvp-card:hover .pb-rvp-card__image-link {
    transform: scale(1.05);
}

.pb-rvp-card__image-link {
    display: flex;
    align-items: center;
    justify-content: center;
    border: none !important;
    padding: 10px 15px;
    background: #fff;
    text-decoration: none !important;
    max-width: 180px;
    margin: auto;
    transition: .3s ease;
}

.pb-rvp__content .pb-rvp__grid .pb-rvp-card__image-link:hover {
    border: none !important;
}

.pb-rvp-card__image,
.pb-rvp-card__image-link img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: 270px;
    margin: 0 !important;
    object-fit: contain;
    object-position: center;
}

.pb-rvp-card__body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 0 20px 20px;
}

.pb-rvp-card__title {
    margin: 0;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    letter-spacing: 0;
}

.pb-rvp-card__title a,
.pb-rvp-card__title a:hover,
.pb-rvp-card__title a:focus {
    color: #0b4877;
    text-decoration: none;
}

.pb-rvp-card__categories {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    margin-top: 10px;
    color: #969696;
    font-size: 14px;
    line-height: 1.35;
}

.pb-rvp-card__dot {
    color: #b5c1c8;
}

.pb-rvp-card__price-row {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 10px;
    margin-top: 16px;
    padding-bottom: 18px;
    border-bottom: 1px solid #e7edf0;
}

.pb-rvp-card__price-inc {
    color: #56b8e7;
    font-size: 18px;
    line-height: 1.1;
    font-weight: 700;
    white-space: nowrap;
}

.pb-rvp-card__price-ex {
    color: #172433;
    font-size: clamp(14px, .95vw, 17px);
    line-height: 1.2;
    font-weight: 400;
    white-space: nowrap;
}

.pb-rvp-card__vat-label {
    white-space: nowrap;
}

.pb-rvp-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
    padding-top: 18px;
}

.pb-rvp .pb-rvp-card__button,
.pb-rvp a.pb-rvp-card__button.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px 22px;
    border: 0;
    border-radius: 9px;
    background: #0ea5df;
    color: #fff;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none;
    transition: background-color .2s ease, transform .2s ease;
}

.pb-rvp .pb-rvp-card__button:hover,
.pb-rvp .pb-rvp-card__button:focus {
    background: #078ec3;
    color: #fff;
    text-decoration: none;
}

.pb-rvp .pb-rvp-card__button:active {
    transform: translateY(1px);
}

.pb-rvp-card__stock {
    flex: 0 0 auto;
    min-width: 96px;
    padding: 12px 14px;
    border-radius: 9px;
    text-align: center;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}

.pb-rvp-card__stock.is-in-stock {
    background: #e4f8e8;
    color: #16843d;
}

.pb-rvp-card__stock.is-out-of-stock {
    background: #fce8e8;
    color: #b42318;
}

.pb-rvp .added_to_cart {
    margin-left: 8px;
    font-weight: 600;
}

@media (max-width: 1350px) {
    .pb-rvp__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .pb-rvp-card__image,
    .pb-rvp-card__image-link img {
        height: 250px;
    }
}

@media (max-width: 991px) {
    .pb-rvp__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .pb-rvp-card__image,
    .pb-rvp-card__image-link img {
        height: 215px;
    }

    .pb-rvp-card__body {
        padding: 0 18px 18px;
    }

    .pb-rvp-card__title {
        font-size: 16px;
    }
}

@media (max-width: 575px) {
    .pb-rvp__grid {
        grid-template-columns: 1fr;
    }

    .pb-rvp-card__image,
    .pb-rvp-card__image-link img {
        height: 180px;
    }

    .pb-rvp-card__categories {
        font-size: 14px;
    }

    .pb-rvp-card__footer {
        gap: 12px;
    }

    .pb-rvp .pb-rvp-card__button,
    .pb-rvp a.pb-rvp-card__button.button {
        padding: 10px 16px;
        font-size: 15px;
    }

    .pb-rvp-card__stock {
        min-width: 88px;
        padding: 10px 12px;
        font-size: 13px;
    }
}
