/* ==============================================
   UIkit Product Reviews — reviews.css v2
   ============================================== */

.wpur-wrap { position: relative; }

.wpur-heading {
    font-size: 1.3rem;
    font-weight: 500;
    text-align: center;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 1rem;
}
.wpur-summary-container
{
    max-width:1000px;
    margin:auto;
}

.wpur-avg-num
{
    line-height: 18px;
}
/* ── Stars ── */
.wpur-star {
  color:rgba(18,18,18,0.5) !important;
}

/* ── Rating bars ── */
.wpur-bar-row {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 3px 6px;
    border-radius: 4px;
    cursor: pointer;
    margin-bottom: 4px;
    transition: background .15s;
}
.wpur-bar-row:hover  { background: #f5f7fa; }
.wpur-bar-row.active
 { 
   opacity: 0.6;
}

.wpur-bar-label { min-width: 80px; font-size: .8rem; }
.wpur-verified
{
    object-fit: contain;
}
.wpur-bar-track {
    flex: 1;
    height: 14px;
    background: rgba(224, 224, 224, 0.5);
    width:140px;
    max-width:140px;
    overflow: hidden;
}
.wpur-bar-row .wpur-star svg 
{
    width:14px;
    height:14px;
}
.wpur-bar-fill {
    height: 100%;
    background: #1a1a1a;
    transition: width .4s;
}
.wpur-bar-count { 
    min-width: 18px;
     font-size: 11px;
      color: #888;
      text-align: right; }

/* ── Controls ── */
#wpur-clear {
    font-size: .8rem;
    border-color: #1e87f0;
    color: #1e87f0;
    height: 30px;
    line-height: 28px;
    padding: 0 14px;
}
#wpur-clear:hover { background: #1e87f0; color: #fff; }

/* ── Review card ── */
.wpur-review {
    /* border: 1px solid #f0f0f0; */
    border-radius: 6px;
    padding: 16px;
    background: #fff;
}
.wpur-review .wpur-star svg 
{
    height:14px;
    width:14px;
}
.wpur-review + .wpur-review { margin-top: 10px; }

.wpur-avatar {
    width: 38px; height: 38px; border-radius: 50%;
    background: #eee;
    display: flex; align-items: center; justify-content: center;
    font-size: .85rem; font-weight: 600; color: #555;
    flex-shrink: 0;
}

#wpur-list > div:nth-child(n+2)
{
    border-top:1px solid rgba(239, 217, 44, 0.1);
}
.wpur-verified-badge {
    display: inline-block;
    background: rgb(239, 217, 44);
    color: white;
    font-size: 12px;
    padding: 2px 6px;
    border-radius: 3px;
    margin-left: 6px;
    vertical-align: middle;
}

.wpur-date { font-size: .78rem; color: #999; white-space: nowrap; }

.wpur-review-text {
    margin-top: 8px;
}

/* ── Media grid ── */
.wpur-media-grid {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 10px;
}
.wpur-media-thumb {
    width: 72px; height: 72px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    display: block;
    background: #f0f0f0;
}
.wpur-media-thumb img,
.wpur-media-thumb video {
    width: 100%; height: 100%; object-fit: cover;
}
.wpur-play-icon {
    position: absolute; inset: 0;
    display: flex; align-items: center; justify-content: center;
    background: rgba(0,0,0,.35);
    color: #fff;
}

/* ── Spinner overlay ── */
.wpur-spinner {
    position: absolute; inset: 0;
    background: rgba(255,255,255,.7);
    display: flex; align-items: center; justify-content: center;
    z-index: 5;
}


.wpur-cat-slider-wrap { padding: 40px 0; }
 
.wpur-cat-title {
    font-size: 1.6rem;
    font-weight: 400;
    margin-bottom: 6px;
}
 .wpur-cat-avg-stars
 {
    width:fit-content;
    margin:auto;
 }
.wpur-cat-avg-stars .wpur-stars {
    font-size: 1.6rem;
    letter-spacing: 2px;
}
 
.wpur-cat-avg-sub {

    margin-top: 4px;
}
 
/* .wpur-cat-verified-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px; height: 16px;
    background: #32d296;
    color: #fff;
    font-size: 10px;
    border-radius: 3px;
    margin-left: 4px;
    vertical-align: middle;
} */
 
.wpur-cat-nav-prev,
.wpur-cat-nav-next { color: #1a1a1a !important; opacity: .5; transition: opacity .2s; }
.wpur-cat-nav-prev:hover,
.wpur-cat-nav-next:hover { opacity: 1; }
 
.wpur-cat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 10px 8px 16px;
    height: 100%;
}
 
.wpur-cat-card-stars .wpur-stars { font-size: 1.1rem; letter-spacing: 2px; }
 
.wpur-cat-card-title {
    font-size: .9rem;
    font-weight: 700;
    margin: 8px 0 4px;
    line-height: 1.4;
    max-height: 2.8em;
    overflow: hidden;
}
 
.wpur-cat-card-body {
    font-size: .82rem;
    color: #555;
    line-height: 1.5;
    margin: 0 0 10px;
    max-height: 4.5em;
    overflow: hidden;
}
 
.wpur-cat-card-author {
    font-size: .78rem;
    color: #999;
    margin-bottom: 12px;
}
 
.wpur-cat-card-thumb {
    display: block;
    width: 56px; height: 56px;
    flex-shrink: 0;
}

.wpur-cat-card-thumb img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
}
.wpur-cat-slider-wrap .wpur-star
{
    color:rgb(239, 217, 44) !important
}
.wpur-cat-slider-wrap .wpur-cat-avg-stars .wpur-star svg 
{
    width:14px;
}
@media(max-width:960px)
{
    .wpur-avg-sub
    {
        width:fit-content;
        margin:auto;
    }
    .wpur-review
    {
        padding:0px;
    }
}