.ldev-review-flex {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: nowrap;
    flex-wrap: nowrap;
}

.ldev-reviews-list {
    margin-bottom: 20px;
}

.ldev-reviews-list .ldev-review-item-info {
    padding-left: 15px;
}

.ldev-review-item-date {
    color: #999;
    font-size: 14px;
}
.ldev-review-item-autor {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
}

.ldev-review-item-avatar img { max-width: 100%; }

.ldev-review-item-avatar.thumb-size-50  { min-width: 50px; }
.ldev-review-item-avatar.thumb-size-75  { min-width: 75px; }
.ldev-review-item-avatar.thumb-size-100 { min-width: 100px; }
.ldev-review-item-avatar.thumb-size-150 { min-width: 150px; }
.ldev-review-item-avatar.thumb-size-250 { min-width: 250px; }
.ldev-review-item-avatar.thumb-size-300 { min-width: 300px; }

.ldev-review-item-reply {
    margin: 15px 0 0 15px;
    border-left: 2px solid #eee;
    padding-left: 15px;
}

.ldev-review-rating {
    line-height: 1;
    margin: 3px 0;
}
.ldev-review-rating .fa {
    font-size: 15px;
}
.ldev-star-filled { color: #FC0; }
.ldev-star-empty  { color: #ddd; }

.ldev-reviews-google-rating .ldev-review-rating .fa,
.google-rating-widget-stars .fa {
    font-size: 18px;
}

.ldev-show-more-wrap {
    text-align: center;
    margin-top: 15px;
}
.ldev-btn-show-more {
    display: inline-block;
    padding: 8px 20px;
    background: #337ab7;
    border: 1px solid #2e6da4;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.4;
    -webkit-transition: background 0.2s, border-color 0.2s;
    transition: background 0.2s, border-color 0.2s;
}
.ldev-btn-show-more:hover,
.ldev-btn-show-more:focus {
    background: #286090;
    border-color: #204d74;
    color: #fff;
    text-decoration: none;
}
.ldev-btn-show-more:disabled,
.ldev-btn-show-more.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    pointer-events: none;
}
.ldev-btn-show-more.ldev-loading {
    opacity: 0.7;
    pointer-events: none;
}

.ldev-reviews-grid { margin-bottom: 15px; }

.ldev-reviews-row {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -8px;
}
.ldev-review-col {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 0 8px;
    width: 50%;
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .ldev-reviews-grid-cols-2 .ldev-review-col { width: 50%; }
    .ldev-reviews-grid-cols-3 .ldev-review-col { width: 33.333%; }
    .ldev-reviews-grid-cols-4 .ldev-review-col { width: 25%; }
    .ldev-reviews-grid-cols-5 .ldev-review-col { width: 20%; }
    .ldev-reviews-grid-cols-6 .ldev-review-col { width: 16.666%; }
}
@media (max-width: 480px) {
    .ldev-review-col { width: 100% !important; }
}

.ldev-reviews-grid .ldev-review-item-avatar img,
.ldev-review-carousel .ldev-review-item-avatar img {
    display: block;
    margin: 0 auto;
}
.ldev-reviews-grid .ldev-review-item-autor,
.ldev-review-carousel .ldev-review-item-autor {
    display: block;
    margin: 5px 0;
}

.ldev-review-carousel .owl-wrapper-outer {
    -webkit-box-shadow: none;
    box-shadow: none;
}

.ldev-reviews-google-rating {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    padding: 18px;
    background-color: #fafafa;
    border-radius: 9px;
    margin-bottom: 15px;
}
.ldev-reviews-google-rating .google-rating-title {
    font-size: 2em;
    margin-bottom: 8px;
}
.ldev-reviews-google-rating .google-rating-stars { margin: 0 8px; }
.ldev-reviews-google-rating .google-rating-average { font-size: 1.7em; }
.ldev-reviews-google-rating .google-rating-map-link { font-size: 12px; }

.google-rating-widget-fixed {
    display: -webkit-inline-flex;
    display: inline-flex;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-align-items: center;
    align-items: center;
    position: fixed;
    z-index: 999;
    background: #fff;
    padding: 5px 8px;
    border: 1px solid #e6e6e6;
    border-radius: 4px;
}
.google-rating-widget-logo { margin-right: 8px; }
.google-rating-widget-title { font-size: 14px; }
.google-rating-widget-rating-value {
    font-size: 18px;
    text-align: center;
}
.google-rating-widget-total a {
    text-decoration: underline;
    color: inherit;
}

.ldev-reviews-pagination {
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    -webkit-align-items: center;
    align-items: center;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.ldev-btn-review {
    display: inline-block;
    padding: 6px 14px;
    border: 1px solid #4285F4;
    color: #4285F4;
    border-radius: 4px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    background: transparent;
    -webkit-transition: background 0.2s, color 0.2s;
    transition: background 0.2s, color 0.2s;
}
.ldev-btn-review:hover,
.ldev-btn-review:focus {
    background: #4285F4;
    color: #fff;
    text-decoration: none;
}

.ldev-reviews-empty {
    color: #999;
    padding: 15px 0;
    font-style: italic;
}

/* === Card Styles === */
.ldev-review-item.ldev-card-flat {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.ldev-review-item.ldev-card-bordered {
    padding: 15px;
    border: 1px solid #e6e6e6;
    border-radius: 6px;
    margin-bottom: 12px;
}
.ldev-review-item.ldev-card-shadow {
    padding: 15px;
    border-radius: 6px;
    -webkit-box-shadow: 0 2px 8px rgba(0,0,0,.08);
    box-shadow: 0 2px 8px rgba(0,0,0,.08);
    margin-bottom: 12px;
}
.ldev-review-item.ldev-card-filled {
    padding: 15px;
    background: #f9f9f9;
    border-radius: 6px;
    margin-bottom: 12px;
}
.ldev-reviews-grid .ldev-review-item{height: 100%}

/* === Text Alignment === */
.ldev-align-center .ldev-review-item-avatar,
.ldev-align-center .ldev-review-item-autor,
.ldev-align-center .ldev-review-rating,
.ldev-align-center .ldev-review-item-date,
.ldev-align-center .ldev-review-item-text,
.ldev-align-center .ldev-review-location-name {
    text-align: center;
}
.ldev-reviews-list.ldev-align-center .ldev-review-flex {
    -webkit-flex-direction: column;
    flex-direction: column;
    -webkit-align-items: center;
    align-items: center;
}

/* === Comment expand (line-clamp) === */
.ldev-review-item-text.ldev-clamp {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}
.ldev-review-item-text.ldev-clamp.ldev-expanded {
    overflow: visible;
    display: block;
    -webkit-line-clamp: unset !important;
}
.ldev-btn-read-more {
    background: none;
    border: none;
    color: #1a73e8;
    cursor: pointer;
    padding: 3px 0 0;
    font-size: 13px;
    display: inline-block;
    text-decoration: underline;
}

/* === Dark Theme === */
.ldev-theme-dark {
    background: #1e1e2e;
    color: #cdd6f4;
    border-radius: 8px;
    padding: 16px;
}
.ldev-theme-dark .ldev-review-item-autor { color: #cba6f7; }
.ldev-theme-dark .ldev-review-item-date { color: #7f849c; }
.ldev-theme-dark .ldev-review-item-text,
.ldev-theme-dark .ldev-review-item-reply-text { color: #cdd6f4; }
.ldev-theme-dark .ldev-review-item-reply {
    border-left-color: #45475a;
}
.ldev-theme-dark .ldev-card-flat { border-bottom-color: #313244; }
.ldev-theme-dark .ldev-card-bordered {
    border-color: #45475a;
    background: #181825;
}
.ldev-theme-dark .ldev-card-shadow {
    background: #181825;
    -webkit-box-shadow: 0 2px 8px rgba(0,0,0,.5);
    box-shadow: 0 2px 8px rgba(0,0,0,.5);
}
.ldev-theme-dark .ldev-card-filled { background: #181825; }
.ldev-theme-dark .ldev-reviews-google-rating { background: #181825; }
.ldev-theme-dark .ldev-btn-read-more { color: #89b4fa; }
.ldev-theme-dark .ldev-star-empty { color: #45475a; }
.ldev-theme-dark .ldev-reviews-empty { color: #6c7086; }
.ldev-theme-dark .ldev-review-location-name { color: #a6e3a1; }

/* === Transparent Theme === */
.ldev-theme-transparent .ldev-card-flat { border-bottom-color: rgba(128,128,128,.25); }
.ldev-theme-transparent .ldev-card-bordered {
    background: transparent;
    border-color: rgba(128,128,128,.35);
}
.ldev-theme-transparent .ldev-card-shadow {
    background: transparent;
    -webkit-box-shadow: none;
    box-shadow: none;
    border: 1px solid rgba(128,128,128,.35);
}
.ldev-theme-transparent .ldev-card-filled { background: rgba(128,128,128,.08); }
.ldev-theme-transparent .ldev-reviews-google-rating { background: transparent; }
