.fotoshopcu-reviews {
    margin: 30px 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    max-width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

/* Reviews Summary Container */
.fotoshopcu-reviews .reviews-summary-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    box-sizing: border-box;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fotoshopcu-reviews .reviews-summary-container.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Reviews Summary Styles */
.fotoshopcu-reviews .reviews-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    margin-bottom: 25px;
    padding: 15px 25px;
    border-radius: 16px;
    flex-wrap: wrap;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    box-sizing: border-box;
    width: 100%;
}

/* Add Review Button */
.fotoshopcu-reviews .fotoshopcu-add-review-btn {
    background-color: var(--color-primary) !important;
    color: var(--color-button-text, #000000) !important;
    border: none !important;
    cursor: pointer;
    text-decoration: none;
    padding: 1rem 2rem !important; /* px-8 py-4 */
    font-size: 1rem !important; /* text-base */
    font-weight: 600 !important; /* font-semibold */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0.5rem !important; /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; /* shadow-lg */
    transition: all 0.3s ease !important; /* transition-all duration-300 */
    transform: scale(1);
    text-align: center;
    min-width: auto;
    width: fit-content;
    height: auto;
    line-height: 1.5;
}

.fotoshopcu-reviews .fotoshopcu-add-review-btn span {
    color: var(--color-button-text, #000000) !important;
}

.fotoshopcu-reviews .fotoshopcu-add-review-btn svg {
    color: var(--color-button-text, #000000) !important;
    width: 1.25rem !important; /* w-5 */
    height: 1.25rem !important; /* h-5 */
    margin-left: 0.5rem !important; /* ml-2 */
    transition: transform 0.3s ease !important;
}

.fotoshopcu-reviews .fotoshopcu-add-review-btn:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; /* hover:shadow-xl */
    transform: scale(1.05) !important; /* hover:scale-105 */
    text-decoration: none !important;
}

.fotoshopcu-reviews .fotoshopcu-add-review-btn:hover svg {
    transform: scale(1.1) !important; /* group-hover:scale-110 */
}

.fotoshopcu-reviews .fotoshopcu-add-review-btn:active {
    transform: scale(1.02) !important;
}

.fotoshopcu-reviews .fotoshopcu-add-review-btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Reviews list container için düzenlemeler */
.reviews-list {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    margin: 20px 0;
    padding: 10px;
}

.reviews-list .review-item,
.reviews-list .review-item[itemprop="review"] {
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
    margin-bottom: 15px;
}

/* reviews-list içindeki yorum içerikleri için düzenlemeler */
.reviews-list .review-content,
.reviews-list .review-content-short,
.reviews-list .review-content-full {
    overflow-wrap: break-word;
    word-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
    box-sizing: border-box;
}

/* reviews-list için ekstra media sorguları */
@media screen and (max-width: 768px) {
    .reviews-list {
        padding: 5px;
    }
    
    .reviews-list .review-item {
        padding: 10px;
    }
}

@media screen and (max-width: 576px) {
    .reviews-list {
        padding: 0;
    }
    
    .reviews-list .review-item {
        padding: 8px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 480px) {
    .reviews-list .review-item {
        padding: 5px;
        margin-bottom: 8px;
    }
    
    .reviews-list .review-author-name {
        font-size: 12px;
        max-width: 90px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.fotoshopcu-reviews .average-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 15px 25px;
    background: rgba(0,0,0,0.02);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.fotoshopcu-reviews .rating-value {
    font-size: 32px;
    font-weight: 700;
    color: #ffd700;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.fotoshopcu-reviews .average-rating .stars {
    display: flex;
    gap: 2px;
    margin: 5px 0;
}

.fotoshopcu-reviews .average-rating .star {
    color: #ddd;
    font-size: 24px;
    transition: all 0.3s ease;
}

.fotoshopcu-reviews .average-rating .star.filled {
    color: #ffd700;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.fotoshopcu-reviews .total-reviews {
    font-size: 14px;
    color: #666;
    font-weight: 500;
    text-align: center;
    margin-top: 5px;
}

/* Grid Layout - Use fluid columns with min-width to create automatic responsiveness */
.fotoshopcu-reviews .reviews-grid,
.reviews-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 20px 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media screen and (max-width: 1600px) {
    .fotoshopcu-reviews .reviews-grid,
    .reviews-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1400px) {
    .fotoshopcu-reviews .reviews-grid,
    .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .fotoshopcu-reviews .reviews-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fotoshopcu-reviews .reviews-summary {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 15px;
        padding: 12px 15px;
    }
    
    .fotoshopcu-reviews .fotoshopcu-add-review-btn {
        order: 1;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .fotoshopcu-reviews .average-rating {
        order: 2;
    }
}

@media screen and (max-width: 768px) {
    .fotoshopcu-reviews .reviews-grid,
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fotoshopcu-reviews {
        padding: 0 10px;
    }
    
    .fotoshopcu-reviews .reviews-summary {
        padding: 10px 12px;
        gap: 10px;
    }
    
    .fotoshopcu-reviews .average-rating {
        padding: 12px 20px;
    }
    
    .fotoshopcu-reviews .rating-value {
        font-size: 28px;
    }
    
    .fotoshopcu-reviews .average-rating .star {
        font-size: 20px;
    }
    
    .fotoshopcu-reviews .fotoshopcu-add-review-btn {
        padding: 0.75rem 1.5rem !important; /* Override px-8 py-4 */
        font-size: 0.875rem !important; /* Override text-base */
        font-weight: 600 !important; /* Override font-semibold */
        min-height: auto !important;
        height: auto !important;
        line-height: 1.5 !important;
        width: auto;
    }
    
    .fotoshopcu-reviews .fotoshopcu-add-review-btn svg {
        width: 1rem !important; /* Override w-5 */
        height: 1rem !important; /* Override h-5 */
        margin-left: 0.5rem !important; /* Override ml-2 */
    }
}

@media screen and (max-width: 576px) {
    .fotoshopcu-reviews .reviews-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .fotoshopcu-reviews .reviews-summary-container {
        width: 100%;
        padding: 0 5px;
    }
    
    .fotoshopcu-reviews .reviews-summary {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        padding: 10px;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        text-align: center;
    }
    
    .fotoshopcu-reviews .fotoshopcu-add-review-btn,
    .fotoshopcu-reviews .average-rating {
        min-width: 120px;
        margin: 0 auto;
        text-align: center;
    }
    
    .fotoshopcu-reviews .fotoshopcu-add-review-btn {
        padding: 8px 16px;
        font-size: 13px;
        display: flex;
        align-items: center;
        justify-content: center;
        width: auto;
        min-height: unset;
        height: auto;
    }
    
    .fotoshopcu-reviews .average-rating {
        min-height: auto;
        padding: 10px;
        align-self: stretch;
    }
    
    .fotoshopcu-reviews .rating-value {
        font-size: 24px;
    }
    
    .fotoshopcu-reviews .average-rating .star {
        font-size: 18px;
    }
    
    .fotoshopcu-reviews .total-reviews {
        font-size: 12px;
    }
    
    .fotoshopcu-reviews .review-item,
    .review-item {
        padding: 10px 12px;
        min-height: 120px;
    }
    
    .fotoshopcu-reviews .review-profile-image {
        width: 30px;
        height: 30px;
    }
    
    .fotoshopcu-reviews .review-author-name {
        font-size: 13px;
    }
    
    .fotoshopcu-reviews .review-rating .star {
        font-size: 14px;
    }
    
    .fotoshopcu-reviews .review-date {
        font-size: 11px;
        bottom: 10px;
        right: 12px;
    }
    
    .fotoshopcu-reviews .review-actions {
        bottom: 10px;
        left: 12px;
        gap: 10px;
    }
    
    .fotoshopcu-reviews .like-btn i,
    .fotoshopcu-reviews .dislike-btn i {
        font-size: 16px;
    }
}

@media screen and (max-width: 400px) {
    .fotoshopcu-reviews .reviews-summary-container {
        width: 100%;
        padding: 0;
    }
    
    .fotoshopcu-reviews .reviews-summary {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        padding: 12px;
        width: 100%;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
    }
    
    .fotoshopcu-reviews .fotoshopcu-add-review-btn,
    .fotoshopcu-reviews .average-rating {
        flex-basis: 100%;
        max-width: 250px;
        margin-bottom: 0;
        min-height: auto;
        margin-left: auto;
        margin-right: auto;
        width: 100%;
        text-align: center;
    }
    
    .fotoshopcu-reviews .fotoshopcu-add-review-btn {
        order: 2;
        padding: 0.625rem 1.25rem !important;
        font-size: 0.8125rem !important;
        height: auto;
        min-height: auto !important;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important;
    }
    
    .fotoshopcu-reviews .fotoshopcu-add-review-btn svg {
        width: 1rem !important;
        height: 1rem !important;
        margin-left: 0.5rem !important;
    }
    
    .fotoshopcu-reviews .average-rating {
        order: 1;
        margin-bottom: 0;
        padding: 12px;
    }
    
    .fotoshopcu-reviews .rating-value {
        font-size: 26px;
    }
    
    .fotoshopcu-reviews .average-rating .star {
        font-size: 20px;
    }
    
    .fotoshopcu-reviews .total-reviews {
        font-size: 13px;
        margin-top: 4px;
    }
}

@media screen and (max-width: 480px) {
    .reviews-list .read-more-btn,
    .reviews-list .read-less-btn {
        font-size: 11px;
    }
}

/* Review Item Styles */
.fotoshopcu-reviews .review-item,
.review-item {
    padding: 15px 20px;
    border-radius: 16px;
    background: #000000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    min-height: 140px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Kart31n tamam31 t31klanabilir g fsterimi ve odak durumu */
/* Yalnızca kısaltma olan kartlar tıklanabilir */
.review-item.is-clickable { cursor: pointer; }
.review-item.is-clickable:focus { outline: none; }

.fotoshopcu-reviews .review-item.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animation delay for grid items */
.fotoshopcu-reviews .review-item:nth-child(1) { transition-delay: 0.1s; }
.fotoshopcu-reviews .review-item:nth-child(2) { transition-delay: 0.2s; }
.fotoshopcu-reviews .review-item:nth-child(3) { transition-delay: 0.3s; }
.fotoshopcu-reviews .review-item:nth-child(4) { transition-delay: 0.4s; }
.fotoshopcu-reviews .review-item:nth-child(5) { transition-delay: 0.5s; }
.fotoshopcu-reviews .review-item:nth-child(6) { transition-delay: 0.15s; }
.fotoshopcu-reviews .review-item:nth-child(7) { transition-delay: 0.25s; }
.fotoshopcu-reviews .review-item:nth-child(8) { transition-delay: 0.35s; }
.fotoshopcu-reviews .review-item:nth-child(9) { transition-delay: 0.45s; }
.fotoshopcu-reviews .review-item:nth-child(10) { transition-delay: 0.55s; }
.fotoshopcu-reviews .review-item:nth-child(11) { transition-delay: 0.2s; }
.fotoshopcu-reviews .review-item:nth-child(12) { transition-delay: 0.3s; }

/* When JavaScript is disabled, show reviews without animation */
.no-js .fotoshopcu-reviews .review-item {
    opacity: 1;
    transform: translateY(0);
}

@media screen and (max-width: 768px) {
    .fotoshopcu-reviews .review-item,
    .review-item {
        padding: 12px 15px;
        min-height: 130px;
    }
}

.fotoshopcu-reviews .review-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Review Header Styles */
.fotoshopcu-reviews .review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

/* Review Rating Position */
.fotoshopcu-reviews .review-rating {
    position: absolute;
    top: 15px;
    right: 15px;
}

@media screen and (max-width: 768px) {
    .fotoshopcu-reviews .review-rating {
        top: 12px;
        right: 12px;
    }
}

/* Review Rating Stars */
.fotoshopcu-reviews .review-rating .star {
    color: #ddd;
    font-size: 16px;
}

.fotoshopcu-reviews .review-rating .star.filled {
    color: #fcd307;
}

/* Screen Reader Text - Visible only to screen readers */
.screen-reader-text {
    border: 0;
    clip: rect(1px, 1px, 1px, 1px);
    clip-path: inset(50%);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
    word-wrap: normal !important;
}

/* Review Author Layout */
.fotoshopcu-reviews .review-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.fotoshopcu-reviews .review-profile-image {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.fotoshopcu-reviews .review-author-name {
    font-weight: 600;
    color: #ffffff;
    font-size: 14px;
}

/* Review Date Style */
.fotoshopcu-reviews .review-date {
    font-size: 12px;
    color: #cccccc;
    position: absolute;
    bottom: 15px;
    right: 20px;
}

@media screen and (max-width: 768px) {
    .fotoshopcu-reviews .review-date {
        bottom: 12px;
        right: 15px;
    }
}

/* Review Actions (Like/Dislike) */
.fotoshopcu-reviews .review-actions {
    position: absolute;
    bottom: 15px;
    left: 20px;
    display: flex;
    gap: 15px;
}

.fotoshopcu-reviews .like-btn,
.fotoshopcu-reviews .dislike-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #cccccc;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 14px;
    transition: all 0.2s ease;
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.1);
    min-width: 34px;
}

.fotoshopcu-reviews .like-btn:hover,
.fotoshopcu-reviews .dislike-btn:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.fotoshopcu-reviews .like-btn i,
.fotoshopcu-reviews .dislike-btn i {
    font-size: 16px;
    color: #cccccc;
}

.fotoshopcu-reviews .like-btn.active i {
    color: #fcd307;
}

.fotoshopcu-reviews .dislike-btn.active i {
    color: #F44336;
}

.fotoshopcu-reviews .like-btn.active i:before {
    content: "\f164";
    font-weight: 600;
}

.fotoshopcu-reviews .dislike-btn.active i:before {
    content: "\f165";
    font-weight: 600;
}

/* Hide like/dislike counts completely */
.fotoshopcu-reviews .like-count,
.fotoshopcu-reviews .dislike-count {
    display: none;
}

@media screen and (max-width: 768px) {
    .fotoshopcu-reviews .review-actions {
        bottom: 12px;
        left: 15px;
    }
}

.fotoshopcu-reviews .review-notification {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 215, 0, 0.9);
    color: #333;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: bold;
    opacity: 0;
    z-index: 10;
    pointer-events: none;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.fotoshopcu-reviews .review-notification.show {
    animation: fadeInOut 1.5s ease-in-out forwards;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

@keyframes fadeInOut {
    0% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
    20% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    80% { opacity: 1; transform: translate(-50%, -50%) scale(1); }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(0.8); }
}

/* Review Content Styles */
.fotoshopcu-reviews .review-content,
.review-content {
    position: relative;
    margin: 5px 0 35px 0;
    overflow: hidden;
    font-size: 14px;
    line-height: 1.5;
    color: #ffffff;
    width: 100%;
    box-sizing: border-box;
}

@media screen and (max-width: 576px) {
    .fotoshopcu-reviews .review-content,
    .review-content {
        margin: 5px 0 30px 0;
        font-size: 13px;
        line-height: 1.4;
    }
    
    .fotoshopcu-reviews .read-more-btn {
        font-size: 12px;
    }
}

@media screen and (max-width: 480px) {
    .fotoshopcu-reviews {
        margin: 20px 0;
        padding: 0 5px;
    }
    
    .fotoshopcu-reviews .reviews-grid {
        gap: 10px;
    }
    
    .fotoshopcu-reviews .review-item,
    .review-item {
        padding: 8px;
        min-height: auto;
    }
    
    .fotoshopcu-reviews .review-header {
        margin-bottom: 5px;
    }
    
    .fotoshopcu-reviews .review-rating {
        top: 5px;
        right: 5px;
    }
    
    .fotoshopcu-reviews .review-author {
        gap: 5px;
    }
    
    .fotoshopcu-reviews .review-profile-image {
        width: 28px;
        height: 28px;
    }
    
    .fotoshopcu-reviews .review-content {
        margin: 3px 0 25px 0;
        font-size: 12px;
        line-height: 1.3;
    }
    
    .fotoshopcu-reviews .review-author-name {
        font-size: 12px;
        max-width: 100px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .fotoshopcu-reviews .review-date {
        bottom: 5px;
        right: 5px;
        font-size: 10px;
    }
    
    .fotoshopcu-reviews .review-actions {
        bottom: 5px;
        left: 5px;
        gap: 8px;
    }
}

@media screen and (max-width: 400px) {
    .fotoshopcu-reviews .review-profile-image {
        width: 25px;
        height: 25px;
    }
    
    .fotoshopcu-reviews .review-author {
        gap: 5px;
    }
    
    .fotoshopcu-reviews .review-date,
    .fotoshopcu-reviews .review-date {
        font-size: 9px;
    }
    
    .fotoshopcu-reviews .like-btn i, 
    .fotoshopcu-reviews .dislike-btn i,
    .fotoshopcu-reviews .like-btn i,
    .fotoshopcu-reviews .dislike-btn i {
        font-size: 12px;
    }
}

@media screen and (max-width: 360px) {
    .fotoshopcu-reviews .review-rating .star {
        font-size: 10px;
    }
    
    .fotoshopcu-reviews .review-author-name {
        max-width: 80px;
    }
}

/* Read more/less butonlarının düzgün görünmesi için */
.fotoshopcu-reviews .read-more-btn, 
.fotoshopcu-reviews .read-less-btn {
    padding: 0;
    margin-left: 3px;
    font-size: 12px;
    white-space: nowrap;
}

@media screen and (max-width: 480px) {
    .fotoshopcu-reviews .read-more-btn, 
    .fotoshopcu-reviews .read-less-btn {
        font-size: 11px;
    }
}

/* Add responsiveness to the show more button */
@media screen and (max-width: 768px) {
    .fotoshopcu-reviews .show-more-reviews-btn,
    .fotoshopcu-reviews a.show-more-reviews-btn,
    .show-more-reviews-btn,
    .fotoshopcu-reviews .fotoshopcu-add-review-btn {
        padding: 0.75rem 1.5rem !important; /* Override px-8 py-4 */
        font-size: 0.875rem !important; /* Override text-base */
        font-weight: 600 !important; /* Override font-semibold */
        min-height: auto !important;
        height: auto !important;
        line-height: 1.5 !important;
    }
    
    .fotoshopcu-reviews .show-more-reviews-btn svg,
    .fotoshopcu-reviews a.show-more-reviews-btn svg,
    .show-more-reviews-btn svg,
    .fotoshopcu-reviews .fotoshopcu-add-review-btn svg {
        width: 1rem !important; /* Override w-5 */
        height: 1rem !important; /* Override h-5 */
        margin-left: 0.5rem !important; /* Override ml-2 */
    }
    
    .fotoshopcu-reviews .show-more-container {
        margin-top: 20px;
    }
}

@media screen and (max-width: 480px) {
    .fotoshopcu-reviews .show-more-reviews-btn,
    .fotoshopcu-reviews a.show-more-reviews-btn,
    .show-more-reviews-btn,
    .fotoshopcu-reviews .fotoshopcu-add-review-btn {
        padding: 0.625rem 1.25rem !important;
        font-size: 0.8125rem !important;
    }
}

/* Ensure reviews layout is maintained on very small screens */
@media screen and (max-width: 320px) {
    .fotoshopcu-reviews .review-item,
    .review-item {
        padding: 8px;
        min-height: 100px;
    }
    
    .fotoshopcu-reviews .review-rating .star {
        font-size: 12px;
    }
    
    .fotoshopcu-reviews .review-author-name {
        font-size: 12px;
        max-width: 100px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .fotoshopcu-reviews .review-date {
        font-size: 10px;
    }
    
    .fotoshopcu-reviews .like-btn i,
    .fotoshopcu-reviews .dislike-btn i {
        font-size: 14px;
    }
}

.fotoshopcu-reviews .review-content-short,
.review-content-short {
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

/* K31sa metinde butonun k31rp31lmas31n31  f6nlemek i e7in mobilde sar31ls31n */
@media screen and (max-width: 576px) {
    .fotoshopcu-reviews .review-content-short,
    .review-content-short {
        white-space: normal;
    }
}

.fotoshopcu-reviews .review-content-full {
    display: none;
    white-space: normal;
    margin-top: 10px;
}

.fotoshopcu-reviews .review-content.expanded .review-content-short {
    display: none;
}

.fotoshopcu-reviews .review-content.expanded .review-content-full {
    display: block;
}

/* Read More/Less Buttons */
.fotoshopcu-reviews .read-more-btn,
.fotoshopcu-reviews .read-less-btn {
    color: #fcd307;
    background: none;
    border: none;
    padding: 0;
    margin-left: 5px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
}

.fotoshopcu-reviews .read-more-btn:hover,
.fotoshopcu-reviews .read-less-btn:hover {
    color: #e6be00;
}

/* Expanded Content State */
.fotoshopcu-reviews .review-content.expanded .review-content-short {
    display: none;
}

.fotoshopcu-reviews .review-content.expanded .review-content-full {
    display: block;
}

/* Show More Container */
.fotoshopcu-reviews .show-more-container {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 20px 0;
    position: relative;
    min-height: 50px;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease 0.3s, transform 0.5s ease 0.3s;
}

.fotoshopcu-reviews .show-more-reviews-btn,
.fotoshopcu-reviews a.show-more-reviews-btn,
.show-more-reviews-btn {
    background-color: var(--color-primary) !important;
    color: var(--color-button-text, #000000) !important;
    border: none !important;
    cursor: pointer;
    text-decoration: none;
    padding: 1rem 2rem !important; /* px-8 py-4 */
    font-size: 1rem !important; /* text-base */
    font-weight: 600 !important; /* font-semibold */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0.5rem !important; /* rounded-lg */
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05) !important; /* shadow-lg */
    transition: all 0.3s ease !important; /* transition-all duration-300 */
    transform: scale(1);
}

.fotoshopcu-reviews .show-more-reviews-btn span,
.fotoshopcu-reviews a.show-more-reviews-btn span,
.show-more-reviews-btn span {
    color: var(--color-button-text, #000000) !important;
}

.fotoshopcu-reviews .show-more-reviews-btn svg,
.fotoshopcu-reviews a.show-more-reviews-btn svg,
.show-more-reviews-btn svg {
    color: var(--color-button-text, #000000) !important;
    width: 1.25rem !important; /* w-5 */
    height: 1.25rem !important; /* h-5 */
    margin-left: 0.5rem !important; /* ml-2 */
    transition: transform 0.3s ease !important;
}

.fotoshopcu-reviews .show-more-reviews-btn:hover,
.fotoshopcu-reviews a.show-more-reviews-btn:hover,
.show-more-reviews-btn:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04) !important; /* hover:shadow-xl */
    transform: scale(1.05) !important; /* hover:scale-105 */
    text-decoration: none !important;
}

.fotoshopcu-reviews .show-more-reviews-btn:hover svg,
.fotoshopcu-reviews a.show-more-reviews-btn:hover svg,
.show-more-reviews-btn:hover svg {
    transform: scale(1.1) !important; /* group-hover:scale-110 */
}

.fotoshopcu-reviews .show-more-reviews-btn:active,
.fotoshopcu-reviews a.show-more-reviews-btn:active,
.show-more-reviews-btn:active {
    transform: scale(1.02) !important;
}

.fotoshopcu-reviews .show-more-reviews-btn:focus-visible,
.fotoshopcu-reviews a.show-more-reviews-btn:focus-visible,
.show-more-reviews-btn:focus-visible {
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.fotoshopcu-reviews .show-more-container.loading .show-more-reviews-btn,
.fotoshopcu-reviews .show-more-container.all-loaded .show-more-reviews-btn {
    opacity: 0;
    pointer-events: none;
    position: relative;
    z-index: 1;
}

/* Loading Spinner */
.fotoshopcu-reviews .loading-spinner {
    display: none;
    width: 40px;
    height: 40px;
    margin: 0 auto;
    border: 4px solid rgba(255, 215, 0, 0.3);
    border-radius: 50%;
    border-top: 4px solid #ffd700;
    animation: spin 1s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.fotoshopcu-reviews .show-more-container.loading .loading-spinner,
.fotoshopcu-reviews .show-more-container.all-loaded .loading-spinner {
    display: block;
    opacity: 1;
}

.fotoshopcu-reviews .show-more-container.all-loaded .loading-spinner {
    opacity: 0.7;
}

/* Popup içindeki yorum kartları için özel stiller */
.modal-content .review-item {
    min-height: auto;
    margin-bottom: 10px;
    max-width: 100%;
    box-sizing: border-box;
}

.modal-content .reviews-grid {
    grid-template-columns: 1fr;
    gap: 10px;
}

/* Modal içindeki yorumları daha kompakt hale getir */
.modal-content .review-content {
    margin: 0 0 25px 0;
}

@media screen and (max-width: 576px) {
    .modal-content .review-item {
        padding: 8px 10px;
    }
    
    .modal-content .review-author-name {
        font-size: 13px;
        max-width: 120px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .modal-content .review-content {
        margin: 0 0 25px 0;
        font-size: 12px;
        line-height: 1.3;
    }
    
    .modal-content .review-rating {
        top: 5px;
        right: 5px;
    }
    
    .modal-content .review-rating .star {
        font-size: 12px;
    }
    
    .modal-content .review-date {
        bottom: 5px;
        right: 10px;
        font-size: 10px;
    }
    
    .modal-content .review-actions {
        bottom: 5px;
        left: 10px;
    }
}

@media screen and (max-width: 480px) {
    .review-item {
        padding: 8px 10px;
        min-height: 100px;
        margin-bottom: 8px;
    }
    
    .reviews-grid {
        gap: 8px;
    }
    
    .modal-content .review-item {
        padding: 6px 8px;
        margin-bottom: 6px;
    }
    
    .fotoshopcu-reviews .review-content {
        max-height: none;
        margin: 2px 0 25px 0;
    }
}

@media screen and (max-width: 375px) {
    .modal-content .review-item {
        padding: 5px 8px;
    }
    
    .modal-content .review-profile-image {
        width: 25px;
        height: 25px;
    }
    
    .modal-content .review-author {
        gap: 5px;
    }
    
    .modal-content .review-author-name {
        font-size: 12px;
        max-width: 90px;
    }
    
    .modal-content .review-content {
        font-size: 11px;
        line-height: 1.2;
        margin: 0 0 22px 0;
    }
    
    .modal-content .review-actions {
        gap: 8px;
    }
    
    .modal-content .like-btn i,
    .modal-content .dislike-btn i {
        font-size: 12px;
    }
}

/* Teklif AL butonu ile yorum kartlarının çakışmaması için */
.wp-reviews-popup {
    padding-bottom: 50px !important; /* Teklif AL butonu için yer aç */
}

.fixed-bottom-button,
.whatsapp-button,
a[href*="teklif"],
a[href*="whatsapp"] {
    z-index: 9999 !important; /* En üstte göster */
}

/* Teklif AL butonu üzerindeki kartların daha iyi görünmesi için */
@media screen and (max-width: 480px) {
    /* En alttaki yorum kartı ile Teklif AL butonu arasında yeterli boşluk */
    .review-item:last-child {
        margin-bottom: 60px !important;
    }
    
    .modal-content .review-item:last-child {
        margin-bottom: 10px !important; /* Modal içinde bu boşluğa gerek yok */
    }
    
    /* Teklif AL butonunun konumu */
    .fixed-bottom-button,
    .whatsapp-button,
    a[href*="teklif"],
    a[href*="whatsapp"] {
        bottom: 0 !important;
        height: auto !important;
        padding: 10px 20px !important;
    }
    
    .fotoshopcu-reviews .review-item {
        min-height: 90px;
    }
}

@media screen and (max-width: 320px) {
    .fotoshopcu-reviews .fotoshopcu-add-review-btn {
        padding: 10px 20px;
        font-size: 14px;
        max-width: 100%;
        width: 100%;
    }
    
    .modal-content .review-rating .star {
        font-size: 10px;
    }
    
    .fotoshopcu-reviews .review-item {
        min-height: 80px;
    }
}

/* Üst üste yığılmış yorumlar için düzenlemeler */
.stacked-reviews .review-item,
body > .review-item {
    margin-bottom: 5px !important;
    min-height: auto !important;
    padding: 10px !important;
    border-radius: 10px !important;
}

@media screen and (max-width: 576px) {
    .stacked-reviews .review-item,
    body > .review-item {
        padding: 8px !important;
        margin-bottom: 4px !important;
    }
    
    .stacked-reviews .review-content,
    body > .review-item .review-content {
        margin: 0 0 22px 0 !important;
        font-size: 12px !important;
    }
    
    .stacked-reviews .review-rating,
    body > .review-item .review-rating {
        top: 5px !important;
        right: 5px !important;
    }
    
    .stacked-reviews .review-rating .star,
    body > .review-item .review-rating .star {
        font-size: 12px !important;
    }
    
    .stacked-reviews .review-author-name,
    body > .review-item .review-author-name {
        font-size: 12px !important;
        max-width: 100px !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }
    
    .stacked-reviews .review-date,
    body > .review-item .review-date {
        bottom: 5px !important;
        right: 8px !important;
    }
    
    .stacked-reviews .review-actions,
    body > .review-item .review-actions {
        bottom: 5px !important;
        left: 8px !important;
    }
    
    .stacked-reviews .like-btn i,
    .stacked-reviews .dislike-btn i,
    body > .review-item .like-btn i,
    body > .review-item .dislike-btn i {
        font-size: 14px !important;
    }
}

@media screen and (max-width: 420px) {
    /* Teklif Al düğmesi ile çakışmayacak şekilde yeniden düzenle */
    .fotoshopcu-reviews .review-date {
        bottom: 8px;
        right: 8px;
        font-size: 9px;
    }
    
    .fotoshopcu-reviews .review-actions {
        bottom: 6px;
        left: 8px;
        gap: 8px;
    }
    
    .fotoshopcu-reviews .like-btn i,
    .fotoshopcu-reviews .dislike-btn i {
        font-size: 14px;
    }
}

.reviews-list .reviews-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin: 0;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
}

@media screen and (max-width: 1600px) {
    .reviews-list .reviews-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1400px) {
    .reviews-list .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .reviews-list .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .reviews-list .reviews-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
}

/* Direkt reviews-list içindeki butonlar için stillemeler */
.reviews-list .read-more-btn,
.reviews-list .read-less-btn {
    color: #fcd307;
    background: none;
    border: none;
    padding: 0;
    margin-left: 3px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.3s ease;
    white-space: nowrap;
}

@media screen and (max-width: 576px) {
    .reviews-list .read-more-btn,
    .reviews-list .read-less-btn {
        font-size: 12px;
        margin-left: 2px;
    }
}

@media screen and (max-width: 480px) {
    .reviews-list .read-more-btn,
    .reviews-list .read-less-btn {
        font-size: 11px;
    }
}

/* Çok dar ekranlarda yorum metinlerinin daraltılması */
@media screen and (max-width: 375px) {
    .reviews-list .review-content-short {
        max-width: calc(100% - 60px); /* Buton için yer bırak */
    }
    
    .reviews-list .review-content {
        margin-bottom: 20px;
    }
}

/* fotoshopcu_reviews_last kısa kodu için özel stiller */
.last-reviews-container .reviews-grid,
.fotoshopcu-reviews-last .reviews-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

@media screen and (max-width: 1600px) {
    .last-reviews-container .reviews-grid,
    .fotoshopcu-reviews-last .reviews-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media screen and (max-width: 1400px) {
    .last-reviews-container .reviews-grid,
    .fotoshopcu-reviews-last .reviews-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 992px) {
    .last-reviews-container .reviews-grid,
    .fotoshopcu-reviews-last .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 576px) {
    .last-reviews-container .reviews-grid,
    .fotoshopcu-reviews-last .reviews-grid {
        grid-template-columns: 1fr;
    }
}

/* fotoshopcu_reviews_last için profil görsellerinin yuvarlak görünmesi */
.fotoshopcu-reviews-last .review-profile-image,
.last-reviews-container .review-profile-image {
    border-radius: 50% !important;
    width: 35px !important;
    height: 35px !important;
    object-fit: cover !important;
    border: 2px solid #fff !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1) !important;
}

@media screen and (max-width: 576px) {
    .fotoshopcu-reviews-last .review-profile-image,
    .last-reviews-container .review-profile-image {
        width: 30px !important;
        height: 30px !important;
    }
}

@media screen and (max-width: 480px) {
    .fotoshopcu-reviews-last .review-profile-image,
    .last-reviews-container .review-profile-image {
        width: 28px !important;
        height: 28px !important;
    }
}

@media screen and (max-width: 400px) {
    .fotoshopcu-reviews-last .review-profile-image,
    .last-reviews-container .review-profile-image {
        width: 25px !important;
        height: 25px !important;
    }
}

/* Ensure reviews-summary stays centered on all screen sizes */
.fotoshopcu-reviews .reviews-summary {
    display: flex;
    justify-content: center;
    text-align: center;
}

/* General responsiveness fixes for smaller screens */
@media screen and (max-width: 480px) {
    .fotoshopcu-reviews {
        padding: 0 5px;
    }
    
    .fotoshopcu-reviews .reviews-summary {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }
}

/* Reviews Summary Animation */
.fotoshopcu-reviews .reviews-summary-container {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fotoshopcu-reviews .reviews-summary-container.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Rating value counter animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.fotoshopcu-reviews .rating-value.animate-count {
    animation: countUp 0.8s ease-out forwards;
}

/* Stars filling animation */
@keyframes fillStar {
    from {
        color: #ddd;
        transform: scale(0.8);
    }
    to {
        color: #ffd700;
        transform: scale(1);
    }
}

.fotoshopcu-reviews .average-rating .star.filled.animate-star {
    animation: fillStar 0.5s ease-out forwards;
}

.fotoshopcu-reviews .average-rating .star.filled.animate-star:nth-child(1) { animation-delay: 0.1s; }
.fotoshopcu-reviews .average-rating .star.filled.animate-star:nth-child(2) { animation-delay: 0.2s; }
.fotoshopcu-reviews .average-rating .star.filled.animate-star:nth-child(3) { animation-delay: 0.3s; }
.fotoshopcu-reviews .average-rating .star.filled.animate-star:nth-child(4) { animation-delay: 0.4s; }
.fotoshopcu-reviews .average-rating .star.filled.animate-star:nth-child(5) { animation-delay: 0.5s; }

/* Fall back for no JS */
.no-js .fotoshopcu-reviews .reviews-summary-container,
.no-js .fotoshopcu-reviews .rating-value,
.no-js .fotoshopcu-reviews .average-rating .star.filled {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: none;
}

/* Show More Button Animation */
@keyframes pulseButton {
    0% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.9) inset;
    }
    100% {
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 215, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.8) inset;
    }
}

.fotoshopcu-reviews .show-more-container.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.fotoshopcu-reviews .show-more-reviews-btn:hover {
    animation: none !important;
}

/* Default no-js state */
.no-js .fotoshopcu-reviews .show-more-container {
    opacity: 1;
    transform: translateY(0);
}

/* Yeni yüklenen yorumlar için özel geçiş efekti */
.fotoshopcu-reviews .review-item.transition-ready {
    transition: opacity 0.5s ease, transform 0.5s ease !important;
}

/* Gizli yorumların varsayılan stil durumunu ayarla */
.fotoshopcu-reviews .review-item.hidden-review {
    display: none;
}

/* Mobile-specific loading spinner styling */
@media screen and (max-width: 576px) {
    .fotoshopcu-reviews .show-more-container {
        min-height: 60px;
        margin: 15px 0;
    }
    
    .fotoshopcu-reviews .loading-spinner {
        width: 36px;
        height: 36px;
    }
    
    .fotoshopcu-reviews .show-more-container.loading {
        display: flex;
        justify-content: center;
        align-items: center;
    }
}