/* Resimli Müşteri Yorumları CSS */
/* Son Güncelleme: 25 Mart Gündüz */
.rmy-reviews-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.rmy-review-item {
    display: flex;
    flex-wrap: wrap; /* or no-wrap based on layout */
    background: #fff;
    border: 1px solid #eee;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.rmy-review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
}

.rmy-review-image-wrapper {
    flex: 0 0 160px !important;
    width: 160px !important;
    height: 160px !important;
    margin-right: 20px !important;
    border-radius: 12px !important;
    overflow: hidden !important;
    align-self: flex-start !important;
}

.rmy-review-img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 12px !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.rmy-review-no-img {
    width: 100%;
    aspect-ratio: 1 / 1;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    font-size: 13px;
    border-radius: 12px;
}

.rmy-review-content {
    flex: 1;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
}

.rmy-review-title {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.rmy-review-stars {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 2px;
}

.rmy-star {
    display: inline-block;
}

.rmy-review-desc {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
    margin-bottom: 10px !important;
    flex-grow: 0 !important;
}

.rmy-review-desc p {
    margin: 0 0 8px 0 !important;
}

.rmy-review-desc p:last-child {
    margin: 0 !important;
}

.rmy-review-meta {
    font-size: 14px;
    color: #6a8ba8; /* or any distinct color */
    margin-top: 0px !important;
    flex-grow: 0 !important;
}

.rmy-customer-name {
    font-weight: 500;
}

.rmy-date {
    color: #888;
}

/* Pagination */
.rmy-pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.rmy-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: #f5f5f5;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.rmy-pagination .page-numbers:hover {
    background: #e0e0e0;
}

.rmy-pagination .page-numbers.current {
    background: #1e73be;
    color: #fff;
}

/* Responsive */
@media screen and (max-width: 768px) {
    .rmy-reviews-grid {
        grid-template-columns: 1fr; /* Mobil'de alt alta (1 sütun) */
    }
    
    .rmy-review-item {
        flex-direction: row;
    }
}

@media screen and (max-width: 480px) {
    .rmy-review-item {
        flex-direction: column;
    }
    
    .rmy-review-image-wrapper {
        flex: 0 0 auto !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        margin-right: 0 !important;
        margin-bottom: 15px !important;
        aspect-ratio: 16 / 9 !important; /* Mobilde çok devasa olmaması için yatay kesit */
    }
    
    .rmy-review-img {
        width: 100% !important;
        height: 100% !important;
        aspect-ratio: auto !important;
    }
}

/* Lightbox Popup */
.rmy-lightbox-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    z-index: 99999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}
.rmy-lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}
.rmy-lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 8px;
    box-shadow: 0 5px 25px rgba(0,0,0,0.5);
    display: block;
}
.rmy-lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    cursor: pointer;
    line-height: 1;
}

.rmy-popup-trigger {
    cursor: zoom-in !important;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}
