
/* Хлебные крошки */
.breadcrumbs {
   display: flex;
   align-items: center;
   padding: 7px 2px 7px;
   font-size: 14px;
   color: #666;
   flex-wrap: wrap;
}

.breadcrumbs a {
    color: #666;
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumbs a:hover {
    color: #000;
}

.rating-stars-1 {
    display: flex;
    gap: 2px;
}


/* Хедер профиля на странице отзывов */
.profile-review-header {
    display: flex;
    align-items: center;
    gap: 20px;
    background: white;
    padding: 10px;
    border-radius: 5px;
    margin-bottom: 15px;
}

.profile-review-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    overflow: hidden;
    background: #f3f4f6;
    flex-shrink: 0;
}

.profile-review-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.default-avatar {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 32px;
    font-weight: bold;
}

.profile-review-info {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-review-name {
    font-size: 20px;
    font-weight: bold;
    margin: 0 0 0px 0;
    color: #1f2937;
}

.profile-review-back {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #6b7280;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.profile-review-back:hover {
    color: #2563eb;
}

/* Для мобилок */
@media (max-width: 768px) {
    .profile-review-header {
        padding: 5px 5px;
        gap: 15px;
    }
    
    .profile-review-avatar {
        width: 60px;
        height: 60px;
    }
    
    .profile-review-name {
        font-size: 20px;
    }
    
    .default-avatar {
        font-size: 24px;
    }
}









/* Контейнер для отзывов */
.reviews-container {
    display: grid;
    gap: 20px;
    margin-bottom: 30px;
}

.container {
    margin-bottom: 10px;
}

.fw-bold {
    color: black;
    font-size: 20px;
    font-weight: 600;

}

.text-muted-id {
    color: #1a45eb;
    font-size: 20px;
    font-weight: 500;
}

.text-muted {
    color: #9ca3af;
    font-size: 17px;
    font-weight: 300;


}

.rating-badge {
    align-items: center;

}

.main-rating {
    /* margin-bottom: 20px; */
}

/* Карточка отзыва */
.review-card {
    background: #f8f9fa;
    border: 1px solid #f8f9fa;
    border-radius: 5px;
    padding: 10px;
}

.rounded {
    height: 100px;
    width: 150px;
    object-fit: cover;
    border-radius: 10px;
}

.text-success {
    font-size: 18px;
    color: #000000;
    font-weight: 600;
}

/* Звезды рейтинга */
.rating-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 10px;
}

.star {
    font-size: 18px;
    color: #e1e5e9;
}

.star.filled {
    color: #307fe5;
}


/* Кнопка "Показать еще" */
.load-more-btn {
    display: block;
    width: 100%;
    margin: 30px auto;
    padding: 15px 24px;
    background: #3b82f6;
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
}

.load-more-btn:hover {
    background: #2563eb;
}

.load-more-btn:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.load-more-btn.loading {
    position: relative;
    color: transparent;
}

.load-more-btn.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: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.rating-filter-scroll-wrapper {
    width: 100%;
}


.h-text {
    margin-bottom: 10px;
}

.text-muted {
    gap: 10px;
}


.profile-tab-btn {
    padding: 12px 12px;
}

.mb-0 {
    font-size: 15px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Фильтры */
.filter-section {
    background: white;
    margin-bottom: 30px;
}

.rating-filter {
    display: flex;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    gap: 10px;
    padding: 4px;
    margin-bottom: 20px;
    white-space: nowrap;
}

.rating-filter::-webkit-scrollbar {
    display: none;
}



.rating-btn {
    padding: 10px 16px;
    border: 1px solid #f8f9fa;
    border-radius: 20px;
    background: #f8f9fa;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    color: black;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
}

.rating-btn:hover {
    background: #e4e4e4;
}

.rating-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Прогресс-бар статистики */
.rating-progress {
    height: 6px;
    background: #e1e5e9;
    border-radius: 3px;
    overflow: hidden;
    margin: 5px 0;
}
.rounded-circle {
    height: 40px;
    width: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.margin-lio {
    align-items: center;
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-bottom: 15px;
}
.text-muted-main {
    margin-left: auto;
    color: #979191;
    font-size: 15px;
}

.border-top {
    display: grid;
    grid-template-columns: 170px 2fr;
}

.mb {
    margin-bottom: 10px;
}

.rating-progress-bar {
    height: 100%;
    background: #10b981;
}

.container-py {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.no-reviews-card {
    min-height: calc(100vh - 600px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    background-color: #ffffff;
    flex-direction: column;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
    .reviews-container {
        grid-template-columns: 1fr;
    }
    
    .filter-section {
        padding: 0px;
    }
    .container {
        padding: 1px;
    }
    .container-py {
        padding: 10px;
    }
    .breadcrumbs {
        font-size: 13px;
    }
    .fw-bold {
        font-size: 14px;
    }
    .text-muted-id {
        font-size: 14px;
    }
    .text-muted {
        font-size: 14px;
    }
    .desktop-sort-btn {
        padding: 8px 8px;
    }
    .rating-btn {
        padding: 8px 16px;
    }

}

.text-product {
    text-decoration: none;
    color: #000000;
    font-size: 15px;
    font-weight: 200;
}

.user_review {
    margin: 5px;
}

/* Десктопная версия сортировки */
.desktop-sort {
    margin-bottom: 20px;
}

.desktop-sort-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #374151;
}

.desktop-sort-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.desktop-sort-btn {
    padding: 8px 16px;
    border: 1px solid #e1e5e9;
    border-radius: 5px;
    background: white;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
}

.desktop-sort-btn:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
}

.desktop-sort-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

.custom-select-options {
    display: none;  
}

.custom-select.open .custom-select-options {
    display: block;  
}

.profile-tab-btn a {
    text-decoration: none;
}




/* На мобильных устройствах */
@media (max-width: 768px) {

    .profile-review-info {
        display: flex;
        flex-direction: column;
        gap: 8px;
    }
    .profile-review-info {
        display: grid;
        grid-template-columns: auto auto;
        grid-template-rows: auto auto;
        align-items: center;
    }
    
    .profile-review-name {
        grid-column: 1 / -1;
        grid-row: 1;
    }
    
    .rating-stars-1 {
        grid-column: 1;
        grid-row: 2;
    }
    
    .text-muted {
        grid-column: 2;
        grid-row: 2;
        justify-self: end;
    }
}