/* ===== Shared Review Card Styles ===== */
/* Used by: Happy Customers page, Product Detail reviews */

/* Masonry Grid */
.hc-grid {
    column-count: 4;
    column-gap: 16px;
}

/* Card */
.hc-card {
    break-inside: avoid;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 16px;
    transition: box-shadow .2s;
}

.hc-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

/* Card Media */
.hc-card-media {
    position: relative;
    cursor: pointer;
}

.hc-card-media img,
.hc-card-media video {
    width: 100%;
    display: block;
}

/* Play Icon */
.hc-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

/* Media Count Badge */
.hc-media-count {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 12px;
    padding: 2px 8px;
    border-radius: 4px;
}

/* Card Body */
.hc-card-body {
    padding: 14px 16px 16px;
}

/* Reviewer */
.hc-reviewer {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
}

.hc-reviewer-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.hc-verified {
    flex-shrink: 0;
}

/* Stars */
.hc-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 8px;
}

/* Product Link */
.hc-product-link {
    display: block;
    font-size: 13px;
    color: #0ea5e9;
    text-decoration: underline;
    margin-bottom: 8px;
    line-height: 1.4;
}

.hc-product-link:hover {
    color: #0284c7;
}

/* Review Title */
.hc-review-title {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 6px;
}

/* Review Text */
.hc-review-text {
    font-size: 13px;
    color: #4b5563;
    line-height: 1.5;
    margin: 0;
}

/* Read More */
.hc-read-more {
    font-size: 13px;
    color: #0ea5e9;
    text-decoration: underline;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-top: 4px;
}

/* Show More */
.hc-show-more-wrapper {
    text-align: center;
    padding: 24px 0 48px;
}

.hc-show-more-btn {
    padding: 12px 40px;
    border: 1.5px solid #374151;
    border-radius: 6px;
    background: #fff;
    color: #374151;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all .2s;
}

.hc-show-more-btn:hover {
    background: #374151;
    color: #fff;
}

.hc-show-more-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Sort Select */
.hc-sort-select {
    padding: 8px 36px 8px 14px;
    border: 1.5px solid #0ea5e9;
    border-radius: 6px;
    background: #fff;
    color: #0ea5e9;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12' fill='%230ea5e9'%3E%3Cpath d='M2 4l4 4 4-4'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

/* Pagination */
.pr-pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding: 24px 0 8px;
}

.pr-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 36px;
    padding: 0 10px;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 500;
    color: #374151;
    text-decoration: none;
    transition: all .2s;
    border: 1px solid transparent;
}

.pr-page-link:hover {
    background: #f3f4f6;
    color: #0ea5e9;
}

.pr-page-link.active {
    background: #0ea5e9;
    color: #fff;
    pointer-events: none;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
    .hc-grid {
        column-count: 3;
    }
}

@media (max-width: 768px) {
    .hc-grid {
        column-count: 2;
    }
}

@media (max-width: 480px) {
    .hc-grid {
        column-count: 1;
    }
}