.hpr-grid { display: grid; }

.hpr-layout-horizontal {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.hpr-layout-horizontal .hpr-card { flex: 0 0 auto; scroll-snap-align: start; }
.hpr-layout-horizontal::-webkit-scrollbar { height: 6px; }

.hpr-card {
    position: relative;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: box-shadow .3s ease, transform .3s ease;
}

.hpr-product-name { text-decoration: none; }

.hpr-footer-wrap { margin-top: auto; }

.hpr-card-top { display: flex; align-items: center; justify-content: space-between; }

.hpr-quote-icon-wrap { display: inline-flex; align-items: center; }
.hpr-quote-icon-wrap.hpr-quote-abs { position: absolute; }

/* --- خط جداکننده --- */
.hpr-divider { display: block; }

/* --- فوتر کارت --- */
.hpr-footer { display: flex; align-items: flex-start; gap: 10px; }
.hpr-avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.hpr-info { flex: 1; min-width: 0; }

.hpr-name-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hpr-author-line { display: flex; align-items: center; }
.hpr-verified-icon { display: inline-flex; align-items: center; line-height: 1; }
.hpr-date { white-space: nowrap; flex-shrink: 0; }

.hpr-product-name { display: block; }
.hpr-purchase { display: block; }