.yayrev-reviews {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
gap: 5rem;
font-size: 14px;
}
.yayrev-reviews:not(:has(.commentlist, .yayrev-filter-bar, .yayrev-reviews-login-required)) #comments{
display: none;
}
body:not(.theme-brandy) .yayrev-reviews.woocommerce-Reviews form textarea,
body:not(.theme-brandy)
.yayrev-reviews.woocommerce-Reviews
form
input[type="text"],
body:not(.theme-brandy)
.yayrev-reviews.woocommerce-Reviews
form
input[type="email"],
body:not(.theme-brandy)
.yayrev-reviews.woocommerce-Reviews
form
input[type="number"],
body:not(.theme-brandy)
.yayrev-reviews.woocommerce-Reviews
form
input[type="tel"],
body:not(.theme-brandy)
.yayrev-reviews.woocommerce-Reviews
form
input[type="url"],
body:not(.theme-brandy)
.yayrev-reviews.woocommerce-Reviews
form
input[type="search"],
body:not(.theme-brandy)
.yayrev-reviews.woocommerce-Reviews
form
input[type="password"], 
body:not(.theme-brandy)
.yayrev-reviews.woocommerce-Reviews
form
select {
padding: 10px;
border-radius: 6px;
border: 1px solid #d3dce5;
font: inherit;
font-feature-settings: inherit;
font-variation-settings: inherit;
letter-spacing: inherit;
}
body:not(.theme-brandy) .yayrev-media-grid__title,
body:not(.theme-brandy) .yayrev-product-media-title,
body:not(.theme-brandy) .woocommerce-Reviews-title,
body:not(.theme-brandy) .yayrev-reviews__form-title,
body:not(.theme-brandy) .yayrev-reviews-list-title {
font-weight: 700;
}
body:not(.theme-brandy) #reviews .woocommerce-Reviews-title,
body:not(.theme-brandy) #reviews .yayrev-reviews__form-title,
body:not(.theme-brandy) #reviews .yayrev-reviews-list-title {
margin-bottom: 1rem;
}
body:not(.theme-brandy) .yayrev-purchase-variation {
margin-bottom: 1rem;
}
body:not(.theme-brandy) .yayrev-review-title-field label,
body:not(.theme-brandy) .yayrev-purchase-variation-field label,
body:not(.theme-brandy) .yayrev-media-upload-field label,
body:not(.theme-brandy) .comment-form-rating label,
body:not(.theme-brandy) .comment-form-comment label {
display: inline-block;
margin-bottom: 0.3rem;
}
body:not(.theme-brandy) .commentlist {
padding: 0;
}
body:not(.theme-brandy)
#reviews.yayrev-reviews
#comments
ol.commentlist
li
.comment-text,
.wp-theme-bricks #reviews #comments ol.commentlist li .comment-text {
padding: 1rem;
}
.yayrev-reviews .commentlist {
list-style-type: none;
}
.yayrev-reviews .comment-form-rating {
display: block;
}
.yayrev-reviews .yayrev-media-grid__title,
.yayrev-reviews .yayrev-product-media-title {
margin: 0 !important;
}
#reviews.yayrev-reviews #comments ol.commentlist li {
padding-bottom: 1.5rem;
margin-bottom: 1.5rem;
border-bottom: 1px solid var(--wp--preset--color--brandy-border, #f5f5f5);
border-top: none;
}
#reviews.yayrev-reviews #comments ol.commentlist li:last-child {
padding-bottom: 0;
margin-bottom: 0;
border-bottom: none;
}
#reviews.yayrev-reviews #comments ol.commentlist li img.avatar,
.wp-theme-bricks #reviews #comments ol.commentlist li img.avatar {
padding: 0;
float: unset;
position: relative;
margin: 0;
display: inline-flex;
align-items: center;
justify-content: center;
width: 32px;
height: 32px;
border-radius: 50%;
background-color: #6366f1;
color: #fff;
font-size: 12px;
font-weight: 600;
}
.yayrev-reviews .commentlist .children {
display: none;
}
.yayrev-reviews .comment-header {
display: flex;
gap: 1rem;
}
.yayrev-reviews .comment-header__start:empty {
display: none;
}
.yayrev-reviews .comment-header__end {
flex: 1;
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.35rem 0.75rem;
}
.yayrev-reviews .comment-header__end .meta {
margin: 0;
order: -1;
}
.yayrev-reviews .woocommerce-review__awaiting-approval {
background: #fef3c7;
border-radius: 0.375rem;
padding: 0.5rem 0.75rem;
font-size: 0.8125rem;
color: #92400e;
font-style: italic;
display: inline-block;
width: fit-content;
margin-bottom: 0.5rem;
}
#reviews.yayrev-reviews .comment-header__end .meta {
margin-top: 0;
margin-left: 0;
margin-right: 0;
display: flex;
align-items: center;
gap: 0.5rem;
flex: auto;
min-width: 0;
flex-wrap: wrap;
}
.yayrev-reviews .comment-header__end .meta .woocommerce-review__author {
font-weight: 600;
}
.yayrev-reviews .comment-header__end .meta .woocommerce-review__verified,
#reviews.yayrev-reviews .commentlist li p.meta .verified {
display: none;
}
.yayrev-reviews .yayrev-rating--stars {
color: #f59e0b;
gap: 0.125rem;
display: inline-flex;
}
#reviews.yayrev-reviews .comment_container {
display: block;
border: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
.yayrev-reviews .comment-body,
.yayrev-reviews .comment-footer {
margin-top: 0.75rem;
margin-left: calc(32px + 1rem);
}
.yayrev-reviews .comment-footer {
display: flex;
gap: 1rem;
}
#reviews.yayrev-reviews .description {
border: 0;
padding: 0;
}
.yayrev-reviews .yayrev-rating-row {
width: 100%;
display: flex;
align-items: center;
gap: 0.75rem;
}
.yayrev-review-variation-attributes {
color: #666 ;
} .yayrev-review-title {
margin: 0 0 0.5em;
font-size: 1.1em;
font-weight: 600;
line-height: 1.3;
color: #333;
}   .yayrev-location-badge {
display: inline-flex;
align-items: center;
gap: 0.25em;
font-size: 0.75em;
color: #666;
font-weight: 400;
margin-left: 0.5em;
} .yayrev-flag {
display: inline-block;
width: 11px;
height: 8px;
object-fit: cover;
vertical-align: middle;
flex-shrink: 0;
} .yayrev-review-media {
margin-top: 1em;
}
.yayrev-media-thumbnails {
display: flex;
flex-wrap: wrap;
gap: 0.5em;
}
.yayrev-media-thumb {
width: 90px;
height: 90px;
border-radius: 6px;
background-color: #f3f4f6;
outline: 1.5px solid #0000000f;
overflow: hidden;
cursor: pointer;
transition: transform 0.2s ease, outline-color 0.2s ease;
position: relative;
}
.yayrev-media-thumb:hover {
outline-color: #0000009b;
}
.yayrev-media-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
} .yayrev-video-thumb {
position: relative;
width: 100%;
height: 100%;
}
.yayrev-video-thumb img {
width: 100%;
height: 100%;
object-fit: cover;
}
.yayrev-play-icon {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
width: 24px;
height: 24px;
background: rgba(0, 0, 0, 0.6);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
color: #fff;
}
.yayrev-play-icon svg {
width: 10px;
height: 10px;
margin-left: 2px;
} .yayrev-thumb-loading {
position: relative;
}
.yayrev-thumb-loading::after {
content: "";
position: absolute;
top: 50%;
left: 50%;
width: 20px;
height: 20px;
margin: -10px 0 0 -10px;
border: 2px solid rgba(255, 255, 255, 0.3);
border-top-color: #fff;
border-radius: 50%;
animation: yayrev-spin 0.8s linear infinite;
z-index: 2;
}
.yayrev-thumb-loaded img {
transition: opacity 0.3s ease;
}
@keyframes yayrev-spin {
to {
transform: rotate(360deg);
}
} .yayrev-media-modal {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.9);
z-index: 999999;
display: flex;
align-items: center;
justify-content: center;
}
.yayrev-modal-close {
position: absolute;
top: 20px;
right: 20px;
width: 40px;
height: 40px;
border: none;
background: rgba(255, 255, 255, 0.1);
color: #fff;
border-radius: 50%;
cursor: pointer;
font-size: 24px;
display: flex;
align-items: center;
justify-content: center;
transition: background 0.2s ease;
}
.yayrev-modal-close:hover {
background: rgba(255, 255, 255, 0.2);
}
.yayrev-modal-content {
max-width: 90vw;
max-height: 80vh;
}
.yayrev-modal-content img,
.yayrev-modal-content video {
max-width: 100%;
max-height: 80vh;
object-fit: contain;
} @media (max-width: 480px) {
.yayrev-media-thumb {
width: 50px;
height: 50px;
}
.yayrev-review-title {
font-size: 1em;
}
}  .yayrev-pinned-badge {
display: inline-flex;
align-items: center;
gap: 4px;
padding: 3px 10px;
background: var(--yayrev-pin-badge-bg, #78350f);
color: var(--yayrev-pin-badge-text, #fef3c7);
font-size: 11px;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.5px;
border-radius: 4px;
flex-shrink: 0;
}
.yayrev-pinned-badge::before {
content: "\2605"; font-size: 10px;
} #reviews.yayrev-reviews #comments ol.commentlist .yayrev-review--pinned,
.comment.yayrev-review--pinned {
position: relative;
border-left: 3px solid var(--yayrev-pin-border, #f59e0b) !important;
background: linear-gradient(
to right,
var(--yayrev-pin-bg, #78350f33),
transparent
) !important;
padding: 1.5rem 15px;
border-bottom: none;
} .yayrev-reviews
.woocommerce-pagination
ul.page-numbers
> li
.page-numbers:not(.dots) {
display: flex;
justify-content: center;
align-items: center;
gap: 7px;
min-width: 40px;
min-height: 40px;
background: rgb(242 242 242);
border-radius: 0.75rem;
color: rgb(90 109 128);
transition-property: background, color;
transition-timing-function: ease-in-out;
transition-duration: 0.2s;
text-decoration: none;
width: max-content;
padding: 0;
border: none;
box-shadow: none;
text-indent: 0;
}
.yayrev-reviews
.woocommerce-pagination
ul.page-numbers
> li
.page-numbers:not(.dots):focus,
.yayrev-reviews
.woocommerce-pagination
ul.page-numbers
> li
.page-numbers:not(.dots):focus-visible {
outline: none;
border: none;
box-shadow: none;
}
.yayrev-reviews
.woocommerce-pagination
ul.page-numbers
> li
.page-numbers.current:not(.dots),
.yayrev-reviews
.woocommerce-pagination
ul.page-numbers
> li
.page-numbers.current-page:not(.dots),
.yayrev-reviews
.woocommerce-pagination
ul.page-numbers
> li
.page-numbers:not(.dots):hover {
background: #272829 !important;
color: #ffffff !important;
border: none;
box-shadow: none;
}
.yayrev-reviews .next::after,
.yayrev-reviews .prev::after {
display: none !important;
}
.yayrev-reviews .woocommerce-pagination ul.page-numbers {
display: inline-flex;
align-items: center;
gap: 10px;
flex-wrap: wrap;
padding: 0;
border: 0;
}
.yayrev-reviews .woocommerce-pagination ul.page-numbers:before,
.yayrev-reviews .woocommerce-pagination ul.page-numbers::after {
display: none;
}
.yayrev-reviews nav.woocommerce-pagination ul li {
border: none;
float: unset;
} .yayrev-reviews-login-required {
display: flex;
flex-direction: column;
align-items: center;
gap: 12px;
padding: 32px 16px;
text-align: center;
background: #f9f9f9;
border: 1px dashed #ddd;
border-radius: 6px;
}
.yayrev-reviews-login-required p {
margin: 0;
color: #555;
font-size: 14px;
}
.yayrev-reviews-login-required .yayrev-btn {
background: #272829;
color: #ffffff;
border-color: #272829;
text-decoration: none;
}
.yayrev-reviews-login-required .yayrev-btn:hover {
background: #000000;
border-color: #000000;
color: #ffffff;
}