.reviews-container {
    max-width: 100%;
    margin: 0 auto;
    background: none;
    padding: 20px;
    border-radius: 12px;
    overflow: hidden;
}

.reviews-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 20px 0;
    margin: 30px 0 20px 0;
    flex-direction: row;
}

.reviews-wrapper::-webkit-scrollbar {
    height: 10px;
}

.reviews-wrapper::-webkit-scrollbar-track {
    background: rgb(15, 15, 15);
    border-radius: 10px;
}

.reviews-wrapper::-webkit-scrollbar-thumb {
    background: #808080;
    border-radius: 10px;
}

.reviews-wrapper::-webkit-scrollbar-thumb:hover {
    background: #666666;
}

.review {
    flex: 0 0 300px;
    background: #ffffff;
    border-radius: 16px; /* zaokrąglenie krawędzi */
    border: 1px solid #eee;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-size: 1em;
    text-decoration: none;
    color: inherit;
}

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

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

.review-header img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 15px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.review-header h2 {
    margin: 0;
    font-size: 0.9em;
    color: #333;
}

.stars {
    color: #ff9900;
    margin-top: 2px;
}

.review-text {
    color: #555;
    line-height: 1.6;
    font-size: 0.85em;
}

@media (max-width: 768px) {
    .review {
        flex: 0 0 240px;
        padding: 12px;
        font-size: 0.9em;
        border-radius: 12px;
    }

    .review-header img {
        width: 40px;
        height: 40px;
        margin-right: 10px;
    }

    .review-header h2 {
        font-size: 0.8em;
    }

    .review-text {
        font-size: 0.8em;
    }
}
