::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 1px;
}

::-webkit-scrollbar-thumb {
  background-color: var(--bs-primary);
  border-radius: 30px;
}

::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.list-group {
  overflow: hidden;
}

.list-group:hover {
  overflow-x: scroll;
}

/* Для мобильных устройств */

@media (max-width: 768px) {
  .list-group {
    overflow-x: auto;
  }
}

.card.category-item .card-body.active {
  width: auto;
  height: auto;
  border-radius: 24px;
  background-color: var(--bs-primary);
}

.list-group-item-action:focus {
  background-color: rgba(255,255,255,0);
}

.list-group-item-action:hover {
  background-color: rgba(255,255,255,0);
}

.nav-pills {
  --bs-nav-pills-border-radius: var(--bs-border-radius);
  --bs-nav-pills-link-active-color: #fff;
  --bs-nav-pills-link-active-bg: var(--bs-primary);
}

.hero-section {
    position: relative;
    height: 500px;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-section .position-absolute {
    z-index: 2;
}

.card {
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.fas {
    transition: transform 0.3s;
}

.fas:hover {
    transform: scale(1.1);
}

.reviews-section {
    padding: 60px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.reviews-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #2c3e50;
}

.reviews-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.reviews-carousel {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 60px;
}

.reviews-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 30px;
}

.review-card {

    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255,255,255,0.2);
    position: relative;
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.review-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.customer-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    margin-right: 15px;
}

.customer-info {
    flex: 1;
}

.customer-name {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.review-date {
    color: #6c757d;
    font-size: 0.9rem;
}

.review-rating {
    color: #ffc107;
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.review-text {
    color: #495057;
    line-height: 1.6;
    flex: 1;
    font-style: italic;
    position: relative;
    padding-left: 20px;
}

.review-text::before {
    content: '"';
    font-size: 3rem;
    color: #e9ecef;
    position: absolute;
    left: -10px;
    top: -15px;
    font-family: Georgia, serif;
}

.review-photo {
    margin-top: 15px;
    border-radius: 10px;
    overflow: hidden;
    max-height: 150px;
}

.review-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.review-photo img:hover {
    transform: scale(1.05);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: white;
    border: none;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    font-size: 1.2rem;
    color: #5a3f23;
}

.carousel-btn:hover {
    background: #5a3f23;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #dee2e6;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #5a3f23;
    transform: scale(1.2);
}

.add-review-btn {
    display: block;
    margin: 40px auto 0;
    padding: 15px 40px;
    background: linear-gradient(135deg, #5a3f23 0%, #8b6b46 100%);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(90, 63, 35, 0.3);
}

.add-review-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(90, 63, 35, 0.4);
}



.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #5a3f23;
    box-shadow: 0 0 0 3px rgba(90, 63, 35, 0.1);
}

.rating-stars {
    display: flex;
    gap: 5px;
    margin: 10px 0;
}

.rating-stars .star {
    font-size: 2rem;
    color: #dee2e6;
    cursor: pointer;
    transition: color 0.2s ease;
}

.rating-stars .star.active {
    color: #ffc107;
}

.rating-stars .star:hover {
    color: #ffc107;
}

.file-upload {
    position: relative;
    display: inline-block;
    width: 100%;
}

.file-upload-label {
    display: block;
    padding: 12px 15px;
    border: 2px dashed #dee2e6;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #6c757d;
}

.file-upload-label:hover {
    border-color: #5a3f23;
    color: #5a3f23;
}

.file-upload-input {
    position: absolute;
    left: -9999px;
}

.submit-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #5a3f23 0%, #8b6b46 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(90, 63, 35, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.photo-preview {
    margin-top: 10px;
    text-align: center;
}

.photo-preview img {
    max-width: 100%;
    max-height: 200px;
    border-radius: 10px;
    display: none;
}

.stats-container {
    text-align: center;
    margin-bottom: 40px;
}

.overall-rating {
    font-size: 3rem;
    font-weight: 700;
    color: #5a3f23;
    margin-bottom: 10px;
}

.rating-text {
    font-size: 1.1rem;
    color: #6c757d;
    margin-bottom: 20px;
}

.rating-breakdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 400px;
    margin: 0 auto;
}

.rating-item {
    text-align: center;
}

.rating-count {
    font-size: 1.5rem;
    font-weight: 700;
    color: #5a3f23;
}

.rating-label {
    font-size: 0.9rem;
    color: #6c757d;
}

/* Адаптивность */
@media (max-width: 768px) {
    .reviews-carousel {
        padding: 0 40px;
    }
    
    .review-card {
        flex: 0 0 calc(100% - 20px);
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
    }
    
    .reviews-title {
        font-size: 2rem;
    }
    
}
.focus-ring-info {
    --bs-focus-ring-color: rgb(213 177 106 / 25%);
}